whoami7 - Manager
:
/
home
/
qbizpnmr
/
arif.umairtax.com
/
public
/
Upload File:
files >> /home/qbizpnmr/arif.umairtax.com/public/main.profile.dart.js
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.3.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, loadId, loadPriority): // 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. The loadId argument is the deferred import that resulted in // this uri being loaded. The loadPriority argument is the priority the // library should be loaded with as specified in the code via the // load-priority annotation (0: normal, 1: high). // dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority): // if this function is defined, it will be called when a deferred library // is loaded. It should load and eval the javascript of every URI in `uris`, // and call successCallback. If it fails to do so, it should call // errorCallback with an error. The loadId argument is the deferred import // that resulted in this uri being loaded. The loadPriority argument is the // priority the library should be loaded with as specified in the code via // the load-priority annotation (0: normal, 1: high). // // 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 mixinPropertiesHard(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]; } } } function mixinPropertiesEasy(from, to) { Object.assign(to, from); } var supportsDirectProtoAccess = function() { var cls = function() { }; cls.prototype = {p: {}}; var object = new cls(); if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).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 inherit(cls, sup) { cls.prototype.constructor = cls; cls.prototype["$is" + cls.name] = cls; if (sup != null) { if (supportsDirectProtoAccess) { Object.setPrototypeOf(cls.prototype, 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 mixinEasy(cls, mixin) { mixinPropertiesEasy(mixin.prototype, cls.prototype); cls.prototype.constructor = cls; } function mixinHard(cls, mixin) { mixinPropertiesHard(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() { A.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) { A.throwLateFieldADI(name); } holder[name] = value; } var finalValue = holder[name]; holder[getterName] = function() { return finalValue; }; return finalValue; }; } 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 instanceTearOffGetter(isIntercepted, parameters) { var cache = null; return isIntercepted ? function(receiver) { if (cache === null) cache = A.closureFromTearOff(parameters); return new cache(receiver, this); } : function() { if (cache === null) cache = A.closureFromTearOff(parameters); return new cache(this, null); }; } function staticTearOffGetter(parameters) { var cache = null; return function() { if (cache === null) cache = A.closureFromTearOff(parameters).prototype; return cache; }; } var typesOffset = 0; function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { if (typeof funType == "number") { funType += typesOffset; } return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess}; } function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false); var getterFunction = staticTearOffGetter(parameters); holder[getterName] = getterFunction; } function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { isIntercepted = !!isIntercepted; var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess); var getterFunction = instanceTearOffGetter(isIntercepted, parameters); prototype[getterName] = getterFunction; } 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, false); }; }, 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: mixinEasy, mixinHard: mixinHard, 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, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; }(); function initializeDeferredHunk(hunk) { typesOffset = init.types.length; hunk(hunkHelpers, init, holders, $); } var J = { makeDispatchRecord(interceptor, proto, extension, indexability) { return {i: interceptor, p: proto, e: extension, x: indexability}; }, getNativeInterceptor(object) { var proto, objectProto, $constructor, interceptor, t1, record = object[init.dispatchPropertyName]; if (record == null) if ($.initNativeDispatchFlag == null) { A.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 A.wrapException(A.UnimplementedError$("Return interceptor for " + A.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 = A.lookupAndCacheInterceptor(object); if (interceptor != null) return interceptor; if (typeof object == "function") return B.JavaScriptFunction_methods; proto = Object.getPrototypeOf(object); if (proto == null) return B.PlainJavaScriptObject_methods; if (proto === Object.prototype) return B.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: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true}); return B.UnknownJavaScriptObject_methods; } return B.UnknownJavaScriptObject_methods; }, JSArray_JSArray$fixed($length, $E) { if ($length < 0 || $length > 4294967295) throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null)); return J.JSArray_JSArray$markFixed(new Array($length), $E); }, JSArray_JSArray$allocateFixed($length, $E) { if ($length < 0 || $length > 4294967295) throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null)); return J.JSArray_JSArray$markFixed(new Array($length), $E); }, JSArray_JSArray$growable($length, $E) { if ($length < 0) throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null)); return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>")); }, JSArray_JSArray$allocateGrowable($length, $E) { if ($length < 0) throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null)); return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>")); }, JSArray_JSArray$markFixed(allocation, $E) { return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>"))); }, JSArray_markFixedList(list) { list.fixed$length = Array; return list; }, JSArray_markUnmodifiableList(list) { list.fixed$length = Array; list.immutable$list = Array; return list; }, JSArray__compareAny(a, b) { return J.compareTo$1$ns(a, b); }, JSString__isWhitespace(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(string, index) { var t1, codeUnit; for (t1 = string.length; index < t1;) { codeUnit = string.charCodeAt(index); if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) break; ++index; } return index; }, JSString__skipTrailingWhitespace(string, index) { var index0, codeUnit; for (; index > 0; index = index0) { index0 = index - 1; codeUnit = string.charCodeAt(index0); if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) break; } return index; }, getInterceptor$(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 (Array.isArray(receiver)) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; if (typeof receiver == "symbol") return J.JavaScriptSymbol.prototype; if (typeof receiver == "bigint") return J.JavaScriptBigInt.prototype; return receiver; } if (receiver instanceof A.Object) return receiver; return J.getNativeInterceptor(receiver); }, getInterceptor$ansx(receiver) { if (typeof receiver == "number") return J.JSNumber.prototype; if (typeof receiver == "string") return J.JSString.prototype; if (receiver == null) return receiver; if (Array.isArray(receiver)) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; if (typeof receiver == "symbol") return J.JavaScriptSymbol.prototype; if (typeof receiver == "bigint") return J.JavaScriptBigInt.prototype; return receiver; } if (receiver instanceof A.Object) return receiver; return J.getNativeInterceptor(receiver); }, getInterceptor$asx(receiver) { if (typeof receiver == "string") return J.JSString.prototype; if (receiver == null) return receiver; if (Array.isArray(receiver)) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; if (typeof receiver == "symbol") return J.JavaScriptSymbol.prototype; if (typeof receiver == "bigint") return J.JavaScriptBigInt.prototype; return receiver; } if (receiver instanceof A.Object) return receiver; return J.getNativeInterceptor(receiver); }, getInterceptor$ax(receiver) { if (receiver == null) return receiver; if (Array.isArray(receiver)) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; if (typeof receiver == "symbol") return J.JavaScriptSymbol.prototype; if (typeof receiver == "bigint") return J.JavaScriptBigInt.prototype; return receiver; } if (receiver instanceof A.Object) return receiver; return J.getNativeInterceptor(receiver); }, getInterceptor$in(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 A.Object)) return J.UnknownJavaScriptObject.prototype; return receiver; }, getInterceptor$n(receiver) { if (typeof receiver == "number") return J.JSNumber.prototype; if (receiver == null) return receiver; if (!(receiver instanceof A.Object)) return J.UnknownJavaScriptObject.prototype; return receiver; }, getInterceptor$ns(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 A.Object)) return J.UnknownJavaScriptObject.prototype; return receiver; }, getInterceptor$s(receiver) { if (typeof receiver == "string") return J.JSString.prototype; if (receiver == null) return receiver; if (!(receiver instanceof A.Object)) return J.UnknownJavaScriptObject.prototype; return receiver; }, getInterceptor$x(receiver) { if (receiver == null) return receiver; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; if (typeof receiver == "symbol") return J.JavaScriptSymbol.prototype; if (typeof receiver == "bigint") return J.JavaScriptBigInt.prototype; return receiver; } if (receiver instanceof A.Object) return receiver; return J.getNativeInterceptor(receiver); }, getInterceptor$z(receiver) { if (receiver == null) return receiver; if (!(receiver instanceof A.Object)) return J.UnknownJavaScriptObject.prototype; return receiver; }, set$_count$z(receiver, value) { return J.getInterceptor$z(receiver).set$_count(receiver, value); }, set$length$asx(receiver, value) { return J.getInterceptor$asx(receiver).set$length(receiver, value); }, set$text$z(receiver, value) { return J.getInterceptor$z(receiver).set$text(receiver, value); }, get$access_token$x(receiver) { return J.getInterceptor$x(receiver).get$access_token(receiver); }, get$add$ax(receiver) { return J.getInterceptor$ax(receiver).get$add(receiver); }, get$attached$z(receiver) { return J.getInterceptor$z(receiver).get$attached(receiver); }, get$authorization$x(receiver) { return J.getInterceptor$x(receiver).get$authorization(receiver); }, get$body$x(receiver) { return J.getInterceptor$x(receiver).get$body(receiver); }, get$buffer$x(receiver) { return J.getInterceptor$x(receiver).get$buffer(receiver); }, get$children$x(receiver) { return J.getInterceptor$x(receiver).get$children(receiver); }, get$clone$z(receiver) { return J.getInterceptor$z(receiver).get$clone(receiver); }, get$close$z(receiver) { return J.getInterceptor$z(receiver).get$close(receiver); }, get$code$x(receiver) { return J.getInterceptor$x(receiver).get$code(receiver); }, get$context$x(receiver) { return J.getInterceptor$x(receiver).get$context(receiver); }, get$credentials$z(receiver) { return J.getInterceptor$z(receiver).get$credentials(receiver); }, get$current$z(receiver) { return J.getInterceptor$z(receiver).get$current(receiver); }, get$currentUser$x(receiver) { return J.getInterceptor$x(receiver).get$currentUser(receiver); }, get$document$x(receiver) { return J.getInterceptor$x(receiver).get$document(receiver); }, get$email$x(receiver) { return J.getInterceptor$x(receiver).get$email(receiver); }, get$entries$x(receiver) { return J.getInterceptor$x(receiver).get$entries(receiver); }, get$error$x(receiver) { return J.getInterceptor$x(receiver).get$error(receiver); }, get$finished$z(receiver) { return J.getInterceptor$z(receiver).get$finished(receiver); }, get$first$ax(receiver) { return J.getInterceptor$ax(receiver).get$first(receiver); }, get$firstName$x(receiver) { return J.getInterceptor$x(receiver).get$firstName(receiver); }, get$hashCode$(receiver) { return J.getInterceptor$(receiver).get$hashCode(receiver); }, get$height$x(receiver) { return J.getInterceptor$x(receiver).get$height(receiver); }, get$id$x(receiver) { return J.getInterceptor$x(receiver).get$id(receiver); }, get$id_token$x(receiver) { return J.getInterceptor$x(receiver).get$id_token(receiver); }, get$image$z(receiver) { return J.getInterceptor$z(receiver).get$image(receiver); }, get$index$z(receiver) { return J.getInterceptor$z(receiver).get$index(receiver); }, get$isCollapsed$z(receiver) { return J.getInterceptor$z(receiver).get$isCollapsed(receiver); }, get$isEmpty$asx(receiver) { return J.getInterceptor$asx(receiver).get$isEmpty(receiver); }, get$isNotEmpty$asx(receiver) { return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); }, get$iterator$ax(receiver) { return J.getInterceptor$ax(receiver).get$iterator(receiver); }, get$keys$x(receiver) { return J.getInterceptor$x(receiver).get$keys(receiver); }, get$last$ax(receiver) { return J.getInterceptor$ax(receiver).get$last(receiver); }, get$lastName$x(receiver) { return J.getInterceptor$x(receiver).get$lastName(receiver); }, get$length$asx(receiver) { return J.getInterceptor$asx(receiver).get$length(receiver); }, get$lengthInBytes$x(receiver) { return J.getInterceptor$x(receiver).get$lengthInBytes(receiver); }, get$lineNumber$z(receiver) { return J.getInterceptor$z(receiver).get$lineNumber(receiver); }, get$message$x(receiver) { return J.getInterceptor$x(receiver).get$message(receiver); }, get$name$x(receiver) { return J.getInterceptor$x(receiver).get$name(receiver); }, get$nodes$x(receiver) { return J.getInterceptor$x(receiver).get$nodes(receiver); }, get$numPages$x(receiver) { return J.getInterceptor$x(receiver).get$numPages(receiver); }, get$offset$x(receiver) { return J.getInterceptor$x(receiver).get$offset(receiver); }, get$onError$x(receiver) { return J.getInterceptor$x(receiver).get$onError(receiver); }, get$payload$z(receiver) { return J.getInterceptor$z(receiver).get$payload(receiver); }, get$product$x(receiver) { return J.getInterceptor$x(receiver).get$product(receiver); }, get$promise$x(receiver) { return J.getInterceptor$x(receiver).get$promise(receiver); }, get$reversed$ax(receiver) { return J.getInterceptor$ax(receiver).get$reversed(receiver); }, get$runtimeType$(receiver) { return J.getInterceptor$(receiver).get$runtimeType(receiver); }, get$setRequestHeader$x(receiver) { return J.getInterceptor$x(receiver).get$setRequestHeader(receiver); }, get$sign$in(receiver) { if (typeof receiver === "number") return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver; return J.getInterceptor$in(receiver).get$sign(receiver); }, get$single$ax(receiver) { return J.getInterceptor$ax(receiver).get$single(receiver); }, get$size$x(receiver) { return J.getInterceptor$x(receiver).get$size(receiver); }, get$source$z(receiver) { return J.getInterceptor$z(receiver).get$source(receiver); }, get$state$x(receiver) { return J.getInterceptor$x(receiver).get$state(receiver); }, get$status$x(receiver) { return J.getInterceptor$x(receiver).get$status(receiver); }, get$stop$x(receiver) { return J.getInterceptor$x(receiver).get$stop(receiver); }, get$stream$z(receiver) { return J.getInterceptor$z(receiver).get$stream(receiver); }, get$transaction$x(receiver) { return J.getInterceptor$x(receiver).get$transaction(receiver); }, get$user$x(receiver) { return J.getInterceptor$x(receiver).get$user(receiver); }, get$value$x(receiver) { return J.getInterceptor$x(receiver).get$value(receiver); }, get$values$x(receiver) { return J.getInterceptor$x(receiver).get$values(receiver); }, get$vendor$x(receiver) { return J.getInterceptor$x(receiver).get$vendor(receiver); }, get$width$x(receiver) { return J.getInterceptor$x(receiver).get$width(receiver); }, $add$ansx(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver + a0; return J.getInterceptor$ansx(receiver).$add(receiver, a0); }, $div$n(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver / a0; return J.getInterceptor$n(receiver).$div(receiver, a0); }, $eq$(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(receiver) { return J.getInterceptor$x(receiver).$get$0(receiver); }, $get$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).$get$2(receiver, a0, a1); }, $get$3$rawResponse$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).$get$3$rawResponse(receiver, a0, a1, a2); }, $gt$n(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver > a0; return J.getInterceptor$n(receiver).$gt(receiver, a0); }, $index$asx(receiver, a0) { if (typeof a0 === "number") if (Array.isArray(receiver) || typeof receiver == "string" || A.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(receiver, a0, a1) { if (typeof a0 === "number") if ((Array.isArray(receiver) || A.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(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver * a0; return J.getInterceptor$ns(receiver).$mul(receiver, a0); }, $sub$n(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver - a0; return J.getInterceptor$n(receiver).$sub(receiver, a0); }, _clearChildren$0$x(receiver) { return J.getInterceptor$x(receiver)._clearChildren$0(receiver); }, _replaceChild$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); }, accept$1$x(receiver, a0) { return J.getInterceptor$x(receiver).accept$1(receiver, a0); }, add$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).add$1(receiver, a0); }, addAll$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); }, addEventListener$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); }, addListener$1$x(receiver, a0) { return J.getInterceptor$x(receiver).addListener$1(receiver, a0); }, addStream$1$z(receiver, a0) { return J.getInterceptor$z(receiver).addStream$1(receiver, a0); }, allMatches$1$s(receiver, a0) { return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); }, allMatches$2$s(receiver, a0, a1) { return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); }, any$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).any$1(receiver, a0); }, asByteData$0$x(receiver) { return J.getInterceptor$x(receiver).asByteData$0(receiver); }, asByteData$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asByteData$2(receiver, a0, a1); }, asFloat32List$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asFloat32List$2(receiver, a0, a1); }, asFloat64List$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asFloat64List$2(receiver, a0, a1); }, asInt32List$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asInt32List$2(receiver, a0, a1); }, asInt64List$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asInt64List$2(receiver, a0, a1); }, asMap$0$ax(receiver) { return J.getInterceptor$ax(receiver).asMap$0(receiver); }, asUint32List$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asUint32List$2(receiver, a0, a1); }, asUint8List$0$x(receiver) { return J.getInterceptor$x(receiver).asUint8List$0(receiver); }, asUint8List$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1); }, cast$1$0$ax(receiver, $T1) { return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); }, cast$2$0$ax(receiver, $T1, $T2) { return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); }, clamp$2$n(receiver, a0, a1) { return J.getInterceptor$n(receiver).clamp$2(receiver, a0, a1); }, cleanup$0$x(receiver) { return J.getInterceptor$x(receiver).cleanup$0(receiver); }, clear$0$ax(receiver) { return J.getInterceptor$ax(receiver).clear$0(receiver); }, close$0$z(receiver) { return J.getInterceptor$z(receiver).close$0(receiver); }, codeUnitAt$1$s(receiver, a0) { return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); }, compareTo$1$ns(receiver, a0) { return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); }, compareTo$3$expenseCategory$sortAscending$sortField$ns(receiver, a0, a1, a2) { return J.getInterceptor$ns(receiver).compareTo$3$expenseCategory$sortAscending$sortField(receiver, a0, a1, a2); }, compareTo$3$sortAscending$sortField$taskStatus$ns(receiver, a0, a1, a2) { return J.getInterceptor$ns(receiver).compareTo$3$sortAscending$sortField$taskStatus(receiver, a0, a1, a2); }, compareTo$6$clientMap$invoice$sortAscending$sortField$userMap$vendorMap$ns(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$ns(receiver).compareTo$6$clientMap$invoice$sortAscending$sortField$userMap$vendorMap(receiver, a0, a1, a2, a3, a4, a5); }, compareTo$7$clientMap$invoice$recurringPrefix$sortAscending$sortField$userMap$vendorMap$ns(receiver, a0, a1, a2, a3, a4, a5, a6) { return J.getInterceptor$ns(receiver).compareTo$7$clientMap$invoice$recurringPrefix$sortAscending$sortField$userMap$vendorMap(receiver, a0, a1, a2, a3, a4, a5, a6); }, complete$0$z(receiver) { return J.getInterceptor$z(receiver).complete$0(receiver); }, complete$1$z(receiver, a0) { return J.getInterceptor$z(receiver).complete$1(receiver, a0); }, complete$2$isReplaced$z(receiver, a0, a1) { return J.getInterceptor$z(receiver).complete$2$isReplaced(receiver, a0, a1); }, contains$1$asx(receiver, a0) { return J.getInterceptor$asx(receiver).contains$1(receiver, a0); }, containsKey$1$x(receiver, a0) { return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); }, createElement$1$x(receiver, a0) { return J.getInterceptor$x(receiver).createElement$1(receiver, a0); }, destroy$0$x(receiver) { return J.getInterceptor$x(receiver).destroy$0(receiver); }, detach$0$z(receiver) { return J.getInterceptor$z(receiver).detach$0(receiver); }, disconnect$0$x(receiver) { return J.getInterceptor$x(receiver).disconnect$0(receiver); }, elementAt$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); }, endsWith$1$s(receiver, a0) { return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); }, expand$1$1$ax(receiver, a0, $T1) { return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); }, finish$0$z(receiver) { return J.getInterceptor$z(receiver).finish$0(receiver); }, finish$1$endTimestamp$z(receiver, a0) { return J.getInterceptor$z(receiver).finish$1$endTimestamp(receiver, a0); }, finish$2$endTimestamp$status$z(receiver, a0, a1) { return J.getInterceptor$z(receiver).finish$2$endTimestamp$status(receiver, a0, a1); }, floor$0$n(receiver) { return J.getInterceptor$n(receiver).floor$0(receiver); }, fold$1$2$ax(receiver, a0, a1, $T1) { return J.getInterceptor$ax(receiver).fold$1$2(receiver, a0, a1, $T1); }, followedBy$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).followedBy$1(receiver, a0); }, forEach$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); }, getAuthResponse$0$x(receiver) { return J.getInterceptor$x(receiver).getAuthResponse$0(receiver); }, getBasicProfile$0$x(receiver) { return J.getInterceptor$x(receiver).getBasicProfile$0(receiver); }, getContext$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getContext$1(receiver, a0); }, getEmail$0$x(receiver) { return J.getInterceptor$x(receiver).getEmail$0(receiver); }, getFloat64$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).getFloat64$2(receiver, a0, a1); }, getId$0$x(receiver) { return J.getInterceptor$x(receiver).getId$0(receiver); }, getImageUrl$0$x(receiver) { return J.getInterceptor$x(receiver).getImageUrl$0(receiver); }, getInt32$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).getInt32$2(receiver, a0, a1); }, getInt64$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).getInt64$2(receiver, a0, a1); }, getName$0$x(receiver) { return J.getInterceptor$x(receiver).getName$0(receiver); }, getPage$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getPage$1(receiver, a0); }, getRange$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); }, getTransformTo$1$z(receiver, a0) { return J.getInterceptor$z(receiver).getTransformTo$1(receiver, a0); }, getUint16$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).getUint16$2(receiver, a0, a1); }, getUint32$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).getUint32$2(receiver, a0, a1); }, getUint8$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getUint8$1(receiver, a0); }, getViewport$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getViewport$1(receiver, a0); }, indexOf$1$asx(receiver, a0) { return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0); }, indexOf$2$asx(receiver, a0, a1) { return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); }, initialize$0$z(receiver) { return J.getInterceptor$z(receiver).initialize$0(receiver); }, insert$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); }, insertAll$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).insertAll$2(receiver, a0, a1); }, insertAllBefore$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); }, isIdentity$0$z(receiver) { return J.getInterceptor$z(receiver).isIdentity$0(receiver); }, isSignedIn$0$x(receiver) { return J.getInterceptor$x(receiver).isSignedIn$0(receiver); }, join$0$ax(receiver) { return J.getInterceptor$ax(receiver).join$0(receiver); }, join$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).join$1(receiver, a0); }, listen$4$cancelOnError$onDone$onError$z(receiver, a0, a1, a2, a3) { return J.getInterceptor$z(receiver).listen$4$cancelOnError$onDone$onError(receiver, a0, a1, a2, a3); }, listener$1$z(receiver, a0) { return J.getInterceptor$z(receiver).listener$1(receiver, a0); }, loginPopup$1$x(receiver, a0) { return J.getInterceptor$x(receiver).loginPopup$1(receiver, a0); }, map$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).map$1(receiver, a0); }, map$1$1$ax(receiver, a0, $T1) { return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); }, map$2$1$ax(receiver, a0, $T1, $T2) { return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2); }, matchAsPrefix$2$s(receiver, a0, a1) { return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); }, noSuchMethod$1$(receiver, a0) { return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); }, onCancel$0$z(receiver) { return J.getInterceptor$z(receiver).onCancel$0(receiver); }, onPause$0$z(receiver) { return J.getInterceptor$z(receiver).onPause$0(receiver); }, onResume$0$z(receiver) { return J.getInterceptor$z(receiver).onResume$0(receiver); }, open$3$async$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).open$3$async(receiver, a0, a1, a2); }, parse$1$z(receiver, a0) { return J.getInterceptor$z(receiver).parse$1(receiver, a0); }, parse$2$z(receiver, a0, a1) { return J.getInterceptor$z(receiver).parse$2(receiver, a0, a1); }, put$4$z(receiver, a0, a1, a2, a3) { return J.getInterceptor$z(receiver).put$4(receiver, a0, a1, a2, a3); }, putIfAbsent$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).putIfAbsent$2(receiver, a0, a1); }, readAsArrayBuffer$1$x(receiver, a0) { return J.getInterceptor$x(receiver).readAsArrayBuffer$1(receiver, a0); }, remove$0$ax(receiver) { return J.getInterceptor$ax(receiver).remove$0(receiver); }, remove$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).remove$1(receiver, a0); }, removeAt$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0); }, removeEventListener$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1); }, removeEventListener$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); }, removeLast$0$ax(receiver) { return J.getInterceptor$ax(receiver).removeLast$0(receiver); }, removeListener$1$x(receiver, a0) { return J.getInterceptor$x(receiver).removeListener$1(receiver, a0); }, removeRange$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); }, removeWhere$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0); }, render$1$x(receiver, a0) { return J.getInterceptor$x(receiver).render$1(receiver, a0); }, replaceFirst$2$s(receiver, a0, a1) { return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); }, replaceWith$1$x(receiver, a0) { return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); }, resolve$1$z(receiver, a0) { return J.getInterceptor$z(receiver).resolve$1(receiver, a0); }, retainWhere$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).retainWhere$1(receiver, a0); }, round$0$n(receiver) { return J.getInterceptor$n(receiver).round$0(receiver); }, scale$1$x(receiver, a0) { return J.getInterceptor$x(receiver).scale$1(receiver, a0); }, send$1$x(receiver, a0) { return J.getInterceptor$x(receiver).send$1(receiver, a0); }, setAll$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).setAll$2(receiver, a0, a1); }, setRange$3$ax(receiver, a0, a1, a2) { return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2); }, setRange$4$ax(receiver, a0, a1, a2, a3) { return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); }, show$0$z(receiver) { return J.getInterceptor$z(receiver).show$0(receiver); }, signIn$1$x(receiver, a0) { return J.getInterceptor$x(receiver).signIn$1(receiver, a0); }, signOut$0$x(receiver) { return J.getInterceptor$x(receiver).signOut$0(receiver); }, skip$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).skip$1(receiver, a0); }, sort$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).sort$1(receiver, a0); }, split$1$s(receiver, a0) { return J.getInterceptor$s(receiver).split$1(receiver, a0); }, startsWith$1$s(receiver, a0) { return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); }, style$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).style$2(receiver, a0, a1); }, sublist$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).sublist$1(receiver, a0); }, sublist$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); }, substring$1$s(receiver, a0) { return J.getInterceptor$s(receiver).substring$1(receiver, a0); }, substring$2$s(receiver, a0, a1) { return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); }, take$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).take$1(receiver, a0); }, then$1$1$x(receiver, a0, $T1) { return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1); }, then$1$2$onError$x(receiver, a0, a1, $T1) { return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1); }, then$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).then$2(receiver, a0, a1); }, toBlob$0$x(receiver) { return J.getInterceptor$x(receiver).toBlob$0(receiver); }, toInt$0$n(receiver) { return J.getInterceptor$n(receiver).toInt$0(receiver); }, toList$0$ax(receiver) { return J.getInterceptor$ax(receiver).toList$0(receiver); }, toList$1$growable$ax(receiver, a0) { return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0); }, toRadixString$1$n(receiver, a0) { return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); }, toSet$0$ax(receiver) { return J.getInterceptor$ax(receiver).toSet$0(receiver); }, toString$0$(receiver) { return J.getInterceptor$(receiver).toString$0(receiver); }, total$2$z(receiver, a0, a1) { return J.getInterceptor$z(receiver).total$2(receiver, a0, a1); }, trim$0$s(receiver) { return J.getInterceptor$s(receiver).trim$0(receiver); }, trimLeft$0$s(receiver) { return J.getInterceptor$s(receiver).trimLeft$0(receiver); }, updateWith$1$config$z(receiver, a0) { return J.getInterceptor$z(receiver).updateWith$1$config(receiver, a0); }, where$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).where$1(receiver, a0); }, Interceptor: function Interceptor() { }, JSBool: function JSBool() { }, JSNull: function JSNull() { }, JavaScriptObject: function JavaScriptObject() { }, LegacyJavaScriptObject: function LegacyJavaScriptObject() { }, PlainJavaScriptObject: function PlainJavaScriptObject() { }, UnknownJavaScriptObject: function UnknownJavaScriptObject() { }, JavaScriptFunction: function JavaScriptFunction() { }, JavaScriptBigInt: function JavaScriptBigInt() { }, JavaScriptSymbol: function JavaScriptSymbol() { }, JSArray: function JSArray(t0) { this.$ti = t0; }, JSUnmodifiableArray: function JSUnmodifiableArray(t0) { this.$ti = t0; }, ArrayIterator: function ArrayIterator(t0, t1, t2) { var _ = this; _._iterable = t0; _.__interceptors$_length = t1; _._index = 0; _.__interceptors$_current = null; _.$ti = t2; }, JSNumber: function JSNumber() { }, JSInt: function JSInt() { }, JSNumNotInt: function JSNumNotInt() { }, JSString: function JSString() { } }, A = { browserEngine() { var t1 = $.$get$_browserEngine(); return t1; }, detectBrowserEngineByVendorAgent(vendor, agent) { if (vendor === "Google Inc.") return B.BrowserEngine_0; else if (vendor === "Apple Computer, Inc.") return B.BrowserEngine_1; else if (B.JSString_methods.contains$1(agent, "Edg/")) return B.BrowserEngine_0; else if (vendor === "" && B.JSString_methods.contains$1(agent, "firefox")) return B.BrowserEngine_2; A.print("WARNING: failed to detect current browser engine. Assuming this is a Chromium-compatible browser."); return B.BrowserEngine_0; }, detectOperatingSystem() { var platform, userAgent, maxTouchPoints, _null = null, t1 = self.window; t1 = t1.navigator.platform; if (t1 == null) t1 = _null; t1.toString; platform = t1; t1 = self.window; userAgent = t1.navigator.userAgent; if (B.JSString_methods.startsWith$1(platform, "Mac")) { t1 = self.window; t1 = t1.navigator.maxTouchPoints; if (t1 == null) t1 = _null; t1 = t1 == null ? _null : B.JSNumber_methods.toInt$0(t1); maxTouchPoints = t1; if ((maxTouchPoints == null ? 0 : maxTouchPoints) > 2) return B.OperatingSystem_0; return B.OperatingSystem_4; } else if (B.JSString_methods.contains$1(platform.toLowerCase(), "iphone") || B.JSString_methods.contains$1(platform.toLowerCase(), "ipad") || B.JSString_methods.contains$1(platform.toLowerCase(), "ipod")) return B.OperatingSystem_0; else if (B.JSString_methods.contains$1(userAgent, "Android")) return B.OperatingSystem_1; else if (B.JSString_methods.startsWith$1(platform, "Linux")) return B.OperatingSystem_2; else if (B.JSString_methods.startsWith$1(platform, "Win")) return B.OperatingSystem_3; else return B.OperatingSystem_5; }, isDesktop() { var t1 = $.$get$_operatingSystem(); return B.Set_uTMs5.contains$1(0, t1); }, isIOS15() { var t1 = $.$get$_operatingSystem(); return t1 === B.OperatingSystem_0 && B.JSString_methods.contains$1(self.window.navigator.userAgent, "OS 15_"); }, isChrome110OrOlder() { var match, t1 = $._cachedIsChrome110OrOlder; if (t1 != null) return t1; match = A.RegExp_RegExp("Chrom(e|ium)\\/([0-9]+)\\.", true, false, false, false).firstMatch$1(self.window.navigator.userAgent); if (match != null) { t1 = match._match[2]; t1.toString; return $._cachedIsChrome110OrOlder = A.int_parse(t1, null) <= 110; } return $._cachedIsChrome110OrOlder = false; }, _detectWebGLVersion() { var t1, canvas = A.createDomCanvasElement(1, 1); if (A.DomCanvasElementExtension_getContext(canvas, "webgl2", null) != null) { t1 = $.$get$_operatingSystem(); if (t1 === B.OperatingSystem_0) return 1; return 2; } if (A.DomCanvasElementExtension_getContext(canvas, "webgl", null) != null) return 1; return -1; }, browserSupportsCanvaskitChromium() { return self.Intl.v8BreakIterator != null && self.Intl.Segmenter != null; }, canvasKit() { return $.__canvasKit._readField$0(); }, toSkFilterMode(filterQuality) { return filterQuality === B.FilterQuality_0 ? $.__canvasKit._readField$0().FilterMode.Nearest : $.__canvasKit._readField$0().FilterMode.Linear; }, SkImageExtension_encodeToBytes(_this) { var t1 = _this.encodeToBytes(); return t1 == null ? null : t1; }, SkPaintExtension_setColorInt(_this, color) { return A.callMethod(_this, "setColorInt", [color]); }, toSkM44FromFloat32(matrix4) { var r, t1, c, skM44 = new Float32Array(16); for (r = 0; r < 4; ++r) for (t1 = r * 4, c = 0; c < 4; ++c) skM44[c * 4 + r] = matrix4[t1 + c]; return skM44; }, toSkMatrixFromFloat32(matrix4) { var t1, i, matrix4Index, skMatrix = new Float32Array(9); for (t1 = matrix4.length, i = 0; i < 9; ++i) { matrix4Index = B.List_C7Y[i]; if (matrix4Index < t1) skMatrix[i] = matrix4[matrix4Index]; else skMatrix[i] = 0; } return skMatrix; }, toSkMatrixFromFloat64(matrix4) { var i, matrix4Index, skMatrix = new Float32Array(9); for (i = 0; i < 9; ++i) { matrix4Index = B.List_C7Y[i]; if (matrix4Index < 16) skMatrix[i] = matrix4[matrix4Index]; else skMatrix[i] = 0; } return skMatrix; }, toSkPoint(offset) { var point = new Float32Array(2); point[0] = offset._dx; point[1] = offset._dy; return point; }, toSkColorStops(colorStops) { var len, skColorStops, i; if (colorStops == null) return $.$get$_kDefaultSkColorStops(); len = colorStops.length; skColorStops = new Float32Array(len); for (i = 0; i < len; ++i) skColorStops[i] = colorStops[i]; return skColorStops; }, mallocFloat32List($length) { return type$.JavaScriptObject._as(self.window.flutterCanvasKit.Malloc(self.Float32Array, $length)); }, _populateSkColor(skColor, color) { var t1 = skColor.toTypedArray(), t2 = color.value; t1[0] = (t2 >>> 16 & 255) / 255; t1[1] = (t2 >>> 8 & 255) / 255; t1[2] = (t2 & 255) / 255; t1[3] = (t2 >>> 24 & 255) / 255; return t1; }, toSkRect(rect) { var skRect = new Float32Array(4); skRect[0] = rect.left; skRect[1] = rect.top; skRect[2] = rect.right; skRect[3] = rect.bottom; return skRect; }, fromSkRect(skRect) { return new A.Rect(skRect[0], skRect[1], skRect[2], skRect[3]); }, toSkRRect(rrect) { var skRRect = new Float32Array(12); skRRect[0] = rrect.left; skRRect[1] = rrect.top; skRRect[2] = rrect.right; skRRect[3] = rrect.bottom; skRRect[4] = rrect.tlRadiusX; skRRect[5] = rrect.tlRadiusY; skRRect[6] = rrect.trRadiusX; skRRect[7] = rrect.trRadiusY; skRRect[8] = rrect.brRadiusX; skRRect[9] = rrect.brRadiusY; skRRect[10] = rrect.blRadiusX; skRRect[11] = rrect.blRadiusY; return skRRect; }, toMallocedSkPoints(points) { var i, t2, len = points.length, skPoints = type$.JavaScriptObject._as(self.window.flutterCanvasKit.Malloc(self.Float32Array, len * 2)), t1 = skPoints.toTypedArray(); for (i = 0; i < len; ++i) { t2 = 2 * i; t1[t2] = points[i]._dx; t1[t2 + 1] = points[i]._dy; } return skPoints; }, toFlatColors(colors) { var i, len = colors.length, result = new Uint32Array(len); for (i = 0; i < len; ++i) result[i] = J.get$value$x(colors[i]); return result; }, SkCanvasExtension_saveLayer(_this, paint, bounds, backdrop, flags) { var t1 = bounds == null ? null : bounds; return A.callMethod(_this, "saveLayer", [paint, t1, backdrop, flags == null ? null : flags]); }, SkParagraphBuilderNamespaceExtension_RequiresClientICU(_this) { if (!("RequiresClientICU" in _this)) return false; return A._asBool(_this.RequiresClientICU()); }, SkTextStylePropertiesExtension_set_fontSize(_this, value) { _this.fontSize = value; return value; }, SkTextStylePropertiesExtension_set_heightMultiplier(_this, value) { _this.heightMultiplier = value; return value; }, SkTextStylePropertiesExtension_set_halfLeading(_this, value) { _this.halfLeading = value; return value; }, SkTextStylePropertiesExtension_set_fontFamilies(_this, value) { var t1 = value; _this.fontFamilies = t1; return t1; }, SkStrutStylePropertiesExtension_set_halfLeading(_this, value) { _this.halfLeading = value; return value; }, SkImageInfo__staticInteropFactoryStub(alphaType, colorSpace, colorType, height, width) { return type$.JavaScriptObject._as({width: width, height: height, colorType: colorType, alphaType: alphaType, colorSpace: colorSpace}); }, getCanvasKitJsFileNames(variant) { var t1, _s21_ = "chromium/canvaskit.js"; switch (variant.index) { case 0: t1 = A._setArrayType([], type$.JSArray_String); if (A.browserSupportsCanvaskitChromium()) t1.push(_s21_); t1.push("canvaskit.js"); return t1; case 1: return A._setArrayType(["canvaskit.js"], type$.JSArray_String); case 2: return A._setArrayType([_s21_], type$.JSArray_String); } }, _canvasKitJsUrls() { var variant, t1 = A.configuration()._configuration; if (t1 == null) variant = null; else { t1 = t1.canvasKitVariant; if (t1 == null) t1 = null; variant = t1; } t1 = A.getCanvasKitJsFileNames(A.EnumByName_byName(B.List_66y, variant == null ? "auto" : variant)); return new A.MappedListIterable(t1, new A._canvasKitJsUrls_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")); }, canvasKitWasmModuleUrl(file, canvasKitBase) { return canvasKitBase + file; }, downloadCanvasKit() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JavaScriptObject), $async$returnValue, t1, canvasKit; var $async$downloadCanvasKit = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A._downloadOneOf(A._canvasKitJsUrls()), $async$downloadCanvasKit); case 3: // returning from await. t1 = type$.JavaScriptObject; $async$goto = 4; return A._asyncAwait(A.promiseToFuture(self.window.CanvasKitInit(t1._as({locateFile: type$.JavaScriptFunction._as(A.allowInterop(A._engine__canvasKitWasmModuleUrl$closure()))})), t1), $async$downloadCanvasKit); case 4: // returning from await. canvasKit = $async$result; if (A.SkParagraphBuilderNamespaceExtension_RequiresClientICU(canvasKit.ParagraphBuilder) && !A.browserSupportsCanvaskitChromium()) throw A.wrapException(A.Exception_Exception("The CanvasKit variant you are using only works on Chromium browsers. Please use a different CanvasKit variant, or use a Chromium browser.")); $async$returnValue = canvasKit; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$downloadCanvasKit, $async$completer); }, _downloadOneOf(urls) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, t1, t2, t3; var $async$_downloadOneOf = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = urls.$ti, t2 = new A.ListIterator(urls, urls.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); case 3: // for condition if (!t2.moveNext$0()) { // goto after for $async$goto = 4; break; } t3 = t2.__internal$_current; $async$goto = 5; return A._asyncAwait(A._downloadCanvasKitJs(t3 == null ? t1._as(t3) : t3), $async$_downloadOneOf); case 5: // returning from await. if ($async$result) { // goto return $async$goto = 1; break; } // goto for condition $async$goto = 3; break; case 4: // after for throw A.wrapException(A.Exception_Exception("Failed to download any of the following CanvasKit URLs: " + urls.toString$0(0))); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_downloadOneOf, $async$completer); }, _downloadCanvasKitJs(url) { var script, canvasKitLoadCompleter, loadCallback, errorCallback, t2, t1 = A.configuration()._configuration; t1 = t1 == null ? null : A.JsFlutterConfigurationExtension_get_nonce(t1); script = A.DomDocumentExtension_createElement(self.document, "script"); if (t1 != null) script.nonce = t1; script.src = A.createTrustedScriptUrl(url); t1 = new A._Future($.Zone__current, type$._Future_bool); canvasKitLoadCompleter = new A._AsyncCompleter(t1, type$._AsyncCompleter_bool); loadCallback = A._Cell$named("loadCallback"); errorCallback = A._Cell$named("errorCallback"); t2 = type$.JavaScriptFunction; loadCallback.set$finalLocalValue(t2._as(A.allowInterop(new A._downloadCanvasKitJs_loadEventHandler(script, canvasKitLoadCompleter)))); errorCallback.set$finalLocalValue(t2._as(A.allowInterop(new A._downloadCanvasKitJs_errorEventHandler(script, canvasKitLoadCompleter)))); A.DomEventTargetExtension_addEventListener(script, "load", loadCallback._readLocal$0(), null); A.DomEventTargetExtension_addEventListener(script, "error", errorCallback._readLocal$0(), null); self.document.head.appendChild(script); return t1; }, ManagedSkColorFilter$(ckColorFilter) { var _s11_ = "ColorFilter", t1 = new A.ManagedSkColorFilter(ckColorFilter), t2 = new A.UniqueRef(_s11_, type$.UniqueRef_JavaScriptObject); t2.UniqueRef$3(t1, ckColorFilter._initRawColorFilter$0(), _s11_, type$.JavaScriptObject); t1.__ManagedSkColorFilter__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.__ManagedSkColorFilter__ref_F = t2; return t1; }, createSkColorFilterFromColorAndBlendMode(color, blendMode) { var t1; color.get$opacity(color); t1 = A.callMethod($.__canvasKit._readField$0().ColorFilter, "MakeBlend", [A._populateSkColor($.$get$_sharedSkColor1(), color), $.$get$_skBlendModes()[blendMode.index]]); if (t1 == null) throw A.wrapException(A.ArgumentError$("Invalid parameters for blend mode ColorFilter", null)); return t1; }, CkMatrixColorFilter$(matrix) { return new A.CkMatrixColorFilter(matrix); }, createCkColorFilter(colorFilter) { switch (colorFilter.type.index) { case 0: return new A.CkBlendModeColorFilter(colorFilter.color, colorFilter.blendMode); case 1: return null; case 2: return B.C_CkLinearToSrgbGammaColorFilter; case 3: return B.C_CkSrgbToLinearGammaColorFilter; default: throw A.wrapException(A.StateError$("Unknown mode " + colorFilter.toString$0(0) + ".type for ColorFilter.")); } }, DisplayCanvasFactory$(createCanvas, $T) { var t1 = $T._eval$1("JSArray<0>"); return new A.DisplayCanvasFactory(createCanvas, A._setArrayType([], t1), A._setArrayType([], t1), $T._eval$1("DisplayCanvasFactory<0>")); }, HtmlViewEmbedder$(sceneHost, rasterizer) { var t1 = type$.JSArray_CkPictureRecorder, t2 = type$.int, t3 = type$.JSArray_int; return new A.HtmlViewEmbedder(sceneHost, rasterizer, new A.EmbedderFrameContext(A._setArrayType([], t1), A._setArrayType([], t1)), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.EmbeddedViewParams), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ViewClipChain), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.DisplayCanvas), A.LinkedHashSet_LinkedHashSet$_empty(t2), A._setArrayType([], t3), A._setArrayType([], t3), A._setArrayType([], type$.JSArray_OverlayGroup), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Set_String)); }, Mutator$transform(matrix) { var _null = null; return new A.Mutator(B.MutatorType_3, _null, _null, _null, matrix, _null); }, diffViewList(active, next) { var t1, t2, firstIndex, lastIndex, t3; if (active.length === 0 || next.length === 0) return null; t1 = new A.diffViewList_lookForwards(active, next); t2 = new A.diffViewList_lookBackwards(active, next); firstIndex = B.JSArray_methods.indexOf$1(active, B.JSArray_methods.get$first(next)); lastIndex = B.JSArray_methods.lastIndexOf$1(active, B.JSArray_methods.get$last(next)); t3 = firstIndex !== -1; if (t3 && lastIndex !== -1) if (firstIndex <= active.length - lastIndex) return t1.call$1(firstIndex); else return t2.call$1(lastIndex); else if (t3) return t1.call$1(firstIndex); else if (lastIndex !== -1) return t2.call$1(lastIndex); else return null; }, RegisteredFont$(bytes, family, typeface) { var skFont = new self.window.flutterCanvasKit.Font(typeface), t1 = A._setArrayType([0], type$.JSArray_int); A.callMethod(skFont, "getGlyphBounds", [t1, null, null]); return new A.RegisteredFont(family, bytes, typeface); }, skiaInstantiateImageCodec(list, targetWidth, targetHeight) { var _s19_ = "encoded image bytes"; if ($.$get$browserSupportsImageDecoder() && targetWidth == null && targetHeight == null) return A.CkBrowserImageDecoder_create(list, _s19_); else return A.CkAnimatedImage$decodeFromBytes(list, _s19_, targetHeight, targetWidth); }, skiaDecodeImageFromPixels(pixels, width, height, format, callback, allowUpscaling, rowBytes, targetHeight, targetWidth) { A.Timer_Timer(B.Duration_0, new A.skiaDecodeImageFromPixels_closure(width, height, format, pixels, rowBytes, targetWidth, targetHeight, true, callback)); }, scaleImage(image, targetWidth, targetHeight) { var t1, recorder, canvas, paint, t2, t3; if (targetWidth != null && targetWidth <= 0) targetWidth = null; if (targetHeight != null && targetHeight <= 0) targetHeight = null; t1 = targetWidth == null; if (t1 && targetHeight != null) targetWidth = B.JSNumber_methods.round$0(targetHeight * (image.width() / image.height())); else if (targetHeight == null && !t1) targetHeight = B.JSInt_methods.$tdiv(targetWidth, image.width() / image.height()); recorder = new A.CkPictureRecorder(); canvas = recorder.beginRecording$1(B.Rect_aha); paint = A.CkPaint$(); t1 = A.CkImage$(image, null); t2 = image.width(); t3 = image.height(); targetWidth.toString; targetHeight.toString; canvas.drawImageRect$4(t1, new A.Rect(0, 0, 0 + t2, 0 + t3), new A.Rect(0, 0, targetWidth, targetHeight), paint); t3 = paint.__CkPaint__ref_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3.dispose$0(); return recorder.endRecording$0().toImageSync$2(targetWidth, targetHeight); }, ImageCodecException$(_message) { return new A.ImageCodecException(_message); }, skiaInstantiateWebImageCodec(url, chunkCallback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue, list; var $async$skiaInstantiateWebImageCodec = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.fetchImage(url, chunkCallback), $async$skiaInstantiateWebImageCodec); case 3: // returning from await. list = $async$result; if ($.$get$browserSupportsImageDecoder()) { $async$returnValue = A.CkBrowserImageDecoder_create(list, url); // goto return $async$goto = 1; break; } else { $async$returnValue = A.CkAnimatedImage$decodeFromBytes(list, url, null, null); // goto return $async$goto = 1; break; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$skiaInstantiateWebImageCodec, $async$completer); }, fetchImage(url, chunkCallback) { return A.fetchImage$body(url, chunkCallback); }, fetchImage$body(url, chunkCallback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, $async$handler = 2, $async$currentError, response, contentLength, t1, exception, $async$exception; var $async$fetchImage = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; $async$goto = 7; return A._asyncAwait(A.httpFetch(url), $async$fetchImage); case 7: // returning from await. response = $async$result; contentLength = response.get$contentLength(); if (!response.get$hasPayload()) { t1 = A.ImageCodecException$(string$.Failedl + url + "\nServer response code: " + J.get$status$x(response)); throw A.wrapException(t1); } $async$goto = contentLength != null ? 8 : 10; break; case 8: // then t1 = A.readChunked(J.get$payload$z(response), contentLength, chunkCallback); $async$returnValue = t1; // goto return $async$goto = 1; break; // goto join $async$goto = 9; break; case 10: // else $async$goto = 11; return A._asyncAwait(A.HttpFetchResponseExtension_asUint8List(response), $async$fetchImage); case 11: // returning from await. t1 = $async$result; $async$returnValue = t1; // goto return $async$goto = 1; break; case 9: // join $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; if (A.unwrapException($async$exception) instanceof A.HttpFetchError) throw A.wrapException(A.ImageCodecException$(string$.Failedl + url + "\nTrying to load an image from another domain? Find answers at:\nhttps://flutter.dev/docs/development/platform-integration/web-images")); else throw $async$exception; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$fetchImage, $async$completer); }, readChunked(payload, contentLength, chunkCallback) { return A.readChunked$body(payload, contentLength, chunkCallback); }, readChunked$body(payload, contentLength, chunkCallback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, t1, t2, result; var $async$readChunked = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = {}; t2 = type$.NativeUint8List; result = t2._as(A.callConstructor(self.Uint8Array, [contentLength])); t1.cumulativeBytesLoaded = t1.position = 0; $async$goto = 3; return A._asyncAwait(payload.read$1$1(0, new A.readChunked_closure(t1, chunkCallback, contentLength, result), t2), $async$readChunked); case 3: // returning from await. $async$returnValue = result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$readChunked, $async$completer); }, CkImage$(skImage, videoFrame) { var t1 = new A.CkImage($, videoFrame), t2 = A.CountedRef$(skImage, t1, "SkImage", type$.CkImage, type$.JavaScriptObject); t1.__CkImage_box_F !== $ && A.throwUnnamedLateFieldAI(); t1.__CkImage_box_F = t2; t1._init$0(); return t1; }, CkAnimatedImage$decodeFromBytes(_bytes, src, targetHeight, targetWidth) { var t2, resizedBytes, _s28_ = "MakeAnimatedImageFromEncoded", t1 = new A.CkAnimatedImage(src, _bytes, targetWidth, targetHeight), animatedImage = A.callMethod($.__canvasKit._readField$0(), _s28_, [type$.NativeUint8List._as(_bytes)]); if (animatedImage == null) A.throwExpression(A.ImageCodecException$("Failed to decode image data.\nImage source: " + src)); if (targetWidth != null || targetHeight != null) if (animatedImage.getFrameCount() > 1) $.$get$printWarning().call$1("targetWidth and targetHeight for multi-frame images not supported"); else { t2 = A.scaleImage(animatedImage.makeImageAtCurrentFrame(), targetWidth, targetHeight).__CkImage_box_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.__CountedRef__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; resizedBytes = A.SkImageExtension_encodeToBytes(t2); if (resizedBytes == null) A.throwExpression(A.ImageCodecException$("Failed to re-size image")); animatedImage = A.callMethod($.__canvasKit._readField$0(), _s28_, [resizedBytes]); if (animatedImage == null) A.throwExpression(A.ImageCodecException$("Failed to decode re-sized image data.\nImage source: " + src)); } t1._frameCount = B.JSNumber_methods.toInt$0(animatedImage.getFrameCount()); t1._repetitionCount = B.JSNumber_methods.toInt$0(animatedImage.getRepetitionCount()); t2 = new A.UniqueRef("Codec", type$.UniqueRef_JavaScriptObject); t2.UniqueRef$3(t1, animatedImage, "Codec", type$.JavaScriptObject); t1.__CkAnimatedImage__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.__CkAnimatedImage__ref_F = t2; return t1; }, CkBrowserImageDecoder$_(contentType, dataSource, debugSource) { return new A.CkBrowserImageDecoder(contentType, dataSource, debugSource, new A.AlarmClock(new A.BrowserImageDecoder__cacheExpirationClock_closure())); }, CkBrowserImageDecoder_create(data, debugSource) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.CkBrowserImageDecoder), $async$returnValue, t1, decoder, contentType; var $async$CkBrowserImageDecoder_create = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start contentType = A.detectContentType(data); if (contentType == null) { t1 = J.getInterceptor$asx(data); throw A.wrapException(A.ImageCodecException$("Failed to detect image file format using the file header.\nFile header was " + (!t1.get$isEmpty(data) ? "[" + A.bytesToHexString(t1.sublist$2(data, 0, Math.min(10, t1.get$length(data)))) + "]" : "empty") + ".\nImage source: " + debugSource)); } decoder = A.CkBrowserImageDecoder$_(contentType, type$.NativeUint8List._as(data), debugSource); $async$goto = 3; return A._asyncAwait(decoder._getOrCreateWebDecoder$0(), $async$CkBrowserImageDecoder_create); case 3: // returning from await. $async$returnValue = decoder; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$CkBrowserImageDecoder_create, $async$completer); }, readPixelsFromVideoFrame(videoFrame, format) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ByteData), $async$returnValue, pixels, isBgrFrame, $async$temp1, $async$temp2; var $async$readPixelsFromVideoFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = format === B.ImageByteFormat_3 ? 3 : 4; break; case 3: // then $async$temp1 = J; $async$temp2 = J; $async$goto = 5; return A._asyncAwait(A.encodeVideoFrameAsPng(videoFrame), $async$readPixelsFromVideoFrame); case 5: // returning from await. $async$returnValue = $async$temp1.asByteData$0$x($async$temp2.get$buffer$x($async$result)); // goto return $async$goto = 1; break; case 4: // join $async$goto = 6; return A._asyncAwait(A.readVideoFramePixelsUnmodified(videoFrame), $async$readPixelsFromVideoFrame); case 6: // returning from await. pixels = $async$result; if (A._shouldReadPixelsUnmodified(videoFrame, format)) { $async$returnValue = J.asByteData$0$x(pixels); // goto return $async$goto = 1; break; } isBgrFrame = A.VideoFrameExtension_get_format(videoFrame) === "BGRA" || A.VideoFrameExtension_get_format(videoFrame) === "BGRX"; if (format === B.ImageByteFormat_0 && isBgrFrame) { A._bgrToRgba(pixels); $async$returnValue = J.asByteData$0$x(pixels); // goto return $async$goto = 1; break; } $async$returnValue = J.asByteData$0$x(pixels); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$readPixelsFromVideoFrame, $async$completer); }, _bgrToRgba(pixels) { var i, b, t2, t1 = J.getInterceptor$x(pixels), pixelCount = B.JSInt_methods._tdivFast$1(t1.get$lengthInBytes(pixels), 4), pixelBytes = t1.asUint8List$0(pixels); for (t1 = J.getInterceptor$asx(pixelBytes), i = 0; i < pixelCount; i += 4) { b = t1.$index(pixelBytes, i); t2 = i + 2; t1.$indexSet(pixelBytes, i, t1.$index(pixelBytes, t2)); t1.$indexSet(pixelBytes, t2, b); } }, _shouldReadPixelsUnmodified(videoFrame, format) { var isRgbFrame; if (format === B.ImageByteFormat_2) return true; isRgbFrame = A.VideoFrameExtension_get_format(videoFrame) === "RGBA" || A.VideoFrameExtension_get_format(videoFrame) === "RGBX"; return format === B.ImageByteFormat_0 && isRgbFrame; }, readVideoFramePixelsUnmodified(videoFrame) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ByteBuffer), $async$returnValue, size, destination; var $async$readVideoFramePixelsUnmodified = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start size = B.JSNumber_methods.toInt$0(videoFrame.allocationSize()); destination = type$.NativeUint8List._as(A.callConstructor(self.Uint8Array, [size])); $async$goto = 3; return A._asyncAwait(A.promiseToFuture(A.callMethod(videoFrame, "copyTo", [destination]), type$.void), $async$readVideoFramePixelsUnmodified); case 3: // returning from await. $async$returnValue = destination.buffer; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$readVideoFramePixelsUnmodified, $async$completer); }, encodeVideoFrameAsPng(videoFrame) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, width, canvas, t1; var $async$encodeVideoFrameAsPng = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start width = B.JSNumber_methods.toInt$0(videoFrame.displayWidth); canvas = A.createDomCanvasElement(B.JSNumber_methods.toInt$0(videoFrame.displayHeight), width); t1 = A.DomCanvasElementExtension_getContext(canvas, "2d", null); t1.toString; A.DomCanvasRenderingContext2DExtension_drawImage(type$.JavaScriptObject._as(t1), videoFrame, 0, 0, null, null, null, null, null, null); $async$returnValue = B.C_Base64Decoder.convert$1(B.JSString_methods.substring$1(A.callMethod(canvas, "toDataURL", ["image/png"]), 22)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$encodeVideoFrameAsPng, $async$completer); }, MultiSurfaceViewRasterizer$(view, rasterizer) { return new A.MultiSurfaceViewRasterizer(A.DisplayCanvasFactory$(new A.MultiSurfaceViewRasterizer_displayFactory_closure(), type$.Surface), view, B.Size_0_0, new A.CompositorContext()); }, CountedRef$(nativeObject, debugReferrer, debugLabel, $R, $T) { var t1 = new A.CountedRef(A.LinkedHashSet_LinkedHashSet$_empty($R), $R._eval$1("@<0>")._bind$1($T)._eval$1("CountedRef<1,2>")), t2 = new A.UniqueRef(debugLabel, $T._eval$1("UniqueRef<0>")); t2.UniqueRef$3(t1, nativeObject, debugLabel, $T); t1.__CountedRef__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.__CountedRef__ref_F = t2; return t1; }, OffscreenCanvasViewRasterizer$(view, rasterizer) { return new A.OffscreenCanvasViewRasterizer(rasterizer, A.DisplayCanvasFactory$(new A.OffscreenCanvasViewRasterizer_displayFactory_closure(), type$.RenderCanvas), view, B.Size_0_0, new A.CompositorContext()); }, CkPaint$() { var t3, t1 = new self.window.flutterCanvasKit.Paint(), t2 = new A.CkPaint(t1, B.BlendMode_3, B.PaintingStyle_0, B.StrokeCap_0, B.StrokeJoin_0, B.FilterQuality_0); A.callMethod(t1, "setAntiAlias", [true]); A.callMethod(t1, "setColorInt", [4278190080]); t3 = new A.UniqueRef("Paint", type$.UniqueRef_JavaScriptObject); t3.UniqueRef$3(t2, t1, "Paint", type$.JavaScriptObject); t2.__CkPaint__ref_F !== $ && A.throwUnnamedLateFieldAI(); t2.__CkPaint__ref_F = t3; return t2; }, CkPath_CkPath() { var skPath = new self.window.flutterCanvasKit.Path(); skPath.setFillType($.$get$_skFillTypes()[0]); return A.CkPath$_(skPath, B.PathFillType_0); }, CkPath$_(nativeObject, _fillType) { var t1 = new A.CkPath(_fillType), t2 = new A.UniqueRef("Path", type$.UniqueRef_JavaScriptObject); t2.UniqueRef$3(t1, nativeObject, "Path", type$.JavaScriptObject); t1.__CkPath__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.__CkPath__ref_F = t2; return t1; }, CanvasKitRenderer__createRasterizer() { var t2, t1 = $.$get$_browserEngine(); if (t1 !== B.BrowserEngine_1) t2 = t1 === B.BrowserEngine_2; else t2 = true; if (t2) return new A.MultiSurfaceRasterizer(A.LinkedHashMap_LinkedHashMap$_empty(type$.EngineFlutterView, type$.MultiSurfaceViewRasterizer)); t2 = A.DomDocumentExtension_createElement(self.document, "flt-canvas-container"); if ($.$get$browserSupportsOffscreenCanvas()) t1 = t1 !== B.BrowserEngine_1; else t1 = false; return new A.OffscreenCanvasRasterizer(new A.Surface(t1 && true, false, t2), A.LinkedHashMap_LinkedHashMap$_empty(type$.EngineFlutterView, type$.OffscreenCanvasViewRasterizer)); }, Surface$(isDisplayCanvas) { var t2, t1 = A.DomDocumentExtension_createElement(self.document, "flt-canvas-container"); if ($.$get$browserSupportsOffscreenCanvas()) { t2 = $.$get$_browserEngine(); t2 = t2 !== B.BrowserEngine_1; } else t2 = false; return new A.Surface(t2 && !isDisplayCanvas, isDisplayCanvas, t1); }, CkParagraphStyle_toSkStrutStyleProperties(value, paragraphHeightBehavior) { var skStrutStyle, t1, effectiveLeadingDistribution, _null = null; type$.CkStrutStyle._as(value); skStrutStyle = type$.JavaScriptObject._as({}); t1 = A._getEffectiveFontFamilies(value._fontFamily, value._fontFamilyFallback); skStrutStyle.fontFamilies = t1; t1 = value.__engine$_fontSize; if (t1 != null) skStrutStyle.fontSize = t1; t1 = value.__engine$_height; if (t1 != null) skStrutStyle.heightMultiplier = t1; effectiveLeadingDistribution = value._leadingDistribution; effectiveLeadingDistribution = paragraphHeightBehavior == null ? _null : paragraphHeightBehavior.leadingDistribution; switch (effectiveLeadingDistribution) { case null: case void 0: break; case B.TextLeadingDistribution_1: A.SkStrutStylePropertiesExtension_set_halfLeading(skStrutStyle, true); break; case B.TextLeadingDistribution_0: A.SkStrutStylePropertiesExtension_set_halfLeading(skStrutStyle, false); break; } t1 = value._fontWeight; if (t1 != null || value._fontStyle != null) skStrutStyle.fontStyle = A.toSkFontStyle(t1, value._fontStyle); t1 = value._forceStrutHeight; if (t1 != null) skStrutStyle.forceStrutHeight = t1; skStrutStyle.strutEnabled = true; return skStrutStyle; }, CkTextStyle_CkTextStyle(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) { return new A.CkTextStyle(color, decoration, decorationColor, decorationStyle, decorationThickness, fontWeight, fontStyle, textBaseline, fontFamily, fontFamilyFallback, fontSize, letterSpacing, wordSpacing, height, leadingDistribution, locale, background, foreground, shadows, fontFeatures, fontVariations); }, toSkFontStyle(fontWeight, fontStyle) { var style = type$.JavaScriptObject._as({}); if (fontWeight != null) style.weight = $.$get$_skFontWeights()[fontWeight.index]; if (fontStyle != null) style.slant = $.$get$_skFontSlants()[fontStyle.index]; return style; }, _getEffectiveFontFamilies(fontFamily, fontFamilyFallback) { var fontFamilies = A._setArrayType([], type$.JSArray_String); if (fontFamily != null) fontFamilies.push(fontFamily); if (fontFamilyFallback != null && !B.JSArray_methods.every$1(fontFamilyFallback, new A._getEffectiveFontFamilies_closure(fontFamily))) B.JSArray_methods.addAll$1(fontFamilies, fontFamilyFallback); B.JSArray_methods.addAll$1(fontFamilies, $.$get$_renderer().get$fontCollection().get$fontFallbackManager().globalFontFallbacks); return fontFamilies; }, SegmentationCacheExtensions_getCacheForText(_this, text) { var t1 = text.length; if (t1 <= B.Record2_cacheSize_100000_maxTextLength_10._1) return _this._2; if (t1 <= B.Record2_cacheSize_10000_maxTextLength_100._1) return _this._1; if (t1 <= B.Record2_cacheSize_20_maxTextLength_50000._1) return _this._0; return null; }, fragmentUsingIntlSegmenter(text, granularity) { var iterator, breaks, t1 = $.$get$_intlSegmenters().$index(0, granularity); t1.toString; iterator = A.DomSegmentsExtension_iterator(A.callMethod(t1, "segment", [text])); breaks = A._setArrayType([], type$.JSArray_int); for (; iterator.moveNext$0();) { t1 = iterator.__DomIteratorWrapper__current_A; t1 === $ && A.throwUnnamedLateFieldNI(); breaks.push(B.JSNumber_methods.toInt$0(t1.index)); } breaks.push(text.length); return new Uint32Array(A._ensureNativeList(breaks)); }, fragmentUsingV8LineBreaker(text) { var i, fragment, uint32Index, t2, fragments = A.breakLinesUsingV8BreakIterator(text, text, $.$get$_v8LineBreaker()), t1 = fragments.length, typedArray = new Uint32Array((t1 + 1) * 2); typedArray[0] = 0; typedArray[1] = 0; for (i = 0; i < t1; ++i) { fragment = fragments[i]; uint32Index = 2 + i * 2; typedArray[uint32Index] = fragment.end; t2 = fragment.type === B.LineBreakType_2 ? 1 : 0; typedArray[uint32Index + 1] = t2; } return typedArray; }, CanvasKitError$(message) { return new A.CanvasKitError(message); }, makeFreshSkColor(color) { var result = new Float32Array(4); result[0] = (color.get$value(color) >>> 16 & 255) / 255; result[1] = (color.get$value(color) >>> 8 & 255) / 255; result[2] = (color.get$value(color) & 255) / 255; result[3] = (color.get$value(color) >>> 24 & 255) / 255; return result; }, CopyToClipboardStrategy_CopyToClipboardStrategy() { return self.window.navigator.clipboard != null ? new A.ClipboardAPICopyStrategy() : new A.ExecCommandCopyStrategy(); }, PasteFromClipboardStrategy_PasteFromClipboardStrategy() { var t1 = $.$get$_browserEngine(); return t1 === B.BrowserEngine_2 || self.window.navigator.clipboard == null ? new A.ExecCommandPasteStrategy() : new A.ClipboardAPIPasteStrategy(); }, configuration() { var t1 = $._configuration; return t1 == null ? $._configuration = A.FlutterConfiguration$legacy(self.window.flutterConfiguration) : t1; }, FlutterConfiguration$legacy(config) { var t1 = new A.FlutterConfiguration(); if (config != null) { t1._usedLegacyConfigStyle = true; t1._configuration = config; } return t1; }, JsFlutterConfigurationExtension_get_nonce(_this) { var t1 = _this.nonce; return t1 == null ? null : t1; }, ScreenOrientation__deviceOrientationToLockType(deviceOrientation) { switch (deviceOrientation) { case "DeviceOrientation.portraitUp": return "portrait-primary"; case "DeviceOrientation.portraitDown": return "portrait-secondary"; case "DeviceOrientation.landscapeLeft": return "landscape-primary"; case "DeviceOrientation.landscapeRight": return "landscape-secondary"; default: return null; } }, DomWindowExtension_get_innerHeight(_this) { var t1 = _this.innerHeight; return t1 == null ? null : t1; }, DomWindowExtension_matchMedia(_this, query) { return A.callMethod(_this, "matchMedia", [query]); }, DomWindowExtension_getComputedStyle(_this, elt) { return _this.getComputedStyle(elt); }, DomConsoleExtension_get_warn(_this) { return new A.DomConsoleExtension_get_warn_closure(_this); }, DomNavigatorExtension_get_userAgent(_this) { return _this.userAgent; }, DomNavigatorExtension_get_languages(_this) { var t1 = _this.languages; if (t1 == null) t1 = null; else { t1 = B.JSArray_methods.map$1$1(t1, new A.DomNavigatorExtension_get_languages_closure(), type$.String); t1 = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); } return t1; }, DomDocumentExtension_createElement(_this, $name) { var t1 = A.callMethod(_this, "createElement", [$name]); return t1; }, DomEventTargetExtension_addEventListener(_this, type, listener, useCapture) { var _s16_ = "addEventListener"; if (listener != null) if (useCapture == null) A.callMethod(_this, _s16_, [type, listener]); else A.callMethod(_this, _s16_, [type, listener, useCapture]); }, DomEventTargetExtension_removeEventListener(_this, type, listener, useCapture) { var _s19_ = "removeEventListener"; if (listener != null) if (useCapture == null) A.callMethod(_this, _s19_, [type, listener]); else A.callMethod(_this, _s19_, [type, listener, useCapture]); }, createDomEventListener(listener) { return type$.JavaScriptFunction._as(A.allowInterop(listener)); }, DomEventExtension_get_timeStamp(_this) { var t1 = _this.timeStamp; return t1 == null ? null : t1; }, DomNodeExtension_set_text(_this, value) { _this.textContent = value; return value; }, DomNodeExtension_cloneNode(_this, deep) { return A.callMethod(_this, "cloneNode", [deep]); }, createDomElement(tag) { return A.DomDocumentExtension_createElement(self.document, tag); }, DomElementExtension_get_tagName(_this) { return _this.tagName; }, DomElementExtension_setAttribute(_this, $name, value) { var t1 = A.jsify(value); return A.callMethod(_this, "setAttribute", [$name, t1 == null ? type$.Object._as(t1) : t1]); }, DomElementExtension_set_tabIndex(_this, value) { _this.tabIndex = value; return value; }, DomElementExtension_clearChildren(_this) { var t1; for (; _this.firstChild != null;) { t1 = _this.firstChild; t1.toString; _this.removeChild(t1); } }, DomCSSStyleDeclarationExtension_set_width(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "width", value); }, DomCSSStyleDeclarationExtension_set_height(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "height", value); }, DomCSSStyleDeclarationExtension_set_position(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "position", value); }, DomCSSStyleDeclarationExtension_set_top(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "top", value); }, DomCSSStyleDeclarationExtension_set_left(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "left", value); }, DomCSSStyleDeclarationExtension_set_visibility(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "visibility", value); }, DomCSSStyleDeclarationExtension_set_overflow(_this, value) { return A.DomCSSStyleDeclarationExtension_setProperty(_this, "overflow", value); }, DomCSSStyleDeclarationExtension_setProperty(_this, propertyName, value) { A.callMethod(_this, "setProperty", [propertyName, value, ""]); }, DomHTMLImageElementExtension_get_src(_this) { var t1 = _this.src; return t1 == null ? null : t1; }, DomHTMLImageElementExtension_set_src(_this, value) { _this.src = value; return value; }, createDomCanvasElement(height, width) { var canvas; $.debugCanvasCount = $.debugCanvasCount + 1; canvas = A.DomDocumentExtension_createElement(self.window.document, "canvas"); if (width != null) A.DomCanvasElementExtension_set_width(canvas, width); if (height != null) A.DomCanvasElementExtension_set_height(canvas, height); return canvas; }, DomCanvasElementExtension_set_width(_this, value) { _this.width = value; return value; }, DomCanvasElementExtension_set_height(_this, value) { _this.height = value; return value; }, DomCanvasElementExtension_getContext(_this, contextType, attributes) { var t1, _s10_ = "getContext"; if (attributes == null) return A.callMethod(_this, _s10_, [contextType]); else { t1 = A.jsify(attributes); return A.callMethod(_this, _s10_, [contextType, t1 == null ? type$.Object._as(t1) : t1]); } }, DomCanvasElementExtension_get_context2D(_this) { var t1 = A.DomCanvasElementExtension_getContext(_this, "2d", null); t1.toString; return type$.JavaScriptObject._as(t1); }, DomCanvasElementExtension_getGlContext(_this, majorVersion) { var t1; if (majorVersion === 1) { t1 = A.DomCanvasElementExtension_getContext(_this, "webgl", null); t1.toString; return type$.JavaScriptObject._as(t1); } t1 = A.DomCanvasElementExtension_getContext(_this, "webgl2", null); t1.toString; return type$.JavaScriptObject._as(t1); }, DomCanvasRenderingContext2DExtension_set_fillStyle(_this, style) { var t1 = style; _this.fillStyle = t1; return t1; }, DomCanvasRenderingContext2DExtension_set_lineWidth(_this, value) { _this.lineWidth = value; return value; }, DomCanvasRenderingContext2DExtension_set_strokeStyle(_this, value) { var t1 = value; _this.strokeStyle = t1; return t1; }, DomCanvasRenderingContext2DExtension_drawImage(_this, source, srcxOrDstX, srcyOrDstY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight) { var _s9_ = "drawImage"; if (srcWidth == null) return A.callMethod(_this, _s9_, [source, srcxOrDstX, srcyOrDstY]); else { srcHeight.toString; dstX.toString; dstY.toString; dstWidth.toString; dstHeight.toString; return A.callMethod(_this, _s9_, [source, srcxOrDstX, srcyOrDstY, srcWidth, srcHeight, dstX, dstY, dstWidth, dstHeight]); } }, DomCanvasRenderingContext2DExtension_fill(_this, pathOrWinding) { if (pathOrWinding == null) _this.fill(); else A.callMethod(_this, "fill", [pathOrWinding]); }, DomCanvasRenderingContext2DExtension_fillText(_this, text, x, y) { A.callMethod(_this, "fillText", [text, x, y]); }, DomCanvasRenderingContext2DExtension_setTransform(_this, a, b, c, d, e, f) { return A.callMethod(_this, "setTransform", [a, b, c, d, e, f]); }, DomCanvasRenderingContext2DExtension_transform(_this, a, b, c, d, e, f) { return A.callMethod(_this, "transform", [a, b, c, d, e, f]); }, DomCanvasRenderingContext2DExtension_clip(_this, pathOrWinding) { if (pathOrWinding == null) _this.clip(); else A.callMethod(_this, "clip", [pathOrWinding]); }, DomCanvasRenderingContext2DExtension_set_filter(_this, value) { _this.filter = value; return value; }, DomCanvasRenderingContext2DExtension_set_shadowOffsetX(_this, x) { _this.shadowOffsetX = x; return x; }, DomCanvasRenderingContext2DExtension_set_shadowOffsetY(_this, y) { _this.shadowOffsetY = y; return y; }, DomCanvasRenderingContext2DExtension_set_shadowColor(_this, value) { _this.shadowColor = value; return value; }, httpFetch(url) { return A.httpFetch$body(url); }, httpFetch$body(url) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.HttpFetchResponse), $async$returnValue, $async$handler = 2, $async$currentError, domResponse, requestError, exception, $async$exception; var $async$httpFetch = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; $async$goto = 7; return A._asyncAwait(A.promiseToFuture(A.callMethod(self.window, "fetch", [url]), type$.JavaScriptObject), $async$httpFetch); case 7: // returning from await. domResponse = $async$result; $async$returnValue = new A.HttpFetchResponseImpl(url, domResponse); // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; requestError = A.unwrapException($async$exception); throw A.wrapException(new A.HttpFetchError(url, requestError)); // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$httpFetch, $async$completer); }, httpFetchByteBuffer(url) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ByteBuffer), $async$returnValue; var $async$httpFetchByteBuffer = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.httpFetch(url), $async$httpFetchByteBuffer); case 3: // returning from await. $async$returnValue = $async$result.get$payload(0).asByteBuffer$0(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$httpFetchByteBuffer, $async$completer); }, HttpFetchResponseExtension_asUint8List(_this) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, $async$temp1; var $async$HttpFetchResponseExtension_asUint8List = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$temp1 = J; $async$goto = 3; return A._asyncAwait(_this.get$payload(0).asByteBuffer$0(), $async$HttpFetchResponseExtension_asUint8List); case 3: // returning from await. $async$returnValue = $async$temp1.asUint8List$0$x($async$result); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$HttpFetchResponseExtension_asUint8List, $async$completer); }, createDomFontFace(family, source, descriptors) { var t1, t2; if (descriptors == null) return A.callConstructor(self.FontFace, [family, source]); else { t1 = self.FontFace; t2 = A.jsify(descriptors); return A.callConstructor(t1, [family, source, t2 == null ? type$.Object._as(t2) : t2]); } }, DomVisualViewportExtension_get_height(_this) { var t1 = _this.height; return t1 == null ? null : t1; }, DomHTMLTextAreaElementExtension_set_value(_this, value) { var t1 = value == null ? null : value; _this.value = t1; return t1; }, DomHTMLTextAreaElementExtension_get_selectionStart(_this) { var t1 = _this.selectionStart; return t1 == null ? null : t1; }, DomHTMLTextAreaElementExtension_get_selectionEnd(_this) { var t1 = _this.selectionEnd; return t1 == null ? null : t1; }, DomHTMLTextAreaElementExtension_get_value(_this) { var t1 = _this.value; return t1 == null ? null : t1; }, DomKeyboardEventExtension_get_code(_this) { var t1 = _this.code; return t1 == null ? null : t1; }, DomKeyboardEventExtension_get_key(_this) { var t1 = _this.key; return t1 == null ? null : t1; }, DomHistoryExtension_get_state(_this) { var t1 = _this.state; if (t1 == null) t1 = null; else { t1 = A.dartify(t1); t1.toString; } return t1; }, createDomBlob(parts) { var t1 = self; return A.callConstructor(t1.Blob, [parts]); }, DomMediaQueryListEventExtension_get_matches(_this) { var t1 = _this.matches; return t1 == null ? null : t1; }, DomMouseEventExtension_get_buttons(_this) { var t1 = _this.buttons; return t1 == null ? null : t1; }, DomPointerEventExtension_get_pointerId(_this) { var t1 = _this.pointerId; return t1 == null ? null : t1; }, DomPointerEventExtension_get_pointerType(_this) { var t1 = _this.pointerType; return t1 == null ? null : t1; }, DomPointerEventExtension_get_tiltX(_this) { var t1 = _this.tiltX; return t1 == null ? null : t1; }, DomPointerEventExtension_get_tiltY(_this) { var t1 = _this.tiltY; return t1 == null ? null : t1; }, DomWheelEventExtension_get_wheelDeltaX(_this) { var t1 = _this.wheelDeltaX; return t1 == null ? null : t1; }, DomWheelEventExtension_get_wheelDeltaY(_this) { var t1 = _this.wheelDeltaY; return t1 == null ? null : t1; }, DomHTMLInputElementExtension_set_type(_this, value) { _this.type = value; return value; }, DomHTMLInputElementExtension_set_value(_this, v) { var t1 = v == null ? null : v; _this.value = t1; return t1; }, DomHTMLInputElementExtension_get_value(_this) { var t1 = _this.value; return t1 == null ? null : t1; }, DomHTMLInputElementExtension_get_disabled(_this) { var t1 = _this.disabled; return t1 == null ? null : t1; }, DomHTMLInputElementExtension_set_disabled(_this, value) { _this.disabled = value; return value; }, DomHTMLInputElementExtension_get_selectionStart(_this) { var t1 = _this.selectionStart; return t1 == null ? null : t1; }, DomHTMLInputElementExtension_get_selectionEnd(_this) { var t1 = _this.selectionEnd; return t1 == null ? null : t1; }, DomOffscreenCanvasExtension_set_height(_this, value) { _this.height = value; return value; }, DomOffscreenCanvasExtension_set_width(_this, value) { _this.width = value; return value; }, DomOffscreenCanvasExtension_getContext(_this, contextType, attributes) { var t1, _s10_ = "getContext"; if (attributes == null) return A.callMethod(_this, _s10_, [contextType]); else { t1 = A.jsify(attributes); return A.callMethod(_this, _s10_, [contextType, t1 == null ? type$.Object._as(t1) : t1]); } }, DomOffscreenCanvasExtension_getGlContext(_this, majorVersion) { var t1; if (majorVersion === 1) { t1 = A.DomOffscreenCanvasExtension_getContext(_this, "webgl", null); t1.toString; return type$.JavaScriptObject._as(t1); } t1 = A.DomOffscreenCanvasExtension_getContext(_this, "webgl2", null); t1.toString; return type$.JavaScriptObject._as(t1); }, DomSubscription$(target, typeString, dartListener) { var t1 = type$.JavaScriptFunction._as(A.allowInterop(dartListener)); A.callMethod(target, "addEventListener", [typeString, t1]); return new A.DomSubscription(typeString, target, t1); }, createDomResizeObserver(fn) { return A.callConstructor(self.ResizeObserver, [type$.JavaScriptFunction._as(A.allowInterop(new A.createDomResizeObserver_closure(fn)))]); }, createTrustedScriptUrl(url) { if (self.window.trustedTypes != null) return A.callMethod($.$get$_ttPolicy(), "createScriptURL", [url]); return url; }, DomSegmentsExtension_iterator(_this) { return new A.DomIteratorWrapper(type$.JavaScriptObject._as(_this[self.Symbol.iterator]()), type$.DomIteratorWrapper_JavaScriptObject); }, createIntlSegmenter(granularity) { var t1, t2; if (self.Intl.Segmenter == null) throw A.wrapException(A.UnimplementedError$("Intl.Segmenter() is not supported.")); t1 = self.Intl.Segmenter; t2 = type$.String; t2 = A.jsify(A.LinkedHashMap_LinkedHashMap$_literal(["granularity", granularity], t2, t2)); if (t2 == null) t2 = type$.Object._as(t2); return A.callConstructor(t1, [[], t2]); }, createV8BreakIterator() { var t1, t2; if (self.Intl.v8BreakIterator == null) throw A.wrapException(A.UnimplementedError$("v8BreakIterator is not supported.")); t1 = self.Intl.v8BreakIterator; t2 = A.jsify(B.Map_KPAWk); if (t2 == null) t2 = type$.Object._as(t2); return A.callConstructor(t1, [[], t2]); }, DomFinalizationRegistryExtension_register(_this, target, value) { A.callMethod(_this, "register", [target, value]); }, transformWithOffset(transform, offset) { var effectiveTransform; if (offset.$eq(0, B.Offset_0_0)) return transform; effectiveTransform = new A.Matrix4(new Float32Array(16)); effectiveTransform.setFrom$1(transform); effectiveTransform.translate$2(0, offset._dx, offset._dy); return effectiveTransform; }, drawParagraphElement(paragraph, offset, transform) { var paragraphElement = paragraph.toDomElement$0(); if (transform != null) A.setElementTransform(paragraphElement, A.transformWithOffset(transform, offset)._m4storage); return paragraphElement; }, sendFontChangeMessage() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$sendFontChangeMessage = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if (!$._fontChangeScheduled) { $._fontChangeScheduled = true; A.callMethod(self.window, "requestAnimationFrame", [type$.JavaScriptFunction._as(A.allowInterop(new A.sendFontChangeMessage_closure()))]); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$sendFontChangeMessage, $async$completer); }, FontFallbackManager$_(registry, fallbackFonts) { var t1 = type$.int, t2 = A.Future_Future$value(null, type$.void), t3 = A._setArrayType(["Roboto"], type$.JSArray_String); t1 = new A.FontFallbackManager(registry, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), fallbackFonts, B.JSArray_methods.singleWhere$1(fallbackFonts, new A.FontFallbackManager$__closure()), B.JSArray_methods.singleWhere$1(fallbackFonts, new A.FontFallbackManager$__closure0()), B.JSArray_methods.singleWhere$1(fallbackFonts, new A.FontFallbackManager$__closure1()), B.JSArray_methods.singleWhere$1(fallbackFonts, new A.FontFallbackManager$__closure2()), B.JSArray_methods.singleWhere$1(fallbackFonts, new A.FontFallbackManager$__closure3()), B.JSArray_methods.singleWhere$1(fallbackFonts, new A.FontFallbackManager$__closure4()), t2, t3, A.LinkedHashSet_LinkedHashSet$_empty(t1)); t3 = type$.NotoFont; t1.__FontFallbackManager_downloadQueue_F = new A.FallbackFontDownloadQueue(t1, A.LinkedHashSet_LinkedHashSet$_empty(t3), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, t3)); return t1; }, _UnicodePropertyLookup__UnicodePropertyLookup$fromPackedData(packedData, propertyEnumValues, $P) { var t1, start, prefix, size, i, code, value, boundaries = A._setArrayType([], type$.JSArray_int), values = A._setArrayType([], $P._eval$1("JSArray<0>")); for (t1 = packedData.length, start = 0, prefix = 0, size = 1, i = 0; i < t1; ++i) { code = packedData.charCodeAt(i); if (65 <= code && code < 91) { value = propertyEnumValues[prefix * 26 + (code - 65)]; start += size; boundaries.push(start); values.push(value); prefix = 0; size = 1; } else if (97 <= code && code < 123) { size = prefix * 26 + (code - 97) + 2; prefix = 0; } else if (48 <= code && code < 58) prefix = prefix * 10 + (code - 48); else throw A.wrapException(A.StateError$("Unreachable")); } if (start !== 1114112) throw A.wrapException(A.StateError$("Bad map size: " + start)); return new A._UnicodePropertyLookup(boundaries, values, $P._eval$1("_UnicodePropertyLookup<0>")); }, fetchFontManifest(assetManager) { return A.fetchFontManifest$body(assetManager); }, fetchFontManifest$body(assetManager) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.FontManifest), $async$returnValue, decoder, inputSink, t1, response, $async$temp1; var $async$fetchFontManifest = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = {}; $async$temp1 = type$.HttpFetchResponse; $async$goto = 3; return A._asyncAwait(A.httpFetch(assetManager.getAssetUrl$1("FontManifest.json")), $async$fetchFontManifest); case 3: // returning from await. response = $async$temp1._as($async$result); if (!response.get$hasPayload()) { $.$get$printWarning().call$1("Font manifest does not exist at `" + response.url + "` - ignoring."); $async$returnValue = new A.FontManifest(A._setArrayType([], type$.JSArray_FontFamily)); // goto return $async$goto = 1; break; } decoder = B.Utf8Decoder_false.super$Converter$fuse(B.JsonDecoder_null, type$.nullable_Object); t1.fontManifestJson = null; inputSink = decoder.startChunkedConversion$1(new A._SimpleCallbackSink(new A.fetchFontManifest_closure(t1), [], type$._SimpleCallbackSink_nullable_Object)); $async$goto = 4; return A._asyncAwait(response.get$payload(0).read$1$1(0, new A.fetchFontManifest_closure0(inputSink), type$.NativeUint8List), $async$fetchFontManifest); case 4: // returning from await. inputSink.close$0(0); t1 = t1.fontManifestJson; if (t1 == null) throw A.wrapException(A.AssertionError$(string$.There_w)); t1 = J.map$1$1$ax(type$.List_dynamic._as(t1), new A.fetchFontManifest_closure1(), type$.FontFamily); $async$returnValue = new A.FontManifest(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("ListIterable.E"))); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$fetchFontManifest, $async$completer); }, FontDownloadError$(url, error) { return new A.FontDownloadError(error, url); }, BitmapCanvas$(_bounds, renderStrategy, density) { var t3, t4, t5, t6, t7, t8, t9, t1 = A.DomDocumentExtension_createElement(self.document, "flt-canvas"), t2 = A._setArrayType([], type$.JSArray_JavaScriptObject); $.$get$EngineFlutterDisplay__instance(); t3 = self.window.devicePixelRatio; if (t3 === 0) t3 = 1; t4 = _bounds.left; t5 = _bounds.right - t4; t6 = A.BitmapCanvas_widthToPhysical(t5); t7 = _bounds.top; t8 = _bounds.bottom - t7; t9 = A.BitmapCanvas_heightToPhysical(t8); t8 = new A.CanvasPool(A.BitmapCanvas_widthToPhysical(t5), A.BitmapCanvas_heightToPhysical(t8), density, A._setArrayType([], type$.JSArray_SaveStackEntry), A.Matrix4$identity()); t3 = new A.BitmapCanvas(_bounds, t1, t8, t2, t6, t9, t3, density, renderStrategy); A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "position", "absolute"); t3._canvasPositionX = B.JSNumber_methods.floor$0(t4) - 1; t3._canvasPositionY = B.JSNumber_methods.floor$0(t7) - 1; t3._updateRootElementTransform$0(); t8._rootElement = t1; t3._setupInitialTransform$0(); return t3; }, BitmapCanvas_widthToPhysical(width) { var t1; $.$get$EngineFlutterDisplay__instance(); t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; return B.JSNumber_methods.ceil$0((width + 1) * t1) + 2; }, BitmapCanvas_heightToPhysical(height) { var t1; $.$get$EngineFlutterDisplay__instance(); t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; return B.JSNumber_methods.ceil$0((height + 1) * t1) + 2; }, BitmapCanvas__onEvictElement(element) { element.remove(); }, blendModeToCssMixBlendMode(blendMode) { if (blendMode == null) return null; switch (blendMode.index) { case 3: return "source-over"; case 5: return "source-in"; case 7: return "source-out"; case 9: return "source-atop"; case 4: return "destination-over"; case 6: return "destination-in"; case 8: return "destination-out"; case 10: return "destination-atop"; case 12: return "lighten"; case 1: return "copy"; case 11: return "xor"; case 24: case 13: return "multiply"; case 14: return "screen"; case 15: return "overlay"; case 16: return "darken"; case 17: return "lighten"; case 18: return "color-dodge"; case 19: return "color-burn"; case 20: return "hard-light"; case 21: return "soft-light"; case 22: return "difference"; case 23: return "exclusion"; case 25: return "hue"; case 26: return "saturation"; case 27: return "color"; case 28: return "luminosity"; default: throw A.wrapException(A.UnimplementedError$("Flutter Web does not support the blend mode: " + blendMode.toString$0(0))); } }, blendModeToSvgEnum(blendMode) { switch (blendMode.index) { case 0: return B.SvgBlendMode_0; case 3: return B.SvgBlendMode_00; case 5: return B.SvgBlendMode_01; case 7: return B.SvgBlendMode_02; case 9: return B.SvgBlendMode_03; case 4: return B.SvgBlendMode_04; case 6: return B.SvgBlendMode_05; case 8: return B.SvgBlendMode_06; case 10: return B.SvgBlendMode_07; case 12: return B.SvgBlendMode_08; case 1: return B.SvgBlendMode_09; case 11: return B.SvgBlendMode_010; case 24: case 13: return B.SvgBlendMode_2; case 14: return B.SvgBlendMode_3; case 15: return B.SvgBlendMode_6; case 16: return B.SvgBlendMode_4; case 17: return B.SvgBlendMode_5; case 18: return B.SvgBlendMode_7; case 19: return B.SvgBlendMode_8; case 20: return B.SvgBlendMode_9; case 21: return B.SvgBlendMode_10; case 22: return B.SvgBlendMode_11; case 23: return B.SvgBlendMode_12; case 25: return B.SvgBlendMode_13; case 26: return B.SvgBlendMode_14; case 27: return B.SvgBlendMode_15; case 28: return B.SvgBlendMode_16; default: return B.SvgBlendMode_1; } }, stringForStrokeCap(strokeCap) { if (strokeCap == null) return null; switch (strokeCap.index) { case 0: return "butt"; case 1: return "round"; case 2: default: return "square"; } }, stringForStrokeJoin(strokeJoin) { switch (strokeJoin.index) { case 1: return "round"; case 2: return "bevel"; case 0: default: return "miter"; } }, _clipContent(clipStack, $content, offset, currentTransform) { var root, curElement, clipIndex, entry, newElement, t2, rect, newClipTransform, transformKind, clipOffsetX, clipOffsetY, newClipTransform0, t3, t4, t5, t6, t7, t8, ovalBounds, reverseTransformDiv, _s16_ = "transform-origin", t1 = type$.JSArray_JavaScriptObject, clipDefs = A._setArrayType([], t1), len = clipStack.length; for (root = null, curElement = null, clipIndex = 0; clipIndex < len; ++clipIndex, curElement = reverseTransformDiv) { entry = clipStack[clipIndex]; newElement = A.DomDocumentExtension_createElement(self.document, "div"); t2 = newElement.style; t2.setProperty.apply(t2, ["position", "absolute", ""]); t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_1) { t2 = newElement.style; t2.setProperty.apply(t2, ["z-index", "0", ""]); } if (root == null) root = newElement; else curElement.append(newElement); rect = entry.rect; newClipTransform = entry.currentTransform; t2 = newClipTransform._m4storage; transformKind = A.transformKindOf(t2); if (rect != null) { clipOffsetX = rect.left; clipOffsetY = rect.top; t2 = new Float32Array(16); newClipTransform0 = new A.Matrix4(t2); newClipTransform0.setFrom$1(newClipTransform); newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY); t3 = newElement.style; t3.setProperty.apply(t3, ["overflow", "hidden", ""]); t4 = rect.right; t3.setProperty.apply(t3, ["width", A.S(t4 - clipOffsetX) + "px", ""]); t4 = rect.bottom; t3.setProperty.apply(t3, ["height", A.S(t4 - clipOffsetY) + "px", ""]); t3 = newElement.style; t3.setProperty.apply(t3, [_s16_, "0 0 0", ""]); t2 = A.float64ListToCssTransform(t2); t3.setProperty.apply(t3, ["transform", t2, ""]); newClipTransform = newClipTransform0; } else { t3 = entry.rrect; if (t3 != null) { t2 = t3.tlRadiusX; t4 = t3.trRadiusX; t5 = t3.brRadiusX; t6 = t3.blRadiusX; clipOffsetX = t3.left; clipOffsetY = t3.top; t7 = new Float32Array(16); newClipTransform0 = new A.Matrix4(t7); newClipTransform0.setFrom$1(newClipTransform); newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY); t8 = newElement.style; t8.setProperty.apply(t8, ["border-radius", A.S(t2) + "px " + A.S(t4) + "px " + A.S(t5) + "px " + A.S(t6) + "px", ""]); t8.setProperty.apply(t8, ["overflow", "hidden", ""]); t2 = t3.right; t8.setProperty.apply(t8, ["width", A.S(t2 - clipOffsetX) + "px", ""]); t2 = t3.bottom; t8.setProperty.apply(t8, ["height", A.S(t2 - clipOffsetY) + "px", ""]); t2 = newElement.style; t2.setProperty.apply(t2, [_s16_, "0 0 0", ""]); t3 = A.float64ListToCssTransform(t7); t2.setProperty.apply(t2, ["transform", t3, ""]); newClipTransform = newClipTransform0; } else { t3 = entry.path; if (t3 != null) { t4 = t3.pathRef; if ((t4.fIsOval ? t4.fRRectOrOvalStartIdx : -1) !== -1) { ovalBounds = t3.getBounds$0(0); clipOffsetX = ovalBounds.left; clipOffsetY = ovalBounds.top; t2 = new Float32Array(16); newClipTransform0 = new A.Matrix4(t2); newClipTransform0.setFrom$1(newClipTransform); newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY); t3 = newElement.style; t3.setProperty.apply(t3, ["overflow", "hidden", ""]); t3.setProperty.apply(t3, ["width", A.S(ovalBounds.right - clipOffsetX) + "px", ""]); t3.setProperty.apply(t3, ["height", A.S(ovalBounds.bottom - clipOffsetY) + "px", ""]); t3.setProperty.apply(t3, ["border-radius", "50%", ""]); t3 = newElement.style; t3.setProperty.apply(t3, [_s16_, "0 0 0", ""]); t2 = A.float64ListToCssTransform(t2); t3.setProperty.apply(t3, ["transform", t2, ""]); newClipTransform = newClipTransform0; } else { t4 = newElement.style; t2 = A.float64ListToCssTransform(t2); t4.setProperty.apply(t4, ["transform", t2, ""]); t4.setProperty.apply(t4, [_s16_, "0 0 0", ""]); clipDefs.push(A.createSvgClipDef(newElement, t3)); } } } } reverseTransformDiv = A.DomDocumentExtension_createElement(self.document, "div"); t2 = reverseTransformDiv.style; t2.setProperty.apply(t2, ["position", "absolute", ""]); t2 = new Float32Array(16); t3 = new A.Matrix4(t2); t3.setFrom$1(newClipTransform); t3.copyInverse$1(t3); t3 = reverseTransformDiv.style; t3.setProperty.apply(t3, [_s16_, "0 0 0", ""]); t2 = A.float64ListToCssTransform(t2); t3.setProperty.apply(t3, ["transform", t2, ""]); if (transformKind === B.TransformKind_2) { t2 = newElement.style; t2.setProperty.apply(t2, ["transform-style", "preserve-3d", ""]); t2 = reverseTransformDiv.style; t2.setProperty.apply(t2, ["transform-style", "preserve-3d", ""]); } newElement.append(reverseTransformDiv); } A.DomCSSStyleDeclarationExtension_setProperty(root.style, "position", "absolute"); curElement.append($content); A.setElementTransform($content, A.transformWithOffset(currentTransform, offset)._m4storage); t1 = A._setArrayType([root], t1); B.JSArray_methods.addAll$1(t1, clipDefs); return t1; }, maskFilterToCanvasFilter(maskFilter) { var t1, t2; if (maskFilter != null) { t1 = maskFilter._sigma; t2 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t2 == null) { t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; } return "blur(" + A.S(t1 * t2) + "px)"; } else return "none"; }, createSvgClipDef(element, clipPath) { var root, t3, t4, t5, t6, _s26_ = "http://www.w3.org/2000/svg", _s15_ = "createElementNS", _s12_ = "setAttribute", pathBounds = clipPath.getBounds$0(0), t1 = pathBounds.right, t2 = pathBounds.bottom; $._clipIdCounter = $._clipIdCounter + 1; root = A.DomNodeExtension_cloneNode($.$get$kSvgResourceHeader(), false); t3 = A.callMethod(self.document, _s15_, [_s26_, "defs"]); root.append(t3); t4 = $._clipIdCounter; t5 = A.callMethod(self.document, _s15_, [_s26_, "clipPath"]); t3.append(t5); t5.id = "svgClip" + t4; t4 = A.callMethod(self.document, _s15_, [_s26_, "path"]); t5.append(t4); t3 = A.jsify("#FFFFFF"); A.callMethod(t4, _s12_, ["fill", t3 == null ? type$.Object._as(t3) : t3]); t3 = $.$get$_browserEngine(); if (t3 !== B.BrowserEngine_2) { t6 = A.jsify("objectBoundingBox"); A.callMethod(t5, _s12_, ["clipPathUnits", t6 == null ? type$.Object._as(t6) : t6]); t5 = A.jsify("scale(" + A.S(1 / t1) + ", " + A.S(1 / t2) + ")"); A.callMethod(t4, _s12_, ["transform", t5 == null ? type$.Object._as(t5) : t5]); } if (clipPath.get$fillType() === B.PathFillType_1) { t5 = A.jsify("evenodd"); A.callMethod(t4, _s12_, ["clip-rule", t5 == null ? type$.Object._as(t5) : t5]); } else { t5 = A.jsify("nonzero"); A.callMethod(t4, _s12_, ["clip-rule", t5 == null ? type$.Object._as(t5) : t5]); } t5 = A.jsify(A.pathToSvg(type$.SurfacePath._as(clipPath).pathRef, 0, 0)); A.callMethod(t4, _s12_, ["d", t5 == null ? type$.Object._as(t5) : t5]); t4 = "url(#svgClip" + $._clipIdCounter + ")"; if (t3 === B.BrowserEngine_1) A.DomCSSStyleDeclarationExtension_setProperty(element.style, "-webkit-clip-path", t4); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "clip-path", t4); t3 = element.style; A.DomCSSStyleDeclarationExtension_setProperty(t3, "width", A.S(t1) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "height", A.S(t2) + "px"); return root; }, svgFilterFromBlendMode(filterColor, colorFilterBlendMode) { var builder, t1, svgFilter, r, b, g, _s9_ = "destalpha", _s5_ = "flood", _s4_ = "comp", _s13_ = "SourceGraphic"; switch (colorFilterBlendMode.index) { case 5: case 9: builder = A.SvgFilterBuilder$(); t1 = A.jsify("sRGB"); if (t1 == null) t1 = type$.Object._as(t1); A.callMethod(builder.filter, "setAttribute", ["color-interpolation-filters", t1]); builder.setFeColorMatrix$2$result(B.List_G9W, _s9_); t1 = A.colorValueToCssString(filterColor.get$value(filterColor)); builder.setFeFlood$3$floodColor$floodOpacity$result(t1, "1", _s5_); builder.setFeComposite$8$in1$in2$k1$k2$k3$k4$operator$result(_s5_, _s9_, 1, 0, 0, 0, 6, _s4_); svgFilter = builder.build$0(); break; case 7: builder = A.SvgFilterBuilder$(); t1 = A.colorValueToCssString(filterColor.get$value(filterColor)); builder.setFeFlood$3$floodColor$floodOpacity$result(t1, "1", _s5_); builder.setFeComposite$4$in1$in2$operator$result(_s5_, _s13_, 3, _s4_); svgFilter = builder.build$0(); break; case 10: builder = A.SvgFilterBuilder$(); t1 = A.colorValueToCssString(filterColor.get$value(filterColor)); builder.setFeFlood$3$floodColor$floodOpacity$result(t1, "1", _s5_); builder.setFeComposite$4$in1$in2$operator$result(_s13_, _s5_, 4, _s4_); svgFilter = builder.build$0(); break; case 11: builder = A.SvgFilterBuilder$(); t1 = A.colorValueToCssString(filterColor.get$value(filterColor)); builder.setFeFlood$3$floodColor$floodOpacity$result(t1, "1", _s5_); builder.setFeComposite$4$in1$in2$operator$result(_s5_, _s13_, 5, _s4_); svgFilter = builder.build$0(); break; case 12: builder = A.SvgFilterBuilder$(); t1 = A.colorValueToCssString(filterColor.get$value(filterColor)); builder.setFeFlood$3$floodColor$floodOpacity$result(t1, "1", _s5_); builder.setFeComposite$8$in1$in2$k1$k2$k3$k4$operator$result(_s5_, _s13_, 0, 1, 1, 0, 6, _s4_); svgFilter = builder.build$0(); break; case 13: r = filterColor.get$red().$div(0, 255); b = filterColor.get$blue().$div(0, 255); g = filterColor.get$green().$div(0, 255); builder = A.SvgFilterBuilder$(); builder.setFeColorMatrix$2$result(A._setArrayType([0, 0, 0, 0, r, 0, 0, 0, 0, g, 0, 0, 0, 0, b, 0, 0, 0, 1, 0], type$.JSArray_double), "recolor"); builder.setFeComposite$8$in1$in2$k1$k2$k3$k4$operator$result("recolor", _s13_, 1, 0, 0, 0, 6, _s4_); svgFilter = builder.build$0(); break; case 15: t1 = A.blendModeToSvgEnum(B.BlendMode_20); t1.toString; svgFilter = A._blendColorFilterToSvg(filterColor, t1, true); break; case 26: case 18: case 19: case 25: case 27: case 28: case 24: case 14: case 16: case 17: case 20: case 21: case 22: case 23: t1 = A.blendModeToSvgEnum(colorFilterBlendMode); t1.toString; svgFilter = A._blendColorFilterToSvg(filterColor, t1, false); break; case 1: case 2: case 6: case 8: case 4: case 0: case 3: throw A.wrapException(A.UnimplementedError$("Blend mode not supported in HTML renderer: " + colorFilterBlendMode.toString$0(0))); default: svgFilter = null; } return svgFilter; }, SvgFilterBuilder$() { var t4, t1 = A.DomNodeExtension_cloneNode($.$get$kSvgResourceHeader(), false), t2 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "filter"]), t3 = $.SvgFilterBuilder__filterIdCounter + 1; $.SvgFilterBuilder__filterIdCounter = t3; t3 = "_fcf" + t3; t2.id = t3; t4 = t2.filterUnits; t4.toString; A.SVGAnimatedEnumerationExtenson_set_baseVal(t4, 2); t4 = t2.x.baseVal; t4.toString; A.SVGLengthExtension_set_valueAsString(t4, "0%"); t4 = t2.y.baseVal; t4.toString; A.SVGLengthExtension_set_valueAsString(t4, "0%"); t4 = t2.width.baseVal; t4.toString; A.SVGLengthExtension_set_valueAsString(t4, "100%"); t4 = t2.height.baseVal; t4.toString; A.SVGLengthExtension_set_valueAsString(t4, "100%"); return new A.SvgFilterBuilder(t3, t1, t2); }, svgFilterFromColorMatrix(matrix) { var builder = A.SvgFilterBuilder$(); builder.setFeColorMatrix$2$result(matrix, "comp"); return builder.build$0(); }, _blendColorFilterToSvg(color, svgBlendMode, swapLayers) { var _s5_ = "flood", _s13_ = "SourceGraphic", builder = A.SvgFilterBuilder$(), t1 = A.colorValueToCssString(color.get$value(color)); builder.setFeFlood$3$floodColor$floodOpacity$result(t1, "1", _s5_); t1 = svgBlendMode.blendMode; if (swapLayers) builder.setFeBlend$3$in1$in2$mode(_s13_, _s5_, t1); else builder.setFeBlend$3$in1$in2$mode(_s5_, _s13_, t1); return builder.build$0(); }, adjustRectForDom(rect, paint) { var width, height, t5, strokeWidth, t1 = rect.left, t2 = rect.right, left = Math.min(t1, t2), t3 = rect.top, t4 = rect.bottom, $top = Math.min(t3, t4); t2 -= t1; width = Math.abs(t2); t4 -= t3; height = Math.abs(t4); t5 = paint.style; strokeWidth = paint.strokeWidth; if (strokeWidth == null) strokeWidth = 0; if (t5 === B.PaintingStyle_1 && strokeWidth > 0) { t5 = strokeWidth / 2; left -= t5; $top -= t5; width = Math.max(0, width - strokeWidth); height = Math.max(0, height - strokeWidth); } if (left !== t1 || $top !== t3 || width !== t2 || height !== t4) return new A.Rect(left, $top, left + width, $top + height); return rect; }, buildDrawRectElement(rect, paint, tagName, transform) { var t1, t2, effectiveTransform, translated, t3, style, cssColor, sigma, url, rectangle = A.DomDocumentExtension_createElement(self.document, tagName), isStroke = paint.style === B.PaintingStyle_1, strokeWidth = paint.strokeWidth; if (strokeWidth == null) strokeWidth = 0; if (transform.isIdentity$0(0)) { t1 = rect.left; t2 = rect.top; effectiveTransform = "translate(" + A.S(t1) + "px, " + A.S(t2) + "px)"; } else { t1 = new Float32Array(16); translated = new A.Matrix4(t1); translated.setFrom$1(transform); t2 = rect.left; t3 = rect.top; translated.translate$2(0, t2, t3); effectiveTransform = A.float64ListToCssTransform(t1); t1 = t2; t2 = t3; } style = rectangle.style; A.DomCSSStyleDeclarationExtension_setProperty(style, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(style, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(style, "transform", effectiveTransform); cssColor = A.colorValueToCssString(paint.color); t3 = paint.maskFilter; if (t3 != null) { sigma = t3._sigma; t3 = $.$get$_browserEngine(); if (t3 === B.BrowserEngine_1 && !isStroke) { A.DomCSSStyleDeclarationExtension_setProperty(style, "box-shadow", "0px 0px " + A.S(sigma * 2) + "px " + cssColor); t3 = paint.color; cssColor = A.colorValueToCssString(((B.JSNumber_methods.round$0((1 - Math.min(Math.sqrt(sigma) / 6.283185307179586, 1)) * (t3 >>> 24 & 255)) & 255) << 24 | t3 & 16777215) >>> 0); } else A.DomCSSStyleDeclarationExtension_setProperty(style, "filter", "blur(" + A.S(sigma) + "px)"); } A.DomCSSStyleDeclarationExtension_setProperty(style, "width", A.S(rect.right - t1) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "height", A.S(rect.bottom - t2) + "px"); if (isStroke) A.DomCSSStyleDeclarationExtension_setProperty(style, "border", A._borderStrokeToCssUnit(strokeWidth) + " solid " + cssColor); else { A.DomCSSStyleDeclarationExtension_setProperty(style, "background-color", cssColor); url = A._getBackgroundImageUrl(paint.shader, rect); A.DomCSSStyleDeclarationExtension_setProperty(style, "background-image", url !== "" ? "url('" + url + "'" : ""); } return rectangle; }, _getBackgroundImageUrl(shader, bounds) { if (shader != null) if (shader instanceof A.GradientLinear) return A._asString(shader.createImageBitmap$3(bounds, 1, true)); return ""; }, applyRRectBorderRadius(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) { A.DomCSSStyleDeclarationExtension_setProperty(style, "border-radius", A._borderStrokeToCssUnit(rrect.blRadiusX)); return; } A.DomCSSStyleDeclarationExtension_setProperty(style, "border-top-left-radius", A._borderStrokeToCssUnit(t1) + " " + A._borderStrokeToCssUnit(rrect.tlRadiusY)); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-top-right-radius", A._borderStrokeToCssUnit(t2) + " " + A._borderStrokeToCssUnit(rrect.trRadiusY)); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-bottom-left-radius", A._borderStrokeToCssUnit(rrect.blRadiusX) + " " + A._borderStrokeToCssUnit(rrect.blRadiusY)); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-bottom-right-radius", A._borderStrokeToCssUnit(rrect.brRadiusX) + " " + A._borderStrokeToCssUnit(rrect.brRadiusY)); }, _borderStrokeToCssUnit(value) { return B.JSNumber_methods.toStringAsFixed$1(value === 0 ? 1 : value, 3) + "px"; }, Conic__subdivide(src, level, pointList) { var dst, t1, t2, startY, endY, midY, t3; if (0 === level) { pointList.push(new A.Offset(src.p1x, src.p1y)); pointList.push(new A.Offset(src.p2x, src.p2y)); return; } dst = new A._ConicPair(); src._chop$1(dst); t1 = dst.first; t1.toString; t2 = dst.second; t2.toString; startY = src.p0y; endY = src.p2y; if (A.SPath_between(startY, src.p1y, endY)) { midY = t1.p2y; if (!A.SPath_between(startY, midY, endY)) t3 = t1.p2y = t2.p0y = Math.abs(midY - startY) < Math.abs(midY - endY) ? startY : endY; else t3 = midY; if (!A.SPath_between(startY, t1.p1y, t3)) t1.p1y = startY; if (!A.SPath_between(t2.p0y, t2.p1y, endY)) t2.p1y = endY; } --level; A.Conic__subdivide(t1, level, pointList); A.Conic__subdivide(t2, level, pointList); }, Conic_evalNumerator(p0, p1, p2, w, t) { var src2w = p1 * w; return ((p2 - 2 * src2w + p0) * t + 2 * (src2w - p0)) * t + p0; }, Conic_evalDenominator(w, t) { var $B = 2 * (w - 1); return (-$B * t + $B) * t + 1; }, chopCubicAtYExtrema(points, dest) { var t1, roots, t2, t3, rootCount, y0 = points[1], y1 = points[3], y2 = points[5], quadRoots = new A.QuadRoots(); quadRoots.findRoots$3(points[7] - y0 + 3 * (y1 - y2), 2 * (y0 - y1 - y1 + y2), y1 - y0); t1 = quadRoots.root0; if (t1 == null) roots = A._setArrayType([], type$.JSArray_double); else { t2 = quadRoots.root1; t3 = type$.JSArray_double; roots = t2 == null ? A._setArrayType([t1], t3) : A._setArrayType([t1, t2], t3); } if (roots.length === 0) return 0; A._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(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) { 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 = A.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(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(c0, c1, c2, c3, t) { return (((c3 + 3 * (c1 - c2) - c0) * t + 3 * (c2 - c1 - c1 + c0)) * t + 3 * (c1 - c0)) * t + c0; }, SurfacePath$() { var t1 = new A.SurfacePath(A.PathRef$(), B.PathFillType_0); t1._resetFields$0(); return t1; }, _arcIsLonePoint(oval, startAngle, sweepAngle) { var t1; if (0 === sweepAngle) t1 = 0 === startAngle || 360 === startAngle; else t1 = false; if (t1) return new A.Offset(oval.right, oval.get$center()._dy); return null; }, _computeMinScale(radius1, radius2, limit, scale) { var totalRadius = radius1 + radius2; if (totalRadius <= limit) return scale; return Math.min(limit / totalRadius, scale); }, PathIterator$(pathRef, forceClose) { var t1 = new A.PathIterator(pathRef, true, pathRef._fVerbsLength); if (pathRef.fBoundsIsDirty) pathRef._computeBounds$0(); if (!pathRef.fIsFinite) t1._verbIndex = pathRef._fVerbsLength; return t1; }, PathRef$() { var t1 = new Float32Array(16); t1 = new A.PathRef(t1, new Uint8Array(8)); t1._fVerbsCapacity = t1._fPointsCapacity = 8; t1.fRRectOrOvalStartIdx = 172; return t1; }, PathRef__fPointsFromSource(source, offsetX, offsetY) { var i, t1, sourceLength = source._fPointsLength, sourceCapacity = source._fPointsCapacity, dest = new Float32Array(sourceCapacity * 2), sourcePoints = source.fPoints, len = sourceLength * 2; for (i = 0; i < len; i += 2) { dest[i] = sourcePoints[i] + offsetX; t1 = i + 1; dest[t1] = sourcePoints[t1] + offsetY; } return dest; }, pathToSvg(pathRef, offsetX, offsetY) { var outPts, verb, w, points, len, i, t1, t2, buffer = new A.StringBuffer(""), iter = new A.PathRefIterator(pathRef); iter.PathRefIterator$1(pathRef); outPts = new Float32Array(8); for (; verb = iter.next$1(0, outPts), verb !== 6;) switch (verb) { case 0: buffer._contents += "M " + A.S(outPts[0] + offsetX) + " " + A.S(outPts[1] + offsetY); break; case 1: buffer._contents += "L " + A.S(outPts[2] + offsetX) + " " + A.S(outPts[3] + offsetY); break; case 4: buffer._contents += "C " + A.S(outPts[2] + offsetX) + " " + A.S(outPts[3] + offsetY) + " " + A.S(outPts[4] + offsetX) + " " + A.S(outPts[5] + offsetY) + " " + A.S(outPts[6] + offsetX) + " " + A.S(outPts[7] + offsetY); break; case 2: buffer._contents += "Q " + A.S(outPts[2] + offsetX) + " " + A.S(outPts[3] + offsetY) + " " + A.S(outPts[4] + offsetX) + " " + A.S(outPts[5] + offsetY); break; case 3: w = pathRef._conicWeights[iter._conicWeightIndex]; points = new A.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) { t1 = points[i]; t2 = points[i + 1]; buffer._contents += "Q " + A.S(t1._dx + offsetX) + " " + A.S(t1._dy + offsetY) + " " + A.S(t2._dx + offsetX) + " " + A.S(t2._dy + offsetY); } break; case 5: buffer._contents += "Z"; break; default: throw A.wrapException(A.UnimplementedError$("Unknown path verb " + verb)); } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, SPath_between(a, b, c) { return (a - b) * (c - b) <= 0; }, SPath_scalarSignedAsInt(x) { var t1; if (x < 0) t1 = -1; else t1 = x > 0 ? 1 : 0; return t1; }, validUnitDivide(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(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; }, SkQuadCoefficients$(x0, y0, x1, y1, x2, y2) { return new A.SkQuadCoefficients(x2 - 2 * x1 + x0, y2 - 2 * y1 + y0, 2 * (x1 - x0), 2 * (y1 - y0), x0, y0); }, PathWinding__checkOnCurve(x, y, startX, startY, endX, endY) { if (startY === endY) return A.SPath_between(startX, x, endX) && x !== endX; else return x === startX && y === startY; }, PathWinding__chopQuadAtExtrema(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 = A.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(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; }, tangentLine(pts, x, y, tangents) { var x0, x1, dx, dy, y0 = pts[1], y1 = pts[3]; if (!A.SPath_between(y0, y, y1)) return; x0 = pts[0]; x1 = pts[2]; if (!A.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 A.Offset(dx, dy)); }, tangentQuad(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 (!A.SPath_between(y0, y, y1) && !A.SPath_between(y1, y, y2)) return; x0 = pts[0]; x1 = pts[2]; x2 = pts[4]; if (!A.SPath_between(x0, x, x1) && !A.SPath_between(x1, x, x2)) return; roots = new A.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(A._evalQuadTangentAt(x0, y0, x1, y1, x2, y2, t)); } }, _evalQuadTangentAt(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 A.Offset(x2 - x0, y2 - y0); bx = x1 - x0; by = y1 - y0; return new A.Offset(((x2 - x1 - bx) * t + bx) * 2, ((y2 - y1 - by) * t + by) * 2); }, tangentConic(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 (!A.SPath_between(y0, y, y1) && !A.SPath_between(y1, y, y2)) return; x0 = pts[0]; x1 = pts[2]; x2 = pts[4]; if (!A.SPath_between(x0, x, x1) && !A.SPath_between(x1, x, x2)) return; $B = y1 * weight - y * weight + y; quadRoots = new A.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 A.Conic(x0, y0, x1, y1, x2, y2, weight).evalTangentAt$1(t)); } }, tangentCubic(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 (!A.SPath_between(y0, y, y1) && !A.SPath_between(y1, y, y2) && !A.SPath_between(y2, y, y3)) return; x0 = pts[0]; x1 = pts[2]; x2 = pts[4]; x3 = pts[6]; if (!A.SPath_between(x0, x, x1) && !A.SPath_between(x1, x, x2) && !A.SPath_between(x2, x, x3)) return; dst = new Float32Array(20); n = A.chopCubicAtYExtrema(pts, dst); for (i = 0; i <= n; ++i) { bufferPos = i * 6; t = A.chopMonoAtY(dst, bufferPos, y); if (t == null) continue; if (!(Math.abs(x - A.evalCubicPts(dst[bufferPos], dst[bufferPos + 2], dst[bufferPos + 4], dst[bufferPos + 6], t)) < 0.000244140625)) continue; tangents.push(A._evalCubicTangentAt(dst, bufferPos, t)); } }, _evalCubicTangentAt(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 A.Offset(dx, dy); } else { coeff = A.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 A.Offset(coeff.evalX$1(t), coeff.evalY$1(t)); } }, reduceCanvasMemoryUsage() { var i, canvasCount = $._recycledCanvases.length; for (i = 0; i < canvasCount; ++i) $._recycledCanvases[i]._canvasPool.dispose$0(); B.JSArray_methods.clear$0($._recycledCanvases); }, _recycleCanvas(canvas) { var t1, t2; if (canvas != null && B.JSArray_methods.contains$1($._recycledCanvases, canvas)) return; if (canvas instanceof A.BitmapCanvas) { canvas._elementCache = null; t1 = canvas.__engine$_devicePixelRatio; $.$get$EngineFlutterDisplay__instance(); t2 = self.window.devicePixelRatio; if (t1 === (t2 === 0 ? 1 : t2)) { $._recycledCanvases.push(canvas); if ($._recycledCanvases.length > 30) B.JSArray_methods.removeAt$1($._recycledCanvases, 0)._canvasPool.dispose$0(); } else canvas._canvasPool.dispose$0(); } }, PersistedPicture__predictTrend(delta, extent) { if (delta <= 0) return extent * 0.1; else return Math.min(Math.max(extent * 0.5, delta * 10), extent); }, _computePixelDensity(transform, width, height) { var t1, m, 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) { t1 = transform._m4storage; t1 = t1[15] === 1 && 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; } else t1 = true; if (t1) return 1; m = transform._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, B.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 / B.JSNumber_methods.floor$0(2 / scale), 0.0001); return scale; }, _getPaintSpread(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; }, NormalizedGradient_NormalizedGradient(colors, stops) { var colorCount, t1, addFirst, addLast, normalizedCount, t2, bias, scale, t3, thresholds, c, targetIndex, thresholdIndex, _i, targetIndex0, t4, thresholdIndex0, lastColorIndex, i, t, colorIndex; if (stops == null) stops = B.List_0_1; colorCount = colors.length; t1 = B.JSArray_methods.any$1(colors, new A.NormalizedGradient_NormalizedGradient_closure()); addFirst = !J.$eq$(stops[0], 0); addLast = !J.$eq$(B.JSArray_methods.get$last(stops), 1); normalizedCount = addFirst ? colorCount + 1 : colorCount; if (addLast) ++normalizedCount; t2 = normalizedCount * 4; bias = new Float32Array(t2); scale = new Float32Array(t2); t2 = normalizedCount - 1; t3 = B.JSInt_methods._tdivFast$1(t2, 4); thresholds = new Float32Array(4 * (t3 + 1)); if (addFirst) { c = colors[0]; bias[0] = (c.get$value(c) >>> 16 & 255) / 255; bias[1] = (c.get$value(c) >>> 8 & 255) / 255; bias[2] = (c.get$value(c) & 255) / 255; bias[3] = (c.get$value(c) >>> 24 & 255) / 255; thresholds[0] = 0; targetIndex = 4; thresholdIndex = 1; } else { targetIndex = 0; thresholdIndex = 0; } for (t3 = colors.length, _i = 0; _i < colors.length; colors.length === t3 || (0, A.throwConcurrentModificationError)(colors), ++_i) { c = colors[_i]; targetIndex0 = targetIndex + 1; t4 = J.getInterceptor$x(c); bias[targetIndex] = (t4.get$value(c) >>> 16 & 255) / 255; targetIndex = targetIndex0 + 1; bias[targetIndex0] = (t4.get$value(c) >>> 8 & 255) / 255; targetIndex0 = targetIndex + 1; bias[targetIndex] = (t4.get$value(c) & 255) / 255; targetIndex = targetIndex0 + 1; bias[targetIndex0] = (t4.get$value(c) >>> 24 & 255) / 255; } for (t3 = stops.length, _i = 0; _i < t3; ++_i, thresholdIndex = thresholdIndex0) { thresholdIndex0 = thresholdIndex + 1; thresholds[thresholdIndex] = stops[_i]; } if (addLast) { c = B.JSArray_methods.get$last(colors); targetIndex0 = targetIndex + 1; bias[targetIndex] = (c.get$value(c) >>> 16 & 255) / 255; targetIndex = targetIndex0 + 1; bias[targetIndex0] = (c.get$value(c) >>> 8 & 255) / 255; bias[targetIndex] = (c.get$value(c) & 255) / 255; bias[targetIndex + 1] = (c.get$value(c) >>> 24 & 255) / 255; thresholds[thresholdIndex] = 1; } lastColorIndex = 4 * t2; 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]; t2 = colorIndex + 1; bias[t2] = bias[t2] - t * scale[t2]; t2 = colorIndex + 2; bias[t2] = bias[t2] - t * scale[t2]; t2 = colorIndex + 3; bias[t2] = bias[t2] - t * scale[t2]; } return new A.NormalizedGradient(thresholds, bias, scale, normalizedCount, !t1); }, writeUnrolledBinarySearch(method, start, end, biasName, probe, scaleName, sourcePrefix) { var t2, mid, t1 = method._statements; if (start === end) { t2 = "" + start; t1.push(biasName + " = " + (biasName + "_" + t2) + ";"); t1.push(scaleName + " = " + (scaleName + "_" + t2) + ";"); } else { mid = B.JSInt_methods._tdivFast$1(start + end, 2); t2 = mid + 1; t1.push("if (" + probe + " < " + (sourcePrefix + "_" + B.JSInt_methods._tdivFast$1(t2, 4) + ("." + "xyzw"[B.JSInt_methods.$mod(t2, 4)])) + ") {"); ++method._indentLevel; A.writeUnrolledBinarySearch(method, start, mid, biasName, probe, scaleName, sourcePrefix); --method._indentLevel; t1.push("} else {"); ++method._indentLevel; A.writeUnrolledBinarySearch(method, t2, end, biasName, probe, scaleName, sourcePrefix); --method._indentLevel; t1.push("}"); } }, _addColorStopsToCanvasGradient(gradient, colors, colorStops, isDecal) { var scale, offset, t1, i, colorStop, _s12_ = "addColorStop"; if (isDecal) { A.callMethod(gradient, _s12_, [0, "#00000000"]); scale = 0.999; offset = 0.0005000000000000004; } else { scale = 1; offset = 0; } if (colorStops == null) { t1 = colors[0]; A.callMethod(gradient, _s12_, [offset, A.colorValueToCssString(t1.get$value(t1))]); t1 = colors[1]; A.callMethod(gradient, _s12_, [1 - offset, A.colorValueToCssString(t1.get$value(t1))]); } else for (i = 0; i < colors.length; ++i) { colorStop = J.clamp$2$n(colorStops[i], 0, 1); t1 = colors[i]; gradient.addColorStop.apply(gradient, [colorStop * scale + offset, A.colorValueToCssString(t1.get$value(t1))]); } if (isDecal) A.callMethod(gradient, _s12_, [1, "#00000000"]); }, _writeSharedGradientShader(builder, method, gradient, tileMode) { var t2, t3, t4, i, probeName, _s8_ = "tiled_st", t1 = method._statements; t1.push("vec4 bias;"); t1.push("vec4 scale;"); for (t2 = gradient.thresholdCount, t3 = t2 - 1, t4 = B.JSInt_methods._tdivFast$1(t3, 4) + 1, i = 0; i < t4; ++i) builder.addUniform$2$name(11, "threshold_" + i); for (i = 0; i < t2; ++i) { t4 = "" + i; builder.addUniform$2$name(11, "bias_" + t4); builder.addUniform$2$name(11, "scale_" + t4); } switch (tileMode.index) { case 0: t1.push("float tiled_st = clamp(st, 0.0, 1.0);"); probeName = _s8_; break; case 3: probeName = "st"; break; case 1: t1.push("float tiled_st = fract(st);"); probeName = _s8_; break; case 2: t1.push("float t_1 = (st - 1.0);"); t1.push("float tiled_st = abs((t_1 - 2.0 * floor(t_1 * 0.5)) - 1.0);"); probeName = _s8_; break; default: probeName = "st"; } A.writeUnrolledBinarySearch(method, 0, t3, "bias", probeName, "scale", "threshold"); if (tileMode === B.TileMode_3) { t1.push("if (st < 0.0 || st > 1.0) {"); t1.push(" " + builder.get$fragmentColor().name + " = vec4(0, 0, 0, 0);"); t1.push(" return;"); t1.push("}"); } return probeName; }, createHtmlColorFilter(colorFilter) { if (colorFilter == null) return null; switch (colorFilter.type.index) { case 0: return new A.ModeHtmlColorFilter(colorFilter.color, colorFilter.blendMode); case 1: return null; case 2: throw A.wrapException(A.UnimplementedError$("ColorFilter.linearToSrgbGamma not implemented for HTML renderer")); case 3: throw A.wrapException(A.UnimplementedError$("ColorFilter.srgbToLinearGamma not implemented for HTML renderer.")); default: throw A.wrapException(A.StateError$("Unknown mode " + colorFilter.toString$0(0) + ".type for ColorFilter.")); } }, ShaderBuilder_typeToString(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 A.wrapException(A.ArgumentError$(null, null)); }, commitScene(scene) { var request, _i, i, t1 = $.paintQueue, t2 = t1.length; if (t2 !== 0) try { if (t2 > 1) B.JSArray_methods.sort$1(t1, new A.commitScene_closure()); for (t1 = $.paintQueue, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { request = t1[_i]; request.paintCallback$0(); } } finally { $.paintQueue = A._setArrayType([], type$.JSArray_PaintRequest); } t1 = $.retainedSurfaces; t2 = t1.length; if (t2 !== 0) { for (i = 0; i < t2; ++i) t1[i].__engine$_state = B.PersistedSurfaceState_1; $.retainedSurfaces = A._setArrayType([], type$.JSArray_PersistedSurface); } for (t1 = $.frameReferences, i = 0; i < t1.length; ++i) t1[i].value = null; $.frameReferences = A._setArrayType([], type$.JSArray_FrameReference_dynamic); }, PersistedContainerSurface__discardActiveChildren(surface) { var i, child, t1 = surface.__engine$_children, $length = t1.length; for (i = 0; i < $length; ++i) { child = t1[i]; if (child.__engine$_state === B.PersistedSurfaceState_1) child.discard$0(); } }, HtmlImage$(imgElement, width, height) { return new A.HtmlImage(imgElement, width, height); }, detectContentType(data) { var t1, _i, format, t2, t3, i, magicByte; $label0$0: for (t1 = J.getInterceptor$asx(data), _i = 0; _i < 6; ++_i) { format = B.List_4Tr[_i]; t2 = format.header; t3 = t2.length; if (t1.get$length(data) < t3) continue $label0$0; for (i = 0; i < t3; ++i) { magicByte = t2[i]; if (magicByte == null) continue; if (t1.$index(data, i) !== magicByte) continue $label0$0; } return format.contentType; } if (A.isAvif(data)) return "image/avif"; return null; }, isAvif(data) { var t1, i, i0, j, t2, t3; $label0$0: for (t1 = J.getInterceptor$asx(data), i = 0; i < 16; i0 = i + 1, i = i0) { for (j = 0; t2 = $.$get$_avifSignature()._string, j < t2.length; ++j) { t3 = i + j; if (t3 >= t1.get$length(data)) return false; if (t1.$index(data, t3) !== t2.charCodeAt(j)) continue $label0$0; } return true; } return false; }, registerHotRestartListener(listener) { $._hotRestartListeners.push(listener); }, initializeEngineServices(jsConfiguration) { return A.initializeEngineServices$body(jsConfiguration); }, initializeEngineServices$body(jsConfiguration) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, t2, assetManager, t1; var $async$initializeEngineServices = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = {}; if ($._initializationState !== B.DebugEngineInitializationState_0) { // goto return $async$goto = 1; break; } $._initializationState = B.DebugEngineInitializationState_1; t2 = A.configuration(); if (jsConfiguration != null) t2._configuration = jsConfiguration; A.registerExtension("ext.flutter.disassemble", new A.initializeEngineServices_closure()); t1.waitingForAnimation = false; $.scheduleFrameCallback = new A.initializeEngineServices_closure0(t1); t1 = A.configuration()._configuration; if (t1 == null) t1 = null; else { t1 = t1.assetBase; if (t1 == null) t1 = null; } assetManager = new A.AssetManager(t1); A._setAssetManager(assetManager); $async$goto = 3; return A._asyncAwait(A.Future_wait(A._setArrayType([new A.initializeEngineServices_initializeRendererCallback().call$0(), A._downloadAssetFonts()], type$.JSArray_Future_void), type$.void), $async$initializeEngineServices); case 3: // returning from await. $._initializationState = B.DebugEngineInitializationState_2; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$initializeEngineServices, $async$completer); }, initializeEngineUi() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, t1, t2, t3, t4; var $async$initializeEngineUi = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if ($._initializationState !== B.DebugEngineInitializationState_2) { // goto return $async$goto = 1; break; } $._initializationState = B.DebugEngineInitializationState_3; t1 = $.$get$_operatingSystem(); if ($.RawKeyboard__instance == null) $.RawKeyboard__instance = A.RawKeyboard$_(t1 === B.OperatingSystem_4); if ($.KeyboardBinding__instance == null) $.KeyboardBinding__instance = A.KeyboardBinding$_(); t1 = A.configuration()._configuration; if (t1 == null) t1 = null; else { t1 = t1.multiViewEnabled; if (t1 == null) t1 = null; } if (t1 !== true) { t1 = A.configuration()._configuration; A.ensureImplicitViewInitialized(t1 == null ? null : t1.hostElement); A.ensureImplicitViewInitialized(null); if ($._flutterViewEmbedder == null) { t1 = new A.FlutterViewEmbedder(); t2 = $._window.embeddingStrategy; t3 = $.$get$_renderer(); t4 = type$.String; t2.initialize$1$hostElementAttributes(0, A.LinkedHashMap_LinkedHashMap$_literal(["flt-renderer", t3.get$rendererTag() + " (auto-selected)", "flt-build-mode", "profile", "spellcheck", "false"], t4, t4)); t3.reset$1(0, t1); $._flutterViewEmbedder = t1; } } $._initializationState = B.DebugEngineInitializationState_4; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$initializeEngineUi, $async$completer); }, _setAssetManager(assetManager) { if (assetManager === $._assetManager) return; $._assetManager = assetManager; }, _downloadAssetFonts() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t2, t1, $async$temp1; var $async$_downloadAssetFonts = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$_renderer(); t1.get$fontCollection().clear$0(0); t2 = $._assetManager; $async$goto = t2 != null ? 2 : 3; break; case 2: // then t1 = t1.get$fontCollection(); t2 = $._assetManager; t2.toString; $async$temp1 = t1; $async$goto = 5; return A._asyncAwait(A.fetchFontManifest(t2), $async$_downloadAssetFonts); case 5: // returning from await. $async$goto = 4; return A._asyncAwait($async$temp1.loadAssetFonts$1($async$result), $async$_downloadAssetFonts); case 4: // returning from await. case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_downloadAssetFonts, $async$completer); }, FlutterApp__staticInteropFactoryStub(addView, removeView) { var t1 = type$.JavaScriptFunction; return type$.JavaScriptObject._as({addView: t1._as(A.allowInterop(new A.FlutterApp__staticInteropFactoryStub_closure(addView))), removeView: t1._as(A.allowInterop(new A.FlutterApp__staticInteropFactoryStub_closure0(removeView)))}); }, FlutterEngineInitializer__staticInteropFactoryStub(autoStart, initializeEngine) { var t1 = type$.JavaScriptFunction; return type$.JavaScriptObject._as({initializeEngine: t1._as(A.allowInterop(new A.FlutterEngineInitializer__staticInteropFactoryStub_closure(initializeEngine))), autoStart: t1._as(A.allowInterop(new A.FlutterEngineInitializer__staticInteropFactoryStub_closure0(autoStart)))}); }, FlutterAppRunner__staticInteropFactoryStub(runApp) { return type$.JavaScriptObject._as({runApp: type$.JavaScriptFunction._as(A.allowInterop(new A.FlutterAppRunner__staticInteropFactoryStub_closure(runApp)))}); }, futureToPromise(future, $T) { var t1 = type$.JavaScriptFunction._as(A.allowInterop(new A.futureToPromise_closure(future, $T))); return A.callConstructor(self.Promise, A._setArrayType([t1], type$.JSArray_Object)); }, _eventTimeStampToDuration(milliseconds) { var ms = B.JSNumber_methods.toInt$0(milliseconds); return A.Duration$(0, 0, B.JSNumber_methods.toInt$0((milliseconds - ms) * 1000), ms, 0, 0); }, _cached(body, $T) { var t1 = {}; t1.cache = null; return new A._cached_closure(t1, body, $T); }, KeyboardBinding$_() { var t1 = new A.KeyboardBinding(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.JavaScriptObject)); t1.KeyboardBinding$_$0(); return t1; }, KeyboardConverter__mappingFromPlatform(platform) { switch (platform.index) { case 0: case 4: return new A.LocaleKeymap(A.unmarshallMappingData("M,2\u201ew\u2211wa2\u03a9q\u2021qb2\u02dbx\u2248xc3 c\xd4j\u2206jd2\xfee\xb4ef2\xfeu\xa8ug2\xfe\xff\u02c6ih3 h\xce\xff\u2202di3 i\xc7c\xe7cj2\xd3h\u02d9hk2\u02c7\xff\u2020tl5 l@l\xfe\xff|l\u02dcnm1~mn3 n\u0131\xff\u222bbo2\xaer\u2030rp2\xacl\xd2lq2\xc6a\xe6ar3 r\u03c0p\u220fps3 s\xd8o\xf8ot2\xa5y\xc1yu3 u\xa9g\u02ddgv2\u02dak\uf8ffkw2\xc2z\xc5zx2\u0152q\u0153qy5 y\xcff\u0192f\u02c7z\u03a9zz5 z\xa5y\u2021y\u2039\xff\u203aw.2\u221av\u25cav;4\xb5m\xcds\xd3m\xdfs/2\xb8z\u03a9z")); case 3: return new A.LocaleKeymap(A.unmarshallMappingData(';b1{bc1&cf1[fg1]gm2<m?mn1}nq3/q@q\\qv1@vw3"w?w|wx2#x)xz2(z>y')); case 1: case 2: case 5: return new A.LocaleKeymap(A.unmarshallMappingData("8a2@q\u03a9qk1&kq3@q\xc6a\xe6aw2<z\xabzx1>xy2\xa5\xff\u2190\xffz5<z\xbby\u0141w\u0142w\u203ay;2\xb5m\xbam")); } }, KeyboardConverter__getPhysicalCode(code) { var t1; if (code.length === 0) return 98784247808; t1 = B.Map_PogD3.$index(0, code); return t1 == null ? B.JSString_methods.get$hashCode(code) + 98784247808 : t1; }, createHistoryForExistingState(urlStrategy) { var state; if (urlStrategy != null) { state = urlStrategy.getState$0(0); if (A.SingleEntryBrowserHistory__isOriginEntry(state) || A.SingleEntryBrowserHistory__isFlutterEntry(state)) return A.SingleEntryBrowserHistory$(urlStrategy); } return A.MultiEntriesBrowserHistory$(urlStrategy); }, MultiEntriesBrowserHistory$(urlStrategy) { var t1 = new A.MultiEntriesBrowserHistory(urlStrategy); t1.MultiEntriesBrowserHistory$1$urlStrategy(urlStrategy); return t1; }, SingleEntryBrowserHistory$(urlStrategy) { var t1 = new A.SingleEntryBrowserHistory(urlStrategy, A.LinkedHashMap_LinkedHashMap$_literal(["flutter", true], type$.String, type$.bool)); t1.SingleEntryBrowserHistory$1$urlStrategy(urlStrategy); return t1; }, SingleEntryBrowserHistory__isOriginEntry(state) { return type$.Map_dynamic_dynamic._is(state) && J.$eq$(J.$index$asx(state, "origin"), true); }, SingleEntryBrowserHistory__isFlutterEntry(state) { return type$.Map_dynamic_dynamic._is(state) && J.$eq$(J.$index$asx(state, "flutter"), true); }, NotoFont$($name, url, enabled) { var t1 = $.NotoFont__index; $.NotoFont__index = t1 + 1; return new A.NotoFont($name, url, enabled, t1, A._setArrayType([], type$.JSArray_FallbackFontComponent)); }, EnginePlatformDispatcher$() { var t3, t1 = A.EnginePlatformDispatcher_parseBrowserLanguages(), t2 = A.findBrowserTextScaleFactor(); if ($.$get$HighContrastSupport_instance()._highContrastMediaQuery.matches) t3 = 32; else t3 = 0; t1 = new A.EnginePlatformDispatcher(new A.PlatformConfiguration(new A.EngineAccessibilityFeatures(t3), false, false, B.Brightness_1, t2, t1, "/", null), A._setArrayType([$.$get$EngineFlutterDisplay__instance()], type$.JSArray_EngineFlutterDisplay), A.DomWindowExtension_matchMedia(self.window, "(prefers-color-scheme: dark)"), B.C__RootZone); t1.EnginePlatformDispatcher$0(); return t1; }, EnginePlatformDispatcher__zonedPlatformMessageResponseCallback(callback) { if (callback == null) return null; return new A.EnginePlatformDispatcher__zonedPlatformMessageResponseCallback_closure($.Zone__current, callback); }, EnginePlatformDispatcher_parseBrowserLanguages() { var locales, t1, _i, language, parts, languages = A.DomNavigatorExtension_get_languages(self.window.navigator); if (languages == null || languages.length === 0) return B.List_Locale_en_US; locales = A._setArrayType([], type$.JSArray_Locale); for (t1 = languages.length, _i = 0; _i < languages.length; languages.length === t1 || (0, A.throwConcurrentModificationError)(languages), ++_i) { language = languages[_i]; parts = J.split$1$s(language, "-"); if (parts.length > 1) locales.push(new A.Locale(B.JSArray_methods.get$first(parts), B.JSArray_methods.get$last(parts))); else locales.push(new A.Locale(language, null)); } return locales; }, _handleWebTestEnd2EndMessage(codec, data) { var decoded = codec.decodeMethodCall$1(data), ratio = A.double_parse(A._asString(decoded.$arguments)); switch (decoded.method) { case "setDevicePixelRatio": $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride = ratio; $.$get$EnginePlatformDispatcher__instance()._onMetricsChanged.call$0(); return true; } return false; }, invoke(callback, zone) { if (callback == null) return; if (zone === $.Zone__current) callback.call$0(); else zone.runGuarded$1(callback); }, invoke1(callback, zone, arg) { if (callback == null) return; if (zone === $.Zone__current) callback.call$1(arg); else zone.runUnaryGuarded$2(callback, arg); }, invoke2(callback, zone, arg1, arg2) { if (zone === $.Zone__current) callback.call$2(arg1, arg2); else zone.runGuarded$1(new A.invoke2_closure(callback, arg1, arg2)); }, findBrowserTextScaleFactor() { var computedStyleMap, fontSizeObject, fontSize, t1 = self.document.documentElement; t1.toString; if ("computedStyleMap" in t1) { computedStyleMap = t1.computedStyleMap(); if (computedStyleMap != null) { fontSizeObject = computedStyleMap.get("font-size"); fontSize = fontSizeObject != null ? fontSizeObject.value : null; } else fontSize = null; } else fontSize = null; if (fontSize == null) fontSize = A.parseFloat(A.callMethod(A.DomWindowExtension_getComputedStyle(self.window, t1), "getPropertyValue", ["font-size"])); return (fontSize == null ? 16 : fontSize) / 16; }, _defaultFactory(viewId, params) { var t1; params.toString; type$.Map_of_nullable_Object_and_nullable_Object._as(params); t1 = A.DomDocumentExtension_createElement(self.document, A._asString(J.$index$asx(params, "tagName"))); A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "width", "100%"); A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "height", "100%"); return t1; }, createPlatformViewSlot(viewId) { var slot, t1, wrapper = A.DomDocumentExtension_createElement(self.document, "flt-platform-view-slot"); A.DomCSSStyleDeclarationExtension_setProperty(wrapper.style, "pointer-events", "auto"); slot = A.DomDocumentExtension_createElement(self.document, "slot"); t1 = A.jsify("flt-pv-slot-" + viewId); A.callMethod(slot, "setAttribute", ["name", t1 == null ? type$.Object._as(t1) : t1]); wrapper.append(slot); return wrapper; }, convertButtonToButtons(button) { switch (button) { case 0: return 1; case 1: return 4; case 2: return 2; default: return B.JSInt_methods.$shl(1, button); } }, PointerBinding$(view) { var t2, t1 = $.KeyboardBinding__instance; t1 = t1 == null ? null : t1.get$_converter(); t1 = new A.PointerBinding(view, new A.PointerDataConverter(), t1); t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_1) { t2 = $.$get$_operatingSystem(); t2 = t2 === B.OperatingSystem_0; } else t2 = false; if (t2) { t2 = $.$get$PointerBinding__defaultSafariWorkaround(); t1._safariWorkaround = t2; t2.workAroundMissingPointerEvents$0(); } t1.__PointerBinding__adapter_A = t1._createAdapter$0(); return t1; }, _Listener__Listener$register($event, handler, passive, target) { var t1, t2, jsHandler = type$.JavaScriptFunction._as(A.allowInterop(handler)); if (passive == null) A.DomEventTargetExtension_addEventListener(target, $event, jsHandler, null); else { t1 = type$.Object; t2 = A.jsify(A.LinkedHashMap_LinkedHashMap$_literal(["passive", passive], type$.String, t1)); A.callMethod(target, "addEventListener", [$event, jsHandler, t2 == null ? t1._as(t2) : t2]); } A.DomEventTargetExtension_addEventListener(target, $event, jsHandler, null); return new A._Listener($event, target, jsHandler); }, _BaseAdapter__eventTimeStampToDuration(milliseconds) { var ms = B.JSNumber_methods.toInt$0(milliseconds); return A.Duration$(0, 0, B.JSNumber_methods.toInt$0((milliseconds - ms) * 1000), ms, 0, 0); }, computeEventOffsetToTarget($event, view) { var t2, inputGeometry, transformedPoint, origin, actualTarget = view.get$dom().rootElement, t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._semanticsEnabled && $event.offsetX === 0 && $event.offsetY === 0) return A._computeOffsetForTalkbackEvent($event, actualTarget); t1 = view.get$dom(); t2 = $event.target; t2.toString; if (t1.textEditingHost.contains(t2)) { t1 = $.$get$textEditing(); inputGeometry = t1.get$strategy().geometry; if (inputGeometry != null) { $event.target.toString; t1.get$strategy().domElement.toString; transformedPoint = new A.Matrix4(inputGeometry.globalTransform).perspectiveTransform$3$x$y$z($event.offsetX, $event.offsetY, 0); return new A.Offset(transformedPoint._0, transformedPoint._1); } } if (!J.$eq$($event.target, actualTarget)) { origin = actualTarget.getBoundingClientRect(); return new A.Offset($event.clientX - origin.x, $event.clientY - origin.y); } return new A.Offset($event.offsetX, $event.offsetY); }, _computeOffsetForTalkbackEvent($event, actualTarget) { var $parent, t1, offsetX = $event.clientX, offsetY = $event.clientY; for ($parent = actualTarget; $parent.offsetParent != null; $parent = t1) { offsetX -= $parent.offsetLeft - $parent.scrollLeft; offsetY -= $parent.offsetTop - $parent.scrollTop; t1 = $parent.offsetParent; t1.toString; } return new A.Offset(offsetX, offsetY); }, timeAction($name, action) { var t1 = action.call$0(); return t1; }, frameTimingsOnVsync() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._vsyncStartMicros = A._nowMicros(); }, frameTimingsOnBuildStart() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._buildStartMicros = A._nowMicros(); }, frameTimingsOnBuildFinish() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._buildFinishMicros = A._nowMicros(); }, frameTimingsOnRasterStart() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._rasterStartMicros = A._nowMicros(); }, frameTimingsOnRasterFinish() { var now, t2, t1 = $.$get$EnginePlatformDispatcher__instance(); if (t1._onReportTimings == null) return; now = $._rasterFinishMicros = A._nowMicros(); $._frameTimings.push(new A.FrameTiming(A._setArrayType([$._vsyncStartMicros, $._buildStartMicros, $._buildFinishMicros, $._rasterStartMicros, now, now, 0, 0, 0, 0, 1], type$.JSArray_int))); $._rasterFinishMicros = $._rasterStartMicros = $._buildFinishMicros = $._buildStartMicros = $._vsyncStartMicros = -1; if (now - $.$get$_frameTimingsLastSubmitTime() > 100000) { $._frameTimingsLastSubmitTime = now; t2 = $._frameTimings; A.invoke1(t1._onReportTimings, t1._onReportTimingsZone, t2); $._frameTimings = A._setArrayType([], type$.JSArray_FrameTiming); } }, _nowMicros() { return B.JSNumber_methods.toInt$0(self.window.performance.now() * 1000); }, RawKeyboard$_(_onMacOs) { var t1 = new A.RawKeyboard(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Timer), _onMacOs); t1.RawKeyboard$_$1(_onMacOs); return t1; }, _noopCallback(data) { }, getJsProperty(object, $name) { return object[$name]; }, parseFloat(source) { var result = self.window.parseFloat(source); if (result == null || isNaN(result)) return null; return result; }, parseFontSize(element) { var computedStyleMap, fontSizeObject, fontSize; if ("computedStyleMap" in element) { computedStyleMap = element.computedStyleMap(); if (computedStyleMap != null) { fontSizeObject = computedStyleMap.get("font-size"); fontSize = fontSizeObject != null ? fontSizeObject.value : null; } else fontSize = null; } else fontSize = null; return fontSize == null ? A.parseFloat(A.callMethod(A.DomWindowExtension_getComputedStyle(self.window, element), "getPropertyValue", ["font-size"])) : fontSize; }, tryCreateCanvasElement(width, height) { var exception, canvas = self.document.createElement("CANVAS"); if (canvas == null) return null; try { A.DomCanvasElementExtension_set_width(canvas, width); A.DomCanvasElementExtension_set_height(canvas, height); } catch (exception) { return null; } return canvas; }, VideoFrameExtension_get_format(_this) { var t1 = _this.format; return t1 == null ? null : t1; }, OffScreenCanvas_supported() { var t2, t1 = $.OffScreenCanvas__supported; if (t1 == null) { t1 = $.$get$_browserEngine(); t2 = $.OffScreenCanvas__supported = t1 !== B.BrowserEngine_1 && "OffscreenCanvas" in self.window; t1 = t2; } return t1; }, AccessibilityAnnouncements__createElement(assertiveness) { var ariaLiveValue = assertiveness === B.Assertiveness_1 ? "assertive" : "polite", liveRegion = A.DomDocumentExtension_createElement(self.document, "flt-announcement-" + ariaLiveValue), t1 = liveRegion.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "fixed"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "overflow", "hidden"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform", "translate(-99999px, -99999px)"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", "1px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", "1px"); t1 = A.jsify(ariaLiveValue); A.callMethod(liveRegion, "setAttribute", ["aria-live", t1 == null ? type$.Object._as(t1) : t1]); return liveRegion; }, _checkableKindFromSemanticsFlag(semanticsObject) { var t1 = semanticsObject.__engine$_flags; if ((t1 & 256) !== 0) return B._CheckableKind_1; else if ((t1 & 65536) !== 0) return B._CheckableKind_2; else return B._CheckableKind_0; }, Dialog$0(semanticsObject) { var t1 = new A.Dialog0(B.PrimaryRole_6, semanticsObject), t2 = A.PrimaryRoleManager__initElement(t1.createElement$0(0), semanticsObject); t1.__PrimaryRoleManager_element_F !== $ && A.throwUnnamedLateFieldAI(); t1.__PrimaryRoleManager_element_F = t2; t1.Dialog$1(semanticsObject); return t1; }, Focusable$(semanticsObject, owner) { return new A.Focusable(new A.AccessibilityFocusManager(semanticsObject.owner), B.Role_0, semanticsObject, owner); }, Incrementable$(semanticsObject) { var t1 = new A.Incrementable(A.DomDocumentExtension_createElement(self.document, "input"), new A.AccessibilityFocusManager(semanticsObject.owner), B.PrimaryRole_0, semanticsObject), t2 = A.PrimaryRoleManager__initElement(t1.createElement$0(0), semanticsObject); t1.__PrimaryRoleManager_element_F !== $ && A.throwUnnamedLateFieldAI(); t1.__PrimaryRoleManager_element_F = t2; t1.Incrementable$1(semanticsObject); return t1; }, PrimaryRoleManager__initElement(element, semanticsObject) { var t1, t2; A.DomCSSStyleDeclarationExtension_setProperty(element.style, "position", "absolute"); t1 = semanticsObject.id; t2 = A.jsify("flt-semantic-node-" + t1); A.callMethod(element, "setAttribute", ["id", t2 == null ? type$.Object._as(t2) : t2]); if (t1 === 0 && !A.configuration().get$debugShowSemanticsNodes()) { A.DomCSSStyleDeclarationExtension_setProperty(element.style, "filter", "opacity(0%)"); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "color", "rgba(0,0,0,0)"); } if (A.configuration().get$debugShowSemanticsNodes()) A.DomCSSStyleDeclarationExtension_setProperty(element.style, "outline", "1px solid green"); return element; }, SemanticsObject__clearSemanticElementTransform(element) { var _s14_ = "removeProperty", t1 = element.style; A.callMethod(t1, _s14_, ["transform-origin"]); A.callMethod(t1, _s14_, ["transform"]); t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_0) t1 = t1 === B.OperatingSystem_4; else t1 = true; if (t1) { t1 = element.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", "0px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", "0px"); } else { t1 = element.style; A.callMethod(t1, _s14_, ["top"]); A.callMethod(t1, _s14_, ["left"]); } }, EngineSemantics$_() { var t1 = $.$get$_operatingSystem(); t1 = B.Set_uTMs5.contains$1(0, t1) ? new A.DesktopSemanticsEnabler() : new A.MobileSemanticsEnabler(); return new A.EngineSemantics(new A.EngineSemantics__now_closure(), new A.SemanticsHelper(t1), B.GestureMode_1, A._setArrayType([], type$.JSArray_of_void_Function_GestureMode)); }, EngineSemanticsOwner$(semanticsHost) { var t1 = type$.int, t2 = type$.SemanticsObject; t2 = new A.EngineSemanticsOwner(semanticsHost, B.SemanticsUpdatePhase_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A._setArrayType([], type$.JSArray_SemanticsObject), A._setArrayType([], type$.JSArray_of_void_Function)); t2.EngineSemanticsOwner$1(semanticsHost); return t2; }, longestIncreasingSubsequence(list) { var longest, i, elem, hi, lo, mid, seq, k, len = list.length, t1 = type$.JSArray_int, predecessors = A._setArrayType([], t1), mins = A._setArrayType([0], t1); for (longest = 0, i = 0; i < len; ++i) { elem = list[i]; for (hi = longest, lo = 1; lo <= hi;) { mid = B.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 = A.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; }, Tappable$(semanticsObject, owner) { var t1 = new A.Tappable(B.Role_1, semanticsObject, owner); t1.Tappable$2(semanticsObject, owner); return t1; }, SemanticsTextEditingStrategy_ensureInitialized(owner) { var t2, t1 = $.SemanticsTextEditingStrategy__instance; if (t1 != null) t2 = t1.owner === owner; else t2 = false; if (t2) { t1.toString; return t1; } return $.SemanticsTextEditingStrategy__instance = new A.SemanticsTextEditingStrategy(owner, A._setArrayType([], type$.JSArray_DomSubscription), $, $, $, null); }, _TypedDataBuffer__reverse(buffer, start, end) { var first, last; --end; for (; start < end;) { first = buffer[start]; last = buffer[end]; buffer[end] = first; buffer[start] = last; ++start; --end; } }, WriteBuffer_WriteBuffer() { var t1 = new Uint8Array(0), eightBytes = new DataView(new ArrayBuffer(8)); return new A.WriteBuffer(new A.Uint8Buffer(t1, 0), eightBytes, A.NativeUint8List_NativeUint8List$view(eightBytes.buffer, 0, null)); }, computeShadowOffset(elevation) { if (elevation === 0) return B.Offset_0_0; return new A.Offset(200 * elevation / 600, 400 * elevation / 600); }, computePenumbraBounds(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 A.Rect(t2 - dx, t4 - dy, t1 + dx, t3 + dy).shift$1(A.computeShadowOffset(elevation)).inflate$1(20); }, computeShadow(shape, elevation) { if (elevation === 0) return null; return new A.SurfaceShadowData(Math.min(elevation * ((800 + (shape.right - shape.left) * 0.5) / 600), elevation * ((800 + (shape.bottom - shape.top) * 0.5) / 600)), A.computeShadowOffset(elevation)); }, createSVGSVGElement() { var t1 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "svg"]), t2 = A.jsify("1.1"); A.callMethod(t1, "setAttribute", ["version", t2 == null ? type$.Object._as(t2) : t2]); return t1; }, SVGLengthExtension_set_valueAsString(_this, value) { _this.valueAsString = value; return value; }, SVGAnimatedEnumerationExtenson_set_baseVal(_this, value) { _this.baseVal = value; return value; }, SVGAnimatedStringExtension_set_baseVal(_this, value) { _this.baseVal = value; return value; }, SVGAnimatedNumberExtension_set_baseVal(_this, value) { _this.baseVal = value; return value; }, LayoutFragment$(start, end, type, textDirection, fragmentFlow, span, trailingNewlines, trailingSpaces) { return new A.LayoutFragment($, $, $, $, $, $, $, $, $, 0, type, textDirection, fragmentFlow, span, trailingNewlines, trailingSpaces, start, end); }, LineBuilder$_(paragraph, spanometer, accumulatedHeight, fragments, lineNumber, maxWidth) { var t1 = new A.LineBuilder(fragments, maxWidth, paragraph, spanometer, lineNumber, accumulatedHeight); t1._recalculateMetrics$0(); return t1; }, ensureLineLookupInitialized() { var t1 = $._lineLookup; if (t1 == null) { t1 = type$.LineCharProperty; t1 = $._lineLookup = new A.UnicodePropertyLookup(A._unpackProperties(string$.x3000000, 937, B.List_83u, t1), B.LineCharProperty_8, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1), type$.UnicodePropertyLookup_LineCharProperty); } return t1; }, LineBreakFragmenter_LineBreakFragmenter(text) { if (self.Intl.v8BreakIterator != null) return new A.V8LineBreakFragmenter(A.createV8BreakIterator(), text); return new A.FWLineBreakFragmenter(text); }, breakLinesUsingV8BreakIterator(text, jsText, iterator) { var t1, fragmentStart, fragmentEnd, i, trailingNewlines, trailingSpaces, codeUnit, type, breaks = A._setArrayType([], type$.JSArray_LineBreakFragment); A.callMethod(iterator, "adoptText", [jsText]); iterator.first(); for (t1 = text.length, fragmentStart = 0; iterator.next() !== -1; fragmentStart = fragmentEnd) { fragmentEnd = B.JSNumber_methods.toInt$0(iterator.current()); for (i = fragmentStart, trailingNewlines = 0, trailingSpaces = 0; i < fragmentEnd; ++i) { codeUnit = text.charCodeAt(i); if (B.Set_Y7lq1.contains$1(0, codeUnit)) { ++trailingNewlines; ++trailingSpaces; } else if (B.Set_CR9D4.contains$1(0, codeUnit)) ++trailingSpaces; else if (trailingSpaces > 0) { breaks.push(new A.LineBreakFragment(B.LineBreakType_0, trailingNewlines, trailingSpaces, fragmentStart, i)); fragmentStart = i; trailingNewlines = 0; trailingSpaces = 0; } } if (trailingNewlines > 0) type = B.LineBreakType_2; else type = fragmentEnd === t1 ? B.LineBreakType_3 : B.LineBreakType_0; breaks.push(new A.LineBreakFragment(type, trailingNewlines, trailingSpaces, fragmentStart, fragmentEnd)); } if (breaks.length === 0 || B.JSArray_methods.get$last(breaks).type === B.LineBreakType_2) breaks.push(new A.LineBreakFragment(B.LineBreakType_3, 0, 0, t1, t1)); return breaks; }, _computeLineBreakFragments(text) { var codePoint, curr, setBreak, t1, t2, t3, t4, t5, baseOfCombiningMarks, regionalIndicatorCount, baseOfCombiningMarks0, t6, t7, t8, t9, t10, t11, t12, _box_0 = {}, fragments = A._setArrayType([], type$.JSArray_LineBreakFragment); _box_0.prev1 = _box_0.prev2 = null; codePoint = A.getCodePoint(text, 0); curr = A.ensureLineLookupInitialized().findForChar$1(codePoint); _box_0.fragmentStart = _box_0.trailingSpaces = _box_0.trailingNewlines = _box_0.index = 0; setBreak = new A._computeLineBreakFragments_setBreak(_box_0, text, fragments); setBreak.call$2(B.LineBreakType_1, 2); t1 = ++_box_0.index; for (t2 = text.length, t3 = type$.LineCharProperty, t4 = type$.int, t5 = type$.UnicodePropertyLookup_LineCharProperty, baseOfCombiningMarks = B.LineCharProperty_8, regionalIndicatorCount = 0; t1 <= t2; t1 = ++_box_0.index) { _box_0.prev2 = _box_0.prev1; _box_0.prev1 = curr; if (codePoint != null && codePoint > 65535) { setBreak.call$2(B.LineBreakType_1, -1); t1 = ++_box_0.index; } codePoint = A.getCodePoint(text, t1); t1 = $._lineLookup; curr = (t1 == null ? $._lineLookup = new A.UnicodePropertyLookup(A._unpackProperties(string$.x3000000, 937, B.List_83u, t3), B.LineCharProperty_8, A.LinkedHashMap_LinkedHashMap$_empty(t4, t3), t5) : t1).findForChar$1(codePoint); baseOfCombiningMarks0 = _box_0.prev1; regionalIndicatorCount = baseOfCombiningMarks0 === B.LineCharProperty_35 ? regionalIndicatorCount + 1 : 0; if (baseOfCombiningMarks0 === B.LineCharProperty_2 || baseOfCombiningMarks0 === B.LineCharProperty_3) { setBreak.call$2(B.LineBreakType_2, 5); continue; } if (baseOfCombiningMarks0 === B.LineCharProperty_4) { if (curr === B.LineCharProperty_2) setBreak.call$2(B.LineBreakType_1, 5); else setBreak.call$2(B.LineBreakType_2, 5); continue; } if (curr === B.LineCharProperty_2 || curr === B.LineCharProperty_3 || curr === B.LineCharProperty_4) { setBreak.call$2(B.LineBreakType_1, 6); continue; } t1 = _box_0.index; if (t1 >= t2) break; if (curr === B.LineCharProperty_5 || curr === B.LineCharProperty_25) { setBreak.call$2(B.LineBreakType_1, 7); continue; } if (baseOfCombiningMarks0 === B.LineCharProperty_5) { setBreak.call$2(B.LineBreakType_0, 18); continue; } if (baseOfCombiningMarks0 === B.LineCharProperty_25) { setBreak.call$2(B.LineBreakType_0, 8); continue; } if (baseOfCombiningMarks0 === B.LineCharProperty_26) { setBreak.call$2(B.LineBreakType_1, 8); continue; } t6 = baseOfCombiningMarks0 !== B.LineCharProperty_0; if (t6 && true) baseOfCombiningMarks = baseOfCombiningMarks0 == null ? B.LineCharProperty_8 : baseOfCombiningMarks0; if (curr === B.LineCharProperty_0 || curr === B.LineCharProperty_26) { if (baseOfCombiningMarks !== B.LineCharProperty_5) { if (baseOfCombiningMarks === B.LineCharProperty_35) --regionalIndicatorCount; setBreak.call$2(B.LineBreakType_1, 9); curr = baseOfCombiningMarks; continue; } curr = B.LineCharProperty_8; } if (!t6 || false) { _box_0.prev1 = baseOfCombiningMarks; t6 = baseOfCombiningMarks; } else t6 = baseOfCombiningMarks0; if (curr === B.LineCharProperty_29 || t6 === B.LineCharProperty_29) { setBreak.call$2(B.LineBreakType_1, 11); continue; } if (t6 === B.LineCharProperty_18) { setBreak.call$2(B.LineBreakType_1, 12); continue; } t7 = t6 !== B.LineCharProperty_5; if (!(!t7 || t6 === B.LineCharProperty_1 || t6 === B.LineCharProperty_14) && curr === B.LineCharProperty_18) { setBreak.call$2(B.LineBreakType_1, 12); continue; } if (t7) t7 = curr === B.LineCharProperty_17 || curr === B.LineCharProperty_12 || curr === B.LineCharProperty_6 || curr === B.LineCharProperty_13 || curr === B.LineCharProperty_15; else t7 = false; if (t7) { setBreak.call$2(B.LineBreakType_1, 13); continue; } if (t6 === B.LineCharProperty_11) { setBreak.call$2(B.LineBreakType_1, 14); continue; } t7 = t6 === B.LineCharProperty_7; if (t7 && curr === B.LineCharProperty_11) { setBreak.call$2(B.LineBreakType_1, 15); continue; } t8 = t6 !== B.LineCharProperty_17; if ((!t8 || t6 === B.LineCharProperty_12) && curr === B.LineCharProperty_24) { setBreak.call$2(B.LineBreakType_1, 16); continue; } if (t6 === B.LineCharProperty_27 && curr === B.LineCharProperty_27) { setBreak.call$2(B.LineBreakType_1, 17); continue; } if (t7 || curr === B.LineCharProperty_7) { setBreak.call$2(B.LineBreakType_1, 19); continue; } if (t6 === B.LineCharProperty_34 || curr === B.LineCharProperty_34) { setBreak.call$2(B.LineBreakType_0, 20); continue; } if (curr === B.LineCharProperty_1 || curr === B.LineCharProperty_14 || curr === B.LineCharProperty_24 || t6 === B.LineCharProperty_19) { setBreak.call$2(B.LineBreakType_1, 21); continue; } if (_box_0.prev2 === B.LineCharProperty_20) t7 = t6 === B.LineCharProperty_14 || t6 === B.LineCharProperty_1; else t7 = false; if (t7) { setBreak.call$2(B.LineBreakType_1, 21); continue; } t7 = t6 === B.LineCharProperty_15; if (t7 && curr === B.LineCharProperty_20) { setBreak.call$2(B.LineBreakType_1, 21); continue; } if (curr === B.LineCharProperty_28) { setBreak.call$2(B.LineBreakType_1, 22); continue; } t9 = t6 !== B.LineCharProperty_8; if (!((!t9 || t6 === B.LineCharProperty_20) && curr === B.LineCharProperty_16)) if (t6 === B.LineCharProperty_16) t10 = curr === B.LineCharProperty_8 || curr === B.LineCharProperty_20; else t10 = false; else t10 = true; if (t10) { setBreak.call$2(B.LineBreakType_1, 23); continue; } t10 = t6 === B.LineCharProperty_9; if (t10) t11 = curr === B.LineCharProperty_30 || curr === B.LineCharProperty_31 || curr === B.LineCharProperty_36; else t11 = false; if (t11) { setBreak.call$2(B.LineBreakType_1, 23); continue; } if ((t6 === B.LineCharProperty_30 || t6 === B.LineCharProperty_31 || t6 === B.LineCharProperty_36) && curr === B.LineCharProperty_10) { setBreak.call$2(B.LineBreakType_1, 23); continue; } t11 = !t10; if (!t11 || t6 === B.LineCharProperty_10) t12 = curr === B.LineCharProperty_8 || curr === B.LineCharProperty_20; else t12 = false; if (t12) { setBreak.call$2(B.LineBreakType_1, 24); continue; } if (!t9 || t6 === B.LineCharProperty_20) t12 = curr === B.LineCharProperty_9 || curr === B.LineCharProperty_10; else t12 = false; if (t12) { setBreak.call$2(B.LineBreakType_1, 24); continue; } if (!t8 || t6 === B.LineCharProperty_12 || t6 === B.LineCharProperty_16) t8 = curr === B.LineCharProperty_10 || curr === B.LineCharProperty_9; else t8 = false; if (t8) { setBreak.call$2(B.LineBreakType_1, 25); continue; } t8 = t6 !== B.LineCharProperty_10; if ((!t8 || t10) && curr === B.LineCharProperty_11) { setBreak.call$2(B.LineBreakType_1, 25); continue; } if ((!t8 || !t11 || t6 === B.LineCharProperty_14 || t6 === B.LineCharProperty_13 || t6 === B.LineCharProperty_16 || t7) && curr === B.LineCharProperty_16) { setBreak.call$2(B.LineBreakType_1, 25); continue; } t7 = t6 === B.LineCharProperty_21; if (t7) t8 = curr === B.LineCharProperty_21 || curr === B.LineCharProperty_22 || curr === B.LineCharProperty_32 || curr === B.LineCharProperty_33; else t8 = false; if (t8) { setBreak.call$2(B.LineBreakType_1, 26); continue; } t8 = t6 !== B.LineCharProperty_22; if (!t8 || t6 === B.LineCharProperty_32) t11 = curr === B.LineCharProperty_22 || curr === B.LineCharProperty_23; else t11 = false; if (t11) { setBreak.call$2(B.LineBreakType_1, 26); continue; } t11 = t6 !== B.LineCharProperty_23; if ((!t11 || t6 === B.LineCharProperty_33) && curr === B.LineCharProperty_23) { setBreak.call$2(B.LineBreakType_1, 26); continue; } if ((t7 || !t8 || !t11 || t6 === B.LineCharProperty_32 || t6 === B.LineCharProperty_33) && curr === B.LineCharProperty_10) { setBreak.call$2(B.LineBreakType_1, 27); continue; } if (t10) t7 = curr === B.LineCharProperty_21 || curr === B.LineCharProperty_22 || curr === B.LineCharProperty_23 || curr === B.LineCharProperty_32 || curr === B.LineCharProperty_33; else t7 = false; if (t7) { setBreak.call$2(B.LineBreakType_1, 27); continue; } if (!t9 || t6 === B.LineCharProperty_20) t7 = curr === B.LineCharProperty_8 || curr === B.LineCharProperty_20; else t7 = false; if (t7) { setBreak.call$2(B.LineBreakType_1, 28); continue; } if (t6 === B.LineCharProperty_13) t7 = curr === B.LineCharProperty_8 || curr === B.LineCharProperty_20; else t7 = false; if (t7) { setBreak.call$2(B.LineBreakType_1, 29); continue; } if (!t9 || t6 === B.LineCharProperty_20 || t6 === B.LineCharProperty_16) if (curr === B.LineCharProperty_11) { t7 = text.charCodeAt(t1); if (t7 !== 9001) if (!(t7 >= 12296 && t7 <= 12317)) t7 = t7 >= 65047 && t7 <= 65378; else t7 = true; else t7 = true; t7 = !t7; } else t7 = false; else t7 = false; if (t7) { setBreak.call$2(B.LineBreakType_1, 30); continue; } if (t6 === B.LineCharProperty_12) { t1 = text.charCodeAt(t1 - 1); if (t1 !== 9001) if (!(t1 >= 12296 && t1 <= 12317)) t1 = t1 >= 65047 && t1 <= 65378; else t1 = true; else t1 = true; if (!t1) t1 = curr === B.LineCharProperty_8 || curr === B.LineCharProperty_20 || curr === B.LineCharProperty_16; else t1 = false; } else t1 = false; if (t1) { setBreak.call$2(B.LineBreakType_1, 30); continue; } if (curr === B.LineCharProperty_35) { if ((regionalIndicatorCount & 1) === 1) setBreak.call$2(B.LineBreakType_1, 30); else setBreak.call$2(B.LineBreakType_0, 30); continue; } if (t6 === B.LineCharProperty_31 && curr === B.LineCharProperty_36) { setBreak.call$2(B.LineBreakType_1, 30); continue; } setBreak.call$2(B.LineBreakType_0, 31); } setBreak.call$2(B.LineBreakType_3, 3); return fragments; }, measureSubstring(canvasContext, text, start, end, letterSpacing) { var t1, width, t2; if (start === end) return 0; t1 = canvasContext.font; if (start === $._lastStart && end === $._lastEnd && text === $._lastText && t1 === $._lastCssFont) width = $._lastWidth; else { t2 = A.callMethod(canvasContext, "measureText", [start === 0 && end === text.length ? text : B.JSString_methods.substring$2(text, start, end)]).width; if (t2 == null) t2 = null; t2.toString; width = t2; } $._lastStart = start; $._lastEnd = end; $._lastText = text; $._lastCssFont = t1; $._lastWidth = width; if (letterSpacing == null) letterSpacing = 0; return B.JSNumber_methods.round$0((letterSpacing !== 0 ? width + letterSpacing * (end - start) : width) * 100) / 100; }, EngineTextStyle$only(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) { var t1 = fontFamily == null, t2 = t1 ? "" : fontFamily; return new A.EngineTextStyle(color, decoration, decorationColor, decorationStyle, decorationThickness, fontWeight, fontStyle, textBaseline, !t1, t2, fontFamilyFallback, fontFeatures, fontVariations, fontSize, letterSpacing, wordSpacing, height, leadingDistribution, locale, background, foreground, shadows); }, fontWeightIndexToCss(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 ""; }, _shadowListToCss(shadows) { var i, t2, shadow, t3, t1 = shadows.length; if (t1 === 0) return ""; for (i = 0, t2 = ""; i < t1; ++i, t2 = t3) { if (i !== 0) t2 += ","; shadow = shadows[i]; t3 = shadow.offset; t3 = t2 + (A.S(t3._dx) + "px " + A.S(t3._dy) + "px " + A.S(shadow.blurRadius) + "px " + A.colorValueToCssString(shadow.color.value)); } return t2.charCodeAt(0) == 0 ? t2 : t2; }, _fontFeatureListToCss(fontFeatures) { var i, t1, len = fontFeatures.length; for (i = 0, t1 = ""; i < len; ++i) t1 = (i !== 0 ? t1 + "," : t1) + '"tnum" 1'; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _fontVariationListToCss(fontVariations) { var i, t1, fontVariation, len = fontVariations.length; for (i = 0, t1 = ""; i < len; ++i) { if (i !== 0) t1 += ","; fontVariation = fontVariations[i]; t1 += '"' + fontVariation.axis + '" ' + A.S(fontVariation.value); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, _decorationStyleToCssString(decorationStyle) { switch (decorationStyle.index) { case 3: return "dashed"; case 2: return "dotted"; case 1: return "double"; case 0: return "solid"; case 4: return "wavy"; default: return null; } }, textAlignToCssValue(align, textDirection) { switch (align) { case B.TextAlign_0: return "left"; case B.TextAlign_1: return "right"; case B.TextAlign_2: return "center"; case B.TextAlign_3: return "justify"; case B.TextAlign_5: switch (textDirection.index) { case 1: return "end"; case 0: return "left"; } break; case B.TextAlign_4: switch (textDirection.index) { case 1: return ""; case 0: return "right"; } break; case null: case void 0: return ""; } }, _computeBidiFragments(text) { var textDirection, fragmentFlow, fragmentStart, i, charTextDirection, fragments = A._setArrayType([], type$.JSArray_BidiFragment), t1 = text.length; if (t1 === 0) { fragments.push(B.BidiFragment_wEo); return fragments; } textDirection = A._getTextDirection(text, 0); fragmentFlow = A._getFragmentFlow(text, 0); for (fragmentStart = 0, i = 1; i < t1; ++i) { charTextDirection = A._getTextDirection(text, i); if (charTextDirection != textDirection) { fragments.push(new A.BidiFragment(textDirection, fragmentFlow, fragmentStart, i)); fragmentFlow = A._getFragmentFlow(text, i); textDirection = charTextDirection; fragmentStart = i; } else if (fragmentFlow === B.FragmentFlow_2) fragmentFlow = A._getFragmentFlow(text, i); } fragments.push(new A.BidiFragment(textDirection, fragmentFlow, fragmentStart, t1)); return fragments; }, _getTextDirection(text, i) { var t2, textDirection, t1 = A.getCodePoint(text, i); t1.toString; if (!(t1 >= 48 && t1 <= 57)) t2 = t1 >= 1632 && t1 <= 1641; else t2 = true; if (t2) return B.TextDirection_1; textDirection = $.$get$_textDirectionLookup().findForChar$1(t1); if (textDirection != null) return textDirection; return null; }, _getFragmentFlow(text, i) { var t1 = A.getCodePoint(text, i); t1.toString; if (t1 >= 48 && t1 <= 57) return B.FragmentFlow_2; if (t1 >= 1632 && t1 <= 1641) return B.FragmentFlow_1; switch ($.$get$_textDirectionLookup().findForChar$1(t1)) { case B.TextDirection_1: return B.FragmentFlow_0; case B.TextDirection_0: return B.FragmentFlow_1; case null: case void 0: return B.FragmentFlow_3; } }, getCodePoint(text, index) { var char, hi; if (index < 0 || index >= text.length) return null; char = text.charCodeAt(index); if ((char & 63488) === 55296 && index < text.length - 1) { hi = text.charCodeAt(index); return (hi >>> 6 & 31) + 1 << 16 | (hi & 63) << 10 | text.charCodeAt(index + 1) & 1023; } return char; }, UnicodePropertyLookup$(ranges, defaultProperty, $P) { return new A.UnicodePropertyLookup(ranges, defaultProperty, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, $P), $P._eval$1("UnicodePropertyLookup<0>")); }, UnicodePropertyLookup_UnicodePropertyLookup$fromPackedData(packedData, singleRangesCount, propertyEnumValues, defaultProperty, $P) { return new A.UnicodePropertyLookup(A._unpackProperties(packedData, singleRangesCount, propertyEnumValues, $P), defaultProperty, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, $P), $P._eval$1("UnicodePropertyLookup<0>")); }, _unpackProperties(packedData, singleRangesCount, propertyEnumValues, $P) { var t1, i, rangeStart, rangeEnd, i0, ranges = A._setArrayType([], $P._eval$1("JSArray<UnicodeRange<0>>")), dataLength = packedData.length; for (t1 = $P._eval$1("UnicodeRange<0>"), i = 0; i < dataLength; i = i0) { rangeStart = A._consumeInt(packedData, i); i += 4; if (packedData.charCodeAt(i) === 33) { ++i; rangeEnd = rangeStart; } else { rangeEnd = A._consumeInt(packedData, i); i += 4; } i0 = i + 1; ranges.push(new A.UnicodeRange(rangeStart, rangeEnd, propertyEnumValues[A._getEnumIndexFromPackedValue(packedData.charCodeAt(i))], t1)); } return ranges; }, _getEnumIndexFromPackedValue(charCode) { if (charCode <= 90) return charCode - 65; return 26 + charCode - 97; }, _consumeInt(packedData, index) { return A.getIntFromCharCode(packedData.charCodeAt(index + 3)) + A.getIntFromCharCode(packedData.charCodeAt(index + 2)) * 36 + A.getIntFromCharCode(packedData.charCodeAt(index + 1)) * 36 * 36 + A.getIntFromCharCode(packedData.charCodeAt(index)) * 36 * 36 * 36; }, getIntFromCharCode(charCode) { if (charCode <= 57) return charCode - 48; return charCode - 97 + 10; }, WordBreaker__findBreakIndex(direction, text, index) { var t1 = direction.step, t2 = text.length, i = index; while (true) { if (!(i >= 0 && i <= t2)) break; i += t1; if (A.WordBreaker__isBreak(text, i)) break; } return A.clampInt(i, 0, t2); }, WordBreaker__isBreak(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 ((text.charCodeAt(t1) & 63488) === 55296) return false; immediateRight = $.$get$wordLookup().find$2(0, text, index); immediateLeft = $.$get$wordLookup().find$2(0, text, t1); if (immediateLeft === B.WordCharProperty_3 && immediateRight === B.WordCharProperty_4) return false; if (A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_5, B.WordCharProperty_3, B.WordCharProperty_4, _null, _null)) return true; if (A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_5, B.WordCharProperty_3, B.WordCharProperty_4, _null, _null)) return true; if (immediateLeft === B.WordCharProperty_17 && immediateRight === B.WordCharProperty_17) return false; if (A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_6, B.WordCharProperty_8, B.WordCharProperty_16, _null, _null)) return false; for (l = 0; A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_6, B.WordCharProperty_8, B.WordCharProperty_16, _null, _null);) { ++l; t1 = index - l - 1; if (t1 < 0) return true; t2 = $.$get$wordLookup(); codePoint = A.getCodePoint(text, t1); immediateLeft = codePoint == null ? t2.defaultProperty : t2.findForChar$1(codePoint); } if (A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null) && A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null)) return false; r = 0; do { ++r; nextRight = $.$get$wordLookup().find$2(0, text, index + r); } while (A.WordBreaker__oneOf(nextRight, B.WordCharProperty_6, B.WordCharProperty_8, B.WordCharProperty_16, _null, _null)); do { ++l; nextLeft = $.$get$wordLookup().find$2(0, text, index - l - 1); } while (A.WordBreaker__oneOf(nextLeft, B.WordCharProperty_6, B.WordCharProperty_8, B.WordCharProperty_16, _null, _null)); if (A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null) && A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_11, B.WordCharProperty_13, B.WordCharProperty_1, _null, _null) && A.WordBreaker__oneOf(nextRight, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null)) return false; if (A.WordBreaker__oneOf(nextLeft, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null) && A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_11, B.WordCharProperty_13, B.WordCharProperty_1, _null, _null) && A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null)) return false; t1 = immediateLeft === B.WordCharProperty_2; if (t1 && immediateRight === B.WordCharProperty_1) return false; if (t1 && immediateRight === B.WordCharProperty_0 && nextRight === B.WordCharProperty_2) return false; if (nextLeft === B.WordCharProperty_2 && immediateLeft === B.WordCharProperty_0 && immediateRight === B.WordCharProperty_2) return false; t1 = immediateLeft === B.WordCharProperty_14; if (t1 && immediateRight === B.WordCharProperty_14) return false; if (A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null) && immediateRight === B.WordCharProperty_14) return false; if (t1 && A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_10, B.WordCharProperty_2, _null, _null, _null)) return false; if (nextLeft === B.WordCharProperty_14 && A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_12, B.WordCharProperty_13, B.WordCharProperty_1, _null, _null) && immediateRight === B.WordCharProperty_14) return false; if (t1 && A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_12, B.WordCharProperty_13, B.WordCharProperty_1, _null, _null) && nextRight === B.WordCharProperty_14) return false; if (immediateLeft === B.WordCharProperty_9 && immediateRight === B.WordCharProperty_9) return false; if (A.WordBreaker__oneOf(immediateLeft, B.WordCharProperty_10, B.WordCharProperty_2, B.WordCharProperty_14, B.WordCharProperty_9, B.WordCharProperty_15) && immediateRight === B.WordCharProperty_15) return false; if (immediateLeft === B.WordCharProperty_15 && A.WordBreaker__oneOf(immediateRight, B.WordCharProperty_10, B.WordCharProperty_2, B.WordCharProperty_14, B.WordCharProperty_9, _null)) return false; return true; }, WordBreaker__oneOf(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; }, EngineInputAction_fromName($name) { switch ($name) { case "TextInputAction.continueAction": case "TextInputAction.next": return B.C_NextInputAction; case "TextInputAction.previous": return B.C_PreviousInputAction; case "TextInputAction.done": return B.C_DoneInputAction; case "TextInputAction.go": return B.C_GoInputAction; case "TextInputAction.newline": return B.C_EnterInputAction; case "TextInputAction.search": return B.C_SearchInputAction; case "TextInputAction.send": return B.C_SendInputAction; case "TextInputAction.emergencyCall": case "TextInputAction.join": case "TextInputAction.none": case "TextInputAction.route": case "TextInputAction.unspecified": default: return B.C_NoInputAction; } }, EngineInputType_fromName($name, isDecimal) { switch ($name) { case "TextInputType.number": return isDecimal ? B.C_DecimalInputType : B.C_NumberInputType; case "TextInputType.phone": return B.C_PhoneInputType; case "TextInputType.emailAddress": return B.C_EmailInputType; case "TextInputType.url": return B.C_UrlInputType; case "TextInputType.multiline": return B.C_MultilineInputType; case "TextInputType.none": return B.C_NoTextInputType; case "TextInputType.text": default: return B.C_TextInputType; } }, TextCapitalizationConfig$fromInputConfiguration(inputConfiguration) { var t1; if (inputConfiguration === "TextCapitalization.words") t1 = B.TextCapitalization_0; else if (inputConfiguration === "TextCapitalization.characters") t1 = B.TextCapitalization_2; else t1 = inputConfiguration === "TextCapitalization.sentences" ? B.TextCapitalization_1 : B.TextCapitalization_3; return new A.TextCapitalizationConfig(t1); }, _emptyCallback(_) { }, _styleAutofillElements(domElement, isOffScreen, shouldDisablePointerEvents, shouldHideElement) { var t1, _s11_ = "transparent", _s4_ = "none", elementStyle = domElement.style; A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "white-space", "pre-wrap"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "align-content", "center"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "padding", "0"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "opacity", "1"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "background-color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "background", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "outline", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "border", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "resize", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "text-shadow", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "transform-origin", "0 0 0"); if (isOffScreen) { A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "top", "-9999px"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "left", "-9999px"); } if (shouldHideElement) { A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "width", "0"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "height", "0"); } if (shouldDisablePointerEvents) A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "pointer-events", _s4_); t1 = $.$get$_browserEngine(); if (t1 !== B.BrowserEngine_0) t1 = t1 === B.BrowserEngine_1; else t1 = true; if (t1) A.callMethod(domElement.classList, "add", ["transparentTextEditing"]); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "caret-color", _s11_); }, EngineAutofillForm_fromFrameworkMessage(focusedElementAutofill, fields) { var t1, elements, items, formElement, isSafariDesktopStrategy, ids, focusedElement, t2, t3, t4, insertionReferenceNode, fieldIsFocusedElement, t5, t6, autofillInfo, t7, autofill, htmlElement, _i, id, formIdentifier, form, submitButton, _null = null; if (focusedElementAutofill == null) return _null; t1 = type$.String; elements = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.JavaScriptObject); items = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AutofillInfo); formElement = A.DomDocumentExtension_createElement(self.document, "form"); isSafariDesktopStrategy = $.$get$textEditing().get$strategy() instanceof A.SafariDesktopTextEditingStrategy; formElement.noValidate = true; formElement.method = "post"; formElement.action = "#"; A.DomEventTargetExtension_addEventListener(formElement, "submit", $.$get$preventDefaultListener(), _null); A._styleAutofillElements(formElement, false, isSafariDesktopStrategy, true); ids = J.JSArray_JSArray$growable(0, t1); focusedElement = A.AutofillInfo_AutofillInfo$fromFrameworkMessage(focusedElementAutofill, B.TextCapitalizationConfig_TextCapitalization_3); if (fields != null) for (t1 = type$.Map_String_dynamic, t2 = J.cast$1$0$ax(fields, t1), t2 = t2.get$iterator(t2), t3 = focusedElement.uniqueIdentifier, t4 = !isSafariDesktopStrategy, insertionReferenceNode = _null, fieldIsFocusedElement = false; t2.moveNext$0();) { t5 = t2.get$current(t2); t6 = J.getInterceptor$asx(t5); autofillInfo = t1._as(t6.$index(t5, "autofill")); t7 = A._asString(t6.$index(t5, "textCapitalization")); if (t7 === "TextCapitalization.words") t7 = B.TextCapitalization_0; else if (t7 === "TextCapitalization.characters") t7 = B.TextCapitalization_2; else t7 = t7 === "TextCapitalization.sentences" ? B.TextCapitalization_1 : B.TextCapitalization_3; autofill = A.AutofillInfo_AutofillInfo$fromFrameworkMessage(autofillInfo, new A.TextCapitalizationConfig(t7)); t7 = autofill.uniqueIdentifier; ids.push(t7); if (t7 !== t3) { htmlElement = A.EngineInputType_fromName(A._asString(J.$index$asx(t1._as(t6.$index(t5, "inputType")), "name")), false).createDomElement$0(); autofill.editingState.applyToDomElement$1(htmlElement); autofill.applyToDomElement$1(htmlElement); A._styleAutofillElements(htmlElement, false, isSafariDesktopStrategy, t4); items.$indexSet(0, t7, autofill); elements.$indexSet(0, t7, htmlElement); formElement.append(htmlElement); if (fieldIsFocusedElement) { insertionReferenceNode = htmlElement; fieldIsFocusedElement = false; } } else fieldIsFocusedElement = true; } else { ids.push(focusedElement.uniqueIdentifier); insertionReferenceNode = _null; } B.JSArray_methods.sort$0(ids); for (t1 = ids.length, _i = 0, t2 = ""; _i < t1; ++_i) { id = ids[_i]; t2 = (t2.length > 0 ? t2 + "*" : t2) + id; } formIdentifier = t2.charCodeAt(0) == 0 ? t2 : t2; form = $.formsOnTheDom.$index(0, formIdentifier); if (form != null) form.remove(); submitButton = A.DomDocumentExtension_createElement(self.document, "input"); A._styleAutofillElements(submitButton, true, false, true); submitButton.className = "submitBtn"; A.DomHTMLInputElementExtension_set_type(submitButton, "submit"); formElement.append(submitButton); return new A.EngineAutofillForm(formElement, elements, items, insertionReferenceNode == null ? submitButton : insertionReferenceNode, formIdentifier); }, AutofillInfo_AutofillInfo$fromFrameworkMessage(autofill, textCapitalization) { var t2, t1 = J.getInterceptor$asx(autofill), uniqueIdentifier = A._asString(t1.$index(autofill, "uniqueIdentifier")), hintsList = type$.nullable_List_dynamic._as(t1.$index(autofill, "hints")), firstHint = hintsList == null || J.get$isEmpty$asx(hintsList) ? null : A._asString(J.get$first$ax(hintsList)), editingState = A.EditingState_EditingState$fromFrameworkMessage(type$.Map_String_dynamic._as(t1.$index(autofill, "editingValue"))); if (firstHint != null) { t2 = $.$get$BrowserAutofillHints__singletonInstance()._flutterToEngineMap.$index(0, firstHint); if (t2 == null) t2 = firstHint; } else t2 = null; return new A.AutofillInfo(editingState, uniqueIdentifier, t2, A._asStringQ(t1.$index(autofill, "hintText"))); }, _replace(originalText, replacementText, replacedRange) { var t1 = replacedRange.start, t2 = replacedRange.end, t3 = Math.min(t1, t2); t2 = Math.max(t1, t2); return B.JSString_methods.substring$2(originalText, 0, t3) + replacementText + B.JSString_methods.substring$1(originalText, t2); }, TextEditingDeltaState_inferDeltaState(newEditingState, lastEditingState, lastTextEditingDeltaState) { var previousSelectionWasCollapsed, t9, isTextBeingRemoved, isTextBeingChangedAtActiveSelection, deletedLength, isCurrentlyComposing, textAfterDelta, isPeriodInsertion, match, actualEnd, textAfterMatch, t1 = lastTextEditingDeltaState.oldText, t2 = lastTextEditingDeltaState.deltaText, t3 = lastTextEditingDeltaState.deltaStart, t4 = lastTextEditingDeltaState.deltaEnd, t5 = lastTextEditingDeltaState.baseOffset, t6 = lastTextEditingDeltaState.extentOffset, t7 = lastTextEditingDeltaState.composingOffset, t8 = lastTextEditingDeltaState.composingExtent, newTextEditingDeltaState = new A.TextEditingDeltaState(t1, t2, t3, t4, t5, t6, t7, t8); t5 = lastEditingState == null; t6 = t5 ? null : lastEditingState.baseOffset; previousSelectionWasCollapsed = t6 == (t5 ? null : lastEditingState.extentOffset); t6 = t2.length; t9 = t6 === 0; isTextBeingRemoved = t9 && t4 !== -1; t9 = !t9; isTextBeingChangedAtActiveSelection = t9 && !previousSelectionWasCollapsed; if (isTextBeingRemoved) { deletedLength = t1.length - newEditingState.text.length; t3 = newEditingState.baseOffset; if (t3 !== (t5 ? null : lastEditingState.baseOffset)) { t3 = t4 - deletedLength; newTextEditingDeltaState.deltaStart = t3; } else { newTextEditingDeltaState.deltaStart = t3; t4 = t3 + deletedLength; newTextEditingDeltaState.deltaEnd = t4; } } else if (isTextBeingChangedAtActiveSelection) { t3 = lastEditingState.baseOffset; t5 = lastEditingState.extentOffset; if (t3 > t5) t3 = t5; newTextEditingDeltaState.deltaStart = t3; } isCurrentlyComposing = t7 != null && t7 !== t8; if (t9 && previousSelectionWasCollapsed && isCurrentlyComposing) { t7.toString; t3 = newTextEditingDeltaState.deltaStart = t7; } if (!(t3 === -1 && t3 === t4)) { textAfterDelta = A._replace(t1, t2, new A.TextRange(t3, t4)); t3 = newEditingState.text; t3.toString; if (textAfterDelta !== t3) { isPeriodInsertion = B.JSString_methods.contains$1(t2, "."); for (t4 = A.RegExp_RegExp(A.quoteStringForRegExp(t2), true, false, false, false).allMatches$1(0, t3), t4 = new A._AllMatchesIterator(t4._re, t4.__js_helper$_string, t4.__js_helper$_start), t5 = type$.RegExpMatch, t7 = t1.length; t4.moveNext$0();) { match = t4.__js_helper$_current; t8 = (match == null ? t5._as(match) : match)._match; t9 = t8.index; if (!(t9 >= 0 && t9 + t8[0].length <= t7)) { actualEnd = t9 + t6 - 1; textAfterMatch = A._replace(t1, t2, new A.TextRange(t9, actualEnd)); } else { actualEnd = isPeriodInsertion ? t9 + t8[0].length - 1 : t9 + t8[0].length; textAfterMatch = A._replace(t1, t2, new A.TextRange(t9, actualEnd)); } if (textAfterMatch === t3) { newTextEditingDeltaState.deltaStart = t9; newTextEditingDeltaState.deltaEnd = actualEnd; break; } } } } newTextEditingDeltaState.baseOffset = newEditingState.baseOffset; newTextEditingDeltaState.extentOffset = newEditingState.extentOffset; return newTextEditingDeltaState; }, EditingState$(baseOffset, composingBaseOffset, composingExtentOffset, extentOffset, text) { var t2, t1 = baseOffset == null ? 0 : baseOffset; t1 = Math.max(0, t1); t2 = extentOffset == null ? 0 : extentOffset; return new A.EditingState(text, t1, Math.max(0, t2), composingBaseOffset, composingExtentOffset); }, EditingState_EditingState$fromFrameworkMessage(flutterEditingState) { var t1 = J.getInterceptor$asx(flutterEditingState), text = A._asStringQ(t1.$index(flutterEditingState, "text")), selectionBase = B.JSNumber_methods.toInt$0(A._asNum(t1.$index(flutterEditingState, "selectionBase"))), selectionExtent = B.JSNumber_methods.toInt$0(A._asNum(t1.$index(flutterEditingState, "selectionExtent"))), composingBase = A.JsonExtensions_tryInt(flutterEditingState, "composingBase"), composingExtent = A.JsonExtensions_tryInt(flutterEditingState, "composingExtent"); t1 = composingBase == null ? -1 : composingBase; return A.EditingState$(selectionBase, t1, composingExtent == null ? -1 : composingExtent, selectionExtent, text); }, EditingState_EditingState$fromDomElement(domElement) { var t1, t2, t3, _null = null, $constructor = globalThis.HTMLInputElement; if ($constructor != null && domElement instanceof $constructor) { t1 = domElement.selectionDirection; if ((t1 == null ? _null : t1) === "backward") { t1 = A.DomHTMLInputElementExtension_get_value(domElement); t2 = A.DomHTMLInputElementExtension_get_selectionEnd(domElement); t2 = t2 == null ? _null : B.JSNumber_methods.toInt$0(t2); t3 = A.DomHTMLInputElementExtension_get_selectionStart(domElement); return A.EditingState$(t2, -1, -1, t3 == null ? _null : B.JSNumber_methods.toInt$0(t3), t1); } else { t1 = A.DomHTMLInputElementExtension_get_value(domElement); t2 = A.DomHTMLInputElementExtension_get_selectionStart(domElement); t2 = t2 == null ? _null : B.JSNumber_methods.toInt$0(t2); t3 = A.DomHTMLInputElementExtension_get_selectionEnd(domElement); return A.EditingState$(t2, -1, -1, t3 == null ? _null : B.JSNumber_methods.toInt$0(t3), t1); } } else { $constructor = globalThis.HTMLTextAreaElement; if ($constructor != null && domElement instanceof $constructor) { t1 = domElement.selectionDirection; if ((t1 == null ? _null : t1) === "backward") { t1 = A.DomHTMLTextAreaElementExtension_get_value(domElement); t2 = A.DomHTMLTextAreaElementExtension_get_selectionEnd(domElement); t2 = t2 == null ? _null : B.JSNumber_methods.toInt$0(t2); t3 = A.DomHTMLTextAreaElementExtension_get_selectionStart(domElement); return A.EditingState$(t2, -1, -1, t3 == null ? _null : B.JSNumber_methods.toInt$0(t3), t1); } else { t1 = A.DomHTMLTextAreaElementExtension_get_value(domElement); t2 = A.DomHTMLTextAreaElementExtension_get_selectionStart(domElement); t2 = t2 == null ? _null : B.JSNumber_methods.toInt$0(t2); t3 = A.DomHTMLTextAreaElementExtension_get_selectionEnd(domElement); return A.EditingState$(t2, -1, -1, t3 == null ? _null : B.JSNumber_methods.toInt$0(t3), t1); } } else throw A.wrapException(A.UnsupportedError$("Initialized with unsupported input type")); } }, InputConfiguration$fromFrameworkMessage(flutterInputConfiguration) { var t5, t6, t7, t8, t9, _s9_ = "inputType", _s8_ = "autofill", t1 = J.getInterceptor$asx(flutterInputConfiguration), t2 = type$.Map_String_dynamic, t3 = A._asString(J.$index$asx(t2._as(t1.$index(flutterInputConfiguration, _s9_)), "name")), t4 = A._asBoolQ(J.$index$asx(t2._as(t1.$index(flutterInputConfiguration, _s9_)), "decimal")); t3 = A.EngineInputType_fromName(t3, t4 === true); t4 = A._asStringQ(t1.$index(flutterInputConfiguration, "inputAction")); if (t4 == null) t4 = "TextInputAction.done"; t5 = A._asBoolQ(t1.$index(flutterInputConfiguration, "obscureText")); t6 = A._asBoolQ(t1.$index(flutterInputConfiguration, "readOnly")); t7 = A._asBoolQ(t1.$index(flutterInputConfiguration, "autocorrect")); t8 = A.TextCapitalizationConfig$fromInputConfiguration(A._asString(t1.$index(flutterInputConfiguration, "textCapitalization"))); t2 = t1.containsKey$1(flutterInputConfiguration, _s8_) ? A.AutofillInfo_AutofillInfo$fromFrameworkMessage(t2._as(t1.$index(flutterInputConfiguration, _s8_)), B.TextCapitalizationConfig_TextCapitalization_3) : null; t9 = A.EngineAutofillForm_fromFrameworkMessage(type$.nullable_Map_String_dynamic._as(t1.$index(flutterInputConfiguration, _s8_)), type$.nullable_List_dynamic._as(t1.$index(flutterInputConfiguration, "fields"))); t1 = A._asBoolQ(t1.$index(flutterInputConfiguration, "enableDeltaModel")); return new A.InputConfiguration(t3, t4, t6 === true, t5 === true, t7 !== false, t1 === true, t2, t9, t8); }, GloballyPositionedTextEditingStrategy$(owner) { return new A.GloballyPositionedTextEditingStrategy(owner, A._setArrayType([], type$.JSArray_DomSubscription), $, $, $, null); }, saveForms() { $.formsOnTheDom.forEach$1(0, new A.saveForms_closure()); }, cleanForms() { var t1, t2, t3; for (t1 = $.formsOnTheDom.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); t3.remove(); } $.formsOnTheDom.clear$0(0); }, EditableTextGeometry_EditableTextGeometry$fromFrameworkMessage(encodedGeometry) { var t1 = J.getInterceptor$asx(encodedGeometry), transformList = A.List_List$from(J.map$1$1$ax(type$.List_dynamic._as(t1.$index(encodedGeometry, "transform")), new A.EditableTextGeometry_EditableTextGeometry$fromFrameworkMessage_closure(), type$.dynamic), true, type$.double); return new A.EditableTextGeometry(A._asNum(t1.$index(encodedGeometry, "width")), A._asNum(t1.$index(encodedGeometry, "height")), new Float32Array(A._ensureNativeList(transformList))); }, setElementTransform(element, matrix4) { var t1 = element.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform", A.float64ListToCssTransform(matrix4)); }, float64ListToCssTransform(matrix) { var transformKind = A.transformKindOf(matrix); if (transformKind === B.TransformKind_1) return "matrix(" + A.S(matrix[0]) + "," + A.S(matrix[1]) + "," + A.S(matrix[4]) + "," + A.S(matrix[5]) + "," + A.S(matrix[12]) + "," + A.S(matrix[13]) + ")"; else if (transformKind === B.TransformKind_2) return A.float64ListToCssTransform3d(matrix); else return "none"; }, transformKindOf(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 B.TransformKind_2; if (matrix[0] === 1 && matrix[1] === 0 && matrix[4] === 0 && matrix[5] === 1 && matrix[12] === 0 && matrix[13] === 0) return B.TransformKind_0; else return B.TransformKind_1; }, float64ListToCssTransform3d(matrix) { var 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) return "translate3d(" + A.S(matrix[12]) + "px, " + A.S(matrix[13]) + "px, 0px)"; else return "matrix3d(" + A.S(t1) + "," + A.S(matrix[1]) + "," + A.S(matrix[2]) + "," + A.S(matrix[3]) + "," + A.S(matrix[4]) + "," + A.S(matrix[5]) + "," + A.S(matrix[6]) + "," + A.S(matrix[7]) + "," + A.S(matrix[8]) + "," + A.S(matrix[9]) + "," + A.S(matrix[10]) + "," + A.S(matrix[11]) + "," + A.S(matrix[12]) + "," + A.S(matrix[13]) + "," + A.S(matrix[14]) + "," + A.S(matrix[15]) + ")"; }, transformRectWithMatrix(transform, rect) { var t1 = $.$get$_tempRectData(); t1[0] = rect.left; t1[1] = rect.top; t1[2] = rect.right; t1[3] = rect.bottom; A.transformLTRB(transform, t1); return new A.Rect(t1[0], t1[1], t1[2], t1[3]); }, transformLTRB(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()._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._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(rect, other) { return rect.left <= other.left && rect.top <= other.top && rect.right >= other.right && rect.bottom >= other.bottom; }, colorValueToCssString(value) { var hexValue, t1; if (value === 4278190080) return "#000000"; if ((value & 4278190080) >>> 0 === 4278190080) { hexValue = B.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(" + B.JSInt_methods.toString$0(value >>> 16 & 255) + "," + B.JSInt_methods.toString$0(value >>> 8 & 255) + "," + B.JSInt_methods.toString$0(value & 255) + "," + B.JSNumber_methods.toString$0((value >>> 24 & 255) / 255) + ")"; return t1.charCodeAt(0) == 0 ? t1 : t1; } }, colorComponentsToCssString(r, g, b, a) { var t1 = "" + r, t2 = "" + g, t3 = "" + b; if (a === 255) return "rgb(" + t1 + "," + t2 + "," + t3 + ")"; else return "rgba(" + t1 + "," + t2 + "," + t3 + "," + B.JSNumber_methods.toStringAsFixed$1(a / 255, 2) + ")"; }, _fallbackFontFamily() { if (A.isIOS15()) return "BlinkMacSystemFont"; var t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_0) t1 = t1 === B.OperatingSystem_4; else t1 = true; if (t1) return "-apple-system, BlinkMacSystemFont"; return "Arial"; }, canonicalizeFontFamily(fontFamily) { var t1; if (B.Set_qbjuj.contains$1(0, fontFamily)) return fontFamily; t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_0) t1 = t1 === B.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 A._fallbackFontFamily(); return '"' + A.S(fontFamily) + '", ' + A._fallbackFontFamily() + ", sans-serif"; }, clampInt(value, min, max) { if (value < min) return min; else if (value > max) return max; else return value; }, listEquals0(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; }, JsonExtensions_tryInt(_this, propertyName) { var t1 = A._asNumQ(J.$index$asx(_this, propertyName)); return t1 == null ? null : B.JSNumber_methods.toInt$0(t1); }, bytesToHexString(data) { return new A.MappedListIterable(data, new A.bytesToHexString_closure(), A.instanceType(data)._eval$1("MappedListIterable<ListBase.E,String>")).join$1(0, " "); }, setElementStyle(element, $name, value) { A.DomCSSStyleDeclarationExtension_setProperty(element.style, $name, value); }, setThemeColor(color) { var theme = A.callMethod(self.document, "querySelector", ["#flutterweb-theme"]); if (color != null) { if (theme == null) { theme = A.DomDocumentExtension_createElement(self.document, "meta"); theme.id = "flutterweb-theme"; theme.name = "theme-color"; self.document.head.append(theme); } theme.content = A.colorValueToCssString(color.value); } else if (theme != null) theme.remove(); }, drawEllipse(context, centerX, centerY, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise) { var t1 = $._ellipseFeatureDetected; if (t1 == null ? $._ellipseFeatureDetected = context.ellipse != null : t1) A.callMethod(context, "ellipse", [centerX, centerY, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise]); else { context.save(); A.callMethod(context, "translate", [centerX, centerY]); A.callMethod(context, "rotate", [rotation]); A.callMethod(context, "scale", [radiusX, radiusY]); A.callMethod(context, "arc", [0, 0, 1, startAngle, endAngle, antiClockwise]); context.restore(); } }, removeAllChildren(node) { var t1; for (; node.lastChild != null;) { t1 = node.lastChild; if (t1.parentNode != null) t1.parentNode.removeChild(t1); } }, LruCache$(maximumSize, $K, $V) { var t1 = $K._eval$1("@<0>")._bind$1($V), t2 = new A._DoubleLinkedQueueSentinel(t1._eval$1("_DoubleLinkedQueueSentinel<+key,value(1,2)>")); t2._previousLink = t2; t2._nextLink = t2; return new A.LruCache(maximumSize, new A.DoubleLinkedQueue(t2, t1._eval$1("DoubleLinkedQueue<+key,value(1,2)>")), A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("DoubleLinkedQueueEntry<+key,value(1,2)>")), t1._eval$1("LruCache<1,2>")); }, Matrix4$identity() { var t1 = new Float32Array(16); t1[15] = 1; t1[0] = 1; t1[5] = 1; t1[10] = 1; return new A.Matrix4(t1); }, Matrix4$fromFloat32List(_m4storage) { return new A.Matrix4(_m4storage); }, Matrix4_tryInvert0(other) { var r = new A.Matrix4(new Float32Array(16)); if (r.copyInverse$1(other) === 0) return null; return r; }, toMatrix32(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; }, CustomElementDimensionsProvider$(_hostElement) { var t1 = new A.CustomElementDimensionsProvider(_hostElement, new A._AsyncBroadcastStreamController(null, null, type$._AsyncBroadcastStreamController_Size)); t1.CustomElementDimensionsProvider$1(_hostElement); return t1; }, DimensionsProvider_DimensionsProvider$create(hostElement) { var t1, resizeEventTarget; if (hostElement != null) return A.CustomElementDimensionsProvider$(hostElement); else { t1 = new A.FullPageDimensionsProvider(new A._AsyncBroadcastStreamController(null, null, type$._AsyncBroadcastStreamController_nullable_Size)); resizeEventTarget = self.window.visualViewport; if (resizeEventTarget == null) resizeEventTarget = self.window; t1.__FullPageDimensionsProvider__domResizeSubscription_A = A.DomSubscription$(resizeEventTarget, "resize", t1.get$_onVisualViewportResize()); return t1; } }, EmbeddingStrategy_EmbeddingStrategy$create(hostElement) { if (hostElement != null) { A.DomElementExtension_clearChildren(hostElement); return new A.CustomElementEmbeddingStrategy(hostElement); } else return new A.FullPageEmbeddingStrategy(); }, StyleManager_attachGlobalStyles(cssSelectorPrefix, node, styleId, styleNonce) { var style = A.DomDocumentExtension_createElement(self.document, "style"); if (styleNonce != null) style.nonce = styleNonce; style.id = styleId; node.appendChild(style); A.applyGlobalCssRulesToSheet(style, cssSelectorPrefix, "normal normal 14px sans-serif"); }, applyGlobalCssRulesToSheet(styleElement, cssSelectorPrefix, defaultCssFont) { var e, t1, exception, _s14_ = "createTextNode"; styleElement.append(A.callMethod(self.document, _s14_, [cssSelectorPrefix + " flt-scene-host { font: " + defaultCssFont + ";}" + cssSelectorPrefix + " flt-semantics input[type=range] { appearance: none; -webkit-appearance: none; width: 100%; position: absolute; border: none; top: 0; right: 0; bottom: 0; left: 0;}" + cssSelectorPrefix + " input::selection { background-color: transparent;}" + cssSelectorPrefix + " textarea::selection { background-color: transparent;}" + cssSelectorPrefix + " flt-semantics input," + cssSelectorPrefix + " flt-semantics textarea," + cssSelectorPrefix + ' flt-semantics [contentEditable="true"] { caret-color: transparent;}' + cssSelectorPrefix + " .flt-text-editing::placeholder { opacity: 0;}"])); t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1) styleElement.append(A.callMethod(self.document, _s14_, [cssSelectorPrefix + " * { -webkit-tap-highlight-color: transparent;}" + cssSelectorPrefix + " flt-semantics input[type=range]::-webkit-slider-thumb { -webkit-appearance: none;}"])); if (t1 === B.BrowserEngine_2) styleElement.append(A.callMethod(self.document, _s14_, [cssSelectorPrefix + " flt-paragraph," + cssSelectorPrefix + " flt-span { line-height: 100%;}"])); if (t1 !== B.BrowserEngine_0) t1 = t1 === B.BrowserEngine_1; else t1 = true; if (t1) styleElement.append(A.callMethod(self.document, _s14_, [cssSelectorPrefix + " .transparentTextEditing:-webkit-autofill," + cssSelectorPrefix + " .transparentTextEditing:-webkit-autofill:hover," + cssSelectorPrefix + " .transparentTextEditing:-webkit-autofill:focus," + cssSelectorPrefix + " .transparentTextEditing:-webkit-autofill:active { opacity: 0 !important;}"])); if (B.JSString_methods.contains$1(self.window.navigator.userAgent, "Edg/")) try { styleElement.append(A.callMethod(self.document, _s14_, [cssSelectorPrefix + " input::-ms-reveal { display: none;}"])); } catch (exception) { t1 = A.unwrapException(exception); if (type$.JavaScriptObject._is(t1)) { e = t1; A.callMethod(self.window.console, "warn", [J.toString$0$(e)]); } else throw exception; } }, ensureImplicitViewInitialized(hostElement) { var t1, t2; if ($._window == null) { t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = new A.EngineFlutterWindow(A.Future_Future$value(null, type$.void), 0, t1, A.EmbeddingStrategy_EmbeddingStrategy$create(hostElement), B.ViewPadding_0_0_0_0, A.DimensionsProvider_DimensionsProvider$create(hostElement)); t2.EngineFlutterView$_$3(0, t1, hostElement); $._window = t2; t1 = t1.get$viewManager(); t2 = $._window; t2.toString; t1.registerView$1(t2); } t1 = $._window; t1.toString; return t1; }, AlarmClock: function AlarmClock(t0) { var _ = this; _._timestampFunction = t0; _.callback = _._datetime = _._timer = null; }, AppBootstrap: function AppBootstrap(t0, t1) { this._initializeEngine = t0; this._runApp = t1; }, AppBootstrap_prepareEngineInitializer_closure: function AppBootstrap_prepareEngineInitializer_closure(t0) { this.$this = t0; }, AppBootstrap_prepareEngineInitializer_closure0: function AppBootstrap_prepareEngineInitializer_closure0(t0) { this.$this = t0; }, AppBootstrap__prepareAppRunner_closure: function AppBootstrap__prepareAppRunner_closure(t0) { this.$this = t0; }, AppBootstrap__prepareFlutterApp_closure: function AppBootstrap__prepareFlutterApp_closure(t0) { this.$this = t0; }, AppBootstrap__prepareFlutterApp_closure0: function AppBootstrap__prepareFlutterApp_closure0(t0) { this.$this = t0; }, BrowserEngine: function BrowserEngine(t0, t1) { this.index = t0; this._core$_name = t1; }, OperatingSystem: function OperatingSystem(t0, t1) { this.index = t0; this._core$_name = t1; }, CanvasPool: function CanvasPool(t0, t1, t2, t3, t4) { var _ = this; _._contextHandle = _._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() { }, CkCanvas: function CkCanvas(t0) { this.skCanvas = t0; }, CkCanvas_saveLayerWithFilter_closure: function CkCanvas_saveLayerWithFilter_closure(t0, t1, t2) { this.$this = t0; this.paint = t1; this.bounds = t2; }, _canvasKitJsUrls_closure: function _canvasKitJsUrls_closure() { }, _downloadCanvasKitJs_loadEventHandler: function _downloadCanvasKitJs_loadEventHandler(t0, t1) { this.canvasKitScript = t0; this.canvasKitLoadCompleter = t1; }, _downloadCanvasKitJs_errorEventHandler: function _downloadCanvasKitJs_errorEventHandler(t0, t1) { this.canvasKitScript = t0; this.canvasKitLoadCompleter = t1; }, CanvasKitCanvas: function CanvasKitCanvas(t0) { this.__engine$_canvas = t0; }, ManagedSkColorFilter: function ManagedSkColorFilter(t0) { this.colorFilter = t0; this.__ManagedSkColorFilter__ref_F = $; }, CkColorFilter: function CkColorFilter() { }, CkBlendModeColorFilter: function CkBlendModeColorFilter(t0, t1) { this.color = t0; this.blendMode = t1; }, CkMatrixColorFilter: function CkMatrixColorFilter(t0) { this.matrix = t0; }, CkLinearToSrgbGammaColorFilter: function CkLinearToSrgbGammaColorFilter() { }, CkSrgbToLinearGammaColorFilter: function CkSrgbToLinearGammaColorFilter() { }, CkComposeColorFilter: function CkComposeColorFilter(t0, t1) { this.outer = t0; this.inner = t1; }, DisplayCanvasFactory: function DisplayCanvasFactory(t0, t1, t2, t3) { var _ = this; _.createCanvas = t0; _.__DisplayCanvasFactory_baseCanvas_FI = $; _._liveCanvases = t1; _._cache = t2; _.$ti = t3; }, HtmlViewEmbedder: function HtmlViewEmbedder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.sceneHost = t0; _.rasterizer = t1; _._context = t2; _._currentCompositionParams = t3; _._viewClipChains = t4; _._overlays = t5; _._viewsToRecomposite = t6; _._compositionOrder = t7; _._activeCompositionOrder = t8; _._activeOverlayGroups = t9; _.__HtmlViewEmbedder__frameSize_A = $; _._clipPathCount = 0; _._svgPathDefs = null; _._svgClipDefs = t10; }, HtmlViewEmbedder_getOverlayCanvases_closure: function HtmlViewEmbedder_getOverlayCanvases_closure() { }, HtmlViewEmbedder__compositeWithParams_closure: function HtmlViewEmbedder__compositeWithParams_closure(t0) { this.platformViewId = t0; }, HtmlViewEmbedder__applyMutators_closure: function HtmlViewEmbedder__applyMutators_closure() { }, HtmlViewEmbedder__applyMutators_closure0: function HtmlViewEmbedder__applyMutators_closure0() { }, HtmlViewEmbedder_submitFrame_closure: function HtmlViewEmbedder_submitFrame_closure(t0) { this.diffResult = t0; }, HtmlViewEmbedder__updateOverlays_closure: function HtmlViewEmbedder__updateOverlays_closure() { }, HtmlViewEmbedder__updateOverlays_closure0: function HtmlViewEmbedder__updateOverlays_closure0(t0) { this.viewsNeedingOverlays = t0; }, HtmlViewEmbedder__updateOverlays_closure1: function HtmlViewEmbedder__updateOverlays_closure1(t0) { this.$this = t0; }, OverlayGroup: function OverlayGroup(t0) { this.__engine$_group = t0; this._visibleCount = 0; }, ViewClipChain: function ViewClipChain(t0, t1) { this._root = t0; this.__engine$_slot = t1; this._clipCount = -1; }, EmbeddedViewParams: function EmbeddedViewParams(t0, t1, t2) { this.offset = t0; this.size = t1; this.mutators = t2; }, MutatorType: function MutatorType(t0, t1) { this.index = t0; this._core$_name = t1; }, Mutator: function Mutator(t0, t1, t2, t3, t4, t5) { var _ = this; _.type = t0; _.rect = t1; _.rrect = t2; _.path = t3; _.matrix = t4; _.alpha = t5; }, MutatorsStack: function MutatorsStack(t0) { this._mutators = t0; }, EmbedderFrameContext: function EmbedderFrameContext(t0, t1) { this.pictureRecordersCreatedDuringPreroll = t0; this.pictureRecorders = t1; this.visibleViewCount = 0; }, ViewListDiffResult: function ViewListDiffResult(t0, t1, t2, t3) { var _ = this; _.viewsToRemove = t0; _.viewsToAdd = t1; _.addToBeginning = t2; _.viewToInsertBefore = t3; }, diffViewList_lookForwards: function diffViewList_lookForwards(t0, t1) { this.active = t0; this.next = t1; }, diffViewList_lookBackwards: function diffViewList_lookBackwards(t0, t1) { this.active = t0; this.next = t1; }, SkiaFontCollection: function SkiaFontCollection(t0, t1, t2, t3, t4) { var _ = this; _._downloadedFontFamilies = t0; _.__SkiaFontCollection_fontFallbackManager_AI = $; _._unregisteredFonts = t1; _._registeredFonts = t2; _.registeredFallbackFonts = t3; _.familyToFontMap = t4; _.skFontCollection = _._fontProvider = null; }, SkiaFontCollection__registerWithFontProvider_closure: function SkiaFontCollection__registerWithFontProvider_closure() { }, SkiaFontCollection__registerWithFontProvider_closure0: function SkiaFontCollection__registerWithFontProvider_closure0() { }, SkiaFontCollection_registerDownloadedFonts_makeRegisterFont: function SkiaFontCollection_registerDownloadedFonts_makeRegisterFont() { }, RegisteredFont: function RegisteredFont(t0, t1, t2) { this.family = t0; this.bytes = t1; this.typeface = t2; }, UnregisteredFont: function UnregisteredFont(t0, t1, t2) { this.bytes = t0; this.url = t1; this.family = t2; }, FontDownloadResult: function FontDownloadResult(t0, t1, t2) { this.assetName = t0; this.font = t1; this.error = t2; }, SkiaFallbackRegistry: function SkiaFallbackRegistry(t0) { this.fontCollection = t0; }, skiaDecodeImageFromPixels_closure: function skiaDecodeImageFromPixels_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.width = t0; _.height = t1; _.format = t2; _.pixels = t3; _.rowBytes = t4; _.targetWidth = t5; _.targetHeight = t6; _.allowUpscaling = t7; _.callback = t8; }, ImageCodecException: function ImageCodecException(t0) { this.__engine$_message = t0; }, readChunked_closure: function readChunked_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.chunkCallback = t1; _.contentLength = t2; _.result = t3; }, CkImage: function CkImage(t0, t1) { var _ = this; _.__CkImage__debugStackTrace_A = $; _.__CkImage_box_F = t0; _.videoFrame = t1; _._disposed = false; }, CkImageFilter: function CkImageFilter() { }, _CkBlurImageFilter: function _CkBlurImageFilter(t0, t1, t2) { var _ = this; _.sigmaX = t0; _.sigmaY = t1; _.tileMode = t2; _.___CkBlurImageFilter__ref_F = $; }, _CkMatrixImageFilter: function _CkMatrixImageFilter(t0, t1) { this.matrix = t0; this.filterQuality = t1; this.___CkMatrixImageFilter__ref_F = $; }, CkAnimatedImage: function CkAnimatedImage(t0, t1, t2, t3) { var _ = this; _.__CkAnimatedImage__ref_F = $; _.src = t0; _.__engine$_bytes = t1; _._frameCount = 0; _._repetitionCount = -1; _.targetWidth = t2; _.targetHeight = t3; _._disposed = false; }, CkBrowserImageDecoder: function CkBrowserImageDecoder(t0, t1, t2, t3) { var _ = this; _.contentType = t0; _.dataSource = t1; _.debugSource = t2; _.__BrowserImageDecoder_repetitionCount_A = _.__BrowserImageDecoder_frameCount_A = $; _._isDisposed = false; _._nextFrameIndex = 0; _._cachedWebDecoder = null; _._cacheExpirationClock = t3; }, Layer: function Layer() { }, PrerollContext: function PrerollContext(t0, t1) { this.viewEmbedder = t0; this.mutatorsStack = t1; }, PaintContext: function PaintContext(t0, t1, t2) { this.internalNodesCanvas = t0; this.leafNodesCanvas = t1; this.viewEmbedder = t2; }, ContainerLayer: function ContainerLayer() { }, RootLayer: function RootLayer(t0, t1) { this._layers = t0; this.parent = null; this.paintBounds = t1; }, BackdropFilterEngineLayer: function BackdropFilterEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_filter = t0; _.__engine$_blendMode = t1; _._layers = t2; _.parent = null; _.paintBounds = t3; }, ClipPathEngineLayer: function ClipPathEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_clipPath = t0; _.__engine$_clipBehavior = t1; _._layers = t2; _.parent = null; _.paintBounds = t3; }, ClipRectEngineLayer: function ClipRectEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_clipRect = t0; _.__engine$_clipBehavior = t1; _._layers = t2; _.parent = null; _.paintBounds = t3; }, ClipRRectEngineLayer: function ClipRRectEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_clipRRect = t0; _.__engine$_clipBehavior = t1; _._layers = t2; _.parent = null; _.paintBounds = t3; }, OpacityEngineLayer: function OpacityEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_alpha = t0; _.__engine$_offset = t1; _._layers = t2; _.parent = null; _.paintBounds = t3; }, TransformEngineLayer: function TransformEngineLayer(t0, t1, t2) { var _ = this; _.__engine$_transform = t0; _._layers = t1; _.parent = null; _.paintBounds = t2; }, OffsetEngineLayer: function OffsetEngineLayer(t0, t1, t2) { var _ = this; _.__engine$_transform = t0; _._layers = t1; _.parent = null; _.paintBounds = t2; }, ImageFilterEngineLayer: function ImageFilterEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_offset = t0; _.__engine$_filter = t1; _._layers = t2; _.parent = null; _.paintBounds = t3; }, ImageFilterEngineLayer_preroll_closure: function ImageFilterEngineLayer_preroll_closure(t0, t1) { this.$this = t0; this.childPaintBounds = t1; }, PictureLayer: function PictureLayer(t0, t1, t2) { var _ = this; _.picture = t0; _.offset = t1; _.parent = null; _.paintBounds = t2; }, PlatformViewLayer0: function PlatformViewLayer0(t0, t1, t2, t3, t4) { var _ = this; _.viewId = t0; _.offset = t1; _.width = t2; _.height = t3; _.parent = null; _.paintBounds = t4; }, LayerScene: function LayerScene(t0) { this.layerTree = t0; }, LayerSceneBuilder: function LayerSceneBuilder(t0) { this.rootLayer = t0; this.__LayerSceneBuilder_currentLayer_A = $; }, LayerTree: function LayerTree(t0) { this.rootLayer = t0; }, Frame: function Frame(t0, t1, t2) { this.canvas = t0; this.rasterCache = t1; this.viewEmbedder = t2; }, Frame_raster_closure: function Frame_raster_closure(t0, t1, t2) { this.$this = t0; this.layerTree = t1; this.ignoreRasterCache = t2; }, Frame_raster_closure0: function Frame_raster_closure0(t0, t1, t2) { this.$this = t0; this.layerTree = t1; this.ignoreRasterCache = t2; }, CompositorContext: function CompositorContext() { }, CkMaskFilter: function CkMaskFilter(t0, t1) { this._blurStyle = t0; this.__engine$_sigma = t1; this.__CkMaskFilter__ref_F = $; }, MultiSurfaceRasterizer: function MultiSurfaceRasterizer(t0) { this._viewRasterizers = t0; }, MultiSurfaceRasterizer_createViewRasterizer_closure: function MultiSurfaceRasterizer_createViewRasterizer_closure(t0, t1) { this.$this = t0; this.view = t1; }, MultiSurfaceRasterizer_setResourceCacheMaxBytes_closure: function MultiSurfaceRasterizer_setResourceCacheMaxBytes_closure(t0) { this.bytes = t0; }, MultiSurfaceViewRasterizer: function MultiSurfaceViewRasterizer(t0, t1, t2, t3) { var _ = this; _.displayFactory = t0; _.view = t1; _.currentFrameSize = t2; _.context = t3; _.__ViewRasterizer_viewEmbedder_FI = $; }, MultiSurfaceViewRasterizer_displayFactory_closure: function MultiSurfaceViewRasterizer_displayFactory_closure() { }, CkNWayCanvas: function CkNWayCanvas(t0) { this._canvases = t0; }, _finalizationRegistry_closure: function _finalizationRegistry_closure() { }, NativeMemoryFinalizationRegistry: function NativeMemoryFinalizationRegistry() { }, UniqueRef: function UniqueRef(t0, t1) { this._nativeObject = null; this._debugOwnerLabel = t0; this.$ti = t1; }, CountedRef: function CountedRef(t0, t1) { var _ = this; _.__CountedRef__ref_F = $; _.__engine$_refCount = 1; _.debugReferrers = t0; _.$ti = t1; }, OffscreenCanvasRasterizer: function OffscreenCanvasRasterizer(t0, t1) { this.offscreenSurface = t0; this._viewRasterizers = t1; }, OffscreenCanvasRasterizer_createViewRasterizer_closure: function OffscreenCanvasRasterizer_createViewRasterizer_closure(t0, t1) { this.$this = t0; this.view = t1; }, OffscreenCanvasViewRasterizer: function OffscreenCanvasViewRasterizer(t0, t1, t2, t3, t4) { var _ = this; _.rasterizer = t0; _.displayFactory = t1; _.view = t2; _.currentFrameSize = t3; _.context = t4; _.__ViewRasterizer_viewEmbedder_FI = $; }, OffscreenCanvasViewRasterizer_displayFactory_closure: function OffscreenCanvasViewRasterizer_displayFactory_closure() { }, CkPaint: function CkPaint(t0, t1, t2, t3, t4, t5) { var _ = this; _.skiaObject = t0; _.__CkPaint__ref_F = $; _.__engine$_imageFilter = null; _.__engine$_blendMode = t1; _._style = t2; _._strokeWidth = 0; _._strokeCap = t3; _._strokeJoin = t4; _._isAntiAlias = true; _.__engine$_color = 4278190080; _.__engine$_invertColors = false; _._ckMaskFilter = _._maskFilter = _._shader = _._originalColorFilter = null; _.__engine$_filterQuality = t5; _._effectiveColorFilter = _._engineColorFilter = null; }, CkPaint_imageFilter_closure: function CkPaint_imageFilter_closure(t0) { this.$this = t0; }, CkPath: function CkPath(t0) { this.__CkPath__ref_F = $; this._fillType = t0; }, CkPicture: function CkPicture() { this.__CkPicture__ref_F = $; this._isDisposed = false; this._debugDisposalStackTrace = null; }, CkPictureRecorder: function CkPictureRecorder() { this._recordingCanvas = this._skRecorder = null; }, Rasterizer: function Rasterizer() { }, ViewRasterizer: function ViewRasterizer() { }, DisplayCanvas: function DisplayCanvas() { }, RenderCanvas: function RenderCanvas(t0, t1) { var _ = this; _.hostElement = t0; _.canvasElement = t1; _._pixelHeight = _._pixelWidth = 0; _.__RenderCanvas_renderContext2d_FI = _.__RenderCanvas_renderContext_FI = $; _._currentDevicePixelRatio = -1; }, CanvasKitVariant: function CanvasKitVariant(t0, t1) { this.index = t0; this._core$_name = t1; }, CanvasKitRenderer: function CanvasKitRenderer(t0, t1, t2) { var _ = this; _._initialized = null; _.__CanvasKitRenderer__fontCollection_FI = $; _._rasterizer = t0; _.pictureToImageSurface = t1; _._onViewDisposedListener = _._onViewCreatedListener = null; _._rasterizers = t2; }, CanvasKitRenderer_initialize_closure: function CanvasKitRenderer_initialize_closure(t0) { this.$this = t0; }, SimpleCkShader: function SimpleCkShader() { }, CkGradientLinear: function CkGradientLinear(t0, t1, t2, t3, t4, t5) { var _ = this; _.from = t0; _.to = t1; _.colors = t2; _.colorStops = t3; _.tileMode = t4; _.matrix4 = t5; _.__SimpleCkShader__ref_F = $; }, Surface: function Surface(t0, t1, t2) { var _ = this; _._surface = null; _.useOffscreenCanvas = t0; _.isDisplayCanvas = t1; _._forceNewContext = true; _._contextLost = false; _._canvasElement = _._offscreenCanvas = _._skiaCacheBytes = _._glContext = _._grContext = _._cachedContextRestoredListener = _._cachedContextLostListener = null; _.hostElement = t2; _._stencilBits = _._sampleCount = _._currentDevicePixelRatio = _._pixelHeight = _._pixelWidth = -1; _._currentSurfaceSize = _._currentCanvasPhysicalSize = null; }, CkSurface: function CkSurface(t0, t1) { this.surface = t0; this._glContext = t1; this._isDisposed = false; }, CkParagraphStyle: function CkParagraphStyle(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.skParagraphStyle = t0; _._fontFamily = t1; _.__engine$_fontSize = t2; _.__engine$_height = t3; _._fontWeight = t4; _._fontStyle = t5; _._leadingDistribution = t6; }, CkTextStyle: function CkTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { 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; _.leadingDistribution = t14; _.locale = t15; _.background = t16; _.foreground = t17; _.shadows = t18; _.fontFeatures = t19; _.fontVariations = t20; _.__CkTextStyle_skTextStyle_FI = _.__CkTextStyle_effectiveFontFamilies_FI = $; }, CkTextStyle_skTextStyle_closure: function CkTextStyle_skTextStyle_closure(t0) { this.$this = t0; }, CkStrutStyle: function CkStrutStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._fontFamily = t0; _._fontFamilyFallback = t1; _.__engine$_fontSize = t2; _.__engine$_height = t3; _._leading = t4; _._fontWeight = t5; _._fontStyle = t6; _._forceStrutHeight = t7; _._leadingDistribution = t8; }, CkParagraph: function CkParagraph(t0) { var _ = this; _.__CkParagraph__ref_F = $; _._lastLayoutConstraints = -1 / 0; _._paragraphStyle = t0; _._alphabeticBaseline = 0; _._didExceedMaxLines = false; _.__engine$_width = _._minIntrinsicWidth = _._maxIntrinsicWidth = _._longestLine = _._ideographicBaseline = _.__engine$_height = 0; _.__CkParagraph__boxesForPlaceholders_A = $; _._disposed = false; }, CkLineMetrics: function CkLineMetrics(t0) { this.skLineMetrics = t0; }, CkParagraphBuilder: function CkParagraphBuilder(t0, t1, t2, t3) { var _ = this; _._paragraphBuilder = t0; _._style = t1; _._placeholderCount = 0; _._placeholderScales = t2; _._styleStack = t3; }, _getEffectiveFontFamilies_closure: function _getEffectiveFontFamilies_closure(t0) { this.fontFamily = t0; }, IntlSegmenterGranularity: function IntlSegmenterGranularity(t0, t1) { this.index = t0; this._core$_name = t1; }, CanvasKitError: function CanvasKitError(t0) { this.message = t0; }, 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, t1) { this.$this = t0; this.callback = t1; }, ClipboardMessageHandler_getDataMethodCall__closure: function ClipboardMessageHandler_getDataMethodCall__closure(t0) { this.callback = t0; }, ClipboardMessageHandler_hasStringsMethodCall_closure: function ClipboardMessageHandler_hasStringsMethodCall_closure(t0) { this.callback = t0; }, ClipboardMessageHandler_hasStringsMethodCall_closure0: function ClipboardMessageHandler_hasStringsMethodCall_closure0(t0) { this.callback = t0; }, ClipboardMessageHandler_hasStringsMethodCall__closure: function ClipboardMessageHandler_hasStringsMethodCall__closure(t0) { this.callback = t0; }, ClipboardAPICopyStrategy: function ClipboardAPICopyStrategy() { }, ClipboardAPIPasteStrategy: function ClipboardAPIPasteStrategy() { }, ExecCommandCopyStrategy: function ExecCommandCopyStrategy() { }, ExecCommandPasteStrategy: function ExecCommandPasteStrategy() { }, FlutterConfiguration: function FlutterConfiguration() { this._usedLegacyConfigStyle = false; this._configuration = null; }, EngineFlutterDisplay: function EngineFlutterDisplay(t0, t1) { this.id = t0; this.size = t1; this._debugDevicePixelRatioOverride = null; }, ScreenOrientation: function ScreenOrientation() { }, DomConsoleExtension_get_warn_closure: function DomConsoleExtension_get_warn_closure(t0) { this._this = t0; }, DomNavigatorExtension_get_languages_closure: function DomNavigatorExtension_get_languages_closure() { }, HttpFetchResponseImpl: function HttpFetchResponseImpl(t0, t1) { this.url = t0; this._domResponse = t1; }, HttpFetchPayloadImpl: function HttpFetchPayloadImpl(t0) { this._domResponse = t0; }, HttpFetchNoPayloadError: function HttpFetchNoPayloadError(t0, t1) { this.url = t0; this.status = t1; }, HttpFetchError: function HttpFetchError(t0, t1) { this.url = t0; this.requestError = t1; }, DomSubscription: function DomSubscription(t0, t1, t2) { this.type = t0; this.target = t1; this.listener = t2; }, DomPoint: function DomPoint(t0, t1) { this.x = t0; this.y = t1; }, createDomResizeObserver_closure: function createDomResizeObserver_closure(t0) { this.fn = t0; }, _ttPolicy_closure: function _ttPolicy_closure() { }, _DomListIterator: function _DomListIterator(t0, t1) { this.list = t0; this.index = -1; this.$ti = t1; }, _DomListWrapper: function _DomListWrapper(t0, t1) { this.list = t0; this.$ti = t1; }, _DomTouchListIterator: function _DomTouchListIterator(t0, t1) { this.list = t0; this.index = -1; this.$ti = t1; }, _DomTouchListWrapper: function _DomTouchListWrapper(t0, t1) { this.list = t0; this.$ti = t1; }, DomIteratorWrapper: function DomIteratorWrapper(t0, t1) { this.__engine$_iterator = t0; this.__DomIteratorWrapper__current_A = $; this.$ti = t1; }, FlutterViewEmbedder: function FlutterViewEmbedder() { this._resourcesHost = null; }, 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() { }, sendFontChangeMessage_closure: function sendFontChangeMessage_closure() { }, sendFontChangeMessage__closure: function sendFontChangeMessage__closure() { }, FontFallbackManager: function FontFallbackManager(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.registry = t0; _.__FontFallbackManager_downloadQueue_F = $; _.codePointsWithNoKnownFont = t1; _.knownCoveredCodePoints = t2; _.fallbackFonts = t3; _._notoSansSC = t4; _._notoSansTC = t5; _._notoSansHK = t6; _._notoSansJP = t7; _._notoSansKR = t8; _._notoSymbols = t9; _._idleFuture = t10; _.globalFontFallbacks = t11; _._codePointsToCheckAgainstFallbackFonts = t12; _._scheduledCodePointCheck = false; _.__FontFallbackManager_codePointToComponents_FI = _.__FontFallbackManager_fontComponents_FI = $; }, FontFallbackManager$__closure: function FontFallbackManager$__closure() { }, FontFallbackManager$__closure0: function FontFallbackManager$__closure0() { }, FontFallbackManager$__closure1: function FontFallbackManager$__closure1() { }, FontFallbackManager$__closure2: function FontFallbackManager$__closure2() { }, FontFallbackManager$__closure3: function FontFallbackManager$__closure3() { }, FontFallbackManager$__closure4: function FontFallbackManager$__closure4() { }, FontFallbackManager_addMissingCodePoints_closure: function FontFallbackManager_addMissingCodePoints_closure(t0) { this.$this = t0; }, FontFallbackManager_findFontsForMissingCodePoints_closure: function FontFallbackManager_findFontsForMissingCodePoints_closure() { }, FontFallbackManager__selectFont_closure: function FontFallbackManager__selectFont_closure(t0) { this.$this = t0; }, _UnicodePropertyLookup: function _UnicodePropertyLookup(t0, t1, t2) { this._boundaries = t0; this.__engine$_values = t1; this.$ti = t2; }, FallbackFontDownloadQueue: function FallbackFontDownloadQueue(t0, t1, t2) { var _ = this; _.fallbackManager = t0; _.downloadedFonts = t1; _.pendingFonts = t2; _._idleCompleter = null; }, FallbackFontDownloadQueue_startDownloads_closure: function FallbackFontDownloadQueue_startDownloads_closure(t0, t1, t2) { this.$this = t0; this.font = t1; this.downloadedFontFamilies = t2; }, FontAsset: function FontAsset(t0, t1) { this.asset = t0; this.descriptors = t1; }, FontFamily: function FontFamily(t0, t1) { this.name = t0; this.fontAssets = t1; }, FontManifest: function FontManifest(t0) { this.families = t0; }, fetchFontManifest_closure: function fetchFontManifest_closure(t0) { this._box_0 = t0; }, fetchFontManifest_closure0: function fetchFontManifest_closure0(t0) { this.inputSink = t0; }, fetchFontManifest_closure1: function fetchFontManifest_closure1() { }, fetchFontManifest__closure: function fetchFontManifest__closure() { }, FontLoadError: function FontLoadError() { }, FontNotFoundError: function FontNotFoundError(t0) { this.url = t0; }, FontDownloadError: function FontDownloadError(t0, t1) { this.error = t0; this.url = t1; }, FontInvalidDataError: function FontInvalidDataError(t0) { this.url = t0; }, AssetFontsResult: function AssetFontsResult() { }, 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; }, PersistedBackdropFilter: function PersistedBackdropFilter(t0, t1, t2, t3) { var _ = this; _.filter = t0; _._activeClipBounds = _._svgFilter = _._filterElement = _._childContainer = null; _.__PersistedBackdropFilter__invertedTransform_A = $; _._previousTransform = null; _.__engine$_children = t1; _._oldLayer = t2; _.__engine$_index = -1; _.__engine$_state = t3; _.localClipBounds = _.projectedClip = _.transform = _.parent = _.rootElement = null; }, 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; }, SvgBlendMode: function SvgBlendMode(t0) { this.blendMode = t0; }, 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; _.localClipBounds = _.projectedClip = _.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; _.localClipBounds = _.projectedClip = _.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; _.localClipBounds = _.projectedClip = _.transform = _.parent = _.rootElement = null; }, SvgFilterBuilder: function SvgFilterBuilder(t0, t1, t2) { this.id = t0; this.root = t1; this.filter = t2; }, SvgFilter: function SvgFilter(t0, t1) { this.id = t0; this.element = t1; }, DomCanvas: function DomCanvas(t0, t1, t2, t3) { var _ = this; _.rootElement = t0; _.SaveElementStackTracking__saveStack = t1; _.SaveElementStackTracking__elementStack = t2; _.SaveElementStackTracking__currentTransform = t3; }, PersistedImageFilter: function PersistedImageFilter(t0, t1, t2, t3, t4) { var _ = this; _.filter = t0; _.offset = t1; _._childContainer = _._svgFilter = _._localTransformInverse = null; _.__engine$_children = t2; _._oldLayer = t3; _.__engine$_index = -1; _.__engine$_state = t4; _.localClipBounds = _.projectedClip = _.transform = _.parent = _.rootElement = null; }, PersistedOffset: function PersistedOffset(t0, t1, t2, t3, t4) { var _ = this; _.dx = t0; _.dy = t1; _._localTransformInverse = null; _.__engine$_children = t2; _._oldLayer = t3; _.__engine$_index = -1; _.__engine$_state = t4; _.localClipBounds = _.projectedClip = _.transform = _.parent = _.rootElement = null; }, PersistedOpacity: function PersistedOpacity(t0, t1, t2, t3, t4) { var _ = this; _.alpha = t0; _.offset = t1; _._localTransformInverse = null; _.__engine$_children = t2; _._oldLayer = t3; _.__engine$_index = -1; _.__engine$_state = t4; _.localClipBounds = _.projectedClip = _.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; _.color = 4278190080; _.colorFilter = _.filterQuality = _.maskFilter = _.shader = 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; }, 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; }, 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; }, SkQuadCoefficients: function SkQuadCoefficients(t0, t1, t2, t3, t4, t5) { var _ = this; _.ax = t0; _.ay = t1; _.bx = t2; _.by = t3; _.cx = t4; _.cy = t5; }, PathWinding: function PathWinding(t0, t1, t2, t3) { var _ = this; _.pathRef = t0; _.x = t1; _.y = t2; _._onCurveCount = _._w = 0; _._buffer = t3; }, 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; _.localClipBounds = _.projectedClip = _.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; _.platformViewId = t0; _.dx = t1; _.dy = t2; _.width = t3; _.height = t4; _._oldLayer = t5; _.__engine$_index = -1; _.__engine$_state = t6; _.localClipBounds = _.projectedClip = _.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) { var _ = this; _.rect = t0; _.clipOp = t1; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintClipRRect: function PaintClipRRect(t0) { var _ = this; _.rrect = t0; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintClipPath: function PaintClipPath(t0) { var _ = this; _.path = t0; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawLine: function PaintDrawLine(t0, t1, t2) { var _ = this; _.p1 = t0; _.p2 = t1; _.paint = t2; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawPaint: function PaintDrawPaint(t0) { var _ = this; _.paint = t0; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawRect: function PaintDrawRect(t0, t1) { var _ = this; _.rect = t0; _.paint = t1; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawRRect: function PaintDrawRRect(t0, t1) { var _ = this; _.rrect = t0; _.paint = t1; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawDRRect: function PaintDrawDRRect(t0, t1, t2) { var _ = this; _.outer = t0; _.inner = t1; _.paint = t2; _.path = null; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawOval: function PaintDrawOval(t0, t1) { var _ = this; _.rect = t0; _.paint = t1; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawCircle: function PaintDrawCircle(t0, t1, t2) { var _ = this; _.c = t0; _.radius = t1; _.paint = t2; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawPath: function PaintDrawPath(t0, t1) { var _ = this; _.path = t0; _.paint = t1; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawShadow: function PaintDrawShadow(t0, t1, t2, t3) { var _ = this; _.path = t0; _.color = t1; _.elevation = t2; _.transparentOccluder = t3; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawImageRect: function PaintDrawImageRect(t0, t1, t2, t3) { var _ = this; _.image = t0; _.src = t1; _.dst = t2; _.paint = t3; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, PaintDrawParagraph: function PaintDrawParagraph(t0, t1) { var _ = this; _.paragraph = t0; _.offset = t1; _.isClippedOut = false; _.topBound = _.leftBound = -1 / 0; _.bottomBound = _.rightBound = 1 / 0; }, _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; _.isInsideSvgFilterTree = _.hasArbitraryPaint = _.hasParagraphs = _.hasImageElements = false; }, _WebGlRenderer: function _WebGlRenderer() { }, HtmlRenderer: function HtmlRenderer() { this.__HtmlRenderer__fontCollection_FI = $; }, HtmlRenderer_initialize_closure: function HtmlRenderer_initialize_closure() { }, HtmlRenderer_decodeImageFromPixels_executeCallback: function HtmlRenderer_decodeImageFromPixels_executeCallback(t0) { this.callback = t0; }, HtmlRenderer_decodeImageFromPixels_executeCallback_closure: function HtmlRenderer_decodeImageFromPixels_executeCallback_closure(t0) { this.callback = t0; }, SurfaceScene: function SurfaceScene(t0) { this.webOnlyRootElement = t0; }, PersistedScene: function PersistedScene(t0, t1, t2) { var _ = this; _._localTransformInverse = null; _.__engine$_children = t0; _._oldLayer = t1; _.__engine$_index = -1; _.__engine$_state = t2; _.localClipBounds = _.projectedClip = _.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, t4) { var _ = this; _._thresholds = t0; _._bias = t1; _.__engine$_scale = t2; _.thresholdCount = t3; _.isOpaque = t4; }, NormalizedGradient_NormalizedGradient_closure: function NormalizedGradient_NormalizedGradient_closure() { }, SharedCanvas: function SharedCanvas() { this.__engine$_canvas = null; this._checkedOut = false; }, 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; }, GradientLinear_createImageBitmap_closure: function GradientLinear_createImageBitmap_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.createDataUrl = t0; _.shaderBounds = t1; _.gl = t2; _.glProgram = t3; _.normalizedGradient = t4; _.widthInPixels = t5; _.heightInPixels = t6; }, EngineImageFilter: function EngineImageFilter() { }, _BlurEngineImageFilter: function _BlurEngineImageFilter(t0, t1, t2) { this.sigmaX = t0; this.sigmaY = t1; this.tileMode = t2; }, _MatrixEngineImageFilter: function _MatrixEngineImageFilter(t0, t1) { this.webMatrix = t0; this.filterQuality = t1; }, EngineHtmlColorFilter: function EngineHtmlColorFilter() { }, ModeHtmlColorFilter: function ModeHtmlColorFilter(t0, t1) { this.color = t0; this.blendMode = t1; this.filterId = null; }, MatrixHtmlColorFilter: function MatrixHtmlColorFilter() { }, 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; _._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, t1) { this.index = t0; this._core$_name = t1; }, 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; }, PrerollSurfaceContext: function PrerollSurfaceContext() { }, PersistedTransform: function PersistedTransform(t0, t1, t2, t3) { var _ = this; _._matrixStorage = t0; _._localTransformInverse = _._matrix4 = null; _.__engine$_children = t1; _._oldLayer = t2; _.__engine$_index = -1; _.__engine$_state = t3; _.localClipBounds = _.projectedClip = _.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_closure: function HtmlCodec__decodeUsingOnLoad_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.imgElement = t1; _.errorListener = t2; _.completer = t3; }, HtmlCodec__decodeUsingOnLoad_closure0: function HtmlCodec__decodeUsingOnLoad_closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.imgElement = t2; _.errorListener = 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; _._disposed = _._didClone = false; _.width = t1; _.height = t2; }, BrowserImageDecoder: function BrowserImageDecoder() { }, BrowserImageDecoder__cacheExpirationClock_closure: function BrowserImageDecoder__cacheExpirationClock_closure() { }, BrowserImageDecoder__getOrCreateWebDecoder_closure: function BrowserImageDecoder__getOrCreateWebDecoder_closure(t0) { this.$this = t0; }, AnimatedImageFrameInfo: function AnimatedImageFrameInfo(t0, t1) { this.duration = t0; this.image = t1; }, ImageFileFormat: function ImageFileFormat(t0, t1) { this.header = t0; this.contentType = t1; }, DebugEngineInitializationState: function DebugEngineInitializationState(t0, t1) { this.index = t0; this._core$_name = t1; }, initializeEngineServices_closure: function initializeEngineServices_closure() { }, initializeEngineServices_closure0: function initializeEngineServices_closure0(t0) { this._box_0 = t0; }, initializeEngineServices__closure: function initializeEngineServices__closure(t0) { this._box_0 = t0; }, initializeEngineServices_initializeRendererCallback: function initializeEngineServices_initializeRendererCallback() { }, FlutterApp__staticInteropFactoryStub_closure: function FlutterApp__staticInteropFactoryStub_closure(t0) { this.addView = t0; }, FlutterApp__staticInteropFactoryStub_closure0: function FlutterApp__staticInteropFactoryStub_closure0(t0) { this.removeView = t0; }, FlutterEngineInitializer__staticInteropFactoryStub_closure: function FlutterEngineInitializer__staticInteropFactoryStub_closure(t0) { this.initializeEngine = t0; }, FlutterEngineInitializer__staticInteropFactoryStub_closure0: function FlutterEngineInitializer__staticInteropFactoryStub_closure0(t0) { this.autoStart = t0; }, FlutterAppRunner__staticInteropFactoryStub_closure: function FlutterAppRunner__staticInteropFactoryStub_closure(t0) { this.runApp = t0; }, futureToPromise_closure: function futureToPromise_closure(t0, t1) { this.future = t0; this.T = t1; }, futureToPromise__closure: function futureToPromise__closure(t0, t1) { this.resolver = t0; this.T = t1; }, futureToPromise__closure0: function futureToPromise__closure0(t0) { this.rejecter = 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() { }, _cached_closure: function _cached_closure(t0, t1, t2) { this._box_0 = t0; this.body = t1; this.T = t2; }, KeyboardBinding: function KeyboardBinding(t0) { this.__KeyboardBinding__converter_FI = $; this._listeners = t0; }, KeyboardBinding$__closure: function KeyboardBinding$__closure(t0) { this.$this = t0; }, KeyboardBinding$__closure0: function KeyboardBinding$__closure0(t0) { this.$this = t0; }, KeyboardBinding__addEventListener_loggedHandler: function KeyboardBinding__addEventListener_loggedHandler(t0) { this.handler = t0; }, KeyboardBinding__onKeyData_closure: function KeyboardBinding__onKeyData_closure(t0) { this._box_0 = t0; }, FlutterHtmlKeyboardEvent: function FlutterHtmlKeyboardEvent(t0) { this._event = t0; }, KeyboardConverter: function KeyboardConverter(t0, t1, t2, t3, t4) { var _ = this; _.performDispatchKeyData = t0; _.onDarwin = t1; _._mapping = t2; _._dispatchKeyData = null; _._disposed = false; _._pressingRecords = t3; _._keyGuards = t4; }, 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) { this.currentTimeStamp = t0; this.physicalKey = t1; this.logicalKey = t2; }, 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, t4) { var _ = this; _.$this = t0; _.eventKey = t1; _.event = t2; _.logicalKeyIsCharacter = t3; _.physicalKey = t4; }, 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, t3) { var _ = this; _.$this = t0; _.logicalKey = t1; _.event = t2; _.timeStamp = t3; }, KeyboardConverter__handleEvent__closure: function KeyboardConverter__handleEvent__closure(t0, t1, t2) { this.$this = t0; this.testeeLogicalKey = t1; this.timeStamp = t2; }, KeyboardConverter_handleEvent_closure: function KeyboardConverter_handleEvent_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, ContextMenu: function ContextMenu(t0) { this.element = t0; this._enabled = true; }, MouseCursor: function MouseCursor() { }, preventDefaultListener_closure: function preventDefaultListener_closure() { }, BrowserHistory: function BrowserHistory() { }, MultiEntriesBrowserHistory: function MultiEntriesBrowserHistory(t0) { var _ = this; _.urlStrategy = t0; _.__BrowserHistory__unsubscribe_A = _.__MultiEntriesBrowserHistory__lastSeenSerialCount_A = $; _._isDisposed = _._isTornDown = false; }, MultiEntriesBrowserHistory_onPopState_closure: function MultiEntriesBrowserHistory_onPopState_closure() { }, SingleEntryBrowserHistory: function SingleEntryBrowserHistory(t0, t1) { var _ = this; _.urlStrategy = t0; _._flutterState = t1; _._userProvidedRouteName = null; _.__BrowserHistory__unsubscribe_A = $; _._isDisposed = _._isTornDown = false; }, SingleEntryBrowserHistory_onPopState_closure: function SingleEntryBrowserHistory_onPopState_closure() { }, SingleEntryBrowserHistory_onPopState_closure0: function SingleEntryBrowserHistory_onPopState_closure0() { }, NotoFont: function NotoFont(t0, t1, t2, t3, t4) { var _ = this; _.name = t0; _.url = t1; _.enabled = t2; _.index = t3; _.coverCount = 0; _.coverComponents = t4; }, FallbackFontComponent: function FallbackFontComponent(t0) { this._allFonts = t0; this.__FallbackFontComponent__activeFonts_FI = $; this.coverCount = 0; }, FallbackFontComponent__activeFonts_closure: function FallbackFontComponent__activeFonts_closure() { }, EnginePictureRecorder: function EnginePictureRecorder() { this.__engine$_canvas = null; this.__EnginePictureRecorder_cullRect_A = $; this._isRecording = false; }, EnginePicture: function EnginePicture(t0) { this._disposed = false; this.recordingCanvas = t0; }, HighContrastSupport: function HighContrastSupport(t0, t1) { this._listeners = t0; this._highContrastMediaQuery = t1; this.__HighContrastSupport__onHighContrastChangeListener_FI = $; }, EnginePlatformDispatcher: function EnginePlatformDispatcher(t0, t1, t2, t3) { var _ = this; _.configuration = t0; _.displays = t1; _.__EnginePlatformDispatcher_viewManager_FI = $; _._onTextScaleFactorChangedZone = _._onTextScaleFactorChanged = _._fontSizeObserver = _._onLocaleChangedZone = _._onLocaleChanged = _._onLocaleChangedSubscription = _._onReportTimingsZone = _._onReportTimings = _._onKeyDataZone = _._onKeyData = _._onPointerDataPacketZone = _._onPointerDataPacket = _._onDrawFrameZone = _._onDrawFrame = _._onBeginFrameZone = _._onBeginFrame = _._viewsRenderedInCurrentFrame = _._onMetricsChangedZone = _._onMetricsChanged = null; _._brightnessMediaQuery = t2; _._onSemanticsActionEvent = _._onSemanticsEnabledChangedZone = _._onSemanticsEnabledChanged = _._onPlatformBrightnessChangedZone = _._onPlatformBrightnessChanged = _._brightnessMediaQueryListener = null; _._onSemanticsActionEventZone = t3; _._defaultRouteName = null; }, EnginePlatformDispatcher_closure: function EnginePlatformDispatcher_closure(t0) { this.$this = t0; }, EnginePlatformDispatcher_invokeOnKeyData_closure: function EnginePlatformDispatcher_invokeOnKeyData_closure(t0, t1, t2) { this.callback = t0; this.onKeyData = t1; this.data = t2; }, 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__addLocaleChangedListener_closure: function EnginePlatformDispatcher__addLocaleChangedListener_closure(t0) { this.$this = t0; }, EnginePlatformDispatcher__addFontSizeObserver_closure: function EnginePlatformDispatcher__addFontSizeObserver_closure(t0) { this.$this = t0; }, EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure: function EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure(t0) { this.$this = t0; }, EnginePlatformDispatcher_replyToPlatformMessage_closure: function EnginePlatformDispatcher_replyToPlatformMessage_closure(t0, t1) { this.callback = t0; this.data = t1; }, invoke2_closure: function invoke2_closure(t0, t1, t2) { this.callback = t0; this.arg1 = t1; this.arg2 = t2; }, ViewConfiguration0: function ViewConfiguration0() { }, PlatformConfiguration: function PlatformConfiguration(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.accessibilityFeatures = t0; _.alwaysUse24HourFormat = t1; _.semanticsEnabled = t2; _.platformBrightness = t3; _.textScaleFactor = t4; _.locales = t5; _.defaultRouteName = t6; _.systemFontFamily = t7; }, PlatformViewManager: function PlatformViewManager(t0, t1, t2, t3) { var _ = this; _._factories = t0; _.__engine$_contents = t1; _._invisibleViews = t2; _._viewIdToType = t3; }, PlatformViewManager_renderContent_closure: function PlatformViewManager_renderContent_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.viewId = t1; _.slotName = t2; _.viewType = t3; _.params = t4; }, PlatformViewMessageHandler: function PlatformViewMessageHandler(t0) { this._contentManager = t0; }, SafariPointerEventWorkaround: function SafariPointerEventWorkaround() { this._listener = null; }, SafariPointerEventWorkaround_workAroundMissingPointerEvents_closure: function SafariPointerEventWorkaround_workAroundMissingPointerEvents_closure() { }, PointerBinding: function PointerBinding(t0, t1, t2) { var _ = this; _._safariWorkaround = null; _.view = t0; _._pointerDataConverter = t1; _._keyboardConverter = t2; _.__PointerBinding__adapter_A = $; }, ClickDebouncer: function ClickDebouncer() { this._lastFlushedPointerUpTimeStamp = this.__engine$_state = null; }, PointerSupportDetector: function PointerSupportDetector() { }, _Listener: function _Listener(t0, t1, t2) { this.event = t0; this.target = t1; this.handler = t2; }, _BaseAdapter: function _BaseAdapter() { }, _BaseAdapter_addEventListener_loggedHandler: function _BaseAdapter_addEventListener_loggedHandler(t0) { this.handler = t0; }, _WheelEventListenerMixin: function _WheelEventListenerMixin() { }, _SanitizedDetails: function _SanitizedDetails(t0, t1) { this.change = t0; this.buttons = t1; }, _ButtonSanitizer: function _ButtonSanitizer() { this._pressedButtons = 0; }, _PointerAdapter: function _PointerAdapter(t0, t1, t2) { var _ = this; _._sanitizers = t0; _._owner = t1; _._listeners = t2; _._lastWheelEvent = null; _._lastWheelEventWasTrackpad = false; }, _PointerAdapter__ensureSanitizer_closure: function _PointerAdapter__ensureSanitizer_closure() { }, _PointerAdapter__addPointerEventListener_closure: function _PointerAdapter__addPointerEventListener_closure(t0, t1, t2) { this.$this = t0; this.checkModifiers = t1; this.handler = t2; }, _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; }, _PointerAdapter_setup_closure4: function _PointerAdapter_setup_closure4(t0) { this.$this = t0; }, _PointerDeviceState: function _PointerDeviceState(t0, t1) { this._pointer = null; this.x = t0; this.y = t1; }, _GlobalPointerState: function _GlobalPointerState(t0) { this.pointers = t0; this.activeButtons = 0; }, _GlobalPointerState_ensurePointerDeviceState_closure: function _GlobalPointerState_ensurePointerDeviceState_closure(t0, t1) { this.x = t0; this.y = t1; }, PointerDataConverter: function PointerDataConverter() { }, Profiler: function Profiler() { }, RawKeyboard: function RawKeyboard(t0, t1) { this._keydownTimers = t0; this._lastMetaState = 0; this._onMacOs = t1; }, RawKeyboard$__closure: function RawKeyboard$__closure(t0) { this.$this = t0; }, RawKeyboard_handleHtmlEvent_closure: function RawKeyboard_handleHtmlEvent_closure(t0, t1, t2) { this.$this = t0; this.timerKey = t1; this.event = t2; }, RawKeyboard_handleHtmlEvent_closure0: function RawKeyboard_handleHtmlEvent_closure0(t0) { this.event = t0; }, 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; _.canvasElement = _.offScreenCanvas = null; _.width = t0; _.height = t1; }, Assertiveness: function Assertiveness(t0, t1) { this.index = t0; this._core$_name = t1; }, AccessibilityAnnouncements: function AccessibilityAnnouncements(t0, t1) { this._politeElement = t0; this._assertiveElement = t1; }, AccessibilityAnnouncements_announce_closure: function AccessibilityAnnouncements_announce_closure(t0) { this.messageElement = t0; }, _CheckableKind: function _CheckableKind(t0, t1) { this.index = t0; this._core$_name = t1; }, Checkable: function Checkable(t0, t1, t2) { var _ = this; _.__engine$_kind = t0; _.__PrimaryRoleManager_element_F = $; _.role = t1; _.semanticsObject = t2; _._focusable = _._secondaryRoleManagers = null; }, Dialog0: function Dialog0(t0, t1) { var _ = this; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, Dialog_closure: function Dialog_closure(t0, t1) { this.$this = t0; this.semanticsObject = t1; }, Dialog__setDefaultFocus_closure: function Dialog__setDefaultFocus_closure() { }, RouteName: function RouteName(t0, t1, t2) { var _ = this; _._dialog = null; _.role = t0; _.semanticsObject = t1; _.owner = t2; _._isDisposed = false; }, RouteName_update_closure: function RouteName_update_closure(t0) { this.$this = t0; }, Focusable: function Focusable(t0, t1, t2, t3) { var _ = this; _._focusManager = t0; _.role = t1; _.semanticsObject = t2; _.owner = t3; _._isDisposed = false; }, AccessibilityFocusManager: function AccessibilityFocusManager(t0) { this._owner = t0; this._lastSetValue = this.__engine$_target = null; }, AccessibilityFocusManager_manage_closure: function AccessibilityFocusManager_manage_closure(t0) { this.$this = t0; }, AccessibilityFocusManager_manage_closure0: function AccessibilityFocusManager_manage_closure0(t0) { this.$this = t0; }, AccessibilityFocusManager_changeFocus_closure: function AccessibilityFocusManager_changeFocus_closure(t0, t1) { this.$this = t0; this.target = t1; }, ImageRoleManager: function ImageRoleManager(t0, t1) { var _ = this; _._auxiliaryImageElement = null; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, Incrementable: function Incrementable(t0, t1, t2, t3) { var _ = this; _.__engine$_element = t0; _._focusManager = t1; _._currentSurrogateValue = 1; _.__Incrementable__gestureModeListener_F = $; _._pendingResync = false; _.__PrimaryRoleManager_element_F = $; _.role = t2; _.semanticsObject = t3; _._focusable = _._secondaryRoleManagers = null; }, 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, t1, t2) { var _ = this; _.role = t0; _.semanticsObject = t1; _.owner = t2; _._isDisposed = false; }, Link: function Link(t0, t1) { var _ = this; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, LiveRegion: function LiveRegion(t0, t1, t2) { var _ = this; _._lastAnnouncement = null; _.role = t0; _.semanticsObject = t1; _.owner = t2; _._isDisposed = false; }, PlatformViewRoleManager: function PlatformViewRoleManager(t0, t1) { var _ = this; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, Scrollable0: function Scrollable0(t0, t1, t2) { var _ = this; _._gestureModeListener = null; _._scrollOverflowElement = t0; _._scrollListener = null; _._effectiveNeutralScrollPosition = 0; _.__PrimaryRoleManager_element_F = $; _.role = t1; _.semanticsObject = t2; _._focusable = _._secondaryRoleManagers = null; }, 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; }, EngineAccessibilityFeatures: function EngineAccessibilityFeatures(t0) { this.__engine$_index = t0; }, SemanticsUpdate: function SemanticsUpdate(t0) { this._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, t22, t23, t24, t25, t26, t27, t28) { var _ = this; _.id = t0; _.flags = t1; _.actions = t2; _.textSelectionBase = t3; _.textSelectionExtent = t4; _.platformViewId = t5; _.scrollChildren = t6; _.scrollIndex = t7; _.scrollPosition = t8; _.scrollExtentMax = t9; _.scrollExtentMin = t10; _.rect = t11; _.label = t12; _.labelAttributes = t13; _.hint = t14; _.hintAttributes = t15; _.value = t16; _.valueAttributes = t17; _.increasedValue = t18; _.increasedValueAttributes = t19; _.decreasedValue = t20; _.decreasedValueAttributes = t21; _.tooltip = t22; _.textDirection = t23; _.transform = t24; _.childrenInTraversalOrder = t25; _.childrenInHitTestOrder = t26; _.additionalActions = t27; _.thickness = t28; }, PrimaryRole: function PrimaryRole(t0, t1) { this.index = t0; this._core$_name = t1; }, Role: function Role(t0, t1) { this.index = t0; this._core$_name = t1; }, PrimaryRoleManager: function PrimaryRoleManager() { }, GenericRole: function GenericRole(t0, t1) { var _ = this; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, RoleManager: function RoleManager() { }, SemanticsObject: function SemanticsObject(t0, t1) { var _ = this; _.__engine$_flags = 0; _.__engine$_tooltip = _._additionalActions = _.__engine$_childrenInHitTestOrder = _._childrenInTraversalOrder = _.__engine$_transform = _.__engine$_textDirection = _._decreasedValueAttributes = _._decreasedValue = _._increasedValueAttributes = _._increasedValue = _._valueAttributes = _.__engine$_value = _._hintAttributes = _._hint = _._labelAttributes = _.__engine$_label = _.__engine$_rect = _.__engine$_scrollExtentMin = _.__engine$_scrollExtentMax = _.__engine$_scrollPosition = _._scrollIndex = _._scrollChildren = _._textSelectionExtent = _._textSelectionBase = _.__engine$_actions = null; _.__engine$_platformViewId = -1; _.id = t0; _.owner = t1; _._dirtyFields = -1; _.primaryRole = _._currentChildrenInRenderOrder = _.__engine$_parent = _._childContainerElement = null; _.horizontalContainerAdjustment = _.verticalContainerAdjustment = 0; _._isDisposed = false; }, AccessibilityMode: function AccessibilityMode(t0, t1) { this.index = t0; this._core$_name = t1; }, GestureMode: function GestureMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SemanticsUpdatePhase: function SemanticsUpdatePhase(t0, t1) { this.index = t0; this._core$_name = t1; }, EngineSemantics: function EngineSemantics(t0, t1, t2, t3) { var _ = this; _._semanticsEnabled = false; _._now = t0; _.semanticsHelper = t1; _._gestureMode = t2; _._gestureModeClock = null; _._gestureModeListeners = t3; }, EngineSemantics__now_closure: function EngineSemantics__now_closure() { }, EngineSemantics__getGestureModeClock_closure: function EngineSemantics__getGestureModeClock_closure(t0) { this.$this = t0; }, EngineSemanticsOwner: function EngineSemanticsOwner(t0, t1, t2, t3, t4, t5) { var _ = this; _.semanticsHost = t0; _._rootSemanticsElement = null; _._phase = t1; _._semanticsTree = t2; _._attachments = t3; _._detachments = t4; _._oneTimePostUpdateCallbacks = t5; _._hasNodeRequestingFocus = false; }, EngineSemanticsOwner_closure: function EngineSemanticsOwner_closure(t0) { this.$this = t0; }, EngineSemanticsOwner__finalizeTree_closure: function EngineSemanticsOwner__finalizeTree_closure(t0, t1) { this.$this = t0; this.removals = t1; }, EnabledState: function EnabledState(t0, t1) { this.index = t0; this._core$_name = t1; }, SemanticsHelper: function SemanticsHelper(t0) { this._semanticsEnabler = t0; }, SemanticsEnabler: function SemanticsEnabler() { }, DesktopSemanticsEnabler: function DesktopSemanticsEnabler() { this._semanticsPlaceholder = null; }, 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; }, Button: function Button(t0, t1) { var _ = this; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, Tappable: function Tappable(t0, t1, t2) { var _ = this; _._clickListener = null; _._isListening = false; _.role = t0; _.semanticsObject = t1; _.owner = t2; _._isDisposed = false; }, Tappable_closure: function Tappable_closure(t0, t1) { this.$this = t0; this.semanticsObject = t1; }, SemanticsTextEditingStrategy: function SemanticsTextEditingStrategy(t0, t1, t2, t3, t4, t5) { var _ = this; _._queuedStyle = _.inputConfig = _.activeTextField = null; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration_A = $; _.onAction = _.onChange = _.geometry = _.style = _._editingDeltaState = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; _.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = t2; _.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = t3; _.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = t4; _.CompositionAwareMixin_composingText = t5; }, TextField0: function TextField0(t0, t1) { var _ = this; _._positionInputElementTimer = _.editableElement = null; _.__PrimaryRoleManager_element_F = $; _.role = t0; _.semanticsObject = t1; _._focusable = _._secondaryRoleManagers = null; }, TextField__initializeForBlink_closure: function TextField__initializeForBlink_closure(t0) { this.$this = t0; }, TextField__initializeForBlink_closure0: function TextField__initializeForBlink_closure0(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__invokeIosWorkaround_closure: function TextField__invokeIosWorkaround_closure(t0) { this.$this = t0; }, TextField__invokeIosWorkaround_closure0: function TextField__invokeIosWorkaround_closure0(t0) { this.$this = t0; }, TextField_update_closure: function TextField_update_closure(t0) { this.$this = t0; }, _TypedDataBuffer: function _TypedDataBuffer() { }, _IntBuffer: function _IntBuffer() { }, Uint8Buffer: function Uint8Buffer(t0, t1) { this._buffer = t0; this.__engine$_length = t1; }, MethodCall: function MethodCall(t0, t1) { this.method = t0; this.$arguments = t1; }, JSONMessageCodec: function JSONMessageCodec() { }, JSONMethodCodec: function JSONMethodCodec() { }, StandardMessageCodec: function StandardMessageCodec() { }, StandardMessageCodec_writeValue_closure: function StandardMessageCodec_writeValue_closure(t0, t1) { this.$this = t0; this.buffer = t1; }, StandardMethodCodec: function StandardMethodCodec() { }, WriteBuffer: function WriteBuffer(t0, t1, t2) { var _ = this; _._debugFinalized = false; _._buffer = t0; _._eightBytes = t1; _._eightBytesAsList = t2; }, ReadBuffer: function ReadBuffer(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; _.canDrawOnCanvas = t3; _.isLaidOut = false; _._lastUsedConstraints = null; _.__CanvasParagraph__paintService_FI = _.__CanvasParagraph__layoutService_FI = $; _._cachedDomElement = null; _._disposed = false; }, CanvasParagraph_computeLineMetrics_closure: function CanvasParagraph_computeLineMetrics_closure() { }, ParagraphSpan: function ParagraphSpan(t0, t1, t2) { this.style = t0; this.start = t1; this.end = t2; }, PlaceholderSpan: function PlaceholderSpan(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.style = t0; _.start = t1; _.end = t2; _.width = t3; _.height = t4; _.alignment = t5; _.baselineOffset = t6; }, 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; _._placeholderCount = 0; _._placeholderScales = t5; _._canDrawOnCanvas = true; }, HtmlFontCollection: function HtmlFontCollection() { }, HtmlFontCollection_loadAssetFonts_closure: function HtmlFontCollection_loadAssetFonts_closure(t0, t1, t2) { this.$this = t0; this.fontAsset = t1; this.family = t2; }, TextFragmenter: function TextFragmenter() { }, TextFragment: function TextFragment() { }, LayoutFragmenter: function LayoutFragmenter(t0, t1) { this.paragraphSpans = t0; this.text = t1; }, _CombinedFragment: function _CombinedFragment() { }, LayoutFragment: function LayoutFragment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _._FragmentBox____FragmentBox__textBoxIncludingTrailingSpaces_FI = t0; _._FragmentBox____FragmentBox_graphemeStartIndexRange_FI = t1; _._FragmentPosition____FragmentPosition__startOffset_A = t2; _._FragmentPosition____FragmentPosition_line_A = t3; _._FragmentMetrics____FragmentMetrics__spanometer_A = t4; _._FragmentMetrics____FragmentMetrics__ascent_A = t5; _._FragmentMetrics____FragmentMetrics__descent_A = t6; _._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A = t7; _._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A = t8; _._FragmentMetrics__extraWidthForJustification = t9; _.type = t10; _.__engine$_textDirection = t11; _.fragmentFlow = t12; _.span = t13; _.trailingNewlines = t14; _.trailingSpaces = t15; _.start = t16; _.end = t17; }, _FragmentMetrics: function _FragmentMetrics() { }, _FragmentPosition: function _FragmentPosition() { }, _FragmentBox: function _FragmentBox() { }, EllipsisFragment: function EllipsisFragment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _._FragmentBox____FragmentBox__textBoxIncludingTrailingSpaces_FI = t0; _._FragmentBox____FragmentBox_graphemeStartIndexRange_FI = t1; _._FragmentPosition____FragmentPosition__startOffset_A = t2; _._FragmentPosition____FragmentPosition_line_A = t3; _._FragmentMetrics____FragmentMetrics__spanometer_A = t4; _._FragmentMetrics____FragmentMetrics__ascent_A = t5; _._FragmentMetrics____FragmentMetrics__descent_A = t6; _._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A = t7; _._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A = t8; _._FragmentMetrics__extraWidthForJustification = t9; _.type = t10; _.__engine$_textDirection = t11; _.fragmentFlow = t12; _.span = t13; _.trailingNewlines = t14; _.trailingSpaces = t15; _.start = t16; _.end = t17; }, TextLayoutService: function TextLayoutService(t0, t1, t2) { var _ = this; _.paragraph = t0; _.width = -1; _.height = 0; _.longestLine = null; _.maxIntrinsicWidth = _.minIntrinsicWidth = 0; _.ideographicBaseline = _.alphabeticBaseline = -1; _.didExceedMaxLines = false; _.lines = t1; _._paintBounds = t2; _.__TextLayoutService_layoutFragmenter_FI = _.__TextLayoutService_spanometer_FI = $; }, LineBuilder: function LineBuilder(t0, t1, t2, t3, t4, t5) { var _ = this; _._fragments = t0; _._fragmentsForNextLine = null; _.maxWidth = t1; _.paragraph = t2; _.spanometer = t3; _.lineNumber = t4; _.accumulatedHeight = t5; _.descent = _.ascent = _.widthIncludingSpace = _.width = 0; _._lastBreakableFragment = -1; _._trailingSpaces = _._spaceCount = _._breakCount = 0; }, Spanometer: function Spanometer(t0) { this.paragraph = t0; this._currentSpan = this._currentRuler = null; }, LineBreakType: function LineBreakType(t0, t1) { this.index = t0; this._core$_name = t1; }, FWLineBreakFragmenter: function FWLineBreakFragmenter(t0) { this.text = t0; }, V8LineBreakFragmenter: function V8LineBreakFragmenter(t0, t1) { this._v8BreakIterator = t0; this.text = t1; }, LineBreakFragment: function LineBreakFragment(t0, t1, t2, t3, t4) { var _ = this; _.type = t0; _.trailingNewlines = t1; _.trailingSpaces = t2; _.start = t3; _.end = t4; }, _computeLineBreakFragments_setBreak: function _computeLineBreakFragments_setBreak(t0, t1, t2) { this._box_0 = t0; this.text = t1; this.fragments = t2; }, RulerHost: function RulerHost(t0) { this._rulerHost = t0; }, TextPaintService: function TextPaintService(t0) { this.paragraph = t0; }, EngineLineMetrics: function EngineLineMetrics(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.hardBreak = t0; _.ascent = t1; _.descent = t2; _.unscaledAscent = t3; _.height = t4; _.width = t5; _.left = t6; _.baseline = t7; _.lineNumber = t8; }, ParagraphLine: function ParagraphLine(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.lineMetrics = t0; _.startIndex = t1; _.endIndex = t2; _.__ParagraphLine_visibleEndIndex_FI = $; _.trailingNewlines = t3; _.trailingSpaces = t4; _.spaceCount = t5; _.widthWithTrailingSpaces = t6; _.fragments = t7; _.textDirection = t8; _.paragraph = t9; _.__ParagraphLine_graphemeStarts_FI = $; }, EngineParagraphStyle: function EngineParagraphStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.textAlign = t0; _.textDirection = t1; _.fontWeight = t2; _.fontStyle = t3; _.maxLines = t4; _.fontFamily = t5; _.fontSize = t6; _.height = t7; _._textHeightBehavior = t8; _.ellipsis = t9; _.locale = t10; }, EngineTextStyle: function EngineTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.color = t0; _.decoration = t1; _.decorationColor = t2; _.decorationStyle = t3; _.decorationThickness = t4; _.fontWeight = t5; _.fontStyle = t6; _.textBaseline = t7; _.isFontFamilyProvided = t8; _.fontFamily = t9; _.fontFamilyFallback = t10; _.fontFeatures = t11; _.fontVariations = t12; _.fontSize = t13; _.letterSpacing = t14; _.wordSpacing = t15; _.height = t16; _.leadingDistribution = t17; _.locale = t18; _.background = t19; _.foreground = t20; _.shadows = t21; _._cssFontString = null; _.__EngineTextStyle_heightStyle_FI = $; }, EngineStrutStyle: function EngineStrutStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._fontFamily = t0; _._fontFamilyFallback = t1; _.__engine$_fontSize = t2; _.__engine$_height = t3; _._leading = t4; _._fontWeight = t5; _._fontStyle = t6; _._forceStrutHeight = t7; _._leadingDistribution = t8; }, ParagraphPlaceholder: function ParagraphPlaceholder() { }, TextHeightStyle: function TextHeightStyle(t0, t1, t2, t3, t4) { var _ = this; _.fontFamily = t0; _.fontSize = t1; _.height = t2; _.fontFeatures = t3; _.fontVariations = t4; _.__TextHeightStyle_hashCode_FI = $; }, 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_FI = _.__TextHeightRuler__probe_FI = $; _._dimensions = t2; _.__TextHeightRuler_height_FI = _.__TextHeightRuler_alphabeticBaseline_FI = $; }, FragmentFlow: function FragmentFlow(t0, t1) { this.index = t0; this._core$_name = t1; }, BidiFragment: function BidiFragment(t0, t1, t2, t3) { var _ = this; _.textDirection = t0; _.fragmentFlow = t1; _.start = t2; _.end = t3; }, _ComparisonResult: function _ComparisonResult(t0, t1) { this.index = t0; this._core$_name = t1; }, 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; }, _FindBreakDirection: function _FindBreakDirection(t0, t1, t2) { this.step = t0; this.index = t1; this._core$_name = t2; }, BrowserAutofillHints: function BrowserAutofillHints(t0) { this._flutterToEngineMap = t0; }, CompositionAwareMixin: function CompositionAwareMixin() { }, EngineInputAction: function EngineInputAction() { }, NoInputAction: function NoInputAction() { }, EnterInputAction: function EnterInputAction() { }, DoneInputAction: function DoneInputAction() { }, GoInputAction: function GoInputAction() { }, NextInputAction: function NextInputAction() { }, PreviousInputAction: function PreviousInputAction() { }, SearchInputAction: function SearchInputAction() { }, SendInputAction: function SendInputAction() { }, EngineInputType: function EngineInputType() { }, NoTextInputType: function NoTextInputType() { }, 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, t1) { this.index = t0; this._core$_name = t1; }, TextCapitalizationConfig: function TextCapitalizationConfig(t0) { this.textCapitalization = t0; }, EngineAutofillForm: function EngineAutofillForm(t0, t1, t2, t3, t4) { var _ = this; _.formElement = t0; _.elements = t1; _.items = t2; _.insertionReferenceNode = t3; _.formIdentifier = t4; }, EngineAutofillForm_addInputEventListeners_addSubscriptionForKey: function EngineAutofillForm_addInputEventListeners_addSubscriptionForKey(t0, t1) { this.$this = t0; this.subscriptions = t1; }, EngineAutofillForm_addInputEventListeners_addSubscriptionForKey_closure: function EngineAutofillForm_addInputEventListeners_addSubscriptionForKey_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; _.autofillHint = t2; _.placeholder = t3; }, TextEditingDeltaState: function TextEditingDeltaState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.oldText = t0; _.deltaText = t1; _.deltaStart = t2; _.deltaEnd = t3; _.baseOffset = t4; _.extentOffset = t5; _.composingOffset = t6; _.composingExtent = t7; }, EditingState: function EditingState(t0, t1, t2, t3, t4) { var _ = this; _.text = t0; _.baseOffset = t1; _.extentOffset = t2; _.composingBaseOffset = t3; _.composingExtentOffset = t4; }, InputConfiguration: function InputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.inputType = t0; _.inputAction = t1; _.readOnly = t2; _.obscureText = t3; _.autocorrect = t4; _.enableDeltaModel = t5; _.autofill = t6; _.autofillGroup = t7; _.textCapitalization = t8; }, GloballyPositionedTextEditingStrategy: function GloballyPositionedTextEditingStrategy(t0, t1, t2, t3, t4, t5) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration_A = $; _.onAction = _.onChange = _.geometry = _.style = _._editingDeltaState = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; _.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = t2; _.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = t3; _.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = t4; _.CompositionAwareMixin_composingText = t5; }, SafariDesktopTextEditingStrategy: function SafariDesktopTextEditingStrategy(t0, t1, t2, t3, t4, t5) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration_A = $; _.onAction = _.onChange = _.geometry = _.style = _._editingDeltaState = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; _.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = t2; _.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = t3; _.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = t4; _.CompositionAwareMixin_composingText = t5; }, SafariDesktopTextEditingStrategy_placeElement_closure: function SafariDesktopTextEditingStrategy_placeElement_closure(t0) { this.$this = t0; }, 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, t2, t3, t4, t5) { var _ = this; _._positionInputElementTimer = null; _._canPosition = true; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration_A = $; _.onAction = _.onChange = _.geometry = _.style = _._editingDeltaState = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; _.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = t2; _.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = t3; _.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = t4; _.CompositionAwareMixin_composingText = t5; }, IOSTextEditingStrategy_addEventHandlers_closure: function IOSTextEditingStrategy_addEventHandlers_closure(t0) { this.$this = t0; }, IOSTextEditingStrategy_addEventHandlers_closure0: function IOSTextEditingStrategy_addEventHandlers_closure0(t0, t1) { this.$this = t0; this.blurWatch = t1; }, 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, t2, t3, t4, t5) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration_A = $; _.onAction = _.onChange = _.geometry = _.style = _._editingDeltaState = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; _.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = t2; _.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = t3; _.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = t4; _.CompositionAwareMixin_composingText = t5; }, AndroidTextEditingStrategy_addEventHandlers_closure: function AndroidTextEditingStrategy_addEventHandlers_closure(t0) { this.$this = t0; }, FirefoxTextEditingStrategy: function FirefoxTextEditingStrategy(t0, t1, t2, t3, t4, t5) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration_A = $; _.onAction = _.onChange = _.geometry = _.style = _._editingDeltaState = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; _.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = t2; _.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = t3; _.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = t4; _.CompositionAwareMixin_composingText = t5; }, 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() { }, TextInputRequestAutofill: function TextInputRequestAutofill() { }, TextInputFinishAutofillContext: function TextInputFinishAutofillContext(t0) { this.saveForm = t0; }, saveForms_closure: function saveForms_closure() { }, TextEditingChannel: function TextEditingChannel(t0) { this.implementation = t0; }, TextEditingChannel_handleTextInput_closure: function TextEditingChannel_handleTextInput_closure(t0) { this.callback = t0; }, HybridTextEditing: function HybridTextEditing() { var _ = this; _.__HybridTextEditing_channel_FI = $; _._clientId = null; _.isEditing = false; _.configuration = null; _.__HybridTextEditing_strategy_FI = $; }, 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; }, EditableTextGeometry_EditableTextGeometry$fromFrameworkMessage_closure: function EditableTextGeometry_EditableTextGeometry$fromFrameworkMessage_closure() { }, TransformKind: function TransformKind(t0, t1) { this.index = t0; this._core$_name = t1; }, bytesToHexString_closure: function bytesToHexString_closure() { }, LruCache: function LruCache(t0, t1, t2, t3) { var _ = this; _.maximumSize = t0; _._itemQueue = t1; _._itemMap = t2; _.$ti = t3; }, Matrix4: function Matrix4(t0) { this._m4storage = t0; }, FastMatrix32: function FastMatrix32(t0) { this.matrix = t0; this.transformedY = this.transformedX = 0; }, CustomElementDimensionsProvider: function CustomElementDimensionsProvider(t0, t1) { this._hostElement = t0; this.__CustomElementDimensionsProvider__hostElementResizeObserver_A = $; this._onResizeStreamController = t1; }, CustomElementDimensionsProvider_closure: function CustomElementDimensionsProvider_closure(t0) { this.$this = t0; }, CustomElementDimensionsProvider__closure: function CustomElementDimensionsProvider__closure() { }, DimensionsProvider: function DimensionsProvider() { }, FullPageDimensionsProvider: function FullPageDimensionsProvider(t0) { this.__FullPageDimensionsProvider__domResizeSubscription_A = $; this._onResizeStreamController = t0; }, DomManager: function DomManager(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.rootElement = t0; _.platformViewsHost = t1; _.renderingHost = t2; _.sceneHost = t3; _.textEditingHost = t4; _.semanticsHost = t5; _.announcementsHost = t6; _._lastSceneElement = null; }, CustomElementEmbeddingStrategy: function CustomElementEmbeddingStrategy(t0) { this._hostElement = t0; this.__CustomElementEmbeddingStrategy__rootElement_F = $; }, CustomElementEmbeddingStrategy_initialize_closure: function CustomElementEmbeddingStrategy_initialize_closure(t0) { this.$this = t0; }, FullPageEmbeddingStrategy: function FullPageEmbeddingStrategy() { }, FullPageEmbeddingStrategy_initialize_closure: function FullPageEmbeddingStrategy_initialize_closure(t0) { this.$this = t0; }, FlutterViewManager: function FlutterViewManager(t0, t1, t2, t3, t4) { var _ = this; _._dispatcher = t0; _._viewData = t1; _._jsViewOptions = t2; _._onViewCreatedController = t3; _._onViewDisposedController = t4; }, _hotRestartCache_closure: function _hotRestartCache_closure() { }, EngineFlutterView: function EngineFlutterView() { }, _EngineFlutterViewImpl: function _EngineFlutterViewImpl(t0, t1, t2, t3, t4) { var _ = this; _.viewId = t0; _.platformDispatcher = t1; _.embeddingStrategy = t2; _.__EngineFlutterView__resizeSubscription_F = $; _.isDisposed = false; _.__EngineFlutterView_semantics_FI = _.__EngineFlutterView_pointerBinding_F = _.__EngineFlutterView_dom_FI = _.__EngineFlutterView_contextMenu_FI = _.__EngineFlutterView_mouseCursor_FI = _.__EngineFlutterView_accessibilityAnnouncements_FI = $; _._physicalSize = null; _._viewInsets = t3; _.dimensionsProvider = t4; }, EngineFlutterWindow: function EngineFlutterWindow(t0, t1, t2, t3, t4, t5) { var _ = this; _._browserHistory = null; _._endOfTheLine = t0; _.viewId = t1; _.platformDispatcher = t2; _.embeddingStrategy = t3; _.__EngineFlutterView__resizeSubscription_F = $; _.isDisposed = false; _.__EngineFlutterView_semantics_FI = _.__EngineFlutterView_pointerBinding_F = _.__EngineFlutterView_dom_FI = _.__EngineFlutterView_contextMenu_FI = _.__EngineFlutterView_mouseCursor_FI = _.__EngineFlutterView_accessibilityAnnouncements_FI = $; _._physicalSize = null; _._viewInsets = t4; _.dimensionsProvider = t5; }, EngineFlutterWindow_handleNavigationMessage_closure: function EngineFlutterWindow_handleNavigationMessage_closure(t0, t1) { this.$this = t0; this.data = t1; }, ViewPadding: function ViewPadding(t0, t1, t2, t3) { var _ = this; _.left = t0; _.top = t1; _.right = t2; _.bottom = t3; }, _DefaultTextEditingStrategy_Object_CompositionAwareMixin: function _DefaultTextEditingStrategy_Object_CompositionAwareMixin() { }, _DomCanvas_EngineCanvas_SaveElementStackTracking: function _DomCanvas_EngineCanvas_SaveElementStackTracking() { }, _LayoutFragment__CombinedFragment__FragmentMetrics: function _LayoutFragment__CombinedFragment__FragmentMetrics() { }, _LayoutFragment__CombinedFragment__FragmentMetrics__FragmentPosition: function _LayoutFragment__CombinedFragment__FragmentMetrics__FragmentPosition() { }, _LayoutFragment__CombinedFragment__FragmentMetrics__FragmentPosition__FragmentBox: function _LayoutFragment__CombinedFragment__FragmentMetrics__FragmentPosition__FragmentBox() { }, _PersistedClipRRect_PersistedContainerSurface__DomClip: function _PersistedClipRRect_PersistedContainerSurface__DomClip() { }, _PersistedClipRect_PersistedContainerSurface__DomClip: function _PersistedClipRect_PersistedContainerSurface__DomClip() { }, __PointerAdapter__BaseAdapter__WheelEventListenerMixin: function __PointerAdapter__BaseAdapter__WheelEventListenerMixin() { }, JS_CONST: function JS_CONST() { }, createSentinel() { return $; }, CastIterable_CastIterable(source, $S, $T) { if ($S._eval$1("EfficientLengthIterable<0>")._is(source)) return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>")); return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>")); }, LateError$fieldNI(fieldName) { return new A.LateError("Field '" + fieldName + "' has not been initialized."); }, LateError$localNI(localName) { return new A.LateError("Local '" + localName + "' has not been initialized."); }, LateError$localAI(localName) { return new A.LateError("Local '" + localName + "' has already been initialized."); }, ReachabilityError$(_message) { return new A.ReachabilityError(_message); }, CodeUnits$(_string) { return new A.CodeUnits(_string); }, hexDigitValue(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(source, index) { var digit1 = A.hexDigitValue(source.charCodeAt(index)), digit2 = A.hexDigitValue(source.charCodeAt(index + 1)); return digit1 * 16 + digit2 - (digit2 & 256); }, SystemHash_combine(hash, value) { hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, SystemHash_finish(hash) { hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, SystemHash_hash2(v1, v2, seed) { return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(seed, v1), v2)); }, SystemHash_hash4(v1, v2, v3, v4, seed) { return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(seed, v1), v2), v3), v4)); }, checkNotNullable(value, $name, $T) { return value; }, isToStringVisiting(object) { var t1, i; for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i) if (object === $.toStringVisiting[i]) return true; return false; }, SubListIterable$(_iterable, _start, _endOrLength, $E) { A.RangeError_checkNotNegative(_start, "start"); if (_endOrLength != null) { A.RangeError_checkNotNegative(_endOrLength, "end"); if (_start > _endOrLength) A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null)); } return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); }, MappedIterable_MappedIterable(iterable, $function, $S, $T) { if (type$.EfficientLengthIterable_dynamic._is(iterable)) return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>")); }, TakeIterable_TakeIterable(iterable, takeCount, $E) { var _s9_ = "takeCount"; A.ArgumentError_checkNotNull(takeCount, _s9_); A.RangeError_checkNotNegative(takeCount, _s9_); if (type$.EfficientLengthIterable_dynamic._is(iterable)) return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>")); return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>")); }, SkipIterable_SkipIterable(iterable, count, $E) { var _s5_ = "count"; if (type$.EfficientLengthIterable_dynamic._is(iterable)) { A.ArgumentError_checkNotNull(count, _s5_); A.RangeError_checkNotNegative(count, _s5_); return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>")); } A.ArgumentError_checkNotNull(count, _s5_); A.RangeError_checkNotNegative(count, _s5_); return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>")); }, FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) { if ($E._eval$1("EfficientLengthIterable<0>")._is(second)) return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>")); return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>")); }, IterableElementError_noElement() { return new A.StateError("No element"); }, IterableElementError_tooMany() { return new A.StateError("Too many elements"); }, IterableElementError_tooFew() { return new A.StateError("Too few elements"); }, Sort__doSort(a, left, right, compare) { if (right - left <= 32) A.Sort__insertionSort(a, left, right, compare); else A.Sort__dualPivotQuicksort(a, left, right, compare); }, Sort__insertionSort(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(a, left, right, compare) { var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2, sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6), index1 = left + sixth, index5 = right - sixth, index3 = B.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); A.Sort__doSort(a, left, less - 2, compare); A.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; } } A.Sort__doSort(a, less, great, compare); } else A.Sort__doSort(a, less, great, compare); }, _CopyingBytesBuilder: function _CopyingBytesBuilder(t0) { this.__internal$_length = 0; this.__internal$_buffer = t0; }, _BytesBuilder: function _BytesBuilder(t0) { this.__internal$_length = 0; this._chunks = 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; }, CastSet: function CastSet(t0, t1, t2) { this._source = t0; this._emptySet = t1; this.$ti = t2; }, CastSet_removeWhere_closure: function CastSet_removeWhere_closure(t0, t1) { this.$this = t0; this.test = 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; }, CastQueue: function CastQueue(t0, t1) { this._source = t0; this.$ti = t1; }, LateError: function LateError(t0) { this._message = t0; }, ReachabilityError: function ReachabilityError(t0) { this._message = t0; }, CodeUnits: function CodeUnits(t0) { this._string = t0; }, nullFuture_closure: function nullFuture_closure() { }, SentinelValue: function SentinelValue() { }, EfficientLengthIterable: function EfficientLengthIterable() { }, ListIterable: function ListIterable() { }, SubListIterable: function SubListIterable(t0, t1, t2, t3) { var _ = this; _.__internal$_iterable = t0; _._start = t1; _._endOrLength = t2; _.$ti = t3; }, ListIterator: function ListIterator(t0, t1, t2) { var _ = this; _.__internal$_iterable = t0; _.__internal$_length = t1; _.__internal$_index = 0; _.__internal$_current = null; _.$ti = t2; }, MappedIterable: function MappedIterable(t0, t1, t2) { this.__internal$_iterable = t0; this._f = t1; this.$ti = t2; }, EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) { this.__internal$_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.__internal$_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.__internal$_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.__internal$_iterable = t0; this._takeCount = t1; this.$ti = t2; }, EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) { this.__internal$_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.__internal$_iterable = t0; this._skipCount = t1; this.$ti = t2; }, EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) { this.__internal$_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.__internal$_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.__internal$_second = t1; this.$ti = t2; }, EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) { this.__internal$_first = t0; this.__internal$_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.__internal$_values = t0; this.$ti = t1; }, ReversedListIterable: function ReversedListIterable(t0, t1) { this._source = t0; this.$ti = t1; }, Symbol: function Symbol(t0) { this._name = t0; }, __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { }, ConstantMap_ConstantMap$from(other, $K, $V) { var allStrings, k, object, index, index0, map, keys = A.List_List$from(new A.LinkedHashMapKeyIterable(other, A._instanceType(other)._eval$1("LinkedHashMapKeyIterable<1>")), true, $K), t1 = keys.length, _i = 0; while (true) { if (!(_i < t1)) { allStrings = true; break; } k = keys[_i]; if (typeof k != "string" || "__proto__" === k) { allStrings = false; break; } ++_i; } if (allStrings) { object = {}; for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) { k = keys[_i]; other.$index(0, k); index0 = index + 1; object[k] = index; } map = new A.ConstantStringMap(object, A.List_List$from(other.get$values(0), true, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>")); map.$keys = keys; return map; } return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>")); }, ConstantMap__throwUnmodifiable() { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map")); }, ConstantSet__throwUnmodifiable() { throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set")); }, instantiate1(f, T1) { var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>")); t1.Instantiation$1(f); return t1; }, unminifyOrTag(rawClassName) { var preserved = init.mangledGlobalNames[rawClassName]; if (preserved != null) return preserved; return rawClassName; }, isJsIndexable(object, record) { var result; if (record != null) { result = record.x; if (result != null) return result; } return type$.JavaScriptIndexingBehavior_dynamic._is(object); }, S(value) { var result; 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"; result = J.toString$0$(value); return result; }, createInvocationMirror($name, internalName, kind, $arguments, argumentNames, types) { return new A.JSInvocationMirror($name, kind, $arguments, argumentNames, types); }, createUnmangledInvocationMirror(symbol, internalName, kind, $arguments, argumentNames, types) { return new A.JSInvocationMirror(symbol, kind, $arguments, argumentNames, types); }, Primitives_objectHashCode(object) { var hash, property = $.Primitives__identityHashCodeProperty; if (property == null) property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode"); hash = object[property]; if (hash == null) { hash = Math.random() * 0x3fffffff | 0; object[property] = hash; } return hash; }, Primitives_parseInt(source, radix) { var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null, 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 A.wrapException(A.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 ((digitsPart.charCodeAt(i) | 32) > maxCharCode) return _null; } return parseInt(source, radix); }, Primitives_parseDouble(source) { var result, trimmed; if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) return null; result = parseFloat(source); if (isNaN(result)) { trimmed = B.JSString_methods.trim$0(source); if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") return result; return null; } return result; }, Primitives_objectTypeName(object) { return A.Primitives__objectTypeNameNewRti(object); }, Primitives__objectTypeNameNewRti(object) { var interceptor, dispatchName, $constructor, constructorName; if (object instanceof A.Object) return A._rtiToString(A.instanceType(object), null); interceptor = J.getInterceptor$(object); if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) { dispatchName = B.C_JS_CONST(object); if (dispatchName !== "Object" && dispatchName !== "") return dispatchName; $constructor = object.constructor; if (typeof $constructor == "function") { constructorName = $constructor.name; if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "") return constructorName; } } return A._rtiToString(A.instanceType(object), null); }, Primitives_safeToString(object) { if (object == null || typeof object == "number" || A._isBool(object)) return J.toString$0$(object); if (typeof object == "string") return JSON.stringify(object); if (object instanceof A.Closure) return object.toString$0(0); if (object instanceof A._Record) return object._toString$1(true); return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; }, Primitives_dateNow() { return Date.now(); }, Primitives_initTicker() { var $window, performance; if ($.Primitives_timerFrequency !== 0) return; $.Primitives_timerFrequency = 1000; if (typeof window == "undefined") return; $window = window; if ($window == null) return; if (!!$window.dartUseDateNowForTicks) return; performance = $window.performance; if (performance == null) return; if (typeof performance.now != "function") return; $.Primitives_timerFrequency = 1000000; $.Primitives_timerTicks = new A.Primitives_initTicker_closure(performance); }, Primitives_currentUri() { if (!!self.location) return self.location.href; return null; }, Primitives__fromCharCodeApply(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(codePoints) { var t1, _i, i, a = A._setArrayType([], type$.JSArray_int); for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) { i = codePoints[_i]; if (!A._isInt(i)) throw A.wrapException(A.argumentErrorValue(i)); if (i <= 65535) a.push(i); else if (i <= 1114111) { a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); a.push(56320 + (i & 1023)); } else throw A.wrapException(A.argumentErrorValue(i)); } return A.Primitives__fromCharCodeApply(a); }, Primitives_stringFromCharCodes(charCodes) { var t1, _i, i; for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) { i = charCodes[_i]; if (!A._isInt(i)) throw A.wrapException(A.argumentErrorValue(i)); if (i < 0) throw A.wrapException(A.argumentErrorValue(i)); if (i > 65535) return A.Primitives_stringFromCodePoints(charCodes); } return A.Primitives__fromCharCodeApply(charCodes); }, Primitives_stringFromNativeUint8List(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(charCode) { var bits; if (0 <= charCode) { if (charCode <= 65535) return String.fromCharCode(charCode); if (charCode <= 1114111) { bits = charCode - 65536; return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320); } } throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null)); }, Primitives_valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { var value, 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(receiver) { if (receiver.date === void 0) receiver.date = new Date(receiver._value); return receiver.date; }, Primitives_getYear(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0; }, Primitives_getMonth(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : A.Primitives_lazyAsJsDate(receiver).getMonth() + 1; }, Primitives_getDay(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : A.Primitives_lazyAsJsDate(receiver).getDate() + 0; }, Primitives_getHours(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : A.Primitives_lazyAsJsDate(receiver).getHours() + 0; }, Primitives_getMinutes(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0; }, Primitives_getSeconds(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0; }, Primitives_getMilliseconds(receiver) { return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0; }, Primitives_getWeekday(receiver) { return B.JSInt_methods.$mod((receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCDay() + 0 : A.Primitives_lazyAsJsDate(receiver).getDay() + 0) + 6, 7) + 1; }, Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) { var $arguments, namedArgumentList, t1 = {}; t1.argumentCount = 0; $arguments = []; namedArgumentList = []; t1.argumentCount = positionalArguments.length; B.JSArray_methods.addAll$1($arguments, positionalArguments); t1.names = ""; if (namedArguments != null && namedArguments.__js_helper$_length !== 0) namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0)); }, Primitives_applyFunction($function, positionalArguments, namedArguments) { var t1, argumentCount, jsStub; if (Array.isArray(positionalArguments)) t1 = namedArguments == null || namedArguments.__js_helper$_length === 0; else t1 = false; if (t1) { argumentCount = positionalArguments.length; if (argumentCount === 0) { if (!!$function.call$0) return $function.call$0(); } else if (argumentCount === 1) { if (!!$function.call$1) return $function.call$1(positionalArguments[0]); } else if (argumentCount === 2) { if (!!$function.call$2) return $function.call$2(positionalArguments[0], positionalArguments[1]); } else if (argumentCount === 3) { if (!!$function.call$3) return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]); } else if (argumentCount === 4) { if (!!$function.call$4) return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]); } else if (argumentCount === 5) if (!!$function.call$5) return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]); jsStub = $function["call" + "$" + argumentCount]; if (jsStub != null) return jsStub.apply($function, positionalArguments); } return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments); }, Primitives__generalApplyFunction($function, positionalArguments, namedArguments) { var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2, $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic), argumentCount = $arguments.length, requiredParameterCount = $function.$requiredArgCount; if (argumentCount < requiredParameterCount) return A.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.__js_helper$_length !== 0) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); if (argumentCount === requiredParameterCount) return jsFunction.apply($function, $arguments); return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); } if (Array.isArray(defaultValues)) { if (namedArguments != null && namedArguments.__js_helper$_length !== 0) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); maxArguments = requiredParameterCount + defaultValues.length; if (argumentCount > maxArguments) return A.Primitives_functionNoSuchMethod($function, $arguments, null); if (argumentCount < maxArguments) { missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount); if ($arguments === positionalArguments) $arguments = A.List_List$of($arguments, true, type$.dynamic); B.JSArray_methods.addAll$1($arguments, missingDefaults); } return jsFunction.apply($function, $arguments); } else { if (argumentCount > requiredParameterCount) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); if ($arguments === positionalArguments) $arguments = A.List_List$of($arguments, true, type$.dynamic); keys = Object.keys(defaultValues); if (namedArguments == null) for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { defaultValue = defaultValues[keys[_i]]; if (B.C__Required === defaultValue) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); B.JSArray_methods.add$1($arguments, defaultValue); } else { for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { t2 = keys[_i]; if (namedArguments.containsKey$1(0, t2)) { ++used; B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2)); } else { defaultValue = defaultValues[t2]; if (B.C__Required === defaultValue) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); B.JSArray_methods.add$1($arguments, defaultValue); } } if (used !== namedArguments.__js_helper$_length) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); } return jsFunction.apply($function, $arguments); } }, diagnoseIndexError(indexable, index) { var $length, _s5_ = "index"; if (!A._isInt(index)) return new A.ArgumentError(true, index, _s5_, null); $length = J.get$length$asx(indexable); if (index < 0 || index >= $length) return A.IndexError$withLength(index, $length, indexable, null, _s5_); return A.RangeError$value(index, _s5_); }, diagnoseRangeError(start, end, $length) { if (start < 0 || start > $length) return A.RangeError$range(start, 0, $length, "start", null); if (end != null) if (end < start || end > $length) return A.RangeError$range(end, start, $length, "end", null); return new A.ArgumentError(true, end, "end", null); }, argumentErrorValue(object) { return new A.ArgumentError(true, object, null, null); }, checkNum(value) { return value; }, wrapException(ex) { return A.initializeExceptionWrapper(new Error(), ex); }, initializeExceptionWrapper(wrapper, ex) { var t1; if (ex == null) ex = new A.TypeError(); wrapper.dartException = ex; t1 = A.toStringWrapper; if ("defineProperty" in Object) { Object.defineProperty(wrapper, "message", {get: t1}); wrapper.name = ""; } else wrapper.toString = t1; return wrapper; }, toStringWrapper() { return J.toString$0$(this.dartException); }, throwExpression(ex) { throw A.wrapException(ex); }, throwExpressionWithWrapper(ex, wrapper) { throw A.initializeExceptionWrapper(wrapper, ex); }, throwConcurrentModificationError(collection) { throw A.wrapException(A.ConcurrentModificationError$(collection)); }, TypeErrorDecoder_extractPattern(message) { var match, $arguments, argumentsExpr, expr, method, receiver; message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$")); match = message.match(/\\\$[a-zA-Z]+\\\$/g); if (match == null) match = A._setArrayType([], 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 A.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(expression) { return function($expr$) { var $argumentsExpr$ = "$arguments$"; try { $expr$.$method$($argumentsExpr$); } catch (e) { return e.message; } }(expression); }, TypeErrorDecoder_provokePropertyErrorOn(expression) { return function($expr$) { try { $expr$.$method$; } catch (e) { return e.message; } }(expression); }, JsNoSuchMethodError$(_message, match) { var t1 = match == null, t2 = t1 ? null : match.method; return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); }, unwrapException(ex) { if (ex == null) return new A.NullThrownFromJavaScriptException(ex); if (ex instanceof A.ExceptionAndStackTrace) return A.saveStackTrace(ex, ex.dartException); if (typeof ex !== "object") return ex; if ("dartException" in ex) return A.saveStackTrace(ex, ex.dartException); return A._unwrapNonDartException(ex); }, saveStackTrace(ex, error) { if (type$.Error._is(error)) if (error.$thrownJsError == null) error.$thrownJsError = ex; return error; }, _unwrapNonDartException(ex) { var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match; if (!("message" in ex)) return ex; message = ex.message; if ("number" in ex && typeof ex.number == "number") { number = ex.number; ieErrorCode = number & 65535; if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) switch (ieErrorCode) { case 438: return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null)); case 445: case 5007: A.S(message); return A.saveStackTrace(ex, new A.NullError()); } } 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 A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match)); else { match = notClosure.matchTypeError$1(message); if (match != null) { match.method = "call"; return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match)); } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null) return A.saveStackTrace(ex, new A.NullError()); } return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : "")); } if (ex instanceof RangeError) { if (typeof message == "string" && message.indexOf("call stack") !== -1) return new A.StackOverflowError(); message = function(ex) { try { return String(ex); } catch (e) { } return null; }(ex); return A.saveStackTrace(ex, new A.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 A.StackOverflowError(); return ex; }, getTraceFromException(exception) { var trace; if (exception instanceof A.ExceptionAndStackTrace) return exception.stackTrace; if (exception == null) return new A._StackTrace(exception); trace = exception.$cachedTrace; if (trace != null) return trace; trace = new A._StackTrace(exception); if (typeof exception === "object") exception.$cachedTrace = trace; return trace; }, objectHashCode(object) { if (object == null) return J.get$hashCode$(object); if (typeof object == "object") return A.Primitives_objectHashCode(object); return J.get$hashCode$(object); }, constantHashCode(key) { if (typeof key == "number") return B.JSNumber_methods.get$hashCode(key); if (key instanceof A._Type) return A.Primitives_objectHashCode(key); if (key instanceof A._Record) return key.get$hashCode(key); if (key instanceof A.Symbol) return key.get$hashCode(0); return A.objectHashCode(key); }, fillLiteralMap(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(values, result) { var index, $length = values.length; for (index = 0; index < $length; ++index) result.add$1(0, values[index]); return result; }, _invokeClosure(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 A.wrapException(A.Exception_Exception("Unsupported number of arguments for wrapped closure")); }, convertDartClosureToJS(closure, arity) { var $function; if (closure == null) return null; $function = closure.$identity; if (!!$function) return $function; $function = A.convertDartClosureToJSUncached(closure, arity); closure.$identity = $function; return $function; }, convertDartClosureToJSUncached(closure, arity) { var entry; switch (arity) { case 0: entry = closure.call$0; break; case 1: entry = closure.call$1; break; case 2: entry = closure.call$2; break; case 3: entry = closure.call$3; break; case 4: entry = closure.call$4; break; default: entry = null; } if (entry != null) return entry.bind(closure); return function(closure, arity, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, arity, a1, a2, a3, a4); }; }(closure, arity, A._invokeClosure); }, Closure_fromTearOff(parameters) { var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName, container = parameters.co, isStatic = parameters.iS, isIntercepted = parameters.iI, needsDirectAccess = parameters.nDA, applyTrampolineIndex = parameters.aI, funsOrNames = parameters.fs, callNames = parameters.cs, $name = funsOrNames[0], callName = callNames[0], $function = container[$name], t1 = parameters.fT; t1.toString; $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype); $prototype.$initialize = $prototype.constructor; $constructor = isStatic ? function static_tear_off() { this.$initialize(); } : function tear_off(a, b) { this.$initialize(a, b); }; $prototype.constructor = $constructor; $constructor.prototype = $prototype; $prototype.$_name = $name; $prototype.$_target = $function; t2 = !isStatic; if (t2) trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess); else { $prototype.$static_name = $name; trampoline = $function; } $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted); $prototype[callName] = trampoline; for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) { stub = funsOrNames[i]; if (typeof stub == "string") { stub0 = container[stub]; stubName = stub; stub = stub0; } else stubName = ""; stubCallName = callNames[i]; if (stubCallName != null) { if (t2) stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess); $prototype[stubCallName] = stub; } if (i === applyTrampolineIndex) applyTrampoline = stub; } $prototype["call*"] = applyTrampoline; $prototype.$requiredArgCount = parameters.rC; $prototype.$defaultValues = parameters.dV; return $constructor; }, Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) { if (typeof functionType == "number") return functionType; if (typeof functionType == "string") { if (isStatic) throw A.wrapException("Cannot compute signature for static tearoff."); return function(recipe, evalOnReceiver) { return function() { return evalOnReceiver(this, recipe); }; }(functionType, A.BoundClosure_evalRecipe); } throw A.wrapException("Error in functionType of tearoff"); }, Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) { var getReceiver = A.BoundClosure_receiverOf; switch (needsDirectAccess ? -1 : arity) { case 0: return function(entry, receiverOf) { return function() { return receiverOf(this)[entry](); }; }(stubName, getReceiver); case 1: return function(entry, receiverOf) { return function(a) { return receiverOf(this)[entry](a); }; }(stubName, getReceiver); case 2: return function(entry, receiverOf) { return function(a, b) { return receiverOf(this)[entry](a, b); }; }(stubName, getReceiver); case 3: return function(entry, receiverOf) { return function(a, b, c) { return receiverOf(this)[entry](a, b, c); }; }(stubName, getReceiver); case 4: return function(entry, receiverOf) { return function(a, b, c, d) { return receiverOf(this)[entry](a, b, c, d); }; }(stubName, getReceiver); case 5: return function(entry, receiverOf) { return function(a, b, c, d, e) { return receiverOf(this)[entry](a, b, c, d, e); }; }(stubName, getReceiver); default: return function(f, receiverOf) { return function() { return f.apply(receiverOf(this), arguments); }; }($function, getReceiver); } }, Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) { if (isIntercepted) return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function); }, Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) { var getReceiver = A.BoundClosure_receiverOf, getInterceptor = A.BoundClosure_interceptorOf; switch (needsDirectAccess ? -1 : arity) { case 0: throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments.")); case 1: return function(entry, interceptorOf, receiverOf) { return function() { return interceptorOf(this)[entry](receiverOf(this)); }; }(stubName, getInterceptor, getReceiver); case 2: return function(entry, interceptorOf, receiverOf) { return function(a) { return interceptorOf(this)[entry](receiverOf(this), a); }; }(stubName, getInterceptor, getReceiver); case 3: return function(entry, interceptorOf, receiverOf) { return function(a, b) { return interceptorOf(this)[entry](receiverOf(this), a, b); }; }(stubName, getInterceptor, getReceiver); case 4: return function(entry, interceptorOf, receiverOf) { return function(a, b, c) { return interceptorOf(this)[entry](receiverOf(this), a, b, c); }; }(stubName, getInterceptor, getReceiver); case 5: return function(entry, interceptorOf, receiverOf) { return function(a, b, c, d) { return interceptorOf(this)[entry](receiverOf(this), a, b, c, d); }; }(stubName, getInterceptor, getReceiver); case 6: return function(entry, interceptorOf, receiverOf) { return function(a, b, c, d, e) { return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e); }; }(stubName, getInterceptor, getReceiver); default: return function(f, interceptorOf, receiverOf) { return function() { var a = [receiverOf(this)]; Array.prototype.push.apply(a, arguments); return f.apply(interceptorOf(this), a); }; }($function, getInterceptor, getReceiver); } }, Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) { var arity, t1; if ($.BoundClosure__interceptorFieldNameCache == null) $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor"); if ($.BoundClosure__receiverFieldNameCache == null) $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver"); arity = $function.length; t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function); return t1; }, closureFromTearOff(parameters) { return A.Closure_fromTearOff(parameters); }, BoundClosure_evalRecipe(closure, recipe) { return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe); }, BoundClosure_receiverOf(closure) { return closure._receiver; }, BoundClosure_interceptorOf(closure) { return closure._interceptor; }, BoundClosure__computeFieldNamed(fieldName) { var t1, i, $name, template = new A.BoundClosure("receiver", "interceptor"), 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 A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null)); }, throwCyclicInit(staticName) { throw A.wrapException(new A._CyclicInitializationError(staticName)); }, getIsolateAffinityTag($name) { return init.getIsolateTag($name); }, staticInteropGlobalContext() { return self; }, LinkedHashMapKeyIterator$(_map, _modifications, $E) { var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications, $E._eval$1("LinkedHashMapKeyIterator<0>")); t1._cell = _map._first; return t1; }, defineProperty(obj, property, value) { Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true}); }, lookupAndCacheInterceptor(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 = A.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 = A.makeLeafDispatchRecord(interceptor); Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); return t1.i; } if (mark === "+") return A.patchInteriorProto(obj, interceptor); if (mark === "*") throw A.wrapException(A.UnimplementedError$(tag)); if (init.leafTags[tag] === true) { t1 = A.makeLeafDispatchRecord(interceptor); Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); return t1.i; } else return A.patchInteriorProto(obj, interceptor); }, patchInteriorProto(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(interceptor) { return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior); }, makeDefaultDispatchRecord(tag, interceptorClass, proto) { var interceptor = interceptorClass.prototype; if (init.leafTags[tag] === true) return A.makeLeafDispatchRecord(interceptor); else return J.makeDispatchRecord(interceptor, proto, null, null); }, initNativeDispatch() { if (true === $.initNativeDispatchFlag) return; $.initNativeDispatchFlag = true; A.initNativeDispatchContinue(); }, initNativeDispatchContinue() { var map, tags, fun, i, tag, proto, record, interceptorClass; $.dispatchRecordsForInstanceTags = Object.create(null); $.interceptorsForUncacheableTags = Object.create(null); A.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 = A.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() { var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag, hooks = B.C_JS_CONST0(); hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks))))))); if (typeof dartNativeDispatchHooksTransformer != "undefined") { transformers = dartNativeDispatchHooksTransformer; if (typeof transformers == "function") transformers = [transformers]; if (Array.isArray(transformers)) 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 A.initHooks_closure(getTag); $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag); $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag); }, applyHooksTransformer(transformer, hooks) { return transformer(hooks) || hooks; }, _RecordN__equalValues(a, b) { var i; for (i = 0; i < a.length; ++i) if (!J.$eq$(a[i], b[i])) return false; return true; }, createRecordTypePredicate(shape, fieldRtis) { var $length = fieldRtis.length, $function = init.rttc["" + $length + ";" + shape]; if ($function == null) return null; if ($length === 0) return $function; if ($length === $function.length) return $function.apply(null, fieldRtis); return $function(fieldRtis); }, JSSyntaxRegExp_makeNative(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 A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null)); }, stringContainsUnchecked(receiver, other, startIndex) { var t1; if (typeof other == "string") return receiver.indexOf(other, startIndex) >= 0; else if (other instanceof A.JSSyntaxRegExp) { t1 = B.JSString_methods.substring$1(receiver, startIndex); return other._nativeRegExp.test(t1); } else return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0); }, escapeReplacement(replacement) { if (replacement.indexOf("$", 0) >= 0) return replacement.replace(/\$/g, "$$$$"); return replacement; }, stringReplaceFirstRE(receiver, regexp, replacement, startIndex) { var match = regexp._execGlobal$2(receiver, startIndex); if (match == null) return receiver; return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement); }, quoteStringForRegExp(string) { if (/[[\]{}()*+?.\\^$|]/.test(string)) return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); return string; }, stringReplaceAllUnchecked(receiver, pattern, replacement) { var nativeRegexp; if (typeof pattern == "string") return A.stringReplaceAllUncheckedString(receiver, pattern, replacement); if (pattern instanceof A.JSSyntaxRegExp) { nativeRegexp = pattern.get$_nativeGlobalVersion(); nativeRegexp.lastIndex = 0; return receiver.replace(nativeRegexp, A.escapeReplacement(replacement)); } return A.stringReplaceAllGeneral(receiver, pattern, replacement); }, stringReplaceAllGeneral(receiver, pattern, replacement) { var t1, startIndex, t2, match; 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 + receiver.substring(startIndex, match.get$start(match)) + replacement; startIndex = match.get$end(match); } t1 = t2 + receiver.substring(startIndex); return t1.charCodeAt(0) == 0 ? t1 : t1; }, stringReplaceAllUncheckedString(receiver, pattern, replacement) { var $length, t1, i; if (pattern === "") { if (receiver === "") return replacement; $length = receiver.length; t1 = "" + replacement; for (i = 0; i < $length; ++i) t1 = t1 + receiver[i] + replacement; return t1.charCodeAt(0) == 0 ? t1 : t1; } if (receiver.indexOf(pattern, 0) < 0) return receiver; if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) return receiver.split(pattern).join(replacement); return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement)); }, _stringIdentity(string) { return string; }, stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { var t1, t2, startIndex, t3, match, t4, t5; for (t1 = pattern.allMatches$1(0, receiver), t1 = new A._AllMatchesIterator(t1._re, t1.__js_helper$_string, t1.__js_helper$_start), t2 = type$.RegExpMatch, startIndex = 0, t3 = ""; t1.moveNext$0();) { match = t1.__js_helper$_current; if (match == null) match = t2._as(match); t4 = match._match; t5 = t4.index; t3 = t3 + A.S(A._stringIdentity(B.JSString_methods.substring$2(receiver, startIndex, t5))) + A.S(onMatch.call$1(match)); startIndex = t5 + t4[0].length; } t1 = t3 + A.S(A._stringIdentity(B.JSString_methods.substring$1(receiver, startIndex))); return t1.charCodeAt(0) == 0 ? t1 : t1; }, stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { var index, t1, matches, match; if (typeof pattern == "string") { index = receiver.indexOf(pattern, startIndex); if (index < 0) return receiver; return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); } if (pattern instanceof A.JSSyntaxRegExp) return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); 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 B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement); }, stringReplaceRangeUnchecked(receiver, start, end, replacement) { return receiver.substring(0, start) + replacement + receiver.substring(end); }, _Record_2: function _Record_2(t0, t1) { this._0 = t0; this._1 = t1; }, _Record_2_cacheSize_max78Tex78tLength: function _Record_2_cacheSize_max78Tex78tLength(t0, t1) { this._0 = t0; this._1 = t1; }, _Record_2_distance_fragment: function _Record_2_distance_fragment(t0, t1) { this._0 = t0; this._1 = t1; }, _Record_2_end_start: function _Record_2_end_start(t0, t1) { this._0 = t0; this._1 = t1; }, _Record_2_key_value: function _Record_2_key_value(t0, t1) { this._0 = t0; this._1 = t1; }, _Record_2_wordEnd_wordStart: function _Record_2_wordEnd_wordStart(t0, t1) { this._0 = t0; this._1 = t1; }, _Record_3_breaks_graphemes_words: function _Record_3_breaks_graphemes_words(t0, t1, t2) { this._0 = t0; this._1 = t1; this._2 = t2; }, _Record_3_data_event_timeStamp: function _Record_3_data_event_timeStamp(t0, t1, t2) { this._0 = t0; this._1 = t1; this._2 = t2; }, _Record_3_large_medium_small: function _Record_3_large_medium_small(t0, t1, t2) { this._0 = t0; this._1 = t1; this._2 = t2; }, _Record_3_queue_target_timer: function _Record_3_queue_target_timer(t0, t1, t2) { this._0 = t0; this._1 = t1; this._2 = t2; }, _Record_3_x78_y_z: function _Record_3_x78_y_z(t0, t1, t2) { this._0 = t0; this._1 = t1; this._2 = t2; }, _Record_4_domBlurListener_domFocusListener_element_semanticsNodeId: function _Record_4_domBlurListener_domFocusListener_element_semanticsNodeId(t0) { this._values = t0; }, 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) { this._jsIndex = t0; this._values = t1; this.$ti = t2; }, _KeysOrValues: function _KeysOrValues(t0, t1) { this._elements = t0; this.$ti = t1; }, _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) { var _ = this; _._elements = t0; _.__js_helper$_length = t1; _.__js_helper$_index = 0; _.__js_helper$_current = null; _.$ti = t2; }, GeneralConstantMap: function GeneralConstantMap(t0, t1) { this._jsData = t0; this.$ti = t1; }, ConstantSet: function ConstantSet() { }, ConstantStringSet: function ConstantStringSet(t0, t1, t2) { this._jsIndex = t0; this.__js_helper$_length = t1; this.$ti = t2; }, GeneralConstantSet: function GeneralConstantSet(t0, t1) { this._elements = 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() { }, 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() { }, Closure0Args: function Closure0Args() { }, Closure2Args: function Closure2Args() { }, TearOffClosure: function TearOffClosure() { }, StaticClosure: function StaticClosure() { }, BoundClosure: function BoundClosure(t0, t1) { this._receiver = t0; this._interceptor = t1; }, _CyclicInitializationError: function _CyclicInitializationError(t0) { this.variableName = t0; }, RuntimeError: function RuntimeError(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; _.__js_helper$_current = _._cell = null; _.$ti = t2; }, JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) { var _ = this; _.__js_helper$_length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; }, JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) { var _ = this; _.__js_helper$_length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; }, 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; }, _Record: function _Record() { }, _Record2: function _Record2() { }, _Record3: function _Record3() { }, _RecordN: function _RecordN() { }, 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.__js_helper$_string = t1; this.__js_helper$_start = t2; }, _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) { var _ = this; _._regExp = t0; _.__js_helper$_string = t1; _._nextIndex = t2; _.__js_helper$_current = null; }, StringMatch: function StringMatch(t0, t1, t2) { this.start = t0; this.input = t1; this.pattern = t2; }, _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) { this._input = t0; this._pattern = t1; this.__js_helper$_index = t2; }, _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) { var _ = this; _._input = t0; _._pattern = t1; _.__js_helper$_index = t2; _.__js_helper$_current = null; }, throwLateFieldADI(fieldName) { A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + string$.x27_has_), new Error()); }, throwUnnamedLateFieldNI() { A.throwExpressionWithWrapper(new A.LateError("Field '' has not been initialized."), new Error()); }, throwUnnamedLateFieldAI() { A.throwExpressionWithWrapper(new A.LateError("Field '' has already been initialized."), new Error()); }, throwUnnamedLateFieldADI() { A.throwExpressionWithWrapper(new A.LateError("Field '' has been assigned during initialization."), new Error()); }, _Cell$named(_name) { var t1 = new A._Cell(_name); return t1.__late_helper$_value = t1; }, _InitializedCell$named(_name, _initializer) { var t1 = new A._InitializedCell(_name, _initializer); return t1.__late_helper$_value = t1; }, _Cell: function _Cell(t0) { this.__late_helper$_name = t0; this.__late_helper$_value = null; }, _InitializedCell: function _InitializedCell(t0, t1) { this.__late_helper$_name = t0; this.__late_helper$_value = null; this._initializer = t1; }, _checkViewArguments(buffer, offsetInBytes, $length) { }, _ensureNativeList(list) { var t1, result, i; if (type$.JSIndexable_dynamic._is(list)) return list; t1 = J.getInterceptor$asx(list); result = A.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(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); return $length == null ? new DataView(buffer, offsetInBytes) : new DataView(buffer, offsetInBytes, $length); }, NativeFloat32List_NativeFloat32List($length) { return new Float32Array($length); }, NativeFloat32List_NativeFloat32List$fromList(elements) { return new Float32Array(A._ensureNativeList(elements)); }, NativeFloat32List_NativeFloat32List$view(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); if ($length == null) $length = B.JSInt_methods._tdivFast$1(buffer.byteLength - offsetInBytes, 4); return new Float32Array(buffer, offsetInBytes, $length); }, NativeFloat64List_NativeFloat64List($length) { return new Float64Array($length); }, NativeFloat64List_NativeFloat64List$view(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); return new Float64Array(buffer, offsetInBytes, $length); }, NativeInt32List_NativeInt32List($length) { return new Int32Array($length); }, NativeInt32List_NativeInt32List$view(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); return new Int32Array(buffer, offsetInBytes, $length); }, NativeInt8List_NativeInt8List$fromList(elements) { return new Int8Array(A._ensureNativeList(elements)); }, NativeUint16List_NativeUint16List$fromList(list) { return new Uint16Array(A._ensureNativeList(list)); }, NativeUint16List_NativeUint16List$view(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); $length = B.JSInt_methods._tdivFast$1(buffer.byteLength - offsetInBytes, 2); return new Uint16Array(buffer, offsetInBytes, $length); }, NativeUint32List_NativeUint32List$view(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); if ($length == null) $length = B.JSInt_methods._tdivFast$1(buffer.byteLength - offsetInBytes, 4); return new Uint32Array(buffer, offsetInBytes, $length); }, NativeUint8List_NativeUint8List($length) { return new Uint8Array($length); }, NativeUint8List_NativeUint8List$view(buffer, offsetInBytes, $length) { A._checkViewArguments(buffer, offsetInBytes, $length); return $length == null ? new Uint8Array(buffer, offsetInBytes) : new Uint8Array(buffer, offsetInBytes, $length); }, _checkValidIndex(index, list, $length) { if (index >>> 0 !== index || index >= $length) throw A.wrapException(A.diagnoseIndexError(list, index)); }, _checkValidRange(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 A.wrapException(A.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(universe, rti) { var question = rti._precomputed1; return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question; }, Rti__getFutureFromFutureOr(universe, rti) { var future = rti._precomputed1; return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; }, Rti__isUnionOfFunctionType(rti) { var kind = rti._kind; if (kind === 6 || kind === 7 || kind === 8) return A.Rti__isUnionOfFunctionType(rti._primary); return kind === 12 || kind === 13; }, Rti__getCanonicalRecipe(rti) { return rti._canonicalRecipe; }, pairwiseIsTest(fieldRtis, values) { var i, $length = values.length; for (i = 0; i < $length; ++i) if (!fieldRtis[i]._is(values[i])) return false; return true; }, findType(recipe) { return A._Universe_eval(init.typeUniverse, recipe, false); }, instantiatedGenericFunctionType(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 = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0); cache.set(key, rti); return rti; }, _substitute(universe, rti, typeArguments, depth) { var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, 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 = A._substitute(universe, baseType, typeArguments, depth); if (substitutedBaseType === baseType) return rti; return A._Universe__lookupStarRti(universe, substitutedBaseType, true); case 7: baseType = rti._primary; substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); if (substitutedBaseType === baseType) return rti; return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true); case 8: baseType = rti._primary; substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth); if (substitutedBaseType === baseType) return rti; return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true); case 9: interfaceTypeArguments = rti._rest; substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth); if (substitutedInterfaceTypeArguments === interfaceTypeArguments) return rti; return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments); case 10: base = rti._primary; substitutedBase = A._substitute(universe, base, typeArguments, depth); $arguments = rti._rest; substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth); if (substitutedBase === base && substitutedArguments === $arguments) return rti; return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); case 11: t1 = rti._primary; fields = rti._rest; substitutedFields = A._substituteArray(universe, fields, typeArguments, depth); if (substitutedFields === fields) return rti; return A._Universe__lookupRecordRti(universe, t1, substitutedFields); case 12: returnType = rti._primary; substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth); functionParameters = rti._rest; substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth); if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters) return rti; return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); case 13: bounds = rti._rest; depth += bounds.length; substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth); base = rti._primary; substitutedBase = A._substitute(universe, base, typeArguments, depth); if (substitutedBounds === bounds && substitutedBase === base) return rti; return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); case 14: index = rti._primary; if (index < depth) return rti; argument = typeArguments[index - depth]; if (argument == null) return rti; return argument; default: throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind)); } }, _substituteArray(universe, rtiArray, typeArguments, depth) { var changed, i, rti, substitutedRti, $length = rtiArray.length, result = A._Utils_newArrayOrEmpty($length); for (changed = false, i = 0; i < $length; ++i) { rti = rtiArray[i]; substitutedRti = A._substitute(universe, rti, typeArguments, depth); if (substitutedRti !== rti) changed = true; result[i] = substitutedRti; } return changed ? result : rtiArray; }, _substituteNamed(universe, namedArray, typeArguments, depth) { var changed, i, t1, t2, rti, substitutedRti, $length = namedArray.length, result = A._Utils_newArrayOrEmpty($length); for (changed = false, i = 0; i < $length; i += 3) { t1 = namedArray[i]; t2 = namedArray[i + 1]; rti = namedArray[i + 2]; substitutedRti = A._substitute(universe, rti, typeArguments, depth); if (substitutedRti !== rti) changed = true; result.splice(i, 3, t1, t2, substitutedRti); } return changed ? result : namedArray; }, _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) { var result, requiredPositional = functionParameters._requiredPositional, substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth), optionalPositional = functionParameters._optionalPositional, substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth), named = functionParameters._named, substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth); if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named) return functionParameters; result = new A._FunctionParameters(); result._requiredPositional = substitutedRequiredPositional; result._optionalPositional = substitutedOptionalPositional; result._named = substitutedNamed; return result; }, _setArrayType(target, rti) { target[init.arrayRti] = rti; return target; }, closureFunctionType(closure) { var signature = closure.$signature; if (signature != null) { if (typeof signature == "number") return A.getTypeFromTypesTable(signature); return closure.$signature(); } return null; }, instanceOrFunctionType(object, testRti) { var rti; if (A.Rti__isUnionOfFunctionType(testRti)) if (object instanceof A.Closure) { rti = A.closureFunctionType(object); if (rti != null) return rti; } return A.instanceType(object); }, instanceType(object) { if (object instanceof A.Object) return A._instanceType(object); if (Array.isArray(object)) return A._arrayInstanceType(object); return A._instanceTypeFromConstructor(J.getInterceptor$(object)); }, _arrayInstanceType(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(object) { var rti = object.$ti; return rti != null ? rti : A._instanceTypeFromConstructor(object); }, _instanceTypeFromConstructor(instance) { var $constructor = instance.constructor, probe = $constructor.$ccache; if (probe != null) return probe; return A._instanceTypeFromConstructorMiss(instance, $constructor); }, _instanceTypeFromConstructorMiss(instance, $constructor) { var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor, rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); $constructor.$ccache = rti; return rti; }, getTypeFromTypesTable(index) { var rti, table = init.types, type = table[index]; if (typeof type == "string") { rti = A._Universe_eval(init.typeUniverse, type, false); table[index] = rti; return rti; } return type; }, getRuntimeTypeOfDartObject(object) { return A.createRuntimeType(A._instanceType(object)); }, getRuntimeTypeOfClosure(closure) { var rti = A.closureFunctionType(closure); return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti); }, _structuralTypeOf(object) { var functionRti; if (object instanceof A._Record) return object._getRti$0(); functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null; if (functionRti != null) return functionRti; if (type$.TrustedGetRuntimeType._is(object)) return J.get$runtimeType$(object)._rti; if (Array.isArray(object)) return A._arrayInstanceType(object); return A.instanceType(object); }, createRuntimeType(rti) { var t1 = rti._cachedRuntimeType; return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1; }, _createRuntimeType(rti) { var starErasedRti, t1, s = rti._canonicalRecipe, starErasedRecipe = s.replace(/\*/g, ""); if (starErasedRecipe === s) return rti._cachedRuntimeType = new A._Type(rti); starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true); t1 = starErasedRti._cachedRuntimeType; return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1; }, evaluateRtiForRecord(recordRecipe, valuesList) { var bindings, i, values = valuesList, $length = values.length; if ($length === 0) return type$.Record_0; bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>"); for (i = 1; i < $length; ++i) bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i])); return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe); }, typeLiteral(recipe) { return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); }, _installSpecializedIsTest(object) { var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this; if (testRti === type$.Object) return A._finishIsFn(testRti, object, A._isObject); if (!A.isSoundTopType(testRti)) if (!(testRti === type$.legacy_Object)) t1 = false; else t1 = true; else t1 = true; if (t1) return A._finishIsFn(testRti, object, A._isTop); t1 = testRti._kind; if (t1 === 7) return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); if (t1 === 1) return A._finishIsFn(testRti, object, A._isNever); unstarred = t1 === 6 ? testRti._primary : testRti; unstarredKind = unstarred._kind; if (unstarredKind === 8) return A._finishIsFn(testRti, object, A._isFutureOr); if (unstarred === type$.int) isFn = A._isInt; else if (unstarred === type$.double || unstarred === type$.num) isFn = A._isNum; else if (unstarred === type$.String) isFn = A._isString; else isFn = unstarred === type$.bool ? A._isBool : null; if (isFn != null) return A._finishIsFn(testRti, object, isFn); if (unstarredKind === 9) { $name = unstarred._primary; if (unstarred._rest.every(A.isDefinitelyTopType)) { testRti._specializedTestResource = "$is" + $name; if ($name === "List") return A._finishIsFn(testRti, object, A._isListTestViaProperty); return A._finishIsFn(testRti, object, A._isTestViaProperty); } } else if (unstarredKind === 11) { predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest); return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate); } return A._finishIsFn(testRti, object, A._generalIsTestImplementation); }, _finishIsFn(testRti, object, isFn) { testRti._is = isFn; return testRti._is(object); }, _installSpecializedAsCheck(object) { var t1, testRti = this, asFn = A._generalAsCheckImplementation; if (!A.isSoundTopType(testRti)) if (!(testRti === type$.legacy_Object)) t1 = false; else t1 = true; else t1 = true; if (t1) asFn = A._asTop; else if (testRti === type$.Object) asFn = A._asObject; else { t1 = A.isNullable(testRti); if (t1) asFn = A._generalNullableAsCheckImplementation; } testRti._as = asFn; return testRti._as(object); }, _nullIs(testRti) { var t1, kind = testRti._kind; if (!A.isSoundTopType(testRti)) if (!(testRti === type$.legacy_Object)) if (!(testRti === type$.legacy_Never)) if (kind !== 7) if (!(kind === 6 && A._nullIs(testRti._primary))) t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; return t1; }, _generalIsTestImplementation(object) { var testRti = this; if (object == null) return A._nullIs(testRti); return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti); }, _generalNullableIsTestImplementation(object) { if (object == null) return true; return this._primary._is(object); }, _isTestViaProperty(object) { var tag, testRti = this; if (object == null) return A._nullIs(testRti); tag = testRti._specializedTestResource; if (object instanceof A.Object) return !!object[tag]; return !!J.getInterceptor$(object)[tag]; }, _isListTestViaProperty(object) { var tag, testRti = this; if (object == null) return A._nullIs(testRti); if (typeof object != "object") return false; if (Array.isArray(object)) return true; tag = testRti._specializedTestResource; if (object instanceof A.Object) return !!object[tag]; return !!J.getInterceptor$(object)[tag]; }, _generalAsCheckImplementation(object) { var testRti = this; if (object == null) { if (A.isNullable(testRti)) return object; } else if (testRti._is(object)) return object; A._failedAsCheck(object, testRti); }, _generalNullableAsCheckImplementation(object) { var testRti = this; if (object == null) return object; else if (testRti._is(object)) return object; A._failedAsCheck(object, testRti); }, _failedAsCheck(object, testRti) { throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null)))); }, _Error_compose(object, checkedTypeDescription) { return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'"; }, _TypeError$fromMessage(message) { return new A._TypeError("TypeError: " + message); }, _TypeError__TypeError$forType(object, type) { return new A._TypeError("TypeError: " + A._Error_compose(object, type)); }, _isFutureOr(object) { var testRti = this, unstarred = testRti._kind === 6 ? testRti._primary : testRti; return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object); }, _isObject(object) { return object != null; }, _asObject(object) { if (object != null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "Object")); }, _isTop(object) { return true; }, _asTop(object) { return object; }, _isNever(object) { return false; }, _isBool(object) { return true === object || false === object; }, _asBool(object) { if (true === object) return true; if (false === object) return false; throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); }, _asBoolS(object) { if (true === object) return true; if (false === object) return false; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "bool")); }, _asBoolQ(object) { if (true === object) return true; if (false === object) return false; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?")); }, _asDouble(object) { if (typeof object == "number") return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); }, _asDoubleS(object) { if (typeof object == "number") return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "double")); }, _asDoubleQ(object) { if (typeof object == "number") return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "double?")); }, _isInt(object) { return typeof object == "number" && Math.floor(object) === object; }, _asInt(object) { if (typeof object == "number" && Math.floor(object) === object) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); }, _asIntS(object) { if (typeof object == "number" && Math.floor(object) === object) return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "int")); }, _asIntQ(object) { if (typeof object == "number" && Math.floor(object) === object) return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "int?")); }, _isNum(object) { return typeof object == "number"; }, _asNum(object) { if (typeof object == "number") return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); }, _asNumS(object) { if (typeof object == "number") return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "num")); }, _asNumQ(object) { if (typeof object == "number") return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "num?")); }, _isString(object) { return typeof object == "string"; }, _asString(object) { if (typeof object == "string") return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); }, _asStringS(object) { if (typeof object == "string") return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "String")); }, _asStringQ(object) { if (typeof object == "string") return object; if (object == null) return object; throw A.wrapException(A._TypeError__TypeError$forType(object, "String?")); }, _rtiArrayToString(array, genericContext) { var s, sep, i; for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ") s += sep + A._rtiToString(array[i], genericContext); return s; }, _recordRtiToString(recordType, genericContext) { var fieldCount, names, namesIndex, s, comma, i, partialShape = recordType._primary, fields = recordType._rest; if ("" === partialShape) return "(" + A._rtiArrayToString(fields, genericContext) + ")"; fieldCount = fields.length; names = partialShape.split(","); namesIndex = names.length - fieldCount; for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") { s += comma; if (namesIndex === 0) s += "{"; s += A._rtiToString(fields[i], genericContext); if (namesIndex >= 0) s += " " + names[namesIndex]; ++namesIndex; } return s + "})"; }, _functionRtiToString(functionType, genericContext, bounds) { var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; if (bounds != null) { boundsLength = bounds.length; if (genericContext == null) { genericContext = A._setArrayType([], 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, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) { typeParametersText = B.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)) t3 = false; else t3 = true; else t3 = true; if (!t3) typeParametersText += " extends " + A._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 = A._rtiToString(t1, genericContext); for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_) argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext); if (optionalPositionalLength > 0) { argumentsText += sep + "["; for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_) argumentsText += sep + A._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 += A._rtiToString(named[i + 2], genericContext) + " " + named[i]; } argumentsText += "}"; } if (outerContextLength != null) { genericContext.toString; genericContext.length = outerContextLength; } return typeParametersText + "(" + argumentsText + ") => " + returnTypeText; }, _rtiToString(rti, genericContext) { var questionArgument, s, 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) return A._rtiToString(rti._primary, genericContext); if (kind === 7) { questionArgument = rti._primary; s = A._rtiToString(questionArgument, genericContext); argumentKind = questionArgument._kind; return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?"; } if (kind === 8) return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">"; if (kind === 9) { $name = A._unminifyOrTag(rti._primary); $arguments = rti._rest; return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name; } if (kind === 11) return A._recordRtiToString(rti, genericContext); if (kind === 12) return A._functionRtiToString(rti, genericContext, null); if (kind === 13) return A._functionRtiToString(rti._primary, genericContext, rti._rest); if (kind === 14) { t1 = rti._primary; return genericContext[genericContext.length - 1 - t1]; } return "?"; }, _unminifyOrTag(rawClassName) { var preserved = init.mangledGlobalNames[rawClassName]; if (preserved != null) return preserved; return rawClassName; }, _Universe_findRule(universe, targetType) { var rule = universe.tR[targetType]; for (; typeof rule == "string";) rule = universe.tR[rule]; return rule; }, _Universe_findErasedType(universe, cls) { var $length, erased, $arguments, i, $interface, t1 = universe.eT, probe = t1[cls]; if (probe == null) return A._Universe_eval(universe, cls, false); else if (typeof probe == "number") { $length = probe; erased = A._Universe__lookupTerminalRti(universe, 5, "#"); $arguments = A._Utils_newArrayOrEmpty($length); for (i = 0; i < $length; ++i) $arguments[i] = erased; $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments); t1[cls] = $interface; return $interface; } else return probe; }, _Universe_addRules(universe, rules) { return A._Utils_objectAssign(universe.tR, rules); }, _Universe_addErasedTypes(universe, types) { return A._Utils_objectAssign(universe.eT, types); }, _Universe_eval(universe, recipe, normalize) { var rti, t1 = universe.eC, probe = t1.get(recipe); if (probe != null) return probe; rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize)); t1.set(recipe, rti); return rti; }, _Universe_evalInEnvironment(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 = A._Parser_parse(A._Parser_create(universe, environment, recipe, true)); cache.set(recipe, rti); return rti; }, _Universe_bind(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 = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]); cache.set(argumentsRecipe, rti); return rti; }, _Universe__installTypeTests(universe, rti) { rti._as = A._installSpecializedAsCheck; rti._is = A._installSpecializedIsTest; return rti; }, _Universe__lookupTerminalRti(universe, kind, key) { var rti, t1, probe = universe.eC.get(key); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = kind; rti._canonicalRecipe = key; t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, _Universe__lookupStarRti(universe, baseType, normalize) { var t1, key = baseType._canonicalRecipe + "*", probe = universe.eC.get(key); if (probe != null) return probe; t1 = A._Universe__createStarRti(universe, baseType, key, normalize); universe.eC.set(key, t1); return t1; }, _Universe__createStarRti(universe, baseType, key, normalize) { var baseKind, t1, rti; if (normalize) { baseKind = baseType._kind; if (!A.isSoundTopType(baseType)) t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6; else t1 = true; if (t1) return baseType; } rti = new A.Rti(null, null); rti._kind = 6; rti._primary = baseType; rti._canonicalRecipe = key; return A._Universe__installTypeTests(universe, rti); }, _Universe__lookupQuestionRti(universe, baseType, normalize) { var t1, key = baseType._canonicalRecipe + "?", probe = universe.eC.get(key); if (probe != null) return probe; t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize); universe.eC.set(key, t1); return t1; }, _Universe__createQuestionRti(universe, baseType, key, normalize) { var baseKind, t1, starArgument, rti; if (normalize) { baseKind = baseType._kind; if (!A.isSoundTopType(baseType)) if (!(baseType === type$.Null || baseType === type$.JSNull)) if (baseKind !== 7) t1 = baseKind === 8 && A.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 && A.isNullable(starArgument._primary)) return starArgument; else return A.Rti__getQuestionFromStar(universe, baseType); } } rti = new A.Rti(null, null); rti._kind = 7; rti._primary = baseType; rti._canonicalRecipe = key; return A._Universe__installTypeTests(universe, rti); }, _Universe__lookupFutureOrRti(universe, baseType, normalize) { var t1, key = baseType._canonicalRecipe + "/", probe = universe.eC.get(key); if (probe != null) return probe; t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize); universe.eC.set(key, t1); return t1; }, _Universe__createFutureOrRti(universe, baseType, key, normalize) { var t1, rti; if (normalize) { t1 = baseType._kind; if (A.isSoundTopType(baseType) || baseType === type$.Object || baseType === type$.legacy_Object) return baseType; else if (t1 === 1) return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]); else if (baseType === type$.Null || baseType === type$.JSNull) return type$.nullable_Future_Null; } rti = new A.Rti(null, null); rti._kind = 8; rti._primary = baseType; rti._canonicalRecipe = key; return A._Universe__installTypeTests(universe, rti); }, _Universe__lookupGenericFunctionParameterRti(universe, index) { var rti, t1, key = "" + index + "^", probe = universe.eC.get(key); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = 14; rti._primary = index; rti._canonicalRecipe = key; t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, _Universe__canonicalRecipeJoin($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($arguments) { var s, sep, i, t1, nameSep, $length = $arguments.length; for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") { t1 = $arguments[i]; nameSep = $arguments[i + 1] ? "!" : ":"; s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe; } return s; }, _Universe__lookupInterfaceRti(universe, $name, $arguments) { var probe, rti, t1, s = $name; if ($arguments.length > 0) s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">"; probe = universe.eC.get(s); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = 9; rti._primary = $name; rti._rest = $arguments; if ($arguments.length > 0) rti._precomputed1 = $arguments[0]; rti._canonicalRecipe = s; t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(s, t1); return t1; }, _Universe__lookupBindingRti(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 + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">"); probe = universe.eC.get(key); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = 10; rti._primary = newBase; rti._rest = newArguments; rti._canonicalRecipe = key; t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, _Universe__lookupRecordRti(universe, partialShapeTag, fields) { var rti, t1, key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"), probe = universe.eC.get(key); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = 11; rti._primary = partialShapeTag; rti._rest = fields; rti._canonicalRecipe = key; t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, _Universe__lookupFunctionRti(universe, returnType, parameters) { var sep, key, probe, rti, t1, s = returnType._canonicalRecipe, requiredPositional = parameters._requiredPositional, requiredPositionalLength = requiredPositional.length, optionalPositional = parameters._optionalPositional, optionalPositionalLength = optionalPositional.length, named = parameters._named, namedLength = named.length, recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional); if (optionalPositionalLength > 0) { sep = requiredPositionalLength > 0 ? "," : ""; recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]"; } if (namedLength > 0) { sep = requiredPositionalLength > 0 ? "," : ""; recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}"; } key = s + (recipe + ")"); probe = universe.eC.get(key); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = 12; rti._primary = returnType; rti._rest = parameters; rti._canonicalRecipe = key; t1 = A._Universe__installTypeTests(universe, rti); universe.eC.set(key, t1); return t1; }, _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) { var t1, key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"), probe = universe.eC.get(key); if (probe != null) return probe; t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize); universe.eC.set(key, t1); return t1; }, _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) { var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti; if (normalize) { $length = bounds.length; typeArguments = A._Utils_newArrayOrEmpty($length); for (count = 0, i = 0; i < $length; ++i) { bound = bounds[i]; if (bound._kind === 1) { typeArguments[i] = bound; ++count; } } if (count > 0) { substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0); substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0); return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds); } } rti = new A.Rti(null, null); rti._kind = 13; rti._primary = baseFunctionType; rti._rest = bounds; rti._canonicalRecipe = key; return A._Universe__installTypeTests(universe, rti); }, _Parser_create(universe, environment, recipe, normalize) { return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; }, _Parser_parse(parser) { var t2, i, ch, t3, array, end, item, source = parser.r, t1 = parser.s; for (t2 = source.length, i = 0; i < t2;) { ch = source.charCodeAt(i); if (ch >= 48 && ch <= 57) i = A._Parser_handleDigit(i + 1, ch, source, t1); else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124) i = A._Parser_handleIdentifier(parser, i, source, t1, false); else if (ch === 46) i = A._Parser_handleIdentifier(parser, i, source, t1, true); else { ++i; switch (ch) { case 44: break; case 58: t1.push(false); break; case 33: t1.push(true); break; case 59: t1.push(A._Parser_toType(parser.u, parser.e, t1.pop())); break; case 94: t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop())); break; case 35: t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#")); break; case 64: t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@")); break; case 126: t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~")); break; case 60: t1.push(parser.p); parser.p = t1.length; break; case 62: A._Parser_handleTypeArguments(parser, t1); break; case 38: A._Parser_handleExtendedOperations(parser, t1); break; case 42: t3 = parser.u; t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 63: t3 = parser.u; t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 47: t3 = parser.u; t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 40: t1.push(-3); t1.push(parser.p); parser.p = t1.length; break; case 41: A._Parser_handleArguments(parser, t1); break; case 91: t1.push(parser.p); parser.p = t1.length; break; case 93: array = t1.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); parser.p = t1.pop(); t1.push(array); t1.push(-1); break; case 123: t1.push(parser.p); parser.p = t1.length; break; case 125: array = t1.splice(parser.p); A._Parser_toTypesNamed(parser.u, parser.e, array); parser.p = t1.pop(); t1.push(array); t1.push(-2); break; case 43: end = source.indexOf("(", i); t1.push(source.substring(i, end)); t1.push(-4); t1.push(parser.p); parser.p = t1.length; i = end + 1; break; default: throw "Bad character " + ch; } } } item = t1.pop(); return A._Parser_toType(parser.u, parser.e, item); }, _Parser_handleDigit(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(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 || ch === 124)) 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 = A._Universe_findRule(t1, environment._primary)[string]; if (recipe == null) A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"'); stack.push(A._Universe_evalInEnvironment(t1, environment, recipe)); } else stack.push(string); return i; }, _Parser_handleTypeArguments(parser, stack) { var base, t1 = parser.u, $arguments = A._Parser_collectArray(parser, stack), head = stack.pop(); if (typeof head == "string") stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments)); else { base = A._Parser_toType(t1, parser.e, head); switch (base._kind) { case 12: stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n)); break; default: stack.push(A._Universe__lookupBindingRti(t1, base, $arguments)); break; } } }, _Parser_handleArguments(parser, stack) { var optionalPositional, named, requiredPositional, returnType, parameters, _null = null, t1 = parser.u, head = stack.pop(); if (typeof head == "number") switch (head) { case -1: optionalPositional = stack.pop(); named = _null; break; case -2: named = stack.pop(); optionalPositional = _null; break; default: stack.push(head); named = _null; optionalPositional = named; break; } else { stack.push(head); named = _null; optionalPositional = named; } requiredPositional = A._Parser_collectArray(parser, stack); head = stack.pop(); switch (head) { case -3: head = stack.pop(); if (optionalPositional == null) optionalPositional = t1.sEA; if (named == null) named = t1.sEA; returnType = A._Parser_toType(t1, parser.e, head); parameters = new A._FunctionParameters(); parameters._requiredPositional = requiredPositional; parameters._optionalPositional = optionalPositional; parameters._named = named; stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters)); return; case -4: stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional)); return; default: throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head))); } }, _Parser_handleExtendedOperations(parser, stack) { var $top = stack.pop(); if (0 === $top) { stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&")); return; } if (1 === $top) { stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&")); return; } throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top))); }, _Parser_collectArray(parser, stack) { var array = stack.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); parser.p = stack.pop(); return array; }, _Parser_toType(universe, environment, item) { if (typeof item == "string") return A._Universe__lookupInterfaceRti(universe, item, universe.sEA); else if (typeof item == "number") { environment.toString; return A._Parser_indexToType(universe, environment, item); } else return item; }, _Parser_toTypes(universe, environment, items) { var i, $length = items.length; for (i = 0; i < $length; ++i) items[i] = A._Parser_toType(universe, environment, items[i]); }, _Parser_toTypesNamed(universe, environment, items) { var i, $length = items.length; for (i = 2; i < $length; i += 3) items[i] = A._Parser_toType(universe, environment, items[i]); }, _Parser_indexToType(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 A.wrapException(A.AssertionError$("Indexed base must be an interface type")); typeArguments = environment._rest; if (index <= typeArguments.length) return typeArguments[index - 1]; throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); }, isSubtype(universe, s, t) { var result, sCache = s._isSubtypeCache; if (sCache == null) sCache = s._isSubtypeCache = new Map(); result = sCache.get(t); if (result == null) { result = A._isSubtype(universe, s, null, t, null, false) ? 1 : 0; sCache.set(t, result); } if (0 === result) return false; if (1 === result) return true; return true; }, _isSubtype(universe, s, sEnv, t, tEnv, isLegacy) { var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound; if (s === t) return true; if (!A.isSoundTopType(t)) if (!(t === type$.legacy_Object)) t1 = false; else t1 = true; else t1 = true; if (t1) return true; sKind = s._kind; if (sKind === 4) return true; if (A.isSoundTopType(s)) return false; if (s._kind !== 1) t1 = false; else t1 = true; if (t1) return true; leftTypeVariable = sKind === 14; if (leftTypeVariable) if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv, false)) return true; tKind = t._kind; t1 = s === type$.Null || s === type$.JSNull; if (t1) { if (tKind === 8) return A._isSubtype(universe, s, sEnv, t._primary, tEnv, false); return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6; } if (t === type$.Object) { if (sKind === 8) return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); if (sKind === 6) return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); return sKind !== 7; } if (sKind === 6) return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); if (tKind === 6) { t1 = A.Rti__getQuestionFromStar(universe, t); return A._isSubtype(universe, s, sEnv, t1, tEnv, false); } if (sKind === 8) { if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv, false)) return false; return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv, false); } if (sKind === 7) { t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv, false); return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); } if (tKind === 8) { if (A._isSubtype(universe, s, sEnv, t._primary, tEnv, false)) return true; return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv, false); } if (tKind === 7) { t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv, false); return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv, false); } if (leftTypeVariable) return false; t1 = sKind !== 12; if ((!t1 || sKind === 13) && t === type$.Function) return true; t2 = sKind === 11; if (t2 && t === type$.Record) return true; if (tKind === 13) { if (s === type$.JavaScriptFunction) return true; if (sKind !== 13) 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 (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv, false) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv, false)) return false; } return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv, false); } if (tKind === 12) { if (s === type$.JavaScriptFunction) return true; if (t1) return false; return A._isFunctionSubtype(universe, s, sEnv, t, tEnv, false); } if (sKind === 9) { if (tKind !== 9) return false; return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv, false); } if (t2 && tKind === 11) return A._isRecordSubtype(universe, s, sEnv, t, tEnv, false); return false; }, _isFunctionSubtype(universe, s, sEnv, t, tEnv, isLegacy) { var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired; if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv, false)) 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 (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv, false)) return false; } for (i = 0; i < requiredPositionalDelta; ++i) { t1 = sOptionalPositional[i]; if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv, false)) return false; } for (i = 0; i < tOptionalPositionalLength; ++i) { t1 = sOptionalPositional[requiredPositionalDelta + i]; if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv, false)) 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; sIsRequired = sNamed[sIndex - 2]; if (sName < tName) { if (sIsRequired) return false; continue; } t1 = tNamed[tIndex + 1]; if (sIsRequired && !t1) return false; t1 = sNamed[sIndex - 1]; if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv, false)) return false; break; } } for (; sIndex < sNamedLength;) { if (sNamed[sIndex + 1]) return false; sIndex += 3; } return true; }, _isInterfaceSubtype(universe, s, sEnv, t, tEnv, isLegacy) { var rule, recipes, $length, supertypeArgs, i, sName = s._primary, tName = t._primary; for (; sName !== tName;) { rule = universe.tR[sName]; if (rule == null) return false; if (typeof rule == "string") { sName = rule; continue; } recipes = rule[tName]; if (recipes == null) return false; $length = recipes.length; supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA; for (i = 0; i < $length; ++i) supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]); return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv, false); } return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv, false); }, _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv, isLegacy) { var i, $length = sArgs.length; for (i = 0; i < $length; ++i) if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv, false)) return false; return true; }, _isRecordSubtype(universe, s, sEnv, t, tEnv, isLegacy) { var i, sFields = s._rest, tFields = t._rest, sCount = sFields.length; if (sCount !== tFields.length) return false; if (s._primary !== t._primary) return false; for (i = 0; i < sCount; ++i) if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv, false)) return false; return true; }, isNullable(t) { var t1, kind = t._kind; if (!(t === type$.Null || t === type$.JSNull)) if (!A.isSoundTopType(t)) if (kind !== 7) if (!(kind === 6 && A.isNullable(t._primary))) t1 = kind === 8 && A.isNullable(t._primary); else t1 = true; else t1 = true; else t1 = true; else t1 = true; return t1; }, isDefinitelyTopType(t) { var t1; if (!A.isSoundTopType(t)) if (!(t === type$.legacy_Object)) t1 = false; else t1 = true; else t1 = true; return t1; }, isSoundTopType(t) { var kind = t._kind; return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object; }, _Utils_objectAssign(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]; } }, _Utils_newArrayOrEmpty($length) { return $length > 0 ? new Array($length) : init.typeUniverse.sEA; }, Rti: function Rti(t0, t1) { var _ = this; _._as = t0; _._is = t1; _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._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.__rti$_message = t0; }, heuristicMapper(code, key) { var charCode, t1; if (B.JSString_methods.startsWith$1(code, "Digit")) return code.charCodeAt(5); charCode = key.charCodeAt(0); if (key.length <= 1) t1 = !(charCode >= 32 && charCode <= 127); else t1 = true; if (t1) { t1 = B.Map_skkUy.$index(0, code); return t1 == null ? null : t1.charCodeAt(0); } if (!(charCode >= $.$get$_kLowerA() && charCode <= $.$get$_kLowerZ())) t1 = charCode >= $.$get$_kUpperA() && charCode <= $.$get$_kUpperZ(); else t1 = true; if (t1) return key.toLowerCase().charCodeAt(0); return null; }, _StringStream$(_data) { var t1 = B.Map_skkUy.get$entries(B.Map_skkUy); return new A._StringStream(_data, A.Map_Map$fromEntries(t1.map$1$1(t1, new A._StringStream__goalToEventCode_closure(), type$.MapEntry_int_String), type$.int, type$.String)); }, _unmarshallCodeMap(stream) { var t2, i, t3, t4, entryNum = stream.readIntAsVerbatim$0(), t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int); for (t2 = stream.__web_locale_keymap$_data, i = 0; i < entryNum; ++i) { t3 = stream.readEventKey$0(); t4 = stream.__web_locale_keymap$_offset; stream.__web_locale_keymap$_offset = t4 + 1; t1.$indexSet(0, t3, t2.charCodeAt(t4)); } return t1; }, unmarshallMappingData(compressed) { var t2, t3, i, t4, stream = A._StringStream$(compressed), eventCodeNum = stream.readIntAsVerbatim$0(), t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Map_String_int); for (t2 = stream.__web_locale_keymap$_data, t3 = stream._goalToEventCode, i = 0; i < eventCodeNum; ++i) { t4 = stream.__web_locale_keymap$_offset; stream.__web_locale_keymap$_offset = t4 + 1; t4 = t3.$index(0, t2.charCodeAt(t4)); t4.toString; t1.$indexSet(0, t4, A._unmarshallCodeMap(stream)); } return t1; }, _characterToLogicalKey(key) { if (key == null || key.length >= 2) return null; return key.toLowerCase().charCodeAt(0); }, _StringStream: function _StringStream(t0, t1) { this.__web_locale_keymap$_data = t0; this._goalToEventCode = t1; this.__web_locale_keymap$_offset = 0; }, _StringStream__goalToEventCode_closure: function _StringStream__goalToEventCode_closure() { }, LocaleKeymap: function LocaleKeymap(t0) { this.__web_locale_keymap$_mapping = t0; }, LineCharProperty: function LineCharProperty(t0, t1) { this.index = t0; this._core$_name = t1; }, WordCharProperty: function WordCharProperty(t0, t1) { this.index = t0; this._core$_name = t1; }, _AsyncRun__initializeScheduleImmediate() { var div, span, t1 = {}; if (self.scheduleImmediate != null) return A.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(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true}); return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span); } else if (self.setImmediate != null) return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure(); return A.async__AsyncRun__scheduleImmediateWithTimer$closure(); }, _AsyncRun__scheduleImmediateJsOverride(callback) { self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0)); }, _AsyncRun__scheduleImmediateWithSetImmediate(callback) { self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0)); }, _AsyncRun__scheduleImmediateWithTimer(callback) { A.Timer__createTimer(B.Duration_0, callback); }, Timer__createTimer(duration, callback) { var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); }, Timer__createPeriodicTimer(duration, callback) { var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000); return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback); }, _TimerImpl$(milliseconds, callback) { var t1 = new A._TimerImpl(true); t1._TimerImpl$2(milliseconds, callback); return t1; }, _TimerImpl$periodic(milliseconds, callback) { var t1 = new A._TimerImpl(false); t1._TimerImpl$periodic$2(milliseconds, callback); return t1; }, _makeAsyncAwaitCompleter($T) { return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>")); }, _asyncStartSync(bodyFunction, completer) { bodyFunction.call$2(0, null); completer.isSync = true; return completer._future; }, _asyncAwait(object, bodyFunction) { A._awaitOnObject(object, bodyFunction); }, _asyncReturn(object, completer) { completer.complete$1(0, object); }, _asyncRethrow(object, completer) { completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object)); }, _awaitOnObject(object, bodyFunction) { var t1, future, thenCallback = new A._awaitOnObject_closure(bodyFunction), errorCallback = new A._awaitOnObject_closure0(bodyFunction); if (object instanceof A._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 A._Future($.Zone__current, type$._Future_dynamic); future._state = 8; future._resultOrListeners = object; future._thenAwait$1$2(thenCallback, errorCallback, t1); } } }, _wrapJsFunctionForAsync($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$1(new A._wrapJsFunctionForAsync_closure($protected)); }, _asyncStarHelper(object, bodyFunctionOrErrorCode, controller) { var t1, t2, t3, stream; if (bodyFunctionOrErrorCode === 0) { t1 = controller.cancelationFuture; if (t1 != null) t1._completeWithValue$1(null); else { t1 = controller.___AsyncStarStreamController_controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.close$0(0); } return; } else if (bodyFunctionOrErrorCode === 1) { t1 = controller.cancelationFuture; if (t1 != null) t1._completeError$2(A.unwrapException(object), A.getTraceFromException(object)); else { t1 = A.unwrapException(object); t2 = A.getTraceFromException(object); t3 = controller.___AsyncStarStreamController_controller_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3.addError$2(t1, t2); controller.___AsyncStarStreamController_controller_A.close$0(0); } return; } if (object instanceof A._IterationMarker) { if (controller.cancelationFuture != null) { bodyFunctionOrErrorCode.call$2(2, null); return; } t1 = object.state; if (t1 === 0) { t1 = object.value; t2 = controller.___AsyncStarStreamController_controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.add$1(0, t1); A.scheduleMicrotask(new A._asyncStarHelper_closure(controller, bodyFunctionOrErrorCode)); return; } else if (t1 === 1) { stream = object.value; t1 = controller.___AsyncStarStreamController_controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.addStream$2$cancelOnError(0, stream, false).then$1$1(0, new A._asyncStarHelper_closure0(controller, bodyFunctionOrErrorCode), type$.Null); return; } } A._awaitOnObject(object, bodyFunctionOrErrorCode); }, _streamOfController(controller) { var t1 = controller.___AsyncStarStreamController_controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")); }, _AsyncStarStreamController$(body, $T) { var t1 = new A._AsyncStarStreamController($T._eval$1("_AsyncStarStreamController<0>")); t1._AsyncStarStreamController$1(body, $T); return t1; }, _makeAsyncStarStreamController(body, $T) { return A._AsyncStarStreamController$(body, $T); }, _IterationMarker_yieldStar(values) { return new A._IterationMarker(values, 1); }, _IterationMarker_yieldSingle(value) { return new A._IterationMarker(value, 0); }, _SyncStarIterator__terminatedBody(_1, _2, _3) { return 0; }, AsyncError$(error, stackTrace) { var t1 = A.checkNotNullable(error, "error", type$.Object); return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace); }, AsyncError_defaultStackTrace(error) { var stackTrace; if (type$.Error._is(error)) { stackTrace = error.get$stackTrace(); if (stackTrace != null) return stackTrace; } return B.C__StringStackTrace; }, Future_Future(computation, $T) { var result = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); A.Timer_Timer(B.Duration_0, new A.Future_Future_closure(result, computation)); return result; }, Future_Future$sync(computation, $T) { var result, error, stackTrace, future, replacement, t1, exception; try { result = computation.call$0(); t1 = $T._eval$1("Future<0>")._is(result) ? result : A._Future$value(result, $T); return t1; } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); future = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); replacement = null; if (replacement != null) future._asyncCompleteError$2(J.get$error$x(replacement), replacement.get$stackTrace()); else future._asyncCompleteError$2(error, stackTrace); return future; } }, Future_Future$value(value, $T) { var t1 = value == null ? $T._as(value) : value, t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); t2._asyncComplete$1(t1); return t2; }, Future_Future$error(error, stackTrace, $T) { var t1; A.checkNotNullable(error, "error", type$.Object); if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); t1._asyncCompleteError$2(error, stackTrace); return t1; }, Future_Future$delayed(duration, computation, $T) { var t1, result; if (computation == null) t1 = !$T._is(null); else t1 = false; if (t1) throw A.wrapException(A.ArgumentError$value(null, "computation", "The type parameter is not nullable")); result = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); A.Timer_Timer(duration, new A.Future_Future$delayed_closure(computation, result, $T)); return result; }, Future_wait(futures, $T) { var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null, eagerError = false, _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>")); _box_0.values = null; _box_0.remaining = 0; error = A._Cell$named("error"); stackTrace = A._Cell$named("stackTrace"); handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace); 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 A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2); ++_box_0.remaining; } t1 = _box_0.remaining; if (t1 === 0) { t1 = _future; t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>"))); return t1; } _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?")); } catch (exception) { e = A.unwrapException(exception); st = A.getTraceFromException(exception); if (_box_0.remaining === 0 || eagerError) return A.Future_Future$error(e, st, $T._eval$1("List<0>")); else { error.__late_helper$_value = e; stackTrace.__late_helper$_value = st; } } return _future; }, FutureExtensions_onError(_this, handleError, $T, $E) { var t1, result, onError = new A.FutureExtensions_onError_onError($E, null, handleError, $T); if (_this instanceof A._Future) { t1 = $.Zone__current; result = new A._Future(t1, $T._eval$1("_Future<0>")); if (t1 !== B.C__RootZone) onError = t1.registerBinaryCallback$1(onError); _this._addListener$1(new A._FutureListener(result, 2, null, onError, _this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("_FutureListener<1,2>"))); return result; } return _this.then$1$2$onError(0, new A.FutureExtensions_onError_closure($T), onError, $T); }, Completer_Completer($T) { return new A._AsyncCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncCompleter<0>")); }, _completeWithErrorCallback(result, error, stackTrace) { if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); result._completeError$2(error, stackTrace); }, _Future$zoneValue(value, _zone, $T) { var t1 = new A._Future(_zone, $T._eval$1("_Future<0>")); t1._state = 8; t1._resultOrListeners = value; return t1; }, _Future$value(value, $T) { var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); t1._state = 8; t1._resultOrListeners = value; return t1; }, _Future__chainCoreFutureSync(source, target) { var t1, listeners; for (; t1 = source._state, (t1 & 4) !== 0;) source = source._resultOrListeners; if ((t1 & 24) !== 0) { listeners = target._removeListeners$0(); target._cloneResult$1(source); A._Future__propagateToListeners(target, listeners); } else { listeners = target._resultOrListeners; target._setChained$1(source); source._prependListeners$1(listeners); } }, _Future__chainCoreFutureAsync(source, target) { var t2, listeners, _box_0 = {}, t1 = _box_0.source = source; for (; t2 = t1._state, (t2 & 4) !== 0;) { t1 = t1._resultOrListeners; _box_0.source = t1; } if ((t2 & 24) === 0) { listeners = target._resultOrListeners; target._setChained$1(t1); _box_0.source._prependListeners$1(listeners); return; } if ((t2 & 16) === 0 && target._resultOrListeners == null) { target._cloneResult$1(t1); return; } target._state ^= 2; A._rootScheduleMicrotask(null, null, target._zone, new A._Future__chainCoreFutureAsync_closure(_box_0, target)); }, _Future__propagateToListeners(source, listeners) { var t2, _box_0, t3, t4, hasError, nextListener, nextListener0, sourceResult, t5, zone, oldZone, result, current, _box_1 = {}, t1 = _box_1.source = source; for (t2 = type$.Future_dynamic; true;) { _box_0 = {}; t3 = t1._state; t4 = (t3 & 16) === 0; hasError = !t4; if (listeners == null) { if (hasError && (t3 & 1) === 0) { t1 = t1._resultOrListeners; A._rootHandleError(t1.error, t1.stackTrace); } return; } _box_0.listener = listeners; nextListener = listeners._nextListener; for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) { t1._nextListener = null; A._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; if (t4) { t5 = t1.state; t5 = (t5 & 1) !== 0 || (t5 & 15) === 8; } else t5 = true; if (t5) { zone = t1.result._zone; if (hasError) { t3 = t3._zone === zone; t3 = !(t3 || t3); } else t3 = false; if (t3) { A._rootHandleError(sourceResult.error, sourceResult.stackTrace); return; } oldZone = $.Zone__current; if (oldZone !== zone) $.Zone__current = zone; else oldZone = null; t1 = t1.state; if ((t1 & 15) === 8) new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0(); else if (t4) { if ((t1 & 1) !== 0) new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0(); } else if ((t1 & 2) !== 0) new A._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 A._Future) if ((t1._state & 24) !== 0) { current = result._resultOrListeners; result._resultOrListeners = null; listeners = result._reverseListeners$1(current); result._state = t1._state & 30 | result._state & 1; result._resultOrListeners = t1._resultOrListeners; _box_1.source = t1; continue; } else A._Future__chainCoreFutureSync(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 = 8; result._resultOrListeners = t3; } else { result._state = result._state & 1 | 16; result._resultOrListeners = t3; } _box_1.source = result; t1 = result; } }, _registerErrorHandler(errorHandler, zone) { if (type$.dynamic_Function_Object_StackTrace._is(errorHandler)) return zone.registerBinaryCallback$1(errorHandler); if (type$.dynamic_Function_Object._is(errorHandler)) return errorHandler; throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_)); }, _microtaskLoop() { 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() { $._isInCallbackLoop = true; try { A._microtaskLoop(); } finally { $._lastPriorityCallback = null; $._isInCallbackLoop = false; if ($._nextCallback != null) $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); } }, _scheduleAsyncCallback(callback) { var newEntry = new A._AsyncCallbackEntry(callback), lastCallback = $._lastCallback; if (lastCallback == null) { $._nextCallback = $._lastCallback = newEntry; if (!$._isInCallbackLoop) $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure()); } else $._lastCallback = lastCallback.next = newEntry; }, _schedulePriorityAsyncCallback(callback) { var entry, lastPriorityCallback, next, t1 = $._nextCallback; if (t1 == null) { A._scheduleAsyncCallback(callback); $._lastPriorityCallback = $._lastCallback; return; } entry = new A._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(callback) { var t1, _null = null, currentZone = $.Zone__current; if (B.C__RootZone === currentZone) { A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback); return; } t1 = false; if (t1) { A._rootScheduleMicrotask(_null, _null, currentZone, callback); return; } A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.bindCallbackGuarded$1(callback)); }, Stream_Stream$value(value, $T) { var _null = null, t1 = $T._eval$1("_AsyncStreamController<0>"), t2 = new A._AsyncStreamController(_null, _null, _null, _null, t1); t2._add$1(0, value); t2._closeUnchecked$0(); return new A._ControllerStream(t2, t1._eval$1("_ControllerStream<1>")); }, Stream_Stream$fromFuture(future, $T) { var _null = null, t1 = $T._eval$1("_SyncStreamController<0>"), controller = new A._SyncStreamController(_null, _null, _null, _null, t1); future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null); return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>")); }, StreamIterator_StreamIterator(stream, $T) { return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object), $T._eval$1("_StreamIterator<0>")); }, StreamController_StreamController(onCancel, onListen, onResume, sync, $T) { return sync ? new A._SyncStreamController(onListen, null, onResume, onCancel, $T._eval$1("_SyncStreamController<0>")) : new A._AsyncStreamController(onListen, null, onResume, onCancel, $T._eval$1("_AsyncStreamController<0>")); }, StreamController_StreamController$broadcast(onCancel, onListen, sync, $T) { return sync ? new A._SyncBroadcastStreamController(onListen, onCancel, $T._eval$1("_SyncBroadcastStreamController<0>")) : new A._AsyncBroadcastStreamController(onListen, onCancel, $T._eval$1("_AsyncBroadcastStreamController<0>")); }, _runGuarded(notificationHandler) { var e, s, exception; if (notificationHandler == null) return; try { notificationHandler.call$0(); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._rootHandleError(e, s); } }, _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) { var t1 = $.Zone__current, t2 = cancelOnError ? 1 : 0, t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData), t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError), t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; return new A._ControllerSubscription(_controller, t3, t4, t5, t1, t2, $T._eval$1("_ControllerSubscription<0>")); }, _AddStreamState$(controller, source, cancelOnError, $T) { var t1 = $.Zone__current, t2 = controller.get$_add(controller), t3 = controller.get$_addError(); return new A._AddStreamState(new A._Future(t1, type$._Future_dynamic), source.listen$4$cancelOnError$onDone$onError(0, t2, false, controller.get$_close(), t3), $T._eval$1("_AddStreamState<0>")); }, _AddStreamState_makeErrorHandler(controller) { return new A._AddStreamState_makeErrorHandler_closure(controller); }, _BufferingStreamSubscription__registerDataHandler(zone, handleData) { return handleData == null ? A.async___nullDataHandler$closure() : handleData; }, _BufferingStreamSubscription__registerErrorHandler(zone, handleError) { if (handleError == null) handleError = A.async___nullErrorHandler$closure(); if (type$.void_Function_Object_StackTrace._is(handleError)) return zone.registerBinaryCallback$1(handleError); if (type$.void_Function_Object._is(handleError)) return handleError; throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null)); }, _nullDataHandler(value) { }, _nullErrorHandler(error, stackTrace) { A._rootHandleError(error, stackTrace); }, _nullDoneHandler() { }, _DoneStreamSubscription$(onDone, $T) { var t1 = new A._DoneStreamSubscription($.Zone__current, $T._eval$1("_DoneStreamSubscription<0>")); A.scheduleMicrotask(t1.get$_onMicrotask()); if (onDone != null) t1._onDone = onDone; return t1; }, _runUserCode(userCode, onSuccess, onError) { var e, s, replacement, error, stackTrace, exception; try { onSuccess.call$1(userCode.call$0()); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); replacement = null; if (replacement == null) onError.call$2(e, s); else { error = J.get$error$x(replacement); stackTrace = replacement.get$stackTrace(); onError.call$2(error, stackTrace); } } }, _cancelAndError(subscription, future, error, stackTrace) { var cancelFuture = subscription.cancel$0(0), t1 = $.$get$Future__nullFuture(); if (cancelFuture !== t1) cancelFuture.whenComplete$1(new A._cancelAndError_closure(future, error, stackTrace)); else future._completeError$2(error, stackTrace); }, _cancelAndErrorClosure(subscription, future) { return new A._cancelAndErrorClosure_closure(subscription, future); }, _cancelAndValue(subscription, future, value) { var cancelFuture = subscription.cancel$0(0), t1 = $.$get$Future__nullFuture(); if (cancelFuture !== t1) cancelFuture.whenComplete$1(new A._cancelAndValue_closure(future, value)); else future._complete$1(value); }, _addErrorWithReplacement(sink, error, stackTrace) { sink._addError$2(error, stackTrace); }, _StreamHandlerTransformer$(handleData, handleDone, handleError, $S, $T) { return new A._StreamHandlerTransformer(new A._StreamHandlerTransformer_closure(handleData, handleError, handleDone, $T, $S), $S._eval$1("@<0>")._bind$1($T)._eval$1("_StreamHandlerTransformer<1,2>")); }, Timer_Timer(duration, callback) { var t1 = $.Zone__current; if (t1 === B.C__RootZone) return A.Timer__createTimer(duration, callback); return A.Timer__createTimer(duration, t1.bindCallbackGuarded$1(callback)); }, Timer_Timer$periodic(duration, callback) { var t1 = $.Zone__current; if (t1 === B.C__RootZone) return A.Timer__createPeriodicTimer(duration, callback); return A.Timer__createPeriodicTimer(duration, t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer)); }, _rootHandleError(error, stackTrace) { A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace)); }, _rootRun($self, $parent, zone, f) { var old, t1 = $.Zone__current; if (t1 === zone) return f.call$0(); $.Zone__current = zone; old = t1; try { t1 = f.call$0(); return t1; } finally { $.Zone__current = old; } }, _rootRunUnary($self, $parent, zone, f, arg) { var old, t1 = $.Zone__current; if (t1 === zone) return f.call$1(arg); $.Zone__current = zone; old = t1; try { t1 = f.call$1(arg); return t1; } finally { $.Zone__current = old; } }, _rootRunBinary($self, $parent, zone, f, arg1, arg2) { var old, t1 = $.Zone__current; if (t1 === zone) return f.call$2(arg1, arg2); $.Zone__current = zone; old = t1; try { t1 = f.call$2(arg1, arg2); return t1; } finally { $.Zone__current = old; } }, _rootScheduleMicrotask($self, $parent, zone, f) { if (B.C__RootZone !== zone) f = zone.bindCallbackGuarded$1(f); A._scheduleAsyncCallback(f); }, _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_A = $; _.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 = _._datum = _._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._controller = t0; this.$ti = t1; }, _BroadcastSubscription: function _BroadcastSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._eventState = 0; _._async$_previous = _._async$_next = null; _._controller = t0; _._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; }, Future_Future_closure: function Future_Future_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_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.cleanUp = t1; _.eagerError = t2; _._future = t3; _.error = t4; _.stackTrace = t5; }, 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 = t5; _.stackTrace = t6; _.T = t7; }, FutureExtensions_onError_onError: function FutureExtensions_onError_onError(t0, t1, t2, t3) { var _ = this; _.E = t0; _.test = t1; _.handleError = t2; _.T = t3; }, FutureExtensions_onError_closure: function FutureExtensions_onError_closure(t0) { this.T = t0; }, 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; }, _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__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) { this._box_0 = t0; this.target = t1; }, _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_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_asyncMap_closure: function Stream_asyncMap_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.convert = t2; _.E = t3; }, Stream_asyncMap_closure_add: function Stream_asyncMap_closure_add(t0, t1) { this._box_0 = t0; this.E = t1; }, Stream_asyncMap__closure: function Stream_asyncMap__closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._box_0 = t0; _.$this = t1; _.convert = t2; _.E = t3; _.subscription = t4; _.add = t5; _.addError = t6; _.resume = t7; }, 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_toList_closure: function Stream_toList_closure(t0, t1) { this.$this = t0; this.result = t1; }, Stream_toList_closure0: function Stream_toList_closure0(t0, t1) { this.future = t0; this.result = t1; }, 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; }, 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._controller = t0; this.$ti = t1; }, _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._controller = t0; _._onData = t1; _._onError = t2; _._onDone = t3; _._zone = t4; _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, _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() { }, _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() { }, _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(t0) { var _ = this; _._state = 0; _.lastPendingEvent = _.firstPendingEvent = null; _.$ti = t0; }, _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { this.$this = t0; this.dispatch = t1; }, _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1) { var _ = this; _._state = 1; _._zone = t0; _._onDone = null; _.$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; }, _MultiStream: function _MultiStream(t0, t1, t2) { this.isBroadcast = t0; this._onListen = t1; this.$ti = t2; }, _MultiStream_listen_closure: function _MultiStream_listen_closure(t0, t1) { this.$this = t0; this.controller = t1; }, _MultiStreamController: function _MultiStreamController(t0, t1, t2, t3, t4) { var _ = this; _._varData = null; _._state = 0; _._doneFuture = null; _.onListen = t0; _.onPause = t1; _.onResume = t2; _.onCancel = t3; _.$ti = t4; }, _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; _._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_A = $; _._async$_subscription = null; _._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; }, _Zone: function _Zone() { }, _rootHandleError_closure: function _rootHandleError_closure(t0, t1) { this.error = t0; this.stackTrace = t1; }, _RootZone: function _RootZone() { }, _RootZone_bindBinaryCallback_closure: function _RootZone_bindBinaryCallback_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.f = t1; _.T1 = t2; _.T2 = t3; _.R = t4; }, _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(equals, hashCode, isValidKey, $K, $V) { if (isValidKey == null) if (hashCode == null) { if (equals == null) return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>")); hashCode = A.collection___defaultHashCode$closure(); } else { if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals) return new A._IdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_IdentityHashMap<1,2>")); if (equals == null) equals = A.collection___defaultEquals$closure(); } else { if (hashCode == null) hashCode = A.collection___defaultHashCode$closure(); if (equals == null) equals = A.collection___defaultEquals$closure(); } return A._CustomHashMap$(equals, hashCode, isValidKey, $K, $V); }, _HashMap__getTableEntry(table, key) { var entry = table[key]; return entry === table ? null : entry; }, _HashMap__setTableEntry(table, key, value) { if (value == null) table[key] = table; else table[key] = value; }, _HashMap__newHashTable() { var table = Object.create(null); A._HashMap__setTableEntry(table, "<non-identifier-key>", table); delete table["<non-identifier-key>"]; return table; }, _CustomHashMap$(_equals, _hashCode, validKey, $K, $V) { var t1 = validKey != null ? validKey : new A._CustomHashMap_closure($K); return new A._CustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_CustomHashMap<1,2>")); }, LinkedHashMap_LinkedHashMap(equals, hashCode, $K, $V) { if (hashCode == null) { if (equals == null) return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); hashCode = A.collection___defaultHashCode$closure(); } else { if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals) return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>")); if (equals == null) equals = A.collection___defaultEquals$closure(); } return A._LinkedCustomHashMap$(equals, hashCode, null, $K, $V); }, LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) { return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"))); }, LinkedHashMap_LinkedHashMap$_empty($K, $V) { return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")); }, _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) { return new A._LinkedCustomHashMap(_equals, _hashCode, new A._LinkedCustomHashMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>")); }, HashSet_HashSet($E) { return new A._HashSet($E._eval$1("_HashSet<0>")); }, _HashSet__newHashTable() { var table = Object.create(null); table["<non-identifier-key>"] = table; delete table["<non-identifier-key>"]; return table; }, LinkedHashSet_LinkedHashSet($E) { return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); }, LinkedHashSet_LinkedHashSet$_empty($E) { return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")); }, LinkedHashSet_LinkedHashSet$_literal(values, $E) { return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"))); }, _LinkedHashSet__newHashTable() { var table = Object.create(null); table["<non-identifier-key>"] = table; delete table["<non-identifier-key>"]; return table; }, _LinkedHashSetIterator$(_set, _modifications, $E) { var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>")); t1._collection$_cell = _set._collection$_first; return t1; }, _defaultEquals(a, b) { return J.$eq$(a, b); }, _defaultHashCode(a) { return J.get$hashCode$(a); }, HashSet_HashSet$from(elements, $E) { var t1, _i, result = A.HashSet_HashSet($E); for (t1 = elements.length, _i = 0; _i < t1; ++_i) result.add$1(0, $E._as(elements[_i])); return result; }, IterableExtensions_get_firstOrNull(_this) { var iterator, t2, t1 = A._instanceType(_this); t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); iterator = new A.MappedIterator(J.get$iterator$ax(_this.__internal$_iterable), _this._f, t1._eval$1("MappedIterator<1,2>")); if (iterator.moveNext$0()) { t2 = iterator.__internal$_current; return t2 == null ? t1._rest[1]._as(t2) : t2; } return null; }, IterableExtensions_get_lastOrNull(_this) { var result, t1 = J.get$iterator$ax(_this.__internal$_iterable), iterator = new A.WhereIterator(t1, _this._f, _this.$ti._eval$1("WhereIterator<1>")); if (!iterator.moveNext$0()) return null; do result = t1.get$current(t1); while (iterator.moveNext$0()); return result; }, LinkedHashMap_LinkedHashMap$from(other, $K, $V) { var result = A.LinkedHashMap_LinkedHashMap(null, null, $K, $V); J.forEach$1$ax(other, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V)); return result; }, LinkedHashMap_LinkedHashMap$of(other, $K, $V) { var t1 = A.LinkedHashMap_LinkedHashMap(null, null, $K, $V); t1.addAll$1(0, other); return t1; }, LinkedHashMap_LinkedHashMap$fromIterable(iterable, key, value, $K, $V) { var map = A.LinkedHashMap_LinkedHashMap(null, null, $K, $V); A.MapBase__fillMapWithMappedIterable(map, iterable, key, value); return map; }, LinkedHashSet_LinkedHashSet$from(elements, $E) { var t1, result = A.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(elements, $E) { var t1 = A.LinkedHashSet_LinkedHashSet($E); t1.addAll$1(0, elements); return t1; }, _LinkedListIterator$(list, $E) { return new A._LinkedListIterator(list, list._modificationCount, list._collection$_first, $E._eval$1("_LinkedListIterator<0>")); }, ListBase__compareAny(a, b) { var t1 = type$.Comparable_dynamic; return J.compareTo$1$ns(t1._as(a), t1._as(b)); }, MapBase_mapToString(m) { var result, t1 = {}; if (A.isToStringVisiting(m)) return "{...}"; result = new A.StringBuffer(""); try { $.toStringVisiting.push(m); result._contents += "{"; t1.first = true; J.forEach$1$ax(m, new A.MapBase_mapToString_closure(t1, result)); result._contents += "}"; } finally { $.toStringVisiting.pop(); } t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, MapBase__fillMapWithMappedIterable(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)); } }, MapBase__fillMapWithIterables(map, keys, values) { var keyIterator, t2, valueIterator, hasNextKey, hasNextValue, t1 = A._instanceType(keys); t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); keyIterator = new A.MappedIterator(J.get$iterator$ax(keys.__internal$_iterable), keys._f, t1._eval$1("MappedIterator<1,2>")); t2 = values._map; valueIterator = A.LinkedHashMapKeyIterator$(t2, t2._modifications, values.$ti._precomputed1); hasNextKey = keyIterator.moveNext$0(); hasNextValue = valueIterator.moveNext$0(); t1 = t1._rest[1]; while (true) { if (!(hasNextKey && hasNextValue)) break; t2 = keyIterator.__internal$_current; if (t2 == null) t2 = t1._as(t2); map.$indexSet(0, t2, valueIterator.__js_helper$_current); hasNextKey = keyIterator.moveNext$0(); hasNextValue = valueIterator.moveNext$0(); } if (hasNextKey || hasNextValue) throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null)); }, ListQueue$(initialCapacity, $E) { return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(initialCapacity), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>")); }, ListQueue__calculateCapacity(initialCapacity) { if (initialCapacity == null || initialCapacity < 8) return 8; else if ((initialCapacity & initialCapacity - 1) >>> 0 !== 0) return A.ListQueue__nextPowerOf2(initialCapacity); return initialCapacity; }, ListQueue__nextPowerOf2(number) { var nextNumber; number = (number << 1 >>> 0) - 1; for (; true; number = nextNumber) { nextNumber = (number & number - 1) >>> 0; if (nextNumber === 0) return number; } }, _UnmodifiableSetMixin__throwUnmodifiable() { throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set")); }, _dynamicCompare(a, b) { return J.compareTo$1$ns(a, b); }, _defaultCompare($K) { if ($K._eval$1("int(0,0)")._is(A.core_Comparable_compare$closure())) return A.core_Comparable_compare$closure(); return A.collection___dynamicCompare$closure(); }, SplayTreeMap$($K, $V) { var t1 = A._defaultCompare($K); return new A.SplayTreeMap(t1, new A.SplayTreeMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("SplayTreeMap<1,2>")); }, SplayTreeSet$(compare, isValidKey, $E) { var t1 = compare == null ? A._defaultCompare($E) : compare, t2 = isValidKey == null ? new A.SplayTreeSet_closure($E) : isValidKey; return new A.SplayTreeSet(t1, t2, $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; _._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; _._offset = 0; _._collection$_current = null; _.$ti = t2; }, _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) { var _ = this; _._equals = t0; _._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; _._collection$_elements = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; _.$ti = t0; }, _HashSetIterator: function _HashSetIterator(t0, t1, t2) { var _ = this; _._set = t0; _._collection$_elements = t1; _._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._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; }, 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 = _._modificationCount = 0; _._collection$_first = null; _.$ti = t0; }, _LinkedListIterator: function _LinkedListIterator(t0, t1, t2, t3) { var _ = this; _._collection$_list = t0; _._modificationCount = t1; _._collection$_current = null; _._collection$_next = t2; _._visitedFirst = false; _.$ti = t3; }, LinkedListEntry: function LinkedListEntry() { }, ListBase: function ListBase() { }, MapBase: function MapBase() { }, MapBase_entries_closure: function MapBase_entries_closure(t0) { this.$this = t0; }, MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { this._box_0 = t0; this.result = t1; }, 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; }, _DoubleLinkedQueueEntry: function _DoubleLinkedQueueEntry() { }, _DoubleLinkedQueueElement: function _DoubleLinkedQueueElement(t0, t1, t2) { var _ = this; _._collection$_queue = t0; _.element = t1; _._nextLink = _._previousLink = null; _.$ti = t2; }, _DoubleLinkedQueueSentinel: function _DoubleLinkedQueueSentinel(t0) { this._nextLink = this._previousLink = null; this.$ti = t0; }, DoubleLinkedQueue: function DoubleLinkedQueue(t0, t1) { this._sentinel = t0; this._elementCount = 0; this.$ti = t1; }, _DoubleLinkedQueueIterator: function _DoubleLinkedQueueIterator(t0, t1, t2) { var _ = this; _._collection$_queue = t0; _._nextEntry = t1; _._collection$_current = null; _.$ti = t2; }, ListQueue: function ListQueue(t0, t1) { var _ = this; _._table = t0; _._modificationCount = _._tail = _._head = 0; _.$ti = t1; }, _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) { var _ = this; _._collection$_queue = t0; _._end = t1; _._modificationCount = t2; _._collection$_position = t3; _._collection$_current = null; _.$ti = t4; }, SetBase: function SetBase() { }, _SetBase: function _SetBase() { }, _UnmodifiableSetMixin: function _UnmodifiableSetMixin() { }, UnmodifiableSetView: function UnmodifiableSetView(t0, t1) { this._collection$_source = 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; _._collection$_root = null; _._compare = t0; _._validKey = t1; _._splayCount = _._modificationCount = _._collection$_count = 0; _.$ti = t2; }, SplayTreeMap_closure: function SplayTreeMap_closure(t0) { this.K = 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; _._modificationCount = null; _._splayCount = t2; _.$ti = t3; }, _SplayTreeValueIterator: function _SplayTreeValueIterator(t0, t1, t2, t3) { var _ = this; _._tree = t0; _._collection$_path = t1; _._modificationCount = null; _._splayCount = t2; _.$ti = t3; }, _SplayTreeMapEntryIterator: function _SplayTreeMapEntryIterator(t0, t1, t2, t3) { var _ = this; _._tree = t0; _._collection$_path = t1; _._modificationCount = null; _._splayCount = t2; _.$ti = t3; }, SplayTreeSet: function SplayTreeSet(t0, t1, t2) { var _ = this; _._collection$_root = null; _._compare = t0; _._validKey = t1; _._splayCount = _._modificationCount = _._collection$_count = 0; _.$ti = t2; }, SplayTreeSet_closure: function SplayTreeSet_closure(t0) { this.E = t0; }, SplayTreeSet__newSet_closure: function SplayTreeSet__newSet_closure(t0, t1) { this.$this = t0; this.T = t1; }, SplayTreeSet__copyNode_copyChildren: function SplayTreeSet__copyNode_copyChildren(t0, t1) { this.$this = t0; this.Node = t1; }, _SplayTreeMap__SplayTree_MapMixin: function _SplayTreeMap__SplayTree_MapMixin() { }, _SplayTreeSet__SplayTree_Iterable: function _SplayTreeSet__SplayTree_Iterable() { }, _SplayTreeSet__SplayTree_Iterable_SetMixin: function _SplayTreeSet__SplayTree_Iterable_SetMixin() { }, _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { }, _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() { }, _parseJson(source, reviver) { var e, exception, t1, parsed = null; try { parsed = JSON.parse(source); } catch (exception) { e = A.unwrapException(exception); t1 = A.FormatException$(String(e), null, null); throw A.wrapException(t1); } t1 = A._convertJsonToDartLazy(parsed); return t1; }, _convertJsonToDartLazy(object) { var i; if (object == null) return null; if (typeof object != "object") return object; if (Object.getPrototypeOf(object) !== Array.prototype) return new A._JsonMap(object, Object.create(null)); for (i = 0; i < object.length; ++i) object[i] = A._convertJsonToDartLazy(object[i]); return object; }, _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) { var bytes, t1, i, b, $length = end - start; if ($length <= 4096) bytes = $.$get$_Utf8Decoder__reusableBuffer(); else bytes = new Uint8Array($length); for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) { b = t1.$index(codeUnits, start + i); if ((b & 255) !== b) b = 255; bytes[i] = b; } return bytes; }, _Utf8Decoder__convertInterceptedUint8List(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 A._Utf8Decoder__useTextDecoder(decoder, codeUnits); return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end)); }, _Utf8Decoder__useTextDecoder(decoder, codeUnits) { var t1, exception; try { t1 = decoder.decode(codeUnits); return t1; } catch (exception) { } return null; }, Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) { if (B.JSInt_methods.$mod($length, 4) !== 0) throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd)); if (firstPadding + paddingCount !== $length) throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex)); if (paddingCount > 2) throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); }, _Base64Encoder_encodeChunk(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, alphabet.charCodeAt(bits >>> 18 & 63)); outputIndex = outputIndex0 + 1; t2.$indexSet(output, outputIndex0, alphabet.charCodeAt(bits >>> 12 & 63)); outputIndex0 = outputIndex + 1; t2.$indexSet(output, outputIndex, alphabet.charCodeAt(bits >>> 6 & 63)); outputIndex = outputIndex0 + 1; t2.$indexSet(output, outputIndex0, alphabet.charCodeAt(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, alphabet.charCodeAt(bits >>> 2 & 63)); t2.$indexSet(output, outputIndex0, alphabet.charCodeAt(bits << 4 & 63)); t2.$indexSet(output, outputIndex1, 61); t2.$indexSet(output, outputIndex1 + 1, 61); } else { t2.$indexSet(output, outputIndex, alphabet.charCodeAt(bits >>> 10 & 63)); t2.$indexSet(output, outputIndex0, alphabet.charCodeAt(bits >>> 4 & 63)); t2.$indexSet(output, outputIndex1, alphabet.charCodeAt(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 A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + J.toRadixString$1$n(t1.$index(bytes, i), 16), null)); }, _Base64Decoder_decodeChunk(input, start, end, output, outIndex, state) { var i, charOr, char, code, outIndex0, expectedPadding, _s31_ = "Invalid encoding before padding", _s17_ = "Invalid character", bits = B.JSInt_methods._shrOtherPositive$1(state, 2), count = state & 3, inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); for (i = start, charOr = 0; i < end; ++i) { char = input.charCodeAt(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 A.wrapException(A.FormatException$(_s31_, input, i)); output[outIndex] = bits >>> 10; output[outIndex + 1] = bits >>> 2; } else { if ((bits & 15) !== 0) throw A.wrapException(A.FormatException$(_s31_, input, i)); output[outIndex] = bits >>> 4; } expectedPadding = (3 - count) * 3; if (char === 37) expectedPadding += 2; return A._Base64Decoder__checkPadding(input, i + 1, end, -expectedPadding - 1); } throw A.wrapException(A.FormatException$(_s17_, input, i)); } if (charOr >= 0 && charOr <= 127) return (bits << 2 | count) >>> 0; for (i = start; i < end; ++i) if (input.charCodeAt(i) > 127) break; throw A.wrapException(A.FormatException$(_s17_, input, i)); }, _Base64Decoder__allocateBuffer(input, start, end, state) { var paddingStart = A._Base64Decoder__trimPaddingChars(input, start, end), $length = (state & 3) + (paddingStart - start), bufferLength = B.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(input, start, end) { var char, newEnd = end, index = newEnd, padding = 0; while (true) { if (!(index > start && padding < 2)) break; c$0: { --index; char = input.charCodeAt(index); if (char === 61) { ++padding; newEnd = index; break c$0; } if ((char | 32) === 100) { if (index === start) break; --index; char = input.charCodeAt(index); } if (char === 51) { if (index === start) break; --index; char = input.charCodeAt(index); } if (char === 37) { ++padding; newEnd = index; break c$0; } break; } } return newEnd; }, _Base64Decoder__checkPadding(input, start, end, state) { var expectedPadding, char; if (start === end) return state; expectedPadding = -state - 1; for (; expectedPadding > 0;) { char = input.charCodeAt(start); if (expectedPadding === 3) { if (char === 61) { expectedPadding -= 3; ++start; break; } if (char === 37) { --expectedPadding; ++start; if (start === end) break; char = input.charCodeAt(start); } else break; } if ((expectedPadding > 3 ? expectedPadding - 3 : expectedPadding) === 2) { if (char !== 51) break; ++start; --expectedPadding; if (start === end) break; char = input.charCodeAt(start); } if ((char | 32) !== 100) break; ++start; --expectedPadding; if (start === end) break; } if (start !== end) throw A.wrapException(A.FormatException$("Invalid padding character", input, start)); return -expectedPadding - 1; }, Encoding_getByName($name) { return $.$get$Encoding__nameToEncoding().$index(0, $name.toLowerCase()); }, JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) { return new A.JsonUnsupportedObjectError(unsupportedObject, cause); }, _defaultToEncodable(object) { return object.toJson$0(); }, _JsonStringStringifier$(_sink, _toEncodable) { var t1 = _toEncodable == null ? A.convert___defaultToEncodable$closure() : _toEncodable; return new A._JsonStringStringifier(_sink, [], t1); }, _JsonStringStringifier_stringify(object, toEncodable, indent) { var t1, output = new A.StringBuffer(""); A._JsonStringStringifier_printOn(object, output, toEncodable, indent); t1 = output._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _JsonStringStringifier_printOn(object, output, toEncodable, indent) { var stringifier, t1; if (indent == null) stringifier = A._JsonStringStringifier$(output, toEncodable); else { t1 = toEncodable == null ? A.convert___defaultToEncodable$closure() : toEncodable; stringifier = new A._JsonStringStringifierPretty(indent, 0, output, [], t1); } stringifier.writeObject$1(object); }, _Latin1DecoderSink__checkValidLatin1(source, start, end) { var t1, i, mask; for (t1 = J.getInterceptor$asx(source), i = start, mask = 0; i < end; ++i) mask = (mask | t1.$index(source, i)) >>> 0; if (mask >= 0 && mask <= 255) return; A._Latin1DecoderSink__reportInvalidLatin1(source, start, end); }, _Latin1DecoderSink__reportInvalidLatin1(source, start, end) { var t1, i, char; for (t1 = J.getInterceptor$asx(source), i = start; i < end; ++i) { char = t1.$index(source, i); if (char < 0 || char > 255) throw A.wrapException(A.FormatException$("Source contains non-Latin-1 characters.", source, i)); } }, _Utf8Decoder_errorDescription(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 ""; } }, _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; }, _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) { this._parent = t0; }, _JsonDecoderSink: function _JsonDecoderSink(t0, t1, t2) { this._reviver = t0; this._sink = t1; this._stringSink = t2; }, _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; }, _UnicodeSubsetEncoderSink: function _UnicodeSubsetEncoderSink(t0, t1) { this._sink = t0; this._subsetMask = t1; }, _UnicodeSubsetDecoder: function _UnicodeSubsetDecoder() { }, AsciiDecoder: function AsciiDecoder(t0, t1) { this._allowInvalid = t0; this._subsetMask = t1; }, _ErrorHandlingAsciiDecoderSink: function _ErrorHandlingAsciiDecoderSink(t0) { this._utf8Sink = t0; }, _SimpleAsciiDecoderSink: function _SimpleAsciiDecoderSink(t0) { this._sink = t0; }, Base64Codec: function Base64Codec() { }, Base64Encoder: function Base64Encoder() { }, _Base64Encoder: function _Base64Encoder(t0) { this._convert$_state = 0; this._alphabet = t0; }, _BufferCachingBase64Encoder: function _BufferCachingBase64Encoder(t0) { this.bufferCache = null; this._convert$_state = 0; this._alphabet = t0; }, _Base64EncoderSink: function _Base64EncoderSink() { }, _AsciiBase64EncoderSink: function _AsciiBase64EncoderSink(t0, t1) { this._sink = t0; this._encoder = t1; }, _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) { this._sink = t0; this._encoder = t1; }, Base64Decoder: function Base64Decoder() { }, _Base64Decoder: function _Base64Decoder() { this._convert$_state = 0; }, _Base64DecoderSink: function _Base64DecoderSink(t0, t1) { this._sink = t0; this._decoder = t1; }, ByteConversionSink: function ByteConversionSink() { }, _ByteAdapterSink: function _ByteAdapterSink(t0) { this._sink = t0; }, _ByteCallbackSink: function _ByteCallbackSink(t0, t1) { this._convert$_callback = t0; this._convert$_buffer = t1; this._bufferIndex = 0; }, ChunkedConversionSink: function ChunkedConversionSink() { }, _SimpleCallbackSink: function _SimpleCallbackSink(t0, t1, t2) { this._convert$_callback = t0; this._accumulated = t1; this.$ti = t2; }, Codec0: function Codec0() { }, Converter: function Converter() { }, _FusedConverter: function _FusedConverter(t0, t1, t2) { this._convert$_first = t0; this._second = t1; this.$ti = t2; }, Encoding: function Encoding() { }, HtmlEscapeMode: function HtmlEscapeMode(t0, t1) { this._convert$_name = t0; this.escapeQuot = t1; }, HtmlEscape: function HtmlEscape(t0) { this.mode = t0; }, _HtmlEscapeSink: function _HtmlEscapeSink(t0, t1) { this._escape = t0; this._sink = t1; }, 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; }, _JsonEncoderSink: function _JsonEncoderSink(t0, t1, t2) { var _ = this; _._indent = t0; _._toEncodable = t1; _._sink = t2; _._isDone = false; }, 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; }, _Latin1DecoderSink: function _Latin1DecoderSink(t0) { this._sink = t0; }, _Latin1AllowInvalidDecoderSink: function _Latin1AllowInvalidDecoderSink(t0) { this._sink = t0; }, LineSplitter: function LineSplitter() { }, StringConversionSink: function StringConversionSink() { }, _ClosableStringSink: function _ClosableStringSink(t0, t1) { this._convert$_callback = t0; this._sink = t1; }, _StringConversionSinkAsStringSinkAdapter: function _StringConversionSinkAsStringSinkAdapter(t0, t1) { this._convert$_buffer = t0; this._chunkedSink = t1; }, _StringSinkConversionSink: function _StringSinkConversionSink() { }, _StringAdapterSink: function _StringAdapterSink(t0) { this._sink = t0; }, _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) { this._decoder = t0; this._sink = t1; this._stringSink = t2; }, _Utf8ConversionSink: function _Utf8ConversionSink(t0, t1, t2) { this._decoder = t0; this._chunkedSink = t1; this._convert$_buffer = t2; }, Utf8Codec: function Utf8Codec() { }, Utf8Encoder: function Utf8Encoder() { }, _Utf8Encoder: function _Utf8Encoder(t0) { this._bufferIndex = this._carry = 0; this._convert$_buffer = t0; }, _Utf8EncoderSink: function _Utf8EncoderSink(t0, t1) { var _ = this; _._sink = t0; _._bufferIndex = _._carry = 0; _._convert$_buffer = t1; }, 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() { }, __Utf8EncoderSink__Utf8Encoder_StringConversionSink: function __Utf8EncoderSink__Utf8Encoder_StringConversionSink() { }, _BigIntImpl__parseDecimal(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 + source.charCodeAt(i) - 48; ++digitInPartCount; if (digitInPartCount === 4) { result = result.$mul(0, $.$get$_BigIntImpl__bigInt10000()).$add(0, A._BigIntImpl__BigIntImpl$_fromInt(part)); part = 0; digitInPartCount = 0; } } if (isNegative) return result.$negate(0); return result; }, _BigIntImpl__codeUnitToRadixValue(codeUnit) { if (48 <= codeUnit && codeUnit <= 57) return codeUnit - 48; return (codeUnit | 32) - 97 + 10; }, _BigIntImpl__parseHex(source, startPos, isNegative) { var i, chunk, j, i0, digitValue, digitIndex, digitIndex0, t1 = source.length, sourceLength = t1 - startPos, chunkCount = B.JSNumber_methods.ceil$0(sourceLength / 4), digits = new Uint16Array(chunkCount), t2 = chunkCount - 1, lastDigitLength = sourceLength - t2 * 4; for (i = startPos, chunk = 0, j = 0; j < lastDigitLength; ++j, i = i0) { i0 = i + 1; digitValue = A._BigIntImpl__codeUnitToRadixValue(source.charCodeAt(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 = A._BigIntImpl__codeUnitToRadixValue(source.charCodeAt(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 = A._BigIntImpl__normalize(chunkCount, digits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); }, _BigIntImpl__tryParse(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 A._BigIntImpl__parseDecimal(decimalMatch, isNegative); if (hexMatch != null) return A._BigIntImpl__parseHex(hexMatch, 2, isNegative); return null; }, _BigIntImpl__normalize(used, digits) { while (true) { if (!(used > 0 && digits[used - 1] === 0)) break; --used; } return used; }, _BigIntImpl__cloneDigits(digits, from, to, $length) { var t1, i, resultDigits = new Uint16Array($length), n = to - from; for (t1 = J.getInterceptor$asx(digits), i = 0; i < n; ++i) resultDigits[i] = t1.$index(digits, from + i); return resultDigits; }, _BigIntImpl__BigIntImpl$_fromInt(value) { var digits, t1, i, i0, isNegative = value < 0; if (isNegative) { if (value === -9223372036854776e3) { digits = new Uint16Array(4); digits[3] = 32768; t1 = A._BigIntImpl__normalize(4, digits); return new A._BigIntImpl(t1 !== 0 || false, digits, t1); } value = -value; } if (value < 65536) { digits = new Uint16Array(1); digits[0] = value; t1 = A._BigIntImpl__normalize(1, digits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); } if (value <= 4294967295) { digits = new Uint16Array(2); digits[0] = value & 65535; digits[1] = B.JSInt_methods._shrOtherPositive$1(value, 16); t1 = A._BigIntImpl__normalize(2, digits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); } t1 = B.JSInt_methods._tdivFast$1(B.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 = B.JSInt_methods._tdivFast$1(value, 65536); } t1 = A._BigIntImpl__normalize(t1, digits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); }, _BigIntImpl__dlShiftDigits(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(xDigits, xUsed, n, resultDigits) { var i, carry, digit, digitShift = B.JSInt_methods._tdivFast$1(n, 16), bitShift = B.JSInt_methods.$mod(n, 16), carryBitShift = 16 - bitShift, bitMask = B.JSInt_methods.$shl(1, carryBitShift) - 1; for (i = xUsed - 1, carry = 0; i >= 0; --i) { digit = xDigits[i]; resultDigits[i + digitShift + 1] = (B.JSInt_methods._shrReceiverPositive$1(digit, carryBitShift) | carry) >>> 0; carry = B.JSInt_methods.$shl((digit & bitMask) >>> 0, bitShift); } resultDigits[digitShift] = carry; }, _BigIntImpl__lShiftDigits(xDigits, xUsed, n, resultDigits) { var resultUsed, i, resultUsed0, digitsShift = B.JSInt_methods._tdivFast$1(n, 16); if (B.JSInt_methods.$mod(n, 16) === 0) return A._BigIntImpl__dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); resultUsed = xUsed + digitsShift + 1; A._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(xDigits, xUsed, n, resultDigits) { var i, digit, digitsShift = B.JSInt_methods._tdivFast$1(n, 16), bitShift = B.JSInt_methods.$mod(n, 16), carryBitShift = 16 - bitShift, bitMask = B.JSInt_methods.$shl(1, bitShift) - 1, carry = B.JSInt_methods._shrReceiverPositive$1(xDigits[digitsShift], bitShift), last = xUsed - digitsShift - 1; for (i = 0; i < last; ++i) { digit = xDigits[i + digitsShift + 1]; resultDigits[i] = (B.JSInt_methods.$shl((digit & bitMask) >>> 0, carryBitShift) | carry) >>> 0; carry = B.JSInt_methods._shrReceiverPositive$1(digit, bitShift); } resultDigits[last] = carry; }, _BigIntImpl__compareDigits(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(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(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 - (B.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); } for (i = otherUsed; i < used; ++i) { carry += digits[i]; resultDigits[i] = carry & 65535; carry = 0 - (B.JSInt_methods._shrOtherPositive$1(carry, 16) & 1); } }, _BigIntImpl__mulAdd(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 = B.JSInt_methods._tdivFast$1(combined, 65536); } for (; c !== 0; j = j0) { l = accumulatorDigits[j] + c; j0 = j + 1; accumulatorDigits[j] = l & 65535; c = B.JSInt_methods._tdivFast$1(l, 65536); } }, _BigIntImpl__estimateQuotientDigit(topDigitDivisor, digits, i) { var quotientDigit, t1 = digits[i]; if (t1 === topDigitDivisor) return 65535; quotientDigit = B.JSInt_methods.$tdiv((t1 << 16 | digits[i - 1]) >>> 0, topDigitDivisor); if (quotientDigit > 65535) return 65535; return quotientDigit; }, identityHashCode(object) { return A.objectHashCode(object); }, Function_apply($function, positionalArguments, namedArguments) { return A.Primitives_applyFunction($function, positionalArguments, null); }, Expando$($T) { return new A.Expando(new WeakMap(), $T._eval$1("Expando<0>")); }, Expando__checkType(object) { if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record) A.Expando__badExpandoKey(object); }, Expando__badExpandoKey(object) { throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null")); }, _WeakReferenceWrapper__findWeakRefConstructor() { if (typeof WeakRef == "function") return WeakRef; var $constructor = function LeakRef(o) { this._ = o; }; $constructor.prototype = { deref() { return this._; } }; return $constructor; }, int_parse(source, radix) { var value = A.Primitives_parseInt(source, radix); if (value != null) return value; throw A.wrapException(A.FormatException$(source, null, null)); }, double_parse(source) { var value = A.Primitives_parseDouble(source); if (value != null) return value; throw A.wrapException(A.FormatException$("Invalid double", source, null)); }, Error__throw(error, stackTrace) { error = A.wrapException(error); error.stack = stackTrace.toString$0(0); throw error; throw A.wrapException("unreachable"); }, DateTime$fromMillisecondsSinceEpoch(millisecondsSinceEpoch, isUtc) { var t1; if (Math.abs(millisecondsSinceEpoch) <= 864e13) t1 = false; else t1 = true; if (t1) A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + millisecondsSinceEpoch, null)); A.checkNotNullable(isUtc, "isUtc", type$.bool); return new A.DateTime(millisecondsSinceEpoch, isUtc); }, List_List$filled($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(elements, growable, $E) { var t1, list = A._setArrayType([], $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(elements, growable, $E) { var t1; if (growable) return A.List_List$_of(elements, $E); t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E)); return t1; }, List_List$_of(elements, $E) { var list, t1; if (Array.isArray(elements)) return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>")); list = A._setArrayType([], $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($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(elements, $E) { return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E)); }, String_String$fromCharCodes(charCodes, start, end) { var t1, t2, maxLength, array, len; A.RangeError_checkNotNegative(start, "start"); t1 = end == null; t2 = !t1; if (t2) { maxLength = end - start; if (maxLength < 0) throw A.wrapException(A.RangeError$range(end, start, null, "end", null)); if (maxLength === 0) return ""; } if (Array.isArray(charCodes)) { array = charCodes; len = array.length; if (t1) end = len; return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array); } if (type$.NativeUint8List._is(charCodes)) return A.String__stringFromUint8List(charCodes, start, end); if (t2) charCodes = J.take$1$ax(charCodes, end); if (start > 0) charCodes = J.skip$1$ax(charCodes, start); return A.Primitives_stringFromCharCodes(A.List_List$of(charCodes, true, type$.int)); }, String_String$fromCharCode(charCode) { return A.Primitives_stringFromCharCode(charCode); }, String__stringFromUint8List(charCodes, start, endOrNull) { var len = charCodes.length; if (start >= len) return ""; return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull); }, RegExp_RegExp(source, caseSensitive, dotAll, multiLine, unicode) { return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, false)); }, identical(a, b) { return a == null ? b == null : a === b; }, StringBuffer__writeAll(string, objects, separator) { var iterator = J.get$iterator$ax(objects); if (!iterator.moveNext$0()) return string; if (separator.length === 0) { do string += A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { string += A.S(iterator.get$current(iterator)); for (; iterator.moveNext$0();) string = string + separator + A.S(iterator.get$current(iterator)); } return string; }, NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) { return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()); }, Uri_base() { var cachedUri, uri, current = A.Primitives_currentUri(); if (current == null) throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); cachedUri = $.Uri__cachedBaseUri; if (cachedUri != null && current === $.Uri__cachedBaseString) return cachedUri; uri = A.Uri_parse(current, 0, null); $.Uri__cachedBaseUri = uri; $.Uri__cachedBaseString = current; return uri; }, _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) { var t1, bytes, i, t2, byte, _s16_ = "0123456789ABCDEF"; if (encoding === B.C_Utf8Codec) { t1 = $.$get$_Uri__needsNoEncoding(); t1 = t1._nativeRegExp.test(text); } else t1 = false; if (t1) return text; bytes = encoding.encode$1(text); for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) { byte = bytes[i]; if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0) t2 += A.Primitives_stringFromCharCode(byte); else t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15]; } return t2.charCodeAt(0) == 0 ? t2 : t2; }, _Uri__makeQueryFromParameters(queryParameters) { var params, encoded, $length; if (!$.$get$_Uri__useURLSearchParams()) return A._Uri__makeQueryFromParametersDefault(queryParameters); params = new URLSearchParams(); queryParameters.forEach$1(0, new A._Uri__makeQueryFromParameters_closure(params)); encoded = params.toString(); $length = encoded.length; if ($length > 0 && encoded[$length - 1] === "=") encoded = B.JSString_methods.substring$2(encoded, 0, $length - 1); return encoded.replace(/=&|\*|%7E/g, m => m === "=&" ? "&" : m === "*" ? "%2A" : "~"); }, StackTrace_current() { return A.getTraceFromException(new Error()); }, Comparable_compare(a, b) { return J.compareTo$1$ns(a, b); }, DateTime___new_tearOff(year, month, day, hour, minute, second, millisecond, microsecond) { var t1 = A.Primitives_valueFromDecomposedDate(year, month, day, hour, minute, second, millisecond + B.JSNumber_methods.round$0(microsecond / 1000), false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, false); }, DateTime___utc_tearOff(year, month, day, hour, minute, second, millisecond, microsecond) { var t1 = A.Primitives_valueFromDecomposedDate(year, month, day, hour, minute, second, millisecond + B.JSNumber_methods.round$0(microsecond / 1000), true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, true); }, DateTime$now() { return new A.DateTime(Date.now(), false); }, DateTime_parse(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 A.DateTime_parse_parseIntOrZero(); t2 = match._match; t3 = t2[1]; t3.toString; years = A.int_parse(t3, _null); t3 = t2[2]; t3.toString; month = A.int_parse(t3, _null); t3 = t2[3]; t3.toString; day = A.int_parse(t3, _null); hour = t1.call$1(t2[4]); minute = t1.call$1(t2[5]); second = t1.call$1(t2[6]); milliAndMicroseconds = new A.DateTime_parse_parseMilliAndMicroseconds().call$1(t2[7]); millisecond = B.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 = A.int_parse(t3, _null); minute -= sign * (t1.call$1(t2[11]) + 60 * hourDifference); } isUtc = true; } else isUtc = false; value = A.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond + B.JSNumber_methods.round$0(milliAndMicroseconds % 1000 / 1000), isUtc); if (value == null) throw A.wrapException(A.FormatException$("Time out of range", formattedString, _null)); return A.DateTime$_withValue(value, isUtc); } else throw A.wrapException(A.FormatException$("Invalid date format", formattedString, _null)); }, DateTime_tryParse(formattedString) { var t1, exception; try { t1 = A.DateTime_parse(formattedString); return t1; } catch (exception) { if (type$.FormatException._is(A.unwrapException(exception))) return null; else throw exception; } }, DateTime$_withValue(_value, isUtc) { var t1; if (Math.abs(_value) <= 864e13) t1 = false; else t1 = true; if (t1) A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null)); A.checkNotNullable(isUtc, "isUtc", type$.bool); return new A.DateTime(_value, isUtc); }, DateTime__fourDigits(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(n) { var absN = Math.abs(n), sign = n < 0 ? "-" : "+"; if (absN >= 100000) return sign + absN; return sign + "0" + absN; }, DateTime__threeDigits(n) { if (n >= 100) return "" + n; if (n >= 10) return "0" + n; return "00" + n; }, DateTime__twoDigits(n) { if (n >= 10) return "" + n; return "0" + n; }, Duration$(days, hours, microseconds, milliseconds, minutes, seconds) { return new A.Duration(microseconds + 1000 * milliseconds + 1000000 * seconds + 60000000 * minutes + 3600000000 * hours + 864e8 * days); }, EnumByName_byName(_this, $name) { var _i, value; for (_i = 0; _i < 3; ++_i) { value = _this[_i]; if (value._core$_name === $name) return value; } throw A.wrapException(A.ArgumentError$value($name, "name", "No enum value with that name")); }, Error_safeToString(object) { if (typeof object == "number" || A._isBool(object) || object == null) return J.toString$0$(object); if (typeof object == "string") return JSON.stringify(object); return A.Primitives_safeToString(object); }, Error_throwWithStackTrace(error, stackTrace) { A.checkNotNullable(error, "error", type$.Object); A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace); A.Error__throw(error, stackTrace); }, AssertionError$(message) { return new A.AssertionError(message); }, ArgumentError$(message, $name) { return new A.ArgumentError(false, null, $name, message); }, ArgumentError$value(value, $name, message) { return new A.ArgumentError(true, value, $name, message); }, ArgumentError$notNull($name) { return new A.ArgumentError(false, null, $name, "Must not be null"); }, ArgumentError_checkNotNull(argument, $name) { return argument; }, RangeError$(message) { var _null = null; return new A.RangeError(_null, _null, false, _null, _null, message); }, RangeError$value(value, $name) { return new A.RangeError(null, null, true, value, $name, "Value not in range"); }, RangeError$range(invalidValue, minValue, maxValue, $name, message) { return new A.RangeError(minValue, maxValue, true, invalidValue, $name, "Invalid value"); }, RangeError_checkValueInInterval(value, minValue, maxValue, $name) { if (value < minValue || value > maxValue) throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null)); return value; }, RangeError_checkValidRange(start, end, $length, startName, endName) { if (0 > start || start > $length) throw A.wrapException(A.RangeError$range(start, 0, $length, startName == null ? "start" : startName, null)); if (end != null) { if (start > end || end > $length) throw A.wrapException(A.RangeError$range(end, start, $length, endName == null ? "end" : endName, null)); return end; } return $length; }, RangeError_checkNotNegative(value, $name) { if (value < 0) throw A.wrapException(A.RangeError$range(value, 0, null, $name, null)); return value; }, IndexError$(invalidValue, indexable, $name, message, $length) { var t1 = $length == null ? indexable.get$length(indexable) : $length; return new A.IndexError(t1, true, invalidValue, $name, "Index out of range"); }, IndexError$withLength(invalidValue, $length, indexable, message, $name) { return new A.IndexError($length, true, invalidValue, $name, "Index out of range"); }, IndexError_check(index, $length, indexable, message, $name) { if (0 > index || index >= $length) throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name)); return index; }, UnsupportedError$(message) { return new A.UnsupportedError(message); }, UnimplementedError$(message) { return new A.UnimplementedError(message); }, StateError$(message) { return new A.StateError(message); }, ConcurrentModificationError$(modifiedObject) { return new A.ConcurrentModificationError(modifiedObject); }, Exception_Exception(message) { return new A._Exception(message); }, FormatException$(message, source, offset) { return new A.FormatException(message, source, offset); }, Iterable_Iterable$generate(count, generator, $E) { if (count <= 0) return new A.EmptyIterable($E._eval$1("EmptyIterable<0>")); if (generator == null) { if (!$E._eval$1("0(int)")._is(A.core__GeneratorIterable__id$closure())) throw A.wrapException(A.ArgumentError$("Generator must be supplied or element type must allow integers", "generator")); generator = A.core__GeneratorIterable__id$closure(); } return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>")); }, Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { var parts, t1; if (A.isToStringVisiting(iterable)) { if (leftDelimiter === "(" && rightDelimiter === ")") return "(...)"; return leftDelimiter + "..." + rightDelimiter; } parts = A._setArrayType([], type$.JSArray_String); $.toStringVisiting.push(iterable); try { A._iterablePartsToStrings(iterable, parts); } finally { $.toStringVisiting.pop(); } t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter; return t1.charCodeAt(0) == 0 ? t1 : t1; }, Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { var buffer, t1; if (A.isToStringVisiting(iterable)) return leftDelimiter + "..." + rightDelimiter; buffer = new A.StringBuffer(leftDelimiter); $.toStringVisiting.push(iterable); try { t1 = buffer; t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); } finally { $.toStringVisiting.pop(); } buffer._contents += rightDelimiter; t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _GeneratorIterable__id(n) { return n; }, _iterablePartsToStrings(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 = A.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(A.S(penultimate)); return; } ultimateString = A.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 = A.S(penultimate); ultimateString = A.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); }, Map_castFrom(source, $K, $V, K2, V2) { return new A.CastMap(source, $K._eval$1("@<0>")._bind$1($V)._bind$1(K2)._bind$1(V2)._eval$1("CastMap<1,2,3,4>")); }, Map_Map$fromEntries(entries, $K, $V) { var t1 = A.LinkedHashMap_LinkedHashMap$_empty($K, $V); t1.addEntries$1(t1, entries); return t1; }, Object_hash(object1, object2, object3, object4, object5, object6, object7, object8, object9, object10, object11, object12, object13, object14, object15, object16, object17, object18, object19, object20) { var t1; if (B.C_SentinelValue === object3) return A.SystemHash_hash2(J.get$hashCode$(object1), J.get$hashCode$(object2), $.$get$_hashSeed()); if (B.C_SentinelValue === object4) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3)); } if (B.C_SentinelValue === object5) return A.SystemHash_hash4(J.get$hashCode$(object1), J.get$hashCode$(object2), J.get$hashCode$(object3), J.get$hashCode$(object4), $.$get$_hashSeed()); if (B.C_SentinelValue === object6) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5)); } if (B.C_SentinelValue === object7) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6)); } if (B.C_SentinelValue === object8) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7)); } if (B.C_SentinelValue === object9) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8)); } if (B.C_SentinelValue === object10) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9)); } if (B.C_SentinelValue === object11) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10)); } if (B.C_SentinelValue === object12) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11)); } if (B.C_SentinelValue === object13) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12)); } if (B.C_SentinelValue === object14) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13)); } if (B.C_SentinelValue === object15) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14)); } if (B.C_SentinelValue === object16) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); object15 = J.get$hashCode$(object15); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14), object15)); } if (B.C_SentinelValue === object17) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); object15 = J.get$hashCode$(object15); object16 = J.get$hashCode$(object16); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14), object15), object16)); } if (B.C_SentinelValue === object18) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); object15 = J.get$hashCode$(object15); object16 = J.get$hashCode$(object16); object17 = J.get$hashCode$(object17); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14), object15), object16), object17)); } if (B.C_SentinelValue === object19) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); object15 = J.get$hashCode$(object15); object16 = J.get$hashCode$(object16); object17 = J.get$hashCode$(object17); object18 = J.get$hashCode$(object18); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14), object15), object16), object17), object18)); } if (B.C_SentinelValue === object20) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); object15 = J.get$hashCode$(object15); object16 = J.get$hashCode$(object16); object17 = J.get$hashCode$(object17); object18 = J.get$hashCode$(object18); object19 = J.get$hashCode$(object19); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14), object15), object16), object17), object18), object19)); } t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); object3 = J.get$hashCode$(object3); object4 = J.get$hashCode$(object4); object5 = J.get$hashCode$(object5); object6 = J.get$hashCode$(object6); object7 = J.get$hashCode$(object7); object8 = J.get$hashCode$(object8); object9 = J.get$hashCode$(object9); object10 = J.get$hashCode$(object10); object11 = J.get$hashCode$(object11); object12 = J.get$hashCode$(object12); object13 = J.get$hashCode$(object13); object14 = J.get$hashCode$(object14); object15 = J.get$hashCode$(object15); object16 = J.get$hashCode$(object16); object17 = J.get$hashCode$(object17); object18 = J.get$hashCode$(object18); object19 = J.get$hashCode$(object19); object20 = J.get$hashCode$(object20); return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13), object14), object15), object16), object17), object18), object19), object20)); }, Object_hashAll(objects) { var t1, hash = $.$get$_hashSeed(); for (t1 = J.get$iterator$ax(objects); t1.moveNext$0();) hash = A.SystemHash_combine(hash, J.get$hashCode$(t1.get$current(t1))); return A.SystemHash_finish(hash); }, print(object) { A.printString(A.S(object)); }, Set_castFrom(source, newSet, $S, $T) { return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>")); }, Stopwatch$() { $.$get$Stopwatch__frequency(); return new A.Stopwatch(); }, _combineSurrogatePair(start, end) { return 65536 + ((start & 1023) << 10) + (end & 1023); }, Uri_parse(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 = ((uri.charCodeAt(start + 4) ^ 58) * 3 | uri.charCodeAt(start) ^ 100 | uri.charCodeAt(start + 1) ^ 97 | uri.charCodeAt(start + 2) ^ 116 | uri.charCodeAt(start + 3) ^ 97) >>> 0; if (delta === 0) return A.UriData__parse(start > 0 || end < end ? B.JSString_methods.substring$2(uri, start, end) : uri, 5, _null).get$uri(); else if (delta === 32) return A.UriData__parse(B.JSString_methods.substring$2(uri, t1, end), 0, _null).get$uri(); } indices = A.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 (A._scan(uri, start, end, 0, indices) >= 14) indices[7] = end; schemeEnd = indices[1]; if (schemeEnd >= start) if (A._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 (!B.JSString_methods.startsWith$2(uri, "\\", pathStart)) if (hostStart > start) t3 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2); else t3 = false; else t3 = true; if (t3) { scheme = _null; isSimple = false; } else { if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart))) t3 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3); else t3 = true; if (t3) { scheme = _null; isSimple = false; } else { if (schemeEnd === start + 4) if (B.JSString_methods.startsWith$2(uri, "file", start)) { if (hostStart <= start) { if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) { schemeAuth = "file:///"; delta = 3; } else { schemeAuth = "file://"; delta = 2; } uri = schemeAuth + B.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 = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/"); ++queryStart; ++fragmentStart; ++end; } else { uri = B.JSString_methods.substring$2(uri, start, pathStart) + "/" + B.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 (B.JSString_methods.startsWith$2(uri, "http", start)) { if (t2 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) if (start === 0 && true) { uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); pathStart -= 3; queryStart -= 3; fragmentStart -= 3; end -= 3; } else { uri = B.JSString_methods.substring$2(uri, start, portStart) + B.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 && B.JSString_methods.startsWith$2(uri, "https", start)) { if (t2 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) if (start === 0 && true) { uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, ""); pathStart -= 4; queryStart -= 4; fragmentStart -= 4; end -= 3; } else { uri = B.JSString_methods.substring$2(uri, start, portStart) + B.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 = B.JSString_methods.substring$2(uri, start, end); schemeEnd -= start; hostStart -= start; portStart -= start; pathStart -= start; queryStart -= start; fragmentStart -= start; } return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } if (scheme == null) if (schemeEnd > start) scheme = A._Uri__makeScheme(uri, start, schemeEnd); else { if (schemeEnd === start) A._Uri__fail(uri, start, "Invalid empty scheme"); scheme = ""; } if (hostStart > start) { userInfoStart = schemeEnd + 3; userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; host = A._Uri__makeHost(uri, hostStart, portStart, false); t1 = portStart + 1; if (t1 < pathStart) { portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null); port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme); } else port = _null; } else { port = _null; host = port; userInfo = ""; } path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null; return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null); }, Uri_tryParse(uri) { var t1, exception, start = 0, end = null; try { t1 = A.Uri_parse(uri, start, end); return t1; } catch (exception) { if (type$.FormatException._is(A.unwrapException(exception))) return null; else throw exception; } }, Uri_decodeComponent(encodedComponent) { return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false); }, Uri_splitQueryString(query) { var t1 = type$.String; return B.JSArray_methods.fold$1$2(A._setArrayType(query.split("&"), type$.JSArray_String), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), new A.Uri_splitQueryString_closure(B.C_Utf8Codec), type$.Map_String_String); }, Uri__parseIPv4Address(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 A.Uri__parseIPv4Address_error(host), result = new Uint8Array(4); for (i = start, partStart = i, partIndex = 0; i < end; ++i) { char = host.charCodeAt(i); if (char !== 46) { if ((char ^ 48) > 9) error.call$2("invalid character", i); } else { if (partIndex === 3) error.call$2(_s43_, i); part = A.int_parse(B.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 = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null); if (part > 255) error.call$2(_s37_, partStart); result[partIndex] = part; return result; }, Uri_parseIPv6Address(host, start, end) { var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null, error = new A.Uri_parseIPv6Address_error(host), parseHex = new A.Uri_parseIPv6Address_parseHex(error, host); if (host.length < 2) error.call$2("address is too short", _null); parts = A._setArrayType([], type$.JSArray_int); for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) { char = host.charCodeAt(i); if (char === 58) { if (i === start) { ++i; if (host.charCodeAt(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$2("too few parts", _null); atEnd = partStart === end; t1 = B.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 = A.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$2("an address with a wildcard must have less than 7 parts", _null); } else if (parts.length !== 8) error.call$2("an address without a wildcard must contain exactly 8 parts", _null); 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] = B.JSInt_methods._shrOtherPositive$1(value, 8); bytes[index + 1] = value & 255; index += 2; } } return bytes; }, _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) { return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment); }, _Uri__Uri(fragment, host, path, queryParameters, scheme) { var userInfo, query, port, isFile, t1, hasAuthority, t2, _null = null; scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length); userInfo = A._Uri__makeUserInfo(_null, 0, 0); host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false); query = A._Uri__makeQuery(_null, 0, 0, queryParameters); fragment = A._Uri__makeFragment(fragment, 0, fragment == null ? 0 : fragment.length); port = A._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 = A._Uri__makePath(path, 0, path == null ? 0 : path.length, _null, scheme, hasAuthority); t2 = scheme.length === 0; if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/")) path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority); else path = A._Uri__removeDotSegments(path); return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment); }, _Uri__defaultPort(scheme) { if (scheme === "http") return 80; if (scheme === "https") return 443; return 0; }, _Uri__fail(uri, index, message) { throw A.wrapException(A.FormatException$(message, uri, index)); }, _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) { var t1, _i, segment, t2, t3; for (t1 = segments.length, _i = 0; _i < t1; ++_i) { segment = segments[_i]; t2 = J.getInterceptor$asx(segment); t3 = t2.get$length(segment); if (0 > t3) A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null)); if (A.stringContainsUnchecked(segment, "/", 0)) { t1 = A.UnsupportedError$("Illegal path character " + A.S(segment)); throw A.wrapException(t1); } } }, _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) { var t1, t2, t3, t4, t5; for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', true, false, false, false); t5 = t3.length; if (A.stringContainsUnchecked(t3, t4, 0)) { t1 = A.UnsupportedError$("Illegal character in path: " + t3); throw A.wrapException(t1); } } }, _Uri__checkWindowsDriveLetter(charCode, argumentError) { var t1; if (!(65 <= charCode && charCode <= 90)) t1 = 97 <= charCode && charCode <= 122; else t1 = true; if (t1) return; t1 = A.UnsupportedError$("Illegal drive letter " + A.String_String$fromCharCode(charCode)); throw A.wrapException(t1); }, _Uri__computeQueryParametersAll(query) { var queryParameterLists; if (query.length === 0) return B.Map_empty0; queryParameterLists = A._Uri__splitQueryStringAll(query); queryParameterLists.updateAll$1(queryParameterLists, A.core___toUnmodifiableStringList$closure()); return A.ConstantMap_ConstantMap$from(queryParameterLists, type$.String, type$.List_String); }, _Uri__makePort(port, scheme) { if (port != null && port === A._Uri__defaultPort(scheme)) return null; return port; }, _Uri__makeHost(host, start, end, strictIPv6) { var t1, t2, index, zoneIDstart, zoneID, i; if (host == null) return null; if (start === end) return ""; if (host.charCodeAt(start) === 91) { t1 = end - 1; if (host.charCodeAt(t1) !== 93) A._Uri__fail(host, start, "Missing end `]` to match `[` in host"); t2 = start + 1; index = A._Uri__checkZoneID(host, t2, t1); if (index < t1) { zoneIDstart = index + 1; zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25"); } else zoneID = ""; A.Uri_parseIPv6Address(host, t2, index); return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]"; } for (i = start; i < end; ++i) if (host.charCodeAt(i) === 58) { index = B.JSString_methods.indexOf$2(host, "%", start); index = index >= start && index < end ? index : end; if (index < end) { zoneIDstart = index + 1; zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25"); } else zoneID = ""; A.Uri_parseIPv6Address(host, start, index); return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]"; } return A._Uri__normalizeRegName(host, start, end); }, _Uri__checkZoneID(host, start, end) { var index = B.JSString_methods.indexOf$2(host, "%", start); return index >= start && index < end ? index : end; }, _Uri__normalizeZoneID(host, start, end, prefix) { var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice, buffer = prefix !== "" ? new A.StringBuffer(prefix) : null; for (index = start, sectionStart = index, isNormalized = true; index < end;) { char = host.charCodeAt(index); if (char === 37) { replacement = A._Uri__normalizeEscape(host, index, true); t1 = replacement == null; if (t1 && isNormalized) { index += 3; continue; } if (buffer == null) buffer = new A.StringBuffer(""); t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); if (t1) replacement = B.JSString_methods.substring$2(host, index, index + 3); else if (replacement === "%") A._Uri__fail(host, index, "ZoneID should not contain % anymore"); buffer._contents = t2 + replacement; index += 3; sectionStart = index; isNormalized = true; } else if (char < 127 && (B.List_M1A[char >>> 4] & 1 << (char & 15)) !== 0) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) buffer = new A.StringBuffer(""); if (sectionStart < index) { buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); sectionStart = index; } isNormalized = false; } ++index; } else { if ((char & 64512) === 55296 && index + 1 < end) { tail = host.charCodeAt(index + 1); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; } else sourceLength = 1; } else sourceLength = 1; slice = B.JSString_methods.substring$2(host, sectionStart, index); if (buffer == null) { buffer = new A.StringBuffer(""); t1 = buffer; } else t1 = buffer; t1._contents += slice; t1._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } } if (buffer == null) return B.JSString_methods.substring$2(host, start, end); if (sectionStart < end) buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__normalizeRegName(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 = host.charCodeAt(index); if (char === 37) { replacement = A._Uri__normalizeEscape(host, index, true); t1 = replacement == null; if (t1 && isNormalized) { index += 3; continue; } if (buffer == null) buffer = new A.StringBuffer(""); slice = B.JSString_methods.substring$2(host, sectionStart, index); t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; if (t1) { replacement = B.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 && (B.List_ejq[char >>> 4] & 1 << (char & 15)) !== 0) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) buffer = new A.StringBuffer(""); if (sectionStart < index) { buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); sectionStart = index; } isNormalized = false; } ++index; } else if (char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0) A._Uri__fail(host, index, "Invalid character"); else { if ((char & 64512) === 55296 && index + 1 < end) { tail = host.charCodeAt(index + 1); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; } else sourceLength = 1; } else sourceLength = 1; slice = B.JSString_methods.substring$2(host, sectionStart, index); if (!isNormalized) slice = slice.toLowerCase(); if (buffer == null) { buffer = new A.StringBuffer(""); t1 = buffer; } else t1 = buffer; t1._contents += slice; t1._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } } if (buffer == null) return B.JSString_methods.substring$2(host, start, end); if (sectionStart < end) { slice = B.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(scheme, start, end) { var i, containsUpperCase, codeUnit; if (start === end) return ""; if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start))) A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); for (i = start, containsUpperCase = false; i < end; ++i) { codeUnit = scheme.charCodeAt(i); if (!(codeUnit < 128 && (B.List_MMm[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0)) A._Uri__fail(scheme, i, "Illegal scheme character"); if (65 <= codeUnit && codeUnit <= 90) containsUpperCase = true; } scheme = B.JSString_methods.substring$2(scheme, start, end); return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme); }, _Uri__canonicalizeScheme(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(userInfo, start, end) { if (userInfo == null) return ""; return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_OL3, false, false); }, _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { var result, isFile = scheme === "file", ensureLeadingSlash = isFile || hasAuthority; if (path == null) return isFile ? "/" : ""; else result = A._Uri__normalizeOrSubstring(path, start, end, B.List_XRg, true, true); if (result.length === 0) { if (isFile) return "/"; } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/")) result = "/" + result; return A._Uri__normalizePath(result, scheme, hasAuthority); }, _Uri__normalizePath(path, scheme, hasAuthority) { var t1 = scheme.length === 0; if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\")) return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority); return A._Uri__removeDotSegments(path); }, _Uri__makeQuery(query, start, end, queryParameters) { if (query != null) { if (queryParameters != null) throw A.wrapException(A.ArgumentError$("Both query and queryParameters specified", null)); return A._Uri__normalizeOrSubstring(query, start, end, B.List_oFp, true, false); } if (queryParameters == null) return null; return A._Uri__makeQueryFromParameters(queryParameters); }, _Uri__makeQueryFromParametersDefault(queryParameters) { var t1 = {}, result = new A.StringBuffer(""); t1.separator = ""; queryParameters.forEach$1(0, new A._Uri__makeQueryFromParametersDefault_closure(new A._Uri__makeQueryFromParametersDefault_writeParameter(t1, result))); t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__makeFragment(fragment, start, end) { if (fragment == null) return null; return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_oFp, true, false); }, _Uri__normalizeEscape(source, index, lowerCase) { var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, t1 = index + 2; if (t1 >= source.length) return "%"; firstDigit = source.charCodeAt(index + 1); secondDigit = source.charCodeAt(t1); firstDigitValue = A.hexDigitValue(firstDigit); secondDigitValue = A.hexDigitValue(secondDigit); if (firstDigitValue < 0 || secondDigitValue < 0) return "%"; value = firstDigitValue * 16 + secondDigitValue; if (value < 127 && (B.List_M1A[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0) return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value); if (firstDigit >= 97 || secondDigit >= 97) return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase(); return null; }, _Uri__escapeChar(char) { var codeUnits, flag, encodedBytes, index, byte, _s16_ = "0123456789ABCDEF"; if (char < 128) { codeUnits = new Uint8Array(3); codeUnits[0] = 37; codeUnits[1] = _s16_.charCodeAt(char >>> 4); codeUnits[2] = _s16_.charCodeAt(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 = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; codeUnits[index] = 37; codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4); codeUnits[index + 2] = _s16_.charCodeAt(byte & 15); index += 3; } } return A.String_String$fromCharCodes(codeUnits, 0, null); }, _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) { var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash); return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1; }, _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) { var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null; for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) { char = component.charCodeAt(index); if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0) ++index; else { if (char === 37) { replacement = A._Uri__normalizeEscape(component, index, false); if (replacement == null) { index += 3; continue; } if ("%" === replacement) { replacement = "%25"; sourceLength = 1; } else sourceLength = 3; } else if (char === 92 && replaceBackslash) { replacement = "/"; sourceLength = 1; } else if (t1 && char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0) { A._Uri__fail(component, index, "Invalid character"); sourceLength = _null; replacement = sourceLength; } else { if ((char & 64512) === 55296) { t2 = index + 1; if (t2 < end) { tail = component.charCodeAt(t2); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; } else sourceLength = 1; } else sourceLength = 1; } else sourceLength = 1; replacement = A._Uri__escapeChar(char); } if (buffer == null) { buffer = new A.StringBuffer(""); t2 = buffer; } else t2 = buffer; t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index); t2._contents = t3 + A.S(replacement); index += sourceLength; sectionStart = index; } } if (buffer == null) return _null; if (sectionStart < end) buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__mayContainDotSegments(path) { if (B.JSString_methods.startsWith$1(path, ".")) return true; return B.JSString_methods.indexOf$1(path, "/.") !== -1; }, _Uri__removeDotSegments(path) { var output, t1, t2, appendSlash, _i, segment; if (!A._Uri__mayContainDotSegments(path)) return path; output = A._setArrayType([], 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 B.JSArray_methods.join$1(output, "/"); }, _Uri__normalizeRelativePath(path, allowScheme) { var output, t1, t2, appendSlash, _i, segment; if (!A._Uri__mayContainDotSegments(path)) return !allowScheme ? A._Uri__escapeScheme(path) : path; output = A._setArrayType([], 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 && B.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 || B.JSArray_methods.get$last(output) === "..") output.push(""); if (!allowScheme) output[0] = A._Uri__escapeScheme(output[0]); return B.JSArray_methods.join$1(output, "/"); }, _Uri__escapeScheme(path) { var i, char, t1 = path.length; if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0))) for (i = 1; i < t1; ++i) { char = path.charCodeAt(i); if (char === 58) return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1); if (char > 127 || (B.List_MMm[char >>> 4] & 1 << (char & 15)) === 0) break; } return path; }, _Uri__packageNameEnd(uri, path) { if (uri.isScheme$1("package") && uri._host == null) return A._skipPackageNameChars(path, 0, path.length); return -1; }, _Uri__toWindowsFilePath(uri) { var hasDriveLetter, t2, host, segments = uri.get$pathSegments(), t1 = segments.length; if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) { A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false); A._Uri__checkWindowsPathReservedCharacters(segments, false, 1); hasDriveLetter = true; } else { A._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 = A.StringBuffer__writeAll(t2, segments, "\\"); t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__createList() { return A._setArrayType([], type$.JSArray_String); }, _Uri__splitQueryStringAll(query) { var t1, i, start, equalsIndex, char, result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_String), parsePair = new A._Uri__splitQueryStringAll_parsePair(query, B.C_Utf8Codec, result); for (t1 = query.length, i = 0, start = 0, equalsIndex = -1; i < t1;) { char = query.charCodeAt(i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; } else if (char === 38) { parsePair.call$3(start, equalsIndex, i); start = i + 1; equalsIndex = -1; } ++i; } parsePair.call$3(start, equalsIndex, i); return result; }, _Uri__hexCharPairToByte(s, pos) { var byte, i, charCode; for (byte = 0, i = 0; i < 2; ++i) { charCode = s.charCodeAt(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 A.wrapException(A.ArgumentError$("Invalid URL encoding", null)); } } return byte; }, _Uri__uriDecode(text, start, end, encoding, plusToSpace) { var simple, codeUnit, t1, bytes, i = start; while (true) { if (!(i < end)) { simple = true; break; } codeUnit = text.charCodeAt(i); if (codeUnit <= 127) if (codeUnit !== 37) t1 = plusToSpace && codeUnit === 43; else t1 = true; else t1 = true; if (t1) { simple = false; break; } ++i; } if (simple) { if (B.C_Utf8Codec !== encoding) t1 = false; else t1 = true; if (t1) return B.JSString_methods.substring$2(text, start, end); else bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end)); } else { bytes = A._setArrayType([], type$.JSArray_int); for (t1 = text.length, i = start; i < end; ++i) { codeUnit = text.charCodeAt(i); if (codeUnit > 127) throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null)); if (codeUnit === 37) { if (i + 3 > t1) throw A.wrapException(A.ArgumentError$("Truncated URI", null)); bytes.push(A._Uri__hexCharPairToByte(text, i + 1)); i += 2; } else if (plusToSpace && codeUnit === 43) bytes.push(32); else bytes.push(codeUnit); } } return encoding.decode$1(0, bytes); }, _Uri__isAlphabeticCharacter(codeUnit) { var lowerCase = codeUnit | 32; return 97 <= lowerCase && lowerCase <= 122; }, UriData_UriData$fromUri(uri) { if (!uri.isScheme$1("data")) throw A.wrapException(A.ArgumentError$value(uri, "uri", "Scheme must be 'data'")); if (uri.get$hasAuthority()) throw A.wrapException(A.ArgumentError$value(uri, "uri", "Data uri must not have authority")); if (uri.get$hasFragment()) throw A.wrapException(A.ArgumentError$value(uri, "uri", "Data uri must not have a fragment part")); if (!uri.get$hasQuery()) return A.UriData__parse(uri.get$path(uri), 0, uri); return A.UriData__parse(uri.toString$0(0), 5, uri); }, UriData__parse(text, start, sourceUri) { var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data, _s17_ = "Invalid MIME type", indices = A._setArrayType([start - 1], type$.JSArray_int); for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) { char = text.charCodeAt(i); if (char === 44 || char === 59) break; if (char === 47) { if (slashIndex < 0) { slashIndex = i; continue; } throw A.wrapException(A.FormatException$(_s17_, text, i)); } } if (slashIndex < 0 && i > start) throw A.wrapException(A.FormatException$(_s17_, text, i)); for (; char !== 44;) { indices.push(i); ++i; for (equalsIndex = -1; i < t1; ++i) { char = text.charCodeAt(i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; } else if (char === 59 || char === 44) break; } if (equalsIndex >= 0) indices.push(equalsIndex); else { lastSeparator = B.JSArray_methods.get$last(indices); if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1)) throw A.wrapException(A.FormatException$("Expecting '='", text, i)); break; } } indices.push(i); t2 = i + 1; if ((indices.length & 1) === 1) text = B.C_Base64Codec.normalize$3(0, text, t2, t1); else { data = A._Uri__normalize(text, t2, t1, B.List_oFp, true, false); if (data != null) text = B.JSString_methods.replaceRange$3(text, t2, t1, data); } return new A.UriData(text, indices, sourceUri); }, _createTables() { var _i, t1, t2, t3, b, _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\", tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List); for (_i = 0; _i < 22; ++_i) tables[_i] = new Uint8Array(96); t1 = new A._createTables_build(tables); t2 = new A._createTables_setChars(); t3 = new A._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, 227); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, _s2_, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 233); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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_2, 131); t2.call$3(b, _s1_, 146); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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_2, 68); t2.call$3(b, _s1_, 18); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 138); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 138); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 138); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 138); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, _s2_, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 205); b = t1.call$2(16, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_, 17); t2.call$3(b, _s2_, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 233); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 10); t2.call$3(b, _s1_2, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 205); b = t1.call$2(18, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_, 19); t2.call$3(b, _s2_, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 205); b = t1.call$2(19, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s2_, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 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, 234); t2.call$3(b, _s1_3, 172); t2.call$3(b, _s1_4, 205); b = t1.call$2(12, 236); t2.call$3(b, _s77_, 12); t2.call$3(b, _s1_3, 12); t2.call$3(b, _s1_4, 205); b = t1.call$2(13, 237); t2.call$3(b, _s77_, 13); t2.call$3(b, _s1_3, 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(uri, start, end, state, indices) { var i, table, char, transition, tables = $.$get$_scannerTables(); for (i = start; i < end; ++i) { table = tables[state]; char = uri.charCodeAt(i) ^ 96; transition = table[char > 95 ? 31 : char]; state = transition & 31; indices[transition >>> 5] = i; } return state; }, _SimpleUri__packageNameEnd(uri) { if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0) return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart); return -1; }, _toUnmodifiableStringList(key, list) { return A.List_List$unmodifiable(list, type$.String); }, _skipPackageNameChars(source, start, end) { var i, dots, char; for (i = start, dots = 0; i < end; ++i) { char = source.charCodeAt(i); if (char === 47) return dots !== 0 ? i : -1; if (char === 37 || char === 58) return -1; dots |= char ^ 46; } return -1; }, _caseInsensitiveCompareStart(prefix, string, start) { var t1, result, i, stringChar, delta, lowerChar; for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) { stringChar = string.charCodeAt(start + i); delta = prefix.charCodeAt(i) ^ stringChar; if (delta !== 0) { if (delta === 32) { lowerChar = stringChar | delta; if (97 <= lowerChar && lowerChar <= 122) { result = 32; continue; } } return -1; } } return result; }, _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; }, _WeakReferenceWrapper: function _WeakReferenceWrapper(t0, t1) { this._weakRef = t0; this.$ti = t1; }, NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { this._box_0 = t0; this.sb = t1; }, _Uri__makeQueryFromParameters_closure: function _Uri__makeQueryFromParameters_closure(t0) { this.params = t0; }, 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; }, _Enum: function _Enum() { }, Error: function Error() { }, AssertionError: function AssertionError(t0) { this.message = t0; }, TypeError: function TypeError() { }, 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() { }, _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() { }, 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() { }, Stopwatch: function Stopwatch() { this._stop = this._core$_start = 0; }, Runes: function Runes(t0) { this.string = t0; }, RuneIterator: function RuneIterator(t0) { var _ = this; _.string = t0; _._nextPosition = _._core$_position = 0; _._currentCodePoint = -1; }, StringBuffer: function StringBuffer(t0) { this._contents = t0; }, Uri_splitQueryString_closure: function Uri_splitQueryString_closure(t0) { this.encoding = 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_queryParametersAll_FI = _.___Uri_queryParameters_FI = _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, _Uri__makeQueryFromParametersDefault_writeParameter: function _Uri__makeQueryFromParametersDefault_writeParameter(t0, t1) { this._box_0 = t0; this.result = t1; }, _Uri__makeQueryFromParametersDefault_closure: function _Uri__makeQueryFromParametersDefault_closure(t0) { this.writeParameter = t0; }, _Uri__splitQueryStringAll_parsePair: function _Uri__splitQueryStringAll_parsePair(t0, t1, t2) { this.query = t0; this.encoding = t1; this.result = t2; }, 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_queryParametersAll_FI = _.___Uri_queryParameters_FI = _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $; }, Expando: function Expando(t0, t1) { this._jsWeakMap = t0; this.$ti = t1; }, _getNextTaskId() { var t1 = $._taskId; $._taskId = t1 + 1; return t1; }, _createEventName(isBeginEvent, isEndEvent, $name, taskId) { if (isBeginEvent) return "" + taskId + "-" + $name + "-begin"; if (isEndEvent) return "" + taskId + "-" + $name + "-end"; return $name; }, _postfixWithCount(eventName) { var count = $._eventNameToCount.$index(0, eventName); if (count == null) return eventName; return eventName + "-" + A.S(count); }, _decrementEventCount(eventName) { var t1, newCount; if (!$._eventNameToCount.containsKey$1(0, eventName)) return; t1 = $._eventNameToCount.$index(0, eventName); t1.toString; newCount = t1 - 1; t1 = $._eventNameToCount; if (newCount <= 0) t1.remove$1(0, eventName); else t1.$indexSet(0, eventName, newCount); }, _reportTaskEvent(taskId, flowId, type, $name, argumentsAsJson) { var isBeginEvent, isEndEvent, currentEventName, currentCount, beginEventName; if (type === 9 || type === 11 || type === 10) return; isBeginEvent = type === 1 || type === 5; isEndEvent = type === 2 || type === 7; currentEventName = A._createEventName(isBeginEvent, isEndEvent, $name, taskId); if (isBeginEvent) { currentCount = $._eventNameToCount.$index(0, currentEventName); if (currentCount == null) currentCount = 0; $._eventNameToCount.$indexSet(0, currentEventName, currentCount + 1); currentEventName = A._postfixWithCount(currentEventName); } performance.mark(currentEventName, {detail: JSON.parse(argumentsAsJson)}); if (isEndEvent) { beginEventName = A._createEventName(true, false, $name, taskId); performance.measure($name, A._postfixWithCount(beginEventName), currentEventName); A._decrementEventCount(beginEventName); } }, _FakeUserTag__FakeUserTag(label) { var t1, existingTag = $._FakeUserTag__instances.$index(0, label); if (existingTag != null) return existingTag; if ($._FakeUserTag__instances.__js_helper$_length === 64) throw A.wrapException(A.UnsupportedError$("UserTag instance limit (64) reached.")); t1 = new A._FakeUserTag(); $._FakeUserTag__instances.$indexSet(0, label, t1); return t1; }, ServiceExtensionResponse$result(result) { A.checkNotNullable(result, "result", type$.String); return new A.ServiceExtensionResponse(); }, ServiceExtensionResponse__validateErrorCode(errorCode) { var _s9_ = "errorCode"; A.checkNotNullable(errorCode, _s9_, type$.int); if (errorCode === -32602) return; if (errorCode >= -32016 && errorCode <= -32000) return; throw A.wrapException(A.ArgumentError$value(errorCode, _s9_, "Out of range")); }, registerExtension(method, handler) { var t1 = type$.String; A.checkNotNullable(method, "method", t1); if (!B.JSString_methods.startsWith$1(method, "ext.")) throw A.wrapException(A.ArgumentError$value(method, "method", "Must begin with ext.")); if ($._extensions.$index(0, method) != null) throw A.wrapException(A.ArgumentError$("Extension already registered: " + method, null)); A.checkNotNullable(handler, "handler", type$.Future_ServiceExtensionResponse_Function_2_String_and_Map_String_String); $._extensions.$indexSet(0, method, $.Zone__current.bindBinaryCallback$3$1(handler, type$.Future_ServiceExtensionResponse, t1, type$.Map_String_String)); }, postEvent(eventKind, eventData, stream) { if (B.JSArray_methods.contains$1(A._setArrayType(["VM", "Isolate", "Debug", "GC", "_Echo", "HeapSnapshot", "Logging", "Timeline", "Profiler"], type$.JSArray_String), stream)) throw A.wrapException(A.ArgumentError$value(stream, "stream", "Cannot be a protected stream.")); else if (B.JSString_methods.startsWith$1(stream, "_")) throw A.wrapException(A.ArgumentError$value(stream, "stream", "Cannot start with an underscore.")); return; }, Timeline_startSync($name, $arguments, flow) { var t1, block, t2; A.ArgumentError_checkNotNull($name, "name"); if (!(typeof performance !== "undefined" && typeof performance.measure !== "undefined")) { $.Timeline__stack.push(null); return; } t1 = A._getNextTaskId(); block = new A._SyncBlock($name, t1, $arguments, flow); $.Timeline__stack.push(block); t2 = flow == null ? null : flow.id; if (t2 == null) t2 = -1; A._reportTaskEvent(t1, t2, 1, $name, block.get$_jsonArguments()); }, Timeline_finishSync() { var block, tempFlow, t1; if ($.Timeline__stack.length === 0) throw A.wrapException(A.StateError$("Uneven calls to startSync and finishSync")); block = $.Timeline__stack.pop(); if (block == null) return; tempFlow = block.flow; if (tempFlow != null) { t1 = tempFlow.id; A._reportTaskEvent(t1, -1, tempFlow._developer$_type, "" + t1, A._argumentsAsJson(null)); } A._reportTaskEvent(block.taskId, -1, 2, block.name, block.get$_jsonArguments()); }, Timeline_instantSync($name, $arguments) { A.ArgumentError_checkNotNull($name, "name"); if (!(typeof performance !== "undefined" && typeof performance.measure !== "undefined")) return; A._reportTaskEvent(0, -1, 4, $name, A._argumentsAsJson($arguments)); }, Timeline_timeSync($name, $function, flow) { var t1; A.Timeline_startSync($name, null, flow); try { t1 = $function.call$0(); return t1; } finally { A.Timeline_finishSync(); } }, TimelineTask$() { var t1 = A._setArrayType([], type$.JSArray_nullable__AsyncBlock); return new A.TimelineTask(A._getNextTaskId(), t1); }, _argumentsAsJson($arguments) { if ($arguments == null || $arguments.__js_helper$_length === 0) return "{}"; return B.C_JsonCodec.encode$1($arguments); }, _FakeUserTag: function _FakeUserTag() { }, ServiceExtensionResponse: function ServiceExtensionResponse() { }, TimelineTask: function TimelineTask(t0, t1) { this._taskId = t0; this._stack = t1; }, _AsyncBlock: function _AsyncBlock(t0, t1) { this.name = t0; this._taskId = t1; }, _SyncBlock: function _SyncBlock(t0, t1, t2, t3) { var _ = this; _.name = t0; _.taskId = t1; _.$arguments = t2; _.flow = t3; _.___SyncBlock__jsonArguments_FI = $; }, window() { var t1 = window; t1.toString; return t1; }, AnchorElement_AnchorElement(href) { var e = document.createElement("a"); e.href = href; return e; }, Blob_Blob(blobParts, type) { var bag = {}; bag.type = type; return new self.Blob(blobParts, bag); }, _ChildrenElementList__addAll(_element, iterable) { var t1; for (t1 = J.get$iterator$ax(iterable instanceof A._ChildNodeListLazy ? A.List_List$from(iterable, true, type$.Element) : iterable); t1.moveNext$0();) _element.appendChild(t1.get$current(t1)).toString; }, _ChildrenElementList__remove(_element, object) { if (type$.Element._is(object)) if (object.parentNode === _element) { _element.removeChild(object).toString; return true; } return false; }, _ChildrenElementList__first(_element) { var result = _element.firstElementChild; if (result == null) throw A.wrapException(A.StateError$("No elements")); return result; }, _ElementFactoryProvider_createElement_tag(tag, typeExtension) { return document.createElement(tag); }, InputElement_InputElement(type) { var exception, t1 = document.createElement("input"), e = type$.InputElement._as(t1); try { e.type = type; } catch (exception) { } return e; }, _EventStreamSubscription$(_target, _eventType, onData, _useCapture, $T) { var t1 = onData == null ? null : A._wrapZone(new A._EventStreamSubscription_closure(onData), type$.Event); t1 = new A._EventStreamSubscription(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription<0>")); t1._tryResume$0(); return t1; }, _convertNativeToDart_XHR_Response(o) { if (type$.Document_2._is(o)) return o; return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true); }, _wrapZone(callback, $T) { var t1 = $.Zone__current; if (t1 === B.C__RootZone) return callback; return t1.bindUnaryCallbackGuarded$1$1(callback, $T); }, querySelector(selectors) { return document.querySelector(selectors); }, HtmlElement: function HtmlElement() { }, AccessibleNodeList: function AccessibleNodeList() { }, AnchorElement: function AnchorElement() { }, Animation: function Animation() { }, ApplicationCacheErrorEvent: function ApplicationCacheErrorEvent() { }, AreaElement: function AreaElement() { }, BackgroundFetchEvent: function BackgroundFetchEvent() { }, BackgroundFetchRegistration: function BackgroundFetchRegistration() { }, BeforeUnloadEvent: function BeforeUnloadEvent() { }, Blob: function Blob() { }, BluetoothRemoteGattDescriptor: function BluetoothRemoteGattDescriptor() { }, 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() { }, CssKeywordValue: function CssKeywordValue() { }, CssNumericValue: function CssNumericValue() { }, CssPerspective: function CssPerspective() { }, CssRule: function CssRule() { }, CssStyleDeclaration: function CssStyleDeclaration() { }, CssStyleDeclarationBase: function CssStyleDeclarationBase() { }, CssStyleValue: function CssStyleValue() { }, CssTransformComponent: function CssTransformComponent() { }, CssTransformValue: function CssTransformValue() { }, CssUnitValue: function CssUnitValue() { }, CssUnparsedValue: function CssUnparsedValue() { }, DataElement: function DataElement() { }, DataTransferItemList: function DataTransferItemList() { }, DeprecationReport: function DeprecationReport() { }, Document1: function Document1() { }, DomError: function DomError() { }, DomException0: function DomException0() { }, DomRectList: function DomRectList() { }, DomRectReadOnly0: function DomRectReadOnly0() { }, DomStringList: function DomStringList() { }, DomTokenList0: function DomTokenList0() { }, _ChildrenElementList: function _ChildrenElementList(t0, t1) { this._html$_element = t0; this._html$_childElements = t1; }, _ChildrenElementList__filter_closure: function _ChildrenElementList__filter_closure(t0) { this.test = t0; }, Element2: function Element2() { }, ErrorEvent: function ErrorEvent() { }, Event: function Event() { }, EventTarget: function EventTarget() { }, ExtendableEvent: function ExtendableEvent() { }, File: function File() { }, FileList: function FileList() { }, FileReader: function FileReader() { }, FileWriter: function FileWriter() { }, FontFaceSet: function FontFaceSet() { }, FormElement: function FormElement() { }, Gamepad: function Gamepad() { }, GamepadButton: function GamepadButton() { }, History: function History() { }, HtmlCollection: function HtmlCollection() { }, HtmlDocument: function HtmlDocument() { }, HttpRequest: function HttpRequest() { }, HttpRequestEventTarget: function HttpRequestEventTarget() { }, IFrameElement: function IFrameElement() { }, ImageData: function ImageData() { }, InputElement: function InputElement() { }, InterventionReport: function InterventionReport() { }, LIElement: function LIElement() { }, Location: function Location() { }, MediaError: function MediaError() { }, MediaKeyMessageEvent: function MediaKeyMessageEvent() { }, MediaList: function MediaList() { }, MediaQueryList: function MediaQueryList() { }, MediaStream: function MediaStream() { }, MediaStreamTrack: function MediaStreamTrack() { }, MessagePort: function MessagePort() { }, 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; }, Node1: function Node1() { }, NodeList0: function NodeList0() { }, Notification: function Notification() { }, OptionElement: function OptionElement() { }, OutputElement: function OutputElement() { }, OverconstrainedError: function OverconstrainedError() { }, ParamElement: function ParamElement() { }, PaymentRequest: function PaymentRequest() { }, Plugin: function Plugin() { }, PluginArray: function PluginArray() { }, PositionError: function PositionError() { }, PresentationAvailability: function PresentationAvailability() { }, PresentationConnection: function PresentationConnection() { }, PresentationConnectionCloseEvent: function PresentationConnectionCloseEvent() { }, ProgressElement: function ProgressElement() { }, ProgressEvent: function ProgressEvent() { }, RelatedApplication: function RelatedApplication() { }, ReportBody: function ReportBody() { }, 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; }, SelectElement: function SelectElement() { }, SourceBuffer: function SourceBuffer() { }, SourceBufferList: function SourceBufferList() { }, SpeechGrammar: function SpeechGrammar() { }, SpeechGrammarList: function SpeechGrammarList() { }, SpeechRecognitionError: function SpeechRecognitionError() { }, SpeechRecognitionResult: function SpeechRecognitionResult() { }, Storage: function Storage() { }, Storage_keys_closure: function Storage_keys_closure(t0) { this.keys = t0; }, Storage_values_closure: function Storage_values_closure(t0) { this.values = t0; }, StyleSheet: function StyleSheet() { }, TextAreaElement: function TextAreaElement() { }, TextTrack: function TextTrack() { }, TextTrackCue: function TextTrackCue() { }, TextTrackCueList: function TextTrackCueList() { }, TextTrackList: function TextTrackList() { }, TimeRanges: function TimeRanges() { }, Touch: function Touch() { }, TouchList: function TouchList() { }, TrackDefaultList: function TrackDefaultList() { }, UIEvent: function UIEvent() { }, Url: function Url() { }, VideoTrack: function VideoTrack() { }, VideoTrackList: function VideoTrackList() { }, VttRegion: function VttRegion() { }, Window: function Window() { }, 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() { }, _ElementAttributeMap: function _ElementAttributeMap(t0) { this._html$_element = t0; }, _DataAttributeMap: function _DataAttributeMap(t0) { this._attributes = 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; _._target = t0; _._eventType = t1; _._useCapture = t2; _.$ti = t3; }, _ElementEventStreamImpl: function _ElementEventStreamImpl(t0, t1, t2, t3) { var _ = this; _._target = t0; _._eventType = t1; _._useCapture = t2; _.$ti = t3; }, _EventStreamSubscription: function _EventStreamSubscription(t0, t1, t2, t3, t4) { var _ = this; _._pauseCount = 0; _._target = t0; _._eventType = t1; _._html$_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; }, ImmutableListMixin: function ImmutableListMixin() { }, FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { var _ = this; _._array = t0; _._length = t1; _._position = -1; _._current = null; _.$ti = t2; }, _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase: function _CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase() { }, _DomRectList_JavaScriptObject_ListMixin: function _DomRectList_JavaScriptObject_ListMixin() { }, _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _DomStringList_JavaScriptObject_ListMixin: function _DomStringList_JavaScriptObject_ListMixin() { }, _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _FileList_JavaScriptObject_ListMixin: function _FileList_JavaScriptObject_ListMixin() { }, _FileList_JavaScriptObject_ListMixin_ImmutableListMixin: function _FileList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _HtmlCollection_JavaScriptObject_ListMixin: function _HtmlCollection_JavaScriptObject_ListMixin() { }, _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin: function _HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _MidiInputMap_JavaScriptObject_MapMixin: function _MidiInputMap_JavaScriptObject_MapMixin() { }, _MidiOutputMap_JavaScriptObject_MapMixin: function _MidiOutputMap_JavaScriptObject_MapMixin() { }, _MimeTypeArray_JavaScriptObject_ListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin() { }, _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _NodeList_JavaScriptObject_ListMixin: function _NodeList_JavaScriptObject_ListMixin() { }, _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NodeList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _PluginArray_JavaScriptObject_ListMixin: function _PluginArray_JavaScriptObject_ListMixin() { }, _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin: function _PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _RtcStatsReport_JavaScriptObject_MapMixin: function _RtcStatsReport_JavaScriptObject_MapMixin() { }, _SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() { }, _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() { }, _SpeechGrammarList_JavaScriptObject_ListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin() { }, _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin: function _SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _Storage_JavaScriptObject_MapMixin: function _Storage_JavaScriptObject_MapMixin() { }, _TextTrackCueList_JavaScriptObject_ListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin() { }, _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() { }, _TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() { }, _TouchList_JavaScriptObject_ListMixin: function _TouchList_JavaScriptObject_ListMixin() { }, _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TouchList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, __CssRuleList_JavaScriptObject_ListMixin: function __CssRuleList_JavaScriptObject_ListMixin() { }, __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin: function __CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, __GamepadList_JavaScriptObject_ListMixin: function __GamepadList_JavaScriptObject_ListMixin() { }, __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin: function __GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, __NamedNodeMap_JavaScriptObject_ListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin() { }, __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin: function __NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin() { }, __SpeechRecognitionResultList_JavaScriptObject_ListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin() { }, __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, __StyleSheetList_JavaScriptObject_ListMixin: function __StyleSheetList_JavaScriptObject_ListMixin() { }, __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin: function __StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _convertNativeToDart_Value(value) { var t1, values, i; if (value == null) return value; if (typeof value == "string" || typeof value == "number" || A._isBool(value)) return value; if (A.isJavaScriptSimpleObject(value)) return A.convertNativeToDart_Dictionary(value); t1 = Array.isArray(value); t1.toString; if (t1) { values = []; i = 0; while (true) { t1 = value.length; t1.toString; if (!(i < t1)) break; values.push(A._convertNativeToDart_Value(value[i])); ++i; } return values; } return value; }, convertNativeToDart_Dictionary(object) { var dict, keys, t1, _i, key, t2; if (object == null) return null; dict = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); keys = Object.getOwnPropertyNames(object); for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) { key = keys[_i]; t2 = key; t2.toString; dict.$indexSet(0, t2, A._convertNativeToDart_Value(object[key])); } return dict; }, isJavaScriptSimpleObject(value) { var proto = Object.getPrototypeOf(value), t1 = proto === Object.prototype; t1.toString; if (!t1) { t1 = proto === null; t1.toString; } else t1 = true; return t1; }, _AcceptStructuredClone: function _AcceptStructuredClone() { }, _AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) { this.$this = t0; this.map = t1; }, _AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) { this.values = t0; this.copies = t1; this.mustCopy = false; }, FilteredElementList0: function FilteredElementList0(t0, t1) { this._html_common$_node = t0; this._html_common$_childNodes = t1; }, FilteredElementList__iterable_closure: function FilteredElementList__iterable_closure() { }, FilteredElementList__iterable_closure0: function FilteredElementList__iterable_closure0() { }, FilteredElementList_removeRange_closure0: function FilteredElementList_removeRange_closure0() { }, Cursor: function Cursor() { }, CursorWithValue: function CursorWithValue() { }, Database: function Database() { }, KeyRange: function KeyRange() { }, ObjectStore: function ObjectStore() { }, Observation: function Observation() { }, ObserverChanges: function ObserverChanges() { }, Request0: function Request0() { }, Transaction: function Transaction() { }, _File__exists(namespace, path) { throw A.wrapException(A.UnsupportedError$("File._exists")); }, _File__lengthFromPath(namespace, path) { throw A.wrapException(A.UnsupportedError$("File._lengthFromPath")); }, _Namespace__namespace() { throw A.wrapException(A.UnsupportedError$("_Namespace")); }, _Namespace__namespacePointer() { throw A.wrapException(A.UnsupportedError$("_Namespace")); }, _RandomAccessFileOps__RandomAccessFileOps(pointer) { throw A.wrapException(A.UnsupportedError$("RandomAccessFile")); }, _Platform__numberOfProcessors() { throw A.wrapException(A.UnsupportedError$("Platform._numberOfProcessors")); }, _Platform__pathSeparator() { throw A.wrapException(A.UnsupportedError$("Platform._pathSeparator")); }, _Platform__operatingSystem() { throw A.wrapException(A.UnsupportedError$("Platform._operatingSystem")); }, _Platform__operatingSystemVersion() { throw A.wrapException(A.UnsupportedError$("Platform._operatingSystemVersion")); }, _Platform__localHostname() { throw A.wrapException(A.UnsupportedError$("Platform._localHostname")); }, _Platform__executable() { throw A.wrapException(A.UnsupportedError$("Platform._executable")); }, _Platform__resolvedExecutable() { throw A.wrapException(A.UnsupportedError$("Platform._resolvedExecutable")); }, _Platform__executableArguments() { throw A.wrapException(A.UnsupportedError$("Platform._executableArguments")); }, _Platform__environment() { throw A.wrapException(A.UnsupportedError$("Platform._environment")); }, _Platform__version() { throw A.wrapException(A.UnsupportedError$("Platform._version")); }, _Platform__localeName() { throw A.wrapException(A.UnsupportedError$("Platform._localeName")); }, _Platform__script() { throw A.wrapException(A.UnsupportedError$("Platform._script")); }, Process_run(executable, $arguments) { throw A.wrapException(A.UnsupportedError$("Process.run")); }, SecurityContext_defaultContext() { throw A.wrapException(A.UnsupportedError$("default SecurityContext getter")); }, _StdIOUtils__getStdioInputStream(fd) { throw A.wrapException(A.UnsupportedError$("StdIOUtils._getStdioInputStream")); }, _StdIOUtils__getStdioOutputStream(fd) { throw A.wrapException(A.UnsupportedError$("StdIOUtils._getStdioOutputStream")); }, _checkForErrorResponse(response, message, path) { var t1; if (type$.List_nullable_Object._is(response) && !J.$eq$(J.$index$asx(response, 0), 0)) { t1 = J.getInterceptor$asx(response); switch (t1.$index(response, 0)) { case 1: throw A.wrapException(A.ArgumentError$(message + ": " + path, null)); case 2: throw A.wrapException(A.FileSystemException_FileSystemException$_fromOSError(new A.OSError(A._asString(t1.$index(response, 2)), A._asInt(t1.$index(response, 1))), message, path)); case 3: throw A.wrapException(A.FileSystemException$("File closed", path, null)); default: throw A.wrapException(A.AssertionError$("Unknown error")); } } }, Directory_Directory(path) { var t1; A.IOOverrides_current(); A.ArgumentError_checkNotNull(path, "path"); t1 = A.FileSystemEntity__toNullTerminatedUtf8Array(B.C_Utf8Encoder.convert$1(path)); return new A._Directory(path, t1); }, File_File(path) { var t1; A.IOOverrides_current(); A.ArgumentError_checkNotNull(path, "path"); t1 = A.FileSystemEntity__toNullTerminatedUtf8Array(B.C_Utf8Encoder.convert$1(path)); return new A._File(path, t1); }, FileSystemException$(message, path, osError) { return new A.FileSystemException(message, path, osError); }, FileSystemException_FileSystemException$_fromOSError(err, message, path) { if ($.$get$Platform_isWindows()) switch (err.errorCode) { case 5: case 16: case 19: case 24: case 32: case 33: case 65: case 108: return new A.PathAccessException(message, path, err); case 80: case 183: return new A.PathExistsException(message, path, err); case 2: case 3: case 15: case 18: case 53: case 67: case 161: case 206: return new A.PathNotFoundException(message, path, err); default: return new A.FileSystemException(message, path, err); } else switch (err.errorCode) { case 1: case 13: return new A.PathAccessException(message, path, err); case 17: return new A.PathExistsException(message, path, err); case 2: return new A.PathNotFoundException(message, path, err); default: return new A.FileSystemException(message, path, err); } }, _File__namespacePointer() { return A._Namespace__namespacePointer(); }, _File__dispatchWithNamespace(request, data) { data[0] = A._File__namespacePointer(); }, _RandomAccessFile$(pointer, path) { return new A._RandomAccessFile(path, A._RandomAccessFileOps__RandomAccessFileOps(pointer)); }, FileSystemEntity__toNullTerminatedUtf8Array(l) { var t2, tmp, t1 = l.length; if (t1 !== 0) t2 = !B.NativeUint8List_methods.get$isEmpty(l) && !J.$eq$(B.NativeUint8List_methods.get$last(l), 0); else t2 = true; if (t2) { tmp = new Uint8Array(t1 + 1); B.NativeUint8List_methods.setRange$3(tmp, 0, t1, l); return tmp; } else return l; }, IOOverrides_current() { $.$get$_ioOverridesToken(); return null; }, Platform_localeName() { return A._Platform_localeName(); }, Platform_executable() { return $.$get$_Platform_executable(); }, Platform_resolvedExecutable() { return $.$get$_Platform_resolvedExecutable(); }, Platform_script() { return A._Platform_script(); }, Platform_executableArguments() { return A._Platform_executableArguments(); }, _Platform_localeName() { var result = A._Platform__localeName(); return result; }, _Platform_numberOfProcessors() { return A._Platform__numberOfProcessors(); }, _Platform_pathSeparator() { return A._Platform__pathSeparator(); }, _Platform_operatingSystem() { return A._Platform__operatingSystem(); }, _Platform_script() { return A._Platform__script(); }, _Platform_operatingSystemVersion() { A._Platform__operatingSystemVersion(); var t1 = $._Platform__cachedOSVersion; t1.toString; return t1; }, _Platform_localHostname() { A._Platform__localHostname(); }, _Platform_executableArguments() { return A._Platform__executableArguments(); }, _Platform_environment() { var t1 = $._Platform__environmentCache; if (t1 == null) A._Platform__environment(); t1.toString; return t1; }, _Platform_version() { return A._Platform__version(); }, stdin() { A.IOOverrides_current(); var t1 = $.$get$_stdin(); return t1; }, stdout() { A.IOOverrides_current(); var t1 = $.$get$_stdout(); 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; }, PathAccessException: function PathAccessException(t0, t1, t2) { this.message = t0; this.path = t1; this.osError = t2; }, PathExistsException: function PathExistsException(t0, t1, t2) { this.message = t0; this.path = t1; this.osError = t2; }, PathNotFoundException: function PathNotFoundException(t0, t1, t2) { this.message = t0; this.path = t1; this.osError = t2; }, _FileStream: function _FileStream(t0, t1, t2, t3) { var _ = this; _.___FileStream__controller_A = $; _._path = t0; _._openedFile = null; _._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) { this.$this = t0; }, _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; }, _File_readAsBytes_readUnsized: function _File_readAsBytes_readUnsized() { }, _File_readAsBytes_readUnsized_read: function _File_readAsBytes_readUnsized_read(t0, t1, t2) { this.file = t0; this.builder = t1; this.completer = t2; }, _File_readAsBytes_readUnsized_read_closure: function _File_readAsBytes_readUnsized_read_closure(t0, t1, t2) { this.builder = t0; this.read = t1; this.completer = t2; }, _File_readAsBytes_readSized: function _File_readAsBytes_readSized() { }, _File_readAsBytes_readSized_read: function _File_readAsBytes_readSized_read(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.file = t1; _.length = t2; _.completer = t3; }, _File_readAsBytes_readSized_read_closure: function _File_readAsBytes_readSized_read_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.read = t1; _.length = t2; _.completer = t3; }, _File_readAsBytes_closure: function _File_readAsBytes_closure(t0, t1) { this.readUnsized = t0; this.readSized = t1; }, _File_readAsBytes__closure: function _File_readAsBytes__closure(t0, t1, t2) { this.readUnsized = t0; this.file = t1; this.readSized = t2; }, _RandomAccessFile: function _RandomAccessFile(t0, t1) { var _ = this; _.path = t0; _._asyncDispatched = false; _.___RandomAccessFile__resourceInfo_A = $; _._ops = t1; _.closed = false; }, _RandomAccessFile_close_closure: function _RandomAccessFile_close_closure(t0) { this.$this = t0; }, _RandomAccessFile_read_closure: function _RandomAccessFile_read_closure(t0) { this.$this = t0; }, _RandomAccessFile_readInto_closure: function _RandomAccessFile_readInto_closure(t0, t1, t2) { this.$this = t0; this.buffer = t1; this.start = t2; }, _RandomAccessFile_setPosition_closure: function _RandomAccessFile_setPosition_closure(t0) { this.$this = t0; }, _RandomAccessFile_length_closure: function _RandomAccessFile_length_closure(t0) { this.$this = t0; }, FileSystemEntity: function FileSystemEntity() { }, SystemEncoding: function SystemEncoding() { }, _callDartFunction(callback, captureThis, $self, $arguments) { var arguments0, t1; if (captureThis) { arguments0 = [$self]; B.JSArray_methods.addAll$1(arguments0, $arguments); $arguments = arguments0; } t1 = type$.dynamic; return A._convertToJS(A.Function_apply(callback, A.List_List$from(J.map$1$1$ax($arguments, A.js___convertToDart$closure(), t1), true, t1), null)); }, JsObject_JsObject$fromBrowserObject(object) { if (typeof object == "number" || typeof object == "string" || A._isBool(object) || false) throw A.wrapException(A.ArgumentError$("object cannot be a num, string, bool, or null", null)); return A._wrapToDart(A._convertToJS(object)); }, JsArray__checkRange(start, end, $length) { var _null = null; if (start < 0 || start > $length) throw A.wrapException(A.RangeError$range(start, 0, $length, _null, _null)); if (end < start || end > $length) throw A.wrapException(A.RangeError$range(end, start, $length, _null, _null)); }, _castToJsObject(o) { return o; }, _defineProperty(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) { } return false; }, _getOwnProperty(o, $name) { if (Object.prototype.hasOwnProperty.call(o, $name)) return o[$name]; return null; }, _convertToJS(o) { if (o == null || typeof o == "string" || typeof o == "number" || A._isBool(o)) return o; if (o instanceof A.JsObject) return o._js$_jsObject; if (A.isBrowserObject(o)) return o; if (type$.TypedData._is(o)) return o; if (o instanceof A.DateTime) return A.Primitives_lazyAsJsDate(o); if (type$.Function._is(o)) return A._getJsProxy(o, "$dart_jsFunction", new A._convertToJS_closure()); return A._getJsProxy(o, "_$dart_jsObject", new A._convertToJS_closure0($.$get$_dartProxyCtor())); }, _getJsProxy(o, propertyName, createProxy) { var jsProxy = A._getOwnProperty(o, propertyName); if (jsProxy == null) { jsProxy = createProxy.call$1(o); A._defineProperty(o, propertyName, jsProxy); } return jsProxy; }, _convertToDart(o) { if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") return o; else if (o instanceof Object && A.isBrowserObject(o)) return o; else if (o instanceof Object && type$.TypedData._is(o)) return o; else if (o instanceof Date) return A.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false); else if (o.constructor === $.$get$_dartProxyCtor()) return o.o; else return A._wrapToDart(o); }, _wrapToDart(o) { if (typeof o == "function") return A._getDartProxy(o, $.$get$DART_CLOSURE_PROPERTY_NAME(), new A._wrapToDart_closure()); if (o instanceof Array) return A._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new A._wrapToDart_closure0()); return A._getDartProxy(o, $.$get$_DART_OBJECT_PROPERTY_NAME(), new A._wrapToDart_closure1()); }, _getDartProxy(o, propertyName, createProxy) { var dartProxy = A._getOwnProperty(o, propertyName); if (dartProxy == null || !(o instanceof Object)) { dartProxy = createProxy.call$1(o); A._defineProperty(o, propertyName, dartProxy); } return dartProxy; }, _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._js$_jsObject = t0; }, JsFunction: function JsFunction(t0) { this._js$_jsObject = t0; }, JsArray: function JsArray(t0, t1) { this._js$_jsObject = t0; this.$ti = t1; }, _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { }, _convertDartFunctionFast(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)); }; }(A._callDartFunctionFast, f); ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; f.$dart_jsFunction = ret; return ret; }, _callDartFunctionFast(callback, $arguments) { return A.Function_apply(callback, $arguments, null); }, allowInterop(f) { if (typeof f == "function") return f; else return A._convertDartFunctionFast(f); }, _noJsifyRequired(o) { return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o); }, jsify(object) { if (A._noJsifyRequired(object)) return object; return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object); }, getProperty(o, $name) { return o[$name]; }, _getPropertyTrustType(o, $name) { return o[$name]; }, callMethod(o, method, args) { return o[method].apply(o, args); }, _callMethodUnchecked0(o, method) { return o[method](); }, _callMethodUnchecked1(o, method, arg1) { return o[method](arg1); }, callConstructor(constr, $arguments) { var args, factoryFunction; if ($arguments instanceof Array) switch ($arguments.length) { case 0: return new constr(); case 1: return new constr($arguments[0]); case 2: return new constr($arguments[0], $arguments[1]); case 3: return new constr($arguments[0], $arguments[1], $arguments[2]); case 4: return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]); } args = [null]; B.JSArray_methods.addAll$1(args, $arguments); factoryFunction = constr.bind.apply(constr, args); String(factoryFunction); return new factoryFunction(); }, _callConstructorUnchecked0(constr) { return new constr(); }, promiseToFuture(jsPromise, $T) { var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>")); jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1)); return t1; }, _noDartifyRequired(o) { return o == null || typeof o === "boolean" || typeof o === "number" || typeof o === "string" || o instanceof Int8Array || o instanceof Uint8Array || o instanceof Uint8ClampedArray || o instanceof Int16Array || o instanceof Uint16Array || o instanceof Int32Array || o instanceof Uint32Array || o instanceof Float32Array || o instanceof Float64Array || o instanceof ArrayBuffer || o instanceof DataView; }, dartify(o) { if (A._noDartifyRequired(o)) return o; return new A.dartify_convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(o); }, jsify__convert: function jsify__convert(t0) { this._convertedObjects = t0; }, promiseToFuture_closure: function promiseToFuture_closure(t0) { this.completer = t0; }, promiseToFuture_closure0: function promiseToFuture_closure0(t0) { this.completer = t0; }, dartify_convert: function dartify_convert(t0) { this._convertedObjects = t0; }, NullRejectionException: function NullRejectionException(t0) { this.isUndefined = t0; }, max(a, b) { return Math.max(a, b); }, log(x) { return Math.log(x); }, pow(x, exponent) { return Math.pow(x, exponent); }, Random_Random(seed) { var t1; if (seed == null) t1 = B.C__JSRandom; else { t1 = new A._Random(); t1._Random$1(seed); } return t1; }, Rectangle$(left, $top, width, height, $T) { var t1, t2; if (width < 0) t1 = width === -1 / 0 ? 0 : -width * 0; else t1 = width + 0; if (height < 0) t2 = height === -1 / 0 ? 0 : -height * 0; else t2 = height + 0; return new A.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() { }, StringList: function StringList() { }, SvgElement: function SvgElement() { }, Transform0: function Transform0() { }, TransformList: function TransformList() { }, _LengthList_JavaScriptObject_ListMixin: function _LengthList_JavaScriptObject_ListMixin() { }, _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin: function _LengthList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _NumberList_JavaScriptObject_ListMixin: function _NumberList_JavaScriptObject_ListMixin() { }, _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin: function _NumberList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _StringList_JavaScriptObject_ListMixin: function _StringList_JavaScriptObject_ListMixin() { }, _StringList_JavaScriptObject_ListMixin_ImmutableListMixin: function _StringList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, _TransformList_JavaScriptObject_ListMixin: function _TransformList_JavaScriptObject_ListMixin() { }, _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, ByteData_ByteData$sublistView(data) { var elementSize = data.BYTES_PER_ELEMENT, end = A.RangeError_checkValidRange(0, null, B.JSInt_methods.$tdiv(data.byteLength, elementSize), null, null); return A.NativeByteData_NativeByteData$view(data.buffer, data.byteOffset + 0 * elementSize, (end - 0) * elementSize); }, Uint8List_Uint8List$sublistView(data, start, end) { var t1 = J.getInterceptor$x(data), elementSize = t1.get$elementSizeInBytes(data); end = A.RangeError_checkValidRange(start, end, B.JSInt_methods.$tdiv(t1.get$lengthInBytes(data), elementSize), null, null); return J.asUint8List$2$x(t1.get$buffer(data), t1.get$offsetInBytes(data) + start * elementSize, (end - start) * elementSize); }, Uint32List_Uint32List$view(buffer) { return A.NativeUint32List_NativeUint32List$view(buffer, 0, null); }, _UnmodifiableInt64ListView: function _UnmodifiableInt64ListView() { }, Endian: function Endian() { }, Offset_lerp(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 A.Offset(A._lerpDouble(a._dx, b._dx, t), A._lerpDouble(a._dy, b._dy, t)); }, Size$(width, height) { return new A.Size(width, height); }, Size_lerp(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 A.Size(A._lerpDouble(a._dx, b._dx, t), A._lerpDouble(a._dy, b._dy, t)); }, Rect$fromCircle(center, radius) { var t1 = center._dx, t2 = radius * 2 / 2, t3 = center._dy; return new A.Rect(t1 - t2, t3 - t2, t1 + t2, t3 + t2); }, Rect$fromCenter(center, height, width) { var t1 = center._dx, t2 = width / 2, t3 = center._dy, t4 = height / 2; return new A.Rect(t1 - t2, t3 - t4, t1 + t2, t3 + t4); }, Rect$fromPoints(a, b) { var t1 = a._dx, t2 = b._dx, t3 = a._dy, t4 = b._dy; return new A.Rect(Math.min(t1, t2), Math.min(t3, t4), Math.max(t1, t2), Math.max(t3, t4)); }, Rect_lerp(a, b, t) { var k, t1, t2, t3, t4; if (b == null) if (a == null) return null; else { k = 1 - t; return new A.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 A.Rect(t1 * t, t2 * t, t3 * t, t4 * t); else return new A.Rect(A._lerpDouble(a.left, t1, t), A._lerpDouble(a.top, t2, t), A._lerpDouble(a.right, t3, t), A._lerpDouble(a.bottom, t4, t)); } }, Radius_lerp(a, b, t) { var k, t1, t2; if (b == null) if (a == null) return null; else { k = 1 - t; return new A.Radius(a.x * k, a.y * k); } else { t1 = b.x; t2 = b.y; if (a == null) return new A.Radius(t1 * t, t2 * t); else return new A.Radius(A._lerpDouble(a.x, t1, t), A._lerpDouble(a.y, t2, t)); } }, RRect$fromLTRBR(left, $top, right, bottom, radius) { var t1 = radius.x, t2 = radius.y; return new A.RRect(left, $top, right, bottom, t1, t2, t1, t2, t1, t2, t1, t2, t1 === t2); }, RRect$fromRectAndRadius(rect, radius) { var t1 = radius.x, t2 = radius.y; return new A.RRect(rect.left, rect.top, rect.right, rect.bottom, t1, t2, t1, t2, t1, t2, t1, t2, t1 === t2); }, RRect$fromLTRBAndCorners(left, $top, right, bottom, bottomLeft, bottomRight, topLeft, topRight) { var t1 = topLeft.x, t2 = topLeft.y, t3 = topRight.x, t4 = topRight.y, t5 = bottomLeft.x, t6 = bottomLeft.y, t7 = bottomRight.x, t8 = bottomRight.y; return new A.RRect(left, $top, right, bottom, t1, t2, t3, t4, t7, t8, t5, t6, t1 === t2 && t1 === t3 && t1 === t4 && t1 === t5 && t1 === t6 && t1 === t7 && t1 === t8); }, RRect$fromRectAndCorners(rect, bottomLeft, bottomRight, topLeft, topRight) { var t1 = topLeft.x, t2 = topLeft.y, t3 = topRight.x, t4 = topRight.y, t5 = bottomLeft.x, t6 = bottomLeft.y, t7 = bottomRight.x, t8 = bottomRight.y, t9 = t1 === t2 && t1 === t3 && t1 === t4 && t1 === t5 && t1 === t6 && t1 === t7 && t1 === t8; return new A.RRect(rect.left, rect.top, rect.right, rect.bottom, t1, t2, t3, t4, t7, t8, t5, t6, t9); }, _Jenkins_combine(hash, o) { hash = hash + J.get$hashCode$(o) & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, hashValues(arg01, arg02, arg03, arg04, arg05, arg06, arg07, arg08, arg09, arg10, arg11) { var hash, result = A._Jenkins_combine(A._Jenkins_combine(0, arg01), arg02); if (arg03 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg03); if (arg04 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg04); if (arg05 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg05); if (arg06 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg06); if (arg07 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg07); if (arg08 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg08); if (arg09 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg09); if (arg10 !== B.C__HashEnd) { result = A._Jenkins_combine(result, arg10); if (arg11 !== B.C__HashEnd) result = A._Jenkins_combine(result, arg11); } } } } } } } } hash = result + ((result & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, lerpDouble(a, b, t) { var t1; if (a != b) { t1 = a == null ? null : isNaN(a); if (t1 === true) { t1 = b == null ? null : isNaN(b); t1 = t1 === 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(a, b, t) { return a * (1 - t) + b * t; }, _lerpInt(a, b, t) { return a * (1 - t) + b * t; }, clampDouble(x, min, max) { if (x < min) return min; if (x > max) return max; if (isNaN(x)) return max; return x; }, _scaleAlpha(a, factor) { return A.Color$fromARGB(A.clampInt(B.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$(value) { return new A.Color(value >>> 0); }, Color$fromARGB(a, r, g, b) { return new A.Color(((a & 255) << 24 | (r & 255) << 16 | (g & 255) << 8 | b & 255) >>> 0); }, Color$fromRGBO(r, g, b, opacity) { return new A.Color(((B.JSNumber_methods._tdivFast$1(opacity * 255, 1) & 255) << 24 | (r & 255) << 16 | (g & 255) << 8 | b & 255) >>> 0); }, Color__linearizeColorComponent(component) { if (component <= 0.03928) return component / 12.92; return Math.pow((component + 0.055) / 1.055, 2.4); }, Color_lerp(a, b, t) { if (b == null) if (a == null) return null; else return A._scaleAlpha(a, 1 - t); else if (a == null) return A._scaleAlpha(b, t); else return A.Color$fromARGB(A.clampInt(B.JSNumber_methods.toInt$0(A._lerpInt(a.get$value(a) >>> 24 & 255, b.get$value(b) >>> 24 & 255, t)), 0, 255), A.clampInt(B.JSNumber_methods.toInt$0(A._lerpInt(a.get$value(a) >>> 16 & 255, b.get$value(b) >>> 16 & 255, t)), 0, 255), A.clampInt(B.JSNumber_methods.toInt$0(A._lerpInt(a.get$value(a) >>> 8 & 255, b.get$value(b) >>> 8 & 255, t)), 0, 255), A.clampInt(B.JSNumber_methods.toInt$0(A._lerpInt(a.get$value(a) & 255, b.get$value(b) & 255, t)), 0, 255)); }, Color_alphaBlend(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 A.Color$fromARGB(255, B.JSInt_methods._tdivFast$1(alpha * (foreground.get$value(foreground) >>> 16 & 255) + invAlpha * (background.get$value(background) >>> 16 & 255), 255), B.JSInt_methods._tdivFast$1(alpha * (foreground.get$value(foreground) >>> 8 & 255) + invAlpha * (background.get$value(background) >>> 8 & 255), 255), B.JSInt_methods._tdivFast$1(alpha * (foreground.get$value(foreground) & 255) + invAlpha * (background.get$value(background) & 255), 255)); else { backAlpha = B.JSInt_methods._tdivFast$1(backAlpha * invAlpha, 255); outAlpha = alpha + backAlpha; return A.Color$fromARGB(outAlpha, B.JSInt_methods.$tdiv((foreground.get$value(foreground) >>> 16 & 255) * alpha + (background.get$value(background) >>> 16 & 255) * backAlpha, outAlpha), B.JSInt_methods.$tdiv((foreground.get$value(foreground) >>> 8 & 255) * alpha + (background.get$value(background) >>> 8 & 255) * backAlpha, outAlpha), B.JSInt_methods.$tdiv((foreground.get$value(foreground) & 255) * alpha + (background.get$value(background) & 255) * backAlpha, outAlpha)); } }, Gradient_Gradient$linear(from, to, colors, colorStops, tileMode, matrix4) { return $.$get$_renderer().createLinearGradient$6(0, from, to, colors, colorStops, tileMode, null); }, ImageFilter_ImageFilter$matrix(matrix4, filterQuality) { return $.$get$_renderer().createMatrixImageFilter$2$filterQuality(matrix4, filterQuality); }, instantiateImageCodec(list) { return $.$get$_renderer().instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth(list, true, null, null); }, instantiateImageCodecWithSize(buffer, getTargetSize) { return A.instantiateImageCodecWithSize$body(buffer, getTargetSize); }, instantiateImageCodecWithSize$body(buffer, getTargetSize) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], codec, info, width, height, targetSize, t1, t2, t3; var $async$instantiateImageCodecWithSize = A._wrapJsFunctionForAsync(function($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 $async$goto = getTargetSize == null ? 3 : 5; break; case 3: // then t1 = $.$get$_renderer(); t2 = buffer._ui$_list; t2.toString; $async$returnValue = t1.instantiateImageCodec$1(t2); // goto return $async$goto = 1; break; // goto join $async$goto = 4; break; case 5: // else t1 = $.$get$_renderer(); t2 = buffer._ui$_list; t2.toString; $async$goto = 6; return A._asyncAwait(t1.instantiateImageCodec$1(t2), $async$instantiateImageCodecWithSize); case 6: // returning from await. codec = $async$result; $async$handler = 7; $async$goto = 10; return A._asyncAwait(codec.getNextFrame$0(), $async$instantiateImageCodecWithSize); case 10: // returning from await. info = $async$result; try { t2 = J.get$image$z(info); width = t2.get$width(t2); t2 = J.get$image$z(info); height = t2.get$height(t2); targetSize = getTargetSize.call$2(width, height); t2 = buffer._ui$_list; t2.toString; t3 = targetSize.width; t3 = t1.instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth(t2, false, targetSize.height, t3); $async$returnValue = t3; $async$next = [1]; // goto finally $async$goto = 8; break; } finally { J.get$image$z(info).dispose$0(); } $async$next.push(9); // goto finally $async$goto = 8; break; case 7: // uncaught $async$next = [2]; case 8: // finally $async$handler = 2; codec.dispose$0(); // goto the next finally handler $async$goto = $async$next.pop(); break; case 9: // after finally case 4: // join case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$instantiateImageCodecWithSize, $async$completer); }, createBmp(pixels, width, height, rowBytes, format) { var t1, bufferSize, bmpData, elementSize, byteLength, combinedPixels, rowCount, destinationByte, sourcePixel, colCount, _null = null, swapRedBlue = A._Cell$named("swapRedBlue"); switch (format.index) { case 1: swapRedBlue.__late_helper$_value = true; break; case 0: swapRedBlue.__late_helper$_value = false; break; case 2: throw A.wrapException(A.UnimplementedError$("RGB conversion from rgbaFloat32 data is not implemented")); } t1 = width * height; bufferSize = 122 + t1 * 4; bmpData = new DataView(new ArrayBuffer(bufferSize)); bmpData.setUint16(0, 16973, false); bmpData.setUint32(2, bufferSize, true); bmpData.setUint32(10, 122, true); bmpData.setUint32(14, 108, true); bmpData.setUint32(18, width, true); bmpData.setUint32(22, height, true); bmpData.setUint16(26, 1, true); bmpData.setUint16(28, 32, true); bmpData.setUint32(30, 3, true); bmpData.setUint32(34, t1, true); bmpData.setUint32(38, width, true); bmpData.setUint32(42, height, true); bmpData.setUint32(46, 0, true); bmpData.setUint32(50, 0, true); bmpData.setUint32(54, swapRedBlue._readLocal$0() ? 16711680 : 255, true); bmpData.setUint32(58, 65280, true); bmpData.setUint32(62, swapRedBlue._readLocal$0() ? 255 : 16711680, true); bmpData.setUint32(66, 4278190080, true); t1 = J.getInterceptor$x(pixels); elementSize = t1.get$elementSizeInBytes(pixels); byteLength = (A.RangeError_checkValidRange(0, _null, B.JSInt_methods.$tdiv(t1.get$lengthInBytes(pixels), elementSize), _null, _null) - 0) * elementSize; if (B.JSInt_methods.$mod(byteLength, 4) !== 0) A.throwExpression(A.ArgumentError$("The number of bytes to view must be a multiple of 4", _null)); combinedPixels = J.asUint32List$2$x(t1.get$buffer(pixels), t1.get$offsetInBytes(pixels) + 0 * elementSize, B.JSInt_methods._tdivFast$1(byteLength, 4)); for (rowCount = height - 1, t1 = J.getInterceptor$asx(combinedPixels), destinationByte = 122; rowCount >= 0; --rowCount) { sourcePixel = rowCount * rowBytes; for (colCount = 0; colCount < width; ++colCount) { bmpData.setUint32(destinationByte, t1.$index(combinedPixels, sourcePixel), true); destinationByte += 4; ++sourcePixel; } } return A.instantiateImageCodec(A.NativeUint8List_NativeUint8List$view(bmpData.buffer, 0, _null)); }, Shadow_convertRadiusToSigma(radius) { return radius > 0 ? radius * 0.57735 + 0.5 : 0; }, Shadow_lerp(a, b, t) { var t2, t3, t1 = A.Color_lerp(a.color, b.color, t); t1.toString; t2 = A.Offset_lerp(a.offset, b.offset, t); t2.toString; t3 = A._lerpDouble(a.blurRadius, b.blurRadius, t); return new A.Shadow(t1, t2, t3); }, Shadow_lerpList(a, b, t) { var result, commonLength, i, t1 = a == null; if (t1 && b == null) return null; if (t1) a = A._setArrayType([], type$.JSArray_Shadow); if (b == null) b = A._setArrayType([], type$.JSArray_Shadow); result = A._setArrayType([], type$.JSArray_Shadow); commonLength = Math.min(a.length, b.length); for (i = 0; i < commonLength; ++i) { t1 = A.Shadow_lerp(a[i], b[i], t); t1.toString; result.push(t1); } for (t1 = 1 - t, i = commonLength; i < a.length; ++i) result.push(J.scale$1$x(a[i], t1)); for (i = commonLength; i < b.length; ++i) result.push(J.scale$1$x(b[i], t)); return result; }, ImmutableBuffer_fromUint8List(list) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ImmutableBuffer), $async$returnValue, instance; var $async$ImmutableBuffer_fromUint8List = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start instance = new A.ImmutableBuffer(J.get$length$asx(list)); instance._ui$_list = list; $async$returnValue = instance; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$ImmutableBuffer_fromUint8List, $async$completer); }, PointerData$(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalDeltaX, physicalDeltaY, physicalX, physicalY, platformData, pointerIdentifier, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scale, scrollDeltaX, scrollDeltaY, signalKind, size, synthesized, tilt, timeStamp, viewId) { return new A.PointerData(viewId, 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, scale); }, FontWeight_lerp(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 = A.lerpDouble(t1, t2 == null ? 3 : t2, t); t1.toString; return B.List_c9P1[A.clampInt(B.JSNumber_methods.round$0(t1), 0, 8)]; }, FontVariation_lerp(a, b, t) { var t1 = a == null, t2 = t1 ? null : a.axis, t3 = b == null; if (t2 == (t3 ? null : b.axis)) t1 = t1 && t3; else t1 = true; if (t1) return t < 0.5 ? a : b; t1 = a.axis; t2 = A.lerpDouble(a.value, b.value, t); t2.toString; return new A.FontVariation(t1, A.clampDouble(t2, -32768, 32767.99998474121)); }, TextDecoration_TextDecoration$combine(decorations) { var mask, _i; for (mask = 0, _i = 0; _i < 2; ++_i) mask |= decorations[_i]._mask; return new A.TextDecoration(mask); }, TextStyle_TextStyle(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) { return $.$get$_renderer().createTextStyle$21$background$color$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$shadows$textBaseline$wordSpacing(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing); }, ParagraphStyle_ParagraphStyle(ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, locale, maxLines, strutStyle, textAlign, textDirection, textHeightBehavior) { return $.$get$_renderer().createParagraphStyle$12$ellipsis$fontFamily$fontSize$fontStyle$fontWeight$height$locale$maxLines$strutStyle$textAlign$textDirection$textHeightBehavior(ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, locale, maxLines, strutStyle, textAlign, textDirection, textHeightBehavior); }, PluginUtilities_getCallbackHandle(callback) { throw A.wrapException(A.UnimplementedError$(null)); }, PluginUtilities_getCallbackFromHandle(handle) { throw A.wrapException(A.UnimplementedError$(null)); }, ClipOp: function ClipOp(t0, t1) { this.index = t0; this._core$_name = t1; }, PathFillType: function PathFillType(t0, t1) { this.index = t0; this._core$_name = t1; }, _ChannelCallbackRecord: function _ChannelCallbackRecord(t0, t1) { this._callback = t0; this._ui$_zone = t1; }, _StoredMessage: function _StoredMessage(t0, t1, t2) { this.data = t0; this._callback = t1; this._ui$_zone = t2; }, _Channel: function _Channel(t0, t1) { var _ = this; _._queue = t0; _.debugEnableDiscardWarnings = true; _._capacity = t1; _._draining = false; _._channelCallbackRecord = null; }, ChannelBuffers: function ChannelBuffers(t0) { this._channels = t0; }, ChannelBuffers_push_closure: function ChannelBuffers_push_closure() { }, ChannelBuffers_setListener_closure: function ChannelBuffers_setListener_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() { }, KeyEventType: function KeyEventType(t0, t1) { this.index = t0; this._core$_name = t1; }, KeyEventDeviceType: function KeyEventDeviceType(t0, t1) { this.index = t0; this._core$_name = t1; }, KeyData: function KeyData(t0, t1, t2, t3, t4, t5) { var _ = this; _.timeStamp = t0; _.type = t1; _.physical = t2; _.logical = t3; _.character = t4; _.synthesized = t5; }, KeyData__logicalToString_closure: function KeyData__logicalToString_closure(t0) { this.planeNum = t0; }, KeyData__quotedCharCode_closure: function KeyData__quotedCharCode_closure() { }, Color: function Color(t0) { this.value = t0; }, StrokeCap: function StrokeCap(t0, t1) { this.index = t0; this._core$_name = t1; }, StrokeJoin: function StrokeJoin(t0, t1) { this.index = t0; this._core$_name = t1; }, PaintingStyle: function PaintingStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, BlendMode: function BlendMode(t0, t1) { this.index = t0; this._core$_name = t1; }, Clip: function Clip(t0, t1) { this.index = t0; this._core$_name = t1; }, BlurStyle: function BlurStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, MaskFilter: function MaskFilter(t0, t1) { this._ui$_style = t0; this._sigma = t1; }, FilterQuality: function FilterQuality(t0, t1) { this.index = t0; this._core$_name = t1; }, ImageFilter: function ImageFilter() { }, ImageByteFormat: function ImageByteFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, PixelFormat: function PixelFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, Shadow: function Shadow(t0, t1, t2) { this.color = t0; this.offset = t1; this.blurRadius = t2; }, ImmutableBuffer: function ImmutableBuffer(t0) { this._ui$_list = null; this._ui$_length = t0; }, PlatformDispatcher: function PlatformDispatcher() { }, FrameTiming: function FrameTiming(t0) { this._ui$_data = t0; }, AppLifecycleState: function AppLifecycleState(t0, t1) { this.index = t0; this._core$_name = t1; }, AppExitResponse: function AppExitResponse(t0, t1) { this.index = t0; this._core$_name = t1; }, Locale: function Locale(t0, t1) { this._languageCode = t0; this._countryCode = t1; }, DartPerformanceMode: function DartPerformanceMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SemanticsActionEvent: function SemanticsActionEvent(t0, t1, t2, t3) { var _ = this; _.type = t0; _.viewId = t1; _.nodeId = t2; _.$arguments = t3; }, PointerChange: function PointerChange(t0, t1) { this.index = t0; this._core$_name = t1; }, PointerDeviceKind: function PointerDeviceKind(t0, t1) { this.index = t0; this._core$_name = t1; }, PointerSignalKind: function PointerSignalKind(t0, t1) { this.index = t0; this._core$_name = t1; }, 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, t28, t29) { var _ = this; _.viewId = t0; _.timeStamp = t1; _.change = t2; _.kind = t3; _.signalKind = t4; _.device = t5; _.pointerIdentifier = t6; _.physicalX = t7; _.physicalY = t8; _.physicalDeltaX = t9; _.physicalDeltaY = t10; _.buttons = t11; _.obscured = t12; _.synthesized = t13; _.pressure = t14; _.pressureMin = t15; _.pressureMax = t16; _.distance = t17; _.distanceMax = t18; _.size = t19; _.radiusMajor = t20; _.radiusMinor = t21; _.radiusMin = t22; _.radiusMax = t23; _.orientation = t24; _.tilt = t25; _.platformData = t26; _.scrollDeltaX = t27; _.scrollDeltaY = t28; _.scale = t29; }, PointerDataPacket: function PointerDataPacket(t0) { this.data = t0; }, SemanticsAction: function SemanticsAction(t0, t1) { this.index = t0; this.name = t1; }, SemanticsFlag: function SemanticsFlag(t0, t1) { this.index = t0; this.name = t1; }, SemanticsUpdateBuilder: function SemanticsUpdateBuilder(t0) { this._ui$_nodeUpdates = t0; }, FontStyle: function FontStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, PlaceholderAlignment: function PlaceholderAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, FontWeight: function FontWeight(t0, t1) { this.index = t0; this.value = t1; }, FontFeature: function FontFeature() { }, FontVariation: function FontVariation(t0, t1) { this.axis = t0; this.value = t1; }, GlyphInfo: function GlyphInfo(t0, t1, t2) { this.graphemeClusterLayoutBounds = t0; this.graphemeClusterCodeUnitRange = t1; this.writingDirection = t2; }, TextAlign: function TextAlign(t0, t1) { this.index = t0; this._core$_name = t1; }, TextBaseline: function TextBaseline(t0, t1) { this.index = t0; this._core$_name = t1; }, TextDecoration: function TextDecoration(t0) { this._mask = t0; }, TextDecorationStyle: function TextDecorationStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, TextLeadingDistribution: function TextLeadingDistribution(t0, t1) { this.index = t0; this._core$_name = t1; }, TextHeightBehavior: function TextHeightBehavior(t0) { this.leadingDistribution = t0; }, TextDirection: function TextDirection(t0, t1) { this.index = t0; this._core$_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, t1) { this.index = t0; this._core$_name = t1; }, 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._core$_name = t1; }, BoxWidthStyle: function BoxWidthStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, TileMode: function TileMode(t0, t1) { this.index = t0; this._core$_name = t1; }, Display: function Display() { }, Brightness: function Brightness(t0, t1) { this.index = t0; this._core$_name = t1; }, CallbackHandle: function CallbackHandle(t0) { this._ui$_handle = t0; }, GestureSettings: function GestureSettings() { }, bootstrapEngine(registerPlugins, runApp) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), bootstrap, t1, loader; var $async$bootstrapEngine = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start bootstrap = new A.AppBootstrap(new A.bootstrapEngine_closure(), new A.bootstrapEngine_closure0(registerPlugins, runApp)); t1 = self._flutter; loader = t1 == null ? null : t1.loader; $async$goto = loader == null || !("didCreateEngineInitializer" in loader) ? 2 : 4; break; case 2: // then A.callMethod(self.window.console, "debug", ["Flutter Web Bootstrap: Auto."]); $async$goto = 5; return A._asyncAwait(bootstrap.autoStart$0(), $async$bootstrapEngine); case 5: // returning from await. // goto join $async$goto = 3; break; case 4: // else A.callMethod(self.window.console, "debug", ["Flutter Web Bootstrap: Programmatic."]); loader.didCreateEngineInitializer(bootstrap.prepareEngineInitializer$0()); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$bootstrapEngine, $async$completer); }, AssetManager: function AssetManager(t0) { this._assetBase = t0; }, bootstrapEngine_closure: function bootstrapEngine_closure() { }, bootstrapEngine_closure0: function bootstrapEngine_closure0(t0, t1) { this.registerPlugins = t0; this.runApp = t1; }, BrowserPlatformLocation: function BrowserPlatformLocation() { }, BrowserPlatformLocation_getOrCreateDomEventListener_closure: function BrowserPlatformLocation_getOrCreateDomEventListener_closure(t0) { this.fn = t0; }, HashUrlStrategy: function HashUrlStrategy() { }, HashUrlStrategy_addPopStateListener_wrappedFn: function HashUrlStrategy_addPopStateListener_wrappedFn(t0) { this.fn = t0; }, HashUrlStrategy_addPopStateListener_closure: function HashUrlStrategy_addPopStateListener_closure(t0, t1) { this.$this = t0; this.wrappedFn = t1; }, HashUrlStrategy__waitForPopState_closure: function HashUrlStrategy__waitForPopState_closure(t0, t1) { this.unsubscribe = t0; this.completer = t1; }, PlatformViewRegistry: function PlatformViewRegistry() { }, 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_JavaScriptObject_MapMixin: function _AudioParamMap_JavaScriptObject_MapMixin() { }, GZipEncoder: function GZipEncoder() { }, ArchiveException$(message) { return new A.ArchiveException(message, null, null); }, ArchiveException: function ArchiveException(t0, t1, t2) { this.message = t0; this.source = t1; this.offset = t2; }, InputStream$(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 : A.List_List$from(data, true, type$.int); t2 = new A.InputStream(t1, start, start, byteOrder); t2.__InputStream__length_A = $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_A = $; }, OutputStream$(byteOrder, size) { var t1 = size == null ? 32768 : size; return new A.OutputStream(byteOrder, new Uint8Array(t1)); }, OutputStreamBase: function OutputStreamBase() { }, OutputStream: function OutputStream(t0, t1) { this.length = 0; this.byteOrder = t0; this._output_stream$_buffer = t1; }, Deflate$buffer(_input, level, output) { var t1 = A._HuffmanTree$(), t2 = A._HuffmanTree$(), t3 = A._HuffmanTree$(), t4 = new Uint16Array(16), t5 = new Uint32Array(573), t6 = new Uint8Array(573); t1 = new A.Deflate(_input, output == null ? A.OutputStream$(0, 32768) : output, t1, t2, t3, t4, t5, t6); t1._deflate$_init$1(level); t1._deflate$1(4); return t1; }, Deflate__smaller(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$() { return new A._HuffmanTree(); }, _HuffmanTree__genCodes(tree, maxCode, blCount) { var code, bits, n, t1, len, t2, nextCode = new Uint16Array(16); for (code = 0, bits = 1; bits <= 15; ++bits) { code = code + blCount[bits - 1] << 1 >>> 0; nextCode[bits] = code; } for (n = 0; n <= maxCode; ++n) { t1 = n * 2; len = tree[t1 + 1]; if (len === 0) continue; t2 = nextCode[len]; nextCode[len] = t2 + 1; tree[t1] = A._HuffmanTree__reverseBits(t2, len); } }, _HuffmanTree__reverseBits(code, len) { var code0, res = 0; do { code0 = A._rshift(code, 1); res = (res | code & 1) << 1 >>> 0; if (--len, len > 0) { code = code0; continue; } else break; } while (true); return A._rshift(res, 1); }, _HuffmanTree__dCode(dist) { return dist < 256 ? B.List_yuB[dist] : B.List_yuB[256 + A._rshift(dist, 7)]; }, _StaticTree$(staticTree, extraBits, extraBase, numElements, maxLength) { return new A._StaticTree(staticTree, extraBits, extraBase, numElements, maxLength); }, _rshift(number, bits) { if (number >= 0) return B.JSInt_methods.$shr(number, bits); else return B.JSInt_methods.$shr(number, bits) + B.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_A = _.__Deflate__pendingOut_A = _.__Deflate__pendingBufferSize_A = _.__Deflate__pendingBuffer_A = $; _._dataType = 2; _.__Deflate__strStart_A = _.__Deflate__matchAvailable_A = _.__Deflate__prevMatch_A = _.__Deflate__matchLength_A = _.__Deflate__blockStart_A = _.__Deflate__hashShift_A = _.__Deflate__hashMask_A = _.__Deflate__hashBits_A = _.__Deflate__hashSize_A = _.__Deflate__insertHash_A = _.__Deflate__head_A = _.__Deflate__prev_A = _.__Deflate__actualWindowSize_A = _.__Deflate__window_A = _.__Deflate__windowMask_A = _.__Deflate__windowBits_A = _.__Deflate__windowSize_A = $; _._matchStart = 0; _.__Deflate__bitLengthTree_A = _.__Deflate__dynamicDistTree_A = _.__Deflate__dynamicLengthTree_A = _.__Deflate__strategy_A = _.__Deflate__level_A = _.__Deflate__prevLength_A = _.__Deflate__lookAhead_A = $; _._lDesc = t2; _._dDesc = t3; _._blDesc = t4; _._bitLengthCount = t5; _._heap = t6; _.__Deflate__heapMax_A = _.__Deflate__heapLen_A = $; _._deflate$_depth = t7; _.__Deflate__numValidBits_A = _.__Deflate__bitBuffer_A = _.__Deflate__lastEOBLen_A = _.__Deflate__matches_A = _.__Deflate__staticLen_A = _.__Deflate__optimalLen_A = _.__Deflate__dbuf_A = _.__Deflate__lastLit_A = _.__Deflate__litBufferSize_A = _.__Deflate__lbuf_A = $; }, _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_A = this.___HuffmanTree_maxCode_A = this.___HuffmanTree_dynamicTree_A = $; }, _StaticTree: function _StaticTree(t0, t1, t2, t3, t4) { var _ = this; _.staticTree = t0; _.extraBits = t1; _.extraBase = t2; _.numElements = t3; _.maxLength = t4; }, HuffmanTable$(lengths) { var t1 = new A.HuffmanTable(); t1.HuffmanTable$1(lengths); return t1; }, HuffmanTable: function HuffmanTable() { this.__HuffmanTable_table_A = $; this.maxCodeLength = 0; this.minCodeLength = 2147483647; }, Inflate$buffer(input) { var t1 = A.HuffmanTable$(B.List_A2Y), t2 = A.HuffmanTable$(B.List_SHm1); t2 = new A.Inflate(input, A.OutputStream$(0, null), t1, t2); t2.inputSet = true; t2._inflate$_inflate$0(); return t2; }, Inflate: function Inflate(t0, t1, t2, t3) { var _ = this; _.__Inflate_input_A = t0; _.inputSet = false; _.output = t1; _._bitBufferLen = _._bitBuffer = 0; _._fixedLiteralLengthTable = t2; _._fixedDistanceTable = t3; }, AttributedSpans$(attributions) { var t1 = A._setArrayType([], type$.JSArray_SpanMarker); if (attributions != null) B.JSArray_methods.addAll$1(t1, attributions); B.JSArray_methods.sort$0(t1); return new A.AttributedSpans(t1); }, AttributedSpans: function AttributedSpans(t0) { this._markers = t0; }, AttributedSpans__getStartingMarkerAtOrBefore_closure: function AttributedSpans__getStartingMarkerAtOrBefore_closure(t0) { this.attribution = t0; }, AttributedSpans__getStartingMarkerAtOrBefore_closure0: function AttributedSpans__getStartingMarkerAtOrBefore_closure0(t0) { this.offset = t0; }, AttributedSpans__getEndingMarkerAtOrAfter_closure: function AttributedSpans__getEndingMarkerAtOrAfter_closure(t0) { this.attribution = t0; }, AttributedSpans__getEndingMarkerAtOrAfter_closure0: function AttributedSpans__getEndingMarkerAtOrAfter_closure0(t0) { this.offset = t0; }, AttributedSpans_addAttribution_closure: function AttributedSpans_addAttribution_closure(t0) { this.newAttribution = t0; }, AttributedSpans_addAttribution_closure0: function AttributedSpans_addAttribution_closure0(t0) { this.start = t0; }, AttributedSpans_addAttribution_closure1: function AttributedSpans_addAttribution_closure1(t0) { this.end = t0; }, AttributedSpans_addAttribution_closure2: function AttributedSpans_addAttribution_closure2(t0) { this.markersToDelete = t0; }, AttributedSpans_removeAttribution_closure: function AttributedSpans_removeAttribution_closure(t0) { this.attributionToRemove = t0; }, AttributedSpans_removeAttribution_closure0: function AttributedSpans_removeAttribution_closure0(t0) { this.start = t0; }, AttributedSpans_removeAttribution_closure1: function AttributedSpans_removeAttribution_closure1(t0) { this.end = t0; }, AttributedSpans_removeAttribution_closure2: function AttributedSpans_removeAttribution_closure2(t0) { this.markersToDelete = t0; }, AttributedSpans_removeAttribution_closure3: function AttributedSpans_removeAttribution_closure3(t0) { this.attributionToRemove = t0; }, AttributedSpans_removeAttribution_closure4: function AttributedSpans_removeAttribution_closure4() { }, AttributedSpans__getMarkerAt_closure: function AttributedSpans__getMarkerAt_closure(t0) { this.attribution = t0; }, AttributedSpans__getMarkerAt_closure0: function AttributedSpans__getMarkerAt_closure0(t0) { this.offset = t0; }, AttributedSpans__getMarkerAt_closure1: function AttributedSpans__getMarkerAt_closure1(t0) { this.type = t0; }, AttributedSpans__insertMarker_closure: function AttributedSpans__insertMarker_closure(t0) { this.newMarker = t0; }, AttributedSpans__mergeBackToBackAttributions_closure: function AttributedSpans__mergeBackToBackAttributions_closure(t0) { this.mergePoint = t0; }, AttributedSpans__mergeBackToBackAttributions_closure0: function AttributedSpans__mergeBackToBackAttributions_closure0(t0) { this.mergePoint = t0; }, AttributedSpans__mergeBackToBackAttributions_closure1: function AttributedSpans__mergeBackToBackAttributions_closure1(t0) { this.startMarker = t0; }, AttributedSpans_copyAttributionRegion_closure: function AttributedSpans_copyAttributionRegion_closure(t0) { this.startOffset = t0; }, AttributedSpans_copyAttributionRegion_closure0: function AttributedSpans_copyAttributionRegion_closure0(t0) { this.foundStartMarkers = t0; }, AttributedSpans_copyAttributionRegion__closure1: function AttributedSpans_copyAttributionRegion__closure1() { }, AttributedSpans_copyAttributionRegion__closure2: function AttributedSpans_copyAttributionRegion__closure2() { }, AttributedSpans_copyAttributionRegion_closure1: function AttributedSpans_copyAttributionRegion_closure1(t0, t1, t2) { this.$this = t0; this.cutAttributions = t1; this.startOffset = t2; }, AttributedSpans_copyAttributionRegion_closure2: function AttributedSpans_copyAttributionRegion_closure2(t0, t1) { this._box_0 = t0; this.startOffset = t1; }, AttributedSpans_copyAttributionRegion_closure3: function AttributedSpans_copyAttributionRegion_closure3(t0, t1) { this.cutAttributions = t0; this.startOffset = t1; }, AttributedSpans_copyAttributionRegion_closure4: function AttributedSpans_copyAttributionRegion_closure4(t0) { this._box_0 = t0; }, AttributedSpans_copyAttributionRegion_closure5: function AttributedSpans_copyAttributionRegion_closure5(t0) { this.foundEndMarkers = t0; }, AttributedSpans_copyAttributionRegion__closure: function AttributedSpans_copyAttributionRegion__closure() { }, AttributedSpans_copyAttributionRegion__closure0: function AttributedSpans_copyAttributionRegion__closure0() { }, AttributedSpans_copyAttributionRegion_closure6: function AttributedSpans_copyAttributionRegion_closure6(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.cutAttributions = t2; _.startOffset = t3; }, AttributedSpans_pushAttributionsBack_closure: function AttributedSpans_pushAttributionsBack_closure(t0) { this.offset = t0; }, AttributedSpans_contractAttributions_closure: function AttributedSpans_contractAttributions_closure(t0) { this.startOffset = t0; }, AttributedSpans_contractAttributions_closure0: function AttributedSpans_contractAttributions_closure0(t0, t1) { this.startOffset = t0; this.count = t1; }, AttributedSpans_contractAttributions_closure1: function AttributedSpans_contractAttributions_closure1(t0, t1) { this.needToEndAttributions = t0; this.needToStartAttributions = t1; }, AttributedSpans_contractAttributions_closure2: function AttributedSpans_contractAttributions_closure2(t0, t1) { this.startOffset = t0; this.count = t1; }, AttributedSpans_contractAttributions_closure3: function AttributedSpans_contractAttributions_closure3(t0) { this.count = t0; }, SpanMarker: function SpanMarker(t0, t1, t2) { this.attribution = t0; this.offset = t1; this.markerType = t2; }, SpanMarkerType: function SpanMarkerType(t0, t1) { this.index = t0; this._core$_name = t1; }, AttributionSpan: function AttributionSpan(t0, t1, t2) { this.attribution = t0; this.start = t1; this.end = t2; }, MultiAttributionSpan: function MultiAttributionSpan(t0, t1, t2) { this.attributions = t0; this.start = t1; this.end = t2; }, IncompatibleOverlappingAttributionsException: function IncompatibleOverlappingAttributionsException(t0, t1, t2) { this.existingAttribution = t0; this.newAttribution = t1; this.conflictStart = t2; }, AttributedText$(text, spans) { var t1 = text == null ? "" : text, t2 = spans == null ? A.AttributedSpans$(null) : spans; return new A.AttributedText(t1, t2, A.LinkedHashSet_LinkedHashSet$_empty(type$.void_Function)); }, AttributedText: function AttributedText(t0, t1, t2) { this.text = t0; this.spans = t1; this._attributed_text$_listeners = t2; }, AttributionVisitEvent: function AttributionVisitEvent(t0, t1) { this.index = t0; this._core$_name = t1; }, AttributionVisitor: function AttributionVisitor() { }, NamedAttribution: function NamedAttribution(t0) { this.id = t0; }, SpanRange: function SpanRange(t0, t1) { this.start = t0; this.end = t1; }, BoardItem$(boardList, draggable, index, item, onDragItem, onDropItem, onStartDragItem, onTapItem) { return new A.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_A = $; _.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() { }, BoardList$(backgroundColor, boardView, draggable, footer, header, headerBackgroundColor, index, items, onDropList, onStartDragList, onTapList) { return new A.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() { }, BoardView: function BoardView(t0, t1, t2, t3, t4, t5) { var _ = this; _.lists = t0; _.bottomPadding = t1; _.scrollbar = t2; _.boardViewController = t3; _.dragDelay = t4; _.key = t5; }, 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() { }, BoardViewController: function BoardViewController() { this.__BoardViewController_state_A = $; }, CopyOnWriteList: function CopyOnWriteList(t0, t1, t2) { var _ = this; _._copyBeforeWrite = true; _._growable = t0; _._copy_on_write_list$_list = t1; _.$ti = t2; }, CopyOnWriteMap: function CopyOnWriteMap(t0, t1, t2) { var _ = this; _._copy_on_write_map$_mapFactory = t0; _._copy_on_write_map$_copyBeforeWrite = true; _._copy_on_write_map$_map = t1; _.$ti = t2; }, 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(objects) { return A._finish(B.JSArray_methods.fold$1$2(objects, 0, new A.hashObjects_closure(), type$.int)); }, _combine(hash, value) { hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, _finish(hash) { hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, hashObjects_closure: function hashObjects_closure() { }, BuiltList_BuiltList$from(iterable, $E) { var t1; if (iterable instanceof A._BuiltList) { t1 = A.createRuntimeType($E); t1 = A.createRuntimeType(iterable.$ti._precomputed1) === t1; } else t1 = false; if (t1) return $E._eval$1("BuiltList<0>")._as(iterable); else { t1 = new A._BuiltList(A.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); t1._maybeCheckForNull$0(); return t1; } }, BuiltList_BuiltList$of(iterable, $E) { var t1 = new A._BuiltList(A.List_List$from(iterable, false, $E), $E._eval$1("_BuiltList<0>")); t1._maybeCheckForNull$0(); return t1; }, ListBuilder_ListBuilder(iterable, $E) { var t1 = new A.ListBuilder($E._eval$1("ListBuilder<0>")); t1.replace$1(0, iterable); return t1; }, BuiltList: function BuiltList() { }, _BuiltList: function _BuiltList(t0, t1) { this._list$_list = t0; this._list$_hashCode = null; this.$ti = t1; }, ListBuilder: function ListBuilder(t0) { this.__ListBuilder__list_A = $; this._listOwner = null; this.$ti = t0; }, BuiltListMultimap_BuiltListMultimap($K, $V) { var t1 = A._BuiltListMultimap$copy(B.Map_empty1.get$keys(B.Map_empty1), new A.BuiltListMultimap_BuiltListMultimap_closure(B.Map_empty1), $K, $V); return t1; }, _BuiltListMultimap$copy(keys, lookup, $K, $V) { var t1 = new A._BuiltListMultimap(A.LinkedHashMap_LinkedHashMap$_empty($K, $V._eval$1("BuiltList<0>")), A.BuiltList_BuiltList$from(B.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($K, $V) { var t1 = new A.ListMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("ListMultimapBuilder<1,2>")); t1.replace$1(0, B.Map_empty1); 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_A = $; _._list_multimap$_builtMapOwner = null; _.__ListMultimapBuilder__builderMap_A = $; _.$ti = t0; }, ListMultimapBuilder_replace_closure: function ListMultimapBuilder_replace_closure(t0) { this.multimap = t0; }, BuiltMap_BuiltMap(map, $K, $V) { var t1, t2, t3; if (map instanceof A._BuiltMap) { t1 = A.createRuntimeType($K); t2 = A.createRuntimeType($V); t3 = map.$ti; t1 = A.createRuntimeType(t3._precomputed1) === t1 && A.createRuntimeType(t3._rest[1]) === t2; } else t1 = false; if (t1) return $K._eval$1("@<0>")._bind$1($V)._eval$1("BuiltMap<1,2>")._as(map); else { t1 = type$.Map_dynamic_dynamic._is(map) || map instanceof A._BuiltMap; t2 = J.getInterceptor$(map); if (t1) return A._BuiltMap$copyAndCheckTypes(t2.get$keys(map), new A.BuiltMap_BuiltMap_closure(map), $K, $V); else throw A.wrapException(A.ArgumentError$("expected Map or BuiltMap, got " + t2.get$runtimeType(map).toString$0(0), null)); } }, BuiltMap_BuiltMap$from(map, $K, $V) { return A._BuiltMap$copyAndCheckTypes(new A.LinkedHashMapKeyIterable(map, A._instanceType(map)._eval$1("LinkedHashMapKeyIterable<1>")), new A.BuiltMap_BuiltMap$from_closure(map), $K, $V); }, _BuiltMap$copyAndCheckTypes(keys, lookup, $K, $V) { var t1 = new A._BuiltMap(null, A.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($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, B.Map_empty1); 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$_values = _._map$_keys = _._map$_hashCode = null; _.$ti = t2; }, MapBuilder: function MapBuilder(t0, t1, t2, t3) { var _ = this; _._mapFactory = t0; _.__MapBuilder__map_A = 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; }, BuiltSet_BuiltSet(iterable, $E) { return A.BuiltSet_BuiltSet$from(iterable, $E); }, BuiltSet_BuiltSet$from(iterable, $E) { var t1 = new A._BuiltSet(null, A.LinkedHashSet_LinkedHashSet$from(iterable, $E), $E._eval$1("_BuiltSet<0>")); t1._set$_maybeCheckForNull$0(); return t1; }, SetBuilder_SetBuilder($E) { var t1 = new A.SetBuilder(null, $, null, $E._eval$1("SetBuilder<0>")); t1.replace$1(0, B.List_empty); return t1; }, BuiltSet: function BuiltSet() { }, BuiltSet_hashCode_closure: function BuiltSet_hashCode_closure(t0) { this.$this = t0; }, _BuiltSet: function _BuiltSet(t0, t1, t2) { var _ = this; _._setFactory = t0; _._set$_set = t1; _._set$_hashCode = null; _.$ti = t2; }, SetBuilder: function SetBuilder(t0, t1, t2, t3) { var _ = this; _._setFactory = t0; _.__SetBuilder__set_A = t1; _._setOwner = t2; _.$ti = t3; }, SetMultimapBuilder_SetMultimapBuilder($K, $V) { var t1 = new A.SetMultimapBuilder($K._eval$1("@<0>")._bind$1($V)._eval$1("SetMultimapBuilder<1,2>")); t1.replace$1(0, B.Map_empty1); return t1; }, BuiltSetMultimap: function BuiltSetMultimap() { }, BuiltSetMultimap_hashCode_closure: function BuiltSetMultimap_hashCode_closure(t0) { this.$this = t0; }, BuiltSetMultimap_forEach_closure: function BuiltSetMultimap_forEach_closure(t0, t1) { this.$this = t0; this.f = t1; }, BuiltSetMultimap_forEach__closure: function BuiltSetMultimap_forEach__closure(t0, t1, t2) { this.$this = t0; this.f = t1; this.key = t2; }, _BuiltSetMultimap: function _BuiltSetMultimap(t0, t1, t2) { var _ = this; _._set_multimap$_map = t0; _._set_multimap$_emptySet = t1; _._set_multimap$_keys = _._set_multimap$_hashCode = null; _.$ti = t2; }, SetMultimapBuilder: function SetMultimapBuilder(t0) { var _ = this; _.__SetMultimapBuilder__builtMap_A = $; _._builtMapOwner = null; _.__SetMultimapBuilder__builderMap_A = $; _.$ti = t0; }, SetMultimapBuilder_replace_closure: function SetMultimapBuilder_replace_closure(t0) { this.multimap = t0; }, $jc(hash, value) { hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, $jf(hash) { hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, BuiltValueNullFieldError_checkNotNull(value, type, field) { if (value == null) throw A.wrapException(new A.BuiltValueNullFieldError(type, field)); return value; }, BuiltValueNestedFieldError$(type, field, error) { return new A.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; }, JsonObject_JsonObject(value) { if (typeof value == "number") return new A.NumJsonObject(value); else if (typeof value == "string") return new A.StringJsonObject(value); else if (A._isBool(value)) return new A.BoolJsonObject(value); else if (type$.List_nullable_Object._is(value)) return new A.ListJsonObject(new A.UnmodifiableListView(value, type$.UnmodifiableListView_nullable_Object)); else if (type$.Map_of_String_and_nullable_Object._is(value)) return new A.MapJsonObject(new A.UnmodifiableMapView(value, type$.UnmodifiableMapView_of_String_and_nullable_Object)); else if (type$.Map_dynamic_dynamic._is(value)) return new A.MapJsonObject(new A.UnmodifiableMapView(J.cast$2$0$ax(value, type$.String, type$.nullable_Object), type$.UnmodifiableMapView_of_String_and_nullable_Object)); else throw A.wrapException(A.ArgumentError$value(value, "value", "Must be bool, List<Object?>, Map<String?, Object?>, num or String")); }, JsonObject: function JsonObject() { }, BoolJsonObject: function BoolJsonObject(t0) { this.value = t0; }, ListJsonObject: function ListJsonObject(t0) { this.value = t0; }, MapJsonObject: function MapJsonObject(t0) { this.value = t0; }, NumJsonObject: function NumJsonObject(t0) { this.value = t0; }, StringJsonObject: function StringJsonObject(t0) { this.value = t0; }, Serializers_Serializers() { var t1 = type$.Type, t2 = type$.Serializer_dynamic, t3 = type$.String; t2 = new A.BuiltJsonSerializersBuilder(A.MapBuilder_MapBuilder(t1, t2), A.MapBuilder_MapBuilder(t3, t2), A.MapBuilder_MapBuilder(t3, t2), A.MapBuilder_MapBuilder(type$.FullType, type$.Function), A.ListBuilder_ListBuilder(B.List_empty, type$.SerializerPlugin)); t2.add$1(0, new A.BigIntSerializer(A.BuiltList_BuiltList$from([B.Type_BigInt_8OV, A.getRuntimeTypeOfDartObject($.$get$_BigIntImpl_zero())], t1))); t2.add$1(0, new A.BoolSerializer(A.BuiltList_BuiltList$from([B.Type_bool_lhE], t1))); t3 = type$.Object; t2.add$1(0, new A.BuiltListSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltList_iTR, A.getRuntimeTypeOfDartObject(A.BuiltList_BuiltList$from(B.List_empty, t3))], t1))); t2.add$1(0, new A.BuiltListMultimapSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltListMultimap_2Mt, A.getRuntimeTypeOfDartObject(A.BuiltListMultimap_BuiltListMultimap(t3, t3))], t1))); t2.add$1(0, new A.BuiltMapSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltMap_qd4, A.getRuntimeTypeOfDartObject(A.BuiltMap_BuiltMap(B.Map_empty1, t3, t3))], t1))); t2.add$1(0, new A.BuiltSetSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltSet_fcN, A.getRuntimeTypeOfDartObject(A.BuiltSet_BuiltSet$from(B.List_empty, t3))], t1))); t2.add$1(0, new A.BuiltSetMultimapSerializer(A.BuiltSet_BuiltSet$from([B.Type_BuiltSetMultimap_9Fi], t1))); t2.add$1(0, new A.DateTimeSerializer(A.BuiltList_BuiltList$from([B.Type_DateTime_8AS], t1))); t2.add$1(0, new A.DoubleSerializer(A.BuiltList_BuiltList$from([B.Type_double_K1J], t1))); t2.add$1(0, new A.DurationSerializer(A.BuiltList_BuiltList$from([B.Type_Duration_SnA], t1))); t2.add$1(0, new A.IntSerializer(A.BuiltList_BuiltList$from([B.Type_int_tHn], t1))); t2.add$1(0, new A.Int32Serializer(A.BuiltList_BuiltList$from([B.Type_Int32_Mhf], t1))); t2.add$1(0, new A.Int64Serializer(A.BuiltList_BuiltList$from([B.Type_Int64_ww8], t1))); t2.add$1(0, new A.JsonObjectSerializer(A.BuiltList_BuiltList$from([B.Type_JsonObject_gyf, B.Type_BoolJsonObject_8HQ, B.Type_ListJsonObject_yPV, B.Type_MapJsonObject_bBG, B.Type_NumJsonObject_H9C, B.Type_StringJsonObject_GAC], t1))); t2.add$1(0, new A.NullSerializer(A.BuiltList_BuiltList$from([B.Type_Null_Yyn], t1))); t2.add$1(0, new A.NumSerializer(A.BuiltList_BuiltList$from([B.Type_num_cv7], t1))); t2.add$1(0, new A.RegExpSerializer(A.BuiltList_BuiltList$from([B.Type_RegExp_Eeh, $.$get$_runtimeType()], t1))); t2.add$1(0, new A.StringSerializer(A.BuiltList_BuiltList$from([B.Type_String_k8F], t1))); t2.add$1(0, new A.Uint8ListSerializer()); t2.add$1(0, new A.UriSerializer(A.BuiltList_BuiltList$from([B.Type_Uri_EFX, A.getRuntimeTypeOfDartObject(A.Uri_parse("http://example.com", 0, null)), A.getRuntimeTypeOfDartObject(A.Uri_parse("http://example.com:", 0, null))], t1))); t2.addBuilderFactory$2(B.FullType_WUY, new A.Serializers_Serializers_closure()); t2.addBuilderFactory$2(B.FullType_fA4, new A.Serializers_Serializers_closure0()); t2.addBuilderFactory$2(B.FullType_6Ps, new A.Serializers_Serializers_closure1()); t2.addBuilderFactory$2(B.FullType_KVM, new A.Serializers_Serializers_closure2()); t2.addBuilderFactory$2(B.FullType_gsm, new A.Serializers_Serializers_closure3()); return t2.build$0(); }, FullType__getRawName(type) { var $name = J.toString$0$(type), genericsStart = B.JSString_methods.indexOf$1($name, "<"); return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, DeserializationError_DeserializationError(json, type, error) { var limitedJson = J.toString$0$(json), t1 = limitedJson.length; if (t1 > 80) B.JSString_methods.replaceRange$3(limitedJson, 77, t1, "..."); return new A.DeserializationError(type, error); }, Serializers_Serializers_closure: function Serializers_Serializers_closure() { }, Serializers_Serializers_closure0: function Serializers_Serializers_closure0() { }, Serializers_Serializers_closure1: function Serializers_Serializers_closure1() { }, Serializers_Serializers_closure2: function Serializers_Serializers_closure2() { }, Serializers_Serializers_closure3: function Serializers_Serializers_closure3() { }, FullType: function FullType(t0, t1, t2) { this.root = t0; this.parameters = t1; this.nullable = t2; }, DeserializationError: function DeserializationError(t0, t1) { this.type = t0; this.error = t1; }, BigIntSerializer: function BigIntSerializer(t0) { this.types = t0; }, BoolSerializer: function BoolSerializer(t0) { this.types = t0; }, _getRawName(type) { var $name = J.toString$0$(type), genericsStart = B.JSString_methods.indexOf$1($name, "<"); return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, _noSerializerMessageFor(typeName) { var maybeRecordAdvice = B.JSString_methods.contains$1(typeName, "(") ? " Note that record types are not automatically serializable, please write and install your own `Serializer`." : ""; return "No serializer for '" + typeName + "'." + maybeRecordAdvice; }, 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; }, 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; }, BuiltListSerializer: function BuiltListSerializer(t0) { this.types = t0; }, BuiltListSerializer_serialize_closure: function BuiltListSerializer_serialize_closure(t0, t1) { this.serializers = t0; this.elementType = t1; }, BuiltListSerializer_deserialize_closure: function BuiltListSerializer_deserialize_closure(t0, t1) { this.serializers = t0; this.elementType = t1; }, BuiltMapSerializer: function BuiltMapSerializer(t0) { this.types = t0; }, 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; }, 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; }, DateTimeSerializer: function DateTimeSerializer(t0) { this.types = t0; }, DoubleSerializer: function DoubleSerializer(t0) { this.types = t0; }, DurationSerializer: function DurationSerializer(t0) { this.types = t0; }, Int32Serializer: function Int32Serializer(t0) { this.types = t0; }, Int64Serializer: function Int64Serializer(t0) { this.types = t0; }, IntSerializer: function IntSerializer(t0) { this.types = t0; }, JsonObjectSerializer: function JsonObjectSerializer(t0) { this.types = t0; }, NullSerializer: function NullSerializer(t0) { this.types = t0; }, NumSerializer: function NumSerializer(t0) { this.types = t0; }, RegExpSerializer: function RegExpSerializer(t0) { this.types = t0; }, StringSerializer: function StringSerializer(t0) { this.types = t0; }, Uint8ListSerializer: function Uint8ListSerializer() { }, UriSerializer: function UriSerializer(t0) { this.types = t0; }, StandardJsonPlugin: function StandardJsonPlugin(t0) { this.typesToLeaveAsList = t0; }, 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; }, StringCharacterRange_StringCharacterRange$at(string, startIndex, endIndex) { A.RangeError_checkValidRange(startIndex, endIndex, string.length, "startIndex", "endIndex"); return A.StringCharacterRange__expandRange(string, startIndex, endIndex == null ? startIndex : endIndex); }, StringCharacterRange__expandRange(string, start, end) { var t1 = string.length; start = A.previousBreak(string, 0, t1, start); return new A.StringCharacterRange(string, start, end !== start ? A.nextBreak(string, 0, t1, end) : end); }, _explodeReplace(string, start, end, internalReplacement, outerReplacement) { var t1, breaks, replacement, index; if (start === end) return B.JSString_methods.replaceRange$3(string, start, start, outerReplacement); t1 = B.JSString_methods.substring$2(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 + B.JSString_methods.substring$2(string, start, index); t1 = t1 + outerReplacement + B.JSString_methods.substring$1(string, end); return t1.charCodeAt(0) == 0 ? t1 : t1; }, _indexOf(source, pattern, start, end) { var realEnd, index, t1, patternLength = pattern.length; if (patternLength === 0) return start; realEnd = end - patternLength; if (realEnd < start) return -1; if (source.length - realEnd <= (realEnd - start) * 2) { index = 0; while (true) { if (start < realEnd) { index = B.JSString_methods.indexOf$2(source, pattern, start); t1 = index >= 0; } else t1 = false; if (!t1) 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 A._gcIndexOf(source, pattern, start, end); }, _gcIndexOf(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 (B.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; }, lookAhead(base, start, cursor, state) { if (state === 208) return A.lookAheadRegional(base, start, cursor); if (state === 224) { if (A.lookAheadPictorgraphicExtend(base, start, cursor) >= 0) return 145; return 64; } throw A.wrapException(A.StateError$("Unexpected state: " + B.JSInt_methods.toRadixString$1(state, 16))); }, lookAheadRegional(base, start, cursor) { var index, count, index0, tail, lead; for (index = cursor, count = 0; index0 = index - 2, index0 >= start; index = index0) { tail = base.charCodeAt(index - 1); if ((tail & 64512) !== 56320) break; lead = base.charCodeAt(index0); if ((lead & 64512) !== 55296) break; if (A.high(lead, tail) !== 6) break; count ^= 1; } if (count === 0) return 193; else return 144; }, lookAheadPictorgraphicExtend(base, start, cursor) { var index, char, category, prevChar, t1; for (index = cursor; index > start;) { --index; char = base.charCodeAt(index); if ((char & 64512) !== 56320) category = A.low(char); else { if (index > start) { --index; prevChar = base.charCodeAt(index); t1 = (prevChar & 64512) === 55296; } else { prevChar = 0; t1 = false; } if (t1) category = A.high(prevChar, char); else break; } if (category === 7) return index; if (category !== 4) break; } return -1; }, isGraphemeClusterBoundary(text, start, end, index) { var char, index0, prevChar, catAfter, t1, nextChar, catBefore, prevPrevChar, state, _s208_ = string$.x10__0__; if (start < index && index < end) { char = text.charCodeAt(index); index0 = index - 1; prevChar = text.charCodeAt(index0); if ((char & 63488) !== 55296) catAfter = A.low(char); else if ((char & 64512) === 55296) { t1 = index + 1; if (t1 >= end) return true; nextChar = text.charCodeAt(t1); if ((nextChar & 64512) !== 56320) return true; catAfter = A.high(char, nextChar); } else return (prevChar & 64512) !== 55296; if ((prevChar & 64512) !== 56320) { catBefore = A.low(prevChar); index = index0; } else { index -= 2; if (start <= index) { prevPrevChar = text.charCodeAt(index); if ((prevPrevChar & 64512) !== 55296) return true; catBefore = A.high(prevPrevChar, prevChar); } else return true; } state = _s208_.charCodeAt(_s208_.charCodeAt(catAfter | 176) & 240 | catBefore); return ((state >= 208 ? A.lookAhead(text, start, index, state) : state) & 1) === 0; } return start !== end; }, previousBreak(text, start, end, index) { var nextChar, category, indexBefore, indexAfter, secondChar, prevChar; if (index === start || index === end) return index; nextChar = text.charCodeAt(index); if ((nextChar & 63488) !== 55296) { category = A.low(nextChar); indexBefore = index; } else if ((nextChar & 64512) === 55296) { indexAfter = index + 1; if (indexAfter < end) { secondChar = text.charCodeAt(indexAfter); category = (secondChar & 64512) === 56320 ? A.high(nextChar, secondChar) : 2; } else category = 2; indexBefore = index; } else { indexBefore = index - 1; prevChar = text.charCodeAt(indexBefore); if ((prevChar & 64512) === 55296) category = A.high(prevChar, nextChar); else { indexBefore = index; category = 2; } } return new A.BackBreaks(text, start, indexBefore, string$.x10__0__.charCodeAt(category | 176)).nextBreak$0(); }, nextBreak(text, start, end, index) { var indexBefore, prevChar, prevCategory, nextChar, secondCharIndex, secondChar, state, t1; if (index === start || index === end) return index; indexBefore = index - 1; prevChar = text.charCodeAt(indexBefore); if ((prevChar & 63488) !== 55296) prevCategory = A.low(prevChar); else if ((prevChar & 64512) === 55296) { nextChar = text.charCodeAt(index); if ((nextChar & 64512) === 56320) { ++index; if (index === end) return end; prevCategory = A.high(prevChar, nextChar); } else prevCategory = 2; } else if (indexBefore > start) { secondCharIndex = indexBefore - 1; secondChar = text.charCodeAt(secondCharIndex); if ((secondChar & 64512) === 55296) { prevCategory = A.high(secondChar, prevChar); indexBefore = secondCharIndex; } else prevCategory = 2; } else prevCategory = 2; if (prevCategory === 6) state = A.lookAheadRegional(text, start, indexBefore) !== 144 ? 160 : 48; else { t1 = prevCategory === 1; if (t1 || prevCategory === 4) if (A.lookAheadPictorgraphicExtend(text, start, indexBefore) >= 0) state = t1 ? 144 : 128; else state = 48; else state = string$.x200_000.charCodeAt(prevCategory | 176); } return new A.Breaks(text, text.length, index, state).nextBreak$0(); }, Breaks: function Breaks(t0, t1, t2, t3) { var _ = this; _.base = t0; _.end = t1; _.cursor = t2; _.state = t3; }, BackBreaks: function BackBreaks(t0, t1, t2, t3) { var _ = this; _.base = t0; _.start = t1; _.cursor = t2; _.state = t3; }, BarChart0: function BarChart0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.vertical = t0; _._domainAxis = null; _._newDomainAxis = t1; _._newPrimaryMeasureAxisSpec = _._primaryMeasureAxisSpec = _._newDomainAxisSpec = _._domainAxisSpec = null; _._primaryMeasureAxis = t2; _._newSecondaryMeasureAxisSpec = _._secondaryMeasureAxisSpec = null; _._secondaryMeasureAxis = t3; _._newDisjointMeasureAxesSpec = _._disjointMeasureAxesSpec = null; _._disjointMeasureAxes = t4; _._useSecondaryMeasureAxis = _._usePrimaryMeasureAxis = _.flipVerticalAxisOutput = false; _.__BaseChart_context_A = $; _.graphicsFactory = null; _._layoutManager = t5; _._chartHeight = _._chartWidth = null; _.transition = t6; _.animationPercent = 0; _._animationsTemporarilyDisabled = false; _.__BaseChart__originalSeriesList_A = $; _._currentSeriesList = null; _._usingRenderers = t7; _._rendererToSeriesList = null; _._seriesRenderers = t8; _._behaviorRoleMap = t9; _._behaviorStack = t10; _._behaviorTappableMap = t11; _._gestureProxy = t12; _._selectionModels = t13; _._lifecycleListeners = t14; }, BarRenderer_BarRenderer(config, rendererId, $D) { var _null = null; if (config == null) config = A.BarRendererConfig$(_null, _null, $D); return new A.BarRenderer(config.barGroupInnerPaddingPx, config.stackedBarPaddingPx, config.barRendererDecorator, config, A.LinkedHashMap_LinkedHashMap(_null, _null, type$.String, $D._eval$1("List<AnimatedBar<0>>")), A._setArrayType([], type$.JSArray_String), A.LinkedHashMap_LinkedHashMap(_null, _null, $D, type$.Set_String), A.LayoutViewConfig$(config.layoutPaintOrder, B.LayoutPosition_8, 0), "bar", config.symbolRenderer, $D._eval$1("BarRenderer<0>")); }, BarRendererElement$clone(other, $D) { var t1 = new A.BarRendererElement($D._eval$1("BarRendererElement<0>")); t1.BaseBarRendererElement$clone$1(other); t1.series = other.series; t1.bounds = other.bounds; t1.roundPx = other.roundPx; t1.index = other.index; t1._bar_renderer$_datum = other._bar_renderer$_datum; return t1; }, BarRenderer: function BarRenderer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._barGroupInnerPaddingPx = t0; _._stackedBarPaddingPx = t1; _.barRendererDecorator = t2; _.config = t3; _._lastVertical = true; _._barStackMap = t4; _._currentKeys = t5; _._currentGroupsStackKeys = t6; _._prevDomainAxis = null; _.__BaseCartesianRenderer_chart_A = $; _.layoutConfig = t7; _.rendererId = t8; _.symbolRenderer = t9; _.graphicsFactory = _._drawAreaBounds = null; _.$ti = t10; }, BarRendererElement: function BarRendererElement(t0) { var _ = this; _.measureIsNegative = _.measureIsNull = _.strokeWidthPx = _.measureOffsetPlusMeasure = _.measureOffset = _.measureAxisPosition = _.fillPattern = _.fillColor = _.dashPattern = _.cumulativeTotal = _.color = _.barStackIndex = _._bar_renderer$_datum = _.index = _.roundPx = _.bounds = _.series = null; _.$ti = t0; }, AnimatedBar: function AnimatedBar(t0, t1, t2, t3, t4) { var _ = this; _.key = t0; _.datum = t1; _.series = t2; _.domainValue = t3; _._currentBar = _._targetBar = _._previousBar = null; _.animatingOut = false; _.$ti = t4; }, BarRendererConfig$(barRendererDecorator, groupingType, $D) { var _null = null, t1 = new A.RoundedRectSymbolRenderer(1, true); return new A.BarRendererConfig(B.C_ConstCornerStrategy, barRendererDecorator, 2, _null, t1, B.BarGroupingType_0, 10, 0, _null, _null, 1, 0, _null, new A.RendererAttributes(A.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), _null, _null, _null, B.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, t18) { var _ = this; _.cornerStrategy = t0; _.barRendererDecorator = t1; _.barGroupInnerPaddingPx = t2; _.customRendererId = t3; _.symbolRenderer = t4; _.groupingType = t5; _.layoutPaintOrder = t6; _.minBarLengthPx = t7; _.maxBarWidthPx = t8; _.fillPattern = t9; _.stackedBarPaddingPx = t10; _.strokeWidthPx = t11; _.weightPattern = t12; _.rendererAttributes = t13; _.paintOrder = t14; _.position = t15; _.positionOrder = t16; _.viewMargin = t17; _.$ti = t18; }, ConstCornerStrategy: function ConstCornerStrategy() { }, _ReversedSeriesIterator$(list, $S) { var t1 = new A._ReversedSeriesIterator(list, A._setArrayType([], 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; }, BaseBarRendererConfig: function BaseBarRendererConfig() { }, BarGroupingType: function BarGroupingType(t0, t1) { this.index = t0; this._core$_name = t1; }, BaseBarRendererElement: function BaseBarRendererElement() { }, BaseAnimatedBar: function BaseAnimatedBar() { }, NumericAxis$() { var t1 = new A.NumericTickProvider(), formatter = A.NumericTickFormatter__getFormatter(A.NumberFormat_NumberFormat$decimalPattern(null)), t2 = new A.NumericTickFormatter(formatter), t3 = A.LinearScale$(); return new A.NumericAxis(t3, t3, t1, t1, t2, t2, A.LinkedHashMap_LinkedHashMap$_empty(type$.num, type$.String), A._setArrayType([], type$.JSArray_AxisTicks_num)); }, OrdinalAxis$() { var t1, t2; $.$get$StyleFactory__styleFactory(); t1 = type$.String; t2 = new A.SimpleOrdinalScale(new A.StepSizeConfig(), new A.OrdinalScaleDomainInfo(A.HashMap_HashMap(null, null, null, t1, type$.int), A._setArrayType([], type$.JSArray_String)), new A.ScaleOutputExtent(0, 1), 1, 0, new A.RangeBandConfig(B.RangeBandType_4, 0.65)); return new A.OrdinalAxis(t2, t2, B.C_OrdinalTickProvider, B.C_OrdinalTickProvider, B.C_OrdinalTickFormatter, B.C_OrdinalTickFormatter, A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), A._setArrayType([], type$.JSArray_AxisTicks_String)); }, AxisOrientation: function AxisOrientation(t0, t1) { this.index = t0; this._core$_name = t1; }, ImmutableAxis: function ImmutableAxis() { }, Axis: function Axis() { }, Axis__updateAxisTicks_closure: function Axis__updateAxisTicks_closure(t0, t1) { this.$this = t0; this.animatedTick = t1; }, Axis__updateAxisTicks_closure0: function Axis__updateAxisTicks_closure0(t0, t1) { this.$this = t0; this.scale = t1; }, Axis_paint_closure: function Axis_paint_closure(t0) { this.$this = t0; }, NumericAxis: function NumericAxis(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._defaultScale = t0; _.scale = t1; _._previousScale = null; _._defaultTickProvider = t2; _.tickProvider = t3; _._defaultTickFormatter = t4; _._tickFormatter = t5; _._formatterValueCache = t6; _.context = _.axisOrientation = _.tickDrawStrategy = null; _.reverseOutputRange = false; _.autoViewport = true; _._providedTicks = _.forceDrawAxisLine = null; _._axisTicks = t7; _._axis$_drawAreaBounds = _._componentBounds = null; _.layoutPaintOrder = 0; _.hasTickCollision = false; _.graphicsFactory = null; }, OrdinalAxis: function OrdinalAxis(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._defaultScale = t0; _.scale = t1; _._previousScale = null; _._defaultTickProvider = t2; _.tickProvider = t3; _._defaultTickFormatter = t4; _._tickFormatter = t5; _._formatterValueCache = t6; _.context = _.axisOrientation = _.tickDrawStrategy = null; _.reverseOutputRange = false; _.autoViewport = true; _._providedTicks = _.forceDrawAxisLine = null; _._axisTicks = t7; _._axis$_drawAreaBounds = _._componentBounds = null; _.layoutPaintOrder = 0; _.hasTickCollision = false; _.graphicsFactory = null; }, AxisTicks$(tick, $D) { var t1 = tick.locationPx; return new A.AxisTicks(t1, tick.value, tick.textElement, t1, tick.labelOffsetPx, $D._eval$1("AxisTicks<0>")); }, AxisTicks: function AxisTicks(t0, t1, t2, t3, t4, t5) { var _ = this; _._markedForRemoval = false; _._previousLocation = _._currentLocation = null; _._targetLocation = t0; _._targetOpacity = _._previousOpacity = _._currentOpacity = null; _.value = t1; _.textElement = t2; _.locationPx = t3; _.labelOffsetPx = t4; _.$ti = t5; }, CollisionReport$(alternateTicksUsed, ticks, ticksCollide, $D) { var t1 = ticks == null ? A._setArrayType([], $D._eval$1("JSArray<Tick<0>>")) : ticks; return new A.CollisionReport(ticksCollide, t1, alternateTicksUsed === true, $D._eval$1("CollisionReport<0>")); }, CollisionReport: function CollisionReport(t0, t1, t2, t3) { var _ = this; _.ticksCollide = t0; _.ticks = t1; _.alternateTicksUsed = t2; _.$ti = t3; }, 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, t1) { this.index = t0; this._core$_name = t1; }, GridlineRendererSpec$(labelRotation, labelStyle, lineStyle, $D) { var _null = null; return new A.GridlineRendererSpec(lineStyle, _null, labelStyle, _null, _null, _null, _null, _null, _null, _null, labelRotation, _null, _null, $D._eval$1("GridlineRendererSpec<0>")); }, GridlineRendererSpec: function GridlineRendererSpec(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; }, GridlineTickDrawStrategy: function GridlineTickDrawStrategy(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; }, NoneDrawStrategy$(chartContext, graphicsFactory, $D) { var t1, t2; $.$get$StyleFactory__styleFactory(); t1 = new A.LineStyle(); t1.color = B.Color_ePM; t1.strokeWidth = 1; t2 = graphicsFactory.createTextPaint$0(); t2.color = B.Color_WL1; t2.fontSize = 0; return new A.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; }, SmallTickRendererSpec$(axisLineStyle, labelAnchor, labelCollisionOffsetFromAxisPx, labelCollisionOffsetFromTickPx, labelCollisionRotation, labelJustification, labelOffsetFromAxisPx, labelOffsetFromTickPx, labelRotation, labelStyle, lineStyle, minimumPaddingBetweenLabelsPx, tickLengthPx, $D) { return new A.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; }, LinearScale$() { return new A.LinearScale(new A.LinearScaleDomainInfo(), new A.LinearScaleViewportSettings(), new A.LinearScaleFunction(), B.RangeBandConfig_RangeBandType_0_0, B.C_StepSizeConfig); }, LinearScale$_copy(other) { var t3, t1 = other._domainInfo, t2 = new A.LinearScaleDomainInfo(); t2._dataDomainStart = t1._dataDomainStart; t2._dataDomainEnd = t1._dataDomainEnd; t2._previouslyAddedDomain = t1._previouslyAddedDomain; t2._minimumDetectedDomainStep = t1._minimumDetectedDomainStep; t1 = other._viewportSettings; t3 = new A.LinearScaleViewportSettings(); t3.range = t1.range; t3.scalingFactor = t1.scalingFactor; t3.translatePx = t1.translatePx; t3._manualDomainExtent = t1._manualDomainExtent; t3._domainExtent = t1._domainExtent; return new A.LinearScale(t2, t3, new A.LinearScaleFunction(), other.rangeBandConfig, other.stepSizeConfig); }, LinearScale: function LinearScale(t0, t1, t2, t3, t4) { var _ = this; _._domainInfo = t0; _._viewportSettings = t1; _._scaleFunction = t2; _.rangeBandConfig = t3; _.stepSizeConfig = t4; _._scaleReady = false; }, LinearScaleDomainInfo: function LinearScaleDomainInfo() { var _ = this; _.domainOverride = null; _._dataDomainStart = 1 / 0; _._dataDomainEnd = -1 / 0; _._previouslyAddedDomain = null; _._minimumDetectedDomainStep = 1 / 0; }, LinearScaleFunction: function LinearScaleFunction() { var _ = this; _.domainTranslate = _.rangeBandPixels = 0; _.scalingFactor = 1; _.stepSizePixels = _.rangeTranslate = 0; }, LinearScaleViewportSettings: function LinearScaleViewportSettings() { var _ = this; _.range = null; _.keepViewportWithinData = true; _.scalingFactor = 1; _.translatePx = 0; _._domainExtent = null; _._manualDomainExtent = false; }, NumericExtents: function NumericExtents(t0, t1) { this.min = t0; this.max = t1; }, NumericTickProvider__getEnclosingPowerOfTen(number) { var t1; if (number === 0) return 1; t1 = Math.pow(10, B.JSNumber_methods.ceil$0(0.4342944819032518 * Math.log(Math.abs(number)))); return t1 * (number < 0 ? -1 : 1); }, NumericTickProvider__getStepLessThan(number, stepSize) { var t1; if (number === 0 || stepSize === 0) return 0; t1 = number / stepSize; return (stepSize > 0 ? B.JSNumber_methods.floor$0(t1) : B.JSNumber_methods.ceil$0(t1)) * stepSize; }, NumericTickProvider: function NumericTickProvider() { var _ = this; _.__NumericTickProvider__high_A = _.__NumericTickProvider__low_A = $; _._maxTickCount = _._minTickCount = null; }, _TickStepInfo: function _TickStepInfo(t0, t1) { this.stepSize = t0; this.tickStart = t1; }, OrdinalScaleDomainInfo: function OrdinalScaleDomainInfo(t0, t1) { this._ordinal_scale_domain_info$_index = 0; this._domainsToOrder = t0; this._domainList = t1; }, OrdinalTickProvider: function OrdinalTickProvider() { }, Scale: function Scale() { }, MutableScale: function MutableScale() { }, ScaleOutputExtent: function ScaleOutputExtent(t0, t1) { this.start = t0; this.end = t1; }, RangeBandType: function RangeBandType(t0, t1) { this.index = t0; this._core$_name = t1; }, RangeBandConfig: function RangeBandConfig(t0, t1) { this.type = t0; this.size = t1; }, StepSizeType: function StepSizeType(t0, t1) { this.index = t0; this._core$_name = t1; }, StepSizeConfig: function StepSizeConfig() { }, Extents: function Extents() { }, SimpleOrdinalScale: function SimpleOrdinalScale(t0, t1, t2, t3, t4, t5) { var _ = this; _._stepSizeConfig = t0; _._domain = t1; _._range = t2; _._viewportScale = t3; _._viewportTranslatePx = t4; _._rangeBandConfig = t5; _._scaleChanged = true; _.__SimpleOrdinalScale__cachedRangeBandSize_A = _.__SimpleOrdinalScale__cachedRangeBandShift_A = _.__SimpleOrdinalScale__cachedStepSizePixels_A = $; _._viewportStartingDomain = _._viewportDataSize = null; }, 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, t1) { this.index = t0; this._core$_name = t1; }, TickLabelJustification: function TickLabelJustification(t0, t1) { this.index = t0; this._core$_name = t1; }, DateTimeAxisSpec$(renderSpec) { var _null = null; return new A.DateTimeAxisSpec(_null, renderSpec, _null, _null, _null); }, DateTimeAxisSpec: function DateTimeAxisSpec(t0, t1, t2, t3, t4) { var _ = this; _.showAxisLine = t0; _.renderSpec = t1; _.tickProviderSpec = t2; _.tickFormatterSpec = t3; _.scaleSpec = t4; }, NumericAxisSpec$(renderSpec) { var _null = null; return new A.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; }, OrdinalAxisSpec: function OrdinalAxisSpec(t0, t1, t2, t3, t4) { var _ = this; _.showAxisLine = t0; _.renderSpec = t1; _.tickProviderSpec = t2; _.tickFormatterSpec = t3; _.scaleSpec = t4; }, Tick: function Tick(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.textElement = t1; _.locationPx = t2; _.labelOffsetPx = t3; _.$ti = t4; }, NumericTickFormatter__getFormatter(numberFormat) { return new A.NumericTickFormatter__getFormatter_closure(numberFormat); }, SimpleTickFormatterBase: function SimpleTickFormatterBase() { }, SimpleTickFormatterBase_format_closure: function SimpleTickFormatterBase_format_closure(t0, t1) { this.$this = t0; this.cache = t1; }, OrdinalTickFormatter: function OrdinalTickFormatter() { }, NumericTickFormatter: function NumericTickFormatter(t0) { this.formatter = t0; }, NumericTickFormatter__getFormatter_closure: function NumericTickFormatter__getFormatter_closure(t0) { this.numberFormat = t0; }, BaseTickProvider: function BaseTickProvider() { }, AutoAdjustingDateTimeTickProvider: function AutoAdjustingDateTimeTickProvider(t0) { this._potentialTickProviders = 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; }, DateTimeAxis$(dateTimeFactory) { var map, _null = null, t1 = new A.AutoAdjustingDateTimeTickProvider(A._setArrayType([new A.TimeRangeTickProviderImpl(new A.YearTimeStepper(B.List_YmH0, dateTimeFactory)), new A.TimeRangeTickProviderImpl(new A.MonthTimeStepper(B.List_4QF0, dateTimeFactory)), new A.TimeRangeTickProviderImpl(new A.DayTimeStepper(B.List_AuK, dateTimeFactory)), new A.TimeRangeTickProviderImpl(new A.HourTimeStepper(B.List_JUC, dateTimeFactory)), new A.TimeRangeTickProviderImpl(new A.MinuteTimeStepper(B.List_AuK0, dateTimeFactory))], type$.JSArray_TimeRangeTickProvider)), t2 = A.DateFormat$("mm", _null), t3 = A.DateFormat$("h mm", _null), t4 = new A.HourTickFormatter(A.DateFormat$("h", _null), A.DateFormat$("MMM d ha", _null), B.CalendarField_2); t4.__HourTickFormatter__noonFormat_F = A.DateFormat$("ha", _null); map = A.LinkedHashMap_LinkedHashMap$_literal([60000, new A.TimeTickFormatterImpl(t2, t3, B.CalendarField_3), 3600000, t4, 82800000, new A.TimeTickFormatterImpl(A.DateFormat$("d", _null), A.DateFormat$("MMM d", _null), B.CalendarField_1), 2419200000, new A.TimeTickFormatterImpl(A.DateFormat$("MMM", _null), A.DateFormat$("MMM yyyy", _null), B.CalendarField_0), 314496e5, new A.TimeTickFormatterImpl(A.DateFormat$("yyyy", _null), A.DateFormat$("yyyy", _null), B.CalendarField_0)], type$.int, type$.TimeTickFormatter); t2 = new A.DateTimeTickFormatter(map); t2.DateTimeTickFormatter$_internal$1(map); t3 = new A.DateTimeScale(dateTimeFactory, A.LinearScale$()); return new A.DateTimeAxis(t3, t3, t1, t1, t2, t2, A.LinkedHashMap_LinkedHashMap$_empty(type$.DateTime, type$.String), A._setArrayType([], type$.JSArray_AxisTicks_DateTime)); }, DateTimeAxis: function DateTimeAxis(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._defaultScale = t0; _.scale = t1; _._previousScale = null; _._defaultTickProvider = t2; _.tickProvider = t3; _._defaultTickFormatter = t4; _._tickFormatter = t5; _._formatterValueCache = t6; _.context = _.axisOrientation = _.tickDrawStrategy = null; _.reverseOutputRange = false; _.autoViewport = true; _._providedTicks = _.forceDrawAxisLine = null; _._axisTicks = t7; _._axis$_drawAreaBounds = _._componentBounds = null; _.layoutPaintOrder = 0; _.hasTickCollision = false; _.graphicsFactory = null; }, DateTimeExtents: function DateTimeExtents(t0, t1) { this.start = t0; this.end = t1; }, DateTimeScale: function DateTimeScale(t0, t1) { this.dateTimeFactory = t0; this._linearScale = t1; }, DateTimeTickFormatter__checkPositiveAndSorted(values) { var prev, isSorted, prev0, t1 = values._map, valuesIterator = A.LinkedHashMapKeyIterator$(t1, t1._modifications, values.$ti._precomputed1); valuesIterator.moveNext$0(); prev = valuesIterator.__js_helper$_current; if (prev <= 0) throw A.wrapException(A.ArgumentError$("Formatter keys must be positive", null)); isSorted = true; while (true) { if (!(valuesIterator.moveNext$0() && isSorted)) break; prev0 = valuesIterator.__js_helper$_current; isSorted = prev < prev0; prev = prev0; } if (!isSorted) throw A.wrapException(A.ArgumentError$("Formatters must be sorted with keys in increasing order", null)); }, DateTimeTickFormatter: function DateTimeTickFormatter(t0) { this._timeFormatters = t0; }, DayTimeStepper: function DayTimeStepper(t0, t1) { this._day_time_stepper$_allowedTickIncrements = t0; this.dateTimeFactory = t1; this._stepsIterable = null; }, HourTickFormatter: function HourTickFormatter(t0, t1, t2) { var _ = this; _.__HourTickFormatter__noonFormat_F = $; _._simpleFormat = t0; _._transitionFormat = t1; _.transitionField = t2; }, HourTimeStepper: function HourTimeStepper(t0, t1) { this._hour_time_stepper$_allowedTickIncrements = t0; this.dateTimeFactory = t1; this._stepsIterable = null; }, MinuteTimeStepper: function MinuteTimeStepper(t0, t1) { this._allowedTickIncrements = t0; this.dateTimeFactory = t1; this._stepsIterable = null; }, MonthTimeStepper: function MonthTimeStepper(t0, t1) { this._month_time_stepper$_allowedTickIncrements = t0; this.dateTimeFactory = t1; this._stepsIterable = null; }, TimeRangeTickProvider: function TimeRangeTickProvider() { }, TimeRangeTickProviderImpl: function TimeRangeTickProviderImpl(t0) { this.timeStepper = t0; }, TimeStepIteratorFactory: function TimeStepIteratorFactory() { }, TimeTickFormatterImpl: function TimeTickFormatterImpl(t0, t1, t2) { this._simpleFormat = t0; this._transitionFormat = t1; this.transitionField = t2; }, CalendarField: function CalendarField(t0, t1) { this.index = t0; this._core$_name = t1; }, YearTimeStepper: function YearTimeStepper(t0, t1) { this._year_time_stepper$_allowedTickIncrements = t0; this.dateTimeFactory = t1; this._stepsIterable = null; }, OrdinalCartesianChart: function OrdinalCartesianChart() { }, CartesianChart: function CartesianChart() { }, CartesianChart_init_closure: function CartesianChart_init_closure(t0, t1) { this.context = t0; this.graphicsFactory = t1; }, CartesianChart_makeSeries_closure: function CartesianChart_makeSeries_closure() { }, CartesianChart_preprocessSeries_closure: function CartesianChart_preprocessSeries_closure(t0) { this.$this = t0; }, CartesianChart_preprocessSeries_closure0: function CartesianChart_preprocessSeries_closure0() { }, CartesianChart_preprocessSeries_closure1: function CartesianChart_preprocessSeries_closure1(t0, t1) { this.$this = t0; this.reverseAxisDirection = t1; }, CartesianChart_preprocessSeries_closure2: function CartesianChart_preprocessSeries_closure2(t0) { this.$this = t0; }, CartesianChart_onSkipLayout_closure: function CartesianChart_onSkipLayout_closure() { }, BaseCartesianRenderer: function BaseCartesianRenderer() { }, BaseCartesianRenderer_configureDomainAxes_closure: function BaseCartesianRenderer_configureDomainAxes_closure(t0) { this.$this = t0; }, BaseCartesianRenderer_configureMeasureAxes_closure: function BaseCartesianRenderer_configureMeasureAxes_closure(t0) { this.$this = t0; }, BaseChart0: function BaseChart0() { }, BaseChart_init_closure: function BaseChart_init_closure(t0) { this.graphicsFactory = t0; }, BaseChart_getSelectionModel_closure: function BaseChart_getSelectionModel_closure(t0) { this.$this = t0; }, BaseChart_pointWithinRenderer_closure: function BaseChart_pointWithinRenderer_closure(t0, t1) { this.$this = t0; this.chartPosition = t1; }, BaseChart_getNearestDatumDetailPerSeries_closure: function BaseChart_getNearestDatumDetailPerSeries_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.details = t1; _.drawAreaPoint = t2; _.boundsOverride = t3; }, BaseChart_getNearestDatumDetailPerSeries_closure0: function BaseChart_getNearestDatumDetailPerSeries_closure0(t0) { this.$this = t0; }, BaseChart_draw_closure: function BaseChart_draw_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, BaseChart_drawInternal_closure: function BaseChart_drawInternal_closure(t0) { this.$this = t0; }, BaseChart_configureSeries_closure: function BaseChart_configureSeries_closure(t0, t1) { this.$this = t0; this.rendererToSeriesList = t1; }, BaseChart_configureSeries__closure: function BaseChart_configureSeries__closure(t0) { this.$this = t0; }, BaseChart_configureSeries_closure0: function BaseChart_configureSeries_closure0(t0) { this.$this = t0; }, BaseChart_preprocessSeries_closure: function BaseChart_preprocessSeries_closure(t0, t1, t2) { this.$this = t0; this.rendererToSeriesList = t1; this.unusedRenderers = t2; }, BaseChart_preprocessSeries__closure: function BaseChart_preprocessSeries__closure(t0) { this.$this = t0; }, BaseChart_preprocessSeries_closure0: function BaseChart_preprocessSeries_closure0(t0, t1) { this.$this = t0; this.rendererToSeriesList = t1; }, BaseChart_preprocessSeries_closure1: function BaseChart_preprocessSeries_closure1(t0) { this.$this = t0; }, BaseChart_onPostLayout_closure: function BaseChart_onPostLayout_closure(t0) { this.$this = t0; }, BaseChart_paint_closure: function BaseChart_paint_closure(t0, t1) { this.$this = t0; this.canvas = t1; }, BaseChart_fireOnDraw_closure: function BaseChart_fireOnDraw_closure(t0, t1) { this.$this = t0; this.seriesList = t1; }, BaseChart_fireOnPreprocess_closure: function BaseChart_fireOnPreprocess_closure(t0, t1) { this.$this = t0; this.seriesList = t1; }, BaseChart_fireOnPostprocess_closure: function BaseChart_fireOnPostprocess_closure(t0, t1) { this.$this = t0; this.seriesList = t1; }, BaseChart_fireOnAxisConfigured_closure: function BaseChart_fireOnAxisConfigured_closure(t0) { this.$this = t0; }, BaseChart_fireOnPostrender_closure: function BaseChart_fireOnPostrender_closure(t0, t1) { this.$this = t0; this.canvas = t1; }, BaseChart_fireOnAnimationComplete_closure: function BaseChart_fireOnAnimationComplete_closure(t0) { this.$this = t0; }, LifecycleListener: function LifecycleListener(t0, t1, t2, t3, t4) { var _ = this; _.onData = t0; _.onPreprocess = t1; _.onPostprocess = t2; _.onAxisConfigured = t3; _.$ti = t4; }, BehaviorPosition: function BehaviorPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, OutsideJustification: function OutsideJustification(t0, t1) { this.index = t0; this._core$_name = t1; }, InsideJustification: function InsideJustification(t0, t1) { this.index = t0; this._core$_name = t1; }, DomainHighlighter0: function DomainHighlighter0(t0, t1) { var _ = this; _.selectionModelType = t0; _.__DomainHighlighter__lifecycleListener_A = _.__DomainHighlighter__chart_A = $; _.$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; }, Legend: function Legend() { }, LegendState: function LegendState(t0) { this.__LegendState__legendEntries_A = $; this._selectionModel = null; this.$ti = t0; }, LegendTapHandling: function LegendTapHandling(t0, t1) { this.index = t0; this._core$_name = t1; }, LegendEntryBase: function LegendEntryBase() { }, LegendEntry: function LegendEntry(t0, t1, t2, t3, t4) { var _ = this; _.series = t0; _.color = t1; _.formattedValue = _.value = null; _.isSelected = false; _.label = t2; _.textStyle = t3; _.$ti = t4; }, LegendDefaultMeasure: function LegendDefaultMeasure(t0, t1) { this.index = t0; this._core$_name = t1; }, PerSeriesLegendEntryGenerator: function PerSeriesLegendEntryGenerator(t0) { var _ = this; _.secondaryMeasureFormatter = _.measureFormatter = _.entryTextStyle = null; _.showOverlaySeries = false; _.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A = $; _.$ti = t0; }, PerSeriesLegendEntryGenerator_getLegendEntries_closure: function PerSeriesLegendEntryGenerator_getLegendEntries_closure(t0) { this.$this = t0; }, PerSeriesLegendEntryGenerator_getLegendEntries_closure0: function PerSeriesLegendEntryGenerator_getLegendEntries_closure0(t0) { this.$this = t0; }, PerSeriesLegendEntryGenerator__updateFromSelection_closure: function PerSeriesLegendEntryGenerator__updateFromSelection_closure(t0, t1) { this.$this = t0; this.entry = t1; }, PerSeriesLegendEntryGenerator__updateFromSelection_closure0: function PerSeriesLegendEntryGenerator__updateFromSelection_closure0(t0) { this.$this = t0; }, PerSeriesLegendEntryGenerator__updateFromSeriesList_getMeasureTotal: function PerSeriesLegendEntryGenerator__updateFromSeriesList_getMeasureTotal(t0) { this.$this = t0; }, SeriesLegend0: function SeriesLegend0() { }, SeriesLegend_onData_closure0: function SeriesLegend_onData_closure0(t0) { this.$this = t0; }, SeriesLegend_onData_closure: function SeriesLegend_onData_closure(t0) { this.seriesIds = t0; }, SeriesLegend_preProcessSeriesList_closure: function SeriesLegend_preProcessSeriesList_closure(t0) { this.$this = t0; }, SeriesLegend_showSeries_closure: function SeriesLegend_showSeries_closure(t0) { this.seriesId = t0; }, _DatumPoint__DatumPoint$from0(other, x, y, $D) { var t1 = x == null ? other.x : x, t2 = y == null ? other.y : y; return new A._DatumPoint0(other.datum, other.domain, other.series, t1, t2, $D._eval$1("_DatumPoint0<0>")); }, LinePointHighlighter0: function LinePointHighlighter0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.selectionModelType = t0; _.defaultRadiusPx = t1; _.radiusPaddingPx = t2; _.showHorizontalFollowLine = t3; _.showVerticalFollowLine = t4; _.dashPattern = t5; _.drawFollowLinesAcrossChart = t6; _.symbolRenderer = t7; _.__LinePointHighlighter__lifecycleListener_A = _.__LinePointHighlighter__view_A = _.__LinePointHighlighter__chart_A = $; _._seriesPointMap = t8; _._line_point_highlighter$_currentKeys = t9; _.$ti = t10; }, LinePointHighlighter__updateViewData_closure: function LinePointHighlighter__updateViewData_closure(t0, t1) { this.$this = t0; this.newSeriesMap = t1; }, _LinePointLayoutView: function _LinePointLayoutView(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.layoutConfig = t0; _.showHorizontalFollowLine = t1; _.showVerticalFollowLine = t2; _.chart = t3; _.dashPattern = t4; _.___LinePointLayoutView__drawAreaBounds_A = $; _.drawFollowLinesAcrossChart = t5; _.symbolRenderer = t6; _._seriesPointMap = null; _.$ti = t7; }, _LinePointLayoutView_paint_closure: function _LinePointLayoutView_paint_closure(t0, t1) { this.$this = t0; this.keysToRemove = t1; }, _LinePointLayoutView_paint_closure0: function _LinePointLayoutView_paint_closure0(t0, t1, t2) { this.$this = t0; this.points = t1; this.animationPercent = t2; }, _DatumPoint0: function _DatumPoint0(t0, t1, t2, t3, t4, t5) { var _ = this; _.datum = t0; _.domain = t1; _.series = t2; _.x = t3; _.y = t4; _.$ti = t5; }, _PointRendererElement: function _PointRendererElement(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.point = t0; _.color = t1; _.fillColor = t2; _.radiusPx = t3; _.measureAxisPosition = t4; _.strokeWidthPx = t5; _.symbolRenderer = t6; _.$ti = t7; }, _AnimatedPoint: function _AnimatedPoint(t0, t1) { var _ = this; _.key = t0; _._previousPoint = null; _.___AnimatedPoint__targetPoint_A = $; _._currentPoint = null; _.animatingOut = false; _.$ti = t1; }, LinePointHighlighterFollowLineType: function LinePointHighlighterFollowLineType(t0, t1) { this.index = t0; this._core$_name = t1; }, SelectNearest0: function SelectNearest0(t0, t1, t2, t3, t4, t5) { var _ = this; _.__SelectNearest__listener_A = $; _.selectionModelType = t0; _.eventTrigger = t1; _.selectionMode = t2; _.selectClosestSeries = t3; _.maximumDomainDistancePx = t4; _._select_nearest$_chart = null; _._delaySelect = false; _.$ti = t5; }, SelectNearest__onSelect_closure: function SelectNearest__onSelect_closure(t0) { this.$this = t0; }, SelectNearest__onSelect_closure0: function SelectNearest__onSelect_closure0(t0) { this.$this = t0; }, SelectNearest__extractSeriesFromNearestSelection_closure: function SelectNearest__extractSeriesFromNearestSelection_closure(t0) { this.$this = t0; }, SelectionMode: function SelectionMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SelectionTrigger: function SelectionTrigger(t0, t1) { this.index = t0; this._core$_name = t1; }, CanvasBarStack_CanvasBarStack(segments, radius, roundBottomLeft, roundBottomRight, roundTopLeft, roundTopRight, stackedBarPadding) { var barIndex, bounds, t2, t3, t4, firstBarBounds = B.JSArray_methods.get$first(segments).bounds, left = firstBarBounds.left, $top = firstBarBounds.top, t1 = firstBarBounds.$ti._precomputed1, right = t1._as(left + firstBarBounds.width), bottom = t1._as($top + firstBarBounds.height); for (t1 = segments.length, barIndex = 1; barIndex < t1; ++barIndex) { bounds = segments[barIndex].bounds; t2 = bounds.left; left = Math.min(left, t2); t3 = bounds.top; $top = Math.min($top, t3); t4 = bounds.$ti._precomputed1; right = Math.max(right, t4._as(t2 + bounds.width)); bottom = Math.max(bottom, t4._as(t3 + bounds.height)); } return new A.CanvasBarStack(segments, radius, roundTopLeft, roundTopRight, roundBottomLeft, roundBottomRight, A.Rectangle$(left, $top, right - left, bottom - $top, type$.int)); }, CanvasRect: function CanvasRect(t0, t1, t2, t3, t4) { var _ = this; _.bounds = t0; _.fill = t1; _.pattern = t2; _.stroke = t3; _.strokeWidthPx = t4; }, CanvasBarStack: function CanvasBarStack(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.segments = t0; _.radius = t1; _.roundTopLeft = t2; _.roundTopRight = t3; _.roundBottomLeft = t4; _.roundBottomRight = t5; _.fullStackRect = t6; }, getAnimatedColor(previous, target, animationPercent) { var t1 = previous.r, t2 = previous.g, t3 = previous.b, t4 = previous.a; return new A.Color0(B.JSNumber_methods.round$0((target.r - t1) * animationPercent + t1), B.JSNumber_methods.round$0((target.g - t2) * animationPercent + t2), B.JSNumber_methods.round$0((target.b - t3) * animationPercent + t3), B.JSNumber_methods.round$0((target.a - t4) * animationPercent + t4), null, null); }, FillPatternType: function FillPatternType(t0, t1) { this.index = t0; this._core$_name = t1; }, DatumDetails$(areaColor, bounds, chartPosition, chartPositionLower, chartPositionUpper, color, dashPattern, datum, domain, domainDistance, domainFormatter, domainLowerBound, domainUpperBound, fillColor, fillPattern, index, measure, measureDistance, measureFormatter, measureLowerBound, measureOffset, measureUpperBound, radiusPx, rawMeasure, rawMeasureLowerBound, rawMeasureUpperBound, relativeDistance, series, strokeWidthPx, symbolRenderer, $D) { return new A.DatumDetails(datum, index, domain, domainLowerBound, domainUpperBound, measure, measureLowerBound, measureUpperBound, measureOffset, rawMeasure, rawMeasureLowerBound, rawMeasureUpperBound, series, color, fillColor, fillPattern, areaColor, dashPattern, chartPosition, chartPositionLower, chartPositionUpper, bounds, domainDistance, measureDistance, relativeDistance, radiusPx, symbolRenderer, strokeWidthPx, domainFormatter, measureFormatter, $D._eval$1("DatumDetails<0>")); }, DatumDetails_DatumDetails$from(other, bounds, chartPosition, chartPositionLower, chartPositionUpper, symbolRenderer, $D) { var t1 = chartPositionLower == null ? other.chartPositionLower : chartPositionLower, t2 = chartPositionUpper == null ? other.chartPositionUpper : chartPositionUpper, t3 = bounds == null ? other.bounds : bounds, t4 = symbolRenderer == null ? other.symbolRenderer : symbolRenderer; return A.DatumDetails$(other.areaColor, t3, chartPosition, t1, t2, other.color, other.dashPattern, other.datum, other.domain, other.domainDistance, other.domainFormatter, other.domainLowerBound, other.domainUpperBound, other.fillColor, other.fillPattern, other.index, other.measure, other.measureDistance, other.measureFormatter, other.measureLowerBound, other.measureOffset, other.measureUpperBound, other.radiusPx, other.rawMeasure, other.rawMeasureLowerBound, other.rawMeasureUpperBound, null, other.series, other.strokeWidthPx, t4, $D); }, DatumDetails: function DatumDetails(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; _.datum = t0; _.index = t1; _.domain = t2; _.domainLowerBound = t3; _.domainUpperBound = t4; _.measure = t5; _.measureLowerBound = t6; _.measureUpperBound = t7; _.measureOffset = t8; _.rawMeasure = t9; _.rawMeasureLowerBound = t10; _.rawMeasureUpperBound = t11; _.series = t12; _.color = t13; _.fillColor = t14; _.fillPattern = t15; _.areaColor = t16; _.dashPattern = t17; _.chartPosition = t18; _.chartPositionLower = t19; _.chartPositionUpper = t20; _.bounds = t21; _.domainDistance = t22; _.measureDistance = t23; _.relativeDistance = t24; _.radiusPx = t25; _.symbolRenderer = t26; _.strokeWidthPx = t27; _.domainFormatter = t28; _.measureFormatter = t29; _.$ti = t30; }, MutableSeries$(series, $D) { var t3, t4, t5, t1 = series.id, t2 = series.displayName; if (t2 == null) t2 = t1; t3 = series.measureFn; t4 = series.measureLowerBoundFn; t5 = series.measureUpperBoundFn; t5 = new A.MutableSeries(t1, t2, false, series.seriesCategory, series.seriesColor, $, $, series.data, series.keyFn, series.domainFn, series.domainFormatterFn, series.domainLowerBoundFn, series.domainUpperBoundFn, t3, series.measureFormatterFn, t4, t5, series.measureOffsetFn, t3, t4, t5, series.areaColorFn, series.colorFn, series.dashPatternFn, series.fillColorFn, series.fillPatternFn, series.patternColorFn, series.radiusPxFn, series.strokeWidthPxFn, null, series.insideLabelStyleAccessorFn, series.outsideLabelStyleAccessorFn, new A.SeriesAttributes(A.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), null, null, $D._eval$1("MutableSeries<0>")); t5.MutableSeries$1(series, $D); return t5; }, 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_A = t5; _.__MutableSeries_seriesMeasureTotal_A = 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() { }, 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(t0, t1) { this.index = t0; this._core$_name = t1; }, SeriesDatum: function SeriesDatum(t0, t1, t2) { var _ = this; _.series = t0; _.datum = t1; _._series_datum$_index = null; _.$ti = t2; }, BaseSeriesRenderer: function BaseSeriesRenderer() { }, BaseSeriesRenderer_assignMissingColors_closure: function BaseSeriesRenderer_assignMissingColors_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.missingColorCountPerCategory = t2; }, BaseSeriesRenderer_assignMissingColors__closure3: function BaseSeriesRenderer_assignMissingColors__closure3(t0) { this.series = t0; }, BaseSeriesRenderer_assignMissingColors_closure0: function BaseSeriesRenderer_assignMissingColors_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.palettes = t2; }, BaseSeriesRenderer_assignMissingColors__closure2: function BaseSeriesRenderer_assignMissingColors__closure2(t0) { this.color = t0; }, BaseSeriesRenderer_assignMissingColors_closure1: function BaseSeriesRenderer_assignMissingColors_closure1(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.colorsByCategory = t1; _.colorPalettes = t2; _.missingColorCountPerCategory = t3; }, BaseSeriesRenderer_assignMissingColors_closure2: function BaseSeriesRenderer_assignMissingColors_closure2(t0, t1, t2) { this.$this = t0; this.missingColorCountPerCategory = t1; this.colorsByCategory = t2; }, BaseSeriesRenderer_assignMissingColors__closure0: function BaseSeriesRenderer_assignMissingColors__closure0(t0) { this.color = t0; }, BaseSeriesRenderer_assignMissingColors__closure1: function BaseSeriesRenderer_assignMissingColors__closure1(t0) { this.series = t0; }, BaseSeriesRenderer_assignMissingColors_closure3: function BaseSeriesRenderer_assignMissingColors_closure3(t0) { this.$this = t0; }, BaseSeriesRenderer_assignMissingColors__closure: function BaseSeriesRenderer_assignMissingColors__closure(t0) { this.series = t0; }, BaseSeriesRenderer_assignMissingColors_closure4: function BaseSeriesRenderer_assignMissingColors_closure4(t0) { this.$this = t0; }, RendererAttributes: function RendererAttributes(t0) { this._typed_registry$_registry = t0; }, IdentityConverter: function IdentityConverter(t0) { this.$ti = t0; }, LayoutConfig$(bottomSpec, leftSpec, rightSpec, topSpec) { var t1 = leftSpec == null ? B.MarginSpec_null_null_null_50 : leftSpec, t2 = rightSpec == null ? B.MarginSpec_null_null_null_50 : rightSpec, t3 = topSpec == null ? B.MarginSpec_null_null_null_50 : topSpec; return new A.LayoutConfig(t1, t2, t3, bottomSpec == null ? B.MarginSpec_null_null_null_50 : bottomSpec); }, MarginSpec_MarginSpec$fromPixel(minPixel) { return new A.MarginSpec(minPixel, null, null, null); }, LayoutConfig: function LayoutConfig(t0, t1, t2, t3) { var _ = this; _.leftSpec = t0; _.rightSpec = t1; _.topSpec = t2; _.bottomSpec = t3; }, MarginSpec: function MarginSpec(t0, t1, t2, t3) { var _ = this; _._minPixel = t0; _._maxPixel = t1; _._minPercent = t2; _._maxPercent = t3; }, LayoutManagerImpl: function LayoutManagerImpl(t0, t1) { var _ = this; _.config = t0; _._views = t1; _.__LayoutManagerImpl__drawAreaBounds_A = _.__LayoutManagerImpl__measurements_A = _.__LayoutManagerImpl__positionOrderedViews_A = _.__LayoutManagerImpl__paintOrderedViews_A = $; _._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; }, SizeList: function SizeList(t0) { this._layout_margin_strategy$_sizes = t0; this._total = 0; }, _DesiredViewSizes: function _DesiredViewSizes(t0, t1) { this.preferredSizes = t0; this.minimumSizes = t1; }, VerticalMarginStrategy: function VerticalMarginStrategy() { }, VerticalMarginStrategy_measure_closure: function VerticalMarginStrategy_measure_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.fullHeight = t1; _.height = t2; _.measuredWidths = t3; }, LeftMarginLayoutStrategy: function LeftMarginLayoutStrategy() { }, LeftMarginLayoutStrategy_layout_closure: function LeftMarginLayoutStrategy_layout_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.measuredSizes = t1; _.fullBounds = t2; _.drawAreaBounds = t3; }, RightMarginLayoutStrategy: function RightMarginLayoutStrategy() { }, RightMarginLayoutStrategy_layout_closure: function RightMarginLayoutStrategy_layout_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.measuredSizes = t1; _.fullBounds = t2; _.drawAreaBounds = t3; }, HorizontalMarginStrategy: function HorizontalMarginStrategy() { }, HorizontalMarginStrategy_measure_closure: function HorizontalMarginStrategy_measure_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.fullWidth = t1; _.width = t2; _.measuredHeights = t3; }, TopMarginLayoutStrategy: function TopMarginLayoutStrategy() { }, TopMarginLayoutStrategy_layout_closure: function TopMarginLayoutStrategy_layout_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.measuredSizes = t1; _.fullBounds = t2; _.drawAreaBounds = t3; }, BottomMarginLayoutStrategy: function BottomMarginLayoutStrategy() { }, BottomMarginLayoutStrategy_layout_closure: function BottomMarginLayoutStrategy_layout_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.measuredSizes = t1; _.fullBounds = t2; _.drawAreaBounds = t3; }, LayoutViewConfig$(paintOrder, position, positionOrder) { return new A.LayoutViewConfig(paintOrder, position, positionOrder, B.C_ViewMargin); }, ViewMeasuredSizes$(preferredHeight, preferredWidth) { return new A.ViewMeasuredSizes(preferredWidth, preferredHeight, 0, 0); }, layoutPosition(behaviorPosition, outsideJustification, isRtl) { var position; switch (behaviorPosition.index) { case 1: position = B.LayoutPosition_0; break; case 3: position = isRtl ? B.LayoutPosition_4 : B.LayoutPosition_6; break; case 4: position = B.LayoutPosition_8; break; case 2: position = isRtl ? B.LayoutPosition_6 : B.LayoutPosition_4; break; case 0: position = B.LayoutPosition_2; break; default: position = null; } if (outsideJustification === B.OutsideJustification_1 || outsideJustification === B.OutsideJustification_3 || outsideJustification === B.OutsideJustification_5) switch (position) { case B.LayoutPosition_0: position = B.LayoutPosition_1; break; case B.LayoutPosition_4: position = B.LayoutPosition_5; break; case B.LayoutPosition_2: position = B.LayoutPosition_3; break; case B.LayoutPosition_6: position = B.LayoutPosition_7; break; default: break; } return position; }, LayoutPosition: function LayoutPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, ViewMargin: function ViewMargin() { }, LayoutViewConfig: function LayoutViewConfig(t0, t1, t2, t3) { var _ = this; _.paintOrder = t0; _.position = t1; _.positionOrder = t2; _.viewMargin = t3; }, ViewMeasuredSizes: function ViewMeasuredSizes(t0, t1, t2, t3) { var _ = this; _.preferredWidth = t0; _.preferredHeight = t1; _.minWidth = t2; _.minHeight = t3; }, LayoutView: function LayoutView() { }, LineRenderer_LineRenderer(config, rendererId, $D) { var t1, t2, _null = null; if (config == null) { t1 = new A.LineSymbolRenderer(4, true); t1 = new A.LineRendererConfig(t1, new A.RendererAttributes(A.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), _null, _null, _null, B.C_ViewMargin, $D._eval$1("LineRendererConfig<0>")); } else t1 = config; t2 = A._setArrayType([], type$.JSArray_String); return new A.LineRenderer(t1, A.PointRenderer$(A.PointRendererConfig$(3.5, $D), _null, $D), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, $D._eval$1("List<_AnimatedElements<0>>")), t2, A.LayoutViewConfig$(20, B.LayoutPosition_8, 0), "line", t1.symbolRenderer, $D._eval$1("LineRenderer<0>")); }, _DatumPoint__DatumPoint$from(other, x, y, $D) { var t1 = x == null ? other.x : x, t2 = y == null ? other.y : y; return new A._DatumPoint(other.datum, other.domain, other.series, other.index, t1, t2, $D._eval$1("_DatumPoint<0>")); }, LineRenderer: function LineRenderer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.config = t0; _.__LineRenderer__pointRenderer_A = t1; _._line_renderer$_chart = null; _.__LineRenderer__hasMeasureBounds_A = $; _._seriesLineMap = t2; _._line_renderer$_currentKeys = t3; _.__BaseCartesianRenderer_chart_A = $; _.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; }, _AnimatedLine: function _AnimatedLine(t0, t1, t2) { var _ = this; _.key = t0; _.overlaySeries = t1; _._previousLine = null; _.___AnimatedLine__targetLine_A = $; _._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; }, _AnimatedArea: function _AnimatedArea(t0, t1, t2) { var _ = this; _.key = t0; _.overlaySeries = t1; _._previousArea = null; _.___AnimatedArea__targetArea_A = $; _._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; }, LineRendererConfig: function LineRendererConfig(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.symbolRenderer = t0; _.rendererAttributes = t1; _.paintOrder = t2; _.position = t3; _.positionOrder = t4; _.viewMargin = t5; _.$ti = t6; }, PointRenderer$(config, rendererId, $D) { var t1 = A.LinkedHashMap_LinkedHashMap(null, null, type$.String, $D._eval$1("List<AnimatedPoint<0>>")), t2 = A._setArrayType([], type$.JSArray_String), t3 = B.List_empty26; return new A.PointRenderer(config, t3, t1, t2, A.LayoutViewConfig$(25, B.LayoutPosition_8, 0), "point", new A.CircleSymbolRenderer(true), $D._eval$1("PointRenderer<0>")); }, DatumPoint_DatumPoint$from(other, x, xLower, xUpper, y, yLower, yUpper, $D) { var t1 = x == null ? other.x : x, t2 = xLower == null ? other.xLower : xLower, t3 = xUpper == null ? other.xUpper : xUpper, t4 = y == null ? other.y : y, t5 = yLower == null ? other.yLower : yLower, t6 = yUpper == null ? other.yUpper : yUpper; return new A.DatumPoint(other.datum, other.domain, other.series, t2, t3, t5, t6, t1, t4, $D._eval$1("DatumPoint<0>")); }, PointRenderer: function PointRenderer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.config = t0; _.pointRendererDecorators = t1; _._point_renderer$_chart = null; _.seriesPointMap = t2; _._point_renderer$_currentKeys = t3; _.__BaseCartesianRenderer_chart_A = $; _.layoutConfig = t4; _.rendererId = t5; _.symbolRenderer = t6; _.graphicsFactory = _._drawAreaBounds = null; _.$ti = t7; }, PointRenderer_paint_closure: function PointRenderer_paint_closure(t0, t1) { this.$this = t0; this.keysToRemove = t1; }, PointRenderer_paint__closure1: function PointRenderer_paint__closure1(t0) { this.$this = t0; }, PointRenderer_paint_closure0: function PointRenderer_paint_closure0(t0, t1, t2) { this.$this = t0; this.animationPercent = t1; this.canvas = t2; }, PointRenderer_paint__closure: function PointRenderer_paint__closure(t0, t1) { this.$this = t0; this.animationPercent = t1; }, PointRenderer_paint__closure0: function PointRenderer_paint__closure0(t0, t1, t2) { this.$this = t0; this.canvas = t1; this.animationPercent = t2; }, PointRenderer_paint___closure: function PointRenderer_paint___closure(t0) { this.$this = t0; }, PointRenderer_paint___closure0: function PointRenderer_paint___closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.point = t1; _.canvas = t2; _.animationPercent = t3; }, PointRenderer_paint___closure1: function PointRenderer_paint___closure1(t0) { this.$this = t0; }, PointRenderer_paint___closure2: function PointRenderer_paint___closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.point = t1; _.canvas = t2; _.animationPercent = t3; }, DatumPoint: function DatumPoint(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.datum = t0; _.domain = t1; _.series = t2; _.xLower = t3; _.xUpper = t4; _.yLower = t5; _.yUpper = t6; _.x = t7; _.y = t8; _.$ti = t9; }, PointRendererConfig$(radiusPx, $D) { return new A.PointRendererConfig(new A.RendererAttributes(A.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), radiusPx, null, null, null, B.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; }, TimeSeriesChart: function TimeSeriesChart(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.dateTimeFactory = t0; _.vertical = t1; _._domainAxis = null; _._newDomainAxis = t2; _._newPrimaryMeasureAxisSpec = _._primaryMeasureAxisSpec = _._newDomainAxisSpec = _._domainAxisSpec = null; _._primaryMeasureAxis = t3; _._newSecondaryMeasureAxisSpec = _._secondaryMeasureAxisSpec = null; _._secondaryMeasureAxis = t4; _._newDisjointMeasureAxesSpec = _._disjointMeasureAxesSpec = null; _._disjointMeasureAxes = t5; _._useSecondaryMeasureAxis = _._usePrimaryMeasureAxis = _.flipVerticalAxisOutput = false; _.__BaseChart_context_A = $; _.graphicsFactory = null; _._layoutManager = t6; _._chartHeight = _._chartWidth = null; _.transition = t7; _.animationPercent = 0; _._animationsTemporarilyDisabled = false; _.__BaseChart__originalSeriesList_A = $; _._currentSeriesList = null; _._usingRenderers = t8; _._rendererToSeriesList = null; _._seriesRenderers = t9; _._behaviorRoleMap = t10; _._behaviorStack = t11; _._behaviorTappableMap = t12; _._gestureProxy = t13; _._selectionModels = t14; _._lifecycleListeners = t15; }, Color$fromOther(color, lighter) { var t1 = lighter == null ? color._lighter : lighter; return new A.Color0(color.r, color.g, color.b, color.a, color._darker, t1); }, Color0: function Color0(t0, t1, t2, t3, t4, t5) { var _ = this; _.r = t0; _.g = t1; _.b = t2; _.a = t3; _._darker = t4; _._lighter = t5; }, LocalDateTimeFactory: function LocalDateTimeFactory() { }, GestureListener$(onDragEnd, onDragStart, onDragUpdate, onHover, onLongPress, onTap, onTapTest) { var t1 = onTapTest == null ? $.$get$GestureListener_defaultTapTest() : onTapTest, t2 = $.$get$GestureListener_defaultTapCancel(); return new A.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() { }, MaterialPalette__orderedPalettes_closure: function MaterialPalette__orderedPalettes_closure() { }, MaterialPalette__orderedPalettes_closure0: function MaterialPalette__orderedPalettes_closure0() { }, MaterialPalette__orderedPalettes_closure1: function MaterialPalette__orderedPalettes_closure1() { }, MaterialPalette__orderedPalettes_closure2: function MaterialPalette__orderedPalettes_closure2() { }, MaterialPalette__orderedPalettes_closure3: function MaterialPalette__orderedPalettes_closure3() { }, MaterialPalette__orderedPalettes_closure4: function MaterialPalette__orderedPalettes_closure4() { }, MaterialPalette__orderedPalettes_closure5: function MaterialPalette__orderedPalettes_closure5() { }, MaterialPalette__orderedPalettes_closure6: function MaterialPalette__orderedPalettes_closure6() { }, MaterialPalette__orderedPalettes_closure7: function MaterialPalette__orderedPalettes_closure7() { }, MaterialPalette__orderedPalettes_closure8: function MaterialPalette__orderedPalettes_closure8() { }, MaterialPalette__orderedPalettes_closure9: function MaterialPalette__orderedPalettes_closure9() { }, MaterialPalette__orderedPalettes_closure10: function MaterialPalette__orderedPalettes_closure10() { }, MaterialBlue: function MaterialBlue() { }, MaterialRed: function MaterialRed() { }, MaterialYellow: function MaterialYellow() { }, MaterialGreen: function MaterialGreen() { }, MaterialPurple: function MaterialPurple() { }, MaterialCyan: function MaterialCyan() { }, MaterialDeepOrange: function MaterialDeepOrange() { }, MaterialLime: function MaterialLime() { }, MaterialIndigo: function MaterialIndigo() { }, MaterialPink: function MaterialPink() { }, MaterialTeal: function MaterialTeal() { }, withinBounds(value, lowerBound, upperBound) { return value + 2e-10 >= lowerBound && value - 2e-10 <= upperBound; }, NullablePointsToPoints_toPoints(_this) { var t2, t3, _i, nullablePoint, t4, t5, t1 = A._setArrayType([], type$.JSArray_Point_double); for (t2 = _this.length, t3 = type$.Point_double, _i = 0; _i < _this.length; _this.length === t2 || (0, A.throwConcurrentModificationError)(_this), ++_i) { nullablePoint = _this[_i]; t4 = nullablePoint.x; if (t4 != null && nullablePoint.y != null) { t4.toString; t5 = nullablePoint.y; t5.toString; t1.push(new A.Point(t4, t5, t3)); } } return t1; }, NullablePoint: function NullablePoint(t0, t1) { this.x = t0; this.y = t1; }, Palette: function Palette() { }, Performance_time_closure: function Performance_time_closure() { }, Performance_timeEnd_closure: function Performance_timeEnd_closure() { }, ProxyGestureListener: function ProxyGestureListener(t0, t1) { this._proxy_gesture_listener$_listeners = t0; this._activeListeners = t1; }, ProxyGestureListener_onLongPress_closure: function ProxyGestureListener_onLongPress_closure(t0) { this.localPosition = t0; }, ProxyGestureListener_onTap_closure: function ProxyGestureListener_onTap_closure(t0) { this.localPosition = t0; }, ProxyGestureListener_onDragStart_closure: function ProxyGestureListener_onDragStart_closure(t0) { this.localPosition = t0; }, ProxyGestureListener_onDragUpdate_closure: function ProxyGestureListener_onDragUpdate_closure(t0, t1) { this.localPosition = t0; this.scale = t1; }, ProxyGestureListener_onDragEnd_closure: function ProxyGestureListener_onDragEnd_closure(t0, t1, t2) { this.localPosition = t0; this.scale = t1; this.pixelsPerSecond = t2; }, ProxyGestureListener__cancel_closure: function ProxyGestureListener__cancel_closure(t0) { this.keep = t0; }, ProxyGestureListener__populateActiveListeners_closure: function ProxyGestureListener__populateActiveListeners_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.localPosition = t2; }, MaterialStyle: function MaterialStyle() { }, StyleFactory: function StyleFactory() { }, BaseSymbolRenderer: function BaseSymbolRenderer() { }, SymbolRenderer: function SymbolRenderer() { }, RoundedRectSymbolRenderer: function RoundedRectSymbolRenderer(t0, t1) { this.radius = t0; this.isSolid = t1; }, LineSymbolRenderer: function LineSymbolRenderer(t0, t1) { this.strokeWidth = t0; this.isSolid = t1; }, CircleSymbolRenderer: function CircleSymbolRenderer(t0) { this.isSolid = t0; }, TextDirection0: function TextDirection0(t0, t1) { this.index = t0; this._core$_name = t1; }, MaxWidthStrategy: function MaxWidthStrategy(t0, t1) { this.index = t0; this._core$_name = t1; }, TextMeasurement: function TextMeasurement(t0, t1) { this.horizontalSliceWidth = t0; this.verticalSliceWidth = t1; }, TypedRegistry: function TypedRegistry() { }, TypedKey: function TypedKey() { }, Series_Series(colorFn, data, displayName, domainFn, id, measureFn, strokeWidthPxFn, $T, $D) { var _null = null, _strokeWidthPxFn = strokeWidthPxFn == null ? _null : new A.Series_Series_closure(strokeWidthPxFn, data); return new A.Series(id, displayName, false, _null, _null, data, _null, new A.Series_Series_closure0(domainFn, data, $D), _null, _null, _null, new A.Series_Series_closure1(measureFn, data), _null, _null, _null, _null, _null, new A.Series_Series_closure2(colorFn, data), _null, _null, _null, _null, _null, _strokeWidthPxFn, _null, _null, _null, new A.SeriesAttributes(A.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object)), $T._eval$1("@<0>")._bind$1($D)._eval$1("Series<1,2>")); }, Series: function Series(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; _.id = t0; _.displayName = t1; _.overlaySeries = t2; _.seriesCategory = t3; _.seriesColor = t4; _.data = t5; _.keyFn = t6; _.domainFn = t7; _.domainFormatterFn = t8; _.domainLowerBoundFn = t9; _.domainUpperBoundFn = t10; _.measureFn = t11; _.measureFormatterFn = t12; _.measureLowerBoundFn = t13; _.measureUpperBoundFn = t14; _.measureOffsetFn = t15; _.areaColorFn = t16; _.colorFn = t17; _.dashPatternFn = t18; _.fillColorFn = t19; _.patternColorFn = t20; _.fillPatternFn = t21; _.radiusPxFn = t22; _.strokeWidthPxFn = t23; _.labelAccessorFn = t24; _.insideLabelStyleAccessorFn = t25; _.outsideLabelStyleAccessorFn = t26; _.attributes = t27; _.$ti = t28; }, Series_Series_closure0: function Series_Series_closure0(t0, t1, t2) { this.domainFn = t0; this.data = t1; this.D = t2; }, Series_Series_closure1: function Series_Series_closure1(t0, t1) { this.measureFn = t0; this.data = t1; }, Series_Series_closure2: function Series_Series_closure2(t0, t1) { this.colorFn = t0; this.data = t1; }, Series_Series_closure: function Series_Series_closure(t0, t1) { this.strokeWidthPxFn = t0; this.data = t1; }, AttributeKey: function AttributeKey(t0, t1) { this.uniqueKey = t0; this.$ti = t1; }, SeriesAttributes: function SeriesAttributes(t0) { this._typed_registry$_registry = t0; }, BarChart: function BarChart(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.domainAxis = t0; _.primaryMeasureAxis = t1; _.secondaryMeasureAxis = t2; _.disjointMeasureAxes = t3; _.flipVerticalAxis = t4; _.seriesList = t5; _.animate = t6; _.animationDuration = t7; _.layoutConfig = t8; _.defaultRenderer = t9; _.defaultInteractions = t10; _.behaviors = t11; _.selectionModels = t12; _.customSeriesRenderers = t13; _.rtlSpec = t14; _.userManagedState = t15; _.key = t16; }, BaseChart: function BaseChart() { }, BaseChart__updateBehaviors_closure: function BaseChart__updateBehaviors_closure(t0, t1) { this.$this = t0; this.behaviorList = t1; }, BaseChart__updateBehaviors_closure0: function BaseChart__updateBehaviors_closure0(t0, t1, t2) { this.$this = t0; this.chartState = t1; this.chart = t2; }, BaseChart__notACustomBehavior_closure: function BaseChart__notACustomBehavior_closure(t0) { this.behavior = t0; }, BaseChart__updateSelectionModel_closure: function BaseChart__updateSelectionModel_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.chart = t1; _.chartState = t2; _.prevTypes = t3; }, BaseChart__updateSelectionModel_closure0: function BaseChart__updateSelectionModel_closure0(t0, t1) { this.chart = t0; this.chartState = t1; }, BaseChart_getDesiredGestures_closure: function BaseChart_getDesiredGestures_closure(t0) { this.types = t0; }, BaseChart_getDesiredGestures_closure0: function BaseChart_getDesiredGestures_closure0(t0) { this.types = t0; }, BaseChartState: function BaseChartState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.__BaseChartState__animationController_A = $; _._animationValue = 0; _._chartGestureDetector = _._oldWidget = null; _._configurationChanged = false; _.autoBehaviorWidgets = t0; _.addedBehaviorWidgets = t1; _.addedCommonBehaviorsByRole = t2; _.addedSelectionChangedListenersByType = t3; _.addedSelectionUpdatedListenersByType = t4; _._behaviorAnimationControllers = t5; _.TickerProviderStateMixin__tickers = t6; _.TickerProviderStateMixin__tickerModeNotifier = t7; _._widget = null; _._debugLifecycleState = t8; _._framework$_element = null; _.$ti = t9; }, BaseChartState_requestRebuild_closure: function BaseChartState_requestRebuild_closure() { }, BaseChartState_build_closure: function BaseChartState_build_closure(t0, t1, t2) { this.idAndBehaviorMap = t0; this.context = t1; this.chartWidgets = t2; }, BaseChartState_dispose_closure: function BaseChartState_dispose_closure() { }, BaseChartState__animationTick_closure: function BaseChartState__animationTick_closure(t0) { this.$this = t0; }, _BaseChartState_State_TickerProviderStateMixin: function _BaseChartState_State_TickerProviderStateMixin() { }, ChartBehavior: function ChartBehavior() { }, GestureType: function GestureType(t0, t1) { this.index = t0; this._core$_name = t1; }, DomainHighlighter: function DomainHighlighter(t0, t1) { this.desiredGestures = t0; this.$ti = t1; }, 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; }, SimpleLegendEntryLayout: function SimpleLegendEntryLayout() { }, SimpleLegendEntryLayout_makeTapUpCallback_closure: function SimpleLegendEntryLayout_makeTapUpCallback_closure(t0, t1) { this.legend = t0; this.legendEntry = t1; }, TabularLegendLayout_TabularLegendLayout$horizontalFirst(cellPadding, desiredMaxColumns) { return new A.TabularLegendLayout(true, -1, -1, cellPadding); }, TabularLegendLayout: function TabularLegendLayout(t0, t1, t2, t3) { var _ = this; _.isHorizontalFirst = t0; _.desiredMaxRows = t1; _.desiredMaxColumns = t2; _.cellPadding = t3; }, TabularLegendLayout_build_closure: function TabularLegendLayout_build_closure(t0) { this.$this = t0; }, TabularLegendLayout__buildTableFromRows_closure: function TabularLegendLayout__buildTableFromRows_closure() { }, TabularLegendLayout__buildTableFromRows_closure0: function TabularLegendLayout__buildTableFromRows_closure0() { }, TabularLegendLayout__buildTableFromRows_closure1: function TabularLegendLayout__buildTableFromRows_closure1(t0) { this.padWidget = t0; }, SeriesLegend: function SeriesLegend(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.desiredGestures = t0; _.selectionModelType = t1; _.contentBuilder = t2; _.position = t3; _.outsideJustification = t4; _.insideJustification = t5; _.showMeasures = t6; _.legendDefaultMeasure = t7; _.measureFormatter = t8; _.secondaryMeasureFormatter = t9; _.entryTextStyle = t10; _.defaultHiddenSeries = t11; _.$ti = t12; }, _FlutterSeriesLegend: function _FlutterSeriesLegend(t0, t1, t2, t3, t4, t5) { var _ = this; _.config = t0; _._hiddenSeriesList = t1; _._defaultHiddenSeries = null; _.selectionModelType = t2; _.legendState = t3; _.legendEntryGenerator = t4; _.__Legend__lifecycleListener_F = _.__Legend__chart_A = $; _._legend$_drawAreaBounds = _._legend$_componentBounds = null; _.__Legend__currentSeriesList_A = $; _._postProcessSeriesList = null; _.$ti = t5; }, _FlutterSeriesLegend_build_closure: function _FlutterSeriesLegend_build_closure(t0) { this.$this = t0; }, LinePointHighlighter: function LinePointHighlighter(t0, t1) { this.desiredGestures = t0; this.$ti = t1; }, SelectNearest__getDesiredGestures(eventTrigger) { var desiredGestures = A.LinkedHashSet_LinkedHashSet(type$.GestureType); switch (eventTrigger.index) { case 1: desiredGestures.add$1(0, B.GestureType_1); break; case 2: desiredGestures.add$1(0, B.GestureType_1); desiredGestures.add$1(0, B.GestureType_3); break; case 3: case 4: desiredGestures.add$1(0, B.GestureType_1); desiredGestures.add$1(0, B.GestureType_0); desiredGestures.add$1(0, B.GestureType_3); break; case 0: default: desiredGestures.add$1(0, B.GestureType_2); break; } return desiredGestures; }, SelectNearest: function SelectNearest(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.desiredGestures = t0; _.selectionModelType = t1; _.eventTrigger = t2; _.selectionMode = t3; _.selectClosestSeries = t4; _.maximumDomainDistancePx = t5; _.$ti = t6; }, LinePainter_draw(canvas, clipBounds, dashPattern, fill, paint, points, roundEndCaps, shader, stroke, strokeWidthPx) { var t1, t2, t3, point; if (points.length === 0) return; t1 = clipBounds != null; if (t1) { canvas.save$0(0); t2 = clipBounds.left; t3 = clipBounds.top; canvas.clipRect$1(new A.Rect(t2, t3, t2 + clipBounds.width, t3 + clipBounds.height)); } paint.set$color(0, A.Color$fromARGB(stroke.a, stroke.r, stroke.g, stroke.b)); if (shader != null) paint.set$shader(shader); if (points.length === 1) { point = B.JSArray_methods.get$first(points); paint.set$style(0, B.PaintingStyle_0); t2 = strokeWidthPx == null ? 0 : strokeWidthPx; canvas.drawCircle$3(new A.Offset(point.x, point.y), t2, paint); } else { if (strokeWidthPx != null) paint.set$strokeWidth(strokeWidthPx); paint.set$strokeJoin(B.StrokeJoin_1); paint.set$style(0, B.PaintingStyle_1); if (dashPattern == null || J.get$isEmpty$asx(dashPattern)) { if (roundEndCaps === true) paint.set$strokeCap(B.StrokeCap_1); A.LinePainter__drawSolidLine(canvas, paint, points); } else A.LinePainter__drawDashedLine(canvas, paint, points, dashPattern); } if (t1) canvas.restore$0(0); }, LinePainter__drawSolidLine(canvas, paint, points) { var t1, _i, point, path = $.$get$_renderer().createPath$0(); path.moveTo$2(0, B.JSArray_methods.get$first(points).x, B.JSArray_methods.get$first(points).y); for (t1 = points.length, _i = 0; _i < points.length; points.length === t1 || (0, A.throwConcurrentModificationError)(points), ++_i) { point = points[_i]; path.lineTo$2(0, point.x, point.y); } canvas.drawPath$2(path, paint); }, LinePainter__drawDashedLine(canvas, paint, points, dashPattern) { var t1, previousSeriesPoint, getNextDashPatternSegment, t2, remainder, solid, remainderPoints, pointIndex, t3, t4, seriesPoint, d, previousPoint, dashSegment, t5, t6, t7, t8, t9, t10, t11, distance, nextPoint, path, _i, p, _box_0 = {}, localDashPattern = A.List_List$from(dashPattern, true, type$.dynamic); if (B.JSInt_methods.$mod(J.get$length$asx(dashPattern), 2) === 1) B.JSArray_methods.addAll$1(localDashPattern, dashPattern); t1 = B.JSArray_methods.get$first(points); previousSeriesPoint = new A.Offset(t1.x, t1.y); _box_0.dashPatternIndex = 0; getNextDashPatternSegment = new A.LinePainter__drawDashedLine_closure(_box_0, localDashPattern); for (t1 = type$.JSArray_Offset, t2 = type$.Point_double, remainder = 0, solid = true, remainderPoints = null, pointIndex = 1; pointIndex < points.length; ++pointIndex, previousSeriesPoint = seriesPoint) { t3 = points[pointIndex]; t4 = t3.x; t3 = t3.y; seriesPoint = new A.Offset(t4, t3); if (!(t4 === previousSeriesPoint._dx && t3 === previousSeriesPoint._dy)) { d = new A.Point(previousSeriesPoint._dx, previousSeriesPoint._dy, t2).distanceTo$1(new A.Point(t4, t3, t2)); for (previousPoint = previousSeriesPoint; d > 0; previousPoint = nextPoint, remainder = 0) { dashSegment = remainder > 0 ? remainder : getNextDashPatternSegment.call$0(); t5 = previousPoint._dx; t6 = t4 - t5; t7 = previousPoint._dy; t8 = t3 - t7; t9 = t6 * t6 + t8 * t8; t10 = Math.sqrt(t9); t9 = Math.sqrt(t9); t11 = d < dashSegment; distance = t11 ? d : B.JSNumber_methods.toDouble$0(dashSegment); t6 = t5 + t6 / t10 * distance; t9 = t7 + t8 / t9 * distance; nextPoint = new A.Offset(t6, t9); if (solid) if (remainderPoints != null) { remainderPoints.push(new A.Offset(t6, t9)); path = $.$get$_renderer().createPath$0(); path.moveTo$2(0, B.JSArray_methods.get$first(remainderPoints)._dx, B.JSArray_methods.get$first(remainderPoints)._dy); for (t5 = remainderPoints.length, _i = 0; _i < remainderPoints.length; remainderPoints.length === t5 || (0, A.throwConcurrentModificationError)(remainderPoints), ++_i) { p = remainderPoints[_i]; path.lineTo$2(0, p.get$dx(0), p.get$dy(0)); } canvas.drawPath$2(path, paint); remainderPoints = null; } else if (t11 && pointIndex < points.length - 1) remainderPoints = A._setArrayType([new A.Offset(t5, t7), new A.Offset(t6, t9)], t1); else canvas.drawLine$3(previousPoint, nextPoint, paint); solid = !solid; d -= dashSegment; } remainder = -B.JSNumber_methods.round$0(d); if (remainder > 0) solid = !solid; } } }, LinePainter__drawDashedLine_closure: function LinePainter__drawDashedLine_closure(t0, t1) { this._box_0 = t0; this.localDashPattern = t1; }, CartesianChart0: function CartesianChart0() { }, ChartCanvas: function ChartCanvas(t0, t1) { this.canvas = t0; this._paint = t1; }, ChartContainerCustomPaint_ChartContainerCustomPaint(a11yNodes, chart, exploreMode, oldPainter, textDirection) { if (oldPainter != null && oldPainter.a11yNodes === a11yNodes && oldPainter.textDirection === textDirection) return oldPainter; else return new A.ChartContainerCustomPaint(chart, false, a11yNodes, textDirection, null); }, ChartContainer: function ChartContainer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.chartWidget = t0; _.oldChartWidget = t1; _.chartState = t2; _.animationValue = t3; _.rtl = t4; _.rtlSpec = t5; _.userManagedState = t6; _.painter = t7; _.foregroundPainter = t8; _.size = t9; _.child = t10; _.key = t11; _.$ti = t12; }, ChartContainerRenderObject: function ChartContainerRenderObject(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._seriesList = _._chart_container$_chart = null; _.__ChartContainerRenderObject__chartState_A = $; _._chartContainerIsRtl = false; _._a11yNodes = _._dateTimeFactory = _._rtlSpec = null; _._custom_paint$_painter = t0; _._foregroundPainter = t1; _._preferredSize = t2; _.isComplex = t3; _.willChange = t4; _._foregroundSemanticsNodes = _._backgroundSemanticsNodes = _._foregroundSemanticsBuilder = _._backgroundSemanticsBuilder = null; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _.$ti = t7; }, ChartContainerRenderObject_requestAnimation_startAnimationController: function ChartContainerRenderObject_requestAnimation_startAnimationController(t0, t1) { this.$this = t0; this.transition = t1; }, ChartContainerRenderObject_requestRebuild_doRebuild: function ChartContainerRenderObject_requestRebuild_doRebuild(t0) { this.$this = t0; }, ChartContainerCustomPaint: function ChartContainerCustomPaint(t0, t1, t2, t3, t4) { var _ = this; _.chart = t0; _.exploreMode = t1; _.a11yNodes = t2; _.textDirection = t3; _._repaint = t4; }, ChartGestureDetector: function ChartGestureDetector() { var _ = this; _._isDragging = _._listeningForLongPress = false; _._lastScale = _._lastTapPoint = _._longPressTimer = null; _.__ChartGestureDetector__containerResolver_A = $; }, ChartGestureDetector_makeWidget_closure: function ChartGestureDetector_makeWidget_closure(t0) { this.context = t0; }, ChartGestureDetector_onTapDown_closure: function ChartGestureDetector_onTapDown_closure(t0) { this.$this = t0; }, GraphicsFactory: function GraphicsFactory(t0, t1) { this.textScaleFactor = t0; this.defaultTextStyle = t1; }, LineStyle: function LineStyle() { this.dashPattern = this.color = null; this.strokeWidth = 0; }, SelectionModelConfig: function SelectionModelConfig(t0, t1, t2) { this.type = t0; this.changedListener = t1; this.$ti = t2; }, SymbolRendererCanvas: function SymbolRendererCanvas(t0, t1) { this.commonSymbolRenderer = t0; this.dashPattern = t1; }, _SymbolCustomPaint: function _SymbolCustomPaint(t0, t1, t2, t3, t4) { var _ = this; _.context = t0; _.symbolRenderer = t1; _.color = t2; _.dashPattern = t3; _._repaint = t4; }, 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_A = _.__TextElement__textPainter_A = $; _._text_element$_opacity = null; }, TextStyle0: function TextStyle0() { var _ = this; _.fontWeight = _.lineHeight = _.color = _.fontFamily = _.fontSize = null; }, TimeSeriesChart$(seriesList, animate, behaviors, domainAxis, primaryMeasureAxis, selectionModels) { var _null = null; return new A.TimeSeriesChart0(domainAxis, primaryMeasureAxis, _null, _null, _null, seriesList, true, B.Duration_300000, _null, _null, true, behaviors, selectionModels, _null, _null, _null, _null); }, TimeSeriesChart0: function TimeSeriesChart0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.domainAxis = t0; _.primaryMeasureAxis = t1; _.secondaryMeasureAxis = t2; _.disjointMeasureAxes = t3; _.flipVerticalAxis = t4; _.seriesList = t5; _.animate = t6; _.animationDuration = t7; _.layoutConfig = t8; _.defaultRenderer = t9; _.defaultInteractions = t10; _.behaviors = t11; _.selectionModels = t12; _.customSeriesRenderers = t13; _.rtlSpec = t14; _.userManagedState = t15; _.key = t16; }, getChartContainerRenderObject(box) { return type$.ChartContainerRenderObject_dynamic._as(type$.RenderPointerListener._as(type$.RenderSemanticsGestureHandler._as(B.JSArray_methods.firstWhere$1(type$.RenderCustomMultiChildLayoutBox._as(box).getChildrenAsList$0(), new A.getChartContainerRenderObject_closure())).RenderObjectWithChildMixin__child).RenderObjectWithChildMixin__child); }, getChartContainerRenderObject_closure: function getChartContainerRenderObject_closure() { }, WidgetLayoutDelegate: function WidgetLayoutDelegate(t0, t1, t2) { var _ = this; _.chartID = t0; _.isRTL = t1; _.idAndBehavior = t2; _._debugChildrenNeedingLayout = _._idToChild = null; }, _HorizontalJustification: function _HorizontalJustification(t0, t1) { this.index = t0; this._core$_name = t1; }, CanonicalizedMap: function CanonicalizedMap() { }, CanonicalizedMap_addAll_closure: function CanonicalizedMap_addAll_closure(t0) { this.$this = t0; }, CanonicalizedMap_entries_closure: function CanonicalizedMap_entries_closure(t0) { this.$this = t0; }, CanonicalizedMap_forEach_closure: function CanonicalizedMap_forEach_closure(t0, t1) { this.$this = t0; this.f = t1; }, CanonicalizedMap_keys_closure: function CanonicalizedMap_keys_closure(t0) { this.$this = t0; }, CanonicalizedMap_map_closure: function CanonicalizedMap_map_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.transform = t1; _.K2 = t2; _.V2 = t3; }, CanonicalizedMap_putIfAbsent_closure: function CanonicalizedMap_putIfAbsent_closure(t0, t1, t2) { this.$this = t0; this.key = t1; this.ifAbsent = t2; }, CanonicalizedMap_values_closure: function CanonicalizedMap_values_closure(t0) { this.$this = t0; }, DefaultEquality: function DefaultEquality(t0) { this.$ti = t0; }, IterableEquality: function IterableEquality(t0, t1) { this._elementEquality = t0; this.$ti = t1; }, ListEquality: function ListEquality(t0, t1) { this._elementEquality = t0; this.$ti = t1; }, _UnorderedEquality: function _UnorderedEquality() { }, UnorderedIterableEquality: function UnorderedIterableEquality(t0, t1) { this._elementEquality = t0; this.$ti = t1; }, SetEquality: function SetEquality(t0, t1) { this._elementEquality = t0; this.$ti = t1; }, _MapEntry: function _MapEntry(t0, t1, t2) { this.equality = t0; this.key = t1; this.value = t2; }, MapEquality: function MapEquality(t0, t1, t2) { this._keyEquality = t0; this._valueEquality = t1; this.$ti = t2; }, DeepCollectionEquality: function DeepCollectionEquality(t0) { this._unordered = t0; }, HeapPriorityQueue$(comparison, $E) { var t1 = A.List_List$filled(7, null, false, $E._eval$1("0?")); return new A.HeapPriorityQueue(comparison, t1, $E._eval$1("HeapPriorityQueue<0>")); }, HeapPriorityQueue: function HeapPriorityQueue(t0, t1, t2) { var _ = this; _.comparison = t0; _._priority_queue$_queue = t1; _._priority_queue$_modificationCount = _._priority_queue$_length = 0; _.$ti = t2; }, XFileBase: function XFileBase() { }, XFile$(path, lastModified, $length, mimeType, $name) { var t1; if (lastModified == null) A.DateTime$fromMillisecondsSinceEpoch(0, false); t1 = $name == null ? "" : $name; return new A.XFile(mimeType, t1, path, $length); }, XFile: function XFile(t0, t1, t2, t3) { var _ = this; _._mimeType = t0; _._html0$_name = t1; _.__XFile__path_A = t2; _._html0$_length = t3; _._browserBlob = null; }, XFile__blob_closure: function XFile__blob_closure(t0, t1) { this.request = t0; this.blobCompleter = t1; }, XFile__blob_closure0: function XFile__blob_closure0(t0) { this.blobCompleter = t0; }, _escapeString(text, single) { var t1, t2, result, i, replace, t3, _null = null; for (t1 = text.length, t2 = !single, result = _null, i = 0; i < t1; ++i) { switch (text.charCodeAt(i)) { case 34: replace = t2 ? '\\"' : _null; break; case 39: replace = single ? "\\'" : _null; break; default: replace = _null; } t3 = replace == null; if (!t3 && result == null) result = new A.StringBuffer(B.JSString_methods.substring$2(text, 0, i)); if (result != null) result._contents += t3 ? text[i] : replace; } if (result == null) t1 = text; else { t1 = result._contents; t1 = t1.charCodeAt(0) == 0 ? t1 : t1; } return t1; }, TokenKind_matchList(identList, tokenField, text, offset, $length) { var t1, _i, entry, ident, t2, idx, match, i, identChar, idx0, char, t3; for (t1 = identList.length, _i = 0; _i < t1; ++_i) { entry = identList[_i]; ident = A._asString(entry.$index(0, "value")); t2 = ident.length; if ($length === t2) { for (idx = offset, match = true, i = 0; i < t2; ++i, idx = idx0) { identChar = ident.charCodeAt(i); idx0 = idx + 1; char = text.charCodeAt(idx); if (match) if (char !== identChar) { t3 = char >= 65 && char <= 90 && char + 32 === identChar; match = t3; } else match = true; else match = false; if (!match) break; } if (match) return A._asInt(entry.$index(0, tokenField)); } } return -1; }, TokenKind_unitToString(unitTokenToFind) { var _i, entry; if (unitTokenToFind === 24) return "%"; else for (_i = 0; _i < 28; ++_i) { entry = B.List_Z3K[_i]; if (A._asInt(entry.$index(0, "unit")) === unitTokenToFind) return A._asStringQ(entry.$index(0, "value")); } return "<BAD UNIT>"; }, TokenKind_kindToString(kind) { switch (kind) { case 0: return "ERROR"; case 1: return "end of file"; case 2: return "("; case 3: return ")"; case 4: return "["; case 5: return "]"; case 6: return "{"; case 7: return "}"; case 8: return "."; case 9: return ";"; case 10: return "@"; case 11: return "#"; case 12: return "+"; case 13: return ">"; case 14: return "~"; case 15: return "*"; case 16: return "|"; case 17: return ":"; case 18: return "_"; case 19: return ","; case 20: return " "; case 21: return "\t"; case 22: return "\n"; case 23: return "\r"; case 24: return "%"; case 25: return "'"; case 26: return '"'; case 27: return "/"; case 28: return "="; case 30: return "^"; case 31: return "$"; case 32: return "<"; case 33: return "!"; case 34: return "-"; case 35: return "\\"; default: throw A.wrapException(A.StateError$("Unknown TOKEN")); } }, TokenKind_isKindIdentifier(kind) { switch (kind) { case 641: case 642: case 643: case 644: case 645: case 646: case 647: case 648: case 649: case 650: case 651: case 652: case 653: case 654: case 655: case 656: case 600: case 601: case 602: case 603: case 604: case 605: case 606: case 607: case 608: case 609: case 610: case 612: case 613: case 614: case 615: case 617: case 627: case 628: return true; default: return false; } }, TokenizerHelpers_isIdentifierStartExpr(c) { var t1; if (!(c >= 97 && c <= 122)) t1 = c >= 65 && c <= 90 || c === 95 || c >= 160 || c === 92; else t1 = true; return t1; }, _Parser: function _Parser(t0) { this.tokenizer = t0; this._previousToken = null; this.___Parser__peekToken_A = $; }, Token: function Token(t0, t1) { this.kind = t0; this.span = t1; }, IdentifierToken: function IdentifierToken(t0, t1, t2) { this.text = t0; this.kind = t1; this.span = t2; }, Tokenizer: function Tokenizer(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.UNICODE_U = t0; _.UNICODE_LOWER_U = t1; _.UNICODE_PLUS = t2; _.QUESTION_MARK = t3; _.CDATA_NAME = t4; _._file = t5; _._parser0$_text = t6; _._inString = t7; _.inSelector = _.inSelectorExpression = false; _._parser0$_index = t8; _._parser0$_startIndex = 0; }, TokenizerBase: function TokenizerBase() { }, MessageLevel: function MessageLevel(t0, t1) { this.index = t0; this._core$_name = t1; }, Message: function Message(t0, t1, t2, t3) { var _ = this; _.level = t0; _.message = t1; _.span = t2; _.useColors = t3; }, Messages: function Messages(t0, t1, t2) { this.printHandler = t0; this.options = t1; this.messages = t2; }, PreprocessorOptions$(inputFile, useColors) { return new A.PreprocessorOptions(useColors); }, PreprocessorOptions: function PreprocessorOptions(t0) { this.useColors = t0; }, Identifier: function Identifier(t0, t1) { this.name = t0; this.span = t1; }, Wildcard: function Wildcard(t0) { this.span = t0; }, ThisOperator: function ThisOperator(t0) { this.span = t0; }, Negation: function Negation(t0) { this.span = t0; }, SelectorGroup: function SelectorGroup(t0, t1) { this.selectors = t0; this.span = t1; }, Selector: function Selector(t0, t1) { this.simpleSelectorSequences = t0; this.span = t1; }, SimpleSelectorSequence: function SimpleSelectorSequence(t0, t1, t2) { this.combinator = t0; this.simpleSelector = t1; this.span = t2; }, SimpleSelector: function SimpleSelector() { }, ElementSelector: function ElementSelector(t0, t1) { this._visitor$_name = t0; this.span = t1; }, NamespaceSelector: function NamespaceSelector(t0, t1, t2) { this._namespace = t0; this._visitor$_name = t1; this.span = t2; }, AttributeSelector: function AttributeSelector(t0, t1, t2, t3) { var _ = this; _._op = t0; _.value = t1; _._visitor$_name = t2; _.span = t3; }, IdSelector: function IdSelector(t0, t1) { this._visitor$_name = t0; this.span = t1; }, ClassSelector: function ClassSelector(t0, t1) { this._visitor$_name = t0; this.span = t1; }, PseudoClassSelector: function PseudoClassSelector(t0, t1) { this._visitor$_name = t0; this.span = t1; }, PseudoElementSelector: function PseudoElementSelector(t0, t1, t2) { this.isLegacy = t0; this._visitor$_name = t1; this.span = t2; }, PseudoClassFunctionSelector: function PseudoClassFunctionSelector(t0, t1, t2) { this.argument = t0; this._visitor$_name = t1; this.span = t2; }, PseudoElementFunctionSelector: function PseudoElementFunctionSelector(t0, t1, t2) { this.isLegacy = t0; this._visitor$_name = t1; this.span = t2; }, SelectorExpression: function SelectorExpression(t0, t1) { this.expressions = t0; this.span = t1; }, NegationSelector: function NegationSelector(t0, t1, t2) { this.negationArg = t0; this._visitor$_name = t1; this.span = t2; }, OperatorPlus: function OperatorPlus(t0) { this.span = t0; }, OperatorMinus: function OperatorMinus(t0) { this.span = t0; }, LiteralTerm: function LiteralTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, NumberTerm: function NumberTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, UnitTerm: function UnitTerm() { }, LengthTerm: function LengthTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, PercentageTerm: function PercentageTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, EmTerm: function EmTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, ExTerm: function ExTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, AngleTerm: function AngleTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, TimeTerm: function TimeTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, FreqTerm: function FreqTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, FractionTerm: function FractionTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, ResolutionTerm: function ResolutionTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, ChTerm: function ChTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, RemTerm: function RemTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, LineHeightTerm: function LineHeightTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, ViewportTerm: function ViewportTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, TreeNode: function TreeNode() { }, Expression: function Expression() { }, Visitor: function Visitor() { }, DesktopDropWeb: function DesktopDropWeb(t0) { this.channel = t0; }, DesktopDropWeb__registerEvents_closure: function DesktopDropWeb__registerEvents_closure(t0) { this.$this = t0; }, DesktopDropWeb__registerEvents__closure: function DesktopDropWeb__registerEvents__closure() { }, DesktopDropWeb__registerEvents_closure0: function DesktopDropWeb__registerEvents_closure0(t0) { this.$this = t0; }, DesktopDropWeb__registerEvents_closure1: function DesktopDropWeb__registerEvents_closure1(t0) { this.$this = t0; }, DesktopDropWeb__registerEvents_closure2: function DesktopDropWeb__registerEvents_closure2(t0) { this.$this = t0; }, DesktopDrop: function DesktopDrop(t0) { this._channel$_listeners = t0; this._inited = false; this._channel$_offset = null; }, DesktopDrop_init_closure: function DesktopDrop_init_closure(t0) { this.$this = t0; }, DesktopDrop__handleMethodChannel_closure: function DesktopDrop__handleMethodChannel_closure() { }, DesktopDrop__handleMethodChannel_closure0: function DesktopDrop__handleMethodChannel_closure0() { }, DesktopDrop__handleMethodChannel_closure1: function DesktopDrop__handleMethodChannel_closure1() { }, DesktopDrop__handleMethodChannel_closure2: function DesktopDrop__handleMethodChannel_closure2() { }, DesktopDrop__handleMethodChannel_closure3: function DesktopDrop__handleMethodChannel_closure3() { }, DesktopDrop__handleMethodChannel_closure4: function DesktopDrop__handleMethodChannel_closure4() { }, WebDropItem: function WebDropItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.uri = t0; _.name = t1; _.type = t2; _.size = t3; _.relativePath = t4; _.lastModified = t5; }, DropDoneDetails: function DropDoneDetails(t0) { this.files = t0; }, DropEventDetails: function DropEventDetails() { }, DropTarget: function DropTarget(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.onDragEntered = t1; _.onDragExited = t2; _.onDragDone = t3; _.key = t4; }, _DragTargetStatus: function _DragTargetStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, _DropTargetState: function _DropTargetState(t0, t1) { var _ = this; _._drop_target$_status = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, DropEvent: function DropEvent() { }, DropEnterEvent: function DropEnterEvent(t0) { this.location = t0; }, DropExitEvent: function DropExitEvent(t0) { this.location = t0; }, DropUpdateEvent: function DropUpdateEvent(t0) { this.location = t0; }, DropDoneEvent: function DropDoneEvent(t0, t1) { this.files = t0; this.location = t1; }, DeviceInfoPlusWebPlugin: function DeviceInfoPlusWebPlugin() { }, DeviceInfoPlatform: function DeviceInfoPlatform() { }, FilePickerWeb__fileType(type, allowedExtensions) { switch (type.index) { case 0: return ""; case 4: return "audio/*"; case 2: return "image/*"; case 3: return "video/*"; case 1: return "video/*|image/*"; case 5: return B.JSArray_methods.fold$1$2(allowedExtensions, "", new A.FilePickerWeb__fileType_closure(), type$.String); } }, FilePickerWeb: function FilePickerWeb() { this.__FilePickerWeb__target_A = $; }, FilePickerWeb_pickFiles_changeEventListener: function FilePickerWeb_pickFiles_changeEventListener(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.uploadInput = t2; _.onFileLoading = t3; _.filesCompleter = t4; _.withReadStream = t5; _.withData = t6; }, FilePickerWeb_pickFiles_changeEventListener_addPickedFile: function FilePickerWeb_pickFiles_changeEventListener_addPickedFile(t0, t1, t2, t3) { var _ = this; _.pickedFiles = t0; _.files = t1; _.onFileLoading = t2; _.filesCompleter = t3; }, FilePickerWeb_pickFiles_changeEventListener_closure: function FilePickerWeb_pickFiles_changeEventListener_closure(t0, t1, t2) { this.addPickedFile = t0; this.file = t1; this.reader = t2; }, FilePickerWeb_pickFiles_changeEventListener_closure0: function FilePickerWeb_pickFiles_changeEventListener_closure0(t0, t1, t2) { this.addPickedFile = t0; this.file = t1; this.reader = t2; }, FilePickerWeb_pickFiles_cancelledEventListener: function FilePickerWeb_pickFiles_cancelledEventListener(t0, t1) { this._box_0 = t0; this.filesCompleter = t1; }, FilePickerWeb_pickFiles_cancelledEventListener_closure: function FilePickerWeb_pickFiles_cancelledEventListener_closure(t0, t1) { this._box_0 = t0; this.filesCompleter = t1; }, FilePickerWeb__fileType_closure: function FilePickerWeb__fileType_closure() { }, FilePicker_FilePicker$_setPlatform() { var t1, t2; if ($.$get$Platform_isAndroid() || $.$get$Platform_isIOS()) { t1 = $.$get$FilePicker__token(); t2 = new A.FilePickerIO(); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t2, t1); return t2; } else if ($.$get$Platform_isLinux()) { t1 = $.$get$FilePicker__token(); t2 = new A.FilePickerLinux(); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t2, t1); return t2; } else if ($.$get$Platform_isWindows()) return A.filePickerWithFFI(); else if ($.$get$Platform_isMacOS()) { t1 = $.$get$FilePicker__token(); t2 = new A.FilePickerMacOS(); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t2, t1); return t2; } else throw A.wrapException(A.UnimplementedError$('The current platform "' + A.S($.$get$Platform_operatingSystem()) + '" is not supported by this plugin.')); }, FileType: function FileType(t0, t1) { this.index = t0; this._core$_name = t1; }, FilePicker: function FilePicker() { }, FilePickerIO: function FilePickerIO() { }, FilePickerMacOS: function FilePickerMacOS() { }, FilePickerMacOS_resultStringToFilePaths_closure: function FilePickerMacOS_resultStringToFilePaths_closure() { }, FilePickerMacOS_resultStringToFilePaths_closure0: function FilePickerMacOS_resultStringToFilePaths_closure0() { }, FilePickerMacOS_resultStringToFilePaths_closure1: function FilePickerMacOS_resultStringToFilePaths_closure1() { }, FilePickerMacOS_resultStringToFilePaths__closure: function FilePickerMacOS_resultStringToFilePaths__closure() { }, FilePickerResult: function FilePickerResult(t0) { this.files = t0; }, FilePickerLinux: function FilePickerLinux() { }, KDialogHandler: function KDialogHandler() { }, KDialogHandler_fileTypeToFileFilter_closure: function KDialogHandler_fileTypeToFileFilter_closure() { }, KDialogHandler_resultStringToFilePaths_closure: function KDialogHandler_resultStringToFilePaths_closure() { }, QarmaAndZenityHandler: function QarmaAndZenityHandler() { }, QarmaAndZenityHandler_resultStringToFilePaths_closure: function QarmaAndZenityHandler_resultStringToFilePaths_closure() { }, PlatformFile: function PlatformFile(t0, t1, t2, t3, t4, t5) { var _ = this; _._platform_file$_path = t0; _.name = t1; _.bytes = t2; _.readStream = t3; _.size = t4; _.identifier = t5; }, filePathsToPlatformFiles(filePaths, withReadStream, withData) { var t1 = A._arrayInstanceType(filePaths), t2 = t1._eval$1("MappedIterable<1,Future<PlatformFile>>"); return A.Future_wait(A.List_List$of(new A.MappedIterable(new A.WhereIterable(filePaths, new A.filePathsToPlatformFiles_closure(), t1._eval$1("WhereIterable<1>")), new A.filePathsToPlatformFiles_closure0(false, true), t2), true, t2._eval$1("Iterable.E")), type$.PlatformFile); }, createPlatformFile(file, bytes, readStream) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PlatformFile), $async$returnValue, t1, t2; var $async$createPlatformFile = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = file._path; t2 = A.ParsedPath_ParsedPath$parse(t1, $.$get$context().style).get$basename(); $async$returnValue = new A.PlatformFile(t1, t2, bytes, readStream, file.existsSync$0() ? file.lengthSync$0() : 0, null); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$createPlatformFile, $async$completer); }, runExecutableWithArguments(executable, $arguments) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_String); var $async$runExecutableWithArguments = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(A.Process_run(executable, $arguments), $async$runExecutableWithArguments); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$runExecutableWithArguments, $async$completer); }, isExecutableOnPath(executable) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, path; var $async$isExecutableOnPath = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.runExecutableWithArguments("which", A._setArrayType([executable], type$.JSArray_String)), $async$isExecutableOnPath); case 3: // returning from await. path = $async$result; if (path == null) throw A.wrapException(A.Exception_Exception("Couldn't find the executable " + executable + " in the path.")); $async$returnValue = path; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$isExecutableOnPath, $async$completer); }, filePathsToPlatformFiles_closure: function filePathsToPlatformFiles_closure() { }, filePathsToPlatformFiles_closure0: function filePathsToPlatformFiles_closure0(t0, t1) { this.withReadStream = t0; this.withData = t1; }, Int32: function Int32(t0) { this._i = t0; }, Int64__parseRadix(s, radix, throwOnError) { var i, negative, t1, d0, d1, d2, digit, d00, d10; if (B.JSString_methods.startsWith$1(s, "-")) { i = 1; negative = true; } else { i = 0; negative = false; } t1 = s.length; if (i >= t1) throw A.wrapException(A.FormatException$("No digits", s, i)); for (d0 = 0, d1 = 0, d2 = 0; i < t1; ++i, d1 = d10, d0 = d00) { digit = A.decodeDigit(s.charCodeAt(i)); if (digit < radix) { d0 = d0 * radix + digit; d00 = d0 & 4194303; d1 = d1 * radix + B.JSInt_methods._shrOtherPositive$1(d0, 22); d10 = d1 & 4194303; d2 = d2 * radix + (d1 >>> 22) & 1048575; } else throw A.wrapException(A.FormatException$("Not radix digit", s, i)); } if (negative) return A.Int64__sub(0, 0, 0, d0, d1, d2); return new A.Int64(d0 & 4194303, d1 & 4194303, d2 & 1048575); }, Int64_Int64(value) { var negative, v2, v1, t1, t2, t3; if (value < 0) { value = -value; negative = true; } else negative = false; v2 = B.JSInt_methods._tdivFast$1(value, 17592186044416); value -= v2 * 17592186044416; v1 = B.JSInt_methods._tdivFast$1(value, 4194304); t1 = value - v1 * 4194304 & 4194303; t2 = v1 & 4194303; t3 = v2 & 1048575; return negative ? A.Int64__sub(0, 0, 0, t1, t2, t3) : new A.Int64(t1, t2, t3); }, Int64__promote(value) { if (value instanceof A.Int64) return value; else if (A._isInt(value)) return A.Int64_Int64(value); else if (value instanceof A.Int32) return A.Int64_Int64(value._i); throw A.wrapException(A.ArgumentError$value(value, "other", "not an int, Int32 or Int64")); }, Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign) { var d4, d3, fatRadix, chunk1, chunk2, chunk3, q, q0, q1, q2, q3, chunk10, residue; if (d0 === 0 && d1 === 0 && d2 === 0) return "0"; d4 = (d2 << 4 | d1 >>> 18) >>> 0; d3 = d1 >>> 8 & 1023; d2 = (d1 << 2 | d0 >>> 20) & 1023; d1 = d0 >>> 10 & 1023; d0 &= 1023; fatRadix = B.List_Icz[radix]; chunk1 = ""; chunk2 = ""; chunk3 = ""; while (true) { if (!!(d4 === 0 && d3 === 0)) break; q = B.JSInt_methods.$tdiv(d4, fatRadix); d3 += d4 - q * fatRadix << 10 >>> 0; q0 = B.JSInt_methods.$tdiv(d3, fatRadix); d2 += d3 - q0 * fatRadix << 10 >>> 0; q1 = B.JSInt_methods.$tdiv(d2, fatRadix); d1 += d2 - q1 * fatRadix << 10 >>> 0; q2 = B.JSInt_methods.$tdiv(d1, fatRadix); d0 += d1 - q2 * fatRadix << 10 >>> 0; q3 = B.JSInt_methods.$tdiv(d0, fatRadix); chunk10 = B.JSString_methods.substring$1(B.JSInt_methods.toRadixString$1(fatRadix + (d0 - q3 * fatRadix), radix), 1); chunk3 = chunk2; chunk2 = chunk1; chunk1 = chunk10; d3 = q0; d4 = q; d2 = q1; d1 = q2; d0 = q3; } residue = (d2 << 20 >>> 0) + (d1 << 10 >>> 0) + d0; return sign + (residue === 0 ? "" : B.JSInt_methods.toRadixString$1(residue, radix)) + chunk1 + chunk2 + chunk3; }, Int64__sub(a0, a1, a2, b0, b1, b2) { var diff0 = a0 - b0, diff1 = a1 - b1 - (B.JSInt_methods._shrOtherPositive$1(diff0, 22) & 1); return new A.Int64(diff0 & 4194303, diff1 & 4194303, a2 - b2 - (B.JSInt_methods._shrOtherPositive$1(diff1, 22) & 1) & 1048575); }, Int64: function Int64(t0, t1, t2) { this._l = t0; this._m = t1; this._h = t2; }, AnimationStatus: function AnimationStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, Animation0: function Animation0() { }, AnimationController$(debugLabel, duration, reverseDuration, upperBound, value, vsync) { var t1 = new A.AnimationController(0, upperBound, debugLabel, B.AnimationBehavior_0, duration, reverseDuration, B._AnimationDirection_0, B.AnimationStatus_0, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function)); t1._ticker = vsync.createTicker$1(t1.get$_animation_controller$_tick()); t1._internalSetValue$1(value == null ? 0 : value); return t1; }, AnimationController$unbounded(debugLabel, value, vsync) { var t1 = new A.AnimationController(-1 / 0, 1 / 0, debugLabel, B.AnimationBehavior_1, null, null, B._AnimationDirection_0, B.AnimationStatus_0, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function)); t1._ticker = vsync.createTicker$1(t1.get$_animation_controller$_tick()); t1._internalSetValue$1(value); return t1; }, _AnimationDirection: function _AnimationDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, AnimationBehavior: function AnimationBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, AnimationController: function AnimationController(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.lowerBound = t0; _.upperBound = t1; _.debugLabel = t2; _.animationBehavior = t3; _.duration = t4; _.reverseDuration = t5; _._simulation = _._ticker = null; _.__AnimationController__value_A = $; _._lastElapsedDuration = null; _._direction = t6; _.__AnimationController__status_A = $; _._lastReportedStatus = t7; _.AnimationLocalStatusListenersMixin__statusListeners = t8; _.AnimationLocalListenersMixin__listeners = t9; }, _InterpolationSimulation: function _InterpolationSimulation(t0, t1, t2, t3, t4) { var _ = this; _._durationInSeconds = t0; _._begin = t1; _._animation_controller$_end = t2; _._curve = t3; _.tolerance = t4; }, _RepeatingSimulation: function _RepeatingSimulation(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.min = t0; _.max = t1; _.reverse = t2; _.directionSetter = t3; _._periodInSeconds = t4; _._initialT = t5; _.tolerance = t6; }, _AnimationController_Animation_AnimationEagerListenerMixin: function _AnimationController_Animation_AnimationEagerListenerMixin() { }, _AnimationController_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin: function _AnimationController_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin() { }, _AnimationController_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin: function _AnimationController_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin() { }, AnimationStyle: function AnimationStyle(t0, t1) { this.duration = t0; this.reverseDuration = t1; }, _AnimationStyle_Object_Diagnosticable: function _AnimationStyle_Object_Diagnosticable() { }, ProxyAnimation$(animation) { var t1 = new A.ProxyAnimation(new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function), 0); t1._animations$_parent = animation; if (animation == null) { t1._animations$_status = B.AnimationStatus_0; t1._animations$_value = 0; } return t1; }, CurvedAnimation$(curve, $parent, reverseCurve) { var t2, t1 = new A.CurvedAnimation($parent, curve, reverseCurve); t1._updateCurveDirection$1($parent.get$status($parent)); $parent.didRegisterListener$0(); t2 = $parent.AnimationLocalStatusListenersMixin__statusListeners; t2._isDirty = true; t2._observer_list$_list.push(t1.get$_updateCurveDirection()); return t1; }, TrainHoppingAnimation$(_currentTrain, _nextTrain, onSwitchedTrain) { var t2, t3, t1 = new A.TrainHoppingAnimation(_currentTrain, _nextTrain, onSwitchedTrain, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new A.ObserverList(A._setArrayType([], 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._animations$_mode = B._TrainHoppingMode_1; else t1._animations$_mode = B._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$(first, next, $T) { return new A.AnimationMin(first, next, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new A.ObserverList(A._setArrayType([], 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, t1) { this.index = t0; this._core$_name = t1; }, TrainHoppingAnimation: function TrainHoppingAnimation(t0, t1, t2, t3, t4) { var _ = this; _._currentTrain = t0; _._nextTrain = t1; _._animations$_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() { }, ParametricCurve: function ParametricCurve() { }, Curve: function Curve() { }, _Linear: function _Linear() { }, SawTooth: function SawTooth(t0) { this.count = t0; }, Interval: function Interval(t0, t1, t2) { this.begin = t0; this.end = t1; this.curve = t2; }, Threshold: function Threshold(t0) { this.threshold = t0; }, Cubic: function Cubic(t0, t1, t2, t3) { var _ = this; _.a = t0; _.b = t1; _.c = t2; _.d = t3; }, ThreePointCubic: function ThreePointCubic(t0, t1, t2, t3, t4) { var _ = this; _.a1 = t0; _.b1 = t1; _.midpoint = t2; _.a2 = t3; _.b2 = t4; }, FlippedCurve: function FlippedCurve(t0) { this.curve = t0; }, _DecelerateCurve: function _DecelerateCurve() { }, ElasticOutCurve: function ElasticOutCurve() { }, AnimationLazyListenerMixin: function AnimationLazyListenerMixin() { }, AnimationEagerListenerMixin: function AnimationEagerListenerMixin() { }, AnimationLocalListenersMixin: function AnimationLocalListenersMixin() { }, AnimationLocalStatusListenersMixin: function AnimationLocalStatusListenersMixin() { }, Tween$(begin, end, $T) { return new A.Tween(begin, end, $T._eval$1("Tween<0>")); }, CurveTween$(curve) { return new A.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; }, ConstantTween: function ConstantTween(t0, t1, t2) { this.begin = t0; this.end = t1; this.$ti = t2; }, CurveTween: function CurveTween(t0) { this.curve = t0; }, __AnimatedEvaluation_Animation_AnimationWithParentMixin: function __AnimatedEvaluation_Animation_AnimationWithParentMixin() { }, TweenSequence$(items, $T) { var t1 = new A.TweenSequence(A._setArrayType([], $T._eval$1("JSArray<TweenSequenceItem<0>>")), A._setArrayType([], type$.JSArray__Interval), $T._eval$1("TweenSequence<0>")); t1.TweenSequence$1(items, $T); return t1; }, TweenSequenceItem$(tween, weight, $T) { return new A.TweenSequenceItem(tween, weight, $T._eval$1("TweenSequenceItem<0>")); }, TweenSequence: function TweenSequence(t0, t1, t2) { this._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; }, CupertinoActivityIndicator$(color, key) { return new A.CupertinoActivityIndicator(color, key); }, CupertinoActivityIndicator: function CupertinoActivityIndicator(t0, t1) { this.color = t0; this.key = t1; }, _CupertinoActivityIndicatorState: function _CupertinoActivityIndicatorState(t0, t1, t2) { var _ = this; _.___CupertinoActivityIndicatorState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CupertinoActivityIndicatorPainter: function _CupertinoActivityIndicatorPainter(t0, t1, t2, t3, t4, t5) { var _ = this; _.position = t0; _.activeColor = t1; _.radius = t2; _.progress = t3; _.tickFundamentalRRect = t4; _._repaint = t5; }, __CupertinoActivityIndicatorState_State_SingleTickerProviderStateMixin: function __CupertinoActivityIndicatorState_State_SingleTickerProviderStateMixin() { }, CupertinoButton$(alignment, borderRadius, child, color, disabledColor, minSize, onPressed, padding, pressedOpacity) { return new A.CupertinoButton(child, padding, color, disabledColor, onPressed, minSize, pressedOpacity, borderRadius, alignment, null); }, CupertinoButton: function CupertinoButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.child = t0; _.padding = t1; _.color = t2; _.disabledColor = t3; _.onPressed = t4; _.minSize = t5; _.pressedOpacity = t6; _.borderRadius = t7; _.alignment = t8; _.key = t9; }, _CupertinoButtonState: function _CupertinoButtonState(t0, t1, t2, t3) { var _ = this; _._opacityTween = t0; _.___CupertinoButtonState__opacityAnimation_A = _.___CupertinoButtonState__animationController_A = $; _._buttonHeldDown = false; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _CupertinoButtonState__animate_closure: function _CupertinoButtonState__animate_closure(t0, t1) { this.$this = t0; this.wasHeldDown = t1; }, __CupertinoButtonState_State_SingleTickerProviderStateMixin: function __CupertinoButtonState_State_SingleTickerProviderStateMixin() { }, CupertinoCheckbox: function CupertinoCheckbox(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.value = t0; _.onChanged = t1; _.activeColor = t2; _.checkColor = t3; _.tristate = t4; _.focusColor = t5; _.focusNode = t6; _.autofocus = t7; _.side = t8; _.shape = t9; _.key = t10; }, _CupertinoCheckboxState: function _CupertinoCheckboxState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._checkbox0$_painter = t0; _._checkbox0$_previousValue = null; _.focused = false; _.ToggleableStateMixin__downPosition0 = t1; _.ToggleableStateMixin__focused0 = t2; _.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI0 = t3; _.TickerProviderStateMixin__tickers = t4; _.TickerProviderStateMixin__tickerModeNotifier = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; }, _CheckboxPainter0: function _CheckboxPainter0(t0) { var _ = this; _._isActive = _._toggleable0$_isFocused = _._toggleable0$_downPosition = _._toggleable0$_focusColor = _._toggleable0$_inactiveColor = _._toggleable0$_activeColor = _._side = _._checkbox0$_shape = _._checkbox0$_previousValue = _._checkbox0$_value = _._checkColor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, __CupertinoCheckboxState_State_TickerProviderStateMixin: function __CupertinoCheckboxState_State_TickerProviderStateMixin() { }, __CupertinoCheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin: function __CupertinoCheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, CupertinoDynamicColor_maybeResolve(resolvable, context) { if (resolvable == null) return null; return resolvable instanceof A.CupertinoDynamicColor ? resolvable.resolveFrom$1(context) : resolvable; }, CupertinoDynamicColor: function CupertinoDynamicColor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._effectiveColor = t0; _._colors$_debugLabel = t1; _._debugResolveContext = t2; _.color = t3; _.darkColor = t4; _.highContrastColor = t5; _.darkHighContrastColor = t6; _.elevatedColor = t7; _.darkElevatedColor = t8; _.highContrastElevatedColor = t9; _.darkHighContrastElevatedColor = t10; _.value = t11; }, CupertinoDynamicColor_toString_toString: function CupertinoDynamicColor_toString_toString(t0) { this.$this = t0; }, _CupertinoDynamicColor_Color_Diagnosticable: function _CupertinoDynamicColor_Color_Diagnosticable() { }, _CupertinoDesktopTextSelectionHandleControls: function _CupertinoDesktopTextSelectionHandleControls() { }, CupertinoDesktopTextSelectionControls: function CupertinoDesktopTextSelectionControls() { }, __CupertinoDesktopTextSelectionHandleControls_CupertinoDesktopTextSelectionControls_TextSelectionHandleControls: function __CupertinoDesktopTextSelectionHandleControls_CupertinoDesktopTextSelectionControls_TextSelectionHandleControls() { }, CupertinoDesktopTextSelectionToolbar: function CupertinoDesktopTextSelectionToolbar(t0, t1, t2) { this.anchor = t0; this.children = t1; this.key = t2; }, CupertinoDesktopTextSelectionToolbarButton$text(onPressed, text) { return new A.CupertinoDesktopTextSelectionToolbarButton(onPressed, text, null); }, CupertinoDesktopTextSelectionToolbarButton: function CupertinoDesktopTextSelectionToolbarButton(t0, t1, t2) { this.onPressed = t0; this.text = t1; this.key = t2; }, _CupertinoDesktopTextSelectionToolbarButtonState: function _CupertinoDesktopTextSelectionToolbarButtonState(t0) { var _ = this; _._isHovered = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _CupertinoDesktopTextSelectionToolbarButtonState__onEnter_closure: function _CupertinoDesktopTextSelectionToolbarButtonState__onEnter_closure(t0) { this.$this = t0; }, _CupertinoDesktopTextSelectionToolbarButtonState__onExit_closure: function _CupertinoDesktopTextSelectionToolbarButtonState__onExit_closure(t0) { this.$this = t0; }, CupertinoIconThemeData$(applyTextScaling, color, fill, grade, opacity, opticalSize, shadows, size, weight) { return new A.CupertinoIconThemeData(size, fill, weight, grade, opticalSize, color, opacity, shadows, applyTextScaling); }, CupertinoIconThemeData: function CupertinoIconThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.size = t0; _.fill = t1; _.weight = t2; _.grade = t3; _.opticalSize = t4; _.color = t5; _._opacity = t6; _.shadows = t7; _.applyTextScaling = t8; }, _CupertinoIconThemeData_IconThemeData_Diagnosticable: function _CupertinoIconThemeData_IconThemeData_Diagnosticable() { }, _CupertinoLocalizationsDelegate: function _CupertinoLocalizationsDelegate() { }, DefaultCupertinoLocalizations: function DefaultCupertinoLocalizations() { }, CupertinoTextMagnifier: function CupertinoTextMagnifier(t0, t1, t2) { this.controller = t0; this.magnifierInfo = t1; this.key = t2; }, _CupertinoTextMagnifierState: function _CupertinoTextMagnifierState(t0, t1, t2, t3) { var _ = this; _._currentAdjustedMagnifierPosition = t0; _._verticalFocalPointAdjustment = 0; _.___CupertinoTextMagnifierState__ioAnimation_A = _.___CupertinoTextMagnifierState__ioAnimationController_A = $; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _CupertinoTextMagnifierState_initState_closure: function _CupertinoTextMagnifierState_initState_closure(t0) { this.$this = t0; }, _CupertinoTextMagnifierState_initState__closure: function _CupertinoTextMagnifierState_initState__closure() { }, _CupertinoTextMagnifierState__determineMagnifierPositionAndFocalPoint_closure: function _CupertinoTextMagnifierState__determineMagnifierPositionAndFocalPoint_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.adjustedMagnifierPosition = t1; _.verticalCenterOfCurrentLine = t2; _.verticalPositionOfLens = t3; }, CupertinoMagnifier: function CupertinoMagnifier(t0, t1, t2) { this.inOutAnimation = t0; this.additionalFocalPointOffset = t1; this.key = t2; }, __CupertinoTextMagnifierState_State_SingleTickerProviderStateMixin: function __CupertinoTextMagnifierState_State_SingleTickerProviderStateMixin() { }, CupertinoRadio: function CupertinoRadio(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.value = t0; _.groupValue = t1; _.onChanged = t2; _.toggleable = t3; _.useCheckmarkStyle = t4; _.activeColor = t5; _.focusColor = t6; _.focusNode = t7; _.autofocus = t8; _.key = t9; _.$ti = t10; }, _CupertinoRadioState: function _CupertinoRadioState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._radio0$_painter = t0; _.focused = false; _.ToggleableStateMixin__downPosition0 = t1; _.ToggleableStateMixin__focused0 = t2; _.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI0 = t3; _.TickerProviderStateMixin__tickers = t4; _.TickerProviderStateMixin__tickerModeNotifier = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; _.$ti = t7; }, _RadioPainter0: function _RadioPainter0(t0) { var _ = this; _._fillColor = _._radio0$_value = null; _._checkmarkStyle = false; _._isActive = _._toggleable0$_isFocused = _._toggleable0$_downPosition = _._toggleable0$_focusColor = _._toggleable0$_inactiveColor = _._toggleable0$_activeColor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, __CupertinoRadioState_State_TickerProviderStateMixin: function __CupertinoRadioState_State_TickerProviderStateMixin() { }, __CupertinoRadioState_State_TickerProviderStateMixin_ToggleableStateMixin: function __CupertinoRadioState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, CupertinoRouteTransitionMixin__isPopGestureEnabled(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 || route.get$popDisposition() === B.RoutePopDisposition_1) return false; if (route._animationProxy.get$status(0) !== B.AnimationStatus_3) return false; if (route._secondaryAnimationProxy.get$status(0) !== B.AnimationStatus_0) return false; if (route._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value) return false; return true; }, CupertinoRouteTransitionMixin_buildPageTransitions(route, context, animation, secondaryAnimation, child, $T) { var t5, t6, t7, t1 = route._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value, t2 = t1 ? animation : A.CurvedAnimation$(B.ThreePointCubic_2E9, animation, new A.FlippedCurve(B.ThreePointCubic_2E9)), t3 = $.$get$_kRightMiddleTween(), t4 = type$.Animation_double; t4._as(t2); t5 = t1 ? secondaryAnimation : A.CurvedAnimation$(B.Cubic_izR, secondaryAnimation, B.Cubic_OcD); t6 = $.$get$_kMiddleLeftTween(); t4._as(t5); t1 = t1 ? animation : A.CurvedAnimation$(B.Cubic_izR, animation, null); t7 = $.$get$_CupertinoEdgeShadowDecoration_kTween(); return new A.CupertinoPageTransition(new A._AnimatedEvaluation(t2, t3, t3.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")), new A._AnimatedEvaluation(t5, t6, t6.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")), new A._AnimatedEvaluation(t4._as(t1), t7, A._instanceType(t7)._eval$1("_AnimatedEvaluation<Animatable.T>")), new A._CupertinoBackGestureDetector(child, new A.CupertinoRouteTransitionMixin_buildPageTransitions_closure(route), new A.CupertinoRouteTransitionMixin_buildPageTransitions_closure0(route, $T), null, $T._eval$1("_CupertinoBackGestureDetector<0>")), null); }, _CupertinoEdgeShadowDecoration_lerp(a, b, t) { var t1, t2, t3, i, t4; if (a == b) return a; if (a == null) { t1 = b._route$_colors; if (t1 == null) t1 = b; else { t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Color>"); t2 = new A._CupertinoEdgeShadowDecoration(A.List_List$of(new A.MappedListIterable(t1, new A._CupertinoEdgeShadowDecoration_lerp_closure(t), t2), true, t2._eval$1("ListIterable.E"))); t1 = t2; } return t1; } if (b == null) { t1 = a._route$_colors; if (t1 == null) t1 = a; else { t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Color>"); t2 = new A._CupertinoEdgeShadowDecoration(A.List_List$of(new A.MappedListIterable(t1, new A._CupertinoEdgeShadowDecoration_lerp_closure0(t), t2), true, t2._eval$1("ListIterable.E"))); t1 = t2; } return t1; } t1 = A._setArrayType([], type$.JSArray_Color_2); for (t2 = b._route$_colors, t3 = a._route$_colors, i = 0; i < t2.length; ++i) { t4 = t3 == null ? null : t3[i]; t4 = A.Color_lerp(t4, t2[i], t); t4.toString; t1.push(t4); } return new A._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_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _CupertinoBackGestureDetectorState_dispose_closure: function _CupertinoBackGestureDetectorState_dispose_closure(t0) { this.$this = t0; }, _CupertinoBackGestureController: function _CupertinoBackGestureController(t0, t1, t2) { this.controller = t0; this.navigator = t1; this.$ti = t2; }, _CupertinoBackGestureController_dragEnd_closure: function _CupertinoBackGestureController_dragEnd_closure(t0, t1) { this.$this = t0; this.animationStatusCallback = t1; }, _CupertinoEdgeShadowDecoration: function _CupertinoEdgeShadowDecoration(t0) { this._route$_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; }, CupertinoScrollbar: function CupertinoScrollbar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.thicknessWhileDragging = t0; _.radiusWhileDragging = t1; _.child = t2; _.controller = t3; _.thumbVisibility = t4; _.radius = t5; _.thickness = t6; _.trackVisibility = t7; _.fadeDuration = t8; _.timeToFade = t9; _.pressDuration = t10; _.notificationPredicate = t11; _.interactive = t12; _.scrollbarOrientation = t13; _.key = t14; }, _CupertinoScrollbarState: function _CupertinoScrollbarState(t0, t1, t2, t3) { var _ = this; _.___CupertinoScrollbarState__thicknessAnimationController_A = $; _._pressStartAxisPosition = 0; _._fadeoutTimer = _._cachedController = _._startDragThumbOffset = _._lastDragUpdateOffset = _._startDragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation_A = _.__RawScrollbarState__fadeoutAnimationController_A = $; _._scrollbarPainterKey = t0; _._thumbDragging = _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _CupertinoScrollbarState_initState_closure: function _CupertinoScrollbarState_initState_closure(t0) { this.$this = t0; }, _CupertinoScrollbarState_handleThumbPress_closure: function _CupertinoScrollbarState_handleThumbPress_closure() { }, _TextSelectionHandlePainter0: function _TextSelectionHandlePainter0(t0, t1) { this.color = t0; this._repaint = t1; }, CupertinoTextSelectionHandleControls: function CupertinoTextSelectionHandleControls() { }, CupertinoTextSelectionControls: function CupertinoTextSelectionControls() { }, _CupertinoTextSelectionHandleControls_CupertinoTextSelectionControls_TextSelectionHandleControls: function _CupertinoTextSelectionHandleControls_CupertinoTextSelectionControls_TextSelectionHandleControls() { }, CupertinoTextSelectionToolbar$(anchorAbove, anchorBelow, children) { return new A.CupertinoTextSelectionToolbar(anchorAbove, anchorBelow, children, null); }, CupertinoTextSelectionToolbar__defaultToolbarBuilder(context, anchorAbove, anchorBelow, child) { var _null = null, inheritedTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedCupertinoTheme), t1 = inheritedTheme == null ? _null : inheritedTheme.theme.data.get$brightness(); if (t1 == null) { t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_5); t1 = t1 == null ? _null : t1.platformBrightness; if (t1 == null) t1 = B.Brightness_1; } t1 = t1 === B.Brightness_1 ? A.Color$fromARGB(51, 0, 0, 0) : _null; return new A._CupertinoTextSelectionToolbarShape(anchorAbove, anchorBelow, t1, new A.ColoredBox(B.CupertinoDynamicColor_MuW.resolveFrom$1(context), child, _null), _null); }, _RenderCupertinoTextSelectionToolbarShape__addRRectToPath(path, rrect, startAngle) { var i, _0_0, _0_1, _0_2, rectCenterOffset, vertex, _null = null, t1 = rrect.left, t2 = rrect.top, t3 = rrect.right, t4 = rrect.bottom, rrectCorners = [new A._Record_2(new A.Offset(t3, t4), new A.Radius(-rrect.brRadiusX, -rrect.brRadiusY)), new A._Record_2(new A.Offset(t1, t4), new A.Radius(rrect.blRadiusX, -rrect.blRadiusY)), new A._Record_2(new A.Offset(t1, t2), new A.Radius(rrect.tlRadiusX, rrect.tlRadiusY)), new A._Record_2(new A.Offset(t3, t2), new A.Radius(-rrect.trRadiusX, rrect.trRadiusY))], startQuadrantIndex = B.JSNumber_methods.$tdiv(startAngle, 1.5707963267948966); for (t1 = 4 + startQuadrantIndex, i = startQuadrantIndex; i < t1; ++i) { _0_0 = rrectCorners[B.JSInt_methods.$mod(i, 4)]; _0_1 = _0_0._0; _0_2 = _0_0._1; rectCenterOffset = _0_2; t2 = true; vertex = _0_1; if (!t2) throw A.wrapException(A.StateError$("Pattern matching error")); path.arcTo$4(0, A.Rect$fromPoints(vertex, new A.Offset(vertex._dx + 2 * rectCenterOffset.x, vertex._dy + 2 * rectCenterOffset.y)), 1.5707963267948966 * i, 1.5707963267948966, false); } return path; }, _RenderCupertinoTextSelectionToolbarItems_hitTestChild(child, result, position) { var t1; if (child == null) return false; t1 = child.parentData; t1.toString; type$.ToolbarItemsParentData._as(t1); if (!t1.shouldPaint) return false; return result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderCupertinoTextSelectionToolbarItems_hitTestChild_closure(position, t1, child), t1.offset, position); }, CupertinoTextSelectionToolbar: function CupertinoTextSelectionToolbar(t0, t1, t2, t3) { var _ = this; _.anchorAbove = t0; _.anchorBelow = t1; _.children = t2; _.key = t3; }, _CupertinoTextSelectionToolbarShape: function _CupertinoTextSelectionToolbarShape(t0, t1, t2, t3, t4) { var _ = this; _._anchorAbove = t0; _._anchorBelow = t1; _._text_selection_toolbar0$_shadowColor = t2; _.child = t3; _.key = t4; }, _RenderCupertinoTextSelectionToolbarShape: function _RenderCupertinoTextSelectionToolbarShape(t0, t1, t2, t3, t4, t5) { var _ = this; _._anchorAbove = t0; _._anchorBelow = t1; _._text_selection_toolbar0$_shadowColor = t2; _._text_selection_toolbar0$_clipPathLayer = t3; _._debugPaint = null; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderCupertinoTextSelectionToolbarShape_paint_closure: function _RenderCupertinoTextSelectionToolbarShape_paint_closure(t0) { this.child = t0; }, _CupertinoTextSelectionToolbarContent: function _CupertinoTextSelectionToolbarContent(t0, t1, t2, t3, t4) { var _ = this; _.anchorAbove = t0; _.anchorBelow = t1; _.children = t2; _.toolbarBuilder = t3; _.key = t4; }, _CupertinoTextSelectionToolbarContentState: function _CupertinoTextSelectionToolbarContentState(t0, t1, t2, t3) { var _ = this; _.___CupertinoTextSelectionToolbarContentState__controller_A = $; _._nextPage = null; _._text_selection_toolbar0$_page = 0; _._toolbarItemsKey = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _CupertinoTextSelectionToolbarContentState__statusListener_closure: function _CupertinoTextSelectionToolbarContentState__statusListener_closure(t0) { this.$this = t0; }, _CupertinoTextSelectionToolbarContentState_build_closure: function _CupertinoTextSelectionToolbarContentState_build_closure() { }, _LeftCupertinoChevronPainter: function _LeftCupertinoChevronPainter(t0, t1, t2) { this.color = t0; this.isLeft = t1; this._repaint = t2; }, _RightCupertinoChevronPainter: function _RightCupertinoChevronPainter(t0, t1, t2) { this.color = t0; this.isLeft = t1; this._repaint = t2; }, _CupertinoChevronPainter: function _CupertinoChevronPainter() { }, _CupertinoTextSelectionToolbarItems: function _CupertinoTextSelectionToolbarItems(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.backButton = t0; _.children = t1; _.dividerColor = t2; _.dividerWidth = t3; _.nextButton = t4; _.page = t5; _.key = t6; }, _CupertinoTextSelectionToolbarItemsElement: function _CupertinoTextSelectionToolbarItemsElement(t0, t1, t2, t3) { var _ = this; _.___CupertinoTextSelectionToolbarItemsElement__children_A = $; _.slotToChild = t0; _._text_selection_toolbar0$_forgottenChildren = t1; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t2; _._framework$_owner = null; _._lifecycleState = t3; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _RenderCupertinoTextSelectionToolbarItems: function _RenderCupertinoTextSelectionToolbarItems(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.slottedChildren = t0; _.___RenderCupertinoTextSelectionToolbarItems_hasPreviousPage_A = _.___RenderCupertinoTextSelectionToolbarItems_hasNextPage_A = $; _._text_selection_toolbar0$_page = t1; _._dividerColor = t2; _._dividerWidth = t3; _._nextButton = _._backButton = null; _.ContainerRenderObjectMixin__childCount = t4; _.ContainerRenderObjectMixin__firstChild = t5; _.ContainerRenderObjectMixin__lastChild = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderCupertinoTextSelectionToolbarItems_performLayout_closure: function _RenderCupertinoTextSelectionToolbarItems_performLayout_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _RenderCupertinoTextSelectionToolbarItems_performLayout_closure0: function _RenderCupertinoTextSelectionToolbarItems_performLayout_closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.subsequentPageButtonsWidth = t2; _.firstPageWidth = t3; _.toolbarWidth = t4; }, _RenderCupertinoTextSelectionToolbarItems_paint_closure: function _RenderCupertinoTextSelectionToolbarItems_paint_closure(t0, t1, t2) { this.$this = t0; this.offset = t1; this.context = t2; }, _RenderCupertinoTextSelectionToolbarItems_hitTestChild_closure: function _RenderCupertinoTextSelectionToolbarItems_hitTestChild_closure(t0, t1, t2) { this.position = t0; this.childParentData = t1; this.child = t2; }, _RenderCupertinoTextSelectionToolbarItems_redepthChildren_closure: function _RenderCupertinoTextSelectionToolbarItems_redepthChildren_closure(t0) { this.$this = t0; }, _RenderCupertinoTextSelectionToolbarItems_visitChildrenForSemantics_closure: function _RenderCupertinoTextSelectionToolbarItems_visitChildrenForSemantics_closure(t0) { this.visitor = t0; }, _RenderCupertinoTextSelectionToolbarItems_debugDescribeChildren_closure: function _RenderCupertinoTextSelectionToolbarItems_debugDescribeChildren_closure(t0, t1) { this.$this = t0; this.value = t1; }, _CupertinoTextSelectionToolbarItemsSlot: function _CupertinoTextSelectionToolbarItemsSlot(t0, t1) { this.index = t0; this._core$_name = t1; }, _NullElement0: function _NullElement0(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _NullWidget: function _NullWidget(t0) { this.key = t0; }, __CupertinoTextSelectionToolbarContentState_State_TickerProviderStateMixin: function __CupertinoTextSelectionToolbarContentState_State_TickerProviderStateMixin() { }, __RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin: function __RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin() { }, __RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function __RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, CupertinoTextSelectionToolbarButton$(child, onPressed) { return new A.CupertinoTextSelectionToolbarButton(child, onPressed, null, null, null); }, CupertinoTextSelectionToolbarButton$buttonItem(buttonItem) { return new A.CupertinoTextSelectionToolbarButton(null, buttonItem.onPressed, buttonItem, null, null); }, CupertinoTextSelectionToolbarButton_getButtonLabel(context, buttonItem) { var t1 = buttonItem.label; if (t1 != null) return t1; t1 = A.Localizations_of(context, B.Type_CupertinoLocalizations_10U, type$.CupertinoLocalizations); t1.toString; switch (buttonItem.type.index) { case 0: return t1.get$cutButtonLabel(); case 1: return t1.get$copyButtonLabel(); case 2: return t1.get$pasteButtonLabel(); case 3: return t1.get$selectAllButtonLabel(); case 5: return t1.get$lookUpButtonLabel(); case 6: return t1.get$searchWebButtonLabel(); case 7: return t1.get$shareButtonLabel(); case 8: case 4: case 9: return ""; } }, CupertinoTextSelectionToolbarButton: function CupertinoTextSelectionToolbarButton(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.onPressed = t1; _.buttonItem = t2; _.text = t3; _.key = t4; }, _CupertinoTextSelectionToolbarButtonState: function _CupertinoTextSelectionToolbarButtonState(t0) { var _ = this; _.isPressed = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _CupertinoTextSelectionToolbarButtonState__onTapDown_closure: function _CupertinoTextSelectionToolbarButtonState__onTapDown_closure(t0) { this.$this = t0; }, _CupertinoTextSelectionToolbarButtonState__onTapUp_closure: function _CupertinoTextSelectionToolbarButtonState__onTapUp_closure(t0) { this.$this = t0; }, _CupertinoTextSelectionToolbarButtonState__onTapCancel_closure: function _CupertinoTextSelectionToolbarButtonState__onTapCancel_closure(t0) { this.$this = t0; }, _LiveTextIconPainter: function _LiveTextIconPainter(t0, t1, t2) { this.color = t0; this._text_selection_toolbar_button$_painter = t1; this._repaint = t2; }, _resolveTextStyle(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() { }, CupertinoTheme_of(context) { var inheritedTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedCupertinoTheme), t1 = inheritedTheme == null ? null : inheritedTheme.theme.data; return (t1 == null ? B.CupertinoThemeData_yPP : t1).resolveFrom$1(context); }, CupertinoThemeData$_rawWithDefaults(brightness, primaryColor, primaryContrastingColor, textTheme, barBackgroundColor, scaffoldBackgroundColor, applyThemeToAll, _defaults) { return new A.CupertinoThemeData(_defaults, brightness, primaryColor, primaryContrastingColor, textTheme, barBackgroundColor, scaffoldBackgroundColor, applyThemeToAll); }, CupertinoTheme: function CupertinoTheme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, _InheritedCupertinoTheme: function _InheritedCupertinoTheme(t0, t1, t2) { this.theme = t0; this.child = t1; this.key = t2; }, CupertinoThemeData: function CupertinoThemeData(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._defaults = t0; _.brightness = t1; _.primaryColor = t2; _.primaryContrastingColor = t3; _.textTheme = t4; _.barBackgroundColor = t5; _.scaffoldBackgroundColor = t6; _.applyThemeToAll = t7; }, CupertinoThemeData_resolveFrom_convertColor: function CupertinoThemeData_resolveFrom_convertColor(t0) { this.context = t0; }, NoDefaultCupertinoThemeData: function NoDefaultCupertinoThemeData(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.brightness = t0; _.primaryColor = t1; _.primaryContrastingColor = t2; _.textTheme = t3; _.barBackgroundColor = t4; _.scaffoldBackgroundColor = t5; _.applyThemeToAll = t6; }, NoDefaultCupertinoThemeData_resolveFrom_convertColor: function NoDefaultCupertinoThemeData_resolveFrom_convertColor(t0) { this.context = t0; }, _CupertinoThemeDefaults: function _CupertinoThemeDefaults(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.brightness = t0; _.primaryColor = t1; _.primaryContrastingColor = t2; _.barBackgroundColor = t3; _.scaffoldBackgroundColor = t4; _.applyThemeToAll = t5; _.textThemeDefaults = t6; }, _CupertinoThemeDefaults_resolveFrom_convertColor: function _CupertinoThemeDefaults_resolveFrom_convertColor(t0) { this.context = t0; }, _CupertinoTextThemeDefaults: function _CupertinoTextThemeDefaults(t0, t1) { this.labelColor = t0; this.inactiveGray = t1; }, _DefaultCupertinoTextThemeData: function _DefaultCupertinoTextThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.labelColor = t0; _.inactiveGray = t1; _._text_theme$_defaults = t2; _._text_theme$_primaryColor = t3; _._textStyle = t4; _._actionTextStyle = t5; _._tabLabelTextStyle = t6; _._navTitleTextStyle = t7; _._navLargeTitleTextStyle = t8; _._navActionTextStyle = t9; _._pickerTextStyle = t10; _._dateTimePickerTextStyle = t11; }, _CupertinoThemeData_NoDefaultCupertinoThemeData_Diagnosticable: function _CupertinoThemeData_NoDefaultCupertinoThemeData_Diagnosticable() { }, ToggleableStateMixin: function ToggleableStateMixin() { }, ToggleableStateMixin__handleTapDown_closure0: function ToggleableStateMixin__handleTapDown_closure0(t0, t1) { this.$this = t0; this.details = t1; }, ToggleableStateMixin__handleTapEnd_closure0: function ToggleableStateMixin__handleTapEnd_closure0(t0) { this.$this = t0; }, ToggleableStateMixin__handleFocusHighlightChanged_closure0: function ToggleableStateMixin__handleFocusHighlightChanged_closure0(t0, t1) { this.$this = t0; this.focused = t1; }, ToggleablePainter: function ToggleablePainter() { }, defaultTargetPlatform() { var t1 = $.$get$_testPlatform(); return t1 == null ? $.$get$_browserPlatform() : t1; }, _testPlatform_closure: function _testPlatform_closure() { }, _browserPlatform_closure: function _browserPlatform_closure() { }, ErrorDescription$(message) { var _null = null, t1 = A._setArrayType([message], type$.JSArray_Object); return new A.ErrorDescription(_null, false, true, _null, _null, _null, false, t1, true, _null, B.DiagnosticLevel_3, _null, _null, false, false, _null, B.DiagnosticsTreeStyle_7); }, ErrorSummary$(message) { var _null = null, t1 = A._setArrayType([message], type$.JSArray_Object); return new A.ErrorSummary(_null, false, true, _null, _null, _null, false, t1, true, _null, B.DiagnosticLevel_6, _null, _null, false, false, _null, B.DiagnosticsTreeStyle_7); }, ErrorHint$(message) { var _null = null, t1 = A._setArrayType([message], type$.JSArray_Object); return new A.ErrorHint(_null, false, true, _null, _null, _null, false, t1, true, _null, B.DiagnosticLevel_5, _null, _null, false, false, _null, B.DiagnosticsTreeStyle_7); }, ErrorSpacer$() { var _null = null; return new A.ErrorSpacer("", false, true, _null, _null, _null, false, _null, true, B.C__NoDefaultValue, B.DiagnosticLevel_3, _null, "", true, false, _null, B.DiagnosticsTreeStyle_8); }, FlutterError_FlutterError(message) { var lines = A._setArrayType(message.split("\n"), type$.JSArray_String), t1 = A._setArrayType([A.ErrorSummary$(B.JSArray_methods.get$first(lines))], type$.JSArray_DiagnosticsNode), t2 = A.SubListIterable$(lines, 1, null, type$.String); B.JSArray_methods.addAll$1(t1, new A.MappedListIterable(t2, new A.FlutterError_FlutterError_closure(), t2.$ti._eval$1("MappedListIterable<ListIterable.E,DiagnosticsNode>"))); return new A.FlutterError(t1); }, FlutterError$fromParts(diagnostics) { return new A.FlutterError(diagnostics); }, FlutterError__defaultStackTraceDemangler(stackTrace) { return stackTrace; }, FlutterError_dumpErrorToConsole(details, forceReport) { if (details.silent && true) return; if ($.FlutterError__errorCount === 0 || false) A.debugPrintStack(J.toString$0$(details.exception), 100, details.stack); else A.print__debugPrintThrottled$closure().call$1("Another exception was thrown: " + details.get$summary().toString$0(0)); $.FlutterError__errorCount = $.FlutterError__errorCount + 1; }, FlutterError_defaultStackFilter($frames) { var skipped, index, t1, frame, className, $package, reasons, t2, _i, result, index0, t3, t4, suffix, removedPackagesAndClasses = A.LinkedHashMap_LinkedHashMap$_literal(["dart:async-patch", 0, "dart:async", 0, "package:stack_trace", 0, "class _AssertionError", 0, "class _FakeAsync", 0, "class _FrameCallbackEntry", 0, "class _Timer", 0, "class _RawReceivePortImpl", 0], type$.String, type$.int), parsedFrames = A.StackFrame_fromStackString(J.join$1$ax($frames, "\n")); for (skipped = 0, index = 0; t1 = parsedFrames.length, index < t1; ++index) { frame = parsedFrames[index]; className = "class " + frame.className; $package = frame.packageScheme + ":" + frame.$package; if (removedPackagesAndClasses.containsKey$1(0, className)) { ++skipped; removedPackagesAndClasses.update$2(removedPackagesAndClasses, className, new A.FlutterError_defaultStackFilter_closure()); B.JSArray_methods.removeAt$1(parsedFrames, index); --index; } else if (removedPackagesAndClasses.containsKey$1(0, $package)) { ++skipped; removedPackagesAndClasses.update$2(removedPackagesAndClasses, $package, new A.FlutterError_defaultStackFilter_closure0()); B.JSArray_methods.removeAt$1(parsedFrames, index); --index; } } reasons = A.List_List$filled(t1, null, false, type$.nullable_String); for (t2 = $.FlutterError__stackFilters.length, _i = 0; _i < $.FlutterError__stackFilters.length; $.FlutterError__stackFilters.length === t2 || (0, A.throwConcurrentModificationError)($.FlutterError__stackFilters), ++_i) $.FlutterError__stackFilters[_i].filter$2(0, parsedFrames, reasons); t2 = type$.JSArray_String; result = A._setArrayType([], t2); for (--t1, index = 0; index < parsedFrames.length; index = index0 + 1) { index0 = index; while (true) { if (index0 < t1) { t3 = reasons[index0]; t3 = t3 != null && J.$eq$(reasons[index0 + 1], t3); } else t3 = false; if (!t3) break; ++index0; } t3 = reasons[index0]; t4 = t3 == null; if (!t4) suffix = index0 !== index ? " (" + (index0 - index + 2) + " frames)" : " (1 frame)"; else suffix = ""; result.push(A.S(t4 ? parsedFrames[index0].source : t3) + suffix); } t1 = A._setArrayType([], t2); for (t2 = removedPackagesAndClasses.get$entries(removedPackagesAndClasses), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2); if (t3.value > 0) t1.push(t3.key); } B.JSArray_methods.sort$0(t1); if (skipped === 1) result.push("(elided one frame from " + B.JSArray_methods.get$single(t1) + ")"); else if (skipped > 1) { t2 = t1.length; if (t2 > 1) t1[t2 - 1] = "and " + B.JSArray_methods.get$last(t1); t2 = "(elided " + skipped; if (t1.length > 2) result.push(t2 + " frames from " + B.JSArray_methods.join$1(t1, ", ") + ")"); else result.push(t2 + " frames from " + B.JSArray_methods.join$1(t1, " ") + ")"); } return result; }, FlutterError_reportError(details) { var t1 = $.$get$FlutterError_onError(); if (t1 != null) t1.call$1(details); }, debugPrintStack(label, maxFrames, stackTrace) { var lines, t1; A.print__debugPrintThrottled$closure().call$1(label); lines = A._setArrayType(B.JSString_methods.trimRight$0(J.toString$0$(stackTrace == null ? A.StackTrace_current() : A.FlutterError__defaultStackTraceDemangler(stackTrace))).split("\n"), type$.JSArray_String); t1 = lines.length; lines = J.take$1$ax(t1 !== 0 ? new A.SkipWhileIterable(lines, new A.debugPrintStack_closure(), type$.SkipWhileIterable_String) : lines, maxFrames); A.print__debugPrintThrottled$closure().call$1(B.JSArray_methods.join$1(A.FlutterError_defaultStackFilter(lines), "\n")); }, DiagnosticsStackTrace$($name, stack, stackFilter) { var t1 = A.DiagnosticsStackTrace__applyStackFilter(stack, stackFilter); return new A.DiagnosticsStackTrace(B.List_empty2, t1, "", stack, true, $name, true, true, null, B.DiagnosticsTreeStyle_7); }, DiagnosticsStackTrace__applyStackFilter(stack, stackFilter) { var filter; if (stack == null) return A._setArrayType([], type$.JSArray_DiagnosticsNode); filter = stackFilter == null ? A.assertions_FlutterError_defaultStackFilter$closure() : stackFilter; return J.map$1$1$ax(filter.call$1(A._setArrayType(B.JSString_methods.trimRight$0(A.S(A.FlutterError__defaultStackTraceDemangler(stack))).split("\n"), type$.JSArray_String)), A.assertions_DiagnosticsStackTrace__createStackFrame$closure(), type$.DiagnosticsNode).toList$0(0); }, DiagnosticsStackTrace__createStackFrame(frame) { return A.DiagnosticsNode_DiagnosticsNode$message(frame, false, B.DiagnosticsTreeStyle_8); }, _FlutterErrorDetailsNode$($name, style, value) { return new A._FlutterErrorDetailsNode(value, $name, true, true, null, style); }, _ErrorDiagnostic: function _ErrorDiagnostic() { }, ErrorDescription: function ErrorDescription(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._diagnostics$_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; }, ErrorSummary: function ErrorSummary(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._diagnostics$_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; }, ErrorHint: function ErrorHint(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._diagnostics$_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; }, ErrorSpacer: function ErrorSpacer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._diagnostics$_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; }, FlutterErrorDetails: function FlutterErrorDetails(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.exception = t0; _.stack = t1; _.library = t2; _.context = t3; _.stackFilter = t4; _.informationCollector = t5; _.silent = t6; }, FlutterErrorDetails_summary_formatException: function FlutterErrorDetails_summary_formatException(t0) { this.$this = t0; }, FlutterErrorDetails_summary_closure: function FlutterErrorDetails_summary_closure() { }, FlutterErrorDetails_summary_closure0: function FlutterErrorDetails_summary_closure0() { }, FlutterErrorDetails_debugFillProperties_closure: function FlutterErrorDetails_debugFillProperties_closure() { }, FlutterError: function FlutterError(t0) { this.diagnostics = t0; }, FlutterError_FlutterError_closure: function FlutterError_FlutterError_closure() { }, FlutterError_defaultStackFilter_closure: function FlutterError_defaultStackFilter_closure() { }, FlutterError_defaultStackFilter_closure0: function FlutterError_defaultStackFilter_closure0() { }, FlutterError_toString_closure: function FlutterError_toString_closure(t0) { this.renderer = t0; }, debugPrintStack_closure: function debugPrintStack_closure() { }, DiagnosticsStackTrace: function DiagnosticsStackTrace(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._diagnostics$_children = t0; _._diagnostics$_properties = t1; _._diagnostics$_description = t2; _.value = t3; _.allowTruncate = t4; _.name = t5; _.showSeparator = t6; _.showName = t7; _.linePrefix = t8; _.style = t9; }, _FlutterErrorDetailsNode: function _FlutterErrorDetailsNode(t0, t1, t2, t3, t4, t5) { var _ = this; _.value = t0; _._cachedBuilder = null; _.name = t1; _.showSeparator = t2; _.showName = t3; _.linePrefix = t4; _.style = t5; }, _FlutterError_Error_DiagnosticableTreeMixin: function _FlutterError_Error_DiagnosticableTreeMixin() { }, _FlutterErrorDetails_Object_Diagnosticable: function _FlutterErrorDetails_Object_Diagnosticable() { }, BindingBase: function BindingBase() { }, BindingBase_initServiceExtensions_closure: function BindingBase_initServiceExtensions_closure() { }, BindingBase_initServiceExtensions_closure0: function BindingBase_initServiceExtensions_closure0() { }, BindingBase_initServiceExtensions_closure1: function BindingBase_initServiceExtensions_closure1() { }, BindingBase_initServiceExtensions_closure2: function BindingBase_initServiceExtensions_closure2() { }, BindingBase_lockEvents_closure: function BindingBase_lockEvents_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, 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_registerStringServiceExtension_closure: function BindingBase_registerStringServiceExtension_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.setter = t1; _.name = t2; _.getter = t3; }, BindingBase_registerServiceExtension_closure: function BindingBase_registerServiceExtension_closure(t0, t1) { this.methodName = t0; this.callback = t1; }, BindingBase_registerServiceExtension__closure: function BindingBase_registerServiceExtension__closure() { }, ValueNotifier$(_value, $T) { return new A.ValueNotifier(_value, $.$get$ChangeNotifier__emptyListeners(), $T._eval$1("ValueNotifier<0>")); }, Listenable: function Listenable() { }, ChangeNotifier: function ChangeNotifier(t0) { var _ = this; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ChangeNotifier_notifyListeners_closure: function ChangeNotifier_notifyListeners_closure(t0) { this.$this = t0; }, _MergingListenable: function _MergingListenable(t0) { this._change_notifier$_children = t0; }, ValueNotifier: function ValueNotifier(t0, t1, t2) { var _ = this; _._change_notifier$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _.$ti = t2; }, TextTreeConfiguration$(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 A.TextTreeConfiguration(prefixLineOne, suffixLineOne, prefixOtherLines, prefixLastChildLineOne, prefixOtherLinesRootNode, propertyPrefixIfChildren, propertyPrefixNoChildren, linkCharacter, B.JSString_methods.$mul(" ", linkCharacter.length), lineBreak, lineBreakProperties, beforeName, afterName, afterDescriptionIfBody, beforeProperties, afterProperties, propertySeparator, bodyIndent, showChildren, addBlankLineIfNoChildren, isNameOnOwnLine, footer, mandatoryFooter, isBlankLineBetweenPropertiesAndChildren); }, _PrefixedStringBuilder__wordWrapLine(message, wrapRanges, width, otherLineOffset, startOffset) { var wrappedLine, startForLengthCalculations, lastWordStart, noWrap, t2, index, mode, lastWordEnd, start, t3, _box_0 = {}, t1 = message.length; if (t1 + startOffset < width) return A._setArrayType([message], type$.JSArray_String); wrappedLine = A._setArrayType([], type$.JSArray_String); startForLengthCalculations = -startOffset; lastWordStart = A._Cell$named("lastWordStart"); _box_0.currentChunk = 0; noWrap = new A._PrefixedStringBuilder__wordWrapLine_noWrap(_box_0, wrapRanges); for (t2 = lastWordStart.__late_helper$_name, index = 0, mode = B._WordWrapParseMode_0, lastWordEnd = null, start = 0; true;) switch (mode.index) { case 0: while (true) { if (!(index < t1 && message[index] === " ")) break; ++index; } lastWordStart.__late_helper$_value = index; mode = B._WordWrapParseMode_1; break; case 1: while (true) { if (index < t1) t3 = message[index] !== " " || noWrap.call$1(index); else t3 = false; if (!t3) break; ++index; } mode = B._WordWrapParseMode_2; break; case 2: t3 = index - startForLengthCalculations; if (t3 > width || index === t1) { if (t3 <= width || lastWordEnd == null) lastWordEnd = index; wrappedLine.push(B.JSString_methods.substring$2(message, start, lastWordEnd)); if (lastWordEnd >= t1) return wrappedLine; if (lastWordEnd === index) { while (true) { if (!(index < t1 && message[index] === " ")) break; ++index; } start = index; mode = B._WordWrapParseMode_1; } else { start = lastWordStart.__late_helper$_value; if (start === lastWordStart) A.throwExpression(A.LateError$localNI(t2)); mode = B._WordWrapParseMode_2; } startForLengthCalculations = start - otherLineOffset; lastWordEnd = null; } else { lastWordEnd = index; mode = B._WordWrapParseMode_0; } break; } }, DiagnosticsNode_DiagnosticsNode$message(message, allowWrap, style) { var _null = null; return A.DiagnosticsProperty$("", _null, allowWrap, B.C__NoDefaultValue, message, false, _null, _null, B.DiagnosticLevel_3, _null, false, false, true, style, _null, type$.void); }, DiagnosticsProperty$($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 A.DiagnosticsProperty(description, false, allowWrap, t1, ifEmpty, tooltip, missingIfNull, value, true, defaultValue, level, null, $name, showSeparator, showName, linePrefix, style, $T._eval$1("DiagnosticsProperty<0>")); }, DiagnosticableTreeNode$($name, style, value) { return new A.DiagnosticableTreeNode(value, $name, true, true, null, style); }, shortHash(object) { return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(J.get$hashCode$(object) & 1048575, 16), 5, "0"); }, describeEnum(enumEntry) { return enumEntry._core$_name; }, DiagnosticsBlock$(allowTruncate, children, $name, properties, showSeparator, style, value) { return new A.DiagnosticsBlock(children, properties, "", value, allowTruncate, $name, true, true, null, style); }, DiagnosticLevel: function DiagnosticLevel(t0, t1) { this.index = t0; this._core$_name = t1; }, DiagnosticsTreeStyle: function DiagnosticsTreeStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, 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, t1) { this.index = t0; this._core$_name = t1; }, _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_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; _._diagnostics$_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; }, Diagnosticable: function Diagnosticable() { }, DiagnosticableTree: function DiagnosticableTree() { }, DiagnosticableTreeMixin: function DiagnosticableTreeMixin() { }, DiagnosticsBlock: function DiagnosticsBlock(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._diagnostics$_children = t0; _._diagnostics$_properties = t1; _._diagnostics$_description = t2; _.value = t3; _.allowTruncate = t4; _.name = t5; _.showSeparator = t6; _.showName = t7; _.linePrefix = t8; _.style = t9; }, _DiagnosticableTree_Object_Diagnosticable: function _DiagnosticableTree_Object_Diagnosticable() { }, UniqueKey$() { return new A.UniqueKey(); }, Key: function Key() { }, LocalKey: function LocalKey() { }, UniqueKey: function UniqueKey() { }, ValueKey: function ValueKey(t0, t1) { this.value = t0; this.$ti = t1; }, _TypeLiteral: function _TypeLiteral(t0) { this.$ti = t0; }, LicenseRegistry_licenses() { if ($.LicenseRegistry__collectors == null) return B.C__EmptyStream; var controller = A._Cell$named("controller"); controller.set$finalLocalValue(A.StreamController_StreamController(null, new A.LicenseRegistry_licenses_closure(controller), null, false, type$.LicenseEntry)); return J.get$stream$z(controller._readLocal$0()); }, LicenseParagraph: function LicenseParagraph(t0, t1) { this.text = t0; this.indent = t1; }, LicenseEntry: function LicenseEntry() { }, _LicenseEntryWithLineBreaksParserState: function _LicenseEntryWithLineBreaksParserState(t0, t1) { this.index = t0; this._core$_name = t1; }, LicenseEntryWithLineBreaks: function LicenseEntryWithLineBreaks(t0, t1) { this.packages = t0; this.text = t1; }, LicenseEntryWithLineBreaks_paragraphs_addLine: function LicenseEntryWithLineBreaks_paragraphs_addLine(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.lines = t2; }, LicenseEntryWithLineBreaks_paragraphs_getParagraph: function LicenseEntryWithLineBreaks_paragraphs_getParagraph(t0, t1) { this._box_0 = t0; this.lines = t1; }, LicenseRegistry_licenses_closure: function LicenseRegistry_licenses_closure(t0) { this.controller = t0; }, ObserverList$($T) { return new A.ObserverList(A._setArrayType([], $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_FI = $; _.$ti = t1; }, HashedObserverList: function HashedObserverList(t0, t1) { this._observer_list$_map = t0; this.$ti = t1; }, _makeArray($length) { return A.List_List$filled($length, null, false, type$.nullable_Object); }, PersistentHashMap: function PersistentHashMap(t0, t1) { this._persistent_hash_map$_root = t0; this.$ti = t1; }, _TrieNode: function _TrieNode() { }, _FullNode: function _FullNode(t0) { this.descendants = t0; }, _CompressedNode: function _CompressedNode(t0, t1) { this.occupiedIndices = t0; this.keyValuePairs = t1; }, _HashCollisionNode: function _HashCollisionNode(t0, t1) { this.hash = t0; this.keyValuePairs = t1; }, TargetPlatform: function TargetPlatform(t0, t1) { this.index = t0; this._core$_name = t1; }, WriteBuffer_WriteBuffer0(startCapacity) { var eightBytes = new DataView(new ArrayBuffer(8)), eightBytesAsList = A.NativeUint8List_NativeUint8List$view(eightBytes.buffer, 0, null); return new A.WriteBuffer0(new Uint8Array(startCapacity), eightBytes, eightBytesAsList); }, WriteBuffer0: function WriteBuffer0(t0, t1, t2) { var _ = this; _._serialization$_buffer = t0; _._currentSize = 0; _._serialization$_isDone = false; _._serialization$_eightBytes = t1; _._serialization$_eightBytesAsList = t2; }, ReadBuffer0: function ReadBuffer0(t0) { this.data = t0; this._serialization$_position = 0; }, StackFrame_fromStackString(stack) { var t1 = type$.WhereTypeIterable_StackFrame; return A.List_List$of(new A.WhereTypeIterable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(B.JSString_methods.trim$0(stack).split("\n"), type$.JSArray_String), new A.StackFrame_fromStackString_closure(), type$.WhereIterable_String), A.stack_frame_StackFrame_fromStackTraceLine$closure(), type$.MappedIterable_of_String_and_nullable_StackFrame), t1), true, t1._eval$1("Iterable.E")); }, StackFrame__tryParseWebNonDebugFrame(line) { var classAndMethod, className, _s9_ = "<unknown>", match = $.$get$StackFrame__webNonDebugFramePattern().firstMatch$1(line); if (match == null) return null; classAndMethod = A._setArrayType(match._match[1].split("."), type$.JSArray_String); className = classAndMethod.length > 1 ? B.JSArray_methods.get$first(classAndMethod) : _s9_; return new A.StackFrame(line, -1, _s9_, _s9_, _s9_, -1, -1, className, classAndMethod.length > 1 ? A.SubListIterable$(classAndMethod, 1, null, type$.String).join$1(0, ".") : B.JSArray_methods.get$single(classAndMethod)); }, StackFrame_fromStackTraceLine(line) { var t1, t2, method, className, parts, packageUri, packagePath, $package, t3, t4, _null = null, _s9_ = "<unknown>"; if (line === "<asynchronous suspension>") return B.StackFrame_SOW; else if (line === "...") return B.StackFrame_8sg; if (!B.JSString_methods.startsWith$1(line, "#")) return A.StackFrame__tryParseWebNonDebugFrame(line); t1 = A.RegExp_RegExp("^#(\\d+) +(.+) \\((.+?):?(\\d+){0,1}:?(\\d+){0,1}\\)$", true, false, false, false).firstMatch$1(line)._match; t2 = t1[2]; t2.toString; method = A.stringReplaceAllUnchecked(t2, ".<anonymous closure>", ""); if (B.JSString_methods.startsWith$1(method, "new")) { className = method.split(" ").length > 1 ? method.split(" ")[1] : _s9_; if (B.JSString_methods.contains$1(className, ".")) { parts = className.split("."); className = parts[0]; method = parts[1]; } else method = ""; } else if (B.JSString_methods.contains$1(method, ".")) { parts = method.split("."); className = parts[0]; method = parts[1]; } else className = ""; t2 = t1[3]; t2.toString; packageUri = A.Uri_parse(t2, 0, _null); packagePath = packageUri.get$path(packageUri); if (packageUri.get$scheme() === "dart" || packageUri.get$scheme() === "package") { $package = packageUri.get$pathSegments()[0]; packagePath = B.JSString_methods.replaceFirst$2(packageUri.get$path(packageUri), A.S(packageUri.get$pathSegments()[0]) + "/", ""); } else $package = _s9_; t2 = t1[1]; t2.toString; t2 = A.int_parse(t2, _null); t3 = packageUri.get$scheme(); t4 = t1[4]; if (t4 == null) t4 = -1; else { t4 = t4; t4.toString; t4 = A.int_parse(t4, _null); } t1 = t1[5]; if (t1 == null) t1 = -1; else { t1 = t1; t1.toString; t1 = A.int_parse(t1, _null); } return new A.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() { }, SynchronousFuture: function SynchronousFuture(t0, t1) { this._synchronous_future$_value = t0; this.$ti = t1; }, SynchronousFuture_whenComplete_closure: function SynchronousFuture_whenComplete_closure(t0) { this.$this = t0; }, GestureDisposition: function GestureDisposition(t0, t1) { this.index = t0; this._core$_name = t1; }, 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; }, FlutterErrorDetailsForPointerEventDispatcher$(context, $event, exception, hitTestEntry, informationCollector, library, stack) { return new A.FlutterErrorDetailsForPointerEventDispatcher(exception, stack, library, context, null, informationCollector, false); }, _Resampler: function _Resampler(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._resamplers = t0; _._binding$_frameCallbackScheduled = false; _._frameTime = t1; _._frameTimeAge = t2; _._lastSampleTime = t3; _._lastEventTime = t4; _._handlePointerEvent = t5; _._handleSampleTimeChanged = t6; _._samplingInterval = t7; _._binding$_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, t6) { var _ = this; _.exception = t0; _.stack = t1; _.library = t2; _.context = t3; _.stackFilter = t4; _.informationCollector = t5; _.silent = t6; }, _synthesiseDownButtons(buttons, kind) { switch (kind.index) { case 1: case 4: return buttons; case 0: case 2: case 3: return buttons === 0 ? 1 : buttons; case 5: return buttons === 0 ? 1 : buttons; } }, PointerEventConverter_expand(data, devicePixelRatioForView) { var t1 = A._arrayInstanceType(data); return new A.WhereTypeIterable(new A.MappedIterable(new A.WhereIterable(data, new A.PointerEventConverter_expand_closure(), t1._eval$1("WhereIterable<1>")), new A.PointerEventConverter_expand_closure0(devicePixelRatioForView), t1._eval$1("MappedIterable<1,PointerEvent?>")), type$.WhereTypeIterable_PointerEvent); }, PointerEventConverter_expand_closure: function PointerEventConverter_expand_closure() { }, PointerEventConverter_expand_closure0: function PointerEventConverter_expand_closure0(t0) { this.devicePixelRatioForView = t0; }, Drag: function Drag() { }, DragDownDetails: function DragDownDetails(t0) { this.globalPosition = t0; }, DragStartDetails: function DragStartDetails(t0, t1, t2, t3) { var _ = this; _.sourceTimeStamp = t0; _.globalPosition = t1; _.localPosition = t2; _.kind = t3; }, DragUpdateDetails: function DragUpdateDetails(t0, t1, t2, t3, t4) { var _ = this; _.sourceTimeStamp = t0; _.delta = t1; _.primaryDelta = t2; _.globalPosition = t3; _.localPosition = t4; }, DragEndDetails: function DragEndDetails(t0, t1) { this.velocity = t0; this.primaryVelocity = t1; }, PointerEvent_transformPosition(transform, position) { var position3, t1; if (transform == null) return position; position3 = new A.Vector3(new Float64Array(3)); position3.setValues$3(position._dx, position._dy, 0); t1 = transform.perspectiveTransform$1(position3)._v3storage; return new A.Offset(t1[0], t1[1]); }, PointerEvent_transformDeltaViaPositions(transform, transformedEndPosition, untransformedDelta, untransformedEndPosition) { if (transform == null) return untransformedDelta; if (transformedEndPosition == null) transformedEndPosition = A.PointerEvent_transformPosition(transform, untransformedEndPosition); return transformedEndPosition.$sub(0, A.PointerEvent_transformPosition(transform, untransformedEndPosition.$sub(0, untransformedDelta))); }, PointerEvent_removePerspectiveTransform(transform) { var t2, t3, t1 = new Float64Array(4), vector = new A.Vector4(t1); vector.setValues$4(0, 0, 1, 0); t2 = new Float64Array(16); t3 = new A.Matrix40(t2); t3.setFrom$1(transform); t2[11] = t1[3]; t2[10] = t1[2]; t2[9] = t1[1]; t2[8] = t1[0]; t3.setRow$2(2, vector); return t3; }, PointerAddedEvent$(device, distance, distanceMax, embedderId, kind, obscured, orientation, position, pressureMax, pressureMin, radiusMax, radiusMin, tilt, timeStamp, viewId) { return new A.PointerAddedEvent(viewId, embedderId, timeStamp, 0, kind, device, position, B.Offset_0_0, 0, false, false, 0, pressureMin, pressureMax, distance, distanceMax, 0, 0, 0, radiusMin, radiusMax, orientation, tilt, 0, false, null, null); }, PointerRemovedEvent$(device, distanceMax, embedderId, kind, obscured, position, pressureMax, pressureMin, radiusMax, radiusMin, timeStamp, viewId) { return new A.PointerRemovedEvent(viewId, embedderId, timeStamp, 0, kind, device, position, B.Offset_0_0, 0, false, false, 0, pressureMin, pressureMax, 0, distanceMax, 0, 0, 0, radiusMin, radiusMax, 0, 0, 0, false, null, null); }, PointerHoverEvent$(buttons, delta, device, distance, distanceMax, embedderId, kind, obscured, orientation, position, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, synthesized, tilt, timeStamp, viewId) { return new A.PointerHoverEvent(viewId, embedderId, timeStamp, 0, kind, device, position, delta, buttons, false, false, 0, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, 0, synthesized, null, null); }, PointerEnterEvent$(buttons, delta, device, distance, distanceMax, down, embedderId, kind, obscured, orientation, pointer, position, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, synthesized, tilt, timeStamp, viewId) { return new A.PointerEnterEvent(viewId, embedderId, timeStamp, pointer, kind, device, position, delta, buttons, down, false, 0, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, 0, synthesized, null, null); }, PointerExitEvent$(buttons, delta, device, distance, distanceMax, down, embedderId, kind, obscured, orientation, pointer, position, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, synthesized, tilt, timeStamp, viewId) { return new A.PointerExitEvent(viewId, embedderId, timeStamp, pointer, kind, device, position, delta, buttons, down, false, 0, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, 0, synthesized, null, null); }, PointerDownEvent$(buttons, device, distanceMax, embedderId, kind, obscured, orientation, pointer, position, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, tilt, timeStamp, viewId) { return new A.PointerDownEvent(viewId, embedderId, timeStamp, pointer, kind, device, position, B.Offset_0_0, buttons, true, false, pressure, pressureMin, pressureMax, 0, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, 0, false, null, null); }, PointerMoveEvent$(buttons, delta, device, distanceMax, embedderId, kind, obscured, orientation, platformData, pointer, position, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, synthesized, tilt, timeStamp, viewId) { return new A.PointerMoveEvent(viewId, embedderId, timeStamp, pointer, kind, device, position, delta, buttons, true, false, pressure, pressureMin, pressureMax, 0, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, platformData, synthesized, null, null); }, PointerUpEvent$(buttons, device, distance, distanceMax, embedderId, kind, obscured, orientation, pointer, position, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, tilt, timeStamp, viewId) { return new A.PointerUpEvent(viewId, embedderId, timeStamp, pointer, kind, device, position, B.Offset_0_0, buttons, false, false, pressure, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, 0, false, null, null); }, PointerScrollEvent$(device, embedderId, kind, position, scrollDelta, timeStamp, viewId) { return new A.PointerScrollEvent(scrollDelta, viewId, embedderId, timeStamp, 0, kind, device, position, B.Offset_0_0, 0, false, false, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, false, null, null); }, PointerScrollInertiaCancelEvent$(device, embedderId, kind, position, timeStamp, viewId) { return new A.PointerScrollInertiaCancelEvent(viewId, embedderId, timeStamp, 0, kind, device, position, B.Offset_0_0, 0, false, false, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, false, null, null); }, PointerScaleEvent$(device, embedderId, kind, position, scale, timeStamp, viewId) { return new A.PointerScaleEvent(scale, viewId, embedderId, timeStamp, 0, kind, device, position, B.Offset_0_0, 0, false, false, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, false, null, null); }, PointerPanZoomStartEvent$(device, embedderId, pointer, position, synthesized, timeStamp, viewId) { return new A.PointerPanZoomStartEvent(viewId, embedderId, timeStamp, pointer, B.PointerDeviceKind_4, device, position, B.Offset_0_0, 0, false, false, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, synthesized, null, null); }, PointerPanZoomUpdateEvent$(device, embedderId, pan, panDelta, pointer, position, rotation, scale, synthesized, timeStamp, viewId) { return new A.PointerPanZoomUpdateEvent(pan, panDelta, scale, rotation, viewId, embedderId, timeStamp, pointer, B.PointerDeviceKind_4, device, position, B.Offset_0_0, 0, false, false, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, synthesized, null, null); }, PointerPanZoomEndEvent$(device, embedderId, pointer, position, synthesized, timeStamp, viewId) { return new A.PointerPanZoomEndEvent(viewId, embedderId, timeStamp, pointer, B.PointerDeviceKind_4, device, position, B.Offset_0_0, 0, false, false, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, synthesized, null, null); }, PointerCancelEvent$(buttons, device, distance, distanceMax, embedderId, kind, obscured, orientation, pointer, position, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, tilt, timeStamp, viewId) { return new A.PointerCancelEvent(viewId, embedderId, timeStamp, pointer, kind, device, position, B.Offset_0_0, buttons, false, false, 0, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, 0, false, null, null); }, computeHitSlop(kind, settings) { var t1; switch (kind.index) { case 1: return 1; case 2: case 3: case 5: case 0: case 4: t1 = settings == null ? null : settings.touchSlop; return t1 == null ? 18 : t1; } }, computePanSlop(kind, settings) { var t1; switch (kind.index) { case 1: return 2; case 2: case 3: case 5: case 0: case 4: if (settings == null) t1 = null; else { t1 = settings.touchSlop; t1 = t1 != null ? t1 * 2 : null; } return t1 == null ? 36 : t1; } }, computeScaleSlop(kind) { switch (kind.index) { case 1: return 1; case 2: case 3: case 5: case 0: case 4: return 18; } }, PointerEvent: function PointerEvent() { }, _PointerEventDescription: function _PointerEventDescription() { }, _AbstractPointerEvent: function _AbstractPointerEvent() { }, _TransformedPointerEvent: function _TransformedPointerEvent() { }, _CopyPointerAddedEvent: function _CopyPointerAddedEvent() { }, PointerAddedEvent: function PointerAddedEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerAddedEvent: function _TransformedPointerAddedEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerRemovedEvent: function _CopyPointerRemovedEvent() { }, PointerRemovedEvent: function PointerRemovedEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerRemovedEvent: function _TransformedPointerRemovedEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerHoverEvent: function _CopyPointerHoverEvent() { }, PointerHoverEvent: function PointerHoverEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerHoverEvent: function _TransformedPointerHoverEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerEnterEvent: function _CopyPointerEnterEvent() { }, PointerEnterEvent: function PointerEnterEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerEnterEvent: function _TransformedPointerEnterEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerExitEvent: function _CopyPointerExitEvent() { }, PointerExitEvent: function PointerExitEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerExitEvent: function _TransformedPointerExitEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerDownEvent: function _CopyPointerDownEvent() { }, PointerDownEvent: function PointerDownEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerDownEvent: function _TransformedPointerDownEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerMoveEvent: function _CopyPointerMoveEvent() { }, PointerMoveEvent: function PointerMoveEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerMoveEvent: function _TransformedPointerMoveEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerUpEvent: function _CopyPointerUpEvent() { }, PointerUpEvent: function PointerUpEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerUpEvent: function _TransformedPointerUpEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, PointerSignalEvent: function PointerSignalEvent() { }, _CopyPointerScrollEvent: function _CopyPointerScrollEvent() { }, PointerScrollEvent: function PointerScrollEvent(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; _.scrollDelta = t0; _.viewId = t1; _.embedderId = t2; _.timeStamp = t3; _.pointer = t4; _.kind = t5; _.device = t6; _.position = t7; _.delta = t8; _.buttons = t9; _.down = t10; _.obscured = t11; _.pressure = t12; _.pressureMin = t13; _.pressureMax = t14; _.distance = t15; _.distanceMax = t16; _.size = t17; _.radiusMajor = t18; _.radiusMinor = t19; _.radiusMin = t20; _.radiusMax = t21; _.orientation = t22; _.tilt = t23; _.platformData = t24; _.synthesized = t25; _.transform = t26; _.original = t27; }, _TransformedPointerScrollEvent: function _TransformedPointerScrollEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerScrollInertiaCancelEvent: function _CopyPointerScrollInertiaCancelEvent() { }, PointerScrollInertiaCancelEvent: function PointerScrollInertiaCancelEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerScrollInertiaCancelEvent: function _TransformedPointerScrollInertiaCancelEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerScaleEvent: function _CopyPointerScaleEvent() { }, PointerScaleEvent: function PointerScaleEvent(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; _.scale = t0; _.viewId = t1; _.embedderId = t2; _.timeStamp = t3; _.pointer = t4; _.kind = t5; _.device = t6; _.position = t7; _.delta = t8; _.buttons = t9; _.down = t10; _.obscured = t11; _.pressure = t12; _.pressureMin = t13; _.pressureMax = t14; _.distance = t15; _.distanceMax = t16; _.size = t17; _.radiusMajor = t18; _.radiusMinor = t19; _.radiusMin = t20; _.radiusMax = t21; _.orientation = t22; _.tilt = t23; _.platformData = t24; _.synthesized = t25; _.transform = t26; _.original = t27; }, _TransformedPointerScaleEvent: function _TransformedPointerScaleEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerPanZoomStartEvent: function _CopyPointerPanZoomStartEvent() { }, PointerPanZoomStartEvent: function PointerPanZoomStartEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerPanZoomStartEvent: function _TransformedPointerPanZoomStartEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerPanZoomUpdateEvent: function _CopyPointerPanZoomUpdateEvent() { }, PointerPanZoomUpdateEvent: function PointerPanZoomUpdateEvent(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; _.pan = t0; _.panDelta = t1; _.scale = t2; _.rotation = t3; _.viewId = t4; _.embedderId = t5; _.timeStamp = t6; _.pointer = t7; _.kind = t8; _.device = t9; _.position = t10; _.delta = t11; _.buttons = t12; _.down = t13; _.obscured = t14; _.pressure = t15; _.pressureMin = t16; _.pressureMax = t17; _.distance = t18; _.distanceMax = t19; _.size = t20; _.radiusMajor = t21; _.radiusMinor = t22; _.radiusMin = t23; _.radiusMax = t24; _.orientation = t25; _.tilt = t26; _.platformData = t27; _.synthesized = t28; _.transform = t29; _.original = t30; }, _TransformedPointerPanZoomUpdateEvent: function _TransformedPointerPanZoomUpdateEvent(t0, t1) { var _ = this; _.___TransformedPointerPanZoomUpdateEvent_localPanDelta_FI = _.___TransformedPointerPanZoomUpdateEvent_localPan_FI = $; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerPanZoomEndEvent: function _CopyPointerPanZoomEndEvent() { }, PointerPanZoomEndEvent: function PointerPanZoomEndEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerPanZoomEndEvent: function _TransformedPointerPanZoomEndEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _CopyPointerCancelEvent: function _CopyPointerCancelEvent() { }, PointerCancelEvent: function PointerCancelEvent(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; _.viewId = t0; _.embedderId = t1; _.timeStamp = t2; _.pointer = t3; _.kind = t4; _.device = t5; _.position = t6; _.delta = t7; _.buttons = t8; _.down = t9; _.obscured = t10; _.pressure = t11; _.pressureMin = t12; _.pressureMax = t13; _.distance = t14; _.distanceMax = t15; _.size = t16; _.radiusMajor = t17; _.radiusMinor = t18; _.radiusMin = t19; _.radiusMax = t20; _.orientation = t21; _.tilt = t22; _.platformData = t23; _.synthesized = t24; _.transform = t25; _.original = t26; }, _TransformedPointerCancelEvent: function _TransformedPointerCancelEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta_FI = _.___TransformedPointerEvent_localPosition_FI = $; }, _PointerAddedEvent_PointerEvent__PointerEventDescription: function _PointerAddedEvent_PointerEvent__PointerEventDescription() { }, _PointerAddedEvent_PointerEvent__PointerEventDescription__CopyPointerAddedEvent: function _PointerAddedEvent_PointerEvent__PointerEventDescription__CopyPointerAddedEvent() { }, _PointerCancelEvent_PointerEvent__PointerEventDescription: function _PointerCancelEvent_PointerEvent__PointerEventDescription() { }, _PointerCancelEvent_PointerEvent__PointerEventDescription__CopyPointerCancelEvent: function _PointerCancelEvent_PointerEvent__PointerEventDescription__CopyPointerCancelEvent() { }, _PointerDownEvent_PointerEvent__PointerEventDescription: function _PointerDownEvent_PointerEvent__PointerEventDescription() { }, _PointerDownEvent_PointerEvent__PointerEventDescription__CopyPointerDownEvent: function _PointerDownEvent_PointerEvent__PointerEventDescription__CopyPointerDownEvent() { }, _PointerEnterEvent_PointerEvent__PointerEventDescription: function _PointerEnterEvent_PointerEvent__PointerEventDescription() { }, _PointerEnterEvent_PointerEvent__PointerEventDescription__CopyPointerEnterEvent: function _PointerEnterEvent_PointerEvent__PointerEventDescription__CopyPointerEnterEvent() { }, _PointerEvent_Object_Diagnosticable: function _PointerEvent_Object_Diagnosticable() { }, _PointerExitEvent_PointerEvent__PointerEventDescription: function _PointerExitEvent_PointerEvent__PointerEventDescription() { }, _PointerExitEvent_PointerEvent__PointerEventDescription__CopyPointerExitEvent: function _PointerExitEvent_PointerEvent__PointerEventDescription__CopyPointerExitEvent() { }, _PointerHoverEvent_PointerEvent__PointerEventDescription: function _PointerHoverEvent_PointerEvent__PointerEventDescription() { }, _PointerHoverEvent_PointerEvent__PointerEventDescription__CopyPointerHoverEvent: function _PointerHoverEvent_PointerEvent__PointerEventDescription__CopyPointerHoverEvent() { }, _PointerMoveEvent_PointerEvent__PointerEventDescription: function _PointerMoveEvent_PointerEvent__PointerEventDescription() { }, _PointerMoveEvent_PointerEvent__PointerEventDescription__CopyPointerMoveEvent: function _PointerMoveEvent_PointerEvent__PointerEventDescription__CopyPointerMoveEvent() { }, _PointerPanZoomEndEvent_PointerEvent__PointerEventDescription: function _PointerPanZoomEndEvent_PointerEvent__PointerEventDescription() { }, _PointerPanZoomEndEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomEndEvent: function _PointerPanZoomEndEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomEndEvent() { }, _PointerPanZoomStartEvent_PointerEvent__PointerEventDescription: function _PointerPanZoomStartEvent_PointerEvent__PointerEventDescription() { }, _PointerPanZoomStartEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomStartEvent: function _PointerPanZoomStartEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomStartEvent() { }, _PointerPanZoomUpdateEvent_PointerEvent__PointerEventDescription: function _PointerPanZoomUpdateEvent_PointerEvent__PointerEventDescription() { }, _PointerPanZoomUpdateEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomUpdateEvent: function _PointerPanZoomUpdateEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomUpdateEvent() { }, _PointerRemovedEvent_PointerEvent__PointerEventDescription: function _PointerRemovedEvent_PointerEvent__PointerEventDescription() { }, _PointerRemovedEvent_PointerEvent__PointerEventDescription__CopyPointerRemovedEvent: function _PointerRemovedEvent_PointerEvent__PointerEventDescription__CopyPointerRemovedEvent() { }, _PointerScaleEvent_PointerSignalEvent__PointerEventDescription: function _PointerScaleEvent_PointerSignalEvent__PointerEventDescription() { }, _PointerScaleEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScaleEvent: function _PointerScaleEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScaleEvent() { }, _PointerScrollEvent_PointerSignalEvent__PointerEventDescription: function _PointerScrollEvent_PointerSignalEvent__PointerEventDescription() { }, _PointerScrollEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollEvent: function _PointerScrollEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollEvent() { }, _PointerScrollInertiaCancelEvent_PointerSignalEvent__PointerEventDescription: function _PointerScrollInertiaCancelEvent_PointerSignalEvent__PointerEventDescription() { }, _PointerScrollInertiaCancelEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollInertiaCancelEvent: function _PointerScrollInertiaCancelEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollInertiaCancelEvent() { }, _PointerUpEvent_PointerEvent__PointerEventDescription: function _PointerUpEvent_PointerEvent__PointerEventDescription() { }, _PointerUpEvent_PointerEvent__PointerEventDescription__CopyPointerUpEvent: function _PointerUpEvent_PointerEvent__PointerEventDescription__CopyPointerUpEvent() { }, __TransformedPointerAddedEvent__TransformedPointerEvent__CopyPointerAddedEvent: function __TransformedPointerAddedEvent__TransformedPointerEvent__CopyPointerAddedEvent() { }, __TransformedPointerCancelEvent__TransformedPointerEvent__CopyPointerCancelEvent: function __TransformedPointerCancelEvent__TransformedPointerEvent__CopyPointerCancelEvent() { }, __TransformedPointerDownEvent__TransformedPointerEvent__CopyPointerDownEvent: function __TransformedPointerDownEvent__TransformedPointerEvent__CopyPointerDownEvent() { }, __TransformedPointerEnterEvent__TransformedPointerEvent__CopyPointerEnterEvent: function __TransformedPointerEnterEvent__TransformedPointerEvent__CopyPointerEnterEvent() { }, __TransformedPointerEvent__AbstractPointerEvent_Diagnosticable: function __TransformedPointerEvent__AbstractPointerEvent_Diagnosticable() { }, __TransformedPointerEvent__AbstractPointerEvent_Diagnosticable__PointerEventDescription: function __TransformedPointerEvent__AbstractPointerEvent_Diagnosticable__PointerEventDescription() { }, __TransformedPointerExitEvent__TransformedPointerEvent__CopyPointerExitEvent: function __TransformedPointerExitEvent__TransformedPointerEvent__CopyPointerExitEvent() { }, __TransformedPointerHoverEvent__TransformedPointerEvent__CopyPointerHoverEvent: function __TransformedPointerHoverEvent__TransformedPointerEvent__CopyPointerHoverEvent() { }, __TransformedPointerMoveEvent__TransformedPointerEvent__CopyPointerMoveEvent: function __TransformedPointerMoveEvent__TransformedPointerEvent__CopyPointerMoveEvent() { }, __TransformedPointerPanZoomEndEvent__TransformedPointerEvent__CopyPointerPanZoomEndEvent: function __TransformedPointerPanZoomEndEvent__TransformedPointerEvent__CopyPointerPanZoomEndEvent() { }, __TransformedPointerPanZoomStartEvent__TransformedPointerEvent__CopyPointerPanZoomStartEvent: function __TransformedPointerPanZoomStartEvent__TransformedPointerEvent__CopyPointerPanZoomStartEvent() { }, __TransformedPointerPanZoomUpdateEvent__TransformedPointerEvent__CopyPointerPanZoomUpdateEvent: function __TransformedPointerPanZoomUpdateEvent__TransformedPointerEvent__CopyPointerPanZoomUpdateEvent() { }, __TransformedPointerRemovedEvent__TransformedPointerEvent__CopyPointerRemovedEvent: function __TransformedPointerRemovedEvent__TransformedPointerEvent__CopyPointerRemovedEvent() { }, __TransformedPointerScaleEvent__TransformedPointerEvent__CopyPointerScaleEvent: function __TransformedPointerScaleEvent__TransformedPointerEvent__CopyPointerScaleEvent() { }, __TransformedPointerScrollEvent__TransformedPointerEvent__CopyPointerScrollEvent: function __TransformedPointerScrollEvent__TransformedPointerEvent__CopyPointerScrollEvent() { }, __TransformedPointerScrollInertiaCancelEvent__TransformedPointerEvent__CopyPointerScrollInertiaCancelEvent: function __TransformedPointerScrollInertiaCancelEvent__TransformedPointerEvent__CopyPointerScrollInertiaCancelEvent() { }, __TransformedPointerUpEvent__TransformedPointerEvent__CopyPointerUpEvent: function __TransformedPointerUpEvent__TransformedPointerEvent__CopyPointerUpEvent() { }, ForcePressGestureRecognizer$(debugOwner, supportedDevices) { var t1 = type$.int, t2 = A.HashSet_HashSet(t1); return new A.ForcePressGestureRecognizer(B._ForceState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, debugOwner, supportedDevices, A.recognizer_GestureRecognizer__defaultButtonAcceptBehavior$closure(), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, ForcePressGestureRecognizer__inverseLerp(min, max, t) { var value = (t - min) / (max - min); return !isNaN(value) ? A.clampDouble(value, 0, 1) : value; }, _ForceState: function _ForceState(t0, t1) { this.index = t0; this._core$_name = t1; }, ForcePressDetails: function ForcePressDetails(t0) { this.globalPosition = t0; }, ForcePressGestureRecognizer: function ForcePressGestureRecognizer(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.onEnd = _.onPeak = _.onUpdate = _.onStart = null; _.__ForcePressGestureRecognizer__lastPressure_A = _.__ForcePressGestureRecognizer__lastPosition_A = $; _._force_press$_state = t0; _._recognizer$_entries = t1; _._trackedPointers = t2; _._team = null; _.debugOwner = t3; _.gestureSettings = null; _.supportedDevices = t4; _._allowedButtonsFilter = t5; _._pointerToKind = t6; }, ForcePressGestureRecognizer_handleEvent_closure: function ForcePressGestureRecognizer_handleEvent_closure(t0, t1) { this.$this = t0; this.pressure = t1; }, ForcePressGestureRecognizer_acceptGesture_closure: function ForcePressGestureRecognizer_acceptGesture_closure(t0) { this.$this = t0; }, ForcePressGestureRecognizer_didStopTrackingLastPointer_closure: function ForcePressGestureRecognizer_didStopTrackingLastPointer_closure(t0) { this.$this = t0; }, DeviceGestureSettings: function DeviceGestureSettings(t0) { this.touchSlop = t0; }, HitTestResult$() { var t1 = A._setArrayType([], type$.JSArray_HitTestEntry_HitTestTarget), t2 = new A.Matrix40(new Float64Array(16)); t2.setIdentity$0(); return new A.HitTestResult(t1, A._setArrayType([t2], type$.JSArray_Matrix4_2), A._setArrayType([], type$.JSArray__TransformPart)); }, HitTestEntry: function HitTestEntry(t0, t1) { this.target = t0; this._transform = null; this.$ti = t1; }, _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; }, LongPressGestureRecognizer$(debugOwner, duration, supportedDevices) { var t1 = duration == null ? B.Duration_500000 : duration, t2 = type$.int, t3 = A.HashSet_HashSet(t2), t4 = A.long_press_LongPressGestureRecognizer__defaultButtonAcceptBehavior$closure(); return new A.LongPressGestureRecognizer(t1, null, B.GestureRecognizerState_0, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.GestureArenaEntry), t3, debugOwner, supportedDevices, t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.PointerDeviceKind)); }, LongPressGestureRecognizer__defaultButtonAcceptBehavior(buttons) { return buttons === 1 || buttons === 2 || buttons === 4; }, LongPressDownDetails: function LongPressDownDetails() { }, 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, t8) { var _ = this; _._longPressAccepted = false; _._velocityTracker = _.onTertiaryLongPressEnd = _.onTertiaryLongPressUp = _.onTertiaryLongPressMoveUpdate = _.onTertiaryLongPressStart = _.onTertiaryLongPress = _.onTertiaryLongPressCancel = _.onTertiaryLongPressDown = _.onSecondaryLongPressEnd = _.onSecondaryLongPressUp = _.onSecondaryLongPressMoveUpdate = _.onSecondaryLongPressStart = _.onSecondaryLongPress = _.onSecondaryLongPressCancel = _.onSecondaryLongPressDown = _.onLongPressEnd = _.onLongPressUp = _.onLongPressMoveUpdate = _.onLongPressStart = _.onLongPress = _.onLongPressCancel = _.onLongPressDown = _._initialButtons = _._longPressOrigin = null; _.deadline = t0; _.postAcceptSlopTolerance = t1; _._recognizer$_state = t2; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t3; _._trackedPointers = t4; _._team = null; _.debugOwner = t5; _.gestureSettings = null; _.supportedDevices = t6; _._allowedButtonsFilter = t7; _._pointerToKind = t8; }, LongPressGestureRecognizer__checkLongPressDown_closure: function LongPressGestureRecognizer__checkLongPressDown_closure(t0, t1) { this.$this = t0; this.details = t1; }, 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; }, _Vector: function _Vector(t0, t1, t2) { this._lsq_solver$_offset = t0; this._lsq_solver$_length = t1; this._lsq_solver$_elements = t2; }, _Matrix: function _Matrix(t0, t1) { this._lsq_solver$_columns = t0; this._lsq_solver$_elements = t1; }, PolynomialFit: function PolynomialFit(t0) { this.coefficients = t0; this.__PolynomialFit_confidence_A = $; }, PolynomialFit_toString_closure: function PolynomialFit_toString_closure() { }, LeastSquaresSolver: function LeastSquaresSolver(t0, t1, t2) { this.x = t0; this.y = t1; this.w = t2; }, DragGestureRecognizer__defaultBuilder($event) { return new A.VelocityTracker($event.get$kind($event), A.List_List$filled(20, null, false, type$.nullable__PointAtTime)); }, DragGestureRecognizer__defaultButtonAcceptBehavior(buttons) { return buttons === 1; }, VerticalDragGestureRecognizer$(debugOwner, supportedDevices) { var t1 = type$.int, t2 = A._setArrayType([], type$.JSArray_int), t3 = A.HashSet_HashSet(t1), t4 = A.monodrag_DragGestureRecognizer__defaultButtonAcceptBehavior$closure(); return new A.VerticalDragGestureRecognizer(B.DragStartBehavior_1, B.MultitouchDragStrategy_0, A.monodrag_DragGestureRecognizer__defaultBuilder$closure(), B._DragState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t3, debugOwner, supportedDevices, t4, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, HorizontalDragGestureRecognizer$(debugOwner, supportedDevices) { var t1 = type$.int, t2 = A._setArrayType([], type$.JSArray_int), t3 = A.HashSet_HashSet(t1), t4 = A.monodrag_DragGestureRecognizer__defaultButtonAcceptBehavior$closure(); return new A.HorizontalDragGestureRecognizer(B.DragStartBehavior_1, B.MultitouchDragStrategy_0, A.monodrag_DragGestureRecognizer__defaultBuilder$closure(), B._DragState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t3, debugOwner, supportedDevices, t4, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, PanGestureRecognizer$(debugOwner, supportedDevices) { var t1 = type$.int, t2 = A._setArrayType([], type$.JSArray_int), t3 = A.HashSet_HashSet(t1), t4 = A.monodrag_DragGestureRecognizer__defaultButtonAcceptBehavior$closure(); return new A.PanGestureRecognizer(B.DragStartBehavior_1, B.MultitouchDragStrategy_0, A.monodrag_DragGestureRecognizer__defaultBuilder$closure(), B._DragState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t3, debugOwner, supportedDevices, t4, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, _DragState: function _DragState(t0, t1) { this.index = t0; this._core$_name = t1; }, 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() { }, DragGestureRecognizer__checkEnd_closure0: function DragGestureRecognizer__checkEnd_closure0(t0, t1) { this._box_0 = t0; this.estimate = t1; }, DragGestureRecognizer__checkEnd_closure1: function DragGestureRecognizer__checkEnd_closure1(t0) { this.estimate = t0; }, DragGestureRecognizer__checkEnd_closure2: function DragGestureRecognizer__checkEnd_closure2(t0, t1) { this._box_0 = t0; this.$this = t1; }, VerticalDragGestureRecognizer: function VerticalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.dragStartBehavior = t0; _.multitouchDragStrategy = t1; _.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null; _.onlyAcceptDragOnThreshold = false; _.velocityTrackerBuilder = t2; _._monodrag$_state = t3; _.__DragGestureRecognizer__pendingDragOffset_A = _.__DragGestureRecognizer__initialPosition_A = $; _._monodrag$_lastTransform = _._monodrag$_initialButtons = _._lastPendingEventTimestamp = null; _.__DragGestureRecognizer__globalDistanceMoved_A = $; _._hasDragThresholdBeenMet = false; _._monodrag$_velocityTrackers = t4; _._acceptedActivePointers = t5; _._recognizer$_entries = t6; _._trackedPointers = t7; _._team = null; _.debugOwner = t8; _.gestureSettings = null; _.supportedDevices = t9; _._allowedButtonsFilter = t10; _._pointerToKind = t11; }, HorizontalDragGestureRecognizer: function HorizontalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.dragStartBehavior = t0; _.multitouchDragStrategy = t1; _.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null; _.onlyAcceptDragOnThreshold = false; _.velocityTrackerBuilder = t2; _._monodrag$_state = t3; _.__DragGestureRecognizer__pendingDragOffset_A = _.__DragGestureRecognizer__initialPosition_A = $; _._monodrag$_lastTransform = _._monodrag$_initialButtons = _._lastPendingEventTimestamp = null; _.__DragGestureRecognizer__globalDistanceMoved_A = $; _._hasDragThresholdBeenMet = false; _._monodrag$_velocityTrackers = t4; _._acceptedActivePointers = t5; _._recognizer$_entries = t6; _._trackedPointers = t7; _._team = null; _.debugOwner = t8; _.gestureSettings = null; _.supportedDevices = t9; _._allowedButtonsFilter = t10; _._pointerToKind = t11; }, PanGestureRecognizer: function PanGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.dragStartBehavior = t0; _.multitouchDragStrategy = t1; _.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null; _.onlyAcceptDragOnThreshold = false; _.velocityTrackerBuilder = t2; _._monodrag$_state = t3; _.__DragGestureRecognizer__pendingDragOffset_A = _.__DragGestureRecognizer__initialPosition_A = $; _._monodrag$_lastTransform = _._monodrag$_initialButtons = _._lastPendingEventTimestamp = null; _.__DragGestureRecognizer__globalDistanceMoved_A = $; _._hasDragThresholdBeenMet = false; _._monodrag$_velocityTrackers = t4; _._acceptedActivePointers = t5; _._recognizer$_entries = t6; _._trackedPointers = t7; _._team = null; _.debugOwner = t8; _.gestureSettings = null; _.supportedDevices = t9; _._allowedButtonsFilter = t10; _._pointerToKind = t11; }, MultiDragGestureRecognizer__defaultButtonAcceptBehavior(buttons) { return buttons === 1; }, MultiDragPointerState: function MultiDragPointerState() { }, MultiDragGestureRecognizer: function MultiDragGestureRecognizer() { }, MultiDragGestureRecognizer_acceptGesture_closure: function MultiDragGestureRecognizer_acceptGesture_closure(t0, t1) { this.$this = t0; this.pointer = t1; }, MultiDragGestureRecognizer__startDrag_closure: function MultiDragGestureRecognizer__startDrag_closure(t0, t1) { this.$this = t0; this.initialPosition = t1; }, _ImmediatePointerState: function _ImmediatePointerState(t0, t1, t2, t3, t4) { var _ = this; _.gestureSettings = t0; _.initialPosition = t1; _._multidrag$_velocityTracker = t2; _.kind = t3; _._multidrag$_client = null; _._pendingDelta = t4; _._arenaEntry = _._multidrag$_lastPendingEventTimestamp = null; }, ImmediateMultiDragGestureRecognizer: function ImmediateMultiDragGestureRecognizer(t0, t1, t2, t3, t4) { var _ = this; _.onStart = null; _._pointers = t0; _.debugOwner = t1; _.gestureSettings = null; _.supportedDevices = t2; _._allowedButtonsFilter = t3; _._pointerToKind = t4; }, _DelayedPointerState: function _DelayedPointerState(t0, t1, t2, t3, t4) { var _ = this; _._starter = _._multidrag$_timer = null; _.gestureSettings = t0; _.initialPosition = t1; _._multidrag$_velocityTracker = t2; _.kind = t3; _._multidrag$_client = null; _._pendingDelta = t4; _._arenaEntry = _._multidrag$_lastPendingEventTimestamp = null; }, DelayedMultiDragGestureRecognizer: function DelayedMultiDragGestureRecognizer(t0, t1, t2, t3, t4) { var _ = this; _.onStart = null; _._pointers = t0; _.debugOwner = t1; _.gestureSettings = null; _.supportedDevices = t2; _._allowedButtonsFilter = t3; _._pointerToKind = t4; }, DoubleTapGestureRecognizer__defaultButtonAcceptBehavior(buttons) { return buttons === 1; }, _CountdownZoned: function _CountdownZoned() { this._timeout = false; }, _TapTracker: function _TapTracker(t0, t1, t2, t3, t4) { var _ = this; _.pointer = t0; _.entry = t1; _._initialGlobalPosition = t2; _.initialButtons = t3; _._doubleTapMinTimeCountdown = t4; _._isTrackingPointer = false; }, DoubleTapGestureRecognizer: function DoubleTapGestureRecognizer(t0, t1, t2, t3, t4) { var _ = this; _._firstTap = _._doubleTapTimer = _.onDoubleTapCancel = _.onDoubleTap = _.onDoubleTapDown = null; _._trackers = t0; _.debugOwner = t1; _.gestureSettings = null; _.supportedDevices = t2; _._allowedButtonsFilter = t3; _._pointerToKind = t4; }, 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; }, PointerSignalResolver: function PointerSignalResolver() { this._currentEvent = this._firstRegisteredCallback = null; }, GestureRecognizer__defaultButtonAcceptBehavior(buttons) { return true; }, DragStartBehavior: function DragStartBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, MultitouchDragStrategy: function MultitouchDragStrategy(t0, t1) { this.index = t0; this._core$_name = t1; }, GestureRecognizer: function GestureRecognizer() { }, OneSequenceGestureRecognizer: function OneSequenceGestureRecognizer() { }, GestureRecognizerState: function GestureRecognizerState(t0, t1) { this.index = t0; this._core$_name = t1; }, 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() { }, ScaleUpdateDetails$(focalPoint, focalPointDelta, horizontalScale, localFocalPoint, pointerCount, rotation, scale, sourceTimeStamp, verticalScale) { return new A.ScaleUpdateDetails(focalPointDelta, focalPoint, localFocalPoint, scale, horizontalScale, verticalScale, rotation, pointerCount, sourceTimeStamp); }, _ScaleState: function _ScaleState(t0, t1) { this.index = t0; this._core$_name = t1; }, _PointerPanZoomData: function _PointerPanZoomData(t0, t1, t2, t3, t4) { var _ = this; _.parent = t0; _._scale$_position = t1; _._pan = t2; _._scale$_scale = t3; _._rotation = t4; }, ScaleStartDetails: function ScaleStartDetails(t0, t1, t2) { this.focalPoint = t0; this.localFocalPoint = t1; this.pointerCount = t2; }, ScaleUpdateDetails: function ScaleUpdateDetails(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.focalPointDelta = t0; _.focalPoint = t1; _.localFocalPoint = t2; _.scale = t3; _.horizontalScale = t4; _.verticalScale = t5; _.rotation = t6; _.pointerCount = t7; _.sourceTimeStamp = t8; }, ScaleEndDetails: function ScaleEndDetails(t0, t1, t2) { this.velocity = t0; this.scaleVelocity = t1; this.pointerCount = t2; }, _LineBetweenPointers: function _LineBetweenPointers(t0, t1, t2, t3) { var _ = this; _.pointerStartLocation = t0; _.pointerStartId = t1; _.pointerEndLocation = t2; _.pointerEndId = t3; }, ScaleGestureRecognizer: function ScaleGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.dragStartBehavior = t0; _.onEnd = _.onUpdate = _.onStart = null; _._scale$_state = t1; _._lastTransform = null; _.trackpadScrollCausesScale = false; _.trackpadScrollToScaleFactor = t2; _.__ScaleGestureRecognizer__initialFocalPoint_A = $; _._currentFocalPoint = null; _.__ScaleGestureRecognizer__localFocalPoint_A = _.__ScaleGestureRecognizer__currentVerticalSpan_A = _.__ScaleGestureRecognizer__initialVerticalSpan_A = _.__ScaleGestureRecognizer__currentHorizontalSpan_A = _.__ScaleGestureRecognizer__initialHorizontalSpan_A = _.__ScaleGestureRecognizer__currentSpan_A = _.__ScaleGestureRecognizer__initialSpan_A = $; _._scale$_currentLine = _._initialLine = null; _._pointerLocations = t3; _._pointerQueue = t4; _._velocityTrackers = t5; _._scaleVelocityTracker = null; _.__ScaleGestureRecognizer__delta_A = $; _._pointerPanZooms = t6; _._initialPanZoomScaleFactor = 1; _._initialPanZoomRotationFactor = 0; _._initialEventTimestamp = null; _._recognizer$_entries = t7; _._trackedPointers = t8; _._team = null; _.debugOwner = t9; _.gestureSettings = null; _.supportedDevices = t10; _._allowedButtonsFilter = t11; _._pointerToKind = t12; }, ScaleGestureRecognizer__reconfigure_closure: function ScaleGestureRecognizer__reconfigure_closure() { }, ScaleGestureRecognizer__reconfigure_closure0: function ScaleGestureRecognizer__reconfigure_closure0() { }, ScaleGestureRecognizer__reconfigure_closure1: function ScaleGestureRecognizer__reconfigure_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, ScaleGestureRecognizer__reconfigure_closure2: function ScaleGestureRecognizer__reconfigure_closure2(t0) { this.$this = t0; }, ScaleGestureRecognizer__advanceStateMachine_closure: function ScaleGestureRecognizer__advanceStateMachine_closure(t0, t1) { this.$this = t0; this.event = t1; }, ScaleGestureRecognizer__dispatchOnStartCallbackIfNeeded_closure: function ScaleGestureRecognizer__dispatchOnStartCallbackIfNeeded_closure(t0) { this.$this = t0; }, ScaleGestureRecognizer_acceptGesture_closure: function ScaleGestureRecognizer_acceptGesture_closure() { }, ScaleGestureRecognizer_acceptGesture_closure0: function ScaleGestureRecognizer_acceptGesture_closure0() { }, TapGestureRecognizer$(debugOwner, supportedDevices) { var t1 = type$.int, t2 = A.HashSet_HashSet(t1); return new A.TapGestureRecognizer(B.Duration_100000, 18, B.GestureRecognizerState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, debugOwner, supportedDevices, A.recognizer_GestureRecognizer__defaultButtonAcceptBehavior$closure(), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, TapDownDetails: function TapDownDetails(t0, t1) { this.globalPosition = t0; this.localPosition = t1; }, TapUpDetails: function TapUpDetails(t0, t1) { this.globalPosition = t0; this.localPosition = t1; }, BaseTapGestureRecognizer: function BaseTapGestureRecognizer() { }, TapGestureRecognizer: function TapGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.onTertiaryTapCancel = _.onTertiaryTapUp = _.onTertiaryTapDown = _.onSecondaryTapCancel = _.onSecondaryTapUp = _.onSecondaryTapDown = _.onSecondaryTap = _.onTapCancel = _.onTap = _.onTapUp = _.onTapDown = null; _._wonArenaForPrimaryPointer = _._sentTapDown = false; _._up = _._down = null; _.deadline = t0; _.postAcceptSlopTolerance = t1; _._recognizer$_state = t2; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t3; _._trackedPointers = t4; _._team = null; _.debugOwner = t5; _.gestureSettings = null; _.supportedDevices = t6; _._allowedButtonsFilter = t7; _._pointerToKind = t8; }, 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, t1) { this.$this = t0; this.details = t1; }, TapGestureRecognizer_handleTapUp_closure1: function TapGestureRecognizer_handleTapUp_closure1(t0) { this.$this = t0; }, _DragState0: function _DragState0(t0, t1) { this.index = t0; this._core$_name = t1; }, TapDragDownDetails: function TapDragDownDetails(t0, t1, t2, t3) { var _ = this; _.globalPosition = t0; _.localPosition = t1; _.kind = t2; _.consecutiveTapCount = t3; }, TapDragUpDetails: function TapDragUpDetails(t0, t1, t2, t3) { var _ = this; _.globalPosition = t0; _.localPosition = t1; _.kind = t2; _.consecutiveTapCount = t3; }, TapDragStartDetails: function TapDragStartDetails(t0, t1, t2, t3, t4) { var _ = this; _.sourceTimeStamp = t0; _.globalPosition = t1; _.localPosition = t2; _.kind = t3; _.consecutiveTapCount = t4; }, TapDragUpdateDetails: function TapDragUpdateDetails(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.sourceTimeStamp = t0; _.delta = t1; _.globalPosition = t2; _.localPosition = t3; _.kind = t4; _.offsetFromOrigin = t5; _.localOffsetFromOrigin = t6; _.consecutiveTapCount = t7; }, TapDragEndDetails: function TapDragEndDetails(t0, t1) { this.primaryVelocity = t0; this.consecutiveTapCount = t1; }, _TapStatusTrackerMixin: function _TapStatusTrackerMixin() { }, BaseTapAndDragGestureRecognizer: function BaseTapAndDragGestureRecognizer() { }, BaseTapAndDragGestureRecognizer__handleDragUpdateThrottled_closure: function BaseTapAndDragGestureRecognizer__handleDragUpdateThrottled_closure(t0) { this.$this = t0; }, BaseTapAndDragGestureRecognizer_addAllowedPointer_closure: function BaseTapAndDragGestureRecognizer_addAllowedPointer_closure(t0, t1) { this.$this = t0; this.event = t1; }, BaseTapAndDragGestureRecognizer__checkTapDown_closure: function BaseTapAndDragGestureRecognizer__checkTapDown_closure(t0, t1) { this.$this = t0; this.details = t1; }, BaseTapAndDragGestureRecognizer__checkTapUp_closure: function BaseTapAndDragGestureRecognizer__checkTapUp_closure(t0, t1) { this.$this = t0; this.upDetails = t1; }, BaseTapAndDragGestureRecognizer__checkDragStart_closure: function BaseTapAndDragGestureRecognizer__checkDragStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, BaseTapAndDragGestureRecognizer__checkDragUpdate_closure: function BaseTapAndDragGestureRecognizer__checkDragUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, BaseTapAndDragGestureRecognizer__checkDragEnd_closure: function BaseTapAndDragGestureRecognizer__checkDragEnd_closure(t0, t1) { this.$this = t0; this.endDetails = t1; }, TapAndHorizontalDragGestureRecognizer: function TapAndHorizontalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.dragStartBehavior = t0; _.onCancel = _.onDragEnd = _.onDragUpdate = _.onDragStart = _.onTapUp = _.onTapDown = null; _._tap_and_drag$_wonArenaForPrimaryPointer = _._tap_and_drag$_sentTapDown = _._pastSlopTolerance = false; _._deadlineTimer = _._tap_and_drag$_primaryPointer = null; _._dragState = t1; _._tap_and_drag$_start = null; _.__BaseTapAndDragGestureRecognizer__globalDistanceMovedAllAxes_A = _.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A = _.__BaseTapAndDragGestureRecognizer__initialPosition_A = $; _._dragUpdateThrottleTimer = _._lastDragUpdateDetails = _._correctedPosition = null; _._tap_and_drag$_acceptedActivePointers = t2; _._TapStatusTrackerMixin__down = t3; _._TapStatusTrackerMixin__up = t4; _._TapStatusTrackerMixin__consecutiveTapCount = t5; _._TapStatusTrackerMixin__originPosition = t6; _._TapStatusTrackerMixin__previousButtons = t7; _._TapStatusTrackerMixin__consecutiveTapTimer = t8; _._TapStatusTrackerMixin__lastTapOffset = t9; _._TapStatusTrackerMixin_onTapTrackStart = t10; _._TapStatusTrackerMixin_onTapTrackReset = t11; _._recognizer$_entries = t12; _._trackedPointers = t13; _._team = null; _.debugOwner = t14; _.gestureSettings = null; _.supportedDevices = t15; _._allowedButtonsFilter = t16; _._pointerToKind = t17; }, TapAndPanGestureRecognizer: function TapAndPanGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.dragStartBehavior = t0; _.onCancel = _.onDragEnd = _.onDragUpdate = _.onDragStart = _.onTapUp = _.onTapDown = null; _._tap_and_drag$_wonArenaForPrimaryPointer = _._tap_and_drag$_sentTapDown = _._pastSlopTolerance = false; _._deadlineTimer = _._tap_and_drag$_primaryPointer = null; _._dragState = t1; _._tap_and_drag$_start = null; _.__BaseTapAndDragGestureRecognizer__globalDistanceMovedAllAxes_A = _.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A = _.__BaseTapAndDragGestureRecognizer__initialPosition_A = $; _._dragUpdateThrottleTimer = _._lastDragUpdateDetails = _._correctedPosition = null; _._tap_and_drag$_acceptedActivePointers = t2; _._TapStatusTrackerMixin__down = t3; _._TapStatusTrackerMixin__up = t4; _._TapStatusTrackerMixin__consecutiveTapCount = t5; _._TapStatusTrackerMixin__originPosition = t6; _._TapStatusTrackerMixin__previousButtons = t7; _._TapStatusTrackerMixin__consecutiveTapTimer = t8; _._TapStatusTrackerMixin__lastTapOffset = t9; _._TapStatusTrackerMixin_onTapTrackStart = t10; _._TapStatusTrackerMixin_onTapTrackReset = t11; _._recognizer$_entries = t12; _._trackedPointers = t13; _._team = null; _.debugOwner = t14; _.gestureSettings = null; _.supportedDevices = t15; _._allowedButtonsFilter = t16; _._pointerToKind = t17; }, _BaseTapAndDragGestureRecognizer_OneSequenceGestureRecognizer__TapStatusTrackerMixin: function _BaseTapAndDragGestureRecognizer_OneSequenceGestureRecognizer__TapStatusTrackerMixin() { }, _TapDragDownDetails_Object_Diagnosticable: function _TapDragDownDetails_Object_Diagnosticable() { }, _TapDragEndDetails_Object_Diagnosticable: function _TapDragEndDetails_Object_Diagnosticable() { }, _TapDragStartDetails_Object_Diagnosticable: function _TapDragStartDetails_Object_Diagnosticable() { }, _TapDragUpDetails_Object_Diagnosticable: function _TapDragUpDetails_Object_Diagnosticable() { }, _TapDragUpdateDetails_Object_Diagnosticable: function _TapDragUpdateDetails_Object_Diagnosticable() { }, _CombiningGestureArenaEntry: function _CombiningGestureArenaEntry(t0, t1) { this._combiner = t0; this._team$_member = t1; }, _CombiningGestureArenaMember: function _CombiningGestureArenaMember(t0, t1, t2) { var _ = this; _._team$_owner = t0; _._members = t1; _._team$_pointer = t2; _._resolved = false; _._entry = _._winner = null; }, GestureArenaTeam: function GestureArenaTeam(t0) { this._combiners = t0; this.captain = null; }, GestureArenaTeam_add_closure: function GestureArenaTeam_add_closure(t0, t1) { this.$this = t0; this.pointer = t1; }, IOSScrollViewFlingVelocityTracker$(kind) { var t1 = type$.nullable__PointAtTime; return new A.IOSScrollViewFlingVelocityTracker(A.List_List$filled(20, null, false, t1), kind, A.List_List$filled(20, null, false, t1)); }, 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) { var _ = this; _.kind = t0; _._stopwatch = null; _._samples = t1; _._velocity_tracker$_index = 0; }, IOSScrollViewFlingVelocityTracker: function IOSScrollViewFlingVelocityTracker(t0, t1, t2) { var _ = this; _._touchSamples = t0; _.kind = t1; _._stopwatch = null; _._samples = t2; _._velocity_tracker$_index = 0; }, MacOSScrollViewFlingVelocityTracker: function MacOSScrollViewFlingVelocityTracker(t0, t1, t2) { var _ = this; _._touchSamples = t0; _.kind = t1; _._stopwatch = null; _._samples = t2; _._velocity_tracker$_index = 0; }, showLicensePage(applicationIcon, applicationLegalese, applicationName, applicationVersion, context) { A.Navigator_of(context, false).push$1(A.MaterialPageRoute$(new A.showLicensePage_closure(applicationName, applicationVersion, applicationIcon, applicationLegalese), null, type$.void)); }, _PackagesViewState$() { var t1 = type$._LicenseData; return new A._PackagesViewState(A.LicenseRegistry_licenses().fold$1$2(0, new A._LicenseData(A._setArrayType([], type$.JSArray_LicenseEntry), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_int), A._setArrayType([], type$.JSArray_String)), new A._PackagesViewState_licenses_closure(), t1).then$1$1(0, new A._PackagesViewState_licenses_closure0(), t1), B._StateLifecycle_0); }, _MasterDetailFlow_of(context) { var pageOpener = context.findAncestorStateOfType$1$0(type$._MasterDetailScaffoldState), t1 = pageOpener == null ? context.findAncestorStateOfType$1$0(type$._MasterDetailFlowState) : pageOpener; t1.toString; return new A._MasterDetailFlowProxy(t1); }, showLicensePage_closure: function showLicensePage_closure(t0, t1, t2, t3) { var _ = this; _.applicationName = t0; _.applicationVersion = t1; _.applicationIcon = t2; _.applicationLegalese = t3; }, LicensePage: function LicensePage(t0, t1, t2, t3, t4) { var _ = this; _.applicationName = t0; _.applicationVersion = t1; _.applicationIcon = t2; _.applicationLegalese = t3; _.key = t4; }, _LicensePageState: function _LicensePageState(t0, t1) { var _ = this; _.selectedId = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AboutProgram: function _AboutProgram(t0, t1, t2, t3, t4) { var _ = this; _.name = t0; _.version = t1; _.icon = t2; _.legalese = t3; _.key = t4; }, _PackagesView: function _PackagesView(t0, t1, t2, t3) { var _ = this; _.about = t0; _.isLateral = t1; _.selectedId = t2; _.key = t3; }, _PackagesViewState: function _PackagesViewState(t0, t1) { var _ = this; _.licenses = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _PackagesViewState_licenses_closure: function _PackagesViewState_licenses_closure() { }, _PackagesViewState_licenses_closure0: function _PackagesViewState_licenses_closure0() { }, _PackagesViewState_build_closure: function _PackagesViewState_build_closure(t0) { this.$this = t0; }, _PackagesViewState_build__closure: function _PackagesViewState_build__closure(t0, t1) { this.$this = t0; this.snapshot = t1; }, _PackagesViewState_build___closure: function _PackagesViewState_build___closure(t0, t1) { this.$this = t0; this.snapshot = t1; }, _PackagesViewState__initDefaultDetailPage_closure: function _PackagesViewState__initDefaultDetailPage_closure(t0) { this.data = t0; }, _PackagesViewState__packagesList_closure: function _PackagesViewState__packagesList_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.data = t1; _.drawSelection = t2; _.selectedId = t3; }, _PackagesViewState__packagesList__closure: function _PackagesViewState__packagesList__closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.packageIndex = t1; _.context = t2; _.packageName = t3; _.bindings = t4; _.data = t5; }, _PackagesViewState__packagesList___closure: function _PackagesViewState__packagesList___closure(t0) { this.data = t0; }, _PackageListTile: function _PackageListTile(t0, t1, t2, t3, t4) { var _ = this; _.packageName = t0; _.isSelected = t1; _.numberLicenses = t2; _.onTap = t3; _.key = t4; }, _LicenseData: function _LicenseData(t0, t1, t2) { var _ = this; _.licenses = t0; _.packageLicenseBindings = t1; _.packages = t2; _.firstPackage = null; }, _LicenseData_sortPackages_closure: function _LicenseData_sortPackages_closure(t0) { this.$this = t0; }, _DetailArguments: function _DetailArguments(t0, t1) { this.packageName = t0; this.licenseEntries = t1; }, _PackageLicensePage: function _PackageLicensePage(t0, t1, t2, t3) { var _ = this; _.packageName = t0; _.licenseEntries = t1; _.scrollController = t2; _.key = t3; }, _PackageLicensePageState: function _PackageLicensePageState(t0, t1) { var _ = this; _._licenses = t0; _._loaded = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _PackageLicensePageState__initLicenses_closure: function _PackageLicensePageState__initLicenses_closure(t0, t1) { this.$this = t0; this.paragraphs = t1; }, _PackageLicensePageState__initLicenses_closure0: function _PackageLicensePageState__initLicenses_closure0(t0) { this.$this = t0; }, _PackageLicensePageState_build_closure: function _PackageLicensePageState_build_closure(t0) { this.listWidgets = t0; }, _PackageLicensePageTitle: function _PackageLicensePageTitle(t0, t1, t2, t3, t4, t5) { var _ = this; _.title = t0; _.subtitle = t1; _.theme = t2; _.titleTextStyle = t3; _.foregroundColor = t4; _.key = t5; }, _ActionLevel: function _ActionLevel(t0, t1) { this.index = t0; this._core$_name = t1; }, _LayoutMode: function _LayoutMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _Focus: function _Focus(t0, t1) { this.index = t0; this._core$_name = t1; }, _MasterDetailFlow: function _MasterDetailFlow(t0, t1, t2, t3, t4) { var _ = this; _.masterViewBuilder = t0; _.detailPageBuilder = t1; _.detailPageFABlessGutterWidth = t2; _.title = t3; _.key = t4; }, _MasterDetailFlowProxy: function _MasterDetailFlowProxy(t0) { this._pageOpener = t0; }, _MasterDetailFlowState: function _MasterDetailFlowState(t0, t1, t2) { var _ = this; _.focus = t0; _._builtLayout = _._cachedDetailArguments = null; _._navigatorKey = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _MasterDetailFlowState_build_closure: function _MasterDetailFlowState_build_closure(t0) { this.$this = t0; }, _MasterDetailFlowState__nestedUI_closure1: function _MasterDetailFlowState__nestedUI_closure1(t0) { this.$this = t0; }, _MasterDetailFlowState__nestedUI_closure: function _MasterDetailFlowState__nestedUI_closure(t0, t1) { this.$this = t0; this.masterPageRoute = t1; }, _MasterDetailFlowState__nestedUI_closure0: function _MasterDetailFlowState__nestedUI_closure0(t0, t1) { this.$this = t0; this.masterPageRoute = t1; }, _MasterDetailFlowState__masterPageRoute_closure: function _MasterDetailFlowState__masterPageRoute_closure(t0, t1) { this.$this = t0; this.context = t1; }, _MasterDetailFlowState__masterPageRoute__closure: function _MasterDetailFlowState__masterPageRoute__closure(t0) { this.context = t0; }, _MasterDetailFlowState__detailPageRoute_closure: function _MasterDetailFlowState__detailPageRoute_closure(t0, t1) { this.$this = t0; this.$arguments = t1; }, _MasterDetailFlowState__detailPageRoute__closure: function _MasterDetailFlowState__detailPageRoute__closure(t0) { this.$this = t0; }, _MasterDetailFlowState__lateralUI_closure1: function _MasterDetailFlowState__lateralUI_closure1() { }, _MasterDetailFlowState__lateralUI_closure0: function _MasterDetailFlowState__lateralUI_closure0(t0) { this.$this = t0; }, _MasterDetailFlowState__lateralUI_closure: function _MasterDetailFlowState__lateralUI_closure(t0) { this.$this = t0; }, _MasterPage: function _MasterPage(t0, t1, t2, t3) { var _ = this; _.masterViewBuilder = t0; _.title = t1; _.leading = t2; _.key = t3; }, _MasterDetailScaffold: function _MasterDetailScaffold(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.masterViewBuilder = t0; _.detailPageBuilder = t1; _.actionBuilder = t2; _.initialArguments = t3; _.title = t4; _.detailPageFABlessGutterWidth = t5; _.key = t6; }, _MasterDetailScaffoldState: function _MasterDetailScaffoldState(t0, t1) { var _ = this; _.___MasterDetailScaffoldState_masterViewWidth_A = _.___MasterDetailScaffoldState_detailPageFABlessGutterWidth_A = _.___MasterDetailScaffoldState_floatingActionButtonLocation_A = $; _._detailArguments = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MasterDetailScaffoldState_openDetailPage_closure: function _MasterDetailScaffoldState_openDetailPage_closure(t0, t1) { this.$this = t0; this.$arguments = t1; }, _MasterDetailScaffoldState_setInitialDetailPage_closure: function _MasterDetailScaffoldState_setInitialDetailPage_closure(t0, t1) { this.$this = t0; this.$arguments = t1; }, _MasterDetailScaffoldState_build_closure: function _MasterDetailScaffoldState_build_closure(t0) { this.$this = t0; }, _MasterDetailScaffoldState_build__closure: function _MasterDetailScaffoldState_build__closure() { }, _DetailView: function _DetailView(t0, t1, t2) { this._builder = t0; this._about$_arguments = t1; this.key = t2; }, _DetailView_build_closure: function _DetailView_build_closure(t0) { this.$this = t0; }, _ActionButton: function _ActionButton() { }, _ActionButton_build_closure: function _ActionButton_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, _ActionIcon: function _ActionIcon(t0, t1, t2, t3) { var _ = this; _.iconBuilderCallback = t0; _.getIcon = t1; _.getAndroidSemanticsLabel = t2; _.key = t3; }, BackButtonIcon: function BackButtonIcon(t0) { this.key = t0; }, BackButtonIcon_build_closure: function BackButtonIcon_build_closure() { }, BackButtonIcon_build_closure0: function BackButtonIcon_build_closure0() { }, BackButtonIcon_build_closure1: function BackButtonIcon_build_closure1() { }, BackButton: function BackButton(t0, t1, t2, t3, t4) { var _ = this; _.icon = t0; _.onPressed = t1; _.color = t2; _.style = t3; _.key = t4; }, DrawerButtonIcon: function DrawerButtonIcon(t0) { this.key = t0; }, DrawerButtonIcon_build_closure: function DrawerButtonIcon_build_closure() { }, DrawerButtonIcon_build_closure0: function DrawerButtonIcon_build_closure0() { }, DrawerButtonIcon_build_closure1: function DrawerButtonIcon_build_closure1() { }, DrawerButton: function DrawerButton(t0, t1, t2, t3, t4) { var _ = this; _.icon = t0; _.onPressed = t1; _.color = t2; _.style = t3; _.key = t4; }, EndDrawerButtonIcon: function EndDrawerButtonIcon(t0) { this.key = t0; }, EndDrawerButtonIcon_build_closure: function EndDrawerButtonIcon_build_closure() { }, EndDrawerButtonIcon_build_closure0: function EndDrawerButtonIcon_build_closure0() { }, EndDrawerButtonIcon_build_closure1: function EndDrawerButtonIcon_build_closure1() { }, EndDrawerButton: function EndDrawerButton(t0, t1, t2, t3, t4) { var _ = this; _.icon = t0; _.onPressed = t1; _.color = t2; _.style = t3; _.key = t4; }, ActionIconThemeData_lerp(a, b, t) { var t2, t3, t4, t5, _null = null, t1 = a == null; if (t1 && b == null) return _null; t2 = t < 0.5; if (t2) t3 = t1 ? _null : a.backButtonIconBuilder; else t3 = b == null ? _null : b.backButtonIconBuilder; if (t2) t4 = t1 ? _null : a.closeButtonIconBuilder; else t4 = b == null ? _null : b.closeButtonIconBuilder; if (t2) t5 = t1 ? _null : a.drawerButtonIconBuilder; else t5 = b == null ? _null : b.drawerButtonIconBuilder; if (t2) t1 = t1 ? _null : a.endDrawerButtonIconBuilder; else t1 = b == null ? _null : b.endDrawerButtonIconBuilder; return new A.ActionIconThemeData(t3, t4, t5, t1); }, ActionIconThemeData: function ActionIconThemeData(t0, t1, t2, t3) { var _ = this; _.backButtonIconBuilder = t0; _.closeButtonIconBuilder = t1; _.drawerButtonIconBuilder = t2; _.endDrawerButtonIconBuilder = t3; }, _ActionIconThemeData_Object_Diagnosticable: function _ActionIconThemeData_Object_Diagnosticable() { }, AdaptiveTextSelectionToolbar$editableText(editableTextState) { return new A.AdaptiveTextSelectionToolbar(editableTextState.get$contextMenuButtonItems(), editableTextState.get$contextMenuAnchors(), null); }, AdaptiveTextSelectionToolbar_getButtonLabel(context, buttonItem) { var t1 = buttonItem.label; if (t1 != null) return t1; switch (A.Theme_of(context).platform.index) { case 2: case 4: return A.CupertinoTextSelectionToolbarButton_getButtonLabel(context, buttonItem); case 0: case 1: case 3: case 5: t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; switch (buttonItem.type.index) { case 0: return t1.get$cutButtonLabel(); case 1: return t1.get$copyButtonLabel(); case 2: return t1.get$pasteButtonLabel(); case 3: return t1.get$selectAllButtonLabel(); case 4: return t1.get$deleteButtonTooltip().toUpperCase(); case 5: return t1.get$lookUpButtonLabel(); case 6: return t1.get$searchWebButtonLabel(); case 7: return t1.get$shareButtonLabel(); case 8: return t1.get$scanTextButtonLabel(); case 9: return ""; } break; } }, AdaptiveTextSelectionToolbar_getAdaptiveButtons(context, buttonItems) { var buttons, i, t1, buttonItem, position, t2, t3, _null = null; switch (A.Theme_of(context).platform.index) { case 2: return new A.MappedListIterable(buttonItems, new A.AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure(), A._arrayInstanceType(buttonItems)._eval$1("MappedListIterable<1,Widget>")); case 1: case 0: buttons = A._setArrayType([], type$.JSArray_Widget); for (i = 0; t1 = buttonItems.length, i < t1; ++i) { buttonItem = buttonItems[i]; position = A.TextSelectionToolbarTextButton__getPosition(i, t1); t1 = A.TextSelectionToolbarTextButton__getLeftPadding(position); t2 = A.TextSelectionToolbarTextButton__getRightPadding(position); t3 = buttonItem.onPressed; buttons.push(new A.TextSelectionToolbarTextButton(new A.Text(A.AdaptiveTextSelectionToolbar_getButtonLabel(context, buttonItem), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t3, new A.EdgeInsets(t1, 0, t2, 0), _null, _null)); } return buttons; case 3: case 5: return new A.MappedListIterable(buttonItems, new A.AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure0(context), A._arrayInstanceType(buttonItems)._eval$1("MappedListIterable<1,Widget>")); case 4: return new A.MappedListIterable(buttonItems, new A.AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure1(context), A._arrayInstanceType(buttonItems)._eval$1("MappedListIterable<1,Widget>")); } }, AdaptiveTextSelectionToolbar: function AdaptiveTextSelectionToolbar(t0, t1, t2) { this.buttonItems = t0; this.anchors = t1; this.key = t2; }, AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure: function AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure() { }, AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure0: function AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure0(t0) { this.context = t0; }, AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure1: function AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure1(t0) { this.context = t0; }, MaterialApp_createMaterialHeroController() { return new A.HeroController(new A.MaterialApp_createMaterialHeroController_closure(), A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$._HeroFlight)); }, ThemeMode: function ThemeMode(t0, t1) { this.index = t0; this._core$_name = t1; }, MaterialApp: function MaterialApp(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.navigatorKey = t0; _.home = t1; _.routes = t2; _.onGenerateRoute = t3; _.navigatorObservers = t4; _.builder = t5; _.title = t6; _.theme = t7; _.locale = t8; _.localizationsDelegates = t9; _.supportedLocales = t10; _.debugShowCheckedModeBanner = t11; _.scrollBehavior = t12; _.key = t13; }, MaterialApp_createMaterialHeroController_closure: function MaterialApp_createMaterialHeroController_closure() { }, MaterialScrollBehavior: function MaterialScrollBehavior() { }, _MaterialAppState: function _MaterialAppState(t0) { var _ = this; _.___MaterialAppState__heroController_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _MaterialAppState__materialBuilder_closure: function _MaterialAppState__materialBuilder_closure(t0, t1) { this.$this = t0; this.child = t1; }, _MaterialAppState__buildWidgetApp_closure: function _MaterialAppState__buildWidgetApp_closure() { }, _MaterialAppState_build_closure: function _MaterialAppState_build_closure() { }, AppBar$(actions, actionsIconTheme, automaticallyImplyLeading, backgroundColor, bottom, bottomOpacity, centerTitle, clipBehavior, elevation, excludeHeaderSemantics, flexibleSpace, forceMaterialTransparency, foregroundColor, iconTheme, leading, leadingWidth, primary, scrolledUnderElevation, shadowColor, shape, surfaceTintColor, systemOverlayStyle, title, titleSpacing, titleTextStyle, toolbarHeight, toolbarOpacity, toolbarTextStyle) { var t1 = bottom == null ? null : bottom.get$preferredSize()._dy, t2 = toolbarHeight == null ? 56 : toolbarHeight; return new A.AppBar(leading, automaticallyImplyLeading, title, actions, flexibleSpace, bottom, elevation, scrolledUnderElevation, shadowColor, surfaceTintColor, shape, backgroundColor, foregroundColor, iconTheme, actionsIconTheme, true, centerTitle, false, titleSpacing, toolbarOpacity, bottomOpacity, new A._PreferredAppBarSize(toolbarHeight, t1, 1 / 0, t2 + (t1 == null ? 0 : t1)), toolbarHeight, leadingWidth, toolbarTextStyle, titleTextStyle, systemOverlayStyle, false, clipBehavior, null); }, AppBar_preferredHeightFor(context, preferredSize) { var t1, t2; if (preferredSize.toolbarHeight == null) { t1 = A.Theme_of(context).appBarTheme.toolbarHeight; if (t1 == null) t1 = 56; t2 = preferredSize.bottomHeight; return t1 + (t2 == null ? 0 : t2); } return preferredSize._dy; }, _AppBarDefaultsM2$(context) { var _null = null; return new A._AppBarDefaultsM2(context, _null, _null, 4, _null, B.Color_4278190080, _null, _null, _null, _null, _null, 16, 56, _null, _null, _null); }, _AppBarDefaultsM3$(context) { var _null = null; return new A._AppBarDefaultsM3(context, _null, _null, 0, 3, _null, _null, _null, _null, _null, _null, 16, 64, _null, _null, _null); }, _SliverAppVariant: function _SliverAppVariant(t0, t1) { this.index = t0; this._core$_name = t1; }, _ToolbarContainerLayout: function _ToolbarContainerLayout(t0) { this.toolbarHeight = t0; }, _PreferredAppBarSize: function _PreferredAppBarSize(t0, t1, t2, t3) { var _ = this; _.toolbarHeight = t0; _.bottomHeight = t1; _._dx = t2; _._dy = t3; }, AppBar: function AppBar(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; _.leading = t0; _.automaticallyImplyLeading = t1; _.title = t2; _.actions = t3; _.flexibleSpace = t4; _.bottom = t5; _.elevation = t6; _.scrolledUnderElevation = t7; _.shadowColor = t8; _.surfaceTintColor = t9; _.shape = t10; _.backgroundColor = t11; _.foregroundColor = t12; _.iconTheme = t13; _.actionsIconTheme = t14; _.primary = t15; _.centerTitle = t16; _.excludeHeaderSemantics = t17; _.titleSpacing = t18; _.toolbarOpacity = t19; _.bottomOpacity = t20; _.preferredSize = t21; _.toolbarHeight = t22; _.leadingWidth = t23; _.toolbarTextStyle = t24; _.titleTextStyle = t25; _.systemOverlayStyle = t26; _.forceMaterialTransparency = t27; _.clipBehavior = t28; _.key = t29; }, AppBar__getEffectiveCenterTitle_platformCenter: function AppBar__getEffectiveCenterTitle_platformCenter(t0, t1) { this.$this = t0; this.theme = t1; }, _AppBarState: function _AppBarState(t0) { var _ = this; _._scrollNotificationObserver = null; _._scrolledUnder = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AppBarState__handleScrollNotification_closure: function _AppBarState__handleScrollNotification_closure() { }, _SliverAppBarDelegate: function _SliverAppBarDelegate(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) { var _ = this; _.leading = t0; _.automaticallyImplyLeading = t1; _.title = t2; _.actions = t3; _.flexibleSpace = t4; _.bottom = t5; _.elevation = t6; _.scrolledUnderElevation = t7; _.shadowColor = t8; _.surfaceTintColor = t9; _.forceElevated = t10; _.backgroundColor = t11; _.foregroundColor = t12; _.iconTheme = t13; _.actionsIconTheme = t14; _.primary = t15; _.centerTitle = t16; _.excludeHeaderSemantics = t17; _.titleSpacing = t18; _.expandedHeight = t19; _.collapsedHeight = t20; _.topPadding = t21; _.floating = t22; _.pinned = t23; _.shape = t24; _.toolbarHeight = t25; _.leadingWidth = t26; _.toolbarTextStyle = t27; _.titleTextStyle = t28; _.systemOverlayStyle = t29; _._bottomHeight = t30; _.forceMaterialTransparency = t31; _.clipBehavior = t32; _.variant = t33; _.vsync = t34; _.snapConfiguration = t35; _.stretchConfiguration = t36; _.showOnScreenConfiguration = t37; }, SliverAppBar: function SliverAppBar(t0, t1, t2, t3, t4) { var _ = this; _.automaticallyImplyLeading = t0; _.title = t1; _.backgroundColor = t2; _.pinned = t3; _.key = t4; }, _SliverAppBarState: function _SliverAppBarState(t0, t1, t2) { var _ = this; _._showOnScreenConfiguration = _._stretchConfiguration = _._snapConfiguration = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AppBarTitleBox: function _AppBarTitleBox(t0, t1) { this.child = t0; this.key = t1; }, _RenderAppBarTitleBox: function _RenderAppBarTitleBox(t0, t1, t2, t3) { var _ = this; _._shifted_box$_resolvedAlignment = null; _._shifted_box$_alignment = t0; _._shifted_box$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _AppBarDefaultsM2: function _AppBarDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.context = t0; _.___AppBarDefaultsM2__colors_FI = _.___AppBarDefaultsM2__theme_FI = $; _.backgroundColor = t1; _.foregroundColor = t2; _.elevation = t3; _.scrolledUnderElevation = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.shape = t7; _.iconTheme = t8; _.actionsIconTheme = t9; _.centerTitle = t10; _.titleSpacing = t11; _.toolbarHeight = t12; _.toolbarTextStyle = t13; _.titleTextStyle = t14; _.systemOverlayStyle = t15; }, _AppBarDefaultsM3: function _AppBarDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.context = t0; _.___AppBarDefaultsM3__textTheme_FI = _.___AppBarDefaultsM3__colors_FI = _.___AppBarDefaultsM3__theme_FI = $; _.backgroundColor = t1; _.foregroundColor = t2; _.elevation = t3; _.scrolledUnderElevation = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.shape = t7; _.iconTheme = t8; _.actionsIconTheme = t9; _.centerTitle = t10; _.titleSpacing = t11; _.toolbarHeight = t12; _.toolbarTextStyle = t13; _.titleTextStyle = t14; _.systemOverlayStyle = t15; }, __SliverAppBarState_State_TickerProviderStateMixin: function __SliverAppBarState_State_TickerProviderStateMixin() { }, AppBarTheme$(actionsIconTheme, backgroundColor, centerTitle, color, elevation, foregroundColor, iconTheme, scrolledUnderElevation, shadowColor, shape, surfaceTintColor, systemOverlayStyle, titleSpacing, titleTextStyle, toolbarHeight, toolbarTextStyle) { return new A.AppBarTheme(backgroundColor == null ? color : backgroundColor, foregroundColor, elevation, scrolledUnderElevation, shadowColor, surfaceTintColor, shape, iconTheme, actionsIconTheme, centerTitle, titleSpacing, toolbarHeight, toolbarTextStyle, titleTextStyle, systemOverlayStyle); }, AppBarTheme_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15; if (a === b && true) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.Color_lerp(a.foregroundColor, b.foregroundColor, t); t3 = A.lerpDouble(a.elevation, b.elevation, t); t4 = A.lerpDouble(a.scrolledUnderElevation, b.scrolledUnderElevation, t); t5 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t6 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t7 = A.ShapeBorder_lerp(a.shape, b.shape, t); t8 = A.IconThemeData_lerp(a.iconTheme, b.iconTheme, t); t9 = A.IconThemeData_lerp(a.actionsIconTheme, b.actionsIconTheme, t); t10 = t < 0.5; if (t10) t11 = a.centerTitle; else t11 = b.centerTitle; t12 = A.lerpDouble(a.titleSpacing, b.titleSpacing, t); t13 = A.lerpDouble(a.toolbarHeight, b.toolbarHeight, t); t14 = A.TextStyle_lerp(a.toolbarTextStyle, b.toolbarTextStyle, t); t15 = A.TextStyle_lerp(a.titleTextStyle, b.titleTextStyle, t); if (t10) t10 = a.systemOverlayStyle; else t10 = b.systemOverlayStyle; return A.AppBarTheme$(t9, t1, t11, null, t3, t2, t8, t4, t5, t7, t6, t10, t12, t15, t13, t14); }, AppBarTheme: function AppBarTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.backgroundColor = t0; _.foregroundColor = t1; _.elevation = t2; _.scrolledUnderElevation = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.shape = t6; _.iconTheme = t7; _.actionsIconTheme = t8; _.centerTitle = t9; _.titleSpacing = t10; _.toolbarHeight = t11; _.toolbarTextStyle = t12; _.titleTextStyle = t13; _.systemOverlayStyle = t14; }, _AppBarTheme_Object_Diagnosticable: function _AppBarTheme_Object_Diagnosticable() { }, _maxBy(input, keyFunc) { var maxKey, _i, value, key, maxValue = A._Cell$named("maxValue"); for (maxKey = null, _i = 0; _i < 4; ++_i) { value = input[_i]; key = keyFunc.call$1(value); if (maxKey == null || key > maxKey) { maxValue.__late_helper$_value = value; maxKey = key; } } return maxValue._readLocal$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, t1) { this.index = t0; this._core$_name = t1; }, _Diagonal: function _Diagonal(t0, t1) { this.beginId = t0; this.endId = t1; }, MaterialRectArcTween: function MaterialRectArcTween(t0, t1) { var _ = this; _._arc$_dirty = true; _.__MaterialRectArcTween__endArc_A = _.__MaterialRectArcTween__beginArc_A = $; _.begin = t0; _.end = t1; }, MaterialRectArcTween__initialize_closure: function MaterialRectArcTween__initialize_closure(t0, t1) { this.$this = t0; this.centersVector = t1; }, BadgeThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7; if (a === b && true) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.Color_lerp(a.textColor, b.textColor, t); t3 = A.lerpDouble(a.smallSize, b.smallSize, t); t4 = A.lerpDouble(a.largeSize, b.largeSize, t); t5 = A.TextStyle_lerp(a.textStyle, b.textStyle, t); t6 = A.EdgeInsetsGeometry_lerp(a.padding, b.padding, t); t7 = A.AlignmentGeometry_lerp(a.alignment, b.alignment, t); return new A.BadgeThemeData(t1, t2, t3, t4, t5, t6, t7, A.Offset_lerp(a.offset, b.offset, t)); }, BadgeThemeData: function BadgeThemeData(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.backgroundColor = t0; _.textColor = t1; _.smallSize = t2; _.largeSize = t3; _.textStyle = t4; _.padding = t5; _.alignment = t6; _.offset = t7; }, _BadgeThemeData_Object_Diagnosticable: function _BadgeThemeData_Object_Diagnosticable() { }, MaterialBannerThemeData: function MaterialBannerThemeData(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.backgroundColor = t0; _.surfaceTintColor = t1; _.shadowColor = t2; _.dividerColor = t3; _.contentTextStyle = t4; _.elevation = t5; _.padding = t6; _.leadingPadding = t7; }, _MaterialBannerThemeData_Object_Diagnosticable: function _MaterialBannerThemeData_Object_Diagnosticable() { }, BottomAppBar$(child, color, elevation, shape) { return new A.BottomAppBar(child, color, elevation, shape, null); }, BottomAppBar: function BottomAppBar(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.color = t1; _.elevation = t2; _.shape = t3; _.key = t4; }, _BottomAppBarState: function _BottomAppBarState(t0, t1) { var _ = this; _.___BottomAppBarState_geometryListenable_A = $; _.materialKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _BottomAppBarClipper: function _BottomAppBarClipper(t0, t1, t2, t3, t4) { var _ = this; _.geometry = t0; _.shape = t1; _.materialKey = t2; _.notchMargin = t3; _._reclip = t4; }, _BottomAppBarDefaultsM2: function _BottomAppBarDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.context = t0; _.color = t1; _.elevation = t2; _.shape = t3; _.height = t4; _.surfaceTintColor = t5; _.shadowColor = t6; _.padding = t7; }, _BottomAppBarDefaultsM3: function _BottomAppBarDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.context = t0; _.___BottomAppBarDefaultsM3__colors_FI = $; _.color = t1; _.elevation = t2; _.shape = t3; _.height = t4; _.surfaceTintColor = t5; _.shadowColor = t6; _.padding = t7; }, BottomAppBarTheme_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6; if (a === b && true) return a; t1 = A.Color_lerp(a.color, b.color, t); t2 = A.lerpDouble(a.elevation, b.elevation, t); if (t < 0.5) t3 = a.shape; else t3 = b.shape; t4 = A.lerpDouble(a.height, b.height, t); t5 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t6 = A.Color_lerp(a.shadowColor, b.shadowColor, t); return new A.BottomAppBarTheme(t1, t2, t3, t4, t5, t6, A.EdgeInsetsGeometry_lerp(a.padding, b.padding, t)); }, BottomAppBarTheme: function BottomAppBarTheme(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.color = t0; _.elevation = t1; _.shape = t2; _.height = t3; _.surfaceTintColor = t4; _.shadowColor = t5; _.padding = t6; }, _BottomAppBarTheme_Object_Diagnosticable: function _BottomAppBarTheme_Object_Diagnosticable() { }, BottomNavigationBarThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14; if (a === b && true) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.lerpDouble(a.elevation, b.elevation, t); t3 = A.IconThemeData_lerp(a.selectedIconTheme, b.selectedIconTheme, t); t4 = A.IconThemeData_lerp(a.unselectedIconTheme, b.unselectedIconTheme, t); t5 = A.Color_lerp(a.selectedItemColor, b.selectedItemColor, t); t6 = A.Color_lerp(a.unselectedItemColor, b.unselectedItemColor, t); t7 = A.TextStyle_lerp(a.selectedLabelStyle, b.selectedLabelStyle, t); t8 = A.TextStyle_lerp(a.unselectedLabelStyle, b.unselectedLabelStyle, t); t9 = t < 0.5; if (t9) t10 = a.showSelectedLabels; else t10 = b.showSelectedLabels; if (t9) t11 = a.showUnselectedLabels; else t11 = b.showUnselectedLabels; if (t9) t12 = a.type; else t12 = b.type; if (t9) t13 = a.enableFeedback; else t13 = b.enableFeedback; if (t9) t14 = a.landscapeLayout; else t14 = b.landscapeLayout; if (t9) t9 = a.mouseCursor; else t9 = b.mouseCursor; return new A.BottomNavigationBarThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t10, t11, t12, t13, t14, t9); }, BottomNavigationBarThemeData: function BottomNavigationBarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.selectedIconTheme = t2; _.unselectedIconTheme = t3; _.selectedItemColor = t4; _.unselectedItemColor = t5; _.selectedLabelStyle = t6; _.unselectedLabelStyle = t7; _.showSelectedLabels = t8; _.showUnselectedLabels = t9; _.type = t10; _.enableFeedback = t11; _.landscapeLayout = t12; _.mouseCursor = t13; }, _BottomNavigationBarThemeData_Object_Diagnosticable: function _BottomNavigationBarThemeData_Object_Diagnosticable() { }, _BottomSheetDefaultsM3$(context) { var _null = null; return new A._BottomSheetDefaultsM3(context, _null, _null, 1, _null, _null, _null, 1, B.RoundedRectangleBorder_27D7, _null, _null, _null, _null, B.BoxConstraints_EcO0); }, BottomSheet: function BottomSheet(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.animationController = t0; _.onClosing = t1; _.builder = t2; _.enableDrag = t3; _.onDragStart = t4; _.onDragEnd = t5; _.backgroundColor = t6; _.elevation = t7; _.shape = t8; _.clipBehavior = t9; _.constraints = t10; _.key = t11; }, _BottomSheetState: function _BottomSheetState(t0, t1, t2) { var _ = this; _._bottom_sheet$_childKey = t0; _.dragHandleMaterialState = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _BottomSheetState__handleDragStart_closure: function _BottomSheetState__handleDragStart_closure(t0) { this.$this = t0; }, _BottomSheetState__handleDragEnd_closure: function _BottomSheetState__handleDragEnd_closure(t0) { this.$this = t0; }, _BottomSheetState__handleDragHandleHover_closure: function _BottomSheetState__handleDragHandleHover_closure(t0, t1) { this.$this = t0; this.hovering = t1; }, _DragHandle: function _DragHandle(t0, t1, t2, t3, t4, t5) { var _ = this; _.onSemanticsTap = t0; _.handleHover = t1; _.materialState = t2; _.dragHandleColor = t3; _.dragHandleSize = t4; _.key = t5; }, _DragHandle_build_closure: function _DragHandle_build_closure(t0) { this.$this = t0; }, _DragHandle_build_closure0: function _DragHandle_build_closure0(t0) { this.$this = t0; }, _BottomSheetGestureDetector: function _BottomSheetGestureDetector(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.onVerticalDragStart = t1; _.onVerticalDragUpdate = t2; _.onVerticalDragEnd = t3; _.key = t4; }, _BottomSheetGestureDetector_build_closure: function _BottomSheetGestureDetector_build_closure(t0) { this.$this = t0; }, _BottomSheetGestureDetector_build_closure0: function _BottomSheetGestureDetector_build_closure0(t0) { this.$this = t0; }, _BottomSheetDefaultsM3: function _BottomSheetDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.context = t0; _.___BottomSheetDefaultsM3__colors_FI = $; _.backgroundColor = t1; _.surfaceTintColor = t2; _.elevation = t3; _.modalBackgroundColor = t4; _.modalBarrierColor = t5; _.shadowColor = t6; _.modalElevation = t7; _.shape = t8; _.showDragHandle = t9; _.dragHandleColor = t10; _.dragHandleSize = t11; _.clipBehavior = t12; _.constraints = t13; }, BottomSheetThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12; if (a === b) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t3 = A.lerpDouble(a.elevation, b.elevation, t); t4 = A.Color_lerp(a.modalBackgroundColor, b.modalBackgroundColor, t); t5 = A.Color_lerp(a.modalBarrierColor, b.modalBarrierColor, t); t6 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t7 = A.lerpDouble(a.modalElevation, b.modalElevation, t); t8 = A.ShapeBorder_lerp(a.shape, b.shape, t); t9 = t < 0.5; if (t9) t10 = a.showDragHandle; else t10 = b.showDragHandle; t11 = A.Color_lerp(a.dragHandleColor, b.dragHandleColor, t); t12 = A.Size_lerp(a.dragHandleSize, b.dragHandleSize, t); if (t9) t9 = a.clipBehavior; else t9 = b.clipBehavior; return new A.BottomSheetThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t10, t11, t12, t9, A.BoxConstraints_lerp(a.constraints, b.constraints, t)); }, BottomSheetThemeData: function BottomSheetThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.backgroundColor = t0; _.surfaceTintColor = t1; _.elevation = t2; _.modalBackgroundColor = t3; _.modalBarrierColor = t4; _.shadowColor = t5; _.modalElevation = t6; _.shape = t7; _.showDragHandle = t8; _.dragHandleColor = t9; _.dragHandleSize = t10; _.clipBehavior = t11; _.constraints = t12; }, _BottomSheetThemeData_Object_Diagnosticable: function _BottomSheetThemeData_Object_Diagnosticable() { }, RawMaterialButton: function RawMaterialButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.onPressed = t0; _.mouseCursor = t1; _.textStyle = t2; _.fillColor = t3; _.focusColor = t4; _.hoverColor = t5; _.splashColor = t6; _.elevation = t7; _.hoverElevation = t8; _.focusElevation = t9; _.highlightElevation = t10; _.disabledElevation = t11; _.constraints = t12; _.shape = t13; _.child = t14; _.materialTapTargetSize = t15; _.focusNode = t16; _.autofocus = t17; _.clipBehavior = t18; _.enableFeedback = t19; _.key = t20; }, _RawMaterialButtonState: function _RawMaterialButtonState(t0, t1) { var _ = this; _.MaterialStateMixin_materialStates = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _InputPadding: function _InputPadding(t0, t1, t2) { this.minSize = t0; this.child = t1; this.key = t2; }, _RenderInputPadding: function _RenderInputPadding(t0, t1, t2) { var _ = this; _._minSize = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderInputPadding_hitTest_closure: function _RenderInputPadding_hitTest_closure(t0, t1) { this.$this = t0; this.center = t1; }, __RawMaterialButtonState_State_MaterialStateMixin: function __RawMaterialButtonState_State_MaterialStateMixin() { }, ButtonBarThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9; if (a === b) return a; t1 = t < 0.5; if (t1) t2 = a.alignment; else t2 = b.alignment; if (t1) t3 = a.mainAxisSize; else t3 = b.mainAxisSize; if (t1) t4 = a.buttonTextTheme; else t4 = b.buttonTextTheme; t5 = A.lerpDouble(a.buttonMinWidth, b.buttonMinWidth, t); t6 = A.lerpDouble(a.buttonHeight, b.buttonHeight, t); t7 = A.EdgeInsetsGeometry_lerp(a.buttonPadding, b.buttonPadding, t); if (t1) t8 = a.buttonAlignedDropdown; else t8 = b.buttonAlignedDropdown; if (t1) t9 = a.layoutBehavior; else t9 = b.layoutBehavior; if (t1) t1 = a.overflowDirection; else t1 = b.overflowDirection; return new A.ButtonBarThemeData(t2, t3, t4, t5, t6, t7, t8, t9, t1); }, ButtonBarThemeData: function ButtonBarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.alignment = t0; _.mainAxisSize = t1; _.buttonTextTheme = t2; _.buttonMinWidth = t3; _.buttonHeight = t4; _.buttonPadding = t5; _.buttonAlignedDropdown = t6; _.layoutBehavior = t7; _.overflowDirection = t8; }, _ButtonBarThemeData_Object_Diagnosticable: function _ButtonBarThemeData_Object_Diagnosticable() { }, ButtonStyle$(alignment, animationDuration, backgroundColor, elevation, enableFeedback, fixedSize, foregroundColor, iconColor, iconSize, maximumSize, minimumSize, mouseCursor, overlayColor, padding, shadowColor, shape, side, splashFactory, surfaceTintColor, tapTargetSize, textStyle, visualDensity) { return new A.ButtonStyle(textStyle, backgroundColor, foregroundColor, overlayColor, shadowColor, surfaceTintColor, elevation, padding, minimumSize, fixedSize, maximumSize, iconColor, iconSize, side, shape, mouseCursor, visualDensity, tapTargetSize, animationDuration, enableFeedback, alignment, splashFactory); }, ButtonStyle_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, _null = null; if (a == b) return a; t1 = a == null; t2 = t1 ? _null : a.textStyle; t3 = b == null; t4 = t3 ? _null : b.textStyle; t4 = A.MaterialStateProperty_lerp(t2, t4, t, A.text_style_TextStyle_lerp$closure(), type$.nullable_TextStyle); t2 = t1 ? _null : a.backgroundColor; t5 = t3 ? _null : b.backgroundColor; t6 = type$.nullable_Color; t5 = A.MaterialStateProperty_lerp(t2, t5, t, A.ui_Color_lerp$closure(), t6); t2 = t1 ? _null : a.foregroundColor; t2 = A.MaterialStateProperty_lerp(t2, t3 ? _null : b.foregroundColor, t, A.ui_Color_lerp$closure(), t6); t7 = t1 ? _null : a.overlayColor; t7 = A.MaterialStateProperty_lerp(t7, t3 ? _null : b.overlayColor, t, A.ui_Color_lerp$closure(), t6); t8 = t1 ? _null : a.shadowColor; t8 = A.MaterialStateProperty_lerp(t8, t3 ? _null : b.shadowColor, t, A.ui_Color_lerp$closure(), t6); t9 = t1 ? _null : a.surfaceTintColor; t9 = A.MaterialStateProperty_lerp(t9, t3 ? _null : b.surfaceTintColor, t, A.ui_Color_lerp$closure(), t6); t10 = t1 ? _null : a.elevation; t11 = t3 ? _null : b.elevation; t12 = type$.nullable_double; t11 = A.MaterialStateProperty_lerp(t10, t11, t, A.ui__lerpDouble$closure(), t12); t10 = t1 ? _null : a.padding; t13 = t3 ? _null : b.padding; t13 = A.MaterialStateProperty_lerp(t10, t13, t, A.edge_insets_EdgeInsetsGeometry_lerp$closure(), type$.nullable_EdgeInsetsGeometry); t10 = t1 ? _null : a.minimumSize; t14 = t3 ? _null : b.minimumSize; t15 = type$.nullable_Size; t14 = A.MaterialStateProperty_lerp(t10, t14, t, A.ui_Size_lerp$closure(), t15); t10 = t1 ? _null : a.fixedSize; t10 = A.MaterialStateProperty_lerp(t10, t3 ? _null : b.fixedSize, t, A.ui_Size_lerp$closure(), t15); t16 = t1 ? _null : a.maximumSize; t15 = A.MaterialStateProperty_lerp(t16, t3 ? _null : b.maximumSize, t, A.ui_Size_lerp$closure(), t15); t16 = t1 ? _null : a.iconColor; t6 = A.MaterialStateProperty_lerp(t16, t3 ? _null : b.iconColor, t, A.ui_Color_lerp$closure(), t6); t16 = t1 ? _null : a.iconSize; t12 = A.MaterialStateProperty_lerp(t16, t3 ? _null : b.iconSize, t, A.ui__lerpDouble$closure(), t12); t16 = t1 ? _null : a.side; t16 = A.ButtonStyle__lerpSides(t16, t3 ? _null : b.side, t); t17 = t1 ? _null : a.shape; t18 = t3 ? _null : b.shape; t18 = A.MaterialStateProperty_lerp(t17, t18, t, A.borders_OutlinedBorder_lerp$closure(), type$.nullable_OutlinedBorder); t17 = t < 0.5; if (t17) t19 = t1 ? _null : a.mouseCursor; else t19 = t3 ? _null : b.mouseCursor; if (t17) t20 = t1 ? _null : a.visualDensity; else t20 = t3 ? _null : b.visualDensity; if (t17) t21 = t1 ? _null : a.tapTargetSize; else t21 = t3 ? _null : b.tapTargetSize; if (t17) t22 = t1 ? _null : a.animationDuration; else t22 = t3 ? _null : b.animationDuration; if (t17) t23 = t1 ? _null : a.enableFeedback; else t23 = t3 ? _null : b.enableFeedback; t24 = t1 ? _null : a.alignment; t24 = A.AlignmentGeometry_lerp(t24, t3 ? _null : b.alignment, t); if (t17) t1 = t1 ? _null : a.splashFactory; else t1 = t3 ? _null : b.splashFactory; return A.ButtonStyle$(t24, t22, t5, t11, t23, t10, t2, t6, t12, t15, t14, t19, t7, t13, t8, t18, t16, t1, t9, t21, t4, t20); }, ButtonStyle__lerpSides(a, b, t) { if (a == null && b == null) return null; return new A._LerpSides(a, b, t); }, ButtonStyle: function ButtonStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.textStyle = t0; _.backgroundColor = t1; _.foregroundColor = t2; _.overlayColor = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.elevation = t6; _.padding = t7; _.minimumSize = t8; _.fixedSize = t9; _.maximumSize = t10; _.iconColor = t11; _.iconSize = t12; _.side = t13; _.shape = t14; _.mouseCursor = t15; _.visualDensity = t16; _.tapTargetSize = t17; _.animationDuration = t18; _.enableFeedback = t19; _.alignment = t20; _.splashFactory = t21; }, _LerpSides: function _LerpSides(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, _ButtonStyle_Object_Diagnosticable: function _ButtonStyle_Object_Diagnosticable() { }, ButtonStyleButton_scaledPadding(geometry1x, geometry2x, geometry3x, fontSizeMultiplier) { var t1; $label0$0: { if (fontSizeMultiplier <= 1) { t1 = geometry1x; break $label0$0; } if (fontSizeMultiplier < 2) { t1 = A.EdgeInsetsGeometry_lerp(geometry1x, geometry2x, fontSizeMultiplier - 1); t1.toString; break $label0$0; } if (fontSizeMultiplier < 3) { t1 = A.EdgeInsetsGeometry_lerp(geometry2x, geometry3x, fontSizeMultiplier - 2); t1.toString; break $label0$0; } t1 = geometry3x; break $label0$0; } return t1; }, ButtonStyleButton: function ButtonStyleButton() { }, _ButtonStyleState: function _ButtonStyleState(t0, t1, t2) { var _ = this; _.internalStatesController = _.backgroundColor = _.elevation = _.controller = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ButtonStyleState_handleStatesControllerChange_closure: function _ButtonStyleState_handleStatesControllerChange_closure() { }, _ButtonStyleState_build_effectiveValue: function _ButtonStyleState_build_effectiveValue(t0, t1, t2) { this.widgetStyle = t0; this.themeStyle = t1; this.defaultStyle = t2; }, _ButtonStyleState_build_resolve: function _ButtonStyleState_build_resolve(t0, t1) { this.$this = t0; this.effectiveValue = t1; }, _ButtonStyleState_build_resolve_closure: function _ButtonStyleState_build_resolve_closure(t0, t1, t2) { this.$this = t0; this.getProperty = t1; this.T = t2; }, _ButtonStyleState_build_closure: function _ButtonStyleState_build_closure() { }, _ButtonStyleState_build_closure0: function _ButtonStyleState_build_closure0() { }, _ButtonStyleState_build_closure1: function _ButtonStyleState_build_closure1() { }, _ButtonStyleState_build_closure2: function _ButtonStyleState_build_closure2() { }, _ButtonStyleState_build_closure3: function _ButtonStyleState_build_closure3() { }, _ButtonStyleState_build_closure4: function _ButtonStyleState_build_closure4() { }, _ButtonStyleState_build_closure5: function _ButtonStyleState_build_closure5() { }, _ButtonStyleState_build_closure6: function _ButtonStyleState_build_closure6() { }, _ButtonStyleState_build_closure7: function _ButtonStyleState_build_closure7() { }, _ButtonStyleState_build_closure8: function _ButtonStyleState_build_closure8() { }, _ButtonStyleState_build_closure9: function _ButtonStyleState_build_closure9() { }, _ButtonStyleState_build_closure10: function _ButtonStyleState_build_closure10() { }, _ButtonStyleState_build_closure11: function _ButtonStyleState_build_closure11() { }, _ButtonStyleState_build_closure12: function _ButtonStyleState_build_closure12() { }, _ButtonStyleState_build_closure20: function _ButtonStyleState_build_closure20(t0) { this.effectiveValue = t0; }, _ButtonStyleState_build__closure0: function _ButtonStyleState_build__closure0(t0) { this.states = t0; }, _ButtonStyleState_build_closure21: function _ButtonStyleState_build_closure21(t0) { this.effectiveValue = t0; }, _ButtonStyleState_build__closure: function _ButtonStyleState_build__closure(t0) { this.states = t0; }, _ButtonStyleState_build_closure13: function _ButtonStyleState_build_closure13() { }, _ButtonStyleState_build_closure14: function _ButtonStyleState_build_closure14() { }, _ButtonStyleState_build_closure15: function _ButtonStyleState_build_closure15() { }, _ButtonStyleState_build_closure16: function _ButtonStyleState_build_closure16() { }, _ButtonStyleState_build_closure17: function _ButtonStyleState_build_closure17() { }, _ButtonStyleState_build_closure18: function _ButtonStyleState_build_closure18() { }, _ButtonStyleState_build_closure19: function _ButtonStyleState_build_closure19(t0) { this.$this = t0; }, _ButtonStyleState_build__closure1: function _ButtonStyleState_build__closure1() { }, _MouseCursor: function _MouseCursor(t0) { this.resolveCallback = t0; }, _InputPadding0: function _InputPadding0(t0, t1, t2) { this.minSize = t0; this.child = t1; this.key = t2; }, _RenderInputPadding0: function _RenderInputPadding0(t0, t1, t2) { var _ = this; _._button_style_button$_minSize = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderInputPadding_hitTest_closure0: function _RenderInputPadding_hitTest_closure0(t0, t1) { this.$this = t0; this.center = t1; }, __ButtonStyleState_State_TickerProviderStateMixin: function __ButtonStyleState_State_TickerProviderStateMixin() { }, ButtonTheme$fromButtonThemeData(child, data) { return new A.ButtonTheme(data, child, null); }, ButtonTheme_of(context) { var theme, inheritedButtonTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$.ButtonTheme), buttonTheme = inheritedButtonTheme == null ? null : inheritedButtonTheme.data, t1 = buttonTheme == null; if ((t1 ? null : buttonTheme.colorScheme) == null) { theme = A.Theme_of(context); if (t1) buttonTheme = theme.buttonTheme; if (buttonTheme.colorScheme == null) { t1 = theme.buttonTheme.colorScheme; buttonTheme = buttonTheme.copyWith$1$colorScheme(t1 == null ? theme.colorScheme : t1); } } buttonTheme.toString; return buttonTheme; }, ButtonThemeData$(alignedDropdown, buttonColor, colorScheme, disabledColor, focusColor, height, highlightColor, hoverColor, layoutBehavior, materialTapTargetSize, minWidth, padding, shape, splashColor, textTheme) { return new A.ButtonThemeData(minWidth, height, textTheme, layoutBehavior, padding, shape, false, buttonColor, disabledColor, focusColor, hoverColor, highlightColor, splashColor, colorScheme, materialTapTargetSize); }, ButtonTextTheme: function ButtonTextTheme(t0, t1) { this.index = t0; this._core$_name = t1; }, ButtonBarLayoutBehavior: function ButtonBarLayoutBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, ButtonTheme: function ButtonTheme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, ButtonThemeData: function ButtonThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.minWidth = t0; _.height = t1; _.textTheme = t2; _.layoutBehavior = t3; _._button_theme$_padding = t4; _._button_theme$_shape = t5; _.alignedDropdown = t6; _._buttonColor = t7; _._disabledColor = t8; _._focusColor = t9; _._hoverColor = t10; _._button_theme$_highlightColor = t11; _._splashColor = t12; _.colorScheme = t13; _._materialTapTargetSize = t14; }, _ButtonThemeData_Object_Diagnosticable: function _ButtonThemeData_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__currentDisplayedMonthDate_A = _.___CalendarDatePickerState__mode_A = $; _._calendar_date_picker$_selectedDate = null; _._monthPickerKey = t0; _._yearPickerKey = t1; _.___CalendarDatePickerState__textDirection_A = _.___CalendarDatePickerState__localizations_A = $; _._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, t2) { var _ = this; _.___DatePickerModeToggleButtonState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._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_A = _.___MonthPickerState__localizations_A = _.___MonthPickerState__pageController_A = _.___MonthPickerState__currentMonth_A = $; _._actionMap = _._shortcutMap = null; _.___MonthPickerState__dayGridFocus_A = $; _._widget = _._focusedDay = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _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_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _Day: function _Day(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.day = t0; _.isDisabled = t1; _.isSelectedDay = t2; _.isToday = t3; _.onChanged = t4; _.focusNode = t5; _.key = t6; }, _DayState: function _DayState(t0, t1) { var _ = this; _._calendar_date_picker$_statesController = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _DayState_build_effectiveValue: function _DayState_build_effectiveValue(t0, t1) { this.datePickerTheme = t0; this.defaults = t1; }, _DayState_build_resolve: function _DayState_build_resolve(t0) { this.effectiveValue = t0; }, _DayState_build_resolve_closure: function _DayState_build_resolve_closure(t0, t1, t2) { this.getProperty = t0; this.states = t1; this.T = t2; }, _DayState_build_closure: function _DayState_build_closure(t0) { this.$this = t0; }, _DayState_build_closure0: function _DayState_build_closure0(t0) { this.$this = t0; }, _DayState_build_closure2: function _DayState_build_closure2(t0) { this.effectiveValue = t0; }, _DayState_build__closure: function _DayState_build__closure(t0) { this.states = t0; }, _DayState_build_closure1: function _DayState_build_closure1(t0) { this.$this = t0; }, _DayPickerGridDelegate: function _DayPickerGridDelegate() { }, YearPicker: function YearPicker(t0, t1, t2, t3, t4, t5) { var _ = this; _.currentDate = t0; _.firstDate = t1; _.lastDate = t2; _.selectedDate = t3; _.onChanged = t4; _.key = t5; }, _YearPickerState: function _YearPickerState(t0, t1) { var _ = this; _._calendar_date_picker$_scrollController = null; _._calendar_date_picker$_statesController = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _YearPickerState__buildYearItem_effectiveValue: function _YearPickerState__buildYearItem_effectiveValue(t0, t1) { this.datePickerTheme = t0; this.defaults = t1; }, _YearPickerState__buildYearItem_resolve: function _YearPickerState__buildYearItem_resolve(t0) { this.effectiveValue = t0; }, _YearPickerState__buildYearItem_resolve_closure: function _YearPickerState__buildYearItem_resolve_closure(t0, t1, t2) { this.getProperty = t0; this.states = t1; this.T = t2; }, _YearPickerState__buildYearItem_closure: function _YearPickerState__buildYearItem_closure(t0) { this.isCurrentYear = t0; }, _YearPickerState__buildYearItem_closure0: function _YearPickerState__buildYearItem_closure0(t0) { this.isCurrentYear = t0; }, _YearPickerState__buildYearItem_closure2: function _YearPickerState__buildYearItem_closure2(t0) { this.effectiveValue = t0; }, _YearPickerState__buildYearItem__closure: function _YearPickerState__buildYearItem__closure(t0) { this.states = t0; }, _YearPickerState__buildYearItem_closure1: function _YearPickerState__buildYearItem_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, _YearPickerGridDelegate: function _YearPickerGridDelegate() { }, __DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin: function __DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin() { }, Card$(child, clipBehavior, color, elevation, margin, semanticContainer, shape) { return new A.Card(color, elevation, shape, clipBehavior, margin, semanticContainer, child, null); }, _CardVariant: function _CardVariant(t0, t1) { this.index = t0; this._core$_name = t1; }, Card: function Card(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.color = t0; _.elevation = t1; _.shape = t2; _.clipBehavior = t3; _.margin = t4; _.semanticContainer = t5; _.child = t6; _.key = t7; }, _CardDefaultsM2: function _CardDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.context = t0; _.clipBehavior = t1; _.color = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.elevation = t5; _.margin = t6; _.shape = t7; }, _CardDefaultsM3: function _CardDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.context = t0; _.___CardDefaultsM3__colors_FI = $; _.clipBehavior = t1; _.color = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.elevation = t5; _.margin = t6; _.shape = t7; }, CardTheme_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6; if (a === b && true) return a; if (t < 0.5) t1 = a.clipBehavior; else t1 = b.clipBehavior; t2 = A.Color_lerp(a.color, b.color, t); t3 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t4 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t5 = A.lerpDouble(a.elevation, b.elevation, t); t6 = A.EdgeInsetsGeometry_lerp(a.margin, b.margin, t); return new A.CardTheme(t1, t2, t3, t4, t5, t6, A.ShapeBorder_lerp(a.shape, b.shape, t)); }, CardTheme: function CardTheme(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.clipBehavior = t0; _.color = t1; _.shadowColor = t2; _.surfaceTintColor = t3; _.elevation = t4; _.margin = t5; _.shape = t6; }, _CardTheme_Object_Diagnosticable: function _CardTheme_Object_Diagnosticable() { }, Checkbox$(activeColor, autofocus, checkColor, fillColor, hoverColor, isError, materialTapTargetSize, mouseCursor, onChanged, overlayColor, semanticLabel, shape, side, splashRadius, tristate, value) { return new A.Checkbox(value, onChanged, mouseCursor, activeColor, fillColor, checkColor, tristate, materialTapTargetSize, hoverColor, overlayColor, splashRadius, false, shape, side, false, semanticLabel, B._CheckboxType_0, null); }, _CheckboxType: function _CheckboxType(t0, t1) { this.index = t0; this._core$_name = t1; }, Checkbox: function Checkbox(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.value = t0; _.onChanged = t1; _.mouseCursor = t2; _.activeColor = t3; _.fillColor = t4; _.checkColor = t5; _.tristate = t6; _.materialTapTargetSize = t7; _.hoverColor = t8; _.overlayColor = t9; _.splashRadius = t10; _.autofocus = t11; _.shape = t12; _.side = t13; _.isError = t14; _.semanticLabel = t15; _._checkboxType = t16; _.key = t17; }, _CheckboxState: function _CheckboxState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _._checkbox$_painter = t0; _._previousValue = null; _.ToggleableStateMixin___ToggleableStateMixin__positionController_A = t1; _.ToggleableStateMixin___ToggleableStateMixin__position_A = t2; _.ToggleableStateMixin___ToggleableStateMixin__reactionController_A = t3; _.ToggleableStateMixin___ToggleableStateMixin__reaction_A = t4; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade_A = t5; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController_A = t6; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade_A = t7; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController_A = t8; _.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI = t9; _.ToggleableStateMixin__downPosition = t10; _.ToggleableStateMixin__focused = t11; _.ToggleableStateMixin__hovering = t12; _.TickerProviderStateMixin__tickers = t13; _.TickerProviderStateMixin__tickerModeNotifier = t14; _._widget = null; _._debugLifecycleState = t15; _._framework$_element = null; }, _CheckboxState__widgetFillColor_closure: function _CheckboxState__widgetFillColor_closure(t0) { this.$this = t0; }, _CheckboxState_build_closure: function _CheckboxState_build_closure(t0, t1) { this.$this = t0; this.checkboxTheme = t1; }, _CheckboxPainter: function _CheckboxPainter(t0) { var _ = this; _._toggleable$_isHovered = _._toggleable$_isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._reaction = _._toggleable$_position = _._inactiveSide = _._activeSide = _._checkbox$_shape = _._previousValue = _._checkbox$_value = _._checkbox$_checkColor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _CheckboxDefaultsM2: function _CheckboxDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._checkbox$_theme = t0; _._checkbox$_colors = t1; _.mouseCursor = t2; _.fillColor = t3; _.checkColor = t4; _.overlayColor = t5; _.splashRadius = t6; _.materialTapTargetSize = t7; _.visualDensity = t8; _.shape = t9; _.side = t10; }, _CheckboxDefaultsM2_side_closure: function _CheckboxDefaultsM2_side_closure(t0) { this.$this = t0; }, _CheckboxDefaultsM2_fillColor_closure: function _CheckboxDefaultsM2_fillColor_closure(t0) { this.$this = t0; }, _CheckboxDefaultsM2_overlayColor_closure: function _CheckboxDefaultsM2_overlayColor_closure(t0) { this.$this = t0; }, _CheckboxDefaultsM3: function _CheckboxDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._checkbox$_theme = t0; _._checkbox$_colors = t1; _.mouseCursor = t2; _.fillColor = t3; _.checkColor = t4; _.overlayColor = t5; _.splashRadius = t6; _.materialTapTargetSize = t7; _.visualDensity = t8; _.shape = t9; _.side = t10; }, _CheckboxDefaultsM3_side_closure: function _CheckboxDefaultsM3_side_closure(t0) { this.$this = t0; }, _CheckboxDefaultsM3_fillColor_closure: function _CheckboxDefaultsM3_fillColor_closure(t0) { this.$this = t0; }, _CheckboxDefaultsM3_checkColor_closure: function _CheckboxDefaultsM3_checkColor_closure(t0) { this.$this = t0; }, _CheckboxDefaultsM3_overlayColor_closure: function _CheckboxDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, __CheckboxState_State_TickerProviderStateMixin: function __CheckboxState_State_TickerProviderStateMixin() { }, __CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin: function __CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, CheckboxListTile$(activeColor, contentPadding, controlAffinity, dense, key, onChanged, title, value) { return new A.CheckboxListTile(value, onChanged, activeColor, title, dense, controlAffinity, contentPadding, key); }, _CheckboxType0: function _CheckboxType0(t0, t1) { this.index = t0; this._core$_name = t1; }, 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; }, CheckboxThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8; if (a === b && true) return a; t1 = t < 0.5; if (t1) t2 = a.mouseCursor; else t2 = b.mouseCursor; t3 = type$.nullable_Color; t4 = A.MaterialStateProperty_lerp(a.fillColor, b.fillColor, t, A.ui_Color_lerp$closure(), t3); t5 = A.MaterialStateProperty_lerp(a.checkColor, b.checkColor, t, A.ui_Color_lerp$closure(), t3); t3 = A.MaterialStateProperty_lerp(a.overlayColor, b.overlayColor, t, A.ui_Color_lerp$closure(), t3); t6 = A.lerpDouble(a.splashRadius, b.splashRadius, t); if (t1) t7 = a.materialTapTargetSize; else t7 = b.materialTapTargetSize; if (t1) t1 = a.visualDensity; else t1 = b.visualDensity; t8 = type$.nullable_OutlinedBorder._as(A.ShapeBorder_lerp(a.shape, b.shape, t)); return new A.CheckboxThemeData(t2, t4, t5, t3, t6, t7, t1, t8, A.CheckboxThemeData__lerpSides(a.side, b.side, t)); }, CheckboxThemeData__lerpSides(a, b, t) { if (a == null || b == null) return null; if (a === b) return a; return A.BorderSide_lerp(a, b, t); }, CheckboxTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.CheckboxTheme); t1 = A.Theme_of(context); return t1.checkboxTheme; }, CheckboxThemeData: function CheckboxThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.mouseCursor = t0; _.fillColor = t1; _.checkColor = t2; _.overlayColor = t3; _.splashRadius = t4; _.materialTapTargetSize = t5; _.visualDensity = t6; _.shape = t7; _.side = t8; }, _CheckboxThemeData_Object_Diagnosticable: function _CheckboxThemeData_Object_Diagnosticable() { }, ChipThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22; if (a === b) return a; t1 = A.MaterialStateProperty_lerp(a.color, b.color, t, A.ui_Color_lerp$closure(), type$.nullable_Color); t2 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t3 = A.Color_lerp(a.deleteIconColor, b.deleteIconColor, t); t4 = A.Color_lerp(a.disabledColor, b.disabledColor, t); t5 = A.Color_lerp(a.selectedColor, b.selectedColor, t); t6 = A.Color_lerp(a.secondarySelectedColor, b.secondarySelectedColor, t); t7 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t8 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t9 = A.Color_lerp(a.selectedShadowColor, b.selectedShadowColor, t); t10 = t < 0.5; if (t10) t11 = a.showCheckmark !== false; else t11 = b.showCheckmark !== false; t12 = A.Color_lerp(a.checkmarkColor, b.checkmarkColor, t); t13 = A.EdgeInsetsGeometry_lerp(a.labelPadding, b.labelPadding, t); t14 = A.EdgeInsetsGeometry_lerp(a.padding, b.padding, t); t15 = A.ChipThemeData__lerpSides(a.side, b.side, t); t16 = A.ChipThemeData__lerpShapes(a.shape, b.shape, t); t17 = A.TextStyle_lerp(a.labelStyle, b.labelStyle, t); t18 = A.TextStyle_lerp(a.secondaryLabelStyle, b.secondaryLabelStyle, t); if (t10) { t10 = a.brightness; if (t10 == null) t10 = B.Brightness_1; } else { t10 = b.brightness; if (t10 == null) t10 = B.Brightness_1; } t19 = A.lerpDouble(a.elevation, b.elevation, t); t20 = A.lerpDouble(a.pressElevation, b.pressElevation, t); t21 = a.iconTheme; if (t21 == null) t22 = b.iconTheme != null; else t22 = true; if (t22) t21 = A.IconThemeData_lerp(t21, b.iconTheme, t); else t21 = null; return new A.ChipThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t9, t11, t12, t13, t14, t15, t16, t17, t18, t10, t19, t20, t21); }, ChipThemeData__lerpSides(a, b, t) { var t1 = a == null; if (t1 && b == null) return null; if (t1) { t1 = b.color; return A.BorderSide_lerp(new A.BorderSide(A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 0, B.BorderStyle_1, -1), b, t); } if (b == null) { t1 = a.color; return A.BorderSide_lerp(new A.BorderSide(A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 0, B.BorderStyle_1, -1), a, t); } return A.BorderSide_lerp(a, b, t); }, ChipThemeData__lerpShapes(a, b, t) { if (a == null && b == null) return null; return type$.nullable_OutlinedBorder._as(A.ShapeBorder_lerp(a, b, t)); }, ChipThemeData: function ChipThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.color = t0; _.backgroundColor = t1; _.deleteIconColor = t2; _.disabledColor = t3; _.selectedColor = t4; _.secondarySelectedColor = t5; _.shadowColor = t6; _.surfaceTintColor = t7; _.selectedShadowColor = t8; _.showCheckmark = t9; _.checkmarkColor = t10; _.labelPadding = t11; _.padding = t12; _.side = t13; _.shape = t14; _.labelStyle = t15; _.secondaryLabelStyle = t16; _.brightness = t17; _.elevation = t18; _.pressElevation = t19; _.iconTheme = t20; }, _ChipThemeData_Object_Diagnosticable: function _ChipThemeData_Object_Diagnosticable() { }, ColorScheme$(background, brightness, error, errorContainer, inversePrimary, inverseSurface, onBackground, onError, onErrorContainer, onInverseSurface, onPrimary, onPrimaryContainer, onSecondary, onSecondaryContainer, onSurface, onSurfaceVariant, onTertiary, onTertiaryContainer, outline, outlineVariant, primary, primaryContainer, scrim, secondary, secondaryContainer, shadow, surface, surfaceTint, surfaceVariant, tertiary, tertiaryContainer) { return new A.ColorScheme(brightness, primary, onPrimary, primaryContainer, onPrimaryContainer, secondary, onSecondary, secondaryContainer, onSecondaryContainer, tertiary, onTertiary, tertiaryContainer, onTertiaryContainer, error, onError, errorContainer, onErrorContainer, background, onBackground, surface, onSurface, surfaceVariant, onSurfaceVariant, outline, outlineVariant, shadow, scrim, inverseSurface, onInverseSurface, inversePrimary, surfaceTint); }, ColorScheme_ColorScheme$fromSwatch(accentColor, backgroundColor, brightness, cardColor, errorColor, primarySwatch) { var secondary, t1, t2, t3, t4, t5, t6, t7, _null = null, isDark = brightness === B.Brightness_0, primaryIsDark = A.ThemeData_estimateBrightnessForColor(primarySwatch) === B.Brightness_0; if (accentColor == null) secondary = isDark ? B.Color_4284809178 : primarySwatch; else secondary = accentColor; t1 = A.ThemeData_estimateBrightnessForColor(secondary); if (cardColor == null) t2 = isDark ? B.Color_4282532418 : B.Color_4294967295; else t2 = cardColor; if (backgroundColor == null) if (isDark) t3 = B.Color_4284572001; else { t3 = primarySwatch._swatch.$index(0, 200); t3.toString; } else t3 = backgroundColor; t4 = errorColor == null ? B.Color_4292030255 : errorColor; t5 = primaryIsDark ? B.Color_4294967295 : B.Color_4278190080; t1 = t1 === B.Brightness_0 ? B.Color_4294967295 : B.Color_4278190080; t6 = isDark ? B.Color_4294967295 : B.Color_4278190080; t7 = primaryIsDark ? B.Color_4294967295 : B.Color_4278190080; return A.ColorScheme$(t3, brightness, t4, _null, _null, _null, t7, isDark ? B.Color_4278190080 : B.Color_4294967295, _null, _null, t5, _null, t1, _null, t6, _null, _null, _null, _null, _null, primarySwatch, _null, _null, secondary, _null, _null, t2, _null, _null, _null, _null); }, ColorScheme_lerp(a, b, t) { var 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; if (a === b) return a; t1 = t < 0.5 ? a.brightness : b.brightness; t2 = a.primary; t3 = b.primary; t4 = A.Color_lerp(t2, t3, t); t4.toString; t5 = a.onPrimary; t6 = b.onPrimary; t7 = A.Color_lerp(t5, t6, t); t7.toString; t8 = a._primaryContainer; if (t8 == null) t8 = t2; t9 = b._primaryContainer; t8 = A.Color_lerp(t8, t9 == null ? t3 : t9, t); t9 = a._onPrimaryContainer; if (t9 == null) t9 = t5; t10 = b._onPrimaryContainer; t9 = A.Color_lerp(t9, t10 == null ? t6 : t10, t); t10 = a.secondary; t11 = b.secondary; t12 = A.Color_lerp(t10, t11, t); t12.toString; t13 = a.onSecondary; t14 = b.onSecondary; t15 = A.Color_lerp(t13, t14, t); t15.toString; t16 = a._secondaryContainer; if (t16 == null) t16 = t10; t17 = b._secondaryContainer; t16 = A.Color_lerp(t16, t17 == null ? t11 : t17, t); t17 = a._onSecondaryContainer; if (t17 == null) t17 = t13; t18 = b._onSecondaryContainer; t17 = A.Color_lerp(t17, t18 == null ? t14 : t18, t); t18 = a._tertiary; t19 = t18 == null; t20 = t19 ? t10 : t18; t21 = b._tertiary; t22 = t21 == null; t20 = A.Color_lerp(t20, t22 ? t11 : t21, t); t23 = a._onTertiary; t24 = t23 == null; t25 = t24 ? t13 : t23; t26 = b._onTertiary; t27 = t26 == null; t25 = A.Color_lerp(t25, t27 ? t14 : t26, t); t28 = a._tertiaryContainer; if (t28 == null) t10 = t19 ? t10 : t18; else t10 = t28; t18 = b._tertiaryContainer; if (t18 == null) t11 = t22 ? t11 : t21; else t11 = t18; t11 = A.Color_lerp(t10, t11, t); t10 = a._onTertiaryContainer; if (t10 == null) t10 = t24 ? t13 : t23; t13 = b._onTertiaryContainer; if (t13 == null) t13 = t27 ? t14 : t26; t13 = A.Color_lerp(t10, t13, t); t10 = a.error; t14 = b.error; t18 = A.Color_lerp(t10, t14, t); t18.toString; t19 = a.onError; t21 = b.onError; t22 = A.Color_lerp(t19, t21, t); t22.toString; t23 = a._errorContainer; t10 = t23 == null ? t10 : t23; t23 = b._errorContainer; t10 = A.Color_lerp(t10, t23 == null ? t14 : t23, t); t14 = a._onErrorContainer; if (t14 == null) t14 = t19; t19 = b._onErrorContainer; t14 = A.Color_lerp(t14, t19 == null ? t21 : t19, t); t19 = A.Color_lerp(a.background, b.background, t); t19.toString; t21 = a.onBackground; t23 = b.onBackground; t24 = A.Color_lerp(t21, t23, t); t24.toString; t26 = a.surface; t27 = b.surface; t28 = A.Color_lerp(t26, t27, t); t28.toString; t29 = a.onSurface; t30 = b.onSurface; t31 = A.Color_lerp(t29, t30, t); t31.toString; t32 = a._surfaceVariant; if (t32 == null) t32 = t26; t33 = b._surfaceVariant; t32 = A.Color_lerp(t32, t33 == null ? t27 : t33, t); t33 = a._onSurfaceVariant; if (t33 == null) t33 = t29; t34 = b._onSurfaceVariant; t33 = A.Color_lerp(t33, t34 == null ? t30 : t34, t); t34 = a._outline; if (t34 == null) t34 = t21; t35 = b._outline; t34 = A.Color_lerp(t34, t35 == null ? t23 : t35, t); t35 = a._outlineVariant; t21 = t35 == null ? t21 : t35; t35 = b._outlineVariant; t21 = A.Color_lerp(t21, t35 == null ? t23 : t35, t); t23 = a._shadow; if (t23 == null) t23 = B.Color_4278190080; t35 = b._shadow; t23 = A.Color_lerp(t23, t35 == null ? B.Color_4278190080 : t35, t); t35 = a._scrim; if (t35 == null) t35 = B.Color_4278190080; t36 = b._scrim; t35 = A.Color_lerp(t35, t36 == null ? B.Color_4278190080 : t36, t); t36 = a._inverseSurface; t29 = t36 == null ? t29 : t36; t36 = b._inverseSurface; t29 = A.Color_lerp(t29, t36 == null ? t30 : t36, t); t30 = a._onInverseSurface; t26 = t30 == null ? t26 : t30; t30 = b._onInverseSurface; t26 = A.Color_lerp(t26, t30 == null ? t27 : t30, t); t27 = a._inversePrimary; t5 = t27 == null ? t5 : t27; t27 = b._inversePrimary; t5 = A.Color_lerp(t5, t27 == null ? t6 : t27, t); t6 = a._surfaceTint; t2 = t6 == null ? t2 : t6; t6 = b._surfaceTint; return A.ColorScheme$(t19, t1, t18, t10, t5, t29, t24, t22, t14, t26, t7, t9, t15, t17, t31, t33, t25, t13, t34, t21, t4, t8, t35, t12, t16, t23, t28, A.Color_lerp(t2, t6 == null ? t3 : t6, t), t32, t20, t11); }, ColorScheme: function ColorScheme(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; _.brightness = t0; _.primary = t1; _.onPrimary = t2; _._primaryContainer = t3; _._onPrimaryContainer = t4; _.secondary = t5; _.onSecondary = t6; _._secondaryContainer = t7; _._onSecondaryContainer = t8; _._tertiary = t9; _._onTertiary = t10; _._tertiaryContainer = t11; _._onTertiaryContainer = t12; _.error = t13; _.onError = t14; _._errorContainer = t15; _._onErrorContainer = t16; _.background = t17; _.onBackground = t18; _.surface = t19; _.onSurface = t20; _._surfaceVariant = t21; _._onSurfaceVariant = t22; _._outline = t23; _._outlineVariant = t24; _._shadow = t25; _._scrim = t26; _._inverseSurface = t27; _._onInverseSurface = t28; _._inversePrimary = t29; _._surfaceTint = t30; }, _ColorScheme_Object_Diagnosticable: function _ColorScheme_Object_Diagnosticable() { }, MaterialColor: function MaterialColor(t0, t1) { this._swatch = t0; this.value = t1; }, MaterialAccentColor: function MaterialAccentColor(t0, t1) { this._swatch = t0; this.value = t1; }, DataRow$(cells, color, onSelectChanged, selected) { return new A.DataRow(null, onSelectChanged, selected, cells, color); }, DataCell$(child, onLongPress, onTap) { return new A.DataCell(child, onTap, onLongPress); }, DataTable$(checkboxHorizontalMargin, columnSpacing, columns, dataRowMaxHeight, dataRowMinHeight, decoration, headingRowHeight, horizontalMargin, key, onSelectAll, rows, showBottomBorder, showCheckboxColumn, sortAscending, sortColumnIndex) { return new A.DataTable(columns, sortColumnIndex, sortAscending, onSelectAll, decoration, dataRowMinHeight, dataRowMaxHeight, headingRowHeight, horizontalMargin, columnSpacing, true, rows, showBottomBorder, checkboxHorizontalMargin, A.DataTable__initOnlyTextColumn(columns), key); }, DataTable__initOnlyTextColumn(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$(child, mouseCursor, onLongPress, onTap, overlayColor) { var _null = null; return new A.TableRowInkWell(child, onTap, _null, _null, _null, _null, onLongPress, _null, _null, _null, _null, _null, _null, mouseCursor, true, B.BoxShape_0, _null, _null, _null, _null, _null, _null, overlayColor, _null, _null, true, false, _null, false, _null, true, _null, _null, _null); }, DataColumn: function DataColumn(t0, t1, t2) { this.label = t0; this.numeric = t1; this.onSort = t2; }, DataRow: function DataRow(t0, t1, t2, t3, t4) { var _ = this; _.key = t0; _.onSelectChanged = t1; _.selected = t2; _.cells = t3; _.color = t4; }, DataCell: function DataCell(t0, t1, t2) { this.child = t0; this.onTap = t1; this.onLongPress = t2; }, DataTable: function DataTable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.columns = t0; _.sortColumnIndex = t1; _.sortAscending = t2; _.onSelectAll = t3; _.decoration = t4; _.dataRowMinHeight = t5; _.dataRowMaxHeight = t6; _.headingRowHeight = t7; _.horizontalMargin = t8; _.columnSpacing = t9; _.showCheckboxColumn = t10; _.rows = t11; _.showBottomBorder = t12; _.checkboxHorizontalMargin = t13; _._onlyTextColumn = t14; _.key = t15; }, 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, t8) { var _ = this; _.$this = t0; _.anyRowSelectable = t1; _.effectiveDataRowColor = t2; _.effectiveHeadingRowColor = t3; _.context = t4; _.dataTableTheme = t5; _.theme = t6; _.defaultRowColor = t7; _.tableColumns = t8; }, 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, t27, t28, t29, t30, t31, t32, t33) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapUp = t3; _.onTapCancel = t4; _.onDoubleTap = t5; _.onLongPress = t6; _.onSecondaryTap = t7; _.onSecondaryTapDown = t8; _.onSecondaryTapUp = t9; _.onSecondaryTapCancel = t10; _.onHighlightChanged = t11; _.onHover = t12; _.mouseCursor = t13; _.containedInkWell = t14; _.highlightShape = t15; _.radius = t16; _.borderRadius = t17; _.customBorder = t18; _.focusColor = t19; _.hoverColor = t20; _.highlightColor = t21; _.overlayColor = t22; _.splashColor = t23; _.splashFactory = t24; _.enableFeedback = t25; _.excludeFromSemantics = t26; _.onFocusChange = t27; _.autofocus = t28; _.focusNode = t29; _.canRequestFocus = t30; _.statesController = t31; _.hoverDuration = t32; _.key = t33; }, 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, t2) { var _ = this; _.___SortArrowState__orientationAnimation_A = _.___SortArrowState__orientationController_A = _.___SortArrowState__opacityAnimation_A = _.___SortArrowState__opacityController_A = $; _._orientationOffset = 0; _._data_table$_up = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._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() { }, DataTableSource: function DataTableSource() { }, DataTableThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14; if (a === b) return a; t1 = A.Decoration_lerp(a.decoration, b.decoration, t); t2 = type$.nullable_Color; t3 = A.MaterialStateProperty_lerp(a.dataRowColor, b.dataRowColor, t, A.ui_Color_lerp$closure(), t2); t4 = A.lerpDouble(a.dataRowMinHeight, b.dataRowMinHeight, t); t5 = A.lerpDouble(a.dataRowMaxHeight, b.dataRowMaxHeight, t); t6 = A.TextStyle_lerp(a.dataTextStyle, b.dataTextStyle, t); t2 = A.MaterialStateProperty_lerp(a.headingRowColor, b.headingRowColor, t, A.ui_Color_lerp$closure(), t2); t7 = A.lerpDouble(a.headingRowHeight, b.headingRowHeight, t); t8 = A.TextStyle_lerp(a.headingTextStyle, b.headingTextStyle, t); t9 = A.lerpDouble(a.horizontalMargin, b.horizontalMargin, t); t10 = A.lerpDouble(a.columnSpacing, b.columnSpacing, t); t11 = A.lerpDouble(a.dividerThickness, b.dividerThickness, t); t12 = A.lerpDouble(a.checkboxHorizontalMargin, b.checkboxHorizontalMargin, t); t13 = t < 0.5; t14 = t13 ? a.headingCellCursor : b.headingCellCursor; t13 = t13 ? a.dataRowCursor : b.dataRowCursor; return new A.DataTableThemeData(t1, t3, t4, t5, t6, t2, t7, t8, t9, t10, t11, t12, t14, t13); }, DataTableTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.DataTableTheme); t1 = A.Theme_of(context); return t1.dataTableTheme; }, DataTableThemeData: function DataTableThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.decoration = t0; _.dataRowColor = t1; _.dataRowMinHeight = t2; _.dataRowMaxHeight = t3; _.dataTextStyle = t4; _.headingRowColor = t5; _.headingRowHeight = t6; _.headingTextStyle = t7; _.horizontalMargin = t8; _.columnSpacing = t9; _.dividerThickness = t10; _.checkboxHorizontalMargin = t11; _.headingCellCursor = t12; _.dataRowCursor = t13; }, _DataTableThemeData_Object_Diagnosticable: function _DataTableThemeData_Object_Diagnosticable() { }, DateUtils_isSameDay(dateA, dateB) { var _null = null, t1 = dateA == null, t2 = t1 ? _null : A.Primitives_getYear(dateA), t3 = dateB == null; if (t2 == (t3 ? _null : A.Primitives_getYear(dateB))) { t2 = t1 ? _null : A.Primitives_getMonth(dateA); if (t2 == (t3 ? _null : A.Primitives_getMonth(dateB))) { t1 = t1 ? _null : A.Primitives_getDay(dateA); t1 = t1 == (t3 ? _null : A.Primitives_getDay(dateB)); } else t1 = false; } else t1 = false; return t1; }, DateUtils_isSameMonth(dateA, dateB) { var t1 = dateA == null, t2 = t1 ? null : A.Primitives_getYear(dateA); if (t2 === A.Primitives_getYear(dateB)) { t1 = t1 ? null : A.Primitives_getMonth(dateA); t1 = t1 === A.Primitives_getMonth(dateB); } else t1 = false; return t1; }, DateUtils_monthDelta(startDate, endDate) { return (A.Primitives_getYear(endDate) - A.Primitives_getYear(startDate)) * 12 + A.Primitives_getMonth(endDate) - A.Primitives_getMonth(startDate); }, DateUtils_getDaysInMonth(year, month) { if (month === 2) return B.JSInt_methods.$mod(year, 4) === 0 && B.JSInt_methods.$mod(year, 100) !== 0 || B.JSInt_methods.$mod(year, 400) === 0 ? 29 : 28; return B.List_7L00[month - 1]; }, DatePickerEntryMode: function DatePickerEntryMode(t0, t1) { this.index = t0; this._core$_name = t1; }, DatePickerMode: function DatePickerMode(t0, t1) { this.index = t0; this._core$_name = t1; }, showDatePicker(context, firstDate, initialDate, lastDate, locale) { return A.showDatePicker$body(context, firstDate, initialDate, lastDate, locale); }, showDatePicker$body(context, firstDate, initialDate, lastDate, locale) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_DateTime), $async$returnValue, t3, t4, t5, dialog, t1, t2; var $async$showDatePicker = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = {}; t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(initialDate), A.Primitives_getMonth(initialDate), A.Primitives_getDay(initialDate), 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); initialDate = new A.DateTime(t2, false); t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(firstDate), A.Primitives_getMonth(firstDate), A.Primitives_getDay(firstDate), 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); firstDate = new A.DateTime(t2, false); t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(lastDate), A.Primitives_getMonth(lastDate), A.Primitives_getDay(lastDate), 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); lastDate = new A.DateTime(t2, false); if (initialDate == null) t2 = null; else { t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(initialDate), A.Primitives_getMonth(initialDate), A.Primitives_getDay(initialDate), 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t2 = new A.DateTime(t2, false); } t3 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(firstDate), A.Primitives_getMonth(firstDate), A.Primitives_getDay(firstDate), 0, 0, 0, 0, false); if (!A._isInt(t3)) A.throwExpression(A.argumentErrorValue(t3)); t4 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(lastDate), A.Primitives_getMonth(lastDate), A.Primitives_getDay(lastDate), 0, 0, 0, 0, false); if (!A._isInt(t4)) A.throwExpression(A.argumentErrorValue(t4)); t5 = new A.DateTime(Date.now(), false); t5 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t5), A.Primitives_getMonth(t5), A.Primitives_getDay(t5), 0, 0, 0, 0, false); if (!A._isInt(t5)) A.throwExpression(A.argumentErrorValue(t5)); dialog = new A.DatePickerDialog(t2, new A.DateTime(t3, false), new A.DateTime(t4, false), new A.DateTime(t5, false), B.DatePickerEntryMode_0, null, null, null, null, B.DatePickerMode_0, null, null, null, null, null, null, null, null, null); t1.dialog = dialog; t1.dialog = A.Localizations_Localizations$override(dialog, context, locale); $async$returnValue = A.showDialog(null, null, true, null, new A.showDatePicker_closure(t1, null), context, null, true, type$.DateTime); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$showDatePicker, $async$completer); }, showDatePicker_closure: function showDatePicker_closure(t0, t1) { this._box_0 = t0; this.builder = t1; }, DatePickerDialog: function DatePickerDialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.initialDate = t0; _.firstDate = t1; _.lastDate = t2; _.currentDate = t3; _.initialEntryMode = t4; _.selectableDayPredicate = t5; _.cancelText = t6; _.confirmText = t7; _.helpText = t8; _.initialCalendarMode = t9; _.errorFormatText = t10; _.errorInvalidText = t11; _.fieldHintText = t12; _.fieldLabelText = t13; _.keyboardType = t14; _.onDatePickerModeChange = t15; _.switchToInputEntryModeIcon = t16; _.switchToCalendarEntryModeIcon = t17; _.key = t18; }, _DatePickerDialogState: function _DatePickerDialogState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.___DatePickerDialogState__entryMode_FI = _.___DatePickerDialogState__selectedDate_FI = $; _._autovalidateMode = t0; _._calendarPickerKey = t1; _._formKey = t2; _.RestorationMixin__bucket = t3; _.RestorationMixin__properties = t4; _.RestorationMixin__debugPropertiesWaitingForReregistration = t5; _.RestorationMixin__firstRestorePending = t6; _.RestorationMixin__currentParent = t7; _._widget = null; _._debugLifecycleState = t8; _._framework$_element = null; }, _DatePickerDialogState__handleOk_closure: function _DatePickerDialogState__handleOk_closure(t0) { this.$this = t0; }, _DatePickerDialogState__handleEntryModeToggle_closure: function _DatePickerDialogState__handleEntryModeToggle_closure(t0) { this.$this = t0; }, _DatePickerDialogState__handleDateChanged_closure: function _DatePickerDialogState__handleDateChanged_closure(t0, t1) { this.$this = t0; this.date = t1; }, _DatePickerDialogState_build_calendarDatePicker: function _DatePickerDialogState_build_calendarDatePicker(t0) { this.$this = t0; }, _DatePickerDialogState_build_inputDatePicker: function _DatePickerDialogState_build_inputDatePicker(t0, t1) { this.$this = t0; this.orientation = t1; }, _DatePickerDialogState_build_closure: function _DatePickerDialogState_build_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.useMaterial3 = t1; _.dialogSize = t2; _.orientation = t3; _.header = t4; _.datePickerTheme = t5; _.actions = t6; }, _RestorableDatePickerEntryMode: function _RestorableDatePickerEntryMode(t0, t1) { var _ = this; _._date_picker0$_defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _RestorableAutovalidateMode: function _RestorableAutovalidateMode(t0, t1) { var _ = this; _._date_picker0$_defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _DatePickerHeader: function _DatePickerHeader(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.helpText = t0; _.titleText = t1; _.titleStyle = t2; _.orientation = t3; _.isShort = t4; _.entryModeButton = t5; _.key = t6; }, __DatePickerDialogState_State_RestorationMixin_dispose_closure: function __DatePickerDialogState_State_RestorationMixin_dispose_closure() { }, __DatePickerDialogState_State_RestorationMixin: function __DatePickerDialogState_State_RestorationMixin() { }, DatePickerThemeData$(backgroundColor, cancelButtonStyle, confirmButtonStyle, dayBackgroundColor, dayForegroundColor, dayOverlayColor, dayStyle, dividerColor, elevation, headerBackgroundColor, headerForegroundColor, headerHeadlineStyle, headerHelpStyle, inputDecorationTheme, rangePickerBackgroundColor, rangePickerElevation, rangePickerHeaderBackgroundColor, rangePickerHeaderForegroundColor, rangePickerHeaderHeadlineStyle, rangePickerHeaderHelpStyle, rangePickerShadowColor, rangePickerShape, rangePickerSurfaceTintColor, rangeSelectionBackgroundColor, rangeSelectionOverlayColor, shadowColor, shape, surfaceTintColor, todayBackgroundColor, todayBorder, todayForegroundColor, weekdayStyle, yearBackgroundColor, yearForegroundColor, yearOverlayColor, yearStyle) { return new A.DatePickerThemeData(backgroundColor, elevation, shadowColor, surfaceTintColor, shape, headerBackgroundColor, headerForegroundColor, headerHeadlineStyle, headerHelpStyle, weekdayStyle, dayStyle, dayForegroundColor, dayBackgroundColor, dayOverlayColor, todayForegroundColor, todayBackgroundColor, todayBorder, yearStyle, yearForegroundColor, yearBackgroundColor, yearOverlayColor, rangePickerBackgroundColor, rangePickerElevation, rangePickerShadowColor, rangePickerSurfaceTintColor, rangePickerShape, rangePickerHeaderBackgroundColor, rangePickerHeaderForegroundColor, rangePickerHeaderHeadlineStyle, rangePickerHeaderHelpStyle, rangeSelectionBackgroundColor, rangeSelectionOverlayColor, dividerColor, inputDecorationTheme, cancelButtonStyle, confirmButtonStyle); }, DatePickerThemeData_lerp(a, b, t) { var 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; if (a === b && true) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.lerpDouble(a.elevation, b.elevation, t); t3 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t4 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t5 = A.ShapeBorder_lerp(a.shape, b.shape, t); t6 = A.Color_lerp(a.headerBackgroundColor, b.headerBackgroundColor, t); t7 = A.Color_lerp(a.headerForegroundColor, b.headerForegroundColor, t); t8 = A.TextStyle_lerp(a.headerHeadlineStyle, b.headerHeadlineStyle, t); t9 = A.TextStyle_lerp(a.headerHelpStyle, b.headerHelpStyle, t); t10 = A.TextStyle_lerp(a.weekdayStyle, b.weekdayStyle, t); t11 = A.TextStyle_lerp(a.dayStyle, b.dayStyle, t); t12 = type$.nullable_Color; t13 = A.MaterialStateProperty_lerp(a.dayForegroundColor, b.dayForegroundColor, t, A.ui_Color_lerp$closure(), t12); t14 = A.MaterialStateProperty_lerp(a.dayBackgroundColor, b.dayBackgroundColor, t, A.ui_Color_lerp$closure(), t12); t15 = A.MaterialStateProperty_lerp(a.dayOverlayColor, b.dayOverlayColor, t, A.ui_Color_lerp$closure(), t12); t16 = A.MaterialStateProperty_lerp(a.todayForegroundColor, b.todayForegroundColor, t, A.ui_Color_lerp$closure(), t12); t17 = A.MaterialStateProperty_lerp(a.todayBackgroundColor, b.todayBackgroundColor, t, A.ui_Color_lerp$closure(), t12); t18 = A.DatePickerThemeData__lerpBorderSide(a.todayBorder, b.todayBorder, t); t19 = A.TextStyle_lerp(a.yearStyle, b.yearStyle, t); t20 = A.MaterialStateProperty_lerp(a.yearForegroundColor, b.yearForegroundColor, t, A.ui_Color_lerp$closure(), t12); t21 = A.MaterialStateProperty_lerp(a.yearBackgroundColor, b.yearBackgroundColor, t, A.ui_Color_lerp$closure(), t12); t22 = A.MaterialStateProperty_lerp(a.yearOverlayColor, b.yearOverlayColor, t, A.ui_Color_lerp$closure(), t12); t23 = A.Color_lerp(a.rangePickerBackgroundColor, b.rangePickerBackgroundColor, t); t24 = A.lerpDouble(a.rangePickerElevation, b.rangePickerElevation, t); t25 = A.Color_lerp(a.rangePickerShadowColor, b.rangePickerShadowColor, t); t26 = A.Color_lerp(a.rangePickerSurfaceTintColor, b.rangePickerSurfaceTintColor, t); t27 = A.ShapeBorder_lerp(a.rangePickerShape, b.rangePickerShape, t); t28 = A.Color_lerp(a.rangePickerHeaderBackgroundColor, b.rangePickerHeaderBackgroundColor, t); t29 = A.Color_lerp(a.rangePickerHeaderForegroundColor, b.rangePickerHeaderForegroundColor, t); t30 = A.TextStyle_lerp(a.rangePickerHeaderHeadlineStyle, b.rangePickerHeaderHeadlineStyle, t); t31 = A.TextStyle_lerp(a.rangePickerHeaderHelpStyle, b.rangePickerHeaderHelpStyle, t); t32 = A.Color_lerp(a.rangeSelectionBackgroundColor, b.rangeSelectionBackgroundColor, t); t12 = A.MaterialStateProperty_lerp(a.rangeSelectionOverlayColor, b.rangeSelectionOverlayColor, t, A.ui_Color_lerp$closure(), t12); t33 = A.Color_lerp(a.dividerColor, b.dividerColor, t); if (t < 0.5) t34 = a.inputDecorationTheme; else t34 = b.inputDecorationTheme; t35 = A.ButtonStyle_lerp(a.cancelButtonStyle, b.cancelButtonStyle, t); return A.DatePickerThemeData$(t1, t35, A.ButtonStyle_lerp(a.confirmButtonStyle, b.confirmButtonStyle, t), t14, t13, t15, t11, t33, t2, t6, t7, t8, t9, t34, t23, t24, t28, t29, t30, t31, t25, t27, t26, t32, t12, t3, t5, t4, t17, t18, t16, t10, t21, t20, t22, t19); }, DatePickerThemeData__lerpBorderSide(a, b, t) { var t1; if (a == b) return a; if (a == null) { t1 = b.color; return A.BorderSide_lerp(new A.BorderSide(A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 0, B.BorderStyle_1, -1), b, t); } t1 = a.color; return A.BorderSide_lerp(a, new A.BorderSide(A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 0, B.BorderStyle_1, -1), t); }, DatePickerTheme_of(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DatePickerTheme); if (t1 != null) t1.get$data(t1); t1 = A.Theme_of(context); return t1.datePickerTheme; }, _DatePickerDefaultsM2$(context) { var _null = null; return new A._DatePickerDefaultsM2(context, _null, 24, _null, _null, B.RoundedRectangleBorder_27D4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 0, _null, _null, B.RoundedRectangleBorder_27D0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _DatePickerDefaultsM3$(context) { var _null = null; return new A._DatePickerDefaultsM3(context, _null, 6, _null, _null, B.RoundedRectangleBorder_27D3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 0, _null, _null, B.RoundedRectangleBorder_27D0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, DatePickerThemeData: function DatePickerThemeData(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; _.backgroundColor = t0; _.elevation = t1; _.shadowColor = t2; _.surfaceTintColor = t3; _.shape = t4; _.headerBackgroundColor = t5; _.headerForegroundColor = t6; _.headerHeadlineStyle = t7; _.headerHelpStyle = t8; _.weekdayStyle = t9; _.dayStyle = t10; _.dayForegroundColor = t11; _.dayBackgroundColor = t12; _.dayOverlayColor = t13; _.todayForegroundColor = t14; _.todayBackgroundColor = t15; _.todayBorder = t16; _.yearStyle = t17; _.yearForegroundColor = t18; _.yearBackgroundColor = t19; _.yearOverlayColor = t20; _.rangePickerBackgroundColor = t21; _.rangePickerElevation = t22; _.rangePickerShadowColor = t23; _.rangePickerSurfaceTintColor = t24; _.rangePickerShape = t25; _.rangePickerHeaderBackgroundColor = t26; _.rangePickerHeaderForegroundColor = t27; _.rangePickerHeaderHeadlineStyle = t28; _.rangePickerHeaderHelpStyle = t29; _.rangeSelectionBackgroundColor = t30; _.rangeSelectionOverlayColor = t31; _.dividerColor = t32; _.inputDecorationTheme = t33; _.cancelButtonStyle = t34; _.confirmButtonStyle = t35; }, _DatePickerDefaultsM2: function _DatePickerDefaultsM2(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) { var _ = this; _.context = t0; _.___DatePickerDefaultsM2__isDark_FI = _.___DatePickerDefaultsM2__textTheme_FI = _.___DatePickerDefaultsM2__colors_FI = _.___DatePickerDefaultsM2__theme_FI = $; _.backgroundColor = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.shape = t5; _.headerBackgroundColor = t6; _.headerForegroundColor = t7; _.headerHeadlineStyle = t8; _.headerHelpStyle = t9; _.weekdayStyle = t10; _.dayStyle = t11; _.dayForegroundColor = t12; _.dayBackgroundColor = t13; _.dayOverlayColor = t14; _.todayForegroundColor = t15; _.todayBackgroundColor = t16; _.todayBorder = t17; _.yearStyle = t18; _.yearForegroundColor = t19; _.yearBackgroundColor = t20; _.yearOverlayColor = t21; _.rangePickerBackgroundColor = t22; _.rangePickerElevation = t23; _.rangePickerShadowColor = t24; _.rangePickerSurfaceTintColor = t25; _.rangePickerShape = t26; _.rangePickerHeaderBackgroundColor = t27; _.rangePickerHeaderForegroundColor = t28; _.rangePickerHeaderHeadlineStyle = t29; _.rangePickerHeaderHelpStyle = t30; _.rangeSelectionBackgroundColor = t31; _.rangeSelectionOverlayColor = t32; _.dividerColor = t33; _.inputDecorationTheme = t34; _.cancelButtonStyle = t35; _.confirmButtonStyle = t36; }, _DatePickerDefaultsM2_dayForegroundColor_closure: function _DatePickerDefaultsM2_dayForegroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM2_dayBackgroundColor_closure: function _DatePickerDefaultsM2_dayBackgroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM2_dayOverlayColor_closure: function _DatePickerDefaultsM2_dayOverlayColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM2_todayForegroundColor_closure: function _DatePickerDefaultsM2_todayForegroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM2_rangeSelectionOverlayColor_closure: function _DatePickerDefaultsM2_rangeSelectionOverlayColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3: function _DatePickerDefaultsM3(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) { var _ = this; _.context = t0; _.___DatePickerDefaultsM3__textTheme_FI = _.___DatePickerDefaultsM3__colors_FI = _.___DatePickerDefaultsM3__theme_FI = $; _.backgroundColor = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.shape = t5; _.headerBackgroundColor = t6; _.headerForegroundColor = t7; _.headerHeadlineStyle = t8; _.headerHelpStyle = t9; _.weekdayStyle = t10; _.dayStyle = t11; _.dayForegroundColor = t12; _.dayBackgroundColor = t13; _.dayOverlayColor = t14; _.todayForegroundColor = t15; _.todayBackgroundColor = t16; _.todayBorder = t17; _.yearStyle = t18; _.yearForegroundColor = t19; _.yearBackgroundColor = t20; _.yearOverlayColor = t21; _.rangePickerBackgroundColor = t22; _.rangePickerElevation = t23; _.rangePickerShadowColor = t24; _.rangePickerSurfaceTintColor = t25; _.rangePickerShape = t26; _.rangePickerHeaderBackgroundColor = t27; _.rangePickerHeaderForegroundColor = t28; _.rangePickerHeaderHeadlineStyle = t29; _.rangePickerHeaderHelpStyle = t30; _.rangeSelectionBackgroundColor = t31; _.rangeSelectionOverlayColor = t32; _.dividerColor = t33; _.inputDecorationTheme = t34; _.cancelButtonStyle = t35; _.confirmButtonStyle = t36; }, _DatePickerDefaultsM3_dayForegroundColor_closure: function _DatePickerDefaultsM3_dayForegroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_dayBackgroundColor_closure: function _DatePickerDefaultsM3_dayBackgroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_dayOverlayColor_closure: function _DatePickerDefaultsM3_dayOverlayColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_todayForegroundColor_closure: function _DatePickerDefaultsM3_todayForegroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_yearForegroundColor_closure: function _DatePickerDefaultsM3_yearForegroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_yearBackgroundColor_closure: function _DatePickerDefaultsM3_yearBackgroundColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_yearOverlayColor_closure: function _DatePickerDefaultsM3_yearOverlayColor_closure(t0) { this.$this = t0; }, _DatePickerDefaultsM3_rangeSelectionOverlayColor_closure: function _DatePickerDefaultsM3_rangeSelectionOverlayColor_closure(t0) { this.$this = t0; }, _DatePickerThemeData_Object_Diagnosticable: function _DatePickerThemeData_Object_Diagnosticable() { }, _DesktopTextSelectionHandleControls: function _DesktopTextSelectionHandleControls() { }, DesktopTextSelectionControls: function DesktopTextSelectionControls() { }, __DesktopTextSelectionHandleControls_DesktopTextSelectionControls_TextSelectionHandleControls: function __DesktopTextSelectionHandleControls_DesktopTextSelectionControls_TextSelectionHandleControls() { }, DesktopTextSelectionToolbar: function DesktopTextSelectionToolbar(t0, t1, t2) { this.anchor = t0; this.children = t1; this.key = t2; }, DesktopTextSelectionToolbarButton$text(context, onPressed, text) { var _null = null; return new A.DesktopTextSelectionToolbarButton(onPressed, A.Text$(text, _null, _null, B.TextOverflow_2, _null, _null, B.TextStyle_mTi0.copyWith$1$color(A.Theme_of(context).colorScheme.brightness === B.Brightness_0 ? B.Color_4294967295 : B.Color_3707764736), _null, _null, _null), _null); }, DesktopTextSelectionToolbarButton: function DesktopTextSelectionToolbarButton(t0, t1, t2) { this.onPressed = t0; this.child = t1; this.key = t2; }, Dialog$(alignment, backgroundColor, child, clipBehavior, elevation, insetPadding, shadowColor, shape, surfaceTintColor) { return new A.Dialog(backgroundColor, elevation, shadowColor, surfaceTintColor, insetPadding, clipBehavior, shape, alignment, child, null); }, AlertDialog$(actions, actionsPadding, backgroundColor, $content, contentPadding, semanticLabel, title) { return new A.AlertDialog(title, $content, contentPadding, actions, actionsPadding, backgroundColor, semanticLabel, null); }, SimpleDialogOption$(child, onPressed) { return new A.SimpleDialogOption(onPressed, child, null); }, SimpleDialog$(children, title) { return new A.SimpleDialog(title, children, null); }, _buildMaterialDialogTransitions(context, animation, secondaryAnimation, child) { return new A.FadeTransition(A.CurvedAnimation$(B.Cubic_xDo0, animation, null), false, child, null); }, showDialog(anchorPoint, barrierColor, barrierDismissible, barrierLabel, builder, context, routeSettings, useRootNavigator, $T) { var themes, t1 = A.Navigator_of(context, useRootNavigator)._framework$_element; t1.toString; themes = A.InheritedTheme_capture(context, t1); t1 = A.Navigator_of(context, useRootNavigator); return t1.push$1(A.DialogRoute$(anchorPoint, B.Color_2315255808, barrierDismissible, barrierLabel, builder, context, routeSettings, themes, B.TraversalEdgeBehavior_0, true, $T)); }, DialogRoute$(anchorPoint, barrierColor, barrierDismissible, barrierLabel, builder, context, settings, themes, traversalEdgeBehavior, useSafeArea, $T) { var t2, t3, t4, t5, t6, t7, t8, t9, _null = null, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t1 = t1.get$modalBarrierDismissLabel(); t2 = A._setArrayType([], type$.JSArray_of_Future_bool_Function); t3 = $.Zone__current; t4 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation); t5 = A._setArrayType([], type$.JSArray_OverlayEntry); t6 = $.$get$ChangeNotifier__emptyListeners(); t7 = $.Zone__current; t8 = $T._eval$1("_Future<0?>"); t9 = $T._eval$1("_AsyncCompleter<0?>"); return new A.DialogRoute(new A.DialogRoute_closure(builder, themes, true), barrierDismissible, t1, barrierColor, B.Duration_150000, A.dialog___buildMaterialDialogTransitions$closure(), anchorPoint, _null, traversalEdgeBehavior, t2, A.LinkedHashSet_LinkedHashSet$_empty(type$.PopEntry), new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, 0, new A._AsyncCompleter(new A._Future(t3, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t4, t5, B.RouteSettings_null_null, new A.ValueNotifier(_null, t6, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t7, t8), t9), new A._AsyncCompleter(new A._Future(t7, t8), t9), $T._eval$1("DialogRoute<0>")); }, _paddingScaleFactor(textScaleFactor) { var t1 = A.lerpDouble(1, 0.3333333333333333, A.clampDouble(textScaleFactor, 1, 2) - 1); t1.toString; return t1; }, _DialogDefaultsM2$(context) { var _null = null; return new A._DialogDefaultsM2(context, A.Theme_of(context).textTheme, A.Theme_of(context).iconTheme, _null, 24, _null, _null, B.RoundedRectangleBorder_27D4, B.Alignment_0_0, _null, _null, _null, _null); }, _DialogDefaultsM3$(context) { var _null = null; return new A._DialogDefaultsM3(context, _null, 6, _null, _null, B.RoundedRectangleBorder_27D3, B.Alignment_0_0, _null, _null, _null, _null); }, Dialog: function Dialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.shadowColor = t2; _.surfaceTintColor = t3; _.insetPadding = t4; _.clipBehavior = t5; _.shape = t6; _.alignment = t7; _.child = t8; _.key = t9; }, AlertDialog: function AlertDialog(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.title = t0; _.content = t1; _.contentPadding = t2; _.actions = t3; _.actionsPadding = t4; _.backgroundColor = t5; _.semanticLabel = t6; _.key = t7; }, SimpleDialogOption: function SimpleDialogOption(t0, t1, t2) { this.onPressed = t0; this.child = t1; this.key = t2; }, SimpleDialog: function SimpleDialog(t0, t1, t2) { this.title = t0; this.children = t1; this.key = t2; }, DialogRoute: function DialogRoute(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; _._pageBuilder = t0; _._barrierDismissible = t1; _._barrierLabel = t2; _._barrierColor = t3; _._transitionDuration = t4; _._transitionBuilder = t5; _.anchorPoint = t6; _.filter = t7; _.traversalEdgeBehavior = t8; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t9; _._popEntries = t10; _._scopeKey = t11; _._subtreeKey = t12; _._storageBucket = t13; _.__ModalRoute__modalBarrier_A = $; _._modalScopeCache = null; _.__ModalRoute__modalScope_A = $; _.LocalHistoryRoute__localHistory = t14; _.LocalHistoryRoute__entriesImpliesAppBarDismissal = t15; _._transitionCompleter = t16; _._performanceModeRequestHandle = null; _._popFinalized = false; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t17; _._trainHoppingListenerRemover = _._routes$_result = null; _._overlayEntries = t18; _._navigator$_navigator = null; _._navigator$_settings = t19; _._restorationScopeId = t20; _._popCompleter = t21; _._disposeCompleter = t22; _.$ti = t23; }, DialogRoute_closure: function DialogRoute_closure(t0, t1, t2) { this.builder = t0; this.themes = t1; this.useSafeArea = t2; }, _DialogDefaultsM2: function _DialogDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.context = t0; _._textTheme = t1; _._iconTheme = t2; _.backgroundColor = t3; _.elevation = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.shape = t7; _.alignment = t8; _.titleTextStyle = t9; _.contentTextStyle = t10; _.actionsPadding = t11; _.iconColor = t12; }, _DialogDefaultsM3: function _DialogDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.context = t0; _.___DialogDefaultsM3__textTheme_FI = _.___DialogDefaultsM3__colors_FI = $; _.backgroundColor = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.shape = t5; _.alignment = t6; _.titleTextStyle = t7; _.contentTextStyle = t8; _.actionsPadding = t9; _.iconColor = t10; }, DialogTheme_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9; if (a === b && true) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.lerpDouble(a.elevation, b.elevation, t); t3 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t4 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t5 = A.ShapeBorder_lerp(a.shape, b.shape, t); t6 = A.AlignmentGeometry_lerp(a.alignment, b.alignment, t); t7 = A.Color_lerp(a.iconColor, b.iconColor, t); t8 = A.TextStyle_lerp(a.titleTextStyle, b.titleTextStyle, t); t9 = A.TextStyle_lerp(a.contentTextStyle, b.contentTextStyle, t); return new A.DialogTheme(t1, t2, t3, t4, t5, t6, t8, t9, A.EdgeInsetsGeometry_lerp(a.actionsPadding, b.actionsPadding, t), t7); }, DialogTheme: function DialogTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.shadowColor = t2; _.surfaceTintColor = t3; _.shape = t4; _.alignment = t5; _.titleTextStyle = t6; _.contentTextStyle = t7; _.actionsPadding = t8; _.iconColor = t9; }, _DialogTheme_Object_Diagnosticable: function _DialogTheme_Object_Diagnosticable() { }, Divider$(color, height, thickness) { return new A.Divider(height, thickness, color, null); }, Divider_createBorderSide(context, color, width) { var t1, effectiveColor, effectiveWidth, dividerTheme = A.DividerTheme_of(context), defaults = A.Theme_of(context).useMaterial3 ? A._DividerDefaultsM3$(context) : A._DividerDefaultsM2$(context); if (color == null) { t1 = dividerTheme.color; effectiveColor = t1; } else effectiveColor = color; if (effectiveColor == null) effectiveColor = defaults == null ? null : defaults.get$color(defaults); effectiveWidth = width; if (effectiveColor == null) return new A.BorderSide(B.Color_4278190080, effectiveWidth, B.BorderStyle_1, -1); return new A.BorderSide(effectiveColor, effectiveWidth, B.BorderStyle_1, -1); }, _DividerDefaultsM2$(context) { return new A._DividerDefaultsM2(context, null, 16, 0, 0, 0); }, _DividerDefaultsM3$(context) { return new A._DividerDefaultsM3(context, null, 16, 1, 0, 0); }, Divider: function Divider(t0, t1, t2, t3) { var _ = this; _.height = t0; _.thickness = t1; _.color = t2; _.key = t3; }, VerticalDivider: function VerticalDivider(t0, t1, t2) { this.width = t0; this.color = t1; this.key = t2; }, _DividerDefaultsM2: function _DividerDefaultsM2(t0, t1, t2, t3, t4, t5) { var _ = this; _.context = t0; _.color = t1; _.space = t2; _.thickness = t3; _.indent = t4; _.endIndent = t5; }, _DividerDefaultsM3: function _DividerDefaultsM3(t0, t1, t2, t3, t4, t5) { var _ = this; _.context = t0; _.color = t1; _.space = t2; _.thickness = t3; _.indent = t4; _.endIndent = t5; }, DividerThemeData_lerp(a, b, t) { var t1, t2, t3, t4; if (a === b && true) return a; t1 = A.Color_lerp(a.color, b.color, t); t2 = A.lerpDouble(a.space, b.space, t); t3 = A.lerpDouble(a.thickness, b.thickness, t); t4 = A.lerpDouble(a.indent, b.indent, t); return new A.DividerThemeData(t1, t2, t3, t4, A.lerpDouble(a.endIndent, b.endIndent, t)); }, DividerTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.DividerTheme); t1 = A.Theme_of(context); return t1.dividerTheme; }, DividerThemeData: function DividerThemeData(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.space = t1; _.thickness = t2; _.indent = t3; _.endIndent = t4; }, _DividerThemeData_Object_Diagnosticable: function _DividerThemeData_Object_Diagnosticable() { }, Drawer$(child) { return new A.Drawer(child, null); }, DrawerAlignment: function DrawerAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, Drawer: function Drawer(t0, t1) { this.child = t0; this.key = t1; }, _DrawerControllerScope: function _DrawerControllerScope(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, DrawerController: function DrawerController(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.child = t0; _.alignment = t1; _.drawerCallback = t2; _.dragStartBehavior = t3; _.scrimColor = t4; _.enableOpenDragGesture = t5; _.edgeDragWidth = t6; _.isDrawerOpen = t7; _.key = t8; }, DrawerControllerState: function DrawerControllerState(t0, t1, t2, t3, t4, t5) { var _ = this; _._historyEntry = null; _._focusScopeNode = t0; _.__DrawerControllerState__controller_A = $; _._drawer$_drawerKey = t1; _._previouslyOpened = false; _.__DrawerControllerState__scrimColorTween_A = $; _._drawer$_gestureDetectorKey = t2; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, DrawerControllerState__animationChanged_closure: function DrawerControllerState__animationChanged_closure() { }, _DrawerDefaultsM2: function _DrawerDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.context = t0; _.backgroundColor = t1; _.scrimColor = t2; _.elevation = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.shape = t6; _.endShape = t7; _.width = t8; }, _DrawerDefaultsM3: function _DrawerDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.context = t0; _.___DrawerDefaultsM3_direction_FI = $; _.backgroundColor = t1; _.scrimColor = t2; _.elevation = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.shape = t6; _.endShape = t7; _.width = t8; }, _DrawerControllerState_State_SingleTickerProviderStateMixin: function _DrawerControllerState_State_SingleTickerProviderStateMixin() { }, DrawerThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7; if (a === b) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.Color_lerp(a.scrimColor, b.scrimColor, t); t3 = A.lerpDouble(a.elevation, b.elevation, t); t4 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t5 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t6 = A.ShapeBorder_lerp(a.shape, b.shape, t); t7 = A.ShapeBorder_lerp(a.endShape, b.endShape, t); return new A.DrawerThemeData(t1, t2, t3, t4, t5, t6, t7, A.lerpDouble(a.width, b.width, t)); }, DrawerTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.DrawerTheme); t1 = A.Theme_of(context); return t1.drawerTheme; }, DrawerThemeData: function DrawerThemeData(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.backgroundColor = t0; _.scrimColor = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.shape = t5; _.endShape = t6; _.width = t7; }, _DrawerThemeData_Object_Diagnosticable: function _DrawerThemeData_Object_Diagnosticable() { }, DropdownMenuItem$(child, onTap, value, $T) { return new A.DropdownMenuItem(onTap, value, child, B.AlignmentDirectional_m1_0, null, $T._eval$1("DropdownMenuItem<0>")); }, DropdownButton$(dropdownColor, hint, icon, isDense, isExpanded, items, onChanged, style, value, $T) { var _null = null; return new A.DropdownButton(items, value, hint, _null, onChanged, _null, _null, 8, style, icon, _null, _null, 24, isDense, isExpanded, 48, _null, _null, false, dropdownColor, _null, _null, _null, B.AlignmentDirectional_m1_0, _null, _null, false, false, _null, $T._eval$1("DropdownButton<0>")); }, DropdownButtonFormField$(autofocus, decoration, iconEnabledColor, isDense, isExpanded, items, onChanged, selectedItemBuilder, validator, value, $T) { var _null = null; if (decoration == null) A.InputDecoration$(_null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.DropdownButtonFormField(onChanged, _null, validator, new A.DropdownButtonFormField_closure($T, decoration, _null, items, onChanged, _null, _null, selectedItemBuilder, _null, 8, _null, _null, _null, iconEnabledColor, 24, isDense, isExpanded, _null, _null, autofocus, _null, _null, _null, B.AlignmentDirectional_m1_0, _null, _null), value, true, B.AutovalidateMode_0, _null, _null, $T._eval$1("DropdownButtonFormField<0>")); }, _DropdownMenuPainter: function _DropdownMenuPainter(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.color = t0; _.elevation = t1; _.selectedIndex = t2; _.borderRadius = t3; _.resize = t4; _.getSelectedItemOffset = t5; _._dropdown$_painter = t6; _._repaint = t7; }, _DropdownMenuItemButton: function _DropdownMenuItemButton(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.route = t0; _.scrollController = t1; _.padding = t2; _.buttonRect = t3; _.constraints = t4; _.itemIndex = t5; _.enableFeedback = t6; _.key = t7; _.$ti = t8; }, _DropdownMenuItemButtonState: function _DropdownMenuItemButtonState(t0, t1) { var _ = this; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownMenu: function _DropdownMenu(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.route = t0; _.padding = t1; _.buttonRect = t2; _.constraints = t3; _.dropdownColor = t4; _.enableFeedback = t5; _.borderRadius = t6; _.scrollController = t7; _.key = t8; _.$ti = t9; }, _DropdownMenuState: function _DropdownMenuState(t0, t1) { var _ = this; _.___DropdownMenuState__resize_A = _.___DropdownMenuState__fadeOpacity_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownMenuState_build_closure: function _DropdownMenuState_build_closure(t0) { this.route = t0; }, _DropdownMenuRouteLayout: function _DropdownMenuRouteLayout(t0, t1, t2, t3) { var _ = this; _.buttonRect = t0; _.route = t1; _.textDirection = t2; _.$ti = t3; }, _DropdownRouteResult: function _DropdownRouteResult(t0, t1) { this.result = t0; this.$ti = t1; }, _MenuLimits: function _MenuLimits(t0, t1, t2) { this.top = t0; this.height = t1; this.scrollOffset = t2; }, _DropdownRoute: function _DropdownRoute(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; _.items = t0; _.padding = t1; _.buttonRect = t2; _.selectedIndex = t3; _.elevation = t4; _.capturedThemes = t5; _.style = t6; _.itemHeight = t7; _.dropdownColor = t8; _.menuMaxHeight = t9; _.enableFeedback = t10; _.borderRadius = t11; _.itemHeights = t12; _.barrierLabel = t13; _.filter = t14; _.traversalEdgeBehavior = t15; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t16; _._popEntries = t17; _._scopeKey = t18; _._subtreeKey = t19; _._storageBucket = t20; _.__ModalRoute__modalBarrier_A = $; _._modalScopeCache = null; _.__ModalRoute__modalScope_A = $; _.LocalHistoryRoute__localHistory = t21; _.LocalHistoryRoute__entriesImpliesAppBarDismissal = t22; _._transitionCompleter = t23; _._performanceModeRequestHandle = null; _._popFinalized = false; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t24; _._trainHoppingListenerRemover = _._routes$_result = null; _._overlayEntries = t25; _._navigator$_navigator = null; _._navigator$_settings = t26; _._restorationScopeId = t27; _._popCompleter = t28; _._disposeCompleter = t29; _.$ti = t30; }, _DropdownRoute_buildPage_closure: function _DropdownRoute_buildPage_closure(t0) { this.$this = t0; }, _DropdownRoute_getItemOffset_closure: function _DropdownRoute_getItemOffset_closure() { }, _DropdownRoute_getMenuLimits_closure: function _DropdownRoute_getMenuLimits_closure() { }, _DropdownRoutePage: function _DropdownRoutePage(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.route = t0; _.constraints = t1; _.padding = t2; _.buttonRect = t3; _.selectedIndex = t4; _.capturedThemes = t5; _.dropdownColor = t6; _.enableFeedback = t7; _.borderRadius = t8; _.key = t9; _.$ti = t10; }, _DropdownRoutePageState: function _DropdownRoutePageState(t0, t1) { var _ = this; _.___DropdownRoutePageState__scrollController_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownRoutePageState_build_closure: function _DropdownRoutePageState_build_closure(t0, t1, t2) { this.$this = t0; this.textDirection = t1; this.menu = t2; }, _MenuItem: function _MenuItem(t0, t1, t2, t3, t4) { var _ = this; _.onLayout = t0; _.item = t1; _.child = t2; _.key = t3; _.$ti = t4; }, _RenderMenuItem: function _RenderMenuItem(t0, t1, t2) { var _ = this; _.onLayout = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _DropdownMenuItemContainer: function _DropdownMenuItemContainer(t0, t1, t2) { this.child = t0; this.alignment = t1; this.key = t2; }, DropdownMenuItem: function DropdownMenuItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.onTap = t0; _.value = t1; _.child = t2; _.alignment = t3; _.key = t4; _.$ti = t5; }, DropdownButtonHideUnderline: function DropdownButtonHideUnderline(t0, t1) { this.child = t0; this.key = t1; }, DropdownButton: function DropdownButton(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; _.items = t0; _.value = t1; _.hint = t2; _.disabledHint = t3; _.onChanged = t4; _.onTap = t5; _.selectedItemBuilder = t6; _.elevation = t7; _.style = t8; _.icon = t9; _.iconDisabledColor = t10; _.iconEnabledColor = t11; _.iconSize = t12; _.isDense = t13; _.isExpanded = t14; _.itemHeight = t15; _.focusColor = t16; _.focusNode = t17; _.autofocus = t18; _.dropdownColor = t19; _.padding = t20; _.menuMaxHeight = t21; _.enableFeedback = t22; _.alignment = t23; _.borderRadius = t24; _._inputDecoration = t25; _._isEmpty = t26; _._dropdown$_isFocused = t27; _.key = t28; _.$ti = t29; }, _DropdownButtonState: function _DropdownButtonState(t0, t1) { var _ = this; _._dropdown$_internalNode = _._dropdown$_lastOrientation = _._dropdownRoute = _._selectedIndex = null; _.___DropdownButtonState__actionMap_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownButtonState_initState_closure: function _DropdownButtonState_initState_closure(t0) { this.$this = t0; }, _DropdownButtonState_initState_closure0: function _DropdownButtonState_initState_closure0(t0) { this.$this = t0; }, _DropdownButtonState__updateSelectedIndex_closure: function _DropdownButtonState__updateSelectedIndex_closure(t0) { this.$this = t0; }, _DropdownButtonState__handleTap_closure: function _DropdownButtonState__handleTap_closure(t0, t1) { this.$this = t0; this.index = t1; }, _DropdownButtonState__handleTap_closure0: function _DropdownButtonState__handleTap_closure0(t0) { this.$this = t0; }, _DropdownButtonState_build_closure: function _DropdownButtonState_build_closure(t0) { this.$this = t0; }, DropdownButtonFormField: function DropdownButtonFormField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onChanged = t0; _.onSaved = t1; _.validator = t2; _.builder = t3; _.initialValue = t4; _.enabled = t5; _.autovalidateMode = t6; _.restorationId = t7; _.key = t8; _.$ti = t9; }, DropdownButtonFormField_closure: function DropdownButtonFormField_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; _.T = t0; _.decoration = t1; _.focusColor = t2; _.items = t3; _.onChanged = t4; _.hint = t5; _.disabledHint = t6; _.selectedItemBuilder = t7; _.onTap = t8; _.elevation = t9; _.style = t10; _.icon = t11; _.iconDisabledColor = t12; _.iconEnabledColor = t13; _.iconSize = t14; _.isDense = t15; _.isExpanded = t16; _.itemHeight = t17; _.focusNode = t18; _.autofocus = t19; _.dropdownColor = t20; _.menuMaxHeight = t21; _.enableFeedback = t22; _.alignment = t23; _.borderRadius = t24; _.padding = t25; }, DropdownButtonFormField__closure: function DropdownButtonFormField__closure(t0, t1) { this.state = t0; this.T = t1; }, DropdownButtonFormField_closure_isHintOrDisabledHintAvailable: function DropdownButtonFormField_closure_isHintOrDisabledHintAvailable(t0, t1, t2, t3) { var _ = this; _.onChanged = t0; _.items = t1; _.hint = t2; _.disabledHint = t3; }, DropdownButtonFormField__closure0: function DropdownButtonFormField__closure0(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; _.hasError = t0; _.effectiveDecoration = t1; _.items = t2; _.selectedItemBuilder = t3; _.state = t4; _.hint = t5; _.disabledHint = t6; _.onChanged = t7; _.onTap = t8; _.elevation = t9; _.style = t10; _.icon = t11; _.iconDisabledColor = t12; _.iconEnabledColor = t13; _.iconSize = t14; _.isDense = t15; _.isExpanded = t16; _.itemHeight = t17; _.focusColor = t18; _.focusNode = t19; _.autofocus = t20; _.dropdownColor = t21; _.menuMaxHeight = t22; _.enableFeedback = t23; _.alignment = t24; _.borderRadius = t25; _.field = t26; _.isEmpty = t27; _.padding = t28; _.T = t29; }, DropdownButtonFormField__closure_resolveInputBorder: function DropdownButtonFormField__closure_resolveInputBorder(t0, t1, t2) { this.hasError = t0; this.isFocused = t1; this.effectiveDecoration = t2; }, DropdownButtonFormField__closure_effectiveBorderRadius: function DropdownButtonFormField__closure_effectiveBorderRadius(t0) { this.resolveInputBorder = t0; }, _DropdownButtonFormFieldState: function _DropdownButtonFormFieldState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.__FormFieldState__value_AI = $; _._errorText = t0; _._hasInteractedByUser = t1; _.RestorationMixin__bucket = t2; _.RestorationMixin__properties = t3; _.RestorationMixin__debugPropertiesWaitingForReregistration = t4; _.RestorationMixin__firstRestorePending = t5; _.RestorationMixin__currentParent = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; _.$ti = t8; }, __DropdownButtonState_State_WidgetsBindingObserver: function __DropdownButtonState_State_WidgetsBindingObserver() { }, DropdownMenuThemeData_lerp(a, b, t) { var t1, t2; if (a === b && true) return a; t1 = A.TextStyle_lerp(a.textStyle, b.textStyle, t); if (t < 0.5) t2 = a.inputDecorationTheme; else t2 = b.inputDecorationTheme; return new A.DropdownMenuThemeData(t1, t2, A.MenuStyle_lerp(a.menuStyle, b.menuStyle, t)); }, DropdownMenuThemeData: function DropdownMenuThemeData(t0, t1, t2) { this.textStyle = t0; this.inputDecorationTheme = t1; this.menuStyle = t2; }, _DropdownMenuThemeData_Object_Diagnosticable: function _DropdownMenuThemeData_Object_Diagnosticable() { }, ElevatedButton$(child, onPressed, style) { var _null = null; return new A.ElevatedButton(onPressed, _null, _null, _null, style, B.Clip_0, _null, false, _null, true, child, _null); }, ElevatedButton_styleFrom(alignment, animationDuration, backgroundColor, disabledBackgroundColor, disabledForegroundColor, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, foregroundColor, maximumSize, minimumSize, padding, shadowColor, shape, splashFactory, tapTargetSize, textStyle, visualDensity) { var t2, t3, t4, _null = null, backgroundColorProp = backgroundColor == null && disabledBackgroundColor == null ? _null : new A._ElevatedButtonDefaultColor(backgroundColor, disabledBackgroundColor), t1 = foregroundColor == null, foregroundColorProp = t1 && disabledForegroundColor == null ? _null : new A._ElevatedButtonDefaultColor(foregroundColor, disabledForegroundColor), overlayColor = t1 ? _null : new A._ElevatedButtonDefaultOverlay(foregroundColor), elevationValue = elevation == null ? _null : new A._ElevatedButtonDefaultElevation(elevation); t1 = shadowColor == null ? _null : new A.MaterialStatePropertyAll(shadowColor, type$.MaterialStatePropertyAll_Color); t2 = minimumSize == null ? _null : new A.MaterialStatePropertyAll(minimumSize, type$.MaterialStatePropertyAll_Size); t3 = maximumSize == null ? _null : new A.MaterialStatePropertyAll(maximumSize, type$.MaterialStatePropertyAll_Size); t4 = shape == null ? _null : new A.MaterialStatePropertyAll(shape, type$.MaterialStatePropertyAll_OutlinedBorder); return A.ButtonStyle$(alignment, animationDuration, backgroundColorProp, elevationValue, enableFeedback, _null, foregroundColorProp, _null, _null, t3, t2, new A._ElevatedButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor), overlayColor, new A.MaterialStatePropertyAll(padding, type$.MaterialStatePropertyAll_EdgeInsetsGeometry), t1, t4, _null, splashFactory, _null, tapTargetSize, new A.MaterialStatePropertyAll(textStyle, type$.MaterialStatePropertyAll_nullable_TextStyle), visualDensity); }, _scaledPadding(context) { var t2, t3, theme = A.Theme_of(context), padding1x = theme.useMaterial3 ? 24 : 16, t1 = theme.textTheme.labelLarge, defaultFontSize = t1 == null ? null : t1.fontSize; if (defaultFontSize == null) defaultFontSize = 14; t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_4); t1 = t1 == null ? null : t1.get$textScaler(); if (t1 == null) t1 = B._LinearTextScaler_1; t2 = padding1x / 2; t3 = t2 / 2; return A.ButtonStyleButton_scaledPadding(new A.EdgeInsets(padding1x, 0, padding1x, 0), new A.EdgeInsets(t2, 0, t2, 0), new A.EdgeInsets(t3, 0, t3, 0), defaultFontSize * t1.textScaleFactor / 14); }, ElevatedButton: function ElevatedButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.statesController = t8; _.isSemanticButton = t9; _.child = t10; _.key = t11; }, _ElevatedButtonDefaultColor: function _ElevatedButtonDefaultColor(t0, t1) { this.color = t0; this.disabled = t1; }, _ElevatedButtonDefaultOverlay: function _ElevatedButtonDefaultOverlay(t0) { this.overlay = t0; }, _ElevatedButtonDefaultElevation: function _ElevatedButtonDefaultElevation(t0) { this.elevation = t0; }, _ElevatedButtonDefaultMouseCursor: function _ElevatedButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _ElevatedButtonDefaultsM3: function _ElevatedButtonDefaultsM3(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; _.context = t0; _.___ElevatedButtonDefaultsM3__colors_FI = $; _.textStyle = t1; _.backgroundColor = t2; _.foregroundColor = t3; _.overlayColor = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.elevation = t7; _.padding = t8; _.minimumSize = t9; _.fixedSize = t10; _.maximumSize = t11; _.iconColor = t12; _.iconSize = t13; _.side = t14; _.shape = t15; _.mouseCursor = t16; _.visualDensity = t17; _.tapTargetSize = t18; _.animationDuration = t19; _.enableFeedback = t20; _.alignment = t21; _.splashFactory = t22; }, _ElevatedButtonDefaultsM3_backgroundColor_closure: function _ElevatedButtonDefaultsM3_backgroundColor_closure(t0) { this.$this = t0; }, _ElevatedButtonDefaultsM3_foregroundColor_closure: function _ElevatedButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _ElevatedButtonDefaultsM3_overlayColor_closure: function _ElevatedButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _ElevatedButtonDefaultsM3_elevation_closure: function _ElevatedButtonDefaultsM3_elevation_closure() { }, _ElevatedButtonDefaultsM3_mouseCursor_closure: function _ElevatedButtonDefaultsM3_mouseCursor_closure() { }, __ElevatedButtonDefaultColor_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultColor_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable() { }, ElevatedButtonThemeData_lerp(a, b, t) { if (a === b) return a; return new A.ElevatedButtonThemeData(A.ButtonStyle_lerp(a.style, b.style, t)); }, ElevatedButtonThemeData: function ElevatedButtonThemeData(t0) { this.style = t0; }, _ElevatedButtonThemeData_Object_Diagnosticable: function _ElevatedButtonThemeData_Object_Diagnosticable() { }, ElevationOverlay_applySurfaceTint(color, surfaceTint, elevation) { if (surfaceTint != null && !surfaceTint.$eq(0, B.Color_0)) return A.Color_alphaBlend(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A.ElevationOverlay__surfaceTintOpacityForElevation(elevation)), surfaceTint.get$value(surfaceTint) >>> 16 & 255, surfaceTint.get$value(surfaceTint) >>> 8 & 255, surfaceTint.get$value(surfaceTint) & 255), color); return color; }, ElevationOverlay__surfaceTintOpacityForElevation(elevation) { var index, t1, t2, lower, t3, t4; if (elevation < 0) return 0; for (index = 0; t1 = B.List_N4E[index], t2 = t1.elevation, elevation >= t2;) { if (elevation === t2 || index + 1 === 6) return t1.opacity; ++index; } lower = B.List_N4E[index - 1]; t3 = lower.elevation; t4 = lower.opacity; return t4 + (elevation - t3) / (t2 - t3) * (t1.opacity - t4); }, ElevationOverlay_applyOverlay(context, color, elevation) { var t1, theme = A.Theme_of(context); if (elevation > 0) if (theme.applyElevationOverlayColor) { t1 = theme.colorScheme; if (t1.brightness === B.Brightness_0) { t1 = t1.surface.value; t1 = A.Color$fromARGB(255, color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255).$eq(0, A.Color$fromARGB(255, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255)); } else t1 = false; } else t1 = false; else t1 = false; if (t1) { t1 = theme.colorScheme.onSurface.value; return A.Color_alphaBlend(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((4.5 * Math.log(elevation + 1) + 2) / 100)), t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255), color); } return color; }, _ElevationOpacity: function _ElevationOpacity(t0, t1) { this.elevation = t0; this.opacity = t1; }, ExpandIcon: function ExpandIcon(t0, t1, t2, t3, t4) { var _ = this; _.isExpanded = t0; _.onPressed = t1; _.padding = t2; _.color = t3; _.key = t4; }, _ExpandIconState: function _ExpandIconState(t0, t1, t2) { var _ = this; _.___ExpandIconState__iconTurns_A = _.___ExpandIconState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, __ExpandIconState_State_SingleTickerProviderStateMixin: function __ExpandIconState_State_SingleTickerProviderStateMixin() { }, _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; }, ExpansionTileThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13; if (a === b) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.Color_lerp(a.collapsedBackgroundColor, b.collapsedBackgroundColor, t); t3 = A.EdgeInsetsGeometry_lerp(a.tilePadding, b.tilePadding, t); t4 = A.AlignmentGeometry_lerp(a.expandedAlignment, b.expandedAlignment, t); t5 = A.EdgeInsetsGeometry_lerp(a.childrenPadding, b.childrenPadding, t); t6 = A.Color_lerp(a.iconColor, b.iconColor, t); t7 = A.Color_lerp(a.collapsedIconColor, b.collapsedIconColor, t); t8 = A.Color_lerp(a.textColor, b.textColor, t); t9 = A.Color_lerp(a.collapsedTextColor, b.collapsedTextColor, t); t10 = A.ShapeBorder_lerp(a.shape, b.shape, t); t11 = A.ShapeBorder_lerp(a.collapsedShape, b.collapsedShape, t); t12 = t < 0.5; if (t12) t13 = a.clipBehavior; else t13 = b.clipBehavior; if (t12) t12 = a.expansionAnimationStyle; else t12 = b.expansionAnimationStyle; return new A.ExpansionTileThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t13, t12); }, ExpansionTileThemeData: function ExpansionTileThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.backgroundColor = t0; _.collapsedBackgroundColor = t1; _.tilePadding = t2; _.expandedAlignment = t3; _.childrenPadding = t4; _.iconColor = t5; _.collapsedIconColor = t6; _.textColor = t7; _.collapsedTextColor = t8; _.shape = t9; _.collapsedShape = t10; _.clipBehavior = t11; _.expansionAnimationStyle = t12; }, _ExpansionTileThemeData_Object_Diagnosticable: function _ExpansionTileThemeData_Object_Diagnosticable() { }, Feedback_forTap(context) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue; var $async$Feedback_forTap = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) $async$outer: switch ($async$goto) { case 0: // Function start context.get$renderObject().sendSemanticsEvent$1(B.TapSemanticEvent_tap); switch (A.Theme_of(context).platform.index) { case 0: case 1: $async$returnValue = A.SystemSound_play(B.SystemSoundType_0); // goto return $async$goto = 1; break $async$outer; case 2: case 3: case 4: case 5: $async$returnValue = A.Future_Future$value(null, type$.void); // goto return $async$goto = 1; break $async$outer; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$Feedback_forTap, $async$completer); }, Feedback_wrapForTap(callback, context) { return new A.Feedback_wrapForTap_closure(context, callback); }, Feedback_forLongPress(context) { context.get$renderObject().sendSemanticsEvent$1(B.LongPressSemanticsEvent_longPress); switch (A.Theme_of(context).platform.index) { case 0: case 1: return A.HapticFeedback_vibrate(); case 2: case 3: case 4: case 5: return A.Future_Future$value(null, type$.void); } }, Feedback_wrapForTap_closure: function Feedback_wrapForTap_closure(t0, t1) { this.context = t0; this.callback = t1; }, FilledButtonThemeData_lerp(a, b, t) { if (a === b) return a; return new A.FilledButtonThemeData(A.ButtonStyle_lerp(a.style, b.style, t)); }, FilledButtonThemeData: function FilledButtonThemeData(t0) { this.style = t0; }, _FilledButtonThemeData_Object_Diagnosticable: function _FilledButtonThemeData_Object_Diagnosticable() { }, FlexibleSpaceBar_createSettings(child, currentExtent, hasLeading, isScrolledUnder, maxExtent, minExtent, toolbarOpacity) { var t1 = toolbarOpacity == null ? 1 : toolbarOpacity, t2 = minExtent == null ? currentExtent : minExtent; return new A.FlexibleSpaceBarSettings(t1, t2, maxExtent == null ? currentExtent : maxExtent, currentExtent, isScrolledUnder, hasLeading, child, null); }, FlexibleSpaceBarSettings: function FlexibleSpaceBarSettings(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.toolbarOpacity = t0; _.minExtent = t1; _.maxExtent = t2; _.currentExtent = t3; _.isScrolledUnder = t4; _.hasLeading = t5; _.child = t6; _.key = t7; }, FloatingActionButton$(backgroundColor, child, heroTag, mini, onPressed, tooltip) { return new A.FloatingActionButton(child, tooltip, backgroundColor, heroTag, onPressed, mini ? B._FloatingActionButtonType_1 : B._FloatingActionButtonType_0, null); }, _DefaultHeroTag: function _DefaultHeroTag() { }, _FloatingActionButtonType: function _FloatingActionButtonType(t0, t1) { this.index = t0; this._core$_name = t1; }, FloatingActionButton: function FloatingActionButton(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.child = t0; _.tooltip = t1; _.backgroundColor = t2; _.heroTag = t3; _.onPressed = t4; _._floatingActionButtonType = t5; _.key = t6; }, _EffectiveMouseCursor: function _EffectiveMouseCursor(t0, t1) { this.widgetCursor = t0; this.themeCursor = t1; }, _ChildOverflowBox: function _ChildOverflowBox(t0, t1) { this.child = t0; this.key = t1; }, _RenderChildOverflowBox: function _RenderChildOverflowBox(t0, t1, t2, t3) { var _ = this; _._shifted_box$_resolvedAlignment = null; _._shifted_box$_alignment = t0; _._shifted_box$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _FABDefaultsM2: function _FABDefaultsM2(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) { var _ = this; _.type = t0; _.hasChild = t1; _._theme = t2; _._colors = t3; _.foregroundColor = t4; _.backgroundColor = t5; _.focusColor = t6; _.hoverColor = t7; _.splashColor = t8; _.elevation = t9; _.focusElevation = t10; _.hoverElevation = t11; _.disabledElevation = t12; _.highlightElevation = t13; _.shape = t14; _.enableFeedback = t15; _.iconSize = t16; _.sizeConstraints = t17; _.smallSizeConstraints = t18; _.largeSizeConstraints = t19; _.extendedSizeConstraints = t20; _.extendedIconLabelSpacing = t21; _.extendedPadding = t22; _.extendedTextStyle = t23; _.mouseCursor = t24; }, _FABDefaultsM3: function _FABDefaultsM3(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; _.context = t0; _.type = t1; _.hasChild = t2; _.___FABDefaultsM3__textTheme_FI = _.___FABDefaultsM3__colors_FI = $; _.foregroundColor = t3; _.backgroundColor = t4; _.focusColor = t5; _.hoverColor = t6; _.splashColor = t7; _.elevation = t8; _.focusElevation = t9; _.hoverElevation = t10; _.disabledElevation = t11; _.highlightElevation = t12; _.shape = t13; _.enableFeedback = t14; _.iconSize = t15; _.sizeConstraints = t16; _.smallSizeConstraints = t17; _.largeSizeConstraints = t18; _.extendedSizeConstraints = t19; _.extendedIconLabelSpacing = t20; _.extendedPadding = t21; _.extendedTextStyle = t22; _.mouseCursor = t23; }, StandardFabLocation__rightOffsetX(scaffoldGeometry, adjustment) { return scaffoldGeometry.scaffoldSize._dx - 16 - scaffoldGeometry.minInsets.right - scaffoldGeometry.floatingActionButtonSize._dx + adjustment; }, _AnimationSwap$(first, next, $parent, swapThreshold, $T) { return new A._AnimationSwap($parent, swapThreshold, first, next, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus), type$.ObserverList_of_void_Function_AnimationStatus), new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function), type$.ObserverList_of_void_Function), 0, $T._eval$1("_AnimationSwap<0>")); }, FloatingActionButtonLocation: function FloatingActionButtonLocation() { }, StandardFabLocation: function StandardFabLocation() { }, FabTopOffsetY: function FabTopOffsetY() { }, FabFloatOffsetY: function FabFloatOffsetY() { }, FabDockedOffsetY: function FabDockedOffsetY() { }, FabEndOffsetX: function FabEndOffsetX() { }, _EndTopFabLocation: function _EndTopFabLocation() { }, _EndFloatFabLocation: function _EndFloatFabLocation() { }, _EndDockedFabLocation: function _EndDockedFabLocation() { }, FloatingActionButtonAnimator: function FloatingActionButtonAnimator() { }, _ScalingFabMotionAnimator: function _ScalingFabMotionAnimator() { }, _AnimationSwap: function _AnimationSwap(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.parent = t0; _.swapThreshold = t1; _.first = t2; _.next = t3; _._lastValue = _._lastStatus = null; _.AnimationLocalStatusListenersMixin__statusListeners = t4; _.AnimationLocalListenersMixin__listeners = t5; _.AnimationLazyListenerMixin__listenerCounter = t6; _.$ti = t7; }, __EndDockedFabLocation_StandardFabLocation_FabEndOffsetX: function __EndDockedFabLocation_StandardFabLocation_FabEndOffsetX() { }, __EndDockedFabLocation_StandardFabLocation_FabEndOffsetX_FabDockedOffsetY: function __EndDockedFabLocation_StandardFabLocation_FabEndOffsetX_FabDockedOffsetY() { }, __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX: function __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX() { }, __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX_FabFloatOffsetY: function __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX_FabFloatOffsetY() { }, __EndTopFabLocation_StandardFabLocation_FabEndOffsetX: function __EndTopFabLocation_StandardFabLocation_FabEndOffsetX() { }, __EndTopFabLocation_StandardFabLocation_FabEndOffsetX_FabTopOffsetY: function __EndTopFabLocation_StandardFabLocation_FabEndOffsetX_FabTopOffsetY() { }, FloatingActionButtonThemeData$(backgroundColor, disabledElevation, elevation, enableFeedback, extendedIconLabelSpacing, extendedPadding, extendedSizeConstraints, extendedTextStyle, focusColor, focusElevation, foregroundColor, highlightElevation, hoverColor, hoverElevation, iconSize, largeSizeConstraints, mouseCursor, shape, sizeConstraints, smallSizeConstraints, splashColor) { return new A.FloatingActionButtonThemeData(foregroundColor, backgroundColor, focusColor, hoverColor, splashColor, elevation, focusElevation, hoverElevation, disabledElevation, highlightElevation, shape, enableFeedback, iconSize, sizeConstraints, smallSizeConstraints, largeSizeConstraints, extendedSizeConstraints, extendedIconLabelSpacing, extendedPadding, extendedTextStyle, mouseCursor); }, FloatingActionButtonThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21; if (a === b) return a; t1 = A.Color_lerp(a.foregroundColor, b.foregroundColor, t); t2 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t3 = A.Color_lerp(a.focusColor, b.focusColor, t); t4 = A.Color_lerp(a.hoverColor, b.hoverColor, t); t5 = A.Color_lerp(a.splashColor, b.splashColor, t); t6 = A.lerpDouble(a.elevation, b.elevation, t); t7 = A.lerpDouble(a.focusElevation, b.focusElevation, t); t8 = A.lerpDouble(a.hoverElevation, b.hoverElevation, t); t9 = A.lerpDouble(a.disabledElevation, b.disabledElevation, t); t10 = A.lerpDouble(a.highlightElevation, b.highlightElevation, t); t11 = A.ShapeBorder_lerp(a.shape, b.shape, t); t12 = t < 0.5; if (t12) t13 = a.enableFeedback; else t13 = b.enableFeedback; t14 = A.lerpDouble(a.iconSize, b.iconSize, t); t15 = A.BoxConstraints_lerp(a.sizeConstraints, b.sizeConstraints, t); t16 = A.BoxConstraints_lerp(a.smallSizeConstraints, b.smallSizeConstraints, t); t17 = A.BoxConstraints_lerp(a.largeSizeConstraints, b.largeSizeConstraints, t); t18 = A.BoxConstraints_lerp(a.extendedSizeConstraints, b.extendedSizeConstraints, t); t19 = A.lerpDouble(a.extendedIconLabelSpacing, b.extendedIconLabelSpacing, t); t20 = A.EdgeInsetsGeometry_lerp(a.extendedPadding, b.extendedPadding, t); t21 = A.TextStyle_lerp(a.extendedTextStyle, b.extendedTextStyle, t); if (t12) t12 = a.mouseCursor; else t12 = b.mouseCursor; return A.FloatingActionButtonThemeData$(t2, t9, t6, t13, t19, t20, t18, t21, t3, t7, t1, t10, t4, t8, t14, t17, t12, t11, t15, t16, t5); }, FloatingActionButtonThemeData: function FloatingActionButtonThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.foregroundColor = t0; _.backgroundColor = t1; _.focusColor = t2; _.hoverColor = t3; _.splashColor = t4; _.elevation = t5; _.focusElevation = t6; _.hoverElevation = t7; _.disabledElevation = t8; _.highlightElevation = t9; _.shape = t10; _.enableFeedback = t11; _.iconSize = t12; _.sizeConstraints = t13; _.smallSizeConstraints = t14; _.largeSizeConstraints = t15; _.extendedSizeConstraints = t16; _.extendedIconLabelSpacing = t17; _.extendedPadding = t18; _.extendedTextStyle = t19; _.mouseCursor = t20; }, _FloatingActionButtonThemeData_Object_Diagnosticable: function _FloatingActionButtonThemeData_Object_Diagnosticable() { }, IconButton$(alignment, color, disabledColor, enableFeedback, icon, iconSize, onPressed, padding, splashRadius, style, tooltip, visualDensity) { return new A.IconButton(iconSize, visualDensity, padding, alignment, splashRadius, icon, color, disabledColor, onPressed, tooltip, enableFeedback, style, null); }, IconButton_styleFrom(alignment, disabledForegroundColor, disabledMouseCursor, enableFeedback, enabledMouseCursor, focusColor, foregroundColor, highlightColor, hoverColor, iconSize, maximumSize, minimumSize, padding, visualDensity) { var overlayColor, t2, t3, t4, _null = null, t1 = foregroundColor == null, buttonForegroundColor = t1 && true ? _null : new A._IconButtonDefaultForeground(foregroundColor, disabledForegroundColor); if (t1) t1 = true; else t1 = false; overlayColor = t1 ? _null : new A._IconButtonDefaultOverlay(foregroundColor, focusColor, hoverColor, highlightColor); t1 = padding == null ? _null : new A.MaterialStatePropertyAll(padding, type$.MaterialStatePropertyAll_EdgeInsetsGeometry); t2 = minimumSize == null ? _null : new A.MaterialStatePropertyAll(minimumSize, type$.MaterialStatePropertyAll_Size); t3 = maximumSize == null ? _null : new A.MaterialStatePropertyAll(maximumSize, type$.MaterialStatePropertyAll_Size); t4 = iconSize == null ? _null : new A.MaterialStatePropertyAll(iconSize, type$.MaterialStatePropertyAll_double); return A.ButtonStyle$(alignment, _null, _null, _null, enableFeedback, _null, buttonForegroundColor, _null, t4, t3, t2, new A._IconButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor), overlayColor, t1, _null, _null, _null, _null, _null, _null, _null, visualDensity); }, _IconButtonVariant: function _IconButtonVariant(t0, t1) { this.index = t0; this._core$_name = t1; }, IconButton: function IconButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.iconSize = t0; _.visualDensity = t1; _.padding = t2; _.alignment = t3; _.splashRadius = t4; _.icon = t5; _.color = t6; _.disabledColor = t7; _.onPressed = t8; _.tooltip = t9; _.enableFeedback = t10; _.style = t11; _.key = t12; }, _SelectableIconButton: function _SelectableIconButton(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.isSelected = t0; _.style = t1; _.focusNode = t2; _.variant = t3; _.autofocus = t4; _.onPressed = t5; _.child = t6; _.key = t7; }, _SelectableIconButtonState: function _SelectableIconButtonState(t0) { var _ = this; _.___SelectableIconButtonState_statesController_F = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _IconButtonM3: function _IconButtonM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.variant = t0; _.toggleable = t1; _.onPressed = t2; _.onLongPress = t3; _.onHover = t4; _.onFocusChange = t5; _.style = t6; _.clipBehavior = t7; _.focusNode = t8; _.autofocus = t9; _.statesController = t10; _.isSemanticButton = t11; _.child = t12; _.key = t13; }, _IconButtonM3_themeStyleOf_isIconThemeDefault: function _IconButtonM3_themeStyleOf_isIconThemeDefault(t0) { this.isDark = t0; }, _IconButtonDefaultForeground: function _IconButtonDefaultForeground(t0, t1) { this.foregroundColor = t0; this.disabledForegroundColor = t1; }, _IconButtonDefaultOverlay: function _IconButtonDefaultOverlay(t0, t1, t2, t3) { var _ = this; _.foregroundColor = t0; _.focusColor = t1; _.hoverColor = t2; _.highlightColor = t3; }, _IconButtonDefaultMouseCursor: function _IconButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _IconButtonDefaultsM3: function _IconButtonDefaultsM3(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; _.context = t0; _.___IconButtonDefaultsM3__colors_FI = $; _.textStyle = t1; _.backgroundColor = t2; _.foregroundColor = t3; _.overlayColor = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.elevation = t7; _.padding = t8; _.minimumSize = t9; _.fixedSize = t10; _.maximumSize = t11; _.iconColor = t12; _.iconSize = t13; _.side = t14; _.shape = t15; _.mouseCursor = t16; _.visualDensity = t17; _.tapTargetSize = t18; _.animationDuration = t19; _.enableFeedback = t20; _.alignment = t21; _.splashFactory = t22; }, _IconButtonDefaultsM3_foregroundColor_closure: function _IconButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _IconButtonDefaultsM3_overlayColor_closure: function _IconButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _IconButtonDefaultsM3_mouseCursor_closure: function _IconButtonDefaultsM3_mouseCursor_closure() { }, _FilledIconButtonDefaultsM3: function _FilledIconButtonDefaultsM3(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; _.context = t0; _.toggleable = t1; _.___FilledIconButtonDefaultsM3__colors_FI = $; _.textStyle = t2; _.backgroundColor = t3; _.foregroundColor = t4; _.overlayColor = t5; _.shadowColor = t6; _.surfaceTintColor = t7; _.elevation = t8; _.padding = t9; _.minimumSize = t10; _.fixedSize = t11; _.maximumSize = t12; _.iconColor = t13; _.iconSize = t14; _.side = t15; _.shape = t16; _.mouseCursor = t17; _.visualDensity = t18; _.tapTargetSize = t19; _.animationDuration = t20; _.enableFeedback = t21; _.alignment = t22; _.splashFactory = t23; }, _FilledIconButtonDefaultsM3_backgroundColor_closure: function _FilledIconButtonDefaultsM3_backgroundColor_closure(t0) { this.$this = t0; }, _FilledIconButtonDefaultsM3_foregroundColor_closure: function _FilledIconButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _FilledIconButtonDefaultsM3_overlayColor_closure: function _FilledIconButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _FilledIconButtonDefaultsM3_mouseCursor_closure: function _FilledIconButtonDefaultsM3_mouseCursor_closure() { }, _FilledTonalIconButtonDefaultsM3: function _FilledTonalIconButtonDefaultsM3(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; _.context = t0; _.toggleable = t1; _.___FilledTonalIconButtonDefaultsM3__colors_FI = $; _.textStyle = t2; _.backgroundColor = t3; _.foregroundColor = t4; _.overlayColor = t5; _.shadowColor = t6; _.surfaceTintColor = t7; _.elevation = t8; _.padding = t9; _.minimumSize = t10; _.fixedSize = t11; _.maximumSize = t12; _.iconColor = t13; _.iconSize = t14; _.side = t15; _.shape = t16; _.mouseCursor = t17; _.visualDensity = t18; _.tapTargetSize = t19; _.animationDuration = t20; _.enableFeedback = t21; _.alignment = t22; _.splashFactory = t23; }, _FilledTonalIconButtonDefaultsM3_backgroundColor_closure: function _FilledTonalIconButtonDefaultsM3_backgroundColor_closure(t0) { this.$this = t0; }, _FilledTonalIconButtonDefaultsM3_foregroundColor_closure: function _FilledTonalIconButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _FilledTonalIconButtonDefaultsM3_overlayColor_closure: function _FilledTonalIconButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _FilledTonalIconButtonDefaultsM3_mouseCursor_closure: function _FilledTonalIconButtonDefaultsM3_mouseCursor_closure() { }, _OutlinedIconButtonDefaultsM3: function _OutlinedIconButtonDefaultsM3(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; _.context = t0; _.___OutlinedIconButtonDefaultsM3__colors_FI = $; _.textStyle = t1; _.backgroundColor = t2; _.foregroundColor = t3; _.overlayColor = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.elevation = t7; _.padding = t8; _.minimumSize = t9; _.fixedSize = t10; _.maximumSize = t11; _.iconColor = t12; _.iconSize = t13; _.side = t14; _.shape = t15; _.mouseCursor = t16; _.visualDensity = t17; _.tapTargetSize = t18; _.animationDuration = t19; _.enableFeedback = t20; _.alignment = t21; _.splashFactory = t22; }, _OutlinedIconButtonDefaultsM3_backgroundColor_closure: function _OutlinedIconButtonDefaultsM3_backgroundColor_closure(t0) { this.$this = t0; }, _OutlinedIconButtonDefaultsM3_foregroundColor_closure: function _OutlinedIconButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _OutlinedIconButtonDefaultsM3_overlayColor_closure: function _OutlinedIconButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _OutlinedIconButtonDefaultsM3_side_closure: function _OutlinedIconButtonDefaultsM3_side_closure(t0) { this.$this = t0; }, _OutlinedIconButtonDefaultsM3_mouseCursor_closure: function _OutlinedIconButtonDefaultsM3_mouseCursor_closure() { }, __IconButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __IconButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, IconButtonThemeData_lerp(a, b, t) { if (a === b) return a; return new A.IconButtonThemeData(A.ButtonStyle_lerp(a.style, b.style, t)); }, IconButtonTheme$(child, data) { return new A.IconButtonTheme(data, child, null); }, IconButtonTheme_of(context) { var buttonTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$.IconButtonTheme), t1 = buttonTheme == null ? null : buttonTheme.data; return t1 == null ? A.Theme_of(context).iconButtonTheme : t1; }, IconButtonThemeData: function IconButtonThemeData(t0) { this.style = t0; }, IconButtonTheme: function IconButtonTheme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, _IconButtonThemeData_Object_Diagnosticable: function _IconButtonThemeData_Object_Diagnosticable() { }, Ink$(child, color, decoration, height) { var t1, _null = null; if (decoration == null) t1 = color != null ? new A.BoxDecoration(color, _null, _null, _null, _null, _null, B.BoxShape_0) : _null; else t1 = decoration; return new A.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$_isVisible = true; _._ink_decoration$_configuration = t0; _._material$_controller = t1; _.referenceBox = t2; _.onRemoved = t3; _._material$_debugDisposed = false; }, 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; _._rectCallback = t3; _._ink_highlight$_textDirection = t4; _.__InkHighlight__alphaController_A = _.__InkHighlight__alpha_A = $; _._active = true; _._ink_well$_color = t5; _._customBorder = t6; _._material$_controller = t7; _.referenceBox = t8; _.onRemoved = t9; _._material$_debugDisposed = false; }, _getClipCallback(referenceBox, containedInkWell, rectCallback) { if (rectCallback != null) return rectCallback; if (containedInkWell) return new A._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$_targetRadius = t2; _._ink_ripple$_clipCallback = t3; _._ink_ripple$_textDirection = t4; _.__InkRipple__fadeOutController_A = _.__InkRipple__fadeOut_A = _.__InkRipple__fadeInController_A = _.__InkRipple__fadeIn_A = _.__InkRipple__radiusController_A = _.__InkRipple__radius_A = $; _._ink_well$_color = t5; _._customBorder = t6; _._material$_controller = t7; _.referenceBox = t8; _.onRemoved = t9; _._material$_debugDisposed = false; }, _getClipCallback0(referenceBox, containedInkWell, rectCallback) { if (rectCallback != null) return rectCallback; if (containedInkWell) return new A._getClipCallback_closure0(referenceBox); return null; }, _getTargetRadius(referenceBox, containedInkWell, rectCallback, position) { var t1, size, d1, d2, d3, d4; if (containedInkWell) { if (rectCallback != null) { t1 = rectCallback.call$0(); size = new A.Size(t1.right - t1.left, t1.bottom - t1.top); } else size = referenceBox.get$size(0); d1 = position.$sub(0, B.Offset_0_0).get$distance(); d2 = position.$sub(0, new A.Offset(0 + size._dx, 0)).get$distance(); d3 = position.$sub(0, new A.Offset(0, 0 + size._dy)).get$distance(); d4 = position.$sub(0, size.bottomRight$1(0, B.Offset_0_0)).get$distance(); return Math.ceil(Math.max(Math.max(d1, d2), Math.max(d3, d4))); } return 35; }, _getClipCallback_closure0: function _getClipCallback_closure0(t0) { this.referenceBox = t0; }, _InkSplashFactory: function _InkSplashFactory() { }, InkSplash: function InkSplash(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._ink_splash$_position = t0; _._ink_splash$_borderRadius = t1; _._targetRadius = t2; _._clipCallback = t3; _._repositionToReferenceBox = t4; _._ink_splash$_textDirection = t5; _.__InkSplash__alpha_A = _.__InkSplash__radiusController_A = _.__InkSplash__radius_A = $; _._alphaController = null; _._ink_well$_color = t6; _._customBorder = t7; _._material$_controller = t8; _.referenceBox = t9; _.onRemoved = t10; _._material$_debugDisposed = false; }, InkResponse$(autofocus, borderRadius, canRequestFocus, child, containedInkWell, customBorder, enableFeedback, excludeFromSemantics, focusColor, focusNode, highlightColor, highlightShape, hoverColor, hoverDuration, key, mouseCursor, onDoubleTap, onFocusChange, onHighlightChanged, onHover, onLongPress, onSecondaryTap, onSecondaryTapCancel, onSecondaryTapDown, onSecondaryTapUp, onTap, onTapCancel, onTapDown, onTapUp, overlayColor, radius, splashColor, splashFactory, statesController) { return new A.InkResponse(child, onTap, onTapDown, onTapUp, onTapCancel, onDoubleTap, onLongPress, onSecondaryTap, onSecondaryTapDown, onSecondaryTapUp, onSecondaryTapCancel, onHighlightChanged, onHover, mouseCursor, containedInkWell, highlightShape, radius, borderRadius, customBorder, focusColor, hoverColor, highlightColor, overlayColor, splashColor, splashFactory, enableFeedback, false, onFocusChange, autofocus, focusNode, canRequestFocus, statesController, hoverDuration, key); }, InkWell$(autofocus, borderRadius, canRequestFocus, child, customBorder, enableFeedback, focusColor, focusNode, highlightColor, hoverColor, key, mouseCursor, onDoubleTap, onFocusChange, onHighlightChanged, onHover, onLongPress, onTap, onTapCancel, onTapDown, overlayColor, radius, splashColor, splashFactory, statesController) { var _null = null; return new A.InkWell(child, onTap, onTapDown, _null, onTapCancel, onDoubleTap, onLongPress, _null, _null, _null, _null, onHighlightChanged, onHover, mouseCursor, true, B.BoxShape_0, radius, borderRadius, customBorder, focusColor, hoverColor, highlightColor, overlayColor, splashColor, splashFactory, enableFeedback !== false, false, onFocusChange, autofocus, focusNode, canRequestFocus, statesController, _null, 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, t27, t28, t29, t30, t31, t32, t33) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapUp = t3; _.onTapCancel = t4; _.onDoubleTap = t5; _.onLongPress = t6; _.onSecondaryTap = t7; _.onSecondaryTapDown = t8; _.onSecondaryTapUp = t9; _.onSecondaryTapCancel = t10; _.onHighlightChanged = t11; _.onHover = t12; _.mouseCursor = t13; _.containedInkWell = t14; _.highlightShape = t15; _.radius = t16; _.borderRadius = t17; _.customBorder = t18; _.focusColor = t19; _.hoverColor = t20; _.highlightColor = t21; _.overlayColor = t22; _.splashColor = t23; _.splashFactory = t24; _.enableFeedback = t25; _.excludeFromSemantics = t26; _.onFocusChange = t27; _.autofocus = t28; _.focusNode = t29; _.canRequestFocus = t30; _.statesController = t31; _.hoverDuration = t32; _.key = t33; }, _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, t30, t31, t32, t33, t34, t35, t36) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapUp = t3; _.onTapCancel = t4; _.onDoubleTap = t5; _.onLongPress = t6; _.onSecondaryTap = t7; _.onSecondaryTapUp = t8; _.onSecondaryTapDown = t9; _.onSecondaryTapCancel = t10; _.onHighlightChanged = t11; _.onHover = t12; _.mouseCursor = t13; _.containedInkWell = t14; _.highlightShape = t15; _.radius = t16; _.borderRadius = t17; _.customBorder = t18; _.focusColor = t19; _.hoverColor = t20; _.highlightColor = t21; _.overlayColor = t22; _.splashColor = t23; _.splashFactory = t24; _.enableFeedback = t25; _.excludeFromSemantics = t26; _.onFocusChange = t27; _.autofocus = t28; _.focusNode = t29; _.canRequestFocus = t30; _.parentState = t31; _.getRectCallback = t32; _.debugCheckContext = t33; _.statesController = t34; _.hoverDuration = t35; _.key = t36; }, _HighlightType: function _HighlightType(t0, t1) { this.index = t0; this._core$_name = t1; }, _InkResponseState: function _InkResponseState(t0, t1, t2, t3) { var _ = this; _._currentSplash = _._splashes = null; _._hovering = false; _._highlights = t0; _.___InkResponseState__actionMap_FI = $; _.internalStatesController = null; _._activeChildren = t1; _._activationTimer = null; _._hasFocus = false; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _InkResponseState_highlightsExist_closure: function _InkResponseState_highlightsExist_closure() { }, _InkResponseState_activateOnIntent_closure: function _InkResponseState_activateOnIntent_closure(t0) { this.$this = t0; }, _InkResponseState_handleStatesControllerChange_closure: function _InkResponseState_handleStatesControllerChange_closure() { }, _InkResponseState_updateHighlight_handleInkRemoval: function _InkResponseState_updateHighlight_handleInkRemoval(t0, t1) { this.$this = t0; this.type = t1; }, _InkResponseState__createSplash_onRemoved: function _InkResponseState__createSplash_onRemoved(t0, t1) { this._box_0 = t0; this.$this = t1; }, _InkResponseState_handleFocusHighlightModeChange_closure: function _InkResponseState_handleFocusHighlightModeChange_closure(t0) { this.$this = t0; }, _InkResponseState_build_getHighlightColorForType: function _InkResponseState_build_getHighlightColorForType(t0, t1) { this.$this = t0; this.context = t1; }, 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, t27, t28, t29, t30, t31, t32, t33) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapUp = t3; _.onTapCancel = t4; _.onDoubleTap = t5; _.onLongPress = t6; _.onSecondaryTap = t7; _.onSecondaryTapDown = t8; _.onSecondaryTapUp = t9; _.onSecondaryTapCancel = t10; _.onHighlightChanged = t11; _.onHover = t12; _.mouseCursor = t13; _.containedInkWell = t14; _.highlightShape = t15; _.radius = t16; _.borderRadius = t17; _.customBorder = t18; _.focusColor = t19; _.hoverColor = t20; _.highlightColor = t21; _.overlayColor = t22; _.splashColor = t23; _.splashFactory = t24; _.enableFeedback = t25; _.excludeFromSemantics = t26; _.onFocusChange = t27; _.autofocus = t28; _.focusNode = t29; _.canRequestFocus = t30; _.statesController = t31; _.hoverDuration = t32; _.key = t33; }, __InkResponseState_State_AutomaticKeepAliveClientMixin: function __InkResponseState_State_AutomaticKeepAliveClientMixin() { }, InputBorder: function InputBorder() { }, _NoInputBorder: function _NoInputBorder(t0) { this.borderSide = t0; }, UnderlineInputBorder: function UnderlineInputBorder(t0, t1) { this.borderRadius = t0; this.borderSide = t1; }, OutlineInputBorder: function OutlineInputBorder(t0, t1, t2) { this.gapPadding = t0; this.borderRadius = t1; this.borderSide = t2; }, InputDatePickerFormField: function InputDatePickerFormField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.initialDate = t0; _.firstDate = t1; _.lastDate = t2; _.onDateSubmitted = t3; _.onDateSaved = t4; _.selectableDayPredicate = t5; _.errorFormatText = t6; _.errorInvalidText = t7; _.fieldHintText = t8; _.fieldLabelText = t9; _.keyboardType = t10; _.autofocus = t11; _.key = t12; }, _InputDatePickerFormFieldState: function _InputDatePickerFormFieldState(t0, t1) { var _ = this; _._input_date_picker_form_field$_controller = t0; _._inputText = _._input_date_picker_form_field$_selectedDate = null; _._autoSelected = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _InputDatePickerFormFieldState_didUpdateWidget_closure: function _InputDatePickerFormFieldState_didUpdateWidget_closure(t0) { this.$this = t0; }, _InputDatePickerFormFieldState_didUpdateWidget__closure: function _InputDatePickerFormFieldState_didUpdateWidget__closure(t0) { this.$this = t0; }, FloatingLabelAlignment__stringify(x) { if (x === -1) return "FloatingLabelAlignment.start"; if (x === 0) return "FloatingLabelAlignment.center"; return "FloatingLabelAlignment(x: " + B.JSInt_methods.toStringAsFixed$1(x, 1) + ")"; }, InputDecorator$(baseStyle, child, decoration, expands, isEmpty, isFocused, isHovering, textAlign, textAlignVertical) { return new A.InputDecorator(decoration, baseStyle, textAlign, textAlignVertical, isFocused, isHovering, expands, isEmpty, child, null); }, InputDecoration$(alignLabelWithHint, border, constraints, contentPadding, counter, counterStyle, counterText, disabledBorder, enabled, enabledBorder, error, errorBorder, errorMaxLines, errorStyle, errorText, fillColor, filled, floatingLabelAlignment, floatingLabelBehavior, floatingLabelStyle, focusColor, focusedBorder, focusedErrorBorder, helperMaxLines, helperStyle, helperText, hintFadeDuration, hintMaxLines, hintStyle, hintText, hintTextDirection, hoverColor, icon, iconColor, isCollapsed, isDense, label, labelStyle, labelText, prefix, prefixIcon, prefixIconColor, prefixIconConstraints, prefixStyle, prefixText, semanticCounterText, suffix, suffixIcon, suffixIconColor, suffixIconConstraints, suffixStyle, suffixText) { return new A.InputDecoration(icon, iconColor, label, labelText, labelStyle, floatingLabelStyle, helperText, helperStyle, helperMaxLines, hintText, hintStyle, hintTextDirection, hintMaxLines, hintFadeDuration, error, errorText, errorStyle, errorMaxLines, floatingLabelBehavior, floatingLabelAlignment, isDense, contentPadding, isCollapsed, prefixIcon, prefixIconConstraints, prefix, prefixText, prefixStyle, prefixIconColor, suffixIcon, suffix, suffixText, suffixStyle, suffixIconColor, suffixIconConstraints, counterText, counter, counterStyle, filled, fillColor, focusColor, hoverColor, errorBorder, focusedBorder, focusedErrorBorder, disabledBorder, enabledBorder, border, enabled, semanticCounterText, alignLabelWithHint, constraints); }, InputDecorationTheme$(activeIndicatorBorder, alignLabelWithHint, border, constraints, contentPadding, counterStyle, disabledBorder, enabledBorder, errorBorder, errorMaxLines, errorStyle, fillColor, filled, floatingLabelAlignment, floatingLabelBehavior, floatingLabelStyle, focusColor, focusedBorder, focusedErrorBorder, helperMaxLines, helperStyle, hintFadeDuration, hintStyle, hoverColor, iconColor, isCollapsed, isDense, labelStyle, outlineBorder, prefixIconColor, prefixStyle, suffixIconColor, suffixStyle) { return new A.InputDecorationTheme(labelStyle, floatingLabelStyle, helperStyle, helperMaxLines, hintStyle, hintFadeDuration, errorStyle, errorMaxLines, floatingLabelBehavior, floatingLabelAlignment, false, contentPadding, false, iconColor, prefixStyle, prefixIconColor, suffixStyle, suffixIconColor, counterStyle, filled, fillColor, outlineBorder, activeIndicatorBorder, focusColor, hoverColor, errorBorder, focusedBorder, focusedErrorBorder, disabledBorder, enabledBorder, border, false, constraints); }, _InputBorderGap: function _InputBorderGap(t0) { var _ = this; _._input_decorator$_start = null; _.ChangeNotifier__count = _._extent = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _InputBorderTween: function _InputBorderTween(t0, t1) { this.begin = t0; this.end = t1; }, _InputBorderPainter: function _InputBorderPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.borderAnimation = t0; _.border = t1; _.gapAnimation = t2; _.gap = t3; _.textDirection = t4; _.fillColor = t5; _.hoverColorTween = t6; _.hoverAnimation = t7; _._repaint = t8; }, _BorderContainer: function _BorderContainer(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.border = t0; _.gap = t1; _.gapAnimation = t2; _.fillColor = t3; _.hoverColor = t4; _.isHovering = t5; _.key = t6; }, _BorderContainerState: function _BorderContainerState(t0, t1, t2) { var _ = this; _.___BorderContainerState__hoverColorTween_A = _.___BorderContainerState__hoverAnimation_A = _.___BorderContainerState__border_A = _.___BorderContainerState__borderAnimation_A = _.___BorderContainerState__hoverColorController_A = _.___BorderContainerState__controller_A = $; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _Shaker: function _Shaker(t0, t1, t2) { this.child = t0; this.listenable = t1; this.key = t2; }, _HelperError: function _HelperError(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.textAlign = t0; _.helperText = t1; _.helperStyle = t2; _.helperMaxLines = t3; _.error = t4; _.errorText = t5; _.errorStyle = t6; _.errorMaxLines = t7; _.key = t8; }, _HelperErrorState: function _HelperErrorState(t0, t1, t2) { var _ = this; _.___HelperErrorState__controller_A = $; _._error = _._helper = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _HelperErrorState__handleChange_closure: function _HelperErrorState__handleChange_closure() { }, FloatingLabelBehavior: function FloatingLabelBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, FloatingLabelAlignment: function FloatingLabelAlignment() { }, _DecorationSlot: function _DecorationSlot(t0, t1) { this.index = t0; this._core$_name = t1; }, _Decoration: function _Decoration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.contentPadding = t0; _.isCollapsed = t1; _.floatingLabelHeight = t2; _.floatingLabelProgress = t3; _.floatingLabelAlignment = t4; _.border = t5; _.borderGap = t6; _.alignLabelWithHint = t7; _.isDense = t8; _.visualDensity = t9; _.icon = t10; _.input = t11; _.label = t12; _.hint = t13; _.prefix = t14; _.suffix = t15; _.prefixIcon = t16; _.suffixIcon = t17; _.helperError = t18; _.counter = t19; _.container = t20; }, _RenderDecorationLayout: function _RenderDecorationLayout(t0, t1, t2, t3, t4, t5) { var _ = this; _.boxToBaseline = t0; _.inputBaseline = t1; _.outlineBaseline = t2; _.subtextBaseline = t3; _.containerHeight = t4; _.subtextHeight = t5; }, _RenderDecoration: function _RenderDecoration(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._input_decorator$_decoration = t0; _._input_decorator$_textDirection = t1; _._input_decorator$_textBaseline = t2; _._textAlignVertical = t3; _._isFocused = t4; _._input_decorator$_expands = t5; _._material3 = t6; _._labelTransform = null; _.SlottedContainerRenderObjectMixin__slotToChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderDecoration_performLayout_centerLayout: function _RenderDecoration_performLayout_centerLayout(t0) { this.height = t0; }, _RenderDecoration_performLayout_baselineLayout: function _RenderDecoration_performLayout_baselineLayout(t0, t1) { this.baseline = t0; this.layout = t1; }, _RenderDecoration_paint_doPaint: function _RenderDecoration_paint_doPaint(t0, t1) { this.context = t0; this.offset = t1; }, _RenderDecoration_hitTestChildren_closure: function _RenderDecoration_hitTestChildren_closure(t0, t1, t2) { this.position = t0; this.offset = t1; this.child = t2; }, _Decorator: function _Decorator(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.decoration = t0; _.textDirection = t1; _.textBaseline = t2; _.textAlignVertical = t3; _.isFocused = t4; _.expands = t5; _.key = t6; }, InputDecorator: function InputDecorator(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.decoration = t0; _.baseStyle = t1; _.textAlign = t2; _.textAlignVertical = t3; _.isFocused = t4; _.isHovering = t5; _.expands = t6; _.isEmpty = t7; _.child = t8; _.key = t9; }, _InputDecoratorState: function _InputDecoratorState(t0, t1, t2, t3) { var _ = this; _.___InputDecoratorState__shakingLabelController_F = _.___InputDecoratorState__floatingLabelAnimation_F = _.___InputDecoratorState__floatingLabelController_F = $; _._borderGap = t0; _._effectiveDecoration = null; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _InputDecoratorState__handleChange_closure: function _InputDecoratorState__handleChange_closure() { }, InputDecoration: function InputDecoration(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) { var _ = this; _.icon = t0; _.iconColor = t1; _.label = t2; _.labelText = t3; _.labelStyle = t4; _.floatingLabelStyle = t5; _.helperText = t6; _.helperStyle = t7; _.helperMaxLines = t8; _.hintText = t9; _.hintStyle = t10; _.hintTextDirection = t11; _.hintMaxLines = t12; _.hintFadeDuration = t13; _.error = t14; _.errorText = t15; _.errorStyle = t16; _.errorMaxLines = t17; _.floatingLabelBehavior = t18; _.floatingLabelAlignment = t19; _.isDense = t20; _.contentPadding = t21; _.isCollapsed = t22; _.prefixIcon = t23; _.prefixIconConstraints = t24; _.prefix = t25; _.prefixText = t26; _.prefixStyle = t27; _.prefixIconColor = t28; _.suffixIcon = t29; _.suffix = t30; _.suffixText = t31; _.suffixStyle = t32; _.suffixIconColor = t33; _.suffixIconConstraints = t34; _.counterText = t35; _.counter = t36; _.counterStyle = t37; _.filled = t38; _.fillColor = t39; _.focusColor = t40; _.hoverColor = t41; _.errorBorder = t42; _.focusedBorder = t43; _.focusedErrorBorder = t44; _.disabledBorder = t45; _.enabledBorder = t46; _.border = t47; _.enabled = t48; _.semanticCounterText = t49; _.alignLabelWithHint = t50; _.constraints = t51; }, InputDecorationTheme: function InputDecorationTheme(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; _.labelStyle = t0; _.floatingLabelStyle = t1; _.helperStyle = t2; _.helperMaxLines = t3; _.hintStyle = t4; _.hintFadeDuration = t5; _.errorStyle = t6; _.errorMaxLines = t7; _.floatingLabelBehavior = t8; _.floatingLabelAlignment = t9; _.isDense = t10; _.contentPadding = t11; _.isCollapsed = t12; _.iconColor = t13; _.prefixStyle = t14; _.prefixIconColor = t15; _.suffixStyle = t16; _.suffixIconColor = t17; _.counterStyle = t18; _.filled = t19; _.fillColor = t20; _.outlineBorder = t21; _.activeIndicatorBorder = t22; _.focusColor = t23; _.hoverColor = t24; _.errorBorder = t25; _.focusedBorder = t26; _.focusedErrorBorder = t27; _.disabledBorder = t28; _.enabledBorder = t29; _.border = t30; _.alignLabelWithHint = t31; _.constraints = t32; }, _InputDecoratorDefaultsM2: function _InputDecoratorDefaultsM2(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) { var _ = this; _.context = t0; _.labelStyle = t1; _.floatingLabelStyle = t2; _.helperStyle = t3; _.helperMaxLines = t4; _.hintStyle = t5; _.hintFadeDuration = t6; _.errorStyle = t7; _.errorMaxLines = t8; _.floatingLabelBehavior = t9; _.floatingLabelAlignment = t10; _.isDense = t11; _.contentPadding = t12; _.isCollapsed = t13; _.iconColor = t14; _.prefixStyle = t15; _.prefixIconColor = t16; _.suffixStyle = t17; _.suffixIconColor = t18; _.counterStyle = t19; _.filled = t20; _.fillColor = t21; _.outlineBorder = t22; _.activeIndicatorBorder = t23; _.focusColor = t24; _.hoverColor = t25; _.errorBorder = t26; _.focusedBorder = t27; _.focusedErrorBorder = t28; _.disabledBorder = t29; _.enabledBorder = t30; _.border = t31; _.alignLabelWithHint = t32; _.constraints = t33; }, _InputDecoratorDefaultsM2_hintStyle_closure: function _InputDecoratorDefaultsM2_hintStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_labelStyle_closure: function _InputDecoratorDefaultsM2_labelStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_floatingLabelStyle_closure: function _InputDecoratorDefaultsM2_floatingLabelStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_helperStyle_closure: function _InputDecoratorDefaultsM2_helperStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_errorStyle_closure: function _InputDecoratorDefaultsM2_errorStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_fillColor_closure: function _InputDecoratorDefaultsM2_fillColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_iconColor_closure: function _InputDecoratorDefaultsM2_iconColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_prefixIconColor_closure: function _InputDecoratorDefaultsM2_prefixIconColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM2_suffixIconColor_closure: function _InputDecoratorDefaultsM2_suffixIconColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3: function _InputDecoratorDefaultsM3(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) { var _ = this; _.context = t0; _.___InputDecoratorDefaultsM3__textTheme_FI = _.___InputDecoratorDefaultsM3__colors_FI = $; _.labelStyle = t1; _.floatingLabelStyle = t2; _.helperStyle = t3; _.helperMaxLines = t4; _.hintStyle = t5; _.hintFadeDuration = t6; _.errorStyle = t7; _.errorMaxLines = t8; _.floatingLabelBehavior = t9; _.floatingLabelAlignment = t10; _.isDense = t11; _.contentPadding = t12; _.isCollapsed = t13; _.iconColor = t14; _.prefixStyle = t15; _.prefixIconColor = t16; _.suffixStyle = t17; _.suffixIconColor = t18; _.counterStyle = t19; _.filled = t20; _.fillColor = t21; _.outlineBorder = t22; _.activeIndicatorBorder = t23; _.focusColor = t24; _.hoverColor = t25; _.errorBorder = t26; _.focusedBorder = t27; _.focusedErrorBorder = t28; _.disabledBorder = t29; _.enabledBorder = t30; _.border = t31; _.alignLabelWithHint = t32; _.constraints = t33; }, _InputDecoratorDefaultsM3_hintStyle_closure: function _InputDecoratorDefaultsM3_hintStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_fillColor_closure: function _InputDecoratorDefaultsM3_fillColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_activeIndicatorBorder_closure: function _InputDecoratorDefaultsM3_activeIndicatorBorder_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_outlineBorder_closure: function _InputDecoratorDefaultsM3_outlineBorder_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_prefixIconColor_closure: function _InputDecoratorDefaultsM3_prefixIconColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_suffixIconColor_closure: function _InputDecoratorDefaultsM3_suffixIconColor_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_labelStyle_closure: function _InputDecoratorDefaultsM3_labelStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_floatingLabelStyle_closure: function _InputDecoratorDefaultsM3_floatingLabelStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_helperStyle_closure: function _InputDecoratorDefaultsM3_helperStyle_closure(t0) { this.$this = t0; }, _InputDecoratorDefaultsM3_errorStyle_closure: function _InputDecoratorDefaultsM3_errorStyle_closure(t0) { this.$this = t0; }, _InputDecorationTheme_Object_Diagnosticable: function _InputDecorationTheme_Object_Diagnosticable() { }, __BorderContainerState_State_TickerProviderStateMixin: function __BorderContainerState_State_TickerProviderStateMixin() { }, __HelperErrorState_State_SingleTickerProviderStateMixin: function __HelperErrorState_State_SingleTickerProviderStateMixin() { }, __InputDecoratorState_State_TickerProviderStateMixin: function __InputDecoratorState_State_TickerProviderStateMixin() { }, __RenderDecoration_RenderBox_SlottedContainerRenderObjectMixin: function __RenderDecoration_RenderBox_SlottedContainerRenderObjectMixin() { }, ListTile$(autofocus, contentPadding, dense, enableFeedback, enabled, focusNode, hoverColor, isThreeLine, key, leading, onFocusChange, onLongPress, onTap, selected, selectedColor, selectedTileColor, shape, subtitle, tileColor, title, trailing, visualDensity) { return new A.ListTile(leading, title, subtitle, trailing, isThreeLine, dense, visualDensity, shape, selectedColor, contentPadding, enabled, onTap, onLongPress, onFocusChange, selected, hoverColor, focusNode, false, tileColor, selectedTileColor, enableFeedback, key); }, _RenderListTile__layoutBox(box, constraints) { if (box == null) return B.Size_0_0; box.layout$2$parentUsesSize(constraints, true); return box.get$size(0); }, ListTileStyle: function ListTileStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, ListTileControlAffinity: function ListTileControlAffinity(t0, t1) { this.index = t0; this._core$_name = t1; }, ListTileTitleAlignment: function ListTileTitleAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, ListTile: function ListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.leading = t0; _.title = t1; _.subtitle = t2; _.trailing = t3; _.isThreeLine = t4; _.dense = t5; _.visualDensity = t6; _.shape = t7; _.selectedColor = t8; _.contentPadding = t9; _.enabled = t10; _.onTap = t11; _.onLongPress = t12; _.onFocusChange = t13; _.selected = t14; _.hoverColor = t15; _.focusNode = t16; _.autofocus = t17; _.tileColor = t18; _.selectedTileColor = t19; _.enableFeedback = t20; _.key = t21; }, ListTile_build_resolveColor: function ListTile_build_resolveColor(t0) { this.states = t0; }, _IndividualOverrides: function _IndividualOverrides(t0, t1, t2, t3) { var _ = this; _.explicitColor = t0; _.enabledColor = t1; _.selectedColor = t2; _.disabledColor = t3; }, _ListTileSlot: function _ListTileSlot(t0, t1) { this.index = t0; this._core$_name = t1; }, _ListTile: function _ListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { 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; _.titleAlignment = t13; _.key = t14; }, _RenderListTile: function _RenderListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._isDense = t0; _._visualDensity = t1; _._isThreeLine = t2; _._list_tile$_textDirection = t3; _._titleBaselineType = t4; _._subtitleBaselineType = t5; _._horizontalTitleGap = t6; _._minVerticalPadding = t7; _._minLeadingWidth = t8; _._titleAlignment = t9; _.SlottedContainerRenderObjectMixin__slotToChild = t10; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _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; }, _LisTileDefaultsM2: function _LisTileDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.context = t0; _.___LisTileDefaultsM2__textTheme_FI = _.___LisTileDefaultsM2__theme_FI = $; _.dense = t1; _.shape = t2; _.style = t3; _.selectedColor = t4; _.iconColor = t5; _.textColor = t6; _.titleTextStyle = t7; _.subtitleTextStyle = t8; _.leadingAndTrailingTextStyle = t9; _.contentPadding = t10; _.tileColor = t11; _.selectedTileColor = t12; _.horizontalTitleGap = t13; _.minVerticalPadding = t14; _.minLeadingWidth = t15; _.enableFeedback = t16; _.mouseCursor = t17; _.visualDensity = t18; _.titleAlignment = t19; }, _LisTileDefaultsM3: function _LisTileDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.context = t0; _.___LisTileDefaultsM3__textTheme_FI = _.___LisTileDefaultsM3__colors_FI = _.___LisTileDefaultsM3__theme_FI = $; _.dense = t1; _.shape = t2; _.style = t3; _.selectedColor = t4; _.iconColor = t5; _.textColor = t6; _.titleTextStyle = t7; _.subtitleTextStyle = t8; _.leadingAndTrailingTextStyle = t9; _.contentPadding = t10; _.tileColor = t11; _.selectedTileColor = t12; _.horizontalTitleGap = t13; _.minVerticalPadding = t14; _.minLeadingWidth = t15; _.enableFeedback = t16; _.mouseCursor = t17; _.visualDensity = t18; _.titleAlignment = t19; }, __RenderListTile_RenderBox_SlottedContainerRenderObjectMixin: function __RenderListTile_RenderBox_SlottedContainerRenderObjectMixin() { }, ListTileThemeData$(contentPadding, dense, enableFeedback, horizontalTitleGap, iconColor, leadingAndTrailingTextStyle, minLeadingWidth, minVerticalPadding, mouseCursor, selectedColor, selectedTileColor, shape, style, subtitleTextStyle, textColor, tileColor, titleAlignment, titleTextStyle, visualDensity) { return new A.ListTileThemeData(dense, shape, style, selectedColor, iconColor, textColor, titleTextStyle, subtitleTextStyle, leadingAndTrailingTextStyle, contentPadding, tileColor, selectedTileColor, horizontalTitleGap, minVerticalPadding, minLeadingWidth, enableFeedback, mouseCursor, visualDensity, titleAlignment); }, ListTileThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19; if (a === b) return a; t1 = t < 0.5; if (t1) t2 = a.dense; else t2 = b.dense; t3 = A.ShapeBorder_lerp(a.shape, b.shape, t); if (t1) t4 = a.style; else t4 = b.style; t5 = A.Color_lerp(a.selectedColor, b.selectedColor, t); t6 = A.Color_lerp(a.iconColor, b.iconColor, t); t7 = A.Color_lerp(a.textColor, b.textColor, t); t8 = A.TextStyle_lerp(a.titleTextStyle, b.titleTextStyle, t); t9 = A.TextStyle_lerp(a.subtitleTextStyle, b.subtitleTextStyle, t); t10 = A.TextStyle_lerp(a.leadingAndTrailingTextStyle, b.leadingAndTrailingTextStyle, t); t11 = A.EdgeInsetsGeometry_lerp(a.contentPadding, b.contentPadding, t); t12 = A.Color_lerp(a.tileColor, b.tileColor, t); t13 = A.Color_lerp(a.selectedTileColor, b.selectedTileColor, t); t14 = A.lerpDouble(a.horizontalTitleGap, b.horizontalTitleGap, t); t15 = A.lerpDouble(a.minVerticalPadding, b.minVerticalPadding, t); t16 = A.lerpDouble(a.minLeadingWidth, b.minLeadingWidth, t); if (t1) t17 = a.enableFeedback; else t17 = b.enableFeedback; if (t1) t18 = a.mouseCursor; else t18 = b.mouseCursor; if (t1) t19 = a.visualDensity; else t19 = b.visualDensity; if (t1) t1 = a.titleAlignment; else t1 = b.titleAlignment; return A.ListTileThemeData$(t11, t2, t17, t14, t6, t10, t16, t15, t18, t5, t13, t3, t4, t9, t7, t12, t1, t8, t19); }, ListTileTheme$(child, data, key) { return new A.ListTileTheme(data, child, key); }, ListTileTheme_of(context) { var result = context.dependOnInheritedWidgetOfExactType$1$0(type$.ListTileTheme), t1 = result == null ? null : result.get$data(0); return t1 == null ? A.Theme_of(context).listTileTheme : t1; }, ListTileTheme_merge(child, contentPadding, style, titleTextStyle) { var _null = null; return new A.Builder(new A.ListTileTheme_merge_closure(_null, _null, _null, style, _null, _null, _null, titleTextStyle, _null, _null, contentPadding, _null, _null, _null, _null, _null, _null, _null, _null, _null, child), _null); }, ListTileThemeData: function ListTileThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.dense = t0; _.shape = t1; _.style = t2; _.selectedColor = t3; _.iconColor = t4; _.textColor = t5; _.titleTextStyle = t6; _.subtitleTextStyle = t7; _.leadingAndTrailingTextStyle = t8; _.contentPadding = t9; _.tileColor = t10; _.selectedTileColor = t11; _.horizontalTitleGap = t12; _.minVerticalPadding = t13; _.minLeadingWidth = t14; _.enableFeedback = t15; _.mouseCursor = t16; _.visualDensity = t17; _.titleAlignment = t18; }, ListTileTheme: function ListTileTheme(t0, t1, t2) { this._list_tile_theme$_data = t0; this.child = t1; this.key = t2; }, ListTileTheme_merge_closure: function ListTileTheme_merge_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.key = t0; _.dense = t1; _.shape = t2; _.style = t3; _.selectedColor = t4; _.iconColor = t5; _.textColor = t6; _.titleTextStyle = t7; _.subtitleTextStyle = t8; _.leadingAndTrailingTextStyle = t9; _.contentPadding = t10; _.tileColor = t11; _.selectedTileColor = t12; _.enableFeedback = t13; _.horizontalTitleGap = t14; _.minVerticalPadding = t15; _.minLeadingWidth = t16; _.titleAlignment = t17; _.mouseCursor = t18; _.visualDensity = t19; _.child = t20; }, _ListTileThemeData_Object_Diagnosticable: function _ListTileThemeData_Object_Diagnosticable() { }, TextMagnifier: function TextMagnifier(t0, t1) { this.magnifierInfo = t0; this.key = t1; }, TextMagnifier_adaptiveMagnifierConfiguration_closure: function TextMagnifier_adaptiveMagnifierConfiguration_closure() { }, _TextMagnifierState: function _TextMagnifierState(t0, t1) { var _ = this; _._positionShouldBeAnimatedTimer = _._magnifierPosition = null; _._extraFocalPointOffset = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _TextMagnifierState__determineMagnifierPositionAndFocalPoint_closure: function _TextMagnifierState__determineMagnifierPositionAndFocalPoint_closure(t0) { this.$this = t0; }, _TextMagnifierState__determineMagnifierPositionAndFocalPoint__closure: function _TextMagnifierState__determineMagnifierPositionAndFocalPoint__closure(t0) { this.$this = t0; }, _TextMagnifierState__determineMagnifierPositionAndFocalPoint_closure0: function _TextMagnifierState__determineMagnifierPositionAndFocalPoint_closure0(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.finalMagnifierPosition = t2; _.focalPointAdjustmentForScreenBoundsAdjustment = t3; }, Magnifier: function Magnifier(t0, t1) { this.additionalFocalPointOffset = t0; this.key = t1; }, Material$(animationDuration, borderOnForeground, borderRadius, child, clipBehavior, color, elevation, key, shadowColor, shape, surfaceTintColor, textStyle, type) { return new A.Material(child, type, elevation, color, shadowColor, surfaceTintColor, textStyle, shape, true, clipBehavior, animationDuration, borderRadius, key); }, InkFeature__getPaintTransform(fromRenderObject, toRenderObject) { var to, from, fromDepth, toDepth, fromParent, toParent, transform, inverseTransform, index, index0, t1 = type$.JSArray_RenderObject, fromPath = A._setArrayType([fromRenderObject], t1), toPath = A._setArrayType([toRenderObject], t1); for (to = toRenderObject, from = fromRenderObject; from !== to;) { fromDepth = from._depth; toDepth = to._depth; if (fromDepth >= toDepth) { fromParent = from.get$parent(from); if (!(fromParent instanceof A.RenderObject) || !fromParent.paintsChild$1(from)) return null; fromPath.push(fromParent); from = fromParent; } if (fromDepth <= toDepth) { toParent = to.get$parent(to); if (!(toParent instanceof A.RenderObject) || !toParent.paintsChild$1(to)) return null; toPath.push(toParent); to = toParent; } } transform = new A.Matrix40(new Float64Array(16)); transform.setIdentity$0(); inverseTransform = new A.Matrix40(new Float64Array(16)); inverseTransform.setIdentity$0(); for (index = toPath.length - 1; index > 0; index = index0) { index0 = index - 1; toPath[index].applyPaintTransform$2(toPath[index0], transform); } for (index = fromPath.length - 1; index > 0; index = index0) { index0 = index - 1; fromPath[index].applyPaintTransform$2(fromPath[index0], inverseTransform); } if (inverseTransform.copyInverse$1(inverseTransform) !== 0) { inverseTransform.multiply$1(0, transform); t1 = inverseTransform; } else t1 = null; return t1; }, MaterialType: function MaterialType(t0, t1) { this.index = t0; this._core$_name = t1; }, Material: function Material(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.child = t0; _.type = t1; _.elevation = t2; _.color = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.textStyle = t6; _.shape = t7; _.borderOnForeground = t8; _.clipBehavior = t9; _.animationDuration = t10; _.borderRadius = t11; _.key = t12; }, _MaterialState: function _MaterialState(t0, t1, t2, t3) { var _ = this; _._inkFeatureRenderer = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _MaterialState_build_closure: function _MaterialState_build_closure(t0) { this.$this = t0; }, _RenderInkFeatures: function _RenderInkFeatures(t0, t1, t2, t3, t4) { var _ = this; _.vsync = t0; _.color = t1; _.absorbHitTest = t2; _._inkFeatures = null; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _InkFeatures: function _InkFeatures(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.vsync = t1; _.absorbHitTest = t2; _.child = t3; _.key = t4; }, InkFeature: function InkFeature() { }, ShapeBorderTween: function ShapeBorderTween(t0, t1) { this.begin = t0; this.end = t1; }, _MaterialInterior: function _MaterialInterior(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.child = t0; _.shape = t1; _.borderOnForeground = t2; _.clipBehavior = t3; _.elevation = t4; _.color = t5; _.shadowColor = t6; _.surfaceTintColor = t7; _.curve = t8; _.duration = t9; _.onEnd = t10; _.key = t11; }, _MaterialInteriorState: function _MaterialInteriorState(t0, t1, t2) { var _ = this; _._border = _._shadowColor = _._surfaceTintColor = _._elevation = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _MaterialInteriorState_forEachTween_closure: function _MaterialInteriorState_forEachTween_closure() { }, _MaterialInteriorState_forEachTween_closure0: function _MaterialInteriorState_forEachTween_closure0() { }, _MaterialInteriorState_forEachTween_closure1: function _MaterialInteriorState_forEachTween_closure1() { }, _MaterialInteriorState_forEachTween_closure2: function _MaterialInteriorState_forEachTween_closure2() { }, _ShapeBorderPaint: function _ShapeBorderPaint(t0, t1, t2, t3) { var _ = this; _.child = t0; _.shape = t1; _.borderOnForeground = t2; _.key = t3; }, _ShapeBorderPainter: function _ShapeBorderPainter(t0, t1, t2) { this.border = t0; this.textDirection = t1; this._repaint = t2; }, __MaterialState_State_TickerProviderStateMixin: function __MaterialState_State_TickerProviderStateMixin() { }, _MaterialLocalizationsDelegate: function _MaterialLocalizationsDelegate() { }, DefaultMaterialLocalizations: function DefaultMaterialLocalizations() { }, _MaterialStateColor$(_resolve) { return new A._MaterialStateColor(_resolve, J.get$value$x(_resolve.call$1(B.Set_empty))); }, _MaterialStateBorderSide$(_resolve) { return new A._MaterialStateBorderSide(_resolve, B.Color_4278190080, 1, B.BorderStyle_1, -1); }, _MaterialStateTextStyle$(_resolve) { var _null = null; return new A._MaterialStateTextStyle(_resolve, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, MaterialStateProperty_resolveAs(value, states, $T) { if ($T._eval$1("MaterialStateProperty<0>")._is(value)) return value.resolve$1(0, states); return value; }, MaterialStateProperty_lerp(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties(a, b, t, lerpFunction, $T._eval$1("_LerpProperties<0>")); }, MaterialStatesController$(value) { var t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (value != null) t1.addAll$1(0, value); return new A.MaterialStatesController(t1, $.$get$ChangeNotifier__emptyListeners()); }, MaterialState: function MaterialState(t0, t1) { this.index = t0; this._core$_name = t1; }, MaterialStateColor: function MaterialStateColor() { }, _MaterialStateColor: function _MaterialStateColor(t0, t1) { this._material_state$_resolve = t0; this.value = t1; }, MaterialStateMouseCursor: function MaterialStateMouseCursor() { }, _EnabledAndDisabledMouseCursor: function _EnabledAndDisabledMouseCursor(t0, t1) { this.enabledCursor = t0; this.name = t1; }, MaterialStateBorderSide: function MaterialStateBorderSide() { }, _MaterialStateBorderSide: function _MaterialStateBorderSide(t0, t1, t2, t3, t4) { var _ = this; _._material_state$_resolve = t0; _.color = t1; _.width = t2; _.style = t3; _.strokeAlign = t4; }, MaterialStateTextStyle: function MaterialStateTextStyle() { }, _MaterialStateTextStyle: function _MaterialStateTextStyle(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; _._material_state$_resolve = t0; _.inherit = t1; _.color = t2; _.backgroundColor = t3; _.fontFamily = t4; _._text_style$_fontFamilyFallback = t5; _._package = t6; _.fontSize = t7; _.fontWeight = t8; _.fontStyle = t9; _.letterSpacing = t10; _.wordSpacing = t11; _.textBaseline = t12; _.height = t13; _.leadingDistribution = t14; _.locale = t15; _.foreground = t16; _.background = t17; _.decoration = t18; _.decorationColor = t19; _.decorationStyle = t20; _.decorationThickness = t21; _.debugLabel = t22; _.shadows = t23; _.fontFeatures = t24; _.fontVariations = t25; _.overflow = t26; }, MaterialStateProperty: function MaterialStateProperty() { }, _LerpProperties: function _LerpProperties(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _MaterialStatePropertyWith: function _MaterialStatePropertyWith(t0, t1) { this._material_state$_resolve = t0; this.$ti = t1; }, MaterialStatePropertyAll: function MaterialStatePropertyAll(t0, t1) { this.value = t0; this.$ti = t1; }, MaterialStatesController: function MaterialStatesController(t0, t1) { var _ = this; _._change_notifier$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, MaterialStateMixin: function MaterialStateMixin() { }, MaterialStateMixin_updateMaterialState_closure: function MaterialStateMixin_updateMaterialState_closure(t0, t1, t2) { this.$this = t0; this.key = t1; this.onChanged = t2; }, MaterialStateMixin_addMaterialState_closure: function MaterialStateMixin_addMaterialState_closure() { }, MaterialStateMixin_removeMaterialState_closure: function MaterialStateMixin_removeMaterialState_closure() { }, MenuBarThemeData_lerp(a, b, t) { if (a === b) return a; return new A.MenuBarThemeData(A.MenuStyle_lerp(a.style, b.style, t)); }, MenuBarThemeData: function MenuBarThemeData(t0) { this.style = t0; }, MenuButtonThemeData_lerp(a, b, t) { if (a === b) return a; return new A.MenuButtonThemeData(A.ButtonStyle_lerp(a.style, b.style, t)); }, MenuButtonThemeData: function MenuButtonThemeData(t0) { this.style = t0; }, _MenuButtonThemeData_Object_Diagnosticable: function _MenuButtonThemeData_Object_Diagnosticable() { }, MenuStyle_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _null = null; if (a == b) return a; t1 = a == null; t2 = t1 ? _null : a.backgroundColor; t3 = b == null; t4 = t3 ? _null : b.backgroundColor; t5 = type$.nullable_Color; t4 = A.MaterialStateProperty_lerp(t2, t4, t, A.ui_Color_lerp$closure(), t5); t2 = t1 ? _null : a.shadowColor; t2 = A.MaterialStateProperty_lerp(t2, t3 ? _null : b.shadowColor, t, A.ui_Color_lerp$closure(), t5); t6 = t1 ? _null : a.surfaceTintColor; t5 = A.MaterialStateProperty_lerp(t6, t3 ? _null : b.surfaceTintColor, t, A.ui_Color_lerp$closure(), t5); t6 = t1 ? _null : a.elevation; t7 = t3 ? _null : b.elevation; t7 = A.MaterialStateProperty_lerp(t6, t7, t, A.ui__lerpDouble$closure(), type$.nullable_double); t6 = t1 ? _null : a.padding; t8 = t3 ? _null : b.padding; t8 = A.MaterialStateProperty_lerp(t6, t8, t, A.edge_insets_EdgeInsetsGeometry_lerp$closure(), type$.nullable_EdgeInsetsGeometry); t6 = t1 ? _null : a.minimumSize; t9 = t3 ? _null : b.minimumSize; t10 = type$.nullable_Size; t9 = A.MaterialStateProperty_lerp(t6, t9, t, A.ui_Size_lerp$closure(), t10); t6 = t1 ? _null : a.fixedSize; t6 = A.MaterialStateProperty_lerp(t6, t3 ? _null : b.fixedSize, t, A.ui_Size_lerp$closure(), t10); t11 = t1 ? _null : a.maximumSize; t10 = A.MaterialStateProperty_lerp(t11, t3 ? _null : b.maximumSize, t, A.ui_Size_lerp$closure(), t10); t11 = t1 ? _null : a.side; t12 = t3 ? _null : b.side; t13 = t1 ? _null : a.shape; t14 = t3 ? _null : b.shape; t14 = A.MaterialStateProperty_lerp(t13, t14, t, A.borders_OutlinedBorder_lerp$closure(), type$.nullable_OutlinedBorder); t13 = t < 0.5; if (t13) t15 = t1 ? _null : a.mouseCursor; else t15 = t3 ? _null : b.mouseCursor; if (t13) t13 = t1 ? _null : a.visualDensity; else t13 = t3 ? _null : b.visualDensity; t1 = t1 ? _null : a.alignment; return new A.MenuStyle(t4, t2, t5, t7, t8, t9, t6, t10, new A._LerpSides1(t11, t12, t), t14, t15, t13, A.AlignmentGeometry_lerp(t1, t3 ? _null : b.alignment, t)); }, MenuStyle: function MenuStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.backgroundColor = t0; _.shadowColor = t1; _.surfaceTintColor = t2; _.elevation = t3; _.padding = t4; _.minimumSize = t5; _.fixedSize = t6; _.maximumSize = t7; _.side = t8; _.shape = t9; _.mouseCursor = t10; _.visualDensity = t11; _.alignment = t12; }, _LerpSides1: function _LerpSides1(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, _MenuStyle_Object_Diagnosticable: function _MenuStyle_Object_Diagnosticable() { }, MenuThemeData_lerp(a, b, t) { if (a === b) return a; return new A.MenuThemeData(A.MenuStyle_lerp(a.style, b.style, t)); }, MenuThemeData: function MenuThemeData(t0) { this.style = t0; }, _MenuThemeData_Object_Diagnosticable: function _MenuThemeData_Object_Diagnosticable() { }, MergeableMaterialItem: function MergeableMaterialItem() { }, MaterialSlice: function MaterialSlice(t0, t1, t2) { this.child = t0; this.color = t1; this.key = t2; }, MaterialGap: function MaterialGap(t0, t1) { this.size = t0; this.key = t1; }, MergeableMaterial: function MergeableMaterial(t0, t1, t2, t3, t4) { var _ = this; _.children = t0; _.elevation = t1; _.hasDividers = t2; _.dividerColor = t3; _.key = t4; }, _AnimationTuple: function _AnimationTuple(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.startAnimation = t1; _.endAnimation = t2; _.gapAnimation = t3; _.gapStart = 0; }, _MergeableMaterialState: function _MergeableMaterialState(t0, t1, t2, t3) { var _ = this; _.___MergeableMaterialState__children_A = $; _._animationTuples = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _MergeableMaterialState__handleTick_closure: function _MergeableMaterialState__handleTick_closure() { }, _MergeableMaterialState_didUpdateWidget_closure: function _MergeableMaterialState_didUpdateWidget_closure() { }, _MergeableMaterialState_didUpdateWidget_closure0: function _MergeableMaterialState_didUpdateWidget_closure0() { }, _MergeableMaterialSliceKey: function _MergeableMaterialSliceKey(t0) { this.value = t0; }, _MergeableMaterialListBody: function _MergeableMaterialListBody(t0, t1, t2, t3) { var _ = this; _.elevation = t0; _.mainAxis = t1; _.children = t2; _.key = t3; }, _RenderMergeableMaterialListBody: function _RenderMergeableMaterialListBody(t0, t1, t2, t3, t4, t5) { var _ = this; _._mergeable_material$_elevation = t0; _._axisDirection = t1; _.ContainerRenderObjectMixin__childCount = t2; _.ContainerRenderObjectMixin__firstChild = t3; _.ContainerRenderObjectMixin__lastChild = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, __MergeableMaterialState_State_TickerProviderStateMixin: function __MergeableMaterialState_State_TickerProviderStateMixin() { }, NavigationBarThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10; if (a === b) return a; t1 = A.lerpDouble(a.height, b.height, t); t2 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t3 = A.lerpDouble(a.elevation, b.elevation, t); t4 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t5 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t6 = A.Color_lerp(a.indicatorColor, b.indicatorColor, t); t7 = A.ShapeBorder_lerp(a.indicatorShape, b.indicatorShape, t); t8 = A.MaterialStateProperty_lerp(a.labelTextStyle, b.labelTextStyle, t, A.text_style_TextStyle_lerp$closure(), type$.nullable_TextStyle); t9 = A.MaterialStateProperty_lerp(a.iconTheme, b.iconTheme, t, A.icon_theme_data_IconThemeData_lerp$closure(), type$.nullable_IconThemeData); if (t < 0.5) t10 = a.labelBehavior; else t10 = b.labelBehavior; return new A.NavigationBarThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, A.MaterialStateProperty_lerp(a.overlayColor, b.overlayColor, t, A.ui_Color_lerp$closure(), type$.nullable_Color)); }, NavigationBarThemeData: function NavigationBarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.height = t0; _.backgroundColor = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.indicatorColor = t5; _.indicatorShape = t6; _.labelTextStyle = t7; _.iconTheme = t8; _.labelBehavior = t9; _.overlayColor = t10; }, _NavigationBarThemeData_Object_Diagnosticable: function _NavigationBarThemeData_Object_Diagnosticable() { }, NavigationDrawerThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9; if (a === b) return a; t1 = A.lerpDouble(a.tileHeight, b.tileHeight, t); t2 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t3 = A.lerpDouble(a.elevation, b.elevation, t); t4 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t5 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t6 = A.Color_lerp(a.indicatorColor, b.indicatorColor, t); t7 = A.ShapeBorder_lerp(a.indicatorShape, b.indicatorShape, t); t8 = a.indicatorSize; t8 = A.Size_lerp(t8, t8, t); t9 = A.MaterialStateProperty_lerp(a.labelTextStyle, b.labelTextStyle, t, A.text_style_TextStyle_lerp$closure(), type$.nullable_TextStyle); return new A.NavigationDrawerThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t9, A.MaterialStateProperty_lerp(a.iconTheme, b.iconTheme, t, A.icon_theme_data_IconThemeData_lerp$closure(), type$.nullable_IconThemeData)); }, NavigationDrawerThemeData: function NavigationDrawerThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.tileHeight = t0; _.backgroundColor = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.indicatorColor = t5; _.indicatorShape = t6; _.indicatorSize = t7; _.labelTextStyle = t8; _.iconTheme = t9; }, _NavigationDrawerThemeData_Object_Diagnosticable: function _NavigationDrawerThemeData_Object_Diagnosticable() { }, NavigationRailThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12; if (a === b) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.lerpDouble(a.elevation, b.elevation, t); t3 = A.TextStyle_lerp(a.unselectedLabelTextStyle, b.unselectedLabelTextStyle, t); t4 = A.TextStyle_lerp(a.selectedLabelTextStyle, b.selectedLabelTextStyle, t); t5 = a.unselectedIconTheme; if (t5 == null) t6 = b.unselectedIconTheme == null; else t6 = false; if (t6) t5 = null; else t5 = A.IconThemeData_lerp(t5, b.unselectedIconTheme, t); t6 = a.selectedIconTheme; if (t6 == null) t7 = b.selectedIconTheme == null; else t7 = false; if (t7) t6 = null; else t6 = A.IconThemeData_lerp(t6, b.selectedIconTheme, t); t7 = A.lerpDouble(a.groupAlignment, b.groupAlignment, t); t8 = t < 0.5; if (t8) t9 = a.labelType; else t9 = b.labelType; if (t8) t8 = a.useIndicator; else t8 = b.useIndicator; t10 = A.Color_lerp(a.indicatorColor, b.indicatorColor, t); t11 = A.ShapeBorder_lerp(a.indicatorShape, b.indicatorShape, t); t12 = A.lerpDouble(a.minWidth, b.minWidth, t); return new A.NavigationRailThemeData(t1, t2, t3, t4, t5, t6, t7, t9, t8, t10, t11, t12, A.lerpDouble(a.minExtendedWidth, b.minExtendedWidth, t)); }, NavigationRailThemeData: function NavigationRailThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.unselectedLabelTextStyle = t2; _.selectedLabelTextStyle = t3; _.unselectedIconTheme = t4; _.selectedIconTheme = t5; _.groupAlignment = t6; _.labelType = t7; _.useIndicator = t8; _.indicatorColor = t9; _.indicatorShape = t10; _.minWidth = t11; _.minExtendedWidth = t12; }, _NavigationRailThemeData_Object_Diagnosticable: function _NavigationRailThemeData_Object_Diagnosticable() { }, _NoSplashFactory: function _NoSplashFactory() { }, NoSplash: function NoSplash(t0, t1, t2, t3, t4) { var _ = this; _._ink_well$_color = t0; _._customBorder = t1; _._material$_controller = t2; _.referenceBox = t3; _.onRemoved = t4; _._material$_debugDisposed = false; }, OutlinedButton$(child, onLongPress, onPressed, style) { var _null = null; return new A.OutlinedButton(onPressed, onLongPress, _null, _null, style, B.Clip_0, _null, false, _null, true, child, _null); }, OutlinedButton_styleFrom(alignment, animationDuration, backgroundColor, disabledBackgroundColor, disabledForegroundColor, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, foregroundColor, maximumSize, minimumSize, padding, shadowColor, shape, side, splashFactory, tapTargetSize, textStyle, visualDensity) { var backgroundColorProp, t2, t3, t4, t5, t6, t7, t8, _null = null, foregroundColorProp = new A._OutlinedButtonDefaultColor(foregroundColor, disabledForegroundColor), t1 = backgroundColor == null; if (t1 && disabledBackgroundColor == null) backgroundColorProp = _null; else if (disabledBackgroundColor == null) { t1 = t1 ? _null : new A.MaterialStatePropertyAll(backgroundColor, type$.MaterialStatePropertyAll_nullable_Color); backgroundColorProp = t1; } else { t1 = new A._OutlinedButtonDefaultColor(backgroundColor, disabledBackgroundColor); backgroundColorProp = t1; } t1 = textStyle == null ? _null : new A.MaterialStatePropertyAll(textStyle, type$.MaterialStatePropertyAll_TextStyle); t2 = shadowColor == null ? _null : new A.MaterialStatePropertyAll(shadowColor, type$.MaterialStatePropertyAll_Color); t3 = elevation == null ? _null : new A.MaterialStatePropertyAll(elevation, type$.MaterialStatePropertyAll_double); t4 = padding == null ? _null : new A.MaterialStatePropertyAll(padding, type$.MaterialStatePropertyAll_EdgeInsetsGeometry); t5 = minimumSize == null ? _null : new A.MaterialStatePropertyAll(minimumSize, type$.MaterialStatePropertyAll_Size); t6 = maximumSize == null ? _null : new A.MaterialStatePropertyAll(maximumSize, type$.MaterialStatePropertyAll_Size); t7 = side == null ? _null : new A.MaterialStatePropertyAll(side, type$.MaterialStatePropertyAll_BorderSide); t8 = shape == null ? _null : new A.MaterialStatePropertyAll(shape, type$.MaterialStatePropertyAll_OutlinedBorder); return A.ButtonStyle$(alignment, animationDuration, backgroundColorProp, t3, enableFeedback, _null, foregroundColorProp, _null, _null, t6, t5, new A._OutlinedButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor), new A._OutlinedButtonDefaultOverlay(foregroundColor), t4, t2, t8, t7, splashFactory, _null, tapTargetSize, t1, visualDensity); }, _scaledPadding1(context) { var t2, t3, theme = A.Theme_of(context), padding1x = theme.useMaterial3 ? 24 : 16, t1 = theme.textTheme.labelLarge, defaultFontSize = t1 == null ? null : t1.fontSize; if (defaultFontSize == null) defaultFontSize = 14; t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_4); t1 = t1 == null ? null : t1.get$textScaler(); if (t1 == null) t1 = B._LinearTextScaler_1; t2 = padding1x / 2; t3 = t2 / 2; return A.ButtonStyleButton_scaledPadding(new A.EdgeInsets(padding1x, 0, padding1x, 0), new A.EdgeInsets(t2, 0, t2, 0), new A.EdgeInsets(t3, 0, t3, 0), defaultFontSize * t1.textScaleFactor / 14); }, OutlinedButton: function OutlinedButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.statesController = t8; _.isSemanticButton = t9; _.child = t10; _.key = t11; }, _OutlinedButtonDefaultColor: function _OutlinedButtonDefaultColor(t0, t1) { this.color = t0; this.disabled = t1; }, _OutlinedButtonDefaultOverlay: function _OutlinedButtonDefaultOverlay(t0) { this.foreground = t0; }, _OutlinedButtonDefaultMouseCursor: function _OutlinedButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _OutlinedButtonDefaultsM3: function _OutlinedButtonDefaultsM3(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; _.context = t0; _.___OutlinedButtonDefaultsM3__colors_FI = $; _.textStyle = t1; _.backgroundColor = t2; _.foregroundColor = t3; _.overlayColor = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.elevation = t7; _.padding = t8; _.minimumSize = t9; _.fixedSize = t10; _.maximumSize = t11; _.iconColor = t12; _.iconSize = t13; _.side = t14; _.shape = t15; _.mouseCursor = t16; _.visualDensity = t17; _.tapTargetSize = t18; _.animationDuration = t19; _.enableFeedback = t20; _.alignment = t21; _.splashFactory = t22; }, _OutlinedButtonDefaultsM3_foregroundColor_closure: function _OutlinedButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _OutlinedButtonDefaultsM3_overlayColor_closure: function _OutlinedButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _OutlinedButtonDefaultsM3_side_closure: function _OutlinedButtonDefaultsM3_side_closure(t0) { this.$this = t0; }, _OutlinedButtonDefaultsM3_mouseCursor_closure: function _OutlinedButtonDefaultsM3_mouseCursor_closure() { }, __OutlinedButtonDefaultColor_MaterialStateProperty_Diagnosticable: function __OutlinedButtonDefaultColor_MaterialStateProperty_Diagnosticable() { }, __OutlinedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __OutlinedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, __OutlinedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable: function __OutlinedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable() { }, OutlinedButtonThemeData_lerp(a, b, t) { if (a === b) return a; return new A.OutlinedButtonThemeData(A.ButtonStyle_lerp(a.style, b.style, t)); }, OutlinedButtonThemeData: function OutlinedButtonThemeData(t0) { this.style = t0; }, _OutlinedButtonThemeData_Object_Diagnosticable: function _OutlinedButtonThemeData_Object_Diagnosticable() { }, MaterialPageRoute$(builder, settings, $T) { var _null = null, t1 = A._setArrayType([], type$.JSArray_of_Future_bool_Function), t2 = $.Zone__current, t3 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation), t4 = A._setArrayType([], type$.JSArray_OverlayEntry), t5 = $.$get$ChangeNotifier__emptyListeners(), t6 = $.Zone__current, t7 = $T._eval$1("_Future<0?>"), t8 = $T._eval$1("_AsyncCompleter<0?>"), t9 = settings == null ? B.RouteSettings_null_null : settings; return new A.MaterialPageRoute(builder, false, true, false, _null, _null, t1, A.LinkedHashSet_LinkedHashSet$_empty(type$.PopEntry), new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, 0, new A._AsyncCompleter(new A._Future(t2, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t3, t4, t9, new A.ValueNotifier(_null, t5, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t6, t7), t8), new A._AsyncCompleter(new A._Future(t6, t7), t8), $T._eval$1("MaterialPageRoute<0>")); }, MaterialPageRoute: function MaterialPageRoute(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.builder = t0; _.fullscreenDialog = t1; _.allowSnapshotting = t2; _._pages$_barrierDismissible = t3; _.filter = t4; _.traversalEdgeBehavior = t5; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t6; _._popEntries = t7; _._scopeKey = t8; _._subtreeKey = t9; _._storageBucket = t10; _.__ModalRoute__modalBarrier_A = $; _._modalScopeCache = null; _.__ModalRoute__modalScope_A = $; _.LocalHistoryRoute__localHistory = t11; _.LocalHistoryRoute__entriesImpliesAppBarDismissal = t12; _._transitionCompleter = t13; _._performanceModeRequestHandle = null; _._popFinalized = false; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t14; _._trainHoppingListenerRemover = _._routes$_result = null; _._overlayEntries = t15; _._navigator$_navigator = null; _._navigator$_settings = t16; _._restorationScopeId = t17; _._popCompleter = t18; _._disposeCompleter = t19; _.$ti = t20; }, MaterialRouteTransitionMixin: function MaterialRouteTransitionMixin() { }, _MaterialPageRoute_PageRoute_MaterialRouteTransitionMixin: function _MaterialPageRoute_PageRoute_MaterialRouteTransitionMixin() { }, _FadeUpwardsPageTransition$(child, routeAnimation) { var t4, t1 = $.$get$_FadeUpwardsPageTransition__bottomUpTween(), t2 = $.$get$_FadeUpwardsPageTransition__fastOutSlowInTween(), t3 = t1.$ti._eval$1("_ChainedEvaluation<Animatable.T>"); type$.Animation_double._as(routeAnimation); t4 = $.$get$_FadeUpwardsPageTransition__easeInTween(); return new A._FadeUpwardsPageTransition(new A._AnimatedEvaluation(routeAnimation, new A._ChainedEvaluation(t2, t1, t3), t3._eval$1("_AnimatedEvaluation<Animatable.T>")), new A._AnimatedEvaluation(routeAnimation, t4, A._instanceType(t4)._eval$1("_AnimatedEvaluation<Animatable.T>")), child, null); }, _updateScaledTransform(transform, scale, size) { var t1, t2; transform.setIdentity$0(); if (scale === 1) return; transform.scale$2(0, scale, scale); t1 = size._dx; t2 = size._dy; transform.translate$2(0, -((t1 * scale - t1) / 2), -((t2 * scale - t2) / 2)); }, _ZoomEnterTransitionPainter$(animation, fade, reverse, scale) { var t1 = new A._ZoomEnterTransitionPainter(reverse, animation, scale, fade, new A.Matrix40(new Float64Array(16)), A.LayerHandle$(type$.OpacityLayer), A.LayerHandle$(type$.TransformLayer), $.$get$ChangeNotifier__emptyListeners()), t2 = t1.get$notifyListeners(); animation.addListener$1(0, t2); animation.addStatusListener$1(t1.get$_onStatusChange()); scale.parent.addListener$1(0, t2); fade.addListener$1(0, t2); return t1; }, _ZoomExitTransitionPainter$(animation, fade, reverse, scale) { var t1 = new A._ZoomExitTransitionPainter(reverse, scale, fade, animation, new A.Matrix40(new Float64Array(16)), A.LayerHandle$(type$.OpacityLayer), A.LayerHandle$(type$.TransformLayer), $.$get$ChangeNotifier__emptyListeners()), t2 = t1.get$notifyListeners(); scale.parent.addListener$1(0, t2); fade.addListener$1(0, t2); animation.addStatusListener$1(t1.get$_onStatusChange()); return t1; }, _FadeUpwardsPageTransition: function _FadeUpwardsPageTransition(t0, t1, t2, t3) { var _ = this; _._positionAnimation = t0; _._opacityAnimation = t1; _.child = t2; _.key = t3; }, _ZoomPageTransition: function _ZoomPageTransition(t0, t1, t2, t3, t4, t5) { var _ = this; _.animation = t0; _.secondaryAnimation = t1; _.allowSnapshotting = t2; _.child = t3; _.allowEnterRouteSnapshotting = t4; _.key = t5; }, _ZoomPageTransition_build_closure: function _ZoomPageTransition_build_closure(t0) { this.$this = t0; }, _ZoomPageTransition_build_closure0: function _ZoomPageTransition_build_closure0(t0) { this.$this = t0; }, _ZoomPageTransition_build_closure1: function _ZoomPageTransition_build_closure1(t0) { this.$this = t0; }, _ZoomPageTransition_build_closure2: function _ZoomPageTransition_build_closure2(t0) { this.$this = t0; }, _ZoomEnterTransition: function _ZoomEnterTransition(t0, t1, t2, t3, t4) { var _ = this; _.animation = t0; _.child = t1; _.allowSnapshotting = t2; _.reverse = t3; _.key = t4; }, _ZoomEnterTransitionState: function _ZoomEnterTransitionState(t0, t1, t2, t3) { var _ = this; _.___ZoomEnterTransitionState_delegate_A = $; _._ZoomTransitionBase_controller = t0; _._ZoomTransitionBase____ZoomTransitionBase_fadeTransition_A = t1; _._ZoomTransitionBase____ZoomTransitionBase_scaleTransition_A = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _ZoomExitTransition: function _ZoomExitTransition(t0, t1, t2, t3, t4) { var _ = this; _.animation = t0; _.allowSnapshotting = t1; _.reverse = t2; _.child = t3; _.key = t4; }, _ZoomExitTransitionState: function _ZoomExitTransitionState(t0, t1, t2, t3) { var _ = this; _.___ZoomExitTransitionState_delegate_A = $; _._ZoomTransitionBase_controller = t0; _._ZoomTransitionBase____ZoomTransitionBase_fadeTransition_A = t1; _._ZoomTransitionBase____ZoomTransitionBase_scaleTransition_A = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, PageTransitionsBuilder: function PageTransitionsBuilder() { }, ZoomPageTransitionsBuilder: function ZoomPageTransitionsBuilder() { }, CupertinoPageTransitionsBuilder: function CupertinoPageTransitionsBuilder() { }, PageTransitionsTheme: function PageTransitionsTheme(t0) { this._builders = t0; }, PageTransitionsTheme__all_closure: function PageTransitionsTheme__all_closure(t0) { this.builders = t0; }, _ZoomTransitionBase: function _ZoomTransitionBase() { }, _ZoomEnterTransitionPainter: function _ZoomEnterTransitionPainter(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.reverse = t0; _.animation = t1; _.scale = t2; _.fade = t3; _._page_transitions_theme$_transform = t4; _._opacityHandle = t5; _._transformHandler = t6; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t7; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _ZoomEnterTransitionPainter_paint_closure: function _ZoomEnterTransitionPainter_paint_closure(t0, t1) { this.$this = t0; this.painter = t1; }, _ZoomExitTransitionPainter: function _ZoomExitTransitionPainter(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.reverse = t0; _.scale = t1; _.fade = t2; _.animation = t3; _._page_transitions_theme$_transform = t4; _._opacityHandle = t5; _._transformHandler = t6; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t7; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _ZoomExitTransitionPainter_paint_closure: function _ZoomExitTransitionPainter_paint_closure(t0, t1) { this.$this = t0; this.painter = t1; }, _PageTransitionsTheme_Object_Diagnosticable: function _PageTransitionsTheme_Object_Diagnosticable() { }, __ZoomEnterTransitionState_State__ZoomTransitionBase: function __ZoomEnterTransitionState_State__ZoomTransitionBase() { }, __ZoomExitTransitionState_State__ZoomTransitionBase: function __ZoomExitTransitionState_State__ZoomTransitionBase() { }, PopupMenuDivider$() { return new A.PopupMenuDivider(null); }, PopupMenuItem$(child, value, $T) { return new A.PopupMenuItem(value, child, null, $T._eval$1("PopupMenuItem<0>")); }, showMenu(clipBehavior, color, constraints, context, elevation, initialValue, items, popUpAnimationStyle, position, shadowColor, shape, surfaceTintColor, useRootNavigator, $T) { var semanticLabel, t1, $navigator, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _null = null; switch (A.Theme_of(context).platform.index) { case 2: case 4: semanticLabel = _null; break; case 0: case 1: case 3: case 5: t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; semanticLabel = t1.get$popupMenuLabel(); break; default: semanticLabel = _null; } $navigator = A.Navigator_of(context, false); t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t1 = t1.get$menuDismissLabel(); t2 = $navigator._framework$_element; t2.toString; t2 = A.InheritedTheme_capture(context, t2); t3 = A.List_List$filled(J.get$length$asx(items), _null, false, type$.nullable_Size); t4 = A._setArrayType([], type$.JSArray_of_Future_bool_Function); t5 = $.Zone__current; t6 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation); t7 = A._setArrayType([], type$.JSArray_OverlayEntry); t8 = $.$get$ChangeNotifier__emptyListeners(); t9 = $.Zone__current; t10 = $T._eval$1("_Future<0?>"); t11 = $T._eval$1("_AsyncCompleter<0?>"); return $navigator.push$1(new A._PopupMenuRoute(position, items, t3, initialValue, elevation, surfaceTintColor, shadowColor, semanticLabel, shape, color, t2, constraints, clipBehavior, popUpAnimationStyle, t1, _null, B.TraversalEdgeBehavior_0, t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.PopEntry), new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, 0, new A._AsyncCompleter(new A._Future(t5, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t6, t7, B.RouteSettings_null_null, new A.ValueNotifier(_null, t8, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t9, t10), t11), new A._AsyncCompleter(new A._Future(t9, t10), t11), $T._eval$1("_PopupMenuRoute<0>"))); }, PopupMenuButton$(child, color, enabled, icon, initialValue, itemBuilder, onSelected, padding, tooltip, $T) { return new A.PopupMenuButton(itemBuilder, initialValue, onSelected, tooltip, padding, child, icon, enabled, color, null, $T._eval$1("PopupMenuButton<0>")); }, _PopupMenuDefaultsM2$(context) { var _null = null; return new A._PopupMenuDefaultsM2(context, _null, _null, 8, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _PopupMenuDefaultsM3$(context) { var _null = null; return new A._PopupMenuDefaultsM3(context, _null, _null, 3, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, PopupMenuEntry: function PopupMenuEntry() { }, PopupMenuDivider: function PopupMenuDivider(t0) { this.key = t0; }, _PopupMenuDividerState: function _PopupMenuDividerState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _MenuItem0: function _MenuItem0(t0, t1, t2) { this.onLayout = t0; this.child = t1; this.key = t2; }, _RenderMenuItem0: function _RenderMenuItem0(t0, t1, t2) { var _ = this; _.onLayout = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, PopupMenuItem: function PopupMenuItem(t0, t1, t2, t3) { var _ = this; _.value = t0; _.child = t1; _.key = t2; _.$ti = t3; }, PopupMenuItemState: function PopupMenuItemState(t0, t1) { var _ = this; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _PopupMenu: function _PopupMenu(t0, t1, t2, t3, t4, t5) { var _ = this; _.route = t0; _.semanticLabel = t1; _.constraints = t2; _.clipBehavior = t3; _.key = t4; _.$ti = t5; }, _PopupMenu_build_closure: function _PopupMenu_build_closure(t0, t1) { this.$this = t0; this.i = t1; }, _PopupMenu_build_closure0: function _PopupMenu_build_closure0(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.opacity = t1; _.popupMenuTheme = t2; _.defaults = t3; _.width = t4; _.height = t5; }, _PopupMenuRouteLayout: function _PopupMenuRouteLayout(t0, t1, t2, t3, t4, t5) { var _ = this; _.position = t0; _.itemSizes = t1; _.selectedItemIndex = t2; _.textDirection = t3; _.padding = t4; _.avoidBounds = t5; }, _PopupMenuRoute: function _PopupMenuRoute(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; _.position = t0; _.items = t1; _.itemSizes = t2; _.initialValue = t3; _.elevation = t4; _.surfaceTintColor = t5; _.shadowColor = t6; _.semanticLabel = t7; _.shape = t8; _.color = t9; _.capturedThemes = t10; _.constraints = t11; _.clipBehavior = t12; _.popUpAnimationStyle = t13; _.barrierLabel = t14; _.filter = t15; _.traversalEdgeBehavior = t16; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t17; _._popEntries = t18; _._scopeKey = t19; _._subtreeKey = t20; _._storageBucket = t21; _.__ModalRoute__modalBarrier_A = $; _._modalScopeCache = null; _.__ModalRoute__modalScope_A = $; _.LocalHistoryRoute__localHistory = t22; _.LocalHistoryRoute__entriesImpliesAppBarDismissal = t23; _._transitionCompleter = t24; _._performanceModeRequestHandle = null; _._popFinalized = false; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t25; _._trainHoppingListenerRemover = _._routes$_result = null; _._overlayEntries = t26; _._navigator$_navigator = null; _._navigator$_settings = t27; _._restorationScopeId = t28; _._popCompleter = t29; _._disposeCompleter = t30; _.$ti = t31; }, _PopupMenuRoute_buildPage_closure: function _PopupMenuRoute_buildPage_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.mediaQuery = t2; _.menu = t3; }, PopupMenuButton: function PopupMenuButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.itemBuilder = t0; _.initialValue = t1; _.onSelected = t2; _.tooltip = t3; _.padding = t4; _.child = t5; _.icon = t6; _.enabled = t7; _.color = t8; _.key = t9; _.$ti = t10; }, PopupMenuButtonState: function PopupMenuButtonState(t0, t1) { var _ = this; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, PopupMenuButtonState_showButtonMenu_closure: function PopupMenuButtonState_showButtonMenu_closure(t0) { this.$this = t0; }, _EffectiveMouseCursor0: function _EffectiveMouseCursor0(t0, t1) { this.widgetCursor = t0; this.themeCursor = t1; }, _PopupMenuDefaultsM2: function _PopupMenuDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.context = t0; _.___PopupMenuDefaultsM2__textTheme_FI = _.___PopupMenuDefaultsM2__theme_FI = $; _.color = t1; _.shape = t2; _.elevation = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.textStyle = t6; _.labelTextStyle = t7; _.enableFeedback = t8; _.mouseCursor = t9; _.position = t10; _.iconColor = t11; _.iconSize = t12; }, _PopupMenuDefaultsM3: function _PopupMenuDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.context = t0; _.___PopupMenuDefaultsM3__textTheme_FI = _.___PopupMenuDefaultsM3__colors_FI = _.___PopupMenuDefaultsM3__theme_FI = $; _.color = t1; _.shape = t2; _.elevation = t3; _.shadowColor = t4; _.surfaceTintColor = t5; _.textStyle = t6; _.labelTextStyle = t7; _.enableFeedback = t8; _.mouseCursor = t9; _.position = t10; _.iconColor = t11; _.iconSize = t12; }, _PopupMenuDefaultsM3_labelTextStyle_closure: function _PopupMenuDefaultsM3_labelTextStyle_closure(t0) { this.$this = t0; }, PopupMenuThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11; if (a === b) return a; t1 = A.Color_lerp(a.color, b.color, t); t2 = A.ShapeBorder_lerp(a.shape, b.shape, t); t3 = A.lerpDouble(a.elevation, b.elevation, t); t4 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t5 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t6 = A.TextStyle_lerp(a.textStyle, b.textStyle, t); t7 = A.MaterialStateProperty_lerp(a.labelTextStyle, b.labelTextStyle, t, A.text_style_TextStyle_lerp$closure(), type$.nullable_TextStyle); t8 = t < 0.5; if (t8) t9 = a.enableFeedback; else t9 = b.enableFeedback; if (t8) t10 = a.mouseCursor; else t10 = b.mouseCursor; if (t8) t8 = a.position; else t8 = b.position; t11 = A.Color_lerp(a.iconColor, b.iconColor, t); return new A.PopupMenuThemeData(t1, t2, t3, t4, t5, t6, t7, t9, t10, t8, t11, A.lerpDouble(a.iconSize, b.iconSize, t)); }, PopupMenuTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.PopupMenuTheme); t1 = A.Theme_of(context); return t1.popupMenuTheme; }, PopupMenuThemeData: function PopupMenuThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.color = t0; _.shape = t1; _.elevation = t2; _.shadowColor = t3; _.surfaceTintColor = t4; _.textStyle = t5; _.labelTextStyle = t6; _.enableFeedback = t7; _.mouseCursor = t8; _.position = t9; _.iconColor = t10; _.iconSize = t11; }, _PopupMenuThemeData_Object_Diagnosticable: function _PopupMenuThemeData_Object_Diagnosticable() { }, LinearProgressIndicator$() { var _null = null; return new A.LinearProgressIndicator(_null, _null, _null, _null, _null, _null, _null); }, _CircularProgressIndicatorPainter$(backgroundColor, headValue, offsetValue, rotationValue, strokeAlign, strokeCap, strokeWidth, tailValue, value, valueColor) { var t1 = value != null, t2 = t1 ? -1.5707963267948966 : -1.5707963267948966 + tailValue * 3 / 2 * 3.141592653589793 + rotationValue * 3.141592653589793 * 2 + offsetValue * 0.5 * 3.141592653589793; return new A._CircularProgressIndicatorPainter(backgroundColor, valueColor, value, headValue, tailValue, offsetValue, rotationValue, strokeWidth, strokeAlign, t2, t1 ? A.clampDouble(value, 0, 1) * 6.282185307179586 : Math.max(headValue * 3 / 2 * 3.141592653589793 - tailValue * 3 / 2 * 3.141592653589793, 0.001), strokeCap, null); }, CircularProgressIndicator$(backgroundColor, color, key, semanticsLabel, semanticsValue, strokeAlign, strokeCap, strokeWidth, value, valueColor) { return new A.CircularProgressIndicator(strokeWidth, strokeAlign, strokeCap, value, backgroundColor, color, valueColor, semanticsLabel, semanticsValue, key); }, _ActivityIndicatorType: function _ActivityIndicatorType(t0, t1) { this.index = t0; this._core$_name = t1; }, ProgressIndicator: function ProgressIndicator() { }, _LinearProgressIndicatorPainter: function _LinearProgressIndicatorPainter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.backgroundColor = t0; _.valueColor = t1; _.value = t2; _.animationValue = t3; _.textDirection = t4; _.indicatorBorderRadius = t5; _._repaint = t6; }, _LinearProgressIndicatorPainter_paint_drawBar: function _LinearProgressIndicatorPainter_paint_drawBar(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.size = t1; _.canvas = t2; _.paint = t3; }, LinearProgressIndicator: function LinearProgressIndicator(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.value = t0; _.backgroundColor = t1; _.color = t2; _.valueColor = t3; _.semanticsLabel = t4; _.semanticsValue = t5; _.key = t6; }, _LinearProgressIndicatorState: function _LinearProgressIndicatorState(t0, t1, t2) { var _ = this; _.___LinearProgressIndicatorState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _LinearProgressIndicatorState_build_closure: function _LinearProgressIndicatorState_build_closure(t0, t1) { this.$this = t0; this.textDirection = t1; }, _CircularProgressIndicatorPainter: function _CircularProgressIndicatorPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.backgroundColor = t0; _.valueColor = t1; _.value = t2; _.headValue = t3; _.tailValue = t4; _.offsetValue = t5; _.rotationValue = t6; _.strokeWidth = t7; _.strokeAlign = t8; _.arcStart = t9; _.arcSweep = t10; _.strokeCap = t11; _._repaint = t12; }, CircularProgressIndicator: function CircularProgressIndicator(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.strokeWidth = t0; _.strokeAlign = t1; _.strokeCap = t2; _.value = t3; _.backgroundColor = t4; _.color = t5; _.valueColor = t6; _.semanticsLabel = t7; _.semanticsValue = t8; _.key = t9; }, _CircularProgressIndicatorState: function _CircularProgressIndicatorState(t0, t1, t2) { var _ = this; _.___CircularProgressIndicatorState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CircularProgressIndicatorState__buildAnimation_closure: function _CircularProgressIndicatorState__buildAnimation_closure(t0) { this.$this = t0; }, _RefreshProgressIndicatorPainter: function _RefreshProgressIndicatorPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.arrowheadScale = t0; _.backgroundColor = t1; _.valueColor = t2; _.value = t3; _.headValue = t4; _.tailValue = t5; _.offsetValue = t6; _.rotationValue = t7; _.strokeWidth = t8; _.strokeAlign = t9; _.arcStart = t10; _.arcSweep = t11; _.strokeCap = t12; _._repaint = t13; }, RefreshProgressIndicator: function RefreshProgressIndicator(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.strokeWidth = t0; _.strokeAlign = t1; _.strokeCap = t2; _.value = t3; _.backgroundColor = t4; _.color = t5; _.valueColor = t6; _.semanticsLabel = t7; _.semanticsValue = t8; _.key = t9; }, _RefreshProgressIndicatorState: function _RefreshProgressIndicatorState(t0, t1, t2) { var _ = this; _.___RefreshProgressIndicatorState__additionalRotationTween_FI = _.___RefreshProgressIndicatorState__convertTween_FI = $; _._progress_indicator$_lastValue = null; _.___CircularProgressIndicatorState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _RefreshProgressIndicatorState__buildAnimation_closure: function _RefreshProgressIndicatorState__buildAnimation_closure(t0) { this.$this = t0; }, _CircularProgressIndicatorDefaultsM2: function _CircularProgressIndicatorDefaultsM2(t0, t1, t2, t3, t4, t5) { var _ = this; _.context = t0; _.___CircularProgressIndicatorDefaultsM2__colors_FI = $; _.color = t1; _.linearTrackColor = t2; _.linearMinHeight = t3; _.circularTrackColor = t4; _.refreshBackgroundColor = t5; }, _LinearProgressIndicatorDefaultsM2: function _LinearProgressIndicatorDefaultsM2(t0, t1, t2, t3, t4, t5) { var _ = this; _.context = t0; _.___LinearProgressIndicatorDefaultsM2__colors_FI = $; _.color = t1; _.linearTrackColor = t2; _.linearMinHeight = t3; _.circularTrackColor = t4; _.refreshBackgroundColor = t5; }, _CircularProgressIndicatorDefaultsM3: function _CircularProgressIndicatorDefaultsM3(t0, t1, t2, t3, t4, t5) { var _ = this; _.context = t0; _.___CircularProgressIndicatorDefaultsM3__colors_FI = $; _.color = t1; _.linearTrackColor = t2; _.linearMinHeight = t3; _.circularTrackColor = t4; _.refreshBackgroundColor = t5; }, _LinearProgressIndicatorDefaultsM3: function _LinearProgressIndicatorDefaultsM3(t0, t1, t2, t3, t4, t5) { var _ = this; _.context = t0; _.___LinearProgressIndicatorDefaultsM3__colors_FI = $; _.color = t1; _.linearTrackColor = t2; _.linearMinHeight = t3; _.circularTrackColor = t4; _.refreshBackgroundColor = t5; }, __CircularProgressIndicatorState_State_SingleTickerProviderStateMixin: function __CircularProgressIndicatorState_State_SingleTickerProviderStateMixin() { }, __LinearProgressIndicatorState_State_SingleTickerProviderStateMixin: function __LinearProgressIndicatorState_State_SingleTickerProviderStateMixin() { }, ProgressIndicatorThemeData_lerp(a, b, t) { var t1, t2, t3, t4; if (a === b) return a; t1 = A.Color_lerp(a.color, b.color, t); t2 = A.Color_lerp(a.linearTrackColor, b.linearTrackColor, t); t3 = A.lerpDouble(a.linearMinHeight, b.linearMinHeight, t); t4 = A.Color_lerp(a.circularTrackColor, b.circularTrackColor, t); return new A.ProgressIndicatorThemeData(t1, t2, t3, t4, A.Color_lerp(a.refreshBackgroundColor, b.refreshBackgroundColor, t)); }, ProgressIndicatorTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.ProgressIndicatorTheme); t1 = A.Theme_of(context); return t1.progressIndicatorTheme; }, ProgressIndicatorThemeData: function ProgressIndicatorThemeData(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.linearTrackColor = t1; _.linearMinHeight = t2; _.circularTrackColor = t3; _.refreshBackgroundColor = t4; }, _ProgressIndicatorThemeData_Object_Diagnosticable: function _ProgressIndicatorThemeData_Object_Diagnosticable() { }, Radio$(activeColor, autofocus, fillColor, groupValue, hoverColor, materialTapTargetSize, mouseCursor, onChanged, overlayColor, splashRadius, toggleable, value, $T) { return new A.Radio(value, groupValue, onChanged, mouseCursor, toggleable, activeColor, fillColor, materialTapTargetSize, hoverColor, overlayColor, splashRadius, false, false, B._RadioType_0, null, $T._eval$1("Radio<0>")); }, _RadioType: function _RadioType(t0, t1) { this.index = t0; this._core$_name = t1; }, Radio: function Radio(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.value = t0; _.groupValue = t1; _.onChanged = t2; _.mouseCursor = t3; _.toggleable = t4; _.activeColor = t5; _.fillColor = t6; _.materialTapTargetSize = t7; _.hoverColor = t8; _.overlayColor = t9; _.splashRadius = t10; _.autofocus = t11; _.useCupertinoCheckmarkStyle = t12; _._radioType = t13; _.key = t14; _.$ti = t15; }, _RadioState: function _RadioState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._radio$_painter = t0; _.ToggleableStateMixin___ToggleableStateMixin__positionController_A = t1; _.ToggleableStateMixin___ToggleableStateMixin__position_A = t2; _.ToggleableStateMixin___ToggleableStateMixin__reactionController_A = t3; _.ToggleableStateMixin___ToggleableStateMixin__reaction_A = t4; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade_A = t5; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController_A = t6; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade_A = t7; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController_A = t8; _.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI = t9; _.ToggleableStateMixin__downPosition = t10; _.ToggleableStateMixin__focused = t11; _.ToggleableStateMixin__hovering = t12; _.TickerProviderStateMixin__tickers = t13; _.TickerProviderStateMixin__tickerModeNotifier = t14; _._widget = null; _._debugLifecycleState = t15; _._framework$_element = null; _.$ti = t16; }, _RadioState__widgetFillColor_closure: function _RadioState__widgetFillColor_closure(t0) { this.$this = t0; }, _RadioState_build_closure: function _RadioState_build_closure(t0, t1) { this.$this = t0; this.radioTheme = t1; }, _RadioPainter: function _RadioPainter(t0) { var _ = this; _._toggleable$_isHovered = _._toggleable$_isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._reaction = _._toggleable$_position = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _RadioDefaultsM2: function _RadioDefaultsM2(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.context = t0; _.___RadioDefaultsM2__colors_FI = _.___RadioDefaultsM2__theme_FI = $; _.mouseCursor = t1; _.fillColor = t2; _.overlayColor = t3; _.splashRadius = t4; _.materialTapTargetSize = t5; _.visualDensity = t6; }, _RadioDefaultsM2_fillColor_closure: function _RadioDefaultsM2_fillColor_closure(t0) { this.$this = t0; }, _RadioDefaultsM2_overlayColor_closure: function _RadioDefaultsM2_overlayColor_closure(t0) { this.$this = t0; }, _RadioDefaultsM3: function _RadioDefaultsM3(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.context = t0; _.___RadioDefaultsM3__colors_FI = _.___RadioDefaultsM3__theme_FI = $; _.mouseCursor = t1; _.fillColor = t2; _.overlayColor = t3; _.splashRadius = t4; _.materialTapTargetSize = t5; _.visualDensity = t6; }, _RadioDefaultsM3_fillColor_closure: function _RadioDefaultsM3_fillColor_closure(t0) { this.$this = t0; }, _RadioDefaultsM3_overlayColor_closure: function _RadioDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, __RadioState_State_TickerProviderStateMixin: function __RadioState_State_TickerProviderStateMixin() { }, __RadioState_State_TickerProviderStateMixin_ToggleableStateMixin: function __RadioState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, _RadioType0: function _RadioType0(t0, t1) { this.index = t0; this._core$_name = t1; }, RadioListTile: function RadioListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.value = t0; _.groupValue = t1; _.onChanged = t2; _.toggleable = t3; _.activeColor = t4; _.title = t5; _.subtitle = t6; _.dense = t7; _.key = t8; _.$ti = t9; }, RadioListTile_build_closure: function RadioListTile_build_closure(t0) { this.$this = t0; }, RadioThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6; if (a === b && true) return a; t1 = t < 0.5; if (t1) t2 = a.mouseCursor; else t2 = b.mouseCursor; t3 = type$.nullable_Color; t4 = A.MaterialStateProperty_lerp(a.fillColor, b.fillColor, t, A.ui_Color_lerp$closure(), t3); if (t1) t5 = a.materialTapTargetSize; else t5 = b.materialTapTargetSize; t3 = A.MaterialStateProperty_lerp(a.overlayColor, b.overlayColor, t, A.ui_Color_lerp$closure(), t3); t6 = A.lerpDouble(a.splashRadius, b.splashRadius, t); if (t1) t1 = a.visualDensity; else t1 = b.visualDensity; return new A.RadioThemeData(t2, t4, t3, t6, t5, t1); }, RadioTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.RadioTheme); t1 = A.Theme_of(context); return t1.radioTheme; }, RadioThemeData: function RadioThemeData(t0, t1, t2, t3, t4, t5) { var _ = this; _.mouseCursor = t0; _.fillColor = t1; _.overlayColor = t2; _.splashRadius = t3; _.materialTapTargetSize = t4; _.visualDensity = t5; }, _RadioThemeData_Object_Diagnosticable: function _RadioThemeData_Object_Diagnosticable() { }, RefreshIndicator$(child, onRefresh) { return new A.RefreshIndicator(child, onRefresh, null); }, _RefreshIndicatorMode: function _RefreshIndicatorMode(t0, t1) { this.index = t0; this._core$_name = t1; }, RefreshIndicatorTriggerMode: function RefreshIndicatorTriggerMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _IndicatorType: function _IndicatorType(t0, t1) { this.index = t0; this._core$_name = t1; }, RefreshIndicator: function RefreshIndicator(t0, t1, t2) { this.child = t0; this.onRefresh = t1; this.key = t2; }, RefreshIndicatorState: function RefreshIndicatorState(t0, t1, t2) { var _ = this; _.__RefreshIndicatorState__valueColor_A = _.__RefreshIndicatorState__value_A = _.__RefreshIndicatorState__scaleFactor_A = _.__RefreshIndicatorState__positionFactor_A = _.__RefreshIndicatorState__scaleController_A = _.__RefreshIndicatorState__positionController_A = $; _._dragOffset = _._isIndicatorAtTop = _._refresh_indicator$_mode = null; _.__RefreshIndicatorState__effectiveValueColor_AI = $; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._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() { }, ReorderableListView$(children, onReorder, padding, scrollController) { return new A.ReorderableListView(new A.ReorderableListView_closure(children), children.length, onReorder, true, padding, scrollController, null, false, null); }, ReorderableListView: function ReorderableListView(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.itemBuilder = t0; _.itemCount = t1; _.onReorder = t2; _.buildDefaultDragHandles = t3; _.padding = t4; _.scrollController = t5; _.primary = t6; _.shrinkWrap = t7; _.key = t8; }, ReorderableListView_closure: function ReorderableListView_closure(t0) { this.children = t0; }, _ReorderableListViewState: function _ReorderableListViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _ReorderableListViewState__proxyDecorator_closure: function _ReorderableListViewState__proxyDecorator_closure(t0) { this.animation = t0; }, _ReorderableListViewChildGlobalKey: function _ReorderableListViewChildGlobalKey(t0, t1, t2) { this.subKey = t0; this.state = t1; this.value = t2; }, Scaffold$(appBar, backgroundColor, body, bottomNavigationBar, drawer, endDrawer, floatingActionButton, floatingActionButtonLocation) { return new A.Scaffold(appBar, body, floatingActionButton, floatingActionButtonLocation, drawer, endDrawer, backgroundColor, bottomNavigationBar, null); }, Scaffold_of(context) { var result = context.findAncestorStateOfType$1$0(type$.ScaffoldState); if (result != null) return result; throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("Scaffold.of() called with a context that does not contain a Scaffold."), A.ErrorDescription$("No Scaffold ancestor could be found starting from the context that was passed to Scaffold.of(). This usually happens when the context provided is from the same StatefulWidget as that whose build function actually creates the Scaffold widget being sought."), A.ErrorHint$(string$.There_a), A.ErrorHint$("A more efficient solution is to split your build function into several widgets. This introduces a new context from which you can obtain the Scaffold. In this solution, you would have an outer widget that creates the Scaffold populated by instances of your new inner widgets, and then in these inner widgets you would use Scaffold.of().\nA less elegant but more expedient solution is assign a GlobalKey to the Scaffold, then use the key.currentState property to obtain the ScaffoldState rather than using the Scaffold.of() function."), context.describeElement$1("The context used was")], type$.JSArray_DiagnosticsNode))); }, _ScaffoldSlot: function _ScaffoldSlot(t0, t1) { this.index = t0; this._core$_name = t1; }, ScaffoldMessenger: function ScaffoldMessenger(t0, t1) { this.child = t0; this.key = t1; }, ScaffoldMessengerState: function ScaffoldMessengerState(t0, t1, t2, t3, t4, t5) { var _ = this; _._scaffolds = t0; _._materialBanners = t1; _._snackBars = t2; _._accessibleNavigation = _._snackBarTimer = null; _.TickerProviderStateMixin__tickers = t3; _.TickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, ScaffoldMessengerState_hideCurrentSnackBar_closure: function ScaffoldMessengerState_hideCurrentSnackBar_closure(t0, t1, t2) { this.$this = t0; this.completer = t1; this.reason = t2; }, _ScaffoldMessengerScope: function _ScaffoldMessengerScope(t0, t1, t2) { this._scaffoldMessengerState = t0; this.child = t1; this.key = t2; }, ScaffoldPrelayoutGeometry: function ScaffoldPrelayoutGeometry(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.floatingActionButtonSize = t0; _.bottomSheetSize = t1; _.contentBottom = t2; _.contentTop = t3; _.minInsets = t4; _.minViewPadding = t5; _.scaffoldSize = t6; _.snackBarSize = t7; _.textDirection = t8; }, _TransitionSnapshotFabLocation: function _TransitionSnapshotFabLocation(t0, t1, t2, t3) { var _ = this; _.begin = t0; _.end = t1; _.animator = t2; _.progress = t3; }, ScaffoldGeometry: function ScaffoldGeometry(t0, t1) { this.bottomNavigationBarTop = t0; this.floatingActionButtonArea = t1; }, _ScaffoldGeometryNotifier: function _ScaffoldGeometryNotifier(t0, t1, t2) { var _ = this; _.context = t0; _.floatingActionButtonScale = null; _.geometry = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _BodyBoxConstraints: function _BodyBoxConstraints(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.bottomWidgetsHeight = t0; _.appBarHeight = t1; _.materialBannerHeight = t2; _.minWidth = t3; _.maxWidth = t4; _.minHeight = t5; _.maxHeight = t6; }, _BodyBuilder: function _BodyBuilder(t0, t1, t2, t3) { var _ = this; _.body = t0; _.extendBody = t1; _.extendBodyBehindAppBar = t2; _.key = t3; }, _ScaffoldLayout: function _ScaffoldLayout(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.extendBody = t0; _.extendBodyBehindAppBar = t1; _.minInsets = t2; _.minViewPadding = t3; _.textDirection = t4; _.geometryNotifier = t5; _.previousFloatingActionButtonLocation = t6; _.currentFloatingActionButtonLocation = t7; _.floatingActionButtonMoveAnimationProgress = t8; _.floatingActionButtonMotionAnimator = t9; _.isSnackBarFloating = t10; _.snackBarWidth = t11; _.extendBodyBehindMaterialBanner = t12; _._debugChildrenNeedingLayout = _._idToChild = null; }, _FloatingActionButtonTransition: function _FloatingActionButtonTransition(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.fabMoveAnimation = t1; _.fabMotionAnimator = t2; _.geometryNotifier = t3; _.currentController = t4; _.key = t5; }, _FloatingActionButtonTransitionState: function _FloatingActionButtonTransitionState(t0, t1, t2) { var _ = this; _.___FloatingActionButtonTransitionState__currentRotationAnimation_A = _.___FloatingActionButtonTransitionState__extendedCurrentScaleAnimation_A = _.___FloatingActionButtonTransitionState__currentScaleAnimation_A = _.___FloatingActionButtonTransitionState__previousRotationAnimation_A = _.___FloatingActionButtonTransitionState__previousScaleAnimation_A = _.___FloatingActionButtonTransitionState__previousController_A = $; _._previousChild = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _FloatingActionButtonTransitionState__handlePreviousAnimationStatusChanged_closure: function _FloatingActionButtonTransitionState__handlePreviousAnimationStatusChanged_closure(t0, t1) { this.$this = t0; this.status = t1; }, Scaffold: function Scaffold(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.appBar = t0; _.body = t1; _.floatingActionButton = t2; _.floatingActionButtonLocation = t3; _.drawer = t4; _.endDrawer = t5; _.backgroundColor = t6; _.bottomNavigationBar = t7; _.key = t8; }, ScaffoldState: function ScaffoldState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _._drawerKey = t0; _._endDrawerKey = t1; _._bodyKey = t2; _._appBarMaxHeight = null; _._drawerOpened = t3; _._endDrawerOpened = t4; _._messengerMaterialBanner = _._messengerSnackBar = _._scaffoldMessenger = null; _._dismissedBottomSheets = t5; _._currentBottomSheet = null; _._currentBottomSheetKey = t6; _._persistentSheetHistoryEntry = null; _.__ScaffoldState__floatingActionButtonAnimator_A = _.__ScaffoldState__floatingActionButtonMoveController_A = $; _._floatingActionButtonLocation = _._previousFloatingActionButtonLocation = null; _.__ScaffoldState__geometryNotifier_A = _.__ScaffoldState__floatingActionButtonVisibilityController_A = $; _._showBodyScrim = false; _._bodyScrimColor = t7; _.RestorationMixin__bucket = t8; _.RestorationMixin__properties = t9; _.RestorationMixin__debugPropertiesWaitingForReregistration = t10; _.RestorationMixin__firstRestorePending = t11; _.RestorationMixin__currentParent = t12; _.TickerProviderStateMixin__tickers = t13; _.TickerProviderStateMixin__tickerModeNotifier = t14; _._widget = null; _._debugLifecycleState = t15; _._framework$_element = null; }, ScaffoldState__drawerOpenedCallback_closure: function ScaffoldState__drawerOpenedCallback_closure(t0, t1) { this.$this = t0; this.isOpened = t1; }, ScaffoldState__endDrawerOpenedCallback_closure: function ScaffoldState__endDrawerOpenedCallback_closure(t0, t1) { this.$this = t0; this.isOpened = t1; }, ScaffoldState__updateSnackBar_closure: function ScaffoldState__updateSnackBar_closure(t0, t1) { this.$this = t0; this.messengerSnackBar = t1; }, ScaffoldState__updateMaterialBanner_closure: function ScaffoldState__updateMaterialBanner_closure(t0, t1) { this.$this = t0; this.messengerMaterialBanner = t1; }, ScaffoldState__buildBottomSheet_removePersistentSheetHistoryEntryIfNeeded: function ScaffoldState__buildBottomSheet_removePersistentSheetHistoryEntryIfNeeded(t0, t1) { this.$this = t0; this.isPersistent = t1; }, ScaffoldState__buildBottomSheet_removeCurrentBottomSheet: function ScaffoldState__buildBottomSheet_removeCurrentBottomSheet(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._box_0 = t0; _.$this = t1; _.bottomSheet = t2; _.bottomSheetKey = t3; _.isPersistent = t4; _.removePersistentSheetHistoryEntryIfNeeded = t5; _.animationController = t6; _.completer = t7; }, ScaffoldState__buildBottomSheet_removeCurrentBottomSheet_closure: function ScaffoldState__buildBottomSheet_removeCurrentBottomSheet_closure(t0) { this.$this = t0; }, ScaffoldState__buildBottomSheet_closure: function ScaffoldState__buildBottomSheet_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.bottomSheet = t2; _.removeCurrentBottomSheet = t3; }, ScaffoldState__buildBottomSheet_removeEntryIfNeeded: function ScaffoldState__buildBottomSheet_removeEntryIfNeeded(t0, t1, t2) { this._box_0 = t0; this.isPersistent = t1; this.entry = t2; }, ScaffoldState__buildBottomSheet_closure0: function ScaffoldState__buildBottomSheet_closure0(t0, t1, t2) { this.$this = t0; this.bottomSheet = t1; this.removeEntryIfNeeded = t2; }, ScaffoldState__buildBottomSheet_closure1: function ScaffoldState__buildBottomSheet_closure1(t0, t1) { this.$this = t0; this.bottomSheet = t1; }, ScaffoldState__buildBottomSheet__closure: function ScaffoldState__buildBottomSheet__closure(t0, t1) { this.$this = t0; this.bottomSheet = t1; }, ScaffoldState__buildBottomSheet_closure2: function ScaffoldState__buildBottomSheet_closure2(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.removeEntryIfNeeded = t1; _.shouldDisposeAnimationController = t2; _.animationController = t3; }, ScaffoldState_showBottomSheet_closure: function ScaffoldState_showBottomSheet_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.$this = t0; _.builder = t1; _.controller = t2; _.backgroundColor = t3; _.elevation = t4; _.shape = t5; _.clipBehavior = t6; _.constraints = t7; _.enableDrag = t8; _.transitionAnimationController = t9; }, ScaffoldState__moveFloatingActionButton_closure: function ScaffoldState__moveFloatingActionButton_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.newLocation = t2; }, ScaffoldState_showBodyScrim_closure: function ScaffoldState_showBodyScrim_closure(t0, t1, t2) { this.$this = t0; this.value = t1; this.opacity = t2; }, ScaffoldState_build_closure: function ScaffoldState_build_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.extendBody = t2; _.minInsets = t3; _.minViewPadding = t4; _.textDirection = t5; _.children = t6; }, _DismissDrawerAction: function _DismissDrawerAction(t0, t1) { this.context = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, ScaffoldFeatureController: function ScaffoldFeatureController() { }, _BottomSheetSuspendedCurve: function _BottomSheetSuspendedCurve(t0, t1) { this.startingPoint = t0; this.curve = t1; }, _StandardBottomSheet: function _StandardBottomSheet(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.animationController = t0; _.enableDrag = t1; _.onClosing = t2; _.onDismissed = t3; _.onDispose = t4; _.builder = t5; _.isPersistent = t6; _.backgroundColor = t7; _.elevation = t8; _.shape = t9; _.clipBehavior = t10; _.constraints = t11; _.key = t12; }, _StandardBottomSheetState: function _StandardBottomSheetState(t0, t1) { var _ = this; _.animationCurve = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _StandardBottomSheetState_build_closure: function _StandardBottomSheetState_build_closure(t0) { this.$this = t0; }, PersistentBottomSheetController: function PersistentBottomSheetController(t0, t1, t2, t3) { var _ = this; _._isLocalHistoryEntry = t0; _._scaffold$_widget = t1; _._completer = t2; _.close = t3; }, _ScaffoldScope: function _ScaffoldScope(t0, t1, t2, t3) { var _ = this; _.hasDrawer = t0; _.geometryNotifier = t1; _.child = t2; _.key = t3; }, _ScaffoldState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure: function _ScaffoldState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure() { }, _ScaffoldMessengerState_State_TickerProviderStateMixin: function _ScaffoldMessengerState_State_TickerProviderStateMixin() { }, _ScaffoldState_State_TickerProviderStateMixin: function _ScaffoldState_State_TickerProviderStateMixin() { }, _ScaffoldState_State_TickerProviderStateMixin_RestorationMixin: function _ScaffoldState_State_TickerProviderStateMixin_RestorationMixin() { }, __FloatingActionButtonTransitionState_State_TickerProviderStateMixin: function __FloatingActionButtonTransitionState_State_TickerProviderStateMixin() { }, Scrollbar$(child, controller, thumbVisibility) { return new A.Scrollbar(child, controller, thumbVisibility, null); }, Scrollbar: function Scrollbar(t0, t1, t2, t3) { var _ = this; _.child = t0; _.controller = t1; _.thumbVisibility = t2; _.key = t3; }, _MaterialScrollbar: function _MaterialScrollbar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.showTrackOnHover = t0; _.child = t1; _.controller = t2; _.thumbVisibility = t3; _.radius = t4; _.thickness = t5; _.trackVisibility = t6; _.fadeDuration = t7; _.timeToFade = t8; _.pressDuration = t9; _.notificationPredicate = t10; _.interactive = t11; _.scrollbarOrientation = t12; _.key = t13; }, _MaterialScrollbarState: function _MaterialScrollbarState(t0, t1, t2, t3) { var _ = this; _.___MaterialScrollbarState__hoverAnimationController_A = $; _._scrollbar0$_hoverIsActive = _._dragIsActive = false; _.___MaterialScrollbarState__useAndroidScrollbar_A = _.___MaterialScrollbarState__scrollbarTheme_A = _.___MaterialScrollbarState__colorScheme_A = $; _._fadeoutTimer = _._cachedController = _._startDragThumbOffset = _._lastDragUpdateOffset = _._startDragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation_A = _.__RawScrollbarState__fadeoutAnimationController_A = $; _._scrollbarPainterKey = t0; _._thumbDragging = _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _MaterialScrollbarState__trackVisibility_closure: function _MaterialScrollbarState__trackVisibility_closure(t0) { this.$this = t0; }, _MaterialScrollbarState__thumbColor_closure: function _MaterialScrollbarState__thumbColor_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.dragColor = t1; _.hoverColor = t2; _.idleColor = t3; }, _MaterialScrollbarState__trackColor_closure: function _MaterialScrollbarState__trackColor_closure(t0, t1, t2) { this.$this = t0; this.brightness = t1; this.onSurface = t2; }, _MaterialScrollbarState__trackBorderColor_closure: function _MaterialScrollbarState__trackBorderColor_closure(t0, t1, t2) { this.$this = t0; this.brightness = t1; this.onSurface = t2; }, _MaterialScrollbarState__thickness_closure: function _MaterialScrollbarState__thickness_closure(t0) { this.$this = t0; }, _MaterialScrollbarState_initState_closure: function _MaterialScrollbarState_initState_closure(t0) { this.$this = t0; }, _MaterialScrollbarState_handleThumbPressStart_closure: function _MaterialScrollbarState_handleThumbPressStart_closure(t0) { this.$this = t0; }, _MaterialScrollbarState_handleThumbPressEnd_closure: function _MaterialScrollbarState_handleThumbPressEnd_closure(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHover_closure: function _MaterialScrollbarState_handleHover_closure(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHover_closure0: function _MaterialScrollbarState_handleHover_closure0(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHoverExit_closure: function _MaterialScrollbarState_handleHoverExit_closure(t0) { this.$this = t0; }, ScrollbarThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11; if (a === b && true) return a; t1 = type$.nullable_bool; t2 = A.MaterialStateProperty_lerp(a.thumbVisibility, b.thumbVisibility, t, A.scrollbar_theme___lerpBool$closure(), t1); t3 = A.MaterialStateProperty_lerp(a.thickness, b.thickness, t, A.ui__lerpDouble$closure(), type$.nullable_double); t1 = A.MaterialStateProperty_lerp(a.trackVisibility, b.trackVisibility, t, A.scrollbar_theme___lerpBool$closure(), t1); t4 = a.showTrackOnHover; t5 = b.showTrackOnHover; t6 = t < 0.5; t4 = t6 ? t4 : t5; t5 = a.interactive; t7 = b.interactive; t5 = t6 ? t5 : t7; t6 = A.Radius_lerp(a.radius, b.radius, t); t7 = type$.nullable_Color; t8 = A.MaterialStateProperty_lerp(a.thumbColor, b.thumbColor, t, A.ui_Color_lerp$closure(), t7); t9 = A.MaterialStateProperty_lerp(a.trackColor, b.trackColor, t, A.ui_Color_lerp$closure(), t7); t7 = A.MaterialStateProperty_lerp(a.trackBorderColor, b.trackBorderColor, t, A.ui_Color_lerp$closure(), t7); t10 = A.lerpDouble(a.crossAxisMargin, b.crossAxisMargin, t); t11 = A.lerpDouble(a.mainAxisMargin, b.mainAxisMargin, t); return new A.ScrollbarThemeData(t2, t3, t1, t4, t5, t6, t8, t9, t7, t10, t11, A.lerpDouble(a.minThumbLength, b.minThumbLength, t)); }, _lerpBool(a, b, t) { return t < 0.5 ? a : b; }, ScrollbarTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.ScrollbarTheme); t1 = A.Theme_of(context); return t1.scrollbarTheme; }, ScrollbarThemeData: function ScrollbarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.thumbVisibility = t0; _.thickness = t1; _.trackVisibility = t2; _.showTrackOnHover = t3; _.interactive = t4; _.radius = t5; _.thumbColor = t6; _.trackColor = t7; _.trackBorderColor = t8; _.crossAxisMargin = t9; _.mainAxisMargin = t10; _.minThumbLength = t11; }, _ScrollbarThemeData_Object_Diagnosticable: function _ScrollbarThemeData_Object_Diagnosticable() { }, SearchBarThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12; if (a === b) return a; t1 = A.MaterialStateProperty_lerp(a.elevation, b.elevation, t, A.ui__lerpDouble$closure(), type$.nullable_double); t2 = type$.nullable_Color; t3 = A.MaterialStateProperty_lerp(a.backgroundColor, b.backgroundColor, t, A.ui_Color_lerp$closure(), t2); t4 = A.MaterialStateProperty_lerp(a.shadowColor, b.shadowColor, t, A.ui_Color_lerp$closure(), t2); t5 = A.MaterialStateProperty_lerp(a.surfaceTintColor, b.surfaceTintColor, t, A.ui_Color_lerp$closure(), t2); t2 = A.MaterialStateProperty_lerp(a.overlayColor, b.overlayColor, t, A.ui_Color_lerp$closure(), t2); t6 = A.SearchBarThemeData__lerpSides(a.side, b.side, t); t7 = A.MaterialStateProperty_lerp(a.shape, b.shape, t, A.borders_OutlinedBorder_lerp$closure(), type$.nullable_OutlinedBorder); t8 = A.MaterialStateProperty_lerp(a.padding, b.padding, t, A.edge_insets_EdgeInsetsGeometry_lerp$closure(), type$.nullable_EdgeInsetsGeometry); t9 = type$.nullable_TextStyle; t10 = A.MaterialStateProperty_lerp(a.textStyle, b.textStyle, t, A.text_style_TextStyle_lerp$closure(), t9); t9 = A.MaterialStateProperty_lerp(a.hintStyle, b.hintStyle, t, A.text_style_TextStyle_lerp$closure(), t9); t11 = A.BoxConstraints_lerp(a.constraints, b.constraints, t); if (t < 0.5) t12 = a.textCapitalization; else t12 = b.textCapitalization; return new A.SearchBarThemeData(t1, t3, t4, t5, t2, t6, t7, t8, t10, t9, t11, t12); }, SearchBarThemeData__lerpSides(a, b, t) { if (a == b) return a; return new A._LerpSides0(a, b, t); }, SearchBarThemeData: function SearchBarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.elevation = t0; _.backgroundColor = t1; _.shadowColor = t2; _.surfaceTintColor = t3; _.overlayColor = t4; _.side = t5; _.shape = t6; _.padding = t7; _.textStyle = t8; _.hintStyle = t9; _.constraints = t10; _.textCapitalization = t11; }, _LerpSides0: function _LerpSides0(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, _SearchBarThemeData_Object_Diagnosticable: function _SearchBarThemeData_Object_Diagnosticable() { }, SearchViewThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8; if (a === b) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.lerpDouble(a.elevation, b.elevation, t); t3 = A.Color_lerp(a.surfaceTintColor, b.surfaceTintColor, t); t4 = A.SearchViewThemeData__lerpSides(a.side, b.side, t); t5 = A.OutlinedBorder_lerp(a.shape, b.shape, t); t6 = a.headerTextStyle; t7 = b.headerTextStyle; t8 = A.TextStyle_lerp(t6, t7, t); t6 = A.TextStyle_lerp(t6, t7, t); t7 = A.BoxConstraints_lerp(a.constraints, b.constraints, t); return new A.SearchViewThemeData(t1, t2, t3, t4, t5, t8, t6, t7, A.Color_lerp(a.dividerColor, b.dividerColor, t)); }, SearchViewThemeData__lerpSides(a, b, t) { if (a == null || b == null) return null; if (a === b) return a; return A.BorderSide_lerp(a, b, t); }, SearchViewThemeData: function SearchViewThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.surfaceTintColor = t2; _.side = t3; _.shape = t4; _.headerTextStyle = t5; _.headerHintStyle = t6; _.constraints = t7; _.dividerColor = t8; }, _SearchViewThemeData_Object_Diagnosticable: function _SearchViewThemeData_Object_Diagnosticable() { }, SegmentedButtonThemeData_lerp(a, b, t) { var t1, t2; if (a === b && true) return a; t1 = A.ButtonStyle_lerp(a.style, b.style, t); if (t < 0.5) t2 = a.selectedIcon; else t2 = b.selectedIcon; return new A.SegmentedButtonThemeData(t1, t2); }, SegmentedButtonThemeData: function SegmentedButtonThemeData(t0, t1) { this.style = t0; this.selectedIcon = t1; }, _SegmentedButtonThemeData_Object_Diagnosticable: function _SegmentedButtonThemeData_Object_Diagnosticable() { }, _TextSpanEditingController$(textSpan) { var t1 = textSpan.toPlainText$1$includeSemanticsLabels(false); return new A._TextSpanEditingController(textSpan, new A.TextEditingValue(t1, B.TextSelection_ke5, B.TextRange_m1_m1), $.$get$ChangeNotifier__emptyListeners()); }, SelectableText$(data, style) { return new A.SelectableText(data, style, null); }, SelectableText__defaultContextMenuBuilder(context, editableTextState) { return A.AdaptiveTextSelectionToolbar$editableText(editableTextState); }, _TextSpanEditingController: function _TextSpanEditingController(t0, t1, t2) { var _ = this; _._textSpan = t0; _._change_notifier$_value = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _SelectableTextSelectionGestureDetectorBuilder: function _SelectableTextSelectionGestureDetectorBuilder(t0, t1) { var _ = this; _._selectable_text$_state = t0; _.delegate = t1; _._shouldShowSelectionToolbar = true; _._isShiftPressed = false; _._dragStartViewportOffset = _._dragStartScrollOffset = 0; _._dragBeganOnPreviousSelection = _._dragStartSelection = null; _._longPressStartedWithoutFocus = false; }, SelectableText: function SelectableText(t0, t1, t2) { this.data = t0; this.style = t1; this.key = t2; }, _SelectableTextState: function _SelectableTextState(t0, t1) { var _ = this; _.___SelectableTextState__controller_A = $; _._selectable_text$_focusNode = null; _._selectable_text$_showSelectionHandles = false; _.___SelectableTextState_forcePressEnabled_A = _.___SelectableTextState__selectionGestureDetectorBuilder_A = $; _.editableTextKey = t0; _._widget = null; _._debugLifecycleState = t1; _._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; }, SliderThemeData_lerp(a, b, t) { var 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; if (a === b) return a; t1 = A.lerpDouble(a.trackHeight, b.trackHeight, t); t2 = A.Color_lerp(a.activeTrackColor, b.activeTrackColor, t); t3 = A.Color_lerp(a.inactiveTrackColor, b.inactiveTrackColor, t); t4 = A.Color_lerp(a.secondaryActiveTrackColor, b.secondaryActiveTrackColor, t); t5 = A.Color_lerp(a.disabledActiveTrackColor, b.disabledActiveTrackColor, t); t6 = A.Color_lerp(a.disabledInactiveTrackColor, b.disabledInactiveTrackColor, t); t7 = A.Color_lerp(a.disabledSecondaryActiveTrackColor, b.disabledSecondaryActiveTrackColor, t); t8 = A.Color_lerp(a.activeTickMarkColor, b.activeTickMarkColor, t); t9 = A.Color_lerp(a.inactiveTickMarkColor, b.inactiveTickMarkColor, t); t10 = A.Color_lerp(a.disabledActiveTickMarkColor, b.disabledActiveTickMarkColor, t); t11 = A.Color_lerp(a.disabledInactiveTickMarkColor, b.disabledInactiveTickMarkColor, t); t12 = A.Color_lerp(a.thumbColor, b.thumbColor, t); t13 = A.Color_lerp(a.overlappingShapeStrokeColor, b.overlappingShapeStrokeColor, t); t14 = A.Color_lerp(a.disabledThumbColor, b.disabledThumbColor, t); t15 = A.Color_lerp(a.overlayColor, b.overlayColor, t); t16 = A.Color_lerp(a.valueIndicatorColor, b.valueIndicatorColor, t); t17 = A.Color_lerp(a.valueIndicatorStrokeColor, b.valueIndicatorStrokeColor, t); t18 = t < 0.5; t19 = t18 ? a.overlayShape : b.overlayShape; t20 = t18 ? a.tickMarkShape : b.tickMarkShape; t21 = t18 ? a.thumbShape : b.thumbShape; t22 = t18 ? a.trackShape : b.trackShape; t23 = t18 ? a.valueIndicatorShape : b.valueIndicatorShape; t24 = t18 ? a.rangeTickMarkShape : b.rangeTickMarkShape; t25 = t18 ? a.rangeThumbShape : b.rangeThumbShape; t26 = t18 ? a.rangeTrackShape : b.rangeTrackShape; t27 = t18 ? a.rangeValueIndicatorShape : b.rangeValueIndicatorShape; t28 = t18 ? a.showValueIndicator : b.showValueIndicator; t29 = A.TextStyle_lerp(a.valueIndicatorTextStyle, b.valueIndicatorTextStyle, t); t30 = A.lerpDouble(a.minThumbSeparation, b.minThumbSeparation, t); t31 = t18 ? a.thumbSelector : b.thumbSelector; t32 = t18 ? a.mouseCursor : b.mouseCursor; return new A.SliderThemeData(t1, t2, t3, t4, t5, t7, t6, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t18 ? a.allowedInteraction : b.allowedInteraction); }, 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, t27, t28, t29, t30, t31) { var _ = this; _.trackHeight = t0; _.activeTrackColor = t1; _.inactiveTrackColor = t2; _.secondaryActiveTrackColor = t3; _.disabledActiveTrackColor = t4; _.disabledSecondaryActiveTrackColor = t5; _.disabledInactiveTrackColor = t6; _.activeTickMarkColor = t7; _.inactiveTickMarkColor = t8; _.disabledActiveTickMarkColor = t9; _.disabledInactiveTickMarkColor = t10; _.thumbColor = t11; _.overlappingShapeStrokeColor = t12; _.disabledThumbColor = t13; _.overlayColor = t14; _.valueIndicatorColor = t15; _.valueIndicatorStrokeColor = t16; _.overlayShape = t17; _.tickMarkShape = t18; _.thumbShape = t19; _.trackShape = t20; _.valueIndicatorShape = t21; _.rangeTickMarkShape = t22; _.rangeThumbShape = t23; _.rangeTrackShape = t24; _.rangeValueIndicatorShape = t25; _.showValueIndicator = t26; _.valueIndicatorTextStyle = t27; _.minThumbSeparation = t28; _.thumbSelector = t29; _.mouseCursor = t30; _.allowedInteraction = t31; }, _SliderThemeData_Object_Diagnosticable: function _SliderThemeData_Object_Diagnosticable() { }, SnackBarClosedReason: function SnackBarClosedReason(t0, t1) { this.index = t0; this._core$_name = t1; }, SnackBarThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14; if (a === b && true) return a; t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.Color_lerp(a.actionTextColor, b.actionTextColor, t); t3 = A.Color_lerp(a.disabledActionTextColor, b.disabledActionTextColor, t); t4 = A.TextStyle_lerp(a.contentTextStyle, b.contentTextStyle, t); t5 = A.lerpDouble(a.elevation, b.elevation, t); t6 = A.ShapeBorder_lerp(a.shape, b.shape, t); t7 = t < 0.5; if (t7) t8 = a.behavior; else t8 = b.behavior; t9 = A.lerpDouble(a.width, b.width, t); t10 = A.EdgeInsets_lerp(a.insetPadding, b.insetPadding, t); t11 = A.Color_lerp(a.closeIconColor, b.closeIconColor, t); t12 = A.lerpDouble(a.actionOverflowThreshold, b.actionOverflowThreshold, t); t13 = A.Color_lerp(a.actionBackgroundColor, b.actionBackgroundColor, t); t14 = A.Color_lerp(a.disabledActionBackgroundColor, b.disabledActionBackgroundColor, t); if (t7) t7 = a.dismissDirection; else t7 = b.dismissDirection; return new A.SnackBarThemeData(t1, t2, t3, t4, t5, t6, t8, t9, t10, t11, t12, t13, t14, t7); }, SnackBarThemeData: function SnackBarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.backgroundColor = t0; _.actionTextColor = t1; _.disabledActionTextColor = t2; _.contentTextStyle = t3; _.elevation = t4; _.shape = t5; _.behavior = t6; _.width = t7; _.insetPadding = t8; _.closeIconColor = t9; _.actionOverflowThreshold = t10; _.actionBackgroundColor = t11; _.disabledActionBackgroundColor = t12; _.dismissDirection = t13; }, _SnackBarThemeData_Object_Diagnosticable: function _SnackBarThemeData_Object_Diagnosticable() { }, Switch$(activeColor, activeThumbImage, activeTrackColor, autofocus, dragStartBehavior, inactiveThumbColor, inactiveThumbImage, inactiveTrackColor, materialTapTargetSize, mouseCursor, onActiveThumbImageError, onChanged, onFocusChange, onInactiveThumbImageError, overlayColor, splashRadius, thumbColor, thumbIcon, trackColor, trackOutlineColor, value) { return new A.Switch(value, onChanged, activeColor, activeTrackColor, inactiveThumbColor, inactiveTrackColor, activeThumbImage, onActiveThumbImageError, inactiveThumbImage, onInactiveThumbImageError, thumbColor, trackColor, trackOutlineColor, thumbIcon, materialTapTargetSize, B._SwitchType_0, false, dragStartBehavior, mouseCursor, overlayColor, splashRadius, onFocusChange, false, null); }, _SwitchDefaultsM2$(context) { var _null = null; return new A._SwitchDefaultsM2(A.Theme_of(context), A.Theme_of(context).colorScheme, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _SwitchDefaultsM3$(context) { var _null = null; return new A._SwitchDefaultsM3(context, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _SwitchType: function _SwitchType(t0, t1) { this.index = t0; this._core$_name = t1; }, Switch: function Switch(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; _.value = t0; _.onChanged = t1; _.activeColor = t2; _.activeTrackColor = t3; _.inactiveThumbColor = t4; _.inactiveTrackColor = t5; _.activeThumbImage = t6; _.onActiveThumbImageError = t7; _.inactiveThumbImage = t8; _.onInactiveThumbImageError = t9; _.thumbColor = t10; _.trackColor = t11; _.trackOutlineColor = t12; _.thumbIcon = t13; _.materialTapTargetSize = t14; _._switchType = t15; _.applyCupertinoTheme = t16; _.dragStartBehavior = t17; _.mouseCursor = t18; _.overlayColor = t19; _.splashRadius = t20; _.onFocusChange = t21; _.autofocus = t22; _.key = t23; }, _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, t22, t23, t24, t25, t26, t27) { 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; _.trackOutlineColor = t12; _.trackOutlineWidth = t13; _.thumbIcon = t14; _.dragStartBehavior = t15; _.mouseCursor = t16; _.focusColor = t17; _.hoverColor = t18; _.overlayColor = t19; _.splashRadius = t20; _.focusNode = t21; _.onFocusChange = t22; _.autofocus = t23; _.size = t24; _.applyCupertinoTheme = t25; _.switchType = t26; _.key = t27; }, _MaterialSwitchState: function _MaterialSwitchState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _._switch$_painter = t0; _.isCupertino = _._needsPositionAnimation = false; _.ToggleableStateMixin___ToggleableStateMixin__positionController_A = t1; _.ToggleableStateMixin___ToggleableStateMixin__position_A = t2; _.ToggleableStateMixin___ToggleableStateMixin__reactionController_A = t3; _.ToggleableStateMixin___ToggleableStateMixin__reaction_A = t4; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade_A = t5; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController_A = t6; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade_A = t7; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController_A = t8; _.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI = t9; _.ToggleableStateMixin__downPosition = t10; _.ToggleableStateMixin__focused = t11; _.ToggleableStateMixin__hovering = t12; _.TickerProviderStateMixin__tickers = t13; _.TickerProviderStateMixin__tickerModeNotifier = t14; _._widget = null; _._debugLifecycleState = t15; _._framework$_element = null; }, _MaterialSwitchState__widgetThumbColor_closure: function _MaterialSwitchState__widgetThumbColor_closure(t0) { this.$this = t0; }, _MaterialSwitchState__widgetTrackColor_closure: function _MaterialSwitchState__widgetTrackColor_closure(t0) { this.$this = t0; }, _MaterialSwitchState__handleDragEnd_closure: function _MaterialSwitchState__handleDragEnd_closure(t0) { this.$this = t0; }, _MaterialSwitchState_build_closure: function _MaterialSwitchState_build_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _SwitchPainter: function _SwitchPainter(t0, t1) { var _ = this; _._trackInnerLength = _._isInteractive = _._surfaceColor = _._switch$_textDirection = _._switch$_configuration = _._inactiveTrackColor = _._inactiveTrackOutlineWidth = _._activeTrackOutlineWidth = _._inactiveTrackOutlineColor = _._activeTrackOutlineColor = _._activeTrackColor = _._onInactiveThumbImageError = _._inactiveThumbImage = _._onActiveThumbImageError = _._activeThumbImage = _._trackWidth = _._trackHeight = _._transitionalThumbSize = _._thumbOffset = _._pressedThumbRadius = _._inactiveThumbRadius = _._activeThumbRadius = _._inactivePressedColor = _._activePressedColor = _._inactiveIconColor = _._activeIconColor = _._switch$_iconTheme = _._inactiveIcon = _._activeIcon = _._positionController = null; _._thumbShadow = _._isCupertino = null; _._switch$_textPainter = t0; _._cachedThumbPainter = _._cachedThumbErrorListener = _._cachedThumbImage = _._cachedThumbColor = null; _._stopPressAnimation = _._isPainting = false; _._pressedActiveThumbRadius = _._pressedInactiveThumbRadius = null; _.___SwitchPainter__pressedThumbExtension_A = $; _._toggleable$_isHovered = _._toggleable$_isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._reaction = _._toggleable$_position = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _SwitchPainter_paint_thumbSizeAnimation: function _SwitchPainter_paint_thumbSizeAnimation(t0, t1, t2) { this.$this = t0; this.inactiveThumbSize = t1; this.activeThumbSize = t2; }, _SwitchThemeAdaptation: function _SwitchThemeAdaptation() { }, _SwitchConfig: function _SwitchConfig() { }, _SwitchDefaultsCupertino: function _SwitchDefaultsCupertino(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.context = t0; _.thumbColor = t1; _.trackColor = t2; _.trackOutlineColor = t3; _.trackOutlineWidth = t4; _.materialTapTargetSize = t5; _.mouseCursor = t6; _.overlayColor = t7; _.splashRadius = t8; _.thumbIcon = t9; }, _SwitchDefaultsCupertino_mouseCursor_closure: function _SwitchDefaultsCupertino_mouseCursor_closure() { }, _SwitchDefaultsCupertino_trackColor_closure: function _SwitchDefaultsCupertino_trackColor_closure(t0) { this.$this = t0; }, _SwitchDefaultsCupertino_overlayColor_closure: function _SwitchDefaultsCupertino_overlayColor_closure(t0) { this.$this = t0; }, _SwitchConfigCupertino: function _SwitchConfigCupertino(t0, t1) { this.context = t0; this._switch$_colors = t1; }, _SwitchConfigCupertino_iconColor_closure: function _SwitchConfigCupertino_iconColor_closure(t0) { this.$this = t0; }, _SwitchConfigM2: function _SwitchConfigM2() { }, _SwitchDefaultsM2: function _SwitchDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._switch$_theme = t0; _._switch$_colors = t1; _.thumbColor = t2; _.trackColor = t3; _.trackOutlineColor = t4; _.trackOutlineWidth = t5; _.materialTapTargetSize = t6; _.mouseCursor = t7; _.overlayColor = t8; _.splashRadius = t9; _.thumbIcon = t10; }, _SwitchDefaultsM2_thumbColor_closure: function _SwitchDefaultsM2_thumbColor_closure(t0, t1) { this.$this = t0; this.isDark = t1; }, _SwitchDefaultsM2_trackColor_closure: function _SwitchDefaultsM2_trackColor_closure(t0, t1) { this.$this = t0; this.isDark = t1; }, _SwitchDefaultsM2_mouseCursor_closure: function _SwitchDefaultsM2_mouseCursor_closure() { }, _SwitchDefaultsM2_overlayColor_closure: function _SwitchDefaultsM2_overlayColor_closure(t0) { this.$this = t0; }, _SwitchDefaultsM3: function _SwitchDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.context = t0; _.___SwitchDefaultsM3__colors_FI = $; _.thumbColor = t1; _.trackColor = t2; _.trackOutlineColor = t3; _.trackOutlineWidth = t4; _.materialTapTargetSize = t5; _.mouseCursor = t6; _.overlayColor = t7; _.splashRadius = t8; _.thumbIcon = t9; }, _SwitchDefaultsM3_thumbColor_closure: function _SwitchDefaultsM3_thumbColor_closure(t0) { this.$this = t0; }, _SwitchDefaultsM3_trackColor_closure: function _SwitchDefaultsM3_trackColor_closure(t0) { this.$this = t0; }, _SwitchDefaultsM3_trackOutlineColor_closure: function _SwitchDefaultsM3_trackOutlineColor_closure(t0) { this.$this = t0; }, _SwitchDefaultsM3_overlayColor_closure: function _SwitchDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _SwitchDefaultsM3_mouseCursor_closure: function _SwitchDefaultsM3_mouseCursor_closure() { }, _SwitchConfigM3: function _SwitchConfigM3(t0, t1) { this.context = t0; this._switch$_colors = t1; }, _SwitchConfigM3_iconColor_closure: function _SwitchConfigM3_iconColor_closure(t0) { this.$this = t0; }, __MaterialSwitchState_State_TickerProviderStateMixin: function __MaterialSwitchState_State_TickerProviderStateMixin() { }, __MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin: function __MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, __SwitchConfigCupertino_Object__SwitchConfig: function __SwitchConfigCupertino_Object__SwitchConfig() { }, __SwitchConfigM2_Object__SwitchConfig: function __SwitchConfigM2_Object__SwitchConfig() { }, __SwitchConfigM3_Object__SwitchConfig: function __SwitchConfigM3_Object__SwitchConfig() { }, SwitchListTile$(activeColor, dense, onChanged, secondary, subtitle, title, value) { return new A.SwitchListTile(value, onChanged, activeColor, title, subtitle, secondary, dense, null); }, _SwitchListTileType: function _SwitchListTileType(t0, t1) { this.index = t0; this._core$_name = t1; }, 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; }, SwitchThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9; if (a === b && true) return a; t1 = type$.nullable_Color; t2 = A.MaterialStateProperty_lerp(a.thumbColor, b.thumbColor, t, A.ui_Color_lerp$closure(), t1); t3 = A.MaterialStateProperty_lerp(a.trackColor, b.trackColor, t, A.ui_Color_lerp$closure(), t1); t4 = A.MaterialStateProperty_lerp(a.trackOutlineColor, b.trackOutlineColor, t, A.ui_Color_lerp$closure(), t1); t5 = A.MaterialStateProperty_lerp(a.trackOutlineWidth, b.trackOutlineWidth, t, A.ui__lerpDouble$closure(), type$.nullable_double); t6 = t < 0.5; if (t6) t7 = a.materialTapTargetSize; else t7 = b.materialTapTargetSize; if (t6) t8 = a.mouseCursor; else t8 = b.mouseCursor; t1 = A.MaterialStateProperty_lerp(a.overlayColor, b.overlayColor, t, A.ui_Color_lerp$closure(), t1); t9 = A.lerpDouble(a.splashRadius, b.splashRadius, t); if (t6) t6 = a.thumbIcon; else t6 = b.thumbIcon; return new A.SwitchThemeData(t2, t3, t4, t5, t7, t8, t1, t9, t6); }, SwitchTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.SwitchTheme); t1 = A.Theme_of(context); return t1.switchTheme; }, SwitchThemeData: function SwitchThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.thumbColor = t0; _.trackColor = t1; _.trackOutlineColor = t2; _.trackOutlineWidth = t3; _.materialTapTargetSize = t4; _.mouseCursor = t5; _.overlayColor = t6; _.splashRadius = t7; _.thumbIcon = t8; }, _SwitchThemeData_Object_Diagnosticable: function _SwitchThemeData_Object_Diagnosticable() { }, TabBarTheme_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14; if (a === b) return a; t1 = A.Decoration_lerp(a.indicator, b.indicator, t); t2 = A.Color_lerp(a.indicatorColor, b.indicatorColor, t); t3 = t < 0.5; t4 = t3 ? a.indicatorSize : b.indicatorSize; t5 = A.Color_lerp(a.dividerColor, b.dividerColor, t); t6 = t3 ? a.dividerHeight : b.dividerHeight; t7 = A.Color_lerp(a.labelColor, b.labelColor, t); t8 = A.EdgeInsetsGeometry_lerp(a.labelPadding, b.labelPadding, t); t9 = A.TextStyle_lerp(a.labelStyle, b.labelStyle, t); t10 = A.Color_lerp(a.unselectedLabelColor, b.unselectedLabelColor, t); t11 = A.TextStyle_lerp(a.unselectedLabelStyle, b.unselectedLabelStyle, t); t12 = A.MaterialStateProperty_lerp(a.overlayColor, b.overlayColor, t, A.ui_Color_lerp$closure(), type$.nullable_Color); t13 = t3 ? a.splashFactory : b.splashFactory; t14 = t3 ? a.mouseCursor : b.mouseCursor; return new A.TabBarTheme(t1, t2, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t3 ? a.tabAlignment : b.tabAlignment); }, TabBarTheme: function TabBarTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.indicator = t0; _.indicatorColor = t1; _.indicatorSize = t2; _.dividerColor = t3; _.dividerHeight = t4; _.labelColor = t5; _.labelPadding = t6; _.labelStyle = t7; _.unselectedLabelColor = t8; _.unselectedLabelStyle = t9; _.overlayColor = t10; _.splashFactory = t11; _.mouseCursor = t12; _.tabAlignment = t13; }, _TabBarTheme_Object_Diagnosticable: function _TabBarTheme_Object_Diagnosticable() { }, TabController$(animationDuration, initialIndex, $length, vsync) { return new A.TabController(A.AnimationController$unbounded(null, initialIndex, vsync), B.Duration_300000, $length, initialIndex, initialIndex, $.$get$ChangeNotifier__emptyListeners()); }, DefaultTabController$(child, $length) { return new A.DefaultTabController($length, child, null); }, DefaultTabController_maybeOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._TabControllerScope); return t1 == null ? null : t1.controller; }, TabController: function TabController(t0, t1, t2, t3, t4, t5) { var _ = this; _._tab_controller$_animationController = t0; _._animationDuration = t1; _.length = t2; _._tab_controller$_index = t3; _._previousIndex = t4; _.ChangeNotifier__count = _._indexIsChangingCount = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, TabController__changeIndex_closure: function TabController__changeIndex_closure(t0) { this.$this = t0; }, _TabControllerScope: function _TabControllerScope(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.enabled = t1; _.child = t2; _.key = t3; }, DefaultTabController: function DefaultTabController(t0, t1, t2) { this.length = t0; this.child = t1; this.key = t2; }, _DefaultTabControllerState: function _DefaultTabControllerState(t0, t1, t2) { var _ = this; _.___DefaultTabControllerState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, __DefaultTabControllerState_State_SingleTickerProviderStateMixin: function __DefaultTabControllerState_State_SingleTickerProviderStateMixin() { }, UnderlineTabIndicator: function UnderlineTabIndicator(t0, t1, t2) { this.borderRadius = t0; this.borderSide = t1; this.insets = t2; }, _UnderlinePainter0: function _UnderlinePainter0(t0, t1, t2) { this.decoration = t0; this.borderRadius = t1; this.onChanged = t2; }, Tab$(child, text) { return new A.Tab(text, child, null); }, _TabStyle$(animation, child, defaults, isPrimary, isSelected, labelColor, labelStyle, unselectedLabelColor, unselectedLabelStyle) { return new A._TabStyle(labelStyle, unselectedLabelStyle, isSelected, labelColor, unselectedLabelColor, defaults, child, animation, null); }, _indexChangeProgress(controller) { var previousIndex, currentIndex, t1 = controller.get$animation(0).__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); previousIndex = controller._previousIndex; currentIndex = controller._tab_controller$_index; if (controller._indexIsChangingCount === 0) return A.clampDouble(Math.abs(currentIndex - t1), 0, 1); return Math.abs(t1 - currentIndex) / Math.abs(currentIndex - previousIndex); }, TabBar$(controller, indicatorColor, isScrollable, key, onTap, tabs) { return new A.TabBar(tabs, controller, isScrollable, indicatorColor, onTap, key); }, TabBarView$(children, controller, key) { return new A.TabBarView(controller, children, key); }, TabBarIndicatorSize: function TabBarIndicatorSize(t0, t1) { this.index = t0; this._core$_name = t1; }, TabAlignment: function TabAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, Tab: function Tab(t0, t1, t2) { this.text = t0; this.child = t1; this.key = t2; }, _TabStyle: function _TabStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.labelStyle = t0; _.unselectedLabelStyle = t1; _.isSelected = t2; _.labelColor = t3; _.unselectedLabelColor = t4; _.defaults = t5; _.child = t6; _.listenable = t7; _.key = t8; }, _TabStyle__resolveWithLabelColor_closure: function _TabStyle__resolveWithLabelColor_closure(t0, t1) { this._box_0 = t0; this.animation = t1; }, _TabLabelBarRenderer: function _TabLabelBarRenderer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.onPerformLayout = t0; _._flex$_direction = t1; _._mainAxisAlignment = t2; _._mainAxisSize = t3; _._crossAxisAlignment = t4; _._flex$_textDirection = t5; _._verticalDirection = t6; _._flex$_textBaseline = t7; _._flex$_overflow = 0; _._flex$_clipBehavior = t8; _._flex$_clipRectLayer = t9; _.DebugOverflowIndicatorMixin__indicatorLabel = t10; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t11; _.ContainerRenderObjectMixin__childCount = t12; _.ContainerRenderObjectMixin__firstChild = t13; _.ContainerRenderObjectMixin__lastChild = t14; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t15; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _TabLabelBar: function _TabLabelBar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPerformLayout = t0; _.direction = t1; _.mainAxisAlignment = t2; _.mainAxisSize = t3; _.crossAxisAlignment = t4; _.textDirection = t5; _.verticalDirection = t6; _.textBaseline = t7; _.children = t8; _.key = t9; }, _DividerPainter: function _DividerPainter(t0, t1, t2) { this.dividerColor = t0; this.dividerHeight = t1; this._repaint = t2; }, _IndicatorPainter: function _IndicatorPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.controller = t0; _.indicator = t1; _.indicatorSize = t2; _.indicatorPadding = t3; _.tabKeys = t4; _.labelPaddings = t5; _.dividerColor = t6; _.dividerHeight = t7; _.showDivider = t8; _._tabs$_painter = _._currentRect = _._currentTextDirection = _._currentTabOffsets = null; _._tabs$_needsPaint = false; _._repaint = t9; }, _ChangeAnimation: function _ChangeAnimation(t0) { this.controller = t0; }, _DragAnimation: function _DragAnimation(t0, t1) { this.controller = t0; this.index = t1; }, _TabBarScrollPosition: function _TabBarScrollPosition(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.tabBar = t0; _._viewportDimensionWasNonZero = false; _._needsPixelsCorrection = true; _._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; _._scroll_position$_lastMetrics = null; _._haveScheduledUpdateNotification = false; _._semanticActions = _._lastAxis = null; _.isScrollingNotifier = t6; _._activity = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t7; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _TabBarScrollController: function _TabBarScrollController(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.tabBar = t0; _._initialScrollOffset = t1; _.keepScrollOffset = t2; _.onAttach = t3; _.onDetach = t4; _._positions = t5; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t6; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, TabBar: function TabBar(t0, t1, t2, t3, t4, t5) { var _ = this; _.tabs = t0; _.controller = t1; _.isScrollable = t2; _.indicatorColor = t3; _.onTap = t4; _.key = t5; }, _TabBarState: function _TabBarState(t0) { var _ = this; _._currentIndex = _._indicatorPainter = _._tabs$_controller = _._tabs$_scrollController = null; _.___TabBarState__labelPaddings_A = _.___TabBarState__tabKeys_A = _.___TabBarState__tabStripWidth_A = $; _._debugHasScheduledValidTabsCountCheck = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _TabBarState_initState_closure: function _TabBarState_initState_closure() { }, _TabBarState__handleTabControllerTick_closure: function _TabBarState__handleTabControllerTick_closure() { }, _TabBarState_build_closure: function _TabBarState_build_closure(t0, t1) { this.$this = t0; this.tabBarTheme = t1; }, _TabBarState_build_closure0: function _TabBarState_build_closure0(t0, t1) { this.$this = t0; this.selectedState = t1; }, _TabBarState_build_closure1: function _TabBarState_build_closure1(t0, t1) { this.$this = t0; this.index = t1; }, TabBarView: function TabBarView(t0, t1, t2) { this.controller = t0; this.children = t1; this.key = t2; }, _TabBarViewState: function _TabBarViewState(t0) { var _ = this; _._pageController = _._tabs$_controller = null; _.___TabBarViewState__childrenWithKey_A = $; _._currentIndex = null; _._scrollUnderwayCount = _._warpUnderwayCount = 0; _._debugHasScheduledValidChildrenCountCheck = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _TabBarViewState__warpToAdjacentTab_closure: function _TabBarViewState__warpToAdjacentTab_closure(t0) { this.$this = t0; }, _TabBarViewState__warpToNonAdjacentTab_closure: function _TabBarViewState__warpToNonAdjacentTab_closure(t0, t1, t2) { this.$this = t0; this.initialPage = t1; this.previousIndex = t2; }, _TabBarViewState__warpToNonAdjacentTab_closure0: function _TabBarViewState__warpToNonAdjacentTab_closure0(t0) { this.$this = t0; }, _TabsDefaultsM2: function _TabsDefaultsM2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.context = t0; _.isScrollable = t1; _.indicator = t2; _.indicatorColor = t3; _.indicatorSize = t4; _.dividerColor = t5; _.dividerHeight = t6; _.labelColor = t7; _.labelPadding = t8; _.labelStyle = t9; _.unselectedLabelColor = t10; _.unselectedLabelStyle = t11; _.overlayColor = t12; _.splashFactory = t13; _.mouseCursor = t14; _.tabAlignment = t15; }, _TabsPrimaryDefaultsM3: function _TabsPrimaryDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.context = t0; _.___TabsPrimaryDefaultsM3__textTheme_FI = _.___TabsPrimaryDefaultsM3__colors_FI = $; _.isScrollable = t1; _.indicator = t2; _.indicatorColor = t3; _.indicatorSize = t4; _.dividerColor = t5; _.dividerHeight = t6; _.labelColor = t7; _.labelPadding = t8; _.labelStyle = t9; _.unselectedLabelColor = t10; _.unselectedLabelStyle = t11; _.overlayColor = t12; _.splashFactory = t13; _.mouseCursor = t14; _.tabAlignment = t15; }, _TabsPrimaryDefaultsM3_overlayColor_closure: function _TabsPrimaryDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, __ChangeAnimation_Animation_AnimationWithParentMixin: function __ChangeAnimation_Animation_AnimationWithParentMixin() { }, __DragAnimation_Animation_AnimationWithParentMixin: function __DragAnimation_Animation_AnimationWithParentMixin() { }, TextButton$(autofocus, child, focusNode, onLongPress, onPressed, style) { var _null = null; return new A.TextButton(onPressed, onLongPress, _null, _null, style, B.Clip_0, focusNode, autofocus, _null, true, child, _null); }, TextButton_styleFrom(alignment, animationDuration, backgroundColor, disabledBackgroundColor, disabledForegroundColor, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, foregroundColor, maximumSize, minimumSize, padding, shadowColor, shape, splashFactory, tapTargetSize, textStyle, visualDensity) { var backgroundColorProp, overlayColor, t3, t4, t5, t6, t7, _null = null, t1 = foregroundColor == null, foregroundColorProp = t1 && disabledForegroundColor == null ? _null : new A._TextButtonDefaultColor(foregroundColor, disabledForegroundColor), t2 = backgroundColor == null; if (t2 && disabledBackgroundColor == null) backgroundColorProp = _null; else if (disabledBackgroundColor == null) { t2 = t2 ? _null : new A.MaterialStatePropertyAll(backgroundColor, type$.MaterialStatePropertyAll_nullable_Color); backgroundColorProp = t2; } else { t2 = new A._TextButtonDefaultColor(backgroundColor, disabledBackgroundColor); backgroundColorProp = t2; } overlayColor = t1 ? _null : new A._TextButtonDefaultOverlay(foregroundColor); t1 = textStyle == null ? _null : new A.MaterialStatePropertyAll(textStyle, type$.MaterialStatePropertyAll_TextStyle); t2 = shadowColor == null ? _null : new A.MaterialStatePropertyAll(shadowColor, type$.MaterialStatePropertyAll_Color); t3 = elevation == null ? _null : new A.MaterialStatePropertyAll(elevation, type$.MaterialStatePropertyAll_double); t4 = padding == null ? _null : new A.MaterialStatePropertyAll(padding, type$.MaterialStatePropertyAll_EdgeInsetsGeometry); t5 = minimumSize == null ? _null : new A.MaterialStatePropertyAll(minimumSize, type$.MaterialStatePropertyAll_Size); t6 = maximumSize == null ? _null : new A.MaterialStatePropertyAll(maximumSize, type$.MaterialStatePropertyAll_Size); t7 = shape == null ? _null : new A.MaterialStatePropertyAll(shape, type$.MaterialStatePropertyAll_OutlinedBorder); return A.ButtonStyle$(alignment, animationDuration, backgroundColorProp, t3, enableFeedback, _null, foregroundColorProp, _null, _null, t6, t5, new A._TextButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor), overlayColor, t4, t2, t7, _null, splashFactory, _null, tapTargetSize, t1, visualDensity); }, _scaledPadding0(context) { var t2, theme = A.Theme_of(context), t1 = theme.textTheme.labelLarge, defaultFontSize = t1 == null ? null : t1.fontSize; if (defaultFontSize == null) defaultFontSize = 14; t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_4); t1 = t1 == null ? null : t1.get$textScaler(); if (t1 == null) t1 = B._LinearTextScaler_1; t2 = theme.useMaterial3 ? B.EdgeInsets_12_8_12_8 : B.EdgeInsets_8_8_8_8; return A.ButtonStyleButton_scaledPadding(t2, B.EdgeInsets_8_0_8_0, B.EdgeInsets_4_0_4_0, defaultFontSize * t1.textScaleFactor / 14); }, TextButton: function TextButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.statesController = t8; _.isSemanticButton = t9; _.child = t10; _.key = t11; }, _TextButtonDefaultColor: function _TextButtonDefaultColor(t0, t1) { this.color = t0; this.disabled = t1; }, _TextButtonDefaultOverlay: function _TextButtonDefaultOverlay(t0) { this.primary = t0; }, _TextButtonDefaultMouseCursor: function _TextButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _TextButtonDefaultsM3: function _TextButtonDefaultsM3(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; _.context = t0; _.___TextButtonDefaultsM3__colors_FI = $; _.textStyle = t1; _.backgroundColor = t2; _.foregroundColor = t3; _.overlayColor = t4; _.shadowColor = t5; _.surfaceTintColor = t6; _.elevation = t7; _.padding = t8; _.minimumSize = t9; _.fixedSize = t10; _.maximumSize = t11; _.iconColor = t12; _.iconSize = t13; _.side = t14; _.shape = t15; _.mouseCursor = t16; _.visualDensity = t17; _.tapTargetSize = t18; _.animationDuration = t19; _.enableFeedback = t20; _.alignment = t21; _.splashFactory = t22; }, _TextButtonDefaultsM3_foregroundColor_closure: function _TextButtonDefaultsM3_foregroundColor_closure(t0) { this.$this = t0; }, _TextButtonDefaultsM3_overlayColor_closure: function _TextButtonDefaultsM3_overlayColor_closure(t0) { this.$this = t0; }, _TextButtonDefaultsM3_mouseCursor_closure: function _TextButtonDefaultsM3_mouseCursor_closure() { }, __TextButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __TextButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, TextButtonThemeData_lerp(a, b, t) { if (a === b) return a; return new A.TextButtonThemeData(A.ButtonStyle_lerp(a.style, b.style, t)); }, TextButtonThemeData: function TextButtonThemeData(t0) { this.style = t0; }, _TextButtonThemeData_Object_Diagnosticable: function _TextButtonThemeData_Object_Diagnosticable() { }, TextField$(autocorrect, autofillHints, autofocus, buildCounter, canRequestFocus, clipBehavior, contentInsertionConfiguration, contextMenuBuilder, controller, cursorColor, cursorErrorColor, cursorHeight, cursorOpacityAnimates, cursorRadius, cursorWidth, decoration, dragStartBehavior, enableIMEPersonalizedLearning, enableInteractiveSelection, enableSuggestions, enabled, expands, focusNode, inputFormatters, keyboardAppearance, keyboardType, magnifierConfiguration, maxLength, maxLengthEnforcement, maxLines, minLines, mouseCursor, obscureText, obscuringCharacter, onAppPrivateCommand, onChanged, onEditingComplete, onSubmitted, onTap, onTapAlwaysCalled, onTapOutside, readOnly, restorationId, scribbleEnabled, scrollController, scrollPadding, scrollPhysics, selectionControls, selectionHeightStyle, selectionWidthStyle, showCursor, smartDashesType, smartQuotesType, spellCheckConfiguration, statesController, strutStyle, style, textAlign, textAlignVertical, textCapitalization, textDirection, textInputAction, toolbarOptions, undoController) { var t1, t2, t3, t4; if (smartDashesType == null) t1 = obscureText ? B.SmartDashesType_0 : B.SmartDashesType_1; else t1 = smartDashesType; if (smartQuotesType == null) t2 = obscureText ? B.SmartQuotesType_0 : B.SmartQuotesType_1; else t2 = smartQuotesType; if (keyboardType == null) t3 = maxLines === 1 ? B.TextInputType_0_null_null : B.TextInputType_1_null_null; else t3 = keyboardType; if (enableInteractiveSelection == null) t4 = !readOnly || !obscureText; else t4 = enableInteractiveSelection; return new A.TextField(magnifierConfiguration, controller, focusNode, decoration, t3, textInputAction, textCapitalization, style, strutStyle, textAlign, textAlignVertical, textDirection, autofocus, statesController, obscuringCharacter, obscureText, autocorrect, t1, t2, true, maxLines, minLines, expands, readOnly, toolbarOptions, showCursor, maxLength, maxLengthEnforcement, onChanged, onEditingComplete, onSubmitted, onAppPrivateCommand, inputFormatters, enabled, cursorWidth, cursorHeight, cursorRadius, cursorOpacityAnimates, cursorColor, cursorErrorColor, selectionHeightStyle, selectionWidthStyle, keyboardAppearance, scrollPadding, t4, selectionControls, dragStartBehavior, onTap, false, onTapOutside, mouseCursor, buildCounter, scrollPhysics, scrollController, autofillHints, clipBehavior, restorationId, true, true, contentInsertionConfiguration, contextMenuBuilder, true, undoController, spellCheckConfiguration, null); }, TextField__defaultContextMenuBuilder(context, editableTextState) { return A.AdaptiveTextSelectionToolbar$editableText(editableTextState); }, TextField_inferAndroidSpellCheckConfiguration(configuration) { return B.SpellCheckConfiguration_Y2F; }, _m2StateInputStyle(context) { return A._MaterialStateTextStyle$(new A._m2StateInputStyle_closure(context)); }, _m3StateInputStyle(context) { return A._MaterialStateTextStyle$(new A._m3StateInputStyle_closure(context)); }, _TextFieldSelectionGestureDetectorBuilder: function _TextFieldSelectionGestureDetectorBuilder(t0, t1) { var _ = this; _._text_field$_state = t0; _.delegate = t1; _._shouldShowSelectionToolbar = true; _._isShiftPressed = false; _._dragStartViewportOffset = _._dragStartScrollOffset = 0; _._dragBeganOnPreviousSelection = _._dragStartSelection = null; _._longPressStartedWithoutFocus = false; }, TextField: function TextField(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) { var _ = this; _.magnifierConfiguration = t0; _.controller = t1; _.focusNode = t2; _.decoration = t3; _.keyboardType = t4; _.textInputAction = t5; _.textCapitalization = t6; _.style = t7; _.strutStyle = t8; _.textAlign = t9; _.textAlignVertical = t10; _.textDirection = t11; _.autofocus = t12; _.statesController = t13; _.obscuringCharacter = t14; _.obscureText = t15; _.autocorrect = t16; _.smartDashesType = t17; _.smartQuotesType = t18; _.enableSuggestions = t19; _.maxLines = t20; _.minLines = t21; _.expands = t22; _.readOnly = t23; _.toolbarOptions = t24; _.showCursor = t25; _.maxLength = t26; _.maxLengthEnforcement = t27; _.onChanged = t28; _.onEditingComplete = t29; _.onSubmitted = t30; _.onAppPrivateCommand = t31; _.inputFormatters = t32; _.enabled = t33; _.cursorWidth = t34; _.cursorHeight = t35; _.cursorRadius = t36; _.cursorOpacityAnimates = t37; _.cursorColor = t38; _.cursorErrorColor = t39; _.selectionHeightStyle = t40; _.selectionWidthStyle = t41; _.keyboardAppearance = t42; _.scrollPadding = t43; _.enableInteractiveSelection = t44; _.selectionControls = t45; _.dragStartBehavior = t46; _.onTap = t47; _.onTapAlwaysCalled = t48; _.onTapOutside = t49; _.mouseCursor = t50; _.buildCounter = t51; _.scrollPhysics = t52; _.scrollController = t53; _.autofillHints = t54; _.clipBehavior = t55; _.restorationId = t56; _.scribbleEnabled = t57; _.enableIMEPersonalizedLearning = t58; _.contentInsertionConfiguration = t59; _.contextMenuBuilder = t60; _.canRequestFocus = t61; _.undoController = t62; _.spellCheckConfiguration = t63; _.key = t64; }, _TextFieldState: function _TextFieldState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._text_field$_focusNode = _._text_field$_controller = null; _._showSelectionHandles = _._isHovering = false; _.___TextFieldState_forcePressEnabled_A = _.___TextFieldState__selectionGestureDetectorBuilder_A = $; _.editableTextKey = t0; _._internalStatesController = null; _.RestorationMixin__bucket = t1; _.RestorationMixin__properties = t2; _.RestorationMixin__debugPropertiesWaitingForReregistration = t3; _.RestorationMixin__firstRestorePending = t4; _.RestorationMixin__currentParent = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; }, _TextFieldState__handleFocusChanged_closure: function _TextFieldState__handleFocusChanged_closure() { }, _TextFieldState__handleSelectionChanged_closure: function _TextFieldState__handleSelectionChanged_closure(t0, t1) { this.$this = t0; this.willShowSelectionHandles = t1; }, _TextFieldState__handleHover_closure: function _TextFieldState__handleHover_closure(t0, t1) { this.$this = t0; this.hovering = t1; }, _TextFieldState__handleStatesControllerChange_closure: function _TextFieldState__handleStatesControllerChange_closure() { }, _TextFieldState_build_closure: function _TextFieldState_build_closure(t0) { this.$this = t0; }, _TextFieldState_build_closure0: function _TextFieldState_build_closure0(t0) { this.$this = t0; }, _TextFieldState_build_closure1: function _TextFieldState_build_closure1(t0) { this.$this = t0; }, _TextFieldState_build_closure2: function _TextFieldState_build_closure2(t0) { this.$this = t0; }, _TextFieldState_build_closure3: function _TextFieldState_build_closure3(t0) { this.$this = t0; }, _TextFieldState_build_closure4: function _TextFieldState_build_closure4(t0) { this.$this = t0; }, _TextFieldState_build_closure5: function _TextFieldState_build_closure5(t0, t1, t2) { this.$this = t0; this.focusNode = t1; this.controller = t2; }, _TextFieldState_build_closure7: function _TextFieldState_build_closure7(t0) { this.$this = t0; }, _TextFieldState_build_closure8: function _TextFieldState_build_closure8(t0) { this.$this = t0; }, _TextFieldState_build_closure6: function _TextFieldState_build_closure6(t0, t1) { this._box_0 = t0; this.$this = t1; }, _TextFieldState_build__closure: function _TextFieldState_build__closure(t0) { this.$this = t0; }, _m2StateInputStyle_closure: function _m2StateInputStyle_closure(t0) { this.context = t0; }, _m3StateInputStyle_closure: function _m3StateInputStyle_closure(t0) { this.context = t0; }, __TextFieldState_State_RestorationMixin_dispose_closure: function __TextFieldState_State_RestorationMixin_dispose_closure() { }, __TextFieldState_State_RestorationMixin: function __TextFieldState_State_RestorationMixin() { }, TextFormField$(autocorrect, autofillHints, autofocus, autovalidateMode, controller, cursorColor, cursorHeight, cursorRadius, cursorWidth, decoration, enabled, expands, focusNode, initialValue, inputFormatters, key, keyboardAppearance, keyboardType, maxLength, maxLengthEnforcement, maxLines, minLines, obscureText, onChanged, onEditingComplete, onFieldSubmitted, onSaved, onTap, readOnly, restorationId, showCursor, style, textAlign, textAlignVertical, textCapitalization, textInputAction, validator) { var t1, t2, t3, _null = null; if (controller != null) t1 = controller._change_notifier$_value.text; else t1 = initialValue == null ? "" : initialValue; if (enabled == null) t2 = decoration == null ? _null : decoration.enabled; else t2 = enabled; t3 = autovalidateMode == null ? B.AutovalidateMode_0 : autovalidateMode; return new A.TextFormField(controller, onSaved, validator, new A.TextFormField_closure(decoration, onChanged, restorationId, focusNode, keyboardType, textInputAction, style, _null, textAlign, textAlignVertical, _null, textCapitalization, autofocus, _null, _null, readOnly, showCursor, "\u2022", obscureText, autocorrect, _null, _null, true, maxLengthEnforcement, maxLines, minLines, expands, maxLength, onTap, false, _null, onEditingComplete, onFieldSubmitted, inputFormatters, enabled, cursorWidth, cursorHeight, cursorRadius, cursorColor, _null, B.EdgeInsets_20_20_20_20, _null, keyboardAppearance, _null, _null, _null, autofillHints, _null, true, _null, A.text_form_field_TextFormField__defaultContextMenuBuilder$closure(), _null, _null, _null, _null, _null, B.BoxHeightStyle_0, B.BoxWidthStyle_0, B.DragStartBehavior_1, _null, B.Clip_1, true, true), t1, t2 !== false, t3, restorationId, key); }, TextFormField__defaultContextMenuBuilder(context, editableTextState) { return A.AdaptiveTextSelectionToolbar$editableText(editableTextState); }, TextFormField: function TextFormField(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.controller = t0; _.onSaved = t1; _.validator = t2; _.builder = t3; _.initialValue = t4; _.enabled = t5; _.autovalidateMode = t6; _.restorationId = t7; _.key = t8; }, TextFormField_closure: function TextFormField_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, 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) { var _ = this; _.decoration = t0; _.onChanged = t1; _.restorationId = t2; _.focusNode = t3; _.keyboardType = t4; _.textInputAction = t5; _.style = t6; _.strutStyle = t7; _.textAlign = t8; _.textAlignVertical = t9; _.textDirection = t10; _.textCapitalization = t11; _.autofocus = t12; _.statesController = t13; _.toolbarOptions = t14; _.readOnly = t15; _.showCursor = t16; _.obscuringCharacter = t17; _.obscureText = t18; _.autocorrect = t19; _.smartDashesType = t20; _.smartQuotesType = t21; _.enableSuggestions = t22; _.maxLengthEnforcement = t23; _.maxLines = t24; _.minLines = t25; _.expands = t26; _.maxLength = t27; _.onTap = t28; _.onTapAlwaysCalled = t29; _.onTapOutside = t30; _.onEditingComplete = t31; _.onFieldSubmitted = t32; _.inputFormatters = t33; _.enabled = t34; _.cursorWidth = t35; _.cursorHeight = t36; _.cursorRadius = t37; _.cursorColor = t38; _.cursorErrorColor = t39; _.scrollPadding = t40; _.scrollPhysics = t41; _.keyboardAppearance = t42; _.enableInteractiveSelection = t43; _.selectionControls = t44; _.buildCounter = t45; _.autofillHints = t46; _.scrollController = t47; _.enableIMEPersonalizedLearning = t48; _.mouseCursor = t49; _.contextMenuBuilder = t50; _.spellCheckConfiguration = t51; _.magnifierConfiguration = t52; _.undoController = t53; _.onAppPrivateCommand = t54; _.cursorOpacityAnimates = t55; _.selectionHeightStyle = t56; _.selectionWidthStyle = t57; _.dragStartBehavior = t58; _.contentInsertionConfiguration = t59; _.clipBehavior = t60; _.scribbleEnabled = t61; _.canRequestFocus = t62; }, TextFormField_closure_onChangedHandler: function TextFormField_closure_onChangedHandler(t0, t1) { this.field = t0; this.onChanged = t1; }, _TextFormFieldState: function _TextFormFieldState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._text_form_field$_controller = null; _.__FormFieldState__value_AI = $; _._errorText = t0; _._hasInteractedByUser = t1; _.RestorationMixin__bucket = t2; _.RestorationMixin__properties = t3; _.RestorationMixin__debugPropertiesWaitingForReregistration = t4; _.RestorationMixin__firstRestorePending = t5; _.RestorationMixin__currentParent = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, MaterialTextSelectionHandleControls: function MaterialTextSelectionHandleControls() { }, MaterialTextSelectionControls: function MaterialTextSelectionControls() { }, _TextSelectionHandlePainter: function _TextSelectionHandlePainter(t0, t1) { this.color = t0; this._repaint = t1; }, _MaterialTextSelectionHandleControls_MaterialTextSelectionControls_TextSelectionHandleControls: function _MaterialTextSelectionHandleControls_MaterialTextSelectionControls_TextSelectionHandleControls() { }, TextSelectionThemeData_lerp(a, b, t) { var t1, t2; if (a === b) return a; t1 = A.Color_lerp(a.cursorColor, b.cursorColor, t); t2 = A.Color_lerp(a.selectionColor, b.selectionColor, t); return new A.TextSelectionThemeData(t1, t2, A.Color_lerp(a.selectionHandleColor, b.selectionHandleColor, t)); }, TextSelectionThemeData: function TextSelectionThemeData(t0, t1, t2) { this.cursorColor = t0; this.selectionColor = t1; this.selectionHandleColor = t2; }, _TextSelectionThemeData_Object_Diagnosticable: function _TextSelectionThemeData_Object_Diagnosticable() { }, TextSelectionToolbar$(anchorAbove, anchorBelow, children) { return new A.TextSelectionToolbar(anchorAbove, anchorBelow, children, null); }, TextSelectionToolbar__defaultToolbarBuilder(context, child) { return new A._TextSelectionToolbarContainer(child, null); }, _TextSelectionToolbarContainer__getColor(colorScheme) { var t2, _null = null, t1 = colorScheme.brightness.index; switch (t1) { case 1: t2 = A.ThemeData_ThemeData(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null).colorScheme.surface === colorScheme.surface; break; case 0: t2 = A.ThemeData_ThemeData(_null, _null, B.Brightness_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null).colorScheme.surface === colorScheme.surface; break; default: t2 = _null; } if (!t2) return colorScheme.surface; switch (t1) { case 1: t1 = B.Color_4294967295; break; case 0: t1 = B.Color_4282532418; break; default: t1 = _null; } return t1; }, TextSelectionToolbar: function TextSelectionToolbar(t0, t1, t2, t3) { var _ = this; _.anchorAbove = t0; _.anchorBelow = t1; _.children = t2; _.key = t3; }, _TextSelectionToolbarOverflowable: function _TextSelectionToolbarOverflowable(t0, t1, t2, t3) { var _ = this; _.children = t0; _.isAbove = t1; _.toolbarBuilder = t2; _.key = t3; }, _TextSelectionToolbarOverflowableState: function _TextSelectionToolbarOverflowableState(t0, t1, t2, t3) { var _ = this; _._overflowOpen = false; _._text_selection_toolbar$_containerKey = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _TextSelectionToolbarOverflowableState_build_closure: function _TextSelectionToolbarOverflowableState_build_closure(t0) { this.$this = t0; }, _TextSelectionToolbarOverflowableState_build__closure: function _TextSelectionToolbarOverflowableState_build__closure(t0) { this.$this = t0; }, _TextSelectionToolbarTrailingEdgeAlign: function _TextSelectionToolbarTrailingEdgeAlign(t0, t1, t2, t3) { var _ = this; _.overflowOpen = t0; _.textDirection = t1; _.child = t2; _.key = t3; }, _TextSelectionToolbarTrailingEdgeAlignRenderBox: function _TextSelectionToolbarTrailingEdgeAlignRenderBox(t0, t1, t2, t3) { var _ = this; _._closedWidth = null; _._overflowOpen = t0; _._text_selection_toolbar$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _TextSelectionToolbarTrailingEdgeAlignRenderBox_hitTestChildren_closure: function _TextSelectionToolbarTrailingEdgeAlignRenderBox_hitTestChildren_closure(t0, t1, t2) { this.$this = t0; this.position = t1; this.childParentData = t2; }, _TextSelectionToolbarItemsLayout: function _TextSelectionToolbarItemsLayout(t0, t1, t2, t3) { var _ = this; _.isAbove = t0; _.overflowOpen = t1; _.children = t2; _.key = t3; }, _TextSelectionToolbarItemsLayoutElement: function _TextSelectionToolbarItemsLayoutElement(t0, t1, t2) { var _ = this; _.__MultiChildRenderObjectElement__children_A = $; _._forgottenChildren = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _RenderTextSelectionToolbarItemsLayout: function _RenderTextSelectionToolbarItemsLayout(t0, t1, t2, t3, t4, t5) { var _ = this; _._lastIndexThatFits = -1; _._isAbove = t0; _._overflowOpen = t1; _.ContainerRenderObjectMixin__childCount = t2; _.ContainerRenderObjectMixin__firstChild = t3; _.ContainerRenderObjectMixin__lastChild = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderTextSelectionToolbarItemsLayout__layoutChildren_closure: function _RenderTextSelectionToolbarItemsLayout__layoutChildren_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.sizedConstraints = t2; }, _RenderTextSelectionToolbarItemsLayout__placeChildren_closure: function _RenderTextSelectionToolbarItemsLayout__placeChildren_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.navButton = t2; }, _RenderTextSelectionToolbarItemsLayout_paint_closure: function _RenderTextSelectionToolbarItemsLayout_paint_closure(t0, t1) { this.context = t0; this.offset = t1; }, _RenderTextSelectionToolbarItemsLayout_hitTestChildren_closure: function _RenderTextSelectionToolbarItemsLayout_hitTestChildren_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.childParentData = t2; }, _RenderTextSelectionToolbarItemsLayout_visitChildrenForSemantics_closure: function _RenderTextSelectionToolbarItemsLayout_visitChildrenForSemantics_closure(t0) { this.visitor = t0; }, _TextSelectionToolbarContainer: function _TextSelectionToolbarContainer(t0, t1) { this.child = t0; this.key = t1; }, _TextSelectionToolbarOverflowButton: function _TextSelectionToolbarOverflowButton(t0, t1, t2, t3) { var _ = this; _.icon = t0; _.onPressed = t1; _.tooltip = t2; _.key = t3; }, __RenderTextSelectionToolbarItemsLayout_RenderBox_ContainerRenderObjectMixin: function __RenderTextSelectionToolbarItemsLayout_RenderBox_ContainerRenderObjectMixin() { }, __TextSelectionToolbarOverflowableState_State_TickerProviderStateMixin: function __TextSelectionToolbarOverflowableState_State_TickerProviderStateMixin() { }, TextSelectionToolbarTextButton__getLeftPadding(position) { if (position === B._TextSelectionToolbarItemPosition_0 || position === B._TextSelectionToolbarItemPosition_3) return 14.5; return 9.5; }, TextSelectionToolbarTextButton__getRightPadding(position) { if (position === B._TextSelectionToolbarItemPosition_2 || position === B._TextSelectionToolbarItemPosition_3) return 14.5; return 9.5; }, TextSelectionToolbarTextButton__getPosition(index, total) { if (index === 0) return total === 1 ? B._TextSelectionToolbarItemPosition_3 : B._TextSelectionToolbarItemPosition_0; if (index === total - 1) return B._TextSelectionToolbarItemPosition_2; return B._TextSelectionToolbarItemPosition_1; }, TextSelectionToolbarTextButton__getForegroundColor(colorScheme) { var t2, _null = null, t1 = colorScheme.brightness.index; switch (t1) { case 1: t2 = A.ThemeData_ThemeData(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null).colorScheme.onSurface === colorScheme.onSurface; break; case 0: t2 = A.ThemeData_ThemeData(_null, _null, B.Brightness_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null).colorScheme.onSurface === colorScheme.onSurface; break; default: t2 = _null; } if (!t2) return colorScheme.onSurface; switch (t1) { case 1: t1 = B.Color_4278190080; break; case 0: t1 = B.Color_4294967295; break; default: t1 = _null; } return t1; }, _TextSelectionToolbarItemPosition: function _TextSelectionToolbarItemPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, TextSelectionToolbarTextButton: function TextSelectionToolbarTextButton(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.onPressed = t1; _.padding = t2; _.alignment = t3; _.key = t4; }, TextTheme$(bodyLarge, bodyMedium, bodySmall, displayLarge, displayMedium, displaySmall, headlineLarge, headlineMedium, headlineSmall, labelLarge, labelMedium, labelSmall, titleLarge, titleMedium, titleSmall) { var _null = null, t1 = displayLarge == null ? _null : displayLarge, t2 = displayMedium == null ? _null : displayMedium, t3 = displaySmall == null ? _null : displaySmall, t4 = headlineMedium == null ? _null : headlineMedium, t5 = headlineSmall == null ? _null : headlineSmall, t6 = titleLarge == null ? _null : titleLarge, t7 = titleMedium == null ? _null : titleMedium, t8 = titleSmall == null ? _null : titleSmall, t9 = bodyLarge == null ? _null : bodyLarge, t10 = bodyMedium == null ? _null : bodyMedium, t11 = bodySmall == null ? _null : bodySmall, t12 = labelLarge == null ? _null : labelLarge; return new A.TextTheme(t1, t2, t3, headlineLarge, t4, t5, t6, t7, t8, t9, t10, t11, t12, labelMedium, labelSmall == null ? _null : labelSmall); }, TextTheme_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14; if (a === b && true) return a; t1 = A.TextStyle_lerp(a.displayLarge, b.displayLarge, t); t2 = A.TextStyle_lerp(a.displayMedium, b.displayMedium, t); t3 = A.TextStyle_lerp(a.displaySmall, b.displaySmall, t); t4 = A.TextStyle_lerp(a.headlineLarge, b.headlineLarge, t); t5 = A.TextStyle_lerp(a.headlineMedium, b.headlineMedium, t); t6 = A.TextStyle_lerp(a.headlineSmall, b.headlineSmall, t); t7 = A.TextStyle_lerp(a.titleLarge, b.titleLarge, t); t8 = A.TextStyle_lerp(a.titleMedium, b.titleMedium, t); t9 = A.TextStyle_lerp(a.titleSmall, b.titleSmall, t); t10 = A.TextStyle_lerp(a.bodyLarge, b.bodyLarge, t); t11 = A.TextStyle_lerp(a.bodyMedium, b.bodyMedium, t); t12 = A.TextStyle_lerp(a.bodySmall, b.bodySmall, t); t13 = A.TextStyle_lerp(a.labelLarge, b.labelLarge, t); t14 = A.TextStyle_lerp(a.labelMedium, b.labelMedium, t); return A.TextTheme$(t10, t11, t12, t1, t2, t3, t4, t5, t6, t13, t14, A.TextStyle_lerp(a.labelSmall, b.labelSmall, t), t7, t8, t9); }, TextTheme: function TextTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.displayLarge = t0; _.displayMedium = t1; _.displaySmall = t2; _.headlineLarge = t3; _.headlineMedium = t4; _.headlineSmall = t5; _.titleLarge = t6; _.titleMedium = t7; _.titleSmall = t8; _.bodyLarge = t9; _.bodyMedium = t10; _.bodySmall = t11; _.labelLarge = t12; _.labelMedium = t13; _.labelSmall = t14; }, _TextTheme_Object_Diagnosticable: function _TextTheme_Object_Diagnosticable() { }, Theme_of(context) { var theme, inheritedTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedTheme), localizations = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations), category = localizations == null ? null : localizations.get$scriptCategory(); if (category == null) category = B.ScriptCategory_0; theme = inheritedTheme == null ? null : inheritedTheme.theme.data; if (theme == null) theme = $.$get$Theme__kFallbackTheme(); return A.ThemeData_localize(theme, theme.typography.geometryThemeFor$1(category)); }, Theme: function Theme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, _InheritedTheme: function _InheritedTheme(t0, t1, t2) { this.theme = t0; this.child = t1; this.key = t2; }, ThemeDataTween: function ThemeDataTween(t0, t1) { this.begin = t0; this.end = t1; }, AnimatedTheme: function AnimatedTheme(t0, t1, t2, t3, t4, t5) { var _ = this; _.data = t0; _.child = t1; _.curve = t2; _.duration = t3; _.onEnd = t4; _.key = t5; }, _AnimatedThemeState: function _AnimatedThemeState(t0, t1, t2) { var _ = this; _._theme$_data = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedThemeState_forEachTween_closure: function _AnimatedThemeState_forEachTween_closure() { }, ThemeData_ThemeData(appBarTheme, bottomAppBarTheme, brightness, canvasColor, cardColor, colorScheme, fontFamily, iconTheme, indicatorColor, outlinedButtonTheme, pageTransitionsTheme, primaryColor, primaryColorDark, primaryColorLight, scaffoldBackgroundColor, tabBarTheme, textButtonTheme, textSelectionTheme, tooltipTheme, useMaterial3) { var materialTapTargetSize, visualDensity, splashFactory, t1, effectiveBrightness, isDark, primarySurfaceColor, onPrimarySurfaceColor, bottomAppBarColor, dividerColor, backgroundColor, errorColor, applyElevationOverlayColor, dialogBackgroundColor, estimatedPrimaryColorBrightness, primaryIsDark, toggleableActiveColor, focusColor, hoverColor, unselectedWidgetColor, secondaryHeaderColor, hintColor, buttonTheme, disabledColor, highlightColor, splashColor, base, dark, light, t2, typography, defaultTextTheme, defaultPrimaryTextTheme, textTheme, primaryTextTheme, primaryIconTheme, _null = null, extensions = A._setArrayType([], type$.JSArray_ThemeExtension_ThemeExtension_dynamic), adaptations = A._setArrayType([], type$.JSArray_Adaptation_Object), platform = A.defaultTargetPlatform(); switch (platform.index) { case 0: case 1: case 2: materialTapTargetSize = B.MaterialTapTargetSize_0; break; case 3: case 4: case 5: materialTapTargetSize = B.MaterialTapTargetSize_1; break; default: materialTapTargetSize = _null; } if (pageTransitionsTheme == null) pageTransitionsTheme = B.PageTransitionsTheme_Map_46Aa4; visualDensity = A.VisualDensity_defaultDensityForPlatform(platform); useMaterial3 = useMaterial3 !== false; if (useMaterial3) splashFactory = B.C__InkRippleFactory; else splashFactory = B.C__InkSplashFactory; if (brightness == null) { t1 = colorScheme == null ? _null : colorScheme.brightness; effectiveBrightness = t1; } else effectiveBrightness = brightness; if (effectiveBrightness == null) effectiveBrightness = B.Brightness_1; isDark = effectiveBrightness === B.Brightness_0; if (useMaterial3) { if (colorScheme == null) colorScheme = isDark ? B.ColorScheme_spT : B.ColorScheme_Bzo; primarySurfaceColor = isDark ? colorScheme.surface : colorScheme.primary; onPrimarySurfaceColor = isDark ? colorScheme.onSurface : colorScheme.onPrimary; if (primaryColor == null) primaryColor = primarySurfaceColor; if (canvasColor == null) canvasColor = colorScheme.background; if (scaffoldBackgroundColor == null) scaffoldBackgroundColor = colorScheme.background; bottomAppBarColor = colorScheme.surface; if (cardColor == null) cardColor = bottomAppBarColor; dividerColor = colorScheme._outline; if (dividerColor == null) dividerColor = colorScheme.onBackground; backgroundColor = colorScheme.background; if (indicatorColor == null) indicatorColor = onPrimarySurfaceColor; errorColor = colorScheme.error; applyElevationOverlayColor = brightness === B.Brightness_0; dialogBackgroundColor = backgroundColor; } else { errorColor = _null; dividerColor = errorColor; dialogBackgroundColor = dividerColor; bottomAppBarColor = dialogBackgroundColor; backgroundColor = bottomAppBarColor; applyElevationOverlayColor = backgroundColor; } if (primaryColor == null) primaryColor = isDark ? B.Color_4280361249 : B.MaterialColor_Map_JNGTf_4280391411; estimatedPrimaryColorBrightness = A.ThemeData_estimateBrightnessForColor(primaryColor); if (primaryColorLight == null) primaryColorLight = isDark ? B.Color_4288585374 : B.Color_4290502395; if (primaryColorDark == null) primaryColorDark = isDark ? B.Color_4278190080 : B.Color_4279858898; primaryIsDark = estimatedPrimaryColorBrightness === B.Brightness_0; if (isDark) toggleableActiveColor = B.Color_4284809178; else { t1 = colorScheme == null ? _null : colorScheme.secondary; toggleableActiveColor = t1 == null ? B.Color_4280191205 : t1; } focusColor = isDark ? A.Color$fromARGB(31, 255, 255, 255) : A.Color$fromARGB(31, 0, 0, 0); hoverColor = isDark ? A.Color$fromARGB(10, 255, 255, 255) : A.Color$fromARGB(10, 0, 0, 0); if (canvasColor == null) canvasColor = isDark ? B.Color_4281348144 : B.Color_4294638330; if (scaffoldBackgroundColor == null) scaffoldBackgroundColor = canvasColor; if (cardColor == null) cardColor = isDark ? B.Color_4282532418 : B.Color_4294967295; if (dividerColor == null) dividerColor = isDark ? B.Color_536870911 : B.Color_520093696; if (colorScheme == null) { t1 = isDark ? B.Color_4284809178 : B.Color_4280391411; colorScheme = A.ColorScheme_ColorScheme$fromSwatch(t1, isDark ? B.Color_4284572001 : B.Color_4287679225, effectiveBrightness, cardColor, B.Color_4292030255, B.MaterialColor_Map_JNGTf_4280391411); } unselectedWidgetColor = isDark ? B.Color_3019898879 : B.Color_2315255808; secondaryHeaderColor = isDark ? B.Color_4284572001 : B.Color_4293128957; if (dialogBackgroundColor == null) dialogBackgroundColor = isDark ? B.Color_4282532418 : B.Color_4294967295; if (indicatorColor == null) { indicatorColor = colorScheme.secondary; if (indicatorColor.$eq(0, primaryColor)) indicatorColor = B.Color_4294967295; } hintColor = isDark ? B.Color_2583691263 : A.Color$fromARGB(153, 0, 0, 0); buttonTheme = A.ButtonThemeData$(false, isDark ? B.Color_4280191205 : B.Color_4292927712, colorScheme, _null, focusColor, 36, _null, hoverColor, B.ButtonBarLayoutBehavior_1, materialTapTargetSize, 88, _null, _null, _null, B.ButtonTextTheme_0); disabledColor = isDark ? B.Color_1660944383 : B.Color_1627389952; highlightColor = isDark ? B.Color_1087163596 : B.Color_1723645116; splashColor = isDark ? B.Color_1087163596 : B.Color_1724434632; if (useMaterial3) { base = A.Typography_Typography$_withPlatform(platform, _null, _null, B.TextTheme_fDq, B.TextTheme_CbP, B.TextTheme_I5Y); t1 = colorScheme.brightness === B.Brightness_1; dark = t1 ? colorScheme.onSurface : colorScheme.surface; light = t1 ? colorScheme.surface : colorScheme.onSurface; t1 = base.black.apply$3$bodyColor$decorationColor$displayColor(dark, dark, dark); t2 = base.white.apply$3$bodyColor$decorationColor$displayColor(light, light, light); typography = new A.Typography(t1, t2, base.englishLike, base.dense, base.tall); } else typography = A.Typography_Typography$material2014(platform); defaultTextTheme = isDark ? typography.white : typography.black; defaultPrimaryTextTheme = primaryIsDark ? typography.white : typography.black; if (fontFamily != null) { defaultTextTheme = defaultTextTheme.apply$1$fontFamily(fontFamily); defaultPrimaryTextTheme = defaultPrimaryTextTheme.apply$1$fontFamily(fontFamily); } textTheme = defaultTextTheme.merge$1(_null); primaryTextTheme = defaultPrimaryTextTheme.merge$1(_null); if (iconTheme == null) iconTheme = isDark ? new A.IconThemeData(_null, _null, _null, _null, _null, $.$get$kDefaultIconLightColor(), _null, _null, _null) : new A.IconThemeData(_null, _null, _null, _null, _null, $.$get$kDefaultIconDarkColor(), _null, _null, _null); primaryIconTheme = primaryIsDark ? B.IconThemeData_7N7 : B.IconThemeData_UOn0; if (appBarTheme == null) appBarTheme = B.AppBarTheme_unT; if (bottomAppBarTheme == null) bottomAppBarTheme = B.BottomAppBarTheme_S74; if (outlinedButtonTheme == null) outlinedButtonTheme = B.OutlinedButtonThemeData_null; if (tabBarTheme == null) tabBarTheme = B.TabBarTheme_ZCw; if (textButtonTheme == null) textButtonTheme = B.TextButtonThemeData_null; if (textSelectionTheme == null) textSelectionTheme = B.TextSelectionThemeData_null_null_null; if (tooltipTheme == null) tooltipTheme = B.TooltipThemeData_MAi; if (errorColor == null) errorColor = B.Color_4292030255; if (backgroundColor == null) backgroundColor = isDark ? B.Color_4284572001 : B.Color_4287679225; if (bottomAppBarColor == null) bottomAppBarColor = isDark ? B.Color_4282532418 : B.Color_4294967295; return A.ThemeData$raw(_null, A.ThemeData__createAdaptationMap(adaptations), appBarTheme, applyElevationOverlayColor === true, backgroundColor, B.BadgeThemeData_gsm, B.MaterialBannerThemeData_MYA, bottomAppBarColor, bottomAppBarTheme, B.BottomNavigationBarThemeData_mRH, B.BottomSheetThemeData_N4X, B.ButtonBarThemeData_A0t, buttonTheme, canvasColor, cardColor, B.CardTheme_wEo, B.CheckboxThemeData_EkK, B.ChipThemeData_n0f, colorScheme, _null, B.DataTableThemeData_yHJ, B.DatePickerThemeData_6D4, dialogBackgroundColor, B.DialogTheme_s6Q, disabledColor, dividerColor, B.DividerThemeData_Tnu, B.DrawerThemeData_Epp, B.DropdownMenuThemeData_null_null_null, B.ElevatedButtonThemeData_null, errorColor, B.ExpansionTileThemeData_gg4, A.ThemeData__themeExtensionIterableToMap(extensions), B.FilledButtonThemeData_null, B.FloatingActionButtonThemeData_RsV, focusColor, highlightColor, hintColor, hoverColor, B.IconButtonThemeData_null, iconTheme, indicatorColor, B.InputDecorationTheme_Y3m, B.ListTileThemeData_m6K, materialTapTargetSize, B.MenuBarThemeData_null, B.MenuButtonThemeData_null, B.MenuThemeData_null, B.NavigationBarThemeData_Dno, B.NavigationDrawerThemeData_qEm, B.NavigationRailThemeData_27I, outlinedButtonTheme, pageTransitionsTheme, platform, B.PopupMenuThemeData_MqF, primaryColor, primaryColorDark, primaryColorLight, primaryIconTheme, primaryTextTheme, B.ProgressIndicatorThemeData_Z49, B.RadioThemeData_gDe, scaffoldBackgroundColor, B.ScrollbarThemeData_NUU, B.SearchBarThemeData_wsa, B.SearchViewThemeData_sUY, secondaryHeaderColor, B.SegmentedButtonThemeData_null_null, B.Color_4278190080, B.SliderThemeData_aMq, B.SnackBarThemeData_skt, splashColor, splashFactory, B.SwitchThemeData_Y28, tabBarTheme, textButtonTheme, textSelectionTheme, textTheme, B.TimePickerThemeData_ogV, B.ToggleButtonsThemeData_UsI, toggleableActiveColor, tooltipTheme, typography, unselectedWidgetColor, useMaterial3, visualDensity); }, ThemeData$raw(actionIconTheme, adaptationMap, appBarTheme, applyElevationOverlayColor, backgroundColor, badgeTheme, bannerTheme, bottomAppBarColor, bottomAppBarTheme, bottomNavigationBarTheme, bottomSheetTheme, buttonBarTheme, buttonTheme, canvasColor, cardColor, cardTheme, checkboxTheme, chipTheme, colorScheme, cupertinoOverrideTheme, dataTableTheme, datePickerTheme, dialogBackgroundColor, dialogTheme, disabledColor, dividerColor, dividerTheme, drawerTheme, dropdownMenuTheme, elevatedButtonTheme, errorColor, expansionTileTheme, extensions, filledButtonTheme, floatingActionButtonTheme, focusColor, highlightColor, hintColor, hoverColor, iconButtonTheme, iconTheme, indicatorColor, inputDecorationTheme, listTileTheme, materialTapTargetSize, menuBarTheme, menuButtonTheme, menuTheme, navigationBarTheme, navigationDrawerTheme, navigationRailTheme, outlinedButtonTheme, pageTransitionsTheme, platform, popupMenuTheme, primaryColor, primaryColorDark, primaryColorLight, primaryIconTheme, primaryTextTheme, progressIndicatorTheme, radioTheme, scaffoldBackgroundColor, scrollbarTheme, searchBarTheme, searchViewTheme, secondaryHeaderColor, segmentedButtonTheme, shadowColor, sliderTheme, snackBarTheme, splashColor, splashFactory, switchTheme, tabBarTheme, textButtonTheme, textSelectionTheme, textTheme, timePickerTheme, toggleButtonsTheme, toggleableActiveColor, tooltipTheme, typography, unselectedWidgetColor, useMaterial3, visualDensity) { return new A.ThemeData(applyElevationOverlayColor, cupertinoOverrideTheme, extensions, adaptationMap, inputDecorationTheme, materialTapTargetSize, pageTransitionsTheme, platform, scrollbarTheme, splashFactory, useMaterial3, visualDensity, bottomAppBarColor, canvasColor, cardColor, colorScheme, dialogBackgroundColor, disabledColor, dividerColor, focusColor, highlightColor, hintColor, hoverColor, indicatorColor, primaryColor, primaryColorDark, primaryColorLight, scaffoldBackgroundColor, secondaryHeaderColor, shadowColor, splashColor, unselectedWidgetColor, iconTheme, primaryIconTheme, primaryTextTheme, textTheme, typography, actionIconTheme, appBarTheme, badgeTheme, bannerTheme, bottomAppBarTheme, bottomNavigationBarTheme, bottomSheetTheme, buttonBarTheme, buttonTheme, cardTheme, checkboxTheme, chipTheme, dataTableTheme, datePickerTheme, dialogTheme, dividerTheme, drawerTheme, dropdownMenuTheme, elevatedButtonTheme, expansionTileTheme, filledButtonTheme, floatingActionButtonTheme, iconButtonTheme, listTileTheme, menuBarTheme, menuButtonTheme, menuTheme, navigationBarTheme, navigationDrawerTheme, navigationRailTheme, outlinedButtonTheme, popupMenuTheme, progressIndicatorTheme, radioTheme, searchBarTheme, searchViewTheme, segmentedButtonTheme, sliderTheme, snackBarTheme, switchTheme, tabBarTheme, textButtonTheme, textSelectionTheme, timePickerTheme, toggleButtonsTheme, tooltipTheme, errorColor, backgroundColor, toggleableActiveColor); }, ThemeData_ThemeData$fallback() { var _null = null; return A.ThemeData_ThemeData(_null, _null, B.Brightness_1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, ThemeData__createAdaptationMap(adaptations) { var _i, adaptation, t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.Adaptation_Object); for (_i = 0; false; ++_i) { adaptation = adaptations[_i]; t1.$indexSet(0, A.createRuntimeType(A._arrayInstanceType(adaptation)._eval$1("Adaptation.T")), adaptation); } return t1; }, ThemeData_localize(baseTheme, localTextGeometry) { return $.$get$ThemeData__localizedThemeDataCache().putIfAbsent$2(0, new A._IdentityThemeDataCacheKey(baseTheme, localTextGeometry), new A.ThemeData_localize_closure(baseTheme, localTextGeometry)); }, ThemeData_estimateBrightnessForColor(color) { var t1 = 0.2126 * A.Color__linearizeColorComponent((color.get$value(color) >>> 16 & 255) / 255) + 0.7152 * A.Color__linearizeColorComponent((color.get$value(color) >>> 8 & 255) / 255) + 0.0722 * A.Color__linearizeColorComponent((color.get$value(color) & 255) / 255) + 0.05; if (t1 * t1 > 0.15) return B.Brightness_1; return B.Brightness_0; }, ThemeData__lerpThemeExtensions(a, b, t) { var t1 = a.extensions, newExtensions = t1.map$2$1(t1, new A.ThemeData__lerpThemeExtensions_closure(b, t), type$.Object, type$.ThemeExtension_dynamic); t1 = b.extensions; t1 = t1.get$entries(t1); newExtensions.addEntries$1(newExtensions, t1.where$1(t1, new A.ThemeData__lerpThemeExtensions_closure0(a))); return newExtensions; }, ThemeData__themeExtensionIterableToMap(extensionsIterable) { var _i, extension, t1 = type$.Object, t2 = type$.ThemeExtension_ThemeExtension_dynamic, t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); for (_i = 0; false; ++_i) { extension = extensionsIterable[_i]; t3.$indexSet(0, extension.get$type(extension), t2._as(extension)); } return A.ConstantMap_ConstantMap$from(t3, t1, type$.ThemeExtension_dynamic); }, ThemeData_lerp(a, b, t) { var 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, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94; if (a === b) return a; t1 = t < 0.5; t2 = t1 ? a.adaptationMap : b.adaptationMap; t3 = t1 ? a.applyElevationOverlayColor : b.applyElevationOverlayColor; t4 = t1 ? a.cupertinoOverrideTheme : b.cupertinoOverrideTheme; t5 = A.ThemeData__lerpThemeExtensions(a, b, t); t6 = t1 ? a.inputDecorationTheme : b.inputDecorationTheme; t7 = t1 ? a.materialTapTargetSize : b.materialTapTargetSize; t8 = t1 ? a.pageTransitionsTheme : b.pageTransitionsTheme; t9 = t1 ? a.platform : b.platform; t10 = A.ScrollbarThemeData_lerp(a.scrollbarTheme, b.scrollbarTheme, t); t11 = t1 ? a.splashFactory : b.splashFactory; t12 = t1 ? a.useMaterial3 : b.useMaterial3; t13 = A.VisualDensity_lerp(a.visualDensity, b.visualDensity, t); t14 = A.Color_lerp(a.canvasColor, b.canvasColor, t); t14.toString; t15 = A.Color_lerp(a.cardColor, b.cardColor, t); t15.toString; t16 = A.ColorScheme_lerp(a.colorScheme, b.colorScheme, t); t17 = A.Color_lerp(a.dialogBackgroundColor, b.dialogBackgroundColor, t); t17.toString; t18 = A.Color_lerp(a.disabledColor, b.disabledColor, t); t18.toString; t19 = A.Color_lerp(a.dividerColor, b.dividerColor, t); t19.toString; t20 = A.Color_lerp(a.focusColor, b.focusColor, t); t20.toString; t21 = A.Color_lerp(a.highlightColor, b.highlightColor, t); t21.toString; t22 = A.Color_lerp(a.hintColor, b.hintColor, t); t22.toString; t23 = A.Color_lerp(a.hoverColor, b.hoverColor, t); t23.toString; t24 = A.Color_lerp(a.indicatorColor, b.indicatorColor, t); t24.toString; t25 = A.Color_lerp(a.primaryColor, b.primaryColor, t); t25.toString; t26 = A.Color_lerp(a.primaryColorDark, b.primaryColorDark, t); t26.toString; t27 = A.Color_lerp(a.primaryColorLight, b.primaryColorLight, t); t27.toString; t28 = A.Color_lerp(a.scaffoldBackgroundColor, b.scaffoldBackgroundColor, t); t28.toString; t29 = A.Color_lerp(a.secondaryHeaderColor, b.secondaryHeaderColor, t); t29.toString; t30 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t30.toString; t31 = A.Color_lerp(a.splashColor, b.splashColor, t); t31.toString; t32 = A.Color_lerp(a.unselectedWidgetColor, b.unselectedWidgetColor, t); t32.toString; t33 = A.IconThemeData_lerp(a.iconTheme, b.iconTheme, t); t34 = A.IconThemeData_lerp(a.primaryIconTheme, b.primaryIconTheme, t); t35 = A.TextTheme_lerp(a.primaryTextTheme, b.primaryTextTheme, t); t36 = A.TextTheme_lerp(a.textTheme, b.textTheme, t); t37 = A.Typography_lerp(a.typography, b.typography, t); t38 = A.ActionIconThemeData_lerp(a.actionIconTheme, b.actionIconTheme, t); t39 = A.AppBarTheme_lerp(a.appBarTheme, b.appBarTheme, t); t40 = A.BadgeThemeData_lerp(a.badgeTheme, b.badgeTheme, t); t41 = a.bannerTheme; t42 = b.bannerTheme; t43 = A.Color_lerp(t41.backgroundColor, t42.backgroundColor, t); t44 = A.Color_lerp(t41.surfaceTintColor, t42.surfaceTintColor, t); t45 = A.Color_lerp(t41.shadowColor, t42.shadowColor, t); t46 = A.Color_lerp(t41.dividerColor, t42.dividerColor, t); t47 = A.TextStyle_lerp(t41.contentTextStyle, t42.contentTextStyle, t); t48 = A.lerpDouble(t41.elevation, t42.elevation, t); t49 = A.EdgeInsetsGeometry_lerp(t41.padding, t42.padding, t); t41 = A.EdgeInsetsGeometry_lerp(t41.leadingPadding, t42.leadingPadding, t); t42 = A.BottomAppBarTheme_lerp(a.bottomAppBarTheme, b.bottomAppBarTheme, t); t50 = A.BottomNavigationBarThemeData_lerp(a.bottomNavigationBarTheme, b.bottomNavigationBarTheme, t); t51 = A.BottomSheetThemeData_lerp(a.bottomSheetTheme, b.bottomSheetTheme, t); t52 = A.ButtonBarThemeData_lerp(a.buttonBarTheme, b.buttonBarTheme, t); t1 = t1 ? a.buttonTheme : b.buttonTheme; t53 = A.CardTheme_lerp(a.cardTheme, b.cardTheme, t); t54 = A.CheckboxThemeData_lerp(a.checkboxTheme, b.checkboxTheme, t); t55 = A.ChipThemeData_lerp(a.chipTheme, b.chipTheme, t); t56 = A.DataTableThemeData_lerp(a.dataTableTheme, b.dataTableTheme, t); t57 = A.DatePickerThemeData_lerp(a.datePickerTheme, b.datePickerTheme, t); t58 = A.DialogTheme_lerp(a.dialogTheme, b.dialogTheme, t); t59 = A.DividerThemeData_lerp(a.dividerTheme, b.dividerTheme, t); t60 = A.DrawerThemeData_lerp(a.drawerTheme, b.drawerTheme, t); t61 = A.DropdownMenuThemeData_lerp(a.dropdownMenuTheme, b.dropdownMenuTheme, t); t62 = A.ElevatedButtonThemeData_lerp(a.elevatedButtonTheme, b.elevatedButtonTheme, t); t63 = A.ExpansionTileThemeData_lerp(a.expansionTileTheme, b.expansionTileTheme, t); t64 = A.FilledButtonThemeData_lerp(a.filledButtonTheme, b.filledButtonTheme, t); t65 = A.FloatingActionButtonThemeData_lerp(a.floatingActionButtonTheme, b.floatingActionButtonTheme, t); t66 = A.IconButtonThemeData_lerp(a.iconButtonTheme, b.iconButtonTheme, t); t67 = A.ListTileThemeData_lerp(a.listTileTheme, b.listTileTheme, t); t68 = A.MenuBarThemeData_lerp(a.menuBarTheme, b.menuBarTheme, t); t69 = A.MenuButtonThemeData_lerp(a.menuButtonTheme, b.menuButtonTheme, t); t70 = A.MenuThemeData_lerp(a.menuTheme, b.menuTheme, t); t71 = A.NavigationBarThemeData_lerp(a.navigationBarTheme, b.navigationBarTheme, t); t72 = A.NavigationDrawerThemeData_lerp(a.navigationDrawerTheme, b.navigationDrawerTheme, t); t73 = A.NavigationRailThemeData_lerp(a.navigationRailTheme, b.navigationRailTheme, t); t74 = A.OutlinedButtonThemeData_lerp(a.outlinedButtonTheme, b.outlinedButtonTheme, t); t75 = A.PopupMenuThemeData_lerp(a.popupMenuTheme, b.popupMenuTheme, t); t76 = A.ProgressIndicatorThemeData_lerp(a.progressIndicatorTheme, b.progressIndicatorTheme, t); t77 = A.RadioThemeData_lerp(a.radioTheme, b.radioTheme, t); t78 = A.SearchBarThemeData_lerp(a.searchBarTheme, b.searchBarTheme, t); t79 = A.SearchViewThemeData_lerp(a.searchViewTheme, b.searchViewTheme, t); t80 = A.SegmentedButtonThemeData_lerp(a.segmentedButtonTheme, b.segmentedButtonTheme, t); t81 = A.SliderThemeData_lerp(a.sliderTheme, b.sliderTheme, t); t82 = A.SnackBarThemeData_lerp(a.snackBarTheme, b.snackBarTheme, t); t83 = A.SwitchThemeData_lerp(a.switchTheme, b.switchTheme, t); t84 = A.TabBarTheme_lerp(a.tabBarTheme, b.tabBarTheme, t); t85 = A.TextButtonThemeData_lerp(a.textButtonTheme, b.textButtonTheme, t); t86 = A.TextSelectionThemeData_lerp(a.textSelectionTheme, b.textSelectionTheme, t); t87 = A.TimePickerThemeData_lerp(a.timePickerTheme, b.timePickerTheme, t); t88 = A.ToggleButtonsThemeData_lerp(a.toggleButtonsTheme, b.toggleButtonsTheme, t); t89 = A.TooltipThemeData_lerp(a.tooltipTheme, b.tooltipTheme, t); t90 = a._toggleableActiveColor; t90.toString; t91 = b._toggleableActiveColor; t91.toString; t91 = A.Color_lerp(t90, t91, t); t90 = a._errorColor; t90.toString; t92 = b._errorColor; t92.toString; t92 = A.Color_lerp(t90, t92, t); t90 = a._backgroundColor; t90.toString; t93 = b._backgroundColor; t93.toString; t93 = A.Color_lerp(t90, t93, t); t90 = a._bottomAppBarColor; t90.toString; t94 = b._bottomAppBarColor; t94.toString; return A.ThemeData$raw(t38, t2, t39, t3, t93, t40, new A.MaterialBannerThemeData(t43, t44, t45, t46, t47, t48, t49, t41), A.Color_lerp(t90, t94, t), t42, t50, t51, t52, t1, t14, t15, t53, t54, t55, t16, t4, t56, t57, t17, t58, t18, t19, t59, t60, t61, t62, t92, t63, t5, t64, t65, t20, t21, t22, t23, t66, t33, t24, t6, t67, t7, t68, t69, t70, t71, t72, t73, t74, t8, t9, t75, t25, t26, t27, t34, t35, t76, t77, t28, t10, t78, t79, t29, t80, t30, t81, t82, t31, t11, t83, t84, t85, t86, t36, t87, t88, t91, t89, t37, t32, t12, t13); }, MaterialBasedCupertinoThemeData$_(_materialTheme, _cupertinoOverrideTheme) { return new A.MaterialBasedCupertinoThemeData(_materialTheme, _cupertinoOverrideTheme, B._CupertinoThemeDefaults_k4u, _cupertinoOverrideTheme.brightness, _cupertinoOverrideTheme.primaryColor, _cupertinoOverrideTheme.primaryContrastingColor, _cupertinoOverrideTheme.textTheme, _cupertinoOverrideTheme.barBackgroundColor, _cupertinoOverrideTheme.scaffoldBackgroundColor, _cupertinoOverrideTheme.applyThemeToAll); }, VisualDensity_defaultDensityForPlatform(platform) { switch (platform.index) { case 0: case 2: case 1: break; case 3: case 4: case 5: return B.VisualDensity_m2_m2; } return B.VisualDensity_0_0; }, VisualDensity_lerp(a, b, t) { var t1, t2; if (a === b) return a; t1 = A.lerpDouble(a.horizontal, b.horizontal, t); t1.toString; t2 = A.lerpDouble(a.vertical, b.vertical, t); t2.toString; return new A.VisualDensity(t1, t2); }, Adaptation: function Adaptation() { }, MaterialTapTargetSize: function MaterialTapTargetSize(t0, t1) { this.index = t0; this._core$_name = t1; }, ThemeData: function ThemeData(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, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85) { var _ = this; _.applyElevationOverlayColor = t0; _.cupertinoOverrideTheme = t1; _.extensions = t2; _.adaptationMap = t3; _.inputDecorationTheme = t4; _.materialTapTargetSize = t5; _.pageTransitionsTheme = t6; _.platform = t7; _.scrollbarTheme = t8; _.splashFactory = t9; _.useMaterial3 = t10; _.visualDensity = t11; _._bottomAppBarColor = t12; _.canvasColor = t13; _.cardColor = t14; _.colorScheme = t15; _.dialogBackgroundColor = t16; _.disabledColor = t17; _.dividerColor = t18; _.focusColor = t19; _.highlightColor = t20; _.hintColor = t21; _.hoverColor = t22; _.indicatorColor = t23; _.primaryColor = t24; _.primaryColorDark = t25; _.primaryColorLight = t26; _.scaffoldBackgroundColor = t27; _.secondaryHeaderColor = t28; _.shadowColor = t29; _.splashColor = t30; _.unselectedWidgetColor = t31; _.iconTheme = t32; _.primaryIconTheme = t33; _.primaryTextTheme = t34; _.textTheme = t35; _.typography = t36; _.actionIconTheme = t37; _.appBarTheme = t38; _.badgeTheme = t39; _.bannerTheme = t40; _.bottomAppBarTheme = t41; _.bottomNavigationBarTheme = t42; _.bottomSheetTheme = t43; _.buttonBarTheme = t44; _.buttonTheme = t45; _.cardTheme = t46; _.checkboxTheme = t47; _.chipTheme = t48; _.dataTableTheme = t49; _.datePickerTheme = t50; _.dialogTheme = t51; _.dividerTheme = t52; _.drawerTheme = t53; _.dropdownMenuTheme = t54; _.elevatedButtonTheme = t55; _.expansionTileTheme = t56; _.filledButtonTheme = t57; _.floatingActionButtonTheme = t58; _.iconButtonTheme = t59; _.listTileTheme = t60; _.menuBarTheme = t61; _.menuButtonTheme = t62; _.menuTheme = t63; _.navigationBarTheme = t64; _.navigationDrawerTheme = t65; _.navigationRailTheme = t66; _.outlinedButtonTheme = t67; _.popupMenuTheme = t68; _.progressIndicatorTheme = t69; _.radioTheme = t70; _.searchBarTheme = t71; _.searchViewTheme = t72; _.segmentedButtonTheme = t73; _.sliderTheme = t74; _.snackBarTheme = t75; _.switchTheme = t76; _.tabBarTheme = t77; _.textButtonTheme = t78; _.textSelectionTheme = t79; _.timePickerTheme = t80; _.toggleButtonsTheme = t81; _.tooltipTheme = t82; _._errorColor = t83; _._backgroundColor = t84; _._toggleableActiveColor = t85; }, ThemeData_localize_closure: function ThemeData_localize_closure(t0, t1) { this.baseTheme = t0; this.localTextGeometry = t1; }, ThemeData__lerpThemeExtensions_closure: function ThemeData__lerpThemeExtensions_closure(t0, t1) { this.b = t0; this.t = t1; }, ThemeData__lerpThemeExtensions_closure0: function ThemeData__lerpThemeExtensions_closure0(t0) { this.a = t0; }, MaterialBasedCupertinoThemeData: function MaterialBasedCupertinoThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._materialTheme = t0; _._cupertinoOverrideTheme = t1; _._defaults = t2; _.brightness = t3; _.primaryColor = t4; _.primaryContrastingColor = t5; _.textTheme = t6; _.barBackgroundColor = t7; _.scaffoldBackgroundColor = t8; _.applyThemeToAll = t9; }, _IdentityThemeDataCacheKey: function _IdentityThemeDataCacheKey(t0, t1) { this.baseTheme = t0; this.localTextGeometry = t1; }, _FifoCache: function _FifoCache(t0, t1, t2) { this._theme_data$_cache = t0; this._maximumSize = t1; this.$ti = t2; }, VisualDensity: function VisualDensity(t0, t1) { this.horizontal = t0; this.vertical = t1; }, _ThemeData_Object_Diagnosticable: function _ThemeData_Object_Diagnosticable() { }, _VisualDensity_Object_Diagnosticable: function _VisualDensity_Object_Diagnosticable() { }, hourFormat(of) { switch (of.index) { case 4: case 5: return B.HourFormat_2; case 3: return B.HourFormat_1; case 1: case 0: case 2: return B.HourFormat_0; } }, DayPeriod: function DayPeriod(t0, t1) { this.index = t0; this._core$_name = t1; }, TimeOfDay: function TimeOfDay(t0, t1) { this.hour = t0; this.minute = t1; }, TimeOfDay_toString_addLeadingZeroIfNeeded: function TimeOfDay_toString_addLeadingZeroIfNeeded() { }, RestorableTimeOfDay: function RestorableTimeOfDay(t0, t1) { var _ = this; _._time$_defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, TimeOfDayFormat: function TimeOfDayFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, HourFormat: function HourFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, _DialState__nearest(target, a, b) { return Math.abs(target - a) < Math.abs(target - b) ? a : b; }, _HourMinuteTextField$(autofocus, inputAction, isHour, onChanged, onSavedSubmitted, restorationId, selectedTime, semanticHintText, style, validator) { return new A._HourMinuteTextField(selectedTime, isHour, autofocus, inputAction, style, semanticHintText, validator, onSavedSubmitted, onChanged, restorationId, null); }, showTimePicker(builder, context, initialTime) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_TimeOfDay), $async$returnValue; var $async$showTimePicker = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = A.showDialog(null, null, true, null, new A.showTimePicker_closure(builder, new A.TimePickerDialog(initialTime, null, null, null, null, null, null, B.TimePickerEntryMode_0, null, null, null)), context, null, true, type$.TimeOfDay); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$showTimePicker, $async$completer); }, _TimePickerDefaultsM2$(context) { var _null = null; return new A._TimePickerDefaultsM2(context, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _TimePickerDefaultsM3$(context) { var _null = null; return new A._TimePickerDefaultsM3(context, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, TimePickerEntryMode: function TimePickerEntryMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _HourMinuteMode: function _HourMinuteMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _TimePickerAspect: function _TimePickerAspect(t0, t1) { this.index = t0; this._core$_name = t1; }, _TimePickerModel: function _TimePickerModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.entryMode = t0; _.hourMinuteMode = t1; _.onHourMinuteModeChanged = t2; _.onHourDoubleTapped = t3; _.onMinuteDoubleTapped = t4; _.selectedTime = t5; _.onSelectedTimeChanged = t6; _.use24HourFormat = t7; _.useMaterial3 = t8; _.hourDialType = t9; _.orientation = t10; _.theme = t11; _.defaultTheme = t12; _.child = t13; _.key = t14; }, _TimePickerHeader: function _TimePickerHeader(t0, t1) { this.helpText = t0; this.key = t1; }, _HourMinuteControl: function _HourMinuteControl(t0, t1, t2, t3, t4) { var _ = this; _.text = t0; _.onTap = t1; _.onDoubleTap = t2; _.isSelected = t3; _.key = t4; }, _HourControl: function _HourControl(t0) { this.key = t0; }, _HourControl_build_hoursFromSelected: function _HourControl_build_hoursFromSelected(t0, t1) { this.context = t0; this.selectedTime = t1; }, _HourControl_build_closure1: function _HourControl_build_closure1(t0, t1) { this.context = t0; this.nextHour = t1; }, _HourControl_build_closure0: function _HourControl_build_closure0(t0, t1) { this.context = t0; this.previousHour = t1; }, _HourControl_build_closure: function _HourControl_build_closure(t0) { this.context = t0; }, _StringFragment: function _StringFragment(t0, t1) { this.timeOfDayFormat = t0; this.key = t1; }, _MinuteControl: function _MinuteControl(t0) { this.key = t0; }, _MinuteControl_build_closure1: function _MinuteControl_build_closure1(t0, t1) { this.context = t0; this.nextMinute = t1; }, _MinuteControl_build_closure0: function _MinuteControl_build_closure0(t0, t1) { this.context = t0; this.previousMinute = t1; }, _MinuteControl_build_closure: function _MinuteControl_build_closure(t0) { this.context = t0; }, _DayPeriodControl: function _DayPeriodControl(t0, t1) { this.onPeriodChanged = t0; this.key = t1; }, _DayPeriodControl_build_closure: function _DayPeriodControl_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, _DayPeriodControl_build_closure0: function _DayPeriodControl_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _AmPmButton: function _AmPmButton(t0, t1, t2, t3) { var _ = this; _.selected = t0; _.onPressed = t1; _.label = t2; _.key = t3; }, _DayPeriodInputPadding: function _DayPeriodInputPadding(t0, t1, t2, t3) { var _ = this; _.minSize = t0; _.orientation = t1; _.child = t2; _.key = t3; }, _RenderInputPadding2: function _RenderInputPadding2(t0, t1, t2, t3) { var _ = this; _._time_picker0$_minSize = t0; _._orientation = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderInputPadding_hitTest_closure2: function _RenderInputPadding_hitTest_closure2(t0, t1) { this._box_0 = t0; this.$this = t1; }, _TappableLabel: function _TappableLabel(t0, t1, t2, t3) { var _ = this; _.value = t0; _.inner = t1; _.painter = t2; _.onTap = t3; }, _DialPainter: function _DialPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.primaryLabels = t0; _.selectedLabels = t1; _.backgroundColor = t2; _.handColor = t3; _.handWidth = t4; _.dotColor = t5; _.dotRadius = t6; _.centerRadius = t7; _.theta = t8; _.radius = t9; _._repaint = t10; }, _DialPainter_paint_getOffsetForTheta: function _DialPainter_paint_getOffsetForTheta(t0) { this.center = t0; }, _DialPainter_paint_paintLabels: function _DialPainter_paint_paintLabels(t0, t1) { this.canvas = t0; this.getOffsetForTheta = t1; }, _DialPainter_paint_paintInnerOuterLabels: function _DialPainter_paint_paintInnerOuterLabels(t0, t1, t2) { this.paintLabels = t0; this.labelRadius = t1; this.innerLabelRadius = t2; }, _DialPainter_paint_paintInnerOuterLabels_closure: function _DialPainter_paint_paintInnerOuterLabels_closure() { }, _DialPainter_paint_paintInnerOuterLabels_closure0: function _DialPainter_paint_paintInnerOuterLabels_closure0() { }, _HourDialType: function _HourDialType(t0, t1) { this.index = t0; this._core$_name = t1; }, _Dial: function _Dial(t0, t1, t2, t3, t4, t5) { var _ = this; _.selectedTime = t0; _.hourMinuteMode = t1; _.hourDialType = t2; _.onChanged = t3; _.onHourSelected = t4; _.key = t5; }, _DialState: function _DialState(t0, t1, t2) { var _ = this; _.___DialState_localizations_A = _.___DialState_themeData_A = $; _.painter = null; _.___DialState__radius_A = _.___DialState__radiusTween_A = _.___DialState__theta_A = _.___DialState__thetaTween_A = _.___DialState__animationController_A = $; _._time_picker0$_dragging = false; _._dialSize = _._time_picker0$_center = _._time_picker0$_position = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _DialState_initState_closure: function _DialState_initState_closure(t0) { this.$this = t0; }, _DialState_initState__closure0: function _DialState_initState__closure0() { }, _DialState_initState_closure0: function _DialState_initState_closure0(t0) { this.$this = t0; }, _DialState_initState__closure: function _DialState_initState__closure() { }, _DialState__animateTo_animateToValue: function _DialState__animateTo_animateToValue() { }, _DialState__updateThetaForPan_closure: function _DialState__updateThetaForPan_closure(t0, t1) { this.$this = t0; this.roundMinutes = t1; }, _DialState__selectHour_getAmPmTime: function _DialState__selectHour_getAmPmTime(t0, t1) { this.$this = t0; this.hour = t1; }, _DialState__build24HourRing_closure: function _DialState__build24HourRing_closure(t0, t1) { this.$this = t0; this.timeOfDay = t1; }, _DialState__build24HourRing_closure0: function _DialState__build24HourRing_closure0(t0, t1) { this.$this = t0; this.timeOfDay = t1; }, _DialState__build12HourRing_closure: function _DialState__build12HourRing_closure(t0, t1) { this.$this = t0; this.timeOfDay = t1; }, _DialState__buildMinutes_closure: function _DialState__buildMinutes_closure(t0, t1) { this.$this = t0; this.timeOfDay = t1; }, _TimePickerInput: function _TimePickerInput(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.initialSelectedTime = t0; _.errorInvalidText = t1; _.hourLabelText = t2; _.minuteLabelText = t3; _.helpText = t4; _.autofocusHour = t5; _.autofocusMinute = t6; _.restorationId = t7; _.key = t8; }, _TimePickerInputState: function _TimePickerInputState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.___TimePickerInputState__selectedTime_FI = $; _.hourHasError = t0; _.minuteHasError = t1; _.RestorationMixin__bucket = t2; _.RestorationMixin__properties = t3; _.RestorationMixin__debugPropertiesWaitingForReregistration = t4; _.RestorationMixin__firstRestorePending = t5; _.RestorationMixin__currentParent = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, _TimePickerInputState__validateHour_closure: function _TimePickerInputState__validateHour_closure(t0, t1) { this.$this = t0; this.newHour = t1; }, _TimePickerInputState__validateMinute_closure: function _TimePickerInputState__validateMinute_closure(t0, t1) { this.$this = t0; this.newMinute = t1; }, _HourTextField: function _HourTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.selectedTime = t0; _.style = t1; _.autofocus = t2; _.inputAction = t3; _.validator = t4; _.onSavedSubmitted = t5; _.onChanged = t6; _.hourLabelText = t7; _.restorationId = t8; _.key = t9; }, _MinuteTextField: function _MinuteTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.selectedTime = t0; _.style = t1; _.autofocus = t2; _.inputAction = t3; _.validator = t4; _.onSavedSubmitted = t5; _.minuteLabelText = t6; _.restorationId = t7; _.key = t8; }, _HourMinuteTextField: function _HourMinuteTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.selectedTime = t0; _.isHour = t1; _.autofocus = t2; _.inputAction = t3; _.style = t4; _.semanticHintText = t5; _.validator = t6; _.onSavedSubmitted = t7; _.onChanged = t8; _.restorationId = t9; _.key = t10; }, _HourMinuteTextFieldState: function _HourMinuteTextFieldState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.controller = t0; _.controllerHasBeenSet = t1; _.___HourMinuteTextFieldState_focusNode_A = $; _.RestorationMixin__bucket = t2; _.RestorationMixin__properties = t3; _.RestorationMixin__debugPropertiesWaitingForReregistration = t4; _.RestorationMixin__firstRestorePending = t5; _.RestorationMixin__currentParent = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, _HourMinuteTextFieldState_initState_closure: function _HourMinuteTextFieldState_initState_closure(t0) { this.$this = t0; }, _HourMinuteTextFieldState_initState__closure: function _HourMinuteTextFieldState_initState__closure() { }, _HourMinuteTextFieldState_build_closure: function _HourMinuteTextFieldState_build_closure(t0) { this.$this = t0; }, TimePickerDialog: function TimePickerDialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.initialTime = t0; _.cancelText = t1; _.confirmText = t2; _.helpText = t3; _.errorInvalidText = t4; _.hourLabelText = t5; _.minuteLabelText = t6; _.initialEntryMode = t7; _.orientation = t8; _.onEntryModeChanged = t9; _.key = t10; }, _TimePickerDialogState: function _TimePickerDialogState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.___TimePickerDialogState__selectedTime_FI = _.___TimePickerDialogState__entryMode_FI = $; _._time_picker0$_formKey = t0; _._time_picker0$_autovalidateMode = t1; _.___TimePickerDialogState__orientation_FI = $; _.RestorationMixin__bucket = t2; _.RestorationMixin__properties = t3; _.RestorationMixin__debugPropertiesWaitingForReregistration = t4; _.RestorationMixin__firstRestorePending = t5; _.RestorationMixin__currentParent = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, _TimePickerDialogState__handleTimeChanged_closure: function _TimePickerDialogState__handleTimeChanged_closure(t0, t1) { this.$this = t0; this.value = t1; }, _TimePickerDialogState__handleEntryModeChanged_closure: function _TimePickerDialogState__handleEntryModeChanged_closure(t0, t1) { this.$this = t0; this.value = t1; }, _TimePickerDialogState__handleOk_closure: function _TimePickerDialogState__handleOk_closure(t0) { this.$this = t0; }, _TimePickerDialogState_build_closure: function _TimePickerDialogState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.dialogSize = t1; _.minDialogSize = t2; _.actions = t3; }, _TimePicker: function _TimePicker(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.helpText = t0; _.errorInvalidText = t1; _.hourLabelText = t2; _.minuteLabelText = t3; _.restorationId = t4; _.entryMode = t5; _.time = t6; _.onTimeChanged = t7; _.orientation = t8; _.onEntryModeChanged = t9; _.key = t10; }, _TimePickerState0: function _TimePickerState0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._vibrateTimer = null; _.___TimePickerState_localizations_A = $; _._hourMinuteMode = t0; _._lastModeAnnounced = t1; _._autofocusHour = t2; _._autofocusMinute = t3; _._announcedInitialTime = t4; _.___TimePickerState__selectedTime_FI = _.___TimePickerState__orientation_FI = $; _.RestorationMixin__bucket = t5; _.RestorationMixin__properties = t6; _.RestorationMixin__debugPropertiesWaitingForReregistration = t7; _.RestorationMixin__firstRestorePending = t8; _.RestorationMixin__currentParent = t9; _._widget = null; _._debugLifecycleState = t10; _._framework$_element = null; }, _TimePickerState__vibrate_closure: function _TimePickerState__vibrate_closure(t0) { this.$this = t0; }, _TimePickerState__handleHourMinuteModeChanged_closure: function _TimePickerState__handleHourMinuteModeChanged_closure(t0, t1) { this.$this = t0; this.mode = t1; }, _TimePickerState__handleEntryModeToggle_closure: function _TimePickerState__handleEntryModeToggle_closure(t0) { this.$this = t0; }, _TimePickerState__handleTimeChanged_closure: function _TimePickerState__handleTimeChanged_closure(t0, t1) { this.$this = t0; this.value = t1; }, _TimePickerState__handleHourSelected_closure: function _TimePickerState__handleHourSelected_closure(t0) { this.$this = t0; }, showTimePicker_closure: function showTimePicker_closure(t0, t1) { this.builder = t0; this.dialog = t1; }, _TimePickerDefaults: function _TimePickerDefaults() { }, _TimePickerDefaultsM2: function _TimePickerDefaultsM2(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; _.context = t0; _.___TimePickerDefaultsM2__textTheme_FI = _.___TimePickerDefaultsM2__colors_FI = $; _.backgroundColor = t1; _.cancelButtonStyle = t2; _.confirmButtonStyle = t3; _.dayPeriodBorderSide = t4; _._dayPeriodColor = t5; _.dayPeriodShape = t6; _.dayPeriodTextColor = t7; _.dayPeriodTextStyle = t8; _.dialBackgroundColor = t9; _.dialHandColor = t10; _.dialTextColor = t11; _.dialTextStyle = t12; _.elevation = t13; _.entryModeIconColor = t14; _.helpTextStyle = t15; _.hourMinuteColor = t16; _.hourMinuteShape = t17; _.hourMinuteTextColor = t18; _.hourMinuteTextStyle = t19; _.inputDecorationTheme = t20; _.padding = t21; _.shape = t22; }, _TimePickerDefaultsM2_dayPeriodColor_closure: function _TimePickerDefaultsM2_dayPeriodColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM2_dayPeriodTextColor_closure: function _TimePickerDefaultsM2_dayPeriodTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM2_dialTextColor_closure: function _TimePickerDefaultsM2_dialTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM2_hourMinuteColor_closure: function _TimePickerDefaultsM2_hourMinuteColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM2_hourMinuteTextColor_closure: function _TimePickerDefaultsM2_hourMinuteTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM2__hourMinuteInputColor_closure: function _TimePickerDefaultsM2__hourMinuteInputColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3: function _TimePickerDefaultsM3(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; _.context = t0; _.___TimePickerDefaultsM3__textTheme_FI = _.___TimePickerDefaultsM3__colors_FI = $; _.backgroundColor = t1; _.cancelButtonStyle = t2; _.confirmButtonStyle = t3; _.dayPeriodBorderSide = t4; _._dayPeriodColor = t5; _.dayPeriodShape = t6; _.dayPeriodTextColor = t7; _.dayPeriodTextStyle = t8; _.dialBackgroundColor = t9; _.dialHandColor = t10; _.dialTextColor = t11; _.dialTextStyle = t12; _.elevation = t13; _.entryModeIconColor = t14; _.helpTextStyle = t15; _.hourMinuteColor = t16; _.hourMinuteShape = t17; _.hourMinuteTextColor = t18; _.hourMinuteTextStyle = t19; _.inputDecorationTheme = t20; _.padding = t21; _.shape = t22; }, _TimePickerDefaultsM3_dayPeriodColor_closure: function _TimePickerDefaultsM3_dayPeriodColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3_dayPeriodTextColor_closure: function _TimePickerDefaultsM3_dayPeriodTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3_dialTextColor_closure: function _TimePickerDefaultsM3_dialTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3_helpTextStyle_closure: function _TimePickerDefaultsM3_helpTextStyle_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3_hourMinuteColor_closure: function _TimePickerDefaultsM3_hourMinuteColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3_hourMinuteTextColor_closure: function _TimePickerDefaultsM3_hourMinuteTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3__hourMinuteTextColor_closure: function _TimePickerDefaultsM3__hourMinuteTextColor_closure(t0) { this.$this = t0; }, _TimePickerDefaultsM3_hourMinuteTextStyle_closure: function _TimePickerDefaultsM3_hourMinuteTextStyle_closure(t0) { this.$this = t0; }, __HourMinuteTextFieldState_State_RestorationMixin_dispose_closure: function __HourMinuteTextFieldState_State_RestorationMixin_dispose_closure() { }, __TimePickerDialogState_State_RestorationMixin_dispose_closure: function __TimePickerDialogState_State_RestorationMixin_dispose_closure() { }, __TimePickerInputState_State_RestorationMixin_dispose_closure: function __TimePickerInputState_State_RestorationMixin_dispose_closure() { }, __TimePickerState_State_RestorationMixin_dispose_closure: function __TimePickerState_State_RestorationMixin_dispose_closure() { }, __DialState_State_SingleTickerProviderStateMixin: function __DialState_State_SingleTickerProviderStateMixin() { }, __HourMinuteTextFieldState_State_RestorationMixin: function __HourMinuteTextFieldState_State_RestorationMixin() { }, __TimePickerDialogState_State_RestorationMixin: function __TimePickerDialogState_State_RestorationMixin() { }, __TimePickerInputState_State_RestorationMixin: function __TimePickerInputState_State_RestorationMixin() { }, __TimePickerState_State_RestorationMixin: function __TimePickerState_State_RestorationMixin() { }, TimePickerThemeData$(backgroundColor, cancelButtonStyle, confirmButtonStyle, dayPeriodBorderSide, dayPeriodColor, dayPeriodShape, dayPeriodTextColor, dayPeriodTextStyle, dialBackgroundColor, dialHandColor, dialTextColor, dialTextStyle, elevation, entryModeIconColor, helpTextStyle, hourMinuteColor, hourMinuteShape, hourMinuteTextColor, hourMinuteTextStyle, inputDecorationTheme, padding, shape) { return new A.TimePickerThemeData(backgroundColor, cancelButtonStyle, confirmButtonStyle, dayPeriodBorderSide, dayPeriodColor, dayPeriodShape, dayPeriodTextColor, dayPeriodTextStyle, dialBackgroundColor, dialHandColor, dialTextColor, dialTextStyle, elevation, entryModeIconColor, helpTextStyle, hourMinuteColor, hourMinuteShape, hourMinuteTextColor, hourMinuteTextStyle, inputDecorationTheme, padding, shape); }, TimePickerThemeData_lerp(a, b, t) { var lerpedBorderSide, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20; if (a === b && true) return a; lerpedBorderSide = a.dayPeriodBorderSide; if (lerpedBorderSide == null) t1 = b.dayPeriodBorderSide == null; else t1 = false; if (t1) lerpedBorderSide = null; else if (lerpedBorderSide == null) lerpedBorderSide = b.dayPeriodBorderSide; else { t1 = b.dayPeriodBorderSide; if (!(t1 == null)) { lerpedBorderSide.toString; t1.toString; lerpedBorderSide = A.BorderSide_lerp(lerpedBorderSide, t1, t); } } t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t2 = A.ButtonStyle_lerp(a.cancelButtonStyle, b.cancelButtonStyle, t); t3 = A.ButtonStyle_lerp(a.confirmButtonStyle, b.confirmButtonStyle, t); t4 = a.get$dayPeriodColor(); t5 = b.get$dayPeriodColor(); t4 = A.Color_lerp(t4, t5, t); t5 = type$.nullable_OutlinedBorder._as(A.ShapeBorder_lerp(a.dayPeriodShape, b.dayPeriodShape, t)); t6 = A.Color_lerp(a.dayPeriodTextColor, b.dayPeriodTextColor, t); t7 = A.TextStyle_lerp(a.dayPeriodTextStyle, b.dayPeriodTextStyle, t); t8 = A.Color_lerp(a.dialBackgroundColor, b.dialBackgroundColor, t); t9 = A.Color_lerp(a.dialHandColor, b.dialHandColor, t); t10 = A.Color_lerp(a.dialTextColor, b.dialTextColor, t); t11 = A.TextStyle_lerp(a.dialTextStyle, b.dialTextStyle, t); t12 = A.lerpDouble(a.elevation, b.elevation, t); t13 = A.Color_lerp(a.entryModeIconColor, b.entryModeIconColor, t); t14 = A.TextStyle_lerp(a.helpTextStyle, b.helpTextStyle, t); t15 = A.Color_lerp(a.hourMinuteColor, b.hourMinuteColor, t); t16 = A.ShapeBorder_lerp(a.hourMinuteShape, b.hourMinuteShape, t); t17 = A.Color_lerp(a.hourMinuteTextColor, b.hourMinuteTextColor, t); t18 = A.TextStyle_lerp(a.hourMinuteTextStyle, b.hourMinuteTextStyle, t); if (t < 0.5) t19 = a.inputDecorationTheme; else t19 = b.inputDecorationTheme; t20 = A.EdgeInsetsGeometry_lerp(a.padding, b.padding, t); return A.TimePickerThemeData$(t1, t2, t3, lerpedBorderSide, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, A.ShapeBorder_lerp(a.shape, b.shape, t)); }, TimePickerTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.TimePickerTheme); t1 = A.Theme_of(context); return t1.timePickerTheme; }, TimePickerThemeData: function TimePickerThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.backgroundColor = t0; _.cancelButtonStyle = t1; _.confirmButtonStyle = t2; _.dayPeriodBorderSide = t3; _._dayPeriodColor = t4; _.dayPeriodShape = t5; _.dayPeriodTextColor = t6; _.dayPeriodTextStyle = t7; _.dialBackgroundColor = t8; _.dialHandColor = t9; _.dialTextColor = t10; _.dialTextStyle = t11; _.elevation = t12; _.entryModeIconColor = t13; _.helpTextStyle = t14; _.hourMinuteColor = t15; _.hourMinuteShape = t16; _.hourMinuteTextColor = t17; _.hourMinuteTextStyle = t18; _.inputDecorationTheme = t19; _.padding = t20; _.shape = t21; }, TimePickerThemeData_dayPeriodColor_closure: function TimePickerThemeData_dayPeriodColor_closure(t0) { this.$this = t0; }, _TimePickerThemeData_Object_Diagnosticable: function _TimePickerThemeData_Object_Diagnosticable() { }, ToggleButtons$(borderColor, children, color, constraints, isSelected, onPressed, renderBorder, selectedBorderColor, selectedColor) { return new A.ToggleButtons(children, isSelected, onPressed, constraints, color, selectedColor, renderBorder, borderColor, selectedBorderColor, null); }, ToggleButtons: function ToggleButtons(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.children = t0; _.isSelected = t1; _.onPressed = t2; _.constraints = t3; _.color = t4; _.selectedColor = t5; _.renderBorder = t6; _.borderColor = t7; _.selectedBorderColor = t8; _.key = t9; }, ToggleButtons_build_closure: function ToggleButtons_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.textDirection = t1; _.toggleButtonsTheme = t2; _.theme = t3; }, ToggleButtons_build__closure: function ToggleButtons_build__closure(t0, t1) { this.$this = t0; this.index = t1; }, _ResolveFillColor: function _ResolveFillColor(t0) { this.primary = t0; }, _DefaultFillColor: function _DefaultFillColor(t0) { this.colorScheme = t0; }, _ToggleButtonDefaultOverlay: function _ToggleButtonDefaultOverlay(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.selected = t0; _.unselected = t1; _.colorScheme = t2; _.focusColor = t3; _.highlightColor = t4; _.hoverColor = t5; _.splashColor = t6; }, _SelectToggleButton: function _SelectToggleButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.leadingBorderSide = t0; _.borderSide = t1; _.trailingBorderSide = t2; _.borderRadius = t3; _.isFirstButton = t4; _.isLastButton = t5; _.direction = t6; _.verticalDirection = t7; _.child = t8; _.key = t9; }, _SelectToggleButtonRenderObject: function _SelectToggleButtonRenderObject(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._toggle_buttons$_direction = t0; _._toggle_buttons$_verticalDirection = t1; _._leadingBorderSide = t2; _._borderSide = t3; _._trailingBorderSide = t4; _._toggle_buttons$_borderRadius = t5; _._isFirstButton = t6; _._isLastButton = t7; _._toggle_buttons$_textDirection = t8; _.RenderObjectWithChildMixin__child = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _InputPadding1: function _InputPadding1(t0, t1, t2, t3) { var _ = this; _.minSize = t0; _.direction = t1; _.child = t2; _.key = t3; }, _RenderInputPadding1: function _RenderInputPadding1(t0, t1, t2, t3) { var _ = this; _._toggle_buttons$_minSize = t0; _._toggle_buttons$_direction = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderInputPadding_hitTest_closure1: function _RenderInputPadding_hitTest_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, __DefaultFillColor_MaterialStateProperty_Diagnosticable: function __DefaultFillColor_MaterialStateProperty_Diagnosticable() { }, __ResolveFillColor_MaterialStateProperty_Diagnosticable: function __ResolveFillColor_MaterialStateProperty_Diagnosticable() { }, ToggleButtonsThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14; if (a === b) return a; t1 = A.TextStyle_lerp(a.textStyle, b.textStyle, t); t2 = A.BoxConstraints_lerp(a.constraints, b.constraints, t); t3 = A.Color_lerp(a.color, b.color, t); t4 = A.Color_lerp(a.selectedColor, b.selectedColor, t); t5 = A.Color_lerp(a.disabledColor, b.disabledColor, t); t6 = A.Color_lerp(a.fillColor, b.fillColor, t); t7 = A.Color_lerp(a.focusColor, b.focusColor, t); t8 = A.Color_lerp(a.highlightColor, b.highlightColor, t); t9 = A.Color_lerp(a.hoverColor, b.hoverColor, t); t10 = A.Color_lerp(a.splashColor, b.splashColor, t); t11 = A.Color_lerp(a.borderColor, b.borderColor, t); t12 = A.Color_lerp(a.selectedBorderColor, b.selectedBorderColor, t); t13 = A.Color_lerp(a.disabledBorderColor, b.disabledBorderColor, t); t14 = A.BorderRadius_lerp(a.borderRadius, b.borderRadius, t); return new A.ToggleButtonsThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t10, t9, t11, t12, t13, A.lerpDouble(a.borderWidth, b.borderWidth, t), t14); }, 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() { }, ToggleableStateMixin0: function ToggleableStateMixin0() { }, ToggleableStateMixin__handleTapDown_closure: function ToggleableStateMixin__handleTapDown_closure(t0, t1) { this.$this = t0; this.details = t1; }, ToggleableStateMixin__handleTapEnd_closure: function ToggleableStateMixin__handleTapEnd_closure(t0) { this.$this = t0; }, ToggleableStateMixin__handleFocusHighlightChanged_closure: function ToggleableStateMixin__handleFocusHighlightChanged_closure(t0, t1) { this.$this = t0; this.focused = t1; }, ToggleableStateMixin__handleHoverChanged_closure: function ToggleableStateMixin__handleHoverChanged_closure(t0, t1) { this.$this = t0; this.hovering = t1; }, ToggleablePainter0: function ToggleablePainter0() { }, _ExclusiveMouseRegion$(child, onEnter, onExit) { return new A._ExclusiveMouseRegion(onEnter, null, onExit, B.C__DeferringMouseCursor, null, child, null); }, Tooltip$(child, message) { return new A.Tooltip(message, child, null); }, Tooltip_dismissAllToolTips() { var openedTooltips, t1, _i; if ($.Tooltip__openedTooltips.length !== 0) { openedTooltips = A._setArrayType($.Tooltip__openedTooltips.slice(0), A._arrayInstanceType($.Tooltip__openedTooltips)); for (t1 = openedTooltips.length, _i = 0; _i < openedTooltips.length; openedTooltips.length === t1 || (0, A.throwConcurrentModificationError)(openedTooltips), ++_i) openedTooltips[_i]._scheduleDismissTooltip$1$withDelay(B.Duration_0); return true; } return false; }, TooltipState__isTooltipVisible($status) { var t1; $label0$0: { if (B.AnimationStatus_3 === $status || B.AnimationStatus_1 === $status || B.AnimationStatus_2 === $status) { t1 = true; break $label0$0; } if (B.AnimationStatus_0 === $status) { t1 = false; break $label0$0; } throw A.wrapException(A.ReachabilityError$(string$.None_o)); } return t1; }, TooltipState__getDefaultFontSize(platform) { var t1; $label0$0: { if (B.TargetPlatform_4 === platform || B.TargetPlatform_3 === platform || B.TargetPlatform_5 === platform) { t1 = 12; break $label0$0; } if (B.TargetPlatform_0 === platform || B.TargetPlatform_1 === platform || B.TargetPlatform_2 === platform) { t1 = 14; break $label0$0; } throw A.wrapException(A.ReachabilityError$(string$.None_o)); } return t1; }, _ExclusiveMouseRegion: function _ExclusiveMouseRegion(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.onEnter = t0; _.onHover = t1; _.onExit = t2; _.cursor = t3; _.hitTestBehavior = t4; _.child = t5; _.key = t6; }, _RenderExclusiveMouseRegion: function _RenderExclusiveMouseRegion(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._proxy_box$_opaque = t0; _.onEnter = t1; _.onHover = t2; _.onExit = t3; _._cursor = t4; _._validForMouseTracker = true; _.behavior = t5; _.RenderObjectWithChildMixin__child = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, Tooltip: function Tooltip(t0, t1, t2) { this.message = t0; this.child = t1; this.key = t2; }, TooltipState: function TooltipState(t0, t1, t2, t3, t4, t5) { var _ = this; _._overlayController = t0; _.__TooltipState__tooltipTheme_A = _.__TooltipState__visible_A = $; _._tapRecognizer = _._longPressRecognizer = _._backingController = _._tooltip$_timer = null; _._activeHoveringPointerDevices = t1; _._animationStatus = t2; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, TooltipState__scheduleShowTooltip_show: function TooltipState__scheduleShowTooltip_show(t0, t1) { this.$this = t0; this.showDuration = t1; }, _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, t11, t12, t13) { var _ = this; _.richMessage = t0; _.height = t1; _.padding = t2; _.margin = t3; _.decoration = t4; _.textStyle = t5; _.textAlign = t6; _.animation = t7; _.target = t8; _.verticalOffset = t9; _.preferBelow = t10; _.onEnter = t11; _.onExit = t12; _.key = t13; }, _TooltipState_State_SingleTickerProviderStateMixin: function _TooltipState_State_SingleTickerProviderStateMixin() { }, TooltipThemeData$(decoration, excludeFromSemantics, height, margin, padding, preferBelow, textAlign, textStyle, verticalOffset, waitDuration) { return new A.TooltipThemeData(height, padding, margin, verticalOffset, preferBelow, excludeFromSemantics, decoration, textStyle, textAlign, waitDuration); }, TooltipThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9; if (a === b) return a; t1 = A.lerpDouble(a.height, b.height, t); t2 = A.EdgeInsetsGeometry_lerp(a.padding, b.padding, t); t3 = A.EdgeInsetsGeometry_lerp(a.margin, b.margin, t); t4 = A.lerpDouble(a.verticalOffset, b.verticalOffset, t); t5 = t < 0.5; if (t5) t6 = a.preferBelow; else t6 = b.preferBelow; if (t5) t7 = a.excludeFromSemantics; else t7 = b.excludeFromSemantics; t8 = A.Decoration_lerp(a.decoration, b.decoration, t); t9 = A.TextStyle_lerp(a.textStyle, b.textStyle, t); if (t5) t5 = a.textAlign; else t5 = b.textAlign; return A.TooltipThemeData$(t8, t7, t1, t3, t2, t6, t5, t9, t4, null); }, TooltipThemeData: function TooltipThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.height = t0; _.padding = t1; _.margin = t2; _.verticalOffset = t3; _.preferBelow = t4; _.excludeFromSemantics = t5; _.decoration = t6; _.textStyle = t7; _.textAlign = t8; _.waitDuration = t9; }, _TooltipThemeData_Object_Diagnosticable: function _TooltipThemeData_Object_Diagnosticable() { }, Typography_Typography$material2014(platform) { return A.Typography_Typography$_withPlatform(platform, null, null, B.TextTheme_miO, B.TextTheme_i7B, B.TextTheme_eZ8); }, Typography_Typography$_withPlatform(platform, black, white, englishLike, dense, tall) { switch (platform) { case B.TargetPlatform_2: black = B.TextTheme_V0W; white = B.TextTheme_ato; break; case B.TargetPlatform_0: case B.TargetPlatform_1: black = B.TextTheme_BCG; white = B.TextTheme_yTp; break; case B.TargetPlatform_5: black = B.TextTheme_mDg; white = B.TextTheme_P12; break; case B.TargetPlatform_4: black = B.TextTheme_2jN; white = B.TextTheme_E6J; break; case B.TargetPlatform_3: black = B.TextTheme_FOl; white = B.TextTheme_wEo; break; case null: case void 0: break; } black.toString; white.toString; return new A.Typography(black, white, englishLike, dense, tall); }, Typography_lerp(a, b, t) { if (a === b) return a; return new A.Typography(A.TextTheme_lerp(a.black, b.black, t), A.TextTheme_lerp(a.white, b.white, t), A.TextTheme_lerp(a.englishLike, b.englishLike, t), A.TextTheme_lerp(a.dense, b.dense, t), A.TextTheme_lerp(a.tall, b.tall, t)); }, ScriptCategory: function ScriptCategory(t0, t1) { this.index = t0; this._core$_name = t1; }, Typography: function Typography(t0, t1, t2, t3, t4) { var _ = this; _.black = t0; _.white = t1; _.englishLike = t2; _.dense = t3; _.tall = t4; }, _Typography_Object_Diagnosticable: function _Typography_Object_Diagnosticable() { }, _httpClient() { return new self.XMLHttpRequest(); }, NetworkImage: function NetworkImage(t0, t1, t2) { this.url = t0; this.scale = t1; this.headers = t2; }, NetworkImage__loadAsync_closure: function NetworkImage__loadAsync_closure(t0) { this.request = t0; }, NetworkImage__loadAsync_closure0: function NetworkImage__loadAsync_closure0(t0, t1, t2) { this.request = t0; this.completer = t1; this.resolved = t2; }, NetworkImage__loadAsync_closure1: function NetworkImage__loadAsync_closure1(t0) { this.completer = t0; }, NetworkImage__loadAsync_closure2: function NetworkImage__loadAsync_closure2(t0) { this.chunkEvents = t0; }, AlignmentGeometry_lerp(a, b, t) { var t1, t2, t3; if (a == b) return a; if (a == null) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); if (a instanceof A.Alignment && b instanceof A.Alignment) return A.Alignment_lerp(a, b, t); if (a instanceof A.AlignmentDirectional && b instanceof A.AlignmentDirectional) return A.AlignmentDirectional_lerp(a, b, t); t1 = A.lerpDouble(a.get$_x(), b.get$_x(), t); t1.toString; t2 = A.lerpDouble(a.get$_alignment$_start(a), b.get$_alignment$_start(b), t); t2.toString; t3 = A.lerpDouble(a.get$_y(), b.get$_y(), t); t3.toString; return new A._MixedAlignment(t1, t2, t3); }, Alignment_lerp(a, b, t) { var t1, t2; if (a === b) return a; t1 = A.lerpDouble(a.x, b.x, t); t1.toString; t2 = A.lerpDouble(a.y, b.y, t); t2.toString; return new A.Alignment(t1, t2); }, Alignment__stringify(x, y) { var t2, t3, t1 = x === -1; if (t1 && y === -1) return "Alignment.topLeft"; t2 = x === 0; if (t2 && y === -1) return "Alignment.topCenter"; t3 = x === 1; if (t3 && y === -1) return "Alignment.topRight"; if (t1 && y === 0) return "Alignment.centerLeft"; if (t2 && y === 0) return "Alignment.center"; if (t3 && y === 0) return "Alignment.centerRight"; if (t1 && y === 1) return "Alignment.bottomLeft"; if (t2 && y === 1) return "Alignment.bottomCenter"; if (t3 && y === 1) return "Alignment.bottomRight"; return "Alignment(" + B.JSNumber_methods.toStringAsFixed$1(x, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(y, 1) + ")"; }, AlignmentDirectional_lerp(a, b, t) { var t1, t2; if (a === b) return a; t1 = A.lerpDouble(a.start, b.start, t); t1.toString; t2 = A.lerpDouble(a.y, b.y, t); t2.toString; return new A.AlignmentDirectional(t1, t2); }, AlignmentDirectional__stringify(start, y) { var t2, t3, t1 = start === -1; if (t1 && y === -1) return "AlignmentDirectional.topStart"; t2 = start === 0; if (t2 && y === -1) return "AlignmentDirectional.topCenter"; t3 = start === 1; if (t3 && y === -1) return "AlignmentDirectional.topEnd"; if (t1 && y === 0) return "AlignmentDirectional.centerStart"; if (t2 && y === 0) return "AlignmentDirectional.center"; if (t3 && y === 0) return "AlignmentDirectional.centerEnd"; if (t1 && y === 1) return "AlignmentDirectional.bottomStart"; if (t2 && y === 1) return "AlignmentDirectional.bottomCenter"; if (t3 && y === 1) return "AlignmentDirectional.bottomEnd"; return "AlignmentDirectional(" + B.JSNumber_methods.toStringAsFixed$1(start, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(y, 1) + ")"; }, AlignmentGeometry: function AlignmentGeometry() { }, Alignment: function Alignment(t0, t1) { this.x = t0; this.y = t1; }, AlignmentDirectional: function AlignmentDirectional(t0, t1) { this.start = t0; this.y = t1; }, _MixedAlignment: function _MixedAlignment(t0, t1, t2) { this._x = t0; this._alignment$_start = t1; this._y = t2; }, TextAlignVertical: function TextAlignVertical(t0) { this.y = t0; }, flipAxis(direction) { switch (direction.index) { case 0: return B.Axis_1; case 1: return B.Axis_0; } }, axisDirectionToAxis(axisDirection) { switch (axisDirection.index) { case 0: case 2: return B.Axis_1; case 3: case 1: return B.Axis_0; } }, textDirectionToAxisDirection(textDirection) { switch (textDirection.index) { case 0: return B.AxisDirection_3; case 1: return B.AxisDirection_1; } }, flipAxisDirection(axisDirection) { switch (axisDirection.index) { case 0: return B.AxisDirection_2; case 1: return B.AxisDirection_3; case 2: return B.AxisDirection_0; case 3: return B.AxisDirection_1; } }, axisDirectionIsReversed(axisDirection) { switch (axisDirection.index) { case 0: case 3: return true; case 2: case 1: return false; } }, RenderComparison: function RenderComparison(t0, t1) { this.index = t0; this._core$_name = t1; }, Axis0: function Axis0(t0, t1) { this.index = t0; this._core$_name = t1; }, VerticalDirection: function VerticalDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, AxisDirection: function AxisDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, PaintingBinding: function PaintingBinding() { }, _SystemFontsNotifier: function _SystemFontsNotifier(t0) { this._systemFontsCallbacks = t0; }, BorderRadiusGeometry_lerp(a, b, t) { if (a == b) return a; if (a == null) a = B.BorderRadius_tLn0; return a.add$1(0, (b == null ? B.BorderRadius_tLn0 : b).subtract$1(a).$mul(0, t)); }, BorderRadius$all(radius) { return new A.BorderRadius(radius, radius, radius, radius); }, BorderRadius$circular(radius) { var t1 = new A.Radius(radius, radius); return new A.BorderRadius(t1, t1, t1, t1); }, BorderRadius_lerp(a, b, t) { var t1, t2, t3, t4; if (a == b) return a; if (a == null) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); t1 = A.Radius_lerp(a.topLeft, b.topLeft, t); t1.toString; t2 = A.Radius_lerp(a.topRight, b.topRight, t); t2.toString; t3 = A.Radius_lerp(a.bottomLeft, b.bottomLeft, t); t3.toString; t4 = A.Radius_lerp(a.bottomRight, b.bottomRight, t); t4.toString; return new A.BorderRadius(t1, t2, t3, t4); }, BorderRadiusGeometry: function BorderRadiusGeometry() { }, BorderRadius: function BorderRadius(t0, t1, t2, t3) { var _ = this; _.topLeft = t0; _.topRight = t1; _.bottomLeft = t2; _.bottomRight = t3; }, BorderRadiusDirectional: function BorderRadiusDirectional(t0, t1, t2, t3) { var _ = this; _.topStart = t0; _.topEnd = t1; _.bottomStart = t2; _.bottomEnd = t3; }, _MixedBorderRadius: function _MixedBorderRadius(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._topLeft = t0; _._topRight = t1; _._bottomLeft = t2; _._bottomRight = t3; _._topStart = t4; _._topEnd = t5; _._bottomStart = t6; _._bottomEnd = t7; }, BorderSide_merge(a, b) { var t1 = a.style, aIsNone = t1 === B.BorderStyle_0 && a.width === 0, bIsNone = b.style === B.BorderStyle_0 && b.width === 0; if (aIsNone && bIsNone) return B.BorderSide_8xm; if (aIsNone) return b; if (bIsNone) return a; return new A.BorderSide(a.color, a.width + b.width, t1, Math.max(a.strokeAlign, b.strokeAlign)); }, BorderSide_canMerge(a, b) { var t2, t1 = a.style; if (!(t1 === B.BorderStyle_0 && a.width === 0)) t2 = b.style === B.BorderStyle_0 && b.width === 0; else t2 = true; if (t2) return true; return t1 === b.style && a.color.$eq(0, b.color); }, BorderSide_lerp(a, b, t) { var t1, t2, t3, colorA, colorB, t4; if (a === b) return a; if (t === 0) return a; if (t === 1) return b; t1 = A.lerpDouble(a.width, b.width, t); t1.toString; if (t1 < 0) return B.BorderSide_8xm; t2 = a.style; t3 = b.style; if (t2 === t3 && a.strokeAlign === b.strokeAlign) { t3 = A.Color_lerp(a.color, b.color, t); t3.toString; return new A.BorderSide(t3, t1, t2, a.strokeAlign); } switch (t2.index) { case 1: colorA = a.color; break; case 0: t2 = a.color; colorA = A.Color$fromARGB(0, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); break; default: colorA = null; } switch (t3.index) { case 1: colorB = b.color; break; case 0: t2 = b.color; colorB = A.Color$fromARGB(0, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); break; default: colorB = null; } t2 = a.strokeAlign; t3 = b.strokeAlign; if (t2 !== t3) { t4 = A.Color_lerp(colorA, colorB, t); t4.toString; t3 = A.lerpDouble(t2, t3, t); t3.toString; return new A.BorderSide(t4, t1, B.BorderStyle_1, t3); } t3 = A.Color_lerp(colorA, colorB, t); t3.toString; return new A.BorderSide(t3, t1, B.BorderStyle_1, t2); }, ShapeBorder_lerp(a, b, t) { var result, t1; if (a == b) return a; 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; }, OutlinedBorder_lerp(a, b, t) { var result, t1; if (a == b) return a; 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(a, b, t) { var t1, index, localA, localB, t2, localResult, aList = a instanceof A._CompoundBorder ? a.borders : A._setArrayType([a], type$.JSArray_nullable_ShapeBorder), bList = b instanceof A._CompoundBorder ? b.borders : A._setArrayType([b], type$.JSArray_nullable_ShapeBorder), results = A._setArrayType([], type$.JSArray_ShapeBorder), $length = Math.max(aList.length, bList.length); for (t1 = 1 - t, index = 0; index < $length; ++index) { localA = index < aList.length ? aList[index] : null; localB = index < bList.length ? bList[index] : null; t2 = localA != null; if (t2 && 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 (t2) results.push(localA.scale$1(0, t1)); } return new A._CompoundBorder(results); }, paintBorder(canvas, rect, bottom, left, right, $top) { var path, t2, t3, t4, t1 = $.$get$_renderer(), paint = t1.createPaint$0(); paint.set$strokeWidth(0); path = t1.createPath$0(); switch ($top.style.index) { case 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, B.PaintingStyle_1); else { paint.set$style(0, B.PaintingStyle_0); t2 += t4; path.lineTo$2(0, t3 - right.width, t2); path.lineTo$2(0, t1 + left.width, t2); } canvas.drawPath$2(path, paint); break; case 0: break; } switch (right.style.index) { case 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, B.PaintingStyle_1); else { paint.set$style(0, B.PaintingStyle_0); t1 -= t4; path.lineTo$2(0, t1, t3 - bottom.width); path.lineTo$2(0, t1, t2 + $top.width); } canvas.drawPath$2(path, paint); break; case 0: break; } switch (bottom.style.index) { case 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, B.PaintingStyle_1); else { paint.set$style(0, B.PaintingStyle_0); t2 -= t4; path.lineTo$2(0, t3 + left.width, t2); path.lineTo$2(0, t1 - right.width, t2); } canvas.drawPath$2(path, paint); break; case 0: break; } switch (left.style.index) { case 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, B.PaintingStyle_1); else { paint.set$style(0, B.PaintingStyle_0); t1 += t4; path.lineTo$2(0, t1, t3 + $top.width); path.lineTo$2(0, t1, t2 - bottom.width); } canvas.drawPath$2(path, paint); break; case 0: break; } }, BorderStyle: function BorderStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, BorderSide: function BorderSide(t0, t1, t2, t3) { var _ = this; _.color = t0; _.width = t1; _.style = t2; _.strokeAlign = t3; }, 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_preferPaintInterior_closure: function _CompoundBorder_preferPaintInterior_closure() { }, _CompoundBorder_toString_closure: function _CompoundBorder_toString_closure() { }, _BorderSide_Object_Diagnosticable: function _BorderSide_Object_Diagnosticable() { }, BoxBorder_lerp(a, b, t) { var t1, t0, t2; if (a == b) return a; t1 = type$.nullable_Border; if (t1._is(a) && t1._is(b)) return A.Border_lerp(a, b, t); t1 = type$.nullable_BorderDirectional; if (t1._is(a) && t1._is(b)) return A.BorderDirectional_lerp(a, b, t); if (b instanceof A.Border && a instanceof A.BorderDirectional) { t = 1 - t; t0 = b; b = a; a = t0; } if (a instanceof A.Border && b instanceof A.BorderDirectional) { t1 = b.start; if (t1.$eq(0, B.BorderSide_8xm) && b.end.$eq(0, B.BorderSide_8xm)) return new A.Border(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(a.right, B.BorderSide_8xm, t), A.BorderSide_lerp(a.bottom, b.bottom, t), A.BorderSide_lerp(a.left, B.BorderSide_8xm, t)); t2 = a.left; if (t2.$eq(0, B.BorderSide_8xm) && a.right.$eq(0, B.BorderSide_8xm)) return new A.BorderDirectional(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(B.BorderSide_8xm, t1, t), A.BorderSide_lerp(B.BorderSide_8xm, b.end, t), A.BorderSide_lerp(a.bottom, b.bottom, t)); if (t < 0.5) { t1 = t * 2; return new A.Border(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(a.right, B.BorderSide_8xm, t1), A.BorderSide_lerp(a.bottom, b.bottom, t), A.BorderSide_lerp(t2, B.BorderSide_8xm, t1)); } t2 = (t - 0.5) * 2; return new A.BorderDirectional(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(B.BorderSide_8xm, t1, t2), A.BorderSide_lerp(B.BorderSide_8xm, b.end, t2), A.BorderSide_lerp(a.bottom, b.bottom, t)); } throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("BoxBorder.lerp can only interpolate Border and BorderDirectional classes."), A.ErrorDescription$("BoxBorder.lerp() was called with two objects of type " + J.get$runtimeType$(a).toString$0(0) + " and " + J.get$runtimeType$(b).toString$0(0) + ":\n " + A.S(a) + "\n " + A.S(b) + "\nHowever, only Border and BorderDirectional classes are supported by this method."), A.ErrorHint$("For a more general interpolation method, consider using ShapeBorder.lerp instead.")], type$.JSArray_DiagnosticsNode))); }, BoxBorder__paintUniformBorderWithRadius(canvas, rect, side, borderRadius) { var borderRect, inner, paint = $.$get$_renderer().createPaint$0(); paint.set$color(0, side.color); if (side.width === 0) { paint.set$style(0, B.PaintingStyle_1); paint.set$strokeWidth(0); canvas.drawRRect$2(borderRadius.toRRect$1(rect), paint); } else { borderRect = borderRadius.toRRect$1(rect); inner = borderRect.inflate$1(-side.get$strokeInset()); canvas.drawDRRect$3(borderRect.inflate$1(side.get$strokeOutset()), inner, paint); } }, BoxBorder_paintNonUniformBorder(canvas, rect, borderRadius, bottom, color, left, right, shape, textDirection, $top) { var borderRect, t1, paint, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, inner; switch (shape.index) { case 0: borderRect = (borderRadius == null ? B.BorderRadius_tLn0 : borderRadius).toRRect$1(rect); break; case 1: t1 = rect.right - rect.left; borderRect = A.RRect$fromRectAndRadius(A.Rect$fromCircle(rect.get$center(), rect.get$shortestSide() / 2), new A.Radius(t1, t1)); break; default: borderRect = null; } paint = $.$get$_renderer().createPaint$0(); paint.set$color(0, color); t1 = left.get$strokeInset(); t2 = $top.get$strokeInset(); t3 = right.get$strokeInset(); t4 = bottom.get$strokeInset(); t5 = borderRect.left; t6 = borderRect.top; t7 = borderRect.right; t8 = borderRect.bottom; t9 = borderRect.tlRadiusX; t10 = borderRect.tlRadiusY; t11 = new A.Radius(t9, t10).$sub(0, new A.Radius(t1, t2)).clamp$1$minimum(0, B.Radius_0_0); t12 = borderRect.trRadiusX; t13 = borderRect.trRadiusY; t14 = new A.Radius(t12, t13).$sub(0, new A.Radius(t3, t2)).clamp$1$minimum(0, B.Radius_0_0); t15 = borderRect.brRadiusX; t16 = borderRect.brRadiusY; t17 = new A.Radius(t15, t16).$sub(0, new A.Radius(t3, t4)).clamp$1$minimum(0, B.Radius_0_0); t18 = borderRect.blRadiusX; t19 = borderRect.blRadiusY; inner = A.RRect$fromLTRBAndCorners(t5 + t1, t6 + t2, t7 - t3, t8 - t4, new A.Radius(t18, t19).$sub(0, new A.Radius(t1, t4)).clamp$1$minimum(0, B.Radius_0_0), t17, t11, t14); t14 = left.get$strokeOutset(); t11 = $top.get$strokeOutset(); t17 = right.get$strokeOutset(); t4 = bottom.get$strokeOutset(); t10 = new A.Radius(t9, t10).$add(0, new A.Radius(t14, t11)).clamp$1$minimum(0, B.Radius_0_0); t13 = new A.Radius(t12, t13).$add(0, new A.Radius(t17, t11)).clamp$1$minimum(0, B.Radius_0_0); t16 = new A.Radius(t15, t16).$add(0, new A.Radius(t17, t4)).clamp$1$minimum(0, B.Radius_0_0); canvas.drawDRRect$3(A.RRect$fromLTRBAndCorners(t5 - t14, t6 - t11, t7 + t17, t8 + t4, new A.Radius(t18, t19).$add(0, new A.Radius(t14, t4)).clamp$1$minimum(0, B.Radius_0_0), t16, t10, t13), inner, paint); }, BoxBorder__paintUniformBorderWithCircle(canvas, rect, side) { var t1 = rect.get$shortestSide(); canvas.drawCircle$3(rect.get$center(), (t1 + side.width * side.strokeAlign) / 2, side.toPaint$0()); }, BoxBorder__paintUniformBorderWithRectangle(canvas, rect, side) { canvas.drawRect$2(rect.inflate$1(side.width * side.strokeAlign / 2), side.toPaint$0()); }, Border_Border$all(color, width) { var side = new A.BorderSide(color, width, B.BorderStyle_1, -1); return new A.Border(side, side, side, side); }, Border_lerp(a, b, t) { if (a == b) return a; if (a == null) return b.scale$1(0, t); if (b == null) return a.scale$1(0, 1 - t); return new A.Border(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(a.right, b.right, t), A.BorderSide_lerp(a.bottom, b.bottom, t), A.BorderSide_lerp(a.left, b.left, t)); }, BorderDirectional_lerp(a, b, t) { var t1, t2, t3; if (a == b) return a; if (a == null) return b.scale$1(0, t); if (b == null) return a.scale$1(0, 1 - t); t1 = A.BorderSide_lerp(a.top, b.top, t); t2 = A.BorderSide_lerp(a.end, b.end, t); t3 = A.BorderSide_lerp(a.bottom, b.bottom, t); return new A.BorderDirectional(t1, A.BorderSide_lerp(a.start, b.start, t), t2, t3); }, BoxShape: function BoxShape(t0, t1) { this.index = t0; this._core$_name = t1; }, BoxBorder: function BoxBorder() { }, Border: function Border(t0, t1, t2, t3) { var _ = this; _.top = t0; _.right = t1; _.bottom = t2; _.left = t3; }, BorderDirectional: function BorderDirectional(t0, t1, t2, t3) { var _ = this; _.top = t0; _.start = t1; _.end = t2; _.bottom = t3; }, BoxDecoration_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6; if (a === b) return a; if (t === 0) return a; if (t === 1) return b; t1 = A.Color_lerp(a.color, b.color, t); t2 = A.DecorationImage_lerp(a.image, b.image, t); t3 = A.BoxBorder_lerp(a.border, b.border, t); t4 = A.BorderRadiusGeometry_lerp(a.borderRadius, b.borderRadius, t); t5 = A.BoxShadow_lerpList(a.boxShadow, b.boxShadow, t); t6 = A.Gradient_lerp(a.gradient, b.gradient, t); return new A.BoxDecoration(t1, t2, t3, t4, t5, t6, t < 0.5 ? 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; }, applyBoxFit(fit, inputSize, outputSize) { var destinationSize, sourceSize, t2, t3, t4, aspectRatio, t1 = inputSize._dy; if (t1 <= 0 || inputSize._dx <= 0 || outputSize._dy <= 0 || outputSize._dx <= 0) return B.FittedSizes_46c; switch (fit.index) { case 0: destinationSize = outputSize; sourceSize = inputSize; break; case 1: t2 = outputSize._dx; t3 = outputSize._dy; t4 = inputSize._dx; destinationSize = t2 / t3 > t4 / t1 ? new A.Size(t4 * t3 / t1, t3) : new A.Size(t2, t1 * t2 / t4); sourceSize = inputSize; break; case 2: t2 = outputSize._dx; t3 = outputSize._dy; t4 = inputSize._dx; sourceSize = t2 / t3 > t4 / t1 ? new A.Size(t4, t4 * t3 / t2) : new A.Size(t1 * t2 / t3, t1); destinationSize = outputSize; break; case 3: t2 = outputSize._dx; t3 = outputSize._dy; t4 = inputSize._dx; if (t2 / t3 > t4 / t1) { sourceSize = new A.Size(t4, t4 * t3 / t2); destinationSize = outputSize; } else { destinationSize = new A.Size(t2, t1 * t2 / t4); sourceSize = inputSize; } break; case 4: t2 = outputSize._dx; t3 = outputSize._dy; t4 = inputSize._dx; if (t2 / t3 > t4 / t1) { destinationSize = new A.Size(t4 * t3 / t1, t3); sourceSize = inputSize; } else { sourceSize = new A.Size(t1 * t2 / t3, t1); destinationSize = outputSize; } break; case 5: sourceSize = new A.Size(Math.min(inputSize._dx, outputSize._dx), Math.min(t1, outputSize._dy)); destinationSize = sourceSize; break; case 6: aspectRatio = inputSize._dx / t1; t2 = outputSize._dy; destinationSize = t1 > t2 ? new A.Size(t2 * aspectRatio, t2) : inputSize; t1 = outputSize._dx; if (destinationSize._dx > t1) destinationSize = new A.Size(t1, t1 / aspectRatio); sourceSize = inputSize; break; default: sourceSize = null; destinationSize = null; } return new A.FittedSizes(sourceSize, destinationSize); }, BoxFit: function BoxFit(t0, t1) { this.index = t0; this._core$_name = t1; }, FittedSizes: function FittedSizes(t0, t1) { this.source = t0; this.destination = t1; }, BoxShadow_lerp(a, b, t) { var t1, t2, t3, t4, t5; if (a === b) return a; t1 = A.Color_lerp(a.color, b.color, t); t1.toString; t2 = A.Offset_lerp(a.offset, b.offset, t); t2.toString; t3 = A.lerpDouble(a.blurRadius, b.blurRadius, t); t3.toString; t4 = A.lerpDouble(a.spreadRadius, b.spreadRadius, t); t4.toString; t5 = a.blurStyle; return new A.BoxShadow(t4, t5 === B.BlurStyle_0 ? b.blurStyle : t5, t1, t2, t3); }, BoxShadow_lerpList(a, b, t) { var commonLength, t1, i, t2, t3, t4, t5, t6; if (a == null ? b == null : a === b) return a; if (a == null) a = A._setArrayType([], type$.JSArray_BoxShadow); if (b == null) b = A._setArrayType([], type$.JSArray_BoxShadow); commonLength = Math.min(a.length, b.length); t1 = A._setArrayType([], type$.JSArray_BoxShadow); for (i = 0; i < commonLength; ++i) t1.push(A.BoxShadow_lerp(a[i], b[i], t)); for (t2 = 1 - t, i = commonLength; i < a.length; ++i) { t3 = a[i]; t4 = t3.color; t5 = t3.offset; t6 = t3.blurRadius; t1.push(new A.BoxShadow(t3.spreadRadius * t2, t3.blurStyle, t4, new A.Offset(t5._dx * t2, t5._dy * t2), t6 * t2)); } for (i = commonLength; i < b.length; ++i) { t2 = b[i]; t3 = t2.color; t4 = t2.offset; t5 = t2.blurRadius; t1.push(new A.BoxShadow(t2.spreadRadius * t, t2.blurStyle, t3, new A.Offset(t4._dx * t, t4._dy * t), t5 * t)); } return t1; }, BoxShadow: function BoxShadow(t0, t1, t2, t3, t4) { var _ = this; _.spreadRadius = t0; _.blurStyle = t1; _.color = t2; _.offset = t3; _.blurRadius = t4; }, CircleBorder: function CircleBorder(t0, t1) { this.eccentricity = t0; this.side = t1; }, ClipContext: function ClipContext() { }, ClipContext_clipPathAndPaint_closure: function ClipContext_clipPathAndPaint_closure(t0, t1) { this.$this = t0; this.path = t1; }, ClipContext_clipRRectAndPaint_closure: function ClipContext_clipRRectAndPaint_closure(t0, t1) { this.$this = t0; this.rrect = t1; }, ClipContext_clipRectAndPaint_closure: function ClipContext_clipRectAndPaint_closure(t0, t1) { this.$this = t0; this.rect = t1; }, _colorFromHue(alpha, hue, chroma, secondary, match) { var green, red, blue; if (hue < 60) { green = secondary; red = chroma; blue = 0; } else if (hue < 120) { green = chroma; red = secondary; blue = 0; } else if (hue < 180) { blue = secondary; green = chroma; red = 0; } else if (hue < 240) { blue = chroma; green = secondary; red = 0; } else { if (hue < 300) { blue = chroma; red = secondary; } else { blue = secondary; red = chroma; } green = 0; } return A.Color$fromARGB(B.JSNumber_methods.round$0(alpha * 255), B.JSNumber_methods.round$0((red + match) * 255), B.JSNumber_methods.round$0((green + match) * 255), B.JSNumber_methods.round$0((blue + match) * 255)); }, HSLColor_HSLColor$fromColor(color) { var t2, lightness, saturation, red = (color.get$value(color) >>> 16 & 255) / 255, green = (color.get$value(color) >>> 8 & 255) / 255, blue = (color.get$value(color) & 255) / 255, max = Math.max(red, Math.max(green, blue)), min = Math.min(red, Math.min(green, blue)), delta = max - min, t1 = color.get$value(color), hue = A._Cell$named("hue"); if (max === 0) hue.__late_helper$_value = 0; else if (max === red) hue.__late_helper$_value = 60 * B.JSNumber_methods.$mod((green - blue) / delta, 6); else if (max === green) hue.__late_helper$_value = 60 * ((blue - red) / delta + 2); else if (max === blue) hue.__late_helper$_value = 60 * ((red - green) / delta + 4); hue.__late_helper$_value = isNaN(hue._readLocal$0()) ? 0 : hue._readLocal$0(); t2 = hue._readLocal$0(); lightness = (max + min) / 2; saturation = lightness === 1 ? 0 : A.clampDouble(delta / (1 - Math.abs(2 * lightness - 1)), 0, 1); return new A.HSLColor((t1 >>> 24 & 255) / 255, t2, saturation, lightness); }, HSLColor: function HSLColor(t0, t1, t2, t3) { var _ = this; _.alpha = t0; _.hue = t1; _.saturation = t2; _.lightness = t3; }, ColorSwatch: function ColorSwatch() { }, ImageSizeInfo: function ImageSizeInfo(t0, t1, t2) { this.source = t0; this.displaySize = t1; this.imageSize = t2; }, Decoration_lerp(a, b, t) { var t1, _null = null; if (a == b) return a; if (a == null) { t1 = b.lerpFrom$2(_null, t); return t1 == null ? b : t1; } if (b == null) { t1 = a.lerpTo$2(_null, t); return t1 == null ? a : t1; } if (t === 0) return a; if (t === 1) return b; t1 = b.lerpFrom$2(a, t); if (t1 == null) t1 = a.lerpTo$2(b, t); if (t1 == null) if (t < 0.5) { t1 = a.lerpTo$2(_null, t * 2); if (t1 == null) t1 = a; } else { t1 = b.lerpFrom$2(_null, (t - 0.5) * 2); if (t1 == null) t1 = b; } return t1; }, Decoration: function Decoration() { }, BoxPainter: function BoxPainter() { }, _Decoration_Object_Diagnosticable: function _Decoration_Object_Diagnosticable() { }, DecorationImage_lerp(a, b, t) { if (a == b || t === 0) return a; if (t === 1) return b; return new A._BlendedDecorationImage(a, b, t); }, paintImage(alignment, blendMode, canvas, centerSlice, colorFilter, debugImageLabel, filterQuality, fit, flipHorizontally, image, invertColors, isAntiAlias, opacity, rect, repeat, scale) { var t1, t2, t3, t4, outputSize, t5, t6, fittedSizes, sourceSize, destinationSize, paint, t7, halfWidthDelta, t8, halfHeightDelta, destinationRect, maxDevicePixelRatio, sizeInfo, existingSizeInfo, needSave, dx, sourceRect, _i; if (rect.get$isEmpty(0)) return; t1 = rect.left; t2 = rect.right - t1; t3 = rect.top; t4 = rect.bottom - t3; outputSize = new A.Size(t2, t4); t5 = image.get$width(image); t6 = image.get$height(image); if (fit == null) fit = B.BoxFit_6; fittedSizes = A.applyBoxFit(fit, new A.Size(t5, t6).$div(0, scale), outputSize); sourceSize = fittedSizes.source.$mul(0, scale); destinationSize = fittedSizes.destination; if (repeat !== B.ImageRepeat_3 && destinationSize.$eq(0, outputSize)) repeat = B.ImageRepeat_3; paint = $.$get$_renderer().createPaint$0(); paint.set$isAntiAlias(false); if (colorFilter != null) paint.set$colorFilter(colorFilter); paint.set$color(0, A.Color$fromRGBO(0, 0, 0, A.clampDouble(opacity, 0, 1))); paint.set$filterQuality(filterQuality); paint.set$invertColors(invertColors); paint.set$blendMode(blendMode); t7 = destinationSize._dx; halfWidthDelta = (t2 - t7) / 2; t8 = destinationSize._dy; halfHeightDelta = (t4 - t8) / 2; t4 = alignment.x; t4 = t1 + (halfWidthDelta + (flipHorizontally ? -t4 : t4) * halfWidthDelta); t3 += halfHeightDelta + alignment.y * halfHeightDelta; destinationRect = new A.Rect(t4, t3, t4 + t7, t3 + t8); $.PaintingBinding__instance.toString; maxDevicePixelRatio = $.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.get$values(0).fold$1$2(0, 0, new A.paintImage_closure(), type$.double); t3 = debugImageLabel == null ? "<Unknown Image(" + image.get$width(image) + "\xd7" + image.get$height(image) + ")>" : debugImageLabel; t4 = image.get$width(image); t7 = image.get$height(image); t8 = outputSize.$mul(0, maxDevicePixelRatio); sizeInfo = new A.ImageSizeInfo(t3, t8, new A.Size(t4, t7)); if (!$._lastFrameImageSizeInfo.contains$1(0, sizeInfo)) { existingSizeInfo = $._pendingImageSizeInfo.$index(0, t3); if (existingSizeInfo == null || existingSizeInfo._sizeToBytes$1(existingSizeInfo.displaySize) < sizeInfo._sizeToBytes$1(t8)) $._pendingImageSizeInfo.$indexSet(0, t3, sizeInfo); $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.paintImage_closure0()); } needSave = repeat !== B.ImageRepeat_3 || flipHorizontally; if (needSave) canvas.save$0(0); t3 = repeat === B.ImageRepeat_3; if (!t3) canvas.clipRect$1(rect); if (flipHorizontally) { dx = -(t1 + t2 / 2); canvas.translate$2(0, -dx, 0); canvas.scale$2(0, -1, 1); canvas.translate$2(0, dx, 0); } sourceRect = alignment.inscribe$2(sourceSize, new A.Rect(0, 0, t5, t6)); if (t3) canvas.drawImageRect$4(image, sourceRect, destinationRect, paint); else for (t1 = A._generateImageTileRects(rect, destinationRect, repeat), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) canvas.drawImageRect$4(image, sourceRect, t1[_i], paint); if (needSave) canvas.restore$0(0); }, _generateImageTileRects(outputRect, fundamentalRect, repeat) { var startX, stopX, startY, stopY, i, j, t1 = fundamentalRect.right, t2 = fundamentalRect.left, strideX = t1 - t2, t3 = fundamentalRect.bottom, t4 = fundamentalRect.top, strideY = t3 - t4, t5 = repeat !== B.ImageRepeat_0; if (!t5 || repeat === B.ImageRepeat_1) { startX = B.JSNumber_methods.floor$0((outputRect.left - t2) / strideX); stopX = B.JSNumber_methods.ceil$0((outputRect.right - t1) / strideX); } else { startX = 0; stopX = 0; } if (!t5 || repeat === B.ImageRepeat_2) { startY = B.JSNumber_methods.floor$0((outputRect.top - t4) / strideY); stopY = B.JSNumber_methods.ceil$0((outputRect.bottom - t3) / strideY); } else { startY = 0; stopY = 0; } t1 = A._setArrayType([], type$.JSArray_Rect); for (i = startX; i <= stopX; ++i) for (t2 = i * strideX, j = startY; j <= stopY; ++j) t1.push(fundamentalRect.shift$1(new A.Offset(t2, j * strideY))); return t1; }, ImageRepeat: function ImageRepeat(t0, t1) { this.index = t0; this._core$_name = t1; }, paintImage_closure: function paintImage_closure() { }, paintImage_closure0: function paintImage_closure0() { }, _BlendedDecorationImage: function _BlendedDecorationImage(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, _BlendedDecorationImagePainter: function _BlendedDecorationImagePainter(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, EdgeInsetsGeometry_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6; if (a == b) return a; if (a == null) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); if (a instanceof A.EdgeInsets && b instanceof A.EdgeInsets) return A.EdgeInsets_lerp(a, b, t); if (a instanceof A.EdgeInsetsDirectional && b instanceof A.EdgeInsetsDirectional) return A.EdgeInsetsDirectional_lerp(a, b, t); t1 = A.lerpDouble(a.get$_left(a), b.get$_left(b), t); t1.toString; t2 = A.lerpDouble(a.get$_right(a), b.get$_right(b), t); t2.toString; t3 = A.lerpDouble(a.get$_edge_insets$_start(a), b.get$_edge_insets$_start(b), t); t3.toString; t4 = A.lerpDouble(a.get$_edge_insets$_end(), b.get$_edge_insets$_end(), t); t4.toString; t5 = A.lerpDouble(a.get$_top(a), b.get$_top(b), t); t5.toString; t6 = A.lerpDouble(a.get$_bottom(a), b.get$_bottom(b), t); t6.toString; return new A._MixedEdgeInsets(t1, t2, t3, t4, t5, t6); }, EdgeInsets$fromViewPadding(padding, devicePixelRatio) { return new A.EdgeInsets(padding.left / devicePixelRatio, padding.top / devicePixelRatio, padding.right / devicePixelRatio, padding.bottom / devicePixelRatio); }, EdgeInsets_lerp(a, b, t) { var t1, t2, t3, t4; if (a == b) return a; if (a == null) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); t1 = A.lerpDouble(a.left, b.left, t); t1.toString; t2 = A.lerpDouble(a.top, b.top, t); t2.toString; t3 = A.lerpDouble(a.right, b.right, t); t3.toString; t4 = A.lerpDouble(a.bottom, b.bottom, t); t4.toString; return new A.EdgeInsets(t1, t2, t3, t4); }, EdgeInsetsDirectional_lerp(a, b, t) { var t1, t2, t3, t4; if (a === b) return a; t1 = A.lerpDouble(a.start, b.start, t); t1.toString; t2 = A.lerpDouble(a.top, b.top, t); t2.toString; t3 = A.lerpDouble(a.end, b.end, t); t3.toString; t4 = A.lerpDouble(a.bottom, b.bottom, t); t4.toString; return new A.EdgeInsetsDirectional(t1, t2, t3, t4); }, EdgeInsetsGeometry: function EdgeInsetsGeometry() { }, EdgeInsets: function EdgeInsets(t0, t1, t2, t3) { var _ = this; _.left = t0; _.top = t1; _.right = t2; _.bottom = t3; }, EdgeInsetsDirectional: function EdgeInsetsDirectional(t0, t1, t2, t3) { var _ = this; _.start = t0; _.top = t1; _.end = t2; _.bottom = t3; }, _MixedEdgeInsets: function _MixedEdgeInsets(t0, t1, t2, t3, t4, t5) { var _ = this; _._left = t0; _._right = t1; _._edge_insets$_start = t2; _._edge_insets$_end = t3; _._top = t4; _._bottom = t5; }, FractionalOffset$(dx, dy) { return new A.FractionalOffset(dx * 2 - 1, dy * 2 - 1); }, FractionalOffset: function FractionalOffset(t0, t1) { this.x = t0; this.y = t1; }, _sample(colors, stops, t) { var index, t1, t2, t3, t4; if (t <= B.JSArray_methods.get$first(stops)) return B.JSArray_methods.get$first(colors); if (t >= B.JSArray_methods.get$last(stops)) return B.JSArray_methods.get$last(colors); index = B.JSArray_methods.lastIndexWhere$1(stops, new A._sample_closure(t)); t1 = colors[index]; t2 = index + 1; t3 = colors[t2]; t4 = stops[index]; t4 = A.Color_lerp(t1, t3, (t - t4) / (stops[t2] - t4)); t4.toString; return t4; }, _interpolateColorsAndStops(aColors, aStops, bColors, bStops, t) { var interpolatedStops, t1, stops = A.SplayTreeSet$(null, null, type$.double); stops.addAll$1(0, aStops); stops.addAll$1(0, bStops); interpolatedStops = A.List_List$of(stops, false, stops.$ti._eval$1("SetBase.E")); t1 = A._arrayInstanceType(interpolatedStops)._eval$1("MappedListIterable<1,Color>"); return new A._ColorsAndStops(A.List_List$of(new A.MappedListIterable(interpolatedStops, new A._interpolateColorsAndStops_closure(aColors, aStops, bColors, bStops, t), t1), false, t1._eval$1("ListIterable.E")), interpolatedStops); }, Gradient_lerp(a, b, t) { var result; if (a == b) return a; result = b != null ? b.lerpFrom$2(a, t) : null; if (result == null && a != null) result = a.lerpTo$2(b, t); if (result != null) return result; return t < 0.5 ? a.scale$1(0, 1 - t * 2) : b.scale$1(0, (t - 0.5) * 2); }, LinearGradient_lerp(a, b, t) { var interpolated, t1, t2, t3; if (a == b) return a; if (a == null) return b.scale$1(0, t); if (b == null) return a.scale$1(0, 1 - t); interpolated = A._interpolateColorsAndStops(a.colors, a._impliedStops$0(), b.colors, b._impliedStops$0(), t); t1 = A.AlignmentGeometry_lerp(a.begin, b.begin, t); t1.toString; t2 = A.AlignmentGeometry_lerp(a.end, b.end, t); t2.toString; t3 = t < 0.5 ? a.tileMode : b.tileMode; return new A.LinearGradient(t1, t2, t3, interpolated.colors, interpolated.stops, null); }, _ColorsAndStops: function _ColorsAndStops(t0, t1) { this.colors = t0; this.stops = t1; }, _sample_closure: function _sample_closure(t0) { this.t = t0; }, _interpolateColorsAndStops_closure: function _interpolateColorsAndStops_closure(t0, t1, t2, t3, t4) { var _ = this; _.aColors = t0; _.aStops = t1; _.bColors = t2; _.bStops = t3; _.t = t4; }, Gradient: function Gradient() { }, LinearGradient: function LinearGradient(t0, t1, t2, t3, t4, t5) { var _ = this; _.begin = t0; _.end = t1; _.tileMode = t2; _.colors = t3; _.stops = t4; _.transform = t5; }, LinearGradient_scale_closure: function LinearGradient_scale_closure(t0) { this.factor = t0; }, _LiveImage$(completer, handleRemove) { var t1; if (completer._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); t1 = new A.ImageStreamCompleterHandle(completer); t1.ImageStreamCompleterHandle$_$1(completer); t1 = new A._LiveImage(completer, null, t1); t1._LiveImage$3$sizeBytes(completer, handleRemove, null); return t1; }, ImageCache: function ImageCache(t0, t1, t2) { var _ = this; _._pendingImages = t0; _._image_cache$_cache = t1; _._liveImages = t2; _._currentSizeBytes = 0; }, ImageCache__trackLiveImage_closure: function ImageCache__trackLiveImage_closure(t0, t1, t2) { this.$this = t0; this.completer = t1; this.key = t2; }, ImageCache__trackLiveImage__closure: function ImageCache__trackLiveImage__closure(t0, t1) { this.$this = t0; this.key = t1; }, ImageCache_putIfAbsent_listener: function ImageCache_putIfAbsent_listener(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.key = t2; _.trackPendingImage = t3; _.pendingImage = t4; }, _CachedImageBase: function _CachedImageBase() { }, _CachedImageBase_dispose_closure: function _CachedImageBase_dispose_closure(t0) { this.$this = t0; }, _CachedImage: function _CachedImage(t0, t1, t2) { this.completer = t0; this.sizeBytes = t1; this.handle = t2; }, _LiveImage: function _LiveImage(t0, t1, t2) { var _ = this; _.___LiveImage__handleRemove_A = $; _.completer = t0; _.sizeBytes = t1; _.handle = t2; }, _LiveImage_closure: function _LiveImage_closure(t0, t1) { this.$this = t0; this.handleRemove = t1; }, _PendingImage: function _PendingImage(t0, t1) { this.completer = t0; this.listener = t1; }, _AbstractImageStreamCompleter$() { return new A._AbstractImageStreamCompleter(A._setArrayType([], type$.JSArray_ImageStreamListener), A._setArrayType([], type$.JSArray_of_void_Function_2_Object_and_nullable_StackTrace), A._setArrayType([], type$.JSArray_of_void_Function)); }, ResizeImage_resizeIfNeeded(cacheWidth, cacheHeight, provider) { return provider; }, NetworkImageLoadException$(statusCode, uri) { return new A.NetworkImageLoadException("HTTP request failed, statusCode: " + statusCode + ", " + uri.toString$0(0)); }, ImageConfiguration: function ImageConfiguration(t0, t1, t2, t3, t4, t5) { var _ = this; _.bundle = t0; _.devicePixelRatio = t1; _.locale = t2; _.textDirection = t3; _.size = t4; _.platform = t5; }, ImageProvider: function ImageProvider() { }, ImageProvider_resolve_closure: function ImageProvider_resolve_closure(t0, t1, t2) { this.$this = t0; this.configuration = t1; this.stream = t2; }, ImageProvider_resolve_closure0: function ImageProvider_resolve_closure0(t0, t1, t2) { this.$this = t0; this.configuration = t1; this.stream = t2; }, ImageProvider__createErrorHandlerAndKey_handleError: function ImageProvider__createErrorHandlerAndKey_handleError(t0, t1) { this._box_0 = t0; this.errorCallback = t1; }, ImageProvider__createErrorHandlerAndKey_closure: function ImageProvider__createErrorHandlerAndKey_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.successCallback = t2; _.handleError = t3; }, ImageProvider_resolveStreamForKey_closure: function ImageProvider_resolveStreamForKey_closure(t0) { this.stream = t0; }, ImageProvider_resolveStreamForKey_closure0: function ImageProvider_resolveStreamForKey_closure0(t0, t1) { this.$this = t0; this.key = t1; }, _AbstractImageStreamCompleter: function _AbstractImageStreamCompleter(t0, t1, t2) { var _ = this; _._image_stream$_listeners = t0; _._ephemeralErrorListeners = t1; _.debugLabel = _._currentError = _._currentImage = null; _._addingInitialListeners = _._hadAtLeastOneListener = false; _._keepAliveHandles = 0; _._image_stream$_disposed = false; _._onLastListenerRemovedCallbacks = t2; }, AssetBundleImageKey: function AssetBundleImageKey(t0, t1, t2) { this.bundle = t0; this.name = t1; this.scale = t2; }, AssetBundleImageProvider: function AssetBundleImageProvider() { }, MemoryImage: function MemoryImage(t0, t1) { this.bytes = t0; this.scale = t1; }, _ErrorImageCompleter: function _ErrorImageCompleter(t0, t1, t2) { var _ = this; _._image_stream$_listeners = t0; _._ephemeralErrorListeners = t1; _.debugLabel = _._currentError = _._currentImage = null; _._addingInitialListeners = _._hadAtLeastOneListener = false; _._keepAliveHandles = 0; _._image_stream$_disposed = false; _._onLastListenerRemovedCallbacks = t2; }, NetworkImageLoadException: function NetworkImageLoadException(t0) { this._image_provider$_message = t0; }, AssetImage: function AssetImage(t0, t1, t2) { this.assetName = t0; this.bundle = t1; this.$package = t2; }, AssetImage_obtainKey_closure: function AssetImage_obtainKey_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.configuration = t2; _.chosenBundle = t3; }, AssetImage_obtainKey_closure0: function AssetImage_obtainKey_closure0(t0) { this._box_0 = t0; }, MultiFrameImageStreamCompleter$(chunkEvents, codec, debugLabel, informationCollector, scale) { var t1 = new A.MultiFrameImageStreamCompleter(scale, informationCollector, A._setArrayType([], type$.JSArray_ImageStreamListener), A._setArrayType([], type$.JSArray_of_void_Function_2_Object_and_nullable_StackTrace), A._setArrayType([], type$.JSArray_of_void_Function)); t1.MultiFrameImageStreamCompleter$5$chunkEvents$codec$debugLabel$informationCollector$scale(chunkEvents, codec, debugLabel, informationCollector, scale); return t1; }, ImageInfo: function ImageInfo(t0, t1, t2) { this.image = t0; this.scale = t1; this.debugLabel = t2; }, ImageStreamListener: function ImageStreamListener(t0, t1, t2) { this.onImage = t0; this.onChunk = t1; this.onError = t2; }, ImageChunkEvent: function ImageChunkEvent(t0, t1) { this.cumulativeBytesLoaded = t0; this.expectedTotalBytes = t1; }, ImageStream: function ImageStream() { this._image_stream$_listeners = this._image_stream$_completer = null; }, ImageStreamCompleterHandle: function ImageStreamCompleterHandle(t0) { this._image_stream$_completer = t0; }, ImageStreamCompleter: function ImageStreamCompleter() { }, ImageStreamCompleter_reportError_closure: function ImageStreamCompleter_reportError_closure() { }, ImageStreamCompleter_reportImageChunkEvent_closure: function ImageStreamCompleter_reportImageChunkEvent_closure() { }, MultiFrameImageStreamCompleter: function MultiFrameImageStreamCompleter(t0, t1, t2, t3, t4) { var _ = this; _._codec = _._chunkSubscription = null; _._image_stream$_scale = t0; _._informationCollector = t1; _._nextFrame = null; _.__MultiFrameImageStreamCompleter__shownTimestamp_A = $; _._frameDuration = null; _._framesEmitted = 0; _._image_stream$_timer = null; _._frameCallbackScheduled = false; _._image_stream$_listeners = t2; _._ephemeralErrorListeners = t3; _.debugLabel = _._currentError = _._currentImage = null; _._addingInitialListeners = _._hadAtLeastOneListener = false; _._keepAliveHandles = 0; _._image_stream$_disposed = false; _._onLastListenerRemovedCallbacks = t4; }, MultiFrameImageStreamCompleter_closure: function MultiFrameImageStreamCompleter_closure(t0, t1) { this.$this = t0; this.informationCollector = t1; }, MultiFrameImageStreamCompleter_closure0: function MultiFrameImageStreamCompleter_closure0(t0, t1) { this.$this = t0; this.informationCollector = t1; }, MultiFrameImageStreamCompleter__handleAppFrame_closure: function MultiFrameImageStreamCompleter__handleAppFrame_closure(t0) { this.$this = t0; }, _ImageChunkEvent_Object_Diagnosticable: function _ImageChunkEvent_Object_Diagnosticable() { }, _ImageStream_Object_Diagnosticable: function _ImageStream_Object_Diagnosticable() { }, _ImageStreamCompleter_Object_Diagnosticable: function _ImageStreamCompleter_Object_Diagnosticable() { }, InlineSpanSemanticsInformation$(text, recognizer, semanticsLabel, stringAttributes) { return new A.InlineSpanSemanticsInformation(text, semanticsLabel, recognizer, false, recognizer != null, stringAttributes); }, combineSemanticsInfo(infoList) { var t2, workingText, workingLabel, _i, info, effectiveLabel, effectiveLabel0, t3, t4, t5, _i0, infoAttribute, t6, combined = A._setArrayType([], type$.JSArray_InlineSpanSemanticsInformation), t1 = type$.JSArray_StringAttribute, workingAttributes = A._setArrayType([], t1); for (t2 = infoList.length, workingText = "", workingLabel = "", _i = 0; _i < infoList.length; infoList.length === t2 || (0, A.throwConcurrentModificationError)(infoList), ++_i) { info = infoList[_i]; if (info.requiresOwnNode) { combined.push(new A.InlineSpanSemanticsInformation(workingText, workingLabel, null, false, false, workingAttributes)); workingAttributes = A._setArrayType([], t1); combined.push(info); workingText = ""; workingLabel = ""; } else { effectiveLabel = info.text; workingText += effectiveLabel; effectiveLabel0 = info.semanticsLabel; effectiveLabel = effectiveLabel0 == null ? effectiveLabel : effectiveLabel0; for (t3 = info.stringAttributes, t4 = t3.length, t5 = workingLabel.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { infoAttribute = t3[_i0]; t6 = infoAttribute.range; workingAttributes.push(infoAttribute.copy$1$range(new A.TextRange(t6.start + t5, t6.end + t5))); } workingLabel += effectiveLabel; } } combined.push(A.InlineSpanSemanticsInformation$(workingText, null, workingLabel, workingAttributes)); return combined; }, Accumulator: function Accumulator() { this._inline_span$_value = 0; }, InlineSpanSemanticsInformation: function InlineSpanSemanticsInformation(t0, t1, t2, t3, t4, t5) { var _ = this; _.text = t0; _.semanticsLabel = t1; _.recognizer = t2; _.isPlaceholder = t3; _.requiresOwnNode = t4; _.stringAttributes = t5; }, InlineSpan: function InlineSpan() { }, InlineSpan_getSpanForPosition_closure: function InlineSpan_getSpanForPosition_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.offset = t2; }, InlineSpan_codeUnitAt_closure: function InlineSpan_codeUnitAt_closure(t0, t1, t2) { this._box_0 = t0; this.index = t1; this.offset = t2; }, NotchedShape: function NotchedShape() { }, CircularNotchedRectangle: function CircularNotchedRectangle() { }, AutomaticNotchedShape: function AutomaticNotchedShape() { }, PlaceholderSpan0: function PlaceholderSpan0() { }, RoundedRectangleBorder: function RoundedRectangleBorder(t0, t1) { this.borderRadius = t0; this.side = t1; }, _RoundedRectangleToCircleBorder: function _RoundedRectangleToCircleBorder(t0, t1, t2, t3) { var _ = this; _.borderRadius = t0; _.circularity = t1; _.eccentricity = t2; _.side = t3; }, ShapeDecoration_ShapeDecoration$fromBoxDecoration(source) { var t1, shape, t2; switch (source.shape.index) { case 1: t1 = source.border; shape = t1 != null ? new A.CircleBorder(0, t1.get$top(t1)) : B.CircleBorder_Umb; break; case 0: t1 = source.borderRadius; shape = source.border; if (t1 != null) { t2 = shape == null ? null : shape.get$top(shape); shape = new A.RoundedRectangleBorder(t1, t2 == null ? B.BorderSide_8xm : t2); } else if (shape == null) shape = B.Border_bWW; break; default: shape = null; } return new A.ShapeDecoration(source.color, source.gradient, source.image, source.boxShadow, shape); }, ShapeDecoration_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, _null = null; if (a == b) return a; t1 = a == null; if (!t1 && b != null) { if (t === 0) return a; if (t === 1) return b; } t2 = t1 ? _null : a.color; t3 = b == null; t2 = A.Color_lerp(t2, t3 ? _null : b.color, t); t4 = t1 ? _null : a.gradient; t4 = A.Gradient_lerp(t4, t3 ? _null : b.gradient, t); t5 = t1 ? _null : a.image; t5 = A.DecorationImage_lerp(t5, t3 ? _null : b.image, t); t6 = t1 ? _null : a.shadows; t6 = A.BoxShadow_lerpList(t6, t3 ? _null : b.shadows, t); t1 = t1 ? _null : a.shape; t1 = A.ShapeBorder_lerp(t1, t3 ? _null : b.shape, t); t1.toString; return new A.ShapeDecoration(t2, t4, t5, t6, t1); }, _ShapeDecorationPainter$(_decoration, onChanged) { return new A._ShapeDecorationPainter(_decoration, onChanged); }, ShapeDecoration: function ShapeDecoration(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.gradient = t1; _.image = t2; _.shadows = t3; _.shape = t4; }, _ShapeDecorationPainter: function _ShapeDecorationPainter(t0, t1) { var _ = this; _._shape_decoration$_decoration = t0; _._lastTextDirection = _._lastRect = null; _.___ShapeDecorationPainter__outerPath_A = $; _._shadowCount = _._interiorPaint = _._innerPath = null; _.___ShapeDecorationPainter__shadowPaints_A = _.___ShapeDecorationPainter__shadowPaths_A = _.___ShapeDecorationPainter__shadowBounds_A = $; _._imagePainter = null; _.onChanged = t1; }, _ShapeDecorationPainter__precache_closure: function _ShapeDecorationPainter__precache_closure() { }, _ShapeDecorationPainter__precache_closure0: function _ShapeDecorationPainter__precache_closure0(t0) { this.rect = t0; }, _ShapeDecorationPainter__precache_closure1: function _ShapeDecorationPainter__precache_closure1(t0, t1, t2) { this.$this = t0; this.rect = t1; this.textDirection = t2; }, StadiumBorder: function StadiumBorder(t0) { this.side = t0; }, _StadiumToCircleBorder: function _StadiumToCircleBorder(t0, t1, t2) { this.circularity = t0; this.eccentricity = t1; this.side = t2; }, _StadiumToRoundedRectangleBorder: function _StadiumToRoundedRectangleBorder(t0, t1, t2) { this.borderRadius = t0; this.rectilinearity = t1; this.side = t2; }, StrutStyle: function StrutStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.fontFamily = t0; _._strut_style$_fontFamilyFallback = t1; _.fontSize = t2; _.height = t3; _.fontWeight = t4; _.fontStyle = t5; _.leading = t6; _.forceStrutHeight = t7; _.debugLabel = t8; }, _StrutStyle_Object_Diagnosticable: function _StrutStyle_Object_Diagnosticable() { }, WordBoundary__isNewline(codePoint) { var t1; $label0$0: { if (10 === codePoint || 133 === codePoint || 11 === codePoint || 12 === codePoint || 8232 === codePoint || 8233 === codePoint) { t1 = true; break $label0$0; } t1 = false; break $label0$0; } return t1; }, _TextPainterLayoutCacheWithOffset__contentWidthFor(minWidth, maxWidth, widthBasis, layout) { var t1; switch (widthBasis.index) { case 1: t1 = A.clampDouble(layout._paragraph.get$longestLine(), minWidth, maxWidth); break; case 0: t1 = A.clampDouble(layout._paragraph.get$maxIntrinsicWidth(), minWidth, maxWidth); break; default: t1 = null; } return t1; }, TextPainter$(ellipsis, locale, maxLines, strutStyle, text, textAlign, textDirection, textHeightBehavior, textScaler, textWidthBasis) { return new A.TextPainter(text, textAlign, textDirection, textScaler.$eq(0, B._LinearTextScaler_1) ? new A._LinearTextScaler(1) : textScaler, ellipsis, locale, maxLines, strutStyle, textWidthBasis, textHeightBehavior); }, TextPainter__computePaintOffsetFraction(textAlign, textDirection) { var t1, _0_10, _0_1, _0_12, _0_4, _0_12_isSet, _0_4_isSet, _0_14, _0_14_isSet, _0_16, _0_18, _null = null; $label0$0: { if (B.TextAlign_0 === textAlign) { t1 = 0; break $label0$0; } if (B.TextAlign_1 === textAlign) { t1 = 1; break $label0$0; } if (B.TextAlign_2 === textAlign) { t1 = 0.5; break $label0$0; } _0_10 = B.TextAlign_4 === textAlign; t1 = _0_10; _0_1 = textAlign; if (t1) { _0_12 = B.TextDirection_1 === textDirection; t1 = _0_12; _0_4 = textDirection; _0_12_isSet = true; _0_4_isSet = true; } else { _0_4 = _null; _0_12 = _0_4; _0_12_isSet = false; _0_4_isSet = false; t1 = false; } if (t1) { t1 = 0; break $label0$0; } if (_0_10) { if (_0_4_isSet) t1 = _0_4; else { t1 = textDirection; _0_4 = t1; _0_4_isSet = true; } _0_14 = B.TextDirection_0 === t1; t1 = _0_14; _0_14_isSet = true; } else { _0_14 = _null; _0_14_isSet = false; t1 = false; } if (t1) { t1 = 1; break $label0$0; } _0_16 = B.TextAlign_3 === _0_1; t1 = _0_16; if (t1) if (_0_12_isSet) t1 = _0_12; else { if (_0_4_isSet) t1 = _0_4; else { t1 = textDirection; _0_4 = t1; _0_4_isSet = true; } _0_12 = B.TextDirection_1 === t1; t1 = _0_12; _0_12_isSet = true; } else t1 = false; if (t1) { t1 = 0; break $label0$0; } if (_0_16) if (_0_14_isSet) t1 = _0_14; else { if (_0_4_isSet) t1 = _0_4; else { t1 = textDirection; _0_4 = t1; _0_4_isSet = true; } _0_14 = B.TextDirection_0 === t1; t1 = _0_14; _0_14_isSet = true; } else t1 = false; if (t1) { t1 = 1; break $label0$0; } _0_18 = B.TextAlign_5 === _0_1; t1 = _0_18; if (t1) if (_0_12_isSet) t1 = _0_12; else { if (_0_4_isSet) t1 = _0_4; else { t1 = textDirection; _0_4 = t1; _0_4_isSet = true; } _0_12 = B.TextDirection_1 === t1; t1 = _0_12; } else t1 = false; if (t1) { t1 = 1; break $label0$0; } if (_0_18) if (_0_14_isSet) t1 = _0_14; else { _0_14 = B.TextDirection_0 === (_0_4_isSet ? _0_4 : textDirection); t1 = _0_14; } else t1 = false; if (t1) { t1 = 0; break $label0$0; } throw A.wrapException(A.ReachabilityError$(string$.None_o)); } return t1; }, TextPainter__shiftTextBox(box, offset) { var t1 = offset._dx, t2 = offset._dy; return new A.TextBox(box.left + t1, box.top + t2, box.right + t1, box.bottom + t2, box.direction); }, TextOverflow: function TextOverflow(t0, t1) { this.index = t0; this._core$_name = t1; }, PlaceholderDimensions: function PlaceholderDimensions(t0, t1, t2, t3) { var _ = this; _.size = t0; _.alignment = t1; _.baselineOffset = t2; _.baseline = t3; }, TextWidthBasis: function TextWidthBasis(t0, t1) { this.index = t0; this._core$_name = t1; }, WordBoundary: function WordBoundary(t0, t1) { this._text_painter$_text = t0; this._paragraph = t1; this.__WordBoundary_moveByWordBoundary_FI = $; }, _UntilTextBoundary: function _UntilTextBoundary(t0, t1) { this._predicate = t0; this._textBoundary = t1; }, _TextLayout: function _TextLayout(t0) { this._paragraph = t0; }, _TextPainterLayoutCacheWithOffset: function _TextPainterLayoutCacheWithOffset(t0, t1, t2) { var _ = this; _.layout = t0; _.contentWidth = t1; _.textAlignment = t2; _._previousCaretPosition = _._cachedLineMetrics = _._cachedInlinePlaceholderBoxes = null; }, _LineCaretMetrics: function _LineCaretMetrics(t0, t1, t2) { this.offset = t0; this.writingDirection = t1; this.fullHeight = t2; }, _EmptyLineCaretMetrics: function _EmptyLineCaretMetrics(t0) { this.lineVerticalOffset = t0; }, TextPainter: function TextPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._debugNeedsRelayout = true; _._layoutCache = null; _._rebuildParagraphForPaint = true; _._inputWidth = 0 / 0; _._debugMarkNeedsLayoutCallStack = null; _._text_painter$_text = t0; _._cachedPlainText = null; _._textAlign = t1; _._text_painter$_textDirection = t2; _._text_painter$_textScaler = t3; _._ellipsis = t4; _._text_painter$_locale = t5; _._maxLines = t6; _._strutStyle = t7; _._textWidthBasis = t8; _._text_painter$_textHeightBehavior = t9; _._layoutTemplate = _._text_painter$_placeholderDimensions = null; _.__TextPainter__caretMetrics_A = $; _._text_painter$_disposed = false; }, TextPainter_inlinePlaceholderBoxes_closure: function TextPainter_inlinePlaceholderBoxes_closure(t0) { this.offset = t0; }, TextPainter_getBoxesForSelection_closure: function TextPainter_getBoxesForSelection_closure(t0) { this.offset = t0; }, TextPainter_computeLineMetrics_closure: function TextPainter_computeLineMetrics_closure(t0) { this.offset = t0; }, _LinearTextScaler: function _LinearTextScaler(t0) { this.textScaleFactor = t0; }, TextSpan$(children, recognizer, style, text) { var t1 = recognizer == null ? B.C__DeferringMouseCursor : B.SystemMouseCursor_click; return new A.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() { }, TextStyle$(background, backgroundColor, color, debugLabel, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, inherit, leadingDistribution, letterSpacing, locale, overflow, $package, shadows, textBaseline, wordSpacing) { return new A.TextStyle(inherit, color, backgroundColor, $package == null ? fontFamily : "packages/" + $package + "/" + A.S(fontFamily), fontFamilyFallback, $package, fontSize, fontWeight, fontStyle, letterSpacing, wordSpacing, textBaseline, height, leadingDistribution, locale, foreground, background, decoration, decorationColor, decorationStyle, decorationThickness, debugLabel, shadows, fontFeatures, fontVariations, overflow); }, TextStyle_lerp(a, b, t) { var 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, _null = null; if (a == b) return a; if (a == null) { t1 = b.inherit; t2 = A.Color_lerp(_null, b.color, t); t3 = A.Color_lerp(_null, b.backgroundColor, t); t4 = t < 0.5; t5 = t4 ? _null : b.fontSize; t6 = A.FontWeight_lerp(_null, b.fontWeight, t); t7 = t4 ? _null : b.fontStyle; t8 = t4 ? _null : b.letterSpacing; t9 = t4 ? _null : b.wordSpacing; t10 = t4 ? _null : b.textBaseline; t11 = t4 ? _null : b.height; t12 = t4 ? _null : b.leadingDistribution; t13 = t4 ? _null : b.locale; t14 = t4 ? _null : b.foreground; t15 = t4 ? _null : b.background; t16 = t4 ? _null : b.shadows; t17 = t4 ? _null : b.fontFeatures; t18 = A.lerpFontVariations(_null, b.fontVariations, t); t19 = t4 ? _null : b.decoration; t20 = A.Color_lerp(_null, b.decorationColor, t); t21 = t4 ? _null : b.decorationStyle; t22 = t4 ? _null : b.decorationThickness; t23 = t4 ? _null : b.get$_text_style$_fontFamily(0); t24 = t4 ? _null : b._text_style$_fontFamilyFallback; t25 = t4 ? _null : b._package; return A.TextStyle$(t15, t3, t2, _null, t19, t20, t21, t22, t23, t24, t17, t5, t7, t18, t6, t14, t11, t1, t12, t8, t13, t4 ? _null : b.overflow, t25, t16, t10, t9); } if (b == null) { t1 = a.inherit; t2 = A.Color_lerp(a.color, _null, t); t3 = A.Color_lerp(_null, a.backgroundColor, t); t4 = t < 0.5; t5 = t4 ? a.fontSize : _null; t6 = A.FontWeight_lerp(a.fontWeight, _null, t); t7 = t4 ? a.fontStyle : _null; t8 = t4 ? a.letterSpacing : _null; t9 = t4 ? a.wordSpacing : _null; t10 = t4 ? a.textBaseline : _null; t11 = t4 ? a.height : _null; t12 = t4 ? a.leadingDistribution : _null; t13 = t4 ? a.locale : _null; t14 = t4 ? a.foreground : _null; t15 = t4 ? a.background : _null; t16 = t4 ? a.shadows : _null; t17 = t4 ? a.fontFeatures : _null; t18 = A.lerpFontVariations(a.fontVariations, _null, t); t19 = t4 ? a.decoration : _null; t20 = A.Color_lerp(a.decorationColor, _null, t); t21 = t4 ? a.decorationStyle : _null; t22 = t4 ? a.decorationThickness : _null; t23 = t4 ? a.get$_text_style$_fontFamily(0) : _null; t24 = t4 ? a._text_style$_fontFamilyFallback : _null; t25 = t4 ? a._package : _null; return A.TextStyle$(t15, t3, t2, _null, t19, t20, t21, t22, t23, t24, t17, t5, t7, t18, t6, t14, t11, t1, t12, t8, t13, t4 ? a.overflow : _null, t25, t16, t10, t9); } t1 = t < 0.5; t2 = t1 ? a.inherit : b.inherit; t3 = a.foreground; t4 = t3 == null; t5 = t4 && b.foreground == null ? A.Color_lerp(a.color, b.color, t) : _null; t6 = a.background; t7 = t6 == null; t8 = t7 && b.background == null ? A.Color_lerp(a.backgroundColor, b.backgroundColor, t) : _null; t9 = a.fontSize; t10 = t9 == null ? b.fontSize : t9; t11 = b.fontSize; t9 = A.lerpDouble(t10, t11 == null ? t9 : t11, t); t10 = A.FontWeight_lerp(a.fontWeight, b.fontWeight, t); t11 = t1 ? a.fontStyle : b.fontStyle; t12 = a.letterSpacing; t13 = t12 == null ? b.letterSpacing : t12; t14 = b.letterSpacing; t12 = A.lerpDouble(t13, t14 == null ? t12 : t14, t); t13 = a.wordSpacing; t14 = t13 == null ? b.wordSpacing : t13; t15 = b.wordSpacing; t13 = A.lerpDouble(t14, t15 == null ? t13 : t15, t); t14 = t1 ? a.textBaseline : b.textBaseline; t15 = a.height; t16 = t15 == null ? b.height : t15; t17 = b.height; t15 = A.lerpDouble(t16, t17 == null ? t15 : t17, t); t16 = t1 ? a.leadingDistribution : b.leadingDistribution; t17 = t1 ? a.locale : b.locale; if (!t4 || b.foreground != null) if (t1) { if (t4) { t3 = $.$get$_renderer().createPaint$0(); t4 = a.color; t4.toString; t3.set$color(0, t4); } } else { t3 = b.foreground; if (t3 == null) { t3 = $.$get$_renderer().createPaint$0(); t4 = b.color; t4.toString; t3.set$color(0, t4); } } else t3 = _null; if (!t7 || b.background != null) if (t1) if (t7) { t4 = $.$get$_renderer().createPaint$0(); t6 = a.backgroundColor; t6.toString; t4.set$color(0, t6); } else t4 = t6; else { t4 = b.background; if (t4 == null) { t4 = $.$get$_renderer().createPaint$0(); t6 = b.backgroundColor; t6.toString; t4.set$color(0, t6); } } else t4 = _null; t6 = t1 ? a.shadows : b.shadows; t7 = t1 ? a.fontFeatures : b.fontFeatures; t18 = A.lerpFontVariations(a.fontVariations, b.fontVariations, t); t19 = t1 ? a.decoration : b.decoration; t20 = A.Color_lerp(a.decorationColor, b.decorationColor, t); t21 = t1 ? a.decorationStyle : b.decorationStyle; t22 = a.decorationThickness; t23 = t22 == null ? b.decorationThickness : t22; t24 = b.decorationThickness; t22 = A.lerpDouble(t23, t24 == null ? t22 : t24, t); t23 = t1 ? a.get$_text_style$_fontFamily(0) : b.get$_text_style$_fontFamily(0); t24 = t1 ? a._text_style$_fontFamilyFallback : b._text_style$_fontFamilyFallback; t25 = t1 ? a._package : b._package; return A.TextStyle$(t4, t8, t5, _null, t19, t20, t21, t22, t23, t24, t7, t9, t11, t18, t10, t3, t15, t2, t16, t12, t17, t1 ? a.overflow : b.overflow, t25, t6, t14, t13); }, lerpFontVariations(a, b, t) { var result, minLength, minLength0, index, t1, t2, t3, maxLength, maxLength0, axes, aVariations, indexA, bVariations, indexB, variation, _null = null; if (t === 0) return a; if (t === 1) return b; if (a == null || a.length === 0 || b == null || b.length === 0) return t < 0.5 ? a : b; result = A._setArrayType([], type$.JSArray_FontVariation); minLength = a.length; minLength0 = b.length; minLength = minLength < minLength0 ? minLength : minLength0; for (index = 0; index < minLength; ++index) { t1 = a[index]; t2 = t1.axis; t3 = b[index]; if (t2 !== t3.axis) break; t1 = A.FontVariation_lerp(t1, t3, t); t1.toString; result.push(t1); } maxLength = a.length; maxLength0 = b.length; if (index < (maxLength > maxLength0 ? maxLength : maxLength0)) { t1 = type$.String; axes = A.HashSet_HashSet(t1); t2 = type$.FontVariation; aVariations = A.HashMap_HashMap(_null, _null, _null, t1, t2); for (indexA = index; indexA < a.length; ++indexA) { t3 = a[indexA]; aVariations.$indexSet(0, t3.axis, t3); axes.add$1(0, a[indexA].axis); } bVariations = A.HashMap_HashMap(_null, _null, _null, t1, t2); for (indexB = index; indexB < b.length; ++indexB) { t1 = b[indexB]; bVariations.$indexSet(0, t1.axis, t1); axes.add$1(0, b[indexB].axis); } for (t1 = A._instanceType(axes), t2 = new A._HashSetIterator(axes, axes._computeElements$0(), t1._eval$1("_HashSetIterator<1>")), t1 = t1._precomputed1; t2.moveNext$0();) { t3 = t2._collection$_current; if (t3 == null) t3 = t1._as(t3); variation = A.FontVariation_lerp(aVariations.$index(0, t3), bVariations.$index(0, t3), t); if (variation != null) result.push(variation); } } return result; }, TextStyle: function TextStyle(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; _.inherit = t0; _.color = t1; _.backgroundColor = t2; _.fontFamily = t3; _._text_style$_fontFamilyFallback = t4; _._package = t5; _.fontSize = t6; _.fontWeight = t7; _.fontStyle = t8; _.letterSpacing = t9; _.wordSpacing = t10; _.textBaseline = t11; _.height = t12; _.leadingDistribution = t13; _.locale = t14; _.foreground = t15; _.background = t16; _.decoration = t17; _.decorationColor = t18; _.decorationStyle = t19; _.decorationThickness = t20; _.debugLabel = t21; _.shadows = t22; _.fontFeatures = t23; _.fontVariations = t24; _.overflow = t25; }, TextStyle_fontFamilyFallback_closure: function TextStyle_fontFamilyFallback_closure(t0) { this.$this = t0; }, _TextStyle_Object_Diagnosticable: function _TextStyle_Object_Diagnosticable() { }, _newtonsMethod(df, f, initialGuess, iterations, target) { var guess, i; for (guess = initialGuess, i = 0; i < iterations; ++i) guess -= (f.call$1(guess) - target) / df.call$1(guess); return guess; }, FrictionSimulation$(drag, position, velocity, constantDeceleration) { var t1 = new A.FrictionSimulation(drag, Math.log(drag), position, velocity, constantDeceleration * J.get$sign$in(velocity), B.Tolerance_Gdw); t1.FrictionSimulation$5$constantDeceleration$tolerance(drag, position, velocity, constantDeceleration, B.Tolerance_Gdw); return t1; }, FrictionSimulation: function FrictionSimulation(t0, t1, t2, t3, t4, t5) { var _ = this; _._drag = t0; _._dragLog = t1; _._friction_simulation$_x = t2; _._v = t3; _._constantDeceleration = t4; _._finalTime = 1 / 0; _.tolerance = t5; }, FrictionSimulation_closure: function FrictionSimulation_closure(t0) { this.$this = t0; }, Simulation: function Simulation() { }, SpringDescription$withDampingRatio(mass, ratio, stiffness) { return new A.SpringDescription(mass, stiffness, ratio * 2 * Math.sqrt(mass * stiffness)); }, _SpringSolution__SpringSolution(spring, initialPosition, initialVelocity) { var r, r1, r2, c2, w, t1 = spring.damping, t2 = t1 * t1, t3 = spring.mass, t4 = 4 * t3 * spring.stiffness, cmk = t2 - t4; if (cmk === 0) { r = -t1 / (2 * t3); return new A._CriticalSolution(r, initialPosition, initialVelocity - r * initialPosition); } if (cmk > 0) { t1 = -t1; t3 = 2 * t3; r1 = (t1 - Math.sqrt(cmk)) / t3; r2 = (t1 + Math.sqrt(cmk)) / t3; c2 = (initialVelocity - r1 * initialPosition) / (r2 - r1); return new A._OverdampedSolution(r1, r2, initialPosition - c2, c2); } w = Math.sqrt(t4 - t2) / (2 * t3); r = -(t1 / 2 * t3); return new A._UnderdampedSolution(w, r, initialPosition, (initialVelocity - r * initialPosition) / w); }, SpringDescription: function SpringDescription(t0, t1, t2) { this.mass = t0; this.stiffness = t1; this.damping = t2; }, SpringType: function SpringType(t0, t1) { this.index = t0; this._core$_name = t1; }, SpringSimulation: function SpringSimulation(t0, t1, t2) { this._endPosition = t0; this._solution = t1; this.tolerance = t2; }, ScrollSpringSimulation: function ScrollSpringSimulation(t0, t1, t2) { this._endPosition = t0; this._solution = t1; this.tolerance = t2; }, _CriticalSolution: function _CriticalSolution(t0, t1, t2) { this._r = t0; this._c1 = t1; this._c2 = t2; }, _OverdampedSolution: function _OverdampedSolution(t0, t1, t2, t3) { var _ = this; _._r1 = t0; _._r2 = t1; _._c1 = t2; _._c2 = t3; }, _UnderdampedSolution: function _UnderdampedSolution(t0, t1, t2, t3) { var _ = this; _._spring_simulation$_w = t0; _._r = t1; _._c1 = t2; _._c2 = t3; }, Tolerance: function Tolerance(t0, t1) { this.distance = t0; this.velocity = t1; }, RenderAnimatedSize$(alignment, clipBehavior, curve, duration, onEnd, reverseDuration, textDirection, vsync) { var _null = null, t1 = new A.RenderAnimatedSize(new A.SizeTween(_null, _null), B.RenderAnimatedSizeState_0, clipBehavior, vsync, A.LayerHandle$(type$.ClipRectLayer), alignment, textDirection, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(_null); t1.RenderAnimatedSize$9$alignment$child$clipBehavior$curve$duration$onEnd$reverseDuration$textDirection$vsync(alignment, _null, clipBehavior, curve, duration, onEnd, reverseDuration, textDirection, vsync); return t1; }, RenderAnimatedSizeState: function RenderAnimatedSizeState(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderAnimatedSize: function RenderAnimatedSize(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.__RenderAnimatedSize__animation_F = _.__RenderAnimatedSize__controller_F = $; _._sizeTween = t0; _.__RenderAnimatedSize__hasVisualOverflow_A = $; _._animated_size$_lastValue = null; _._animated_size$_state = t1; _._animated_size$_clipBehavior = t2; _._vsync = t3; _._onEnd = null; _._animated_size$_clipRectLayer = t4; _._shifted_box$_resolvedAlignment = null; _._shifted_box$_alignment = t5; _._shifted_box$_textDirection = t6; _.RenderObjectWithChildMixin__child = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderAnimatedSize_closure: function RenderAnimatedSize_closure(t0) { this.$this = t0; }, _debugCollectRenderTrees() { var t1, t2, t3, t4; if (J.get$isEmpty$asx($.RendererBinding__instance.RendererBinding__viewIdToRenderView.get$values(0).__internal$_iterable)) return string$.No_ren; t1 = A._setArrayType([], type$.JSArray_String); for (t2 = $.RendererBinding__instance.RendererBinding__viewIdToRenderView.get$values(0), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; t1.push((t4 == null ? t3._as(t4) : t4).toStringDeep$0()); } return B.JSArray_methods.join$1(t1, "\n\n"); }, _debugCollectSemanticsTrees(childOrder) { var trees, t1, t2, printedExplanation, t3, tree, message; if (J.get$isEmpty$asx($.RendererBinding__instance.RendererBinding__viewIdToRenderView.get$values(0).__internal$_iterable)) return string$.No_ren; trees = A._setArrayType([], type$.JSArray_String); for (t1 = $.RendererBinding__instance.RendererBinding__viewIdToRenderView.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], printedExplanation = false; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); tree = t3.get$debugSemantics() == null ? null : ""; if (tree != null) trees.push(tree); else { message = "Semantics not generated for " + t3.toString$0(0) + "."; if (!printedExplanation) { message += "\nFor performance reasons, the framework only generates semantics when asked to do so by the platform.\nUsually, platforms only ask for semantics when assistive technologies (like screen readers) are running.\nTo generate semantics, try turning on an assistive technology (like VoiceOver or TalkBack) on your device."; printedExplanation = true; } trees.push(message); } } return B.JSArray_methods.join$1(trees, "\n\n"); }, _DefaultRootPipelineOwner__onSemanticsUpdate(_) { }, RendererBinding: function RendererBinding() { }, RendererBinding_pipelineOwner_closure: function RendererBinding_pipelineOwner_closure(t0) { this.$this = t0; }, RendererBinding_pipelineOwner_closure1: function RendererBinding_pipelineOwner_closure1(t0) { this.$this = t0; }, RendererBinding_pipelineOwner_closure0: function RendererBinding_pipelineOwner_closure0(t0) { this.$this = t0; }, RendererBinding_initMouseTracker_closure: function RendererBinding_initMouseTracker_closure(t0) { this.$this = t0; }, RendererBinding__scheduleMouseTrackerUpdate_closure: function RendererBinding__scheduleMouseTrackerUpdate_closure(t0) { this.$this = t0; }, _BindingPipelineManifold: function _BindingPipelineManifold(t0, t1) { var _ = this; _._binding = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _DefaultRootPipelineOwner: function _DefaultRootPipelineOwner(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.onSemanticsOwnerCreated = t0; _.onSemanticsUpdate = t1; _.onSemanticsOwnerDisposed = t2; _._rootNode = null; _._shouldMergeDirtyNodes = false; _._nodesNeedingLayout = t3; _._debugAllowMutationsToDirtySubtrees = _._debugDoingChildLayout = _._debugDoingLayout = false; _._nodesNeedingCompositingBitsUpdate = t4; _._nodesNeedingPaint = t5; _._debugDoingPaint = false; _._semanticsOwner = null; _._outstandingSemanticsHandles = 0; _._debugDoingSemantics = false; _._nodesNeedingSemantics = t6; _._children = t7; _._debugParent = _._manifold = null; }, _ReusableRenderView: function _ReusableRenderView(t0, t1, t2, t3) { var _ = this; _._initialFramePrepared = false; _._view0$_size = t0; _._view0$_configuration = null; _._view = t1; _._rootTransform = null; _.RenderObjectWithChildMixin__child = t2; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, BoxConstraints$tight(size) { var t1 = size._dx, t2 = size._dy; return new A.BoxConstraints(t1, t1, t2, t2); }, BoxConstraints$tightFor(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 A.BoxConstraints(t2, t1, t4, t3 ? 1 / 0 : height); }, BoxConstraints$tightForFinite(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 A.BoxConstraints(t2, t1, t4, t3 ? height : 1 / 0); }, BoxConstraints$loose(size) { return new A.BoxConstraints(0, size._dx, 0, size._dy); }, BoxConstraints$expand(height, width) { var t1 = height == null, t2 = t1 ? 1 / 0 : height; return new A.BoxConstraints(width, width, t2, t1 ? 1 / 0 : height); }, BoxConstraints_lerp(a, b, t) { var t1, t2, t3, t4; if (a == b) return a; if (a == null) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); t1 = a.minWidth; if (isFinite(t1)) { t1 = A.lerpDouble(t1, b.minWidth, t); t1.toString; } else t1 = 1 / 0; t2 = a.maxWidth; if (isFinite(t2)) { t2 = A.lerpDouble(t2, b.maxWidth, t); t2.toString; } else t2 = 1 / 0; t3 = a.minHeight; if (isFinite(t3)) { t3 = A.lerpDouble(t3, b.minHeight, t); t3.toString; } else t3 = 1 / 0; t4 = a.maxHeight; if (isFinite(t4)) { t4 = A.lerpDouble(t4, b.maxHeight, t); t4.toString; } else t4 = 1 / 0; return new A.BoxConstraints(t1, t2, t3, t4); }, BoxHitTestResult$wrap(result) { return new A.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, t1) { this.index = t0; this._core$_name = t1; }, _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() { }, MultiChildLayoutParentData: function MultiChildLayoutParentData(t0, t1, t2) { var _ = this; _.id = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, MultiChildLayoutDelegate: function MultiChildLayoutDelegate() { }, RenderCustomMultiChildLayoutBox: function RenderCustomMultiChildLayoutBox(t0, t1, t2, t3, t4) { var _ = this; _._custom_layout$_delegate = t0; _.ContainerRenderObjectMixin__childCount = t1; _.ContainerRenderObjectMixin__firstChild = t2; _.ContainerRenderObjectMixin__lastChild = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin: function _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin() { }, _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, RenderCustomPaint$(foregroundPainter, isComplex, painter, preferredSize, willChange) { var t1 = new A.RenderCustomPaint(painter, foregroundPainter, preferredSize, false, false, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, RenderCustomPaint__updateSemanticsChildren(oldSemantics, newChildSemantics) { var t1, newChildrenBottom, t2, oldChildrenBottom, newChildren, newChildrenTop, oldChildrenTop, oldChild, newSemantics, t3, oldKeyedChildren, t4, _box_0 = {}; _box_0.newChildSemantics = newChildSemantics; if (oldSemantics == null) oldSemantics = B.List_empty33; t1 = J.getInterceptor$asx(newChildSemantics); newChildrenBottom = t1.get$length(newChildSemantics) - 1; t2 = J.getInterceptor$asx(oldSemantics); oldChildrenBottom = t2.get$length(oldSemantics) - 1; newChildren = A.List_List$filled(t1.get$length(newChildSemantics), null, false, type$.nullable_SemanticsNode); t1 = J.getInterceptor$asx(newChildSemantics); newChildrenTop = 0; oldChildrenTop = 0; while (true) { if (!(oldChildrenTop <= oldChildrenBottom && newChildrenTop <= newChildrenBottom)) break; oldChild = t2.$index(oldSemantics, oldChildrenTop); newSemantics = t1.$index(newChildSemantics, newChildrenTop); if (oldChild.key != null) break; newChildren[newChildrenTop] = A.RenderCustomPaint__updateSemanticsChild(oldChild, newSemantics); ++newChildrenTop; ++oldChildrenTop; } while (true) { t3 = oldChildrenTop <= oldChildrenBottom; if (!(t3 && newChildrenTop <= newChildrenBottom)) break; oldChild = t2.$index(oldSemantics, oldChildrenBottom); t1.$index(newChildSemantics, newChildrenBottom); if (oldChild.key != null) break; --oldChildrenBottom; --newChildrenBottom; } oldKeyedChildren = A._Cell$named("oldKeyedChildren"); if (t3) { oldKeyedChildren.set$finalLocalValue(A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.SemanticsNode)); for (t1 = oldKeyedChildren.__late_helper$_name; oldChildrenTop <= oldChildrenBottom;) { oldChild = t2.$index(oldSemantics, oldChildrenTop); t3 = oldChild.key; if (t3 != null) { t4 = oldKeyedChildren.__late_helper$_value; if (t4 === oldKeyedChildren) A.throwExpression(A.LateError$localNI(t1)); J.$indexSet$ax(t4, t3, oldChild); } ++oldChildrenTop; } } for (; newChildrenTop <= newChildrenBottom;) { newSemantics = J.$index$asx(_box_0.newChildSemantics, newChildrenTop); newChildren[newChildrenTop] = A.RenderCustomPaint__updateSemanticsChild(null, newSemantics); ++newChildrenTop; } t1 = _box_0.newChildSemantics; newChildrenBottom = J.get$length$asx(t1) - 1; oldChildrenBottom = t2.get$length(oldSemantics) - 1; t3 = J.getInterceptor$asx(t1); while (true) { if (!(oldChildrenTop <= oldChildrenBottom && newChildrenTop <= newChildrenBottom)) break; newChildren[newChildrenTop] = A.RenderCustomPaint__updateSemanticsChild(t2.$index(oldSemantics, oldChildrenTop), t3.$index(t1, newChildrenTop)); ++newChildrenTop; ++oldChildrenTop; } return new A.CastList(newChildren, A._arrayInstanceType(newChildren)._eval$1("CastList<1,SemanticsNode>")); }, RenderCustomPaint__updateSemanticsChild(oldChild, newSemantics) { var newChild = oldChild == null ? A.SemanticsNode$(null, null) : oldChild, properties = newSemantics.properties, config = A.SemanticsConfiguration$(), t1 = properties.sortKey; if (t1 != null) { config._sortKey = t1; config._hasBeenAnnotated = true; } t1 = properties.checked; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_1_hasCheckedState, true); config._setFlag$2(B.SemanticsFlag_2_isChecked, t1); } t1 = properties.mixed; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_1_hasCheckedState, true); config._setFlag$2(B.SemanticsFlag_33554432_isCheckStateMixed, t1); } t1 = properties.selected; if (t1 != null) config._setFlag$2(B.SemanticsFlag_4_isSelected, t1); t1 = properties.button; if (t1 != null) config._setFlag$2(B.SemanticsFlag_8_isButton, t1); t1 = properties.focusable; if (t1 != null) config._setFlag$2(B.SemanticsFlag_2097152_isFocusable, t1); t1 = properties.focused; if (t1 != null) config._setFlag$2(B.SemanticsFlag_32_isFocused, t1); t1 = properties.enabled; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_64_hasEnabledState, true); config._setFlag$2(B.SemanticsFlag_128_isEnabled, t1); } t1 = properties.inMutuallyExclusiveGroup; if (t1 != null) config._setFlag$2(B.SemanticsFlag_256_isInMutuallyExclusiveGroup, t1); t1 = properties.header; if (t1 != null) config._setFlag$2(B.SemanticsFlag_512_isHeader, t1); t1 = properties.scopesRoute; if (t1 != null) config._setFlag$2(B.SemanticsFlag_2048_scopesRoute, t1); t1 = properties.namesRoute; if (t1 != null) config._setFlag$2(B.SemanticsFlag_4096_namesRoute, t1); t1 = properties.liveRegion; if (t1 != null) config._setFlag$2(B.SemanticsFlag_32768_isLiveRegion, t1); t1 = properties.maxValueLength; if (t1 != null) config.set$maxValueLength(t1); t1 = properties.currentValueLength; if (t1 != null) config.set$currentValueLength(t1); t1 = properties.toggled; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_65536_hasToggledState, true); config._setFlag$2(B.SemanticsFlag_131072_isToggled, t1); } t1 = properties.image; if (t1 != null) config._setFlag$2(B.SemanticsFlag_16384_isImage, t1); t1 = properties.label; if (t1 != null) { config._semantics$_attributedLabel = new A.AttributedString(t1, B.List_empty3); config._hasBeenAnnotated = true; } t1 = properties.value; if (t1 != null) { config._semantics$_attributedValue = new A.AttributedString(t1, B.List_empty3); config._hasBeenAnnotated = true; } t1 = properties.increasedValue; if (t1 != null) { config._semantics$_attributedIncreasedValue = new A.AttributedString(t1, B.List_empty3); config._hasBeenAnnotated = true; } t1 = properties.decreasedValue; if (t1 != null) { config._semantics$_attributedDecreasedValue = new A.AttributedString(t1, B.List_empty3); config._hasBeenAnnotated = true; } t1 = properties.textDirection; if (t1 != null) { config._semantics$_textDirection = t1; config._hasBeenAnnotated = true; } t1 = properties.onTap; if (t1 != null) config.set$onTap(t1); t1 = properties.onLongPress; if (t1 != null) config.set$onLongPress(t1); t1 = properties.onIncrease; if (t1 != null) config.set$onIncrease(t1); t1 = properties.onDecrease; if (t1 != null) config.set$onDecrease(t1); t1 = properties.onCopy; if (t1 != null) config.set$onCopy(0, t1); t1 = properties.onCut; if (t1 != null) config.set$onCut(0, t1); t1 = properties.onPaste; if (t1 != null) config.set$onPaste(0, t1); t1 = properties.onDidGainAccessibilityFocus; if (t1 != null) config.set$onDidGainAccessibilityFocus(t1); t1 = properties.onDidLoseAccessibilityFocus; if (t1 != null) config.set$onDidLoseAccessibilityFocus(t1); t1 = properties.onDismiss; if (t1 != null) config.set$onDismiss(t1); newChild.updateWith$2$childrenInInversePaintOrder$config(0, B.List_empty33, config); newChild.set$rect(0, newSemantics.rect); newChild.set$transform(0, null); newChild.tags = null; return newChild; }, CustomPainter: function CustomPainter() { }, CustomPainterSemantics: function CustomPainterSemantics(t0, t1) { this.rect = t0; this.properties = t1; }, RenderCustomPaint: function RenderCustomPaint(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._custom_paint$_painter = t0; _._foregroundPainter = t1; _._preferredSize = t2; _.isComplex = t3; _.willChange = t4; _._foregroundSemanticsNodes = _._backgroundSemanticsNodes = _._foregroundSemanticsBuilder = _._backgroundSemanticsBuilder = null; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, DebugOverflowIndicatorMixin: function DebugOverflowIndicatorMixin() { }, RenderEditable__calculateAdjustedCursorOffset(offset, boundingRects) { return new A.Offset(A.clampDouble(offset._dx, boundingRects.left, boundingRects.right), A.clampDouble(offset._dy, boundingRects.top, boundingRects.bottom)); }, _RenderEditableCustomPaint$(painter) { var t1 = new A._RenderEditableCustomPaint(painter, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); return t1; }, _TextHighlightPainter$() { return new A._TextHighlightPainter($.$get$_renderer().createPaint$0(), B.BoxHeightStyle_0, B.BoxWidthStyle_0, $.$get$ChangeNotifier__emptyListeners()); }, TextSelectionPoint: function TextSelectionPoint(t0, t1) { this.point = t0; this.direction = t1; }, VerticalCaretMovementRun: function VerticalCaretMovementRun(t0, t1, t2, t3, t4, t5) { var _ = this; _._currentOffset = t0; _._editable$_currentLine = t1; _._currentTextPosition = t2; _._lineMetrics = t3; _._editable = t4; _._isValid = true; _._positionCache = t5; }, 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, t28, t29, t30, t31, t32, t33, t34) { var _ = this; _._editable$_painter = _._editable$_foregroundPainter = _._backgroundRenderObject = _._foregroundRenderObject = null; _.__RenderEditable__caretPainter_FI = $; _._selectionPainter = t0; _._autocorrectHighlightPainter = t1; _._textLayoutLastMinWidth = _._textLayoutLastMaxWidth = _._cachedBuiltInPainters = _._cachedBuiltInForegroundPainters = null; _.ignorePointer = t2; _._editable$_devicePixelRatio = t3; _._obscuringCharacter = t4; _._obscureText = t5; _.textSelectionDelegate = t6; _._selectionStartInViewport = t7; _._selectionEndInViewport = t8; _._editable$_textPainter = t9; _._editable$_cachedCombinedSemanticsInfos = _._cachedAttributedValue = null; _._disposeShowCursor = t10; _._showCursor = t11; _._editable$_hasFocus = t12; _._forceLine = t13; _._readOnly = t14; _._editable$_maxLines = t15; _._minLines = t16; _._expands = t17; _._selection = t18; _._editable$_offset = t19; _._cursorWidth = t20; _._cursorHeight = t21; _._paintCursorOnTop = t22; _._editable$_startHandleLayerLink = t23; _._editable$_endHandleLayerLink = t24; _._floatingCursorOn = false; _.__RenderEditable__floatingCursorTextPosition_A = $; _._enableInteractiveSelection = t25; _._editable$_maxScrollExtent = 0; _._editable$_clipBehavior = t26; _._cachedLineBreakCount = _._editable$_cachedChildNodes = _._editable$_semanticsInfo = null; _.__RenderEditable__longPress_A = _.__RenderEditable__tap_A = $; _._editable$_placeholderDimensions = _._lastSecondaryTapDownPosition = _._lastTapDownPosition = null; _.__RenderEditable__caretPrototype_A = $; _._editable$_canComputeIntrinsicsCached = null; _._relativeOrigin = t27; _._previousOffset = null; _._shouldResetOrigin = true; _._resetOriginOnBottom = _._resetOriginOnTop = _._resetOriginOnRight = _._resetOriginOnLeft = false; _._resetFloatingCursorAnimationValue = null; _._leaderLayerHandler = t28; _._editable$_clipRectLayer = t29; _.ContainerRenderObjectMixin__childCount = t30; _.ContainerRenderObjectMixin__firstChild = t31; _.ContainerRenderObjectMixin__lastChild = t32; _.RelayoutWhenSystemFontsChangeMixin__hasPendingSystemFontsDidChangeCallBack = t33; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t34; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderEditable_getBoxesForSelection_closure: function RenderEditable_getBoxesForSelection_closure(t0) { this.$this = t0; }, RenderEditable_describeSemanticsConfiguration_closure: function RenderEditable_describeSemanticsConfiguration_closure() { }, RenderEditable__createShowOnScreenFor_closure: function RenderEditable__createShowOnScreenFor_closure(t0, t1) { this.$this = t0; this.key = t1; }, RenderEditable_getRectForComposingRange_closure: function RenderEditable_getRectForComposingRange_closure() { }, RenderEditable_computeMinIntrinsicWidth_closure: function RenderEditable_computeMinIntrinsicWidth_closure() { }, RenderEditable_computeMaxIntrinsicWidth_closure: function RenderEditable_computeMaxIntrinsicWidth_closure() { }, RenderEditable__canComputeDryLayoutForInlineWidgets_closure: function RenderEditable__canComputeDryLayoutForInlineWidgets_closure() { }, _RenderEditableCustomPaint: function _RenderEditableCustomPaint(t0, t1) { var _ = this; _._editable$_painter = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderEditablePainter: function RenderEditablePainter() { }, _TextHighlightPainter: function _TextHighlightPainter(t0, t1, t2, t3) { var _ = this; _.highlightPaint = t0; _._highlightedRange = _._highlightColor = null; _._selectionHeightStyle = t1; _._selectionWidthStyle = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _CaretPainter: function _CaretPainter(t0, t1, t2) { var _ = this; _._shouldPaint = true; _.showRegularCaret = false; _.caretPaint = t0; _.___CaretPainter_floatingCursorPaint_FI = $; _._cursorRadius = _._caretColor = null; _._cursorOffset = t1; _._floatingCursorRect = _._backgroundCursorColor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _CompositeRenderEditablePainter: function _CompositeRenderEditablePainter(t0, t1) { var _ = this; _.painters = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin: function _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin() { }, _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin: function _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin() { }, _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin_RenderInlineChildrenContainerDefaults: function _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin_RenderInlineChildrenContainerDefaults() { }, RenderErrorBox: function RenderErrorBox(t0, t1) { var _ = this; _.message = t0; _.__RenderErrorBox__paragraph_F = $; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _startIsTopLeft(direction, textDirection, verticalDirection) { switch (direction.index) { case 0: switch (textDirection) { case B.TextDirection_1: return true; case B.TextDirection_0: return false; case null: case void 0: return null; } break; case 1: switch (verticalDirection) { case B.VerticalDirection_1: return true; case B.VerticalDirection_0: return false; case null: case void 0: return null; } break; } }, RenderFlex$(clipBehavior, crossAxisAlignment, direction, mainAxisAlignment, mainAxisSize, textBaseline, textDirection, verticalDirection) { var _null = null, t1 = new A.RenderFlex(direction, mainAxisAlignment, mainAxisSize, crossAxisAlignment, textDirection, verticalDirection, textBaseline, clipBehavior, A.LayerHandle$(type$.ClipRectLayer), A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, B._LinearTextScaler_1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.addAll$1(0, _null); return t1; }, FlexFit: function FlexFit(t0, t1) { this.index = t0; this._core$_name = t1; }, FlexParentData: function FlexParentData(t0, t1, t2) { var _ = this; _.fit = _.flex = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, MainAxisSize: function MainAxisSize(t0, t1) { this.index = t0; this._core$_name = t1; }, MainAxisAlignment: function MainAxisAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, CrossAxisAlignment: function CrossAxisAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderFlex: function RenderFlex(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._flex$_direction = t0; _._mainAxisAlignment = t1; _._mainAxisSize = t2; _._crossAxisAlignment = t3; _._flex$_textDirection = t4; _._verticalDirection = t5; _._flex$_textBaseline = t6; _._flex$_overflow = 0; _._flex$_clipBehavior = t7; _._flex$_clipRectLayer = t8; _.DebugOverflowIndicatorMixin__indicatorLabel = t9; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t10; _.ContainerRenderObjectMixin__childCount = t11; _.ContainerRenderObjectMixin__firstChild = t12; _.ContainerRenderObjectMixin__lastChild = t13; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t14; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFlex_computeMinIntrinsicWidth_closure: function RenderFlex_computeMinIntrinsicWidth_closure() { }, RenderFlex_computeMaxIntrinsicWidth_closure: function RenderFlex_computeMaxIntrinsicWidth_closure() { }, RenderFlex_computeMinIntrinsicHeight_closure: function RenderFlex_computeMinIntrinsicHeight_closure() { }, RenderFlex_computeMaxIntrinsicHeight_closure: function RenderFlex_computeMaxIntrinsicHeight_closure() { }, _LayoutSizes: function _LayoutSizes(t0, t1, t2) { this.mainSize = t0; this.crossSize = t1; this.allocatedSize = t2; }, _RenderFlex_RenderBox_ContainerRenderObjectMixin: function _RenderFlex_RenderBox_ContainerRenderObjectMixin() { }, _RenderFlex_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderFlex_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _RenderFlex_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin: function _RenderFlex_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin() { }, RenderImage: function RenderImage(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _._flipHorizontally = _._image$_resolvedAlignment = null; _._image = t0; _.debugImageLabel = t1; _._image$_width = t2; _._image$_height = t3; _._image$_scale = t4; _._colorFilter = null; _._image$_color = t5; _._image$_opacity = t6; _._image$_filterQuality = t7; _._colorBlendMode = t8; _._image$_fit = t9; _._image$_alignment = t10; _._repeat = t11; _._centerSlice = t12; _._invertColors = t13; _._matchTextDirection = t14; _._image$_textDirection = t15; _._image$_isAntiAlias = t16; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t17; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, LayerHandle$($T) { return new A.LayerHandle($T._eval$1("LayerHandle<0>")); }, PictureLayer$(canvasBounds) { return new A.PictureLayer0(canvasBounds, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.void_Function), A.LayerHandle$(type$.Layer_2)); }, OffsetLayer$(offset) { return new A.OffsetLayer(offset, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.void_Function), A.LayerHandle$(type$.Layer_2)); }, TransformLayer$(transform) { return new A.TransformLayer(transform, B.Offset_0_0, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.void_Function), A.LayerHandle$(type$.Layer_2)); }, OpacityLayer$() { return new A.OpacityLayer(B.Offset_0_0, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.void_Function), A.LayerHandle$(type$.Layer_2)); }, BackdropFilterLayer$(filter) { return new A.BackdropFilterLayer(filter, B.BlendMode_3, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.void_Function), A.LayerHandle$(type$.Layer_2)); }, LeaderLayer$(link, offset) { return new A.LeaderLayer0(link, offset, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.void_Function), A.LayerHandle$(type$.Layer_2)); }, FollowerLayer__collectTransformForLayerChain(layers) { var index, t1, result = new A.Matrix40(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(a, b, ancestorsA, ancestorsB) { var t1, t2; if (a == null || b == null) return null; if (a === b) return a; t1 = a._layer$_depth; t2 = b._layer$_depth; if (t1 < t2) { ancestorsB.push(b._layer$_parent); return A.FollowerLayer__pathsToCommonAncestor(a, b._layer$_parent, ancestorsA, ancestorsB); } else if (t1 > t2) { ancestorsA.push(a._layer$_parent); return A.FollowerLayer__pathsToCommonAncestor(a._layer$_parent, b, ancestorsA, ancestorsB); } ancestorsA.push(a._layer$_parent); ancestorsB.push(b._layer$_parent); return A.FollowerLayer__pathsToCommonAncestor(a._layer$_parent, b._layer$_parent, 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; }, Layer0: function Layer0() { }, Layer_addCompositionCallback_closure: function Layer_addCompositionCallback_closure(t0, t1) { this.$this = t0; this.callback = t1; }, Layer_addCompositionCallback_closure0: function Layer_addCompositionCallback_closure0(t0, t1) { this.$this = t0; this.callbackId = t1; }, LayerHandle: function LayerHandle(t0) { this._layer = null; this.$ti = t0; }, PictureLayer0: function PictureLayer0(t0, t1, t2) { var _ = this; _.canvasBounds = t0; _._picture = null; _._willChangeHint = _._isComplexHint = false; _._callbacks = t1; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t2; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, PlatformViewLayer: function PlatformViewLayer(t0, t1, t2, t3) { var _ = this; _.rect = t0; _.viewId = t1; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, ContainerLayer0: function ContainerLayer0() { }, OffsetLayer: function OffsetLayer(t0, t1, t2) { var _ = this; _._layer$_offset = t0; _._lastChild = _._firstChild = null; _._callbacks = t1; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t2; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, ClipRectLayer: function ClipRectLayer(t0, t1, t2) { var _ = this; _._clipRect = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = null; _._callbacks = t1; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t2; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, ClipRRectLayer: function ClipRRectLayer(t0, t1, t2) { var _ = this; _._clipRRect = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = null; _._callbacks = t1; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t2; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, ClipPathLayer: function ClipPathLayer(t0, t1, t2) { var _ = this; _._clipPath = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = null; _._callbacks = t1; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t2; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, ImageFilterLayer: function ImageFilterLayer(t0, t1, t2, t3) { var _ = this; _._imageFilter = t0; _._layer$_offset = t1; _._lastChild = _._firstChild = null; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, TransformLayer: function TransformLayer(t0, t1, t2, t3) { var _ = this; _._layer$_transform = t0; _._layer$_invertedTransform = _._lastEffectiveTransform = null; _._layer$_inverseDirty = true; _._layer$_offset = t1; _._lastChild = _._firstChild = null; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, OpacityLayer: function OpacityLayer(t0, t1, t2) { var _ = this; _._layer$_alpha = null; _._layer$_offset = t0; _._lastChild = _._firstChild = null; _._callbacks = t1; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t2; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, BackdropFilterLayer: function BackdropFilterLayer(t0, t1, t2, t3) { var _ = this; _._layer$_filter = t0; _._layer$_blendMode = t1; _._lastChild = _._firstChild = null; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, LayerLink: function LayerLink() { var _ = this; _._debugPreviousLeaders = _._leader = null; _._debugLeaderCheckScheduled = false; _.leaderSize = null; }, LeaderLayer0: function LeaderLayer0(t0, t1, t2, t3) { var _ = this; _._layer$_link = t0; _._layer$_offset = t1; _._lastChild = _._firstChild = null; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, FollowerLayer0: function FollowerLayer0(t0, t1, t2, t3, t4, t5) { var _ = this; _.link = t0; _.showWhenUnlinked = t1; _.unlinkedOffset = t2; _.linkedOffset = t3; _._layer$_invertedTransform = _._layer$_lastTransform = _._lastOffset = null; _._layer$_inverseDirty = true; _._lastChild = _._firstChild = null; _._callbacks = t4; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t5; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, AnnotatedRegionLayer: function AnnotatedRegionLayer(t0, t1, t2, t3, t4, t5) { var _ = this; _.value = t0; _.size = t1; _.offset = t2; _._lastChild = _._firstChild = null; _._callbacks = t3; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t4; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; _.$ti = t5; }, _Layer_Object_DiagnosticableTreeMixin: function _Layer_Object_DiagnosticableTreeMixin() { }, RenderListBody$(axisDirection) { var t1 = new A.RenderListBody(axisDirection, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.addAll$1(0, null); 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, t4) { var _ = this; _._axisDirection = t0; _.ContainerRenderObjectMixin__childCount = t1; _.ContainerRenderObjectMixin__firstChild = t2; _.ContainerRenderObjectMixin__lastChild = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = 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() { }, MouseTracker__shouldMarkStateDirty(state, $event) { var lastEvent; if (state == null) return true; lastEvent = state._latestEvent; if (type$.PointerSignalEvent._is($event)) return false; return type$.PointerAddedEvent._is(lastEvent) || type$.PointerRemovedEvent._is($event) || !lastEvent.get$position(lastEvent).$eq(0, $event.get$position($event)); }, MouseTracker__handleDeviceUpdateMouseEvents(details) { var lastAnnotations, nextAnnotations, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, enteringAnnotations, baseEnterEvent, result = details.triggeringEvent; if (result == null) result = details.previousEvent; lastAnnotations = details.lastAnnotations; nextAnnotations = details.nextAnnotations; t1 = result.get$viewId(); t2 = result.get$timeStamp(result); t3 = result.get$pointer(); t4 = result.get$kind(result); t5 = result.get$device(result); t6 = result.get$position(result); t7 = result.get$delta(); t8 = result.get$buttons(result); result.get$obscured(); t9 = result.get$pressureMin(); t10 = result.get$pressureMax(); t11 = result.get$distance(); t12 = result.get$distanceMax(); t13 = result.get$size(result); t14 = result.get$radiusMajor(); t15 = result.get$radiusMinor(); t16 = result.get$radiusMin(); t17 = result.get$radiusMax(); t18 = result.get$orientation(result); t19 = result.get$tilt(); lastAnnotations.forEach$1(0, new A.MouseTracker__handleDeviceUpdateMouseEvents_closure(nextAnnotations, A.PointerExitEvent$(t8, t7, t5, t11, t12, result.get$down(), 0, t4, false, t18, t3, t6, t10, t9, t14, t17, t16, t15, t13, result.get$synthesized(), t19, t2, t1).transformed$1(result.get$transform(result)), lastAnnotations)); t1 = A._instanceType(nextAnnotations)._eval$1("LinkedHashMapKeyIterable<1>"); t2 = t1._eval$1("WhereIterable<Iterable.E>"); enteringAnnotations = A.List_List$of(new A.WhereIterable(new A.LinkedHashMapKeyIterable(nextAnnotations, t1), new A.MouseTracker__handleDeviceUpdateMouseEvents_closure0(lastAnnotations), t2), true, t2._eval$1("Iterable.E")); t2 = result.get$viewId(); t1 = result.get$timeStamp(result); t19 = result.get$pointer(); t13 = result.get$kind(result); t15 = result.get$device(result); t16 = result.get$position(result); t17 = result.get$delta(); t14 = result.get$buttons(result); result.get$obscured(); t9 = result.get$pressureMin(); t10 = result.get$pressureMax(); t6 = result.get$distance(); t3 = result.get$distanceMax(); t18 = result.get$size(result); t4 = result.get$radiusMajor(); t12 = result.get$radiusMinor(); t11 = result.get$radiusMin(); t5 = result.get$radiusMax(); t7 = result.get$orientation(result); t8 = result.get$tilt(); baseEnterEvent = A.PointerEnterEvent$(t14, t17, t15, t6, t3, result.get$down(), 0, t13, false, t7, t19, t16, t10, t9, t4, t5, t11, t12, t18, result.get$synthesized(), t8, t1, t2).transformed$1(result.get$transform(result)); for (t1 = A._arrayInstanceType(enteringAnnotations)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(enteringAnnotations, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) { t3 = t2.__internal$_current; if (t3 == null) t3 = t1._as(t3); if (t3.get$validForMouseTracker()) { t4 = t3.get$onEnter(t3); if (t4 != null) t4.call$1(baseEnterEvent.transformed$1(nextAnnotations.$index(0, t3))); } } }, _MouseState: function _MouseState(t0, t1) { this._annotations = t0; this._latestEvent = t1; }, _MouseTrackerUpdateDetails: function _MouseTrackerUpdateDetails(t0, t1, t2, t3) { var _ = this; _.lastAnnotations = t0; _.nextAnnotations = t1; _.previousEvent = t2; _.triggeringEvent = t3; }, MouseTracker: function MouseTracker(t0, t1, t2, t3) { var _ = this; _._hitTestInView = t0; _._mouseCursorMixin = t1; _._mouseStates = t2; _._debugDuringDeviceUpdate = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, MouseTracker__handleDeviceUpdate_closure: function MouseTracker__handleDeviceUpdate_closure() { }, MouseTracker_updateWithEvent_closure: function MouseTracker_updateWithEvent_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.existingState = t2; _.event = t3; _.device = t4; }, MouseTracker_updateWithEvent__closure: function MouseTracker_updateWithEvent__closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.existingState = t2; _.event = t3; _.device = t4; }, MouseTracker_updateAllDevices_closure: function MouseTracker_updateAllDevices_closure(t0) { this.$this = t0; }, MouseTracker__handleDeviceUpdateMouseEvents_closure: function MouseTracker__handleDeviceUpdateMouseEvents_closure(t0, t1, t2) { this.nextAnnotations = t0; this.baseExitEvent = t1; this.lastAnnotations = t2; }, MouseTracker__handleDeviceUpdateMouseEvents_closure0: function MouseTracker__handleDeviceUpdateMouseEvents_closure0(t0) { this.lastAnnotations = t0; }, __MouseTrackerUpdateDetails_Object_Diagnosticable: function __MouseTrackerUpdateDetails_Object_Diagnosticable() { }, PaintingContext__repaintCompositedChild(child, childContext, debugAlsoPaintedParent) { var layer, childContext0, t1 = child._layerHandle, childLayer = type$.nullable_OffsetLayer._as(t1._layer); if (childLayer == null) { layer = child.updateCompositedLayer$1$oldLayer(null); t1.set$layer(0, layer); t1 = layer; } else { childLayer.removeAllChildren$0(); child.updateCompositedLayer$1$oldLayer(childLayer); t1 = childLayer; } child._needsCompositedLayerUpdate = false; childContext0 = new A.PaintingContext(t1, child.get$paintBounds()); childContext = childContext0; child._paintWithContext$2(childContext, B.Offset_0_0); childContext.stopRecordingIfNeeded$0(); }, PaintingContext_updateLayerProperties(child) { var t1 = child._layerHandle._layer; t1.toString; child.updateCompositedLayer$1$oldLayer(type$.OffsetLayer._as(t1)); child._needsCompositedLayerUpdate = false; }, PipelineOwner$(onSemanticsOwnerCreated, onSemanticsOwnerDisposed, onSemanticsUpdate) { var t1 = type$.JSArray_RenderObject; return new A.PipelineOwner(onSemanticsOwnerCreated, onSemanticsUpdate, onSemanticsOwnerDisposed, A._setArrayType([], t1), A._setArrayType([], t1), A._setArrayType([], t1), A.LinkedHashSet_LinkedHashSet$_empty(type$.RenderObject), A.LinkedHashSet_LinkedHashSet$_empty(type$.PipelineOwner)); }, RenderObject__cleanChildRelayoutBoundary(child) { child._cleanRelayoutBoundary$0(); }, RenderObject__propagateRelayoutBoundaryToChild(child) { child._propagateRelayoutBoundary$0(); }, _SemanticsGeometry__transformRect(rect, transform) { if (rect == null) return null; if (rect.get$isEmpty(0) || transform.isZero$0()) return B.Rect_0_0_0_0; return A.MatrixUtils_inverseTransformRect(transform, rect); }, _SemanticsGeometry__applyIntermediatePaintTransforms(parentFragmentOwner, childFragmentOwner, transform) { var to, from, parentToCommonAncestorTransform, fromDepth, toDepth, fromParent, t1, t2; for (to = parentFragmentOwner, from = childFragmentOwner, parentToCommonAncestorTransform = null; from !== to;) { fromDepth = from._depth; toDepth = to._depth; if (fromDepth >= toDepth) { fromParent = from.get$parent(from); fromParent.applyPaintTransform$2(from, transform); from = fromParent; } if (fromDepth <= toDepth) { t1 = to.get$parent(to); t1.toString; if (parentToCommonAncestorTransform == null) { parentToCommonAncestorTransform = new A.Matrix40(new Float64Array(16)); parentToCommonAncestorTransform.setIdentity$0(); t2 = parentToCommonAncestorTransform; } else t2 = parentToCommonAncestorTransform; t1.applyPaintTransform$2(to, t2); to = t1; } } if (parentToCommonAncestorTransform != null) if (parentToCommonAncestorTransform.copyInverse$1(parentToCommonAncestorTransform) !== 0) transform.multiply$1(0, parentToCommonAncestorTransform); else transform.setZero$0(); }, _SemanticsGeometry__intersectRects(a, b) { var t1; if (b == null) return a; t1 = a == null ? null : a.intersect$1(b); return t1 == null ? b : t1; }, ParentData: function ParentData() { }, PaintingContext: function PaintingContext(t0, t1) { var _ = this; _._containerLayer = t0; _.estimatedBounds = t1; _._canvas = _._recorder = _._currentLayer = null; }, PaintingContext_pushClipRect_closure: function PaintingContext_pushClipRect_closure(t0, t1, t2) { this.$this = t0; this.painter = t1; this.offset = t2; }, PaintingContext_pushClipRRect_closure: function PaintingContext_pushClipRRect_closure(t0, t1, t2) { this.$this = t0; this.painter = t1; this.offset = t2; }, PaintingContext_pushClipPath_closure: function PaintingContext_pushClipPath_closure(t0, t1, t2) { this.$this = t0; this.painter = t1; this.offset = t2; }, Constraints: function Constraints() { }, PipelineOwner: function PipelineOwner(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.onSemanticsOwnerCreated = t0; _.onSemanticsUpdate = t1; _.onSemanticsOwnerDisposed = t2; _._rootNode = null; _._shouldMergeDirtyNodes = false; _._nodesNeedingLayout = t3; _._debugAllowMutationsToDirtySubtrees = _._debugDoingChildLayout = _._debugDoingLayout = false; _._nodesNeedingCompositingBitsUpdate = t4; _._nodesNeedingPaint = t5; _._debugDoingPaint = false; _._semanticsOwner = null; _._outstandingSemanticsHandles = 0; _._debugDoingSemantics = false; _._nodesNeedingSemantics = t6; _._children = t7; _._debugParent = _._manifold = null; }, PipelineOwner_flushLayout_closure: function PipelineOwner_flushLayout_closure() { }, PipelineOwner_flushCompositingBits_closure: function PipelineOwner_flushCompositingBits_closure() { }, PipelineOwner_flushPaint_closure: function PipelineOwner_flushPaint_closure() { }, PipelineOwner_flushSemantics_closure: function PipelineOwner_flushSemantics_closure() { }, RenderObject: function RenderObject() { }, RenderObject__reportException_closure: function RenderObject__reportException_closure(t0) { this.$this = t0; }, RenderObject_invokeLayoutCallback_closure: function RenderObject_invokeLayoutCallback_closure(t0, t1, t2) { this.$this = t0; this.callback = t1; this.T = t2; }, RenderObject__updateCompositingBits_closure: function RenderObject__updateCompositingBits_closure(t0) { this.$this = t0; }, RenderObject_clearSemantics_closure: function RenderObject_clearSemantics_closure() { }, RenderObject__getSemanticsForParent_closure: function RenderObject__getSemanticsForParent_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._box_0 = t0; _.$this = t1; _.childrenMergeIntoParent = t2; _.blockChildInteractions = t3; _.childConfigurations = t4; _.mergeUpFragments = t5; _.siblingMergeFragmentGroups = t6; _.config = t7; _.hasTags = t8; _.childConfigurationsDelegate = t9; _.configToFragment = t10; }, RenderObject__getSemanticsForParent_closure0: function RenderObject__getSemanticsForParent_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.configToFragment = t2; }, RenderObject__getSemanticsForParent_closure1: function RenderObject__getSemanticsForParent_closure1(t0, t1) { this.$this = t0; this.configToFragment = t1; }, RenderObject_toStringDeep_closure: function RenderObject_toStringDeep_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.prefixLineOne = t1; _.prefixOtherLines = t2; _.minLevel = t3; }, RenderObjectWithChildMixin: function RenderObjectWithChildMixin() { }, ContainerParentDataMixin: function ContainerParentDataMixin() { }, ContainerRenderObjectMixin: function ContainerRenderObjectMixin() { }, RelayoutWhenSystemFontsChangeMixin: function RelayoutWhenSystemFontsChangeMixin() { }, RelayoutWhenSystemFontsChangeMixin__scheduleSystemFontsUpdate_closure: function RelayoutWhenSystemFontsChangeMixin__scheduleSystemFontsUpdate_closure(t0) { this.$this = t0; }, _SemanticsFragment: function _SemanticsFragment() { }, _ContainerSemanticsFragment: function _ContainerSemanticsFragment(t0, t1, t2) { this.siblingMergeGroups = t0; this.mergeUpFragments = t1; this.dropsSemanticsOfPreviousSiblings = t2; }, _InterestingSemanticsFragment: function _InterestingSemanticsFragment() { }, _RootSemanticsFragment: function _RootSemanticsFragment(t0, t1, t2) { var _ = this; _._children = t0; _._ancestorChain = t1; _._object$_tagsForChildren = null; _.dropsSemanticsOfPreviousSiblings = t2; }, _IncompleteSemanticsFragment: function _IncompleteSemanticsFragment(t0, t1, t2) { var _ = this; _.config = t0; _._ancestorChain = t1; _._object$_tagsForChildren = null; _.dropsSemanticsOfPreviousSiblings = t2; }, _SwitchableSemanticsFragment: function _SwitchableSemanticsFragment(t0, t1, t2, t3, t4, t5) { var _ = this; _._mergeIntoParent = t0; _._object$_config = t1; _._mergesToSibling = _._isConfigWritable = false; _._object$_siblingMergeGroups = t2; _._children = t3; _._isExplicit = false; _._ancestorChain = t4; _._object$_tagsForChildren = null; _.dropsSemanticsOfPreviousSiblings = t5; }, _SemanticsGeometry: function _SemanticsGeometry() { var _ = this; _._semanticsClipRect = _._paintClipRect = null; _.___SemanticsGeometry__rect_A = _.___SemanticsGeometry__transform_A = $; _._markAsHidden = false; }, _PipelineOwner_Object_DiagnosticableTreeMixin: function _PipelineOwner_Object_DiagnosticableTreeMixin() { }, _RenderObject_Object_DiagnosticableTreeMixin: function _RenderObject_Object_DiagnosticableTreeMixin() { }, RenderInlineChildrenContainerDefaults__layoutChild(child, maxWidth, layoutChild) { var span, t2, t3, t4, t1 = child.parentData; t1.toString; span = type$.TextParentData._as(t1).span; if (span == null) t1 = B.PlaceholderDimensions_Ism; else { t1 = layoutChild.call$2(child, new A.BoxConstraints(0, maxWidth, 0, 1 / 0)); t2 = span.alignment; t3 = span.baseline; $label0$0: { if (B.PlaceholderAlignment_1 === t2 || B.PlaceholderAlignment_2 === t2 || B.PlaceholderAlignment_4 === t2 || B.PlaceholderAlignment_5 === t2 || B.PlaceholderAlignment_3 === t2) { t4 = null; break $label0$0; } if (B.PlaceholderAlignment_0 === t2) { t3.toString; t4 = child.getDistanceToBaseline$1(t3); break $label0$0; } throw A.wrapException(A.ReachabilityError$(string$.None_o)); } t3 = new A.PlaceholderDimensions(t1, t2, t4, t3); t1 = t3; } return t1; }, RenderParagraph$(text, children, locale, maxLines, overflow, registrar, selectionColor, softWrap, strutStyle, textAlign, textDirection, textHeightBehavior, textScaler, textWidthBasis) { var t1 = textScaler.$eq(0, B._LinearTextScaler_1) ? new A._LinearTextScaler(1) : textScaler; t1 = new A.RenderParagraph(A.TextPainter$(overflow === B.TextOverflow_2 ? "\u2026" : null, locale, maxLines, strutStyle, text, textAlign, textDirection, textHeightBehavior, t1, textWidthBasis), softWrap, overflow, selectionColor, false, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.addAll$1(0, children); t1.set$registrar(registrar); return t1; }, _SelectableFragment__compareTextPositions(position, otherPosition) { var t1 = position.offset, t2 = otherPosition.offset; if (t1 < t2) return 1; else if (t1 > t2) return -1; else { t1 = position.affinity; if (t1 === otherPosition.affinity) return 0; else return t1 === B.TextAffinity_0 ? 1 : -1; } }, PlaceholderSpanIndexSemanticsTag: function PlaceholderSpanIndexSemanticsTag(t0, t1) { this.index = t0; this.name = t1; }, TextParentData: function TextParentData(t0, t1) { var _ = this; _.span = _._paragraph$_offset = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; }, RenderInlineChildrenContainerDefaults: function RenderInlineChildrenContainerDefaults() { }, RenderInlineChildrenContainerDefaults_hitTestInlineChildren_closure: function RenderInlineChildrenContainerDefaults_hitTestInlineChildren_closure(t0) { this._box_0 = t0; }, RenderParagraph: function RenderParagraph(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._textPainter = t0; _._registrar = _._lastSelectableFragments = _._cachedCombinedSemanticsInfos = _._cachedAttributedLabels = null; _._softWrap = t1; _._overflow = t2; _._selectionColor = t3; _._canComputeIntrinsicsCached = null; _._needsClipping = false; _._cachedChildNodes = _._semanticsInfo = _._placeholderDimensions = _._overflowShader = null; _.RelayoutWhenSystemFontsChangeMixin__hasPendingSystemFontsDidChangeCallBack = t4; _.ContainerRenderObjectMixin__childCount = t5; _.ContainerRenderObjectMixin__firstChild = t6; _.ContainerRenderObjectMixin__lastChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderParagraph_markNeedsLayout_closure: function RenderParagraph_markNeedsLayout_closure() { }, RenderParagraph_selectionColor_closure: function RenderParagraph_selectionColor_closure() { }, RenderParagraph_computeMinIntrinsicWidth_closure: function RenderParagraph_computeMinIntrinsicWidth_closure() { }, RenderParagraph_computeMaxIntrinsicWidth_closure: function RenderParagraph_computeMaxIntrinsicWidth_closure() { }, RenderParagraph__canComputeDryLayoutForInlineWidgets_closure: function RenderParagraph__canComputeDryLayoutForInlineWidgets_closure() { }, RenderParagraph__createShowOnScreenFor_closure: function RenderParagraph__createShowOnScreenFor_closure(t0, t1) { this.$this = t0; this.key = t1; }, _SelectableFragment: function _SelectableFragment(t0, t1, t2, t3) { var _ = this; _.range = t0; _.paragraph = t1; _.fullText = t2; _._textSelectionEnd = _._textSelectionStart = null; _._selectableContainsOriginWord = false; _._paragraph$_endHandleLayerLink = _._paragraph$_startHandleLayerLink = null; _.___SelectableFragment__selectionGeometry_A = $; _._cachedRect = _._cachedBoundingBoxes = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _RenderParagraph_RenderBox_ContainerRenderObjectMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin() { }, _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderInlineChildrenContainerDefaults: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderInlineChildrenContainerDefaults() { }, _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderInlineChildrenContainerDefaults_RelayoutWhenSystemFontsChangeMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderInlineChildrenContainerDefaults_RelayoutWhenSystemFontsChangeMixin() { }, _TextParentData_ParentData_ContainerParentDataMixin: function _TextParentData_ParentData_ContainerParentDataMixin() { }, __SelectableFragment_Object_Selectable: function __SelectableFragment_Object_Selectable() { }, __SelectableFragment_Object_Selectable_Diagnosticable: function __SelectableFragment_Object_Selectable_Diagnosticable() { }, __SelectableFragment_Object_Selectable_Diagnosticable_ChangeNotifier: function __SelectableFragment_Object_Selectable_Diagnosticable_ChangeNotifier() { }, _factoryTypesSetEquals(a, b, $T) { if (a === b) return true; if (b == null) return false; return A.setEquals(A._factoriesTypeSet(a, $T), A._factoriesTypeSet(b, $T)); }, _factoriesTypeSet(factories, $T) { var t1 = A._instanceType(factories)._eval$1("EfficientLengthMappedIterable<SetBase.E,Type>"); return A.LinkedHashSet_LinkedHashSet$of(new A.EfficientLengthMappedIterable(factories, new A._factoriesTypeSet_closure($T), t1), t1._eval$1("Iterable.E")); }, _PlatformViewGestureRecognizer$(handlePointerEvent, gestureRecognizerFactories) { var t1 = type$.int, t2 = A.HashSet_HashSet(t1); t1 = new A._PlatformViewGestureRecognizer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_PointerEvent), A.LinkedHashSet_LinkedHashSet$_empty(t1), gestureRecognizerFactories, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, null, null, A.recognizer_GestureRecognizer__defaultButtonAcceptBehavior$closure(), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); t1._PlatformViewGestureRecognizer$2(handlePointerEvent, gestureRecognizerFactories); return t1; }, PlatformViewHitTestBehavior: function PlatformViewHitTestBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, _factoriesTypeSet_closure: function _factoriesTypeSet_closure(t0) { this.T = t0; }, _PlatformViewGestureRecognizer: function _PlatformViewGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.___PlatformViewGestureRecognizer__handlePointerEvent_A = $; _.cachedEvents = t0; _.forwardedPointers = t1; _.gestureRecognizerFactories = t2; _.___PlatformViewGestureRecognizer__gestureRecognizers_A = $; _._recognizer$_entries = t3; _._trackedPointers = t4; _._team = null; _.debugOwner = t5; _.gestureSettings = null; _.supportedDevices = t6; _._allowedButtonsFilter = t7; _._pointerToKind = t8; }, _PlatformViewGestureRecognizer_closure: function _PlatformViewGestureRecognizer_closure(t0) { this.$this = t0; }, PlatformViewRenderBox: function PlatformViewRenderBox(t0, t1, t2, t3, t4) { var _ = this; _._platform_view0$_controller = t0; _._PlatformViewGestureMixin__hitTestBehavior = t1; _._PlatformViewGestureMixin__handlePointerEvent = t2; _._PlatformViewGestureMixin__gestureRecognizer = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _PlatformViewGestureMixin: function _PlatformViewGestureMixin() { }, _PlatformViewRenderBox_RenderBox__PlatformViewGestureMixin: function _PlatformViewRenderBox_RenderBox__PlatformViewGestureMixin() { }, RenderConstrainedBox$(additionalConstraints) { var t1 = new A.RenderConstrainedBox(additionalConstraints, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, RenderIntrinsicWidth__applyStep(input, step) { if (step == null) return input; return B.JSNumber_methods.ceil$0(input / step) * step; }, RenderMouseRegion$(cursor, hitTestBehavior, onEnter, onExit, onHover, opaque) { var t1 = hitTestBehavior == null ? B.HitTestBehavior_1 : hitTestBehavior; t1 = new A.RenderMouseRegion(true, onEnter, onHover, onExit, cursor, t1, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, RenderProxyBox: function RenderProxyBox() { }, RenderProxyBoxMixin: function RenderProxyBoxMixin() { }, HitTestBehavior: function HitTestBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderProxyBoxWithHitTestBehavior: function RenderProxyBoxWithHitTestBehavior() { }, RenderConstrainedBox: function RenderConstrainedBox(t0, t1, t2) { var _ = this; _._additionalConstraints = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderLimitedBox: function RenderLimitedBox(t0, t1, t2, t3) { var _ = this; _._maxWidth = t0; _._maxHeight = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderAspectRatio: function RenderAspectRatio(t0, t1, t2) { var _ = this; _._aspectRatio = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderIntrinsicWidth: function RenderIntrinsicWidth(t0, t1, t2, t3) { var _ = this; _._stepWidth = t0; _._stepHeight = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderIntrinsicHeight: function RenderIntrinsicHeight(t0, t1) { var _ = this; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderOpacity: function RenderOpacity(t0, t1, t2, t3, t4) { var _ = this; _._alpha = t0; _._proxy_box$_opacity = t1; _._alwaysIncludeSemantics = t2; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderAnimatedOpacityMixin: function RenderAnimatedOpacityMixin() { }, RenderAnimatedOpacity: function RenderAnimatedOpacity(t0, t1, t2, t3, t4, t5) { var _ = this; _.RenderAnimatedOpacityMixin__alpha = t0; _.RenderAnimatedOpacityMixin__currentlyIsRepaintBoundary = t1; _.RenderAnimatedOpacityMixin__opacity = t2; _.RenderAnimatedOpacityMixin__alwaysIncludeSemantics = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderBackdropFilter: function RenderBackdropFilter(t0, t1, t2, t3) { var _ = this; _._proxy_box$_filter = t0; _._blendMode = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, CustomClipper: function CustomClipper() { }, ShapeBorderClipper: function ShapeBorderClipper(t0, t1, t2) { this.shape = t0; this.textDirection = t1; this._reclip = t2; }, _RenderCustomClip: function _RenderCustomClip() { }, RenderClipRect: function RenderClipRect(t0, t1, t2, t3) { var _ = this; _._clipper = t0; _._clip = null; _._proxy_box$_clipBehavior = t1; _._debugText = _._proxy_box$_debugPaint = null; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderClipRRect: function RenderClipRRect(t0, t1, t2, t3, t4, t5) { var _ = this; _._proxy_box$_borderRadius = t0; _._proxy_box$_textDirection = t1; _._clipper = t2; _._clip = null; _._proxy_box$_clipBehavior = t3; _._debugText = _._proxy_box$_debugPaint = null; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderClipOval: function RenderClipOval(t0, t1, t2, t3) { var _ = this; _._proxy_box$_cachedRect = null; _.__RenderClipOval__cachedPath_A = $; _._clipper = t0; _._clip = null; _._proxy_box$_clipBehavior = t1; _._debugText = _._proxy_box$_debugPaint = null; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderClipPath: function RenderClipPath(t0, t1, t2, t3) { var _ = this; _._clipper = t0; _._clip = null; _._proxy_box$_clipBehavior = t1; _._debugText = _._proxy_box$_debugPaint = null; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderPhysicalModelBase: function _RenderPhysicalModelBase() { }, RenderPhysicalModel: function RenderPhysicalModel(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._shape = t0; _._proxy_box$_borderRadius = t1; _._proxy_box$_elevation = t2; _._proxy_box$_shadowColor = t3; _._proxy_box$_color = t4; _._clipper = t5; _._clip = null; _._proxy_box$_clipBehavior = t6; _._debugText = _._proxy_box$_debugPaint = null; _.RenderObjectWithChildMixin__child = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderPhysicalModel_paint_closure: function RenderPhysicalModel_paint_closure(t0, t1) { this.$this = t0; this.usesSaveLayer = t1; }, RenderPhysicalShape: function RenderPhysicalShape(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._proxy_box$_elevation = t0; _._proxy_box$_shadowColor = t1; _._proxy_box$_color = t2; _._clipper = t3; _._clip = null; _._proxy_box$_clipBehavior = t4; _._debugText = _._proxy_box$_debugPaint = null; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderPhysicalShape_paint_closure: function RenderPhysicalShape_paint_closure(t0, t1) { this.$this = t0; this.usesSaveLayer = t1; }, DecorationPosition: function DecorationPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderDecoratedBox: function RenderDecoratedBox(t0, t1, t2, t3, t4) { var _ = this; _._painter = null; _._proxy_box$_decoration = t0; _._proxy_box$_position = t1; _._proxy_box$_configuration = t2; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderTransform: function RenderTransform(t0, t1, t2) { var _ = this; _._proxy_box$_textDirection = _._proxy_box$_alignment = _._origin = null; _.transformHitTests = t0; _._filterQuality = _._proxy_box$_transform = null; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderTransform_hitTestChildren_closure: function RenderTransform_hitTestChildren_closure(t0) { this.$this = t0; }, RenderFittedBox: function RenderFittedBox(t0, t1, t2, t3, t4, t5) { var _ = this; _._proxy_box$_resolvedAlignment = null; _._proxy_box$_fit = t0; _._proxy_box$_alignment = t1; _._proxy_box$_textDirection = t2; _._proxy_box$_transform = _._hasVisualOverflow = null; _._proxy_box$_clipBehavior = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFittedBox_hitTestChildren_closure: function RenderFittedBox_hitTestChildren_closure(t0) { this.$this = t0; }, RenderFractionalTranslation: function RenderFractionalTranslation(t0, t1, t2, t3) { var _ = this; _._translation = t0; _.transformHitTests = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFractionalTranslation_hitTestChildren_closure: function RenderFractionalTranslation_hitTestChildren_closure(t0) { this.$this = t0; }, RenderPointerListener: function RenderPointerListener(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.onPointerDown = t0; _.onPointerMove = t1; _.onPointerUp = t2; _.onPointerHover = t3; _.onPointerCancel = t4; _.onPointerPanZoomStart = t5; _.onPointerPanZoomUpdate = t6; _.onPointerPanZoomEnd = t7; _.onPointerSignal = t8; _.behavior = t9; _.RenderObjectWithChildMixin__child = t10; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderMouseRegion: function RenderMouseRegion(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._proxy_box$_opaque = t0; _.onEnter = t1; _.onHover = t2; _.onExit = t3; _._cursor = t4; _._validForMouseTracker = true; _.behavior = t5; _.RenderObjectWithChildMixin__child = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderRepaintBoundary: function RenderRepaintBoundary(t0, t1) { var _ = this; _._debugAsymmetricPaintCount = _._debugSymmetricPaintCount = 0; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderIgnorePointer: function RenderIgnorePointer(t0, t1, t2, t3) { var _ = this; _._ignoring = t0; _._ignoringSemantics = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderOffstage: function RenderOffstage(t0, t1, t2) { var _ = this; _._offstage = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderAbsorbPointer: function RenderAbsorbPointer(t0, t1, t2, t3) { var _ = this; _._absorbing = t0; _._ignoringSemantics = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderSemanticsGestureHandler: function RenderSemanticsGestureHandler(t0, t1, t2) { var _ = this; _._onVerticalDragUpdate = _._onHorizontalDragUpdate = _._onLongPress = _._proxy_box$_onTap = _._validActions = null; _.behavior = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderSemanticsAnnotations: function RenderSemanticsAnnotations(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._properties = t0; _._container = t1; _._explicitChildNodes = t2; _._excludeSemantics = t3; _._blockUserActions = t4; _._attributedHint = _._attributedDecreasedValue = _._attributedIncreasedValue = _._attributedValue = _._attributedLabel = null; _._proxy_box$_textDirection = t5; _.RenderObjectWithChildMixin__child = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderBlockSemantics: function RenderBlockSemantics(t0, t1, t2) { var _ = this; _._blocking = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderMergeSemantics: function RenderMergeSemantics(t0, t1) { var _ = this; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderExcludeSemantics: function RenderExcludeSemantics(t0, t1, t2) { var _ = this; _._excluding = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderIndexedSemantics: function RenderIndexedSemantics(t0, t1, t2) { var _ = this; _._proxy_box$_index = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderLeaderLayer: function RenderLeaderLayer(t0, t1, t2) { var _ = this; _._proxy_box$_link = t0; _._previousLayoutSize = null; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFollowerLayer: function RenderFollowerLayer(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._proxy_box$_link = t0; _._showWhenUnlinked = t1; _._proxy_box$_offset = t2; _._leaderAnchor = t3; _._followerAnchor = t4; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFollowerLayer_hitTestChildren_closure: function RenderFollowerLayer_hitTestChildren_closure(t0) { this.$this = t0; }, RenderAnnotatedRegion: function RenderAnnotatedRegion(t0, t1, t2, t3, t4, t5) { var _ = this; _._proxy_box$_value = t0; _._sized = t1; _._proxy_box$_layerHandle = t2; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _.$ti = t5; }, _RenderAnimatedOpacity_RenderProxyBox_RenderAnimatedOpacityMixin: function _RenderAnimatedOpacity_RenderProxyBox_RenderAnimatedOpacityMixin() { }, _RenderProxyBox_RenderBox_RenderObjectWithChildMixin: function _RenderProxyBox_RenderBox_RenderObjectWithChildMixin() { }, _RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin: function _RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin() { }, SelectionUtils_getResultBasedOnRect(targetRect, point) { var t1; if (targetRect.contains$1(0, point)) return B.SelectionResult_2; t1 = point._dy; if (t1 < targetRect.top) return B.SelectionResult_1; if (t1 > targetRect.bottom) return B.SelectionResult_0; return point._dx >= targetRect.right ? B.SelectionResult_0 : B.SelectionResult_1; }, SelectionUtils_adjustDragOffset(targetRect, point, direction) { var t1, t2; if (targetRect.contains$1(0, point)) return point; t1 = point._dy; t2 = targetRect.top; if (!(t1 <= t2)) t1 = t1 <= targetRect.bottom && point._dx <= targetRect.left; else t1 = true; if (t1) return direction === B.TextDirection_1 ? new A.Offset(targetRect.left, t2) : new A.Offset(targetRect.right, t2); else { t1 = targetRect.bottom; return direction === B.TextDirection_1 ? new A.Offset(targetRect.right, t1) : new A.Offset(targetRect.left, t1); } }, SelectionEdgeUpdateEvent$forStart(globalPosition, granularity) { return new A.SelectionEdgeUpdateEvent(globalPosition, granularity == null ? B.TextGranularity_0 : granularity, B.SelectionEventType_0); }, SelectionEdgeUpdateEvent$forEnd(globalPosition, granularity) { return new A.SelectionEdgeUpdateEvent(globalPosition, granularity == null ? B.TextGranularity_0 : granularity, B.SelectionEventType_1); }, SelectionResult: function SelectionResult(t0, t1) { this.index = t0; this._core$_name = t1; }, Selectable: function Selectable() { }, SelectionRegistrant: function SelectionRegistrant() { }, SelectionEventType: function SelectionEventType(t0, t1) { this.index = t0; this._core$_name = t1; }, TextGranularity: function TextGranularity(t0, t1) { this.index = t0; this._core$_name = t1; }, SelectionEvent: function SelectionEvent() { }, ClearSelectionEvent: function ClearSelectionEvent(t0) { this.type = t0; }, SelectionEdgeUpdateEvent: function SelectionEdgeUpdateEvent(t0, t1, t2) { this.globalPosition = t0; this.granularity = t1; this.type = t2; }, SelectionExtendDirection: function SelectionExtendDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, SelectionStatus: function SelectionStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, SelectionGeometry: function SelectionGeometry(t0, t1, t2, t3, t4) { var _ = this; _.startSelectionPoint = t0; _.endSelectionPoint = t1; _.status = t2; _.selectionRects = t3; _.hasContent = t4; }, SelectionPoint: function SelectionPoint(t0, t1, t2) { this.localPosition = t0; this.lineHeight = t1; this.handleType = t2; }, TextSelectionHandleType: function TextSelectionHandleType(t0, t1) { this.index = t0; this._core$_name = t1; }, _SelectionPoint_Object_Diagnosticable: function _SelectionPoint_Object_Diagnosticable() { }, RenderShiftedBox: function RenderShiftedBox() { }, RenderShiftedBox_hitTestChildren_closure: function RenderShiftedBox_hitTestChildren_closure(t0, t1, t2) { this.position = t0; this.childParentData = t1; this.child = t2; }, RenderPadding: function RenderPadding(t0, t1, t2, t3) { var _ = this; _._resolvedPadding = null; _._padding = t0; _._shifted_box$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderAligningShiftedBox: function RenderAligningShiftedBox() { }, RenderPositionedBox: function RenderPositionedBox(t0, t1, t2, t3, t4, t5) { 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; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, OverflowBoxFit: function OverflowBoxFit(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderConstrainedOverflowBox: function RenderConstrainedOverflowBox(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._minWidth = t0; _._shifted_box$_maxWidth = t1; _._minHeight = t2; _._shifted_box$_maxHeight = t3; _._shifted_box$_fit = t4; _._shifted_box$_resolvedAlignment = null; _._shifted_box$_alignment = t5; _._shifted_box$_textDirection = t6; _.RenderObjectWithChildMixin__child = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFractionallySizedOverflowBox: function RenderFractionallySizedOverflowBox(t0, t1, t2, t3, t4, t5) { 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; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, SingleChildLayoutDelegate: function SingleChildLayoutDelegate() { }, RenderCustomSingleChildLayoutBox: function RenderCustomSingleChildLayoutBox(t0, t1, t2) { var _ = this; _._shifted_box$_delegate = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderShiftedBox_RenderBox_RenderObjectWithChildMixin: function _RenderShiftedBox_RenderBox_RenderObjectWithChildMixin() { }, applyGrowthDirectionToAxisDirection(axisDirection, growthDirection) { switch (growthDirection.index) { case 0: return axisDirection; case 1: return A.flipAxisDirection(axisDirection); } }, applyGrowthDirectionToScrollDirection(scrollDirection, growthDirection) { switch (growthDirection.index) { case 0: return scrollDirection; case 1: return A.flipScrollDirection(scrollDirection); } }, SliverGeometry$(cacheExtent, hasVisualOverflow, hitTestExtent, layoutExtent, maxPaintExtent, maxScrollObstructionExtent, paintExtent, paintOrigin, scrollExtent, scrollOffsetCorrection) { var t1 = layoutExtent == null ? paintExtent : layoutExtent, t2 = hitTestExtent == null ? paintExtent : hitTestExtent, t3 = cacheExtent == null ? layoutExtent : cacheExtent; if (t3 == null) t3 = paintExtent; return new A.SliverGeometry(scrollExtent, paintOrigin, paintExtent, t1, maxPaintExtent, maxScrollObstructionExtent, t2, paintExtent > 0, hasVisualOverflow, scrollOffsetCorrection, t3); }, SliverLayoutDimensions: function SliverLayoutDimensions(t0, t1, t2, t3) { var _ = this; _.scrollOffset = t0; _.precedingScrollExtent = t1; _.viewportMainAxisExtent = t2; _.crossAxisExtent = t3; }, GrowthDirection: function GrowthDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, SliverConstraints: function SliverConstraints(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.axisDirection = t0; _.growthDirection = t1; _.userScrollDirection = t2; _.scrollOffset = t3; _.precedingScrollExtent = t4; _.overlap = t5; _.remainingPaintExtent = t6; _.crossAxisExtent = t7; _.crossAxisDirection = t8; _.viewportMainAxisExtent = t9; _.cacheOrigin = t10; _.remainingCacheExtent = t11; }, SliverGeometry: function SliverGeometry(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.scrollExtent = t0; _.paintOrigin = t1; _.paintExtent = t2; _.layoutExtent = t3; _.maxPaintExtent = t4; _.maxScrollObstructionExtent = t5; _.hitTestExtent = t6; _.visible = t7; _.hasVisualOverflow = t8; _.scrollOffsetCorrection = t9; _.cacheExtent = t10; }, SliverHitTestResult: function SliverHitTestResult(t0, t1, t2) { this._hit_test$_path = t0; this._transforms = t1; this._localTransforms = t2; }, SliverHitTestEntry: function SliverHitTestEntry(t0, t1, t2) { var _ = this; _.mainAxisPosition = t0; _.crossAxisPosition = t1; _.target = t2; _._transform = null; }, SliverLogicalParentData: function SliverLogicalParentData() { }, SliverLogicalContainerParentData: function SliverLogicalContainerParentData(t0, t1) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.layoutOffset = null; }, SliverPhysicalParentData: function SliverPhysicalParentData(t0) { this.paintOffset = t0; }, SliverPhysicalContainerParentData: function SliverPhysicalContainerParentData(t0, t1, t2) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.paintOffset = t2; }, RenderSliver: function RenderSliver() { }, RenderSliverHelpers: function RenderSliverHelpers() { }, RenderSliverHelpers_hitTestBoxChild_closure: function RenderSliverHelpers_hitTestBoxChild_closure(t0, t1) { this._box_0 = t0; this.child = t1; }, _SliverGeometry_Object_Diagnosticable: function _SliverGeometry_Object_Diagnosticable() { }, _SliverLogicalContainerParentData_SliverLogicalParentData_ContainerParentDataMixin: function _SliverLogicalContainerParentData_SliverLogicalParentData_ContainerParentDataMixin() { }, _SliverPhysicalContainerParentData_SliverPhysicalParentData_ContainerParentDataMixin: function _SliverPhysicalContainerParentData_SliverPhysicalParentData_ContainerParentDataMixin() { }, RenderSliverFillViewport: function RenderSliverFillViewport(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._sliver_fill0$_viewportFraction = t0; _.__RenderSliverFixedExtentBoxAdaptor__currentLayoutDimensions_A = $; _._childManager = t1; _._keepAliveBucket = t2; _.__RenderSliverMultiBoxAdaptor__debugDanglingKeepAlives_A = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._geometry = null; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderSliverFixedExtentBoxAdaptor: function RenderSliverFixedExtentBoxAdaptor() { }, SliverGridGeometry: function SliverGridGeometry(t0, t1, t2, t3) { var _ = this; _.scrollOffset = t0; _.crossAxisOffset = t1; _.mainAxisExtent = t2; _.crossAxisExtent = t3; }, SliverGridLayout: function SliverGridLayout() { }, SliverGridRegularTileLayout: function SliverGridRegularTileLayout(t0, t1, t2, t3, t4, t5) { var _ = this; _.crossAxisCount = t0; _.mainAxisStride = t1; _.crossAxisStride = t2; _.childMainAxisExtent = t3; _.childCrossAxisExtent = t4; _.reverseCrossAxis = t5; }, SliverGridDelegate: function SliverGridDelegate() { }, SliverGridDelegateWithFixedCrossAxisCount: function SliverGridDelegateWithFixedCrossAxisCount(t0, t1, t2, t3) { var _ = this; _.crossAxisCount = t0; _.mainAxisSpacing = t1; _.crossAxisSpacing = t2; _.childAspectRatio = t3; }, SliverGridParentData: function SliverGridParentData(t0, t1, t2) { var _ = this; _.index = _.crossAxisOffset = null; _._keptAlive = false; _.KeepAliveParentDataMixin_keepAlive = t0; _.ContainerParentDataMixin_previousSibling = t1; _.ContainerParentDataMixin_nextSibling = t2; _.layoutOffset = null; }, RenderSliverGrid: function RenderSliverGrid(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._gridDelegate = t0; _._childManager = t1; _._keepAliveBucket = t2; _.__RenderSliverMultiBoxAdaptor__debugDanglingKeepAlives_A = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._geometry = null; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderSliverList: function RenderSliverList(t0, t1, t2, t3, t4, t5) { var _ = this; _._childManager = t0; _._keepAliveBucket = t1; _.__RenderSliverMultiBoxAdaptor__debugDanglingKeepAlives_A = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t2; _.ContainerRenderObjectMixin__firstChild = t3; _.ContainerRenderObjectMixin__lastChild = t4; _._geometry = null; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderSliverList_performLayout_advance: function RenderSliverList_performLayout_advance(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.childConstraints = t2; }, KeepAliveParentDataMixin: function KeepAliveParentDataMixin() { }, RenderSliverWithKeepAliveMixin: function RenderSliverWithKeepAliveMixin() { }, SliverMultiBoxAdaptorParentData: function SliverMultiBoxAdaptorParentData(t0, t1, t2) { var _ = this; _.index = null; _._keptAlive = false; _.KeepAliveParentDataMixin_keepAlive = t0; _.ContainerParentDataMixin_previousSibling = t1; _.ContainerParentDataMixin_nextSibling = t2; _.layoutOffset = null; }, RenderSliverMultiBoxAdaptor: function RenderSliverMultiBoxAdaptor() { }, RenderSliverMultiBoxAdaptor__createOrObtainChild_closure: function RenderSliverMultiBoxAdaptor__createOrObtainChild_closure(t0, t1, t2) { this.$this = t0; this.index = t1; this.after = t2; }, RenderSliverMultiBoxAdaptor_collectGarbage_closure: function RenderSliverMultiBoxAdaptor_collectGarbage_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, RenderSliverMultiBoxAdaptor_collectGarbage__closure: function RenderSliverMultiBoxAdaptor_collectGarbage__closure() { }, _RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin: function _RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin() { }, _RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin_RenderSliverHelpers: function _RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin_RenderSliverHelpers() { }, _RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin_RenderSliverHelpers_RenderSliverWithKeepAliveMixin: function _RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin_RenderSliverHelpers_RenderSliverWithKeepAliveMixin() { }, _SliverMultiBoxAdaptorParentData_SliverLogicalParentData_ContainerParentDataMixin: function _SliverMultiBoxAdaptorParentData_SliverLogicalParentData_ContainerParentDataMixin() { }, _SliverMultiBoxAdaptorParentData_SliverLogicalParentData_ContainerParentDataMixin_KeepAliveParentDataMixin: function _SliverMultiBoxAdaptorParentData_SliverLogicalParentData_ContainerParentDataMixin_KeepAliveParentDataMixin() { }, RenderSliverEdgeInsetsPadding: function RenderSliverEdgeInsetsPadding() { }, RenderSliverPadding: function RenderSliverPadding(t0, t1, t2, t3) { var _ = this; _._sliver_padding$_resolvedPadding = null; _._sliver_padding$_padding = t0; _._sliver_padding$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._geometry = null; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderSliverEdgeInsetsPadding_RenderSliver_RenderObjectWithChildMixin: function _RenderSliverEdgeInsetsPadding_RenderSliver_RenderObjectWithChildMixin() { }, _trim(original, bottom, left, right, $top) { return original == null ? null : original.intersect$1(new A.Rect(left, $top, right, bottom)); }, PersistentHeaderShowOnScreenConfiguration: function PersistentHeaderShowOnScreenConfiguration(t0) { this.minShowOnScreenExtent = t0; }, RenderSliverPersistentHeader: function RenderSliverPersistentHeader() { }, RenderSliverPersistentHeader_layoutChild_closure: function RenderSliverPersistentHeader_layoutChild_closure(t0, t1, t2) { this.$this = t0; this.shrinkOffset = t1; this.overlapsContent = t2; }, RenderSliverPinnedPersistentHeader: function RenderSliverPinnedPersistentHeader() { }, RenderSliverFloatingPersistentHeader__updateAnimation_closure: function RenderSliverFloatingPersistentHeader__updateAnimation_closure(t0) { this.$this = t0; }, _RenderSliverPersistentHeader_RenderSliver_RenderObjectWithChildMixin: function _RenderSliverPersistentHeader_RenderSliver_RenderObjectWithChildMixin() { }, _RenderSliverPersistentHeader_RenderSliver_RenderObjectWithChildMixin_RenderSliverHelpers: function _RenderSliverPersistentHeader_RenderSliver_RenderObjectWithChildMixin_RenderSliverHelpers() { }, RelativeRect_RelativeRect$fromRect(rect, container) { return new A.RelativeRect(rect.left - container.left, rect.top - container.top, container.right - rect.right, container.bottom - rect.bottom); }, RenderStack$(alignment, children, clipBehavior, fit, textDirection) { var t1 = new A.RenderStack(alignment, textDirection, fit, clipBehavior, A.LayerHandle$(type$.ClipRectLayer), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.addAll$1(0, children); return t1; }, RenderStack_getIntrinsicDimension(firstChild, mainChildSizeGetter) { var t1, child, extent, t2; for (t1 = type$.StackParentData, child = firstChild, extent = 0; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); if (!t2.get$isPositioned()) extent = Math.max(extent, A.checkNum(mainChildSizeGetter.call$1(child))); child = t2.ContainerParentDataMixin_nextSibling; } return extent; }, RenderStack_layoutPositionedChild(child, childParentData, size, alignment) { var t2, childConstraints, x, hasVisualOverflow, y, t1 = childParentData.left; if (t1 != null && childParentData.right != null) { t2 = childParentData.right; t2.toString; t1.toString; childConstraints = B.BoxConstraints_mlX5.tighten$1$width(size._dx - t2 - t1); } else { t1 = childParentData.width; childConstraints = t1 != null ? B.BoxConstraints_mlX5.tighten$1$width(t1) : B.BoxConstraints_mlX5; } t1 = childParentData.top; if (t1 != null && childParentData.bottom != null) { t2 = childParentData.bottom; t2.toString; t1.toString; childConstraints = childConstraints.tighten$1$height(size._dy - t2 - t1); } else { t1 = childParentData.height; if (t1 != null) childConstraints = childConstraints.tighten$1$height(t1); } child.layout$2$parentUsesSize(childConstraints, true); x = childParentData.left; if (!(x != null)) { t1 = childParentData.right; x = t1 != null ? size._dx - t1 - child.get$size(0)._dx : alignment.alongOffset$1(type$.Offset._as(size.$sub(0, child.get$size(0))))._dx; } hasVisualOverflow = (x < 0 || x + child.get$size(0)._dx > size._dx) && true; y = childParentData.top; if (!(y != null)) { t1 = childParentData.bottom; y = t1 != null ? size._dy - t1 - child.get$size(0)._dy : alignment.alongOffset$1(type$.Offset._as(size.$sub(0, child.get$size(0))))._dy; } if (y < 0 || y + child.get$size(0)._dy > size._dy) hasVisualOverflow = true; childParentData.offset = new A.Offset(x, y); return hasVisualOverflow; }, RelativeRect: function RelativeRect(t0, t1, t2, t3) { var _ = this; _.left = t0; _.top = t1; _.right = t2; _.bottom = t3; }, StackParentData: function StackParentData(t0, t1, t2) { var _ = this; _.height = _.width = _.left = _.bottom = _.right = _.top = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, StackFit: function StackFit(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderStack: function RenderStack(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._stack$_hasVisualOverflow = false; _._resolvedAlignment = null; _._alignment = t0; _._stack$_textDirection = t1; _._fit = t2; _._clipBehavior = t3; _._stack$_clipRectLayer = t4; _.ContainerRenderObjectMixin__childCount = t5; _.ContainerRenderObjectMixin__firstChild = t6; _.ContainerRenderObjectMixin__lastChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderStack_computeMinIntrinsicWidth_closure: function RenderStack_computeMinIntrinsicWidth_closure(t0) { this.height = t0; }, RenderStack_computeMaxIntrinsicWidth_closure: function RenderStack_computeMaxIntrinsicWidth_closure(t0) { this.height = t0; }, RenderStack_computeMinIntrinsicHeight_closure: function RenderStack_computeMinIntrinsicHeight_closure(t0) { this.width = t0; }, RenderStack_computeMaxIntrinsicHeight_closure: function RenderStack_computeMaxIntrinsicHeight_closure(t0) { this.width = t0; }, RenderIndexedStack: function RenderIndexedStack(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._stack$_index = t0; _._stack$_hasVisualOverflow = false; _._resolvedAlignment = null; _._alignment = t1; _._stack$_textDirection = t2; _._fit = t3; _._clipBehavior = t4; _._stack$_clipRectLayer = t5; _.ContainerRenderObjectMixin__childCount = t6; _.ContainerRenderObjectMixin__firstChild = t7; _.ContainerRenderObjectMixin__lastChild = t8; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t9; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderIndexedStack_hitTestChildren_closure: function RenderIndexedStack_hitTestChildren_closure(t0, t1, t2) { this.position = t0; this.childParentData = t1; this.child = t2; }, _RenderStack_RenderBox_ContainerRenderObjectMixin: function _RenderStack_RenderBox_ContainerRenderObjectMixin() { }, _RenderStack_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderStack_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, TableCellParentData: function TableCellParentData(t0) { this.y = this.verticalAlignment = null; this.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, t1) { this.index = t0; this._core$_name = t1; }, RenderTable: function RenderTable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { 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; _._columnLefts = null; _.__RenderTable__tableWidth_A = $; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = 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; }, ViewConfiguration: function ViewConfiguration(t0, t1) { this.size = t0; this.devicePixelRatio = t1; }, RenderView: function RenderView() { }, _RenderView_RenderObject_RenderObjectWithChildMixin: function _RenderView_RenderObject_RenderObjectWithChildMixin() { }, RenderAbstractViewport_maybeOf(object) { var t1; for (t1 = type$.RenderAbstractViewport; object != null;) { if (t1._is(object)) return object; object = object.get$parent(object); } return null; }, RevealedOffset_clampOffset(currentOffset, leadingEdgeOffset, trailingEdgeOffset) { var _0_0 = leadingEdgeOffset.offset < trailingEdgeOffset.offset ? new A._Record_2(leadingEdgeOffset, trailingEdgeOffset) : new A._Record_2(trailingEdgeOffset, leadingEdgeOffset), smaller = _0_0._0, larger = _0_0._1; if (currentOffset > larger.offset) return larger; else if (currentOffset < smaller.offset) return smaller; else return null; }, RenderViewportBase_showInViewport(curve, descendant, duration, offset, rect, viewport) { var leadingEdgeOffset, trailingEdgeOffset, t1, 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; targetOffset = A.RevealedOffset_clampOffset(t1, leadingEdgeOffset, trailingEdgeOffset); if (targetOffset == null) { transform = descendant.getTransformTo$1(0, viewport._object$_parent); return A.MatrixUtils_transformRect(transform, rect == null ? descendant.get$paintBounds() : rect); } offset.moveTo$3$curve$duration(0, targetOffset.offset, curve, duration); return targetOffset.rect; }, CacheExtentStyle: function CacheExtentStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, 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, t10, t11) { var _ = this; _._anchor = t0; _._viewport$_center = null; _.__RenderViewport__maxScrollExtent_A = _.__RenderViewport__minScrollExtent_A = $; _._viewport$_hasVisualOverflow = false; _._viewport$_axisDirection = t1; _._crossAxisDirection = t2; _._viewport$_offset = t3; _._cacheExtent = t4; _._calculatedCacheExtent = null; _._cacheExtentStyle = t5; _._viewport$_clipBehavior = t6; _._clipRectLayer = t7; _.ContainerRenderObjectMixin__childCount = t8; _.ContainerRenderObjectMixin__firstChild = t9; _.ContainerRenderObjectMixin__lastChild = t10; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderShrinkWrappingViewport: function RenderShrinkWrappingViewport(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.__RenderShrinkWrappingViewport__shrinkWrapExtent_A = _.__RenderShrinkWrappingViewport__maxScrollExtent_A = $; _._viewport$_hasVisualOverflow = false; _._viewport$_axisDirection = t0; _._crossAxisDirection = t1; _._viewport$_offset = t2; _._cacheExtent = t3; _._calculatedCacheExtent = null; _._cacheExtentStyle = t4; _._viewport$_clipBehavior = t5; _._clipRectLayer = t6; _.ContainerRenderObjectMixin__childCount = t7; _.ContainerRenderObjectMixin__firstChild = t8; _.ContainerRenderObjectMixin__lastChild = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderViewportBase_RenderBox_ContainerRenderObjectMixin: function _RenderViewportBase_RenderBox_ContainerRenderObjectMixin() { }, flipScrollDirection(direction) { switch (direction.index) { case 0: return B.ScrollDirection_0; case 1: return B.ScrollDirection_2; case 2: return B.ScrollDirection_1; } }, ScrollDirection: function ScrollDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, ViewportOffset: function ViewportOffset() { }, WrapAlignment: function WrapAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, WrapCrossAlignment: function WrapCrossAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, _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, t12, t13) { var _ = this; _._wrap$_direction = t0; _._wrap$_alignment = t1; _._wrap$_spacing = t2; _._runAlignment = t3; _._runSpacing = t4; _._wrap$_crossAxisAlignment = t5; _._wrap$_textDirection = t6; _._wrap$_verticalDirection = t7; _._wrap$_clipBehavior = t8; _._wrap$_hasVisualOverflow = false; _._wrap$_clipRectLayer = t9; _.ContainerRenderObjectMixin__childCount = t10; _.ContainerRenderObjectMixin__firstChild = t11; _.ContainerRenderObjectMixin__lastChild = t12; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t13; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderWrap_RenderBox_ContainerRenderObjectMixin: function _RenderWrap_RenderBox_ContainerRenderObjectMixin() { }, _RenderWrap_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderWrap_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, timeDilation(value) { var t1; if ($._timeDilation === value) return; t1 = $.SchedulerBinding__instance; if (t1 != null) t1.resetEpoch$0(); $._timeDilation = value; }, SchedulerBinding__taskSorter(e1, e2) { return -B.JSInt_methods.compareTo$1(e1.priority, e2.priority); }, defaultSchedulingStrategy(priority, scheduler) { if (scheduler.SchedulerBinding__transientCallbacks.__js_helper$_length > 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_A = $; _.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._core$_name = t1; }, PerformanceModeRequestHandle: function PerformanceModeRequestHandle(t0) { this._cleanup = t0; }, 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, t1) { this._box_0 = t0; this.$this = t1; }, SchedulerBinding__handleDrawFrame_closure: function SchedulerBinding__handleDrawFrame_closure(t0) { this.$this = t0; }, SchedulerBinding_handleBeginFrame_closure: function SchedulerBinding_handleBeginFrame_closure(t0) { this.$this = t0; }, TickerFuture$complete() { var t1 = new A.TickerFuture(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void)); t1._ticker$_complete$0(); return t1; }, Ticker: function Ticker(t0, t1) { var _ = this; _._ticker$_future = null; _._muted = false; _._startTime = null; _._onTick = t0; _._animationId = null; _.debugLabel = t1; _.__Ticker__debugCreationStack_A = $; }, TickerFuture: function TickerFuture(t0) { this._primaryCompleter = t0; this._completed = this._secondaryCompleter = null; }, TickerFuture_whenCompleteOrCancel_thunk: function TickerFuture_whenCompleteOrCancel_thunk(t0) { this.callback = t0; }, TickerCanceled: function TickerCanceled(t0) { this.ticker = t0; }, SemanticsBinding: function SemanticsBinding() { }, SemanticsHandle: function SemanticsHandle(t0) { this._onDispose = t0; }, CustomSemanticsAction_getIdentifier(action) { var result = $.CustomSemanticsAction__ids.$index(0, action); if (result == null) { result = $.CustomSemanticsAction__nextId; $.CustomSemanticsAction__nextId = result + 1; $.CustomSemanticsAction__ids.$indexSet(0, action, result); $.CustomSemanticsAction__actions.$indexSet(0, result, action); } return result; }, SemanticsData__sortedListsEqual(left, right) { var i; if (left.length !== right.length) return false; for (i = 0; i < left.length; ++i) if (!J.$eq$(left[i], right[i])) return false; return true; }, _SemanticsDiagnosticableNode$(childOrder, $name, style, value) { return new A._SemanticsDiagnosticableNode(childOrder, value, $name, true, true, null, style); }, SemanticsProperties$(attributedDecreasedValue, attributedHint, attributedIncreasedValue, attributedLabel, attributedValue, button, checked, currentValueLength, customSemanticsActions, decreasedValue, enabled, expanded, focusable, focused, header, hidden, hint, hintOverrides, identifier, image, inMutuallyExclusiveGroup, increasedValue, keyboardKey, label, link, liveRegion, maxValueLength, mixed, multiline, namesRoute, obscured, onCopy, onCut, onDecrease, onDidGainAccessibilityFocus, onDidLoseAccessibilityFocus, onDismiss, onIncrease, onLongPress, onMoveCursorBackwardByCharacter, onMoveCursorForwardByCharacter, onPaste, onScrollDown, onScrollLeft, onScrollRight, onScrollUp, onSetSelection, onSetText, onTap, readOnly, scopesRoute, selected, slider, sortKey, tagForChildren, textDirection, textField, toggled, tooltip, value) { return new A.SemanticsProperties(enabled, checked, mixed, expanded, toggled, selected, button, link, header, textField, slider, keyboardKey, readOnly, focusable, focused, inMutuallyExclusiveGroup, hidden, obscured, multiline, scopesRoute, namesRoute, image, liveRegion, maxValueLength, currentValueLength, identifier, label, attributedLabel, value, attributedValue, increasedValue, attributedIncreasedValue, decreasedValue, attributedDecreasedValue, hint, attributedHint, tooltip, hintOverrides, textDirection, sortKey, tagForChildren, onTap, onLongPress, onScrollLeft, onScrollRight, onScrollUp, onScrollDown, onIncrease, onDecrease, onCopy, onCut, onPaste, onMoveCursorForwardByCharacter, onMoveCursorBackwardByCharacter, onSetSelection, onSetText, onDidGainAccessibilityFocus, onDidLoseAccessibilityFocus, onDismiss, customSemanticsActions); }, SemanticsNode$(key, showOnScreen) { var t1 = $.$get$SemanticsNode__kEmptyConfig(), t2 = t1._isMergingSemanticsOfDescendants, t3 = t1._customSemanticsActions, t4 = t1._actionsAsBits, t5 = t1._flags, t6 = t1._identifier, t7 = t1._semantics$_attributedLabel, t8 = t1._semantics$_attributedValue, t9 = t1._semantics$_attributedIncreasedValue, t10 = t1._semantics$_attributedDecreasedValue, t11 = t1._semantics$_attributedHint, t12 = t1._tooltip, t13 = t1._semantics$_elevation, t14 = t1._semantics$_thickness, t15 = t1._semantics$_textDirection, t16 = ($.SemanticsNode__lastIdentifier + 1) % 65535; $.SemanticsNode__lastIdentifier = t16; return new A.SemanticsNode(key, t16, showOnScreen, B.Rect_0_0_0_0, t2, t1._actions, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15); }, _pointInParentCoordinates(node, point) { var t1, vector; if (node._semantics$_transform == null) return point; t1 = new Float64Array(3); vector = new A.Vector3(t1); vector.setValues$3(point._dx, point._dy, 0); node._semantics$_transform.transform3$1(vector); return new A.Offset(t1[0], t1[1]); }, _childrenInDefaultOrder(children, textDirection) { var t1, _i, child, t2, verticalGroups, group, depth, edge, edges = A._setArrayType([], type$.JSArray__BoxEdge); for (t1 = children.length, _i = 0; _i < children.length; children.length === t1 || (0, A.throwConcurrentModificationError)(children), ++_i) { child = children[_i]; t2 = child._semantics$_rect; edges.push(new A._BoxEdge(true, A._pointInParentCoordinates(child, new A.Offset(t2.left - -0.1, t2.top - -0.1))._dy, child)); edges.push(new A._BoxEdge(false, A._pointInParentCoordinates(child, new A.Offset(t2.right + -0.1, t2.bottom + -0.1))._dy, child)); } B.JSArray_methods.sort$0(edges); verticalGroups = A._setArrayType([], type$.JSArray__SemanticsSortGroup); for (t1 = edges.length, t2 = type$.JSArray_SemanticsNode, group = null, depth = 0, _i = 0; _i < edges.length; edges.length === t1 || (0, A.throwConcurrentModificationError)(edges), ++_i) { edge = edges[_i]; if (edge.isLeadingEdge) { ++depth; if (group == null) group = new A._SemanticsSortGroup(edge.offset, textDirection, A._setArrayType([], t2)); group.nodes.push(edge.node); } else --depth; if (depth === 0) { group.toString; verticalGroups.push(group); group = null; } } B.JSArray_methods.sort$0(verticalGroups); t1 = type$.ExpandIterable__SemanticsSortGroup_SemanticsNode; return A.List_List$of(new A.ExpandIterable(verticalGroups, new A._childrenInDefaultOrder_closure(), t1), true, t1._eval$1("Iterable.E")); }, SemanticsConfiguration$() { return new A.SemanticsConfiguration(A.LinkedHashMap_LinkedHashMap$_empty(type$.SemanticsAction, type$.void_Function_nullable_Object), A.LinkedHashMap_LinkedHashMap$_empty(type$.CustomSemanticsAction, type$.void_Function), new A.AttributedString("", B.List_empty3), new A.AttributedString("", B.List_empty3), new A.AttributedString("", B.List_empty3), new A.AttributedString("", B.List_empty3), new A.AttributedString("", B.List_empty3)); }, _concatAttributedString(otherAttributedString, otherTextDirection, thisAttributedString, thisTextDirection) { if (otherAttributedString.string.length === 0) return thisAttributedString; if (thisTextDirection != otherTextDirection && otherTextDirection != null) switch (otherTextDirection.index) { case 0: otherAttributedString = new A.AttributedString("\u202b", B.List_empty3).$add(0, otherAttributedString).$add(0, new A.AttributedString("\u202c", B.List_empty3)); break; case 1: otherAttributedString = new A.AttributedString("\u202a", B.List_empty3).$add(0, otherAttributedString).$add(0, new A.AttributedString("\u202c", B.List_empty3)); break; } if (thisAttributedString.string.length === 0) return otherAttributedString; return thisAttributedString.$add(0, new A.AttributedString("\n", B.List_empty3)).$add(0, otherAttributedString); }, SemanticsTag: function SemanticsTag(t0) { this.name = t0; }, ChildSemanticsConfigurationsResult: function ChildSemanticsConfigurationsResult(t0, t1) { this.mergeUp = t0; this.siblingMergeGroups = t1; }, ChildSemanticsConfigurationsResultBuilder: function ChildSemanticsConfigurationsResultBuilder(t0, t1) { this._mergeUp = t0; this._siblingMergeGroups = t1; }, CustomSemanticsAction: function CustomSemanticsAction(t0, t1, t2) { this.label = t0; this.hint = t1; this.action = t2; }, AttributedString: function AttributedString(t0, t1) { this.string = t0; this.attributes = t1; }, SemanticsData: function SemanticsData(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) { var _ = this; _.flags = t0; _.actions = t1; _.identifier = t2; _.attributedLabel = t3; _.attributedValue = t4; _.attributedIncreasedValue = t5; _.attributedDecreasedValue = t6; _.attributedHint = t7; _.tooltip = t8; _.textDirection = t9; _.textSelection = t10; _.scrollChildCount = t11; _.scrollIndex = t12; _.scrollPosition = t13; _.scrollExtentMax = t14; _.scrollExtentMin = t15; _.platformViewId = t16; _.maxValueLength = t17; _.currentValueLength = t18; _.rect = t19; _.tags = t20; _.transform = t21; _.elevation = t22; _.thickness = t23; _.customSemanticsActionIds = t24; }, _SemanticsDiagnosticableNode: function _SemanticsDiagnosticableNode(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.childOrder = t0; _.value = t1; _._cachedBuilder = null; _.name = t2; _.showSeparator = t3; _.showName = t4; _.linePrefix = t5; _.style = t6; }, SemanticsHintOverrides: function SemanticsHintOverrides(t0, t1) { this.onTapHint = t0; this.onLongPressHint = t1; }, SemanticsProperties: function SemanticsProperties(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) { var _ = this; _.enabled = t0; _.checked = t1; _.mixed = t2; _.expanded = t3; _.toggled = t4; _.selected = t5; _.button = t6; _.link = t7; _.header = t8; _.textField = t9; _.slider = t10; _.keyboardKey = t11; _.readOnly = t12; _.focusable = t13; _.focused = t14; _.inMutuallyExclusiveGroup = t15; _.hidden = t16; _.obscured = t17; _.multiline = t18; _.scopesRoute = t19; _.namesRoute = t20; _.image = t21; _.liveRegion = t22; _.maxValueLength = t23; _.currentValueLength = t24; _.identifier = t25; _.label = t26; _.attributedLabel = t27; _.value = t28; _.attributedValue = t29; _.increasedValue = t30; _.attributedIncreasedValue = t31; _.decreasedValue = t32; _.attributedDecreasedValue = t33; _.hint = t34; _.attributedHint = t35; _.tooltip = t36; _.hintOverrides = t37; _.textDirection = t38; _.sortKey = t39; _.tagForChildren = t40; _.onTap = t41; _.onLongPress = t42; _.onScrollLeft = t43; _.onScrollRight = t44; _.onScrollUp = t45; _.onScrollDown = t46; _.onIncrease = t47; _.onDecrease = t48; _.onCopy = t49; _.onCut = t50; _.onPaste = t51; _.onMoveCursorForwardByCharacter = t52; _.onMoveCursorBackwardByCharacter = t53; _.onSetSelection = t54; _.onSetText = t55; _.onDidGainAccessibilityFocus = t56; _.onDidLoseAccessibilityFocus = t57; _.onDismiss = t58; _.customSemanticsActions = t59; }, SemanticsNode: function SemanticsNode(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.key = t0; _._semantics$_id = t1; _._showOnScreen = t2; _._semantics$_transform = null; _._semantics$_rect = t3; _.indexInParent = _.elevationAdjustment = _.parentPaintClipRect = _.parentSemanticsClipRect = null; _._areUserActionsBlocked = _._isMergedIntoParent = false; _._mergeAllDescendantsIntoThisNode = t4; _._semantics$_children = null; _.__SemanticsNode__debugPreviousSnapshot_A = $; _._dead = false; _._semantics$_parent = _._semantics$_owner = null; _._semantics$_depth = 0; _._semantics$_dirty = false; _._actions = t5; _._customSemanticsActions = t6; _._actionsAsBits = t7; _.tags = null; _._flags = t8; _._identifier = t9; _._semantics$_attributedLabel = t10; _._semantics$_attributedValue = t11; _._semantics$_attributedIncreasedValue = t12; _._semantics$_attributedDecreasedValue = t13; _._semantics$_attributedHint = t14; _._tooltip = t15; _._semantics$_elevation = t16; _._semantics$_thickness = t17; _._hintOverrides = null; _._semantics$_textDirection = t18; _._currentValueLength = _._maxValueLength = _._platformViewId = _._scrollExtentMin = _._scrollExtentMax = _._scrollPosition = _._semantics$_scrollIndex = _._scrollChildCount = _._textSelection = _._sortKey = null; }, SemanticsNode_getSemanticsData_closure: function SemanticsNode_getSemanticsData_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.customSemanticsActionIds = t2; }, SemanticsNode__childrenInTraversalOrder_closure: function SemanticsNode__childrenInTraversalOrder_closure() { }, SemanticsNode_debugDescribeChildren_closure: function SemanticsNode_debugDescribeChildren_closure(t0) { this.childOrder = t0; }, _BoxEdge: function _BoxEdge(t0, t1, t2) { this.isLeadingEdge = t0; this.offset = t1; this.node = t2; }, _SemanticsSortGroup: function _SemanticsSortGroup(t0, t1, t2) { this.startOffset = t0; this.textDirection = t1; this.nodes = t2; }, _SemanticsSortGroup_sortedWithinVerticalGroup_closure: function _SemanticsSortGroup_sortedWithinVerticalGroup_closure() { }, _SemanticsSortGroup_sortedWithinKnot_closure: function _SemanticsSortGroup_sortedWithinKnot_closure() { }, _SemanticsSortGroup_sortedWithinKnot_search: function _SemanticsSortGroup_sortedWithinKnot_search(t0, t1, t2) { this.visitedIds = t0; this.edges = t1; this.sortedIds = t2; }, _SemanticsSortGroup_sortedWithinKnot_closure0: function _SemanticsSortGroup_sortedWithinKnot_closure0() { }, _SemanticsSortGroup_sortedWithinKnot_closure1: function _SemanticsSortGroup_sortedWithinKnot_closure1(t0) { this.nodeMap = t0; }, _childrenInDefaultOrder_closure: function _childrenInDefaultOrder_closure() { }, _TraversalSortNode: function _TraversalSortNode(t0, t1, t2) { this.node = t0; this.sortKey = t1; this.position = t2; }, SemanticsOwner: function SemanticsOwner(t0, t1, t2, t3, t4) { var _ = this; _.onSemanticsUpdate = t0; _._dirtyNodes = t1; _._nodes = t2; _._detachedNodes = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, SemanticsOwner_sendSemanticsUpdate_closure: function SemanticsOwner_sendSemanticsUpdate_closure(t0) { this.$this = t0; }, SemanticsOwner_sendSemanticsUpdate_closure0: function SemanticsOwner_sendSemanticsUpdate_closure0() { }, SemanticsOwner_sendSemanticsUpdate_closure1: function SemanticsOwner_sendSemanticsUpdate_closure1() { }, SemanticsOwner__getSemanticsActionHandlerForId_closure: function SemanticsOwner__getSemanticsActionHandlerForId_closure(t0, t1) { this._box_0 = t0; this.action = t1; }, SemanticsConfiguration: function SemanticsConfiguration(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._hasBeenAnnotated = _.isBlockingSemanticsOfPreviouslyPaintedNodes = _.explicitChildNodes = _.isBlockingUserActions = _._isSemanticBoundary = false; _._actions = t0; _._actionsAsBits = 0; _._currentValueLength = _._maxValueLength = _._platformViewId = _._semantics$_scrollIndex = _._scrollChildCount = _._indexInParent = _._sortKey = _._childConfigurationsDelegate = _._onTap = null; _._isMergingSemanticsOfDescendants = false; _._customSemanticsActions = t1; _._identifier = ""; _._semantics$_attributedLabel = t2; _._semantics$_attributedValue = t3; _._semantics$_attributedIncreasedValue = t4; _._semantics$_attributedDecreasedValue = t5; _._semantics$_attributedHint = t6; _._tooltip = ""; _._hintOverrides = null; _._semantics$_thickness = _._semantics$_elevation = 0; _._tagsForChildren = _._scrollExtentMin = _._scrollExtentMax = _._scrollPosition = _._textSelection = _._semantics$_textDirection = null; _._flags = 0; }, SemanticsConfiguration__addArgumentlessAction_closure: function SemanticsConfiguration__addArgumentlessAction_closure(t0) { this.handler = t0; }, SemanticsConfiguration_onMoveCursorForwardByCharacter_closure: function SemanticsConfiguration_onMoveCursorForwardByCharacter_closure(t0) { this.value = t0; }, SemanticsConfiguration_onMoveCursorBackwardByCharacter_closure: function SemanticsConfiguration_onMoveCursorBackwardByCharacter_closure(t0) { this.value = t0; }, SemanticsConfiguration_onMoveCursorForwardByWord_closure: function SemanticsConfiguration_onMoveCursorForwardByWord_closure(t0) { this.value = t0; }, SemanticsConfiguration_onMoveCursorBackwardByWord_closure: function SemanticsConfiguration_onMoveCursorBackwardByWord_closure(t0) { this.value = t0; }, SemanticsConfiguration_onSetSelection_closure: function SemanticsConfiguration_onSetSelection_closure(t0) { this.value = t0; }, SemanticsConfiguration_onSetText_closure: function SemanticsConfiguration_onSetText_closure(t0) { this.value = t0; }, SemanticsConfiguration_absorb_closure: function SemanticsConfiguration_absorb_closure(t0) { this.$this = t0; }, DebugSemanticsDumpOrder: function DebugSemanticsDumpOrder(t0, t1) { this.index = t0; this._core$_name = t1; }, SemanticsSortKey: function SemanticsSortKey() { }, OrdinalSortKey: function OrdinalSortKey(t0, t1) { this.order = t0; this.name = t1; }, _SemanticsData_Object_Diagnosticable: function _SemanticsData_Object_Diagnosticable() { }, _SemanticsNode_Object_DiagnosticableTreeMixin: function _SemanticsNode_Object_DiagnosticableTreeMixin() { }, _SemanticsSortKey_Object_Diagnosticable: function _SemanticsSortKey_Object_Diagnosticable() { }, Assertiveness0: function Assertiveness0(t0, t1) { this.index = t0; this._core$_name = t1; }, SemanticsEvent: function SemanticsEvent() { }, AnnounceSemanticsEvent: function AnnounceSemanticsEvent(t0, t1, t2, t3) { var _ = this; _.message = t0; _.textDirection = t1; _.assertiveness = t2; _.type = t3; }, TooltipSemanticsEvent: function TooltipSemanticsEvent(t0, t1) { this.message = t0; this.type = t1; }, LongPressSemanticsEvent: function LongPressSemanticsEvent(t0) { this.type = t0; }, TapSemanticEvent: function TapSemanticEvent(t0) { this.type = t0; }, FocusSemanticEvent: function FocusSemanticEvent(t0) { this.type = t0; }, _errorSummaryWithKey(key) { return A.ErrorSummary$('Unable to load asset: "' + key + '".'); }, AssetBundle: function AssetBundle() { }, CachingAssetBundle: function CachingAssetBundle() { }, CachingAssetBundle_loadString_closure: function CachingAssetBundle_loadString_closure(t0, t1) { this.$this = t0; this.key = t1; }, CachingAssetBundle_loadStructuredData_closure: function CachingAssetBundle_loadStructuredData_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.key = t2; _.T = t3; }, CachingAssetBundle_loadStructuredData_closure0: function CachingAssetBundle_loadStructuredData_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.key = t2; }, PlatformAssetBundle: function PlatformAssetBundle(t0, t1, t2) { this._stringCache = t0; this._structuredDataCache = t1; this._structuredBinaryDataCache = t2; }, PlatformAssetBundle_load_closure: function PlatformAssetBundle_load_closure(t0) { this.key = t0; }, AssetManifest_loadFromAssetBundle(bundle) { return bundle.loadStructuredData$1$2("AssetManifest.bin.json", new A.AssetManifest_loadFromAssetBundle_closure(), type$.AssetManifest); }, AssetManifest_loadFromAssetBundle_closure: function AssetManifest_loadFromAssetBundle_closure() { }, _AssetManifestBin: function _AssetManifestBin(t0, t1) { this._asset_manifest$_data = t0; this._typeCastedData = t1; }, _AssetManifestBin_getAssetVariants_closure: function _AssetManifestBin_getAssetVariants_closure(t0) { this.key = t0; }, AssetMetadata: function AssetMetadata(t0, t1) { this.targetDevicePixelRatio = t0; this.key = t1; }, AutofillConfiguration: function AutofillConfiguration(t0, t1, t2, t3, t4) { var _ = this; _.enabled = t0; _.uniqueIdentifier = t1; _.autofillHints = t2; _.currentEditingValue = t3; _.hintText = t4; }, _AutofillScopeTextInputConfiguration: function _AutofillScopeTextInputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.allConfigurations = t0; _.inputType = t1; _.readOnly = t2; _.obscureText = t3; _.autocorrect = t4; _.autofillConfiguration = t5; _.smartDashesType = t6; _.smartQuotesType = t7; _.enableSuggestions = t8; _.enableInteractiveSelection = t9; _.actionLabel = t10; _.inputAction = t11; _.textCapitalization = t12; _.keyboardAppearance = t13; _.enableIMEPersonalizedLearning = t14; _.allowedMimeTypes = t15; _.enableDeltaModel = t16; }, _AutofillScopeTextInputConfiguration_toJson_closure: function _AutofillScopeTextInputConfiguration_toJson_closure() { }, AutofillScopeMixin: function AutofillScopeMixin() { }, AutofillScopeMixin_attach_closure: function AutofillScopeMixin_attach_closure() { }, BinaryMessenger: function BinaryMessenger() { }, ServicesBinding__parseLicenses(rawLicenses) { var t2, _i, license, t3, split, t1 = B.JSString_methods.$mul("-", 80), result = A._setArrayType([], type$.JSArray_LicenseEntry), licenses = rawLicenses.split("\n" + t1 + "\n"); 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 A.LicenseEntryWithLineBreaks(A._setArrayType(t3.substring$2(license, 0, split).split("\n"), t2), t3.substring$1(license, split + 2))); else result.push(new A.LicenseEntryWithLineBreaks(B.List_empty0, license)); } return result; }, ServicesBinding__parseAppLifecycleMessage(message) { switch (message) { case "AppLifecycleState.resumed": return B.AppLifecycleState_1; case "AppLifecycleState.inactive": return B.AppLifecycleState_2; case "AppLifecycleState.hidden": return B.AppLifecycleState_3; case "AppLifecycleState.paused": return B.AppLifecycleState_4; case "AppLifecycleState.detached": return B.AppLifecycleState_0; } return null; }, ServicesBinding: function ServicesBinding() { }, ServicesBinding__initKeyboard_closure: function ServicesBinding__initKeyboard_closure(t0) { this.$this = t0; }, ServicesBinding__addLicenses_closure: function ServicesBinding__addLicenses_closure(t0) { this.controller = t0; }, _DefaultBinaryMessenger: function _DefaultBinaryMessenger() { }, _DefaultBinaryMessenger_send_closure: function _DefaultBinaryMessenger_send_closure(t0) { this.completer = t0; }, _DefaultBinaryMessenger_setMessageHandler_closure: function _DefaultBinaryMessenger_setMessageHandler_closure(t0) { this.handler = t0; }, BrowserContextMenu: function BrowserContextMenu() { }, Clipboard_setData(data) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$Clipboard_setData = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("Clipboard.setData", A.LinkedHashMap_LinkedHashMap$_literal(["text", data.text], type$.String, type$.dynamic), type$.void), $async$Clipboard_setData); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$Clipboard_setData, $async$completer); }, Clipboard_getData(format) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ClipboardData), $async$returnValue, result; var $async$Clipboard_getData = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(B.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 A.ClipboardData(A._asString(J.$index$asx(result, "text"))); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$Clipboard_getData, $async$completer); }, ClipboardData: function ClipboardData(t0) { this.text = t0; }, KeyUpEvent$(deviceType, logicalKey, physicalKey, synthesized, timeStamp) { return new A.KeyUpEvent(physicalKey, logicalKey, null, timeStamp, synthesized); }, KeyRepeatEvent$(character, deviceType, logicalKey, physicalKey, timeStamp) { return new A.KeyRepeatEvent(physicalKey, logicalKey, character, timeStamp, false); }, KeyEventManager__eventFromData(keyData) { var logicalKey, timeStamp, t1 = keyData.physical, physicalKey = B.Map_6FUEQ.$index(0, t1); if (physicalKey == null) physicalKey = new A.PhysicalKeyboardKey(t1); t1 = keyData.logical; logicalKey = B.Map_WPU06.$index(0, t1); if (logicalKey == null) logicalKey = new A.LogicalKeyboardKey(t1); timeStamp = keyData.timeStamp; switch (keyData.type.index) { case 0: return new A.KeyDownEvent(physicalKey, logicalKey, keyData.character, timeStamp, keyData.synthesized); case 1: return A.KeyUpEvent$(B.KeyEventDeviceType_0, logicalKey, physicalKey, keyData.synthesized, timeStamp); case 2: return A.KeyRepeatEvent$(keyData.character, B.KeyEventDeviceType_0, logicalKey, physicalKey, timeStamp); } }, KeyboardLockMode: function KeyboardLockMode(t0, t1, t2) { this.logicalKey = t0; this.index = t1; this._core$_name = t2; }, KeyEvent: function KeyEvent() { }, KeyDownEvent: function KeyDownEvent(t0, t1, t2, t3, t4) { var _ = this; _.physicalKey = t0; _.logicalKey = t1; _.character = t2; _.timeStamp = t3; _.synthesized = t4; }, KeyUpEvent: function KeyUpEvent(t0, t1, t2, t3, t4) { var _ = this; _.physicalKey = t0; _.logicalKey = t1; _.character = t2; _.timeStamp = t3; _.synthesized = t4; }, KeyRepeatEvent: function KeyRepeatEvent(t0, t1, t2, t3, t4) { var _ = this; _.physicalKey = t0; _.logicalKey = t1; _.character = t2; _.timeStamp = t3; _.synthesized = t4; }, HardwareKeyboard: function HardwareKeyboard(t0, t1, t2) { var _ = this; _._pressedKeys = t0; _._lockModes = t1; _._handlers = t2; _._duringDispatch = false; _._modifiedHandlers = null; }, KeyDataTransitMode: function KeyDataTransitMode(t0, t1) { this.index = t0; this._core$_name = t1; }, KeyMessage: function KeyMessage(t0, t1) { this.events = t0; this.rawEvent = t1; }, KeyEventManager: function KeyEventManager(t0, t1, t2, t3) { var _ = this; _.keyMessageHandler = null; _._hardwareKeyboard = t0; _._rawKeyboard = t1; _._transitMode = null; _._keyEventsSinceLastMessage = t2; _._skippedRawKeysPressed = t3; }, _KeyEvent_Object_Diagnosticable: function _KeyEvent_Object_Diagnosticable() { }, KeyboardInsertedContent: function KeyboardInsertedContent(t0, t1, t2) { this.mimeType = t0; this.uri = t1; this.data = t2; }, LogicalKeyboardKey_isControlCharacter(label) { var codeUnit, t1; if (label.length !== 1) return false; codeUnit = label.charCodeAt(0); if (!(codeUnit <= 31 && true)) t1 = codeUnit >= 127 && codeUnit <= 159; else t1 = true; return t1; }, LogicalKeyboardKey_collapseSynonyms(input) { var t1 = A._instanceType(input)._eval$1("ExpandIterable<SetBase.E,LogicalKeyboardKey>"); return A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(input, new A.LogicalKeyboardKey_collapseSynonyms_closure(), t1), t1._eval$1("Iterable.E")); }, LogicalKeyboardKey_expandSynonyms(input) { var t1 = A._instanceType(input)._eval$1("ExpandIterable<SetBase.E,LogicalKeyboardKey>"); return A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(input, new A.LogicalKeyboardKey_expandSynonyms_closure(), t1), t1._eval$1("Iterable.E")); }, KeyboardKey: function KeyboardKey() { }, LogicalKeyboardKey: function LogicalKeyboardKey(t0) { this.keyId = t0; }, LogicalKeyboardKey_collapseSynonyms_closure: function LogicalKeyboardKey_collapseSynonyms_closure() { }, LogicalKeyboardKey_expandSynonyms_closure: function LogicalKeyboardKey_expandSynonyms_closure() { }, PhysicalKeyboardKey: function PhysicalKeyboardKey(t0) { this.usbHidUsage = t0; }, _KeyboardKey_Object_Diagnosticable: function _KeyboardKey_Object_Diagnosticable() { }, PlatformException$(code, details, message, stacktrace) { return new A.PlatformException(code, message, details, stacktrace); }, MissingPluginException$(message) { return new A.MissingPluginException(message); }, MethodCall0: function MethodCall0(t0, t1) { this.method = t0; this.$arguments = t1; }, PlatformException: function PlatformException(t0, t1, t2, t3) { var _ = this; _.code = t0; _.message = t1; _.details = t2; _.stacktrace = t3; }, MissingPluginException: function MissingPluginException(t0) { this.message = t0; }, StringCodec: function StringCodec() { }, JSONMessageCodec0: function JSONMessageCodec0() { }, JSONMethodCodec0: function JSONMethodCodec0() { }, StandardMessageCodec0: function StandardMessageCodec0() { }, StandardMessageCodec_writeValue_closure0: function StandardMessageCodec_writeValue_closure0(t0, t1) { this.$this = t0; this.buffer = t1; }, StandardMethodCodec0: function StandardMethodCodec0() { }, _DeferringMouseCursor_firstNonDeferred(cursors) { var t1, t2, t3; for (t1 = A._instanceType(cursors), t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(cursors.__internal$_iterable), cursors._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1]; t2.moveNext$0();) { t3 = t2.__internal$_current; if (t3 == null) t3 = t1._as(t3); if (!t3.$eq(0, B.C__DeferringMouseCursor)) return t3; } return null; }, MouseCursorManager: function MouseCursorManager(t0, t1) { this.fallbackMouseCursor = t0; this._lastSession = t1; }, MouseCursorSession: function MouseCursorSession() { }, MouseCursor0: function MouseCursor0() { }, _DeferringMouseCursor: function _DeferringMouseCursor() { }, _NoopMouseCursorSession: function _NoopMouseCursorSession(t0, t1) { this.cursor = t0; this.device = t1; }, _NoopMouseCursor: function _NoopMouseCursor() { }, _SystemMouseCursorSession: function _SystemMouseCursorSession(t0, t1) { this.cursor = t0; this.device = t1; }, SystemMouseCursor: function SystemMouseCursor(t0) { this.kind = t0; }, _MouseCursor_Object_Diagnosticable: function _MouseCursor_Object_Diagnosticable() { }, _debugLaunchProfilePlatformChannels() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t1, t2, allStats, _i, stats, t3, t4, t5, t6, t7, t8; var $async$_debugLaunchProfilePlatformChannels = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = !$._profilePlatformChannelsIsRunning ? 2 : 3; break; case 2: // then $._profilePlatformChannelsIsRunning = true; $async$goto = 4; return A._asyncAwait(A.Future_Future$delayed(B.Duration_1000000, null, type$.dynamic), $async$_debugLaunchProfilePlatformChannels); case 4: // returning from await. $._profilePlatformChannelsIsRunning = false; t1 = "" + "Platform Channel Stats:\n"; t2 = $._profilePlatformChannelsStats.get$values(0); allStats = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); B.JSArray_methods.sort$1(allStats, new A._debugLaunchProfilePlatformChannels_closure()); for (t2 = allStats.length, _i = 0; _i < allStats.length; allStats.length === t2 || (0, A.throwConcurrentModificationError)(allStats), ++_i, t1 = t8) { stats = allStats[_i]; t3 = stats.channel; t4 = stats.type; t5 = stats.codec; t6 = stats._upBytes; t7 = B.JSNumber_methods.toStringAsFixed$1(t6 / stats._upCount, 1); t8 = stats._downBytes; t8 = t1 + (' (name:"' + t3 + '" type:"' + t4 + '" codec:"' + t5 + '" upBytes:' + t6 + " upBytes_avg:" + t7 + " downBytes:" + t8 + " downBytes_avg:" + B.JSNumber_methods.toStringAsFixed$1(t8 / stats._downCount, 1) + ")\n"); } A.print__debugPrintThrottled$closure().call$1(t1.charCodeAt(0) == 0 ? t1 : t1); $._profilePlatformChannelsStats.clear$0(0); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_debugLaunchProfilePlatformChannels, $async$completer); }, MethodChannel$($name, codec, binaryMessenger) { return new A.MethodChannel($name, codec, binaryMessenger); }, _ProfiledBinaryMessenger: function _ProfiledBinaryMessenger(t0, t1, t2) { this.proxy = t0; this.channelTypeName = t1; this.codecTypeName = t2; }, _PlatformChannelStats: function _PlatformChannelStats(t0, t1, t2) { var _ = this; _.channel = t0; _.codec = t1; _.type = t2; _._downBytes = _._downCount = _._upBytes = _._upCount = 0; }, _debugLaunchProfilePlatformChannels_closure: function _debugLaunchProfilePlatformChannels_closure() { }, BasicMessageChannel: function BasicMessageChannel(t0, t1, t2, t3) { var _ = this; _.name = t0; _.codec = t1; _._binaryMessenger = t2; _.$ti = t3; }, BasicMessageChannel_setMessageHandler_closure: function BasicMessageChannel_setMessageHandler_closure(t0, t1) { this.$this = t0; this.handler = t1; }, MethodChannel: function MethodChannel(t0, t1, t2) { this.name = t0; this.codec = t1; this._binaryMessenger = t2; }, MethodChannel_setMethodCallHandler_closure: function MethodChannel_setMethodCallHandler_closure(t0, t1) { this.$this = t0; this.handler = t1; }, OptionalMethodChannel: function OptionalMethodChannel(t0, t1, t2) { this.name = t0; this.codec = t1; this._binaryMessenger = t2; }, PlatformViewsRegistry: function PlatformViewsRegistry() { this._nextPlatformViewId = 0; }, PlatformViewController: function PlatformViewController() { }, ProcessTextAction: function ProcessTextAction(t0, t1) { this.id = t0; this.label = t1; }, DefaultProcessTextService: function DefaultProcessTextService() { this.__DefaultProcessTextService__processTextChannel_A = $; }, RawKeyEvent_RawKeyEvent$fromMessage(message) { var data, t2, t3, repeat, t1 = {}; t1.character = null; data = new A.RawKeyEvent_RawKeyEvent$fromMessage_dataFromWeb(t1, message).call$0(); t2 = $.$get$RawKeyboard_instance()._keysPressed; t3 = A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"); repeat = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapKeyIterable(t2, t3), t3._eval$1("Iterable.E")).contains$1(0, data.get$physicalKey()); t3 = J.$index$asx(message, "type"); t3.toString; A._asString(t3); switch (t3) { case "keydown": return new A.RawKeyDownEvent(t1.character, repeat, data); case "keyup": return new A.RawKeyUpEvent(null, false, data); default: throw A.wrapException(A.FlutterError_FlutterError("Unknown key event type: " + t3)); } }, KeyboardSide: function KeyboardSide(t0, t1) { this.index = t0; this._core$_name = t1; }, ModifierKey: function ModifierKey(t0, t1) { this.index = t0; this._core$_name = t1; }, RawKeyEventData: function RawKeyEventData() { }, RawKeyEvent: function RawKeyEvent() { }, RawKeyEvent_RawKeyEvent$fromMessage_dataFromWeb: function RawKeyEvent_RawKeyEvent$fromMessage_dataFromWeb(t0, t1) { this._box_0 = t0; this.message = t1; }, RawKeyDownEvent: function RawKeyDownEvent(t0, t1, t2) { this.character = t0; this.repeat = t1; this.data = t2; }, RawKeyUpEvent: function RawKeyUpEvent(t0, t1, t2) { this.character = t0; this.repeat = t1; this.data = t2; }, RawKeyboard0: function RawKeyboard0(t0, t1) { this._raw_keyboard$_listeners = t0; this._keysPressed = t1; }, _ModifierSidePair: function _ModifierSidePair(t0, t1) { this.modifier = t0; this.side = t1; }, _RawKeyEvent_Object_Diagnosticable: function _RawKeyEvent_Object_Diagnosticable() { }, _RawKeyEventData_Object_Diagnosticable: function _RawKeyEventData_Object_Diagnosticable() { }, RawKeyEventDataWeb: function RawKeyEventDataWeb(t0, t1, t2, t3, t4) { var _ = this; _.code = t0; _.key = t1; _.location = t2; _.metaState = t3; _.keyCode = t4; }, RestorationManager: function RestorationManager(t0, t1) { var _ = this; _._pendingRootBucket = _._restoration$_rootBucket = null; _._serializationScheduled = _._debugDoingUpdate = _._isReplacing = _._rootBucketIsValid = false; _._bucketsNeedingSerialization = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RestorationManager_handleRestorationUpdateFromEngine_closure: function RestorationManager_handleRestorationUpdateFromEngine_closure(t0) { this.$this = t0; }, RestorationManager_scheduleSerializationFor_closure: function RestorationManager_scheduleSerializationFor_closure(t0) { this.$this = t0; }, RestorationBucket: function RestorationBucket(t0, t1, t2, t3, t4, t5) { var _ = this; _._rawData = t0; _._debugOwner = null; _._restoration$_manager = t1; _._restoration$_parent = t2; _._restorationId = t3; _._claimedChildren = t4; _._childrenToAdd = t5; _._debugDisposed = _._needsSerialization = false; }, RestorationBucket__rawChildren_closure: function RestorationBucket__rawChildren_closure() { }, RestorationBucket__rawValues_closure: function RestorationBucket__rawValues_closure() { }, RestorationBucket__addChildData_closure: function RestorationBucket__addChildData_closure() { }, RestorationBucket__visitChildren_closure: function RestorationBucket__visitChildren_closure() { }, DefaultSpellCheckService_mergeResults(oldResults, newResults) { var oldSpan, newSpan, t2, t3, mergedResults = A._setArrayType([], type$.JSArray_SuggestionSpan), t1 = J.getInterceptor$asx(oldResults), oldSpanPointer = 0, newSpanPointer = 0; while (true) { if (!(oldSpanPointer < t1.get$length(oldResults) && newSpanPointer < newResults.length)) break; oldSpan = t1.$index(oldResults, oldSpanPointer); newSpan = newResults[newSpanPointer]; t2 = oldSpan.range.start; t3 = newSpan.range.start; if (t2 === t3) { mergedResults.push(oldSpan); ++oldSpanPointer; ++newSpanPointer; } else if (t2 < t3) { mergedResults.push(oldSpan); ++oldSpanPointer; } else { mergedResults.push(newSpan); ++newSpanPointer; } } B.JSArray_methods.addAll$1(mergedResults, t1.sublist$1(oldResults, oldSpanPointer)); B.JSArray_methods.addAll$1(mergedResults, B.JSArray_methods.sublist$1(newResults, newSpanPointer)); return mergedResults; }, SuggestionSpan: function SuggestionSpan(t0, t1) { this.range = t0; this.suggestions = t1; }, SpellCheckResults: function SpellCheckResults(t0, t1) { this.spellCheckedText = t0; this.suggestionSpans = t1; }, DefaultSpellCheckService: function DefaultSpellCheckService() { this.lastSavedResults = null; this.__DefaultSpellCheckService_spellCheckChannel_A = $; }, SystemChrome_setApplicationSwitcherDescription(description) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SystemChrome_setApplicationSwitcherDescription = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2(string$.System, A.LinkedHashMap_LinkedHashMap$_literal(["label", description.label, "primaryColor", description.primaryColor], type$.String, type$.dynamic), type$.void), $async$SystemChrome_setApplicationSwitcherDescription); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SystemChrome_setApplicationSwitcherDescription, $async$completer); }, SystemChrome_setSystemUIOverlayStyle(style) { if ($.SystemChrome__pendingStyle != null) { $.SystemChrome__pendingStyle = style; return; } if (style.$eq(0, $.SystemChrome__latestStyle)) return; $.SystemChrome__pendingStyle = style; A.scheduleMicrotask(new A.SystemChrome_setSystemUIOverlayStyle_closure()); }, ApplicationSwitcherDescription: function ApplicationSwitcherDescription(t0, t1) { this.label = t0; this.primaryColor = t1; }, SystemUiOverlayStyle: function SystemUiOverlayStyle(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.systemNavigationBarColor = t0; _.systemNavigationBarDividerColor = t1; _.systemNavigationBarIconBrightness = t2; _.systemNavigationBarContrastEnforced = t3; _.statusBarColor = t4; _.statusBarBrightness = t5; _.statusBarIconBrightness = t6; _.systemStatusBarContrastEnforced = t7; }, SystemChrome_setSystemUIOverlayStyle_closure: function SystemChrome_setSystemUIOverlayStyle_closure() { }, SystemSound_play(type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SystemSound_play = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("SystemSound.play", type._enumToString$0(), type$.void), $async$SystemSound_play); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SystemSound_play, $async$completer); }, SystemSoundType: function SystemSoundType(t0, t1) { this.index = t0; this._core$_name = t1; }, TextBoundary: function TextBoundary() { }, CharacterBoundary: function CharacterBoundary(t0) { this._text_boundary$_text = t0; }, LineBoundary: function LineBoundary(t0) { this._textLayout = t0; }, ParagraphBoundary: function ParagraphBoundary(t0) { this._text_boundary$_text = t0; }, DocumentBoundary: function DocumentBoundary(t0) { this._text_boundary$_text = t0; }, TextSelection$(affinity, baseOffset, extentOffset, isDirectional) { var t1 = baseOffset < extentOffset, t2 = t1 ? baseOffset : extentOffset; return new A.TextSelection(baseOffset, extentOffset, affinity, isDirectional, t2, t1 ? extentOffset : baseOffset); }, TextSelection$collapsed(affinity, offset) { return new A.TextSelection(offset, offset, affinity, false, offset, offset); }, TextSelection$fromPosition(position) { var t1 = position.offset; return new A.TextSelection(t1, t1, position.affinity, false, t1, t1); }, TextSelection: function TextSelection(t0, t1, t2, t3, t4, t5) { var _ = this; _.baseOffset = t0; _.extentOffset = t1; _.affinity = t2; _.isDirectional = t3; _.start = t4; _.end = t5; }, _toTextAffinity(affinity) { switch (affinity) { case "TextAffinity.downstream": return B.TextAffinity_1; case "TextAffinity.upstream": return B.TextAffinity_0; } return null; }, TextEditingDelta_TextEditingDelta$fromJSON(encoded) { var t3, newComposing, t4, newSelection, newText, isDeletionGreaterThanOne, isDeletingByReplacingWithEmpty, isReplacedByShorter, isReplacedBySame, isInsertingInsideComposingRegion, isDeletingInsideComposingRegion, t5, newComposingText, originalComposingText, isReplaced, t1 = J.getInterceptor$asx(encoded), oldText = A._asString(t1.$index(encoded, "oldText")), replacementDestinationStart = A._asInt(t1.$index(encoded, "deltaStart")), replacementDestinationEnd = A._asInt(t1.$index(encoded, "deltaEnd")), replacementSource = A._asString(t1.$index(encoded, "deltaText")), replacementSourceEnd = replacementSource.length, isNonTextUpdate = replacementDestinationStart === -1 && replacementDestinationStart === replacementDestinationEnd, t2 = A._asIntQ(t1.$index(encoded, "composingBase")); if (t2 == null) t2 = -1; t3 = A._asIntQ(t1.$index(encoded, "composingExtent")); newComposing = new A.TextRange(t2, t3 == null ? -1 : t3); t2 = A._asIntQ(t1.$index(encoded, "selectionBase")); if (t2 == null) t2 = -1; t3 = A._asIntQ(t1.$index(encoded, "selectionExtent")); if (t3 == null) t3 = -1; t4 = A._toTextAffinity(A._asStringQ(t1.$index(encoded, "selectionAffinity"))); if (t4 == null) t4 = B.TextAffinity_1; t1 = A._asBoolQ(t1.$index(encoded, "selectionIsDirectional")); newSelection = A.TextSelection$(t4, t2, t3, t1 === true); if (isNonTextUpdate) return new A.TextEditingDeltaNonTextUpdate(oldText, newSelection, newComposing); newText = B.JSString_methods.replaceRange$3(oldText, replacementDestinationStart, replacementDestinationEnd, replacementSource); t1 = replacementDestinationEnd - replacementDestinationStart; t2 = replacementSourceEnd - 0; isDeletionGreaterThanOne = t1 - t2 > 1; if (replacementSourceEnd === 0) isDeletingByReplacingWithEmpty = 0 === replacementSourceEnd; else isDeletingByReplacingWithEmpty = false; isReplacedByShorter = isDeletionGreaterThanOne && t2 < t1; isReplacedBySame = t2 === t1; t3 = replacementDestinationStart + replacementSourceEnd; isInsertingInsideComposingRegion = t3 > replacementDestinationEnd; t4 = !isReplacedByShorter; isDeletingInsideComposingRegion = t4 && !isDeletingByReplacingWithEmpty && t3 < replacementDestinationEnd; t5 = !isDeletingByReplacingWithEmpty; if (!t5 || isDeletingInsideComposingRegion || isReplacedByShorter) { newComposingText = B.JSString_methods.substring$2(replacementSource, 0, replacementSourceEnd); originalComposingText = B.JSString_methods.substring$2(oldText, replacementDestinationStart, t3); } else { newComposingText = B.JSString_methods.substring$2(replacementSource, 0, t1); originalComposingText = B.JSString_methods.substring$2(oldText, replacementDestinationStart, replacementDestinationEnd); } t3 = originalComposingText === newComposingText; isReplaced = !t3 || t2 > t1 || !t4 || isReplacedBySame; if (oldText === newText) return new A.TextEditingDeltaNonTextUpdate(oldText, newSelection, newComposing); else if ((!t5 || isDeletingInsideComposingRegion) && t3) return new A.TextEditingDeltaDeletion(new A.TextRange(!isDeletionGreaterThanOne ? replacementDestinationEnd - 1 : replacementDestinationStart, replacementDestinationEnd), oldText, newSelection, newComposing); else if ((replacementDestinationStart === replacementDestinationEnd || isInsertingInsideComposingRegion) && t3) return new A.TextEditingDeltaInsertion(B.JSString_methods.substring$2(replacementSource, t1, t1 + (replacementSourceEnd - t1)), replacementDestinationEnd, oldText, newSelection, newComposing); else if (isReplaced) return new A.TextEditingDeltaReplacement(replacementSource, new A.TextRange(replacementDestinationStart, replacementDestinationEnd), oldText, newSelection, newComposing); return new A.TextEditingDeltaNonTextUpdate(oldText, newSelection, newComposing); }, TextEditingDelta: function TextEditingDelta() { }, TextEditingDeltaInsertion: function TextEditingDeltaInsertion(t0, t1, t2, t3, t4) { var _ = this; _.textInserted = t0; _.insertionOffset = t1; _.oldText = t2; _.selection = t3; _.composing = t4; }, TextEditingDeltaDeletion: function TextEditingDeltaDeletion(t0, t1, t2, t3) { var _ = this; _.deletedRange = t0; _.oldText = t1; _.selection = t2; _.composing = t3; }, TextEditingDeltaReplacement: function TextEditingDeltaReplacement(t0, t1, t2, t3, t4) { var _ = this; _.replacementText = t0; _.replacedRange = t1; _.oldText = t2; _.selection = t3; _.composing = t4; }, TextEditingDeltaNonTextUpdate: function TextEditingDeltaNonTextUpdate(t0, t1, t2) { this.oldText = t0; this.selection = t1; this.composing = t2; }, _TextEditingDelta_Object_Diagnosticable: function _TextEditingDelta_Object_Diagnosticable() { }, LengthLimitingTextInputFormatter_truncate(value, maxLength) { var truncated, t2, t3, t4, t1 = value.text, iterator = new A.StringCharacterRange(t1, 0, 0); if ((t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1)).get$length(0) > maxLength) iterator._advanceEnd$2(maxLength, 0); truncated = iterator.get$current(0); t1 = value.selection; t2 = truncated.length; t1 = t1.copyWith$2$baseOffset$extentOffset(Math.min(t1.start, t2), Math.min(t1.end, t2)); t3 = value.composing; t4 = t3.start; t3 = t3.end; return new A.TextEditingValue(truncated, t1, t4 !== t3 && t2 > t4 ? new A.TextRange(t4, Math.min(t3, t2)) : B.TextRange_m1_m1); }, MaxLengthEnforcement: function MaxLengthEnforcement(t0, t1) { this.index = t0; this._core$_name = t1; }, TextInputFormatter: function TextInputFormatter() { }, _MutableTextRange: function _MutableTextRange(t0, t1) { this.base = t0; this.extent = t1; }, _TextEditingValueAccumulator: function _TextEditingValueAccumulator(t0, t1, t2, t3) { var _ = this; _.inputValue = t0; _.stringBuffer = t1; _.selection = t2; _.composingRegion = t3; _.debugFinalized = false; }, FilteringTextInputFormatter: function FilteringTextInputFormatter(t0, t1, t2) { this.filterPattern = t0; this.allow = t1; this.replacementString = t2; }, FilteringTextInputFormatter__processRegion_adjustIndex: function FilteringTextInputFormatter__processRegion_adjustIndex(t0, t1, t2) { this.regionStart = t0; this.regionEnd = t1; this.replacementString = t2; }, LengthLimitingTextInputFormatter: function LengthLimitingTextInputFormatter(t0, t1) { this.maxLength = t0; this.maxLengthEnforcement = t1; }, TextInputConfiguration$(actionLabel, allowedMimeTypes, autocorrect, autofillConfiguration, enableDeltaModel, enableIMEPersonalizedLearning, enableInteractiveSelection, enableSuggestions, inputAction, inputType, keyboardAppearance, obscureText, readOnly, smartDashesType, smartQuotesType, textCapitalization) { var t1, t2; if (smartDashesType == null) t1 = obscureText ? B.SmartDashesType_0 : B.SmartDashesType_1; else t1 = smartDashesType; if (smartQuotesType == null) t2 = obscureText ? B.SmartQuotesType_0 : B.SmartQuotesType_1; else t2 = smartQuotesType; return new A.TextInputConfiguration(inputType, readOnly, obscureText, autocorrect, autofillConfiguration, t1, t2, true, enableInteractiveSelection, actionLabel, inputAction, textCapitalization, keyboardAppearance, enableIMEPersonalizedLearning, allowedMimeTypes, enableDeltaModel); }, _toTextAffinity0(affinity) { switch (affinity) { case "TextAffinity.downstream": return B.TextAffinity_1; case "TextAffinity.upstream": return B.TextAffinity_0; } return null; }, TextEditingValue_TextEditingValue$fromJSON(encoded) { var t3, t4, t5, selection, t1 = J.getInterceptor$asx(encoded), text = A._asString(t1.$index(encoded, "text")), t2 = A._asIntQ(t1.$index(encoded, "selectionBase")); if (t2 == null) t2 = -1; t3 = A._asIntQ(t1.$index(encoded, "selectionExtent")); if (t3 == null) t3 = -1; t4 = A._toTextAffinity0(A._asStringQ(t1.$index(encoded, "selectionAffinity"))); if (t4 == null) t4 = B.TextAffinity_1; t5 = A._asBoolQ(t1.$index(encoded, "selectionIsDirectional")); selection = A.TextSelection$(t4, t2, t3, t5 === true); t2 = A._asIntQ(t1.$index(encoded, "composingBase")); if (t2 == null) t2 = -1; t1 = A._asIntQ(t1.$index(encoded, "composingExtent")); return new A.TextEditingValue(text, selection, new A.TextRange(t2, t1 == null ? -1 : t1)); }, TextInputConnection$_(_client) { var t1 = A._setArrayType([], type$.JSArray_SelectionRect), t2 = $.TextInputConnection__nextId; $.TextInputConnection__nextId = t2 + 1; return new A.TextInputConnection(t1, t2, _client); }, _toTextInputAction(action) { switch (action) { case "TextInputAction.none": return B.TextInputAction_0; case "TextInputAction.unspecified": return B.TextInputAction_1; case "TextInputAction.go": return B.TextInputAction_3; case "TextInputAction.search": return B.TextInputAction_4; case "TextInputAction.send": return B.TextInputAction_5; case "TextInputAction.next": return B.TextInputAction_6; case "TextInputAction.previous": return B.TextInputAction_7; case "TextInputAction.continueAction": return B.TextInputAction_8; case "TextInputAction.join": return B.TextInputAction_9; case "TextInputAction.route": return B.TextInputAction_10; case "TextInputAction.emergencyCall": return B.TextInputAction_11; case "TextInputAction.done": return B.TextInputAction_2; case "TextInputAction.newline": return B.TextInputAction_12; } throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("Unknown text input action: " + action)], type$.JSArray_DiagnosticsNode))); }, _toTextCursorAction(state) { switch (state) { case "FloatingCursorDragState.start": return B.FloatingCursorDragState_0; case "FloatingCursorDragState.update": return B.FloatingCursorDragState_1; case "FloatingCursorDragState.end": return B.FloatingCursorDragState_2; } throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("Unknown text cursor action: " + state)], type$.JSArray_DiagnosticsNode))); }, TextInput_finishAutofillContext(shouldSave) { var t1, t2, t3, t4, t5; for (t1 = $.$get$TextInput__instance(), t2 = t1._inputControls, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = type$.void, t4 = t2.$ti._precomputed1; t2.moveNext$0();) { t5 = t2._collection$_current; if (t5 == null) t4._as(t5); t5 = t1.__TextInput__channel_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5.invokeMethod$1$2("TextInput.finishAutofillContext", shouldSave, t3); } }, SmartDashesType: function SmartDashesType(t0, t1) { this.index = t0; this._core$_name = t1; }, SmartQuotesType: function SmartQuotesType(t0, t1) { this.index = t0; this._core$_name = t1; }, TextInputType: function TextInputType(t0, t1, t2) { this.index = t0; this.signed = t1; this.decimal = t2; }, TextInputAction: function TextInputAction(t0, t1) { this.index = t0; this._core$_name = t1; }, TextCapitalization0: function TextCapitalization0(t0, t1) { this.index = t0; this._core$_name = t1; }, TextInputConfiguration: function TextInputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.inputType = t0; _.readOnly = t1; _.obscureText = t2; _.autocorrect = t3; _.autofillConfiguration = t4; _.smartDashesType = t5; _.smartQuotesType = t6; _.enableSuggestions = t7; _.enableInteractiveSelection = t8; _.actionLabel = t9; _.inputAction = t10; _.textCapitalization = t11; _.keyboardAppearance = t12; _.enableIMEPersonalizedLearning = t13; _.allowedMimeTypes = t14; _.enableDeltaModel = t15; }, FloatingCursorDragState: function FloatingCursorDragState(t0, t1) { this.index = t0; this._core$_name = t1; }, RawFloatingCursorPoint: function RawFloatingCursorPoint(t0, t1, t2) { this.offset = t0; this.startLocation = t1; this.state = t2; }, TextEditingValue: function TextEditingValue(t0, t1, t2) { this.text = t0; this.selection = t1; this.composing = t2; }, TextEditingValue_replaced_adjustIndex: function TextEditingValue_replaced_adjustIndex(t0, t1) { this.replacementRange = t0; this.replacementString = t1; }, SelectionChangedCause: function SelectionChangedCause(t0, t1) { this.index = t0; this._core$_name = t1; }, TextSelectionDelegate: function TextSelectionDelegate() { }, TextInputClient: function TextInputClient() { }, SelectionRect: function SelectionRect(t0, t1, t2) { this.position = t0; this.bounds = t1; this.direction = t2; }, DeltaTextInputClient: function DeltaTextInputClient() { }, TextInputConnection: function TextInputConnection(t0, t1, t2) { var _ = this; _._cachedCaretRect = _._text_input$_cachedRect = _._cachedTransform = _._cachedSize = null; _._cachedSelectionRects = t0; _._text_input$_id = t1; _._text_input$_client = t2; }, TextInput: function TextInput(t0, t1, t2) { var _ = this; _._currentControl = t0; _._inputControls = t1; _.__TextInput__channel_A = $; _._currentConnection = null; _.__TextInput__currentConfiguration_A = $; _._scribbleClients = t2; _._hidePending = _._scribbleInProgress = false; }, TextInput__loudlyHandleTextInputInvocation_closure: function TextInput__loudlyHandleTextInputInvocation_closure(t0) { this.$call = t0; }, TextInput__handleTextInputInvocation_closure: function TextInput__handleTextInputInvocation_closure() { }, TextInput__handleTextInputInvocation_closure0: function TextInput__handleTextInputInvocation_closure0(t0, t1) { this.$this = t0; this.args = t1; }, TextInput__handleTextInputInvocation_closure1: function TextInput__handleTextInputInvocation_closure1(t0) { this.$this = t0; }, TextInput__scheduleHide_closure: function TextInput__scheduleHide_closure(t0) { this.$this = t0; }, TextInputControl: function TextInputControl() { }, _PlatformTextInputControl: function _PlatformTextInputControl() { }, _PlatformTextInputControl_setSelectionRects_closure: function _PlatformTextInputControl_setSelectionRects_closure() { }, __PlatformTextInputControl_Object_TextInputControl: function __PlatformTextInputControl_Object_TextInputControl() { }, UndoDirection: function UndoDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, UndoManager: function UndoManager() { this.__UndoManager__channel_A = $; this._currentClient = null; }, UndoManagerClient: function UndoManagerClient() { }, HtmlElementViewImpl_buildImpl(_this, context) { return new A.PlatformViewLink(new A.HtmlElementViewImpl_buildImpl_closure(), A.HtmlElementViewImpl_get__createController(_this), _this.viewType, null); }, HtmlElementViewImpl__createController(_this, params) { var controller = new A._HtmlElementViewController(params.id, _this.viewType, null); controller.__html_element_view_web$_initialize$0().then$1$1(0, new A.HtmlElementViewImpl__createController_closure(params, _this), type$.Null); return controller; }, HtmlElementViewImpl_get__createController(_this) { return new A.HtmlElementViewImpl_get__createController_closure(_this); }, HtmlElementViewImpl_buildImpl_closure: function HtmlElementViewImpl_buildImpl_closure() { }, HtmlElementViewImpl_get__createController_closure: function HtmlElementViewImpl_get__createController_closure(t0) { this._this = t0; }, HtmlElementViewImpl__createController_closure: function HtmlElementViewImpl__createController_closure(t0, t1) { this.params = t0; this._this = t1; }, _HtmlElementViewController: function _HtmlElementViewController(t0, t1, t2) { var _ = this; _.viewId = t0; _.viewType = t1; _.creationParams = t2; _.__html_element_view_web$_initialized = false; }, _getParent(context) { var $parent = A._Cell$named("parent"); context.visitAncestorElements$1(new A._getParent_closure($parent)); return $parent._readLocal$0(); }, Actions$(actions, child) { return new A.Actions(actions, child, null); }, Actions__visitActionsAncestors(context, visitor) { var t1, actionsElement, t2, ancestor; if (context._widget == null) return false; t1 = type$._ActionsScope; actionsElement = context.getElementForInheritedWidgetOfExactType$1$0(t1); for (; t2 = actionsElement != null, t2; actionsElement = ancestor) { if (visitor.call$1(actionsElement)) break; t2 = A._getParent(actionsElement)._inheritedElements; ancestor = t2 == null ? null : t2.$index(0, A.createRuntimeType(t1)); } return t2; }, Actions__findDispatcher(context) { var t1 = {}; t1.dispatcher = null; A.Actions__visitActionsAncestors(context, new A.Actions__findDispatcher_closure(t1)); return B.C_ActionDispatcher; }, Actions_maybeFind(context, intent, $T) { var t1 = {}; t1.action = null; if ((intent == null ? null : A.getRuntimeTypeOfDartObject(intent)) == null) A.createRuntimeType($T); A.Actions__visitActionsAncestors(context, new A.Actions_maybeFind_closure(t1, intent, context, $T)); return t1.action; }, Actions__maybeFindWithoutDependingOn(context, $T) { var t1 = {}; t1.action = null; A.createRuntimeType($T); A.Actions__visitActionsAncestors(context, new A.Actions__maybeFindWithoutDependingOn_closure(t1, null, $T)); return t1.action; }, Actions__castAction(actionsMarker, intent, $T) { var mappedAction, t1 = intent == null ? null : A.getRuntimeTypeOfDartObject(intent); if (t1 == null) t1 = A.createRuntimeType($T); mappedAction = actionsMarker.actions.$index(0, t1); if ($T._eval$1("Action<0>?")._is(mappedAction)) return mappedAction; else return null; }, Actions_invoke(context, intent, $T) { var t1 = {}; t1.returnValue = null; A.Actions__visitActionsAncestors(context, new A.Actions_invoke_closure(t1, intent, context, $T)); return t1.returnValue; }, Actions_maybeInvoke(context, intent, $T) { var t1 = {}; t1.returnValue = null; A.Actions__visitActionsAncestors(context, new A.Actions_maybeInvoke_closure(t1, intent, context, $T)); return t1.returnValue; }, FocusableActionDetector$(actions, autofocus, child, enabled, focusNode, mouseCursor, onFocusChange, onShowFocusHighlight, onShowHoverHighlight, shortcuts) { return new A.FocusableActionDetector(enabled, focusNode, false, actions, shortcuts, onShowFocusHighlight, onShowHoverHighlight, onFocusChange, mouseCursor, child, null); }, DoNothingAction$(consumesKey) { return new A.DoNothingAction(consumesKey, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_Action_Intent), type$.ObserverList_of_void_Function_Action_Intent)); }, _getParent_closure: function _getParent_closure(t0) { this.parent = t0; }, Intent: function Intent() { }, Action: function Action() { }, ContextAction: function ContextAction() { }, CallbackAction: function CallbackAction(t0, t1, t2) { var _ = this; _.onInvoke = t0; _._actions$_listeners = t1; _._currentCallingAction = null; _.$ti = t2; }, ActionDispatcher: function ActionDispatcher() { }, Actions: function Actions(t0, t1, t2) { this.actions = t0; this.child = t1; this.key = t2; }, Actions__findDispatcher_closure: function Actions__findDispatcher_closure(t0) { this._box_0 = t0; }, Actions_maybeFind_closure: function Actions_maybeFind_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.intent = t1; _.context = t2; _.T = t3; }, Actions__maybeFindWithoutDependingOn_closure: function Actions__maybeFindWithoutDependingOn_closure(t0, t1, t2) { this._box_0 = t0; this.intent = t1; this.T = t2; }, Actions_invoke_closure: function Actions_invoke_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.intent = t1; _.context = t2; _.T = t3; }, Actions_maybeInvoke_closure: function Actions_maybeInvoke_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.intent = t1; _.context = t2; _.T = t3; }, _ActionsState: function _ActionsState(t0, t1, t2) { var _ = this; _.listenedActions = t0; _.rebuildKey = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ActionsState__handleActionChanged_closure: function _ActionsState__handleActionChanged_closure(t0) { this.$this = t0; }, _ActionsScope: function _ActionsScope(t0, t1, t2, t3, t4) { var _ = this; _.dispatcher = t0; _.actions = t1; _.rebuildKey = t2; _.child = t3; _.key = t4; }, FocusableActionDetector: function FocusableActionDetector(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.enabled = t0; _.focusNode = t1; _.autofocus = t2; _.actions = t3; _.shortcuts = t4; _.onShowFocusHighlight = t5; _.onShowHoverHighlight = t6; _.onFocusChange = t7; _.mouseCursor = t8; _.child = t9; _.key = t10; }, _FocusableActionDetectorState: function _FocusableActionDetectorState(t0, t1) { var _ = this; _._focused = _._actions$_hovering = _._canShowHighlight = false; _._mouseRegionKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _FocusableActionDetectorState_initState_closure: function _FocusableActionDetectorState_initState_closure(t0) { this.$this = t0; }, _FocusableActionDetectorState__updateHighlightMode_closure: function _FocusableActionDetectorState__updateHighlightMode_closure(t0) { this.$this = t0; }, _FocusableActionDetectorState__handleMouseEnter_closure: function _FocusableActionDetectorState__handleMouseEnter_closure(t0) { this.$this = t0; }, _FocusableActionDetectorState__handleMouseExit_closure: function _FocusableActionDetectorState__handleMouseExit_closure(t0) { this.$this = t0; }, _FocusableActionDetectorState__handleFocusChange_closure: function _FocusableActionDetectorState__handleFocusChange_closure(t0, t1) { this.$this = t0; this.focused = t1; }, _FocusableActionDetectorState__mayTriggerCallback_shouldShowHoverHighlight: function _FocusableActionDetectorState__mayTriggerCallback_shouldShowHoverHighlight(t0) { this.$this = t0; }, _FocusableActionDetectorState__mayTriggerCallback_canRequestFocus: function _FocusableActionDetectorState__mayTriggerCallback_canRequestFocus(t0) { this.$this = t0; }, _FocusableActionDetectorState__mayTriggerCallback_shouldShowFocusHighlight: function _FocusableActionDetectorState__mayTriggerCallback_shouldShowFocusHighlight(t0, t1) { this.$this = t0; this.canRequestFocus = t1; }, _FocusableActionDetectorState_didUpdateWidget_closure: function _FocusableActionDetectorState_didUpdateWidget_closure(t0, t1) { this.$this = t0; this.oldWidget = t1; }, VoidCallbackAction: function VoidCallbackAction(t0) { this._actions$_listeners = t0; this._currentCallingAction = null; }, DoNothingAndStopPropagationIntent: function DoNothingAndStopPropagationIntent() { }, DoNothingAction: function DoNothingAction(t0, t1) { this._consumesKey = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, ActivateIntent: function ActivateIntent() { }, ButtonActivateIntent: function ButtonActivateIntent() { }, DismissIntent: function DismissIntent() { }, DismissAction: function DismissAction() { }, PrioritizedIntents: function PrioritizedIntents() { }, PrioritizedAction: function PrioritizedAction(t0) { var _ = this; _.__PrioritizedAction__selectedIntent_A = _.__PrioritizedAction__selectedAction_A = $; _._actions$_listeners = t0; _._currentCallingAction = null; }, _OverridableActionMixin: function _OverridableActionMixin() { }, _OverridableAction: function _OverridableAction(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.defaultAction = t0; _.lookupContext = t1; _._OverridableActionMixin_debugAssertMutuallyRecursive = t2; _._OverridableActionMixin_debugAssertIsActionEnabledMutuallyRecursive = t3; _._OverridableActionMixin_debugAssertIsEnabledMutuallyRecursive = t4; _._OverridableActionMixin_debugAssertConsumeKeyMutuallyRecursive = t5; _._actions$_listeners = t6; _._currentCallingAction = null; _.$ti = t7; }, _OverridableContextAction: function _OverridableContextAction(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.defaultAction = t0; _.lookupContext = t1; _._OverridableActionMixin_debugAssertMutuallyRecursive = t2; _._OverridableActionMixin_debugAssertIsActionEnabledMutuallyRecursive = t3; _._OverridableActionMixin_debugAssertIsEnabledMutuallyRecursive = t4; _._OverridableActionMixin_debugAssertConsumeKeyMutuallyRecursive = t5; _._actions$_listeners = t6; _._currentCallingAction = null; _.$ti = t7; }, _ContextActionToActionAdapter: function _ContextActionToActionAdapter(t0, t1, t2, t3) { var _ = this; _.invokeContext = t0; _.action = t1; _._actions$_listeners = t2; _._currentCallingAction = null; _.$ti = t3; }, _Action_Object_Diagnosticable: function _Action_Object_Diagnosticable() { }, _ActionDispatcher_Object_Diagnosticable: function _ActionDispatcher_Object_Diagnosticable() { }, _Intent_Object_Diagnosticable: function _Intent_Object_Diagnosticable() { }, __OverridableAction_ContextAction__OverridableActionMixin: function __OverridableAction_ContextAction__OverridableActionMixin() { }, __OverridableContextAction_ContextAction__OverridableActionMixin: function __OverridableContextAction_ContextAction__OverridableActionMixin() { }, AnimatedCrossFade_defaultLayoutBuilder(topChild, topChildKey, bottomChild, bottomChildKey) { var _null = null; return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_0, A._setArrayType([A.Positioned$(_null, bottomChild, _null, bottomChildKey, 0, 0, 0, _null), A.Positioned$(_null, topChild, _null, topChildKey, _null, _null, _null, _null)], type$.JSArray_Widget), _null); }, CrossFadeState: function CrossFadeState(t0, t1) { this.index = t0; this._core$_name = t1; }, AnimatedCrossFade: function AnimatedCrossFade(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.firstChild = t0; _.secondChild = t1; _.crossFadeState = t2; _.duration = t3; _.firstCurve = t4; _.secondCurve = t5; _.sizeCurve = t6; _.key = t7; }, _AnimatedCrossFadeState: function _AnimatedCrossFadeState(t0, t1, t2) { var _ = this; _.___AnimatedCrossFadeState__secondAnimation_A = _.___AnimatedCrossFadeState__firstAnimation_A = _.___AnimatedCrossFadeState__controller_A = $; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedCrossFadeState_initState_closure: function _AnimatedCrossFadeState_initState_closure(t0) { this.$this = t0; }, _AnimatedCrossFadeState_initState__closure: function _AnimatedCrossFadeState_initState__closure() { }, __AnimatedCrossFadeState_State_TickerProviderStateMixin: function __AnimatedCrossFadeState_State_TickerProviderStateMixin() { }, AnimatedSize$(alignment, child, curve, duration, reverseDuration) { return new A.AnimatedSize(child, alignment, curve, duration, reverseDuration, null); }, AnimatedSize: function AnimatedSize(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.alignment = t1; _.curve = t2; _.duration = t3; _.reverseDuration = t4; _.key = t5; }, _AnimatedSizeState: function _AnimatedSizeState(t0, t1, t2) { var _ = this; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedSize: function _AnimatedSize(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.alignment = t0; _.curve = t1; _.duration = t2; _.reverseDuration = t3; _.vsync = t4; _.clipBehavior = t5; _.onEnd = t6; _.child = t7; _.key = t8; }, __AnimatedSizeState_State_SingleTickerProviderStateMixin: function __AnimatedSizeState_State_SingleTickerProviderStateMixin() { }, AnimatedSwitcher$(child, duration, switchInCurve, switchOutCurve, transitionBuilder) { return new A.AnimatedSwitcher(child, duration, switchInCurve, switchOutCurve, transitionBuilder, null); }, AnimatedSwitcher_defaultTransitionBuilder(child, animation) { return new A.FadeTransition(animation, false, child, new A.ValueKey(child.key, type$.ValueKey_nullable_Key)); }, AnimatedSwitcher_defaultLayoutBuilder(currentChild, previousChildren) { var t1 = A.List_List$of(previousChildren, true, type$.Widget); if (currentChild != null) t1.push(currentChild); return new A.Stack(B.Alignment_0_0, null, B.StackFit_0, B.Clip_1, t1, null); }, _ChildEntry: function _ChildEntry(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.animation = t1; _.transition = t2; _.widgetChild = t3; }, AnimatedSwitcher: function AnimatedSwitcher(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.duration = t1; _.switchInCurve = t2; _.switchOutCurve = t3; _.transitionBuilder = t4; _.key = t5; }, _AnimatedSwitcherState: function _AnimatedSwitcherState(t0, t1, t2, t3, t4) { var _ = this; _._currentEntry = null; _._outgoingEntries = t0; _._outgoingWidgets = t1; _._childNumber = 0; _.TickerProviderStateMixin__tickers = t2; _.TickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _AnimatedSwitcherState__newEntry_closure: function _AnimatedSwitcherState__newEntry_closure(t0, t1, t2) { this.$this = t0; this.entry = t1; this.controller = t2; }, _AnimatedSwitcherState__newEntry__closure: function _AnimatedSwitcherState__newEntry__closure(t0, t1) { this.$this = t0; this.entry = t1; }, _AnimatedSwitcherState__rebuildOutgoingWidgetsIfNeeded_closure: function _AnimatedSwitcherState__rebuildOutgoingWidgetsIfNeeded_closure() { }, _AnimatedSwitcherState_build_closure: function _AnimatedSwitcherState_build_closure(t0) { this.$this = t0; }, __AnimatedSwitcherState_State_TickerProviderStateMixin: function __AnimatedSwitcherState_State_TickerProviderStateMixin() { }, AnnotatedRegion: function AnnotatedRegion(t0, t1, t2, t3) { var _ = this; _.value = t0; _.child = t1; _.key = t2; _.$ti = t3; }, basicLocaleListResolution(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 B.JSArray_methods.get$first(supportedLocales); t1 = type$.String; t2 = type$.Locale; allSupportedLocales = A.HashMap_HashMap(_null, _null, _null, t1, t2); languageAndCountryLocales = A.HashMap_HashMap(_null, _null, _null, t1, t2); languageAndScriptLocales = A.HashMap_HashMap(_null, _null, _null, t1, t2); languageLocales = A.HashMap_HashMap(_null, _null, _null, t1, t2); countryLocales = A.HashMap_HashMap(_null, _null, _null, type$.nullable_String, t2); for (t1 = supportedLocales.length, _i = 0; _i < supportedLocales.length; supportedLocales.length === t1 || (0, A.throwConcurrentModificationError)(supportedLocales), ++_i) { locale = supportedLocales[_i]; t2 = locale._languageCode; t3 = B.Map_oFQ7B.$index(0, t2); if (t3 == null) t3 = t2; t4 = locale._countryCode; t5 = B.Map_GxYRK.$index(0, t4); if (t5 == null) t5 = t4; t5 = t3 + "_null_" + A.S(t5); if (allSupportedLocales.$index(0, t5) == null) allSupportedLocales.$indexSet(0, t5, locale); t3 = B.Map_oFQ7B.$index(0, t2); t3 = (t3 == null ? t2 : t3) + "_null"; if (languageAndScriptLocales.$index(0, t3) == null) languageAndScriptLocales.$indexSet(0, t3, locale); t3 = B.Map_oFQ7B.$index(0, t2); if (t3 == null) t3 = t2; t5 = B.Map_GxYRK.$index(0, t4); if (t5 == null) t5 = t4; t5 = t3 + "_" + A.S(t5); if (languageAndCountryLocales.$index(0, t5) == null) languageAndCountryLocales.$indexSet(0, t5, locale); t3 = B.Map_oFQ7B.$index(0, t2); t2 = t3 == null ? t2 : t3; if (languageLocales.$index(0, t2) == null) languageLocales.$indexSet(0, t2, locale); t2 = B.Map_GxYRK.$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 = B.Map_oFQ7B.$index(0, t1); if (t2 == null) t2 = t1; t3 = userLocale._countryCode; t4 = B.Map_GxYRK.$index(0, t3); if (t4 == null) t4 = t3; if (allSupportedLocales.containsKey$1(0, t2 + "_null_" + A.S(t4))) return userLocale; t2 = B.Map_GxYRK.$index(0, t3); if ((t2 == null ? t3 : t2) != null) { t2 = B.Map_oFQ7B.$index(0, t1); if (t2 == null) t2 = t1; t4 = B.Map_GxYRK.$index(0, t3); if (t4 == null) t4 = t3; match = languageAndCountryLocales.$index(0, t2 + "_" + A.S(t4)); if (match != null) return match; } if (matchesLanguageCode != null) return matchesLanguageCode; t2 = B.Map_oFQ7B.$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 = B.Map_oFQ7B.$index(0, t2); t2 = t4 == null ? t2 : t4; t4 = B.Map_oFQ7B.$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 = B.Map_GxYRK.$index(0, t3); t1 = (t1 == null ? t3 : t1) != null; } else t1 = false; if (t1) { t1 = B.Map_GxYRK.$index(0, t3); match = countryLocales.$index(0, t1 == null ? t3 : t1); if (match != null) matchesCountryCode = match; } } resolvedLocale = matchesLanguageCode == null ? matchesCountryCode : matchesLanguageCode; return resolvedLocale == null ? B.JSArray_methods.get$first(supportedLocales) : resolvedLocale; }, WidgetsApp_defaultShortcuts() { return B.Map_UEybB; }, 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, t33, t34) { var _ = this; _.navigatorKey = t0; _.onGenerateRoute = t1; _.onGenerateInitialRoutes = t2; _.pageRouteBuilder = t3; _.routeInformationParser = t4; _.routerDelegate = t5; _.backButtonDispatcher = t6; _.routeInformationProvider = t7; _.routerConfig = t8; _.home = t9; _.routes = t10; _.onUnknownRoute = t11; _.onNavigationNotification = t12; _.initialRoute = t13; _.navigatorObservers = t14; _.builder = t15; _.title = t16; _.onGenerateTitle = t17; _.textStyle = t18; _.color = t19; _.locale = t20; _.localizationsDelegates = t21; _.localeListResolutionCallback = t22; _.localeResolutionCallback = t23; _.supportedLocales = t24; _.showPerformanceOverlay = t25; _.checkerboardRasterCacheImages = t26; _.checkerboardOffscreenLayers = t27; _.showSemanticsDebugger = t28; _.inspectorSelectButtonBuilder = t29; _.debugShowCheckedModeBanner = t30; _.shortcuts = t31; _.actions = t32; _.restorationScopeId = t33; _.key = t34; }, _WidgetsAppState: function _WidgetsAppState(t0) { var _ = this; _._widget = _._app$_locale = _._navigator = _._defaultBackButtonDispatcher = _._defaultRouteInformationProvider = _._appLifecycleState = 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; }, __WidgetsAppState_State_WidgetsBindingObserver: function __WidgetsAppState_State_WidgetsBindingObserver() { }, AsyncSnapshot$nothing($T) { return new A.AsyncSnapshot(B.ConnectionState_0, null, null, null, $T._eval$1("AsyncSnapshot<0>")); }, StreamBuilder$(builder, stream, $T) { return new A.StreamBuilder(builder, stream, null, $T._eval$1("StreamBuilder<0>")); }, FutureBuilder$(builder, future, $T) { return new A.FutureBuilder(future, builder, null, $T._eval$1("FutureBuilder<0>")); }, StreamBuilderBase: function StreamBuilderBase() { }, _StreamBuilderBaseState: function _StreamBuilderBaseState(t0, t1) { var _ = this; _._subscription = null; _.___StreamBuilderBaseState__summary_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _StreamBuilderBaseState__subscribe_closure: function _StreamBuilderBaseState__subscribe_closure(t0) { this.$this = t0; }, _StreamBuilderBaseState__subscribe__closure1: function _StreamBuilderBaseState__subscribe__closure1(t0, t1) { this.$this = t0; this.data = t1; }, _StreamBuilderBaseState__subscribe_closure1: function _StreamBuilderBaseState__subscribe_closure1(t0) { this.$this = t0; }, _StreamBuilderBaseState__subscribe__closure: function _StreamBuilderBaseState__subscribe__closure(t0, t1, t2) { this.$this = t0; this.error = t1; this.stackTrace = t2; }, _StreamBuilderBaseState__subscribe_closure0: function _StreamBuilderBaseState__subscribe_closure0(t0) { this.$this = t0; }, _StreamBuilderBaseState__subscribe__closure0: function _StreamBuilderBaseState__subscribe__closure0(t0) { this.$this = t0; }, ConnectionState: function ConnectionState(t0, t1) { this.index = t0; this._core$_name = t1; }, AsyncSnapshot: function AsyncSnapshot(t0, t1, t2, t3, t4) { var _ = this; _.connectionState = t0; _.data = t1; _.error = t2; _.stackTrace = t3; _.$ti = t4; }, StreamBuilder: function StreamBuilder(t0, t1, t2, t3) { var _ = this; _.builder = t0; _.stream = t1; _.key = t2; _.$ti = t3; }, FutureBuilder: function FutureBuilder(t0, t1, t2, t3) { var _ = this; _.future = t0; _.builder = t1; _.key = t2; _.$ti = t3; }, _FutureBuilderState: function _FutureBuilderState(t0, t1) { var _ = this; _._activeCallbackIdentity = null; _.___FutureBuilderState__snapshot_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _FutureBuilderState__subscribe_closure: function _FutureBuilderState__subscribe_closure(t0, t1) { this.$this = t0; this.callbackIdentity = t1; }, _FutureBuilderState__subscribe__closure0: function _FutureBuilderState__subscribe__closure0(t0, t1) { this.$this = t0; this.data = t1; }, _FutureBuilderState__subscribe_closure0: function _FutureBuilderState__subscribe_closure0(t0, t1) { this.$this = t0; this.callbackIdentity = t1; }, _FutureBuilderState__subscribe__closure: function _FutureBuilderState__subscribe__closure(t0, t1, t2) { this.$this = t0; this.error = t1; this.stackTrace = t2; }, RawAutocomplete$(displayStringForOption, fieldViewBuilder, focusNode, initialValue, key, onSelected, optionsBuilder, optionsViewBuilder, optionsViewOpenDirection, textEditingController, $T) { return new A.RawAutocomplete(fieldViewBuilder, focusNode, optionsViewBuilder, optionsViewOpenDirection, displayStringForOption, onSelected, optionsBuilder, textEditingController, initialValue, key, $T._eval$1("RawAutocomplete<0>")); }, RawAutocomplete_defaultStringForOption(option) { return J.toString$0$(option); }, _AutocompleteCallbackAction$(onInvoke, $T) { return new A._AutocompleteCallbackAction(onInvoke, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_Action_Intent), type$.ObserverList_of_void_Function_Action_Intent), $T._eval$1("_AutocompleteCallbackAction<0>")); }, AutocompleteHighlightedOption_of(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.AutocompleteHighlightedOption); if (t1 == null) t1 = null; else t1 = t1.notifier._change_notifier$_value; return t1 == null ? 0 : t1; }, OptionsViewOpenDirection: function OptionsViewOpenDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, RawAutocomplete: function RawAutocomplete(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.fieldViewBuilder = t0; _.focusNode = t1; _.optionsViewBuilder = t2; _.optionsViewOpenDirection = t3; _.displayStringForOption = t4; _.onSelected = t5; _.optionsBuilder = t6; _.textEditingController = t7; _.initialValue = t8; _.key = t9; _.$ti = t10; }, _RawAutocompleteState: function _RawAutocompleteState(t0, t1, t2, t3, t4, t5) { var _ = this; _._fieldKey = t0; _._optionsLayerLink = t1; _.___RawAutocompleteState__hideOptionsAction_F = _.___RawAutocompleteState__nextOptionAction_F = _.___RawAutocompleteState__previousOptionAction_F = _.___RawAutocompleteState__actionMap_F = _.___RawAutocompleteState__focusNode_A = _.___RawAutocompleteState__textEditingController_A = $; _._autocomplete$_options = t2; _._autocomplete$_selection = null; _._userHidOptions = false; _._lastFieldText = ""; _._highlightedOptionIndex = t3; _._floatingOptions = null; _._floatingOptionsUpdateScheduled = false; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; _.$ti = t5; }, _RawAutocompleteState__updateOverlay_closure: function _RawAutocompleteState__updateOverlay_closure(t0) { this.$this = t0; }, _RawAutocompleteState__updateOverlay_closure0: function _RawAutocompleteState__updateOverlay_closure0(t0) { this.$this = t0; }, _RawAutocompleteState__updateOverlay__closure: function _RawAutocompleteState__updateOverlay__closure(t0) { this.$this = t0; }, _AutocompleteCallbackAction: function _AutocompleteCallbackAction(t0, t1, t2) { var _ = this; _.enabled = true; _.onInvoke = t0; _._actions$_listeners = t1; _._currentCallingAction = null; _.$ti = t2; }, AutocompletePreviousOptionIntent: function AutocompletePreviousOptionIntent() { }, AutocompleteNextOptionIntent: function AutocompleteNextOptionIntent() { }, AutocompleteHighlightedOption: function AutocompleteHighlightedOption(t0, t1, t2) { this.notifier = t0; this.child = t1; this.key = t2; }, AutofillGroup_maybeOf(context) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$._AutofillScope); return scope == null ? null : scope._scope; }, AutofillContextAction: function AutofillContextAction(t0, t1) { this.index = t0; this._core$_name = t1; }, AutofillGroup: function AutofillGroup(t0, t1) { this.child = t0; this.key = t1; }, AutofillGroupState: function AutofillGroupState(t0, t1) { var _ = this; _._autofill$_clients = t0; _._isTopmostAutofillGroup = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, AutofillGroupState_autofillClients_closure: function AutofillGroupState_autofillClients_closure() { }, AutofillGroupState_register_closure: function AutofillGroupState_register_closure(t0) { this.client = t0; }, _AutofillScope: function _AutofillScope(t0, t1, t2) { this._scope = t0; this.child = t1; this.key = t2; }, _AutofillGroupState_State_AutofillScopeMixin: function _AutofillGroupState_State_AutofillScopeMixin() { }, AutomaticKeepAlive: function AutomaticKeepAlive(t0, t1) { this.child = t0; this.key = t1; }, _AutomaticKeepAliveState: function _AutomaticKeepAliveState(t0) { var _ = this; _._automatic_keep_alive$_handles = null; _.___AutomaticKeepAliveState__child_A = $; _._keepingAlive = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AutomaticKeepAliveState__addClient_closure: function _AutomaticKeepAliveState__addClient_closure(t0) { this.$this = t0; }, _AutomaticKeepAliveState__getChildElement_closure: function _AutomaticKeepAliveState__getChildElement_closure(t0) { this._box_0 = t0; }, _AutomaticKeepAliveState__createCallback_closure: function _AutomaticKeepAliveState__createCallback_closure(t0, t1, t2) { this.$this = t0; this.handle = t1; this.callback = t2; }, _AutomaticKeepAliveState__createCallback__closure: function _AutomaticKeepAliveState__createCallback__closure(t0) { this.$this = t0; }, _AutomaticKeepAliveState__createCallback__closure0: function _AutomaticKeepAliveState__createCallback__closure0(t0) { this.$this = t0; }, _AutomaticKeepAliveState__createCallback___closure: function _AutomaticKeepAliveState__createCallback___closure(t0) { this.$this = t0; }, KeepAliveNotification: function KeepAliveNotification(t0) { this.handle = t0; }, KeepAliveHandle: function KeepAliveHandle(t0) { var _ = this; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AutomaticKeepAliveClientMixin: function AutomaticKeepAliveClientMixin() { }, _NullWidget1: function _NullWidget1(t0) { this.key = t0; }, _UbiquitousInheritedElement__recurseChildren(element, visitor) { element.visitChildren$1(new A._UbiquitousInheritedElement__recurseChildren_closure(visitor)); visitor.call$1(element); }, Directionality$(child, textDirection) { return new A.Directionality(textDirection, child, null); }, Directionality_maybeOf(context) { var widget = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); return widget == null ? null : widget.textDirection; }, Opacity$(child, opacity) { return new A.Opacity(opacity, child, null); }, BackdropFilter$(child, filter) { return new A.BackdropFilter(filter, child, null); }, CustomPaint$(child, foregroundPainter, key, painter, size) { return new A.CustomPaint(painter, foregroundPainter, size, child, key); }, ClipRect$(child, clipBehavior, clipper) { return new A.ClipRect(clipper, clipBehavior, child, null); }, ClipRRect$(borderRadius, child, clipBehavior) { return new A.ClipRRect(borderRadius, clipBehavior, child, null); }, ClipPath$(child, clipBehavior, clipper) { return new A.ClipPath(clipper, clipBehavior, child, null); }, ClipPath_shape(child, shape) { return new A.Builder(new A.ClipPath_shape_closure(shape, B.Clip_2, child), null); }, PhysicalShape$(child, clipBehavior, clipper, color, elevation, shadowColor) { return new A.PhysicalShape(clipper, clipBehavior, elevation, color, shadowColor, child, null); }, Transform$(alignment, child, filterQuality, transform, transformHitTests) { return new A.Transform(transform, alignment, transformHitTests, filterQuality, child, null); }, Transform$rotate(angle, child) { return new A.Transform(A.Transform__computeRotation(angle), B.Alignment_0_0, true, null, child, null); }, Transform$translate(child, offset) { return new A.Transform(A.Matrix4_Matrix4$translationValues(offset._dx, offset._dy, 0), null, true, null, child, null); }, Transform__computeRotation(radians) { var t1, sin, cos; if (radians === 0) { t1 = new A.Matrix40(new Float64Array(16)); t1.setIdentity$0(); return t1; } sin = Math.sin(radians); if (sin === 1) return A.Transform__createZRotation(1, 0); if (sin === -1) return A.Transform__createZRotation(-1, 0); cos = Math.cos(radians); if (cos === -1) return A.Transform__createZRotation(0, -1); return A.Transform__createZRotation(sin, cos); }, Transform__createZRotation(sin, cos) { var t1 = new Float64Array(16); t1[0] = cos; t1[1] = sin; t1[4] = -sin; t1[5] = cos; t1[10] = 1; t1[15] = 1; return new A.Matrix40(t1); }, CompositedTransformFollower$(child, followerAnchor, key, link, offset, showWhenUnlinked, targetAnchor) { return new A.CompositedTransformFollower(link, showWhenUnlinked, targetAnchor, followerAnchor, offset, child, key); }, FittedBox$(child) { return new A.FittedBox(child, null); }, FractionalTranslation$(child, transformHitTests, translation) { return new A.FractionalTranslation(translation, transformHitTests, child, null); }, Center$(child, heightFactor, widthFactor) { return new A.Center(B.Alignment_0_0, widthFactor, heightFactor, child, null); }, LayoutId$(child, id) { return new A.LayoutId(id, child, new A.ValueKey(id, type$.ValueKey_Object)); }, SizedBox$expand(child) { return new A.SizedBox(1 / 0, 1 / 0, child, null); }, SizedBox$fromSize(child, size) { return new A.SizedBox(size._dx, size._dy, child, null); }, FractionallySizedBox$(alignment, child, heightFactor, widthFactor) { return new A.FractionallySizedBox(widthFactor, heightFactor, alignment, child, null); }, LimitedBox$(child, maxHeight, maxWidth) { return new A.LimitedBox(maxWidth, maxHeight, child, null); }, OverflowBox$(alignment, child, maxHeight, maxWidth, minHeight, minWidth) { return new A.OverflowBox(alignment, minWidth, maxWidth, minHeight, maxHeight, child, null); }, IntrinsicWidth$(child, stepWidth) { return new A.IntrinsicWidth(stepWidth, child, null); }, getAxisDirectionFromAxisReverseAndDirectionality(context, axis, reverse) { var t1, axisDirection; switch (axis.index) { case 0: t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; axisDirection = A.textDirectionToAxisDirection(t1.textDirection); return reverse ? A.flipAxisDirection(axisDirection) : axisDirection; case 1: return reverse ? B.AxisDirection_0 : B.AxisDirection_2; } }, ListBody$(children, mainAxis) { return new A.ListBody(mainAxis, children, null); }, Positioned$(bottom, child, height, key, left, right, $top, width) { return new A.Positioned(left, $top, right, bottom, width, height, child, key); }, Positioned$fromRect(child, rect) { var t1 = rect.left, t2 = rect.top; return new A.Positioned(t1, t2, null, null, rect.right - t1, rect.bottom - t2, child, null); }, Positioned$fill(bottom, child) { return new A.Positioned(0, 0, 0, bottom, null, null, child, null); }, Positioned_Positioned$directional(bottom, child, end, height, start, textDirection, $top, width) { var right, left; switch (textDirection.index) { case 0: right = start; left = end; break; case 1: right = end; left = start; break; default: left = null; right = null; } return A.Positioned$(bottom, child, height, null, left, right, $top, width); }, Flex$(children, crossAxisAlignment, direction, key, mainAxisAlignment, mainAxisSize, textBaseline, textDirection, verticalDirection) { return new A.Flex(direction, mainAxisAlignment, mainAxisSize, crossAxisAlignment, textDirection, verticalDirection, textBaseline, children, key); }, Row$(children, crossAxisAlignment, mainAxisAlignment, mainAxisSize, textDirection) { return new A.Row(B.Axis_0, mainAxisAlignment, mainAxisSize, crossAxisAlignment, textDirection, B.VerticalDirection_1, null, children, null); }, Column$(children, crossAxisAlignment, key, mainAxisAlignment, mainAxisSize, verticalDirection) { return new A.Column(B.Axis_1, mainAxisAlignment, mainAxisSize, crossAxisAlignment, null, verticalDirection, null, children, key); }, Expanded$(child, flex) { return new A.Expanded(flex, B.FlexFit_0, child, null); }, Wrap$(alignment, children, clipBehavior, crossAxisAlignment, runAlignment, spacing) { return new A.Wrap(alignment, spacing, runAlignment, crossAxisAlignment, clipBehavior, children, null); }, RichText$(key, locale, maxLines, overflow, selectionColor, selectionRegistrar, softWrap, strutStyle, text, textAlign, textDirection, textHeightBehavior, textScaler, textWidthBasis) { return new A.RichText(text, textAlign, textDirection, softWrap, overflow, A.RichText__effectiveTextScalerFrom(textScaler, 1), maxLines, locale, strutStyle, textWidthBasis, textHeightBehavior, selectionRegistrar, selectionColor, A.WidgetSpan_extractFromInlineSpan(text, A.RichText__effectiveTextScalerFrom(textScaler, 1)), key); }, RichText__effectiveTextScalerFrom(textScaler, textScaleFactor) { var t1, _0_2, scaler, _0_1, _0_2_isSet; $label0$0: { t1 = 1 === textScaleFactor; _0_2 = textScaleFactor; scaler = textScaler; _0_1 = scaler; _0_2_isSet = true; if (t1) { t1 = scaler; break $label0$0; } if (B._LinearTextScaler_1.$eq(0, _0_1)) { if (_0_2_isSet) t1 = _0_2; else { t1 = textScaleFactor; _0_2 = t1; _0_2_isSet = true; } t1 = typeof t1 == "number"; } else t1 = false; if (t1) { t1 = new A._LinearTextScaler(_0_2_isSet ? _0_2 : textScaleFactor); break $label0$0; } t1 = _0_1; break $label0$0; throw A.wrapException(A.ReachabilityError$(string$.None_o)); } return t1; }, Listener$(behavior, child, key, onPointerCancel, onPointerDown, onPointerHover, onPointerMove, onPointerPanZoomStart, onPointerSignal, onPointerUp) { return new A.Listener(onPointerDown, onPointerMove, onPointerUp, onPointerHover, onPointerCancel, onPointerPanZoomStart, onPointerSignal, behavior, child, key); }, MouseRegion$(child, cursor, hitTestBehavior, key, onEnter, onExit, onHover) { return new A.MouseRegion(onEnter, onHover, onExit, cursor, hitTestBehavior, child, key); }, IgnorePointer$(child, ignoring, key) { return new A.IgnorePointer(ignoring, child, key); }, AbsorbPointer$(absorbing, child) { return new A.AbsorbPointer(absorbing, child, null); }, BlockSemantics$(child) { return new A.BlockSemantics(child, null); }, KeyedSubtree_KeyedSubtree$wrap(child, childIndex) { var t1 = child.key; return new A.KeyedSubtree(child, t1 != null ? new A.ValueKey(t1, type$.ValueKey_Key) : new A.ValueKey(childIndex, type$.ValueKey_int)); }, KeyedSubtree_ensureUniqueKeysForList(items) { var itemsWithUniqueKeys, t1, t2, t3, itemIndex, _i, item, t4; if (items.length === 0) return items; itemsWithUniqueKeys = A._setArrayType([], 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, A.throwConcurrentModificationError)(items), ++_i) { item = items[_i]; t4 = item.key; itemsWithUniqueKeys.push(new A.KeyedSubtree(item, t4 != null ? new A.ValueKey(t4, t3) : new A.ValueKey(itemIndex, t2))); ++itemIndex; } return itemsWithUniqueKeys; }, _UbiquitousInheritedElement: function _UbiquitousInheritedElement(t0, t1, t2) { var _ = this; _._dependents = t0; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _UbiquitousInheritedElement_notifyClients_closure: function _UbiquitousInheritedElement_notifyClients_closure(t0, t1) { this.$this = t0; this.oldWidget = t1; }, _UbiquitousInheritedElement__recurseChildren_closure: function _UbiquitousInheritedElement__recurseChildren_closure(t0) { this.visitor = t0; }, _UbiquitousInheritedWidget: function _UbiquitousInheritedWidget() { }, Directionality: function Directionality(t0, t1, t2) { this.textDirection = t0; this.child = t1; this.key = t2; }, Opacity: function Opacity(t0, t1, t2) { this.opacity = t0; this.child = t1; this.key = t2; }, BackdropFilter: function BackdropFilter(t0, t1, t2) { this.filter = t0; this.child = t1; this.key = t2; }, 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, t2, t3) { var _ = this; _.clipper = t0; _.clipBehavior = t1; _.child = t2; _.key = t3; }, ClipRRect: function ClipRRect(t0, t1, t2, t3) { var _ = this; _.borderRadius = t0; _.clipBehavior = t1; _.child = t2; _.key = t3; }, 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; }, ClipPath_shape_closure: function ClipPath_shape_closure(t0, t1, t2) { this.shape = t0; this.clipBehavior = t1; this.child = t2; }, 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, t5) { var _ = this; _.transform = t0; _.alignment = t1; _.transformHitTests = t2; _.filterQuality = t3; _.child = t4; _.key = t5; }, CompositedTransformTarget: function CompositedTransformTarget(t0, t1, t2) { this.link = t0; this.child = t1; this.key = t2; }, CompositedTransformFollower: function CompositedTransformFollower(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.link = t0; _.showWhenUnlinked = t1; _.targetAnchor = t2; _.followerAnchor = t3; _.offset = t4; _.child = t5; _.key = t6; }, 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; }, OverflowBox: function OverflowBox(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.alignment = t0; _.minWidth = t1; _.maxWidth = t2; _.minHeight = t3; _.maxHeight = t4; _.child = t5; _.key = t6; }, Offstage: function Offstage(t0, t1, t2) { this.offstage = t0; this.child = t1; this.key = t2; }, _OffstageElement: function _OffstageElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._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) { var _ = this; _.alignment = t0; _.index = t1; _.children = t2; _.key = t3; }, _RawIndexedStack: function _RawIndexedStack(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.index = t0; _.alignment = t1; _.textDirection = t2; _.fit = t3; _.clipBehavior = t4; _.children = t5; _.key = t6; }, _IndexedStackElement: function _IndexedStackElement(t0, t1, t2) { var _ = this; _.__MultiChildRenderObjectElement__children_A = $; _._forgottenChildren = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, 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, t3, t4, t5, t6) { var _ = this; _.alignment = t0; _.spacing = t1; _.runAlignment = t2; _.crossAxisAlignment = t3; _.clipBehavior = t4; _.children = t5; _.key = t6; }, RichText: function RichText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.text = t0; _.textAlign = t1; _.textDirection = t2; _.softWrap = t3; _.overflow = t4; _.textScaler = t5; _.maxLines = t6; _.locale = t7; _.strutStyle = t8; _.textWidthBasis = t9; _.textHeightBehavior = t10; _.selectionRegistrar = t11; _.selectionColor = t12; _.children = t13; _.key = t14; }, RawImage: function RawImage(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.image = t0; _.debugImageLabel = t1; _.width = t2; _.height = t3; _.scale = t4; _.color = t5; _.opacity = t6; _.filterQuality = t7; _.colorBlendMode = t8; _.fit = t9; _.alignment = t10; _.repeat = t11; _.centerSlice = t12; _.matchTextDirection = t13; _.invertColors = t14; _.isAntiAlias = t15; _.key = t16; }, Listener: function Listener(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPointerDown = t0; _.onPointerMove = t1; _.onPointerUp = t2; _.onPointerHover = t3; _.onPointerCancel = t4; _.onPointerPanZoomStart = t5; _.onPointerSignal = t6; _.behavior = t7; _.child = t8; _.key = t9; }, MouseRegion: function MouseRegion(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.onEnter = t0; _.onHover = t1; _.onExit = t2; _.cursor = t3; _.hitTestBehavior = t4; _.child = t5; _.key = t6; }, RepaintBoundary: function RepaintBoundary(t0, t1) { this.child = t0; this.key = t1; }, IgnorePointer: function IgnorePointer(t0, t1, t2) { this.ignoring = t0; this.child = t1; this.key = t2; }, AbsorbPointer: function AbsorbPointer(t0, t1, t2) { this.absorbing = t0; this.child = t1; this.key = t2; }, Semantics: function Semantics(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.properties = t0; _.container = t1; _.explicitChildNodes = t2; _.excludeSemantics = t3; _.blockUserActions = t4; _.child = t5; _.key = t6; }, 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; }, StatefulBuilder: function StatefulBuilder(t0, t1) { this.builder = t0; this.key = t1; }, _StatefulBuilderState: function _StatefulBuilderState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, ColoredBox: function ColoredBox(t0, t1, t2) { this.color = t0; this.child = t1; this.key = t2; }, _RenderColoredBox: function _RenderColoredBox(t0, t1, t2, t3) { var _ = this; _._basic$_color = t0; _.behavior = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, WidgetsFlutterBinding$() { var _null = null, t1 = type$.int, t2 = type$.JSArray_of_void_Function_Duration; t1 = new A.WidgetsFlutterBinding(_null, $, A._setArrayType([], type$.JSArray_WidgetsBindingObserver), true, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void), false, _null, false, $, _null, $, $, $, A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.RenderView), false, 0, false, $, 0, _null, $, $, new A._SystemFontsNotifier(A.LinkedHashSet_LinkedHashSet$_empty(type$.void_Function)), $, $, $, new A.ValueNotifier(_null, $.$get$ChangeNotifier__emptyListeners(), type$.ValueNotifier_nullable_int), $, _null, A._setArrayType([], type$.JSArray_of_void_Function_List_FrameTiming), _null, A.binding1__defaultSchedulingStrategy$closure(), A.HeapPriorityQueue$(A.binding1_SchedulerBinding__taskSorter$closure(), type$._TaskEntry_dynamic), false, 0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._FrameCallbackEntry), A.HashSet_HashSet(t1), A._setArrayType([], t2), A._setArrayType([], t2), _null, false, B.SchedulerPhase_0, true, false, _null, B.Duration_0, B.Duration_0, _null, 0, _null, false, A.TimelineTask$(), _null, 0, A.ListQueue$(_null, type$.PointerEvent), new A.PointerRouter(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_void_Function_PointerEvent_and_nullable_Matrix4), A.LinkedHashMap_LinkedHashMap$_empty(type$.void_Function_PointerEvent, type$.nullable_Matrix4)), new A.GestureArenaManager(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._GestureArena)), new A.PointerSignalResolver(), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.HitTestResult), $, false, B.Duration_m38000); t1.BindingBase$0(); return t1; }, _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_initServiceExtensions_closure2: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure2() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure3: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure3() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure4: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure4() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure5: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure5() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure(t0) { this.$this = t0; }, _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; }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initInstances_closure0: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initInstances_closure0(t0) { this.$this = t0; }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initServiceExtensions_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initServiceExtensions_closure() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initServiceExtensions_closure0: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initServiceExtensions_closure0() { }, 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_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_initServiceExtensions_closure5: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure5() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure6: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure6() { }, _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; }, RootWidget: function RootWidget(t0, t1, t2) { this.child = t0; this.debugShortDescription = t1; this.key = t2; }, RootWidget_attach_closure: function RootWidget_attach_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.owner = t2; }, RootWidget_attach_closure0: function RootWidget_attach_closure0(t0) { this._box_0 = t0; }, RootElement: function RootElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._newWidget = _._child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, 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, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60, t61) { var _ = this; _.WidgetsBinding__buildOwner = t0; _.WidgetsBinding___WidgetsBinding_platformMenuDelegate_A = t1; _.WidgetsBinding__observers = t2; _.WidgetsBinding__needToReportFirstFrame = t3; _.WidgetsBinding__firstFrameCompleter = t4; _.WidgetsBinding_debugBuildingDirtyElements = t5; _.WidgetsBinding__rootElement = t6; _.WidgetsBinding__readyToProduceFrames = t7; _.RendererBinding___RendererBinding__manifold_FI = t8; _.RendererBinding__mouseTracker = t9; _.RendererBinding___RendererBinding_pipelineOwner_FI = t10; _.RendererBinding___RendererBinding_renderView_FI = t11; _.RendererBinding___RendererBinding__rootPipelineOwner_A = t12; _.RendererBinding__viewIdToRenderView = t13; _.RendererBinding__debugMouseTrackerUpdateScheduled = t14; _.RendererBinding__firstFrameDeferredCount = t15; _.RendererBinding__firstFrameSent = t16; _.SemanticsBinding___SemanticsBinding__semanticsEnabled_FI = t17; _.SemanticsBinding__outstandingHandles = t18; _.SemanticsBinding__semanticsHandle = t19; _.SemanticsBinding___SemanticsBinding__accessibilityFeatures_A = t20; _.PaintingBinding___PaintingBinding__imageCache_A = t21; _.PaintingBinding__systemFonts = t22; _.ServicesBinding___ServicesBinding__keyboard_F = t23; _.ServicesBinding___ServicesBinding__keyEventManager_F = t24; _.ServicesBinding___ServicesBinding__defaultBinaryMessenger_F = t25; _.ServicesBinding_accessibilityFocus = t26; _.ServicesBinding___ServicesBinding__restorationManager_A = t27; _.ServicesBinding__systemUiChangeCallback = t28; _.SchedulerBinding__timingsCallbacks = t29; _.SchedulerBinding__lifecycleState = t30; _.SchedulerBinding_schedulingStrategy = t31; _.SchedulerBinding__taskQueue = t32; _.SchedulerBinding__hasRequestedAnEventLoopCallback = t33; _.SchedulerBinding__nextFrameCallbackId = t34; _.SchedulerBinding__transientCallbacks = t35; _.SchedulerBinding__removedIds = t36; _.SchedulerBinding__persistentCallbacks = t37; _.SchedulerBinding__postFrameCallbacks = t38; _.SchedulerBinding__nextFrameCompleter = t39; _.SchedulerBinding__hasScheduledFrame = t40; _.SchedulerBinding__schedulerPhase = t41; _.SchedulerBinding__framesEnabled = t42; _.SchedulerBinding__warmUpFrame = t43; _.SchedulerBinding__firstRawTimeStampInEpoch = t44; _.SchedulerBinding__epochStart = t45; _.SchedulerBinding__lastRawTimeStamp = t46; _.SchedulerBinding__currentFrameTimeStamp = t47; _.SchedulerBinding__debugFrameNumber = t48; _.SchedulerBinding__debugBanner = t49; _.SchedulerBinding__rescheduleAfterWarmUpFrame = t50; _.SchedulerBinding__frameTimelineTask = t51; _.SchedulerBinding__performanceMode = t52; _.SchedulerBinding__numPerformanceModeRequests = t53; _.GestureBinding__pendingPointerEvents = t54; _.GestureBinding_pointerRouter = t55; _.GestureBinding_gestureArena = t56; _.GestureBinding_pointerSignalResolver = t57; _.GestureBinding__hitTests = t58; _.GestureBinding___GestureBinding__resampler_FI = t59; _.GestureBinding_resamplingEnabled = t60; _.GestureBinding_samplingOffset = t61; _._debugConstructed = false; _._debugBindingZone = null; _._lockCount = 0; }, _RootElement_Element_RootElementMixin: function _RootElement_Element_RootElementMixin() { }, _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() { }, DecoratedBox$(child, decoration, position) { return new A.DecoratedBox(decoration, position, child, null); }, Container$(alignment, child, clipBehavior, color, constraints, decoration, foregroundDecoration, height, key, margin, padding, transform, transformAlignment, width) { var t1; if (width != null || height != null) { t1 = constraints == null ? null : constraints.tighten$2$height$width(height, width); if (t1 == null) t1 = A.BoxConstraints$tightFor(height, width); } else t1 = constraints; return new A.Container(child, alignment, padding, color, decoration, foregroundDecoration, t1, margin, transform, transformAlignment, clipBehavior, key); }, DecoratedBox: function DecoratedBox(t0, t1, t2, t3) { var _ = this; _.decoration = t0; _.position = t1; _.child = t2; _.key = t3; }, Container: function Container(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.child = t0; _.alignment = t1; _.padding = t2; _.color = t3; _.decoration = t4; _.foregroundDecoration = t5; _.constraints = t6; _.margin = t7; _.transform = t8; _.transformAlignment = t9; _.clipBehavior = t10; _.key = t11; }, _DecorationClipper: function _DecorationClipper(t0, t1, t2) { this.textDirection = t0; this.decoration = t1; this._reclip = t2; }, ContextMenuButtonType: function ContextMenuButtonType(t0, t1) { this.index = t0; this._core$_name = t1; }, ContextMenuButtonItem: function ContextMenuButtonItem(t0, t1, t2) { this.onPressed = t0; this.type = t1; this.label = t2; }, ContextMenuController_removeAny() { var t1 = $.ContextMenuController__menuOverlayEntry; if (t1 != null) t1.remove$0(0); t1 = $.ContextMenuController__menuOverlayEntry; if (t1 != null) t1.dispose$0(); $.ContextMenuController__menuOverlayEntry = null; if ($.ContextMenuController__shownInstance != null) $.ContextMenuController__shownInstance = null; }, ContextMenuController: function ContextMenuController() { }, ContextMenuController_show_closure: function ContextMenuController_show_closure(t0, t1) { this.capturedThemes = t0; this.contextMenuBuilder = t1; }, DefaultSelectionStyle$(child, cursorColor, key, mouseCursor, selectionColor) { return new A.DefaultSelectionStyle(cursorColor, selectionColor, mouseCursor, child, key); }, DefaultSelectionStyle_merge(child, mouseCursor) { var _null = null; return new A.Builder(new A.DefaultSelectionStyle_merge_closure(_null, _null, _null, mouseCursor, child), _null); }, DefaultSelectionStyle: function DefaultSelectionStyle(t0, t1, t2, t3, t4) { var _ = this; _.cursorColor = t0; _.selectionColor = t1; _.mouseCursor = t2; _.child = t3; _.key = t4; }, DefaultSelectionStyle_merge_closure: function DefaultSelectionStyle_merge_closure(t0, t1, t2, t3, t4) { var _ = this; _.key = t0; _.cursorColor = t1; _.selectionColor = t2; _.mouseCursor = t3; _.child = t4; }, _NullWidget2: function _NullWidget2(t0) { this.key = t0; }, DefaultTextEditingShortcuts__shortcuts() { switch (A.defaultTargetPlatform().index) { case 0: return $.$get$DefaultTextEditingShortcuts__androidShortcuts(); case 1: return $.$get$DefaultTextEditingShortcuts__fuchsiaShortcuts(); case 2: return $.$get$DefaultTextEditingShortcuts__iOSShortcuts(); case 3: return $.$get$DefaultTextEditingShortcuts__linuxShortcuts(); case 4: return $.$get$DefaultTextEditingShortcuts__macShortcuts(); case 5: return $.$get$DefaultTextEditingShortcuts__windowsShortcuts(); } }, DefaultTextEditingShortcuts: function DefaultTextEditingShortcuts(t0, t1) { this.child = t0; this.key = t1; }, DesktopTextSelectionToolbarLayoutDelegate: function DesktopTextSelectionToolbarLayoutDelegate(t0) { this.anchor = t0; }, DisplayFeatureSubScreen__fallbackAnchorPoint(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (t1.textDirection.index) { case 0: return B.Offset_L9C; case 1: return B.Offset_0_0; } }, DisplayFeatureSubScreen_avoidBounds(mediaQuery) { var t1 = mediaQuery.displayFeatures, t2 = A._arrayInstanceType(t1); return new A.MappedIterable(new A.WhereIterable(t1, new A.DisplayFeatureSubScreen_avoidBounds_closure(), t2._eval$1("WhereIterable<1>")), new A.DisplayFeatureSubScreen_avoidBounds_closure0(), t2._eval$1("MappedIterable<1,Rect>")); }, DisplayFeatureSubScreen__closestToAnchorPoint(subScreens, anchorPoint) { var t1, _i, $screen, subScreenDistance, closestScreen = B.JSArray_methods.get$first(subScreens), closestDistance = A.DisplayFeatureSubScreen__distanceFromPointToRect(anchorPoint, closestScreen); for (t1 = subScreens.length, _i = 0; _i < subScreens.length; subScreens.length === t1 || (0, A.throwConcurrentModificationError)(subScreens), ++_i) { $screen = subScreens[_i]; subScreenDistance = A.DisplayFeatureSubScreen__distanceFromPointToRect(anchorPoint, $screen); if (subScreenDistance < closestDistance) { closestDistance = subScreenDistance; closestScreen = $screen; } } return closestScreen; }, DisplayFeatureSubScreen__distanceFromPointToRect(point, rect) { var t3, t4, t1 = point._dx, t2 = rect.left; if (t1 < t2) { t3 = point._dy; t4 = rect.top; if (t3 < t4) return point.$sub(0, new A.Offset(t2, t4)).get$distance(); else { t4 = rect.bottom; if (t3 > t4) return point.$sub(0, new A.Offset(t2, t4)).get$distance(); else return t2 - t1; } } else { t2 = rect.right; if (t1 > t2) { t3 = point._dy; t4 = rect.top; if (t3 < t4) return point.$sub(0, new A.Offset(t2, t4)).get$distance(); else { t4 = rect.bottom; if (t3 > t4) return point.$sub(0, new A.Offset(t2, t4)).get$distance(); else return t1 - t2; } } else { t1 = point._dy; t2 = rect.top; if (t1 < t2) return t2 - t1; else { t2 = rect.bottom; if (t1 > t2) return t1 - t2; else return 0; } } } }, DisplayFeatureSubScreen_subScreensInBounds(wantedBounds, avoidBounds) { var t2, t3, newSubScreens, t4, t5, t6, t7, _i, $screen, t8, t9, t1 = type$.JSArray_Rect, subScreens = A._setArrayType([wantedBounds], t1); for (t2 = avoidBounds.get$iterator(avoidBounds); t2.moveNext$0(); subScreens = newSubScreens) { t3 = t2.get$current(t2); newSubScreens = A._setArrayType([], t1); for (t4 = subScreens.length, t5 = t3.left, t6 = t3.top, t7 = t3.bottom, t3 = t3.right, _i = 0; _i < subScreens.length; subScreens.length === t4 || (0, A.throwConcurrentModificationError)(subScreens), ++_i) { $screen = subScreens[_i]; t8 = $screen.top; if (t8 >= t6 && $screen.bottom <= t7) { t9 = $screen.left; if (t9 < t5) newSubScreens.push(new A.Rect(t9, t8, t9 + (t5 - t9), t8 + ($screen.bottom - t8))); t9 = $screen.right; if (t9 > t3) newSubScreens.push(new A.Rect(t3, t8, t3 + (t9 - t3), t8 + ($screen.bottom - t8))); } else { t9 = $screen.left; if (t9 >= t5 && $screen.right <= t3) { if (t8 < t6) newSubScreens.push(new A.Rect(t9, t8, t9 + ($screen.right - t9), t8 + (t6 - t8))); t8 = $screen.bottom; if (t8 > t7) newSubScreens.push(new A.Rect(t9, t7, t9 + ($screen.right - t9), t7 + (t8 - t7))); } else newSubScreens.push($screen); } } } return subScreens; }, DisplayFeatureSubScreen__capOffset(offset, maximum) { var t2, t1 = offset._dx; if (t1 >= 0) if (t1 <= maximum._dx) { t2 = offset._dy; t2 = t2 >= 0 && t2 <= maximum._dy; } else t2 = false; else t2 = false; if (t2) return offset; else return new A.Offset(Math.min(Math.max(0, t1), maximum._dx), Math.min(Math.max(0, offset._dy), maximum._dy)); }, DisplayFeatureSubScreen: function DisplayFeatureSubScreen(t0, t1, t2) { this.anchorPoint = t0; this.child = t1; this.key = t2; }, DisplayFeatureSubScreen_avoidBounds_closure: function DisplayFeatureSubScreen_avoidBounds_closure() { }, DisplayFeatureSubScreen_avoidBounds_closure0: function DisplayFeatureSubScreen_avoidBounds_closure0() { }, DisposableBuildContext: function DisposableBuildContext(t0, t1) { this._disposable_build_context$_state = t0; this.$ti = t1; }, _DraggableSheetExtent$(currentSize, hasChanged, hasDragged, initialSize, maxSize, minSize, shouldCloseOnMinExtent, snap, snapAnimationDuration, snapSizes) { var t1 = currentSize == null ? new A.ValueNotifier(initialSize, $.$get$ChangeNotifier__emptyListeners(), type$.ValueNotifier_double) : currentSize; return new A._DraggableSheetExtent(minSize, maxSize, false, snapSizes, snapAnimationDuration, initialSize, true, t1, hasDragged === true, hasChanged === true); }, _InheritedResetNotifier_shouldReset(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) { var _ = this; _.initialChildSize = t0; _.minChildSize = t1; _.expand = t2; _.builder = t3; _.key = t4; }, DraggableScrollableNotification: function DraggableScrollableNotification(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.extent = t0; _.minExtent = t1; _.maxExtent = t2; _.initialExtent = t3; _.context = t4; _.shouldCloseOnMinExtent = t5; _.ViewportNotificationMixin__depth = t6; }, _DraggableSheetExtent: function _DraggableSheetExtent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._cancelActivity = null; _.minSize = t0; _.maxSize = t1; _.snap = t2; _.snapSizes = t3; _.snapAnimationDuration = t4; _.initialSize = t5; _.shouldCloseOnMinExtent = t6; _._draggable_scrollable_sheet$_currentSize = t7; _.availablePixels = 1 / 0; _.hasDragged = t8; _.hasChanged = t9; }, _DraggableScrollableSheetState: function _DraggableScrollableSheetState(t0) { var _ = this; _.___DraggableScrollableSheetState__extent_A = _.___DraggableScrollableSheetState__scrollController_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DraggableScrollableSheetState_build_closure: function _DraggableScrollableSheetState_build_closure(t0) { this.$this = t0; }, _DraggableScrollableSheetState_build__closure: function _DraggableScrollableSheetState_build__closure(t0, t1, t2) { this.$this = t0; this.currentSize = t1; this.child = t2; }, _DraggableScrollableSheetScrollController: function _DraggableScrollableSheetScrollController(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.extent = t0; _._initialScrollOffset = t1; _.keepScrollOffset = t2; _.onAttach = t3; _.onDetach = t4; _._positions = t5; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t6; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _DraggableScrollableSheetScrollController_createScrollPosition_closure: function _DraggableScrollableSheetScrollController_createScrollPosition_closure(t0) { this.$this = t0; }, _DraggableScrollableSheetScrollPosition: function _DraggableScrollableSheetScrollPosition(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._dragCancelCallback = null; _.getExtent = t0; _._ballisticControllers = 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; _._scroll_position$_lastMetrics = null; _._haveScheduledUpdateNotification = false; _._semanticActions = _._lastAxis = null; _.isScrollingNotifier = t7; _._activity = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t8; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _DraggableScrollableSheetScrollPosition_goBallistic_tick: function _DraggableScrollableSheetScrollPosition_goBallistic_tick(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.ballisticController = t2; }, _DraggableScrollableSheetScrollPosition_goBallistic_closure: function _DraggableScrollableSheetScrollPosition_goBallistic_closure(t0, t1) { this.$this = t0; this.ballisticController = t1; }, _DraggableScrollableNotification_Notification_ViewportNotificationMixin: function _DraggableScrollableNotification_Notification_ViewportNotificationMixin() { }, 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_A = $; _._forwardAnimation = t0; _._reverseAnimation = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, TextEditingController$fromValue(value) { var t1 = value == null ? B.TextEditingValue_li8 : value; return new A.TextEditingController(t1, $.$get$ChangeNotifier__emptyListeners()); }, EditableText$(autocorrect, autocorrectionTextRectColor, autofillClient, autofillHints, autofocus, backgroundCursorColor, clipBehavior, contentInsertionConfiguration, contextMenuBuilder, controller, cursorColor, cursorHeight, cursorOffset, cursorOpacityAnimates, cursorRadius, cursorWidth, dragStartBehavior, enableIMEPersonalizedLearning, enableInteractiveSelection, enableSuggestions, expands, focusNode, forceLine, inputFormatters, key, keyboardAppearance, keyboardType, magnifierConfiguration, maxLines, minLines, mouseCursor, obscureText, obscuringCharacter, onAppPrivateCommand, onChanged, onEditingComplete, onSelectionChanged, onSelectionHandleTapped, onSubmitted, onTapOutside, paintCursorAboveText, readOnly, rendererIgnoresPointer, restorationId, scribbleEnabled, scrollController, scrollPadding, scrollPhysics, selectionColor, selectionControls, selectionHeightStyle, selectionWidthStyle, showCursor, showSelectionHandles, smartDashesType, smartQuotesType, spellCheckConfiguration, strutStyle, style, textAlign, textCapitalization, textDirection, textHeightBehavior, textInputAction, textScaler, textWidthBasis, toolbarOptions, undoController) { var t1, t2, t3, t4, t5; if (smartDashesType == null) t1 = obscureText ? B.SmartDashesType_0 : B.SmartDashesType_1; else t1 = smartDashesType; if (smartQuotesType == null) t2 = obscureText ? B.SmartQuotesType_0 : B.SmartQuotesType_1; else t2 = smartQuotesType; if (type$.TextSelectionHandleControls._is(selectionControls) && true) t3 = B.ToolbarOptions_false_false_false_false; else if (obscureText) t3 = readOnly ? B.ToolbarOptions_false_false_false_false : B.ToolbarOptions_false_false_true_true; else t3 = readOnly ? B.ToolbarOptions_true_false_false_true : B.ToolbarOptions_true_true_true_true; t4 = keyboardType == null ? A.EditableText__inferKeyboardType(autofillHints, maxLines) : keyboardType; if (maxLines === 1) { t5 = A._setArrayType([$.$get$FilteringTextInputFormatter_singleLineFormatter()], type$.JSArray_TextInputFormatter); B.JSArray_methods.addAll$1(t5, inputFormatters == null ? B.C_EmptyIterable1 : inputFormatters); } else t5 = inputFormatters; return new A.EditableText(controller, focusNode, obscuringCharacter, obscureText, textHeightBehavior, textWidthBasis, readOnly, forceLine, t3, showSelectionHandles, showCursor == null ? !readOnly : showCursor, autocorrect, t1, t2, true, style, undoController, strutStyle, textAlign, textDirection, textCapitalization, textScaler, cursorColor, autocorrectionTextRectColor, backgroundCursorColor, maxLines, minLines, expands, autofocus, selectionColor, selectionControls, t4, textInputAction, onChanged, onEditingComplete, onSubmitted, onAppPrivateCommand, onSelectionChanged, onSelectionHandleTapped, onTapOutside, t5, mouseCursor, true, cursorWidth, cursorHeight, cursorRadius, cursorOpacityAnimates, cursorOffset, paintCursorAboveText, selectionHeightStyle, selectionWidthStyle, keyboardAppearance, scrollPadding, enableInteractiveSelection, dragStartBehavior, scrollController, scrollPhysics, true, autofillHints, autofillClient, clipBehavior, restorationId, enableIMEPersonalizedLearning, contentInsertionConfiguration, contextMenuBuilder, spellCheckConfiguration, magnifierConfiguration, key); }, EditableText__inferKeyboardType(autofillHints, maxLines) { return maxLines === 1 ? B.TextInputType_0_null_null : B.TextInputType_1_null_null; }, EditableTextState__inferSpellCheckConfiguration(configuration) { var spellCheckServiceIsConfigured, t1 = configuration == null, spellCheckService = t1 ? null : configuration.spellCheckService, spellCheckAutomaticallyDisabled = t1 || configuration.$eq(0, B.SpellCheckConfiguration_Y2F); t1 = spellCheckService == null; if (t1) { $.WidgetsBinding__instance.toString; $.$get$EnginePlatformDispatcher__instance(); spellCheckServiceIsConfigured = false; } else spellCheckServiceIsConfigured = true; if (spellCheckAutomaticallyDisabled || !spellCheckServiceIsConfigured) return B.SpellCheckConfiguration_Y2F; if (t1) { t1 = new A.DefaultSpellCheckService(); t1.__DefaultSpellCheckService_spellCheckChannel_A = B.OptionalMethodChannel_uXT; } else t1 = spellCheckService; return configuration.copyWith$1$spellCheckService(t1); }, _UpdateTextSelectionAction$(state, getTextBoundary, applyTextBoundary, extentAtIndex, ignoreNonCollapsedSelection, isExpand, $T) { return new A._UpdateTextSelectionAction(state, ignoreNonCollapsedSelection, isExpand, extentAtIndex, getTextBoundary, applyTextBoundary, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_Action_Intent), type$.ObserverList_of_void_Function_Action_Intent), $T._eval$1("_UpdateTextSelectionAction<0>")); }, _CompositionCallback: function _CompositionCallback(t0, t1, t2, t3) { var _ = this; _.compositeCallback = t0; _.enabled = t1; _.child = t2; _.key = t3; }, _RenderCompositionCallback: function _RenderCompositionCallback(t0, t1, t2, t3) { var _ = this; _.compositeCallback = t0; _._cancelCallback = null; _._editable_text$_enabled = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, TextEditingController: function TextEditingController(t0, t1) { var _ = this; _._change_notifier$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ToolbarOptions: function ToolbarOptions(t0, t1, t2, t3) { var _ = this; _.copy = t0; _.cut = t1; _.paste = t2; _.selectAll = t3; }, _KeyFrame: function _KeyFrame(t0, t1) { this.time = t0; this.value = t1; }, _DiscreteKeyFrameSimulation: function _DiscreteKeyFrameSimulation(t0, t1, t2) { var _ = this; _.maxDuration = t0; _._keyFrames = t1; _._lastKeyFrameIndex = 0; _.tolerance = 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, t58, t59, t60, t61, t62, t63, t64, t65, t66, t67) { 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; _.undoController = t16; _._editable_text$_strutStyle = t17; _.textAlign = t18; _.textDirection = t19; _.textCapitalization = t20; _.textScaler = t21; _.cursorColor = t22; _.autocorrectionTextRectColor = t23; _.backgroundCursorColor = t24; _.maxLines = t25; _.minLines = t26; _.expands = t27; _.autofocus = t28; _.selectionColor = t29; _.selectionControls = t30; _.keyboardType = t31; _.textInputAction = t32; _.onChanged = t33; _.onEditingComplete = t34; _.onSubmitted = t35; _.onAppPrivateCommand = t36; _.onSelectionChanged = t37; _.onSelectionHandleTapped = t38; _.onTapOutside = t39; _.inputFormatters = t40; _.mouseCursor = t41; _.rendererIgnoresPointer = t42; _.cursorWidth = t43; _.cursorHeight = t44; _.cursorRadius = t45; _.cursorOpacityAnimates = t46; _.cursorOffset = t47; _.paintCursorAboveText = t48; _.selectionHeightStyle = t49; _.selectionWidthStyle = t50; _.keyboardAppearance = t51; _.scrollPadding = t52; _.enableInteractiveSelection = t53; _.dragStartBehavior = t54; _.scrollController = t55; _.scrollPhysics = t56; _.scribbleEnabled = t57; _.autofillHints = t58; _.autofillClient = t59; _.clipBehavior = t60; _.restorationId = t61; _.enableIMEPersonalizedLearning = t62; _.contentInsertionConfiguration = t63; _.contextMenuBuilder = t64; _.spellCheckConfiguration = t65; _.magnifierConfiguration = t66; _.key = t67; }, EditableTextState: function EditableTextState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _._backingCursorBlinkOpacityController = _._cursorTimer = null; _.__EditableTextState__iosBlinkCursorSimulation_FI = $; _._cursorVisibilityNotifier = t0; _._editableKey = t1; _.clipboardStatus = t2; _._selectionOverlay = _._textInputConnection = null; _._scrollableKey = t3; _._internalScrollController = null; _._toolbarLayerLink = t4; _._startHandleLayerLink = t5; _._endHandleLayerLink = t6; _._didAutoFocus = false; _._currentAutofillScope = null; _.__EditableTextState__style_A = _.__EditableTextState__spellCheckConfiguration_A = $; _.spellCheckResults = null; _._processTextService = t7; _._processTextActions = t8; _._lastOrientation = _._floatingCursorResetController = null; _._tickersEnabled = true; _._lastBoundedOffset = _._pointOffsetOrigin = _._lastTextPosition = _._startCaretCenter = _._lastKnownRemoteTextEditingValue = null; _._batchEditDepth = 0; _._showCaretOnScreenScheduled = _._nextFocusChangeIsInternal = _._restartConnectionScheduled = false; _.__EditableTextState__lastBottomViewInset_A = $; _._obscureShowCharTicksPending = 0; _._scribbleCacheKey = _._obscureLatestCharIndex = null; _.__EditableTextState_renderEditable_FI = $; _._placeholderLocation = -1; _._currentPromptRectRange = null; _.__EditableTextState__actions_FI = _.__EditableTextState__verticalSelectionUpdateAction_FI = _.__EditableTextState__updateSelectionAction_FI = _.__EditableTextState__replaceTextAction_FI = _.__EditableTextState__transposeCharactersAction_FI = $; _.TickerProviderStateMixin__tickers = t9; _.TickerProviderStateMixin__tickerModeNotifier = t10; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t11; _._widget = null; _._debugLifecycleState = t12; _._framework$_element = null; }, EditableTextState__onChangedClipboardStatus_closure: function EditableTextState__onChangedClipboardStatus_closure() { }, EditableTextState_cutSelection_closure: function EditableTextState_cutSelection_closure(t0) { this.$this = t0; }, EditableTextState__pasteText_closure: function EditableTextState__pasteText_closure(t0) { this.$this = t0; }, EditableTextState_buttonItemsForToolbarOptions_closure: function EditableTextState_buttonItemsForToolbarOptions_closure(t0) { this.$this = t0; }, EditableTextState_buttonItemsForToolbarOptions_closure0: function EditableTextState_buttonItemsForToolbarOptions_closure0(t0) { this.$this = t0; }, EditableTextState_buttonItemsForToolbarOptions_closure1: function EditableTextState_buttonItemsForToolbarOptions_closure1(t0) { this.$this = t0; }, EditableTextState_buttonItemsForToolbarOptions_closure2: function EditableTextState_buttonItemsForToolbarOptions_closure2(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure: function EditableTextState_contextMenuButtonItems_closure(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure0: function EditableTextState_contextMenuButtonItems_closure0(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure1: function EditableTextState_contextMenuButtonItems_closure1(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure2: function EditableTextState_contextMenuButtonItems_closure2(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure3: function EditableTextState_contextMenuButtonItems_closure3(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure4: function EditableTextState_contextMenuButtonItems_closure4(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure5: function EditableTextState_contextMenuButtonItems_closure5(t0) { this.$this = t0; }, EditableTextState_contextMenuButtonItems_closure6: function EditableTextState_contextMenuButtonItems_closure6(t0) { this.$this = t0; }, EditableTextState__textProcessingActionButtonItems_closure: function EditableTextState__textProcessingActionButtonItems_closure(t0, t1, t2) { this.$this = t0; this.selection = t1; this.action = t2; }, EditableTextState_didChangeDependencies_closure: function EditableTextState_didChangeDependencies_closure(t0) { this.$this = t0; }, EditableTextState_didUpdateWidget_closure: function EditableTextState_didUpdateWidget_closure(t0) { this.$this = t0; }, EditableTextState__createSelectionOverlay_closure: function EditableTextState__createSelectionOverlay_closure(t0, t1) { this.$this = t0; this.contextMenuBuilder = t1; }, EditableTextState__scheduleShowCaretOnScreen_closure: function EditableTextState__scheduleShowCaretOnScreen_closure(t0, t1) { this.$this = t0; this.withAnimation = t1; }, EditableTextState_didChangeMetrics_closure: function EditableTextState_didChangeMetrics_closure(t0) { this.$this = t0; }, EditableTextState__formatAndSetValue_closure: function EditableTextState__formatAndSetValue_closure(t0) { this.$this = t0; }, EditableTextState__startCursorBlink_closure: function EditableTextState__startCursorBlink_closure(t0) { this.$this = t0; }, EditableTextState__onCursorTick_closure: function EditableTextState__onCursorTick_closure() { }, EditableTextState__onCursorTick_closure0: function EditableTextState__onCursorTick_closure0(t0) { this.$this = t0; }, EditableTextState__onCursorTick_closure1: function EditableTextState__onCursorTick_closure1(t0) { this.$this = t0; }, EditableTextState__didChangeTextEditingValue_closure: function EditableTextState__didChangeTextEditingValue_closure() { }, EditableTextState__handleFocusChanged_closure: function EditableTextState__handleFocusChanged_closure(t0) { this.$this = t0; }, EditableTextState_showSpellCheckSuggestionsToolbar_closure: function EditableTextState_showSpellCheckSuggestionsToolbar_closure(t0) { this.$this = t0; }, EditableTextState_insertTextPlaceholder_closure: function EditableTextState_insertTextPlaceholder_closure(t0) { this.$this = t0; }, EditableTextState_removeTextPlaceholder_closure: function EditableTextState_removeTextPlaceholder_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__actions_closure: function EditableTextState__actions_closure(t0) { this.$this = t0; }, EditableTextState_build_closure1: function EditableTextState_build_closure1(t0) { this.$this = t0; }, EditableTextState_build_closure: function EditableTextState_build_closure(t0) { this.$this = t0; }, EditableTextState_build_closure0: function EditableTextState_build_closure0() { }, EditableTextState_build_closure2: function EditableTextState_build_closure2(t0, t1, t2) { this.$this = t0; this.controls = t1; this.effectiveTextScaler = t2; }, EditableTextState_build__closure: function EditableTextState_build__closure(t0) { this.$this = t0; }, _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; _.inlineSpan = 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; _.textScaler = t15; _.textAlign = t16; _.textDirection = t17; _.locale = t18; _.obscuringCharacter = t19; _.obscureText = t20; _.textHeightBehavior = t21; _.textWidthBasis = t22; _.offset = t23; _.rendererIgnoresPointer = t24; _.cursorWidth = t25; _.cursorHeight = t26; _.cursorRadius = t27; _.cursorOffset = t28; _.paintCursorAboveText = t29; _.selectionHeightStyle = t30; _.selectionWidthStyle = t31; _.enableInteractiveSelection = t32; _.textSelectionDelegate = t33; _.devicePixelRatio = t34; _.promptRectRange = t35; _.promptRectColor = t36; _.clipBehavior = t37; _.children = t38; _.key = t39; }, _ScribbleCacheKey: function _ScribbleCacheKey(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.textAlign = t0; _.textDirection = t1; _.textScaler = t2; _.textHeightBehavior = t3; _.locale = t4; _.structStyle = t5; _.placeholder = t6; _.size = t7; _.inlineSpan = t8; }, _ScribbleFocusable: function _ScribbleFocusable(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.focusNode = t1; _.editableKey = t2; _.updateSelectionRects = t3; _.enabled = t4; _.key = t5; }, _ScribbleFocusableState: function _ScribbleFocusableState(t0, t1) { var _ = this; _._elementIdentifier = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ScribbleFocusableState_isInScribbleRect_closure: function _ScribbleFocusableState_isInScribbleRect_closure(t0) { this.$this = t0; }, _ScribblePlaceholder: function _ScribblePlaceholder(t0, t1, t2, t3, t4) { var _ = this; _.size = t0; _.child = t1; _.alignment = t2; _.baseline = t3; _.style = t4; }, _CodePointBoundary: function _CodePointBoundary(t0) { this._editable_text$_text = t0; }, _DeleteTextAction: function _DeleteTextAction(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.getTextBoundary = t1; _._applyTextBoundary = t2; _._actions$_listeners = t3; _._currentCallingAction = null; _.$ti = t4; }, _UpdateTextSelectionAction: function _UpdateTextSelectionAction(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.ignoreNonCollapsedSelection = t1; _.isExpand = t2; _.extentAtIndex = t3; _.getTextBoundary = t4; _.applyTextBoundary = t5; _._actions$_listeners = t6; _._currentCallingAction = null; _.$ti = t7; }, _UpdateTextSelectionVerticallyAction: function _UpdateTextSelectionVerticallyAction(t0, t1, t2) { var _ = this; _.state = t0; _._runSelection = _._verticalMovementRun = null; _._actions$_listeners = t1; _._currentCallingAction = null; _.$ti = t2; }, _SelectAllAction: function _SelectAllAction(t0, t1) { this.state = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, _CopySelectionAction: function _CopySelectionAction(t0, t1) { this.state = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, _GlyphHeights: function _GlyphHeights(t0, t1) { this.start = t0; this.end = t1; }, _WebClipboardStatusNotifier: function _WebClipboardStatusNotifier(t0, t1, t2) { var _ = this; _.value = t0; _._text_selection$_disposed = false; _._change_notifier$_value = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _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() { }, _EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate_TextInputClient: function _EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate_TextInputClient() { }, combineKeyEventResults(results) { var t1, hasSkipRemainingHandlers, _i; for (t1 = results.length, hasSkipRemainingHandlers = false, _i = 0; _i < t1; ++_i) switch (results[_i].index) { case 0: return B.KeyEventResult_0; case 2: hasSkipRemainingHandlers = true; break; case 1: break; } return hasSkipRemainingHandlers ? B.KeyEventResult_2 : B.KeyEventResult_1; }, FocusNode$(canRequestFocus, debugLabel, descendantsAreFocusable, descendantsAreTraversable, onKey, onKeyEvent, skipTraversal) { return new A.FocusNode(skipTraversal, canRequestFocus, descendantsAreFocusable, true, onKey, onKeyEvent, A._setArrayType([], type$.JSArray_FocusNode), $.$get$ChangeNotifier__emptyListeners()); }, FocusScopeNode$(canRequestFocus, debugLabel, skipTraversal) { var t1 = type$.JSArray_FocusNode; return new A.FocusScopeNode(B.TraversalEdgeBehavior_0, A._setArrayType([], t1), skipTraversal, canRequestFocus, true, true, null, null, A._setArrayType([], t1), $.$get$ChangeNotifier__emptyListeners()); }, _HighlightModeManager__defaultModeForPlatform() { switch (A.defaultTargetPlatform().index) { case 0: case 1: case 2: if ($.WidgetsBinding__instance.RendererBinding__mouseTracker._mouseStates.__js_helper$_length !== 0) return B.FocusHighlightMode_1; return B.FocusHighlightMode_0; case 3: case 4: case 5: return B.FocusHighlightMode_1; } }, KeyEventResult: function KeyEventResult(t0, t1) { this.index = t0; this._core$_name = t1; }, _Autofocus: function _Autofocus(t0, t1) { this.scope = t0; this.autofocusNode = t1; }, FocusAttachment: function FocusAttachment(t0) { this._node = t0; }, UnfocusDisposition: function UnfocusDisposition(t0, t1) { this.index = t0; this._core$_name = t1; }, FocusNode: function FocusNode(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._skipTraversal = t0; _._focus_manager$_canRequestFocus = t1; _._descendantsAreFocusable = t2; _._focus_manager$_descendantsAreTraversable = t3; _._focus_manager$_context = null; _.onKey = t4; _.onKeyEvent = t5; _._descendants = _._ancestors = _._manager = null; _._hasKeyboardToken = false; _._focus_manager$_parent = null; _._focus_manager$_children = t6; _._attachment = _._focus_manager$_debugLabel = null; _._requestFocusWhenReparented = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t7; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, FocusNode_traversalDescendants_closure: function FocusNode_traversalDescendants_closure() { }, FocusNode__removeChild_closure: function FocusNode__removeChild_closure(t0) { this.nodeScope = t0; }, FocusNode_debugDescribeChildren_closure: function FocusNode_debugDescribeChildren_closure(t0) { this._box_0 = t0; }, FocusScopeNode: function FocusScopeNode(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.traversalEdgeBehavior = t0; _._focusedChildren = t1; _._skipTraversal = t2; _._focus_manager$_canRequestFocus = t3; _._descendantsAreFocusable = t4; _._focus_manager$_descendantsAreTraversable = t5; _._focus_manager$_context = null; _.onKey = t6; _.onKeyEvent = t7; _._descendants = _._ancestors = _._manager = null; _._hasKeyboardToken = false; _._focus_manager$_parent = null; _._focus_manager$_children = t8; _._attachment = _._focus_manager$_debugLabel = null; _._requestFocusWhenReparented = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t9; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, FocusHighlightMode: function FocusHighlightMode(t0, t1) { this.index = t0; this._core$_name = t1; }, FocusHighlightStrategy: function FocusHighlightStrategy(t0, t1) { this.index = t0; this._core$_name = t1; }, FocusManager: function FocusManager(t0, t1, t2, t3, t4) { var _ = this; _._highlightManager = t0; _.rootScope = t1; _._primaryFocus = null; _._focus_manager$_dirtyNodes = t2; _._markedForFocus = null; _._pendingAutofocuses = t3; _._haveScheduledUpdate = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _HighlightModeManager: function _HighlightModeManager(t0, t1, t2) { var _ = this; _._highlightMode = _._lastInteractionWasTouch = null; _._earlyKeyEventHandlers = t0; _._lateKeyEventHandlers = t1; _._focus_manager$_listeners = t2; }, _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() { }, Focus$(autofocus, canRequestFocus, child, debugLabel, descendantsAreFocusable, descendantsAreTraversable, focusNode, includeSemantics, key, onFocusChange, onKey, onKeyEvent, parentNode, skipTraversal) { return new A.Focus(parentNode, child, focusNode, autofocus, onFocusChange, onKeyEvent, onKey, canRequestFocus, skipTraversal, descendantsAreFocusable, descendantsAreTraversable, includeSemantics, debugLabel, key); }, Focus_maybeOf(context, createDependency, scopeOk) { var t1 = type$._FocusInheritedScope, scope = createDependency ? context.dependOnInheritedWidgetOfExactType$1$0(t1) : context.getInheritedWidgetOfExactType$1$0(t1), node = scope == null ? null : scope.notifier; if (node == null) return null; if (!scopeOk && node instanceof A.FocusScopeNode) return null; return node; }, _FocusState$() { return new A._FocusState(B._StateLifecycle_0); }, FocusScope$(autofocus, child, debugLabel, key, node, skipTraversal) { var _null = null; return new A.FocusScope(_null, child, node, autofocus, _null, _null, _null, _null, skipTraversal, _null, _null, true, debugLabel, key); }, FocusScope_of(context) { var t1 = A.Focus_maybeOf(context, true, true); t1 = t1 == null ? null : t1.get$nearestScope(); return t1 == null ? context._framework$_owner.focusManager.rootScope : t1; }, _FocusInheritedScope$(child, node) { return new A._FocusInheritedScope(node, child, null); }, Focus: function Focus(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.parentNode = t0; _.child = t1; _.focusNode = t2; _.autofocus = t3; _.onFocusChange = t4; _._onKeyEvent = t5; _._onKey = t6; _._canRequestFocus = t7; _._focus_scope$_skipTraversal = t8; _._focus_scope$_descendantsAreFocusable = t9; _._descendantsAreTraversable = t10; _.includeSemantics = t11; _._focus_scope$_debugLabel = t12; _.key = t13; }, _FocusState: function _FocusState(t0) { var _ = this; _._internalNode = null; _.___FocusState__descendantsWereTraversable_A = _.___FocusState__descendantsWereFocusable_A = _.___FocusState__couldRequestFocus_A = _.___FocusState__hadPrimaryFocus_A = $; _._didAutofocus = false; _._widget = _._focusAttachment = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _FocusState__handleFocusChanged_closure: function _FocusState__handleFocusChanged_closure(t0, t1) { this.$this = t0; this.hasPrimaryFocus = t1; }, _FocusState__handleFocusChanged_closure0: function _FocusState__handleFocusChanged_closure0(t0, t1) { this.$this = t0; this.canRequestFocus = t1; }, _FocusState__handleFocusChanged_closure1: function _FocusState__handleFocusChanged_closure1(t0, t1) { this.$this = t0; this.descendantsAreFocusable = t1; }, _FocusState__handleFocusChanged_closure2: function _FocusState__handleFocusChanged_closure2(t0, t1) { this.$this = t0; this.descendantsAreTraversable = t1; }, FocusScope: function FocusScope(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.parentNode = t0; _.child = t1; _.focusNode = t2; _.autofocus = t3; _.onFocusChange = t4; _._onKeyEvent = t5; _._onKey = t6; _._canRequestFocus = t7; _._focus_scope$_skipTraversal = t8; _._focus_scope$_descendantsAreFocusable = t9; _._descendantsAreTraversable = t10; _.includeSemantics = t11; _._focus_scope$_debugLabel = t12; _.key = t13; }, _FocusScopeState: function _FocusScopeState(t0) { var _ = this; _._internalNode = null; _.___FocusState__descendantsWereTraversable_A = _.___FocusState__descendantsWereFocusable_A = _.___FocusState__couldRequestFocus_A = _.___FocusState__hadPrimaryFocus_A = $; _._didAutofocus = false; _._widget = _._focusAttachment = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _FocusInheritedScope: function _FocusInheritedScope(t0, t1, t2) { this.notifier = t0; this.child = t1; this.key = t2; }, ExcludeFocus: function ExcludeFocus(t0, t1, t2) { this.excluding = t0; this.child = t1; this.key = t2; }, _getAncestor(context) { var count, t1 = {}; t1.count = count; t1.count = 1; t1.target = null; context.visitAncestorElements$1(new A._getAncestor_closure(t1)); return t1.target; }, _FocusTraversalGroupInfo$(group, defaultPolicy, members) { var t1 = group == null ? null : group.policy; if (t1 == null) t1 = defaultPolicy; return new A._FocusTraversalGroupInfo(t1, members); }, FocusTraversalPolicy_defaultTraversalRequestFocusCallback(node, alignment, alignmentPolicy, curve, duration) { var t1; node.requestFocus$0(); t1 = node._focus_manager$_context; t1.toString; A.Scrollable_ensureVisible(t1, 1, alignmentPolicy, B.Cubic_JUR, B.Duration_0); }, FocusTraversalPolicy__getDescendantsWithoutExpandingScope(node) { var t1, t2, _i, child, result = A._setArrayType([], type$.JSArray_FocusNode); for (t1 = node._focus_manager$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; result.push(child); if (!(child instanceof A.FocusScopeNode)) B.JSArray_methods.addAll$1(result, A.FocusTraversalPolicy__getDescendantsWithoutExpandingScope(child)); } return result; }, FocusTraversalPolicy__findGroups(scope, scopeGroupNode, currentNode) { var groups, t1, t2, t3, _i, node, groupNode, t4, parentGroup, defaultPolicy = scopeGroupNode == null ? null : scopeGroupNode.policy; if (defaultPolicy == null) defaultPolicy = A.ReadingOrderTraversalPolicy$(); groups = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_FocusNode, type$._FocusTraversalGroupInfo); for (t1 = A.FocusTraversalPolicy__getDescendantsWithoutExpandingScope(scope), t2 = t1.length, t3 = type$.JSArray_FocusNode, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; groupNode = A.FocusTraversalGroup__getGroupNode(node); t4 = J.getInterceptor$(node); if (t4.$eq(node, groupNode)) { t4 = groupNode._focus_manager$_parent; t4.toString; parentGroup = A.FocusTraversalGroup__getGroupNode(t4); if (groups.$index(0, parentGroup) == null) groups.$indexSet(0, parentGroup, A._FocusTraversalGroupInfo$(parentGroup, defaultPolicy, A._setArrayType([], t3))); groups.$index(0, parentGroup).members.push(groupNode); continue; } if (!t4.$eq(node, currentNode)) t4 = node.get$canRequestFocus() && !node.get$skipTraversal(); else t4 = true; if (t4) { if (groups.$index(0, groupNode) == null) groups.$indexSet(0, groupNode, A._FocusTraversalGroupInfo$(groupNode, defaultPolicy, A._setArrayType([], t3))); groups.$index(0, groupNode).members.push(node); } } return groups; }, FocusTraversalPolicy__sortAllDescendants(scope, currentNode) { var t1, t2, t3, sortedDescendants, scopeGroupNode = A.FocusTraversalGroup__getGroupNode(scope), groups = A.FocusTraversalPolicy__findGroups(scope, scopeGroupNode, currentNode); for (t1 = A.LinkedHashMapKeyIterator$(groups, groups._modifications, A._instanceType(groups)._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; t3 = groups.$index(0, t2).policy.sortDescendants$2(groups.$index(0, t2).members, currentNode); t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3)); B.JSArray_methods.clear$0(groups.$index(0, t2).members); B.JSArray_methods.addAll$1(groups.$index(0, t2).members, t3); } sortedDescendants = A._setArrayType([], type$.JSArray_FocusNode); if (groups.__js_helper$_length !== 0 && groups.containsKey$1(0, scopeGroupNode)) { t1 = groups.$index(0, scopeGroupNode); t1.toString; new A.FocusTraversalPolicy__sortAllDescendants_visitGroups(groups, sortedDescendants).call$1(t1); } if (!!sortedDescendants.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(sortedDescendants, new A.FocusTraversalPolicy__sortAllDescendants_closure(currentNode), true); return sortedDescendants; }, DirectionalFocusTraversalPolicyMixin__verticalCompare(target, a, b) { var t1 = target._dy; return B.JSNumber_methods.compareTo$1(Math.abs(a._dy - t1), Math.abs(b._dy - t1)); }, DirectionalFocusTraversalPolicyMixin__horizontalCompare(target, a, b) { var t1 = target._dx; return B.JSNumber_methods.compareTo$1(Math.abs(a._dx - t1), Math.abs(b._dx - t1)); }, DirectionalFocusTraversalPolicyMixin__sortByDistancePreferVertical(target, nodes) { var sorted = A.List_List$of(nodes, true, nodes.$ti._eval$1("Iterable.E")); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortByDistancePreferVertical_closure(target), type$.FocusNode); return sorted; }, DirectionalFocusTraversalPolicyMixin__sortByDistancePreferHorizontal(target, nodes) { var sorted = A.List_List$of(nodes, true, nodes.$ti._eval$1("Iterable.E")); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortByDistancePreferHorizontal_closure(target), type$.FocusNode); return sorted; }, DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferHorizontal(target, nodes) { var sorted = J.toList$0$ax(nodes); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferHorizontal_closure(target), type$.FocusNode); return sorted; }, DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferVertical(target, nodes) { var sorted = J.toList$0$ax(nodes); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferVertical_closure(target), type$.FocusNode); return sorted; }, _ReadingOrderSortData_commonDirectionalityOf(list) { var t2, common, t3, common0, t1 = A._arrayInstanceType(list)._eval$1("MappedListIterable<1,Set<Directionality>>"), allAncestors = new A.MappedListIterable(list, new A._ReadingOrderSortData_commonDirectionalityOf_closure(), t1); for (t2 = new A.ListIterator(allAncestors, allAncestors.get$length(0), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"), common = null; t2.moveNext$0();) { t3 = t2.__internal$_current; common0 = t3 == null ? t1._as(t3) : t3; common = (common == null ? common0 : common).intersection$1(0, common0); } if (common.get$isEmpty(common)) return B.JSArray_methods.get$first(list).directionality; return B.JSArray_methods.firstWhere$1(B.JSArray_methods.get$first(list).get$directionalAncestors(), common.get$contains(common)).textDirection; }, _ReadingOrderSortData_sortWithDirectionality(list, directionality) { A.mergeSort(list, new A._ReadingOrderSortData_sortWithDirectionality_closure(directionality), type$._ReadingOrderSortData); }, _ReadingOrderDirectionalGroupData_sortWithDirectionality(list, directionality) { A.mergeSort(list, new A._ReadingOrderDirectionalGroupData_sortWithDirectionality_closure(directionality), type$._ReadingOrderDirectionalGroupData); }, ReadingOrderTraversalPolicy$() { return new A.ReadingOrderTraversalPolicy(A.LinkedHashMap_LinkedHashMap$_empty(type$.FocusScopeNode, type$._DirectionalPolicyData), A.focus_traversal_FocusTraversalPolicy_defaultTraversalRequestFocusCallback$closure()); }, FocusTraversalGroup$(child, descendantsAreFocusable, policy) { return new A.FocusTraversalGroup(policy == null ? A.ReadingOrderTraversalPolicy$() : policy, descendantsAreFocusable, child, null); }, FocusTraversalGroup__getGroupNode(node) { var node0; for (; node0 = node._focus_manager$_parent, node0 != null; node = node0) { if (node._focus_manager$_context == null) return null; if (node instanceof A._FocusTraversalGroupNode) return node; } return null; }, FocusTraversalGroup_maybeOf(context) { var t1, node = A.Focus_maybeOf(context, false, true); if (node == null) return null; t1 = A.FocusTraversalGroup__getGroupNode(node); return t1 == null ? null : t1.policy; }, _getAncestor_closure: function _getAncestor_closure(t0) { this._box_0 = t0; }, _FocusTraversalGroupInfo: function _FocusTraversalGroupInfo(t0, t1) { this.policy = t0; this.members = t1; }, TraversalDirection: function TraversalDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, TraversalEdgeBehavior: function TraversalEdgeBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, FocusTraversalPolicy: function FocusTraversalPolicy() { }, FocusTraversalPolicy__findInitialFocus_closure: function FocusTraversalPolicy__findInitialFocus_closure() { }, FocusTraversalPolicy__sortAllDescendants_visitGroups: function FocusTraversalPolicy__sortAllDescendants_visitGroups(t0, t1) { this.groups = t0; this.sortedDescendants = t1; }, FocusTraversalPolicy__sortAllDescendants_closure: function FocusTraversalPolicy__sortAllDescendants_closure(t0) { this.currentNode = t0; }, _DirectionalPolicyDataEntry: function _DirectionalPolicyDataEntry(t0, t1) { this.direction = t0; this.node = t1; }, _DirectionalPolicyData: function _DirectionalPolicyData(t0) { this.history = t0; }, DirectionalFocusTraversalPolicyMixin: function DirectionalFocusTraversalPolicyMixin() { }, _ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure: function _ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure(t0) { this.node = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFindInitial_closure: function DirectionalFocusTraversalPolicyMixin__sortAndFindInitial_closure(t0, t1) { this.vertical = t0; this.first = t1; }, DirectionalFocusTraversalPolicyMixin__sortByDistancePreferVertical_closure: function DirectionalFocusTraversalPolicyMixin__sortByDistancePreferVertical_closure(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortByDistancePreferHorizontal_closure: function DirectionalFocusTraversalPolicyMixin__sortByDistancePreferHorizontal_closure(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferHorizontal_closure: function DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferHorizontal_closure(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferVertical_closure: function DirectionalFocusTraversalPolicyMixin__sortClosestEdgesByDistancePreferVertical_closure(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure: function DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure0: function DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure0(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure1: function DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure1() { }, DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure: function DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure0: function DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure0(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure1: function DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure1() { }, DirectionalFocusTraversalPolicyMixin__popPolicyDataIfNeeded_popOrInvalidate: function DirectionalFocusTraversalPolicyMixin__popPolicyDataIfNeeded_popOrInvalidate(t0, t1, t2) { this.$this = t0; this.policyData = t1; this.nearestScope = t2; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure: function DirectionalFocusTraversalPolicyMixin_inDirection_closure(t0) { this.focusedScrollable = t0; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure0: function DirectionalFocusTraversalPolicyMixin_inDirection_closure0(t0) { this.band = t0; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure1: function DirectionalFocusTraversalPolicyMixin_inDirection_closure1(t0) { this.focusedScrollable = t0; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure2: function DirectionalFocusTraversalPolicyMixin_inDirection_closure2(t0) { this.band = t0; }, _ReadingOrderSortData: function _ReadingOrderSortData(t0, t1, t2) { var _ = this; _.directionality = t0; _.rect = t1; _.node = t2; _._directionalAncestors = null; }, _ReadingOrderSortData_commonDirectionalityOf_closure: function _ReadingOrderSortData_commonDirectionalityOf_closure() { }, _ReadingOrderSortData_sortWithDirectionality_closure: function _ReadingOrderSortData_sortWithDirectionality_closure(t0) { this.directionality = t0; }, _ReadingOrderSortData_directionalAncestors_getDirectionalityAncestors: function _ReadingOrderSortData_directionalAncestors_getDirectionalityAncestors() { }, _ReadingOrderDirectionalGroupData: function _ReadingOrderDirectionalGroupData(t0) { this.members = t0; this._rect = null; }, _ReadingOrderDirectionalGroupData_rect_closure: function _ReadingOrderDirectionalGroupData_rect_closure() { }, _ReadingOrderDirectionalGroupData_sortWithDirectionality_closure: function _ReadingOrderDirectionalGroupData_sortWithDirectionality_closure(t0) { this.directionality = t0; }, ReadingOrderTraversalPolicy: function ReadingOrderTraversalPolicy(t0, t1) { this.DirectionalFocusTraversalPolicyMixin__policyData = t0; this.requestFocusCallback = t1; }, ReadingOrderTraversalPolicy__pickNext_closure: function ReadingOrderTraversalPolicy__pickNext_closure() { }, ReadingOrderTraversalPolicy__pickNext_inBand: function ReadingOrderTraversalPolicy__pickNext_inBand() { }, ReadingOrderTraversalPolicy__pickNext_inBand_closure: function ReadingOrderTraversalPolicy__pickNext_inBand_closure(t0) { this.band = t0; }, FocusTraversalGroup: function FocusTraversalGroup(t0, t1, t2, t3) { var _ = this; _.policy = t0; _.descendantsAreFocusable = t1; _.child = t2; _.key = t3; }, _FocusTraversalGroupNode: function _FocusTraversalGroupNode(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.policy = t0; _._skipTraversal = t1; _._focus_manager$_canRequestFocus = t2; _._descendantsAreFocusable = t3; _._focus_manager$_descendantsAreTraversable = t4; _._focus_manager$_context = null; _.onKey = t5; _.onKeyEvent = t6; _._descendants = _._ancestors = _._manager = null; _._hasKeyboardToken = false; _._focus_manager$_parent = null; _._focus_manager$_children = t7; _._attachment = _._focus_manager$_debugLabel = null; _._requestFocusWhenReparented = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t8; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _FocusTraversalGroupState: function _FocusTraversalGroupState(t0) { var _ = this; _.___FocusTraversalGroupState_focusNode_FI = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, RequestFocusAction: function RequestFocusAction(t0) { this._actions$_listeners = t0; this._currentCallingAction = null; }, NextFocusIntent: function NextFocusIntent() { }, NextFocusAction: function NextFocusAction(t0) { this._actions$_listeners = t0; this._currentCallingAction = null; }, PreviousFocusIntent: function PreviousFocusIntent() { }, PreviousFocusAction: function PreviousFocusAction(t0) { this._actions$_listeners = t0; this._currentCallingAction = null; }, DirectionalFocusIntent: function DirectionalFocusIntent(t0) { this.direction = t0; }, DirectionalFocusAction: function DirectionalFocusAction(t0, t1) { this._isForTextField = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, _FocusTraversalPolicy_Object_Diagnosticable: function _FocusTraversalPolicy_Object_Diagnosticable() { }, _ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin: function _ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin() { }, __ReadingOrderDirectionalGroupData_Object_Diagnosticable: function __ReadingOrderDirectionalGroupData_Object_Diagnosticable() { }, __ReadingOrderSortData_Object_Diagnosticable: function __ReadingOrderSortData_Object_Diagnosticable() { }, Form$(autovalidateMode, child, key) { return new A.Form(child, autovalidateMode == null ? B.AutovalidateMode_0 : autovalidateMode, key); }, Form_maybeOf(context) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$._FormScope); return scope == null ? null : scope._formState; }, _FormScope$(child, formState, generation) { return new A._FormScope(formState, generation, child, null); }, FormFieldState$($T) { var _null = null, t1 = $.$get$ChangeNotifier__emptyListeners(); return new A.FormFieldState(new A.RestorableStringN(_null, t1), new A.RestorableBool(false, t1), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, B._StateLifecycle_0, $T._eval$1("FormFieldState<0>")); }, Form: function Form(t0, t1, t2) { this.child = t0; this.autovalidateMode = t1; this.key = t2; }, FormState: function FormState(t0, t1) { var _ = this; _._generation = 0; _._hasInteractedByUser = false; _._fields = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, FormState__fieldDidChange_closure: function FormState__fieldDidChange_closure() { }, FormState__forceRebuild_closure: function FormState__forceRebuild_closure(t0) { this.$this = t0; }, FormState__validate_closure: function FormState__validate_closure(t0, t1) { this._box_0 = t0; this.directionality = t1; }, _FormScope: function _FormScope(t0, t1, t2, t3) { var _ = this; _._formState = t0; _._generation = t1; _.child = t2; _.key = t3; }, FormField: function FormField() { }, FormFieldState: function FormFieldState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.__FormFieldState__value_AI = $; _._errorText = t0; _._hasInteractedByUser = t1; _.RestorationMixin__bucket = t2; _.RestorationMixin__properties = t3; _.RestorationMixin__debugPropertiesWaitingForReregistration = t4; _.RestorationMixin__firstRestorePending = t5; _.RestorationMixin__currentParent = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; _.$ti = t8; }, FormFieldState_validate_closure: function FormFieldState_validate_closure(t0) { this.$this = t0; }, FormFieldState_didChange_closure: function FormFieldState_didChange_closure(t0, t1) { this.$this = t0; this.value = t1; }, AutovalidateMode: function AutovalidateMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _FormFieldState_State_RestorationMixin_dispose_closure: function _FormFieldState_State_RestorationMixin_dispose_closure() { }, _FormFieldState_State_RestorationMixin: function _FormFieldState_State_RestorationMixin() { }, GlobalKey_GlobalKey(debugLabel, $T) { return new A.LabeledGlobalKey(debugLabel, $T._eval$1("LabeledGlobalKey<0>")); }, _InactiveElements__deactivateRecursively(element) { element.deactivate$0(); element.visitChildren$1(A.framework__InactiveElements__deactivateRecursively$closure()); }, Element__sort(a, b) { var t2, diff, isBDirty, t1 = a.__Element__depth_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = b.__Element__depth_A; t2 === $ && A.throwUnnamedLateFieldNI(); diff = t1 - t2; if (diff !== 0) return diff; isBDirty = b._dirty; if (a._dirty !== isBDirty) return isBDirty ? -1 : 1; return 0; }, Element_describeElements($name, elements) { var t1 = A._arrayInstanceType(elements)._eval$1("MappedListIterable<1,DiagnosticsNode>"); return A.DiagnosticsBlock$(true, A.List_List$of(new A.MappedListIterable(elements, new A.Element_describeElements_closure(), t1), true, t1._eval$1("ListIterable.E")), $name, B.List_empty2, true, B.DiagnosticsTreeStyle_6, null); }, Element__activateRecursively(element) { element.activate$0(); element.visitChildren$1(A.framework_Element__activateRecursively$closure()); }, _ElementDiagnosticableTreeNode$($name, stateful, style, value) { return new A._ElementDiagnosticableTreeNode(stateful, value, $name, true, true, null, style); }, ErrorWidget__defaultErrorWidgetBuilder(details) { var exception = details.exception, t1 = exception instanceof A.FlutterError ? exception : null; return new A.ErrorWidget("", t1, new A.UniqueKey()); }, ErrorWidget__stringify(exception) { var t1, exception; try { t1 = J.toString$0$(exception); return t1; } catch (exception) { } return "Error"; }, StatefulElement$(widget) { var t1 = widget.createState$0(), t2 = new A.StatefulElement(t1, widget, B._ElementLifecycle_0); t1._framework$_element = t2; t1._widget = widget; return t2; }, InheritedElement$(widget) { return new A.InheritedElement(A.HashMap_HashMap(null, null, null, type$.Element_2, type$.nullable_Object), widget, B._ElementLifecycle_0); }, MultiChildRenderObjectElement$(widget) { return new A.MultiChildRenderObjectElement(A.HashSet_HashSet(type$.Element_2), widget, B._ElementLifecycle_0); }, _reportException(context, exception, stack, informationCollector) { var details = new A.FlutterErrorDetails(exception, stack, "widgets library", context, null, informationCollector, false); A.FlutterError_reportError(details); return details; }, 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, t1) { this.index = t0; this._core$_name = t1; }, 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, t1) { this.index = t0; this._core$_name = t1; }, _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) { var _ = this; _.onBuildScheduled = null; _._inactiveElements = t0; _._dirtyElements = t1; _._scheduledFlushDirtyElements = false; _._dirtyElementsNeedsResorting = null; _.focusManager = t2; _._debugStateLockLevel = 0; _._debugBuilding = false; _._debugElementsThatWillNeedToBeRebuiltDueToGlobalKeyShenanigans = _._debugCurrentBuildTarget = null; _._globalKeyRegistry = t3; }, BuildOwner_buildScope_closure: function BuildOwner_buildScope_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.element = t2; }, NotifiableElementMixin: function NotifiableElementMixin() { }, _NotificationNode: function _NotificationNode(t0, t1) { this.current = t0; this.parent = t1; }, Element0: function Element0() { }, Element_renderObjectAttachingChild_closure: function Element_renderObjectAttachingChild_closure(t0) { this._box_0 = t0; }, Element_describeMissingAncestor_closure: function Element_describeMissingAncestor_closure(t0) { this.ancestors = t0; }, Element_describeElements_closure: function Element_describeElements_closure() { }, Element_updateChildren_replaceWithNullIfForgotten: function Element_updateChildren_replaceWithNullIfForgotten(t0) { this.forgottenChildren = t0; }, Element_updateChildren_slotFor: function Element_updateChildren_slotFor(t0) { this.slots = 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() { }, ComponentElement_performRebuild_closure0: function ComponentElement_performRebuild_closure0() { }, StatelessElement: function StatelessElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, StatefulElement: function StatefulElement(t0, t1, t2) { var _ = this; _._framework$_state = t0; _._didChangeDependencies = false; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, ProxyElement: function ProxyElement() { }, ParentDataElement: function ParentDataElement(t0, t1, t2) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t2; }, ParentDataElement__applyParentData_applyParentDataToChild: function ParentDataElement__applyParentData_applyParentDataToChild(t0) { this.widget = t0; }, InheritedElement: function InheritedElement(t0, t1, t2) { var _ = this; _._dependents = t0; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, RenderObjectElement: function RenderObjectElement() { }, RootElementMixin: function RootElementMixin() { }, LeafRenderObjectElement: function LeafRenderObjectElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, SingleChildRenderObjectElement: function SingleChildRenderObjectElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, MultiChildRenderObjectElement: function MultiChildRenderObjectElement(t0, t1, t2) { var _ = this; _.__MultiChildRenderObjectElement__children_A = $; _._forgottenChildren = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, MultiChildRenderObjectElement_children_closure: function MultiChildRenderObjectElement_children_closure(t0) { this.$this = t0; }, RenderTreeRootElement: function RenderTreeRootElement() { }, IndexedSlot: function IndexedSlot(t0, t1, t2) { this.value = t0; this.index = t1; this.$ti = t2; }, _NullElement: function _NullElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _NullWidget3: function _NullWidget3(t0) { this.key = t0; }, _State_Object_Diagnosticable: function _State_Object_Diagnosticable() { }, GestureDetector$(behavior, child, dragStartBehavior, excludeFromSemantics, key, onDoubleTap, onHorizontalDragCancel, onHorizontalDragDown, onHorizontalDragEnd, onHorizontalDragStart, onHorizontalDragUpdate, onLongPress, onLongPressCancel, onLongPressDown, onPanCancel, onPanDown, onPanEnd, onPanStart, onPanUpdate, onScaleEnd, onScaleStart, onScaleUpdate, onSecondaryTap, onSecondaryTapCancel, onSecondaryTapDown, onSecondaryTapUp, onTap, onTapCancel, onTapDown, onTapUp, onVerticalDragEnd, onVerticalDragStart, onVerticalDragUpdate, trackpadScrollCausesScale, trackpadScrollToScaleFactor) { return new A.GestureDetector(child, onTapDown, onTapUp, onTap, onTapCancel, onSecondaryTap, onSecondaryTapDown, onSecondaryTapUp, onSecondaryTapCancel, onDoubleTap, onLongPressDown, onLongPressCancel, onLongPress, onVerticalDragStart, onVerticalDragUpdate, onVerticalDragEnd, onHorizontalDragDown, onHorizontalDragStart, onHorizontalDragUpdate, onHorizontalDragEnd, onHorizontalDragCancel, onPanDown, onPanStart, onPanUpdate, onPanEnd, onPanCancel, onScaleStart, onScaleUpdate, onScaleEnd, behavior, excludeFromSemantics, dragStartBehavior, false, trackpadScrollToScaleFactor, key); }, GestureRecognizerFactory: function GestureRecognizerFactory() { }, GestureRecognizerFactoryWithHandlers: function GestureRecognizerFactoryWithHandlers(t0, t1, t2) { this._constructor = t0; this._gesture_detector$_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, t26, t27, t28, t29, t30, t31, t32, t33, t34) { var _ = this; _.child = t0; _.onTapDown = t1; _.onTapUp = t2; _.onTap = t3; _.onTapCancel = t4; _.onSecondaryTap = t5; _.onSecondaryTapDown = t6; _.onSecondaryTapUp = t7; _.onSecondaryTapCancel = t8; _.onDoubleTap = t9; _.onLongPressDown = t10; _.onLongPressCancel = t11; _.onLongPress = t12; _.onVerticalDragStart = t13; _.onVerticalDragUpdate = t14; _.onVerticalDragEnd = t15; _.onHorizontalDragDown = t16; _.onHorizontalDragStart = t17; _.onHorizontalDragUpdate = t18; _.onHorizontalDragEnd = t19; _.onHorizontalDragCancel = t20; _.onPanDown = t21; _.onPanStart = t22; _.onPanUpdate = t23; _.onPanEnd = t24; _.onPanCancel = t25; _.onScaleStart = t26; _.onScaleUpdate = t27; _.onScaleEnd = t28; _.behavior = t29; _.excludeFromSemantics = t30; _.dragStartBehavior = t31; _.trackpadScrollCausesScale = t32; _.trackpadScrollToScaleFactor = t33; _.key = t34; }, GestureDetector_build_closure: function GestureDetector_build_closure(t0) { this.$this = t0; }, GestureDetector_build_closure0: function GestureDetector_build_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure1: function GestureDetector_build_closure1(t0) { this.$this = t0; }, GestureDetector_build_closure2: function GestureDetector_build_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure3: function GestureDetector_build_closure3(t0) { this.$this = t0; }, GestureDetector_build_closure4: function GestureDetector_build_closure4(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure5: function GestureDetector_build_closure5(t0) { this.$this = t0; }, GestureDetector_build_closure6: function GestureDetector_build_closure6(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure7: function GestureDetector_build_closure7(t0) { this.$this = t0; }, GestureDetector_build_closure8: function GestureDetector_build_closure8(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure9: function GestureDetector_build_closure9(t0) { this.$this = t0; }, GestureDetector_build_closure10: function GestureDetector_build_closure10(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure11: function GestureDetector_build_closure11(t0) { this.$this = t0; }, GestureDetector_build_closure12: function GestureDetector_build_closure12(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, GestureDetector_build_closure13: function GestureDetector_build_closure13(t0) { this.$this = t0; }, GestureDetector_build_closure14: function GestureDetector_build_closure14(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, RawGestureDetector: function RawGestureDetector(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.gestures = t1; _.behavior = t2; _.excludeFromSemantics = t3; _.key = t4; }, 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; }, Hero__allHeroesFor(context, isUserGestureTransition, $navigator) { var result = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$._HeroState); context.visitChildren$1(new A.Hero__allHeroesFor_visitor($navigator, new A.Hero__allHeroesFor_inviteHero(result, isUserGestureTransition))); return result; }, _HeroFlightManifest__boundingBoxFor(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.get$size(0); return A.MatrixUtils_transformRect(t2, new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy)); }, HeroFlightDirection: function HeroFlightDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, Hero: function Hero(t0, t1, t2) { this.tag = t0; this.child = t1; this.key = t2; }, 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_FI = _.___HeroFlightManifest_toHeroLocation_FI = _.___HeroFlightManifest_fromHeroLocation_FI = $; }, _HeroFlight: function _HeroFlight(t0, t1) { var _ = this; _.onFlightEnded = t0; _.___HeroFlight_heroRectTween_A = $; _.shuttle = null; _._heroOpacity = t1; _.___HeroFlight_manifest_A = _.___HeroFlight__proxyAnimation_A = $; _.overlayEntry = null; _._scheduledPerformAnimationUpdate = _._aborted = false; }, _HeroFlight__buildOverlay_closure: function _HeroFlight__buildOverlay_closure(t0) { this.$this = t0; }, _HeroFlight__handleAnimationUpdate_delayedPerformAnimationUpdate: function _HeroFlight__handleAnimationUpdate_delayedPerformAnimationUpdate(t0, t1) { this.$this = t0; this.navigator = t1; }, HeroController: function HeroController(t0, t1) { this.createRectTween = t0; this._flights = t1; }, HeroController_didStopUserGesture_isInvalidFlight: function HeroController_didStopUserGesture_isInvalidFlight() { }, HeroController__maybeStartHeroTransition_closure: function HeroController__maybeStartHeroTransition_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.from = t1; _.to = t2; _.flightType = t3; _.isUserGestureTransition = t4; }, HeroController__defaultHeroFlightShuttleBuilder_closure: function HeroController__defaultHeroFlightShuttleBuilder_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.toMediaQueryData = t0; _.flightDirection = t1; _.fromHeroPadding = t2; _.toHeroPadding = t3; _.animation = t4; _.toHero = t5; }, Icon$(icon, color, semanticLabel, size) { return new A.Icon(icon, size, color, semanticLabel, null); }, Icon: function Icon(t0, t1, t2, t3, t4) { var _ = this; _.icon = t0; _.size = t1; _.color = t2; _.semanticLabel = t3; _.key = t4; }, IconData: function IconData(t0, t1, t2, t3) { var _ = this; _.codePoint = t0; _.fontFamily = t1; _.fontPackage = t2; _.matchTextDirection = t3; }, IconTheme$(child, data, key) { return new A.IconTheme(data, child, key); }, IconTheme_merge(child, data) { return new A.Builder(new A.IconTheme_merge_closure(null, data, child), null); }, IconTheme_of(context) { var t3, t4, t5, t6, t7, t8, iconThemeData = A.IconTheme__getInheritedIconThemeData(context).resolve$1(0, context), t1 = iconThemeData.size, t2 = t1 == null; if (!t2 && iconThemeData.fill != null && iconThemeData.weight != null && iconThemeData.grade != null && iconThemeData.opticalSize != null && iconThemeData.color != null && iconThemeData.get$opacity(0) != null && iconThemeData.applyTextScaling != null) t1 = iconThemeData; else { if (t2) t1 = 24; t2 = iconThemeData.fill; if (t2 == null) t2 = 0; t3 = iconThemeData.weight; if (t3 == null) t3 = 400; t4 = iconThemeData.grade; if (t4 == null) t4 = 0; t5 = iconThemeData.opticalSize; if (t5 == null) t5 = 48; t6 = iconThemeData.color; if (t6 == null) t6 = B.Color_4278190080; t7 = iconThemeData.get$opacity(0); if (t7 == null) t7 = B.IconThemeData_UOn.get$opacity(0); t8 = iconThemeData.shadows; if (t8 == null) t8 = null; t1 = iconThemeData.copyWith$9$applyTextScaling$color$fill$grade$opacity$opticalSize$shadows$size$weight(iconThemeData.applyTextScaling === true, t6, t2, t4, t7, t5, t8, t1, t3); } return t1; }, IconTheme__getInheritedIconThemeData(context) { var iconTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$.IconTheme), t1 = iconTheme == null ? null : iconTheme.data; return t1 == null ? B.IconThemeData_UOn : 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; }, IconThemeData_lerp(a, b, t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _null = null; if (a == b && a != null) return a; t1 = a == null; t2 = t1 ? _null : a.size; t3 = b == null; t2 = A.lerpDouble(t2, t3 ? _null : b.size, t); t4 = t1 ? _null : a.fill; t4 = A.lerpDouble(t4, t3 ? _null : b.fill, t); t5 = t1 ? _null : a.weight; t5 = A.lerpDouble(t5, t3 ? _null : b.weight, t); t6 = t1 ? _null : a.grade; t6 = A.lerpDouble(t6, t3 ? _null : b.grade, t); t7 = t1 ? _null : a.opticalSize; t7 = A.lerpDouble(t7, t3 ? _null : b.opticalSize, t); t8 = t1 ? _null : a.color; t8 = A.Color_lerp(t8, t3 ? _null : b.color, t); t9 = t1 ? _null : a.get$opacity(0); t9 = A.lerpDouble(t9, t3 ? _null : b.get$opacity(0), t); t10 = t1 ? _null : a.shadows; t10 = A.Shadow_lerpList(t10, t3 ? _null : b.shadows, t); if (t < 0.5) t1 = t1 ? _null : a.applyTextScaling; else t1 = t3 ? _null : b.applyTextScaling; return new A.IconThemeData(t2, t4, t5, t6, t7, t8, t9, t10, t1); }, IconThemeData: function IconThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.size = t0; _.fill = t1; _.weight = t2; _.grade = t3; _.opticalSize = t4; _.color = t5; _._opacity = t6; _.shadows = t7; _.applyTextScaling = t8; }, _IconThemeData_Object_Diagnosticable: function _IconThemeData_Object_Diagnosticable() { }, createLocalImageConfiguration(context, size) { var t1, t2; context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultAssetBundle); t1 = $.$get$rootBundle(); t2 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_2); t2 = t2 == null ? null : t2.devicePixelRatio; if (t2 == null) t2 = 1; return new A.ImageConfiguration(t1, t2, A.Localizations_maybeLocaleOf(context), A.Directionality_maybeOf(context), size, A.defaultTargetPlatform()); }, Image$network(src, fit, frameBuilder, headers, height, key, width) { return new A.Image(A.ResizeImage_resizeIfNeeded(null, null, new A.NetworkImage(src, 1, headers)), frameBuilder, width, height, fit, key); }, Image$asset($name, height, $package, width) { var _null = null; return new A.Image(A.ResizeImage_resizeIfNeeded(_null, _null, new A.AssetImage($name, _null, $package)), _null, width, height, _null, _null); }, Image$memory(bytes, fit, height) { var _null = null; return new A.Image(A.ResizeImage_resizeIfNeeded(_null, _null, new A.MemoryImage(bytes, 1)), _null, _null, height, fit, _null); }, Image: function Image(t0, t1, t2, t3, t4, t5) { var _ = this; _.image = t0; _.frameBuilder = t1; _.width = t2; _.height = t3; _.fit = t4; _.key = t5; }, _ImageState: function _ImageState(t0) { var _ = this; _._loadingProgress = _._imageInfo = _._imageStream = null; _._isListeningToStream = false; _.___ImageState__invertColors_A = $; _._frameNumber = null; _._wasSynchronouslyLoaded = false; _.___ImageState__scrollAwareContext_A = $; _._widget = _._imageStreamListener = _._completerHandle = _._lastStack = _._lastException = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ImageState__handleImageFrame_closure: function _ImageState__handleImageFrame_closure(t0, t1, t2) { this.$this = t0; this.imageInfo = t1; this.synchronousCall = t2; }, _ImageState__replaceImage_closure: function _ImageState__replaceImage_closure(t0) { this.oldImageInfo = t0; }, _ImageState__updateSourceStream_closure: function _ImageState__updateSourceStream_closure(t0) { this.$this = t0; }, _ImageState__updateSourceStream_closure0: function _ImageState__updateSourceStream_closure0(t0) { this.$this = t0; }, __ImageState_State_WidgetsBindingObserver: function __ImageState_State_WidgetsBindingObserver() { }, DecorationTween$(begin, end) { return new A.DecorationTween(begin, end); }, AnimatedContainer$(alignment, child, color, constraints, curve, decoration, duration, height, key, margin, padding, width) { var t1, t2, _null = null; if (decoration == null) t1 = color != null ? new A.BoxDecoration(color, _null, _null, _null, _null, _null, B.BoxShape_0) : _null; else t1 = decoration; if (width != null || height != null) t2 = A.BoxConstraints$tightFor(height, width); else t2 = constraints; return new A.AnimatedContainer(child, alignment, padding, t1, t2, margin, curve, duration, _null, key); }, AnimatedPositioned$(child, curve, duration, left, $top) { return new A.AnimatedPositioned(child, left, $top, curve, duration, null, null); }, AnimatedOpacity$(child, curve, duration, opacity) { return new A.AnimatedOpacity(child, opacity, curve, duration, null, null); }, AnimatedDefaultTextStyle$(child, curve, duration, softWrap, style) { return new A.AnimatedDefaultTextStyle(child, style, softWrap, curve, duration, null, null); }, BoxConstraintsTween: function BoxConstraintsTween(t0, t1) { this.begin = t0; this.end = t1; }, DecorationTween: function DecorationTween(t0, t1) { this.begin = t0; this.end = t1; }, EdgeInsetsTween: function EdgeInsetsTween(t0, t1) { this.begin = t0; this.end = t1; }, EdgeInsetsGeometryTween: function EdgeInsetsGeometryTween(t0, t1) { this.begin = t0; this.end = t1; }, BorderRadiusTween: function BorderRadiusTween(t0, t1) { this.begin = t0; this.end = t1; }, Matrix4Tween: function Matrix4Tween(t0, t1) { this.begin = t0; this.end = t1; }, TextStyleTween: function TextStyleTween(t0, t1) { this.begin = t0; this.end = t1; }, ImplicitlyAnimatedWidget: function ImplicitlyAnimatedWidget() { }, ImplicitlyAnimatedWidgetState: function ImplicitlyAnimatedWidgetState() { }, ImplicitlyAnimatedWidgetState_initState_closure: function ImplicitlyAnimatedWidgetState_initState_closure(t0) { this.$this = t0; }, ImplicitlyAnimatedWidgetState_didUpdateWidget_closure: function ImplicitlyAnimatedWidgetState_didUpdateWidget_closure(t0) { this.$this = t0; }, ImplicitlyAnimatedWidgetState__constructTweens_closure: function ImplicitlyAnimatedWidgetState__constructTweens_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, AnimatedWidgetBaseState: function AnimatedWidgetBaseState() { }, AnimatedWidgetBaseState__handleAnimationChanged_closure: function AnimatedWidgetBaseState__handleAnimationChanged_closure() { }, AnimatedContainer: function AnimatedContainer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.child = t0; _.alignment = t1; _.padding = t2; _.decoration = t3; _.constraints = t4; _.margin = t5; _.curve = t6; _.duration = t7; _.onEnd = t8; _.key = t9; }, _AnimatedContainerState: function _AnimatedContainerState(t0, t1, t2) { var _ = this; _._transformAlignment = _._implicit_animations$_transform = _._margin = _._implicit_animations$_constraints = _._foregroundDecoration = _._implicit_animations$_decoration = _._implicit_animations$_padding = _._implicit_animations$_alignment = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedContainerState_forEachTween_closure: function _AnimatedContainerState_forEachTween_closure() { }, _AnimatedContainerState_forEachTween_closure0: function _AnimatedContainerState_forEachTween_closure0() { }, _AnimatedContainerState_forEachTween_closure1: function _AnimatedContainerState_forEachTween_closure1() { }, _AnimatedContainerState_forEachTween_closure2: function _AnimatedContainerState_forEachTween_closure2() { }, _AnimatedContainerState_forEachTween_closure3: function _AnimatedContainerState_forEachTween_closure3() { }, _AnimatedContainerState_forEachTween_closure4: function _AnimatedContainerState_forEachTween_closure4() { }, _AnimatedContainerState_forEachTween_closure5: function _AnimatedContainerState_forEachTween_closure5() { }, _AnimatedContainerState_forEachTween_closure6: function _AnimatedContainerState_forEachTween_closure6() { }, AnimatedPadding: function AnimatedPadding(t0, t1, t2, t3, t4, t5) { var _ = this; _.padding = t0; _.child = t1; _.curve = t2; _.duration = t3; _.onEnd = t4; _.key = t5; }, _AnimatedPaddingState: function _AnimatedPaddingState(t0, t1, t2) { var _ = this; _._implicit_animations$_padding = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedPaddingState_forEachTween_closure: function _AnimatedPaddingState_forEachTween_closure() { }, AnimatedPositioned: function AnimatedPositioned(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.child = t0; _.left = t1; _.top = t2; _.curve = t3; _.duration = t4; _.onEnd = t5; _.key = t6; }, _AnimatedPositionedState: function _AnimatedPositionedState(t0, t1, t2) { var _ = this; _._implicit_animations$_height = _._implicit_animations$_width = _._implicit_animations$_bottom = _._implicit_animations$_right = _._implicit_animations$_top = _._implicit_animations$_left = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedPositionedState_forEachTween_closure: function _AnimatedPositionedState_forEachTween_closure() { }, _AnimatedPositionedState_forEachTween_closure0: function _AnimatedPositionedState_forEachTween_closure0() { }, _AnimatedPositionedState_forEachTween_closure1: function _AnimatedPositionedState_forEachTween_closure1() { }, _AnimatedPositionedState_forEachTween_closure2: function _AnimatedPositionedState_forEachTween_closure2() { }, _AnimatedPositionedState_forEachTween_closure3: function _AnimatedPositionedState_forEachTween_closure3() { }, _AnimatedPositionedState_forEachTween_closure4: function _AnimatedPositionedState_forEachTween_closure4() { }, AnimatedOpacity: function AnimatedOpacity(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.opacity = t1; _.curve = t2; _.duration = t3; _.onEnd = t4; _.key = t5; }, _AnimatedOpacityState: function _AnimatedOpacityState(t0, t1, t2) { var _ = this; _._implicit_animations$_opacity = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = _.___AnimatedOpacityState__opacityAnimation_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedOpacityState_forEachTween_closure: function _AnimatedOpacityState_forEachTween_closure() { }, AnimatedDefaultTextStyle: function AnimatedDefaultTextStyle(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.child = t0; _.style = t1; _.softWrap = t2; _.curve = t3; _.duration = t4; _.onEnd = t5; _.key = t6; }, _AnimatedDefaultTextStyleState: function _AnimatedDefaultTextStyleState(t0, t1, t2) { var _ = this; _._implicit_animations$_style = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedDefaultTextStyleState_forEachTween_closure: function _AnimatedDefaultTextStyleState_forEachTween_closure() { }, AnimatedPhysicalModel: function AnimatedPhysicalModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.child = t0; _.shape = t1; _.clipBehavior = t2; _.elevation = t3; _.color = t4; _.animateColor = t5; _.shadowColor = t6; _.curve = t7; _.duration = t8; _.onEnd = t9; _.key = t10; }, _AnimatedPhysicalModelState: function _AnimatedPhysicalModelState(t0, t1, t2) { var _ = this; _._implicit_animations$_shadowColor = _._implicit_animations$_color = _._implicit_animations$_elevation = _._borderRadius = null; _.__ImplicitlyAnimatedWidgetState__animation_AI = _.__ImplicitlyAnimatedWidgetState__controller_FI = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AnimatedPhysicalModelState_forEachTween_closure: function _AnimatedPhysicalModelState_forEachTween_closure() { }, _AnimatedPhysicalModelState_forEachTween_closure0: function _AnimatedPhysicalModelState_forEachTween_closure0() { }, _AnimatedPhysicalModelState_forEachTween_closure1: function _AnimatedPhysicalModelState_forEachTween_closure1() { }, _AnimatedPhysicalModelState_forEachTween_closure2: function _AnimatedPhysicalModelState_forEachTween_closure2() { }, _ImplicitlyAnimatedWidgetState_State_SingleTickerProviderStateMixin: function _ImplicitlyAnimatedWidgetState_State_SingleTickerProviderStateMixin() { }, InheritedModel__findModels(context, aspect, results, $T) { var t1, model = context.getElementForInheritedWidgetOfExactType$1$0($T); if (model == null) return; results.push(model); t1 = model._widget; t1.toString; $T._as(t1); return; }, InheritedModel_inheritFrom(context, aspect, $T) { var models, lastModel, t1, _i, model, value; if (aspect == null) return context.dependOnInheritedWidgetOfExactType$1$0($T); models = A._setArrayType([], type$.JSArray_InheritedElement); A.InheritedModel__findModels(context, aspect, models, $T); if (models.length === 0) return null; lastModel = B.JSArray_methods.get$last(models); for (t1 = models.length, _i = 0; _i < models.length; models.length === t1 || (0, A.throwConcurrentModificationError)(models), ++_i) { model = models[_i]; value = $T._as(context.dependOnInheritedElement$2$aspect(model, aspect)); if (model.$eq(0, lastModel)) return value; } return null; }, InheritedModel: function InheritedModel() { }, InheritedModelElement: function InheritedModelElement(t0, t1, t2, t3) { var _ = this; _._dependents = t0; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t3; }, InheritedNotifier: function InheritedNotifier() { }, _InheritedNotifierElement: function _InheritedNotifierElement(t0, t1, t2, t3) { var _ = this; _._inherited_notifier$_dirty = false; _._dependents = t0; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t3; }, InheritedTheme_capture(from, to) { var themes; if (from.$eq(0, to)) return new A.CapturedThemes(B.List_empty10); themes = A._setArrayType([], type$.JSArray_InheritedTheme); from.visitAncestorElements$1(new A.InheritedTheme_capture_closure(to, A._Cell$named("debugDidFindAncestor"), A.LinkedHashSet_LinkedHashSet$_empty(type$.Type), themes)); return new A.CapturedThemes(themes); }, InheritedTheme: function InheritedTheme() { }, InheritedTheme_capture_closure: function InheritedTheme_capture_closure(t0, t1, t2, t3) { var _ = this; _.to = t0; _.debugDidFindAncestor = t1; _.themeTypes = t2; _.themes = t3; }, CapturedThemes: function CapturedThemes(t0) { this._themes = t0; }, _CaptureAll: function _CaptureAll(t0, t1, t2) { this.themes = t0; this.child = t1; this.key = t2; }, InteractiveViewer$(child, maxScale, onInteractionEnd, onInteractionStart, panEnabled, scaleEnabled, transformationController) { return new A.InteractiveViewer(child, panEnabled, true, maxScale, onInteractionEnd, onInteractionStart, transformationController, null); }, InteractiveViewer_getNearestPointOnLine(point, l1, l2) { var l1P, l1L2, t1 = l2._v3storage, t2 = l1._v3storage, lengthSquared = Math.pow(t1[0] - t2[0], 2) + Math.pow(t1[1] - t2[1], 2); if (lengthSquared === 0) return l1; l1P = point.$sub(0, l1); l1L2 = l2.$sub(0, l1); return l1.$add(0, l1L2.scaled$1(A.clampDouble(l1P.dot$1(l1L2) / lengthSquared, 0, 1))); }, InteractiveViewer_getNearestPointInside(point, quad) { var t4, closestPoints, closestOverall, minDistance, _i, closePoint, distance, t1 = quad._point0, aM = point.$sub(0, t1), t2 = quad._point1, aB = t2.$sub(0, t1), t3 = quad._point3, aD = t3.$sub(0, t1), aMAB = aM.dot$1(aB), aBAB = aB.dot$1(aB), aMAD = aM.dot$1(aD), aDAD = aD.dot$1(aD); if (0 <= aMAB && aMAB <= aBAB && 0 <= aMAD && aMAD <= aDAD) return point; t4 = quad._point2; closestPoints = [A.InteractiveViewer_getNearestPointOnLine(point, t1, t2), A.InteractiveViewer_getNearestPointOnLine(point, t2, t4), A.InteractiveViewer_getNearestPointOnLine(point, t4, t3), A.InteractiveViewer_getNearestPointOnLine(point, t3, t1)]; closestOverall = A._Cell$named("closestOverall"); for (t1 = point._v3storage, minDistance = 1 / 0, _i = 0; _i < 4; ++_i) { closePoint = closestPoints[_i]; t2 = closePoint._v3storage; distance = Math.sqrt(Math.pow(t1[0] - t2[0], 2) + Math.pow(t1[1] - t2[1], 2)); if (distance < minDistance) { closestOverall.__late_helper$_value = closePoint; minDistance = distance; } } return closestOverall._readLocal$0(); }, TransformationController$() { var t1 = new A.Matrix40(new Float64Array(16)); t1.setIdentity$0(); return new A.TransformationController(t1, $.$get$ChangeNotifier__emptyListeners()); }, _getFinalTime(velocity, drag, effectivelyMotionless) { return Math.log(effectivelyMotionless / velocity) / Math.log(drag / 100); }, _transformViewport(matrix, viewport) { var t1, t2, t3, t4, t5, t6, inverseMatrix = new A.Matrix40(new Float64Array(16)); inverseMatrix.setFrom$1(matrix); inverseMatrix.copyInverse$1(inverseMatrix); t1 = viewport.left; t2 = viewport.top; t3 = new A.Vector3(new Float64Array(3)); t3.setValues$3(t1, t2, 0); t3 = inverseMatrix.transform3$1(t3); t4 = viewport.right; t5 = new A.Vector3(new Float64Array(3)); t5.setValues$3(t4, t2, 0); t5 = inverseMatrix.transform3$1(t5); t2 = viewport.bottom; t6 = new A.Vector3(new Float64Array(3)); t6.setValues$3(t4, t2, 0); t6 = inverseMatrix.transform3$1(t6); t4 = new A.Vector3(new Float64Array(3)); t4.setValues$3(t1, t2, 0); t4 = inverseMatrix.transform3$1(t4); t1 = new A.Vector3(new Float64Array(3)); t1.setFrom$1(t3); t2 = new A.Vector3(new Float64Array(3)); t2.setFrom$1(t5); t3 = new A.Vector3(new Float64Array(3)); t3.setFrom$1(t6); t5 = new A.Vector3(new Float64Array(3)); t5.setFrom$1(t4); return new A.Quad(t1, t2, t3, t5); }, _exceedsBy(boundary, viewport) { var largestExcess, _i, point, t1, t2, t3, viewportPoints = [viewport._point0, viewport._point1, viewport._point2, viewport._point3]; for (largestExcess = B.Offset_0_0, _i = 0; _i < 4; ++_i) { point = viewportPoints[_i]; t1 = A.InteractiveViewer_getNearestPointInside(point, boundary)._v3storage; t2 = point._v3storage; t3 = t1[0] - t2[0]; t2 = t1[1] - t2[1]; if (Math.abs(t3) > Math.abs(largestExcess._dx)) largestExcess = new A.Offset(t3, largestExcess._dy); if (Math.abs(t2) > Math.abs(largestExcess._dy)) largestExcess = new A.Offset(largestExcess._dx, t2); } return A._round(largestExcess); }, _round(offset) { return new A.Offset(A.double_parse(B.JSNumber_methods.toStringAsFixed$1(offset._dx, 9)), A.double_parse(B.JSNumber_methods.toStringAsFixed$1(offset._dy, 9))); }, _getPanAxis(point1, point2) { if (point1.$eq(0, point2)) return null; return Math.abs(point2._dx - point1._dx) > Math.abs(point2._dy - point1._dy) ? B.Axis_0 : B.Axis_1; }, InteractiveViewer: function InteractiveViewer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.child = t0; _.panEnabled = t1; _.scaleEnabled = t2; _.maxScale = t3; _.onInteractionEnd = t4; _.onInteractionStart = t5; _.transformationController = t6; _.key = t7; }, _InteractiveViewerState: function _InteractiveViewerState(t0, t1, t2, t3, t4) { var _ = this; _._transformationController = null; _._childKey = t0; _._parentKey = t1; _._scaleAnimation = _._interactive_viewer$_animation = null; _.___InteractiveViewerState__scaleController_A = _.___InteractiveViewerState__controller_A = _.___InteractiveViewerState__scaleAnimationFocalPoint_A = $; _._scaleStart = _._referenceFocalPoint = _._currentAxis = null; _._currentRotation = _._rotationStart = 0; _._gestureType = null; _.TickerProviderStateMixin__tickers = t2; _.TickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _InteractiveViewerState__onTransformationControllerChange_closure: function _InteractiveViewerState__onTransformationControllerChange_closure() { }, _InteractiveViewerBuilt: function _InteractiveViewerBuilt(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.child = t0; _.childKey = t1; _.clipBehavior = t2; _.constrained = t3; _.matrix = t4; _.alignment = t5; _.key = t6; }, TransformationController: function TransformationController(t0, t1) { var _ = this; _._change_notifier$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _GestureType: function _GestureType(t0, t1) { this.index = t0; this._core$_name = t1; }, PanAxis: function PanAxis(t0, t1) { this.index = t0; this._core$_name = t1; }, __InteractiveViewerState_State_TickerProviderStateMixin: function __InteractiveViewerState_State_TickerProviderStateMixin() { }, _reportException0(context, exception, stack, informationCollector) { var details = new A.FlutterErrorDetails(exception, stack, "widgets library", context, null, informationCollector, false); A.FlutterError_reportError(details); return details; }, ConstrainedLayoutBuilder: function ConstrainedLayoutBuilder() { }, _LayoutBuilderElement: function _LayoutBuilderElement(t0, t1, t2) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._layout_builder$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t2; }, _LayoutBuilderElement__layout_layoutCallback: function _LayoutBuilderElement__layout_layoutCallback(t0, t1) { this.$this = t0; this.constraints = t1; }, _LayoutBuilderElement__layout_layoutCallback_closure: function _LayoutBuilderElement__layout_layoutCallback_closure() { }, _LayoutBuilderElement__layout_layoutCallback_closure0: function _LayoutBuilderElement__layout_layoutCallback_closure0() { }, RenderConstrainedLayoutBuilder: function RenderConstrainedLayoutBuilder() { }, LayoutBuilder: function LayoutBuilder(t0, t1) { this.builder = t0; this.key = t1; }, _RenderLayoutBuilder: function _RenderLayoutBuilder(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; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, __RenderLayoutBuilder_RenderBox_RenderObjectWithChildMixin: function __RenderLayoutBuilder_RenderBox_RenderObjectWithChildMixin() { }, __RenderLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder: function __RenderLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder() { }, _loadAll(locale, allDelegates) { var types, delegates, _i, delegate, t3, t4, inputValue, futureValue, _box_1 = {}, t1 = type$.Type, t2 = type$.dynamic, output = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); _box_1.pendingList = null; types = A.LinkedHashSet_LinkedHashSet$_empty(t1); delegates = A._setArrayType([], type$.JSArray_LocalizationsDelegate_dynamic); for (t1 = allDelegates.length, _i = 0; _i < allDelegates.length; allDelegates.length === t1 || (0, A.throwConcurrentModificationError)(allDelegates), ++_i) { delegate = allDelegates[_i]; t3 = A.instanceType(delegate)._eval$1("LocalizationsDelegate.T"); if (!types.contains$1(0, A.createRuntimeType(t3)) && delegate.isSupported$1(locale)) { types.add$1(0, A.createRuntimeType(t3)); delegates.push(delegate); } } for (t1 = delegates.length, t3 = type$.JSArray__Pending, _i = 0; _i < delegates.length; delegates.length === t1 || (0, A.throwConcurrentModificationError)(delegates), ++_i) { t4 = {}; delegate = delegates[_i]; inputValue = delegate.load$1(0, locale); t4.completedValue = null; futureValue = inputValue.then$1$1(0, new A._loadAll_closure(t4), t2); if (t4.completedValue != null) output.$indexSet(0, A.createRuntimeType(A._instanceType(delegate)._eval$1("LocalizationsDelegate.T")), t4.completedValue); else { t4 = _box_1.pendingList; if (t4 == null) t4 = _box_1.pendingList = A._setArrayType([], t3); t4.push(new A._Pending(delegate, futureValue)); } } t1 = _box_1.pendingList; if (t1 == null) return new A.SynchronousFuture(output, type$.SynchronousFuture_Map_Type_dynamic); return A.Future_wait(new A.MappedListIterable(t1, new A._loadAll_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<@>>")), t2).then$1$1(0, new A._loadAll_closure1(_box_1, output), type$.Map_Type_dynamic); }, Localizations_Localizations$override(child, context, locale) { var mergedDelegates = A.List_List$of(context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._widget.delegates, true, type$.LocalizationsDelegate_dynamic); return new A.Localizations(locale, mergedDelegates, child, null); }, Localizations_maybeLocaleOf(context) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope); return scope == null ? null : scope.localizationsState._localizations$_locale; }, Localizations_of(context, type, $T) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope); return scope == null ? null : $T._eval$1("0?")._as(J.$index$asx(scope.localizationsState._typeToResources, type)); }, _Pending: function _Pending(t0, t1) { this.delegate = t0; this.futureValue = t1; }, _loadAll_closure: function _loadAll_closure(t0) { this._box_0 = t0; }, _loadAll_closure0: function _loadAll_closure0() { }, _loadAll_closure1: function _loadAll_closure1(t0, t1) { this._box_1 = t0; this.output = t1; }, LocalizationsDelegate: function LocalizationsDelegate() { }, _WidgetsLocalizationsDelegate: function _WidgetsLocalizationsDelegate() { }, DefaultWidgetsLocalizations: function DefaultWidgetsLocalizations() { }, _LocalizationsScope: function _LocalizationsScope(t0, t1, t2, t3) { var _ = this; _.localizationsState = t0; _.typeToResources = t1; _.child = t2; _.key = t3; }, Localizations: function Localizations(t0, t1, t2, t3) { var _ = this; _.locale = t0; _.delegates = t1; _.child = t2; _.key = t3; }, _LocalizationsState: function _LocalizationsState(t0, t1, t2) { var _ = this; _._localizedResourcesScopeKey = t0; _._typeToResources = t1; _._widget = _._localizations$_locale = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _LocalizationsState_load_closure: function _LocalizationsState_load_closure(t0) { this._box_0 = t0; }, _LocalizationsState_load_closure0: function _LocalizationsState_load_closure0(t0, t1) { this.$this = t0; this.locale = t1; }, _LocalizationsState_load__closure: function _LocalizationsState_load__closure(t0, t1, t2) { this.$this = t0; this.value = t1; this.locale = t2; }, LookupBoundary_dependOnInheritedWidgetOfExactType(context, $T) { var candidate, t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.LookupBoundary); candidate = A.LookupBoundary_getElementForInheritedWidgetOfExactType(context, $T); if (candidate == null) return null; context.super$Element$dependOnInheritedElement(candidate, null); t1 = candidate._widget; t1.toString; return $T._as(t1); }, LookupBoundary_getElementForInheritedWidgetOfExactType(context, $T) { var boundary, t1, t2, candidate = context.getElementForInheritedWidgetOfExactType$1$0($T); if (candidate == null) return null; boundary = context.getElementForInheritedWidgetOfExactType$1$0(type$.LookupBoundary); if (boundary != null) { t1 = boundary.__Element__depth_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = candidate.__Element__depth_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t1 > t2; t1 = t2; } else t1 = false; if (t1) return null; return candidate; }, LookupBoundary_findAncestorStateOfType(context, $T) { var t1 = {}; t1.target = null; context.visitAncestorElements$1(new A.LookupBoundary_findAncestorStateOfType_closure(t1, $T)); t1 = t1.target; if (t1 == null) t1 = null; else { t1 = t1._framework$_state; t1.toString; } return $T._eval$1("0?")._as(t1); }, LookupBoundary_findRootAncestorStateOfType(context, $T) { var t1 = {}; t1.target = null; context.visitAncestorElements$1(new A.LookupBoundary_findRootAncestorStateOfType_closure(t1, $T)); t1 = t1.target; if (t1 == null) t1 = null; else { t1 = t1._framework$_state; t1.toString; } return $T._eval$1("0?")._as(t1); }, LookupBoundary_findAncestorRenderObjectOfType(context, $T) { var t1 = {}; t1.target = null; context.visitAncestorElements$1(new A.LookupBoundary_findAncestorRenderObjectOfType_closure(t1, $T)); t1 = t1.target; t1 = t1 == null ? null : t1.get$renderObject(); return $T._eval$1("0?")._as(t1); }, LookupBoundary_findAncestorStateOfType_closure: function LookupBoundary_findAncestorStateOfType_closure(t0, t1) { this._box_0 = t0; this.T = t1; }, LookupBoundary_findRootAncestorStateOfType_closure: function LookupBoundary_findRootAncestorStateOfType_closure(t0, t1) { this._box_0 = t0; this.T = t1; }, LookupBoundary_findAncestorRenderObjectOfType_closure: function LookupBoundary_findAncestorRenderObjectOfType_closure(t0, t1) { this._box_0 = t0; this.T = t1; }, MagnifierController_shiftWithinBounds(bounds, rect) { var rectShift, t1 = rect.left, t2 = bounds.left; if (t1 < t2) rectShift = B.Offset_0_0.$add(0, new A.Offset(t2 - t1, 0)); else { t1 = rect.right; t2 = bounds.right; rectShift = t1 > t2 ? B.Offset_0_0.$add(0, new A.Offset(t2 - t1, 0)) : B.Offset_0_0; } t1 = rect.top; t2 = bounds.top; if (t1 < t2) rectShift = rectShift.$add(0, new A.Offset(0, t2 - t1)); else { t1 = rect.bottom; t2 = bounds.bottom; if (t1 > t2) rectShift = rectShift.$add(0, new A.Offset(0, t2 - t1)); } return rect.shift$1(rectShift); }, MagnifierDecoration$(opacity, shadows, shape) { return new A.MagnifierDecoration(opacity, null, null, null, shadows, shape); }, MagnifierInfo: function MagnifierInfo(t0, t1, t2, t3) { var _ = this; _.globalGesturePosition = t0; _.currentLineBoundaries = t1; _.caretRect = t2; _.fieldBounds = t3; }, TextMagnifierConfiguration: function TextMagnifierConfiguration(t0, t1) { this._magnifierBuilder = t0; this.shouldDisplayHandlesInMagnifier = t1; }, TextMagnifierConfiguration_magnifierBuilder_closure: function TextMagnifierConfiguration_magnifierBuilder_closure() { }, MagnifierController: function MagnifierController() { this._overlayEntry = this.animationController = null; }, MagnifierController_show_closure: function MagnifierController_show_closure(t0, t1) { this.capturedThemes = t0; this.builder = t1; }, MagnifierDecoration: function MagnifierDecoration(t0, t1, t2, t3, t4, t5) { var _ = this; _.opacity = t0; _.color = t1; _.gradient = t2; _.image = t3; _.shadows = t4; _.shape = t5; }, RawMagnifier: function RawMagnifier(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.decoration = t1; _.focalPointOffset = t2; _.magnificationScale = t3; _.size = t4; _.key = t5; }, _MagnifierStyle: function _MagnifierStyle(t0, t1, t2) { this.decoration = t0; this.size = t1; this.key = t2; }, _DonutClip: function _DonutClip(t0, t1, t2) { this.spreadRadius = t0; this.shape = t1; this._reclip = t2; }, _Magnifier: function _Magnifier(t0, t1, t2, t3, t4) { var _ = this; _.focalPointOffset = t0; _.magnificationScale = t1; _.shape = t2; _.child = t3; _.key = t4; }, _RenderMagnification: function _RenderMagnification(t0, t1, t2, t3, t4) { var _ = this; _._focalPointOffset = t0; _._magnificationScale = t1; _._magnifier$_shape = t2; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, MediaQuery$(child, data, key) { return new A.MediaQuery(data, child, key); }, MediaQuery_MediaQuery$removePadding(child, context, removeBottom, removeLeft, removeRight, removeTop) { return A.MediaQuery$(child, A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.removePadding$4$removeBottom$removeLeft$removeRight$removeTop(removeBottom, removeLeft, removeRight, removeTop), null); }, MediaQuery_withNoTextScaling(child) { return new A.Builder(new A.MediaQuery_withNoTextScaling_closure(child), null); }, MediaQuery_withClampedTextScaling(child, maxScaleFactor) { return new A.Builder(new A.MediaQuery_withClampedTextScaling_closure(0, maxScaleFactor, child), null); }, MediaQuery__maybeOf(context, aspect) { var t1 = A.InheritedModel_inheritFrom(context, aspect, type$.MediaQuery); return t1 == null ? null : t1.data; }, Orientation: function Orientation(t0, t1) { this.index = t0; this._core$_name = t1; }, _MediaQueryAspect: function _MediaQueryAspect(t0, t1) { this.index = t0; this._core$_name = t1; }, MediaQueryData: function MediaQueryData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.size = t0; _.devicePixelRatio = t1; _._textScaler = t2; _.platformBrightness = t3; _.viewInsets = t4; _.padding = t5; _.viewPadding = t6; _.systemGestureInsets = t7; _.alwaysUse24HourFormat = t8; _.accessibleNavigation = t9; _.invertColors = t10; _.highContrast = t11; _.onOffSwitchLabels = t12; _.disableAnimations = t13; _.boldText = t14; _.navigationMode = t15; _.gestureSettings = t16; _.displayFeatures = t17; }, MediaQueryData_removeDisplayFeatures_closure: function MediaQueryData_removeDisplayFeatures_closure(t0) { this.subScreen = t0; }, MediaQuery: function MediaQuery(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, MediaQuery_withNoTextScaling_closure: function MediaQuery_withNoTextScaling_closure(t0) { this.child = t0; }, MediaQuery_withClampedTextScaling_closure: function MediaQuery_withClampedTextScaling_closure(t0, t1, t2) { this.minScaleFactor = t0; this.maxScaleFactor = t1; this.child = t2; }, NavigationMode: function NavigationMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _MediaQueryFromView: function _MediaQueryFromView(t0, t1, t2) { this.view = t0; this.child = t1; this.key = t2; }, _MediaQueryFromViewState: function _MediaQueryFromViewState(t0) { var _ = this; _._widget = _._media_query$_data = _._parentData = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _MediaQueryFromViewState__updateData_closure: function _MediaQueryFromViewState__updateData_closure(t0, t1) { this.$this = t0; this.newData = t1; }, __MediaQueryFromViewState_State_WidgetsBindingObserver: function __MediaQueryFromViewState_State_WidgetsBindingObserver() { }, ModalBarrier$(barrierSemanticsDismissible, clipDetailsNotifier, color, dismissible, onDismiss, semanticsLabel, semanticsOnTapHint) { return new A.ModalBarrier(color, dismissible, onDismiss, true, semanticsLabel, clipDetailsNotifier, semanticsOnTapHint, null); }, ModalBarrier: function ModalBarrier(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.color = t0; _.dismissible = t1; _.onDismiss = t2; _.barrierSemanticsDismissible = t3; _.semanticsLabel = t4; _.clipDetailsNotifier = t5; _.semanticsOnTapHint = t6; _.key = t7; }, ModalBarrier_build_handleDismiss: function ModalBarrier_build_handleDismiss(t0, t1) { this.$this = t0; this.context = t1; }, AnimatedModalBarrier: function AnimatedModalBarrier(t0, t1, t2, t3, t4) { var _ = this; _.dismissible = t0; _.semanticsLabel = t1; _.barrierSemanticsDismissible = t2; _.listenable = t3; _.key = t4; }, _AnyTapGestureRecognizer: function _AnyTapGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.onAnyTapUp = null; _._wonArenaForPrimaryPointer = _._sentTapDown = false; _._up = _._down = null; _.deadline = t0; _.postAcceptSlopTolerance = t1; _._recognizer$_state = t2; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t3; _._trackedPointers = t4; _._team = null; _.debugOwner = t5; _.gestureSettings = null; _.supportedDevices = t6; _._allowedButtonsFilter = t7; _._pointerToKind = t8; }, _AnyTapGestureRecognizerFactory: function _AnyTapGestureRecognizerFactory(t0) { this.onAnyTapUp = t0; }, _ModalBarrierGestureDetector: function _ModalBarrierGestureDetector(t0, t1, t2) { this.child = t0; this.onDismiss = t1; this.key = t2; }, NavigationToolbar: function NavigationToolbar(t0, t1, t2, t3, t4, t5) { var _ = this; _.leading = t0; _.middle = t1; _.trailing = t2; _.centerMiddle = t3; _.middleSpacing = t4; _.key = t5; }, _ToolbarSlot: function _ToolbarSlot(t0, t1) { this.index = t0; this._core$_name = t1; }, _ToolbarLayout: function _ToolbarLayout(t0, t1, t2) { var _ = this; _.centerMiddle = t0; _.middleSpacing = t1; _.textDirection = t2; _._debugChildrenNeedingLayout = _._idToChild = null; }, Navigator$(clipBehavior, initialRoute, key, observers, onGenerateInitialRoutes, onGenerateRoute, onUnknownRoute, reportsRouteUpdateToEngine, restorationScopeId, routeTraversalEdgeBehavior) { return new A.Navigator(initialRoute, onGenerateRoute, onUnknownRoute, observers, restorationScopeId, routeTraversalEdgeBehavior, onGenerateInitialRoutes, reportsRouteUpdateToEngine, clipBehavior, key); }, Navigator_maybePop(context) { return A.Navigator_of(context, false).maybePop$1(null); }, Navigator_of(context, rootNavigator) { var t1, $navigator, navigator0; if (context instanceof A.StatefulElement) { t1 = context._framework$_state; t1.toString; t1 = t1 instanceof A.NavigatorState; } else t1 = false; if (t1) { t1 = context._framework$_state; t1.toString; type$.NavigatorState._as(t1); $navigator = t1; } else $navigator = null; if (rootNavigator) { navigator0 = context.findRootAncestorStateOfType$1$0(type$.NavigatorState); $navigator = navigator0 == null ? $navigator : navigator0; t1 = $navigator; } else { if ($navigator == null) $navigator = context.findAncestorStateOfType$1$0(type$.NavigatorState); t1 = $navigator; } t1.toString; return t1; }, Navigator_maybeOf(context) { var $navigator, t1 = context._framework$_state; t1.toString; if (t1 instanceof A.NavigatorState) $navigator = t1; else $navigator = null; if ($navigator == null) $navigator = context.findAncestorStateOfType$1$0(type$.NavigatorState); return $navigator; }, Navigator_defaultGenerateInitialRoutes($navigator, initialRouteName) { var t1, routeParts, t2, _i, t3, routeName, route, _null = null, result = A._setArrayType([], type$.JSArray_nullable_Route_dynamic); if (B.JSString_methods.startsWith$1(initialRouteName, "/") && initialRouteName.length > 1) { initialRouteName = B.JSString_methods.substring$1(initialRouteName, 1); t1 = type$.dynamic; result.push($navigator._routeNamed$1$3$allowNull$arguments("/", true, _null, t1)); routeParts = initialRouteName.split("/"); if (initialRouteName.length !== 0) for (t2 = routeParts.length, _i = 0, t3 = ""; _i < t2; ++_i, t3 = routeName) { routeName = t3 + ("/" + A.S(routeParts[_i])); result.push($navigator._routeNamed$1$3$allowNull$arguments(routeName, true, _null, t1)); } if (B.JSArray_methods.get$last(result) == null) { for (t1 = result.length, _i = 0; _i < result.length; result.length === t1 || (0, A.throwConcurrentModificationError)(result), ++_i) { route = result[_i]; if (route != null) route.dispose$0(); } B.JSArray_methods.clear$0(result); } } else if (initialRouteName !== "/") result.push($navigator._routeNamed$1$3$allowNull$arguments(initialRouteName, true, _null, type$.dynamic)); if (!!result.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(result, new A.Navigator_defaultGenerateInitialRoutes_closure(), true); if (result.length === 0) result.push($navigator._routeNamed$1$2$arguments("/", _null, type$.dynamic)); return new A.CastList(result, type$.CastList_of_nullable_Route_dynamic_and_Route_dynamic); }, _RouteEntry$(route, initialState, pageBased, restorationInformation) { var t1 = $.$get$_RouteEntry_notAnnounced(); return new A._RouteEntry(route, restorationInformation, pageBased, initialState, t1, new A._WeakReferenceWrapper(new ($.$get$_WeakReferenceWrapper__weakRefConstructor())(t1), type$._WeakReferenceWrapper_Route_dynamic), t1); }, _RouteEntry_isPresentPredicate(entry) { return entry.get$isPresent(); }, _RouteEntry_suitableForTransitionAnimationPredicate(entry) { var t1 = entry.currentState.index; return t1 <= 10 && t1 >= 3; }, _RouteEntry_willBePresentPredicate(entry) { return entry.get$willBePresent(); }, _RouteEntry_isRoutePredicate(route) { return new A._RouteEntry_isRoutePredicate_closure(route); }, NavigatorState__disposeRouteEntry(entry, graceful) { var t1, t2, t3, _i; for (t1 = entry.route, t2 = t1.get$overlayEntries(), t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) J.remove$0$ax(t2[_i]); if (graceful) entry.dispose$0(); else { entry.currentState = B._RouteLifecycle_15; t1.dispose$0(); } }, _RestorationInformation__RestorationInformation$fromSerializableData(data) { var t1, t2, t3; type$.List_nullable_Object._as(data); t1 = J.getInterceptor$asx(data); t2 = t1.$index(data, 0); t2.toString; switch (B.List_xw81[A._asInt(t2)].index) { case 0: t1 = t1.sublist$1(data, 1); t2 = t1[0]; t2.toString; A._asInt(t2); t3 = t1[1]; t3.toString; A._asString(t3); return new A._NamedRestorationInformation(t2, t3, t1.length > 2 ? t1[2] : null, B._RouteRestorationType_0); case 1: t1 = t1.sublist$1(data, 1)[1]; t1.toString; type$.Route_dynamic_Function_2_BuildContext_and_nullable_Object._as(A.PluginUtilities_getCallbackFromHandle(new A.CallbackHandle(A._asInt(t1)))); return null; } }, RoutePopDisposition: function RoutePopDisposition(t0, t1) { this.index = t0; this._core$_name = t1; }, Route: function Route() { }, Route_didPush_closure: function Route_didPush_closure(t0) { this.$this = t0; }, Route_didAdd_closure: function Route_didAdd_closure(t0) { this.$this = t0; }, RouteSettings: function RouteSettings(t0, t1) { this.name = t0; this.$arguments = t1; }, NavigatorObserver: function NavigatorObserver() { }, HeroControllerScope: function HeroControllerScope(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, RouteTransitionRecord: function RouteTransitionRecord() { }, TransitionDelegate: function TransitionDelegate() { }, DefaultTransitionDelegate: function DefaultTransitionDelegate(t0) { this.$ti = t0; }, Navigator: function Navigator(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.initialRoute = t0; _.onGenerateRoute = t1; _.onUnknownRoute = t2; _.observers = t3; _.restorationScopeId = t4; _.routeTraversalEdgeBehavior = t5; _.onGenerateInitialRoutes = t6; _.reportsRouteUpdateToEngine = t7; _.clipBehavior = t8; _.key = t9; }, Navigator_defaultGenerateInitialRoutes_closure: function Navigator_defaultGenerateInitialRoutes_closure() { }, _RouteLifecycle: function _RouteLifecycle(t0, t1) { this.index = t0; this._core$_name = t1; }, _NotAnnounced: function _NotAnnounced(t0, t1, t2, t3) { var _ = this; _._navigator$_navigator = null; _._navigator$_settings = t0; _._restorationScopeId = t1; _._popCompleter = t2; _._disposeCompleter = t3; }, _RouteEntry: function _RouteEntry(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.route = t0; _.restorationInformation = t1; _.pageBased = t2; _.currentState = t3; _.lastAnnouncedPreviousRoute = t4; _.lastAnnouncedPoppedNextRoute = t5; _.lastAnnouncedNextRoute = t6; _.pendingResult = _.lastFocusNode = null; _._reportRemovalToObserver = true; _._isWaitingForExitingDecision = false; }, _RouteEntry_handlePush_closure: function _RouteEntry_handlePush_closure(t0, t1) { this.$this = t0; this.navigator = t1; }, _RouteEntry_handleDidPopNext_closure: function _RouteEntry_handleDidPopNext_closure(t0) { this.$this = t0; }, _RouteEntry_dispose_closure: function _RouteEntry_dispose_closure() { }, _RouteEntry_dispose_closure0: function _RouteEntry_dispose_closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.entry = t2; _.listener = t3; _.navigator = t4; }, _RouteEntry_dispose__closure: function _RouteEntry_dispose__closure(t0, t1) { this.$this = t0; this.navigator = t1; }, _RouteEntry_isRoutePredicate_closure: function _RouteEntry_isRoutePredicate_closure(t0) { this.route = t0; }, _NavigatorObservation: function _NavigatorObservation() { }, _NavigatorPushObservation: function _NavigatorPushObservation(t0, t1) { this.primaryRoute = t0; this.secondaryRoute = t1; }, _NavigatorPopObservation: function _NavigatorPopObservation(t0, t1) { this.primaryRoute = t0; this.secondaryRoute = t1; }, _NavigatorRemoveObservation: function _NavigatorRemoveObservation(t0, t1) { this.primaryRoute = t0; this.secondaryRoute = t1; }, _NavigatorReplaceObservation: function _NavigatorReplaceObservation(t0, t1) { this.primaryRoute = t0; this.secondaryRoute = t1; }, _History: function _History(t0, t1) { var _ = this; _._navigator$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, NavigatorState: function NavigatorState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.__NavigatorState__overlayKey_A = $; _._history = t0; _._entryWaitingForSubTreeDisposal = t1; _._serializableHistory = t2; _._observedRouteAdditions = t3; _._observedRouteDeletions = t4; _.focusNode = t5; _._debugLocked = false; _._heroControllerFromScope = null; _.__NavigatorState__effectiveObservers_A = $; _._rawNextPagelessRestorationScopeId = t6; _._lastAnnouncedRouteName = null; _._flushingHistory = _._debugUpdatingPage = false; _._userGesturesInProgressCount = 0; _.userGestureInProgressNotifier = t7; _._activePointers = t8; _.RestorationMixin__bucket = t9; _.RestorationMixin__properties = t10; _.RestorationMixin__debugPropertiesWaitingForReregistration = t11; _.RestorationMixin__firstRestorePending = t12; _.RestorationMixin__currentParent = t13; _.TickerProviderStateMixin__tickers = t14; _.TickerProviderStateMixin__tickerModeNotifier = t15; _._widget = null; _._debugLifecycleState = t16; _._framework$_element = null; }, NavigatorState__handleHistoryChanged_closure: function NavigatorState__handleHistoryChanged_closure(t0, t1) { this.$this = t0; this.notification = t1; }, NavigatorState_restoreState_closure: function NavigatorState_restoreState_closure(t0) { this.$this = t0; }, NavigatorState__forcedDisposeAllRouteEntries_closure: function NavigatorState__forcedDisposeAllRouteEntries_closure() { }, NavigatorState__afterNavigation_closure: function NavigatorState__afterNavigation_closure() { }, NavigatorState__cancelActivePointers_closure: function NavigatorState__cancelActivePointers_closure(t0) { this.absorber = t0; }, NavigatorState_build_closure: function NavigatorState_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, _RouteRestorationType: function _RouteRestorationType(t0, t1) { this.index = t0; this._core$_name = t1; }, _RestorationInformation: function _RestorationInformation() { }, _NamedRestorationInformation: function _NamedRestorationInformation(t0, t1, t2, t3) { var _ = this; _.restorationScopeId = t0; _.name = t1; _.$arguments = t2; _.type = t3; _._serializableData = null; }, _AnonymousRestorationInformation: function _AnonymousRestorationInformation(t0, t1, t2, t3) { var _ = this; _.restorationScopeId = t0; _.routeBuilder = t1; _.$arguments = t2; _.type = t3; _._serializableData = null; }, _HistoryProperty: function _HistoryProperty(t0) { var _ = this; _._pageToPagelessRoutes = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _HistoryProperty_fromPrimitives_closure: function _HistoryProperty_fromPrimitives_closure() { }, NavigationNotification: function NavigationNotification(t0) { this.canHandlePop = t0; }, _NavigatorState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure: function _NavigatorState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure() { }, _NavigatorState_State_TickerProviderStateMixin: function _NavigatorState_State_TickerProviderStateMixin() { }, _NavigatorState_State_TickerProviderStateMixin_RestorationMixin: function _NavigatorState_State_TickerProviderStateMixin_RestorationMixin() { }, __History_Iterable_ChangeNotifier: function __History_Iterable_ChangeNotifier() { }, NavigatorPopHandler: function NavigatorPopHandler(t0, t1, t2) { this.child = t0; this.onPop = t1; this.key = t2; }, _NavigatorPopHandlerState: function _NavigatorPopHandlerState(t0) { var _ = this; _._canPop = true; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _NavigatorPopHandlerState_build_closure0: function _NavigatorPopHandlerState_build_closure0(t0) { this.$this = t0; }, _NavigatorPopHandlerState_build_closure: function _NavigatorPopHandlerState_build_closure(t0) { this.$this = t0; }, _NavigatorPopHandlerState_build__closure: function _NavigatorPopHandlerState_build__closure(t0, t1) { this.$this = t0; this.nextCanPop = t1; }, Notification0: function Notification0() { }, NotificationListener: function NotificationListener(t0, t1, t2, t3) { var _ = this; _.onNotification = t0; _.child = t1; _.key = t2; _.$ti = t3; }, _NotificationElement: function _NotificationElement(t0, t1, t2) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t2; }, LayoutChangedNotification: function LayoutChangedNotification() { }, __NotificationElement_ProxyElement_NotifiableElementMixin: function __NotificationElement_ProxyElement_NotifiableElementMixin() { }, OverflowBar$(alignment, children, overflowAlignment, overflowDirection, overflowSpacing, spacing) { return new A.OverflowBar(spacing, alignment, overflowSpacing, overflowAlignment, overflowDirection, children, null); }, OverflowBarAlignment: function OverflowBarAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, OverflowBar: function OverflowBar(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.spacing = t0; _.alignment = t1; _.overflowSpacing = t2; _.overflowAlignment = t3; _.overflowDirection = t4; _.children = t5; _.key = t6; }, _OverflowBarParentData: function _OverflowBarParentData(t0, t1, t2) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.offset = t2; }, _RenderOverflowBar: function _RenderOverflowBar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._spacing = t0; _._overflow_bar$_alignment = t1; _._overflowSpacing = t2; _._overflowAlignment = t3; _._overflowDirection = t4; _._overflow_bar$_textDirection = t5; _._overflow_bar$_clipBehavior = t6; _.ContainerRenderObjectMixin__childCount = t7; _.ContainerRenderObjectMixin__firstChild = t8; _.ContainerRenderObjectMixin__lastChild = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderOverflowBar_performLayout_nextChild: function _RenderOverflowBar_performLayout_nextChild(t0, t1) { this._box_0 = t0; this.$this = t1; }, __RenderOverflowBar_RenderBox_ContainerRenderObjectMixin: function __RenderOverflowBar_RenderBox_ContainerRenderObjectMixin() { }, __RenderOverflowBar_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function __RenderOverflowBar_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, OverlayEntry$(builder, canSizeOverlay, maintainState) { return new A.OverlayEntry(builder, maintainState, canSizeOverlay, new A.ValueNotifier(null, $.$get$ChangeNotifier__emptyListeners(), type$.ValueNotifier_nullable__OverlayEntryWidgetState), new A.LabeledGlobalKey(null, type$.LabeledGlobalKey__OverlayEntryWidgetState)); }, _RenderTheater__detachChild(child) { return child.detach$0(0); }, OverlayPortal$(child, controller, overlayChildBuilder) { return new A.OverlayPortal(controller, overlayChildBuilder, child, null); }, _RenderTheaterMarker_of(context, targetRootOverlay) { var t1, marker = context.dependOnInheritedWidgetOfExactType$1$0(type$._RenderTheaterMarker); if (marker != null) return marker; t1 = A._setArrayType([A.ErrorSummary$("No Overlay widget found."), A.ErrorDescription$(A.getRuntimeTypeOfDartObject(context.get$widget()).toString$0(0) + " widgets require an Overlay widget ancestor.\nAn overlay lets widgets float on top of other widget children."), A.ErrorHint$("To introduce an Overlay widget, you can either directly include one, or use a widget that contains an Overlay itself, such as a Navigator, WidgetApp, MaterialApp, or CupertinoApp.")], type$.JSArray_DiagnosticsNode); B.JSArray_methods.addAll$1(t1, context.describeMissingAncestor$1$expectedAncestorType(B.Type_Overlay_u7I)); throw A.wrapException(A.FlutterError$fromParts(t1)); }, OverlayEntry: function OverlayEntry(t0, t1, t2, t3, t4) { var _ = this; _.builder = t0; _._opaque = false; _._maintainState = t1; _.canSizeOverlay = t2; _._overlayEntryStateNotifier = t3; _._overlay = null; _._overlay$_key = t4; _._disposedByOwner = false; }, OverlayEntry_remove_closure: function OverlayEntry_remove_closure(t0) { this.overlay = t0; }, _OverlayEntryWidget: function _OverlayEntryWidget(t0, t1, t2, t3) { var _ = this; _.entry = t0; _.overlayState = t1; _.tickerEnabled = t2; _.key = t3; }, _OverlayEntryWidgetState: function _OverlayEntryWidgetState(t0) { var _ = this; _.___OverlayEntryWidgetState__theater_A = $; _._sortedTheaterSiblings = null; _.___OverlayEntryWidgetState__hitTestOrderIterable_FI = _.___OverlayEntryWidgetState__paintOrderIterable_FI = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _OverlayEntryWidgetState__markNeedsBuild_closure: function _OverlayEntryWidgetState__markNeedsBuild_closure() { }, Overlay: function Overlay(t0, t1, t2) { this.initialEntries = t0; this.clipBehavior = t1; this.key = t2; }, OverlayState: function OverlayState(t0, t1, t2, t3) { var _ = this; _._entries = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, OverlayState_insert_closure: function OverlayState_insert_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.below = t1; _.above = t2; _.entry = t3; }, OverlayState_insertAll_closure: function OverlayState_insertAll_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.below = t1; _.above = t2; _.entries = t3; }, OverlayState_rearrange_closure: function OverlayState_rearrange_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.newEntriesList = t1; _.old = t2; _.below = t3; _.above = t4; }, OverlayState__markDirty_closure: function OverlayState__markDirty_closure() { }, OverlayState__didChangeEntryOpacity_closure: function OverlayState__didChangeEntryOpacity_closure() { }, _Theater: function _Theater(t0, t1, t2, t3) { var _ = this; _.skipCount = t0; _.clipBehavior = t1; _.children = t2; _.key = t3; }, _TheaterElement: function _TheaterElement(t0, t1, t2) { var _ = this; _.__MultiChildRenderObjectElement__children_A = $; _._forgottenChildren = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _RenderTheaterMixin: function _RenderTheaterMixin() { }, _RenderTheaterMixin_hitTestChildren_childHitTest: function _RenderTheaterMixin_hitTestChildren_childHitTest(t0) { this.localChild = t0; }, _TheaterParentData: function _TheaterParentData(t0, t1, t2) { var _ = this; _.height = _.width = _.left = _.bottom = _.right = _.top = _.overlayEntry = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, _RenderTheater: function _RenderTheater(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._alignmentCache = null; _._overlay$_textDirection = t0; _._overlay$_skipCount = t1; _._overlay$_clipBehavior = t2; _._skipMarkNeedsLayout = false; _._overlay$_clipRectLayer = t3; _.ContainerRenderObjectMixin__childCount = t4; _.ContainerRenderObjectMixin__firstChild = t5; _.ContainerRenderObjectMixin__lastChild = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderTheater_computeMinIntrinsicWidth_closure: function _RenderTheater_computeMinIntrinsicWidth_closure(t0) { this.height = t0; }, _RenderTheater_computeMaxIntrinsicWidth_closure: function _RenderTheater_computeMaxIntrinsicWidth_closure(t0) { this.height = t0; }, _RenderTheater_computeMinIntrinsicHeight_closure: function _RenderTheater_computeMinIntrinsicHeight_closure(t0) { this.width = t0; }, _RenderTheater_computeMaxIntrinsicHeight_closure: function _RenderTheater_computeMaxIntrinsicHeight_closure(t0) { this.width = t0; }, _RenderTheater_debugDescribeChildren_closure: function _RenderTheater_debugDescribeChildren_closure(t0, t1, t2, t3) { var _ = this; _._box_1 = t0; _._box_0 = t1; _.onstageChildren = t2; _.offstageChildren = t3; }, OverlayPortalController: function OverlayPortalController(t0) { this._zOrderIndex = this._attachTarget = null; this._overlay$_debugLabel = t0; }, OverlayPortal: function OverlayPortal(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.overlayChildBuilder = t1; _.child = t2; _.key = t3; }, _OverlayPortalState: function _OverlayPortalState(t0) { var _ = this; _._zOrderIndex = null; _._childModelMayHaveChanged = true; _._widget = _._locationCache = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _OverlayPortalState__getLocation_closure: function _OverlayPortalState__getLocation_closure(t0, t1) { this.$this = t0; this.targetRootOverlay = t1; }, _OverlayPortalState_show_closure: function _OverlayPortalState_show_closure(t0, t1) { this.$this = t0; this.zOrderIndex = t1; }, _OverlayPortalState_hide_closure: function _OverlayPortalState_hide_closure(t0) { this.$this = t0; }, _OverlayEntryLocation: function _OverlayEntryLocation(t0, t1, t2) { var _ = this; _._zOrderIndex = t0; _._childModel = t1; _._theater = t2; _.LinkedListEntry__previous = _.LinkedListEntry__next = _.LinkedListEntry__list = _._debugMarkLocationInvalidStackTrace = _._overlayChildRenderBox = null; }, _RenderTheaterMarker: function _RenderTheaterMarker(t0, t1, t2, t3) { var _ = this; _.theater = t0; _.overlayEntryWidgetState = t1; _.child = t2; _.key = t3; }, _OverlayPortal: function _OverlayPortal(t0, t1, t2, t3) { var _ = this; _.overlayChild = t0; _.child = t1; _.overlayLocation = t2; _.key = t3; }, _OverlayPortalElement: function _OverlayPortalElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._overlay$_child = _._overlayChild = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _DeferredLayout: function _DeferredLayout(t0, t1) { this.child = t0; this.key = t1; }, _RenderDeferredLayoutBox: function _RenderDeferredLayoutBox(t0, t1, t2) { var _ = this; _._layoutSurrogate = t0; _._callingMarkParentNeedsLayout = false; _._overlay$_needsLayout = true; _._overlay$_debugMutationsLocked = _._theaterDoingThisLayout = false; _.LinkedListEntry__previous = _.LinkedListEntry__next = _.LinkedListEntry__list = null; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderDeferredLayoutBox__childrenInPaintOrder_closure: function _RenderDeferredLayoutBox__childrenInPaintOrder_closure(t0) { this.child = t0; }, _RenderDeferredLayoutBox_layout_closure: function _RenderDeferredLayoutBox_layout_closure(t0) { this.$this = t0; }, _RenderLayoutSurrogateProxyBox: function _RenderLayoutSurrogateProxyBox(t0, t1) { var _ = this; _._deferredLayoutChild = null; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _OverlayState_State_TickerProviderStateMixin: function _OverlayState_State_TickerProviderStateMixin() { }, __RenderDeferredLayoutBox_RenderProxyBox__RenderTheaterMixin: function __RenderDeferredLayoutBox_RenderProxyBox__RenderTheaterMixin() { }, __RenderDeferredLayoutBox_RenderProxyBox__RenderTheaterMixin_LinkedListEntry: function __RenderDeferredLayoutBox_RenderProxyBox__RenderTheaterMixin_LinkedListEntry() { }, __RenderTheater_RenderBox_ContainerRenderObjectMixin: function __RenderTheater_RenderBox_ContainerRenderObjectMixin() { }, __RenderTheater_RenderBox_ContainerRenderObjectMixin__RenderTheaterMixin: function __RenderTheater_RenderBox_ContainerRenderObjectMixin__RenderTheaterMixin() { }, GlowingOverscrollIndicator$(axisDirection, child, color) { return new A.GlowingOverscrollIndicator(axisDirection, color, child, null); }, _GlowController$(axis, color, vsync) { var t6, decelerator, _null = null, t1 = type$.Tween_double, t2 = new A.Tween(0, 0, t1), t3 = new A.Tween(0, 0, t1), t4 = new A._GlowController(B._GlowState_0, t2, t3, color, axis, $.$get$ChangeNotifier__emptyListeners()), t5 = A.AnimationController$(_null, _null, _null, 1, _null, vsync); t5.didRegisterListener$0(); t6 = t5.AnimationLocalStatusListenersMixin__statusListeners; t6._isDirty = true; t6._observer_list$_list.push(t4.get$_changePhase()); t4.___GlowController__glowController_F !== $ && A.throwUnnamedLateFieldAI(); t4.___GlowController__glowController_F = t5; decelerator = A.CurvedAnimation$(B.C__DecelerateCurve, t5, _null); decelerator.parent.addListener$1(0, t4.get$notifyListeners()); type$.Animation_double._as(decelerator); t1 = t1._eval$1("_AnimatedEvaluation<Animatable.T>"); t4.___GlowController__glowOpacity_F !== $ && A.throwUnnamedLateFieldAI(); t4.___GlowController__glowOpacity_F = new A._AnimatedEvaluation(decelerator, t2, t1); t4.___GlowController__glowSize_F !== $ && A.throwUnnamedLateFieldAI(); t4.___GlowController__glowSize_F = new A._AnimatedEvaluation(decelerator, t3, t1); t1 = vsync.createTicker$1(t4.get$_tickDisplacement()); t4.___GlowController__displacementTicker_F !== $ && A.throwUnnamedLateFieldAI(); t4.___GlowController__displacementTicker_F = t1; return t4; }, GlowingOverscrollIndicator: function GlowingOverscrollIndicator(t0, t1, t2, t3) { var _ = this; _.axisDirection = t0; _.color = t1; _.child = t2; _.key = t3; }, _GlowingOverscrollIndicatorState: function _GlowingOverscrollIndicatorState(t0, t1, t2, t3) { var _ = this; _._lastNotificationType = _._leadingAndTrailingListener = _._trailingController = _._leadingController = null; _._accepted = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _GlowState: function _GlowState(t0, t1) { this.index = t0; this._core$_name = t1; }, _GlowController: function _GlowController(t0, t1, t2, t3, t4, t5) { var _ = this; _._overscroll_indicator$_state = t0; _.___GlowController__glowController_F = $; _._pullRecedeTimer = null; _._paintOffsetScrollPixels = _._overscroll_indicator$_paintOffset = 0; _._glowOpacityTween = t1; _.___GlowController__glowOpacity_F = $; _._glowSizeTween = t2; _.___GlowController__displacementTicker_F = _.___GlowController__glowSize_F = $; _._displacementTickerLastElapsed = null; _._displacement = _._displacementTarget = 0.5; _._pullDistance = 0; _._overscroll_indicator$_color = t3; _._axis = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _GlowController_pull_closure: function _GlowController_pull_closure(t0) { this.$this = t0; }, _GlowingOverscrollIndicatorPainter: function _GlowingOverscrollIndicatorPainter(t0, t1, t2, t3) { var _ = this; _.leadingController = t0; _.trailingController = t1; _.axisDirection = t2; _._repaint = t3; }, _StretchDirection: function _StretchDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, StretchingOverscrollIndicator: function StretchingOverscrollIndicator(t0, t1, t2, t3) { var _ = this; _.axisDirection = t0; _.clipBehavior = t1; _.child = t2; _.key = t3; }, _StretchingOverscrollIndicatorState: function _StretchingOverscrollIndicatorState(t0, t1, t2) { var _ = this; _.___StretchingOverscrollIndicatorState__stretchController_FI = $; _._lastOverscrollNotification = _._lastNotification = null; _._totalOverscroll = 0; _._accepted = true; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _StretchingOverscrollIndicatorState_build_closure: function _StretchingOverscrollIndicatorState_build_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.size = t2; }, _StretchState: function _StretchState(t0, t1) { this.index = t0; this._core$_name = t1; }, _StretchController: function _StretchController(t0, t1, t2, t3) { var _ = this; _.___StretchController__stretchSize_F = _.___StretchController__stretchController_F = $; _._stretchSizeTween = t0; _._overscroll_indicator$_state = t1; _._pullDistance = 0; _._stretchDirection = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, OverscrollIndicatorNotification: function OverscrollIndicatorNotification(t0, t1) { this.leading = t0; this.accepted = true; this.ViewportNotificationMixin__depth = t1; }, _OverscrollIndicatorNotification_Notification_ViewportNotificationMixin: function _OverscrollIndicatorNotification_Notification_ViewportNotificationMixin() { }, __GlowingOverscrollIndicatorState_State_TickerProviderStateMixin: function __GlowingOverscrollIndicatorState_State_TickerProviderStateMixin() { }, __StretchingOverscrollIndicatorState_State_TickerProviderStateMixin: function __StretchingOverscrollIndicatorState_State_TickerProviderStateMixin() { }, PageStorageBucket__maybeAddKey(context, keys) { var widget = context.get$widget(); return !(widget instanceof A.PageStorage); }, PageStorage_maybeOf(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; }, PageController$(initialPage, viewportFraction) { return new A.PageController(initialPage, viewportFraction, 0, true, null, null, A._setArrayType([], type$.JSArray_ScrollPosition), $.$get$ChangeNotifier__emptyListeners()); }, PageController: function PageController(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.initialPage = t0; _.viewportFraction = t1; _._initialScrollOffset = t2; _.keepScrollOffset = t3; _.onAttach = t4; _.onDetach = t5; _._positions = t6; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t7; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, PageMetrics: function PageMetrics(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.viewportFraction = t0; _._scroll_metrics$_minScrollExtent = t1; _._scroll_metrics$_maxScrollExtent = t2; _._scroll_metrics$_pixels = t3; _._scroll_metrics$_viewportDimension = t4; _.axisDirection = t5; _.devicePixelRatio = t6; }, _PagePosition: function _PagePosition(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._pageToUseOnStartup = t0; _._cachedPage = null; _._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; _._scroll_position$_lastMetrics = null; _._haveScheduledUpdateNotification = false; _._semanticActions = _._lastAxis = null; _.isScrollingNotifier = t7; _._activity = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t8; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _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) { var _ = this; _.controller = t0; _.physics = t1; _.onPageChanged = t2; _.childrenDelegate = t3; _.dragStartBehavior = t4; _.clipBehavior = t5; _.key = t6; }, _PageViewState: function _PageViewState(t0) { var _ = this; _._lastReportedPage = 0; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _PageViewState_build_closure: function _PageViewState_build_closure(t0) { this.$this = t0; }, _PageViewState_build_closure0: function _PageViewState_build_closure0(t0, t1) { this.$this = t0; this.axisDirection = t1; }, PageRoute: function PageRoute() { }, _PlaceholderPainter: function _PlaceholderPainter(t0, t1, t2) { this.color = t0; this.strokeWidth = t1; this._repaint = t2; }, Placeholder: function Placeholder(t0) { this.key = t0; }, MenuSerializableShortcut: function MenuSerializableShortcut() { }, PlatformMenuDelegate: function PlatformMenuDelegate() { }, DefaultPlatformMenuDelegate: function DefaultPlatformMenuDelegate(t0, t1) { this._idMap = t0; this.channel = t1; }, HtmlElementView$(key, viewType) { return new A.HtmlElementView(viewType, key); }, _extension_0_disposePostFrame(_this) { $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._extension_0_disposePostFrame_closure(_this)); }, HtmlElementView: function HtmlElementView(t0, t1) { this.viewType = t0; this.key = t1; }, PlatformViewCreationParams: function PlatformViewCreationParams(t0, t1) { this.id = t0; this.onPlatformViewCreated = t1; }, PlatformViewLink: function PlatformViewLink(t0, t1, t2, t3) { var _ = this; _._surfaceFactory = t0; _._onCreatePlatformView = t1; _.viewType = t2; _.key = t3; }, _PlatformViewLinkState: function _PlatformViewLinkState(t0) { var _ = this; _._platform_view$_controller = _._platform_view$_id = null; _._platformViewCreated = false; _._widget = _._focusNode = _._platform_view$_surface = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _PlatformViewLinkState_build_closure: function _PlatformViewLinkState_build_closure(t0) { this.controller = t0; }, _PlatformViewLinkState__onPlatformViewCreated_closure: function _PlatformViewLinkState__onPlatformViewCreated_closure(t0) { this.$this = t0; }, PlatformViewSurface: function PlatformViewSurface(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.gestureRecognizers = t1; _.hitTestBehavior = t2; _.key = t3; }, _PlatformViewPlaceholderBox: function _PlatformViewPlaceholderBox(t0, t1, t2, t3) { var _ = this; _.onLayout = t0; _._additionalConstraints = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _PlatformViewPlaceholderBox_performLayout_closure: function _PlatformViewPlaceholderBox_performLayout_closure(t0) { this.$this = t0; }, _PlatformViewPlaceHolder: function _PlatformViewPlaceHolder(t0, t1, t2) { this.onLayout = t0; this.child = t1; this.key = t2; }, _extension_0_disposePostFrame_closure: function _extension_0_disposePostFrame_closure(t0) { this._this = t0; }, PopScope: function PopScope(t0, t1, t2, t3) { var _ = this; _.child = t0; _.onPopInvoked = t1; _.canPop = t2; _.key = t3; }, _PopScopeState: function _PopScopeState(t0) { var _ = this; _._route = null; _.___PopScopeState_canPopNotifier_F = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, PreferredSize: function PreferredSize(t0, t1, t2) { this.child = t0; this.preferredSize = t1; this.key = t2; }, PrimaryScrollController$(child, controller) { return new A.PrimaryScrollController(controller, B.Axis_1, B.Set_3bx81, child, null); }, PrimaryScrollController$none(child) { return new A.PrimaryScrollController(null, null, B.Set_empty1, child, null); }, PrimaryScrollController_shouldInherit(context, scrollDirection) { var platform, result = context.findAncestorWidgetOfExactType$1$0(type$.PrimaryScrollController); if (result == null) return false; platform = A.ScrollConfiguration_of(context).getPlatform$1(context); if (result.automaticallyInheritForPlatforms.contains$1(0, platform)) return result.scrollDirection === scrollDirection; return false; }, PrimaryScrollController_maybeOf(context) { var result = context.dependOnInheritedWidgetOfExactType$1$0(type$.PrimaryScrollController); return result == null ? null : result.controller; }, PrimaryScrollController: function PrimaryScrollController(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.scrollDirection = t1; _.automaticallyInheritForPlatforms = t2; _.child = t3; _.key = t4; }, _overlayOrigin(context) { var t1; context.get$widget(); t1 = A.LookupBoundary_findAncestorStateOfType(context, type$.OverlayState); t1 = t1._framework$_element.get$renderObject(); t1.toString; return A.MatrixUtils_transformPoint(type$.RenderBox._as(t1).getTransformTo$1(0, null), B.Offset_0_0); }, _sizeExtent(size, scrollDirection) { switch (scrollDirection.index) { case 0: return size._dx; case 1: return size._dy; } }, _offsetExtent(offset, scrollDirection) { switch (scrollDirection.index) { case 0: return offset._dx; case 1: return offset._dy; } }, _extentOffset(extent, scrollDirection) { switch (scrollDirection.index) { case 0: return new A.Offset(extent, 0); case 1: return new A.Offset(0, extent); } }, _restrictAxis(offset, scrollDirection) { switch (scrollDirection.index) { case 0: return new A.Offset(offset._dx, 0); case 1: return new A.Offset(0, offset._dy); } }, SliverReorderableList: function SliverReorderableList(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.itemBuilder = t0; _.itemCount = t1; _.onReorder = t2; _.onReorderStart = t3; _.onReorderEnd = t4; _.proxyDecorator = t5; _.itemExtent = t6; _.itemExtentBuilder = t7; _.prototypeItem = t8; _.autoScrollerVelocityScalar = t9; _.key = t10; }, SliverReorderableListState: function SliverReorderableListState(t0, t1, t2, t3) { var _ = this; _._reorderable_list$_items = t0; _._recognizerPointer = _._recognizer = _._finalDropPosition = _._insertIndex = _._dragInfo = _._dragIndex = _._reorderable_list$_overlayEntry = null; _._dragStartTransitionComplete = false; _._reorderable_list$_autoScroller = null; _.__SliverReorderableListState__scrollable_A = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, SliverReorderableListState_startItemDragReorder_closure: function SliverReorderableListState_startItemDragReorder_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.event = t1; _.index = t2; _.recognizer = t3; }, SliverReorderableListState_cancelReorder_closure: function SliverReorderableListState_cancelReorder_closure(t0) { this.$this = t0; }, SliverReorderableListState__dragStart_closure: function SliverReorderableListState__dragStart_closure(t0) { this.$this = t0; }, SliverReorderableListState__dragUpdate_closure: function SliverReorderableListState__dragUpdate_closure(t0) { this.$this = t0; }, SliverReorderableListState__dragCancel_closure: function SliverReorderableListState__dragCancel_closure(t0) { this.$this = t0; }, SliverReorderableListState__dragEnd_closure: function SliverReorderableListState__dragEnd_closure(t0, t1) { this.$this = t0; this.item = t1; }, SliverReorderableListState__dropCompleted_closure: function SliverReorderableListState__dropCompleted_closure(t0) { this.$this = t0; }, SliverReorderableListState__wrapWithSemantics_reorder: function SliverReorderableListState__wrapWithSemantics_reorder(t0) { this.$this = t0; }, SliverReorderableListState__wrapWithSemantics_moveToStart: function SliverReorderableListState__wrapWithSemantics_moveToStart(t0, t1) { this.reorder = t0; this.index = t1; }, SliverReorderableListState__wrapWithSemantics_moveToEnd: function SliverReorderableListState__wrapWithSemantics_moveToEnd(t0, t1, t2) { this.$this = t0; this.reorder = t1; this.index = t2; }, SliverReorderableListState__wrapWithSemantics_moveBefore: function SliverReorderableListState__wrapWithSemantics_moveBefore(t0, t1) { this.reorder = t0; this.index = t1; }, SliverReorderableListState__wrapWithSemantics_moveAfter: function SliverReorderableListState__wrapWithSemantics_moveAfter(t0, t1) { this.reorder = t0; this.index = t1; }, _ReorderableItem: function _ReorderableItem(t0, t1, t2, t3) { var _ = this; _.index = t0; _.child = t1; _.capturedThemes = t2; _.key = t3; }, _ReorderableItemState: function _ReorderableItemState(t0, t1, t2) { var _ = this; _.___ReorderableItemState__listState_A = $; _._startOffset = t0; _._targetOffset = t1; _._offsetAnimation = null; _._dragging = false; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ReorderableItemState_dragging_closure: function _ReorderableItemState_dragging_closure(t0, t1) { this.$this = t0; this.dragging = t1; }, _ReorderableItemState_updateForGap_closure: function _ReorderableItemState_updateForGap_closure(t0) { this.$this = t0; }, _ReorderableItemState_rebuild_closure: function _ReorderableItemState_rebuild_closure() { }, ReorderableDragStartListener: function ReorderableDragStartListener(t0, t1, t2, t3) { var _ = this; _.child = t0; _.index = t1; _.enabled = t2; _.key = t3; }, ReorderableDragStartListener_build_closure: function ReorderableDragStartListener_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, ReorderableDelayedDragStartListener: function ReorderableDelayedDragStartListener(t0, t1, t2, t3) { var _ = this; _.child = t0; _.index = t1; _.enabled = t2; _.key = t3; }, _DragInfo: function _DragInfo(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.scrollDirection = t0; _.onUpdate = t1; _.onEnd = t2; _.onCancel = t3; _.onDropCompleted = t4; _.proxyDecorator = t5; _.tickerProvider = t6; _.___DragInfo_capturedThemes_A = _.___DragInfo_itemExtent_A = _.___DragInfo_itemSize_A = _.___DragInfo_dragOffset_A = _.___DragInfo_dragPosition_A = _.___DragInfo_child_A = _.___DragInfo_index_A = _.___DragInfo_listState_A = $; _._proxyAnimation = null; }, _DragInfo_startDrag_closure: function _DragInfo_startDrag_closure(t0) { this.$this = t0; }, _DragItemProxy: function _DragItemProxy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.listState = t0; _.index = t1; _.child = t2; _.position = t3; _.size = t4; _.animation = t5; _.proxyDecorator = t6; _.key = t7; }, _DragItemProxy_build_closure: function _DragItemProxy_build_closure(t0, t1) { this.$this = t0; this.overlayOrigin = t1; }, _ReorderableItemGlobalKey: function _ReorderableItemGlobalKey(t0, t1, t2, t3) { var _ = this; _.subKey = t0; _.index = t1; _.state = t2; _.value = t3; }, _SliverReorderableListState_State_TickerProviderStateMixin: function _SliverReorderableListState_State_TickerProviderStateMixin() { }, RestorationScope_maybeOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.UnmanagedRestorationScope); return t1 == null ? null : t1.bucket; }, UnmanagedRestorationScope$(bucket, child) { return new A.UnmanagedRestorationScope(bucket, child, null); }, RestorationScope: function RestorationScope(t0, t1, t2) { this.child = t0; this.restorationId = t1; this.key = t2; }, _RestorationScopeState: function _RestorationScopeState(t0, t1, t2, t3, t4, t5) { var _ = this; _.RestorationMixin__bucket = t0; _.RestorationMixin__properties = t1; _.RestorationMixin__debugPropertiesWaitingForReregistration = t2; _.RestorationMixin__firstRestorePending = t3; _.RestorationMixin__currentParent = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, UnmanagedRestorationScope: function UnmanagedRestorationScope(t0, t1, t2) { this.bucket = t0; this.child = t1; this.key = t2; }, RootRestorationScope: function RootRestorationScope(t0, t1, t2) { this.child = t0; this.restorationId = t1; this.key = t2; }, _RootRestorationScopeState: function _RootRestorationScopeState(t0) { var _ = this; _._okToRenderBlankContainer = null; _._rootBucketValid = false; _._ancestorBucket = _._rootBucket = null; _._isLoadingRootBucket = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _RootRestorationScopeState__loadRootBucketIfNecessary_closure: function _RootRestorationScopeState__loadRootBucketIfNecessary_closure(t0) { this.$this = t0; }, _RootRestorationScopeState__loadRootBucketIfNecessary__closure: function _RootRestorationScopeState__loadRootBucketIfNecessary__closure(t0, t1) { this.$this = t0; this.bucket = t1; }, RestorableProperty: function RestorableProperty() { }, RestorationMixin: function RestorationMixin() { }, RestorationMixin_registerForRestoration_listener: function RestorationMixin_registerForRestoration_listener(t0, t1) { this.$this = t0; this.property = t1; }, __RestorationScopeState_State_RestorationMixin_dispose_closure: function __RestorationScopeState_State_RestorationMixin_dispose_closure() { }, __RestorationScopeState_State_RestorationMixin: function __RestorationScopeState_State_RestorationMixin() { }, RestorableValue: function RestorableValue() { }, _RestorablePrimitiveValueN: function _RestorablePrimitiveValueN() { }, _RestorablePrimitiveValue: function _RestorablePrimitiveValue() { }, RestorableNum: function RestorableNum(t0, t1, t2) { var _ = this; _._defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _.$ti = t2; }, RestorableBool: function RestorableBool(t0, t1) { var _ = this; _._defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RestorableBoolN: function RestorableBoolN(t0, t1) { var _ = this; _._defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RestorableStringN: function RestorableStringN(t0, t1) { var _ = this; _._defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RestorableDateTimeN: function RestorableDateTimeN(t0, t1) { var _ = this; _._defaultValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RestorableListenable: function RestorableListenable() { }, RestorableChangeNotifier: function RestorableChangeNotifier() { }, RestorableTextEditingController: function RestorableTextEditingController(t0, t1) { var _ = this; _._initialValue = t0; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RestorableEnumN: function RestorableEnumN(t0, t1, t2, t3) { var _ = this; _._defaultValue = t0; _.values = t1; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _.$ti = t3; }, RestorableEnum: function RestorableEnum(t0, t1, t2, t3) { var _ = this; _._defaultValue = t0; _.values = t1; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _.$ti = t3; }, __RouterState_State_RestorationMixin_dispose_closure: function __RouterState_State_RestorationMixin_dispose_closure() { }, RouteInformation: function RouteInformation(t0, t1) { this._router$_uri = t0; this.state = t1; }, Router: function Router(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.routeInformationProvider = t0; _.routeInformationParser = t1; _.routerDelegate = t2; _.backButtonDispatcher = t3; _.restorationScopeId = t4; _.key = t5; _.$ti = t6; }, RouteInformationReportingType: function RouteInformationReportingType(t0, t1) { this.index = t0; this._core$_name = t1; }, _RouterState: function _RouterState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._currentIntentionToReport = _._currentRouterTransaction = null; _._routeInformation = t0; _.___RouterState__routeParsePending_A = $; _._routeInformationReportingTaskScheduled = false; _.RestorationMixin__bucket = t1; _.RestorationMixin__properties = t2; _.RestorationMixin__debugPropertiesWaitingForReregistration = t3; _.RestorationMixin__firstRestorePending = t4; _.RestorationMixin__currentParent = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; _.$ti = t7; }, _RouterState_restoreState_closure: function _RouterState_restoreState_closure(t0) { this.$this = t0; }, _RouterState_restoreState_closure0: function _RouterState_restoreState_closure0(t0) { this.$this = t0; }, _RouterState_didChangeDependencies_closure: function _RouterState_didChangeDependencies_closure(t0) { this.$this = t0; }, _RouterState__processParsedRouteInformation_closure: function _RouterState__processParsedRouteInformation_closure(t0, t1, t2) { this.$this = t0; this.transaction = t1; this.delegateRouteSetter = t2; }, _RouterState__handleRouteInformationProviderNotification_closure: function _RouterState__handleRouteInformationProviderNotification_closure(t0) { this.$this = t0; }, _RouterState__handleRoutePopped_closure: function _RouterState__handleRoutePopped_closure(t0, t1) { this.$this = t0; this.transaction = t1; }, _RouterState__rebuild_closure: function _RouterState__rebuild_closure() { }, _RouterState__handleRouterDelegateNotification_closure: function _RouterState__handleRouterDelegateNotification_closure() { }, _RouterScope: function _RouterScope(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.routeInformationProvider = t0; _.backButtonDispatcher = t1; _.routeInformationParser = t2; _.routerDelegate = t3; _.routerState = t4; _.child = t5; _.key = t6; }, _RestorableRouteInformation: function _RestorableRouteInformation(t0) { var _ = this; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, __RouterState_State_RestorationMixin: function __RouterState_State_RestorationMixin() { }, ModalRoute_of(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, t1) { this.onRemove = t0; this._routes$_owner = null; this.impliesAppBarDismissal = t1; }, 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; this._currentCallingAction = null; }, _ModalScopeStatus: function _ModalScopeStatus(t0, t1, t2, t3, t4, t5) { var _ = this; _.isCurrent = t0; _.canPop = t1; _.impliesAppBarDismissal = t2; _.route = t3; _.child = t4; _.key = t5; }, _ModalScope: function _ModalScope(t0, t1, t2) { this.route = t0; this.key = t1; this.$ti = t2; }, _ModalScopeState: function _ModalScopeState(t0, t1, t2, t3) { var _ = this; _._routes$_page = null; _.___ModalScopeState__listenable_A = $; _.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_popDisposition_closure: function ModalRoute_popDisposition_closure() { }, ModalRoute__handlePopEntryChange_closure: function ModalRoute__handlePopEntryChange_closure(t0, t1) { this.$this = t0; this.notification = t1; }, ModalRoute_changedInternalState_closure: function ModalRoute_changedInternalState_closure() { }, PopupRoute: function PopupRoute() { }, RouteObserver: function RouteObserver() { }, RawDialogRoute: function RawDialogRoute() { }, _ModalRoute_TransitionRoute_LocalHistoryRoute: function _ModalRoute_TransitionRoute_LocalHistoryRoute() { }, SafeArea$(bottom, child, minimum, $top) { return new A.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; }, ScrollActivity: function ScrollActivity() { }, IdleScrollActivity: function IdleScrollActivity(t0) { this._delegate = t0; this._scroll_activity$_isDisposed = false; }, HoldScrollActivity: function HoldScrollActivity(t0, t1) { this.onHoldCanceled = t0; this._delegate = t1; this._scroll_activity$_isDisposed = false; }, ScrollDragController: function ScrollDragController(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._delegate = t0; _.onDragCanceled = t1; _.carriedVelocity = t2; _.motionStartDistanceThreshold = t3; _._lastNonStationaryTimestamp = t4; _._retainMomentum = t5; _._offsetSinceLastStop = t6; _._scroll_activity$_kind = t7; _._lastDetails = t8; }, DragScrollActivity: function DragScrollActivity(t0, t1) { this._scroll_activity$_controller = t0; this._delegate = t1; this._scroll_activity$_isDisposed = false; }, BallisticScrollActivity: function BallisticScrollActivity(t0, t1) { var _ = this; _.__BallisticScrollActivity__controller_A = $; _.shouldIgnorePointer = t0; _._delegate = t1; _._scroll_activity$_isDisposed = false; }, DrivenScrollActivity: function DrivenScrollActivity(t0) { var _ = this; _.__DrivenScrollActivity__controller_F = _.__DrivenScrollActivity__completer_F = $; _._delegate = t0; _._scroll_activity$_isDisposed = false; }, 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; }, ScrollConfiguration$(behavior, child) { return new A.ScrollConfiguration(behavior, child, null); }, ScrollConfiguration_of(context) { var configuration = context.dependOnInheritedWidgetOfExactType$1$0(type$.ScrollConfiguration), t1 = configuration == null ? null : configuration.behavior; return t1 == null ? B.C_ScrollBehavior : t1; }, AndroidOverscrollIndicator: function AndroidOverscrollIndicator(t0, t1) { this.index = t0; this._core$_name = t1; }, ScrollBehavior: function ScrollBehavior() { }, ScrollBehavior_velocityTrackerBuilder_closure: function ScrollBehavior_velocityTrackerBuilder_closure() { }, ScrollBehavior_velocityTrackerBuilder_closure0: function ScrollBehavior_velocityTrackerBuilder_closure0() { }, ScrollBehavior_velocityTrackerBuilder_closure1: function ScrollBehavior_velocityTrackerBuilder_closure1() { }, _WrappedScrollBehavior: function _WrappedScrollBehavior(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.delegate = t0; _.scrollbars = t1; _.overscroll = t2; _.physics = t3; _.platform = t4; _._dragDevices = t5; _._multitouchDragStrategy = t6; _._pointerAxisModifiers = t7; }, ScrollConfiguration: function ScrollConfiguration(t0, t1, t2) { this.behavior = t0; this.child = t1; this.key = t2; }, ScrollController$(initialScrollOffset, keepScrollOffset, onAttach, onDetach) { return new A.ScrollController(initialScrollOffset, true, onAttach, onDetach, A._setArrayType([], type$.JSArray_ScrollPosition), $.$get$ChangeNotifier__emptyListeners()); }, ScrollController: function ScrollController(t0, t1, t2, t3, t4, t5) { var _ = this; _._initialScrollOffset = t0; _.keepScrollOffset = t1; _.onAttach = t2; _.onDetach = t3; _._positions = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _kDefaultSemanticIndexCallback(_, localIndex) { return localIndex; }, SliverChildListDelegate$(children, addAutomaticKeepAlives, addRepaintBoundaries, addSemanticIndexes) { return new A.SliverChildListDelegate(true, addRepaintBoundaries, true, children, A.LinkedHashMap_LinkedHashMap$_literal([null, 0], type$.nullable_Key, type$.int)); }, SliverChildDelegate: function SliverChildDelegate() { }, _SaltedValueKey: function _SaltedValueKey(t0) { this.value = t0; }, SliverChildBuilderDelegate: function SliverChildBuilderDelegate(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.builder = t0; _.childCount = t1; _.addAutomaticKeepAlives = t2; _.addRepaintBoundaries = t3; _.addSemanticIndexes = t4; _.semanticIndexCallback = t5; _.findChildIndexCallback = t6; }, SliverChildListDelegate: function SliverChildListDelegate(t0, t1, t2, t3, t4) { var _ = this; _.addAutomaticKeepAlives = t0; _.addRepaintBoundaries = t1; _.addSemanticIndexes = t2; _.children = t3; _._keyToIndex = t4; }, _SelectionKeepAlive: function _SelectionKeepAlive(t0, t1) { this.child = t0; this.key = t1; }, _SelectionKeepAliveState: function _SelectionKeepAliveState(t0, t1) { var _ = this; _._scroll_delegate$_registrar = _._selectableAttachments = _._selectablesWithSelections = null; _._wantKeepAlive = false; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _SelectionKeepAliveState_listensTo_closure: function _SelectionKeepAliveState_listensTo_closure(t0, t1) { this.$this = t0; this.selectable = t1; }, __SelectionKeepAliveState_State_AutomaticKeepAliveClientMixin: function __SelectionKeepAliveState_State_AutomaticKeepAliveClientMixin() { }, ScrollMetrics: function ScrollMetrics() { }, FixedScrollMetrics: function FixedScrollMetrics(t0, t1, t2, t3, t4, t5) { var _ = this; _._scroll_metrics$_minScrollExtent = t0; _._scroll_metrics$_maxScrollExtent = t1; _._scroll_metrics$_pixels = t2; _._scroll_metrics$_viewportDimension = t3; _.axisDirection = t4; _.devicePixelRatio = t5; }, _FixedScrollMetrics_Object_ScrollMetrics: function _FixedScrollMetrics_Object_ScrollMetrics() { }, ScrollUpdateNotification$(context, depth, dragDetails, metrics, scrollDelta) { var t1 = new A.ScrollUpdateNotification(dragDetails, scrollDelta, metrics, context, 0); if (depth != null) t1.ViewportNotificationMixin__depth = depth; return t1; }, defaultScrollNotificationPredicate(notification) { return notification.ViewportNotificationMixin__depth === 0; }, ViewportNotificationMixin: function ViewportNotificationMixin() { }, ViewportElementMixin: function ViewportElementMixin() { }, ScrollNotification: function ScrollNotification() { }, ScrollStartNotification: function ScrollStartNotification(t0, t1, t2, t3) { var _ = this; _.dragDetails = t0; _.metrics = t1; _.context = t2; _.ViewportNotificationMixin__depth = t3; }, ScrollUpdateNotification: function ScrollUpdateNotification(t0, t1, t2, t3, t4) { var _ = this; _.dragDetails = t0; _.scrollDelta = t1; _.metrics = t2; _.context = t3; _.ViewportNotificationMixin__depth = t4; }, OverscrollNotification: function OverscrollNotification(t0, t1, t2, t3, t4, t5) { var _ = this; _.dragDetails = t0; _.overscroll = t1; _.velocity = t2; _.metrics = t3; _.context = t4; _.ViewportNotificationMixin__depth = t5; }, ScrollEndNotification: function ScrollEndNotification(t0, t1, t2, t3) { var _ = this; _.dragDetails = t0; _.metrics = t1; _.context = t2; _.ViewportNotificationMixin__depth = t3; }, UserScrollNotification: function UserScrollNotification(t0, t1, t2, t3) { var _ = this; _.direction = t0; _.metrics = t1; _.context = t2; _.ViewportNotificationMixin__depth = t3; }, _ScrollNotification_LayoutChangedNotification_ViewportNotificationMixin: function _ScrollNotification_LayoutChangedNotification_ViewportNotificationMixin() { }, _ScrollNotificationObserverScope: function _ScrollNotificationObserverScope(t0, t1, t2) { this._scrollNotificationObserverState = t0; this.child = t1; this.key = t2; }, _ListenerEntry: function _ListenerEntry(t0) { var _ = this; _.listener = t0; _.LinkedListEntry__previous = _.LinkedListEntry__next = _.LinkedListEntry__list = null; }, ScrollNotificationObserver: function ScrollNotificationObserver(t0, t1) { this.child = t0; this.key = t1; }, ScrollNotificationObserverState: function ScrollNotificationObserverState(t0, t1) { var _ = this; _._scroll_notification_observer$_listeners = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, ScrollNotificationObserverState__notifyListeners_closure: function ScrollNotificationObserverState__notifyListeners_closure(t0) { this.$this = t0; }, ScrollNotificationObserverState_build_closure: function ScrollNotificationObserverState_build_closure(t0) { this.$this = t0; }, ScrollNotificationObserverState_build_closure0: function ScrollNotificationObserverState_build_closure0(t0) { this.$this = t0; }, BouncingScrollPhysics__applyFriction(extentOutside, absDelta, gamma) { var deltaToLimit, total; if (extentOutside > 0) { deltaToLimit = extentOutside / gamma; if (absDelta < deltaToLimit) return absDelta * gamma; total = 0 + extentOutside; absDelta -= deltaToLimit; } else total = 0; return total + absDelta; }, ScrollDecelerationRate: function ScrollDecelerationRate(t0, t1) { this.index = t0; this._core$_name = t1; }, ScrollPhysics: function ScrollPhysics(t0) { this.parent = t0; }, RangeMaintainingScrollPhysics: function RangeMaintainingScrollPhysics(t0) { this.parent = t0; }, BouncingScrollPhysics: function BouncingScrollPhysics(t0, t1) { this.decelerationRate = t0; this.parent = t1; }, ClampingScrollPhysics: function ClampingScrollPhysics(t0) { this.parent = t0; }, AlwaysScrollableScrollPhysics: function AlwaysScrollableScrollPhysics(t0) { this.parent = t0; }, NeverScrollableScrollPhysics: function NeverScrollableScrollPhysics(t0) { this.parent = t0; }, ScrollPositionAlignmentPolicy: function ScrollPositionAlignmentPolicy(t0, t1) { this.index = t0; this._core$_name = t1; }, ScrollPosition: function ScrollPosition() { }, ScrollPosition_forcePixels_closure: function ScrollPosition_forcePixels_closure(t0) { this.$this = t0; }, ScrollMetricsNotification: function ScrollMetricsNotification(t0, t1, t2) { this.metrics = t0; this.context = t1; this.ViewportNotificationMixin__depth = t2; }, _ScrollMetricsNotification_Notification_ViewportNotificationMixin: function _ScrollMetricsNotification_Notification_ViewportNotificationMixin() { }, _ScrollPosition_ViewportOffset_ScrollMetrics: function _ScrollPosition_ViewportOffset_ScrollMetrics() { }, ScrollPositionWithSingleContext$(context, debugLabel, initialPixels, keepScrollOffset, oldPosition, physics) { var t1 = $.$get$ChangeNotifier__emptyListeners(); t1 = new A.ScrollPositionWithSingleContext(B.ScrollDirection_0, physics, context, true, debugLabel, new A.ValueNotifier(false, t1, type$.ValueNotifier_bool), 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; _._scroll_position$_lastMetrics = null; _._haveScheduledUpdateNotification = false; _._semanticActions = _._lastAxis = null; _.isScrollingNotifier = t5; _._activity = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t6; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ClampingScrollSimulation$(position, tolerance, velocity) { var t1 = new A.ClampingScrollSimulation(position, velocity, tolerance), t2 = $.$get$ClampingScrollSimulation__kDecelerationRate(), t3 = t2 * 0.35 * Math.pow(Math.abs(velocity) / 2223.8657884799995, 1 / (t2 - 1)); t1.__ClampingScrollSimulation__duration_A = t3; t1.__ClampingScrollSimulation__distance_A = velocity * t3 / t2; return t1; }, BouncingScrollSimulation: function BouncingScrollSimulation(t0, t1, t2, t3) { var _ = this; _.leadingExtent = t0; _.trailingExtent = t1; _.spring = t2; _.__BouncingScrollSimulation__springTime_A = _.__BouncingScrollSimulation__springSimulation_A = _.__BouncingScrollSimulation__frictionSimulation_A = $; _._timeOffset = 0; _.tolerance = t3; }, ClampingScrollSimulation: function ClampingScrollSimulation(t0, t1, t2) { var _ = this; _.position = t0; _.velocity = t1; _.__ClampingScrollSimulation__distance_A = _.__ClampingScrollSimulation__duration_A = $; _.tolerance = t2; }, CustomScrollView$(anchor, cacheExtent, clipBehavior, controller, dragStartBehavior, keyboardDismissBehavior, physics, primary, restorationId, reverse, scrollDirection, shrinkWrap, slivers) { var t1, _null = null; if (primary !== true) t1 = primary == null && controller == null && scrollDirection === B.Axis_1; else t1 = true; t1 = t1 ? B.AlwaysScrollableScrollPhysics_null : _null; return new A.CustomScrollView(slivers, scrollDirection, false, controller, primary, t1, _null, shrinkWrap, _null, anchor, cacheExtent, _null, dragStartBehavior, keyboardDismissBehavior, restorationId, clipBehavior, _null); }, ListView$(children, controller, padding, primary, scrollDirection, shrinkWrap) { var t3, _null = null, t1 = A.SliverChildListDelegate$(children, true, true, true), t2 = children.length; if (primary !== true) t3 = primary == null && controller == null && scrollDirection === B.Axis_1; else t3 = true; t3 = t3 ? B.AlwaysScrollableScrollPhysics_null : _null; return new A.ListView(t1, padding, scrollDirection, false, controller, primary, t3, _null, shrinkWrap, _null, 0, _null, t2, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, ListView$builder(controller, itemBuilder, itemCount, padding, physics, primary, scrollDirection, shrinkWrap) { var t1, _null = null; if (physics == null) { if (primary !== true) t1 = primary == null && controller == null && scrollDirection === B.Axis_1; else t1 = true; t1 = t1 ? B.AlwaysScrollableScrollPhysics_null : _null; } else t1 = physics; return new A.ListView(new A.SliverChildBuilderDelegate(itemBuilder, itemCount, true, true, true, A.scroll_delegate___kDefaultSemanticIndexCallback$closure(), _null), padding, scrollDirection, false, controller, primary, t1, _null, shrinkWrap, _null, 0, _null, itemCount, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, ListView$separated(controller, itemBuilder, itemCount, padding, primary, separatorBuilder, shrinkWrap) { var t2, _null = null, t1 = Math.max(0, itemCount * 2 - 1); if (primary !== true) t2 = primary == null && controller == null && true; else t2 = true; t2 = t2 ? B.AlwaysScrollableScrollPhysics_null : _null; return new A.ListView(new A.SliverChildBuilderDelegate(new A.ListView$separated_closure(itemBuilder, separatorBuilder), t1, true, true, true, new A.ListView$separated_closure0(), _null), padding, B.Axis_1, false, controller, primary, t2, _null, shrinkWrap, _null, 0, _null, itemCount, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, GridView$count(childAspectRatio, children, crossAxisCount, crossAxisSpacing, mainAxisSpacing, padding, physics, primary, shrinkWrap) { var t3, _null = null, t1 = A.SliverChildListDelegate$(children, true, true, true), t2 = children.length; if (physics == null) { if (primary !== true) if (primary == null) t3 = true; else t3 = false; else t3 = true; t3 = t3 ? B.AlwaysScrollableScrollPhysics_null : _null; } else t3 = physics; return new A.GridView(new A.SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount, mainAxisSpacing, crossAxisSpacing, childAspectRatio), t1, padding, B.Axis_1, false, _null, primary, t3, _null, shrinkWrap, _null, 0, _null, t2, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, ScrollViewKeyboardDismissBehavior: function ScrollViewKeyboardDismissBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, ScrollView: function ScrollView() { }, ScrollView_build_closure: function ScrollView_build_closure(t0, t1, t2) { this.$this = t0; this.axisDirection = t1; this.slivers = t2; }, ScrollView_build_closure0: function ScrollView_build_closure0(t0) { this.context = t0; }, CustomScrollView: function CustomScrollView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.slivers = t0; _.scrollDirection = t1; _.reverse = t2; _.controller = t3; _.primary = t4; _.physics = t5; _.scrollBehavior = t6; _.shrinkWrap = t7; _.center = t8; _.anchor = t9; _.cacheExtent = t10; _.semanticChildCount = t11; _.dragStartBehavior = t12; _.keyboardDismissBehavior = t13; _.restorationId = t14; _.clipBehavior = t15; _.key = t16; }, BoxScrollView: function BoxScrollView() { }, ListView: function ListView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.childrenDelegate = t0; _.padding = t1; _.scrollDirection = t2; _.reverse = t3; _.controller = t4; _.primary = t5; _.physics = t6; _.scrollBehavior = t7; _.shrinkWrap = t8; _.center = t9; _.anchor = t10; _.cacheExtent = t11; _.semanticChildCount = t12; _.dragStartBehavior = t13; _.keyboardDismissBehavior = t14; _.restorationId = t15; _.clipBehavior = t16; _.key = t17; }, ListView$separated_closure: function ListView$separated_closure(t0, t1) { this.itemBuilder = t0; this.separatorBuilder = t1; }, ListView$separated_closure0: function ListView$separated_closure0() { }, GridView: function GridView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.gridDelegate = t0; _.childrenDelegate = t1; _.padding = t2; _.scrollDirection = t3; _.reverse = t4; _.controller = t5; _.primary = t6; _.physics = t7; _.scrollBehavior = t8; _.shrinkWrap = t9; _.center = t10; _.anchor = t11; _.cacheExtent = t12; _.semanticChildCount = t13; _.dragStartBehavior = t14; _.keyboardDismissBehavior = t15; _.restorationId = t16; _.clipBehavior = t17; _.key = t18; }, Scrollable$(axisDirection, clipBehavior, controller, dragStartBehavior, excludeFromSemantics, key, physics, restorationId, scrollBehavior, semanticChildCount, viewportBuilder) { return new A.Scrollable(axisDirection, controller, physics, viewportBuilder, excludeFromSemantics, semanticChildCount, dragStartBehavior, restorationId, scrollBehavior, clipBehavior, key); }, Scrollable_maybeOf(context, axis) { var t2, t3, scrollable, t1 = type$._ScrollableScope, element = context.getElementForInheritedWidgetOfExactType$1$0(t1); for (t2 = element != null; t2;) { t3 = element._widget; t3.toString; scrollable = t1._as(t3).scrollable; context.dependOnInheritedElement$1(element); return scrollable; } return null; }, Scrollable_recommendDeferredLoadingForContext(context) { var t1, t2, widget = context.getInheritedWidgetOfExactType$1$0(type$._ScrollableScope); for (t1 = widget != null; t1;) { t2 = widget.position; t2 = t2.physics.recommendDeferredLoading$3(t2._activity.get$velocity() + t2._impliedVelocity, t2.copyWith$0(), context); return t2; } return false; }, Scrollable_ensureVisible(context, alignment, alignmentPolicy, curve, duration) { var targetRenderObject, t2, _null = null, t1 = type$.JSArray_Future_void, futures = A._setArrayType([], t1), scrollable = A.Scrollable_maybeOf(context, _null); for (targetRenderObject = _null; scrollable != null; context = t2) { t2 = context.get$renderObject(); t2.toString; B.JSArray_methods.addAll$1(futures, A._setArrayType([scrollable._scrollable$_position.ensureVisible$6$alignment$alignmentPolicy$curve$duration$targetRenderObject(t2, alignment, alignmentPolicy, curve, duration, targetRenderObject)], t1)); if (targetRenderObject == null) targetRenderObject = context.get$renderObject(); t2 = scrollable._framework$_element; t2.toString; scrollable = A.Scrollable_maybeOf(t2, _null); } t1 = futures.length; if (t1 !== 0) t2 = duration._duration === B.Duration_0._duration; else t2 = true; if (t2) return A.Future_Future$value(_null, type$.void); if (t1 === 1) return B.JSArray_methods.get$single(futures); t1 = type$.void; return A.Future_wait(futures, t1).then$1$1(0, new A.Scrollable_ensureVisible_closure(), t1); }, _getDeltaToScrollOrigin(scrollableState) { var t1; switch (scrollableState._widget.axisDirection.index) { case 2: t1 = scrollableState._scrollable$_position._pixels; t1.toString; return new A.Offset(0, t1); case 0: t1 = scrollableState._scrollable$_position._pixels; t1.toString; return new A.Offset(0, -t1); case 3: t1 = scrollableState._scrollable$_position._pixels; t1.toString; return new A.Offset(-t1, 0); case 1: t1 = scrollableState._scrollable$_position._pixels; t1.toString; return new A.Offset(t1, 0); } }, _ScrollableState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure: function _ScrollableState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure() { }, Scrollable: function Scrollable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.axisDirection = t0; _.controller = t1; _.physics = t2; _.viewportBuilder = t3; _.excludeFromSemantics = t4; _.semanticChildCount = t5; _.dragStartBehavior = t6; _.restorationId = t7; _.scrollBehavior = t8; _.clipBehavior = t9; _.key = t10; }, Scrollable_ensureVisible_closure: function Scrollable_ensureVisible_closure() { }, _ScrollableScope: function _ScrollableScope(t0, t1, t2, t3) { var _ = this; _.scrollable = t0; _.position = t1; _.child = t2; _.key = t3; }, ScrollableState: function ScrollableState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _._physics = _._scrollable$_position = null; _.__ScrollableState__devicePixelRatio_A = $; _._persistedScrollOffset = t0; _.__ScrollableState__configuration_A = $; _._mediaQueryGestureSettings = _._fallbackScrollController = null; _._scrollSemanticsKey = t1; _._gestureDetectorKey = t2; _._ignorePointerKey = t3; _._gestureRecognizers = t4; _._shouldIgnorePointer = false; _._hold = _._scrollable$_drag = _._scrollable$_lastAxisDirection = _._lastCanDrag = null; _.RestorationMixin__bucket = t5; _.RestorationMixin__properties = t6; _.RestorationMixin__debugPropertiesWaitingForReregistration = t7; _.RestorationMixin__firstRestorePending = t8; _.RestorationMixin__currentParent = t9; _.TickerProviderStateMixin__tickers = t10; _.TickerProviderStateMixin__tickerModeNotifier = t11; _._widget = null; _._debugLifecycleState = t12; _._framework$_element = null; }, ScrollableState_setCanDrag_closure: function ScrollableState_setCanDrag_closure(t0) { this.$this = t0; }, ScrollableState_setCanDrag_closure0: function ScrollableState_setCanDrag_closure0(t0) { this.$this = t0; }, ScrollableState_setCanDrag_closure1: function ScrollableState_setCanDrag_closure1(t0) { this.$this = t0; }, ScrollableState_setCanDrag_closure2: function ScrollableState_setCanDrag_closure2(t0) { this.$this = t0; }, _ScrollableSelectionHandler: function _ScrollableSelectionHandler(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.position = t1; _.child = t2; _.registrar = t3; _.key = t4; }, _ScrollableSelectionHandlerState: function _ScrollableSelectionHandlerState(t0) { var _ = this; _.___ScrollableSelectionHandlerState__selectionDelegate_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ScrollableSelectionContainerDelegate: function _ScrollableSelectionContainerDelegate(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _._autoScroller = t1; _._scheduledLayoutChange = false; _._currentDragEndRelatedToOrigin = _._currentDragStartRelatedToOrigin = null; _._selectionStartsInScrollable = false; _._scrollable$_position = t2; _._selectableStartEdgeUpdateRecords = t3; _._selectableEndEdgeUpdateRecords = t4; _.selectables = t5; _.currentSelectionStartIndex = _.currentSelectionEndIndex = -1; _._endHandleLayerOwner = _._endHandleLayer = _._startHandleLayerOwner = _._startHandleLayer = null; _._selectionInProgress = _._scheduledSelectableUpdate = _._isHandlingSelectionEvent = false; _._additions = t6; _._extendSelectionInProgress = false; _._selectionGeometry = t7; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t8; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _._selectionContainerContext = null; }, _ScrollableSelectionContainerDelegate__scheduleLayoutChange_closure: function _ScrollableSelectionContainerDelegate__scheduleLayoutChange_closure(t0) { this.$this = t0; }, _ScrollableSelectionContainerDelegate_didChangeSelectables_closure: function _ScrollableSelectionContainerDelegate_didChangeSelectables_closure(t0) { this.selectableSet = t0; }, _ScrollableSelectionContainerDelegate_didChangeSelectables_closure0: function _ScrollableSelectionContainerDelegate_didChangeSelectables_closure0(t0) { this.selectableSet = t0; }, _ScrollSemantics: function _ScrollSemantics(t0, t1, t2, t3, t4) { var _ = this; _.position = t0; _.allowImplicitScrolling = t1; _.semanticChildCount = t2; _.child = t3; _.key = t4; }, _RenderScrollSemantics: function _RenderScrollSemantics(t0, t1, t2, t3, t4) { var _ = this; _._scrollable$_position = t0; _._allowImplicitScrolling = t1; _._semanticChildCount = t2; _._innerNode = null; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RestorableScrollOffset: function _RestorableScrollOffset(t0) { var _ = this; _._restoration_properties$_value = null; _._restoration0$_disposed = false; _._restoration0$_owner = _._restoration0$_restorationId = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _ScrollableState_State_TickerProviderStateMixin: function _ScrollableState_State_TickerProviderStateMixin() { }, _ScrollableState_State_TickerProviderStateMixin_RestorationMixin: function _ScrollableState_State_TickerProviderStateMixin_RestorationMixin() { }, ScrollAction$() { return new A.ScrollAction(new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_Action_Intent), type$.ObserverList_of_void_Function_Action_Intent)); }, ScrollAction__calculateScrollIncrement(state, type) { var t1; state._widget.toString; switch (type.index) { case 0: return 50; case 1: t1 = state._scrollable$_position._viewportDimension; t1.toString; return 0.8 * t1; } }, ScrollAction_getDirectionalIncrement(state, intent) { var increment = A.ScrollAction__calculateScrollIncrement(state, intent.type); switch (intent.direction.index) { case 2: switch (state._widget.axisDirection.index) { case 0: return -increment; case 2: return increment; case 1: case 3: return 0; } break; case 0: switch (state._widget.axisDirection.index) { case 0: return increment; case 2: return -increment; case 1: case 3: return 0; } break; case 3: switch (state._widget.axisDirection.index) { case 1: return -increment; case 3: return increment; case 0: case 2: return 0; } break; case 1: switch (state._widget.axisDirection.index) { case 1: return increment; case 3: return -increment; case 0: case 2: return 0; } break; } }, ScrollableDetails: function ScrollableDetails(t0, t1, t2) { this.direction = t0; this.controller = t1; this.decorationClipBehavior = t2; }, ScrollableDetails_toString_addIfNonNull: function ScrollableDetails_toString_addIfNonNull(t0) { this.description = t0; }, EdgeDraggingAutoScroller: function EdgeDraggingAutoScroller(t0, t1, t2) { var _ = this; _.scrollable = t0; _.onScrollViewScrolled = t1; _.velocityScalar = t2; _.__EdgeDraggingAutoScroller__dragTargetRelatedToScrollOrigin_A = $; _._scrolling = false; }, ScrollIncrementType: function ScrollIncrementType(t0, t1) { this.index = t0; this._core$_name = t1; }, ScrollIntent: function ScrollIntent(t0, t1) { this.direction = t0; this.type = t1; }, ScrollAction: function ScrollAction(t0) { this._actions$_listeners = t0; this._currentCallingAction = null; }, RawScrollbar$(child, controller, fadeDuration, interactive, key, notificationPredicate, pressDuration, radius, scrollbarOrientation, thickness, thumbVisibility, timeToFade, trackVisibility) { return new A.RawScrollbar(child, controller, thumbVisibility, radius, thickness, trackVisibility, fadeDuration, timeToFade, pressDuration, notificationPredicate, interactive, scrollbarOrientation, key); }, RawScrollbarState$($T) { return new A.RawScrollbarState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, null, B._StateLifecycle_0, $T._eval$1("RawScrollbarState<0>")); }, _getLocalOffset(scrollbarPainterKey, position) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, scrollbarPainterKey).get$renderObject(); t1.toString; return type$.RenderBox._as(t1).globalToLocal$1(position); }, ScrollbarOrientation: function ScrollbarOrientation(t0, t1) { this.index = t0; this._core$_name = t1; }, ScrollbarPainter: function ScrollbarPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._scrollbar$_color = t0; _._trackColor = t1; _._trackBorderColor = t2; _._trackRadius = t3; _._scrollbar$_textDirection = null; _._thickness = t4; _.fadeoutOpacityAnimation = t5; _._mainAxisMargin = t6; _._crossAxisMargin = t7; _._scrollbar$_radius = t8; _._scrollbar$_shape = t9; _._scrollbar$_padding = t10; _._minLength = t11; _._minOverscrollLength = t12; _._scrollbarOrientation = t13; _._ignorePointer = false; _._thumbRect = _._trackRect = null; _.__ScrollbarPainter__thumbExtent_A = _.__ScrollbarPainter__thumbOffset_A = $; _._lastAxisDirection = _._lastMetrics = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t14; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ScrollbarPainter_update_needPaint: function ScrollbarPainter_update_needPaint() { }, RawScrollbar: function RawScrollbar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.child = t0; _.controller = t1; _.thumbVisibility = t2; _.radius = t3; _.thickness = t4; _.trackVisibility = t5; _.fadeDuration = t6; _.timeToFade = t7; _.pressDuration = t8; _.notificationPredicate = t9; _.interactive = t10; _.scrollbarOrientation = t11; _.key = t12; }, RawScrollbarState: function RawScrollbarState(t0, t1, t2, t3, t4) { var _ = this; _._fadeoutTimer = _._cachedController = _._startDragThumbOffset = _._lastDragUpdateOffset = _._startDragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation_A = _.__RawScrollbarState__fadeoutAnimationController_A = $; _._scrollbarPainterKey = t0; _._thumbDragging = _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; _.$ti = t4; }, RawScrollbarState__maybeStartFadeoutTimer_closure: function RawScrollbarState__maybeStartFadeoutTimer_closure(t0) { this.$this = t0; }, RawScrollbarState__gestures_closure: function RawScrollbarState__gestures_closure(t0) { this.$this = t0; }, RawScrollbarState__gestures_closure0: function RawScrollbarState__gestures_closure0(t0) { this.$this = t0; }, RawScrollbarState__gestures__closure: function RawScrollbarState__gestures__closure(t0) { this.$this = t0; }, RawScrollbarState__gestures__closure0: function RawScrollbarState__gestures__closure0(t0) { this.$this = t0; }, RawScrollbarState__gestures__closure1: function RawScrollbarState__gestures__closure1(t0) { this.$this = t0; }, RawScrollbarState__gestures_closure1: function RawScrollbarState__gestures_closure1(t0) { this.$this = t0; }, RawScrollbarState__gestures_closure2: function RawScrollbarState__gestures_closure2(t0) { this.$this = t0; }, RawScrollbarState_build_closure: function RawScrollbarState_build_closure(t0) { this.$this = t0; }, RawScrollbarState_build_closure0: function RawScrollbarState_build_closure0(t0) { this.$this = t0; }, _ThumbPressGestureRecognizer: function _ThumbPressGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._customPaintKey = t0; _._longPressAccepted = false; _._velocityTracker = _.onTertiaryLongPressEnd = _.onTertiaryLongPressUp = _.onTertiaryLongPressMoveUpdate = _.onTertiaryLongPressStart = _.onTertiaryLongPress = _.onTertiaryLongPressCancel = _.onTertiaryLongPressDown = _.onSecondaryLongPressEnd = _.onSecondaryLongPressUp = _.onSecondaryLongPressMoveUpdate = _.onSecondaryLongPressStart = _.onSecondaryLongPress = _.onSecondaryLongPressCancel = _.onSecondaryLongPressDown = _.onLongPressEnd = _.onLongPressUp = _.onLongPressMoveUpdate = _.onLongPressStart = _.onLongPress = _.onLongPressCancel = _.onLongPressDown = _._initialButtons = _._longPressOrigin = null; _.deadline = t1; _.postAcceptSlopTolerance = t2; _._recognizer$_state = t3; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t4; _._trackedPointers = t5; _._team = null; _.debugOwner = t6; _.gestureSettings = null; _.supportedDevices = t7; _._allowedButtonsFilter = t8; _._pointerToKind = t9; }, _TrackTapGestureRecognizer: function _TrackTapGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._customPaintKey = t0; _.onTertiaryTapCancel = _.onTertiaryTapUp = _.onTertiaryTapDown = _.onSecondaryTapCancel = _.onSecondaryTapUp = _.onSecondaryTapDown = _.onSecondaryTap = _.onTapCancel = _.onTap = _.onTapUp = _.onTapDown = null; _._wonArenaForPrimaryPointer = _._sentTapDown = false; _._up = _._down = null; _.deadline = t1; _.postAcceptSlopTolerance = t2; _._recognizer$_state = t3; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t4; _._trackedPointers = t5; _._team = null; _.debugOwner = t6; _.gestureSettings = null; _.supportedDevices = t7; _._allowedButtonsFilter = t8; _._pointerToKind = t9; }, _RawScrollbarState_State_TickerProviderStateMixin: function _RawScrollbarState_State_TickerProviderStateMixin() { }, MultiSelectableSelectionContainerDelegate__compareVertically(a, b) { var t4, t1 = a.top, t2 = b.top, t3 = t1 - t2; if (!(t3 < 3 && a.bottom - b.bottom > -3)) t4 = t2 - t1 < 3 && b.bottom - a.bottom > -3; else t4 = true; if (t4) return 0; if (Math.abs(t3) > 3) return t1 > t2 ? 1 : -1; return a.bottom > b.bottom ? 1 : -1; }, MultiSelectableSelectionContainerDelegate__compareHorizontally(a, b) { var t1 = a.left, t2 = b.left, t3 = t1 - t2; if (t3 < 1e-10 && a.right - b.right > -1e-10) return -1; if (t2 - t1 < 1e-10 && b.right - a.right > -1e-10) return 1; if (Math.abs(t3) > 1e-10) return t1 > t2 ? 1 : -1; return a.right > b.right ? 1 : -1; }, MultiSelectableSelectionContainerDelegate: function MultiSelectableSelectionContainerDelegate() { }, MultiSelectableSelectionContainerDelegate__scheduleSelectableUpdate_runScheduledTask: function MultiSelectableSelectionContainerDelegate__scheduleSelectableUpdate_runScheduledTask(t0) { this.$this = t0; }, MultiSelectableSelectionContainerDelegate_getSelectionGeometry_closure: function MultiSelectableSelectionContainerDelegate_getSelectionGeometry_closure(t0, t1, t2) { this.$this = t0; this.index = t1; this.drawableArea = t2; }, MultiSelectableSelectionContainerDelegate_getSelectionGeometry_closure0: function MultiSelectableSelectionContainerDelegate_getSelectionGeometry_closure0() { }, MultiSelectableSelectionContainerDelegate__flushInactiveSelections_closure: function MultiSelectableSelectionContainerDelegate__flushInactiveSelections_closure(t0, t1) { this.$this = t0; this.skipIndex = t1; }, MultiSelectableSelectionContainerDelegate__flushInactiveSelections_closure0: function MultiSelectableSelectionContainerDelegate__flushInactiveSelections_closure0(t0) { this.$this = t0; }, MultiSelectableSelectionContainerDelegate_handleSelectWord_closure: function MultiSelectableSelectionContainerDelegate_handleSelectWord_closure(t0, t1) { this.$this = t0; this.index = t1; }, MultiSelectableSelectionContainerDelegate_handleSelectWord_closure0: function MultiSelectableSelectionContainerDelegate_handleSelectWord_closure0(t0) { this.$this = t0; }, _MultiSelectableSelectionContainerDelegate_SelectionContainerDelegate_ChangeNotifier: function _MultiSelectableSelectionContainerDelegate_SelectionContainerDelegate_ChangeNotifier() { }, SelectionContainer_maybeOf(context) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$.SelectionRegistrarScope); return scope == null ? null : scope.registrar; }, SelectionRegistrarScope$(child, registrar) { return new A.SelectionRegistrarScope(registrar, child, null); }, SelectionContainer: function SelectionContainer(t0, t1, t2, t3) { var _ = this; _.registrar = t0; _.child = t1; _.delegate = t2; _.key = t3; }, _SelectionContainerState: function _SelectionContainerState(t0, t1, t2, t3) { var _ = this; _._selection_container$_listeners = t0; _.SelectionRegistrant__registrar = t1; _.SelectionRegistrant__subscribedToSelectionRegistrar = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, SelectionRegistrarScope: function SelectionRegistrarScope(t0, t1, t2) { this.registrar = t0; this.child = t1; this.key = t2; }, SelectionContainerDelegate: function SelectionContainerDelegate() { }, __SelectionContainerState_State_Selectable: function __SelectionContainerState_State_Selectable() { }, __SelectionContainerState_State_Selectable_SelectionRegistrant: function __SelectionContainerState_State_Selectable_SelectionRegistrant() { }, SharedAppData: function SharedAppData(t0, t1) { this.child = t0; this.key = t1; }, _SharedAppDataState: function _SharedAppDataState(t0) { var _ = this; _.___SharedAppDataState_data_AI = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SharedAppModel: function _SharedAppModel(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, KeySet__computeHashCode(keys) { var t2, h1, h2, sortedHashes, $length = keys._collection$_length, t1 = A._instanceType(keys), iterator = new A._HashSetIterator(keys, keys._computeElements$0(), t1._eval$1("_HashSetIterator<1>")); iterator.moveNext$0(); t2 = iterator._collection$_current; h1 = J.get$hashCode$(t2 == null ? t1._precomputed1._as(t2) : t2); if ($length === 1) return h1; iterator.moveNext$0(); t2 = iterator._collection$_current; h2 = J.get$hashCode$(t2 == null ? t1._precomputed1._as(t2) : t2); if ($length === 2) return h1 < h2 ? A.Object_hash(h1, h2, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue) : A.Object_hash(h2, h1, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); sortedHashes = $length === 3 ? $.KeySet__tempHashStore3 : $.KeySet__tempHashStore4; sortedHashes[0] = h1; sortedHashes[1] = h2; iterator.moveNext$0(); t2 = iterator._collection$_current; sortedHashes[2] = J.get$hashCode$(t2 == null ? t1._precomputed1._as(t2) : t2); if ($length === 4) { iterator.moveNext$0(); t2 = iterator._collection$_current; sortedHashes[3] = J.get$hashCode$(t2 == null ? t1._precomputed1._as(t2) : t2); } B.JSArray_methods.sort$0(sortedHashes); return A.Object_hashAll(sortedHashes); }, LogicalKeySet$(key1) { var t1 = type$.LogicalKeyboardKey, t2 = A.HashSet_HashSet(t1); t2.add$1(0, key1); t2 = new A.LogicalKeySet(t2); t2.KeySet$4(key1, null, null, null, {}, t1); return t2; }, SingleActivator$(trigger, alt, control, meta, shift) { return new A.SingleActivator(trigger, control, shift, alt, meta); }, ShortcutManager__indexShortcuts(source) { var result = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_LogicalKeyboardKey, type$.List__ActivatorIntentPair); source.forEach$1(0, new A.ShortcutManager__indexShortcuts_closure(result)); return result; }, Shortcuts$(child, debugLabel, shortcuts) { return new A.Shortcuts(null, shortcuts, child, debugLabel, null); }, KeySet: function KeySet() { }, LogicalKeySet: function LogicalKeySet(t0) { this.__LogicalKeySet__triggers_FI = $; this._shortcuts$_keys = t0; this.__KeySet_hashCode_FI = $; }, LogicalKeySet__triggers_closure: function LogicalKeySet__triggers_closure() { }, SingleActivator: function SingleActivator(t0, t1, t2, t3, t4) { var _ = this; _.trigger = t0; _.control = t1; _.shift = t2; _.alt = t3; _.meta = t4; }, _ActivatorIntentPair: function _ActivatorIntentPair(t0, t1) { this.activator = t0; this.intent = t1; }, ShortcutManager: function ShortcutManager(t0, t1) { var _ = this; _._shortcuts = t0; _._indexedShortcutsCache = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ShortcutManager__indexShortcuts_closure: function ShortcutManager__indexShortcuts_closure(t0) { this.result = t0; }, ShortcutManager__indexShortcuts__closure: function ShortcutManager__indexShortcuts__closure() { }, Shortcuts: function Shortcuts(t0, t1, t2, t3, t4) { var _ = this; _.manager = t0; _._shortcuts = t1; _.child = t2; _.debugLabel = t3; _.key = t4; }, _ShortcutsState: function _ShortcutsState(t0) { var _ = this; _._widget = _._internalManager = null; _._debugLifecycleState = t0; _._framework$_element = null; }, CallbackShortcuts: function CallbackShortcuts(t0, t1, t2) { this.bindings = t0; this.child = t1; this.key = t2; }, CallbackShortcuts_build_closure: function CallbackShortcuts_build_closure(t0) { this.$this = t0; }, ShortcutRegistry: function ShortcutRegistry(t0, t1) { var _ = this; _._registeredShortcuts = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ShortcutRegistrar: function ShortcutRegistrar(t0, t1) { this.child = t0; this.key = t1; }, _ShortcutRegistrarState: function _ShortcutRegistrarState(t0, t1, t2) { var _ = this; _.registry = t0; _.manager = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ShortcutRegistrarScope: function _ShortcutRegistrarScope(t0, t1, t2) { this.registry = t0; this.child = t1; this.key = t2; }, _LogicalKeySet_KeySet_Diagnosticable: function _LogicalKeySet_KeySet_Diagnosticable() { }, _ShortcutManager_Object_Diagnosticable: function _ShortcutManager_Object_Diagnosticable() { }, _ShortcutManager_Object_Diagnosticable_ChangeNotifier: function _ShortcutManager_Object_Diagnosticable_ChangeNotifier() { }, _ShortcutRegistry_Object_ChangeNotifier: function _ShortcutRegistry_Object_ChangeNotifier() { }, _SingleActivator_Object_Diagnosticable: function _SingleActivator_Object_Diagnosticable() { }, _SingleActivator_Object_Diagnosticable_MenuSerializableShortcut: function _SingleActivator_Object_Diagnosticable_MenuSerializableShortcut() { }, __ActivatorIntentPair_Object_Diagnosticable: function __ActivatorIntentPair_Object_Diagnosticable() { }, SingleChildScrollView$(child, controller, dragStartBehavior, key, padding, physics, primary, restorationId, reverse, scrollDirection) { return new A.SingleChildScrollView(scrollDirection, reverse, padding, controller, primary, physics, child, dragStartBehavior, restorationId, key); }, SingleChildScrollView: function SingleChildScrollView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.scrollDirection = t0; _.reverse = t1; _.padding = t2; _.controller = t3; _.primary = t4; _.physics = t5; _.child = t6; _.dragStartBehavior = t7; _.restorationId = t8; _.key = t9; }, SingleChildScrollView_build_closure: function SingleChildScrollView_build_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.axisDirection = t2; }, _SingleChildViewport: function _SingleChildViewport(t0, t1, t2, t3, t4) { var _ = this; _.axisDirection = t0; _.offset = t1; _.clipBehavior = t2; _.child = t3; _.key = t4; }, _SingleChildViewportElement: function _SingleChildViewportElement(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _RenderSingleChildViewport: function _RenderSingleChildViewport(t0, t1, t2, t3, t4, t5) { var _ = this; _._single_child_scroll_view$_axisDirection = t0; _._single_child_scroll_view$_offset = t1; _._single_child_scroll_view$_clipBehavior = t2; _._single_child_scroll_view$_clipRectLayer = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderSingleChildViewport_paint_paintContents: function _RenderSingleChildViewport_paint_paintContents(t0, t1) { this.$this = t0; this.paintOffset = t1; }, _RenderSingleChildViewport_hitTestChildren_closure: function _RenderSingleChildViewport_hitTestChildren_closure(t0, t1) { this.$this = t0; this.position = t1; }, __RenderSingleChildViewport_RenderBox_RenderObjectWithChildMixin: function __RenderSingleChildViewport_RenderBox_RenderObjectWithChildMixin() { }, __SingleChildViewportElement_SingleChildRenderObjectElement_NotifiableElementMixin: function __SingleChildViewportElement_SingleChildRenderObjectElement_NotifiableElementMixin() { }, __SingleChildViewportElement_SingleChildRenderObjectElement_NotifiableElementMixin_ViewportElementMixin: function __SingleChildViewportElement_SingleChildRenderObjectElement_NotifiableElementMixin_ViewportElementMixin() { }, SliverList$(delegate) { return new A.SliverList(delegate, null); }, SliverMultiBoxAdaptorElement$(widget, replaceMovedChildren) { return new A.SliverMultiBoxAdaptorElement(replaceMovedChildren, A.SplayTreeMap$(type$.int, type$.nullable_Element), widget, B._ElementLifecycle_0); }, SliverMultiBoxAdaptorElement__extrapolateMaxScrollOffset(firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset, childCount) { if (lastIndex === childCount - 1) return trailingScrollOffset; return trailingScrollOffset + (trailingScrollOffset - leadingScrollOffset) / (lastIndex - firstIndex + 1) * (childCount - lastIndex - 1); }, KeepAlive$(child, keepAlive) { return new A.KeepAlive(keepAlive, child, null); }, SliverWithKeepAliveWidget: function SliverWithKeepAliveWidget() { }, SliverMultiBoxAdaptorWidget: function SliverMultiBoxAdaptorWidget() { }, SliverList: function SliverList(t0, t1) { this.delegate = t0; this.key = t1; }, SliverGrid: function SliverGrid(t0, t1, t2) { this.gridDelegate = t0; this.delegate = t1; this.key = t2; }, SliverMultiBoxAdaptorElement: function SliverMultiBoxAdaptorElement(t0, t1, t2, t3) { var _ = this; _._replaceMovedChildren = t0; _._childElements = t1; _._currentlyUpdatingChildIndex = _._currentBeforeChild = null; _._didUnderflow = false; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t2; _._framework$_owner = null; _._lifecycleState = t3; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, SliverMultiBoxAdaptorElement_performRebuild_processElement: function SliverMultiBoxAdaptorElement_performRebuild_processElement(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.newChildren = t2; _.adaptorWidget = t3; _.indexToLayoutOffset = t4; }, SliverMultiBoxAdaptorElement_performRebuild_closure: function SliverMultiBoxAdaptorElement_performRebuild_closure() { }, SliverMultiBoxAdaptorElement_performRebuild_closure0: function SliverMultiBoxAdaptorElement_performRebuild_closure0(t0, t1) { this.$this = t0; this.index = t1; }, SliverMultiBoxAdaptorElement_createChild_closure: function SliverMultiBoxAdaptorElement_createChild_closure(t0, t1, t2) { this.$this = t0; this.after = t1; this.index = t2; }, SliverMultiBoxAdaptorElement_removeChild_closure: function SliverMultiBoxAdaptorElement_removeChild_closure(t0, t1) { this.$this = t0; this.index = t1; }, KeepAlive: function KeepAlive(t0, t1, t2) { this.keepAlive = t0; this.child = t1; this.key = t2; }, SliverFillViewport: function SliverFillViewport(t0, t1, t2, t3) { var _ = this; _.viewportFraction = t0; _.padEnds = t1; _.delegate = t2; _.key = t3; }, _SliverFillViewportRenderObjectWidget: function _SliverFillViewportRenderObjectWidget(t0, t1, t2) { this.viewportFraction = t0; this.delegate = t1; this.key = t2; }, _SliverFractionalPadding: function _SliverFractionalPadding(t0, t1, t2) { this.viewportFraction = t0; this.child = t1; this.key = t2; }, _RenderSliverFractionalPadding: function _RenderSliverFractionalPadding(t0, t1, t2) { var _ = this; _._lastResolvedConstraints = null; _._sliver_fill$_viewportFraction = t0; _._sliver_fill$_resolvedPadding = null; _.RenderObjectWithChildMixin__child = t1; _._geometry = null; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, SliverPersistentHeaderDelegate: function SliverPersistentHeaderDelegate() { }, SliverPersistentHeader: function SliverPersistentHeader(t0, t1, t2, t3) { var _ = this; _.delegate = t0; _.pinned = t1; _.floating = t2; _.key = t3; }, _FloatingHeader: function _FloatingHeader(t0, t1) { this.child = t0; this.key = t1; }, _FloatingHeaderState: function _FloatingHeaderState(t0) { var _ = this; _._widget = _._sliver_persistent_header$_position = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SliverPersistentHeaderElement: function _SliverPersistentHeaderElement(t0, t1, t2) { var _ = this; _.floating = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _.child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _SliverPersistentHeaderElement__build_closure: function _SliverPersistentHeaderElement__build_closure(t0, t1, t2) { this.$this = t0; this.shrinkOffset = t1; this.overlapsContent = t2; }, _SliverPersistentHeaderRenderObjectWidget: function _SliverPersistentHeaderRenderObjectWidget() { }, _RenderSliverPersistentHeaderForWidgetsMixin: function _RenderSliverPersistentHeaderForWidgetsMixin() { }, _SliverPinnedPersistentHeader: function _SliverPinnedPersistentHeader(t0, t1, t2) { this.delegate = t0; this.floating = t1; this.key = t2; }, _RenderSliverPinnedPersistentHeaderForWidgets: function _RenderSliverPinnedPersistentHeaderForWidgets(t0, t1, t2, t3) { var _ = this; _._RenderSliverPersistentHeaderForWidgetsMixin__element = t0; _.__RenderSliverPersistentHeader__lastStretchOffset_A = $; _._needsUpdateChild = true; _._lastShrinkOffset = 0; _._lastOverlapsContent = false; _.stretchConfiguration = t1; _.RenderObjectWithChildMixin__child = t2; _._geometry = null; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, __RenderSliverPinnedPersistentHeaderForWidgets_RenderSliverPinnedPersistentHeader__RenderSliverPersistentHeaderForWidgetsMixin: function __RenderSliverPinnedPersistentHeaderForWidgets_RenderSliverPinnedPersistentHeader__RenderSliverPersistentHeaderForWidgetsMixin() { }, SlottedMultiChildRenderObjectWidget: function SlottedMultiChildRenderObjectWidget() { }, SlottedMultiChildRenderObjectWidgetMixin: function SlottedMultiChildRenderObjectWidgetMixin() { }, SlottedContainerRenderObjectMixin: function SlottedContainerRenderObjectMixin() { }, SlottedRenderObjectElement: function SlottedRenderObjectElement(t0, t1, t2, t3, t4) { var _ = this; _._slotToChild = t0; _._keyedChildren = t1; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._debugPreviousSlots = null; _.__Element__depth_A = $; _._widget = t2; _._framework$_owner = null; _._lifecycleState = t3; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t4; }, _SlottedMultiChildRenderObjectWidget_RenderObjectWidget_SlottedMultiChildRenderObjectWidgetMixin: function _SlottedMultiChildRenderObjectWidget_RenderObjectWidget_SlottedMultiChildRenderObjectWidgetMixin() { }, SnapshotWidget$(autoresize, child, controller, mode, painter) { return new A.SnapshotWidget(controller, mode, true, painter, child, null); }, SnapshotMode: function SnapshotMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SnapshotController: function SnapshotController(t0) { var _ = this; _._allowSnapshotting = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, SnapshotWidget: function SnapshotWidget(t0, t1, t2, t3, t4, t5) { var _ = this; _.controller = t0; _.mode = t1; _.autoresize = t2; _.painter = t3; _.child = t4; _.key = t5; }, _RenderSnapshotWidget: function _RenderSnapshotWidget(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._devicePixelRatio = t0; _._snapshot_widget$_painter = t1; _._snapshot_widget$_controller = t2; _._mode = t3; _._autoresize = t4; _._childRasterSize = _._childRaster = null; _._disableSnapshotAttempt = false; _._lastCachedSize = null; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, SnapshotPainter: function SnapshotPainter() { }, _DefaultSnapshotPainter: function _DefaultSnapshotPainter() { }, Spacer: function Spacer(t0) { this.key = t0; }, _correctSpellCheckResults(newText, resultsText, results) { var t1, spanPointer, offset, searchStart, currentSpan, t2, t3, currentSpanTextRegexp, foundIndex, t4, t5, currentSpanFoundExactlyWithOffset, adjustedSpanStart, adjustedSpanEnd, correctedSpellCheckResults = A._setArrayType([], type$.JSArray_SuggestionSpan); for (t1 = J.getInterceptor$asx(results), spanPointer = 0, offset = 0, searchStart = 0; spanPointer < t1.get$length(results);) { currentSpan = t1.$index(results, spanPointer); t2 = currentSpan.range; t3 = t2.start; t2 = t2.end; currentSpanTextRegexp = A.RegExp_RegExp("\\b" + B.JSString_methods.substring$2(resultsText, t3, t2) + "\\b", true, false, false, false); foundIndex = B.JSString_methods.indexOf$1(B.JSString_methods.substring$1(newText, searchStart), currentSpanTextRegexp); t4 = foundIndex + searchStart; t5 = t3 + offset; currentSpanFoundExactlyWithOffset = t5 === t4; if (t3 === t4 || currentSpanFoundExactlyWithOffset) { searchStart = t2 + 1 + offset; correctedSpellCheckResults.push(new A.SuggestionSpan(new A.TextRange(t5, t2 + offset), currentSpan.suggestions)); } else if (foundIndex >= 0) { adjustedSpanStart = searchStart + foundIndex; adjustedSpanEnd = adjustedSpanStart + (t2 - t3); searchStart = adjustedSpanEnd + 1; offset = adjustedSpanStart - t3; correctedSpellCheckResults.push(new A.SuggestionSpan(new A.TextRange(adjustedSpanStart, adjustedSpanEnd), currentSpan.suggestions)); } ++spanPointer; } return correctedSpellCheckResults; }, buildTextSpanWithSpellCheckSuggestions(value, composingWithinCurrentTextRange, style, misspelledTextStyle, spellCheckResults) { var _null = null, spellCheckResultsSpans = spellCheckResults.suggestionSpans, spellCheckResultsText = spellCheckResults.spellCheckedText, t1 = value.text; if (spellCheckResultsText !== t1) spellCheckResultsSpans = A._correctSpellCheckResults(t1, spellCheckResultsText, spellCheckResultsSpans); if (A.defaultTargetPlatform() === B.TargetPlatform_0) return A.TextSpan$(A._buildSubtreesWithComposingRegion(spellCheckResultsSpans, value, style, misspelledTextStyle, composingWithinCurrentTextRange), _null, style, _null); return A.TextSpan$(A._buildSubtreesWithoutComposingRegion(spellCheckResultsSpans, value, style, misspelledTextStyle, value.selection.baseOffset), _null, style, _null); }, _buildSubtreesWithoutComposingRegion(spellCheckSuggestions, value, style, misspelledStyle, cursorIndex) { var t2, endIndex0, endIndex1, endIndex2, _null = null, textSpanTreeChildren = A._setArrayType([], type$.JSArray_TextSpan), text = value.text, misspelledJointStyle = style.merge$1(misspelledStyle), endIndex = text.length, t1 = J.getInterceptor$asx(spellCheckSuggestions), textPointer = 0, currentSpanPointer = 0; while (true) { if (!(textPointer < endIndex && currentSpanPointer < t1.get$length(spellCheckSuggestions))) break; t2 = t1.$index(spellCheckSuggestions, currentSpanPointer).range; endIndex0 = t2.start; if (endIndex0 > textPointer) { endIndex0 = endIndex0 < endIndex ? endIndex0 : endIndex; textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, textPointer, endIndex0))); textPointer = endIndex0; } else { endIndex1 = t2.end; endIndex2 = endIndex1 < endIndex ? endIndex1 : endIndex; t2 = endIndex0 <= cursorIndex && endIndex1 >= cursorIndex ? style : misspelledJointStyle; textSpanTreeChildren.push(A.TextSpan$(_null, _null, t2, B.JSString_methods.substring$2(text, endIndex0, endIndex2))); ++currentSpanPointer; textPointer = endIndex2; } } t1 = text.length; if (textPointer < t1) textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, textPointer, t1))); return textSpanTreeChildren; }, _buildSubtreesWithComposingRegion(spellCheckSuggestions, value, style, misspelledStyle, composingWithinCurrentTextRange) { var t5, endIndex0, endIndex1, _null = null, textSpanTreeChildren = A._setArrayType([], type$.JSArray_TextSpan), text = value.text, composingRegion = value.composing, composingTextStyle = style.merge$1(B.TextStyle_9Zz), misspelledJointStyle = style.merge$1(misspelledStyle), t1 = composingRegion.start, endIndex = text.length, t2 = J.getInterceptor$asx(spellCheckSuggestions), t3 = composingRegion.end, t4 = !composingWithinCurrentTextRange, textPointer = 0, currentSpanPointer = 0; while (true) { if (!(textPointer < endIndex && currentSpanPointer < t2.get$length(spellCheckSuggestions))) break; t5 = t2.$index(spellCheckSuggestions, currentSpanPointer).range; endIndex0 = t5.start; if (endIndex0 > textPointer) { endIndex0 = endIndex0 < endIndex ? endIndex0 : endIndex; if (t1 >= textPointer && t3 <= endIndex0 && t4) { textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, textPointer, t1))); textSpanTreeChildren.push(A.TextSpan$(_null, _null, composingTextStyle, B.JSString_methods.substring$2(text, t1, t3))); textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, t3, endIndex0))); } else textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, textPointer, endIndex0))); textPointer = endIndex0; } else { endIndex1 = t5.end; endIndex1 = endIndex1 < endIndex ? endIndex1 : endIndex; t5 = textPointer >= t1 && endIndex1 <= t3 && t4 ? composingTextStyle : misspelledJointStyle; textSpanTreeChildren.push(A.TextSpan$(_null, _null, t5, B.JSString_methods.substring$2(text, endIndex0, endIndex1))); ++currentSpanPointer; textPointer = endIndex1; } } t1 = text.length; if (textPointer < t1) if (textPointer < composingRegion.start && !composingWithinCurrentTextRange) { A._addComposingRegionTextSpans(textSpanTreeChildren, text, textPointer, composingRegion, style, composingTextStyle); t2 = composingRegion.end; if (t2 !== t1) textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, t2, t1))); } else textSpanTreeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, textPointer, t1))); return textSpanTreeChildren; }, _addComposingRegionTextSpans(treeChildren, text, start, composingRegion, style, composingTextStyle) { var _null = null, t1 = composingRegion.start; treeChildren.push(A.TextSpan$(_null, _null, style, B.JSString_methods.substring$2(text, start, t1))); treeChildren.push(A.TextSpan$(_null, _null, composingTextStyle, B.JSString_methods.substring$2(text, t1, composingRegion.end))); }, SpellCheckConfiguration: function SpellCheckConfiguration(t0, t1, t2, t3, t4) { var _ = this; _.spellCheckService = t0; _.misspelledSelectionColor = t1; _.misspelledTextStyle = t2; _.spellCheckSuggestionsToolbarBuilder = t3; _._spellCheckEnabled = t4; }, Table$(border, children, columnWidths, defaultColumnWidth, defaultVerticalAlignment, key) { var t1; if (B.JSArray_methods.any$1(children, new A.Table_closure())) { t1 = A._arrayInstanceType(children)._eval$1("MappedListIterable<1,Decoration?>"); t1 = A.List_List$of(new A.MappedListIterable(children, new A.Table_closure0(), t1), false, t1._eval$1("ListIterable.E")); } else t1 = null; return new A.Table(children, columnWidths, defaultColumnWidth, border, defaultVerticalAlignment, t1, key); }, 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, t6) { var _ = this; _.children = t0; _.columnWidths = t1; _.defaultColumnWidth = t2; _.border = t3; _.defaultVerticalAlignment = t4; _._rowDecorations = t5; _.key = t6; }, Table_closure: function Table_closure() { }, Table_closure0: function Table_closure0() { }, _TableElement: function _TableElement(t0, t1, t2, t3) { var _ = this; _._table0$_children = t0; _._table0$_doingMountOrUpdate = false; _._table0$_forgottenChildren = t1; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t2; _._framework$_owner = null; _._lifecycleState = t3; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._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() { }, TapRegion$(child, consumeOutsideTaps, debugLabel, enabled, groupId, key, onTapInside, onTapOutside) { return new A.TapRegion(true, onTapOutside, onTapInside, groupId, false, debugLabel, child, key); }, TextFieldTapRegion$(child, debugLabel, onTapOutside) { return new A.TextFieldTapRegion(true, onTapOutside, null, B.Type_EditableText_C3e, false, debugLabel, child, null); }, TapRegionSurface: function TapRegionSurface(t0, t1) { this.child = t0; this.key = t1; }, RenderTapRegionSurface: function RenderTapRegionSurface(t0, t1, t2, t3, t4, t5) { var _ = this; _._cachedResults = t0; _._registeredRegions = t1; _._groupIdToRegions = t2; _.behavior = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, TapRegion: function TapRegion(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.enabled = t0; _.onTapOutside = t1; _.onTapInside = t2; _.groupId = t3; _.consumeOutsideTaps = t4; _.debugLabel = t5; _.child = t6; _.key = t7; }, RenderTapRegion: function RenderTapRegion(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._isRegistered = false; _.onTapOutside = t0; _.onTapInside = t1; _.debugLabel = t2; _._tap_region$_enabled = t3; _._consumeOutsideTaps = t4; _._tap_region$_groupId = t5; _._registry = t6; _.behavior = t7; _.RenderObjectWithChildMixin__child = t8; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t9; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, TextFieldTapRegion: function TextFieldTapRegion(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.enabled = t0; _.onTapOutside = t1; _.onTapInside = t2; _.groupId = t3; _.consumeOutsideTaps = t4; _.debugLabel = t5; _.child = t6; _.key = t7; }, DefaultTextStyle$(child, key, maxLines, overflow, softWrap, style, textAlign, textHeightBehavior, textWidthBasis) { return new A.DefaultTextStyle(style, textAlign, softWrap, overflow, maxLines, textWidthBasis, textHeightBehavior, child, key); }, DefaultTextHeightBehavior_maybeOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextHeightBehavior); return t1 == null ? null : t1.get$textHeightBehavior(); }, Text$(data, key, maxLines, overflow, semanticsLabel, softWrap, style, textAlign, textDirection, textScaler) { return new A.Text(data, null, style, textAlign, textDirection, softWrap, overflow, textScaler, maxLines, semanticsLabel, key); }, DefaultTextStyle: function DefaultTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.style = t0; _.textAlign = t1; _.softWrap = t2; _.overflow = t3; _.maxLines = t4; _.textWidthBasis = t5; _.textHeightBehavior = t6; _.child = t7; _.key = t8; }, _NullWidget4: function _NullWidget4(t0) { this.key = t0; }, Text: function Text(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.data = t0; _.textSpan = t1; _.style = t2; _.textAlign = t3; _.textDirection = t4; _.softWrap = t5; _.overflow = t6; _.textScaler = t7; _.maxLines = t8; _.semanticsLabel = t9; _.key = t10; }, DoNothingAndStopPropagationTextIntent: function DoNothingAndStopPropagationTextIntent() { }, DirectionalTextEditingIntent: function DirectionalTextEditingIntent() { }, DeleteCharacterIntent: function DeleteCharacterIntent(t0) { this.forward = t0; }, DeleteToNextWordBoundaryIntent: function DeleteToNextWordBoundaryIntent(t0) { this.forward = t0; }, DeleteToLineBreakIntent: function DeleteToLineBreakIntent(t0) { this.forward = t0; }, DirectionalCaretMovementIntent: function DirectionalCaretMovementIntent() { }, ExtendSelectionByCharacterIntent: function ExtendSelectionByCharacterIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionToNextWordBoundaryIntent: function ExtendSelectionToNextWordBoundaryIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionToNextWordBoundaryOrCaretLocationIntent: function ExtendSelectionToNextWordBoundaryOrCaretLocationIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExpandSelectionToDocumentBoundaryIntent: function ExpandSelectionToDocumentBoundaryIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExpandSelectionToLineBreakIntent: function ExpandSelectionToLineBreakIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionToLineBreakIntent: function ExtendSelectionToLineBreakIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionVerticallyToAdjacentLineIntent: function ExtendSelectionVerticallyToAdjacentLineIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionVerticallyToAdjacentPageIntent: function ExtendSelectionVerticallyToAdjacentPageIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionToNextParagraphBoundaryIntent: function ExtendSelectionToNextParagraphBoundaryIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent: function ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ExtendSelectionToDocumentBoundaryIntent: function ExtendSelectionToDocumentBoundaryIntent(t0, t1, t2, t3) { var _ = this; _.collapseSelection = t0; _.collapseAtReversal = t1; _.continuesAtWrap = t2; _.forward = t3; }, ScrollToDocumentBoundaryIntent: function ScrollToDocumentBoundaryIntent(t0) { this.forward = t0; }, SelectAllTextIntent: function SelectAllTextIntent() { }, CopySelectionTextIntent: function CopySelectionTextIntent(t0) { this.collapseSelection = t0; }, PasteTextIntent: function PasteTextIntent() { }, RedoTextIntent: function RedoTextIntent() { }, ReplaceTextIntent: function ReplaceTextIntent(t0, t1, t2, t3) { var _ = this; _.currentTextEditingValue = t0; _.replacementText = t1; _.replacementRange = t2; _.cause = t3; }, UndoTextIntent: function UndoTextIntent() { }, UpdateSelectionIntent: function UpdateSelectionIntent(t0, t1, t2) { this.currentTextEditingValue = t0; this.newSelection = t1; this.cause = t2; }, TransposeCharactersIntent: function TransposeCharactersIntent() { }, _SelectionHandleOverlay$(dragStartBehavior, handleLayerLink, onSelectionHandleDragEnd, onSelectionHandleDragStart, onSelectionHandleDragUpdate, onSelectionHandleTapped, preferredLineHeight, selectionControls, type, visibility) { return new A._SelectionHandleOverlay(handleLayerLink, onSelectionHandleTapped, onSelectionHandleDragStart, onSelectionHandleDragUpdate, onSelectionHandleDragEnd, selectionControls, visibility, preferredLineHeight, type, dragStartBehavior, null); }, _TextSelectionGestureDetectorState__getEffectiveConsecutiveTapCount(rawCount) { var t1; switch (A.defaultTargetPlatform().index) { case 0: case 1: case 3: if (rawCount <= 3) t1 = rawCount; else { t1 = B.JSInt_methods.$mod(rawCount, 3); if (t1 === 0) t1 = 3; } return t1; case 2: case 4: return Math.min(rawCount, 3); case 5: return rawCount < 2 ? rawCount : 2 + B.JSInt_methods.$mod(rawCount, 2); } }, ToolbarItemsParentData: function ToolbarItemsParentData(t0, t1, t2) { var _ = this; _.shouldPaint = false; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, TextSelectionControls: function TextSelectionControls() { }, TextSelectionOverlay: function TextSelectionOverlay(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.context = t0; _.renderObject = t1; _.selectionControls = t2; _.selectionDelegate = t3; _.__TextSelectionOverlay__selectionOverlay_F = $; _.contextMenuBuilder = t4; _._text_selection$_value = t5; _._effectiveStartHandleVisibility = t6; _._effectiveEndHandleVisibility = t7; _._effectiveToolbarVisibility = t8; _._handlesVisible = false; _.__TextSelectionOverlay__startHandleDragPositionToCenterOfLine_A = _.__TextSelectionOverlay__startHandleDragPosition_A = _.__TextSelectionOverlay__endHandleDragPositionToCenterOfLine_A = _.__TextSelectionOverlay__endHandleDragPosition_A = $; }, SelectionOverlay: function SelectionOverlay(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; _.context = t0; _._magnifierInfo = t1; _._magnifierController = t2; _.magnifierConfiguration = t3; _._startHandleType = t4; _._lineHeightAtStart = t5; _._isDraggingStartHandle = false; _.startHandlesVisible = t6; _.onStartHandleDragStart = t7; _.onStartHandleDragUpdate = t8; _.onStartHandleDragEnd = t9; _._endHandleType = t10; _._lineHeightAtEnd = t11; _._isDraggingEndHandle = false; _.endHandlesVisible = t12; _.onEndHandleDragStart = t13; _.onEndHandleDragUpdate = t14; _.onEndHandleDragEnd = t15; _.toolbarVisible = t16; _._selectionEndpoints = t17; _.debugRequiredFor = t18; _.toolbarLayerLink = t19; _.startHandleLayerLink = t20; _.endHandleLayerLink = t21; _.selectionControls = t22; _.selectionDelegate = t23; _.dragStartBehavior = t24; _.onSelectionHandleTapped = t25; _.clipboardStatus = t26; _._toolbarLocation = t27; _._toolbar = _._handles = null; _._contextMenuController = t28; _._spellCheckToolbarController = t29; _._buildScheduled = false; }, SelectionOverlay_showMagnifier_closure: function SelectionOverlay_showMagnifier_closure(t0) { this.builtMagnifier = t0; }, SelectionOverlay_showToolbar_closure: function SelectionOverlay_showToolbar_closure(t0, t1, t2) { this.$this = t0; this.renderBox = t1; this.contextMenuBuilder = t2; }, SelectionOverlay_showSpellCheckSuggestionsToolbar_closure: function SelectionOverlay_showSpellCheckSuggestionsToolbar_closure(t0, t1, t2) { this.$this = t0; this.renderBox = t1; this.builder = t2; }, SelectionOverlay_markNeedsBuild_closure: function SelectionOverlay_markNeedsBuild_closure(t0) { this.$this = t0; }, SelectionOverlay__buildToolbar_closure: function SelectionOverlay__buildToolbar_closure(t0, t1, t2) { this.$this = t0; this.editingRegion = t1; this.midpoint = t2; }, _SelectionToolbarWrapper: function _SelectionToolbarWrapper(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.offset = t1; _.layerLink = t2; _.visibility = t3; _.key = t4; }, _SelectionToolbarWrapperState: function _SelectionToolbarWrapperState(t0, t1, t2) { var _ = this; _.___SelectionToolbarWrapperState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _SelectionHandleOverlay: function _SelectionHandleOverlay(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.handleLayerLink = t0; _.onSelectionHandleTapped = t1; _.onSelectionHandleDragStart = t2; _.onSelectionHandleDragUpdate = t3; _.onSelectionHandleDragEnd = t4; _.selectionControls = t5; _.visibility = t6; _.preferredLineHeight = t7; _.type = t8; _.dragStartBehavior = t9; _.key = t10; }, _SelectionHandleOverlayState: function _SelectionHandleOverlayState(t0, t1, t2) { var _ = this; _.___SelectionHandleOverlayState__controller_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _SelectionHandleOverlayState_build_closure: function _SelectionHandleOverlayState_build_closure(t0) { this.$this = t0; }, _SelectionHandleOverlayState_build_closure0: function _SelectionHandleOverlayState_build_closure0(t0) { this.$this = t0; }, TextSelectionGestureDetectorBuilder: function TextSelectionGestureDetectorBuilder() { }, TextSelectionGestureDetector: function TextSelectionGestureDetector(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.onTapTrackStart = t0; _.onTapTrackReset = t1; _.onTapDown = t2; _.onForcePressStart = t3; _.onForcePressEnd = t4; _.onSecondaryTap = t5; _.onSecondaryTapDown = t6; _.onSingleTapUp = t7; _.onSingleTapCancel = t8; _.onUserTap = t9; _.onSingleLongTapStart = t10; _.onSingleLongTapMoveUpdate = t11; _.onSingleLongTapEnd = t12; _.onDoubleTapDown = t13; _.onTripleTapDown = t14; _.onDragSelectionStart = t15; _.onDragSelectionUpdate = t16; _.onDragSelectionEnd = t17; _.onUserTapAlwaysCalled = t18; _.behavior = t19; _.child = t20; _.key = t21; }, _TextSelectionGestureDetectorState: function _TextSelectionGestureDetectorState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _TextSelectionGestureDetectorState_build_closure: function _TextSelectionGestureDetectorState_build_closure(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure0: function _TextSelectionGestureDetectorState_build_closure0(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure1: function _TextSelectionGestureDetectorState_build_closure1(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure2: function _TextSelectionGestureDetectorState_build_closure2(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure3: function _TextSelectionGestureDetectorState_build_closure3(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure4: function _TextSelectionGestureDetectorState_build_closure4(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure5: function _TextSelectionGestureDetectorState_build_closure5(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure6: function _TextSelectionGestureDetectorState_build_closure6(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure7: function _TextSelectionGestureDetectorState_build_closure7(t0) { this.$this = t0; }, _TextSelectionGestureDetectorState_build_closure8: function _TextSelectionGestureDetectorState_build_closure8(t0) { this.$this = t0; }, ClipboardStatusNotifier: function ClipboardStatusNotifier() { }, ClipboardStatus: function ClipboardStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, TextSelectionHandleControls: function TextSelectionHandleControls() { }, _ClipboardStatusNotifier_ValueNotifier_WidgetsBindingObserver: function _ClipboardStatusNotifier_ValueNotifier_WidgetsBindingObserver() { }, __SelectionHandleOverlayState_State_SingleTickerProviderStateMixin: function __SelectionHandleOverlayState_State_SingleTickerProviderStateMixin() { }, __SelectionToolbarWrapperState_State_SingleTickerProviderStateMixin: function __SelectionToolbarWrapperState_State_SingleTickerProviderStateMixin() { }, TextSelectionToolbarAnchors_TextSelectionToolbarAnchors$fromSelection(endGlyphHeight, renderBox, selectionEndpoints, startGlyphHeight) { var isMultiline, t3, t4, t5, t1 = A.MatrixUtils_transformPoint(renderBox.getTransformTo$1(0, null), B.Offset_0_0), t2 = renderBox.get$size(0).bottomRight$1(0, B.Offset_0_0), editingRegion = A.Rect$fromPoints(t1, A.MatrixUtils_transformPoint(renderBox.getTransformTo$1(0, null), t2)); t1 = editingRegion.left; if (isNaN(t1) || isNaN(editingRegion.top) || isNaN(editingRegion.right) || isNaN(editingRegion.bottom)) return B.TextSelectionToolbarAnchors_Offset_0_0_null; isMultiline = B.JSArray_methods.get$last(selectionEndpoints).point._dy - B.JSArray_methods.get$first(selectionEndpoints).point._dy > endGlyphHeight / 2; t2 = isMultiline ? t1 : t1 + B.JSArray_methods.get$first(selectionEndpoints).point._dx; t3 = editingRegion.top; t4 = B.JSArray_methods.get$first(selectionEndpoints); t1 = isMultiline ? editingRegion.right : t1 + B.JSArray_methods.get$last(selectionEndpoints).point._dx; t5 = B.JSArray_methods.get$last(selectionEndpoints); t2 += (t1 - t2) / 2; t1 = editingRegion.bottom; return new A.TextSelectionToolbarAnchors(new A.Offset(t2, A.clampDouble(t3 + t4.point._dy - startGlyphHeight, t3, t1)), new A.Offset(t2, A.clampDouble(t3 + t5.point._dy, t3, t1))); }, TextSelectionToolbarAnchors: function TextSelectionToolbarAnchors(t0, t1) { this.primaryAnchor = t0; this.secondaryAnchor = t1; }, TextSelectionToolbarLayoutDelegate_centerOn(position, width, max) { var t1 = width / 2, t2 = position - t1; if (t2 < 0) return 0; if (position + t1 > max) return max - width; return t2; }, TextSelectionToolbarLayoutDelegate: function TextSelectionToolbarLayoutDelegate(t0, t1, t2) { this.anchorAbove = t0; this.anchorBelow = t1; this.fitsAbove = t2; }, TickerMode_of(context) { var widget = context.dependOnInheritedWidgetOfExactType$1$0(type$._EffectiveTickerMode), t1 = widget == null ? null : widget.enabled; return t1 !== false; }, TickerMode_getNotifier(context) { var widget = context.getInheritedWidgetOfExactType$1$0(type$._EffectiveTickerMode), t1 = widget == null ? null : widget.notifier; return t1 == null ? B.C__ConstantValueListenable : t1; }, TickerMode: function TickerMode(t0, t1, t2) { this.enabled = t0; this.child = t1; this.key = t2; }, _TickerModeState: function _TickerModeState(t0, t1) { var _ = this; _._ancestorTicketMode = true; _._effectiveMode = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _EffectiveTickerMode: function _EffectiveTickerMode(t0, t1, t2, t3) { var _ = this; _.enabled = t0; _.notifier = t1; _.child = t2; _.key = t3; }, SingleTickerProviderStateMixin: function SingleTickerProviderStateMixin() { }, TickerProviderStateMixin: function TickerProviderStateMixin() { }, _WidgetTicker: function _WidgetTicker(t0, t1, t2) { var _ = this; _._creator = t0; _._ticker$_future = null; _._muted = false; _._startTime = null; _._onTick = t1; _._animationId = null; _.debugLabel = t2; _.__Ticker__debugCreationStack_A = $; }, _ConstantValueListenable: function _ConstantValueListenable(t0) { this.$ti = t0; }, Title: function Title(t0, t1, t2, t3) { var _ = this; _.title = t0; _.color = t1; _.child = t2; _.key = t3; }, SlideTransition$(child, position, textDirection, transformHitTests) { return new A.SlideTransition(textDirection, transformHitTests, child, position, null); }, ScaleTransition$(alignment, child, scale) { return new A.ScaleTransition(A.transitions_ScaleTransition__handleScaleMatrix$closure(), alignment, null, child, scale, null); }, ScaleTransition__handleScaleMatrix(value) { return A.Matrix4_Matrix4$diagonal3Values(value, value, 1); }, RotationTransition$(alignment, child, turns) { return new A.RotationTransition(A.transitions_RotationTransition__handleTurnsMatrix$closure(), alignment, null, child, turns, null); }, RotationTransition__handleTurnsMatrix(value) { return A.Matrix4_Matrix4$rotationZ(value * 3.141592653589793 * 2); }, AnimatedBuilder$(animation, builder, child) { return new A.AnimatedBuilder(builder, child, animation, null); }, AnimatedWidget: function AnimatedWidget() { }, _AnimatedState: function _AnimatedState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _AnimatedState__handleChange_closure: function _AnimatedState__handleChange_closure() { }, SlideTransition: function SlideTransition(t0, t1, t2, t3, t4) { var _ = this; _.textDirection = t0; _.transformHitTests = t1; _.child = t2; _.listenable = t3; _.key = t4; }, MatrixTransition: function MatrixTransition() { }, ScaleTransition: function ScaleTransition(t0, t1, t2, t3, t4, t5) { var _ = this; _.onTransform = t0; _.alignment = t1; _.filterQuality = t2; _.child = t3; _.listenable = t4; _.key = t5; }, RotationTransition: function RotationTransition(t0, t1, t2, t3, t4, t5) { var _ = this; _.onTransform = t0; _.alignment = t1; _.filterQuality = t2; _.child = t3; _.listenable = t4; _.key = t5; }, SizeTransition: function SizeTransition(t0, t1, t2, t3) { var _ = this; _.axisAlignment = t0; _.child = t1; _.listenable = t2; _.key = t3; }, FadeTransition: function FadeTransition(t0, t1, t2, t3) { var _ = this; _.opacity = t0; _.alwaysIncludeSemantics = t1; _.child = t2; _.key = t3; }, DecoratedBoxTransition: function DecoratedBoxTransition(t0, t1, t2, t3) { var _ = this; _.decoration = t0; _.child = t1; _.listenable = t2; _.key = t3; }, ListenableBuilder: function ListenableBuilder(t0, t1, t2, t3) { var _ = this; _.builder = t0; _.child = t1; _.listenable = t2; _.key = t3; }, AnimatedBuilder: function AnimatedBuilder(t0, t1, t2, t3) { var _ = this; _.builder = t0; _.child = t1; _.listenable = t2; _.key = t3; }, _throttle(duration, $function, $T) { var t1 = {}; t1.timer = null; return new A._throttle_closure(t1, A._Cell$named("arg"), duration, $function, $T); }, UndoHistory: function UndoHistory(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.value = t0; _.shouldChangeUndoStack = t1; _.undoStackModifier = t2; _.onTriggered = t3; _.focusNode = t4; _.controller = t5; _.child = t6; _.key = t7; _.$ti = t8; }, UndoHistoryState: function UndoHistoryState(t0, t1, t2) { var _ = this; _._undo_history$_stack = t0; _.__UndoHistoryState__throttledPush_F = $; _._throttleTimer = null; _._duringTrigger = false; _._widget = _._undo_history$_controller = _._undo_history$_lastValue = null; _._debugLifecycleState = t1; _._framework$_element = null; _.$ti = t2; }, UndoHistoryState_initState_closure: function UndoHistoryState_initState_closure(t0) { this.$this = t0; }, UndoHistoryValue: function UndoHistoryValue(t0, t1) { this.canUndo = t0; this.canRedo = t1; }, UndoHistoryController: function UndoHistoryController(t0, t1, t2, t3) { var _ = this; _.onUndo = t0; _.onRedo = t1; _._change_notifier$_value = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _UndoStack: function _UndoStack(t0, t1) { this._undo_history$_list = t0; this._undo_history$_index = -1; this.$ti = t1; }, _throttle_closure: function _throttle_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.arg = t1; _.duration = t2; _.$function = t3; _.T = t4; }, _throttle__closure: function _throttle__closure(t0, t1, t2) { this._box_0 = t0; this.$function = t1; this.arg = t2; }, _UndoHistoryState_State_UndoManagerClient: function _UndoHistoryState_State_UndoManagerClient() { }, ValueListenableBuilder: function ValueListenableBuilder(t0, t1, t2, t3, t4) { var _ = this; _.valueListenable = t0; _.builder = t1; _.child = t2; _.key = t3; _.$ti = t4; }, _ValueListenableBuilderState: function _ValueListenableBuilderState(t0, t1) { var _ = this; _.___ValueListenableBuilderState_value_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _ValueListenableBuilderState__valueChanged_closure: function _ValueListenableBuilderState__valueChanged_closure(t0) { this.$this = t0; }, View_maybeOf(context) { var t1 = A.LookupBoundary_dependOnInheritedWidgetOfExactType(context, type$._ViewScope); return t1 == null ? null : t1.view; }, View_pipelineOwnerOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._PipelineOwnerScope); t1 = t1 == null ? null : t1.pipelineOwner; if (t1 == null) { t1 = $.RendererBinding__instance.RendererBinding___RendererBinding__rootPipelineOwner_A; t1 === $ && A.throwUnnamedLateFieldNI(); } return t1; }, View: function View(t0, t1, t2, t3, t4) { var _ = this; _.view = t0; _.child = t1; _._deprecatedPipelineOwner = t2; _._deprecatedRenderView = t3; _.key = t4; }, View_build_closure: function View_build_closure(t0) { this.$this = t0; }, _RawView: function _RawView(t0, t1, t2, t3, t4) { var _ = this; _.view = t0; _.builder = t1; _._deprecatedPipelineOwner = t2; _._deprecatedRenderView = t3; _.key = t4; }, _RawViewElement: function _RawViewElement(t0, t1) { var _ = this; _.___RawViewElement__pipelineOwner_FI = $; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = _._parentPipelineOwner = _._view$_child = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _ViewScope: function _ViewScope(t0, t1, t2) { this.view = t0; this.child = t1; this.key = t2; }, _PipelineOwnerScope: function _PipelineOwnerScope(t0, t1, t2) { this.pipelineOwner = t0; this.child = t1; this.key = t2; }, _DeprecatedRawViewKey: function _DeprecatedRawViewKey(t0, t1, t2, t3) { var _ = this; _.view = t0; _.owner = t1; _.renderView = t2; _.$ti = t3; }, Viewport$(anchor, axisDirection, cacheExtent, cacheExtentStyle, center, clipBehavior, offset, slivers) { return new A.Viewport(axisDirection, anchor, offset, center, cacheExtent, cacheExtentStyle, clipBehavior, slivers, null); }, Viewport_getDefaultCrossAxisDirection(context, axisDirection) { var t1; switch (axisDirection.index) { case 0: t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; return A.textDirectionToAxisDirection(t1.textDirection); case 1: return B.AxisDirection_2; case 2: t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; return A.textDirectionToAxisDirection(t1.textDirection); case 3: return B.AxisDirection_2; } }, 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) { var _ = this; _._doingMountOrUpdate = false; _._centerSlotIndex = null; _.__MultiChildRenderObjectElement__children_A = $; _._forgottenChildren = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, ShrinkWrappingViewport: function ShrinkWrappingViewport(t0, t1, t2, t3, t4) { var _ = this; _.axisDirection = t0; _.offset = t1; _.clipBehavior = t2; _.children = t3; _.key = t4; }, __ViewportElement_MultiChildRenderObjectElement_NotifiableElementMixin: function __ViewportElement_MultiChildRenderObjectElement_NotifiableElementMixin() { }, __ViewportElement_MultiChildRenderObjectElement_NotifiableElementMixin_ViewportElementMixin: function __ViewportElement_MultiChildRenderObjectElement_NotifiableElementMixin_ViewportElementMixin() { }, Visibility_of(context) { var t1, ancestor, isVisible, t2, _box_0 = {}; _box_0.ancestorContext = context; t1 = type$._VisibilityScope; ancestor = context.getElementForInheritedWidgetOfExactType$1$0(t1); isVisible = true; while (true) { if (!(isVisible && ancestor != null)) break; isVisible = t1._as(context.dependOnInheritedElement$1(ancestor)).isVisible; ancestor.visitAncestorElements$1(new A.Visibility_of_closure(_box_0)); t2 = _box_0.ancestorContext._inheritedElements; ancestor = t2 == null ? null : t2.$index(0, A.createRuntimeType(t1)); } return isVisible; }, Visibility: function Visibility(t0, t1, t2) { this.child = t0; this.visible = t1; this.key = t2; }, Visibility_of_closure: function Visibility_of_closure(t0) { this._box_0 = t0; }, _VisibilityScope: function _VisibilityScope(t0, t1, t2) { this.isVisible = t0; this.child = t1; this.key = t2; }, _Visibility: function _Visibility(t0, t1, t2, t3) { var _ = this; _.visible = t0; _.maintainSemantics = t1; _.child = t2; _.key = t3; }, _RenderVisibility: function _RenderVisibility(t0, t1, t2, t3) { var _ = this; _._visibility$_visible = t0; _._maintainSemantics = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, WidgetSpan_extractFromInlineSpan(span, textScaler) { var t1 = {}, widgets = A._setArrayType([], type$.JSArray_Widget), fontSizeStack = A._setArrayType([14], type$.JSArray_double); t1.index = 0; new A.WidgetSpan_extractFromInlineSpan_visitSubtree(t1, fontSizeStack, textScaler, widgets).call$1(span); return widgets; }, WidgetSpan: function WidgetSpan() { }, WidgetSpan_extractFromInlineSpan_visitSubtree: function WidgetSpan_extractFromInlineSpan_visitSubtree(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.fontSizeStack = t1; _.textScaler = t2; _.widgets = t3; }, _WidgetSpanParentData: function _WidgetSpanParentData(t0, t1, t2) { this.span = t0; this.child = t1; this.key = t2; }, _AutoScaleInlineWidget: function _AutoScaleInlineWidget(t0, t1, t2, t3) { var _ = this; _.span = t0; _.textScaleFactor = t1; _.child = t2; _.key = t3; }, _RenderScaledInlineWidget: function _RenderScaledInlineWidget(t0, t1, t2, t3, t4) { var _ = this; _._scale = t0; _._widget_span$_alignment = t1; _._baseline = t2; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderScaledInlineWidget_paint_closure: function _RenderScaledInlineWidget_paint_closure(t0) { this.child = t0; }, _RenderScaledInlineWidget_hitTestChildren_closure: function _RenderScaledInlineWidget_hitTestChildren_closure(t0) { this.child = t0; }, __RenderScaledInlineWidget_RenderBox_RenderObjectWithChildMixin: function __RenderScaledInlineWidget_RenderBox_RenderObjectWithChildMixin() { }, WillPopScope: function WillPopScope(t0, t1, t2) { this.child = t0; this.onWillPop = t1; this.key = t2; }, _WillPopScopeState: function _WillPopScopeState(t0) { var _ = this; _._widget = _._will_pop_scope$_route = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _defaultLayoutBuilder(context, colors, child) { var t3, t4, _null = null, t1 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data.get$orientation(0) === B.Orientation_0, t2 = t1 ? 360 : 200; t1 = t1 ? 4 : 6; t3 = A._setArrayType([], type$.JSArray_Widget); for (t4 = J.get$iterator$ax(colors); t4.moveNext$0();) t3.push(child.call$1(t4.get$current(t4))); return new A.SizedBox(300, t2, A.GridView$count(1, t3, t1, 5, 5, _null, _null, _null, false), _null); }, _defaultItemBuilder(color, isCurrentColor, changeColor) { var _null = null, t1 = A._setArrayType([new A.BoxShadow(0, B.BlurStyle_0, A.Color$fromARGB(204, color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255), B.Offset_1_2, 5)], type$.JSArray_BoxShadow), t2 = A.BorderRadius$circular(50), t3 = isCurrentColor ? 1 : 0; return A.Container$(_null, A.Material$(B.Duration_200000, true, _null, A.InkWell$(false, t2, true, A.AnimatedOpacity$(A.Icon$(B.IconData_57846_MaterialIcons_null_false, B.JSNumber_methods.round$0(Math.sqrt(Math.pow(color.get$value(color) >>> 16 & 255, 2) * 0.299 + Math.pow(color.get$value(color) >>> 8 & 255, 2) * 0.587 + Math.pow(color.get$value(color) & 255, 2) * 0.114)) < 130 && true ? B.Color_4294967295 : B.Color_4278190080, _null, _null), B.C__Linear, B.Duration_210000, t3), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, changeColor, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, B.Color_0, 0, _null, _null, _null, _null, _null, B.MaterialType_0), B.Clip_0, _null, _null, new A.BoxDecoration(color, _null, _null, _null, t1, _null, B.BoxShape_1), _null, _null, _null, B.EdgeInsets_7_7_7_7, _null, _null, _null, _null); }, BlockPicker: function BlockPicker(t0, t1, t2, t3) { var _ = this; _.pickerColor = t0; _.onColorChanged = t1; _.availableColors = t2; _.key = t3; }, _BlockPickerState: function _BlockPickerState(t0) { var _ = this; _.___BlockPickerState__currentColor_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _BlockPickerState_changeColor_closure: function _BlockPickerState_changeColor_closure(t0, t1) { this.$this = t0; this.color = t1; }, _BlockPickerState_build_closure: function _BlockPickerState_build_closure(t0) { this.$this = t0; }, _BlockPickerState_build__closure: function _BlockPickerState_build__closure(t0, t1) { this.$this = t0; this.color = t1; }, _JsonViewerState_getContentWidget($content) { return new A.JsonObjectViewer($content, false, null); }, JsonObjectViewerState_getContentWidget($content) { if (type$.List_dynamic._is($content)) return new A.JsonArrayViewer($content, true, null); else return new A.JsonObjectViewer($content, true, null); }, JsonObjectViewerState_isInkWell($content) { if ($content == null) return false; else if (A._isInt($content)) return false; else if (typeof $content == "string") return false; else if (A._isBool($content)) return false; else if (typeof $content == "number") return false; else if (type$.List_dynamic._is($content)) if (J.get$isEmpty$asx($content)) return false; else return true; return true; }, JsonObjectViewerState_isExtensible($content) { if ($content == null) return false; else if (A._isInt($content)) return false; else if (typeof $content == "string") return false; else if (A._isBool($content)) return false; else if (typeof $content == "number") return false; return true; }, JsonObjectViewerState_getTypeName($content) { if (A._isInt($content)) return "int"; else if (typeof $content == "string") return "String"; else if (A._isBool($content)) return "bool"; else if (typeof $content == "number") return "double"; else if (type$.List_dynamic._is($content)) return "List"; return "Object"; }, JsonViewer: function JsonViewer(t0, t1) { this.jsonObj = t0; this.key = t1; }, _JsonViewerState: function _JsonViewerState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, JsonObjectViewer: function JsonObjectViewer(t0, t1, t2) { this.jsonObj = t0; this.notRoot = t1; this.key = t2; }, JsonObjectViewerState: function JsonObjectViewerState(t0, t1) { var _ = this; _.openFlag = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, JsonObjectViewerState__getList_closure: function JsonObjectViewerState__getList_closure(t0, t1) { this.$this = t0; this.entry = t1; }, JsonObjectViewerState__getList__closure: function JsonObjectViewerState__getList__closure(t0, t1) { this.$this = t0; this.entry = t1; }, JsonObjectViewerState_getValueWidget_closure: function JsonObjectViewerState_getValueWidget_closure(t0, t1) { this.$this = t0; this.entry = t1; }, JsonObjectViewerState_getValueWidget__closure0: function JsonObjectViewerState_getValueWidget__closure0(t0, t1) { this.$this = t0; this.entry = t1; }, JsonObjectViewerState_getValueWidget_closure0: function JsonObjectViewerState_getValueWidget_closure0(t0, t1) { this.$this = t0; this.entry = t1; }, JsonObjectViewerState_getValueWidget__closure: function JsonObjectViewerState_getValueWidget__closure(t0, t1) { this.$this = t0; this.entry = t1; }, JsonArrayViewer: function JsonArrayViewer(t0, t1, t2) { this.jsonArray = t0; this.notRoot = t1; this.key = t2; }, _JsonArrayViewerState: function _JsonArrayViewerState(t0) { var _ = this; _.___JsonArrayViewerState_openFlag_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _JsonArrayViewerState_getInkWell_closure: function _JsonArrayViewerState_getInkWell_closure(t0, t1) { this.$this = t0; this.index = t1; }, _JsonArrayViewerState_getInkWell__closure: function _JsonArrayViewerState_getInkWell__closure(t0, t1) { this.$this = t0; this.index = t1; }, _JsonArrayViewerState_getValueWidget_closure: function _JsonArrayViewerState_getValueWidget_closure(t0, t1) { this.$this = t0; this.index = t1; }, _JsonArrayViewerState_getValueWidget__closure0: function _JsonArrayViewerState_getValueWidget__closure0(t0, t1) { this.$this = t0; this.index = t1; }, _JsonArrayViewerState_getValueWidget_closure0: function _JsonArrayViewerState_getValueWidget_closure0(t0, t1) { this.$this = t0; this.index = t1; }, _JsonArrayViewerState_getValueWidget__closure: function _JsonArrayViewerState_getValueWidget__closure(t0, t1) { this.$this = t0; this.index = t1; }, GlobalCupertinoLocalizations: function GlobalCupertinoLocalizations() { }, _GlobalCupertinoLocalizationsDelegate: function _GlobalCupertinoLocalizationsDelegate() { }, _GlobalCupertinoLocalizationsDelegate_load_closure: function _GlobalCupertinoLocalizationsDelegate_load_closure(t0) { this.locale = t0; }, _GlobalCupertinoLocalizationsDelegate_load_closure_loadFormats: function _GlobalCupertinoLocalizationsDelegate_load_closure_loadFormats(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.fullYearFormat = t0; _.dayFormat = t1; _.mediumDateFormat = t2; _.singleDigitHourFormat = t3; _.singleDigitMinuteFormat = t4; _.doubleDigitMinuteFormat = t5; _.singleDigitSecondFormat = t6; _.decimalFormat = t7; }, CupertinoLocalizationDe$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationDe(); }, CupertinoLocalizationEn$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationEn(); }, CupertinoLocalizationEs$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationEs(); }, CupertinoLocalizationFr$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationFr(); }, CupertinoLocalizationPt$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationPt(); }, CupertinoLocalizationSr$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationSr(); }, CupertinoLocalizationZh$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationZh(); }, CupertinoLocalizationZhHant$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, localeName, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationZhHant(); }, CupertinoLocalizationZhHantHk$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationZhHantHk(); }, CupertinoLocalizationZhHantTw$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat) { return new A.CupertinoLocalizationZhHantTw(); }, getCupertinoTranslation(locale, fullYearFormat, dayFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, doubleDigitMinuteFormat, singleDigitSecondFormat, decimalFormat) { switch (locale.get$languageCode(0)) { case "af": return new A.CupertinoLocalizationAf(); case "am": return new A.CupertinoLocalizationAm(); case "ar": return new A.CupertinoLocalizationAr(); case "as": return new A.CupertinoLocalizationAs(); case "az": return new A.CupertinoLocalizationAz(); case "be": return new A.CupertinoLocalizationBe(); case "bg": return new A.CupertinoLocalizationBg(); case "bn": return new A.CupertinoLocalizationBn(); case "bs": return new A.CupertinoLocalizationBs(); case "ca": return new A.CupertinoLocalizationCa(); case "cs": return new A.CupertinoLocalizationCs(); case "cy": return new A.CupertinoLocalizationCy(); case "da": return new A.CupertinoLocalizationDa(); case "de": switch (locale.get$countryCode()) { case "CH": return new A.CupertinoLocalizationDeCh(); } return A.CupertinoLocalizationDe$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "de", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "el": return new A.CupertinoLocalizationEl(); case "en": switch (locale.get$countryCode()) { case "AU": return new A.CupertinoLocalizationEnAu(); case "CA": return new A.CupertinoLocalizationEnCa(); case "GB": return new A.CupertinoLocalizationEnGb(); case "IE": return new A.CupertinoLocalizationEnIe(); case "IN": return new A.CupertinoLocalizationEnIn(); case "NZ": return new A.CupertinoLocalizationEnNz(); case "SG": return new A.CupertinoLocalizationEnSg(); case "ZA": return new A.CupertinoLocalizationEnZa(); } return A.CupertinoLocalizationEn$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "en", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "es": switch (locale.get$countryCode()) { case "419": return new A.CupertinoLocalizationEs419(); case "AR": return new A.CupertinoLocalizationEsAr(); case "BO": return new A.CupertinoLocalizationEsBo(); case "CL": return new A.CupertinoLocalizationEsCl(); case "CO": return new A.CupertinoLocalizationEsCo(); case "CR": return new A.CupertinoLocalizationEsCr(); case "DO": return new A.CupertinoLocalizationEsDo(); case "EC": return new A.CupertinoLocalizationEsEc(); case "GT": return new A.CupertinoLocalizationEsGt(); case "HN": return new A.CupertinoLocalizationEsHn(); case "MX": return new A.CupertinoLocalizationEsMx(); case "NI": return new A.CupertinoLocalizationEsNi(); case "PA": return new A.CupertinoLocalizationEsPa(); case "PE": return new A.CupertinoLocalizationEsPe(); case "PR": return new A.CupertinoLocalizationEsPr(); case "PY": return new A.CupertinoLocalizationEsPy(); case "SV": return new A.CupertinoLocalizationEsSv(); case "US": return new A.CupertinoLocalizationEsUs(); case "UY": return new A.CupertinoLocalizationEsUy(); case "VE": return new A.CupertinoLocalizationEsVe(); } return A.CupertinoLocalizationEs$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "es", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "et": return new A.CupertinoLocalizationEt(); case "eu": return new A.CupertinoLocalizationEu(); case "fa": return new A.CupertinoLocalizationFa(); case "fi": return new A.CupertinoLocalizationFi(); case "fil": return new A.CupertinoLocalizationFil(); case "fr": switch (locale.get$countryCode()) { case "CA": return new A.CupertinoLocalizationFrCa(); } return A.CupertinoLocalizationFr$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "fr", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "gl": return new A.CupertinoLocalizationGl(); case "gsw": return new A.CupertinoLocalizationGsw(); case "gu": return new A.CupertinoLocalizationGu(); case "he": return new A.CupertinoLocalizationHe(); case "hi": return new A.CupertinoLocalizationHi(); case "hr": return new A.CupertinoLocalizationHr(); case "hu": return new A.CupertinoLocalizationHu(); case "hy": return new A.CupertinoLocalizationHy(); case "id": return new A.CupertinoLocalizationId(); case "is": return new A.CupertinoLocalizationIs(); case "it": return new A.CupertinoLocalizationIt(); case "ja": return new A.CupertinoLocalizationJa(); case "ka": return new A.CupertinoLocalizationKa(); case "kk": return new A.CupertinoLocalizationKk(); case "km": return new A.CupertinoLocalizationKm(); case "kn": return new A.CupertinoLocalizationKn(); case "ko": return new A.CupertinoLocalizationKo(); case "ky": return new A.CupertinoLocalizationKy(); case "lo": return new A.CupertinoLocalizationLo(); case "lt": return new A.CupertinoLocalizationLt(); case "lv": return new A.CupertinoLocalizationLv(); case "mk": return new A.CupertinoLocalizationMk(); case "ml": return new A.CupertinoLocalizationMl(); case "mn": return new A.CupertinoLocalizationMn(); case "mr": return new A.CupertinoLocalizationMr(); case "ms": return new A.CupertinoLocalizationMs(); case "my": return new A.CupertinoLocalizationMy(); case "nb": return new A.CupertinoLocalizationNb(); case "ne": return new A.CupertinoLocalizationNe(); case "nl": return new A.CupertinoLocalizationNl(); case "no": return new A.CupertinoLocalizationNo(); case "or": return new A.CupertinoLocalizationOr(); case "pa": return new A.CupertinoLocalizationPa(); case "pl": return new A.CupertinoLocalizationPl(); case "pt": switch (locale.get$countryCode()) { case "PT": return new A.CupertinoLocalizationPtPt(); } return A.CupertinoLocalizationPt$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "pt", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "ro": return new A.CupertinoLocalizationRo(); case "ru": return new A.CupertinoLocalizationRu(); case "si": return new A.CupertinoLocalizationSi(); case "sk": return new A.CupertinoLocalizationSk(); case "sl": return new A.CupertinoLocalizationSl(); case "sq": return new A.CupertinoLocalizationSq(); case "sr": switch (null) { case "Cyrl": return new A.CupertinoLocalizationSrCyrl(); case "Latn": return new A.CupertinoLocalizationSrLatn(); } return A.CupertinoLocalizationSr$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "sr", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "sv": return new A.CupertinoLocalizationSv(); case "sw": return new A.CupertinoLocalizationSw(); case "ta": return new A.CupertinoLocalizationTa(); case "te": return new A.CupertinoLocalizationTe(); case "th": return new A.CupertinoLocalizationTh(); case "tl": return new A.CupertinoLocalizationTl(); case "tr": return new A.CupertinoLocalizationTr(); case "uk": return new A.CupertinoLocalizationUk(); case "ur": return new A.CupertinoLocalizationUr(); case "uz": return new A.CupertinoLocalizationUz(); case "vi": return new A.CupertinoLocalizationVi(); case "zh": switch (null) { case "Hans": return new A.CupertinoLocalizationZhHans(); case "Hant": switch (locale.get$countryCode()) { case "HK": return A.CupertinoLocalizationZhHantHk$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "TW": return A.CupertinoLocalizationZhHantTw$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); } return A.CupertinoLocalizationZhHant$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "zh_Hant", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); } switch (locale.get$countryCode()) { case "HK": return A.CupertinoLocalizationZhHantHk$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "TW": return A.CupertinoLocalizationZhHantTw$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); } return A.CupertinoLocalizationZh$(dayFormat, decimalFormat, doubleDigitMinuteFormat, fullYearFormat, "zh", mediumDateFormat, singleDigitHourFormat, singleDigitMinuteFormat, singleDigitSecondFormat); case "zu": return new A.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() { }, CupertinoLocalizationCy: function CupertinoLocalizationCy() { }, 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() { }, MaterialLocalizationDe$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationDe(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationEn$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationEn(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationEs$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationEs(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationFr$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationFr(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationPt$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationPt(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationSr$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationSr(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationZh$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationZh(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationZhHant$(compactDateFormat, decimalFormat, fullYearFormat, localeName, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationZhHant(localeName, fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationZhHantHk$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationZhHantHk("zh_Hant_HK", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, MaterialLocalizationZhHantTw$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat) { return new A.MaterialLocalizationZhHantTw("zh_Hant_TW", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); }, getMaterialTranslation(locale, fullYearFormat, compactDateFormat, shortDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, shortMonthDayFormat, decimalFormat, twoDigitZeroPaddedFormat) { switch (locale.get$languageCode(0)) { case "af": return new A.MaterialLocalizationAf("af", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "am": return new A.MaterialLocalizationAm("am", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ar": return new A.MaterialLocalizationAr("ar", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "as": return new A.MaterialLocalizationAs("as", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "az": return new A.MaterialLocalizationAz("az", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "be": return new A.MaterialLocalizationBe("be", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "bg": return new A.MaterialLocalizationBg("bg", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "bn": return new A.MaterialLocalizationBn("bn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "bs": return new A.MaterialLocalizationBs("bs", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ca": return new A.MaterialLocalizationCa("ca", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "cs": return new A.MaterialLocalizationCs("cs", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "cy": return new A.MaterialLocalizationCy("cy", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "da": return new A.MaterialLocalizationDa("da", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "de": switch (locale.get$countryCode()) { case "CH": return new A.MaterialLocalizationDeCh("de_CH", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); } return A.MaterialLocalizationDe$(compactDateFormat, decimalFormat, fullYearFormat, "de", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "el": return new A.MaterialLocalizationEl("el", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "en": switch (locale.get$countryCode()) { case "AU": return new A.MaterialLocalizationEnAu("en_AU", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "CA": return new A.MaterialLocalizationEnCa("en_CA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "GB": return new A.MaterialLocalizationEnGb("en_GB", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "IE": return new A.MaterialLocalizationEnIe("en_IE", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "IN": return new A.MaterialLocalizationEnIn("en_IN", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "NZ": return new A.MaterialLocalizationEnNz("en_NZ", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "SG": return new A.MaterialLocalizationEnSg("en_SG", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ZA": return new A.MaterialLocalizationEnZa("en_ZA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); } return A.MaterialLocalizationEn$(compactDateFormat, decimalFormat, fullYearFormat, "en", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "es": switch (locale.get$countryCode()) { case "419": return new A.MaterialLocalizationEs419("es_419", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "AR": return new A.MaterialLocalizationEsAr("es_AR", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "BO": return new A.MaterialLocalizationEsBo("es_BO", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "CL": return new A.MaterialLocalizationEsCl("es_CL", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "CO": return new A.MaterialLocalizationEsCo("es_CO", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "CR": return new A.MaterialLocalizationEsCr("es_CR", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "DO": return new A.MaterialLocalizationEsDo("es_DO", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "EC": return new A.MaterialLocalizationEsEc("es_EC", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "GT": return new A.MaterialLocalizationEsGt("es_GT", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "HN": return new A.MaterialLocalizationEsHn("es_HN", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "MX": return new A.MaterialLocalizationEsMx("es_MX", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "NI": return new A.MaterialLocalizationEsNi("es_NI", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "PA": return new A.MaterialLocalizationEsPa("es_PA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "PE": return new A.MaterialLocalizationEsPe("es_PE", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "PR": return new A.MaterialLocalizationEsPr("es_PR", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "PY": return new A.MaterialLocalizationEsPy("es_PY", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "SV": return new A.MaterialLocalizationEsSv("es_SV", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "US": return new A.MaterialLocalizationEsUs("es_US", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "UY": return new A.MaterialLocalizationEsUy("es_UY", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "VE": return new A.MaterialLocalizationEsVe("es_VE", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); } return A.MaterialLocalizationEs$(compactDateFormat, decimalFormat, fullYearFormat, "es", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "et": return new A.MaterialLocalizationEt("et", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "eu": return new A.MaterialLocalizationEu("eu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "fa": return new A.MaterialLocalizationFa("fa", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "fi": return new A.MaterialLocalizationFi("fi", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "fil": return new A.MaterialLocalizationFil("fil", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "fr": switch (locale.get$countryCode()) { case "CA": return new A.MaterialLocalizationFrCa("fr_CA", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); } return A.MaterialLocalizationFr$(compactDateFormat, decimalFormat, fullYearFormat, "fr", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "gl": return new A.MaterialLocalizationGl("gl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "gsw": return new A.MaterialLocalizationGsw("gsw", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "gu": return new A.MaterialLocalizationGu("gu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "he": return new A.MaterialLocalizationHe("he", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "hi": return new A.MaterialLocalizationHi("hi", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "hr": return new A.MaterialLocalizationHr("hr", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "hu": return new A.MaterialLocalizationHu("hu", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "hy": return new A.MaterialLocalizationHy("hy", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "id": return new A.MaterialLocalizationId("id", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "is": return new A.MaterialLocalizationIs("is", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "it": return new A.MaterialLocalizationIt("it", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ja": return new A.MaterialLocalizationJa("ja", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ka": return new A.MaterialLocalizationKa("ka", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "kk": return new A.MaterialLocalizationKk("kk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "km": return new A.MaterialLocalizationKm("km", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "kn": return new A.MaterialLocalizationKn("kn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ko": return new A.MaterialLocalizationKo("ko", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ky": return new A.MaterialLocalizationKy("ky", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "lo": return new A.MaterialLocalizationLo("lo", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "lt": return new A.MaterialLocalizationLt("lt", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "lv": return new A.MaterialLocalizationLv("lv", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "mk": return new A.MaterialLocalizationMk("mk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ml": return new A.MaterialLocalizationMl("ml", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "mn": return new A.MaterialLocalizationMn("mn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "mr": return new A.MaterialLocalizationMr("mr", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ms": return new A.MaterialLocalizationMs("ms", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "my": return new A.MaterialLocalizationMy("my", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "nb": return new A.MaterialLocalizationNb("nb", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ne": return new A.MaterialLocalizationNe("ne", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "nl": return new A.MaterialLocalizationNl("nl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "no": return new A.MaterialLocalizationNo("no", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "or": return new A.MaterialLocalizationOr("or", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "pa": return new A.MaterialLocalizationPa("pa", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "pl": return new A.MaterialLocalizationPl("pl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ps": return new A.MaterialLocalizationPs("ps", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "pt": switch (locale.get$countryCode()) { case "PT": return new A.MaterialLocalizationPtPt("pt_PT", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); } return A.MaterialLocalizationPt$(compactDateFormat, decimalFormat, fullYearFormat, "pt", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "ro": return new A.MaterialLocalizationRo("ro", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ru": return new A.MaterialLocalizationRu("ru", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "si": return new A.MaterialLocalizationSi("si", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "sk": return new A.MaterialLocalizationSk("sk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "sl": return new A.MaterialLocalizationSl("sl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "sq": return new A.MaterialLocalizationSq("sq", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "sr": switch (null) { case "Cyrl": return new A.MaterialLocalizationSrCyrl("sr_Cyrl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "Latn": return new A.MaterialLocalizationSrLatn("sr_Latn", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); } return A.MaterialLocalizationSr$(compactDateFormat, decimalFormat, fullYearFormat, "sr", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "sv": return new A.MaterialLocalizationSv("sv", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "sw": return new A.MaterialLocalizationSw("sw", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ta": return new A.MaterialLocalizationTa("ta", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "te": return new A.MaterialLocalizationTe("te", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "th": return new A.MaterialLocalizationTh("th", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "tl": return new A.MaterialLocalizationTl("tl", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "tr": return new A.MaterialLocalizationTr("tr", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "uk": return new A.MaterialLocalizationUk("uk", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "ur": return new A.MaterialLocalizationUr("ur", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "uz": return new A.MaterialLocalizationUz("uz", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "vi": return new A.MaterialLocalizationVi("vi", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "zh": switch (null) { case "Hans": return new A.MaterialLocalizationZhHans("zh_Hans", fullYearFormat, compactDateFormat, mediumDateFormat, longDateFormat, yearMonthFormat, decimalFormat, twoDigitZeroPaddedFormat); case "Hant": switch (locale.get$countryCode()) { case "HK": return A.MaterialLocalizationZhHantHk$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "TW": return A.MaterialLocalizationZhHantTw$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); } return A.MaterialLocalizationZhHant$(compactDateFormat, decimalFormat, fullYearFormat, "zh_Hant", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); } switch (locale.get$countryCode()) { case "HK": return A.MaterialLocalizationZhHantHk$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "TW": return A.MaterialLocalizationZhHantTw$(compactDateFormat, decimalFormat, fullYearFormat, longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); } return A.MaterialLocalizationZh$(compactDateFormat, decimalFormat, fullYearFormat, "zh", longDateFormat, mediumDateFormat, shortDateFormat, shortMonthDayFormat, twoDigitZeroPaddedFormat, yearMonthFormat); case "zu": return new A.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; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationAm: function MaterialLocalizationAm(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationAr: function MaterialLocalizationAr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationAs: function MaterialLocalizationAs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationAz: function MaterialLocalizationAz(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationBe: function MaterialLocalizationBe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationBg: function MaterialLocalizationBg(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationBn: function MaterialLocalizationBn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationBs: function MaterialLocalizationBs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationCa: function MaterialLocalizationCa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationCs: function MaterialLocalizationCs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationCy: function MaterialLocalizationCy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationDa: function MaterialLocalizationDa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationDe: function MaterialLocalizationDe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationDeCh: function MaterialLocalizationDeCh(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEl: function MaterialLocalizationEl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEn: function MaterialLocalizationEn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnAu: function MaterialLocalizationEnAu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnCa: function MaterialLocalizationEnCa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnGb: function MaterialLocalizationEnGb(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnIe: function MaterialLocalizationEnIe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnIn: function MaterialLocalizationEnIn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnNz: function MaterialLocalizationEnNz(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnSg: function MaterialLocalizationEnSg(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEnZa: function MaterialLocalizationEnZa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEs: function MaterialLocalizationEs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEs419: function MaterialLocalizationEs419(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsAr: function MaterialLocalizationEsAr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsBo: function MaterialLocalizationEsBo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsCl: function MaterialLocalizationEsCl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsCo: function MaterialLocalizationEsCo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsCr: function MaterialLocalizationEsCr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsDo: function MaterialLocalizationEsDo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsEc: function MaterialLocalizationEsEc(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsGt: function MaterialLocalizationEsGt(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsHn: function MaterialLocalizationEsHn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsMx: function MaterialLocalizationEsMx(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsNi: function MaterialLocalizationEsNi(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsPa: function MaterialLocalizationEsPa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsPe: function MaterialLocalizationEsPe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsPr: function MaterialLocalizationEsPr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsPy: function MaterialLocalizationEsPy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsSv: function MaterialLocalizationEsSv(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsUs: function MaterialLocalizationEsUs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsUy: function MaterialLocalizationEsUy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEsVe: function MaterialLocalizationEsVe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEt: function MaterialLocalizationEt(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationEu: function MaterialLocalizationEu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationFa: function MaterialLocalizationFa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationFi: function MaterialLocalizationFi(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationFil: function MaterialLocalizationFil(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationFr: function MaterialLocalizationFr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationFrCa: function MaterialLocalizationFrCa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationGl: function MaterialLocalizationGl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationGsw: function MaterialLocalizationGsw(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationGu: function MaterialLocalizationGu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationHe: function MaterialLocalizationHe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationHi: function MaterialLocalizationHi(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationHr: function MaterialLocalizationHr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationHu: function MaterialLocalizationHu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationHy: function MaterialLocalizationHy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationId: function MaterialLocalizationId(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationIs: function MaterialLocalizationIs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationIt: function MaterialLocalizationIt(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationJa: function MaterialLocalizationJa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationKa: function MaterialLocalizationKa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationKk: function MaterialLocalizationKk(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationKm: function MaterialLocalizationKm(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationKn: function MaterialLocalizationKn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationKo: function MaterialLocalizationKo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationKy: function MaterialLocalizationKy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationLo: function MaterialLocalizationLo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationLt: function MaterialLocalizationLt(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationLv: function MaterialLocalizationLv(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationMk: function MaterialLocalizationMk(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationMl: function MaterialLocalizationMl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationMn: function MaterialLocalizationMn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationMr: function MaterialLocalizationMr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationMs: function MaterialLocalizationMs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationMy: function MaterialLocalizationMy(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationNb: function MaterialLocalizationNb(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationNe: function MaterialLocalizationNe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationNl: function MaterialLocalizationNl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationNo: function MaterialLocalizationNo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationOr: function MaterialLocalizationOr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationPa: function MaterialLocalizationPa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationPl: function MaterialLocalizationPl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationPs: function MaterialLocalizationPs(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationPt: function MaterialLocalizationPt(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationPtPt: function MaterialLocalizationPtPt(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationRo: function MaterialLocalizationRo(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationRu: function MaterialLocalizationRu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSi: function MaterialLocalizationSi(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSk: function MaterialLocalizationSk(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSl: function MaterialLocalizationSl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSq: function MaterialLocalizationSq(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSr: function MaterialLocalizationSr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSrCyrl: function MaterialLocalizationSrCyrl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSrLatn: function MaterialLocalizationSrLatn(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSv: function MaterialLocalizationSv(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationSw: function MaterialLocalizationSw(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationTa: function MaterialLocalizationTa(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationTe: function MaterialLocalizationTe(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationTh: function MaterialLocalizationTh(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationTl: function MaterialLocalizationTl(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationTr: function MaterialLocalizationTr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationUk: function MaterialLocalizationUk(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationUr: function MaterialLocalizationUr(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationUz: function MaterialLocalizationUz(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationVi: function MaterialLocalizationVi(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationZh: function MaterialLocalizationZh(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationZhHans: function MaterialLocalizationZhHans(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationZhHant: function MaterialLocalizationZhHant(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationZhHantHk: function MaterialLocalizationZhHantHk(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationZhHantTw: function MaterialLocalizationZhHantTw(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, MaterialLocalizationZu: function MaterialLocalizationZu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._localeName = t0; _._fullYearFormat = t1; _._compactDateFormat = t2; _._mediumDateFormat = t3; _._longDateFormat = t4; _._yearMonthFormat = t5; _._decimalFormat = t6; _._twoDigitZeroPaddedFormat = t7; }, getWidgetsTranslation(locale) { switch (locale.get$languageCode(0)) { case "af": return B.WidgetsLocalizationAf_TextDirection_1; case "am": return B.WidgetsLocalizationAm_TextDirection_1; case "ar": return B.WidgetsLocalizationAr_TextDirection_0; case "as": return B.WidgetsLocalizationAs_TextDirection_1; case "az": return B.WidgetsLocalizationAz_TextDirection_1; case "be": return B.WidgetsLocalizationBe_TextDirection_1; case "bg": return B.WidgetsLocalizationBg_TextDirection_1; case "bn": return B.WidgetsLocalizationBn_TextDirection_1; case "bs": return B.WidgetsLocalizationBs_TextDirection_1; case "ca": return B.WidgetsLocalizationCa_TextDirection_1; case "cs": return B.WidgetsLocalizationCs_TextDirection_1; case "cy": return B.WidgetsLocalizationCy_TextDirection_1; case "da": return B.WidgetsLocalizationDa_TextDirection_1; case "de": switch (locale.get$countryCode()) { case "CH": return B.WidgetsLocalizationDeCh_TextDirection_1; } return B.WidgetsLocalizationDe_TextDirection_1; case "el": return B.WidgetsLocalizationEl_TextDirection_1; case "en": switch (locale.get$countryCode()) { case "AU": return B.WidgetsLocalizationEnAu_TextDirection_1; case "CA": return B.WidgetsLocalizationEnCa_TextDirection_1; case "GB": return B.WidgetsLocalizationEnGb_TextDirection_1; case "IE": return B.WidgetsLocalizationEnIe_TextDirection_1; case "IN": return B.WidgetsLocalizationEnIn_TextDirection_1; case "NZ": return B.WidgetsLocalizationEnNz_TextDirection_1; case "SG": return B.WidgetsLocalizationEnSg_TextDirection_1; case "ZA": return B.WidgetsLocalizationEnZa_TextDirection_1; } return B.WidgetsLocalizationEn_TextDirection_1; case "es": switch (locale.get$countryCode()) { case "419": return B.WidgetsLocalizationEs419_TextDirection_1; case "AR": return B.WidgetsLocalizationEsAr_TextDirection_1; case "BO": return B.WidgetsLocalizationEsBo_TextDirection_1; case "CL": return B.WidgetsLocalizationEsCl_TextDirection_1; case "CO": return B.WidgetsLocalizationEsCo_TextDirection_1; case "CR": return B.WidgetsLocalizationEsCr_TextDirection_1; case "DO": return B.WidgetsLocalizationEsDo_TextDirection_1; case "EC": return B.WidgetsLocalizationEsEc_TextDirection_1; case "GT": return B.WidgetsLocalizationEsGt_TextDirection_1; case "HN": return B.WidgetsLocalizationEsHn_TextDirection_1; case "MX": return B.WidgetsLocalizationEsMx_TextDirection_1; case "NI": return B.WidgetsLocalizationEsNi_TextDirection_1; case "PA": return B.WidgetsLocalizationEsPa_TextDirection_1; case "PE": return B.WidgetsLocalizationEsPe_TextDirection_1; case "PR": return B.WidgetsLocalizationEsPr_TextDirection_1; case "PY": return B.WidgetsLocalizationEsPy_TextDirection_1; case "SV": return B.WidgetsLocalizationEsSv_TextDirection_1; case "US": return B.WidgetsLocalizationEsUs_TextDirection_1; case "UY": return B.WidgetsLocalizationEsUy_TextDirection_1; case "VE": return B.WidgetsLocalizationEsVe_TextDirection_1; } return B.WidgetsLocalizationEs_TextDirection_1; case "et": return B.WidgetsLocalizationEt_TextDirection_1; case "eu": return B.WidgetsLocalizationEu_TextDirection_1; case "fa": return B.WidgetsLocalizationFa_TextDirection_0; case "fi": return B.WidgetsLocalizationFi_TextDirection_1; case "fil": return B.WidgetsLocalizationFil_TextDirection_1; case "fr": switch (locale.get$countryCode()) { case "CA": return B.WidgetsLocalizationFrCa_TextDirection_1; } return B.WidgetsLocalizationFr_TextDirection_1; case "gl": return B.WidgetsLocalizationGl_TextDirection_1; case "gsw": return B.WidgetsLocalizationGsw_TextDirection_1; case "gu": return B.WidgetsLocalizationGu_TextDirection_1; case "he": return B.WidgetsLocalizationHe_TextDirection_0; case "hi": return B.WidgetsLocalizationHi_TextDirection_1; case "hr": return B.WidgetsLocalizationHr_TextDirection_1; case "hu": return B.WidgetsLocalizationHu_TextDirection_1; case "hy": return B.WidgetsLocalizationHy_TextDirection_1; case "id": return B.WidgetsLocalizationId_TextDirection_1; case "is": return B.WidgetsLocalizationIs_TextDirection_1; case "it": return B.WidgetsLocalizationIt_TextDirection_1; case "ja": return B.WidgetsLocalizationJa_TextDirection_1; case "ka": return B.WidgetsLocalizationKa_TextDirection_1; case "kk": return B.WidgetsLocalizationKk_TextDirection_1; case "km": return B.WidgetsLocalizationKm_TextDirection_1; case "kn": return B.WidgetsLocalizationKn_TextDirection_1; case "ko": return B.WidgetsLocalizationKo_TextDirection_1; case "ky": return B.WidgetsLocalizationKy_TextDirection_1; case "lo": return B.WidgetsLocalizationLo_TextDirection_1; case "lt": return B.WidgetsLocalizationLt_TextDirection_1; case "lv": return B.WidgetsLocalizationLv_TextDirection_1; case "mk": return B.WidgetsLocalizationMk_TextDirection_1; case "ml": return B.WidgetsLocalizationMl_TextDirection_1; case "mn": return B.WidgetsLocalizationMn_TextDirection_1; case "mr": return B.WidgetsLocalizationMr_TextDirection_1; case "ms": return B.WidgetsLocalizationMs_TextDirection_1; case "my": return B.WidgetsLocalizationMy_TextDirection_1; case "nb": return B.WidgetsLocalizationNb_TextDirection_1; case "ne": return B.WidgetsLocalizationNe_TextDirection_1; case "nl": return B.WidgetsLocalizationNl_TextDirection_1; case "no": return B.WidgetsLocalizationNo_TextDirection_1; case "or": return B.WidgetsLocalizationOr_TextDirection_1; case "pa": return B.WidgetsLocalizationPa_TextDirection_1; case "pl": return B.WidgetsLocalizationPl_TextDirection_1; case "ps": return B.WidgetsLocalizationPs_TextDirection_0; case "pt": switch (locale.get$countryCode()) { case "PT": return B.WidgetsLocalizationPtPt_TextDirection_1; } return B.WidgetsLocalizationPt_TextDirection_1; case "ro": return B.WidgetsLocalizationRo_TextDirection_1; case "ru": return B.WidgetsLocalizationRu_TextDirection_1; case "si": return B.WidgetsLocalizationSi_TextDirection_1; case "sk": return B.WidgetsLocalizationSk_TextDirection_1; case "sl": return B.WidgetsLocalizationSl_TextDirection_1; case "sq": return B.WidgetsLocalizationSq_TextDirection_1; case "sr": switch (null) { case "Cyrl": return B.WidgetsLocalizationSrCyrl_TextDirection_1; case "Latn": return B.WidgetsLocalizationSrLatn_TextDirection_1; } return B.WidgetsLocalizationSr_TextDirection_1; case "sv": return B.WidgetsLocalizationSv_TextDirection_1; case "sw": return B.WidgetsLocalizationSw_TextDirection_1; case "ta": return B.WidgetsLocalizationTa_TextDirection_1; case "te": return B.WidgetsLocalizationTe_TextDirection_1; case "th": return B.WidgetsLocalizationTh_TextDirection_1; case "tl": return B.WidgetsLocalizationTl_TextDirection_1; case "tr": return B.WidgetsLocalizationTr_TextDirection_1; case "uk": return B.WidgetsLocalizationUk_TextDirection_1; case "ur": return B.WidgetsLocalizationUr_TextDirection_0; case "uz": return B.WidgetsLocalizationUz_TextDirection_1; case "vi": return B.WidgetsLocalizationVi_TextDirection_1; case "zh": switch (null) { case "Hans": return B.WidgetsLocalizationZhHans_TextDirection_1; case "Hant": switch (locale.get$countryCode()) { case "HK": return B.WidgetsLocalizationZhHantHk_TextDirection_1; case "TW": return B.WidgetsLocalizationZhHantTw_TextDirection_1; } return B.WidgetsLocalizationZhHant_TextDirection_1; } switch (locale.get$countryCode()) { case "HK": return B.WidgetsLocalizationZhHantHk_TextDirection_1; case "TW": return B.WidgetsLocalizationZhHantTw_TextDirection_1; } return B.WidgetsLocalizationZh_TextDirection_1; case "zu": return B.WidgetsLocalizationZu_TextDirection_1; } return null; }, WidgetsLocalizationAf: function WidgetsLocalizationAf(t0) { this.textDirection = t0; }, WidgetsLocalizationAm: function WidgetsLocalizationAm(t0) { this.textDirection = t0; }, WidgetsLocalizationAr: function WidgetsLocalizationAr(t0) { this.textDirection = t0; }, WidgetsLocalizationAs: function WidgetsLocalizationAs(t0) { this.textDirection = t0; }, WidgetsLocalizationAz: function WidgetsLocalizationAz(t0) { this.textDirection = t0; }, WidgetsLocalizationBe: function WidgetsLocalizationBe(t0) { this.textDirection = t0; }, WidgetsLocalizationBg: function WidgetsLocalizationBg(t0) { this.textDirection = t0; }, WidgetsLocalizationBn: function WidgetsLocalizationBn(t0) { this.textDirection = t0; }, WidgetsLocalizationBs: function WidgetsLocalizationBs(t0) { this.textDirection = t0; }, WidgetsLocalizationCa: function WidgetsLocalizationCa(t0) { this.textDirection = t0; }, WidgetsLocalizationCs: function WidgetsLocalizationCs(t0) { this.textDirection = t0; }, WidgetsLocalizationCy: function WidgetsLocalizationCy(t0) { this.textDirection = t0; }, WidgetsLocalizationDa: function WidgetsLocalizationDa(t0) { this.textDirection = t0; }, WidgetsLocalizationDe: function WidgetsLocalizationDe(t0) { this.textDirection = t0; }, WidgetsLocalizationDeCh: function WidgetsLocalizationDeCh(t0) { this.textDirection = t0; }, WidgetsLocalizationEl: function WidgetsLocalizationEl(t0) { this.textDirection = t0; }, WidgetsLocalizationEn: function WidgetsLocalizationEn(t0) { this.textDirection = t0; }, WidgetsLocalizationEnAu: function WidgetsLocalizationEnAu(t0) { this.textDirection = t0; }, WidgetsLocalizationEnCa: function WidgetsLocalizationEnCa(t0) { this.textDirection = t0; }, WidgetsLocalizationEnGb: function WidgetsLocalizationEnGb(t0) { this.textDirection = t0; }, WidgetsLocalizationEnIe: function WidgetsLocalizationEnIe(t0) { this.textDirection = t0; }, WidgetsLocalizationEnIn: function WidgetsLocalizationEnIn(t0) { this.textDirection = t0; }, WidgetsLocalizationEnNz: function WidgetsLocalizationEnNz(t0) { this.textDirection = t0; }, WidgetsLocalizationEnSg: function WidgetsLocalizationEnSg(t0) { this.textDirection = t0; }, WidgetsLocalizationEnZa: function WidgetsLocalizationEnZa(t0) { this.textDirection = t0; }, WidgetsLocalizationEs: function WidgetsLocalizationEs(t0) { this.textDirection = t0; }, WidgetsLocalizationEs419: function WidgetsLocalizationEs419(t0) { this.textDirection = t0; }, WidgetsLocalizationEsAr: function WidgetsLocalizationEsAr(t0) { this.textDirection = t0; }, WidgetsLocalizationEsBo: function WidgetsLocalizationEsBo(t0) { this.textDirection = t0; }, WidgetsLocalizationEsCl: function WidgetsLocalizationEsCl(t0) { this.textDirection = t0; }, WidgetsLocalizationEsCo: function WidgetsLocalizationEsCo(t0) { this.textDirection = t0; }, WidgetsLocalizationEsCr: function WidgetsLocalizationEsCr(t0) { this.textDirection = t0; }, WidgetsLocalizationEsDo: function WidgetsLocalizationEsDo(t0) { this.textDirection = t0; }, WidgetsLocalizationEsEc: function WidgetsLocalizationEsEc(t0) { this.textDirection = t0; }, WidgetsLocalizationEsGt: function WidgetsLocalizationEsGt(t0) { this.textDirection = t0; }, WidgetsLocalizationEsHn: function WidgetsLocalizationEsHn(t0) { this.textDirection = t0; }, WidgetsLocalizationEsMx: function WidgetsLocalizationEsMx(t0) { this.textDirection = t0; }, WidgetsLocalizationEsNi: function WidgetsLocalizationEsNi(t0) { this.textDirection = t0; }, WidgetsLocalizationEsPa: function WidgetsLocalizationEsPa(t0) { this.textDirection = t0; }, WidgetsLocalizationEsPe: function WidgetsLocalizationEsPe(t0) { this.textDirection = t0; }, WidgetsLocalizationEsPr: function WidgetsLocalizationEsPr(t0) { this.textDirection = t0; }, WidgetsLocalizationEsPy: function WidgetsLocalizationEsPy(t0) { this.textDirection = t0; }, WidgetsLocalizationEsSv: function WidgetsLocalizationEsSv(t0) { this.textDirection = t0; }, WidgetsLocalizationEsUs: function WidgetsLocalizationEsUs(t0) { this.textDirection = t0; }, WidgetsLocalizationEsUy: function WidgetsLocalizationEsUy(t0) { this.textDirection = t0; }, WidgetsLocalizationEsVe: function WidgetsLocalizationEsVe(t0) { this.textDirection = t0; }, WidgetsLocalizationEt: function WidgetsLocalizationEt(t0) { this.textDirection = t0; }, WidgetsLocalizationEu: function WidgetsLocalizationEu(t0) { this.textDirection = t0; }, WidgetsLocalizationFa: function WidgetsLocalizationFa(t0) { this.textDirection = t0; }, WidgetsLocalizationFi: function WidgetsLocalizationFi(t0) { this.textDirection = t0; }, WidgetsLocalizationFil: function WidgetsLocalizationFil(t0) { this.textDirection = t0; }, WidgetsLocalizationFr: function WidgetsLocalizationFr(t0) { this.textDirection = t0; }, WidgetsLocalizationFrCa: function WidgetsLocalizationFrCa(t0) { this.textDirection = t0; }, WidgetsLocalizationGl: function WidgetsLocalizationGl(t0) { this.textDirection = t0; }, WidgetsLocalizationGsw: function WidgetsLocalizationGsw(t0) { this.textDirection = t0; }, WidgetsLocalizationGu: function WidgetsLocalizationGu(t0) { this.textDirection = t0; }, WidgetsLocalizationHe: function WidgetsLocalizationHe(t0) { this.textDirection = t0; }, WidgetsLocalizationHi: function WidgetsLocalizationHi(t0) { this.textDirection = t0; }, WidgetsLocalizationHr: function WidgetsLocalizationHr(t0) { this.textDirection = t0; }, WidgetsLocalizationHu: function WidgetsLocalizationHu(t0) { this.textDirection = t0; }, WidgetsLocalizationHy: function WidgetsLocalizationHy(t0) { this.textDirection = t0; }, WidgetsLocalizationId: function WidgetsLocalizationId(t0) { this.textDirection = t0; }, WidgetsLocalizationIs: function WidgetsLocalizationIs(t0) { this.textDirection = t0; }, WidgetsLocalizationIt: function WidgetsLocalizationIt(t0) { this.textDirection = t0; }, WidgetsLocalizationJa: function WidgetsLocalizationJa(t0) { this.textDirection = t0; }, WidgetsLocalizationKa: function WidgetsLocalizationKa(t0) { this.textDirection = t0; }, WidgetsLocalizationKk: function WidgetsLocalizationKk(t0) { this.textDirection = t0; }, WidgetsLocalizationKm: function WidgetsLocalizationKm(t0) { this.textDirection = t0; }, WidgetsLocalizationKn: function WidgetsLocalizationKn(t0) { this.textDirection = t0; }, WidgetsLocalizationKo: function WidgetsLocalizationKo(t0) { this.textDirection = t0; }, WidgetsLocalizationKy: function WidgetsLocalizationKy(t0) { this.textDirection = t0; }, WidgetsLocalizationLo: function WidgetsLocalizationLo(t0) { this.textDirection = t0; }, WidgetsLocalizationLt: function WidgetsLocalizationLt(t0) { this.textDirection = t0; }, WidgetsLocalizationLv: function WidgetsLocalizationLv(t0) { this.textDirection = t0; }, WidgetsLocalizationMk: function WidgetsLocalizationMk(t0) { this.textDirection = t0; }, WidgetsLocalizationMl: function WidgetsLocalizationMl(t0) { this.textDirection = t0; }, WidgetsLocalizationMn: function WidgetsLocalizationMn(t0) { this.textDirection = t0; }, WidgetsLocalizationMr: function WidgetsLocalizationMr(t0) { this.textDirection = t0; }, WidgetsLocalizationMs: function WidgetsLocalizationMs(t0) { this.textDirection = t0; }, WidgetsLocalizationMy: function WidgetsLocalizationMy(t0) { this.textDirection = t0; }, WidgetsLocalizationNb: function WidgetsLocalizationNb(t0) { this.textDirection = t0; }, WidgetsLocalizationNe: function WidgetsLocalizationNe(t0) { this.textDirection = t0; }, WidgetsLocalizationNl: function WidgetsLocalizationNl(t0) { this.textDirection = t0; }, WidgetsLocalizationNo: function WidgetsLocalizationNo(t0) { this.textDirection = t0; }, WidgetsLocalizationOr: function WidgetsLocalizationOr(t0) { this.textDirection = t0; }, WidgetsLocalizationPa: function WidgetsLocalizationPa(t0) { this.textDirection = t0; }, WidgetsLocalizationPl: function WidgetsLocalizationPl(t0) { this.textDirection = t0; }, WidgetsLocalizationPs: function WidgetsLocalizationPs(t0) { this.textDirection = t0; }, WidgetsLocalizationPt: function WidgetsLocalizationPt(t0) { this.textDirection = t0; }, WidgetsLocalizationPtPt: function WidgetsLocalizationPtPt(t0) { this.textDirection = t0; }, WidgetsLocalizationRo: function WidgetsLocalizationRo(t0) { this.textDirection = t0; }, WidgetsLocalizationRu: function WidgetsLocalizationRu(t0) { this.textDirection = t0; }, WidgetsLocalizationSi: function WidgetsLocalizationSi(t0) { this.textDirection = t0; }, WidgetsLocalizationSk: function WidgetsLocalizationSk(t0) { this.textDirection = t0; }, WidgetsLocalizationSl: function WidgetsLocalizationSl(t0) { this.textDirection = t0; }, WidgetsLocalizationSq: function WidgetsLocalizationSq(t0) { this.textDirection = t0; }, WidgetsLocalizationSr: function WidgetsLocalizationSr(t0) { this.textDirection = t0; }, WidgetsLocalizationSrCyrl: function WidgetsLocalizationSrCyrl(t0) { this.textDirection = t0; }, WidgetsLocalizationSrLatn: function WidgetsLocalizationSrLatn(t0) { this.textDirection = t0; }, WidgetsLocalizationSv: function WidgetsLocalizationSv(t0) { this.textDirection = t0; }, WidgetsLocalizationSw: function WidgetsLocalizationSw(t0) { this.textDirection = t0; }, WidgetsLocalizationTa: function WidgetsLocalizationTa(t0) { this.textDirection = t0; }, WidgetsLocalizationTe: function WidgetsLocalizationTe(t0) { this.textDirection = t0; }, WidgetsLocalizationTh: function WidgetsLocalizationTh(t0) { this.textDirection = t0; }, WidgetsLocalizationTl: function WidgetsLocalizationTl(t0) { this.textDirection = t0; }, WidgetsLocalizationTr: function WidgetsLocalizationTr(t0) { this.textDirection = t0; }, WidgetsLocalizationUk: function WidgetsLocalizationUk(t0) { this.textDirection = t0; }, WidgetsLocalizationUr: function WidgetsLocalizationUr(t0) { this.textDirection = t0; }, WidgetsLocalizationUz: function WidgetsLocalizationUz(t0) { this.textDirection = t0; }, WidgetsLocalizationVi: function WidgetsLocalizationVi(t0) { this.textDirection = t0; }, WidgetsLocalizationZh: function WidgetsLocalizationZh(t0) { this.textDirection = t0; }, WidgetsLocalizationZhHans: function WidgetsLocalizationZhHans(t0) { this.textDirection = t0; }, WidgetsLocalizationZhHant: function WidgetsLocalizationZhHant(t0) { this.textDirection = t0; }, WidgetsLocalizationZhHantHk: function WidgetsLocalizationZhHantHk(t0) { this.textDirection = t0; }, WidgetsLocalizationZhHantTw: function WidgetsLocalizationZhHantTw(t0) { this.textDirection = t0; }, WidgetsLocalizationZu: function WidgetsLocalizationZu(t0) { this.textDirection = t0; }, _get24HourVersionOf(original) { switch (original.index) { case 0: case 1: case 2: case 3: return original; case 4: case 5: return B.TimeOfDayFormat_0; } }, GlobalMaterialLocalizations: function GlobalMaterialLocalizations() { }, _MaterialLocalizationsDelegate0: function _MaterialLocalizationsDelegate0() { }, _MaterialLocalizationsDelegate_load_closure: function _MaterialLocalizationsDelegate_load_closure(t0) { this.locale = t0; }, loadDateIntlDataIfNotLoaded() { if (!$._dateIntlDataInitialized) { $.$get$dateSymbols().forEach$1(0, new A.loadDateIntlDataIfNotLoaded_closure()); $._dateIntlDataInitialized = true; } }, loadDateIntlDataIfNotLoaded_closure: function loadDateIntlDataIfNotLoaded_closure() { }, GlobalWidgetsLocalizations: function GlobalWidgetsLocalizations() { }, _WidgetsLocalizationsDelegate0: function _WidgetsLocalizationsDelegate0() { }, _WidgetsLocalizationsDelegate_load_closure: function _WidgetsLocalizationsDelegate_load_closure(t0) { this.locale = t0; }, StoreProvider_of(context, $S) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0($S._eval$1("StoreProvider<0>")); $S._eval$1("StoreProvider<0>?")._as(t1); if (t1 == null) throw A.wrapException(new A.StoreProviderError($S._eval$1("StoreProviderError<StoreProvider<0>>"))); return t1._store; }, StoreConnector$(builder, converter, onDidChange, onDispose, onInit, onInitialBuild, onWillChange, rebuildOnChange, $S, ViewModel) { return new A.StoreConnector(builder, converter, onInit, onDispose, true, onWillChange, onDidChange, onInitialBuild, null, $S._eval$1("@<0>")._bind$1(ViewModel)._eval$1("StoreConnector<1,2>")); }, StoreBuilder__identity(store) { return store; }, StoreBuilder$(builder, onInit, $S) { return new A.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_A = $; _._widget = _._latestError = _._latestValue = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _StoreStreamListenerState_build_closure: function _StoreStreamListenerState_build_closure(t0) { this.$this = t0; }, _StoreStreamListenerState__createStream_closure: function _StoreStreamListenerState__createStream_closure(t0) { this.$this = t0; }, StoreProviderError: function StoreProviderError(t0) { this.$ti = t0; }, ConverterError: function ConverterError(t0, t1) { this.error = t0; this.stackTrace = t1; }, ActionPaneConfiguration: function ActionPaneConfiguration(t0, t1, t2, t3, t4) { var _ = this; _.alignment = t0; _.direction = t1; _.isStartActionPane = t2; _.child = t3; _.key = t4; }, DrawerMotion: function DrawerMotion(t0) { this.key = t0; }, SlidableAction$(backgroundColor, foregroundColor, icon, label, onPressed) { return new A.SlidableAction(backgroundColor, foregroundColor, onPressed, icon, label, null); }, CustomSlidableAction: function CustomSlidableAction(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.flex = t0; _.backgroundColor = t1; _.foregroundColor = t2; _.autoClose = t3; _.onPressed = t4; _.borderRadius = t5; _.padding = t6; _.child = t7; _.key = t8; }, CustomSlidableAction_build_closure: function CustomSlidableAction_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, SlidableAction: function SlidableAction(t0, t1, t2, t3, t4, t5) { var _ = this; _.backgroundColor = t0; _.foregroundColor = t1; _.onPressed = t2; _.icon = t3; _.label = t4; _.key = t5; }, SlidableAction_build_closure: function SlidableAction_build_closure() { }, SlidableAutoCloseBehaviorInteractor: function SlidableAutoCloseBehaviorInteractor(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, SlidableAutoCloseNotification: function SlidableAutoCloseNotification(t0, t1, t2) { this.groupTag = t0; this.controller = t1; this.closeSelf = t2; }, SlidableAutoCloseInteractor: function SlidableAutoCloseInteractor(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, SlidableAutoCloseBehaviorListener: function SlidableAutoCloseBehaviorListener(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, SlidableAutoCloseBehaviorListener_build_closure: function SlidableAutoCloseBehaviorListener_build_closure(t0) { this.$this = t0; }, SlidableAutoCloseNotificationSender: function SlidableAutoCloseNotificationSender(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, SlidableAutoCloseNotificationSender_build_closure: function SlidableAutoCloseNotificationSender_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, SlidableAutoCloseBarrierNotification: function SlidableAutoCloseBarrierNotification(t0, t1, t2) { this.groupTag = t0; this.controller = t1; this.enabled = t2; }, SlidableAutoCloseBarrierInteractor: function SlidableAutoCloseBarrierInteractor(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, SlidableAutoCloseBarrierNotificationSender: function SlidableAutoCloseBarrierNotificationSender(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, _SlidableAutoCloseBarrierNotificationSenderState: function _SlidableAutoCloseBarrierNotificationSenderState(t0) { var _ = this; _._widget = _.dispatcher = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SlidableAutoCloseBarrierNotificationSenderState_dispose_closure: function _SlidableAutoCloseBarrierNotificationSenderState_dispose_closure(t0) { this.$this = t0; }, SlidableAutoCloseBarrierBehaviorListener: function SlidableAutoCloseBarrierBehaviorListener(t0, t1, t2, t3) { var _ = this; _.groupTag = t0; _.controller = t1; _.child = t2; _.key = t3; }, _SlidableAutoCloseBarrierBehaviorListenerState: function _SlidableAutoCloseBarrierBehaviorListenerState(t0) { var _ = this; _.absorbing = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SlidableAutoCloseBarrierBehaviorListenerState_build_closure: function _SlidableAutoCloseBarrierBehaviorListenerState_build_closure(t0) { this.$this = t0; }, _SlidableNotificationSender: function _SlidableNotificationSender(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.onStatusChanged = t1; _.child = t2; _.enabled = t3; _.key = t4; }, _SlidableNotificationSenderState0: function _SlidableNotificationSenderState0(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, SlidableController$(vsync) { var _null = null, t1 = A.AnimationController$(_null, _null, _null, 1, _null, vsync), t2 = $.$get$ChangeNotifier__emptyListeners(), t3 = new A.ValueNotifier(0, t2, type$.ValueNotifier_int); t2 = new A.SlidableController(t1, new A._ValueNotifier(_null, t2, type$._ValueNotifier_nullable_DismissGesture), new A.ValueNotifier(_null, t2, type$.ValueNotifier_nullable_EndGesture), new A.ValueNotifier(_null, t2, type$.ValueNotifier_nullable_ResizeRequest), new A.ValueNotifier(B.ActionPaneType_1, t2, type$.ValueNotifier_ActionPaneType), t3); t3.addListener$1(0, t2.get$_onDirectionChanged()); return t2; }, ActionPaneType: function ActionPaneType(t0, t1) { this.index = t0; this._core$_name = t1; }, GestureDirection: function GestureDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, EndGesture: function EndGesture() { }, OpeningGesture: function OpeningGesture() { }, ClosingGesture: function ClosingGesture() { }, StillGesture: function StillGesture(t0) { this.direction = t0; }, SlidableController: function SlidableController(t0, t1, t2, t3, t4, t5) { var _ = this; _._animationController = t0; _._dismissGesture = t1; _.isLeftToRight = _.enableEndActionPane = _.enableStartActionPane = true; _._endActionPaneExtentRatio = _._startActionPaneExtentRatio = 0; _._actionPaneConfigurator = null; _._replayEndGesture = false; _.endGesture = t2; _.resizeRequest = t3; _.actionPaneType = t4; _.direction = t5; _._closing = false; }, _ValueNotifier: function _ValueNotifier(t0, t1, t2) { var _ = this; _._change_notifier$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _.$ti = t2; }, SlidableDismissal: function SlidableDismissal(t0, t1, t2, t3) { var _ = this; _.axis = t0; _.child = t1; _.controller = t2; _.key = t3; }, _SlidableDismissalState: function _SlidableDismissalState(t0, t1, t2) { var _ = this; _.resized = false; _.___SlidableDismissalState_resizeAnimation_A = _.___SlidableDismissalState_animationController_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _SlidableDismissalState_handleResizeRequestChanged_closure: function _SlidableDismissalState_handleResizeRequestChanged_closure(t0) { this.resizeRequest = t0; }, _SlidableDismissalState_handleResizeRequestChanged_closure0: function _SlidableDismissalState_handleResizeRequestChanged_closure0(t0) { this.$this = t0; }, _SizeTransition: function _SizeTransition(t0, t1, t2, t3) { var _ = this; _.axis = t0; _.child = t1; _.listenable = t2; _.key = t3; }, __SlidableDismissalState_State_SingleTickerProviderStateMixin: function __SlidableDismissalState_State_SingleTickerProviderStateMixin() { }, FlexEntranceTransition: function FlexEntranceTransition(t0, t1, t2, t3, t4) { var _ = this; _.direction = t0; _.startToEnd = t1; _.mainAxisPosition = t2; _.children = t3; _.key = t4; }, _FlexEntranceTransitionParentData: function _FlexEntranceTransitionParentData(t0, t1, t2) { var _ = this; _.fit = _.flex = _.mainAxisPosition = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, _RenderFlexEntranceTransition: function _RenderFlexEntranceTransition(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._flex_entrance_transition$_direction = t0; _._startToEnd = t1; _._mainAxisPosition = t2; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderFlexEntranceTransition_getTotalFlex_closure: function _RenderFlexEntranceTransition_getTotalFlex_closure(t0) { this._box_0 = t0; }, _RenderFlexEntranceTransition_performLayout_closure: function _RenderFlexEntranceTransition_performLayout_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.totalFlex = t2; }, _RenderFlexEntranceTransition_hitTestChildren_closure: function _RenderFlexEntranceTransition_hitTestChildren_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.childParentData = t2; }, __RenderFlexEntranceTransition_RenderBox_ContainerRenderObjectMixin: function __RenderFlexEntranceTransition_RenderBox_ContainerRenderObjectMixin() { }, __RenderFlexEntranceTransition_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function __RenderFlexEntranceTransition_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, SlidableGestureDetector: function SlidableGestureDetector(t0, t1, t2, t3, t4, t5) { var _ = this; _.controller = t0; _.child = t1; _.direction = t2; _.enabled = t3; _.dragStartBehavior = t4; _.key = t5; }, _SlidableGestureDetectorState: function _SlidableGestureDetectorState(t0) { var _ = this; _.dragExtent = 0; _.___SlidableGestureDetectorState_lastPosition_A = _.___SlidableGestureDetectorState_startPosition_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, SlidableGroupNotification_createDispatcher(context, assertParentExists, $T) { var t1 = context.getElementForInheritedWidgetOfExactType$1$0($T._eval$1("_InheritedSlidableNotification<0>")); if (t1 == null) t1 = null; else { t1 = t1._widget; t1.toString; } $T._eval$1("_InheritedSlidableNotification<0>?")._as(t1); return null; }, SlidableGroupNotification_dispatch(context, notification, assertParentExists, $T) { var dispatcher = A.SlidableGroupNotification_createDispatcher(context, false, $T); if (dispatcher != null) dispatcher.dispatch$1(notification); }, SlidableGroupBehaviorListener: function SlidableGroupBehaviorListener(t0, t1, t2, t3) { var _ = this; _.onNotification = t0; _.child = t1; _.key = t2; _.$ti = t3; }, _SlidableGroupBehaviorListenerState: function _SlidableGroupBehaviorListenerState(t0, t1) { var _ = this; _._widget = _.notifier = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, SlidableNotificationSender: function SlidableNotificationSender(t0, t1, t2, t3) { var _ = this; _.tag = t0; _.controller = t1; _.child = t2; _.key = t3; }, _SlidableNotificationSenderState: function _SlidableNotificationSenderState(t0) { var _ = this; _._widget = _.listenerState = null; _._debugLifecycleState = t0; _._framework$_element = null; }, SlidableScrollingBehavior: function SlidableScrollingBehavior(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.closeOnScroll = t1; _.child = t2; _.key = t3; }, _SlidableScrollingBehaviorState: function _SlidableScrollingBehaviorState(t0) { var _ = this; _._widget = _.scrollPosition = null; _._debugLifecycleState = t0; _._framework$_element = null; }, ActionPane$(children, motion) { return new A.ActionPane(motion, children, null); }, Slidable_of(context) { var t1 = context.getElementForInheritedWidgetOfExactType$1$0(type$._SlidableControllerScope); if (t1 == null) t1 = null; else { t1 = t1._widget; t1.toString; } type$.nullable__SlidableControllerScope._as(t1); return t1 == null ? null : t1.controller; }, ActionPaneData: function ActionPaneData(t0, t1, t2, t3) { var _ = this; _.extentRatio = t0; _.direction = t1; _.fromStart = t2; _.children = t3; }, ActionPane: function ActionPane(t0, t1, t2) { this.motion = t0; this.children = t1; this.key = t2; }, _ActionPaneState: function _ActionPaneState(t0) { var _ = this; _.controller = null; _.___ActionPaneState_closeThreshold_A = _.___ActionPaneState_openThreshold_A = $; _.showMotion = true; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ActionPaneState_handleRatioChanged_closure: function _ActionPaneState_handleRatioChanged_closure(t0, t1) { this.$this = t0; this.show = t1; }, _ActionPaneScope: function _ActionPaneScope(t0, t1, t2) { this.actionPaneData = t0; this.child = t1; this.key = t2; }, Slidable: function Slidable(t0, t1, t2, t3) { var _ = this; _.startActionPane = t0; _.endActionPane = t1; _.child = t2; _.key = t3; }, _SlidableState: function _SlidableState(t0, t1, t2, t3) { var _ = this; _.___SlidableState_moveAnimation_A = _.___SlidableState_controller_F = $; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _SlidableState_handleActionPanelTypeChanged_closure: function _SlidableState_handleActionPanelTypeChanged_closure(t0) { this.$this = t0; }, _SlidableControllerScope: function _SlidableControllerScope(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, _SlidableClipper: function _SlidableClipper(t0, t1, t2) { this.axis = t0; this.controller = t1; this._reclip = t2; }, __SlidableState_State_TickerProviderStateMixin: function __SlidableState_State_TickerProviderStateMixin() { }, __SlidableState_State_TickerProviderStateMixin_AutomaticKeepAliveClientMixin: function __SlidableState_State_TickerProviderStateMixin_AutomaticKeepAliveClientMixin() { }, _findBestCandidate(offsets, crossAxisCount) { var bestCandidate, i, offset, t1, start, span, j, $length = offsets.length; for (bestCandidate = B._TileOrigin_Sng, i = 0; i < $length; ++i) { offset = offsets[i]; t1 = bestCandidate.mainAxisOffset; if (t1 < offset || Math.abs(t1 - offset) < 1e-10) continue; start = 0; span = 0; j = 0; while (true) { if (!(span < crossAxisCount && j < $length && $length - j >= crossAxisCount - span)) break; t1 = offsets[j]; if (t1 < offset || Math.abs(t1 - offset) < 1e-10) { ++span; if (span === crossAxisCount) bestCandidate = new A._TileOrigin(start, offset); } else { start = j + 1; span = 0; } ++j; } } return bestCandidate; }, _dryLayoutChild(child, constraints, parentUsesSize) { child.getDryLayout$1(constraints); }, _layoutChild(child, constraints, parentUsesSize) { child.layout$2$parentUsesSize(constraints, parentUsesSize); }, StaggeredGridParentData: function StaggeredGridParentData(t0, t1, t2) { var _ = this; _._realMainAxisExtent = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, StaggeredGridDelegate: function StaggeredGridDelegate() { }, StaggeredGridDelegateWithFixedCrossAxisCount: function StaggeredGridDelegateWithFixedCrossAxisCount(t0) { this.crossAxisCount = t0; }, RenderStaggeredGrid: function RenderStaggeredGrid(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._staggered_grid$_delegate = t0; _._mainAxisSpacing = t1; _._crossAxisSpacing = t2; _._staggered_grid$_axisDirection = t3; _._staggered_grid$_textDirection = t4; _._staggered_grid$_hasVisualOverflow = false; _.ContainerRenderObjectMixin__childCount = t5; _.ContainerRenderObjectMixin__firstChild = t6; _.ContainerRenderObjectMixin__lastChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderStaggeredGrid__computeSize_computeCrossAxisCellCount: function RenderStaggeredGrid__computeSize_computeCrossAxisCellCount() { }, _TileOrigin: function _TileOrigin(t0, t1) { this.crossAxisIndex = t0; this.mainAxisOffset = t1; }, _RenderStaggeredGrid_RenderBox_ContainerRenderObjectMixin: function _RenderStaggeredGrid_RenderBox_ContainerRenderObjectMixin() { }, _RenderStaggeredGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderStaggeredGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, StaggeredGrid: function StaggeredGrid(t0, t1, t2, t3, t4, t5) { var _ = this; _.delegate = t0; _.mainAxisSpacing = t1; _.crossAxisSpacing = t2; _.axisDirection = t3; _.children = t4; _.key = t5; }, CustomSizeTransition$(alignment, axis, axisAlignment, child, sizeFactor) { return new A.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; }, showToast(msg) { var textPadding, backgroundColor, borderRadius, shapeBorder, textDirection, textAlign, _null = null, context = $.currentContext, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.StyledToastTheme), textStyle = t1 == null ? _null : t1.textStyle; if (textStyle == null) textStyle = B.TextStyle_etK; textPadding = t1 == null ? _null : t1.textPadding; if (textPadding == null) textPadding = B.EdgeInsets_17_10_17_10; backgroundColor = t1 == null ? _null : t1.backgroundColor; if (backgroundColor == null) backgroundColor = B.Color_2566914048; borderRadius = t1 == null ? _null : t1.borderRadius; if (borderRadius == null) borderRadius = A.BorderRadius$circular(5); shapeBorder = new A.RoundedRectangleBorder(borderRadius, B.BorderSide_8xm); textDirection = t1 == null ? _null : t1.textDirection; if (textDirection == null) textDirection = B.TextDirection_1; textAlign = t1 == null ? _null : t1.textAlign; if (textAlign == null) textAlign = B.TextAlign_2; t1 = _null; return A.showToastWidget(A.Container$(_null, A.Text$(msg, _null, _null, _null, _null, _null, textStyle, textAlign, _null, _null), B.Clip_0, _null, _null, new A.ShapeDecoration(backgroundColor, _null, _null, _null, shapeBorder), _null, _null, _null, new A.EdgeInsets(50, 0, 50, 0), textPadding, _null, _null, t1), _null, _null, _null, _null, _null, context, _null, _null, _null, _null, _null, _null, _null, _null, B.C_StyledToastPosition, _null, _null, _null, _null, _null, _null, textDirection); }, showToastWidget(widget, alignment, animDuration, animation, animationBuilder, axis, context, curve, dismissOtherToast, duration, endOffset, isHideKeyboard, isIgnoring, onDismiss, onInitState, position, reverseAnimBuilder, reverseAnimation, reverseCurve, reverseEndOffset, reverseStartOffset, startOffset, textDirection) { var t2, t3, key, entry, future, _null = null, t1 = {}; t1.duration = duration; t1.animDuration = animDuration; t1.textDirection = textDirection; t1.alignment = alignment; t1.axis = axis; t1.startOffset = startOffset; t1.endOffset = endOffset; t1.reverseStartOffset = reverseStartOffset; t1.reverseEndOffset = reverseEndOffset; t1.position = position; t1.animation = animation; t1.reverseAnimation = reverseAnimation; t1.curve = curve; t1.reverseCurve = reverseCurve; animationBuilder = t1.animationBuilder = animationBuilder; reverseAnimBuilder = t1.reverseAnimBuilder = reverseAnimBuilder; t1.isIgnoring = isIgnoring; onInitState = t1.onInitState = onInitState; if (context == null) context = $.currentContext; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.StyledToastTheme); duration = t2 == null ? _null : t2.duration; t1.duration = duration == null ? B.Duration_2300000 : duration; t1.animDuration = B.Duration_400000; t3 = t2 != null || _null; dismissOtherToast = t3 !== false; t1.alignment = B.Alignment_0_0; t1.axis = B.Axis_1; t1.startOffset = t2 == null ? _null : t2.startOffset; t1.endOffset = t2 == null ? _null : t2.endOffset; t1.reverseStartOffset = t2 == null ? _null : t2.reverseStartOffset; t1.reverseEndOffset = t2 == null ? _null : t2.reverseEndOffset; t1.curve = B.C__Linear; t1.reverseCurve = B.C__Linear; t1.animation = B.StyledToastAnimation_18; t1.reverseAnimation = B.StyledToastAnimation_18; animationBuilder = t2 == null ? _null : t2.animationBuilder; t1.animationBuilder = animationBuilder; reverseAnimBuilder = t2 == null ? _null : t2.reverseAnimBuilder; t1.reverseAnimBuilder = reverseAnimBuilder; onInitState = t2 == null ? _null : t2.onInitState; t1.onInitState = onInitState; onDismiss = t2 == null ? _null : t2.onDismiss; t2 = t2 != null || _null; t1.isIgnoring = t2 !== false; key = new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_StyledToastWidgetState); entry = A.OverlayEntry$(new A.showToastWidget_closure(t1, key, widget), false, false); if (dismissOtherToast) { t2 = $.ToastManager__instance; (t2 == null ? $.ToastManager__instance = new A.ToastManager(A.LinkedHashSet_LinkedHashSet$_empty(type$.ToastFuture)) : t2).dismissAll$1$showAnim(false); } future = A.ToastFuture$create(t1.duration, entry, onDismiss, key); t1 = A.LookupBoundary_findAncestorStateOfType(context, type$.OverlayState); t1.insert$1(0, entry); t1 = $.ToastManager__instance; (t1 == null ? $.ToastManager__instance = new A.ToastManager(A.LinkedHashSet_LinkedHashSet$_empty(type$.ToastFuture)) : t1).toastSet.add$1(0, future); return future; }, showToastWidget_closure: function showToastWidget_closure(t0, t1, t2) { this._box_0 = t0; this.key = t1; this.widget = t2; }, StyledToast: function StyledToast(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.backgroundColor = t1; _.textStyle = t2; _.duration = t3; _.locale = t4; _.key = t5; }, _StyledToastState: function _StyledToastState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _StyledToastState_build_closure: function _StyledToastState_build_closure(t0) { this.$this = t0; }, _StyledToastWidget: function _StyledToastWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.child = t0; _.duration = t1; _.animDuration = t2; _.curve = t3; _.reverseCurve = t4; _.position = t5; _.alignment = t6; _.axis = t7; _.startOffset = t8; _.endOffset = t9; _.reverseStartOffset = t10; _.reverseEndOffset = t11; _.animation = t12; _.reverseAnimation = t13; _.animationBuilder = t14; _.reverseAnimBuilder = t15; _.onInitState = t16; _.key = t17; }, StyledToastWidgetState: function StyledToastWidgetState(t0, t1, t2) { var _ = this; _.__StyledToastWidgetState_rotateAnimReverse_A = _.__StyledToastWidgetState_slideToRightAnimReverse_A = _.__StyledToastWidgetState_slideToLeftAnimReverse_A = _.__StyledToastWidgetState_slideToBottomAnimReverse_A = _.__StyledToastWidgetState_slideToTopAnimReverse_A = _.__StyledToastWidgetState_sizeAnimReverse_A = _.__StyledToastWidgetState_scaleAnimReverse_A = _.__StyledToastWidgetState_fadeAnimReverse_A = _.__StyledToastWidgetState_rotateAnim_A = _.__StyledToastWidgetState_slideFromRightAnim_A = _.__StyledToastWidgetState_slideFromLeftAnim_A = _.__StyledToastWidgetState_slideFromBottomAnim_A = _.__StyledToastWidgetState_slideFromTopAnim_A = _.__StyledToastWidgetState_sizeAnim_A = _.__StyledToastWidgetState_scaleAnim_A = _.__StyledToastWidgetState_fadeAnim_A = _.__StyledToastWidgetState__reverseAnimController_A = _.__StyledToastWidgetState__animationController_A = $; _.opacity = 1; _._toastTimer = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, StyledToastWidgetState_initState_closure: function StyledToastWidgetState_initState_closure(t0) { this.$this = t0; }, StyledToastWidgetState_dismissToast_closure: function StyledToastWidgetState_dismissToast_closure(t0) { this.$this = t0; }, StyledToastWidgetState_didChangeMetrics_closure: function StyledToastWidgetState_didChangeMetrics_closure() { }, _StyledToastWidgetState_State_TickerProviderStateMixin: function _StyledToastWidgetState_State_TickerProviderStateMixin() { }, _StyledToastWidgetState_State_TickerProviderStateMixin_WidgetsBindingObserver: function _StyledToastWidgetState_State_TickerProviderStateMixin_WidgetsBindingObserver() { }, StyledToastPosition: function StyledToastPosition() { }, StyledToastAnimation: function StyledToastAnimation(t0, t1) { this.index = t0; this._core$_name = t1; }, ToastFuture$create(duration, _entry, _onDismiss, _containerKey) { var t1 = new A.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; }, 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) { var _ = this; _.textAlign = t0; _.textDirection = t1; _.borderRadius = t2; _.backgroundColor = t3; _.textPadding = t4; _.textStyle = t5; _.shapeBorder = t6; _.duration = t7; _.animDuration = t8; _.toastPositions = t9; _.alignment = t10; _.axis = t11; _.startOffset = t12; _.endOffset = t13; _.reverseStartOffset = t14; _.reverseEndOffset = t15; _.toastAnimation = t16; _.reverseAnimation = t17; _.curve = t18; _.reverseCurve = t19; _.dismissOtherOnShow = t20; _.onDismiss = t21; _.fullWidth = t22; _.isHideKeyboard = t23; _.animationBuilder = t24; _.reverseAnimBuilder = t25; _.isIgnoring = t26; _.onInitState = t27; _.child = t28; _.key = t29; }, Registrar: function Registrar() { }, Registrar_send_closure: function Registrar_send_closure(t0) { this.completer = t0; }, PluginRegistry: function PluginRegistry(t0) { this._plugin_registry$_handlers = t0; }, BuildInOrder: function BuildInOrder(t0, t1) { this.children = t0; this.key = t1; }, RenderBuildInOrder: function RenderBuildInOrder(t0, t1, t2, t3) { var _ = this; _.ContainerRenderObjectMixin__childCount = t0; _.ContainerRenderObjectMixin__firstChild = t1; _.ContainerRenderObjectMixin__lastChild = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderBuildInOrder_RenderBox_ContainerRenderObjectMixin: function _RenderBuildInOrder_RenderBox_ContainerRenderObjectMixin() { }, _RenderBuildInOrder_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderBuildInOrder_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, Follower$withOffset(child, followerAnchor, leaderAnchor, link, offset) { return new A.Follower(link, null, new A.StaticOffsetAligner(offset, leaderAnchor, followerAnchor), true, child, null); }, Follower$withAligner(aligner, boundary, child, link, showWhenUnlinked) { return new A.Follower(link, boundary, aligner, false, child, null); }, _extension_0_get_scaleInScreenSpace(_this) { return A.MatrixUtils_transformPoint(_this.getTransformTo$1(0, null), B.Offset_1_0).$sub(0, A.MatrixUtils_transformPoint(_this.getTransformTo$1(0, null), B.Offset_0_0))._dx; }, Follower: function Follower(t0, t1, t2, t3, t4, t5) { var _ = this; _.link = t0; _.boundary = t1; _.aligner = t2; _.showWhenUnlinked = t3; _.child = t4; _.key = t5; }, StaticOffsetAligner: function StaticOffsetAligner(t0, t1, t2) { this._follower$_offset = t0; this._follower$_leaderAnchor = t1; this._follower$_followerAnchor = t2; }, FunctionalAligner: function FunctionalAligner(t0) { this.delegate = t0; }, FollowerAlignment: function FollowerAlignment(t0, t1, t2) { this.leaderAnchor = t0; this.followerAnchor = t1; this.followerOffset = t2; }, ScreenFollowerBoundary: function ScreenFollowerBoundary(t0, t1) { this.screenSize = t0; this.devicePixelRatio = t1; }, WidgetFollowerBoundary: function WidgetFollowerBoundary(t0, t1) { this.boundaryKey = t0; this.devicePixelRatio = t1; }, RenderFollower: function RenderFollower(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._follower$_link = t0; _._boundary = t1; _._aligner = t2; _._follower$_showWhenUnlinked = t3; _._repaintWhenLeaderChanges = t4; _._showDebugPaint = t5; _._followerOffsetFromLeader = null; _._firstPaintOfCurrentLink = true; _.RenderObjectWithChildMixin__child = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderFollower_hitTestChildren_closure: function RenderFollower_hitTestChildren_closure(t0) { this.$this = t0; }, RenderFollower_paint_closure: function RenderFollower_paint_closure(t0) { this.$this = t0; }, RenderFollower_paint_closure0: function RenderFollower_paint_closure0(t0) { this.$this = t0; }, RenderFollower_paint_closure1: function RenderFollower_paint_closure1(t0) { this.$this = t0; }, FollowerLayer: function FollowerLayer(t0, t1, t2, t3) { var _ = this; _.boundary = _.aligner = _.calculateGlobalFollowerRect = _._follower$_link = null; _.showWhenUnlinked = true; _.unlinkedOffset = t0; _.linkedOffset = t1; _._invertedTransform = _._follower$_lastTransform = _._leaderHandle = _.followerSize = _.followerOffsetFromScreenOrigin = null; _._inverseDirty = true; _._lastChild = _._firstChild = null; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, FollowerFadeOutBeyondBoundary$(boundary, child, link) { return new A.FollowerFadeOutBeyondBoundary(link, boundary, child, null); }, FollowerFadeOutBeyondBoundary: function FollowerFadeOutBeyondBoundary(t0, t1, t2, t3) { var _ = this; _.link = t0; _.boundary = t1; _.child = t2; _.key = t3; }, FollowerFadeOutBeyondBoundary_build_closure: function FollowerFadeOutBeyondBoundary_build_closure(t0) { this.$this = t0; }, Leader$(child, link) { return new A.Leader(link, child, null); }, Leader: function Leader(t0, t1, t2) { this.link = t0; this.child = t1; this.key = t2; }, RenderLeader: function RenderLeader(t0, t1, t2) { var _ = this; _._leader$_link = t0; _._leader$_previousLayoutSize = _._recalculateGlobalOffset = null; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderLeader_paint_closure: function RenderLeader_paint_closure(t0) { this.$this = t0; }, LeaderLayer: function LeaderLayer(t0, t1, t2, t3) { var _ = this; _._leader$_link = t0; _._leader$_offset = t1; _._lastChild = _._firstChild = _._leader$_lastOffset = null; _._callbacks = t2; _._compositionCallbackCount = 0; _._layer$_debugDisposed = _._layer$_debugMutationsLocked = false; _._parentHandle = t3; _._refCount = 0; _._layer$_parent = null; _._needsAddToScene = true; _._layer$_owner = _._engineLayer = null; _._layer$_depth = 0; _.debugCreator = _._previousSibling = _._nextSibling = null; }, LeaderLink: function LeaderLink(t0, t1) { var _ = this; _._leaderSize = _._leader_link$_scale = _._leader_link$_offset = _.leaderContentBoundsInLeaderSpace = _.leaderToScreen = _._leader_link$_leader = null; _._connectedFollowers = 0; _._onFollowerTransformChangeListeners = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, LeaderLink_notifyListeners_closure: function LeaderLink_notifyListeners_closure(t0) { this.$this = t0; }, CustomLayerLinkHandle: function CustomLayerLinkHandle(t0) { this._leader_link$_link = t0; }, _LeaderLink_Object_ChangeNotifier: function _LeaderLink_Object_ChangeNotifier() { }, GoogleSignIn__waitFor(future) { var t1 = new A._Future($.Zone__current, type$._Future_void), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_void); future.whenComplete$1(completer.get$complete(completer)).catchError$1(new A.GoogleSignIn__waitFor_closure()); return t1; }, GoogleSignInAuthentication: function GoogleSignInAuthentication(t0) { this._google_sign_in$_data = t0; }, GoogleSignInAccount: function GoogleSignInAccount(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.displayName = t0; _.email = t1; _.id = t2; _.photoUrl = t3; _.serverAuthCode = t4; _._idToken = t5; _._googleSignIn = t6; }, GoogleSignIn: function GoogleSignIn(t0, t1) { var _ = this; _.scopes = t0; _._currentUserController = t1; _._currentUser = _._lastMethodCall = _._initialization = null; }, GoogleSignIn__ensureInitialized_closure: function GoogleSignIn__ensureInitialized_closure(t0) { this.$this = t0; }, GoogleSignIn__waitFor_closure: function GoogleSignIn__waitFor_closure() { }, GoogleSignIn__addMethodCall_closure: function GoogleSignIn__addMethodCall_closure(t0, t1, t2) { this.$this = t0; this.canSkipCall = t1; this.method = t2; }, GoogleSignIn_signIn_isCanceled: function GoogleSignIn_signIn_isCanceled() { }, GoogleSignIn_signIn_closure: function GoogleSignIn_signIn_closure() { }, GoogleSignInPlatform: function GoogleSignInPlatform() { }, MethodChannelGoogleSignIn: function MethodChannelGoogleSignIn() { }, MethodChannelGoogleSignIn_getTokens_closure: function MethodChannelGoogleSignIn_getTokens_closure() { }, SignInOption: function SignInOption(t0, t1) { this.index = t0; this._core$_name = t1; }, SignInInitParameters: function SignInInitParameters(t0, t1, t2, t3, t4, t5) { var _ = this; _.scopes = t0; _.signInOption = t1; _.hostedDomain = t2; _.clientId = t3; _.serverClientId = t4; _.forceCodeForRefreshToken = t5; }, GoogleSignInUserData: function GoogleSignInUserData(t0, t1, t2, t3, t4, t5) { var _ = this; _.displayName = t0; _.email = t1; _.id = t2; _.photoUrl = t3; _.idToken = t4; _.serverAuthCode = t5; }, GoogleSignInTokenData: function GoogleSignInTokenData(t0, t1, t2) { this.idToken = t0; this.accessToken = t1; this.serverAuthCode = t2; }, GoogleSignInPlugin$() { var t1 = $.$get$GoogleSignInPlatform__token(), t2 = new A.GoogleSignInPlugin(); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t2, t1); t2.GoogleSignInPlugin$0(); return t2; }, GoogleSignInPlugin: function GoogleSignInPlugin() { var _ = this; _.__GoogleSignInPlugin__isAuthInitialized_A = _.__GoogleSignInPlugin__isGapiInitialized_A = $; _._isInitCalled = false; _._autoDetectedClientId = null; }, GoogleSignInPlugin_closure: function GoogleSignInPlugin_closure() { }, GoogleSignInPlugin_initWithParams_closure: function GoogleSignInPlugin_initWithParams_closure(t0) { this.isAuthInitialized = t0; }, GoogleSignInPlugin_initWithParams_closure0: function GoogleSignInPlugin_initWithParams_closure0(t0) { this.isAuthInitialized = t0; }, LoadConfig: function LoadConfig() { }, GoogleAuthInitFailureError: function GoogleAuthInitFailureError() { }, GoogleAuthSignInError: function GoogleAuthSignInError() { }, OfflineAccessResponse: function OfflineAccessResponse() { }, GoogleAuth: function GoogleAuth() { }, _GoogleAuth: function _GoogleAuth() { }, IsSignedIn: function IsSignedIn() { }, CurrentUser: function CurrentUser() { }, SigninOptions: function SigninOptions() { }, OfflineAccessOptions: function OfflineAccessOptions() { }, ClientConfig: function ClientConfig() { }, SigninOptionsBuilder: function SigninOptionsBuilder() { }, BasicProfile: function BasicProfile() { }, AuthResponse: function AuthResponse() { }, AuthorizeConfig: function AuthorizeConfig() { }, AuthorizeResponse: function AuthorizeResponse() { }, GoogleUser: function GoogleUser() { }, _GoogleUser: function _GoogleUser() { }, Promise: function Promise() { }, inject(url) { var t2, t1 = new A._Future($.Zone__current, type$._Future_void); self.gapiOnloadCallback = A.allowInterop(new A.inject_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_void))); t2 = A._setArrayType([B.JSString_methods.startsWith$1(url, "data:") ? url : url + "?onload=gapiOnloadCallback"], type$.JSArray_String); B.JSArray_methods.addAll$1(t2, B.List_empty0); return A.Future_wait(A._setArrayType([A.injectJSLibraries(t2), t1], type$.JSArray_Future_void), type$.void); }, init() { var t1 = new A._Future($.Zone__current, type$._Future_void); self.gapi.load("auth2", A.allowInterop(new A.init_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_void)))); return t1; }, inject_closure: function inject_closure(t0) { this.gapiOnLoad = t0; }, init_closure: function init_closure(t0) { this.gapiLoadCompleter = t0; }, Document$() { return new A.Document(A.LinkedHashMap_LinkedHashMap(null, null, type$.Object, type$.String)); }, DocumentType$($name, publicId, systemId) { return new A.DocumentType($name, publicId, systemId, A.LinkedHashMap_LinkedHashMap(null, null, type$.Object, type$.String)); }, Text$0(data) { return new A.Text0(data, A.LinkedHashMap_LinkedHashMap(null, null, type$.Object, type$.String)); }, Element$_(localName, namespaceUri) { return new A.Element(namespaceUri, localName, A.LinkedHashMap_LinkedHashMap(null, null, type$.Object, type$.String)); }, Element__getSerializationPrefix(uri) { var prefix; if (uri == null || uri === "http://www.w3.org/1999/xhtml" || uri === "http://www.w3.org/1998/Math/MathML" || uri === "http://www.w3.org/2000/svg") return ""; prefix = A.Namespaces_getPrefix(uri); return prefix == null ? "" : prefix + ":"; }, Comment$(data) { return new A.Comment(data, A.LinkedHashMap_LinkedHashMap(null, null, type$.Object, type$.String)); }, AttributeName: function AttributeName(t0, t1, t2) { this.prefix = t0; this.name = t1; this.namespace = t2; }, _ParentNode: function _ParentNode() { }, _NonElementParentNode: function _NonElementParentNode() { }, _ElementAndDocument: function _ElementAndDocument() { }, Node0: function Node0() { }, Document: function Document(t0) { var _ = this; _.parentNode = null; _.attributes = t0; _.__Node_children_FI = _.__Node_nodes_FI = $; _.sourceSpan = null; }, DocumentType: function DocumentType(t0, t1, t2, t3) { var _ = this; _.name = t0; _.publicId = t1; _.systemId = t2; _.parentNode = null; _.attributes = t3; _.__Node_children_FI = _.__Node_nodes_FI = $; _.sourceSpan = null; }, Text0: function Text0(t0, t1) { var _ = this; _._dom$_data = t0; _.parentNode = null; _.attributes = t1; _.__Node_children_FI = _.__Node_nodes_FI = $; _.sourceSpan = null; }, Element: function Element(t0, t1, t2) { var _ = this; _.namespaceUri = t0; _.localName = t1; _.parentNode = null; _.attributes = t2; _.__Node_children_FI = _.__Node_nodes_FI = $; _.sourceSpan = null; }, Element__addOuterHtml_closure: function Element__addOuterHtml_closure(t0) { this.str = t0; }, Comment: function Comment(t0, t1) { var _ = this; _.data = t0; _.parentNode = null; _.attributes = t1; _.__Node_children_FI = _.__Node_nodes_FI = $; _.sourceSpan = null; }, NodeList: function NodeList(t0, t1) { this._dom$_parent = t0; this._list_proxy$_list = t1; }, NodeList_retainWhere_closure: function NodeList_retainWhere_closure(t0) { this.test = t0; }, FilteredElementList: function FilteredElementList(t0) { this._childNodes = t0; }, FilteredElementList_removeRange_closure: function FilteredElementList_removeRange_closure() { }, _ConcatTextVisitor: function _ConcatTextVisitor(t0) { this._str = t0; }, _Document_Node__ParentNode: function _Document_Node__ParentNode() { }, _Document_Node__ParentNode__NonElementParentNode: function _Document_Node__ParentNode__NonElementParentNode() { }, _Document_Node__ParentNode__NonElementParentNode__ElementAndDocument: function _Document_Node__ParentNode__NonElementParentNode__ElementAndDocument() { }, _Element_Node__ParentNode: function _Element_Node__ParentNode() { }, _Element_Node__ParentNode__ElementAndDocument: function _Element_Node__ParentNode__ElementAndDocument() { }, _FilteredElementList_IterableBase_ListMixin: function _FilteredElementList_IterableBase_ListMixin() { }, isVoidElement(tagName) { switch (tagName) { case "area": case "base": case "br": case "col": case "command": case "embed": case "hr": case "img": case "input": case "keygen": case "link": case "meta": case "param": case "source": case "track": case "wbr": return true; } return false; }, writeTextNodeAsHtml(str, node) { var tag, t1, $parent = node.parentNode; if ($parent instanceof A.Element) { tag = $parent.localName; if (B.JSArray_methods.contains$1(B.List_mm1, tag) || tag === "plaintext") { t1 = J.toString$0$(node._dom$_data); node._dom$_data = t1; str._contents += t1; return; } } t1 = J.toString$0$(node._dom$_data); node._dom$_data = t1; str._contents += A.htmlSerializeEscape(t1, false); }, TreeVisitor: function TreeVisitor() { }, HtmlParser: function HtmlParser(t0, t1, t2, t3) { var _ = this; _.generateSpans = t0; _.tokenizer = t1; _.tree = t2; _.errors = t3; _.firstStartTag = false; _.compatMode = "no quirks"; _.innerHTML = null; _.__HtmlParser_phase_AI = $; _.originalPhase = null; _.framesetOK = true; _.__HtmlParser__afterAfterFramesetPhase_FI = _.__HtmlParser__afterAfterBodyPhase_FI = _.__HtmlParser__afterFramesetPhase_FI = _.__HtmlParser__inFramesetPhase_FI = _.__HtmlParser__afterBodyPhase_FI = _.__HtmlParser__inForeignContentPhase_FI = _.__HtmlParser__inSelectInTablePhase_FI = _.__HtmlParser__inSelectPhase_FI = _.__HtmlParser__inCellPhase_FI = _.__HtmlParser__inRowPhase_FI = _.__HtmlParser__inTableBodyPhase_FI = _.__HtmlParser__inColumnGroupPhase_FI = _.__HtmlParser__inCaptionPhase_FI = _.__HtmlParser__inTableTextPhase_FI = _.__HtmlParser__inTablePhase_FI = _.__HtmlParser__textPhase_FI = _.__HtmlParser__inBodyPhase_FI = _.__HtmlParser__afterHeadPhase_FI = _.__HtmlParser__inHeadPhase_FI = _.__HtmlParser__beforeHeadPhase_FI = _.__HtmlParser__beforeHtmlPhase_FI = _.__HtmlParser__initialPhase_FI = $; }, Phase: function Phase() { }, Phase_startTagHtml_closure: function Phase_startTagHtml_closure(t0) { this.$this = t0; }, Phase_startTagHtml__closure: function Phase_startTagHtml__closure(t0) { this.value = t0; }, InitialPhase: function InitialPhase(t0, t1) { this.parser = t0; this.tree = t1; }, BeforeHtmlPhase: function BeforeHtmlPhase(t0, t1) { this.parser = t0; this.tree = t1; }, BeforeHeadPhase: function BeforeHeadPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InHeadPhase: function InHeadPhase(t0, t1) { this.parser = t0; this.tree = t1; }, AfterHeadPhase: function AfterHeadPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InBodyPhase: function InBodyPhase(t0, t1) { this.dropNewline = false; this.parser = t0; this.tree = t1; }, InBodyPhase_startTagBody_closure: function InBodyPhase_startTagBody_closure(t0) { this.$this = t0; }, InBodyPhase_startTagBody__closure: function InBodyPhase_startTagBody__closure(t0) { this.value = t0; }, TextPhase: function TextPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InTablePhase: function InTablePhase(t0, t1) { this.parser = t0; this.tree = t1; }, InTableTextPhase: function InTableTextPhase(t0, t1, t2) { var _ = this; _.originalPhase = null; _.characterTokens = t0; _.parser = t1; _.tree = t2; }, InTableTextPhase_flushCharacters_closure: function InTableTextPhase_flushCharacters_closure() { }, InCaptionPhase: function InCaptionPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InColumnGroupPhase: function InColumnGroupPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InTableBodyPhase: function InTableBodyPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InRowPhase: function InRowPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InCellPhase: function InCellPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InSelectPhase: function InSelectPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InSelectInTablePhase: function InSelectInTablePhase(t0, t1) { this.parser = t0; this.tree = t1; }, InForeignContentPhase: function InForeignContentPhase(t0, t1) { this.parser = t0; this.tree = t1; }, AfterBodyPhase: function AfterBodyPhase(t0, t1) { this.parser = t0; this.tree = t1; }, InFramesetPhase: function InFramesetPhase(t0, t1) { this.parser = t0; this.tree = t1; }, AfterFramesetPhase: function AfterFramesetPhase(t0, t1) { this.parser = t0; this.tree = t1; }, AfterAfterBodyPhase: function AfterAfterBodyPhase(t0, t1) { this.parser = t0; this.tree = t1; }, AfterAfterFramesetPhase: function AfterAfterFramesetPhase(t0, t1) { this.parser = t0; this.tree = t1; }, ParseError: function ParseError(t0, t1, t2) { this.errorCode = t0; this.span = t1; this.data = t2; }, Namespaces_getPrefix(url) { switch (url) { case "http://www.w3.org/1999/xhtml": return "html"; case "http://www.w3.org/1998/Math/MathML": return "math"; case "http://www.w3.org/2000/svg": return "svg"; case "http://www.w3.org/1999/xlink": return "xlink"; case "http://www.w3.org/XML/1998/namespace": return "xml"; case "http://www.w3.org/2000/xmlns/": return "xmlns"; default: return null; } }, isWhitespace(char) { if (char == null) return false; return A.isWhitespaceCC(char.charCodeAt(0)); }, isWhitespaceCC(charCode) { switch (charCode) { case 9: case 10: case 12: case 13: case 32: return true; } return false; }, isLetter(char) { var cc, t1; if (char == null) return false; cc = char.charCodeAt(0); if (!(cc >= 97 && cc <= 122)) t1 = cc >= 65 && cc <= 90; else t1 = true; return t1; }, isDigit(char) { var cc; if (char == null) return false; cc = char.charCodeAt(0); return cc >= 48 && cc < 58; }, isHexDigit(char) { if (char == null) return false; switch (char.charCodeAt(0)) { case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 65: case 66: case 67: case 68: case 69: case 70: case 97: case 98: case 99: case 100: case 101: case 102: return true; } return false; }, AsciiUpperToLower__asciiToLower(c) { return c >= 65 && c <= 90 ? c + 97 - 65 : c; }, ReparseException: function ReparseException() { }, ElementCssClassSet: function ElementCssClassSet(t0) { this._css_class_set$_element = t0; }, _CssClassSetImpl: function _CssClassSetImpl() { }, _CssClassSetImpl_add_closure: function _CssClassSetImpl_add_closure(t0) { this.value = t0; }, _EncodingRangeException$(message) { return new A._EncodingRangeException(message); }, EncodingBytes: function EncodingBytes(t0) { this._bytes = t0; this.__position = -1; }, ContentAttrParser: function ContentAttrParser(t0) { this.data = t0; }, _EncodingRangeException: function _EncodingRangeException(t0) { this.message = t0; }, _invalidUnicode(c) { if (1 <= c && c <= 8) return true; if (14 <= c && c <= 31) return true; if (127 <= c && c <= 159) return true; if (55296 <= c && c <= 57343) return true; if (64976 <= c && c <= 65007) return true; switch (c) { case 11: case 65534: case 65535: case 131070: case 131071: case 196606: case 196607: case 262142: case 262143: case 327678: case 327679: case 393214: case 393215: case 458750: case 458751: case 524286: case 524287: case 589822: case 589823: case 655358: case 655359: case 720894: case 720895: case 786430: case 786431: case 851966: case 851967: case 917502: case 917503: case 983038: case 983039: case 1048574: case 1048575: case 1114110: case 1114111: return true; } return false; }, codecName(encoding) { var asciiPunctuation = A.RegExp_RegExp("[\t-\r -/:-@[-`{-~]", true, false, false, false); if (encoding == null) return null; return B.Map_fXYvf.$index(0, A.stringReplaceAllUnchecked(encoding, asciiPunctuation, "").toLowerCase()); }, _decodeBytes(encoding, bytes) { switch (encoding) { case "ascii": return new A.CodeUnits(B.C_AsciiCodec.decode$1(0, bytes)); case "utf-8": return new A.CodeUnits(B.C_Utf8Codec.decode$1(0, bytes)); default: throw A.wrapException(A.ArgumentError$("Encoding " + encoding + " not supported", null)); } }, HtmlInputStream: function HtmlInputStream(t0, t1, t2, t3) { var _ = this; _.charEncodingName = t0; _.charEncodingCertain = true; _.sourceUrl = t1; _._rawChars = _._rawBytes = null; _.errors = t2; _.fileInfo = null; _._chars = t3; _._html_input_stream$_offset = 0; }, ListProxy: function ListProxy() { }, _parseSelectorList(selector) { var t2, group, _null = null, t1 = type$.JSArray_Message, errors = A._setArrayType([], t1), options = A.PreprocessorOptions$("memory", false); t1 = A._setArrayType([], t1); t2 = options; $.__messages.__late_helper$_value = new A.Messages(B.JSArray_methods.get$add(errors), t2, t1); t1 = new A.Tokenizer(85, 117, 43, 63, new A.CodeUnits("CDATA"), A.SourceFile$fromString(selector, _null), selector, true, 0); t2 = new A._Parser(t1); t2.___Parser__peekToken_A = t1.next$0(0); t1 = t1.inSelector = true; group = t2.processSelectorGroup$0(); if (group != null ? errors.length !== 0 : t1) throw A.wrapException(A.FormatException$("'" + selector + "' is not a valid selector: " + A.S(errors), _null, _null)); return group; }, SelectorEvaluator__isLegacyPsuedoClass($name) { switch ($name) { case "before": case "after": case "first-line": case "first-letter": return true; default: return false; } }, SelectorEvaluator__getInheritedLanguage(node) { var lang, parentNode; for (; node != null;) { lang = node.attributes.$index(0, "lang"); if (lang != null) return lang; parentNode = node.parentNode; node = parentNode instanceof A.Element ? parentNode : null; } return null; }, SelectorEvaluator: function SelectorEvaluator() { this._query_selector$_element = null; }, SelectorEvaluator_visitPseudoClassSelector_closure: function SelectorEvaluator_visitPseudoClassSelector_closure() { }, SelectorEvaluator_visitPseudoClassSelector_closure0: function SelectorEvaluator_visitPseudoClassSelector_closure0() { }, SelectorEvaluator_visitPseudoClassSelector__closure: function SelectorEvaluator_visitPseudoClassSelector__closure() { }, SelectorEvaluator_visitAttributeSelector_closure: function SelectorEvaluator_visitAttributeSelector_closure(t0) { this.select = t0; }, StartTagToken$($name, data, namespace, selfClosing) { return new A.StartTagToken(data == null ? A.LinkedHashMap_LinkedHashMap(null, null, type$.Object, type$.String) : data, namespace, $name, selfClosing); }, Token0: function Token0() { }, TagToken: function TagToken() { }, StartTagToken: function StartTagToken(t0, t1, t2, t3) { var _ = this; _.data = t0; _.selfClosingAcknowledged = false; _.namespace = t1; _.name = t2; _.selfClosing = t3; _.span = null; }, EndTagToken: function EndTagToken(t0, t1) { this.name = t0; this.selfClosing = t1; this.span = null; }, StringToken: function StringToken() { }, ParseErrorToken: function ParseErrorToken(t0, t1, t2) { var _ = this; _.messageParams = t0; _._token$_buffer = t1; _._token$_string = t2; _.span = null; }, CharactersToken: function CharactersToken(t0, t1) { this._token$_buffer = t0; this._token$_string = t1; this.span = null; }, SpaceCharactersToken: function SpaceCharactersToken(t0, t1) { this._token$_buffer = t0; this._token$_string = t1; this.span = null; }, CommentToken: function CommentToken(t0, t1) { this._token$_buffer = t0; this._token$_string = t1; this.span = null; }, DoctypeToken: function DoctypeToken(t0) { var _ = this; _.systemId = _.publicId = null; _.name = ""; _.correct = t0; _.span = null; }, TagAttribute: function TagAttribute() { this.name = null; this.__TagAttribute_value_A = $; }, entitiesByFirstChar_closure: function entitiesByFirstChar_closure() { }, entitiesByFirstChar__closure: function entitiesByFirstChar__closure() { }, HtmlTokenizer: function HtmlTokenizer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.stream = t0; _.lowercaseElementName = t1; _.lowercaseAttrName = t2; _.generateSpans = t3; _.parser = null; _.tokenQueue = t4; _.currentToken = null; _.__HtmlTokenizer_state_A = $; _._tokenizer$_buffer = t5; _.__HtmlTokenizer__lastOffset_A = $; _._tokenizer$_current = _._attributeNames = _._tokenizer$_attributes = null; _._attributeName = t6; _._attributeValue = t7; }, HtmlTokenizer_consumeEntity_closure: function HtmlTokenizer_consumeEntity_closure(t0) { this.name = t0; }, HtmlTokenizer_emitCurrentToken_closure: function HtmlTokenizer_emitCurrentToken_closure(t0) { this.attr = t0; }, _mapEquals(a, b) { var t2, valB, t1 = a.__js_helper$_length; if (t1 !== b.__js_helper$_length) return false; if (t1 === 0) return true; for (t1 = A.LinkedHashMapKeyIterator$(a, a._modifications, A._instanceType(a)._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; valB = b.$index(0, t2); if (valB == null && !b.containsKey$1(0, t2)) return false; if (!J.$eq$(a.$index(0, t2), valB)) return false; } return true; }, TreeBuilder__insertText($parent, data, span, refNode) { var last, t1, t2, index, nodes = $parent.get$nodes(0); if (refNode == null) if (!nodes.get$isEmpty(nodes) && nodes.get$last(nodes) instanceof A.Text0) { last = type$.Text._as(nodes.get$last(nodes)); last.appendData$1(0, data); if (span != null) { t1 = span.file; t2 = last.sourceSpan; last.sourceSpan = t1.span$2(0, A.FileLocation$_(t2.file, t2._file$_start).offset, A.FileLocation$_(t1, span._file$_end).offset); } } else { t1 = A.Text$0(data); t1.sourceSpan = span; nodes.add$1(0, t1); } else { index = nodes.indexOf$1(nodes, refNode); if (index > 0 && nodes._list_proxy$_list[index - 1] instanceof A.Text0) type$.Text._as(nodes._list_proxy$_list[index - 1]).appendData$1(0, data); else { t1 = A.Text$0(data); t1.sourceSpan = span; nodes.insert$2(0, index, t1); } } }, ActiveFormattingElements: function ActiveFormattingElements(t0) { this._list_proxy$_list = t0; }, TreeBuilder: function TreeBuilder(t0, t1, t2) { var _ = this; _.defaultNamespace = t0; _.__TreeBuilder_document_A = $; _.openElements = t1; _.activeFormattingElements = t2; _.formPointer = _.headPointer = null; _.insertFromTable = false; }, slice(list, start, end) { var end0; if (end == null) end = list.length; if (end < start) end = start; end0 = list.length; return B.JSArray_methods.sublist$2(list, start, end > end0 ? end0 : end); }, allWhitespace(str) { var t1, i; for (t1 = str.length, i = 0; i < t1; ++i) if (!A.isWhitespaceCC(str.charCodeAt(i))) return false; return true; }, padWithZeros(str, size) { var i, t1 = str.length; if (t1 === size) return str; size -= t1; for (i = 0, t1 = ""; i < size; ++i) t1 += "0"; t1 += str; return t1.charCodeAt(0) == 0 ? t1 : t1; }, formatStr(format, data) { var t1 = {}; t1.format = format; if (data == null) return format; data.forEach$1(0, new A.formatStr_closure(t1)); return t1.format; }, Pair: function Pair(t0, t1, t2) { this.first = t0; this.second = t1; this.$ti = t2; }, formatStr_closure: function formatStr_closure(t0) { this._box_0 = t0; }, convert(input) { var t1, t2, t3, t4, t5, p, results, root, _null = null; A.updateStyleOptions(_null); t1 = A._setArrayType([], type$.JSArray_ParseError); t2 = type$.JSArray_Element_3; t3 = A._setArrayType([], t2); t4 = A._setArrayType([], type$.JSArray_nullable_Element); t3 = new A.TreeBuilder("http://www.w3.org/1999/xhtml", t3, new A.ActiveFormattingElements(t4)); t3.reset$0(0); t4 = A.ListQueue$(_null, type$.String); t5 = A._setArrayType([], type$.JSArray_int); t5 = new A.HtmlInputStream(A.codecName(_null), _null, t4, t5); t5._rawChars = new A.CodeUnits(input); t5.charEncodingName = "utf-8"; t5.reset$0(0); t4 = new A.HtmlTokenizer(t5, true, true, false, A.ListQueue$(_null, type$.nullable_Token), new A.StringBuffer(""), new A.StringBuffer(""), new A.StringBuffer("")); t4.reset$0(0); p = new A.HtmlParser(false, t4, t3, t1); t4.parser = p; p._parser$_parse$0(); t3 = t3.__TreeBuilder_document_A; t3 === $ && A.throwUnnamedLateFieldNI(); results = A._setArrayType([], t2); new A.SelectorEvaluator().querySelectorAll$3(0, t3, A._parseSelectorList("html"), results); root = B.JSArray_methods.get$first(results); return A._postProcess(A._process(A.Node_Node(A._collapseWhitespace(root, A._setArrayType(["noscript"], type$.JSArray_String))))); }, _escape(input) { var _null = null; return A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(A.stringReplaceAllFuncUnchecked(input, A.RegExp_RegExp("\\\\(\\S)", true, false, false, false), new A._escape_closure(), _null), A.RegExp_RegExp("^(#{1,6} )", true, false, true, false), new A._escape_closure0(), _null), A.RegExp_RegExp("^([-*_] *){3,}$", true, false, true, false), new A._escape_closure1(), _null), A.RegExp_RegExp("^(\\W* {0,3})(\\d+)\\. ", true, false, true, false), new A._escape_closure2(), _null), A.RegExp_RegExp("^([^\\\\\\w]*)[*+-] ", true, false, true, false), new A._escape_closure3(), _null), A.RegExp_RegExp("^(\\W* {0,3})> ", true, false, false, false), new A._escape_closure4(), _null), A.RegExp_RegExp("\\*+(?![*\\s\\W]).+?\\*+", true, false, false, false), new A._escape_closure5(), _null), A.RegExp_RegExp("_+(?![_\\s\\W]).+?_+", true, false, false, false), new A._escape_closure6(), _null), A.RegExp_RegExp("`+(?![`\\s\\W]).+?`+", true, false, false, false), new A._escape_closure7(), _null), A.RegExp_RegExp("[\\[\\]]", true, false, false, false), new A._escape_closure8(), _null); }, _isFlankedByWhitespace(node, side) { var sibling, regExp, str, isFlanked, t1 = node._node$_node; if (side === "left") { sibling = A.previousSibling(t1); regExp = A.RegExp_RegExp(" $", true, false, false, false); } else { sibling = A.nextSibling(t1); regExp = A.RegExp_RegExp("^ ", true, false, false, false); } if (sibling != null) { sibling.get$nodeType(sibling); if (sibling instanceof A.Element && !A.isBlock(sibling)) { str = new A.StringBuffer(""); sibling._addInnerHtml$1(str); t1 = str._contents; isFlanked = regExp._nativeRegExp.test(t1.charCodeAt(0) == 0 ? t1 : t1); } else isFlanked = false; } else isFlanked = false; return isFlanked; }, _join(string1, string2) { var separator = A._separatingNewlines(string1, string2), t1 = $.$get$_trailingNewLinesRegExp(); string1 = A.stringReplaceAllUnchecked(string1, t1, ""); t1 = $.$get$_leadingNewLinesRegExp(); return string1 + separator + A.stringReplaceAllUnchecked(string2, t1, ""); }, _postProcess(input) { var t2, t1 = {}; t1.input = input; $._appendRuleSet.forEach$1(0, new A._postProcess_closure(t1)); t1 = t1.input; if (t1.length !== 0) { t2 = A.RegExp_RegExp("^[\\t\\r\\n]+", true, false, false, false); t1 = A.stringReplaceAllUnchecked(t1, t2, ""); t2 = A.RegExp_RegExp("[\\t\\r\\n\\s]+$", true, false, false, false); return A.stringReplaceAllUnchecked(t1, t2, ""); } return ""; }, _process(inNode) { var t1, t2, result, t3, t4, t5, t6, textContent, replacement, rule, $content, result0, hasLeading, hasTrailing, separator, string1, _null = null, _s7_ = "leading", _s8_ = "trailing"; for (t1 = inNode.childNodes$0(0), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")), t2 = type$.String, result = ""; t1.moveNext$0();) { t3 = t1._async$_current; t4 = t3._el; t5 = t4 == null; t6 = t5 ? _null : 1; if (t6 == null) { t6 = t3._node$_node; t6 = t6.get$nodeType(t6); } if (t6 === 3) { textContent = t3.get$textContent(); replacement = t3.get$isCode() ? textContent : A._escape(textContent); } else { t5 = t5 ? _null : 1; if (t5 == null) { t5 = t3._node$_node; t5 = t5.get$nodeType(t5); } if (t5 === 1) { rule = A.Rule_findRule(t3); if (rule.append != null) $._appendRuleSet.add$1(0, rule); $content = A._process(t3); result0 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); t5 = A._asElement(t4); if (t5 == null) t5 = _null; else { t5 = t5.localName; t5 = t5 == null ? _null : t5.toLowerCase(); } if (!B.JSArray_methods.contains$1(B.List_ouN0, t5)) { t5 = A.RegExp_RegExp("^[ \\r\\n\\t]", true, false, false, false); t6 = t3.get$textContent(); hasLeading = t5._nativeRegExp.test(t6); t5 = A.RegExp_RegExp("[ \\r\\n\\t]$", true, false, false, false); t6 = t3.get$textContent(); hasTrailing = t5._nativeRegExp.test(t6); if (hasLeading && !A._isFlankedByWhitespace(t3, "left")) result0.$indexSet(0, _s7_, " "); if (hasTrailing && !A._isFlankedByWhitespace(t3, "right")) result0.$indexSet(0, _s8_, " "); } if (result0.$index(0, _s7_) != null || result0.$index(0, _s8_) != null) $content = B.JSString_methods.trim$0($content); replacement = rule.replacement.call$2($content, t3); if (rule.name === "image") { t4.attributes.$index(0, "src"); $._customOptions.$index(0, "imageBaseUrl"); } t3 = result0.$index(0, _s7_); if (t3 == null) t3 = ""; result0 = result0.$index(0, _s8_); t4 = result0 == null ? "" : result0; replacement = t3 + replacement + t4; } else replacement = ""; } separator = A._separatingNewlines(result, replacement); t3 = $.$get$_trailingNewLinesRegExp(); string1 = A.stringReplaceAllUnchecked(result, t3, ""); t3 = $.$get$_leadingNewLinesRegExp(); result = string1 + separator + A.stringReplaceAllUnchecked(replacement, t3, ""); } return result; }, _separatingNewlines(output, replacement) { var maxNewlines, newlines = A._setArrayType([$.$get$_trailingNewLinesRegExp().stringMatch$1(output), $.$get$_leadingNewLinesRegExp().stringMatch$1(replacement)], type$.JSArray_nullable_String); B.JSArray_methods.sort$1(newlines, new A._separatingNewlines_closure()); maxNewlines = B.JSArray_methods.get$last(newlines); return maxNewlines.length < 2 ? maxNewlines : "\n\n"; }, _escape_closure: function _escape_closure() { }, _escape_closure0: function _escape_closure0() { }, _escape_closure1: function _escape_closure1() { }, _escape_closure2: function _escape_closure2() { }, _escape_closure3: function _escape_closure3() { }, _escape__closure: function _escape__closure() { }, _escape_closure4: function _escape_closure4() { }, _escape_closure5: function _escape_closure5() { }, _escape_closure6: function _escape_closure6() { }, _escape_closure7: function _escape_closure7() { }, _escape_closure8: function _escape_closure8() { }, _postProcess_closure: function _postProcess_closure(t0) { this._box_0 = t0; }, _separatingNewlines_closure: function _separatingNewlines_closure() { }, Node_Node(node) { var e = node instanceof A.Element ? node : null; return new A.Node(node, e, node instanceof A.Text0 ? node : null); }, Node: function Node(t0, t1, t2) { this._node$_node = t0; this._el = t1; this._node$_text = t2; }, getStyleOption($name) { var t1 = $.$get$_styleMap().$index(0, $name); t1 = t1 == null ? null : t1.options[t1.defaultIndex]; return t1 == null ? "" : t1; }, updateStyleOptions(customOptions) { }, _StyleOption$(options) { return new A._StyleOption(options); }, _StyleOption: function _StyleOption(t0) { this.defaultIndex = 0; this.options = t0; }, Rule$($name, append, filterFn, filters, replacement) { return new A.Rule($name, replacement, append, A.Rule__buildFilterFn(filters, filterFn)); }, Rule_findRule(node) { var customRule; if ($.Rule__customRules.length !== 0) { customRule = A.IterableExtension_firstWhereOrNull($.Rule__customRules, new A.Rule_findRule_closure(node)); if (customRule != null) return customRule; } return B.JSArray_methods.firstWhere$2$orElse($.$get$_commonMarkRules(), new A.Rule_findRule_closure0(node), new A.Rule_findRule_closure1()); }, Rule__buildFilterFn(filters, filterFn) { var result = filters != null && filters.length !== 0 ? new A.Rule__buildFilterFn_closure(filters) : null; return result == null ? filterFn : result; }, _TableRules_cell($content, node) { var prefix = node.get$parentChildIndex() === 0 ? "| " : " ", t1 = A.stringReplaceAllUnchecked($content, "\r\n", "\n"); $content = A.stringReplaceAllUnchecked(t1, "\n", " "); return prefix + A.stringReplaceAllUnchecked($content, "|", "\\|") + " |"; }, _TableRules_spannedCells(node, spannedCellContent) { var t1 = node._el.attributes.$index(0, "colspan"), colspan = A.Primitives_parseInt(t1 == null ? "" : t1, null); if (colspan == null) colspan = 1; if (colspan <= 1) return ""; return B.JSString_methods.$mul(" " + spannedCellContent + " |", colspan - 1); }, _TableRules_isNestedTable(tableNode) { var currentNode, parentNode, t1 = tableNode._el; if (t1 == null) currentNode = null; else { parentNode = t1.parentNode; currentNode = parentNode instanceof A.Element ? parentNode : null; } for (; currentNode != null;) { if (currentNode.localName === "table") return true; parentNode = currentNode.parentNode; currentNode = parentNode instanceof A.Element ? parentNode : null; } return false; }, Rule: function Rule(t0, t1, t2, t3) { var _ = this; _.name = t0; _.replacement = t1; _.append = t2; _._realFilterFn = t3; }, Rule_findRule_closure: function Rule_findRule_closure(t0) { this.node = t0; }, Rule_findRule_closure0: function Rule_findRule_closure0(t0) { this.node = t0; }, Rule_findRule_closure1: function Rule_findRule_closure1() { }, Rule__buildFilterFn_closure: function Rule__buildFilterFn_closure(t0) { this.filters = t0; }, _BaseRules_defaultRule_closure: function _BaseRules_defaultRule_closure() { }, _CommonRules_paragraph_closure: function _CommonRules_paragraph_closure() { }, _CommonRules_lineBreak_closure: function _CommonRules_lineBreak_closure() { }, _CommonRules_heading_closure: function _CommonRules_heading_closure() { }, _CommonRules_blockquote_closure: function _CommonRules_blockquote_closure() { }, _CommonRules_list_closure: function _CommonRules_list_closure() { }, _CommonRules_listItem_closure: function _CommonRules_listItem_closure() { }, _CommonRules_indentedCodeBlock_closure: function _CommonRules_indentedCodeBlock_closure() { }, _CommonRules_indentedCodeBlock_closure0: function _CommonRules_indentedCodeBlock_closure0() { }, _CommonRules_fencedCodeBlock_closure: function _CommonRules_fencedCodeBlock_closure() { }, _CommonRules_fencedCodeBlock_closure0: function _CommonRules_fencedCodeBlock_closure0() { }, _CommonRules_horizontalRule_closure: function _CommonRules_horizontalRule_closure() { }, _CommonRules_inlineLink_closure: function _CommonRules_inlineLink_closure() { }, _CommonRules_inlineLink_closure0: function _CommonRules_inlineLink_closure0() { }, _CommonRules_referenceLink_closure0: function _CommonRules_referenceLink_closure0() { }, _CommonRules_referenceLink_closure1: function _CommonRules_referenceLink_closure1() { }, _CommonRules_referenceLink_closure: function _CommonRules_referenceLink_closure() { }, _CommonRules_emphasis_closure: function _CommonRules_emphasis_closure() { }, _CommonRules_strong_closure: function _CommonRules_strong_closure() { }, _CommonRules_strike_closure: function _CommonRules_strike_closure() { }, _CommonRules_code_closure: function _CommonRules_code_closure() { }, _CommonRules_code_closure0: function _CommonRules_code_closure0() { }, _CommonRules_code__closure: function _CommonRules_code__closure() { }, _CommonRules_image_closure: function _CommonRules_image_closure() { }, _TableRules_tableCell_closure: function _TableRules_tableCell_closure() { }, _TableRules_tableRow_closure: function _TableRules_tableRow_closure() { }, _TableRules_table_closure: function _TableRules_table_closure() { }, _TableRules_tableSection_closure: function _TableRules_tableSection_closure() { }, _TableRules_captionSection_closure: function _TableRules_captionSection_closure() { }, get(url) { return A._withClient(new A.get_closure(url, null), type$.Response); }, read(url) { return A._withClient(new A.read_closure(url, null), type$.String); }, _withClient(fn, $T) { return A._withClient$body(fn, $T, $T); }, _withClient$body(fn, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], client, t1; var $async$_withClient = A._wrapJsFunctionForAsync(function($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 A.zoneClient(); client = new A.BrowserClient(A.LinkedHashSet_LinkedHashSet$_empty(type$.HttpRequest)); $async$handler = 3; $async$goto = 6; return A._asyncAwait(fn.call$1(client), $async$_withClient); case 6: // returning from await. t1 = $async$result; $async$returnValue = t1; $async$next = [1]; // goto finally $async$goto = 4; break; $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // uncaught $async$next = [2]; case 4: // finally $async$handler = 2; J.close$0$z(client); // goto the next finally handler $async$goto = $async$next.pop(); break; case 5: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_withClient, $async$completer); }, get_closure: function get_closure(t0, t1) { this.url = t0; this.headers = t1; }, read_closure: function read_closure(t0, t1) { this.url = t0; this.headers = t1; }, BaseClient: function BaseClient() { }, BaseRequest: function BaseRequest() { }, BaseRequest_closure: function BaseRequest_closure() { }, BaseRequest_closure0: function BaseRequest_closure0() { }, BaseResponse: function BaseResponse() { }, BrowserClient: function BrowserClient(t0) { this._xhrs = t0; this._isClosed = false; }, 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; }, ByteStream: function ByteStream(t0) { this._stream = t0; }, ByteStream_toBytes_closure: function ByteStream_toBytes_closure(t0) { this.completer = t0; }, ClientException$(message, uri) { return new A.ClientException(message); }, ClientException: function ClientException(t0) { this.message = t0; }, MultipartFile: function MultipartFile(t0, t1, t2, t3, t4) { var _ = this; _.field = t0; _.length = t1; _.filename = t2; _.contentType = t3; _._multipart_file$_stream = t4; _._isFinalized = false; }, MultipartRequest$(method, url) { var t1 = type$.String, t2 = A._setArrayType([], type$.JSArray_MultipartFile), t3 = $.$get$BaseRequest__tokenRE(); if (!t3._nativeRegExp.test(method)) A.throwExpression(A.ArgumentError$value(method, "method", "Not a valid method")); return new A.MultipartRequest(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), t2, method, url, A.LinkedHashMap_LinkedHashMap(new A.BaseRequest_closure(), new A.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; }, Request$(method, url) { var t1 = new Uint8Array(0), t2 = $.$get$BaseRequest__tokenRE(); if (!t2._nativeRegExp.test(method)) A.throwExpression(A.ArgumentError$value(method, "method", "Not a valid method")); t2 = type$.String; return new A.Request(B.C_Utf8Codec, t1, method, url, A.LinkedHashMap_LinkedHashMap(new A.BaseRequest_closure(), new A.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; }, Response$bytes(bodyBytes, statusCode, headers, isRedirect, persistentConnection, reasonPhrase, request) { var t1 = A.toUint8List(bodyBytes), t2 = J.get$length$asx(bodyBytes); t1 = new A.Response(t1, request, statusCode, reasonPhrase, t2, headers, false, true); t1.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(statusCode, t2, headers, false, true, reasonPhrase, request); return t1; }, Response_fromStream(response) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response), $async$returnValue, $async$temp1; var $async$Response_fromStream = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$temp1 = A; $async$goto = 3; return A._asyncAwait(response.stream.toBytes$0(), $async$Response_fromStream); case 3: // returning from await. $async$returnValue = $async$temp1.Response$bytes($async$result, response.statusCode, response.headers, false, true, response.reasonPhrase, response.request); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$Response_fromStream, $async$completer); }, _contentTypeForHeaders(headers) { var contentType = headers.$index(0, "content-type"); if (contentType != null) return A.MediaType_MediaType$parse(contentType); return A.MediaType$("application", "octet-stream", null); }, Response: function Response(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.bodyBytes = t0; _.request = t1; _.statusCode = t2; _.reasonPhrase = t3; _.contentLength = t4; _.headers = t5; _.isRedirect = t6; _.persistentConnection = t7; }, StreamedResponse$(stream, statusCode, contentLength, headers, isRedirect, persistentConnection, reasonPhrase, request) { var t1 = new A.StreamedResponse(A.toByteStream(stream), request, statusCode, reasonPhrase, contentLength, headers, false, true); t1.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(statusCode, contentLength, headers, false, true, reasonPhrase, request); return t1; }, StreamedResponse: function StreamedResponse(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.stream = t0; _.request = t1; _.statusCode = t2; _.reasonPhrase = t3; _.contentLength = t4; _.headers = t5; _.isRedirect = t6; _.persistentConnection = t7; }, mapToQuery(map, encoding) { var pairs = A._setArrayType([], type$.JSArray_List_String); map.forEach$1(0, new A.mapToQuery_closure(pairs, encoding)); return new A.MappedListIterable(pairs, new A.mapToQuery_closure0(), type$.MappedListIterable_of_List_String_and_String).join$1(0, "&"); }, encodingForCharset(charset) { var t1; if (charset == null) return B.C_Latin1Codec; t1 = A.Encoding_getByName(charset); return t1 == null ? B.C_Latin1Codec : t1; }, toUint8List(input) { return input; }, toByteStream(stream) { if (stream instanceof A.ByteStream) return stream; return new A.ByteStream(stream); }, onDone(stream, onDone, $T) { return A._StreamHandlerTransformer$(null, new A.onDone_closure(onDone, $T), null, $T, $T).bind$1(0, stream); }, mapToQuery_closure: function mapToQuery_closure(t0, t1) { this.pairs = t0; this.encoding = t1; }, mapToQuery_closure0: function mapToQuery_closure0() { }, onDone_closure: function onDone_closure(t0, t1) { this.onDone = t0; this.T = t1; }, CaseInsensitiveMap$from(other, $V) { var t1 = new A.CaseInsensitiveMap(new A.CaseInsensitiveMap$from_closure(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, $V._eval$1("MapEntry<String,0>")), $V._eval$1("CaseInsensitiveMap<0>")); t1.addAll$1(0, other); return t1; }, CaseInsensitiveMap: function CaseInsensitiveMap(t0, t1, t2) { this._canonicalize = t0; this._base = t1; this.$ti = t2; }, CaseInsensitiveMap$from_closure: function CaseInsensitiveMap$from_closure() { }, MediaType_MediaType$parse(mediaType) { return A.wrapFormatException("media type", mediaType, new A.MediaType_MediaType$parse_closure(mediaType)); }, MediaType$(type, subtype, parameters) { var t1 = type$.String; t1 = parameters == null ? A.LinkedHashMap_LinkedHashMap$_empty(t1, t1) : A.CaseInsensitiveMap$from(parameters, t1); return new A.MediaType(type.toLowerCase(), subtype.toLowerCase(), new A.UnmodifiableMapView(t1, 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() { }, expectQuotedString(scanner) { var string; scanner.expect$2$name($.$get$_quotedString(), "quoted string"); string = scanner.get$lastMatch().$index(0, 0); return A.stringReplaceAllFuncUnchecked(B.JSString_methods.substring$2(string, 1, string.length - 1), $.$get$_quotedPair(), new A.expectQuotedString_closure(), null); }, expectQuotedString_closure: function expectQuotedString_closure() { }, Channel: function Channel(t0, t1) { this.index = t0; this._core$_name = t1; }, ChannelIterator: function ChannelIterator(t0) { this.index = -1; this.color = t0; }, ColorFloat16: function ColorFloat16(t0) { this.data = t0; }, ColorFloat32: function ColorFloat32(t0) { this.data = t0; }, ColorFloat64: function ColorFloat64(t0) { this.data = t0; }, ColorInt16: function ColorInt16(t0) { this.data = t0; }, ColorInt32: function ColorInt32(t0) { this.data = t0; }, ColorInt8: function ColorInt8(t0) { this.data = t0; }, ColorUint1: function ColorUint1(t0, t1) { this.length = t0; this.__ColorUint1_data_A = t1; }, ColorUint16: function ColorUint16(t0) { this.data = t0; }, ColorUint2: function ColorUint2(t0, t1) { this.length = t0; this.__ColorUint2_data_A = t1; }, ColorUint32: function ColorUint32(t0) { this.data = t0; }, ColorUint4: function ColorUint4(t0, t1) { this.length = t0; this.data = t1; }, ColorUint8: function ColorUint8(t0) { this.data = t0; }, ColorRgb8: function ColorRgb8(t0) { this.data = t0; }, ColorRgba8: function ColorRgba8(t0) { this.data = t0; }, convertFormatValue(value, from, to) { var t1; if (from === to) return value; switch (from.index) { case 0: if (value === 0) t1 = 0; else { t1 = B.Map_lgbQQ.$index(0, to); t1.toString; } return t1; case 1: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return value; case 2: return value * 5; case 3: return value * 75; case 4: return value * 21845; case 5: return value * 1431655765; case 6: return value * 42; case 7: return value * 10922; case 8: return value * 715827882; case 9: case 10: case 11: return value / 3; } break; case 2: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 1); case 2: return value; case 3: return value * 17; case 4: return value * 4369; case 5: return value * 286331153; case 6: return value * 8; case 7: return value * 2184; case 8: return value * 143165576; case 9: case 10: case 11: return value / 3; } break; case 3: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 6); case 2: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 4); case 3: return value; case 4: return value * 257; case 5: return value * 16843009; case 6: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 1); case 7: return value * 128; case 8: return value * 8421504; case 9: case 10: case 11: return value / 255; } break; case 4: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 14); case 2: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 12); case 3: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 8); case 4: return value; case 5: return A._asInt(value) << 8 >>> 0; case 6: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 9); case 7: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 1); case 8: return value * 524296; case 9: case 10: case 11: return value / 65535; } break; case 5: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 30); case 2: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 28); case 3: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 24); case 4: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 16); case 5: return value; case 6: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 25); case 7: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 17); case 8: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 1); case 9: case 10: case 11: return value / 4294967295; } break; case 6: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 5); case 2: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 3); case 3: return value <= 0 ? 0 : A._asInt(value) << 1 >>> 0; case 4: return value <= 0 ? 0 : A._asInt(value) * 516; case 5: return value <= 0 ? 0 : A._asInt(value) * 33818640; case 6: return value; case 7: return value * 258; case 8: return value * 16909320; case 9: case 10: case 11: return value / 127; } break; case 7: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 15); case 2: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 11); case 3: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 7); case 4: return value <= 0 ? 0 : A._asInt(value) << 1 >>> 0; case 5: return value <= 0 ? 0 : A._asInt(value) * 131076; case 6: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 8); case 7: return value; case 8: return A._asInt(value) * 65538; case 9: case 10: case 11: return value / 32767; } break; case 8: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 29); case 2: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 27); case 3: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 23); case 4: return value <= 0 ? 0 : B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 16); case 5: return value <= 0 ? 0 : A._asInt(value) << 1 >>> 0; case 6: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 24); case 7: return B.JSInt_methods._shrOtherPositive$1(A._asInt(value), 16); case 8: return value; case 9: case 10: case 11: return value / 2147483647; } break; case 9: case 10: case 11: switch (to.index) { case 0: return value === 0 ? 0 : 1; case 1: return B.JSNumber_methods.toInt$0(B.JSNumber_methods.clamp$2(value, 0, 1) * 3); case 2: return B.JSNumber_methods.toInt$0(B.JSNumber_methods.clamp$2(value, 0, 1) * 15); case 3: return B.JSNumber_methods.toInt$0(B.JSNumber_methods.clamp$2(value, 0, 1) * 255); case 4: return B.JSNumber_methods.toInt$0(B.JSNumber_methods.clamp$2(value, 0, 1) * 65535); case 5: return B.JSNumber_methods.toInt$0(B.JSNumber_methods.clamp$2(value, 0, 1) * 4294967295); case 6: return B.JSNumber_methods.toInt$0(value < 0 ? B.JSNumber_methods.clamp$2(value, -1, 1) * 128 : B.JSNumber_methods.clamp$2(value, -1, 1) * 127); case 7: return B.JSNumber_methods.toInt$0(value < 0 ? B.JSNumber_methods.clamp$2(value, -1, 1) * 32768 : B.JSNumber_methods.clamp$2(value, -1, 1) * 32767); case 8: return B.JSNumber_methods.toInt$0(value < 0 ? B.JSNumber_methods.clamp$2(value, -1, 1) * 2147483648 : B.JSNumber_methods.clamp$2(value, -1, 1) * 2147483647); case 9: case 10: case 11: return value; } break; } }, Format: function Format(t0, t1) { this.index = t0; this._core$_name = t1; }, BlendMode0: function BlendMode0(t0, t1) { this.index = t0; this._core$_name = t1; }, ExifData$from(other) { var t1 = new A.ExifData(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.IfdDirectory)); t1.IfdContainer$from$1(other); return t1; }, ExifData: function ExifData(t0) { this.directories = t0; }, ExifTag$($name, type, count) { return new A.ExifTag($name, type); }, ExifTag: function ExifTag(t0, t1) { this.name = t0; this.type = t1; }, IfdContainer: function IfdContainer(t0) { this.directories = t0; }, IfdContainer$from_closure: function IfdContainer$from_closure(t0) { this.$this = t0; }, IfdDirectory$from(other) { var t1 = new A.IfdDirectory(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.IfdValue), new A.IfdContainer(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.IfdDirectory))); t1.copy$1(other); return t1; }, IfdDirectory: function IfdDirectory(t0, t1) { this.data = t0; this.sub = t1; }, IfdDirectory_copy_closure: function IfdDirectory_copy_closure(t0) { this.$this = t0; }, IfdDirectory_copy_closure0: function IfdDirectory_copy_closure0(t0) { this.$this = t0; }, IfdValueType: function IfdValueType(t0, t1) { this.index = t0; this._core$_name = t1; }, IfdValue: function IfdValue() { }, IfdByteValue: function IfdByteValue(t0) { this.value = t0; }, IfdValueAscii: function IfdValueAscii(t0) { this.value = t0; }, Decoder: function Decoder() { }, PngDisposeMode: function PngDisposeMode(t0, t1) { this.index = t0; this._core$_name = t1; }, PngBlendMode: function PngBlendMode(t0, t1) { this.index = t0; this._core$_name = t1; }, PngFrame: function PngFrame() { }, InternalPngFrame: function InternalPngFrame(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.fdat = t0; _.width = t1; _.height = t2; _.xOffset = t3; _.yOffset = t4; _.delayNum = t5; _.delayDen = t6; _.dispose = t7; _.blend = t8; }, PngFilterType: function PngFilterType(t0, t1) { this.index = t0; this._core$_name = t1; }, PngInfo: function PngInfo() { }, InternalPngInfo: function InternalPngInfo(t0, t1, t2) { var _ = this; _.bits = _.height = _.width = 0; _.colorType = -1; _.interlaceMethod = _.filterMethod = 0; _.backgroundColor = _.transparency = _.palette = null; _.iccpName = ""; _.iccpData = null; _.textData = t0; _.numFrames = 1; _.frames = t1; _._idat = t2; }, PngDecoder: function PngDecoder(t0) { var _ = this; _._info = t0; _._png_decoder$_bitBufferLen = _._png_decoder$_bitBuffer = 0; _.__PngDecoder__input_A = $; _._progressY = 0; }, IccProfile$from(other) { return new A.IccProfile(other.name, other.compression, J.sublist$1$ax(other.data, 0)); }, IccProfileCompression: function IccProfileCompression(t0, t1) { this.index = t0; this._core$_name = t1; }, IccProfile: function IccProfile(t0, t1, t2) { this.name = t0; this.compression = t1; this.data = t2; }, Image$(backgroundColor, exif, format, frameDuration, frameType, height, iccp, loopCount, numChannels, palette, width, withPalette) { var t1 = new A.Image0(null, null, null, backgroundColor, loopCount, frameType, frameDuration, 0); t1.get$frames().push(t1); t1._image1$_initialize$9$exif$format$iccp$numChannels$palette$paletteFormat$withPalette(width, height, exif, format, iccp, numChannels, palette, B.Format_3, false); return t1; }, Image$from(other, noAnimation, noPixels) { var t2, t3, t4, _null = null, t1 = other.data; t1 = t1 == null ? _null : t1.clone$1$noPixels(0, noPixels); t2 = other._exif; t2 = t2 == null ? _null : A.ExifData$from(t2); t3 = other.iccProfile; t3 = t3 == null ? _null : A.IccProfile$from(t3); t4 = other.frameType; t1 = new A.Image0(t1, t3, t2, _null, other.loopCount, t4, other.frameDuration, other.frameIndex); t1.Image$from$3$noAnimation$noPixels(other, noAnimation, noPixels); return t1; }, FrameType: function FrameType(t0, t1) { this.index = t0; this._core$_name = t1; }, Image0: function Image0(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.data = t0; _.extraChannels = null; _.iccProfile = t1; _.textData = null; _._exif = t2; _.backgroundColor = t3; _.loopCount = t4; _.frameType = t5; _.__Image_frames_AI = $; _.frameDuration = t6; _.frameIndex = t7; }, ImageData0: function ImageData0() { }, ImageDataFloat16: function ImageDataFloat16(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataFloat32: function ImageDataFloat32(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataFloat64: function ImageDataFloat64(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataInt16: function ImageDataInt16(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataInt32: function ImageDataInt32(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataInt8: function ImageDataInt8(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataUint1: function ImageDataUint1(t0, t1, t2, t3, t4, t5) { var _ = this; _.__ImageDataUint1_data_F = t0; _.rowStride = t1; _.palette = t2; _._image_data_uint1$_pixel = null; _.width = t3; _.height = t4; _.numChannels = t5; }, ImageDataUint16: function ImageDataUint16(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataUint2: function ImageDataUint2(t0, t1, t2, t3, t4, t5) { var _ = this; _.__ImageDataUint2_data_F = t0; _.rowStride = t1; _.palette = t2; _._image_data_uint2$_pixel = null; _.width = t3; _.height = t4; _.numChannels = t5; }, ImageDataUint32: function ImageDataUint32(t0, t1, t2, t3) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.numChannels = t3; }, ImageDataUint4: function ImageDataUint4(t0, t1, t2, t3, t4, t5) { var _ = this; _.__ImageDataUint4_data_F = t0; _.rowStride = t1; _.palette = t2; _._pixel = null; _.width = t3; _.height = t4; _.numChannels = t5; }, ImageDataUint8$(width, height, numChannels) { return new A.ImageDataUint8(new Uint8Array(width * height * numChannels), null, width, height, numChannels); }, ImageDataUint8: function ImageDataUint8(t0, t1, t2, t3, t4) { var _ = this; _.data = t0; _.palette = t1; _.width = t2; _.height = t3; _.numChannels = t4; }, Palette0: function Palette0() { }, PaletteUint8: function PaletteUint8(t0, t1, t2) { this.data = t0; this.numColors = t1; this.numChannels = t2; }, PixelFloat16$imageData(image) { return new A.PixelFloat16(-1, 0, -image.numChannels, image); }, PixelFloat16: function PixelFloat16(t0, t1, t2, t3) { var _ = this; _._pixel_float16$_x = t0; _._pixel_float16$_y = t1; _._pixel_float16$_index = t2; _.image = t3; }, PixelFloat32$imageData(image) { return new A.PixelFloat32(-1, 0, -image.numChannels, image); }, PixelFloat32: function PixelFloat32(t0, t1, t2, t3) { var _ = this; _._pixel_float32$_x = t0; _._pixel_float32$_y = t1; _._pixel_float32$_index = t2; _.image = t3; }, PixelFloat64$imageData(image) { return new A.PixelFloat64(-1, 0, -image.numChannels, image); }, PixelFloat64: function PixelFloat64(t0, t1, t2, t3) { var _ = this; _._pixel_float64$_x = t0; _._pixel_float64$_y = t1; _._pixel_float64$_index = t2; _.image = t3; }, PixelInt16$imageData(image) { return new A.PixelInt16(-1, 0, -image.numChannels, image); }, PixelInt16: function PixelInt16(t0, t1, t2, t3) { var _ = this; _._pixel_int16$_x = t0; _._pixel_int16$_y = t1; _._pixel_int16$_index = t2; _.image = t3; }, PixelInt32$imageData(image) { return new A.PixelInt32(-1, 0, -image.numChannels, image); }, PixelInt32: function PixelInt32(t0, t1, t2, t3) { var _ = this; _._pixel_int32$_x = t0; _._pixel_int32$_y = t1; _._pixel_int32$_index = t2; _.image = t3; }, PixelInt8$imageData(image) { return new A.PixelInt8(-1, 0, -image.numChannels, image); }, PixelInt8: function PixelInt8(t0, t1, t2, t3) { var _ = this; _._pixel_int8$_x = t0; _._pixel_int8$_y = t1; _._pixel_int8$_index = t2; _.image = t3; }, PixelUint1$imageData(image) { return new A.PixelUint1(-1, 0, 0, -1, 0, image); }, PixelUint1: function PixelUint1(t0, t1, t2, t3, t4, t5) { var _ = this; _._pixel_uint1$_x = t0; _._pixel_uint1$_y = t1; _._pixel_uint1$_index = t2; _._pixel_uint1$_bitIndex = t3; _._pixel_uint1$_rowOffset = t4; _.image = t5; }, PixelUint16$imageData(image) { return new A.PixelUint16(-1, 0, -image.numChannels, image); }, PixelUint16: function PixelUint16(t0, t1, t2, t3) { var _ = this; _._pixel_uint16$_x = t0; _._pixel_uint16$_y = t1; _._pixel_uint16$_index = t2; _.image = t3; }, PixelUint2$imageData(image) { return new A.PixelUint2(-1, 0, 0, -2, 0, image); }, PixelUint2: function PixelUint2(t0, t1, t2, t3, t4, t5) { var _ = this; _._pixel_uint2$_x = t0; _._pixel_uint2$_y = t1; _._pixel_uint2$_index = t2; _._pixel_uint2$_bitIndex = t3; _._rowOffset = t4; _.image = t5; }, PixelUint32$imageData(image) { return new A.PixelUint32(-1, 0, -image.numChannels, image); }, PixelUint32: function PixelUint32(t0, t1, t2, t3) { var _ = this; _._pixel_uint32$_x = t0; _._pixel_uint32$_y = t1; _._pixel_uint32$_index = t2; _.image = t3; }, PixelUint4$imageData(image) { return new A.PixelUint4(-1, 0, 0, -(image.numChannels << 2 >>> 0), image); }, PixelUint4: function PixelUint4(t0, t1, t2, t3, t4) { var _ = this; _._pixel_uint4$_x = t0; _._pixel_uint4$_y = t1; _._pixel_uint4$_index = t2; _._bitIndex = t3; _.image = t4; }, PixelUint8$imageData(image) { return new A.PixelUint8(-1, 0, -image.numChannels, image); }, PixelUint8: function PixelUint8(t0, t1, t2, t3) { var _ = this; _._pixel_uint8$_x = t0; _._pixel_uint8$_y = t1; _._pixel_uint8$_index = t2; _.image = t3; }, PixelUndefined: function PixelUndefined() { }, ImageException$(message) { return new A.ImageException(message); }, ImageException: function ImageException(t0) { this.message = t0; }, InputBuffer$(buffer, bigEndian, $length, offset) { return new A.InputBuffer(buffer, offset, $length == null ? J.get$length$asx(buffer) : offset + $length, offset, true); }, InputBuffer: function InputBuffer(t0, t1, t2, t3, t4) { var _ = this; _.buffer = t0; _.start = t1; _.end = t2; _.offset = t3; _.bigEndian = t4; }, ImageCropperPlugin: function ImageCropperPlugin() { }, Promise0: function Promise0() { }, BindConfiguration: function BindConfiguration() { }, Data: function Data() { }, Boundary: function Boundary() { }, ViewPort: function ViewPort() { }, Options: function Options() { }, CroppieJS: function CroppieJS() { }, MethodChannelImageCropper: function MethodChannelImageCropper() { }, ImageCropperPlatform: function ImageCropperPlatform() { }, ImagePickerPlugin: function ImagePickerPlugin() { this.__ImagePickerPlugin__imageResizer_A = this.__ImagePickerPlugin__target_A = $; }, ImageResizer: function ImageResizer() { }, MethodChannelImagePicker: function MethodChannelImagePicker() { }, ImagePickerPlatform: function ImagePickerPlatform() { }, InAppPurchase__getOrCreateInstance() { var t2, t3, t4, t5, value, t6, _null = null, t1 = $.InAppPurchase__instance; if (t1 != null) return t1; if (A.defaultTargetPlatform() === B.TargetPlatform_0) { t1 = new A._AsyncBroadcastStreamController(_null, _null, type$._AsyncBroadcastStreamController_List_PurchaseDetails); t2 = new A.BillingClientManager(new A._AsyncBroadcastStreamController(_null, _null, type$._AsyncBroadcastStreamController_PurchasesResultWrapper), new A._AsyncBroadcastStreamController(_null, _null, type$._AsyncBroadcastStreamController_UserChoiceDetailsWrapper), A.billing_client_manager_BillingClientManager__createBillingClient$closure()); t2._connect$0(0); t3 = $.$get$InAppPurchasePlatform__token(); t4 = new A.InAppPurchaseAndroidPlatform(t1, t2); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t4, t3); t5 = new A._AsyncBroadcastStreamController(_null, _null, type$._AsyncBroadcastStreamController_GooglePlayUserChoiceDetails); value = t2.__BillingClientManager_userChoiceDetailsStream_FI; if (value === $) { t6 = t2._userChoiceAlternativeBillingController; value !== $ && A.throwUnnamedLateFieldADI(); value = t2.__BillingClientManager_userChoiceDetailsStream_FI = new A._BroadcastStream(t6, A._instanceType(t6)._eval$1("_BroadcastStream<1>")); } new A._MapStream(A.translator_Translator_convertToUserChoiceDetails$closure(), value, value.$ti._eval$1("_MapStream<Stream.T,GooglePlayUserChoiceDetails>")).listen$1(0, t5.get$add(t5)); $.InAppPurchasePlatformAddition__instance = new A.InAppPurchaseAndroidPlatformAddition(t5, t2); value = t2.__BillingClientManager_purchasesUpdatedStream_FI; if (value === $) { t5 = t2._purchasesUpdatedController; value !== $ && A.throwUnnamedLateFieldADI(); value = t2.__BillingClientManager_purchasesUpdatedStream_FI = new A._BroadcastStream(t5, A._instanceType(t5)._eval$1("_BroadcastStream<1>")); } value.asyncMap$1$1(t4.get$_getPurchaseDetailsFromResult(), type$.List_PurchaseDetails).listen$1(0, t1.get$add(t1)); A.PlatformInterface__verify(t4, t3, true); $.InAppPurchasePlatform____instance.__late_helper$_value = t4; } else if (A.defaultTargetPlatform() === B.TargetPlatform_2 || A.defaultTargetPlatform() === B.TargetPlatform_4) A.InAppPurchaseStoreKitPlatform_registerPlatform(); return $.InAppPurchase__instance = new A.InAppPurchase(); }, InAppPurchase: function InAppPurchase() { }, BillingClientManager__createBillingClient(onPurchasesUpdated, onUserChoiceAlternativeBilling) { var t1 = new A.HostBillingClientCallbackHandler(onPurchasesUpdated, onUserChoiceAlternativeBilling, A._setArrayType([], type$.JSArray_of_void_Function)); A.InAppPurchaseCallbackApi_setup(t1); return new A.BillingClient(new A.InAppPurchaseApi(), t1); }, BillingClientManager: function BillingClientManager(t0, t1, t2) { var _ = this; _.__BillingClientManager_client_FI = _.__BillingClientManager_purchasesUpdatedStream_FI = _.__BillingClientManager_userChoiceDetailsStream_FI = $; _._purchasesUpdatedController = t0; _._userChoiceAlternativeBillingController = t1; _._billingClientFactory = t2; _._billing_client_manager$_isDisposed = _._isConnecting = false; _.__BillingClientManager__readyFuture_A = $; }, BillingClientManager__connect_closure: function BillingClientManager__connect_closure(t0) { this.$this = t0; }, BillingClient: function BillingClient(t0, t1) { this._hostApi = t0; this.hostCallbackHandler = t1; }, BillingClient_queryProductDetails_closure: function BillingClient_queryProductDetails_closure() { }, HostBillingClientCallbackHandler: function HostBillingClientCallbackHandler(t0, t1, t2) { this.purchasesUpdatedCallback = t0; this.alternativeBillingListener = t1; this.disconnectCallbacks = t2; }, BillingResponse: function BillingResponse(t0, t1) { this.index = t0; this._core$_name = t1; }, BillingChoiceMode: function BillingChoiceMode(t0, t1) { this.index = t0; this._core$_name = t1; }, BillingResponseConverter: function BillingResponseConverter() { }, ProductType: function ProductType(t0, t1) { this.index = t0; this._core$_name = t1; }, BillingResultWrapper: function BillingResultWrapper(t0, t1) { this.responseCode = t0; this.debugMessage = t1; }, OneTimePurchaseOfferDetailsWrapper: function OneTimePurchaseOfferDetailsWrapper(t0, t1, t2) { this.formattedPrice = t0; this.priceAmountMicros = t1; this.priceCurrencyCode = t2; }, ProductDetailsWrapper: function ProductDetailsWrapper(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.description = t0; _.name = t1; _.oneTimePurchaseOfferDetails = t2; _.productId = t3; _.productType = t4; _.subscriptionOfferDetails = t5; _.title = t6; }, ProductDetailsResponseWrapper: function ProductDetailsResponseWrapper(t0, t1) { this.billingResult = t0; this.productDetailsList = t1; }, RecurrenceMode: function RecurrenceMode(t0, t1) { this.index = t0; this._core$_name = t1; }, ProductWrapper: function ProductWrapper(t0, t1) { this.productId = t0; this.productType = t1; }, PurchaseWrapper: function PurchaseWrapper(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.orderId = t0; _.packageName = t1; _.purchaseTime = t2; _.purchaseToken = t3; _.signature = t4; _.products = t5; _.isAutoRenewing = t6; _.originalJson = t7; _.isAcknowledged = t8; _.purchaseState = t9; }, PurchasesResultWrapper: function PurchasesResultWrapper(t0, t1, t2) { this.billingResult = t0; this.responseCode = t1; this.purchasesList = t2; }, PurchaseStateWrapper: function PurchaseStateWrapper(t0, t1) { this.index = t0; this._core$_name = t1; }, PurchaseStateConverter: function PurchaseStateConverter() { }, SubscriptionOfferDetailsWrapper: function SubscriptionOfferDetailsWrapper(t0, t1, t2, t3, t4) { var _ = this; _.basePlanId = t0; _.offerId = t1; _.offerTags = t2; _.offerIdToken = t3; _.pricingPhases = t4; }, PricingPhaseWrapper: function PricingPhaseWrapper(t0, t1, t2, t3, t4, t5) { var _ = this; _.billingCycleCount = t0; _.billingPeriod = t1; _.formattedPrice = t2; _.priceAmountMicros = t3; _.priceCurrencyCode = t4; _.recurrenceMode = t5; }, _$UserChoiceDetailsWrapperToJson(instance) { var t1 = instance.products, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Map<String,@>>"); return A.LinkedHashMap_LinkedHashMap$_literal(["originalExternalTransactionId", instance.originalExternalTransactionId, "externalTransactionToken", instance.externalTransactionToken, "products", A.List_List$of(new A.MappedListIterable(t1, new A._$UserChoiceDetailsWrapperToJson_closure(), t2), true, t2._eval$1("ListIterable.E"))], type$.String, type$.dynamic); }, _$UserChoiceDetailsProductWrapperToJson(instance) { var t1 = B.Map_IMcI2.$index(0, instance.productType); t1.toString; return A.LinkedHashMap_LinkedHashMap$_literal(["id", instance.id, "offerToken", instance.offerToken, "productType", t1], type$.String, type$.dynamic); }, UserChoiceDetailsWrapper: function UserChoiceDetailsWrapper(t0, t1, t2) { this.originalExternalTransactionId = t0; this.externalTransactionToken = t1; this.products = t2; }, UserChoiceDetailsProductWrapper: function UserChoiceDetailsProductWrapper(t0, t1, t2) { this.id = t0; this.offerToken = t1; this.productType = t2; }, _$UserChoiceDetailsWrapperToJson_closure: function _$UserChoiceDetailsWrapperToJson_closure() { }, InAppPurchaseAndroidPlatform: function InAppPurchaseAndroidPlatform(t0, t1) { this._purchaseUpdatedController = t0; this.__InAppPurchaseAndroidPlatform_purchaseStream_FI = $; this.billingClientManager = t1; }, InAppPurchaseAndroidPlatform_isAvailable_closure: function InAppPurchaseAndroidPlatform_isAvailable_closure() { }, InAppPurchaseAndroidPlatform_queryProductDetails_closure: function InAppPurchaseAndroidPlatform_queryProductDetails_closure(t0) { this.identifiers = t0; }, InAppPurchaseAndroidPlatform_queryProductDetails__closure0: function InAppPurchaseAndroidPlatform_queryProductDetails__closure0() { }, InAppPurchaseAndroidPlatform_queryProductDetails_closure0: function InAppPurchaseAndroidPlatform_queryProductDetails_closure0(t0) { this.identifiers = t0; }, InAppPurchaseAndroidPlatform_queryProductDetails__closure: function InAppPurchaseAndroidPlatform_queryProductDetails__closure() { }, InAppPurchaseAndroidPlatform_queryProductDetails_closure1: function InAppPurchaseAndroidPlatform_queryProductDetails_closure1() { }, InAppPurchaseAndroidPlatform_queryProductDetails_closure2: function InAppPurchaseAndroidPlatform_queryProductDetails_closure2() { }, InAppPurchaseAndroidPlatform_queryProductDetails_closure3: function InAppPurchaseAndroidPlatform_queryProductDetails_closure3() { }, InAppPurchaseAndroidPlatform_buyNonConsumable_closure: function InAppPurchaseAndroidPlatform_buyNonConsumable_closure(t0, t1) { this._box_0 = t0; this.purchaseParam = t1; }, InAppPurchaseAndroidPlatform_completePurchase_closure: function InAppPurchaseAndroidPlatform_completePurchase_closure(t0) { this.purchase = t0; }, InAppPurchaseAndroidPlatform_restorePurchases_closure: function InAppPurchaseAndroidPlatform_restorePurchases_closure() { }, InAppPurchaseAndroidPlatform_restorePurchases_closure0: function InAppPurchaseAndroidPlatform_restorePurchases_closure0() { }, InAppPurchaseAndroidPlatform_restorePurchases_closure1: function InAppPurchaseAndroidPlatform_restorePurchases_closure1() { }, InAppPurchaseAndroidPlatform_restorePurchases_closure2: function InAppPurchaseAndroidPlatform_restorePurchases_closure2() { }, InAppPurchaseAndroidPlatform_restorePurchases_closure3: function InAppPurchaseAndroidPlatform_restorePurchases_closure3() { }, InAppPurchaseAndroidPlatform_restorePurchases_closure4: function InAppPurchaseAndroidPlatform_restorePurchases_closure4() { }, InAppPurchaseAndroidPlatform_restorePurchases_closure5: function InAppPurchaseAndroidPlatform_restorePurchases_closure5() { }, InAppPurchaseAndroidPlatform__getPurchaseDetailsFromResult_closure: function InAppPurchaseAndroidPlatform__getPurchaseDetailsFromResult_closure() { }, InAppPurchaseAndroidPlatform__getPurchaseDetailsFromResult_closure0: function InAppPurchaseAndroidPlatform__getPurchaseDetailsFromResult_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.resultWrapper = t2; }, InAppPurchaseAndroidPlatformAddition: function InAppPurchaseAndroidPlatformAddition(t0, t1) { this._userChoiceDetailsStreamController = t0; this._billingClientManager = t1; }, InAppPurchaseAndroidPlatformAddition_consumePurchase_closure: function InAppPurchaseAndroidPlatformAddition_consumePurchase_closure(t0) { this.purchase = t0; }, _createConnectionError0(channelName) { return new A.PlatformException("channel-error", string$.Unable + channelName + '".', null, null); }, wrapResponse(empty, error) { if (empty) return []; if (error == null) return [null]; return [error.code, error.message, error.details]; }, PlatformAccountIdentifiers_decode(result) { var t1; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); return new A.PlatformAccountIdentifiers(A._asStringQ(t1.$index(result, 0)), A._asStringQ(t1.$index(result, 1))); }, PlatformBillingResult_decode(result) { var t1, t2; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); t2 = t1.$index(result, 0); t2.toString; A._asInt(t2); t1 = t1.$index(result, 1); t1.toString; return new A.PlatformBillingResult(t2, A._asString(t1)); }, PlatformOneTimePurchaseOfferDetails_decode(result) { var t1, t2, t3; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); t2 = t1.$index(result, 0); t2.toString; A._asInt(t2); t3 = t1.$index(result, 1); t3.toString; A._asString(t3); t1 = t1.$index(result, 2); t1.toString; return new A.PlatformOneTimePurchaseOfferDetails(t2, t3, A._asString(t1)); }, PlatformPurchase_decode(result) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t1 = type$.List_nullable_Object; t1._as(result); t2 = J.getInterceptor$asx(result); t3 = A._asStringQ(t2.$index(result, 0)); t4 = t2.$index(result, 1); t4.toString; A._asString(t4); t5 = t2.$index(result, 2); t5.toString; A._asInt(t5); t6 = t2.$index(result, 3); t6.toString; A._asString(t6); t7 = t2.$index(result, 4); t7.toString; A._asString(t7); t8 = type$.nullable_List_nullable_Object._as(t2.$index(result, 5)); t8.toString; t8 = J.cast$1$0$ax(t8, type$.nullable_String); t9 = t2.$index(result, 6); t9.toString; A._asBool(t9); t10 = t2.$index(result, 7); t10.toString; A._asString(t10); t11 = t2.$index(result, 8); t11.toString; A._asString(t11); t12 = t2.$index(result, 9); t12.toString; A._asBool(t12); t13 = t2.$index(result, 10); t13.toString; A._asInt(t13); t14 = t2.$index(result, 11); t14.toString; t14 = B.List_gg42[A._asInt(t14)]; if (t2.$index(result, 12) != null) { t2 = t2.$index(result, 12); t2.toString; t2 = A.PlatformAccountIdentifiers_decode(t1._as(t2)); t1 = t2; } else t1 = null; return new A.PlatformPurchase(t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t1); }, PlatformPurchasesResponse_decode(result) { var t2, t3, t1 = type$.List_nullable_Object; t1._as(result); t2 = J.getInterceptor$asx(result); t3 = t2.$index(result, 0); t3.toString; t3 = A.PlatformBillingResult_decode(t1._as(t3)); t2 = type$.nullable_List_nullable_Object._as(t2.$index(result, 1)); t2.toString; return new A.PlatformPurchasesResponse(t3, J.cast$1$0$ax(t2, type$.nullable_PlatformPurchase)); }, InAppPurchaseCallbackApi_setup(api) { var t1 = type$.BasicMessageChannel_nullable_Object; new A.BasicMessageChannel("dev.flutter.pigeon.in_app_purchase_android.InAppPurchaseCallbackApi.onBillingServiceDisconnected", B.C__InAppPurchaseCallbackApiCodec, null, t1).setMessageHandler$1(new A.InAppPurchaseCallbackApi_setup_closure(api)); new A.BasicMessageChannel("dev.flutter.pigeon.in_app_purchase_android.InAppPurchaseCallbackApi.onPurchasesUpdated", B.C__InAppPurchaseCallbackApiCodec, null, t1).setMessageHandler$1(new A.InAppPurchaseCallbackApi_setup_closure0(api)); new A.BasicMessageChannel("dev.flutter.pigeon.in_app_purchase_android.InAppPurchaseCallbackApi.userSelectedalternativeBilling", B.C__InAppPurchaseCallbackApiCodec, null, t1).setMessageHandler$1(new A.InAppPurchaseCallbackApi_setup_closure1(api)); }, PlatformProductType: function PlatformProductType(t0, t1) { this.index = t0; this._core$_name = t1; }, PlatformBillingChoiceMode: function PlatformBillingChoiceMode(t0, t1) { this.index = t0; this._core$_name = t1; }, PlatformPurchaseState: function PlatformPurchaseState(t0, t1) { this.index = t0; this._core$_name = t1; }, PlatformRecurrenceMode: function PlatformRecurrenceMode(t0, t1) { this.index = t0; this._core$_name = t1; }, PlatformQueryProduct: function PlatformQueryProduct(t0, t1) { this.productId = t0; this.productType = t1; }, PlatformAccountIdentifiers: function PlatformAccountIdentifiers(t0, t1) { this.obfuscatedAccountId = t0; this.obfuscatedProfileId = t1; }, PlatformBillingResult: function PlatformBillingResult(t0, t1) { this.responseCode = t0; this.debugMessage = t1; }, PlatformOneTimePurchaseOfferDetails: function PlatformOneTimePurchaseOfferDetails(t0, t1, t2) { this.priceAmountMicros = t0; this.formattedPrice = t1; this.priceCurrencyCode = t2; }, PlatformProductDetails: function PlatformProductDetails(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.description = t0; _.name = t1; _.productId = t2; _.productType = t3; _.title = t4; _.oneTimePurchaseOfferDetails = t5; _.subscriptionOfferDetails = t6; }, PlatformProductDetailsResponse: function PlatformProductDetailsResponse(t0, t1) { this.billingResult = t0; this.productDetails = t1; }, PlatformAlternativeBillingOnlyReportingDetailsResponse: function PlatformAlternativeBillingOnlyReportingDetailsResponse(t0, t1) { this.billingResult = t0; this.externalTransactionToken = t1; }, PlatformBillingConfigResponse: function PlatformBillingConfigResponse(t0, t1) { this.billingResult = t0; this.countryCode = t1; }, PlatformBillingFlowParams: function PlatformBillingFlowParams(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.product = t0; _.prorationMode = t1; _.offerToken = t2; _.accountId = t3; _.obfuscatedProfileId = t4; _.oldProduct = t5; _.purchaseToken = t6; }, PlatformPricingPhase: function PlatformPricingPhase(t0, t1, t2, t3, t4, t5) { var _ = this; _.billingCycleCount = t0; _.recurrenceMode = t1; _.priceAmountMicros = t2; _.billingPeriod = t3; _.formattedPrice = t4; _.priceCurrencyCode = t5; }, PlatformPurchase: function PlatformPurchase(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.orderId = t0; _.packageName = t1; _.purchaseTime = t2; _.purchaseToken = t3; _.signature = t4; _.products = t5; _.isAutoRenewing = t6; _.originalJson = t7; _.developerPayload = t8; _.isAcknowledged = t9; _.quantity = t10; _.purchaseState = t11; _.accountIdentifiers = t12; }, PlatformPurchaseHistoryRecord: function PlatformPurchaseHistoryRecord(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.quantity = t0; _.purchaseTime = t1; _.developerPayload = t2; _.originalJson = t3; _.purchaseToken = t4; _.signature = t5; _.products = t6; }, PlatformPurchaseHistoryResponse: function PlatformPurchaseHistoryResponse(t0, t1) { this.billingResult = t0; this.purchases = t1; }, PlatformPurchasesResponse: function PlatformPurchasesResponse(t0, t1) { this.billingResult = t0; this.purchases = t1; }, PlatformSubscriptionOfferDetails: function PlatformSubscriptionOfferDetails(t0, t1, t2, t3, t4) { var _ = this; _.basePlanId = t0; _.offerId = t1; _.offerToken = t2; _.offerTags = t3; _.pricingPhases = t4; }, PlatformUserChoiceDetails: function PlatformUserChoiceDetails(t0, t1, t2) { this.originalExternalTransactionId = t0; this.externalTransactionToken = t1; this.products = t2; }, PlatformUserChoiceProduct: function PlatformUserChoiceProduct(t0, t1, t2) { this.id = t0; this.offerToken = t1; this.type = t2; }, _InAppPurchaseApiCodec: function _InAppPurchaseApiCodec() { }, InAppPurchaseApi: function InAppPurchaseApi() { }, _InAppPurchaseCallbackApiCodec: function _InAppPurchaseCallbackApiCodec() { }, InAppPurchaseCallbackApi_setup_closure: function InAppPurchaseCallbackApi_setup_closure(t0) { this.api = t0; }, InAppPurchaseCallbackApi_setup_closure0: function InAppPurchaseCallbackApi_setup_closure0(t0) { this.api = t0; }, InAppPurchaseCallbackApi_setup_closure1: function InAppPurchaseCallbackApi_setup_closure1(t0) { this.api = t0; }, platformBillingChoiceMode(mode) { var t1; switch (mode.index) { case 0: t1 = B.PlatformBillingChoiceMode_0; break; case 1: t1 = B.PlatformBillingChoiceMode_1; break; case 2: t1 = B.PlatformBillingChoiceMode_2; break; default: t1 = null; } return t1; }, productDetailsResponseWrapperFromPlatform(response) { var t4, t1 = response.billingResult, t2 = B.C_BillingResponseConverter.fromJson$1(t1.responseCode), t3 = response.productDetails; t3 = t3.map$1$1(t3, new A.productDetailsResponseWrapperFromPlatform_closure(), type$.PlatformProductDetails); t4 = t3.$ti._eval$1("MappedListIterable<ListIterable.E,ProductDetailsWrapper>"); return new A.ProductDetailsResponseWrapper(new A.BillingResultWrapper(t2, t1.debugMessage), A.List_List$of(new A.MappedListIterable(t3, A.pigeon_converters__productDetailsWrapperFromPlatform$closure(), t4), true, t4._eval$1("ListIterable.E"))); }, productDetailsWrapperFromPlatform(product) { var t4, t1 = A.productTypeFromPlatform(product.productType), t2 = A.oneTimePurchaseOfferDetailsWrapperFromPlatform(product.oneTimePurchaseOfferDetails), t3 = product.subscriptionOfferDetails; if (t3 == null) t3 = null; else { t3 = t3.map$1$1(t3, new A.productDetailsWrapperFromPlatform_closure(), type$.PlatformSubscriptionOfferDetails); t4 = t3.$ti._eval$1("MappedListIterable<ListIterable.E,SubscriptionOfferDetailsWrapper>"); t4 = A.List_List$of(new A.MappedListIterable(t3, A.pigeon_converters__subscriptionOfferDetailsWrapperFromPlatform$closure(), t4), true, t4._eval$1("ListIterable.E")); t3 = t4; } return new A.ProductDetailsWrapper(product.description, product.name, t2, product.productId, t1, t3, product.title); }, oneTimePurchaseOfferDetailsWrapperFromPlatform(details) { if (details == null) return null; return new A.OneTimePurchaseOfferDetailsWrapper(details.formattedPrice, details.priceAmountMicros, details.priceCurrencyCode); }, purchasesResultWrapperFromPlatform(response, forceOkResponseCode) { var t5, t1 = response.billingResult, t2 = t1.responseCode, t3 = B.C_BillingResponseConverter.fromJson$1(t2), t4 = response.purchases; t4 = t4.map$1$1(t4, new A.purchasesResultWrapperFromPlatform_closure(), type$.PlatformPurchase); t5 = t4.$ti._eval$1("MappedListIterable<ListIterable.E,PurchaseWrapper>"); t5 = A.List_List$of(new A.MappedListIterable(t4, A.pigeon_converters__purchaseWrapperFromPlatform$closure(), t5), true, t5._eval$1("ListIterable.E")); t2 = forceOkResponseCode ? B.BillingResponse_3 : B.C_BillingResponseConverter.fromJson$1(t2); return new A.PurchasesResultWrapper(new A.BillingResultWrapper(t3, t1.debugMessage), t2, t5); }, platformProductTypeFromWrapper(type) { var t1; switch (type.index) { case 0: t1 = B.PlatformProductType_0; break; case 1: t1 = B.PlatformProductType_1; break; default: t1 = null; } return t1; }, pricingPhaseWrapperFromPlatform(phase) { return new A.PricingPhaseWrapper(phase.billingCycleCount, phase.billingPeriod, phase.formattedPrice, phase.priceAmountMicros, phase.priceCurrencyCode, A.recurrenceModeFromPlatform(phase.recurrenceMode)); }, productTypeFromPlatform(type) { var t1; switch (type.index) { case 0: t1 = B.ProductType_0; break; case 1: t1 = B.ProductType_1; break; default: t1 = null; } return t1; }, purchaseWrapperFromPlatform(purchase) { var t2, t3, t1 = purchase.orderId; if (t1 == null) t1 = ""; t2 = purchase.products; t2 = t2.map$1$1(t2, new A.purchaseWrapperFromPlatform_closure(), type$.String); t2 = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")); t3 = A.purchaseStateWrapperFromPlatform(purchase.purchaseState); return new A.PurchaseWrapper(t1, purchase.packageName, purchase.purchaseTime, purchase.purchaseToken, purchase.signature, t2, purchase.isAutoRenewing, purchase.originalJson, purchase.isAcknowledged, t3); }, purchaseStateWrapperFromPlatform(state) { var t1; switch (state.index) { case 0: t1 = B.PurchaseStateWrapper_0; break; case 1: t1 = B.PurchaseStateWrapper_1; break; case 2: t1 = B.PurchaseStateWrapper_2; break; default: t1 = null; } return t1; }, recurrenceModeFromPlatform(mode) { var t1; switch (mode.index) { case 0: t1 = B.RecurrenceMode_0; break; case 1: t1 = B.RecurrenceMode_1; break; case 2: t1 = B.RecurrenceMode_2; break; default: t1 = null; } return t1; }, subscriptionOfferDetailsWrapperFromPlatform(offer) { var t2, t3, t1 = offer.offerTags; t1 = t1.map$1$1(t1, new A.subscriptionOfferDetailsWrapperFromPlatform_closure(), type$.String); t1 = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); t2 = offer.pricingPhases; t2 = t2.map$1$1(t2, new A.subscriptionOfferDetailsWrapperFromPlatform_closure0(), type$.PlatformPricingPhase); t3 = t2.$ti._eval$1("MappedListIterable<ListIterable.E,PricingPhaseWrapper>"); return new A.SubscriptionOfferDetailsWrapper(offer.basePlanId, offer.offerId, t1, offer.offerToken, A.List_List$of(new A.MappedListIterable(t2, A.pigeon_converters__pricingPhaseWrapperFromPlatform$closure(), t3), true, t3._eval$1("ListIterable.E"))); }, userChoiceDetailsFromPlatform(details) { var t2, t3, t1 = details.originalExternalTransactionId; if (t1 == null) t1 = ""; t2 = details.products; t2 = t2.map$1$1(t2, new A.userChoiceDetailsFromPlatform_closure(), type$.PlatformUserChoiceProduct); t3 = t2.$ti._eval$1("MappedListIterable<ListIterable.E,UserChoiceDetailsProductWrapper>"); return new A.UserChoiceDetailsWrapper(t1, details.externalTransactionToken, A.List_List$of(new A.MappedListIterable(t2, A.pigeon_converters__userChoiceDetailsProductFromPlatform$closure(), t3), true, t3._eval$1("ListIterable.E"))); }, userChoiceDetailsProductFromPlatform(product) { var t1 = product.offerToken; if (t1 == null) t1 = ""; return new A.UserChoiceDetailsProductWrapper(product.id, t1, A.productTypeFromPlatform(product.type)); }, productDetailsResponseWrapperFromPlatform_closure: function productDetailsResponseWrapperFromPlatform_closure() { }, productDetailsWrapperFromPlatform_closure: function productDetailsWrapperFromPlatform_closure() { }, purchasesResultWrapperFromPlatform_closure: function purchasesResultWrapperFromPlatform_closure() { }, purchaseWrapperFromPlatform_closure: function purchaseWrapperFromPlatform_closure() { }, subscriptionOfferDetailsWrapperFromPlatform_closure: function subscriptionOfferDetailsWrapperFromPlatform_closure() { }, subscriptionOfferDetailsWrapperFromPlatform_closure0: function subscriptionOfferDetailsWrapperFromPlatform_closure0() { }, userChoiceDetailsFromPlatform_closure: function userChoiceDetailsFromPlatform_closure() { }, GooglePlayProductDetails$_(currencyCode, currencySymbol, description, id, price, productDetails, rawPrice, subscriptionIndex, title) { return new A.GooglePlayProductDetails(productDetails, subscriptionIndex, id, description, price, rawPrice); }, GooglePlayProductDetails_fromProductDetails(productDetails) { var oneTimePurchaseOfferDetails, formattedPrice, t1, currencyCode, currencySymbol, t2, productDetailList, t3, subscriptionIndex, firstPricingPhase, t4; if (productDetails.productType === B.ProductType_0) { oneTimePurchaseOfferDetails = productDetails.oneTimePurchaseOfferDetails; formattedPrice = oneTimePurchaseOfferDetails.formattedPrice; t1 = oneTimePurchaseOfferDetails.priceAmountMicros; currencyCode = oneTimePurchaseOfferDetails.priceCurrencyCode; currencySymbol = A.GooglePlayProductDetails__extractCurrencySymbol(formattedPrice); t2 = currencySymbol == null ? currencyCode : currencySymbol; return A._setArrayType([A.GooglePlayProductDetails$_(currencyCode, t2, productDetails.description, productDetails.productId, formattedPrice, productDetails, t1 / 1000000, null, productDetails.title)], type$.JSArray_GooglePlayProductDetails); } else { productDetailList = A._setArrayType([], type$.JSArray_GooglePlayProductDetails); for (t1 = productDetails.subscriptionOfferDetails, t2 = productDetails.productId, t3 = productDetails.description, subscriptionIndex = 0; subscriptionIndex < t1.length; ++subscriptionIndex) { firstPricingPhase = B.JSArray_methods.get$first(t1[subscriptionIndex].pricingPhases); formattedPrice = firstPricingPhase.formattedPrice; t4 = firstPricingPhase.priceAmountMicros; A.RegExp_RegExp("^[^\\d ]*|[^\\d ]*$", true, false, false, false).firstMatch$1(formattedPrice); productDetailList.push(new A.GooglePlayProductDetails(productDetails, subscriptionIndex, t2, t3, formattedPrice, t4 / 1000000)); } return productDetailList; } }, GooglePlayProductDetails__extractCurrencySymbol(formattedPrice) { var t1 = A.RegExp_RegExp("^[^\\d ]*|[^\\d ]*$", true, false, false, false).firstMatch$1(formattedPrice); return t1 == null ? null : t1._match[0]; }, GooglePlayProductDetails: function GooglePlayProductDetails(t0, t1, t2, t3, t4, t5) { var _ = this; _.productDetails = t0; _.subscriptionIndex = t1; _.id = t2; _.description = t3; _.price = t4; _.rawPrice = t5; }, GooglePlayPurchaseDetails_fromPurchase(purchase) { var t1 = purchase.products, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,GooglePlayPurchaseDetails>"); return A.List_List$of(new A.MappedListIterable(t1, new A.GooglePlayPurchaseDetails_fromPurchase_closure(purchase), t2), true, t2._eval$1("ListIterable.E")); }, GooglePlayPurchaseDetails: function GooglePlayPurchaseDetails(t0, t1, t2, t3, t4, t5) { var _ = this; _.billingClientPurchase = t0; _.purchaseID = t1; _.productID = t2; _.verificationData = t3; _.transactionDate = t4; _.status = t5; _.error = null; _.pendingCompletePurchase = false; }, GooglePlayPurchaseDetails_fromPurchase_closure: function GooglePlayPurchaseDetails_fromPurchase_closure(t0) { this.purchase = t0; }, GooglePlayPurchaseParam: function GooglePlayPurchaseParam(t0, t1) { this.productDetails = t0; this.applicationUserName = t1; }, GooglePlayUserChoiceDetails: function GooglePlayUserChoiceDetails(t0, t1, t2) { this.originalExternalTransactionId = t0; this.externalTransactionToken = t1; this.products = t2; }, GooglePlayUserChoiceDetailsProduct: function GooglePlayUserChoiceDetailsProduct(t0, t1, t2) { this.id = t0; this.offerToken = t1; this.productType = t2; }, GooglePlayProductType: function GooglePlayProductType(t0, t1) { this.index = t0; this._core$_name = t1; }, Translator_convertToUserChoiceDetails(detailsWrapper) { var t1 = detailsWrapper.products, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,GooglePlayUserChoiceDetailsProduct>"); return new A.GooglePlayUserChoiceDetails(detailsWrapper.originalExternalTransactionId, detailsWrapper.externalTransactionToken, A.List_List$of(new A.MappedListIterable(t1, new A.Translator_convertToUserChoiceDetails_closure(), t2), true, t2._eval$1("ListIterable.E"))); }, Translator_convertToPlayProductType(type) { switch (type.index) { case 0: return B.GooglePlayProductType_0; case 1: return B.GooglePlayProductType_1; } }, Translator_convertToUserChoiceDetails_closure: function Translator_convertToUserChoiceDetails_closure() { }, IAPError: function IAPError(t0, t1, t2, t3) { var _ = this; _.source = t0; _.code = t1; _.message = t2; _.details = t3; }, InAppPurchaseException: function InAppPurchaseException(t0, t1, t2) { this.code = t0; this.message = t1; this.source = t2; }, InAppPurchasePlatform: function InAppPurchasePlatform() { }, InAppPurchasePlatformAddition: function InAppPurchasePlatformAddition() { }, ProductDetails: function ProductDetails() { }, ProductDetailsResponse: function ProductDetailsResponse(t0, t1) { this.productDetails = t0; this.error = t1; }, PurchaseDetails: function PurchaseDetails(t0, t1, t2, t3, t4) { var _ = this; _.purchaseID = t0; _.productID = t1; _.verificationData = t2; _.transactionDate = t3; _.status = t4; _.error = null; _.pendingCompletePurchase = false; }, PurchaseParam: function PurchaseParam(t0, t1) { this.productDetails = t0; this.applicationUserName = t1; }, PurchaseStatus: function PurchaseStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, PurchaseVerificationData: function PurchaseVerificationData(t0) { this.serverVerificationData = t0; }, InAppPurchaseStoreKitPlatform_registerPlatform() { var t1, t2; $.InAppPurchasePlatformAddition__instance = new A.InAppPurchaseStoreKitPlatformAddition(); t1 = $.$get$InAppPurchasePlatform__token(); t2 = new A.InAppPurchaseStoreKitPlatform(); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t2, t1); A.PlatformInterface__verify(t2, t1, true); $.InAppPurchasePlatform____instance.__late_helper$_value = t2; $.InAppPurchaseStoreKitPlatform____skPaymentQueueWrapper.__late_helper$_value = $.$get$SKPaymentQueueWrapper__singleton(); $.InAppPurchaseStoreKitPlatform____observer.__late_helper$_value = new A._TransactionObserver(new A._AsyncBroadcastStreamController(new A.InAppPurchaseStoreKitPlatform_registerPlatform_closure(), new A.InAppPurchaseStoreKitPlatform_registerPlatform_closure0(), type$._AsyncBroadcastStreamController_List_PurchaseDetails), B._TransactionRestoreState_0); t1 = $.InAppPurchaseStoreKitPlatform____skPaymentQueueWrapper._readField$0(); t1._observer = $.InAppPurchaseStoreKitPlatform____observer._readField$0(); B.MethodChannel_4IJ.setMethodCallHandler$1(t1.get$handleObserverCallbacks()); }, InAppPurchaseStoreKitPlatform: function InAppPurchaseStoreKitPlatform() { }, InAppPurchaseStoreKitPlatform_registerPlatform_closure: function InAppPurchaseStoreKitPlatform_registerPlatform_closure() { }, InAppPurchaseStoreKitPlatform_registerPlatform_closure0: function InAppPurchaseStoreKitPlatform_registerPlatform_closure0() { }, InAppPurchaseStoreKitPlatform_restorePurchases_closure: function InAppPurchaseStoreKitPlatform_restorePurchases_closure() { }, InAppPurchaseStoreKitPlatform_queryProductDetails_closure: function InAppPurchaseStoreKitPlatform_queryProductDetails_closure() { }, _TransactionRestoreState: function _TransactionRestoreState(t0, t1) { this.index = t0; this._core$_name = t1; }, _TransactionObserver: function _TransactionObserver(t0, t1) { var _ = this; _.purchaseUpdatedController = t0; _._restoreCompleter = null; _.___TransactionObserver__receiptData_A = $; _._transactionRestoreState = t1; }, _TransactionObserver__handleTransationUpdates_closure: function _TransactionObserver__handleTransationUpdates_closure() { }, _TransactionObserver__handleTransationUpdates_closure0: function _TransactionObserver__handleTransationUpdates_closure0(t0) { this.receiptData = t0; }, InAppPurchaseStoreKitPlatformAddition: function InAppPurchaseStoreKitPlatformAddition() { }, _createConnectionError(channelName) { return new A.PlatformException("channel-error", string$.Unable + channelName + '".', null, null); }, SKPaymentTransactionMessage_decode(result) { var t2, t3, t4, t5, t6, t7, t1 = type$.List_nullable_Object; t1._as(result); t2 = J.getInterceptor$asx(result); t3 = t2.$index(result, 0); t3.toString; t3 = A.SKPaymentMessage_decode(t1._as(t3)); t4 = t2.$index(result, 1); t4.toString; t4 = B.List_sEV[A._asInt(t4)]; if (t2.$index(result, 2) != null) { t5 = t2.$index(result, 2); t5.toString; t5 = A.SKPaymentTransactionMessage_decode(t1._as(t5)); } else t5 = null; t6 = A._asDoubleQ(t2.$index(result, 3)); t7 = A._asStringQ(t2.$index(result, 4)); if (t2.$index(result, 5) != null) { t2 = t2.$index(result, 5); t2.toString; t2 = A.SKErrorMessage_decode(t1._as(t2)); t1 = t2; } else t1 = null; return new A.SKPaymentTransactionMessage(t3, t4, t5, t6, t7, t1); }, SKPaymentMessage_decode(result) { var t2, t3, t4, t5, t6, t7, t1 = type$.List_nullable_Object; t1._as(result); t2 = J.getInterceptor$asx(result); t3 = t2.$index(result, 0); t3.toString; A._asString(t3); t4 = A._asStringQ(t2.$index(result, 1)); t5 = A._asStringQ(t2.$index(result, 2)); t6 = t2.$index(result, 3); t6.toString; A._asInt(t6); t7 = t2.$index(result, 4); t7.toString; A._asBool(t7); if (t2.$index(result, 5) != null) { t2 = t2.$index(result, 5); t2.toString; t2 = A.SKPaymentDiscountMessage_decode(t1._as(t2)); t1 = t2; } else t1 = null; return new A.SKPaymentMessage(t3, t4, t5, t6, t7, t1); }, SKErrorMessage_decode(result) { var t1, t2, t3; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); t2 = t1.$index(result, 0); t2.toString; A._asInt(t2); t3 = t1.$index(result, 1); t3.toString; A._asString(t3); t1 = type$.nullable_Map_of_nullable_Object_and_nullable_Object._as(t1.$index(result, 2)); return new A.SKErrorMessage(t2, t3, t1 == null ? null : J.cast$2$0$ax(t1, type$.nullable_String, type$.nullable_Object)); }, SKPaymentDiscountMessage_decode(result) { var t1, t2, t3, t4, t5; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); t2 = t1.$index(result, 0); t2.toString; A._asString(t2); t3 = t1.$index(result, 1); t3.toString; A._asString(t3); t4 = t1.$index(result, 2); t4.toString; A._asString(t4); t5 = t1.$index(result, 3); t5.toString; A._asString(t5); t1 = t1.$index(result, 4); t1.toString; return new A.SKPaymentDiscountMessage(t2, t3, t4, t5, A._asInt(t1)); }, SKPriceLocaleMessage_decode(result) { var t1, t2, t3; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); t2 = t1.$index(result, 0); t2.toString; A._asString(t2); t3 = t1.$index(result, 1); t3.toString; A._asString(t3); t1 = t1.$index(result, 2); t1.toString; return new A.SKPriceLocaleMessage(t2, t3, A._asString(t1)); }, SKProductDiscountMessage_decode(result) { var t2, t3, t4, t5, t6, t7, t1 = type$.List_nullable_Object; t1._as(result); t2 = J.getInterceptor$asx(result); t3 = t2.$index(result, 0); t3.toString; A._asString(t3); t4 = t2.$index(result, 1); t4.toString; t4 = A.SKPriceLocaleMessage_decode(t1._as(t4)); t5 = t2.$index(result, 2); t5.toString; A._asInt(t5); t6 = t2.$index(result, 3); t6.toString; t6 = B.List_Mpb[A._asInt(t6)]; t7 = t2.$index(result, 4); t7.toString; t7 = A.SKProductSubscriptionPeriodMessage_decode(t1._as(t7)); t1 = A._asStringQ(t2.$index(result, 5)); t2 = t2.$index(result, 6); t2.toString; return new A.SKProductDiscountMessage(t3, t4, t5, t6, t7, t1, B.List_s8I0[A._asInt(t2)]); }, SKProductSubscriptionPeriodMessage_decode(result) { var t1, t2; type$.List_nullable_Object._as(result); t1 = J.getInterceptor$asx(result); t2 = t1.$index(result, 0); t2.toString; A._asInt(t2); t1 = t1.$index(result, 1); t1.toString; return new A.SKProductSubscriptionPeriodMessage(t2, B.List_2Oz[A._asInt(t1)]); }, InAppPurchaseAPI$() { return new A.InAppPurchaseAPI(); }, SKPaymentTransactionStateMessage: function SKPaymentTransactionStateMessage(t0, t1) { this.index = t0; this._core$_name = t1; }, SKProductDiscountTypeMessage: function SKProductDiscountTypeMessage(t0, t1) { this.index = t0; this._core$_name = t1; }, SKProductDiscountPaymentModeMessage: function SKProductDiscountPaymentModeMessage(t0, t1) { this.index = t0; this._core$_name = t1; }, SKSubscriptionPeriodUnitMessage: function SKSubscriptionPeriodUnitMessage(t0, t1) { this.index = t0; this._core$_name = t1; }, SKPaymentTransactionMessage: function SKPaymentTransactionMessage(t0, t1, t2, t3, t4, t5) { var _ = this; _.payment = t0; _.transactionState = t1; _.originalTransaction = t2; _.transactionTimeStamp = t3; _.transactionIdentifier = t4; _.error = t5; }, SKPaymentMessage: function SKPaymentMessage(t0, t1, t2, t3, t4, t5) { var _ = this; _.productIdentifier = t0; _.applicationUsername = t1; _.requestData = t2; _.quantity = t3; _.simulatesAskToBuyInSandbox = t4; _.paymentDiscount = t5; }, SKErrorMessage: function SKErrorMessage(t0, t1, t2) { this.code = t0; this.domain = t1; this.userInfo = t2; }, SKPaymentDiscountMessage: function SKPaymentDiscountMessage(t0, t1, t2, t3, t4) { var _ = this; _.identifier = t0; _.keyIdentifier = t1; _.nonce = t2; _.signature = t3; _.timestamp = t4; }, SKStorefrontMessage: function SKStorefrontMessage(t0, t1) { this.countryCode = t0; this.identifier = t1; }, SKProductsResponseMessage: function SKProductsResponseMessage(t0, t1) { this.products = t0; this.invalidProductIdentifiers = t1; }, SKProductMessage: function SKProductMessage(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.productIdentifier = t0; _.localizedTitle = t1; _.localizedDescription = t2; _.priceLocale = t3; _.subscriptionGroupIdentifier = t4; _.price = t5; _.subscriptionPeriod = t6; _.introductoryPrice = t7; _.discounts = t8; }, SKPriceLocaleMessage: function SKPriceLocaleMessage(t0, t1, t2) { this.currencySymbol = t0; this.currencyCode = t1; this.countryCode = t2; }, SKProductDiscountMessage: function SKProductDiscountMessage(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.price = t0; _.priceLocale = t1; _.numberOfPeriods = t2; _.paymentMode = t3; _.subscriptionPeriod = t4; _.identifier = t5; _.type = t6; }, SKProductSubscriptionPeriodMessage: function SKProductSubscriptionPeriodMessage(t0, t1) { this.numberOfUnits = t0; this.unit = t1; }, _InAppPurchaseAPICodec: function _InAppPurchaseAPICodec() { }, InAppPurchaseAPI: function InAppPurchaseAPI() { }, SKTransactionStatusConverter: function SKTransactionStatusConverter() { }, SKSubscriptionPeriodUnitConverter: function SKSubscriptionPeriodUnitConverter() { }, SKProductDiscountPaymentModeConverter: function SKProductDiscountPaymentModeConverter() { }, SKProductDiscountTypeConverter: function SKProductDiscountTypeConverter() { }, SKPaymentQueueWrapper_canMakePayments() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue; var $async$SKPaymentQueueWrapper_canMakePayments = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $.$get$_hostApi().canMakePayments$0(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SKPaymentQueueWrapper_canMakePayments, $async$completer); }, _$SKErrorFromJson(json) { var t2, t3, t1 = A._asIntQ(json.$index(0, "code")); if (t1 == null) t1 = 0; t2 = A._asStringQ(json.$index(0, "domain")); if (t2 == null) t2 = ""; t3 = type$.nullable_Map_dynamic_dynamic._as(json.$index(0, "userInfo")); t3 = t3 == null ? null : J.map$2$1$ax(t3, new A._$SKErrorFromJson_closure(), type$.nullable_String, type$.nullable_Object); return new A.SKError(t1, t2, t3 == null ? A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, type$.nullable_Object) : t3); }, _$SKPaymentWrapperFromJson(json) { var t2, t3, t4, t5, t1 = A._asStringQ(json.$index(0, "productIdentifier")); if (t1 == null) t1 = ""; t2 = A._asStringQ(json.$index(0, "applicationUsername")); t3 = A._asStringQ(json.$index(0, "requestData")); t4 = A._asIntQ(json.$index(0, "quantity")); if (t4 == null) t4 = 0; t5 = A._asBoolQ(json.$index(0, "simulatesAskToBuyInSandbox")); return new A.SKPaymentWrapper(t1, t2, t3, t4, t5 === true, null); }, SKPaymentQueueWrapper: function SKPaymentQueueWrapper() { this._observer = this._paymentQueueDelegate = null; }, SKPaymentQueueWrapper_handleObserverCallbacks_closure: function SKPaymentQueueWrapper_handleObserverCallbacks_closure(t0, t1) { this.observer = t0; this.transactions = t1; }, SKPaymentQueueWrapper_handleObserverCallbacks_closure0: function SKPaymentQueueWrapper_handleObserverCallbacks_closure0(t0, t1) { this.observer = t0; this.transactions = t1; }, SKPaymentQueueWrapper_handleObserverCallbacks_closure1: function SKPaymentQueueWrapper_handleObserverCallbacks_closure1(t0, t1) { this.observer = t0; this.error = t1; }, SKPaymentQueueWrapper_handleObserverCallbacks_closure2: function SKPaymentQueueWrapper_handleObserverCallbacks_closure2(t0) { this.observer = t0; }, SKPaymentQueueWrapper_handleObserverCallbacks_closure3: function SKPaymentQueueWrapper_handleObserverCallbacks_closure3(t0, t1, t2) { this.observer = t0; this.payment = t1; this.product = t2; }, SKPaymentQueueWrapper__getTransactionList_closure: function SKPaymentQueueWrapper__getTransactionList_closure() { }, SKError: function SKError(t0, t1, t2) { this.code = t0; this.domain = t1; this.userInfo = t2; }, SKPaymentWrapper: function SKPaymentWrapper(t0, t1, t2, t3, t4, t5) { var _ = this; _.productIdentifier = t0; _.applicationUsername = t1; _.requestData = t2; _.quantity = t3; _.simulatesAskToBuyInSandbox = t4; _.paymentDiscount = t5; }, _$SKErrorFromJson_closure: function _$SKErrorFromJson_closure() { }, _$SKPaymentTransactionWrapperFromJson(json) { var t8, _s19_ = "originalTransaction", t1 = type$.Map_dynamic_dynamic, t2 = type$.String, t3 = type$.dynamic, t4 = A._$SKPaymentWrapperFromJson(A.LinkedHashMap_LinkedHashMap$from(t1._as(json.$index(0, "payment")), t2, t3)), t5 = B.C_SKTransactionStatusConverter.fromJson$1(A._asIntQ(json.$index(0, "transactionState"))), t6 = json.$index(0, _s19_) == null ? null : A._$SKPaymentTransactionWrapperFromJson(A.LinkedHashMap_LinkedHashMap$from(t1._as(json.$index(0, _s19_)), t2, t3)), t7 = A._asNumQ(json.$index(0, "transactionTimeStamp")); if (t7 == null) t7 = null; t8 = A._asStringQ(json.$index(0, "transactionIdentifier")); return new A.SKPaymentTransactionWrapper(t5, t4, t6, t7, t8, json.$index(0, "error") == null ? null : A._$SKErrorFromJson(A.LinkedHashMap_LinkedHashMap$from(t1._as(json.$index(0, "error")), t2, t3))); }, SKPaymentTransactionStateWrapper: function SKPaymentTransactionStateWrapper(t0, t1) { this.index = t0; this._core$_name = t1; }, SKPaymentTransactionWrapper: function SKPaymentTransactionWrapper(t0, t1, t2, t3, t4, t5) { var _ = this; _.transactionState = t0; _.payment = t1; _.originalTransaction = t2; _.transactionTimeStamp = t3; _.transactionIdentifier = t4; _.error = t5; }, SkProductResponseWrapper_convertFromPigeon(msg) { var t2, t1 = msg.products; t1 = t1.map$1$1(t1, new A.SkProductResponseWrapper_convertFromPigeon_closure(), type$.SKProductWrapper); t1 = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); t2 = msg.invalidProductIdentifiers; return new A.SkProductResponseWrapper(t1, t2 != null ? t2.cast$1$0(0, type$.String) : A._setArrayType([], type$.JSArray_String)); }, SKSubscriptionPeriodUnit_convertFromPigeon(msg) { switch (msg.index) { case 0: return B.SKSubscriptionPeriodUnit_0; case 1: return B.SKSubscriptionPeriodUnit_1; case 2: return B.SKSubscriptionPeriodUnit_2; case 3: return B.SKSubscriptionPeriodUnit_3; } }, SKProductSubscriptionPeriodWrapper_SKProductSubscriptionPeriodWrapper$fromJson(map) { var t1; if (map == null) return new A.SKProductSubscriptionPeriodWrapper(0, B.SKSubscriptionPeriodUnit_0); t1 = A._asIntQ(map.$index(0, "numberOfUnits")); if (t1 == null) t1 = 0; return new A.SKProductSubscriptionPeriodWrapper(t1, B.C_SKSubscriptionPeriodUnitConverter.fromJson$1(A._asIntQ(map.$index(0, "unit")))); }, SKProductDiscountPaymentMode_convertFromPigeon(msg) { switch (msg.index) { case 0: return B.SKProductDiscountPaymentMode_0; case 1: return B.SKProductDiscountPaymentMode_1; case 2: return B.SKProductDiscountPaymentMode_2; case 3: return B.SKProductDiscountPaymentMode_3; } }, SKProductDiscountType_convertFromPigeon(msg) { switch (msg.index) { case 0: return B.SKProductDiscountType_0; case 1: return B.SKProductDiscountType_1; } }, SKProductDiscountWrapper_convertFromPigeon(msg) { var t1 = msg.priceLocale, t2 = msg.subscriptionPeriod; return new A.SKProductDiscountWrapper(msg.price, new A.SKPriceLocaleWrapper(t1.currencySymbol, t1.currencyCode), msg.numberOfPeriods, A.SKProductDiscountPaymentMode_convertFromPigeon(msg.paymentMode), new A.SKProductSubscriptionPeriodWrapper(t2.numberOfUnits, A.SKSubscriptionPeriodUnit_convertFromPigeon(t2.unit)), msg.identifier, A.SKProductDiscountType_convertFromPigeon(msg.type)); }, SKProductWrapper_convertFromPigeon(msg) { var t3, t4, t1 = msg.priceLocale, t2 = msg.subscriptionPeriod; t2 = t2 != null ? new A.SKProductSubscriptionPeriodWrapper(t2.numberOfUnits, A.SKSubscriptionPeriodUnit_convertFromPigeon(t2.unit)) : null; t3 = msg.introductoryPrice; t3 = t3 != null ? A.SKProductDiscountWrapper_convertFromPigeon(t3) : null; t4 = msg.discounts; if (t4 != null) { t4 = t4.map$1$1(t4, new A.SKProductWrapper_convertFromPigeon_closure(), type$.SKProductDiscountWrapper); t4 = A.List_List$of(t4, true, t4.$ti._eval$1("ListIterable.E")); } else t4 = A._setArrayType([], type$.JSArray_SKProductDiscountWrapper); return new A.SKProductWrapper(msg.productIdentifier, msg.localizedTitle, msg.localizedDescription, new A.SKPriceLocaleWrapper(t1.currencySymbol, t1.currencyCode), msg.subscriptionGroupIdentifier, msg.price, t2, t3, t4); }, SKPriceLocaleWrapper_SKPriceLocaleWrapper$fromJson(map) { var t1, t2; if (map == null) return new A.SKPriceLocaleWrapper("", ""); t1 = A._asStringQ(map.$index(0, "currencySymbol")); if (t1 == null) t1 = ""; t2 = A._asStringQ(map.$index(0, "currencyCode")); if (t2 == null) t2 = ""; A._asStringQ(map.$index(0, "countryCode")); return new A.SKPriceLocaleWrapper(t1, t2); }, _$SKProductDiscountWrapperFromJson(json) { var t2, t3, t4, t5, t6, t1 = A._asStringQ(json.$index(0, "price")); if (t1 == null) t1 = ""; t2 = type$.nullable_Map_dynamic_dynamic; t3 = t2._as(json.$index(0, "priceLocale")); t3 = A.SKPriceLocaleWrapper_SKPriceLocaleWrapper$fromJson(t3 == null ? null : J.map$2$1$ax(t3, new A._$SKProductDiscountWrapperFromJson_closure(), type$.String, type$.dynamic)); t4 = A._asIntQ(json.$index(0, "numberOfPeriods")); if (t4 == null) t4 = 0; t5 = B.C_SKProductDiscountPaymentModeConverter.fromJson$1(A._asIntQ(json.$index(0, "paymentMode"))); t2 = t2._as(json.$index(0, "subscriptionPeriod")); t2 = A.SKProductSubscriptionPeriodWrapper_SKProductSubscriptionPeriodWrapper$fromJson(t2 == null ? null : J.map$2$1$ax(t2, new A._$SKProductDiscountWrapperFromJson_closure0(), type$.String, type$.dynamic)); t6 = A._asStringQ(json.$index(0, "identifier")); if (t6 == null) t6 = null; return new A.SKProductDiscountWrapper(t1, t3, t4, t5, t2, t6, B.C_SKProductDiscountTypeConverter.fromJson$1(A._asIntQ(json.$index(0, "type")))); }, _$SKProductWrapperFromJson(json) { var t2, t3, t4, t5, t6, t7, t8, t9, _null = null, _s18_ = "subscriptionPeriod", _s17_ = "introductoryPrice", t1 = A._asStringQ(json.$index(0, "productIdentifier")); if (t1 == null) t1 = ""; t2 = A._asStringQ(json.$index(0, "localizedTitle")); if (t2 == null) t2 = ""; t3 = A._asStringQ(json.$index(0, "localizedDescription")); if (t3 == null) t3 = ""; t4 = type$.nullable_Map_dynamic_dynamic; t5 = t4._as(json.$index(0, "priceLocale")); t5 = A.SKPriceLocaleWrapper_SKPriceLocaleWrapper$fromJson(t5 == null ? _null : J.map$2$1$ax(t5, new A._$SKProductWrapperFromJson_closure(), type$.String, type$.dynamic)); t6 = A._asStringQ(json.$index(0, "subscriptionGroupIdentifier")); t7 = A._asStringQ(json.$index(0, "price")); if (t7 == null) t7 = ""; if (json.$index(0, _s18_) == null) t4 = _null; else { t4 = t4._as(json.$index(0, _s18_)); t4 = A.SKProductSubscriptionPeriodWrapper_SKProductSubscriptionPeriodWrapper$fromJson(t4 == null ? _null : J.map$2$1$ax(t4, new A._$SKProductWrapperFromJson_closure0(), type$.String, type$.dynamic)); } t8 = json.$index(0, _s17_) == null ? _null : A._$SKProductDiscountWrapperFromJson(A.LinkedHashMap_LinkedHashMap$from(type$.Map_dynamic_dynamic._as(json.$index(0, _s17_)), type$.String, type$.dynamic)); t9 = type$.nullable_List_dynamic._as(json.$index(0, "discounts")); if (t9 == null) t9 = _null; else { t9 = J.map$1$1$ax(t9, new A._$SKProductWrapperFromJson_closure1(), type$.SKProductDiscountWrapper); t9 = A.List_List$of(t9, true, A._instanceType(t9)._eval$1("ListIterable.E")); } return new A.SKProductWrapper(t1, t2, t3, t5, t6, t7, t4, t8, t9 == null ? A._setArrayType([], type$.JSArray_SKProductDiscountWrapper) : t9); }, SkProductResponseWrapper: function SkProductResponseWrapper(t0, t1) { this.products = t0; this.invalidProductIdentifiers = t1; }, SkProductResponseWrapper_convertFromPigeon_closure: function SkProductResponseWrapper_convertFromPigeon_closure() { }, SKSubscriptionPeriodUnit: function SKSubscriptionPeriodUnit(t0, t1) { this.index = t0; this._core$_name = t1; }, SKProductSubscriptionPeriodWrapper: function SKProductSubscriptionPeriodWrapper(t0, t1) { this.numberOfUnits = t0; this.unit = t1; }, SKProductDiscountPaymentMode: function SKProductDiscountPaymentMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SKProductDiscountType: function SKProductDiscountType(t0, t1) { this.index = t0; this._core$_name = t1; }, SKProductDiscountWrapper: function SKProductDiscountWrapper(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.price = t0; _.priceLocale = t1; _.numberOfPeriods = t2; _.paymentMode = t3; _.subscriptionPeriod = t4; _.identifier = t5; _.type = t6; }, SKProductWrapper: function SKProductWrapper(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.productIdentifier = t0; _.localizedTitle = t1; _.localizedDescription = t2; _.priceLocale = t3; _.subscriptionGroupIdentifier = t4; _.price = t5; _.subscriptionPeriod = t6; _.introductoryPrice = t7; _.discounts = t8; }, SKProductWrapper_convertFromPigeon_closure: function SKProductWrapper_convertFromPigeon_closure() { }, SKPriceLocaleWrapper: function SKPriceLocaleWrapper(t0, t1) { this.currencySymbol = t0; this.currencyCode = t1; }, _$SKProductDiscountWrapperFromJson_closure: function _$SKProductDiscountWrapperFromJson_closure() { }, _$SKProductDiscountWrapperFromJson_closure0: function _$SKProductDiscountWrapperFromJson_closure0() { }, _$SKProductWrapperFromJson_closure: function _$SKProductWrapperFromJson_closure() { }, _$SKProductWrapperFromJson_closure0: function _$SKProductWrapperFromJson_closure0() { }, _$SKProductWrapperFromJson_closure1: function _$SKProductWrapperFromJson_closure1() { }, SKRequestMaker: function SKRequestMaker() { }, SKStorefrontWrapper: function SKStorefrontWrapper(t0, t1) { this.countryCode = t0; this.identifier = t1; }, AppStoreProductDetails: function AppStoreProductDetails(t0, t1, t2, t3) { var _ = this; _.id = t0; _.description = t1; _.price = t2; _.rawPrice = t3; }, AppStorePurchaseDetails: function AppStorePurchaseDetails(t0, t1, t2, t3, t4, t5) { var _ = this; _.skPaymentTransaction = t0; _.__AppStorePurchaseDetails__status_A = $; _._pendingCompletePurchase = false; _.purchaseID = t1; _.productID = t2; _.verificationData = t3; _.transactionDate = t4; _.status = t5; _.error = null; _.pendingCompletePurchase = false; }, DateSymbols$(AMPMS, DATEFORMATS, DATETIMEFORMATS, ERANAMES, ERAS, FIRSTDAYOFWEEK, FIRSTWEEKCUTOFFDAY, MONTHS, NAME, NARROWMONTHS, NARROWWEEKDAYS, QUARTERS, SHORTMONTHS, SHORTQUARTERS, SHORTWEEKDAYS, STANDALONEMONTHS, STANDALONENARROWMONTHS, STANDALONENARROWWEEKDAYS, STANDALONESHORTMONTHS, STANDALONESHORTWEEKDAYS, STANDALONEWEEKDAYS, TIMEFORMATS, WEEKDAYS, WEEKENDRANGE, ZERODIGIT) { return new A.DateSymbols(NAME, ERAS, ERANAMES, NARROWMONTHS, STANDALONENARROWMONTHS, MONTHS, STANDALONEMONTHS, SHORTMONTHS, STANDALONESHORTMONTHS, WEEKDAYS, STANDALONEWEEKDAYS, SHORTWEEKDAYS, STANDALONESHORTWEEKDAYS, NARROWWEEKDAYS, STANDALONENARROWWEEKDAYS, SHORTQUARTERS, QUARTERS, AMPMS, FIRSTDAYOFWEEK, ZERODIGIT); }, DateSymbols: function DateSymbols(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.NAME = t0; _.ERAS = t1; _.ERANAMES = t2; _.NARROWMONTHS = t3; _.STANDALONENARROWMONTHS = t4; _.MONTHS = t5; _.STANDALONEMONTHS = t6; _.SHORTMONTHS = t7; _.STANDALONESHORTMONTHS = t8; _.WEEKDAYS = t9; _.STANDALONEWEEKDAYS = t10; _.SHORTWEEKDAYS = t11; _.STANDALONESHORTWEEKDAYS = t12; _.NARROWWEEKDAYS = t13; _.STANDALONENARROWWEEKDAYS = t14; _.SHORTQUARTERS = t15; _.QUARTERS = t16; _.AMPMS = t17; _.FIRSTDAYOFWEEK = t18; _.ZERODIGIT = t19; }, Intl__message(messageText, locale, $name, args, meaning) { $.$get$messageLookup(); return messageText; }, Intl_pluralLogic(howMany, few, locale, many, one, other, two, zero) { var truncated, t1; A.ArgumentError_checkNotNull(other, "other"); A.ArgumentError_checkNotNull(howMany, "howMany"); truncated = B.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 (A.Intl__pluralRule(locale, howMany, null).call$0().index) { case 0: return zero == null ? other : zero; case 1: return one == null ? other : one; case 2: t1 = two == null ? few : two; return t1 == null ? other : t1; case 3: return few == null ? other : few; case 4: return many == null ? other : many; case 5: return other; default: throw A.wrapException(A.ArgumentError$value(howMany, "howMany", "Invalid plural argument")); } }, Intl__pluralRule(locale, howMany, precision) { var t1, str, result, base, verifiedLocale; $._n = howMany; t1 = $._precision = precision; $._i = B.JSInt_methods.round$0(howMany); str = "" + howMany; result = B.JSString_methods.indexOf$1(str, "."); t1 = result === -1 ? 0 : str.length - result - 1; t1 = Math.min(t1, 3); $._v = t1; base = A._asInt(Math.pow(10, t1)); t1 = B.JSInt_methods.$mod(B.JSInt_methods.floor$0(howMany * base), base); $._f = t1; A._updateWT($._v, t1); verifiedLocale = A.verifiedLocale(locale, A.plural_rules__localeHasPluralRules$closure(), new A.Intl__pluralRule_closure()); if ($.Intl__cachedPluralLocale == verifiedLocale) { t1 = $.Intl__cachedPluralRule; t1.toString; return t1; } else { t1 = $.$get$pluralRules().$index(0, verifiedLocale); $.Intl__cachedPluralRule = t1; $.Intl__cachedPluralLocale = verifiedLocale; t1.toString; return t1; } }, Intl__pluralRule_closure: function Intl__pluralRule_closure() { }, NumberSymbols$(CURRENCY_PATTERN, DECIMAL_PATTERN, DECIMAL_SEP, DEF_CURRENCY_CODE, EXP_SYMBOL, GROUP_SEP, INFINITY, MINUS_SIGN, NAME, NAN, PERCENT, PERCENT_PATTERN, PERMILL, PLUS_SIGN, SCIENTIFIC_PATTERN, ZERO_DIGIT) { return new A.NumberSymbols(NAME, DECIMAL_SEP, GROUP_SEP, PERCENT, ZERO_DIGIT, PLUS_SIGN, MINUS_SIGN, EXP_SYMBOL, PERMILL, INFINITY, NAN, DECIMAL_PATTERN, DEF_CURRENCY_CODE); }, NumberSymbols: function NumberSymbols(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.NAME = t0; _.DECIMAL_SEP = t1; _.GROUP_SEP = t2; _.PERCENT = t3; _.ZERO_DIGIT = t4; _.PLUS_SIGN = t5; _.MINUS_SIGN = t6; _.EXP_SYMBOL = t7; _.PERMILL = t8; _.INFINITY = t9; _.NAN = t10; _.DECIMAL_PATTERN = t11; _.DEF_CURRENCY_CODE = t12; }, 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; }, DateBuilder__estimatedYear_preliminaryResult: function DateBuilder__estimatedYear_preliminaryResult(t0) { this.$this = t0; }, DateFormat$(newPattern, locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1(newPattern); return t1; }, DateFormat$d(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("d"); return t1; }, DateFormat$MMMd(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("MMMd"); return t1; }, DateFormat$MMMEd(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("MMMEd"); return t1; }, DateFormat$y(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("y"); return t1; }, DateFormat$yMd(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("yMd"); return t1; }, DateFormat$yMMMd(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("yMMMd"); return t1; }, DateFormat$yMMMM(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("yMMMM"); return t1; }, DateFormat$yMMMMEEEEd(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("yMMMMEEEEd"); return t1; }, DateFormat$m(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("m"); return t1; }, DateFormat$s(locale) { var t1 = A.verifiedLocale(locale, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("s"); return t1; }, DateFormat_localeExists(localeName) { return J.containsKey$1$x($.$get$_dateTimeSymbols(), localeName); }, DateFormat__fieldConstructors() { return A._setArrayType([new A.DateFormat__fieldConstructors_closure(), new A.DateFormat__fieldConstructors_closure0(), new A.DateFormat__fieldConstructors_closure1()], type$.JSArray_of__DateFormatField_Function_String_DateFormat); }, _DateFormatQuotedField__patchQuotes(pattern) { var t1, t2; if (pattern === "''") return "'"; else { t1 = B.JSString_methods.substring$2(pattern, 1, pattern.length - 1); t2 = $.$get$_DateFormatQuotedField__twoEscapedQuotes(); return A.stringReplaceAllUnchecked(t1, t2, "'"); } }, DateFormat: function DateFormat(t0, t1) { var _ = this; _.dateTimeConstructor = t0; _._dateOnly = null; _._date_format$_locale = t1; _._localeZero = _._localeZeroCodeUnit = _._digitMatcher = _._useNativeDigits = _._formatFieldsPrivate = _._date_format$_pattern = null; }, DateFormat_dateTimeConstructor_closure: function DateFormat_dateTimeConstructor_closure() { }, DateFormat__checkDateOnly_closure: function DateFormat__checkDateOnly_closure() { }, DateFormat__initDigitMatcher_closure: function DateFormat__initDigitMatcher_closure() { }, DateFormat__initDigitMatcher_closure0: function DateFormat__initDigitMatcher_closure0(t0) { this.$this = t0; }, DateFormat__fieldConstructors_closure: function DateFormat__fieldConstructors_closure() { }, DateFormat__fieldConstructors_closure0: function DateFormat__fieldConstructors_closure0() { }, DateFormat__fieldConstructors_closure1: function DateFormat__fieldConstructors_closure1() { }, _DateFormatField: function _DateFormatField() { }, _DateFormatLiteralField: function _DateFormatLiteralField(t0, t1) { this.pattern = t0; this.parent = t1; }, _DateFormatQuotedField: function _DateFormatQuotedField(t0, t1, t2) { this._fullPattern = t0; this.pattern = t1; this.parent = t2; }, _DateFormatPatternField: function _DateFormatPatternField(t0, t1) { this._forDate = null; this.pattern = t0; this.parent = t1; }, _DateFormatPatternField_parseStandaloneDay_closure: function _DateFormatPatternField_parseStandaloneDay_closure() { }, NumberFormat_NumberFormat(newPattern, locale) { return A.NumberFormat_NumberFormat$_forPattern(locale, new A.NumberFormat_NumberFormat_closure(newPattern)); }, NumberFormat_NumberFormat$decimalPattern(locale) { return A.NumberFormat_NumberFormat$_forPattern(locale, new A.NumberFormat_NumberFormat$decimalPattern_closure()); }, NumberFormat_NumberFormat$_forPattern(locale, getPattern) { var symbols, t2, $name, pattern, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t1 = A.verifiedLocale(locale, A.number_format_NumberFormat_localeExists$closure(), null); t1.toString; symbols = type$.NumberSymbols._as($.$get$numberFormatSymbols().$index(0, t1)); t2 = $.$get$asciiZeroCodeUnit(); $name = symbols.DEF_CURRENCY_CODE; pattern = getPattern.call$1(symbols); t3 = symbols.MINUS_SIGN; if (pattern == null) t3 = new A.NumberFormatParseResult(t3, null); else { t3 = new A.NumberFormatParseResult(t3, null); new A.NumberFormatParser(symbols, new A.StringStack(pattern), false, $name, $name, t3)._parse$0(); } t4 = t3.positivePrefix; t5 = t3.negativePrefix; t6 = t3.positiveSuffix; t7 = t3.negativeSuffix; t8 = t3.multiplier; t9 = B.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 A.NumberFormat(t5, t4, t7, t6, t16, t17, t3.decimalSeparatorAlwaysShown, t18, t10, false, t12, t13, t14, t15, t11, t8, t9, pattern, t1, symbols, t3.decimalDigits, new A.StringBuffer(""), symbols.ZERO_DIGIT.charCodeAt(0) - t2); }, NumberFormat_localeExists(localeName) { return $.$get$numberFormatSymbols().containsKey$1(0, localeName); }, NumberFormat_numberOfIntegerDigits(number) { var simpleNumber; number.toString; simpleNumber = Math.abs(number); if (simpleNumber < 10) return 1; if (simpleNumber < 100) return 2; if (simpleNumber < 1000) return 3; if (simpleNumber < 10000) return 4; if (simpleNumber < 100000) return 5; if (simpleNumber < 1000000) return 6; if (simpleNumber < 10000000) return 7; if (simpleNumber < 100000000) return 8; if (simpleNumber < 1000000000) return 9; if (simpleNumber < 1e10) return 10; if (simpleNumber < 1e11) return 11; if (simpleNumber < 1e12) return 12; if (simpleNumber < 1e13) return 13; if (simpleNumber < 1e14) return 14; if (simpleNumber < 1e15) return 15; if (simpleNumber < 1e16) return 16; if (simpleNumber < 1e17) return 17; if (simpleNumber < 1e18) return 18; return 19; }, NumberFormat: function NumberFormat(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; _.negativePrefix = t0; _.positivePrefix = t1; _.negativeSuffix = t2; _.positiveSuffix = t3; _._groupingSize = t4; _._finalGroupingSize = t5; _._decimalSeparatorAlwaysShown = t6; _._useSignForPositiveExponent = t7; _._useExponentialNotation = t8; _._isForCurrency = t9; _.maximumIntegerDigits = t10; _.minimumIntegerDigits = t11; _._maximumFractionDigits = t12; _._minimumFractionDigits = t13; _.minimumExponentDigits = t14; _.multiplier = t15; _._multiplierDigits = t16; _._number_format$_pattern = t17; _._number_format$_locale = t18; _._symbols = t19; _.decimalDigits = t20; _._number_format$_buffer = t21; _._zeroOffset = t22; }, NumberFormat_NumberFormat_closure: function NumberFormat_NumberFormat_closure(t0) { this.newPattern = t0; }, NumberFormat_NumberFormat$decimalPattern_closure: function NumberFormat_NumberFormat$decimalPattern_closure() { }, NumberFormat__formatFixed_computeFractionDigits: function NumberFormat__formatFixed_computeFractionDigits(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.number = t2; }, 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; }, StringStack: function StringStack(t0) { this.contents = t0; this._string_stack$_index = 0; }, UninitializedLocaleData$(message, fallbackData, $F) { return new A.UninitializedLocaleData(message, fallbackData, A._setArrayType([], type$.JSArray_String), $F._eval$1("UninitializedLocaleData<0>")); }, _separatorIndex(locale) { var t2, t1 = locale.length; if (t1 < 3) return -1; t2 = locale[2]; if (t2 === "-" || t2 === "_") return 2; if (t1 < 4) return -1; t1 = locale[3]; if (t1 === "-" || t1 === "_") return 3; return -1; }, canonicalizedLocale(aLocale) { var t1, separatorIndex, language, region; if (aLocale == null) { if (A.defaultLocale() == null) $._defaultLocale = "en_US"; t1 = A.defaultLocale(); t1.toString; return t1; } if (aLocale === "C") return "en_ISO"; if (aLocale.length < 5) return aLocale; separatorIndex = A._separatorIndex(aLocale); if (separatorIndex === -1) return aLocale; language = B.JSString_methods.substring$2(aLocale, 0, separatorIndex); region = B.JSString_methods.substring$1(aLocale, separatorIndex + 1); if (region.length <= 3) region = region.toUpperCase(); return language + "_" + region; }, verifiedLocale(newLocale, localeExists, onFailure) { var t1, fallbackOptions, _i, localeFallback; if (newLocale == null) { if (A.defaultLocale() == null) $._defaultLocale = "en_US"; t1 = A.defaultLocale(); t1.toString; return A.verifiedLocale(t1, localeExists, onFailure); } if (localeExists.call$1(newLocale)) return newLocale; fallbackOptions = [A.intl_helpers__canonicalizedLocale$closure(), A.intl_helpers__shortLocale$closure(), A.intl_helpers__deprecatedLocale$closure(), new A.verifiedLocale_closure(), new A.verifiedLocale_closure0(), new A.verifiedLocale_closure1()]; for (_i = 0; _i < 6; ++_i) { localeFallback = fallbackOptions[_i].call$1(newLocale); if (localeExists.call$1(localeFallback)) return localeFallback; } return (onFailure == null ? A.intl_helpers___throwLocaleError$closure() : onFailure).call$1(newLocale); }, _throwLocaleError(localeName) { throw A.wrapException(A.ArgumentError$('Invalid locale "' + localeName + '"', null)); }, deprecatedLocale(aLocale) { switch (aLocale) { case "iw": return "he"; case "he": return "iw"; case "fil": return "tl"; case "tl": return "fil"; case "id": return "in"; case "in": return "id"; case "no": return "nb"; case "nb": return "no"; } return aLocale; }, shortLocale(aLocale) { var t1, separatorIndex; if (aLocale === "invalid") return "in"; t1 = aLocale.length; if (t1 < 2) return aLocale; separatorIndex = A._separatorIndex(aLocale); if (separatorIndex === -1) if (t1 < 4) return aLocale.toLowerCase(); else return aLocale; return B.JSString_methods.substring$2(aLocale, 0, separatorIndex).toLowerCase(); }, UninitializedLocaleData: function UninitializedLocaleData(t0, t1, t2, t3) { var _ = this; _.message = t0; _.fallbackData = t1; _._badMessages = t2; _.$ti = t3; }, LocaleDataException: function LocaleDataException(t0) { this.message = t0; }, verifiedLocale_closure: function verifiedLocale_closure() { }, verifiedLocale_closure0: function verifiedLocale_closure0() { }, verifiedLocale_closure1: function verifiedLocale_closure1() { }, _default_rule() { return B.PluralCase_5; }, _updateWT(v, f) { if (f === 0) { $._t = 0; return; } for (; B.JSInt_methods.$mod(f, 10) === 0;) { f = B.JSNumber_methods.floor$0(f / 10); --v; } $._t = f; }, _ast_rule() { if ($._i === 1 && $._v === 0) return B.PluralCase_1; return B.PluralCase_5; }, _af_rule() { if ($._n === 1) return B.PluralCase_1; return B.PluralCase_5; }, _am_rule() { if ($._i === 0 || $._n === 1) return B.PluralCase_1; return B.PluralCase_5; }, _ar_rule() { var _list, i, t1 = $._n; if (t1 === 0) return B.PluralCase_0; if (t1 === 1) return B.PluralCase_1; if (t1 === 2) return B.PluralCase_2; if (B.JSArray_methods.contains$1(A._setArrayType([3, 4, 5, 6, 7, 8, 9, 10], type$.JSArray_int), B.JSInt_methods.$mod($._n, 100))) return B.PluralCase_3; _list = J.JSArray_JSArray$allocateGrowable(89, type$.int); for (i = 0; i < 89; ++i) _list[i] = i + 11; if (B.JSArray_methods.contains$1(_list, B.JSInt_methods.$mod($._n, 100))) return B.PluralCase_4; return B.PluralCase_5; }, _be_rule() { var t3, t1 = $._n, t2 = B.JSInt_methods.$mod(t1, 10); if (t2 === 1 && B.JSInt_methods.$mod(t1, 100) !== 11) return B.PluralCase_1; if (t2 === 2 || t2 === 3 || t2 === 4) { t3 = B.JSInt_methods.$mod(t1, 100); t3 = !(t3 === 12 || t3 === 13 || t3 === 14); } else t3 = false; if (t3) return B.PluralCase_3; if (t2 !== 0) if (t2 !== 5) if (t2 !== 6) if (t2 !== 7) if (t2 !== 8) if (t2 !== 9) { t1 = B.JSInt_methods.$mod(t1, 100); t1 = t1 === 11 || t1 === 12 || t1 === 13 || t1 === 14; } else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; if (t1) return B.PluralCase_4; return B.PluralCase_5; }, _br_rule() { var t3, t1 = $._n, t2 = B.JSInt_methods.$mod(t1, 10); if (t2 === 1) { t3 = B.JSInt_methods.$mod(t1, 100); t3 = !(t3 === 11 || t3 === 71 || t3 === 91); } else t3 = false; if (t3) return B.PluralCase_1; if (t2 === 2) { t1 = B.JSInt_methods.$mod(t1, 100); t1 = !(t1 === 12 || t1 === 72 || t1 === 92); } else t1 = false; if (t1) return B.PluralCase_2; if (t2 === 3 || t2 === 4 || t2 === 9) { t1 = type$.JSArray_int; t1 = !(B.JSArray_methods.contains$1(A._setArrayType([10, 11, 12, 13, 14, 15, 16, 17, 18, 19], t1), B.JSInt_methods.$mod($._n, 100)) || B.JSArray_methods.contains$1(A._setArrayType([70, 71, 72, 73, 74, 75, 76, 77, 78, 79], t1), B.JSInt_methods.$mod($._n, 100)) || B.JSArray_methods.contains$1(A._setArrayType([90, 91, 92, 93, 94, 95, 96, 97, 98, 99], t1), B.JSInt_methods.$mod($._n, 100))); } else t1 = false; if (t1) return B.PluralCase_3; t1 = $._n; if (t1 !== 0 && B.JSInt_methods.$mod(t1, 1000000) === 0) return B.PluralCase_4; return B.PluralCase_5; }, _bs_rule() { var t2, t1 = $._v === 0; if (t1) { t2 = $._i; t2 = B.JSInt_methods.$mod(t2, 10) === 1 && B.JSInt_methods.$mod(t2, 100) !== 11; } else t2 = false; if (!t2) { t2 = $._f; t2 = B.JSInt_methods.$mod(t2, 10) === 1 && B.JSInt_methods.$mod(t2, 100) !== 11; } else t2 = true; if (t2) return B.PluralCase_1; if (t1) { t1 = $._i; t2 = B.JSInt_methods.$mod(t1, 10); if (t2 === 2 || t2 === 3 || t2 === 4) { t1 = B.JSInt_methods.$mod(t1, 100); t1 = !(t1 === 12 || t1 === 13 || t1 === 14); } else t1 = false; } else t1 = false; if (!t1) { t1 = $._f; t2 = B.JSInt_methods.$mod(t1, 10); if (t2 === 2 || t2 === 3 || t2 === 4) { t1 = B.JSInt_methods.$mod(t1, 100); t1 = !(t1 === 12 || t1 === 13 || t1 === 14); } else t1 = false; } else t1 = true; if (t1) return B.PluralCase_3; return B.PluralCase_5; }, _ca_rule() { var t1 = $._i; if (t1 === 1 && $._v === 0) return B.PluralCase_1; if (t1 !== 0 && B.JSInt_methods.$mod(t1, 1000000) === 0 && $._v === 0) return B.PluralCase_4; return B.PluralCase_5; }, _cs_rule() { var t1 = $._i; if (t1 === 1 && $._v === 0) return B.PluralCase_1; if ((t1 === 2 || t1 === 3 || t1 === 4) && $._v === 0) return B.PluralCase_3; if ($._v !== 0) return B.PluralCase_4; return B.PluralCase_5; }, _cy_rule() { var t1 = $._n; if (t1 === 0) return B.PluralCase_0; if (t1 === 1) return B.PluralCase_1; if (t1 === 2) return B.PluralCase_2; if (t1 === 3) return B.PluralCase_3; if (t1 === 6) return B.PluralCase_4; return B.PluralCase_5; }, _da_rule() { if ($._n !== 1) if ($._t !== 0) { var t1 = $._i; t1 = t1 === 0 || t1 === 1; } else t1 = false; else t1 = true; if (t1) return B.PluralCase_1; return B.PluralCase_5; }, _es_rule() { if ($._n === 1) return B.PluralCase_1; var t1 = $._i; if (t1 !== 0 && B.JSInt_methods.$mod(t1, 1000000) === 0 && $._v === 0) return B.PluralCase_4; return B.PluralCase_5; }, _ceb_rule() { var t2, t1 = $._v === 0; if (t1) { t2 = $._i; t2 = t2 === 1 || t2 === 2 || t2 === 3; } else t2 = false; if (!t2) { if (t1) { t2 = B.JSInt_methods.$mod($._i, 10); t2 = !(t2 === 4 || t2 === 6 || t2 === 9); } else t2 = false; if (!t2) if (!t1) { t1 = B.JSInt_methods.$mod($._f, 10); t1 = !(t1 === 4 || t1 === 6 || t1 === 9); } else t1 = false; else t1 = true; } else t1 = true; if (t1) return B.PluralCase_1; return B.PluralCase_5; }, _fr_rule() { var t1 = $._i, t2 = t1 !== 0; if (!t2 || t1 === 1) return B.PluralCase_1; if (t2 && B.JSInt_methods.$mod(t1, 1000000) === 0 && $._v === 0) return B.PluralCase_4; return B.PluralCase_5; }, _ga_rule() { var t1 = $._n; if (t1 === 1) return B.PluralCase_1; if (t1 === 2) return B.PluralCase_2; if (t1 === 3 || t1 === 4 || t1 === 5 || t1 === 6) return B.PluralCase_3; if (t1 === 7 || t1 === 8 || t1 === 9 || t1 === 10) return B.PluralCase_4; return B.PluralCase_5; }, _he_rule() { var t2, t1 = $._i; if (!(t1 === 1 && $._v === 0)) t2 = t1 === 0 && $._v !== 0; else t2 = true; if (t2) return B.PluralCase_1; if (t1 === 2 && $._v === 0) return B.PluralCase_2; return B.PluralCase_5; }, _ff_rule() { var t1 = $._i; if (t1 === 0 || t1 === 1) return B.PluralCase_1; return B.PluralCase_5; }, _is_rule() { var t2, t1 = $._t; if (t1 === 0) { t2 = $._i; t2 = B.JSInt_methods.$mod(t2, 10) === 1 && B.JSInt_methods.$mod(t2, 100) !== 11; } else t2 = false; if (!t2) t1 = B.JSInt_methods.$mod(t1, 10) === 1 && B.JSInt_methods.$mod(t1, 100) !== 11; else t1 = true; if (t1) return B.PluralCase_1; return B.PluralCase_5; }, _ak_rule() { var t1 = $._n; if (t1 === 0 || t1 === 1) return B.PluralCase_1; return B.PluralCase_5; }, _lt_rule() { if (B.JSInt_methods.$mod($._n, 10) === 1 && !B.JSArray_methods.contains$1(A._setArrayType([11, 12, 13, 14, 15, 16, 17, 18, 19], type$.JSArray_int), B.JSInt_methods.$mod($._n, 100))) return B.PluralCase_1; var t1 = type$.JSArray_int; if (B.JSArray_methods.contains$1(A._setArrayType([2, 3, 4, 5, 6, 7, 8, 9], t1), B.JSInt_methods.$mod($._n, 10)) && !B.JSArray_methods.contains$1(A._setArrayType([11, 12, 13, 14, 15, 16, 17, 18, 19], t1), B.JSInt_methods.$mod($._n, 100))) return B.PluralCase_3; if ($._f !== 0) return B.PluralCase_4; return B.PluralCase_5; }, _lv_rule() { var t1, t2; if (B.JSInt_methods.$mod($._n, 10) !== 0) { t1 = type$.JSArray_int; if (!B.JSArray_methods.contains$1(A._setArrayType([11, 12, 13, 14, 15, 16, 17, 18, 19], t1), B.JSInt_methods.$mod($._n, 100))) t1 = $._v === 2 && B.JSArray_methods.contains$1(A._setArrayType([11, 12, 13, 14, 15, 16, 17, 18, 19], t1), B.JSInt_methods.$mod($._f, 100)); else t1 = true; } else t1 = true; if (t1) return B.PluralCase_0; t1 = $._n; if (!(B.JSInt_methods.$mod(t1, 10) === 1 && B.JSInt_methods.$mod(t1, 100) !== 11)) { t1 = $._v === 2; if (t1) { t2 = $._f; t2 = B.JSInt_methods.$mod(t2, 10) === 1 && B.JSInt_methods.$mod(t2, 100) !== 11; } else t2 = false; if (!t2) t1 = !t1 && B.JSInt_methods.$mod($._f, 10) === 1; else t1 = true; } else t1 = true; if (t1) return B.PluralCase_1; return B.PluralCase_5; }, _mk_rule() { if ($._v === 0) { var t1 = $._i; t1 = B.JSInt_methods.$mod(t1, 10) === 1 && B.JSInt_methods.$mod(t1, 100) !== 11; } else t1 = false; if (!t1) { t1 = $._f; t1 = B.JSInt_methods.$mod(t1, 10) === 1 && B.JSInt_methods.$mod(t1, 100) !== 11; } else t1 = true; if (t1) return B.PluralCase_1; return B.PluralCase_5; }, _mt_rule() { var t1 = $._n; if (t1 === 1) return B.PluralCase_1; if (t1 === 2) return B.PluralCase_2; if (t1 === 0 || B.JSArray_methods.contains$1(A._setArrayType([3, 4, 5, 6, 7, 8, 9, 10], type$.JSArray_int), B.JSInt_methods.$mod($._n, 100))) return B.PluralCase_3; if (B.JSArray_methods.contains$1(A._setArrayType([11, 12, 13, 14, 15, 16, 17, 18, 19], type$.JSArray_int), B.JSInt_methods.$mod($._n, 100))) return B.PluralCase_4; return B.PluralCase_5; }, _pl_rule() { var t3, t4, t1 = $._i, t2 = t1 === 1; if (t2 && $._v === 0) return B.PluralCase_1; t3 = $._v === 0; if (t3) { t4 = B.JSInt_methods.$mod(t1, 10); if (t4 === 2 || t4 === 3 || t4 === 4) { t4 = B.JSInt_methods.$mod(t1, 100); t4 = !(t4 === 12 || t4 === 13 || t4 === 14); } else t4 = false; } else t4 = false; if (t4) return B.PluralCase_3; if (t3) if (!t2) { t2 = B.JSInt_methods.$mod(t1, 10); t2 = t2 === 0 || t2 === 1; } else t2 = false; else t2 = false; if (!t2) { if (t3) { t2 = B.JSInt_methods.$mod(t1, 10); t2 = t2 === 5 || t2 === 6 || t2 === 7 || t2 === 8 || t2 === 9; } else t2 = false; if (!t2) if (t3) { t1 = B.JSInt_methods.$mod(t1, 100); t1 = t1 === 12 || t1 === 13 || t1 === 14; } else t1 = false; else t1 = true; } else t1 = true; if (t1) return B.PluralCase_4; return B.PluralCase_5; }, _pt_rule() { var t1 = $._i, t2 = t1 !== 0; if (!t2 || t1 === 1) return B.PluralCase_1; if (t2 && B.JSInt_methods.$mod(t1, 1000000) === 0 && $._v === 0) return B.PluralCase_4; return B.PluralCase_5; }, _mo_rule() { var t1, _list, i, i0; if ($._i === 1 && $._v === 0) return B.PluralCase_1; if ($._v === 0) { t1 = $._n; if (t1 !== 0) if (t1 !== 1) { _list = J.JSArray_JSArray$allocateGrowable(19, type$.int); for (i = 0; i < 19; i = i0) { i0 = i + 1; _list[i] = i0; } t1 = B.JSArray_methods.contains$1(_list, B.JSInt_methods.$mod($._n, 100)); } else t1 = false; else t1 = true; } else t1 = true; if (t1) return B.PluralCase_3; return B.PluralCase_5; }, _ru_rule() { var t2, t3, t1 = $._v === 0; if (t1) { t2 = $._i; t2 = B.JSInt_methods.$mod(t2, 10) === 1 && B.JSInt_methods.$mod(t2, 100) !== 11; } else t2 = false; if (t2) return B.PluralCase_1; if (t1) { t2 = $._i; t3 = B.JSInt_methods.$mod(t2, 10); if (t3 === 2 || t3 === 3 || t3 === 4) { t2 = B.JSInt_methods.$mod(t2, 100); t2 = !(t2 === 12 || t2 === 13 || t2 === 14); } else t2 = false; } else t2 = false; if (t2) return B.PluralCase_3; if (!(t1 && B.JSInt_methods.$mod($._i, 10) === 0)) { if (t1) { t2 = B.JSInt_methods.$mod($._i, 10); t2 = t2 === 5 || t2 === 6 || t2 === 7 || t2 === 8 || t2 === 9; } else t2 = false; if (!t2) if (t1) { t1 = B.JSInt_methods.$mod($._i, 100); t1 = t1 === 11 || t1 === 12 || t1 === 13 || t1 === 14; } else t1 = false; else t1 = true; } else t1 = true; if (t1) return B.PluralCase_4; return B.PluralCase_5; }, _si_rule() { var t1 = $._n; if (t1 !== 0) if (t1 !== 1) t1 = $._i === 0 && $._f === 1; else t1 = true; else t1 = true; if (t1) return B.PluralCase_1; return B.PluralCase_5; }, _sl_rule() { var t2, t1 = $._v === 0; if (t1 && B.JSInt_methods.$mod($._i, 100) === 1) return B.PluralCase_1; if (t1 && B.JSInt_methods.$mod($._i, 100) === 2) return B.PluralCase_2; if (t1) { t2 = B.JSInt_methods.$mod($._i, 100); t2 = t2 === 3 || t2 === 4; } else t2 = false; if (t2 || !t1) return B.PluralCase_3; return B.PluralCase_5; }, localeHasPluralRules(locale) { return $.$get$pluralRules().containsKey$1(0, locale); }, PluralCase: function PluralCase(t0, t1) { this.index = t0; this._core$_name = t1; }, Country: function Country(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.nameTranslations = t1; _.code = t2; _.dialCode = t3; _.minLength = t4; _.maxLength = t5; }, CountryPickerDialog: function CountryPickerDialog(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.countryList = t0; _.selectedCountry = t1; _.onCountryChanged = t2; _.searchText = t3; _.filteredCountries = t4; _.style = t5; _.languageCode = t6; _.key = t7; }, _CountryPickerDialogState: function _CountryPickerDialogState(t0) { var _ = this; _.___CountryPickerDialogState__selectedCountry_A = _.___CountryPickerDialogState__filteredCountries_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _CountryPickerDialogState_initState_closure: function _CountryPickerDialogState_initState_closure(t0) { this.$this = t0; }, _CountryPickerDialogState_build_closure: function _CountryPickerDialogState_build_closure(t0) { this.$this = t0; }, _CountryPickerDialogState_build__closure0: function _CountryPickerDialogState_build__closure0(t0) { this.$this = t0; }, _CountryPickerDialogState_build__closure1: function _CountryPickerDialogState_build__closure1() { }, _CountryPickerDialogState_build_closure0: function _CountryPickerDialogState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _CountryPickerDialogState_build__closure: function _CountryPickerDialogState_build__closure(t0, t1, t2) { this.$this = t0; this.index = t1; this.context = t2; }, removeDiacritics(str) { var i, t1, t2; for (i = 0; i < 62; ++i) { t1 = "\xc0\xc1\xc2\xc3\xc4\xc5\xe0\xe1\xe2\xe3\xe4\xe5\xd2\xd3\xd4\xd5\xd5\xd6\xd8\xf2\xf3\xf4\xf5\xf6\xf8\xc8\xc9\xca\xcb\xe8\xe9\xea\xeb\xf0\xc7\xe7\xd0\xcc\xcd\xce\xcf\xec\xed\xee\xef\xd9\xda\xdb\xdc\xf9\xfa\xfb\xfc\xd1\xf1\u0160\u0161\u0178\xff\xfd\u017d\u017e"[i]; t2 = "AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"[i]; str = A.stringReplaceAllUnchecked(str, t1, t2); } return str; }, CountryExtensions_stringSearch(_this, search) { var t2, t1 = {}; t1.search = search; t1.search = A.removeDiacritics(search.toLowerCase()); t2 = A._arrayInstanceType(_this)._eval$1("WhereIterable<1>"); return A.List_List$of(new A.WhereIterable(_this, new A.CountryExtensions_stringSearch_closure(t1), t2), true, t2._eval$1("Iterable.E")); }, CountryExtensions_stringSearch_closure: function CountryExtensions_stringSearch_closure(t0) { this._box_0 = t0; }, CountryExtensions_stringSearch__closure: function CountryExtensions_stringSearch__closure(t0) { this._box_0 = t0; }, IntlPhoneField: function IntlPhoneField(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.onChanged = t0; _.validator = t1; _.initialCountryCode = t2; _.disableLengthCheck = t3; _.inputFormatters = t4; _.autofocus = t5; _.key = t6; }, _IntlPhoneFieldState: function _IntlPhoneFieldState(t0) { var _ = this; _.___IntlPhoneFieldState_number_A = _.___IntlPhoneFieldState_filteredCountries_A = _.___IntlPhoneFieldState__selectedCountry_A = _.___IntlPhoneFieldState__countryList_A = $; _._widget = _.validatorMessage = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _IntlPhoneFieldState_initState_closure: function _IntlPhoneFieldState_initState_closure(t0) { this.$this = t0; }, _IntlPhoneFieldState_initState_closure0: function _IntlPhoneFieldState_initState_closure0(t0) { this.$this = t0; }, _IntlPhoneFieldState__changeCountry_closure: function _IntlPhoneFieldState__changeCountry_closure(t0) { this.$this = t0; }, _IntlPhoneFieldState__changeCountry__closure: function _IntlPhoneFieldState__changeCountry__closure(t0) { this.$this = t0; }, _IntlPhoneFieldState__changeCountry___closure: function _IntlPhoneFieldState__changeCountry___closure(t0, t1) { this.$this = t0; this.setState = t1; }, _IntlPhoneFieldState__changeCountry____closure: function _IntlPhoneFieldState__changeCountry____closure() { }, _IntlPhoneFieldState__changeCountry_closure0: function _IntlPhoneFieldState__changeCountry_closure0() { }, _IntlPhoneFieldState_build_closure0: function _IntlPhoneFieldState_build_closure0(t0) { this.$this = t0; }, _IntlPhoneFieldState_build_closure: function _IntlPhoneFieldState_build_closure(t0) { this.$this = t0; }, _IntlPhoneFieldState_build_closure1: function _IntlPhoneFieldState_build_closure1(t0) { this.$this = t0; }, IconPosition: function IconPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, PhoneNumber: function PhoneNumber(t0, t1, t2) { this.countryISOCode = t0; this.countryCode = t1; this.number = t2; }, InvoiceStatusColors: function InvoiceStatusColors(t0) { this._colors0$_colorTheme = t0; }, RecurringInvoiceStatusColors: function RecurringInvoiceStatusColors(t0) { this._colors0$_colorTheme = t0; }, CreditStatusColors: function CreditStatusColors(t0) { this._colors0$_colorTheme = t0; }, PurchaseOrderStatusColors: function PurchaseOrderStatusColors(t0) { this._colors0$_colorTheme = t0; }, TransactionStatusColors: function TransactionStatusColors(t0) { this._colors0$_colorTheme = t0; }, QuoteStatusColors: function QuoteStatusColors(t0) { this._colors0$_colorTheme = t0; }, PaymentStatusColors: function PaymentStatusColors(t0) { this._colors0$_colorTheme = t0; }, ExpenseStatusColors: function ExpenseStatusColors(t0) { this._colors0$_colorTheme = t0; }, TaskStatusColors: function TaskStatusColors(t0) { this._colors0$_colorTheme = t0; }, FileStorage: function FileStorage(t0) { this.tag = t0; }, AccountEntity_AccountEntity(reportErrors) { return A._$AccountEntity$_(true, "", false, "", "", false, false, 0, 1, "", false, false, false, false, "", "", false, "", "", "", reportErrors, false, false, 0, "", ""); }, AccountEntity__initializeBuilder(builder) { builder.get$_account_model$_$this()._key = ""; builder.get$_account_model$_$this()._currentVersion = ""; builder.get$_account_model$_$this()._debugEnabled = false; builder.get$_account_model$_$this()._isDocker = false; builder.get$_account_model$_$this()._isSchedulerRunning = true; builder.get$_account_model$_$this()._disableAutoUpdate = false; builder.get$_account_model$_$this()._isMigrated = false; builder.get$_account_model$_$this()._isHosted = false; builder.get$_account_model$_$this()._hasIapPlan = false; builder.get$_account_model$_$this()._trialStarted = ""; builder.get$_account_model$_$this()._defaultCompanyId = ""; builder.get$_account_model$_$this()._trialDaysLeft = 0; builder.get$_account_model$_$this()._hostedClientCount = 0; builder.get$_account_model$_$this()._hostedCompanyCount = 1; builder.get$_account_model$_$this()._accountSmsVerified = true; builder.get$_account_model$_$this()._setReactAsDefaultAP = false; builder.get$_account_model$_$this()._paymentId = ""; builder.get$_account_model$_$this()._taxApiEnabled = false; builder.get$_account_model$_$this()._nordigenEnabled = false; builder.get$_account_model$_$this()._uploadExtensions = ""; return builder; }, _$AccountEntity$_(accountSmsVerified, currentVersion, debugEnabled, defaultCompanyId, defaultUrl, disableAutoUpdate, hasIapPlan, hostedClientCount, hostedCompanyCount, id, isDocker, isHosted, isMigrated, isSchedulerRunning, key, latestVersion, nordigenEnabled, paymentId, plan, planExpires, reportErrors, setReactAsDefaultAP, taxApiEnabled, trialDaysLeft, trialStarted, uploadExtensions) { var _s13_ = "AccountEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); A.BuiltValueNullFieldError_checkNotNull(key, _s13_, "key"); A.BuiltValueNullFieldError_checkNotNull(trialStarted, _s13_, "trialStarted"); A.BuiltValueNullFieldError_checkNotNull(defaultUrl, _s13_, "defaultUrl"); A.BuiltValueNullFieldError_checkNotNull(reportErrors, _s13_, "reportErrors"); A.BuiltValueNullFieldError_checkNotNull(plan, _s13_, "plan"); A.BuiltValueNullFieldError_checkNotNull(planExpires, _s13_, "planExpires"); A.BuiltValueNullFieldError_checkNotNull(latestVersion, _s13_, "latestVersion"); A.BuiltValueNullFieldError_checkNotNull(currentVersion, _s13_, "currentVersion"); A.BuiltValueNullFieldError_checkNotNull(debugEnabled, _s13_, "debugEnabled"); A.BuiltValueNullFieldError_checkNotNull(isDocker, _s13_, "isDocker"); A.BuiltValueNullFieldError_checkNotNull(isMigrated, _s13_, "isMigrated"); A.BuiltValueNullFieldError_checkNotNull(isHosted, _s13_, "isHosted"); A.BuiltValueNullFieldError_checkNotNull(isSchedulerRunning, _s13_, "isSchedulerRunning"); A.BuiltValueNullFieldError_checkNotNull(disableAutoUpdate, _s13_, "disableAutoUpdate"); A.BuiltValueNullFieldError_checkNotNull(defaultCompanyId, _s13_, "defaultCompanyId"); A.BuiltValueNullFieldError_checkNotNull(hostedClientCount, _s13_, "hostedClientCount"); A.BuiltValueNullFieldError_checkNotNull(hostedCompanyCount, _s13_, "hostedCompanyCount"); A.BuiltValueNullFieldError_checkNotNull(setReactAsDefaultAP, _s13_, "setReactAsDefaultAP"); A.BuiltValueNullFieldError_checkNotNull(accountSmsVerified, _s13_, "accountSmsVerified"); A.BuiltValueNullFieldError_checkNotNull(trialDaysLeft, _s13_, "trialDaysLeft"); A.BuiltValueNullFieldError_checkNotNull(hasIapPlan, _s13_, "hasIapPlan"); A.BuiltValueNullFieldError_checkNotNull(paymentId, _s13_, "paymentId"); A.BuiltValueNullFieldError_checkNotNull(taxApiEnabled, _s13_, "taxApiEnabled"); A.BuiltValueNullFieldError_checkNotNull(nordigenEnabled, _s13_, "nordigenEnabled"); A.BuiltValueNullFieldError_checkNotNull(uploadExtensions, _s13_, "uploadExtensions"); return new A._$AccountEntity(id, key, trialStarted, defaultUrl, reportErrors, plan, planExpires, latestVersion, currentVersion, debugEnabled, isDocker, isMigrated, isHosted, isSchedulerRunning, disableAutoUpdate, defaultCompanyId, hostedClientCount, hostedCompanyCount, setReactAsDefaultAP, accountSmsVerified, trialDaysLeft, hasIapPlan, paymentId, taxApiEnabled, nordigenEnabled, uploadExtensions); }, AccountEntity: function AccountEntity() { }, _$AccountEntitySerializer: function _$AccountEntitySerializer() { }, _$AccountEntity: function _$AccountEntity(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; _.id = t0; _.key = t1; _.trialStarted = t2; _.defaultUrl = t3; _.reportErrors = t4; _.plan = t5; _.planExpires = t6; _.latestVersion = t7; _.currentVersion = t8; _.debugEnabled = t9; _.isDocker = t10; _.isMigrated = t11; _.isHosted = t12; _.isSchedulerRunning = t13; _.disableAutoUpdate = t14; _.defaultCompanyId = t15; _.hostedClientCount = t16; _.hostedCompanyCount = t17; _.setReactAsDefaultAP = t18; _.accountSmsVerified = t19; _.trialDaysLeft = t20; _.hasIapPlan = t21; _.paymentId = t22; _.taxApiEnabled = t23; _.nordigenEnabled = t24; _.uploadExtensions = t25; _._account_model$__hashCode = null; }, AccountEntityBuilder: function AccountEntityBuilder() { var _ = this; _._uploadExtensions = _._nordigenEnabled = _._taxApiEnabled = _._paymentId = _._hasIapPlan = _._trialDaysLeft = _._accountSmsVerified = _._setReactAsDefaultAP = _._hostedCompanyCount = _._hostedClientCount = _._defaultCompanyId = _._disableAutoUpdate = _._isSchedulerRunning = _._isHosted = _._isMigrated = _._isDocker = _._debugEnabled = _._currentVersion = _._latestVersion = _._planExpires = _._plan = _._reportErrors = _._defaultUrl = _._trialStarted = _._key = _._account_model$_id = _._account_model$_$v = null; }, BankAccountEntity_BankAccountEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$BankAccountEntity$_(0, "", false, 0, 0, "", "", false, "", t1, "", false, false, "", "", "", "", "", 0); }, BankAccountEntity__initializeBuilder(builder) { builder.get$_bank_account_model$_$this()._fromDate = ""; builder.get$_bank_account_model$_$this()._disabledUpstream = false; builder.get$_bank_account_model$_$this()._autoSync = false; builder.get$_bank_account_model$_$this()._nordigenInstitutionId = ""; builder.get$_bank_account_model$_$this()._integrationType = ""; return builder; }, _$BankAccountEntity$_(archivedAt, assignedUserId, autoSync, balance, createdAt, createdUserId, currency, disabledUpstream, fromDate, id, integrationType, isChanged, isDeleted, $name, nordigenInstitutionId, provider, $status, type, updatedAt) { var _s17_ = "BankAccountEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s17_, "name"); A.BuiltValueNullFieldError_checkNotNull($status, _s17_, "status"); A.BuiltValueNullFieldError_checkNotNull(type, _s17_, "type"); A.BuiltValueNullFieldError_checkNotNull(provider, _s17_, "provider"); A.BuiltValueNullFieldError_checkNotNull(fromDate, _s17_, "fromDate"); A.BuiltValueNullFieldError_checkNotNull(autoSync, _s17_, "autoSync"); A.BuiltValueNullFieldError_checkNotNull(disabledUpstream, _s17_, "disabledUpstream"); A.BuiltValueNullFieldError_checkNotNull(integrationType, _s17_, "integrationType"); A.BuiltValueNullFieldError_checkNotNull(nordigenInstitutionId, _s17_, "nordigenInstitutionId"); A.BuiltValueNullFieldError_checkNotNull(balance, _s17_, "balance"); A.BuiltValueNullFieldError_checkNotNull(currency, _s17_, "currency"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s17_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s17_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s17_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s17_, "id"); return new A._$BankAccountEntity($name, $status, type, provider, fromDate, autoSync, disabledUpstream, integrationType, nordigenInstitutionId, balance, currency, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, BankAccountListResponse: function BankAccountListResponse() { }, BankAccountItemResponse: function BankAccountItemResponse() { }, BankAccountEntity: function BankAccountEntity() { }, _$BankAccountListResponseSerializer: function _$BankAccountListResponseSerializer() { }, _$BankAccountItemResponseSerializer: function _$BankAccountItemResponseSerializer() { }, _$BankAccountEntitySerializer: function _$BankAccountEntitySerializer() { }, _$BankAccountListResponse: function _$BankAccountListResponse(t0) { this.data = t0; this._bank_account_model$__hashCode = null; }, BankAccountListResponseBuilder: function BankAccountListResponseBuilder() { this._bank_account_model$_data = this._bank_account_model$_$v = null; }, _$BankAccountItemResponse: function _$BankAccountItemResponse(t0) { this.data = t0; this._bank_account_model$__hashCode = null; }, BankAccountItemResponseBuilder: function BankAccountItemResponseBuilder() { this._bank_account_model$_data = this._bank_account_model$_$v = null; }, _$BankAccountEntity: function _$BankAccountEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.name = t0; _.status = t1; _.type = t2; _.provider = t3; _.fromDate = t4; _.autoSync = t5; _.disabledUpstream = t6; _.integrationType = t7; _.nordigenInstitutionId = t8; _.balance = t9; _.currency = t10; _.isChanged = t11; _.createdAt = t12; _.updatedAt = t13; _.archivedAt = t14; _.isDeleted = t15; _.createdUserId = t16; _.assignedUserId = t17; _.id = t18; _._bank_account_model$__hashCode = null; }, BankAccountEntityBuilder: function BankAccountEntityBuilder() { var _ = this; _._bank_account_model$_id = _._bank_account_model$_assignedUserId = _._bank_account_model$_createdUserId = _._bank_account_model$_isDeleted = _._bank_account_model$_archivedAt = _._bank_account_model$_updatedAt = _._bank_account_model$_createdAt = _._bank_account_model$_isChanged = _._currency = _._bank_account_model$_balance = _._nordigenInstitutionId = _._integrationType = _._disabledUpstream = _._autoSync = _._fromDate = _._provider = _._bank_account_model$_type = _._status = _._bank_account_model$_name = _._bank_account_model$_$v = null; }, _BankAccountEntity_Object_BaseEntity: function _BankAccountEntity_Object_BaseEntity() { }, ClientEntity_ClientEntity(group, id, state, user) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _null = null; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = A.SettingsEntity_SettingsEntity(_null, _null, _null).rebuild$1(new A.ClientEntity_ClientEntity_closure(state)); t3 = group == null ? _null : group.id; if (t3 == null) t3 = ""; t4 = A.TaxDataEntity_TaxDataEntity(); t5 = A.BuiltList_BuiltList$from(A._setArrayType([A.ClientContactEntity_ClientContactEntity().rebuild$1(new A.ClientEntity_ClientEntity_closure0())], type$.JSArray_ClientContactEntity), type$.ClientContactEntity); t6 = A.BuiltList_BuiltList$from(B.List_empty, type$.ActivityEntity); t7 = A.BuiltList_BuiltList$from(B.List_empty, type$.LedgerEntity); t8 = A.BuiltList_BuiltList$from(B.List_empty, type$.GatewayTokenEntity); t9 = A.BuiltList_BuiltList$from(B.List_empty, type$.SystemLogEntity); t10 = A.BuiltList_BuiltList$from(B.List_empty, type$.LocationEntity); t11 = user == null ? _null : user.id; if (t11 == null) t11 = ""; return A._$ClientEntity$_(t6, "", "", 0, t11, 0, "", "", "", t5, "", 0, "", 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), t8, t3, false, t1, "", "", false, false, false, 0, t7, 0, t10, "", "", 0, 0, "", "", "", "", "", t2, "", "", "", "", "", "", "", "", t9, t4, 0, "", ""); }, ClientEntity__initializeBuilder(builder) { var t1, t2; builder.get$_client_model$_$this()._number = ""; builder.get$_client_model$_$this()._routingId = ""; builder.get$_client_model$_$this()._isTaxExempt = false; builder.get$_client_model$_$this()._hasValidVatNumber = false; t1 = builder.get$taxData(); t2 = A.TaxDataEntity_TaxDataEntity(); A.ArgumentError_checkNotNull(t2, "other"); t1._tax_model$_$v = t2; builder.get$locations().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.LocationEntity)); builder.get$_client_model$_$this()._paymentBalance = 0; builder.get$_client_model$_$this()._classification = ""; return builder; }, ClientContactEntity_ClientContactEntity() { var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; return A._$ClientContactEntity$_(0, "", "", 0, "", "", "", "", "", "", "", "" + t1, false, false, false, 0, "", "", "", "", true, 0); }, _$ClientEntity$_(activities, address1, address2, archivedAt, assignedUserId, balance, city, classification, clientHash, contacts, countryId, createdAt, createdUserId, creditBalance, customValue1, customValue2, customValue3, customValue4, displayName, documents, gatewayTokens, groupId, hasValidVatNumber, id, idNumber, industryId, isChanged, isDeleted, isTaxExempt, lastLogin, ledger, loadedAt, locations, $name, number, paidToDate, paymentBalance, phone, postalCode, privateNotes, publicNotes, routingId, settings, shippingAddress1, shippingAddress2, shippingCity, shippingCountryId, shippingPostalCode, shippingState, sizeId, state, systemLogs, taxData, updatedAt, vatNumber, website) { var _s12_ = "ClientEntity"; A.BuiltValueNullFieldError_checkNotNull(groupId, _s12_, "groupId"); A.BuiltValueNullFieldError_checkNotNull($name, _s12_, "name"); A.BuiltValueNullFieldError_checkNotNull(displayName, _s12_, "displayName"); A.BuiltValueNullFieldError_checkNotNull(balance, _s12_, "balance"); A.BuiltValueNullFieldError_checkNotNull(creditBalance, _s12_, "creditBalance"); A.BuiltValueNullFieldError_checkNotNull(paymentBalance, _s12_, "paymentBalance"); A.BuiltValueNullFieldError_checkNotNull(paidToDate, _s12_, "paidToDate"); A.BuiltValueNullFieldError_checkNotNull(clientHash, _s12_, "clientHash"); A.BuiltValueNullFieldError_checkNotNull(address1, _s12_, "address1"); A.BuiltValueNullFieldError_checkNotNull(address2, _s12_, "address2"); A.BuiltValueNullFieldError_checkNotNull(city, _s12_, "city"); A.BuiltValueNullFieldError_checkNotNull(state, _s12_, "state"); A.BuiltValueNullFieldError_checkNotNull(postalCode, _s12_, "postalCode"); A.BuiltValueNullFieldError_checkNotNull(countryId, _s12_, "countryId"); A.BuiltValueNullFieldError_checkNotNull(phone, _s12_, "phone"); A.BuiltValueNullFieldError_checkNotNull(privateNotes, _s12_, "privateNotes"); A.BuiltValueNullFieldError_checkNotNull(publicNotes, _s12_, "publicNotes"); A.BuiltValueNullFieldError_checkNotNull(website, _s12_, "website"); A.BuiltValueNullFieldError_checkNotNull(industryId, _s12_, "industryId"); A.BuiltValueNullFieldError_checkNotNull(sizeId, _s12_, "sizeId"); A.BuiltValueNullFieldError_checkNotNull(vatNumber, _s12_, "vatNumber"); A.BuiltValueNullFieldError_checkNotNull(idNumber, _s12_, "idNumber"); A.BuiltValueNullFieldError_checkNotNull(number, _s12_, "number"); A.BuiltValueNullFieldError_checkNotNull(shippingAddress1, _s12_, "shippingAddress1"); A.BuiltValueNullFieldError_checkNotNull(shippingAddress2, _s12_, "shippingAddress2"); A.BuiltValueNullFieldError_checkNotNull(shippingCity, _s12_, "shippingCity"); A.BuiltValueNullFieldError_checkNotNull(shippingState, _s12_, "shippingState"); A.BuiltValueNullFieldError_checkNotNull(shippingPostalCode, _s12_, "shippingPostalCode"); A.BuiltValueNullFieldError_checkNotNull(shippingCountryId, _s12_, "shippingCountryId"); A.BuiltValueNullFieldError_checkNotNull(settings, _s12_, "settings"); A.BuiltValueNullFieldError_checkNotNull(lastLogin, _s12_, "lastLogin"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s12_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s12_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s12_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s12_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(routingId, _s12_, "routingId"); A.BuiltValueNullFieldError_checkNotNull(isTaxExempt, _s12_, "isTaxExempt"); A.BuiltValueNullFieldError_checkNotNull(hasValidVatNumber, _s12_, "hasValidVatNumber"); A.BuiltValueNullFieldError_checkNotNull(taxData, _s12_, "taxData"); A.BuiltValueNullFieldError_checkNotNull(classification, _s12_, "classification"); A.BuiltValueNullFieldError_checkNotNull(contacts, _s12_, "contacts"); A.BuiltValueNullFieldError_checkNotNull(activities, _s12_, "activities"); A.BuiltValueNullFieldError_checkNotNull(ledger, _s12_, "ledger"); A.BuiltValueNullFieldError_checkNotNull(gatewayTokens, _s12_, "gatewayTokens"); A.BuiltValueNullFieldError_checkNotNull(documents, _s12_, "documents"); A.BuiltValueNullFieldError_checkNotNull(systemLogs, _s12_, "systemLogs"); A.BuiltValueNullFieldError_checkNotNull(locations, _s12_, "locations"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s12_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s12_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s12_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s12_, "id"); return new A._$ClientEntity(groupId, loadedAt, $name, displayName, balance, creditBalance, paymentBalance, 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, routingId, isTaxExempt, hasValidVatNumber, taxData, classification, contacts, activities, ledger, gatewayTokens, documents, systemLogs, locations, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$ClientContactEntity$_(archivedAt, assignedUserId, contactKey, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, isChanged, isDeleted, isPrimary, lastLogin, lastName, link, password, phone, sendEmail, updatedAt) { var _s19_ = "ClientContactEntity"; A.BuiltValueNullFieldError_checkNotNull(firstName, _s19_, "firstName"); A.BuiltValueNullFieldError_checkNotNull(lastName, _s19_, "lastName"); A.BuiltValueNullFieldError_checkNotNull(email, _s19_, "email"); A.BuiltValueNullFieldError_checkNotNull(password, _s19_, "password"); A.BuiltValueNullFieldError_checkNotNull(phone, _s19_, "phone"); A.BuiltValueNullFieldError_checkNotNull(contactKey, _s19_, "contactKey"); A.BuiltValueNullFieldError_checkNotNull(isPrimary, _s19_, "isPrimary"); A.BuiltValueNullFieldError_checkNotNull(sendEmail, _s19_, "sendEmail"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s19_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s19_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s19_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s19_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(lastLogin, _s19_, "lastLogin"); A.BuiltValueNullFieldError_checkNotNull(link, _s19_, "link"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s19_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s19_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s19_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s19_, "id"); return new A._$ClientContactEntity(firstName, lastName, email, password, phone, contactKey, isPrimary, sendEmail, customValue1, customValue2, customValue3, customValue4, lastLogin, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$LocationEntity$_(address1, address2, archivedAt, assignedUserId, city, clientId, countryId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, id, isChanged, isDeleted, isShipping, $name, postalCode, state, updatedAt) { var _s14_ = "LocationEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s14_, "name"); A.BuiltValueNullFieldError_checkNotNull(address1, _s14_, "address1"); A.BuiltValueNullFieldError_checkNotNull(address2, _s14_, "address2"); A.BuiltValueNullFieldError_checkNotNull(city, _s14_, "city"); A.BuiltValueNullFieldError_checkNotNull(state, _s14_, "state"); A.BuiltValueNullFieldError_checkNotNull(clientId, _s14_, "clientId"); A.BuiltValueNullFieldError_checkNotNull(postalCode, _s14_, "postalCode"); A.BuiltValueNullFieldError_checkNotNull(countryId, _s14_, "countryId"); A.BuiltValueNullFieldError_checkNotNull(isShipping, _s14_, "isShipping"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s14_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s14_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s14_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s14_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s14_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s14_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s14_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s14_, "id"); return new A._$LocationEntity($name, address1, address2, city, state, clientId, postalCode, countryId, isShipping, customValue1, customValue2, customValue3, customValue4, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ClientListResponse: function ClientListResponse() { }, ClientItemResponse: function ClientItemResponse() { }, ClientEntity: function ClientEntity() { }, ClientEntity_ClientEntity_closure: function ClientEntity_ClientEntity_closure(t0) { this.state = t0; }, ClientEntity_ClientEntity_closure0: function ClientEntity_ClientEntity_closure0() { }, 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() { }, ClientEntity_getContact_closure: function ClientEntity_getContact_closure(t0) { this.contactId = t0; }, ClientEntity_getContact_closure0: function ClientEntity_getContact_closure0() { }, ClientContactEntity: function ClientContactEntity() { }, LocationEntity: function LocationEntity() { }, _$ClientListResponseSerializer: function _$ClientListResponseSerializer() { }, _$ClientItemResponseSerializer: function _$ClientItemResponseSerializer() { }, _$ClientEntitySerializer: function _$ClientEntitySerializer() { }, _$ClientContactEntitySerializer: function _$ClientContactEntitySerializer() { }, _$LocationEntitySerializer: function _$LocationEntitySerializer() { }, _$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, t49, t50, t51, t52, t53, t54, t55) { var _ = this; _.groupId = t0; _.loadedAt = t1; _.name = t2; _.displayName = t3; _.balance = t4; _.creditBalance = t5; _.paymentBalance = t6; _.paidToDate = t7; _.clientHash = t8; _.address1 = t9; _.address2 = t10; _.city = t11; _.state = t12; _.postalCode = t13; _.countryId = t14; _.phone = t15; _.privateNotes = t16; _.publicNotes = t17; _.website = t18; _.industryId = t19; _.sizeId = t20; _.vatNumber = t21; _.idNumber = t22; _.number = t23; _.shippingAddress1 = t24; _.shippingAddress2 = t25; _.shippingCity = t26; _.shippingState = t27; _.shippingPostalCode = t28; _.shippingCountryId = t29; _.settings = t30; _.lastLogin = t31; _.customValue1 = t32; _.customValue2 = t33; _.customValue3 = t34; _.customValue4 = t35; _.routingId = t36; _.isTaxExempt = t37; _.hasValidVatNumber = t38; _.taxData = t39; _.classification = t40; _.contacts = t41; _.activities = t42; _.ledger = t43; _.gatewayTokens = t44; _.documents = t45; _.systemLogs = t46; _.locations = t47; _.isChanged = t48; _.createdAt = t49; _.updatedAt = t50; _.archivedAt = t51; _.isDeleted = t52; _.createdUserId = t53; _.assignedUserId = t54; _.id = t55; _._client_model$__hashCode = null; }, ClientEntityBuilder: function ClientEntityBuilder() { var _ = this; _._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 = _._paymentBalance = _._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 = _._locations = _._systemLogs = _._client_model$_documents = _._gatewayTokens = _._ledger = _._activities = _._contacts = _._classification = _._taxData = _._hasValidVatNumber = _._isTaxExempt = _._routingId = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._lastLogin = _._client_model$_settings = _._shippingCountryId = null; }, _$ClientContactEntity: function _$ClientContactEntity(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; }, ClientContactEntityBuilder: function ClientContactEntityBuilder() { 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 = _._client_model$_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; }, _$LocationEntity: function _$LocationEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.name = t0; _.address1 = t1; _.address2 = t2; _.city = t3; _.state = t4; _.clientId = t5; _.postalCode = t6; _.countryId = t7; _.isShipping = t8; _.customValue1 = t9; _.customValue2 = t10; _.customValue3 = t11; _.customValue4 = t12; _.isChanged = t13; _.createdAt = t14; _.updatedAt = t15; _.archivedAt = t16; _.isDeleted = t17; _.createdUserId = t18; _.assignedUserId = t19; _.id = t20; _._client_model$__hashCode = null; }, LocationEntityBuilder: function LocationEntityBuilder() { 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 = _._client_model$_customValue4 = _._client_model$_customValue3 = _._client_model$_customValue2 = _._client_model$_customValue1 = _._isShipping = _._countryId = _._postalCode = _._client_model$_clientId = _._client_model$_state = _._city = _._address2 = _._address1 = _._client_model$_name = _._client_model$_$v = null; }, _ClientContactEntity_Object_BaseEntity: function _ClientContactEntity_Object_BaseEntity() { }, _ClientContactEntity_Object_BaseEntity_SelectableEntity: function _ClientContactEntity_Object_BaseEntity_SelectableEntity() { }, _ClientEntity_Object_BaseEntity: function _ClientEntity_Object_BaseEntity() { }, _ClientEntity_Object_BaseEntity_SelectableEntity: function _ClientEntity_Object_BaseEntity_SelectableEntity() { }, _ClientEntity_Object_BaseEntity_SelectableEntity_HasActivities: function _ClientEntity_Object_BaseEntity_SelectableEntity_HasActivities() { }, _LocationEntity_Object_BaseEntity: function _LocationEntity_Object_BaseEntity() { }, _LocationEntity_Object_BaseEntity_SelectableEntity: function _LocationEntity_Object_BaseEntity_SelectableEntity() { }, CompanyGatewayEntity_CompanyGatewayEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$CompanyGatewayEntity$_(0, true, 0, "", "", 0, "", "", "", "", "", A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.FeesAndLimitsSettings), "", t1, false, false, false, "", null, false, false, false, true, false, false, false, false, false, false, true, false, A.BuiltList_BuiltList$from(B.List_empty, type$.SystemLogEntity), "always", true, 0); }, CompanyGatewayEntity__initializeBuilder(builder) { builder.get$_company_gateway_model$_$this()._requireCustomValue1 = false; builder.get$_company_gateway_model$_$this()._requireCustomValue2 = false; builder.get$_company_gateway_model$_$this()._requireCustomValue3 = false; builder.get$_company_gateway_model$_$this()._requireCustomValue4 = false; builder.get$_company_gateway_model$_$this()._alwaysShowRequiredFields = true; return builder; }, FeesAndLimitsSettings_FeesAndLimitsSettings(isEnabled) { return A._$FeesAndLimitsSettings$_(false, 0, 0, 0, isEnabled === true, -1, -1, "", "", "", 0, 0, 0); }, _$CompanyGatewayEntity$_(acceptedCreditCards, alwaysShowRequiredFields, archivedAt, assignedUserId, config, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, feesAndLimitsMap, gatewayId, id, isChanged, isDeleted, isTestMode, label, loadedAt, requireBillingAddress, requireClientName, requireClientPhone, requireContactEmail, requireContactName, requireCustomValue1, requireCustomValue2, requireCustomValue3, requireCustomValue4, requireCvv, requirePostalCode, requireShippingAddress, systemLogs, tokenBilling, updateDetails, updatedAt) { var _s20_ = "CompanyGatewayEntity"; A.BuiltValueNullFieldError_checkNotNull(gatewayId, _s20_, "gatewayId"); A.BuiltValueNullFieldError_checkNotNull(acceptedCreditCards, _s20_, "acceptedCreditCards"); A.BuiltValueNullFieldError_checkNotNull(requireShippingAddress, _s20_, "requireShippingAddress"); A.BuiltValueNullFieldError_checkNotNull(requireBillingAddress, _s20_, "requireBillingAddress"); A.BuiltValueNullFieldError_checkNotNull(requireClientName, _s20_, "requireClientName"); A.BuiltValueNullFieldError_checkNotNull(requireClientPhone, _s20_, "requireClientPhone"); A.BuiltValueNullFieldError_checkNotNull(requireContactName, _s20_, "requireContactName"); A.BuiltValueNullFieldError_checkNotNull(requireContactEmail, _s20_, "requireContactEmail"); A.BuiltValueNullFieldError_checkNotNull(requireCustomValue1, _s20_, "requireCustomValue1"); A.BuiltValueNullFieldError_checkNotNull(requireCustomValue2, _s20_, "requireCustomValue2"); A.BuiltValueNullFieldError_checkNotNull(requireCustomValue3, _s20_, "requireCustomValue3"); A.BuiltValueNullFieldError_checkNotNull(requireCustomValue4, _s20_, "requireCustomValue4"); A.BuiltValueNullFieldError_checkNotNull(requireCvv, _s20_, "requireCvv"); A.BuiltValueNullFieldError_checkNotNull(updateDetails, _s20_, "updateDetails"); A.BuiltValueNullFieldError_checkNotNull(feesAndLimitsMap, _s20_, "feesAndLimitsMap"); A.BuiltValueNullFieldError_checkNotNull(systemLogs, _s20_, "systemLogs"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s20_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s20_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s20_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s20_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(config, _s20_, "config"); A.BuiltValueNullFieldError_checkNotNull(tokenBilling, _s20_, "tokenBilling"); A.BuiltValueNullFieldError_checkNotNull(isTestMode, _s20_, "isTestMode"); A.BuiltValueNullFieldError_checkNotNull(alwaysShowRequiredFields, _s20_, "alwaysShowRequiredFields"); A.BuiltValueNullFieldError_checkNotNull(label, _s20_, "label"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s20_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s20_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s20_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s20_, "id"); return new A._$CompanyGatewayEntity(loadedAt, gatewayId, acceptedCreditCards, requireShippingAddress, requireBillingAddress, requireClientName, requirePostalCode, requireClientPhone, requireContactName, requireContactEmail, requireCustomValue1, requireCustomValue2, requireCustomValue3, requireCustomValue4, requireCvv, updateDetails, feesAndLimitsMap, systemLogs, customValue1, customValue2, customValue3, customValue4, config, tokenBilling, isTestMode, alwaysShowRequiredFields, label, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$FeesAndLimitsSettings$_(adjustFeePercent, feeAmount, feeCap, feePercent, isEnabled, maxLimit, minLimit, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3) { var _s21_ = "FeesAndLimitsSettings"; A.BuiltValueNullFieldError_checkNotNull(minLimit, _s21_, "minLimit"); A.BuiltValueNullFieldError_checkNotNull(maxLimit, _s21_, "maxLimit"); A.BuiltValueNullFieldError_checkNotNull(feeAmount, _s21_, "feeAmount"); A.BuiltValueNullFieldError_checkNotNull(feePercent, _s21_, "feePercent"); A.BuiltValueNullFieldError_checkNotNull(feeCap, _s21_, "feeCap"); A.BuiltValueNullFieldError_checkNotNull(taxRate1, _s21_, "taxRate1"); A.BuiltValueNullFieldError_checkNotNull(taxName1, _s21_, "taxName1"); A.BuiltValueNullFieldError_checkNotNull(taxRate2, _s21_, "taxRate2"); A.BuiltValueNullFieldError_checkNotNull(taxName2, _s21_, "taxName2"); A.BuiltValueNullFieldError_checkNotNull(taxRate3, _s21_, "taxRate3"); A.BuiltValueNullFieldError_checkNotNull(taxName3, _s21_, "taxName3"); A.BuiltValueNullFieldError_checkNotNull(adjustFeePercent, _s21_, "adjustFeePercent"); A.BuiltValueNullFieldError_checkNotNull(isEnabled, _s21_, "isEnabled"); return new A._$FeesAndLimitsSettings(minLimit, maxLimit, feeAmount, feePercent, feeCap, taxRate1, taxName1, taxRate2, taxName2, taxRate3, taxName3, adjustFeePercent, isEnabled); }, CompanyGatewayListResponse: function CompanyGatewayListResponse() { }, CompanyGatewayItemResponse: function CompanyGatewayItemResponse() { }, CompanyGatewayEntity: function CompanyGatewayEntity() { }, 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, t30, t31, t32, t33, t34) { var _ = this; _.loadedAt = t0; _.gatewayId = t1; _.acceptedCreditCards = t2; _.requireShippingAddress = t3; _.requireBillingAddress = t4; _.requireClientName = t5; _.requirePostalCode = t6; _.requireClientPhone = t7; _.requireContactName = t8; _.requireContactEmail = t9; _.requireCustomValue1 = t10; _.requireCustomValue2 = t11; _.requireCustomValue3 = t12; _.requireCustomValue4 = t13; _.requireCvv = t14; _.updateDetails = t15; _.feesAndLimitsMap = t16; _.systemLogs = t17; _.customValue1 = t18; _.customValue2 = t19; _.customValue3 = t20; _.customValue4 = t21; _.config = t22; _.tokenBilling = t23; _.isTestMode = t24; _.alwaysShowRequiredFields = t25; _.label = t26; _.isChanged = t27; _.createdAt = t28; _.updatedAt = t29; _.archivedAt = t30; _.isDeleted = t31; _.createdUserId = t32; _.assignedUserId = t33; _.id = t34; _._company_gateway_model$__hashCode = null; }, CompanyGatewayEntityBuilder: function CompanyGatewayEntityBuilder() { var _ = this; _._company_gateway_model$_createdAt = _._company_gateway_model$_isChanged = _._label = _._alwaysShowRequiredFields = _._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 = _._requireCustomValue4 = _._requireCustomValue3 = _._requireCustomValue2 = _._requireCustomValue1 = _._requireContactEmail = _._requireContactName = _._requireClientPhone = _._requirePostalCode = _._requireClientName = _._requireBillingAddress = _._requireShippingAddress = _._acceptedCreditCards = _._gatewayId = _._company_gateway_model$_loadedAt = _._company_gateway_model$_$v = null; _._company_gateway_model$_id = _._company_gateway_model$_assignedUserId = _._company_gateway_model$_createdUserId = _._company_gateway_model$_isDeleted = _._company_gateway_model$_archivedAt = _._company_gateway_model$_updatedAt = 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() { }, CompanyEntity_CompanyEntity() { var 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, t1 = A.SettingsEntity_SettingsEntity(null, null, null), t2 = A.TaxDataEntity_TaxDataEntity(), t3 = A.TaxConfigEntity_TaxConfigEntity(), t4 = A.BuiltList_BuiltList$from(B.List_empty, type$.GroupEntity), t5 = A.BuiltList_BuiltList$from(B.List_empty, type$.TaxRateEntity), t6 = type$.TaskStatusEntity, t7 = A.BuiltList_BuiltList$from(B.List_empty, t6), t8 = type$.String; t6 = A.BuiltMap_BuiltMap(B.Map_empty1, t8, t6); t9 = A.BuiltList_BuiltList$from(B.List_empty, type$.CompanyGatewayEntity); t10 = A.BuiltList_BuiltList$from(B.List_empty, type$.ExpenseCategoryEntity); t11 = A.BuiltList_BuiltList$from(B.List_empty, type$.UserEntity); t8 = A.BuiltMap_BuiltMap(B.Map_empty1, t8, t8); t12 = A.BuiltList_BuiltList$from(B.List_empty, type$.ActivityEntity); t13 = A.BuiltList_BuiltList$from(B.List_empty, type$.ClientEntity); t14 = A.BuiltList_BuiltList$from(B.List_empty, type$.ProductEntity); t15 = type$.InvoiceEntity; t16 = A.BuiltList_BuiltList$from(B.List_empty, t15); t17 = A.BuiltList_BuiltList$from(B.List_empty, t15); t18 = type$.ExpenseEntity; t19 = A.BuiltList_BuiltList$from(B.List_empty, t18); t20 = A.BuiltList_BuiltList$from(B.List_empty, type$.PaymentEntity); t21 = A.BuiltList_BuiltList$from(B.List_empty, t15); t22 = A.BuiltList_BuiltList$from(B.List_empty, t15); t23 = A.BuiltList_BuiltList$from(B.List_empty, type$.TaskEntity); t18 = A.BuiltList_BuiltList$from(B.List_empty, t18); t24 = A.BuiltList_BuiltList$from(B.List_empty, type$.ProjectEntity); t25 = A.BuiltList_BuiltList$from(B.List_empty, type$.VendorEntity); t26 = A.BuiltList_BuiltList$from(B.List_empty, type$.DesignEntity); t27 = A.BuiltList_BuiltList$from(B.List_empty, type$.PaymentTermEntity); t28 = A.BuiltList_BuiltList$from(B.List_empty, type$.TokenEntity); t29 = A.BuiltList_BuiltList$from(B.List_empty, type$.WebhookEntity); t30 = A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity); t31 = A.BuiltList_BuiltList$from(B.List_empty, type$.SubscriptionEntity); t32 = A.BuiltList_BuiltList$from(B.List_empty, type$.SystemLogEntity); t33 = A.BuiltList_BuiltList$from(B.List_empty, type$.RegistrationFieldEntity); t15 = A.BuiltList_BuiltList$from(B.List_empty, t15); t34 = A.BuiltList_BuiltList$from(B.List_empty, type$.BankAccountEntity); t35 = A.BuiltList_BuiltList$from(B.List_empty, type$.TransactionEntity); t36 = A.BuiltList_BuiltList$from(B.List_empty, type$.TransactionRuleEntity); return A._$CompanyEntity$_(t12, 0, "", false, t34, false, false, true, t33, t13, t9, "", false, false, false, true, 0, "", t22, t8, true, false, t26, t30, "", false, false, false, false, false, false, false, true, false, 0, B.EntityType_company, t10, false, t18, true, "0", "0", "", t4, false, false, "", "", false, true, false, false, true, false, false, true, true, t16, false, false, false, false, false, false, true, true, "", "", false, 0, 0, 0, false, 1800000, t27, t20, "", "subdomain", t14, t24, t15, t21, t19, t17, false, false, A.BuiltList_BuiltList$from(B.List_empty, type$.ScheduleEntity), 0, t1, true, false, false, "", "", "TLS", "", "", "", 587, "", true, true, 0, false, "", t31, t32, t6, t7, t23, t3, t2, t5, t28, false, t36, t35, true, 0, false, false, t11, t25, t29); }, CompanyEntity__initializeBuilder(builder) { var t1, t2; builder.get$_company_model$_$this()._company_model$_entityType = B.EntityType_company; builder.get$_company_model$_$this()._calculateExpenseTaxByAmount = false; builder.get$_company_model$_$this()._enableProductDiscount = false; builder.get$_company_model$_$this()._defaultTaskIsDateBased = false; builder.get$_company_model$_$this()._sessionTimeout = 0; builder.get$_company_model$_$this()._passwordTimeout = 1800000; builder.get$_company_model$_$this()._oauthPasswordRequired = false; builder.get$_company_model$_$this()._invoiceTaskDatelog = true; builder.get$_company_model$_$this()._showTaskEndDate = false; builder.get$_company_model$_$this()._markdownEnabled = true; builder.get$_company_model$_$this()._markdownEmailEnabled = true; builder.get$_company_model$_$this()._useCommaAsDecimalPlace = false; builder.get$_company_model$_$this()._useQuoteTermsOnConversion = false; builder.get$_company_model$_$this()._enableApplyingPayments = false; builder.get$_company_model$_$this()._trackInventory = false; builder.get$_company_model$_$this()._stockNotificationThreshold = 0; builder.get$_company_model$_$this()._stockNotification = true; builder.get$_company_model$_$this()._reportIncludeDrafts = false; builder.get$_company_model$_$this()._reportIncludeDeleted = false; builder.get$_company_model$_$this()._convertRateToClient = true; builder.get$_company_model$_$this()._stopOnUnpaidRecurring = false; builder.get$_company_model$_$this()._numberOfExpenseTaxRates = 0; builder.get$_company_model$_$this()._invoiceTaskProject = false; builder.get$_company_model$_$this()._invoiceTaskHours = false; builder.get$_company_model$_$this()._invoiceTaskLock = false; builder.get$_company_model$_$this()._invoiceTaskItemDescription = true; builder.get$_company_model$_$this()._invoiceTaskProjectHeader = true; builder.get$_company_model$_$this()._matomoUrl = ""; builder.get$_company_model$_$this()._matomoId = ""; builder.get$_company_model$_$this()._convertPaymentCurrency = false; builder.get$_company_model$_$this()._convertExpenseCurrency = false; builder.get$_company_model$_$this()._notifyVendorWhenPaid = false; builder.get$_company_model$_$this()._calculateTaxes = false; builder.get$_company_model$_$this()._hasEInvoiceCertificate = false; builder.get$_company_model$_$this()._hasEInvoiceCertificatePassphrase = false; builder.get$_company_model$_$this()._eInvoiceCertificatePassphrase = ""; builder.get$_company_model$_$this()._enableCustomSurchargeTaxes1 = false; builder.get$_company_model$_$this()._enableCustomSurchargeTaxes2 = false; builder.get$_company_model$_$this()._enableCustomSurchargeTaxes3 = false; builder.get$_company_model$_$this()._enableCustomSurchargeTaxes4 = false; builder.get$_company_model$_$this()._company_model$_sizeId = ""; builder.get$_company_model$_$this()._company_model$_industryId = ""; builder.get$_company_model$_$this()._subdomain = ""; builder.get$_company_model$_$this()._portalMode = ""; builder.get$_company_model$_$this()._portalDomain = ""; builder.get$_company_model$_$this()._updateProducts = false; builder.get$_company_model$_$this()._convertProductExchangeRate = false; builder.get$_company_model$_$this()._fillProducts = false; builder.get$_company_model$_$this()._enableProductCost = false; builder.get$_company_model$_$this()._enableProductQuantity = true; builder.get$_company_model$_$this()._defaultQuantity = true; builder.get$_company_model$_$this()._showProductDetails = true; builder.get$_company_model$_$this()._clientCanRegister = false; builder.get$_company_model$_$this()._isLarge = false; builder.get$_company_model$_$this()._isDisabled = false; builder.get$_company_model$_$this()._enableShopApi = false; builder.get$_company_model$_$this()._companyKey = ""; builder.get$_company_model$_$this()._firstDayOfWeek = ""; builder.get$_company_model$_$this()._firstMonthOfYear = ""; builder.get$_company_model$_$this()._numberOfInvoiceTaxRates = 0; builder.get$_company_model$_$this()._numberOfItemTaxRates = 0; builder.get$_company_model$_$this()._expenseInclusiveTaxes = false; builder.get$_company_model$_$this()._slackWebhookUrl = ""; builder.get$_company_model$_$this()._googleAnalyticsKey = ""; builder.get$_company_model$_$this()._markExpensesInvoiceable = false; builder.get$_company_model$_$this()._markExpensesPaid = false; builder.get$_company_model$_$this()._invoiceExpenseDocuments = false; builder.get$_company_model$_$this()._invoiceTaskDocuments = false; builder.get$_company_model$_$this()._invoiceTaskTimelog = false; builder.get$_company_model$_$this()._autoStartTasks = false; builder.get$_company_model$_$this()._showTasksTable = false; builder.get$_company_model$_$this()._enabledModules = 0; builder.get$_company_model$_$this()._company_model$_createdAt = 0; builder.get$_company_model$_$this()._company_model$_updatedAt = 0; builder.get$_company_model$_$this()._company_model$_archivedAt = 0; builder.get$_company_model$_$this()._company_model$_id = ""; builder.get$_company_model$_$this()._smtpHost = ""; builder.get$_company_model$_$this()._smtpPort = 587; builder.get$_company_model$_$this()._smtpEncryption = "TLS"; builder.get$_company_model$_$this()._smtpUsername = ""; builder.get$_company_model$_$this()._smtpPassword = ""; builder.get$_company_model$_$this()._smtpLocalDomain = ""; builder.get$_company_model$_$this()._smtpVerifyPeer = true; t1 = builder.get$taxConfig(); t2 = A.TaxConfigEntity_TaxConfigEntity(); A.ArgumentError_checkNotNull(t2, "other"); t1._tax_model$_$v = t2; t2 = builder.get$taxData(); t1 = A.TaxDataEntity_TaxDataEntity(); A.ArgumentError_checkNotNull(t1, "other"); t2._tax_model$_$v = t1; builder.get$systemLogs().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.SystemLogEntity)); builder.get$subscriptions().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.SubscriptionEntity)); builder.get$recurringExpenses().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.ExpenseEntity)); builder.get$clientRegistrationFields().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.RegistrationFieldEntity)); builder.get$purchaseOrders().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.InvoiceEntity)); builder.get$bankAccounts().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.BankAccountEntity)); builder.get$transactions().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.TransactionEntity)); builder.get$transactionRules().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.TransactionRuleEntity)); builder.get$schedules().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.ScheduleEntity)); return builder; }, GatewayEntity_GatewayEntity() { var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; return A._$GatewayEntity$_("1", "", "" + t1, false, false, "", A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.GatewayOptionsEntity), "", 0); }, GatewayEntity_getClientUrl(customerReference, gatewayId) { switch (gatewayId) { case "d14dd26a37cecc30fdd65700bfb55b23": case "d14dd26a47cecc30fdd65700bfb67b34": return "https://dashboard.stripe.com/customers/" + customerReference; default: return null; } }, GatewayEntity_getPaymentUrl(gatewayId, transactionReference) { switch (gatewayId) { case "d14dd26a37cecc30fdd65700bfb55b23": case "d14dd26a47cecc30fdd65700bfb67b34": if (B.JSString_methods.startsWith$1(transactionReference, "src")) return "https://dashboard.stripe.com/sources/" + transactionReference; else return "https://dashboard.stripe.com/payments/" + transactionReference; default: return null; } }, UserCompanyEntity_UserCompanyEntity(reportErrors) { var _null = null, t1 = A.UserSettingsEntity_UserSettingsEntity(), t2 = A.CompanyEntity_CompanyEntity(), t3 = A.UserEntity_UserEntity(_null, _null, _null), t4 = A.TokenEntity_TokenEntity(_null, _null); return A._$UserCompanyEntity$_(A.AccountEntity_AccountEntity(reportErrors), t2, false, false, "", A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.BuiltList_String).rebuild$1(new A.UserCompanyEntity_UserCompanyEntity_closure()), "", 0, t1, t4, t3); }, UserCompanyEntity__initializeBuilder(builder) { var _null = null, _s5_ = "other", t1 = builder.get$user(0), t2 = A.UserEntity_UserEntity(_null, _null, _null); A.ArgumentError_checkNotNull(t2, _s5_); t1._user_model$_$v = t2; t2 = builder.get$token(); t1 = A.TokenEntity_TokenEntity(_null, _null); A.ArgumentError_checkNotNull(t1, _s5_); t2._token_model$_$v = t1; t1 = builder.get$account(0); t2 = A.AccountEntity_AccountEntity(false); A.ArgumentError_checkNotNull(t2, _s5_); t1._account_model$_$v = t2; t2 = builder.get$settings(); t1 = A.UserSettingsEntity_UserSettingsEntity(); A.ArgumentError_checkNotNull(t1, _s5_); t2._company_model$_$v = t1; builder.get$notifications().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.BuiltList_String).rebuild$1(new A.UserCompanyEntity__initializeBuilder_closure())); builder.get$_company_model$_$this()._permissionsUpdatedAt = 0; builder.get$_company_model$_$this()._ninjaPortalUrl = ""; return builder; }, UserSettingsEntity_UserSettingsEntity() { var _s14_ = "current_period", _null = null, t1 = type$.String, t2 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.BuiltList_String); t1 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.ReportSettingsEntity); return A._$UserSettingsEntity$_("#2F7DC3", A.BuiltList_BuiltList$from(A._setArrayType([A.DashboardField_DashboardField(_null, "total_active_invoices", _null, _s14_), A.DashboardField_DashboardField(_null, "total_outstanding_invoices", _null, _s14_), A.DashboardField_DashboardField(_null, "total_completed_payments", _null, _s14_)], type$.JSArray_DashboardField), type$.DashboardField), 3, 1, false, 3, t1, t2); }, UserSettingsEntity__initializeBuilder(builder) { var t1, _null = null, _s14_ = "current_period"; builder.get$_company_model$_$this()._accentColor = "#2F7DC3"; builder.get$_company_model$_$this()._numberYearsActive = 3; t1 = type$.String; builder.get$tableColumns().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.BuiltList_String)); builder.get$reportSettings().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.ReportSettingsEntity)); builder.get$dashboardFields().replace$1(0, A.BuiltList_BuiltList$from(A._setArrayType([A.DashboardField_DashboardField(_null, "total_active_invoices", _null, _s14_), A.DashboardField_DashboardField(_null, "total_outstanding_invoices", _null, _s14_), A.DashboardField_DashboardField(_null, "total_completed_payments", _null, _s14_)], type$.JSArray_DashboardField), type$.DashboardField)); builder.get$_company_model$_$this()._dashboardFieldsPerRowMobile = 1; builder.get$_company_model$_$this()._dashboardFieldsPerRowDesktop = 3; builder.get$_company_model$_$this()._includeDeletedClients = false; return builder; }, ReportSettingsEntity_ReportSettingsEntity(sortColumn, sortTotalsIndex) { var t1 = sortColumn == null ? "" : sortColumn, t2 = sortTotalsIndex == null ? 0 : sortTotalsIndex; return A._$ReportSettingsEntity$_(A.BuiltList_BuiltList$from(B.List_empty, type$.String), true, t1, true, t2); }, ReportSettingsEntity__initializeBuilder(builder) { builder.get$_company_model$_$this()._sortColumn = ""; builder.get$_company_model$_$this()._company_model$_sortAscending = true; builder.get$_company_model$_$this()._sortTotalsAscending = true; builder.get$_company_model$_$this()._sortTotalsIndex = 0; builder.get$columns(0).replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.String)); return builder; }, DashboardField_DashboardField(calculate, field, format, period) { var t1 = calculate == null ? "sum" : calculate; return A._$DashboardField$_(t1, field, format == null ? "money" : format, period); }, _$CompanyEntity$_(activities, archivedAt, assignedUserId, autoStartTasks, bankAccounts, calculateExpenseTaxByAmount, calculateTaxes, clientCanRegister, clientRegistrationFields, clients, companyGateways, companyKey, convertExpenseCurrency, convertPaymentCurrency, convertProductExchangeRate, convertRateToClient, createdAt, createdUserId, credits, customFields, defaultQuantity, defaultTaskIsDateBased, designs, documents, eInvoiceCertificatePassphrase, enableApplyingPayments, enableCustomSurchargeTaxes1, enableCustomSurchargeTaxes2, enableCustomSurchargeTaxes3, enableCustomSurchargeTaxes4, enableProductCost, enableProductDiscount, enableProductQuantity, enableShopApi, enabledModules, entityType, expenseCategories, expenseInclusiveTaxes, expenses, fillProducts, firstDayOfWeek, firstMonthOfYear, googleAnalyticsKey, groups, hasEInvoiceCertificate, hasEInvoiceCertificatePassphrase, id, industryId, invoiceExpenseDocuments, invoiceTaskDatelog, invoiceTaskDocuments, invoiceTaskHours, invoiceTaskItemDescription, invoiceTaskLock, invoiceTaskProject, invoiceTaskProjectHeader, invoiceTaskTimelog, invoices, isChanged, isDeleted, isDisabled, isLarge, markExpensesInvoiceable, markExpensesPaid, markdownEmailEnabled, markdownEnabled, matomoId, matomoUrl, notifyVendorWhenPaid, numberOfExpenseTaxRates, numberOfInvoiceTaxRates, numberOfItemTaxRates, oauthPasswordRequired, passwordTimeout, paymentTerms, payments, portalDomain, portalMode, products, projects, purchaseOrders, quotes, recurringExpenses, recurringInvoices, reportIncludeDeleted, reportIncludeDrafts, schedules, sessionTimeout, settings, showProductDetails, showTaskEndDate, showTasksTable, sizeId, slackWebhookUrl, smtpEncryption, smtpHost, smtpLocalDomain, smtpPassword, smtpPort, smtpUsername, smtpVerifyPeer, stockNotification, stockNotificationThreshold, stopOnUnpaidRecurring, subdomain, subscriptions, systemLogs, taskStatusMap, taskStatuses, tasks, taxConfig, taxData, taxRates, tokens, trackInventory, transactionRules, transactions, updateProducts, updatedAt, useCommaAsDecimalPlace, useQuoteTermsOnConversion, users, vendors, webhooks) { var _s13_ = "CompanyEntity"; A.BuiltValueNullFieldError_checkNotNull(enableCustomSurchargeTaxes1, _s13_, "enableCustomSurchargeTaxes1"); A.BuiltValueNullFieldError_checkNotNull(enableCustomSurchargeTaxes2, _s13_, "enableCustomSurchargeTaxes2"); A.BuiltValueNullFieldError_checkNotNull(enableCustomSurchargeTaxes3, _s13_, "enableCustomSurchargeTaxes3"); A.BuiltValueNullFieldError_checkNotNull(enableCustomSurchargeTaxes4, _s13_, "enableCustomSurchargeTaxes4"); A.BuiltValueNullFieldError_checkNotNull(sizeId, _s13_, "sizeId"); A.BuiltValueNullFieldError_checkNotNull(industryId, _s13_, "industryId"); A.BuiltValueNullFieldError_checkNotNull(subdomain, _s13_, "subdomain"); A.BuiltValueNullFieldError_checkNotNull(portalMode, _s13_, "portalMode"); A.BuiltValueNullFieldError_checkNotNull(portalDomain, _s13_, "portalDomain"); A.BuiltValueNullFieldError_checkNotNull(updateProducts, _s13_, "updateProducts"); A.BuiltValueNullFieldError_checkNotNull(convertProductExchangeRate, _s13_, "convertProductExchangeRate"); A.BuiltValueNullFieldError_checkNotNull(convertRateToClient, _s13_, "convertRateToClient"); A.BuiltValueNullFieldError_checkNotNull(fillProducts, _s13_, "fillProducts"); A.BuiltValueNullFieldError_checkNotNull(enableProductCost, _s13_, "enableProductCost"); A.BuiltValueNullFieldError_checkNotNull(enableProductQuantity, _s13_, "enableProductQuantity"); A.BuiltValueNullFieldError_checkNotNull(enableProductDiscount, _s13_, "enableProductDiscount"); A.BuiltValueNullFieldError_checkNotNull(defaultTaskIsDateBased, _s13_, "defaultTaskIsDateBased"); A.BuiltValueNullFieldError_checkNotNull(defaultQuantity, _s13_, "defaultQuantity"); A.BuiltValueNullFieldError_checkNotNull(showProductDetails, _s13_, "showProductDetails"); A.BuiltValueNullFieldError_checkNotNull(clientCanRegister, _s13_, "clientCanRegister"); A.BuiltValueNullFieldError_checkNotNull(isLarge, _s13_, "isLarge"); A.BuiltValueNullFieldError_checkNotNull(isDisabled, _s13_, "isDisabled"); A.BuiltValueNullFieldError_checkNotNull(enableShopApi, _s13_, "enableShopApi"); A.BuiltValueNullFieldError_checkNotNull(companyKey, _s13_, "companyKey"); A.BuiltValueNullFieldError_checkNotNull(firstDayOfWeek, _s13_, "firstDayOfWeek"); A.BuiltValueNullFieldError_checkNotNull(firstMonthOfYear, _s13_, "firstMonthOfYear"); A.BuiltValueNullFieldError_checkNotNull(numberOfInvoiceTaxRates, _s13_, "numberOfInvoiceTaxRates"); A.BuiltValueNullFieldError_checkNotNull(numberOfItemTaxRates, _s13_, "numberOfItemTaxRates"); A.BuiltValueNullFieldError_checkNotNull(numberOfExpenseTaxRates, _s13_, "numberOfExpenseTaxRates"); A.BuiltValueNullFieldError_checkNotNull(expenseInclusiveTaxes, _s13_, "expenseInclusiveTaxes"); A.BuiltValueNullFieldError_checkNotNull(sessionTimeout, _s13_, "sessionTimeout"); A.BuiltValueNullFieldError_checkNotNull(passwordTimeout, _s13_, "passwordTimeout"); A.BuiltValueNullFieldError_checkNotNull(oauthPasswordRequired, _s13_, "oauthPasswordRequired"); A.BuiltValueNullFieldError_checkNotNull(markdownEnabled, _s13_, "markdownEnabled"); A.BuiltValueNullFieldError_checkNotNull(markdownEmailEnabled, _s13_, "markdownEmailEnabled"); A.BuiltValueNullFieldError_checkNotNull(useCommaAsDecimalPlace, _s13_, "useCommaAsDecimalPlace"); A.BuiltValueNullFieldError_checkNotNull(reportIncludeDrafts, _s13_, "reportIncludeDrafts"); A.BuiltValueNullFieldError_checkNotNull(reportIncludeDeleted, _s13_, "reportIncludeDeleted"); A.BuiltValueNullFieldError_checkNotNull(useQuoteTermsOnConversion, _s13_, "useQuoteTermsOnConversion"); A.BuiltValueNullFieldError_checkNotNull(enableApplyingPayments, _s13_, "enableApplyingPayments"); A.BuiltValueNullFieldError_checkNotNull(trackInventory, _s13_, "trackInventory"); A.BuiltValueNullFieldError_checkNotNull(stockNotificationThreshold, _s13_, "stockNotificationThreshold"); A.BuiltValueNullFieldError_checkNotNull(stockNotification, _s13_, "stockNotification"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskLock, _s13_, "invoiceTaskLock"); A.BuiltValueNullFieldError_checkNotNull(convertPaymentCurrency, _s13_, "convertPaymentCurrency"); A.BuiltValueNullFieldError_checkNotNull(convertExpenseCurrency, _s13_, "convertExpenseCurrency"); A.BuiltValueNullFieldError_checkNotNull(notifyVendorWhenPaid, _s13_, "notifyVendorWhenPaid"); A.BuiltValueNullFieldError_checkNotNull(smtpHost, _s13_, "smtpHost"); A.BuiltValueNullFieldError_checkNotNull(smtpPort, _s13_, "smtpPort"); A.BuiltValueNullFieldError_checkNotNull(smtpEncryption, _s13_, "smtpEncryption"); A.BuiltValueNullFieldError_checkNotNull(smtpUsername, _s13_, "smtpUsername"); A.BuiltValueNullFieldError_checkNotNull(smtpPassword, _s13_, "smtpPassword"); A.BuiltValueNullFieldError_checkNotNull(smtpLocalDomain, _s13_, "smtpLocalDomain"); A.BuiltValueNullFieldError_checkNotNull(smtpVerifyPeer, _s13_, "smtpVerifyPeer"); A.BuiltValueNullFieldError_checkNotNull(groups, _s13_, "groups"); A.BuiltValueNullFieldError_checkNotNull(activities, _s13_, "activities"); A.BuiltValueNullFieldError_checkNotNull(taxRates, _s13_, "taxRates"); A.BuiltValueNullFieldError_checkNotNull(taskStatuses, _s13_, "taskStatuses"); A.BuiltValueNullFieldError_checkNotNull(taskStatusMap, _s13_, "taskStatusMap"); A.BuiltValueNullFieldError_checkNotNull(companyGateways, _s13_, "companyGateways"); A.BuiltValueNullFieldError_checkNotNull(expenseCategories, _s13_, "expenseCategories"); A.BuiltValueNullFieldError_checkNotNull(users, _s13_, "users"); A.BuiltValueNullFieldError_checkNotNull(clients, _s13_, "clients"); A.BuiltValueNullFieldError_checkNotNull(products, _s13_, "products"); A.BuiltValueNullFieldError_checkNotNull(invoices, _s13_, "invoices"); A.BuiltValueNullFieldError_checkNotNull(recurringInvoices, _s13_, "recurringInvoices"); A.BuiltValueNullFieldError_checkNotNull(recurringExpenses, _s13_, "recurringExpenses"); A.BuiltValueNullFieldError_checkNotNull(payments, _s13_, "payments"); A.BuiltValueNullFieldError_checkNotNull(quotes, _s13_, "quotes"); A.BuiltValueNullFieldError_checkNotNull(credits, _s13_, "credits"); A.BuiltValueNullFieldError_checkNotNull(purchaseOrders, _s13_, "purchaseOrders"); A.BuiltValueNullFieldError_checkNotNull(bankAccounts, _s13_, "bankAccounts"); A.BuiltValueNullFieldError_checkNotNull(transactions, _s13_, "transactions"); A.BuiltValueNullFieldError_checkNotNull(transactionRules, _s13_, "transactionRules"); A.BuiltValueNullFieldError_checkNotNull(tasks, _s13_, "tasks"); A.BuiltValueNullFieldError_checkNotNull(projects, _s13_, "projects"); A.BuiltValueNullFieldError_checkNotNull(expenses, _s13_, "expenses"); A.BuiltValueNullFieldError_checkNotNull(vendors, _s13_, "vendors"); A.BuiltValueNullFieldError_checkNotNull(designs, _s13_, "designs"); A.BuiltValueNullFieldError_checkNotNull(documents, _s13_, "documents"); A.BuiltValueNullFieldError_checkNotNull(schedules, _s13_, "schedules"); A.BuiltValueNullFieldError_checkNotNull(tokens, _s13_, "tokens"); A.BuiltValueNullFieldError_checkNotNull(webhooks, _s13_, "webhooks"); A.BuiltValueNullFieldError_checkNotNull(subscriptions, _s13_, "subscriptions"); A.BuiltValueNullFieldError_checkNotNull(paymentTerms, _s13_, "paymentTerms"); A.BuiltValueNullFieldError_checkNotNull(systemLogs, _s13_, "systemLogs"); A.BuiltValueNullFieldError_checkNotNull(clientRegistrationFields, _s13_, "clientRegistrationFields"); A.BuiltValueNullFieldError_checkNotNull(customFields, _s13_, "customFields"); A.BuiltValueNullFieldError_checkNotNull(slackWebhookUrl, _s13_, "slackWebhookUrl"); A.BuiltValueNullFieldError_checkNotNull(googleAnalyticsKey, _s13_, "googleAnalyticsKey"); A.BuiltValueNullFieldError_checkNotNull(matomoUrl, _s13_, "matomoUrl"); A.BuiltValueNullFieldError_checkNotNull(matomoId, _s13_, "matomoId"); A.BuiltValueNullFieldError_checkNotNull(markExpensesInvoiceable, _s13_, "markExpensesInvoiceable"); A.BuiltValueNullFieldError_checkNotNull(markExpensesPaid, _s13_, "markExpensesPaid"); A.BuiltValueNullFieldError_checkNotNull(invoiceExpenseDocuments, _s13_, "invoiceExpenseDocuments"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskDocuments, _s13_, "invoiceTaskDocuments"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskTimelog, _s13_, "invoiceTaskTimelog"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskDatelog, _s13_, "invoiceTaskDatelog"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskProject, _s13_, "invoiceTaskProject"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskHours, _s13_, "invoiceTaskHours"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskItemDescription, _s13_, "invoiceTaskItemDescription"); A.BuiltValueNullFieldError_checkNotNull(invoiceTaskProjectHeader, _s13_, "invoiceTaskProjectHeader"); A.BuiltValueNullFieldError_checkNotNull(autoStartTasks, _s13_, "autoStartTasks"); A.BuiltValueNullFieldError_checkNotNull(showTasksTable, _s13_, "showTasksTable"); A.BuiltValueNullFieldError_checkNotNull(showTaskEndDate, _s13_, "showTaskEndDate"); A.BuiltValueNullFieldError_checkNotNull(settings, _s13_, "settings"); A.BuiltValueNullFieldError_checkNotNull(enabledModules, _s13_, "enabledModules"); A.BuiltValueNullFieldError_checkNotNull(calculateExpenseTaxByAmount, _s13_, "calculateExpenseTaxByAmount"); A.BuiltValueNullFieldError_checkNotNull(stopOnUnpaidRecurring, _s13_, "stopOnUnpaidRecurring"); A.BuiltValueNullFieldError_checkNotNull(calculateTaxes, _s13_, "calculateTaxes"); A.BuiltValueNullFieldError_checkNotNull(taxConfig, _s13_, "taxConfig"); A.BuiltValueNullFieldError_checkNotNull(taxData, _s13_, "taxData"); A.BuiltValueNullFieldError_checkNotNull(hasEInvoiceCertificate, _s13_, "hasEInvoiceCertificate"); A.BuiltValueNullFieldError_checkNotNull(hasEInvoiceCertificatePassphrase, _s13_, "hasEInvoiceCertificatePassphrase"); A.BuiltValueNullFieldError_checkNotNull(eInvoiceCertificatePassphrase, _s13_, "eInvoiceCertificatePassphrase"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$CompanyEntity(enableCustomSurchargeTaxes1, enableCustomSurchargeTaxes2, enableCustomSurchargeTaxes3, enableCustomSurchargeTaxes4, sizeId, industryId, subdomain, portalMode, portalDomain, updateProducts, convertProductExchangeRate, convertRateToClient, fillProducts, enableProductCost, enableProductQuantity, enableProductDiscount, defaultTaskIsDateBased, defaultQuantity, showProductDetails, clientCanRegister, isLarge, isDisabled, enableShopApi, companyKey, firstDayOfWeek, firstMonthOfYear, numberOfInvoiceTaxRates, numberOfItemTaxRates, numberOfExpenseTaxRates, expenseInclusiveTaxes, sessionTimeout, passwordTimeout, oauthPasswordRequired, markdownEnabled, markdownEmailEnabled, useCommaAsDecimalPlace, reportIncludeDrafts, reportIncludeDeleted, useQuoteTermsOnConversion, enableApplyingPayments, trackInventory, stockNotificationThreshold, stockNotification, invoiceTaskLock, convertPaymentCurrency, convertExpenseCurrency, notifyVendorWhenPaid, smtpHost, smtpPort, smtpEncryption, smtpUsername, smtpPassword, smtpLocalDomain, smtpVerifyPeer, groups, activities, taxRates, taskStatuses, taskStatusMap, companyGateways, expenseCategories, users, clients, products, invoices, recurringInvoices, recurringExpenses, payments, quotes, credits, purchaseOrders, bankAccounts, transactions, transactionRules, tasks, projects, expenses, vendors, designs, documents, schedules, tokens, webhooks, subscriptions, paymentTerms, systemLogs, clientRegistrationFields, customFields, slackWebhookUrl, googleAnalyticsKey, matomoUrl, matomoId, markExpensesInvoiceable, markExpensesPaid, invoiceExpenseDocuments, invoiceTaskDocuments, invoiceTaskTimelog, invoiceTaskDatelog, invoiceTaskProject, invoiceTaskHours, invoiceTaskItemDescription, invoiceTaskProjectHeader, autoStartTasks, showTasksTable, showTaskEndDate, settings, enabledModules, calculateExpenseTaxByAmount, stopOnUnpaidRecurring, calculateTaxes, taxConfig, taxData, hasEInvoiceCertificate, hasEInvoiceCertificatePassphrase, eInvoiceCertificatePassphrase, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, _$GatewayEntity$_(defaultGatewayTypeId, fields, id, isOffsite, isVisible, $name, options, siteUrl, sortOrder) { var _s13_ = "GatewayEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); A.BuiltValueNullFieldError_checkNotNull($name, _s13_, "name"); A.BuiltValueNullFieldError_checkNotNull(isOffsite, _s13_, "isOffsite"); A.BuiltValueNullFieldError_checkNotNull(isVisible, _s13_, "isVisible"); A.BuiltValueNullFieldError_checkNotNull(sortOrder, _s13_, "sortOrder"); A.BuiltValueNullFieldError_checkNotNull(defaultGatewayTypeId, _s13_, "defaultGatewayTypeId"); A.BuiltValueNullFieldError_checkNotNull(siteUrl, _s13_, "siteUrl"); A.BuiltValueNullFieldError_checkNotNull(options, _s13_, "options"); A.BuiltValueNullFieldError_checkNotNull(fields, _s13_, "fields"); return new A._$GatewayEntity(id, $name, isOffsite, isVisible, sortOrder, defaultGatewayTypeId, siteUrl, options, fields); }, _$UserCompanyEntity$_(account, company, isAdmin, isOwner, ninjaPortalUrl, notifications, permissions, permissionsUpdatedAt, settings, token, user) { var _s17_ = "UserCompanyEntity"; A.BuiltValueNullFieldError_checkNotNull(isAdmin, _s17_, "isAdmin"); A.BuiltValueNullFieldError_checkNotNull(isOwner, _s17_, "isOwner"); A.BuiltValueNullFieldError_checkNotNull(permissionsUpdatedAt, _s17_, "permissionsUpdatedAt"); A.BuiltValueNullFieldError_checkNotNull(permissions, _s17_, "permissions"); A.BuiltValueNullFieldError_checkNotNull(notifications, _s17_, "notifications"); A.BuiltValueNullFieldError_checkNotNull(company, _s17_, "company"); A.BuiltValueNullFieldError_checkNotNull(user, _s17_, "user"); A.BuiltValueNullFieldError_checkNotNull(token, _s17_, "token"); A.BuiltValueNullFieldError_checkNotNull(account, _s17_, "account"); A.BuiltValueNullFieldError_checkNotNull(settings, _s17_, "settings"); A.BuiltValueNullFieldError_checkNotNull(ninjaPortalUrl, _s17_, "ninjaPortalUrl"); return new A._$UserCompanyEntity(isAdmin, isOwner, permissionsUpdatedAt, permissions, notifications, company, user, token, account, settings, ninjaPortalUrl); }, _$UserSettingsEntity$_(accentColor, dashboardFields, dashboardFieldsPerRowDesktop, dashboardFieldsPerRowMobile, includeDeletedClients, numberYearsActive, reportSettings, tableColumns) { var _s18_ = "UserSettingsEntity"; A.BuiltValueNullFieldError_checkNotNull(tableColumns, _s18_, "tableColumns"); A.BuiltValueNullFieldError_checkNotNull(reportSettings, _s18_, "reportSettings"); A.BuiltValueNullFieldError_checkNotNull(numberYearsActive, _s18_, "numberYearsActive"); A.BuiltValueNullFieldError_checkNotNull(includeDeletedClients, _s18_, "includeDeletedClients"); A.BuiltValueNullFieldError_checkNotNull(dashboardFields, _s18_, "dashboardFields"); A.BuiltValueNullFieldError_checkNotNull(dashboardFieldsPerRowMobile, _s18_, "dashboardFieldsPerRowMobile"); A.BuiltValueNullFieldError_checkNotNull(dashboardFieldsPerRowDesktop, _s18_, "dashboardFieldsPerRowDesktop"); return new A._$UserSettingsEntity(accentColor, tableColumns, reportSettings, numberYearsActive, includeDeletedClients, dashboardFields, dashboardFieldsPerRowMobile, dashboardFieldsPerRowDesktop); }, _$ReportSettingsEntity$_(columns, sortAscending, sortColumn, sortTotalsAscending, sortTotalsIndex) { var _s20_ = "ReportSettingsEntity"; A.BuiltValueNullFieldError_checkNotNull(sortColumn, _s20_, "sortColumn"); A.BuiltValueNullFieldError_checkNotNull(sortAscending, _s20_, "sortAscending"); A.BuiltValueNullFieldError_checkNotNull(sortTotalsIndex, _s20_, "sortTotalsIndex"); A.BuiltValueNullFieldError_checkNotNull(sortTotalsAscending, _s20_, "sortTotalsAscending"); A.BuiltValueNullFieldError_checkNotNull(columns, _s20_, "columns"); return new A._$ReportSettingsEntity(sortColumn, sortAscending, sortTotalsIndex, sortTotalsAscending, columns); }, _$DashboardField$_(calculate, field, format, period) { var _s14_ = "DashboardField"; A.BuiltValueNullFieldError_checkNotNull(field, _s14_, "field"); A.BuiltValueNullFieldError_checkNotNull(period, _s14_, "period"); A.BuiltValueNullFieldError_checkNotNull(format, _s14_, "format"); A.BuiltValueNullFieldError_checkNotNull(calculate, _s14_, "calculate"); return new A._$DashboardField(field, period, format, calculate); }, CompanyEntity: function CompanyEntity() { }, CompanyEntity_getCustomFieldValues_closure: function CompanyEntity_getCustomFieldValues_closure() { }, CompanyEntity_coreCompany_closure: function CompanyEntity_coreCompany_closure() { }, GatewayEntity: function GatewayEntity() { }, GatewayEntity_supportsTokenBilling_closure: function GatewayEntity_supportsTokenBilling_closure(t0) { this.$this = t0; }, GatewayEntity_matchesFilter_closure: function GatewayEntity_matchesFilter_closure() { }, GatewayEntity_matchesFilterValue_closure: function GatewayEntity_matchesFilterValue_closure() { }, GatewayEntity_supportedEvents_closure: function GatewayEntity_supportedEvents_closure(t0) { this.events = t0; }, GatewayOptionsEntity: function GatewayOptionsEntity() { }, UserCompanyEntity: function UserCompanyEntity() { }, UserCompanyEntity_UserCompanyEntity_closure: function UserCompanyEntity_UserCompanyEntity_closure() { }, UserCompanyEntity__initializeBuilder_closure: function UserCompanyEntity__initializeBuilder_closure() { }, UserSettingsEntity: function UserSettingsEntity() { }, ReportSettingsEntity: function ReportSettingsEntity() { }, CompanyItemResponse: function CompanyItemResponse() { }, RegistrationFieldEntity: function RegistrationFieldEntity() { }, DashboardField: function DashboardField() { }, _$CompanyEntitySerializer: function _$CompanyEntitySerializer() { }, _$GatewayEntitySerializer: function _$GatewayEntitySerializer() { }, _$GatewayOptionsEntitySerializer: function _$GatewayOptionsEntitySerializer() { }, _$UserCompanyEntitySerializer: function _$UserCompanyEntitySerializer() { }, _$UserSettingsEntitySerializer: function _$UserSettingsEntitySerializer() { }, _$ReportSettingsEntitySerializer: function _$ReportSettingsEntitySerializer() { }, _$CompanyItemResponseSerializer: function _$CompanyItemResponseSerializer() { }, _$RegistrationFieldEntitySerializer: function _$RegistrationFieldEntitySerializer() { }, _$DashboardFieldSerializer: function _$DashboardFieldSerializer() { }, _$CompanyEntity: function _$CompanyEntity(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, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94, t95, t96, t97, t98, t99, t100, t101, t102, t103, t104, t105, t106, t107, t108, t109, t110, t111, t112, t113, t114, t115, t116, t117, t118, t119, t120, t121, t122, t123) { var _ = this; _.enableCustomSurchargeTaxes1 = t0; _.enableCustomSurchargeTaxes2 = t1; _.enableCustomSurchargeTaxes3 = t2; _.enableCustomSurchargeTaxes4 = t3; _.sizeId = t4; _.industryId = t5; _.subdomain = t6; _.portalMode = t7; _.portalDomain = t8; _.updateProducts = t9; _.convertProductExchangeRate = t10; _.convertRateToClient = t11; _.fillProducts = t12; _.enableProductCost = t13; _.enableProductQuantity = t14; _.enableProductDiscount = t15; _.defaultTaskIsDateBased = t16; _.defaultQuantity = t17; _.showProductDetails = t18; _.clientCanRegister = t19; _.isLarge = t20; _.isDisabled = t21; _.enableShopApi = t22; _.companyKey = t23; _.firstDayOfWeek = t24; _.firstMonthOfYear = t25; _.numberOfInvoiceTaxRates = t26; _.numberOfItemTaxRates = t27; _.numberOfExpenseTaxRates = t28; _.expenseInclusiveTaxes = t29; _.sessionTimeout = t30; _.passwordTimeout = t31; _.oauthPasswordRequired = t32; _.markdownEnabled = t33; _.markdownEmailEnabled = t34; _.useCommaAsDecimalPlace = t35; _.reportIncludeDrafts = t36; _.reportIncludeDeleted = t37; _.useQuoteTermsOnConversion = t38; _.enableApplyingPayments = t39; _.trackInventory = t40; _.stockNotificationThreshold = t41; _.stockNotification = t42; _.invoiceTaskLock = t43; _.convertPaymentCurrency = t44; _.convertExpenseCurrency = t45; _.notifyVendorWhenPaid = t46; _.smtpHost = t47; _.smtpPort = t48; _.smtpEncryption = t49; _.smtpUsername = t50; _.smtpPassword = t51; _.smtpLocalDomain = t52; _.smtpVerifyPeer = t53; _.groups = t54; _.activities = t55; _.taxRates = t56; _.taskStatuses = t57; _.taskStatusMap = t58; _.companyGateways = t59; _.expenseCategories = t60; _.users = t61; _.clients = t62; _.products = t63; _.invoices = t64; _.recurringInvoices = t65; _.recurringExpenses = t66; _.payments = t67; _.quotes = t68; _.credits = t69; _.purchaseOrders = t70; _.bankAccounts = t71; _.transactions = t72; _.transactionRules = t73; _.tasks = t74; _.projects = t75; _.expenses = t76; _.vendors = t77; _.designs = t78; _.documents = t79; _.schedules = t80; _.tokens = t81; _.webhooks = t82; _.subscriptions = t83; _.paymentTerms = t84; _.systemLogs = t85; _.clientRegistrationFields = t86; _.customFields = t87; _.slackWebhookUrl = t88; _.googleAnalyticsKey = t89; _.matomoUrl = t90; _.matomoId = t91; _.markExpensesInvoiceable = t92; _.markExpensesPaid = t93; _.invoiceExpenseDocuments = t94; _.invoiceTaskDocuments = t95; _.invoiceTaskTimelog = t96; _.invoiceTaskDatelog = t97; _.invoiceTaskProject = t98; _.invoiceTaskHours = t99; _.invoiceTaskItemDescription = t100; _.invoiceTaskProjectHeader = t101; _.autoStartTasks = t102; _.showTasksTable = t103; _.showTaskEndDate = t104; _.settings = t105; _.enabledModules = t106; _.calculateExpenseTaxByAmount = t107; _.stopOnUnpaidRecurring = t108; _.calculateTaxes = t109; _.taxConfig = t110; _.taxData = t111; _.hasEInvoiceCertificate = t112; _.hasEInvoiceCertificatePassphrase = t113; _.eInvoiceCertificatePassphrase = t114; _.isChanged = t115; _.createdAt = t116; _.updatedAt = t117; _.archivedAt = t118; _.isDeleted = t119; _.createdUserId = t120; _.assignedUserId = t121; _.entityType = t122; _.id = t123; _._company_model$__hashCode = null; }, CompanyEntityBuilder: function CompanyEntityBuilder() { var _ = this; _._numberOfExpenseTaxRates = _._numberOfItemTaxRates = _._numberOfInvoiceTaxRates = _._firstMonthOfYear = _._firstDayOfWeek = _._companyKey = _._enableShopApi = _._isDisabled = _._isLarge = _._clientCanRegister = _._showProductDetails = _._defaultQuantity = _._defaultTaskIsDateBased = _._enableProductDiscount = _._enableProductQuantity = _._enableProductCost = _._fillProducts = _._convertRateToClient = _._convertProductExchangeRate = _._updateProducts = _._portalDomain = _._portalMode = _._subdomain = _._company_model$_industryId = _._company_model$_sizeId = _._enableCustomSurchargeTaxes4 = _._enableCustomSurchargeTaxes3 = _._enableCustomSurchargeTaxes2 = _._enableCustomSurchargeTaxes1 = _._company_model$_$v = null; _._taskStatusMap = _._taskStatuses = _._taxRates = _._company_model$_activities = _._groups = _._smtpVerifyPeer = _._smtpLocalDomain = _._smtpPassword = _._smtpUsername = _._smtpEncryption = _._smtpPort = _._smtpHost = _._notifyVendorWhenPaid = _._convertExpenseCurrency = _._convertPaymentCurrency = _._invoiceTaskLock = _._stockNotification = _._stockNotificationThreshold = _._trackInventory = _._enableApplyingPayments = _._useQuoteTermsOnConversion = _._reportIncludeDeleted = _._reportIncludeDrafts = _._useCommaAsDecimalPlace = _._markdownEmailEnabled = _._markdownEnabled = _._oauthPasswordRequired = _._passwordTimeout = _._sessionTimeout = _._expenseInclusiveTaxes = null; _._slackWebhookUrl = _._customFields = _._clientRegistrationFields = _._company_model$_systemLogs = _._paymentTerms = _._subscriptions = _._webhooks = _._tokens = _._schedules = _._company_model$_documents = _._designs = _._vendors = _._expenses = _._projects = _._tasks = _._transactionRules = _._transactions = _._bankAccounts = _._purchaseOrders = _._credits = _._quotes = _._payments = _._recurringExpenses = _._recurringInvoices = _._invoices = _._products = _._clients = _._users = _._expenseCategories = _._companyGateways = null; _._company_model$_archivedAt = _._company_model$_updatedAt = _._company_model$_createdAt = _._company_model$_isChanged = _._eInvoiceCertificatePassphrase = _._hasEInvoiceCertificatePassphrase = _._hasEInvoiceCertificate = _._company_model$_taxData = _._taxConfig = _._calculateTaxes = _._stopOnUnpaidRecurring = _._calculateExpenseTaxByAmount = _._enabledModules = _._settings = _._showTaskEndDate = _._showTasksTable = _._autoStartTasks = _._invoiceTaskProjectHeader = _._invoiceTaskItemDescription = _._invoiceTaskHours = _._invoiceTaskProject = _._invoiceTaskDatelog = _._invoiceTaskTimelog = _._invoiceTaskDocuments = _._invoiceExpenseDocuments = _._markExpensesPaid = _._markExpensesInvoiceable = _._matomoId = _._matomoUrl = _._googleAnalyticsKey = null; _._company_model$_id = _._company_model$_entityType = _._company_model$_assignedUserId = _._company_model$_createdUserId = _._company_model$_isDeleted = null; }, _$GatewayEntity: function _$GatewayEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.id = t0; _.name = t1; _.isOffsite = t2; _.isVisible = t3; _.sortOrder = t4; _.defaultGatewayTypeId = t5; _.siteUrl = t6; _.options = t7; _.fields = t8; _._company_model$__hashCode = null; }, GatewayEntityBuilder: function GatewayEntityBuilder() { var _ = this; _._company_model$_fields = _._company_model$_options = _._siteUrl = _._defaultGatewayTypeId = _._sortOrder = _._isVisible = _._isOffsite = _._company_model$_name = _._company_model$_id = _._company_model$_$v = null; }, _$GatewayOptionsEntity: function _$GatewayOptionsEntity(t0, t1, t2) { var _ = this; _.supportRefunds = t0; _.supportTokenBilling = t1; _.webhooks = t2; _._company_model$__hashCode = null; }, GatewayOptionsEntityBuilder: function GatewayOptionsEntityBuilder() { var _ = this; _._webhooks = _._supportTokenBilling = _._supportRefunds = _._company_model$_$v = null; }, _$UserCompanyEntity: function _$UserCompanyEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.isAdmin = t0; _.isOwner = t1; _.permissionsUpdatedAt = t2; _.permissions = t3; _.notifications = t4; _.company = t5; _.user = t6; _.token = t7; _.account = t8; _.settings = t9; _.ninjaPortalUrl = t10; _._company_model$__hashCode = null; }, UserCompanyEntityBuilder: function UserCompanyEntityBuilder() { var _ = this; _._ninjaPortalUrl = _._settings = _._account = _._token = _._company_model$_user = _._company_model$_company = _._notifications = _._permissions = _._permissionsUpdatedAt = _._isOwner = _._isAdmin = _._company_model$_$v = null; }, _$UserSettingsEntity: function _$UserSettingsEntity(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.accentColor = t0; _.tableColumns = t1; _.reportSettings = t2; _.numberYearsActive = t3; _.includeDeletedClients = t4; _.dashboardFields = t5; _.dashboardFieldsPerRowMobile = t6; _.dashboardFieldsPerRowDesktop = t7; _._company_model$__hashCode = null; }, UserSettingsEntityBuilder: function UserSettingsEntityBuilder() { var _ = this; _._dashboardFieldsPerRowDesktop = _._dashboardFieldsPerRowMobile = _._dashboardFields = _._includeDeletedClients = _._numberYearsActive = _._reportSettings = _._tableColumns = _._accentColor = _._company_model$_$v = null; }, _$ReportSettingsEntity: function _$ReportSettingsEntity(t0, t1, t2, t3, t4) { var _ = this; _.sortColumn = t0; _.sortAscending = t1; _.sortTotalsIndex = t2; _.sortTotalsAscending = t3; _.columns = t4; _._company_model$__hashCode = null; }, ReportSettingsEntityBuilder: function ReportSettingsEntityBuilder() { var _ = this; _._columns = _._sortTotalsAscending = _._sortTotalsIndex = _._company_model$_sortAscending = _._sortColumn = _._company_model$_$v = null; }, _$CompanyItemResponse: function _$CompanyItemResponse(t0) { this.data = t0; this._company_model$__hashCode = null; }, CompanyItemResponseBuilder: function CompanyItemResponseBuilder() { this._company_model$_data = this._company_model$_$v = null; }, _$RegistrationFieldEntity: function _$RegistrationFieldEntity(t0, t1, t2) { var _ = this; _.key = t0; _.required = t1; _.visible = t2; _._company_model$__hashCode = null; }, RegistrationFieldEntityBuilder: function RegistrationFieldEntityBuilder() { var _ = this; _._visible = _._required = _._company_model$_key = _._company_model$_$v = null; }, _$DashboardField: function _$DashboardField(t0, t1, t2, t3) { var _ = this; _.field = t0; _.period = t1; _.format = t2; _.calculate = t3; _._company_model$__hashCode = null; }, DashboardFieldBuilder: function DashboardFieldBuilder() { var _ = this; _._calculate = _._company_model$_format = _._period = _._company_model$_field = _._company_model$_$v = null; }, _CompanyEntity_Object_BaseEntity: function _CompanyEntity_Object_BaseEntity() { }, _GatewayEntity_Object_SelectableEntity: function _GatewayEntity_Object_SelectableEntity() { }, 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; }, DashboardSettings_fromState(state) { var settings = state.settings, t1 = new A.DashboardSettings(); t1.dateRange = settings.dateRange; t1.startDate = settings.customStartDate; t1.endDate = settings.customEndDate; t1.enableComparison = settings.enableComparison; t1.compareDateRange = settings.compareDateRange; t1.compareStartDate = settings.compareCustomStartDate; t1.compareEndDate = settings.compareCustomEndDate; return t1; }, _$valueOf0($name) { switch ($name) { case "last7Days": return B.DateRange_last7Days; case "last30Days": return B.DateRange_last30Days; case "last365Days": return B.DateRange_last365Days; case "thisMonth": return B.DateRange_thisMonth; case "lastMonth": return B.DateRange_lastMonth; case "thisQuarter": return B.DateRange_thisQuarter; case "lastQuarter": return B.DateRange_lastQuarter; case "thisYear": return B.DateRange_thisYear; case "lastYear": return B.DateRange_lastYear; case "allTime": return B.DateRange_allTime; case "custom": return B.DateRange_custom; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, _$comparisonValueOf($name) { switch ($name) { case "previousPeriod": return B.DateRangeComparison_previousPeriod; case "previousYear": return B.DateRangeComparison_previousYear; case "customRange": return B.DateRangeComparison_customRange; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, DateRange: function DateRange(t0) { this.name = t0; }, DateRangeComparison: function DateRangeComparison(t0) { this.name = t0; }, DashboardSettings: function DashboardSettings() { var _ = this; _.compareEndDate = _.compareStartDate = _.compareDateRange = _.enableComparison = _.endDate = _.startDate = _.dateRange = null; }, _$DateRangeSerializer: function _$DateRangeSerializer() { }, _$DateRangeComparisonSerializer: function _$DateRangeComparisonSerializer() { }, DesignEntity_DesignEntity(design, id, state) { var t1, t2; if (design == null && state != null) { t1 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex]; t1 = t1.designState.map._map$_map.$index(0, t1.userCompany.company.settings.defaultInvoiceDesignId); design = t1 == null ? null : t1.design; } if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; if (design == null) { t2 = type$.String; t2 = A.BuiltMap_BuiltMap(A.LinkedHashMap_LinkedHashMap$_literal(["header", "", "body", "", "footer", "", "product", "", "task", "", "includes", ""], t2, t2), t2, t2); } else t2 = design; return A._$DesignEntity$_(0, null, 0, null, t2, "", t1, false, true, false, true, false, "", 0); }, DesignEntity__initializeBuilder(builder) { builder.get$_design_model$_$this()._isFree = true; builder.get$_design_model$_$this()._isTemplate = false; builder.get$_design_model$_$this()._entities = ""; return builder; }, _$DesignPreviewRequest$_(design, entityId, entityType) { var _s20_ = "DesignPreviewRequest"; A.BuiltValueNullFieldError_checkNotNull(entityType, _s20_, "entityType"); A.BuiltValueNullFieldError_checkNotNull(entityId, _s20_, "entityId"); A.BuiltValueNullFieldError_checkNotNull(design, _s20_, "design"); return new A._$DesignPreviewRequest(entityType, entityId, design); }, _$DesignEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, design, entities, id, isChanged, isCustom, isDeleted, isFree, isTemplate, $name, updatedAt) { var _s12_ = "DesignEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s12_, "name"); A.BuiltValueNullFieldError_checkNotNull(design, _s12_, "design"); A.BuiltValueNullFieldError_checkNotNull(isCustom, _s12_, "isCustom"); A.BuiltValueNullFieldError_checkNotNull(isFree, _s12_, "isFree"); A.BuiltValueNullFieldError_checkNotNull(isTemplate, _s12_, "isTemplate"); A.BuiltValueNullFieldError_checkNotNull(entities, _s12_, "entities"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s12_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s12_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s12_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s12_, "id"); return new A._$DesignEntity($name, design, isCustom, isFree, isTemplate, entities, 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 = _._design_model$_entityId = _._design_model$_entityType = _._design_model$_$v = null; }, _$DesignEntity: function _$DesignEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.name = t0; _.design = t1; _.isCustom = t2; _.isFree = t3; _.isTemplate = t4; _.entities = t5; _.isChanged = t6; _.createdAt = t7; _.updatedAt = t8; _.archivedAt = t9; _.isDeleted = t10; _.createdUserId = t11; _.assignedUserId = t12; _.id = t13; _._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 = _._entities = _._isTemplate = _._isFree = _._isCustom = _._design = _._design_model$_name = _._design_model$_$v = null; }, _DesignEntity_Object_BaseEntity: function _DesignEntity_Object_BaseEntity() { }, DocumentEntity_DocumentEntity(id) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$DocumentEntity$_(0, "", 0, "", null, "", 0, t1, false, false, false, true, "", null, null, "", 0, "", 0, "", 0); }, _$DocumentEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, data, hash, height, id, isChanged, isDefault, isDeleted, isPublic, $name, parentId, parentType, preview, size, type, updatedAt, url, width) { var _s14_ = "DocumentEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s14_, "name"); A.BuiltValueNullFieldError_checkNotNull(hash, _s14_, "hash"); A.BuiltValueNullFieldError_checkNotNull(type, _s14_, "type"); A.BuiltValueNullFieldError_checkNotNull(url, _s14_, "url"); A.BuiltValueNullFieldError_checkNotNull(width, _s14_, "width"); A.BuiltValueNullFieldError_checkNotNull(height, _s14_, "height"); A.BuiltValueNullFieldError_checkNotNull(size, _s14_, "size"); A.BuiltValueNullFieldError_checkNotNull(preview, _s14_, "preview"); A.BuiltValueNullFieldError_checkNotNull(isDefault, _s14_, "isDefault"); A.BuiltValueNullFieldError_checkNotNull(isPublic, _s14_, "isPublic"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s14_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s14_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s14_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s14_, "id"); return new A._$DocumentEntity($name, hash, type, url, width, height, size, preview, data, isDefault, isPublic, parentId, parentType, 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, t17, t18, t19, t20) { var _ = this; _.name = t0; _.hash = t1; _.type = t2; _.url = t3; _.width = t4; _.height = t5; _.size = t6; _.preview = t7; _.data = t8; _.isDefault = t9; _.isPublic = t10; _.parentId = t11; _.parentType = t12; _.isChanged = t13; _.createdAt = t14; _.updatedAt = t15; _.archivedAt = t16; _.isDeleted = t17; _.createdUserId = t18; _.assignedUserId = t19; _.id = t20; _._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 = _._parentType = _._parentId = _._isPublic = _._isDefault = _._document_model$_data = _._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() { }, EInvoiceFieldEntity: function EInvoiceFieldEntity() { }, EInvoiceElementEntity: function EInvoiceElementEntity() { }, _$EInvoiceFieldEntitySerializer: function _$EInvoiceFieldEntitySerializer() { }, _$EInvoiceElementEntitySerializer: function _$EInvoiceElementEntitySerializer() { }, _$EInvoiceFieldEntity: function _$EInvoiceFieldEntity(t0, t1, t2, t3) { var _ = this; _.type = t0; _.help = t1; _.choices = t2; _.elements = t3; _._e_invoice_model$__hashCode = null; }, EInvoiceFieldEntityBuilder: function EInvoiceFieldEntityBuilder() { var _ = this; _._e_invoice_model$_elements = _._choices = _._help = _._e_invoice_model$_type = _._e_invoice_model$_$v = null; }, _$EInvoiceElementEntity: function _$EInvoiceElementEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.name = t0; _.baseType = t1; _.resource = t2; _.minLength = t3; _.maxLength = t4; _.minOccurs = t5; _.maxOccurs = t6; _.pattern = t7; _.help = t8; _._e_invoice_model$__hashCode = null; }, EInvoiceElementEntityBuilder: function EInvoiceElementEntityBuilder() { var _ = this; _._help = _._e_invoice_model$_pattern = _._maxOccurs = _._minOccurs = _._maxLength = _._e_invoice_model$_minLength = _._resource = _._e_invoice_model$_baseType = _._e_invoice_model$_name = _._e_invoice_model$_$v = null; }, _$typeValueOf($name) { switch ($name) { case "dashboard": return B.EntityType_dashboard; case "reports": return B.EntityType_reports; case "settings": return B.EntityType_settings; case "taxRate": return B.EntityType_taxRate; case "companyGateway": return B.EntityType_companyGateway; case "invoice": return B.EntityType_invoice; case "recurringInvoice": return B.EntityType_recurringInvoice; case "quote": return B.EntityType_quote; case "product": return B.EntityType_product; case "client": return B.EntityType_client; case "task": return B.EntityType_task; case "project": return B.EntityType_project; case "expense": return B.EntityType_expense; case "expenseCategory": return B.EntityType_expenseCategory; case "vendor": return B.EntityType_vendor; case "credit": return B.EntityType_credit; case "payment": return B.EntityType_payment; case "group": return B.EntityType_group; case "user": return B.EntityType_user; case "company": return B.EntityType_company; case "gateway": return B.EntityType_gateway; case "gatewayToken": return B.EntityType_gatewayToken; case "invoiceItem": return B.EntityType_invoiceItem; case "design": return B.EntityType_design; case "schedule": return B.EntityType_schedule; case "transactionRule": return B.EntityType_transactionRule; case "transaction": return B.EntityType_transaction; case "bankAccount": return B.EntityType_bankAccount; case "recurringExpense": return B.EntityType_recurringExpense; case "recurringQuote": return B.EntityType_recurringQuote; case "paymentLink": return B.EntityType_paymentLink; case "webhook": return B.EntityType_webhook; case "token": return B.EntityType_token; case "paymentTerm": return B.EntityType_paymentTerm; case "contact": return B.EntityType_contact; case "vendorContact": return B.EntityType_vendorContact; case "country": return B.EntityType_country; case "currency": return B.EntityType_currency; case "language": return B.EntityType_language; case "industry": return B.EntityType_industry; case "size": return B.EntityType_size; case "paymentType": return B.EntityType_paymentType; case "taskStatus": return B.EntityType_taskStatus; case "document": return B.EntityType_document; case "timezone": return B.EntityType_timezone; case "dateFormat": return B.EntityType_dateFormat; case "font": return B.EntityType_font; case "purchaseOrder": return B.EntityType_purchaseOrder; case "location": return B.EntityType_location; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, _$valueOf1($name) { switch ($name) { case "active": return B.EntityState_active; case "archived": return B.EntityState_archived; case "deleted": return B.EntityState_deleted; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, _$templateValueOf($name) { switch ($name) { case "invoice": return B.EmailTemplate_invoice; case "quote": return B.EmailTemplate_quote; case "payment": return B.EmailTemplate_payment; case "payment_partial": return B.EmailTemplate_payment_partial; case "payment_failed": return B.EmailTemplate_payment_failed; case "credit": return B.EmailTemplate_credit; case "purchase_order": return B.EmailTemplate_purchase_order; case "statement": return B.EmailTemplate_statement; case "reminder1": return B.EmailTemplate_reminder1; case "reminder2": return B.EmailTemplate_reminder2; case "reminder3": return B.EmailTemplate_reminder3; case "reminder_endless": return B.EmailTemplate_reminder_endless; case "quote_reminder1": return B.EmailTemplate_quote_reminder1; case "custom1": return B.EmailTemplate_custom1; case "custom2": return B.EmailTemplate_custom2; case "custom3": return B.EmailTemplate_custom3; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, 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, t2, t3) { var _ = this; _.countActive = t0; _.countArchived = t1; _.total = t2; _.currencyId = t3; }, SelectableEntity: function SelectableEntity() { }, BaseEntity: function BaseEntity() { }, HasActivities: function HasActivities() { }, HasActivities_getActivities_closure: function HasActivities_getActivities_closure(t0, t1) { this.invoiceId = t0; this.typeId = t1; }, BelongsToClient: function BelongsToClient() { }, BelongsToVendor: function BelongsToVendor() { }, LoginResponse: function LoginResponse() { }, ActivityEntity: function ActivityEntity() { }, 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, t20, t21, t22, t23) { var _ = this; _.notes = t0; _.key = t1; _.activityTypeId = t2; _.clientId = t3; _.userId = t4; _.invoiceId = t5; _.recurringInvoiceId = t6; _.recurringExpenseId = t7; _.purchaseOrderId = t8; _.quoteId = t9; _.paymentId = t10; _.creditId = t11; _.updatedAt = t12; _.createdAt = t13; _.expenseId = t14; _.isSystem = t15; _.ip = t16; _.contactId = t17; _.taskId = t18; _.projectId = t19; _.vendorId = t20; _.vendorContactId = t21; _.tokenId = t22; _.history = t23; _._entities$__hashCode = null; }, ActivityEntityBuilder: function ActivityEntityBuilder() { var _ = this; _._entities$_history = _._tokenId = _._vendorContactId = _._entities$_vendorId = _._entities$_projectId = _._entities$_taskId = _._contactId = _._ip = _._entities$_isSystem = _._entities$_expenseId = _._entities$_createdAt = _._entities$_updatedAt = _._creditId = _._entities$_paymentId = _._quoteId = _._purchaseOrderId = _._entities$_recurringExpenseId = _._recurringInvoiceId = _._entities$_invoiceId = _._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; _._entities$_paymentId = _._creditId = _._entities$_invoiceId = _._entities$_createdAt = _._adjustment = _._entities$_balance = _._entities$_notes = _._entities$_$v = null; }, ExpenseCategoryEntity_ExpenseCategoryEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$ExpenseCategoryEntity$_(0, "", "", 0, "", t1, false, false, "", 0); }, _$ExpenseCategoryEntity$_(archivedAt, assignedUserId, color, createdAt, createdUserId, id, isChanged, isDeleted, $name, updatedAt) { var _s21_ = "ExpenseCategoryEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s21_, "name"); A.BuiltValueNullFieldError_checkNotNull(color, _s21_, "color"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s21_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s21_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s21_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s21_, "id"); return new A._$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() { }, ExpenseEntity_ExpenseEntity(client, entityType, id, project, state, user, vendor) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _null = null, t1 = state == null, company = t1 ? _null : state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company; if (id == null) { t2 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t2; t2 = "" + t2; } else t2 = id; t3 = entityType == null ? B.EntityType_expense : entityType; t4 = company == null; t5 = t4 ? _null : company.markExpensesInvoiceable; t6 = t4 ? _null : company.invoiceExpenseDocuments; t7 = A.convertDateTimeToSqlDate(_null); t8 = t4 ? _null : company.markExpensesPaid; t8 = t8 === true ? A.convertDateTimeToSqlDate(_null) : ""; if ((t4 ? _null : company.markExpensesPaid) === true) { t9 = t4 ? _null : company.settings.defaultExpensePaymentTypeId; if (t9 == null) t9 = ""; } else t9 = ""; t10 = vendor == null; if (!t10 && vendor.currencyId.length !== 0) t11 = vendor.currencyId; else { if (t1) t11 = _null; else { t11 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.currencyId; if (t11 == null) t11 = "1"; } if (t11 == null) t11 = "1"; } t12 = client == null; if (!t12 && client.get$hasCurrency()) { t1 = client.settings.currencyId; t1.toString; } else { if (t1) t1 = _null; else { t1 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.currencyId; if (t1 == null) t1 = "1"; } if (t1 == null) t1 = "1"; } t13 = A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity); t14 = t4 ? _null : company.expenseInclusiveTaxes; t4 = t4 ? _null : company.calculateExpenseTaxByAmount; t15 = project == null; t16 = t15 ? _null : project.clientId; if (t16 == null) t12 = t12 ? _null : client.id; else t12 = t16; t10 = t10 ? _null : vendor.id; t15 = t15 ? _null : project.id; t16 = user == null ? _null : user.id; if (t16 == null) t16 = ""; return A._$ExpenseEntity$_(0, 0, t16, "", t4 === true, "", t12, 0, "", t11, "", "", "", "", t7, t13, t3, 1, "5", t2, t1, t6 === true, "", false, false, "", _null, A.convertDateTimeToSqlDate(_null), "", t8, t9, "", t15, "", A.BuiltList_BuiltList$from(B.List_empty, type$.ExpenseScheduleEntity), "", -1, t5 === true, _null, 0, 0, 0, "", "", "", 0, 0, 0, "", "", 0, t14 === true, t10); }, ExpenseEntity__initializeBuilder(builder) { builder.get$_expense_model$_$this()._expense_model$_entityType = B.EntityType_expense; builder.get$_expense_model$_$this()._expense_model$_frequencyId = ""; builder.get$_expense_model$_$this()._expense_model$_lastSentDate = ""; builder.get$_expense_model$_$this()._expense_model$_nextSendDate = ""; builder.get$_expense_model$_$this()._recurringExpenseId = ""; builder.get$_expense_model$_$this()._expense_model$_remainingCycles = -1; return builder; }, _$ExpenseEntity$_(amount, archivedAt, assignedUserId, bankId, calculateTaxByAmount, categoryId, clientId, createdAt, createdUserId, currencyId, customValue1, customValue2, customValue3, customValue4, date, documents, entityType, exchangeRate, frequencyId, id, invoiceCurrencyId, invoiceDocuments, invoiceId, isChanged, isDeleted, lastSentDate, loadedAt, nextSendDate, number, paymentDate, paymentTypeId, privateNotes, projectId, publicNotes, recurringDates, recurringExpenseId, remainingCycles, shouldBeInvoiced, statusId, taxAmount1, taxAmount2, taxAmount3, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, transactionId, transactionReference, updatedAt, usesInclusiveTaxes, vendorId) { var _s13_ = "ExpenseEntity"; A.BuiltValueNullFieldError_checkNotNull(privateNotes, _s13_, "privateNotes"); A.BuiltValueNullFieldError_checkNotNull(publicNotes, _s13_, "publicNotes"); A.BuiltValueNullFieldError_checkNotNull(shouldBeInvoiced, _s13_, "shouldBeInvoiced"); A.BuiltValueNullFieldError_checkNotNull(invoiceDocuments, _s13_, "invoiceDocuments"); A.BuiltValueNullFieldError_checkNotNull(transactionId, _s13_, "transactionId"); A.BuiltValueNullFieldError_checkNotNull(transactionReference, _s13_, "transactionReference"); A.BuiltValueNullFieldError_checkNotNull(bankId, _s13_, "bankId"); A.BuiltValueNullFieldError_checkNotNull(currencyId, _s13_, "currencyId"); A.BuiltValueNullFieldError_checkNotNull(categoryId, _s13_, "categoryId"); A.BuiltValueNullFieldError_checkNotNull(amount, _s13_, "amount"); A.BuiltValueNullFieldError_checkNotNull(paymentDate, _s13_, "paymentDate"); A.BuiltValueNullFieldError_checkNotNull(exchangeRate, _s13_, "exchangeRate"); A.BuiltValueNullFieldError_checkNotNull(invoiceCurrencyId, _s13_, "invoiceCurrencyId"); A.BuiltValueNullFieldError_checkNotNull(paymentTypeId, _s13_, "paymentTypeId"); A.BuiltValueNullFieldError_checkNotNull(taxName1, _s13_, "taxName1"); A.BuiltValueNullFieldError_checkNotNull(taxName2, _s13_, "taxName2"); A.BuiltValueNullFieldError_checkNotNull(taxRate1, _s13_, "taxRate1"); A.BuiltValueNullFieldError_checkNotNull(taxRate2, _s13_, "taxRate2"); A.BuiltValueNullFieldError_checkNotNull(taxName3, _s13_, "taxName3"); A.BuiltValueNullFieldError_checkNotNull(taxRate3, _s13_, "taxRate3"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s13_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s13_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s13_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s13_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(taxAmount1, _s13_, "taxAmount1"); A.BuiltValueNullFieldError_checkNotNull(taxAmount2, _s13_, "taxAmount2"); A.BuiltValueNullFieldError_checkNotNull(taxAmount3, _s13_, "taxAmount3"); A.BuiltValueNullFieldError_checkNotNull(usesInclusiveTaxes, _s13_, "usesInclusiveTaxes"); A.BuiltValueNullFieldError_checkNotNull(documents, _s13_, "documents"); A.BuiltValueNullFieldError_checkNotNull(number, _s13_, "number"); A.BuiltValueNullFieldError_checkNotNull(recurringExpenseId, _s13_, "recurringExpenseId"); A.BuiltValueNullFieldError_checkNotNull(frequencyId, _s13_, "frequencyId"); A.BuiltValueNullFieldError_checkNotNull(lastSentDate, _s13_, "lastSentDate"); A.BuiltValueNullFieldError_checkNotNull(nextSendDate, _s13_, "nextSendDate"); A.BuiltValueNullFieldError_checkNotNull(remainingCycles, _s13_, "remainingCycles"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$ExpenseEntity(privateNotes, publicNotes, shouldBeInvoiced, invoiceDocuments, transactionId, transactionReference, bankId, currencyId, categoryId, amount, date, paymentDate, exchangeRate, invoiceCurrencyId, paymentTypeId, taxName1, taxName2, taxRate1, taxRate2, taxName3, taxRate3, clientId, invoiceId, vendorId, projectId, statusId, customValue1, customValue2, customValue3, customValue4, taxAmount1, taxAmount2, taxAmount3, usesInclusiveTaxes, calculateTaxByAmount, documents, number, recurringExpenseId, frequencyId, lastSentDate, nextSendDate, remainingCycles, recurringDates, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, _$ExpenseStatusEntity$_(id, $name) { var _s19_ = "ExpenseStatusEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s19_, "id"); A.BuiltValueNullFieldError_checkNotNull($name, _s19_, "name"); return new A._$ExpenseStatusEntity(id, $name); }, ExpenseListResponse: function ExpenseListResponse() { }, ExpenseItemResponse: function ExpenseItemResponse() { }, ExpenseEntity: function ExpenseEntity() { }, ExpenseEntity_clone_closure: function ExpenseEntity_clone_closure() { }, ExpenseScheduleEntity: function ExpenseScheduleEntity() { }, ExpenseStatusEntity: function ExpenseStatusEntity() { }, _$ExpenseListResponseSerializer: function _$ExpenseListResponseSerializer() { }, _$ExpenseItemResponseSerializer: function _$ExpenseItemResponseSerializer() { }, _$ExpenseEntitySerializer: function _$ExpenseEntitySerializer() { }, _$ExpenseScheduleEntitySerializer: function _$ExpenseScheduleEntitySerializer() { }, _$ExpenseStatusEntitySerializer: function _$ExpenseStatusEntitySerializer() { }, _$ExpenseListResponse: function _$ExpenseListResponse(t0) { this.data = t0; this._expense_model$__hashCode = null; }, ExpenseListResponseBuilder: function ExpenseListResponseBuilder() { this._expense_model$_data = this._expense_model$_$v = null; }, _$ExpenseItemResponse: function _$ExpenseItemResponse(t0) { this.data = t0; this._expense_model$__hashCode = null; }, ExpenseItemResponseBuilder: function ExpenseItemResponseBuilder() { this._expense_model$_data = this._expense_model$_$v = null; }, _$ExpenseEntity: function _$ExpenseEntity(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) { var _ = this; _.privateNotes = t0; _.publicNotes = t1; _.shouldBeInvoiced = t2; _.invoiceDocuments = t3; _.transactionId = t4; _.transactionReference = t5; _.bankId = t6; _.currencyId = t7; _.categoryId = t8; _.amount = t9; _.date = t10; _.paymentDate = t11; _.exchangeRate = t12; _.invoiceCurrencyId = t13; _.paymentTypeId = t14; _.taxName1 = t15; _.taxName2 = t16; _.taxRate1 = t17; _.taxRate2 = t18; _.taxName3 = t19; _.taxRate3 = t20; _.clientId = t21; _.invoiceId = t22; _.vendorId = t23; _.projectId = t24; _.statusId = t25; _.customValue1 = t26; _.customValue2 = t27; _.customValue3 = t28; _.customValue4 = t29; _.taxAmount1 = t30; _.taxAmount2 = t31; _.taxAmount3 = t32; _.usesInclusiveTaxes = t33; _.calculateTaxByAmount = t34; _.documents = t35; _.number = t36; _.recurringExpenseId = t37; _.frequencyId = t38; _.lastSentDate = t39; _.nextSendDate = t40; _.remainingCycles = t41; _.recurringDates = t42; _.loadedAt = t43; _.isChanged = t44; _.createdAt = t45; _.updatedAt = t46; _.archivedAt = t47; _.isDeleted = t48; _.createdUserId = t49; _.assignedUserId = t50; _.entityType = t51; _.id = t52; _._expense_model$__hashCode = null; }, ExpenseEntityBuilder: function ExpenseEntityBuilder() { var _ = this; _._expense_model$_customValue3 = _._expense_model$_customValue2 = _._expense_model$_customValue1 = _._expense_model$_statusId = _._expense_model$_projectId = _._expense_model$_vendorId = _._expense_model$_invoiceId = _._expense_model$_clientId = _._expense_model$_taxRate3 = _._expense_model$_taxName3 = _._expense_model$_taxRate2 = _._expense_model$_taxRate1 = _._expense_model$_taxName2 = _._expense_model$_taxName1 = _._paymentTypeId = _._invoiceCurrencyId = _._expense_model$_exchangeRate = _._paymentDate = _._expense_model$_date = _._expense_model$_amount = _._categoryId = _._expense_model$_currencyId = _._bankId = _._expense_model$_transactionReference = _._expense_model$_transactionId = _._invoiceDocuments = _._shouldBeInvoiced = _._expense_model$_publicNotes = _._expense_model$_privateNotes = _._expense_model$_$v = null; _._expense_model$_id = _._expense_model$_entityType = _._expense_model$_assignedUserId = _._expense_model$_createdUserId = _._expense_model$_isDeleted = _._expense_model$_archivedAt = _._expense_model$_updatedAt = _._expense_model$_createdAt = _._expense_model$_isChanged = _._expense_model$_loadedAt = _._expense_model$_recurringDates = _._expense_model$_remainingCycles = _._expense_model$_nextSendDate = _._expense_model$_lastSentDate = _._expense_model$_frequencyId = _._recurringExpenseId = _._expense_model$_number = _._expense_model$_documents = _._calculateTaxByAmount = _._expense_model$_usesInclusiveTaxes = _._taxAmount3 = _._taxAmount2 = _._taxAmount1 = _._expense_model$_customValue4 = null; }, _$ExpenseScheduleEntity: function _$ExpenseScheduleEntity(t0) { this.sendDate = t0; this._expense_model$__hashCode = null; }, ExpenseScheduleEntityBuilder: function ExpenseScheduleEntityBuilder() { this._sendDate = this._expense_model$_$v = null; }, _$ExpenseStatusEntity: function _$ExpenseStatusEntity(t0, t1) { this.id = t0; this.name = t1; this._expense_model$__hashCode = null; }, ExpenseStatusEntityBuilder: function ExpenseStatusEntityBuilder() { this._expense_model$_name = this._expense_model$_id = this._expense_model$_$v = null; }, _ExpenseEntity_Object_BaseEntity: function _ExpenseEntity_Object_BaseEntity() { }, _ExpenseEntity_Object_BaseEntity_SelectableEntity: function _ExpenseEntity_Object_BaseEntity_SelectableEntity() { }, _ExpenseEntity_Object_BaseEntity_SelectableEntity_BelongsToClient: function _ExpenseEntity_Object_BaseEntity_SelectableEntity_BelongsToClient() { }, _ExpenseStatusEntity_Object_EntityStatus: function _ExpenseStatusEntity_Object_EntityStatus() { }, _ExpenseStatusEntity_Object_EntityStatus_SelectableEntity: function _ExpenseStatusEntity_Object_EntityStatus_SelectableEntity() { }, 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 = _._gateway_token_model$_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() { }, GroupEntity_GroupEntity(id, state) { var t1, t2; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = A.SettingsEntity_SettingsEntity(null, null, null); return A._$GroupEntity$_(0, "", 0, "", A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), t1, false, false, "", t2, 0); }, GroupEntity__initializeBuilder(builder) { builder.get$documents().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity)); return builder; }, _$GroupEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, documents, id, isChanged, isDeleted, $name, settings, updatedAt) { var _s11_ = "GroupEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s11_, "name"); A.BuiltValueNullFieldError_checkNotNull(settings, _s11_, "settings"); A.BuiltValueNullFieldError_checkNotNull(documents, _s11_, "documents"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s11_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s11_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s11_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s11_, "id"); return new A._$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 = _._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() { }, _$HealthCheckQueueResponse$_(failed, lastError, pending) { var _s24_ = "HealthCheckQueueResponse"; A.BuiltValueNullFieldError_checkNotNull(failed, _s24_, "failed"); A.BuiltValueNullFieldError_checkNotNull(pending, _s24_, "pending"); A.BuiltValueNullFieldError_checkNotNull(lastError, _s24_, "lastError"); return new A._$HealthCheckQueueResponse(failed, pending, lastError); }, HealthCheckResponse: function HealthCheckResponse() { }, HealthCheckPHPResponse: function HealthCheckPHPResponse() { }, HealthCheckQueueResponse: function HealthCheckQueueResponse() { }, HealthCheckLastErrorResponse: function HealthCheckLastErrorResponse() { }, _$HealthCheckResponseSerializer: function _$HealthCheckResponseSerializer() { }, _$HealthCheckPHPResponseSerializer: function _$HealthCheckPHPResponseSerializer() { }, _$HealthCheckQueueResponseSerializer: function _$HealthCheckQueueResponseSerializer() { }, _$HealthCheckLastErrorResponseSerializer: function _$HealthCheckLastErrorResponseSerializer() { }, _$HealthCheckResponse: function _$HealthCheckResponse(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.systemHealth = t0; _.phpVersion = t1; _.queueData = t2; _.envWritable = t3; _.dbCheck = t4; _.cacheEnabled = t5; _.phantomEnabled = t6; _.openBasedir = t7; _.filePermissions = t8; _.execEnabled = t9; _.emailDriver = t10; _.pendingJobs = t11; _.pdfEngine = t12; _.trailingSlash = t13; _.exchangeRateApiNotConfigured = t14; _.pendingMigration = t15; _.queue = t16; _._health_check_model$__hashCode = null; }, HealthCheckResponseBuilder: function HealthCheckResponseBuilder() { var _ = this; _._health_check_model$_queue = _._pendingMigration = _._exchangeRateApiNotConfigured = _._trailingSlash = _._pdfEngine = _._pendingJobs = _._emailDriver = _._execEnabled = _._filePermissions = _._openBasedir = _._phantomEnabled = _._cacheEnabled = _._dbCheck = _._envWritable = _._queueData = _._phpVersion = _._systemHealth = _._health_check_model$_$v = null; }, _$HealthCheckPHPResponse: function _$HealthCheckPHPResponse(t0, t1, t2, t3, t4) { var _ = this; _.minimumPHPVersion = t0; _.currentPHPVersion = t1; _.currentPHPCLIVersion = t2; _.isOkay = t3; _.memoryLimit = t4; _._health_check_model$__hashCode = null; }, HealthCheckPHPResponseBuilder: function HealthCheckPHPResponseBuilder() { var _ = this; _._memoryLimit = _._isOkay = _._currentPHPCLIVersion = _._currentPHPVersion = _._minimumPHPVersion = _._health_check_model$_$v = null; }, _$HealthCheckQueueResponse: function _$HealthCheckQueueResponse(t0, t1, t2) { var _ = this; _.failed = t0; _.pending = t1; _.lastError = t2; _._health_check_model$__hashCode = null; }, HealthCheckQueueResponseBuilder: function HealthCheckQueueResponseBuilder() { var _ = this; _._health_check_model$_lastError = _._health_check_model$_pending = _._failed = _._health_check_model$_$v = null; }, _$HealthCheckLastErrorResponse: function _$HealthCheckLastErrorResponse(t0) { this.lastError = t0; this._health_check_model$__hashCode = null; }, HealthCheckLastErrorResponseBuilder: function HealthCheckLastErrorResponseBuilder() { this._health_check_model$_lastError = this._health_check_model$_$v = null; }, _$ImportRequest$_(bankAccountId, columnMap, hash, importType, skipHeader) { var _s13_ = "ImportRequest"; A.BuiltValueNullFieldError_checkNotNull(hash, _s13_, "hash"); A.BuiltValueNullFieldError_checkNotNull(importType, _s13_, "importType"); A.BuiltValueNullFieldError_checkNotNull(bankAccountId, _s13_, "bankAccountId"); A.BuiltValueNullFieldError_checkNotNull(skipHeader, _s13_, "skipHeader"); A.BuiltValueNullFieldError_checkNotNull(columnMap, _s13_, "columnMap"); return new A._$ImportRequest(hash, importType, bankAccountId, skipHeader, columnMap); }, PreImportResponse: function PreImportResponse() { }, PreImportResponseEntityDetails: function PreImportResponseEntityDetails() { }, ImportRequest: function ImportRequest() { }, ImportRequestMapping: function ImportRequestMapping() { }, ImportType: function ImportType(t0) { this.name = t0; }, ExportType: function ExportType(t0) { this.name = t0; }, _$PreImportResponseSerializer: function _$PreImportResponseSerializer() { }, _$PreImportResponseEntityDetailsSerializer: function _$PreImportResponseEntityDetailsSerializer() { }, _$ImportRequestSerializer: function _$ImportRequestSerializer() { }, _$ImportRequestMappingSerializer: function _$ImportRequestMappingSerializer() { }, _$PreImportResponse: function _$PreImportResponse(t0, t1) { this.hash = t0; this.mappings = t1; this._import_model$__hashCode = null; }, PreImportResponseBuilder: function PreImportResponseBuilder() { this._mappings = this._import_model$_hash = this._import_model$_$v = null; }, _$PreImportResponseEntityDetails: function _$PreImportResponseEntityDetails(t0, t1) { this.available = t0; this.headers = t1; this._import_model$__hashCode = null; }, PreImportResponseEntityDetailsBuilder: function PreImportResponseEntityDetailsBuilder() { this._import_model$_headers = this._available = this._import_model$_$v = null; }, _$ImportRequest: function _$ImportRequest(t0, t1, t2, t3, t4) { var _ = this; _.hash = t0; _.importType = t1; _.bankAccountId = t2; _.skipHeader = t3; _.columnMap = t4; _._import_model$__hashCode = null; }, ImportRequestBuilder: function ImportRequestBuilder() { var _ = this; _._columnMap = _._skipHeader = _._import_model$_bankAccountId = _._importType = _._import_model$_hash = _._import_model$_$v = null; }, _$ImportRequestMapping: function _$ImportRequestMapping(t0) { this.mapping = t0; this._import_model$__hashCode = null; }, ImportRequestMappingBuilder: function ImportRequestMappingBuilder() { this._import_model$_mapping = this._import_model$_$v = null; }, InvoiceEntity_InvoiceEntity(client, entityType, id, state, user, vendor) { var t2, exchangeRate, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, _null = null, t1 = state == null, company = t1 ? _null : state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company, settings = A.getClientSettings(state, client); if (!t1) { t1 = client == null ? _null : client.settings.currencyId; t1 = (t1 == null ? "" : t1).length !== 0; } else t1 = false; if (t1) { t1 = state.staticState; t2 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.currencyId; if (t2 == null) t2 = "1"; exchangeRate = A.getExchangeRate(t1.currencyMap, t2, client.settings.currencyId); } else exchangeRate = 1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = entityType == null; t3 = t2 ? B.EntityType_invoice : entityType; t4 = client == null; t5 = t4 ? _null : client.id; if (t5 == null) t5 = ""; t6 = vendor == null; t7 = t6 ? _null : vendor.id; if (t7 == null) t7 = ""; t8 = A.convertDateTimeToSqlDate(_null); t9 = company == null; t10 = t9 ? _null : company.numberOfInvoiceTaxRates; if ((t10 == null ? 0 : t10) >= 1) { t10 = settings.defaultTaxName1; if (t10 == null) t10 = ""; } else t10 = ""; t11 = t9 ? _null : company.numberOfInvoiceTaxRates; if ((t11 == null ? 0 : t11) >= 1) { t11 = settings.defaultTaxRate1; if (t11 == null) t11 = 0; } else t11 = 0; t12 = t9 ? _null : company.numberOfInvoiceTaxRates; if ((t12 == null ? 0 : t12) >= 2) { t12 = settings.defaultTaxName2; if (t12 == null) t12 = ""; } else t12 = ""; t13 = t9 ? _null : company.numberOfInvoiceTaxRates; if ((t13 == null ? 0 : t13) >= 2) { t13 = settings.defaultTaxRate2; if (t13 == null) t13 = 0; } else t13 = 0; t14 = t9 ? _null : company.numberOfInvoiceTaxRates; if ((t14 == null ? 0 : t14) >= 3) { t14 = settings.defaultTaxName3; if (t14 == null) t14 = ""; } else t14 = ""; t15 = t9 ? _null : company.numberOfInvoiceTaxRates; if ((t15 == null ? 0 : t15) >= 3) { t15 = settings.defaultTaxRate3; if (t15 == null) t15 = 0; } else t15 = 0; if ((t2 ? B.EntityType_invoice : entityType) === B.EntityType_invoice) t2 = settings.autoBillStandardInvoices === true; else t2 = false; t16 = t9 ? _null : company.enableCustomSurchargeTaxes1; t17 = t9 ? _null : company.enableCustomSurchargeTaxes2; t18 = t9 ? _null : company.enableCustomSurchargeTaxes3; t19 = t9 ? _null : company.enableCustomSurchargeTaxes4; t20 = A.BuiltList_BuiltList$from(B.List_empty, type$.InvoiceScheduleEntity); t21 = A.BuiltList_BuiltList$from(B.List_empty, type$.InvoiceItemEntity); t9 = t9 ? _null : company.settings.enableInclusiveTaxes; t22 = A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity); t23 = A.BuiltList_BuiltList$from(B.List_empty, type$.ActivityEntity); if (!t4) { t4 = client.get$emailContacts(); t6 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,InvitationEntity>"); t6 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(t4, new A.InvoiceEntity_InvoiceEntity_closure(), t6), true, t6._eval$1("ListIterable.E")), type$.InvitationEntity); t4 = t6; } else { t4 = type$.InvitationEntity; if (!t6) { t6 = vendor.get$emailContacts(); t24 = A._arrayInstanceType(t6)._eval$1("MappedListIterable<1,InvitationEntity>"); t4 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(t6, new A.InvoiceEntity_InvoiceEntity_closure0(), t24), true, t24._eval$1("ListIterable.E")), t4); } else t4 = A.BuiltList_BuiltList$from(A._setArrayType([A.InvitationEntity_InvitationEntity(_null, _null)], type$.JSArray_InvitationEntity), t4); } t6 = user == null ? _null : user.id; if (t6 == null) t6 = ""; return A._$InvoiceEntity$_(t23, 0, 0, t6, _null, t2, 0, t5, 0, "", 0, 0, 0, 0, t16 === true, t17 === true, t18 === true, t19 === true, "", "", "", "", t8, "", 0, t22, "", "terms", t3, exchangeRate, "", "", "5", t1, _null, t4, "", false, false, false, "", t21, 0, "", A.convertDateTimeToSqlDate(_null), "", "", 0, 0, "", "", "", "", "", t20, _null, -1, "", "", "", "", false, false, "1", "", 0, A.TaxDataEntity_TaxDataEntity(), t10, t12, t14, t11, t13, t15, "", 0, t9 === true, t7); }, InvoiceEntity__initializeBuilder(builder) { var t1, t2; builder.get$activities().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.ActivityEntity)); builder.get$_invoice_model$_$this()._invoice_model$_paidToDate = 0; builder.get$_invoice_model$_$this()._projectId = ""; builder.get$_invoice_model$_$this()._expenseId = ""; builder.get$_invoice_model$_$this()._vendorId = ""; builder.get$_invoice_model$_$this()._saveDefaultTerms = false; builder.get$_invoice_model$_$this()._saveDefaultFooter = false; builder.get$_invoice_model$_$this()._autoBillEnabled = false; builder.get$_invoice_model$_$this()._nextSendDatetime = ""; t1 = builder.get$taxData(); t2 = A.TaxDataEntity_TaxDataEntity(); A.ArgumentError_checkNotNull(t2, "other"); t1._tax_model$_$v = t2; builder.get$_invoice_model$_$this()._subscriptionId = ""; builder.get$_invoice_model$_$this()._locationId = ""; return builder; }, InvoiceItemEntity_InvoiceItemEntity(productKey, typeId) { var company, t2, t3, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); company = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.company; t1 = productKey == null ? "" : productKey; t2 = company.defaultQuantity || !company.enableProductQuantity ? 1 : 0; t3 = typeId == null ? "1" : typeId; return A._$InvoiceItemEntity$_(0, 1000 * Date.now(), "", "", "", "", 0, null, "", 0, t1, t2, null, "", "", "", "", 0, 0, 0, t3); }, InvoiceItemEntity__initializeBuilder(builder) { builder.get$_invoice_model$_$this()._productCost = 0; builder.get$_invoice_model$_$this()._invoice_model$_taxCategoryId = ""; return builder; }, InvitationEntity_InvitationEntity(clientContactId, vendorContactId) { var t2, t3, t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t2 = clientContactId == null ? "" : clientContactId; t3 = vendorContactId == null ? "" : vendorContactId; return A._$InvitationEntity$_(0, null, t2, 0, null, "", "", null, "" + t1, false, false, "", "", "", "", "", 0, t3, ""); }, _$InvoiceEntity$_(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, expenseId, footer, frequencyId, id, idempotencyKey, invitations, invoiceId, isAmountDiscount, isChanged, isDeleted, lastSentDate, lineItems, loadedAt, locationId, nextSendDate, nextSendDatetime, number, paidToDate, partial, partialDueDate, poNumber, privateNotes, projectId, publicNotes, recurringDates, recurringId, remainingCycles, reminder1Sent, reminder2Sent, reminder3Sent, reminderLastSent, saveDefaultFooter, saveDefaultTerms, statusId, subscriptionId, taxAmount, taxData, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, terms, updatedAt, usesInclusiveTaxes, vendorId) { var _s13_ = "InvoiceEntity"; A.BuiltValueNullFieldError_checkNotNull(amount, _s13_, "amount"); A.BuiltValueNullFieldError_checkNotNull(balance, _s13_, "balance"); A.BuiltValueNullFieldError_checkNotNull(paidToDate, _s13_, "paidToDate"); A.BuiltValueNullFieldError_checkNotNull(clientId, _s13_, "clientId"); A.BuiltValueNullFieldError_checkNotNull(projectId, _s13_, "projectId"); A.BuiltValueNullFieldError_checkNotNull(expenseId, _s13_, "expenseId"); A.BuiltValueNullFieldError_checkNotNull(vendorId, _s13_, "vendorId"); A.BuiltValueNullFieldError_checkNotNull(subscriptionId, _s13_, "subscriptionId"); A.BuiltValueNullFieldError_checkNotNull(statusId, _s13_, "statusId"); A.BuiltValueNullFieldError_checkNotNull(number, _s13_, "number"); A.BuiltValueNullFieldError_checkNotNull(discount, _s13_, "discount"); A.BuiltValueNullFieldError_checkNotNull(poNumber, _s13_, "poNumber"); A.BuiltValueNullFieldError_checkNotNull(date, _s13_, "date"); A.BuiltValueNullFieldError_checkNotNull(dueDate, _s13_, "dueDate"); A.BuiltValueNullFieldError_checkNotNull(publicNotes, _s13_, "publicNotes"); A.BuiltValueNullFieldError_checkNotNull(privateNotes, _s13_, "privateNotes"); A.BuiltValueNullFieldError_checkNotNull(terms, _s13_, "terms"); A.BuiltValueNullFieldError_checkNotNull(footer, _s13_, "footer"); A.BuiltValueNullFieldError_checkNotNull(designId, _s13_, "designId"); A.BuiltValueNullFieldError_checkNotNull(usesInclusiveTaxes, _s13_, "usesInclusiveTaxes"); A.BuiltValueNullFieldError_checkNotNull(taxName1, _s13_, "taxName1"); A.BuiltValueNullFieldError_checkNotNull(taxRate1, _s13_, "taxRate1"); A.BuiltValueNullFieldError_checkNotNull(taxName2, _s13_, "taxName2"); A.BuiltValueNullFieldError_checkNotNull(taxRate2, _s13_, "taxRate2"); A.BuiltValueNullFieldError_checkNotNull(taxName3, _s13_, "taxName3"); A.BuiltValueNullFieldError_checkNotNull(taxRate3, _s13_, "taxRate3"); A.BuiltValueNullFieldError_checkNotNull(isAmountDiscount, _s13_, "isAmountDiscount"); A.BuiltValueNullFieldError_checkNotNull(partial, _s13_, "partial"); A.BuiltValueNullFieldError_checkNotNull(taxAmount, _s13_, "taxAmount"); A.BuiltValueNullFieldError_checkNotNull(partialDueDate, _s13_, "partialDueDate"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s13_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s13_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s13_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s13_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(customSurcharge1, _s13_, "customSurcharge1"); A.BuiltValueNullFieldError_checkNotNull(customSurcharge2, _s13_, "customSurcharge2"); A.BuiltValueNullFieldError_checkNotNull(customSurcharge3, _s13_, "customSurcharge3"); A.BuiltValueNullFieldError_checkNotNull(customSurcharge4, _s13_, "customSurcharge4"); A.BuiltValueNullFieldError_checkNotNull(customTaxes1, _s13_, "customTaxes1"); A.BuiltValueNullFieldError_checkNotNull(customTaxes2, _s13_, "customTaxes2"); A.BuiltValueNullFieldError_checkNotNull(customTaxes3, _s13_, "customTaxes3"); A.BuiltValueNullFieldError_checkNotNull(customTaxes4, _s13_, "customTaxes4"); A.BuiltValueNullFieldError_checkNotNull(exchangeRate, _s13_, "exchangeRate"); A.BuiltValueNullFieldError_checkNotNull(lastSentDate, _s13_, "lastSentDate"); A.BuiltValueNullFieldError_checkNotNull(nextSendDate, _s13_, "nextSendDate"); A.BuiltValueNullFieldError_checkNotNull(nextSendDatetime, _s13_, "nextSendDatetime"); A.BuiltValueNullFieldError_checkNotNull(autoBillEnabled, _s13_, "autoBillEnabled"); A.BuiltValueNullFieldError_checkNotNull(lineItems, _s13_, "lineItems"); A.BuiltValueNullFieldError_checkNotNull(invitations, _s13_, "invitations"); A.BuiltValueNullFieldError_checkNotNull(documents, _s13_, "documents"); A.BuiltValueNullFieldError_checkNotNull(activities, _s13_, "activities"); A.BuiltValueNullFieldError_checkNotNull(saveDefaultTerms, _s13_, "saveDefaultTerms"); A.BuiltValueNullFieldError_checkNotNull(saveDefaultFooter, _s13_, "saveDefaultFooter"); A.BuiltValueNullFieldError_checkNotNull(taxData, _s13_, "taxData"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$InvoiceEntity(idempotencyKey, amount, balance, paidToDate, clientId, projectId, expenseId, vendorId, 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, nextSendDatetime, remainingCycles, dueDateDays, invoiceId, recurringId, autoBillEnabled, recurringDates, lineItems, invitations, documents, activities, saveDefaultTerms, saveDefaultFooter, taxData, locationId, loadedAt, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, entityType, id); }, _$InvoiceItemEntity$_(cost, createdAt, customValue1, customValue2, customValue3, customValue4, discount, expenseId, notes, productCost, productKey, quantity, taskId, taxCategoryId, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, typeId) { var _s17_ = "InvoiceItemEntity"; A.BuiltValueNullFieldError_checkNotNull(productKey, _s17_, "productKey"); A.BuiltValueNullFieldError_checkNotNull(notes, _s17_, "notes"); A.BuiltValueNullFieldError_checkNotNull(cost, _s17_, "cost"); A.BuiltValueNullFieldError_checkNotNull(productCost, _s17_, "productCost"); A.BuiltValueNullFieldError_checkNotNull(quantity, _s17_, "quantity"); A.BuiltValueNullFieldError_checkNotNull(taxName1, _s17_, "taxName1"); A.BuiltValueNullFieldError_checkNotNull(taxRate1, _s17_, "taxRate1"); A.BuiltValueNullFieldError_checkNotNull(taxName2, _s17_, "taxName2"); A.BuiltValueNullFieldError_checkNotNull(taxRate2, _s17_, "taxRate2"); A.BuiltValueNullFieldError_checkNotNull(taxName3, _s17_, "taxName3"); A.BuiltValueNullFieldError_checkNotNull(taxRate3, _s17_, "taxRate3"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s17_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s17_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s17_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s17_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(discount, _s17_, "discount"); A.BuiltValueNullFieldError_checkNotNull(taxCategoryId, _s17_, "taxCategoryId"); return new A._$InvoiceItemEntity(productKey, notes, cost, productCost, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, typeId, customValue1, customValue2, customValue3, customValue4, discount, taskId, expenseId, createdAt, taxCategoryId); }, _$InvitationEntity$_(archivedAt, assignedUserId, clientContactId, createdAt, createdUserId, emailError, emailStatus, entityType, id, isChanged, isDeleted, key, link, messageId, openedDate, sentDate, updatedAt, vendorContactId, viewedDate) { var _s16_ = "InvitationEntity"; A.BuiltValueNullFieldError_checkNotNull(key, _s16_, "key"); A.BuiltValueNullFieldError_checkNotNull(link, _s16_, "link"); A.BuiltValueNullFieldError_checkNotNull(clientContactId, _s16_, "clientContactId"); A.BuiltValueNullFieldError_checkNotNull(vendorContactId, _s16_, "vendorContactId"); A.BuiltValueNullFieldError_checkNotNull(sentDate, _s16_, "sentDate"); A.BuiltValueNullFieldError_checkNotNull(viewedDate, _s16_, "viewedDate"); A.BuiltValueNullFieldError_checkNotNull(openedDate, _s16_, "openedDate"); A.BuiltValueNullFieldError_checkNotNull(emailStatus, _s16_, "emailStatus"); A.BuiltValueNullFieldError_checkNotNull(emailError, _s16_, "emailError"); A.BuiltValueNullFieldError_checkNotNull(messageId, _s16_, "messageId"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s16_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s16_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s16_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s16_, "id"); return new A._$InvitationEntity(key, link, clientContactId, vendorContactId, sentDate, viewedDate, openedDate, emailStatus, emailError, messageId, 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_InvoiceEntity_closure0: function InvoiceEntity_InvoiceEntity_closure0() { }, 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_recreateInvitations_closure0: function InvoiceEntity_recreateInvitations_closure0() { }, InvoiceEntity_recreateInvitations_closure: function InvoiceEntity_recreateInvitations_closure(t0) { this.invitations = t0; }, InvoiceEntity_recreateInvitations_closure2: function InvoiceEntity_recreateInvitations_closure2() { }, InvoiceEntity_recreateInvitations_closure1: function InvoiceEntity_recreateInvitations_closure1(t0) { this.invitations = t0; }, 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_clone__closure1: function InvoiceEntity_clone__closure1() { }, InvoiceEntity_applyClient_closure: function InvoiceEntity_applyClient_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.exchangeRate = t1; _.state = t2; _.settings = t3; }, InvoiceEntity_balanceHistory_closure: function InvoiceEntity_balanceHistory_closure() { }, InvoiceEntity_balanceHistory_closure0: function InvoiceEntity_balanceHistory_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_isBounced_closure: function InvoiceEntity_isBounced_closure() { }, InvoiceEntity_getInvitationForClientContact_closure: function InvoiceEntity_getInvitationForClientContact_closure(t0) { this.contact = t0; }, InvoiceEntity_getInvitationForVendorContact_closure: function InvoiceEntity_getInvitationForVendorContact_closure(t0) { this.contact = t0; }, 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_clone_closure: function InvoiceItemEntity_clone_closure() { }, 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, t69, t70, t71, t72, t73, t74, t75, t76) { var _ = this; _.idempotencyKey = t0; _.amount = t1; _.balance = t2; _.paidToDate = t3; _.clientId = t4; _.projectId = t5; _.expenseId = t6; _.vendorId = t7; _.subscriptionId = t8; _.statusId = t9; _.number = t10; _.discount = t11; _.poNumber = t12; _.date = t13; _.dueDate = t14; _.publicNotes = t15; _.privateNotes = t16; _.terms = t17; _.footer = t18; _.designId = t19; _.usesInclusiveTaxes = t20; _.taxName1 = t21; _.taxRate1 = t22; _.taxName2 = t23; _.taxRate2 = t24; _.taxName3 = t25; _.taxRate3 = t26; _.isAmountDiscount = t27; _.partial = t28; _.taxAmount = t29; _.partialDueDate = t30; _.autoBill = t31; _.customValue1 = t32; _.customValue2 = t33; _.customValue3 = t34; _.customValue4 = t35; _.customSurcharge1 = t36; _.customSurcharge2 = t37; _.customSurcharge3 = t38; _.customSurcharge4 = t39; _.customTaxes1 = t40; _.customTaxes2 = t41; _.customTaxes3 = t42; _.customTaxes4 = t43; _.exchangeRate = t44; _.reminder1Sent = t45; _.reminder2Sent = t46; _.reminder3Sent = t47; _.reminderLastSent = t48; _.frequencyId = t49; _.lastSentDate = t50; _.nextSendDate = t51; _.nextSendDatetime = t52; _.remainingCycles = t53; _.dueDateDays = t54; _.invoiceId = t55; _.recurringId = t56; _.autoBillEnabled = t57; _.recurringDates = t58; _.lineItems = t59; _.invitations = t60; _.documents = t61; _.activities = t62; _.saveDefaultTerms = t63; _.saveDefaultFooter = t64; _.taxData = t65; _.locationId = t66; _.loadedAt = t67; _.isChanged = t68; _.createdAt = t69; _.updatedAt = t70; _.archivedAt = t71; _.isDeleted = t72; _.createdUserId = t73; _.assignedUserId = t74; _.entityType = t75; _.id = t76; _._invoice_model$__hashCode = null; }, InvoiceEntityBuilder: function InvoiceEntityBuilder() { var _ = this; _._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 = _._vendorId = _._expenseId = _._projectId = _._invoice_model$_clientId = _._invoice_model$_paidToDate = _._invoice_model$_balance = _._amount = _._idempotencyKey = _._invoice_model$_$v = null; _._recurringDates = _._autoBillEnabled = _._recurringId = _._invoiceId = _._dueDateDays = _._remainingCycles = _._nextSendDatetime = _._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 = _._invoice_model$_customValue1 = _._invoice_model$_autoBill = _._partialDueDate = _._taxAmount = 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 = _._locationId = _._invoice_model$_taxData = _._saveDefaultFooter = _._saveDefaultTerms = _._invoice_model$_activities = _._invoice_model$_documents = _._invitations = _._lineItems = null; }, _$InvoiceItemEntity: function _$InvoiceItemEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { 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; _.taxCategoryId = t20; _._invoice_model$__hashCode = null; }, InvoiceItemEntityBuilder: function InvoiceItemEntityBuilder() { var _ = this; _._invoice_model$_taxCategoryId = _._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, t16, t17, t18) { var _ = this; _.key = t0; _.link = t1; _.clientContactId = t2; _.vendorContactId = t3; _.sentDate = t4; _.viewedDate = t5; _.openedDate = t6; _.emailStatus = t7; _.emailError = t8; _.messageId = t9; _.isChanged = t10; _.createdAt = t11; _.updatedAt = t12; _.archivedAt = t13; _.isDeleted = t14; _.createdUserId = t15; _.assignedUserId = t16; _.entityType = t17; _.id = t18; _._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 = _._messageId = _._emailError = _._emailStatus = _._openedDate = _._viewedDate = _._sentDate = _._invoice_model$_vendorContactId = _._invoice_model$_clientContactId = _._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._invoice_model$_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() { }, _InvoiceEntity_Object_BaseEntity_SelectableEntity_CalculateInvoiceTotal_BelongsToClient_BelongsToVendor: function _InvoiceEntity_Object_BaseEntity_SelectableEntity_CalculateInvoiceTotal_BelongsToClient_BelongsToVendor() { }, CalculateInvoiceTotal: function CalculateInvoiceTotal() { }, CalculateInvoiceTotal_calculateTaxes_closure: function CalculateInvoiceTotal_calculateTaxes_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.precision = t2; _.useInclusiveTaxes = t3; _.map = t4; }, CalculateInvoiceTotal_calculateTaxes__closure: function CalculateInvoiceTotal_calculateTaxes__closure(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes__closure0: function CalculateInvoiceTotal_calculateTaxes__closure0(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes__closure1: function CalculateInvoiceTotal_calculateTaxes__closure1(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes__closure2: function CalculateInvoiceTotal_calculateTaxes__closure2(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes__closure3: function CalculateInvoiceTotal_calculateTaxes__closure3(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes__closure4: function CalculateInvoiceTotal_calculateTaxes__closure4(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes_closure0: function CalculateInvoiceTotal_calculateTaxes_closure0(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes_closure1: function CalculateInvoiceTotal_calculateTaxes_closure1(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes_closure2: function CalculateInvoiceTotal_calculateTaxes_closure2(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes_closure3: function CalculateInvoiceTotal_calculateTaxes_closure3(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes_closure4: function CalculateInvoiceTotal_calculateTaxes_closure4(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_calculateTaxes_closure5: function CalculateInvoiceTotal_calculateTaxes_closure5(t0) { this._box_0 = t0; }, CalculateInvoiceTotal_getTaxable_closure: function CalculateInvoiceTotal_getTaxable_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.precision = t2; }, CalculateInvoiceTotal_calculateTotal_closure: function CalculateInvoiceTotal_calculateTotal_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.precision = t2; }, CalculateInvoiceTotal_calculateSubtotal_closure: function CalculateInvoiceTotal_calculateSubtotal_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.precision = t2; }, EntityAction_newEntityType(entityType) { switch (entityType) { case B.EntityType_client: return B.EntityAction_newClient; case B.EntityType_invoice: return B.EntityAction_newInvoice; case B.EntityType_recurringInvoice: return B.EntityAction_newRecurringInvoice; case B.EntityType_quote: return B.EntityAction_newQuote; case B.EntityType_credit: return B.EntityAction_newCredit; case B.EntityType_payment: return B.EntityAction_newPayment; case B.EntityType_expense: return B.EntityAction_newExpense; case B.EntityType_recurringExpense: return B.EntityAction_newRecurringExpense; case B.EntityType_project: return B.EntityAction_newProject; case B.EntityType_task: return B.EntityAction_newTask; case B.EntityType_vendor: return B.EntityAction_newVendor; case B.EntityType_purchaseOrder: return B.EntityAction_newPurchaseOrder; case B.EntityType_transaction: return B.EntityAction_newTransaction; default: A.print("## ERROR: entityType " + entityType.toString$0(0) + " not defined in EntityAction.newEntityType"); return null; } }, EntityAction: function EntityAction(t0) { this.name = t0; }, PaymentEntity_PaymentEntity(client, id, state) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, _null = null, settings = A.getClientSettings(state, client); if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = A.getRandomString(); t3 = A.convertDateTimeToSqlDate(_null); t4 = settings.defaultPaymentTypeId; if (t4 == null) t4 = ""; t5 = client == null ? _null : client.id; if (t5 == null) t5 = ""; if (state == null) t6 = _null; else { t6 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.currencyId; if (t6 == null) t6 = "1"; } if (t6 == null) t6 = ""; t7 = type$.PaymentableEntity; t8 = A.BuiltList_BuiltList$from(B.List_empty, t7); t9 = A.BuiltList_BuiltList$from(B.List_empty, t7); t7 = A.BuiltList_BuiltList$from(B.List_empty, t7); return A._$PaymentEntity$_(0, 0, 0, "", "", t5, "", 0, "", t7, "", "", "", "", "", t3, A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), t6, 1, _null, "", t1, t2, "", t9, false, false, false, true, "", t8, "", "", 0, settings.clientManualPaymentNotification === true, "", "", "", t4, 0, ""); }, PaymentEntity__initializeBuilder(builder) { builder.get$_payment_model$_$this()._transactionId = ""; builder.get$_payment_model$_$this()._gatewayTypeId = ""; return builder; }, PaymentableEntity_PaymentableEntity(amount, creditId, invoiceId) { var t2, t3, t4, t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t2 = invoiceId == null ? "" : invoiceId; t3 = creditId == null ? "" : creditId; t4 = amount == null ? 0 : amount; return A._$PaymentableEntity$_(t4, null, t3, "" + t1, t2, null); }, _$PaymentEntity$_(amount, applied, archivedAt, assignedUserId, clientContactId, clientId, companyGatewayId, createdAt, createdUserId, credits, currencyId, customValue1, customValue2, customValue3, customValue4, date, documents, exchangeCurrencyId, exchangeRate, gatewayRefund, gatewayTypeId, id, idempotencyKey, invitationId, invoices, isApplying, isChanged, isDeleted, isManual, number, paymentables, privateNotes, projectId, refunded, sendEmail, statusId, transactionId, transactionReference, typeId, updatedAt, vendorId) { var _s13_ = "PaymentEntity"; A.BuiltValueNullFieldError_checkNotNull(amount, _s13_, "amount"); A.BuiltValueNullFieldError_checkNotNull(applied, _s13_, "applied"); A.BuiltValueNullFieldError_checkNotNull(refunded, _s13_, "refunded"); A.BuiltValueNullFieldError_checkNotNull(number, _s13_, "number"); A.BuiltValueNullFieldError_checkNotNull(clientId, _s13_, "clientId"); A.BuiltValueNullFieldError_checkNotNull(statusId, _s13_, "statusId"); A.BuiltValueNullFieldError_checkNotNull(transactionReference, _s13_, "transactionReference"); A.BuiltValueNullFieldError_checkNotNull(date, _s13_, "date"); A.BuiltValueNullFieldError_checkNotNull(typeId, _s13_, "typeId"); A.BuiltValueNullFieldError_checkNotNull(privateNotes, _s13_, "privateNotes"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s13_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s13_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s13_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s13_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(exchangeRate, _s13_, "exchangeRate"); A.BuiltValueNullFieldError_checkNotNull(exchangeCurrencyId, _s13_, "exchangeCurrencyId"); A.BuiltValueNullFieldError_checkNotNull(isManual, _s13_, "isManual"); A.BuiltValueNullFieldError_checkNotNull(projectId, _s13_, "projectId"); A.BuiltValueNullFieldError_checkNotNull(vendorId, _s13_, "vendorId"); A.BuiltValueNullFieldError_checkNotNull(invitationId, _s13_, "invitationId"); A.BuiltValueNullFieldError_checkNotNull(transactionId, _s13_, "transactionId"); A.BuiltValueNullFieldError_checkNotNull(clientContactId, _s13_, "clientContactId"); A.BuiltValueNullFieldError_checkNotNull(companyGatewayId, _s13_, "companyGatewayId"); A.BuiltValueNullFieldError_checkNotNull(currencyId, _s13_, "currencyId"); A.BuiltValueNullFieldError_checkNotNull(gatewayTypeId, _s13_, "gatewayTypeId"); A.BuiltValueNullFieldError_checkNotNull(paymentables, _s13_, "paymentables"); A.BuiltValueNullFieldError_checkNotNull(invoices, _s13_, "invoices"); A.BuiltValueNullFieldError_checkNotNull(credits, _s13_, "credits"); A.BuiltValueNullFieldError_checkNotNull(documents, _s13_, "documents"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$PaymentEntity(amount, applied, refunded, number, idempotencyKey, clientId, statusId, transactionReference, date, typeId, privateNotes, customValue1, customValue2, customValue3, customValue4, exchangeRate, exchangeCurrencyId, isManual, projectId, vendorId, invitationId, transactionId, clientContactId, companyGatewayId, currencyId, gatewayTypeId, isApplying, sendEmail, gatewayRefund, paymentables, invoices, credits, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$PaymentableEntity$_(amount, createdAt, creditId, id, invoiceId, updatedAt) { var _s17_ = "PaymentableEntity"; A.BuiltValueNullFieldError_checkNotNull(amount, _s17_, "amount"); A.BuiltValueNullFieldError_checkNotNull(id, _s17_, "id"); return new A._$PaymentableEntity(createdAt, updatedAt, invoiceId, creditId, amount, id); }, PaymentListResponse: function PaymentListResponse() { }, PaymentItemResponse: function PaymentItemResponse() { }, PaymentEntity: function PaymentEntity() { }, PaymentEntity_invoicePaymentables_closure: function PaymentEntity_invoicePaymentables_closure() { }, PaymentEntity_creditPaymentables_closure: function PaymentEntity_creditPaymentables_closure() { }, PaymentEntity_invoiceId_closure: function PaymentEntity_invoiceId_closure() { }, PaymentableEntity: function PaymentableEntity() { }, _$PaymentListResponseSerializer: function _$PaymentListResponseSerializer() { }, _$PaymentItemResponseSerializer: function _$PaymentItemResponseSerializer() { }, _$PaymentEntitySerializer: function _$PaymentEntitySerializer() { }, _$PaymentableEntitySerializer: function _$PaymentableEntitySerializer() { }, _$PaymentListResponse: function _$PaymentListResponse(t0) { this.data = t0; this._payment_model$__hashCode = null; }, PaymentListResponseBuilder: function PaymentListResponseBuilder() { this._payment_model$_data = this._payment_model$_$v = null; }, _$PaymentItemResponse: function _$PaymentItemResponse(t0) { this.data = t0; this._payment_model$__hashCode = null; }, PaymentItemResponseBuilder: function PaymentItemResponseBuilder() { this._payment_model$_data = this._payment_model$_$v = null; }, _$PaymentEntity: function _$PaymentEntity(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) { var _ = this; _.amount = t0; _.applied = t1; _.refunded = t2; _.number = t3; _.idempotencyKey = t4; _.clientId = t5; _.statusId = t6; _.transactionReference = t7; _.date = t8; _.typeId = t9; _.privateNotes = t10; _.customValue1 = t11; _.customValue2 = t12; _.customValue3 = t13; _.customValue4 = t14; _.exchangeRate = t15; _.exchangeCurrencyId = t16; _.isManual = t17; _.projectId = t18; _.vendorId = t19; _.invitationId = t20; _.transactionId = t21; _.clientContactId = t22; _.companyGatewayId = t23; _.currencyId = t24; _.gatewayTypeId = t25; _.isApplying = t26; _.sendEmail = t27; _.gatewayRefund = t28; _.paymentables = t29; _.invoices = t30; _.credits = t31; _.documents = t32; _.isChanged = t33; _.createdAt = t34; _.updatedAt = t35; _.archivedAt = t36; _.isDeleted = t37; _.createdUserId = t38; _.assignedUserId = t39; _.id = t40; _._payment_model$__hashCode = null; }, PaymentEntityBuilder: function PaymentEntityBuilder() { var _ = this; _._gatewayRefund = _._sendEmail = _._isApplying = _._gatewayTypeId = _._payment_model$_currencyId = _._companyGatewayId = _._clientContactId = _._transactionId = _._invitationId = _._payment_model$_vendorId = _._payment_model$_projectId = _._isManual = _._exchangeCurrencyId = _._payment_model$_exchangeRate = _._payment_model$_customValue4 = _._payment_model$_customValue3 = _._payment_model$_customValue2 = _._payment_model$_customValue1 = _._payment_model$_privateNotes = _._typeId = _._payment_model$_date = _._transactionReference = _._payment_model$_statusId = _._payment_model$_clientId = _._payment_model$_idempotencyKey = _._payment_model$_number = _._refunded = _._applied = _._payment_model$_amount = _._payment_model$_$v = null; _._payment_model$_id = _._payment_model$_assignedUserId = _._payment_model$_createdUserId = _._payment_model$_isDeleted = _._payment_model$_archivedAt = _._payment_model$_updatedAt = _._payment_model$_createdAt = _._payment_model$_isChanged = _._payment_model$_documents = _._payment_model$_credits = _._payment_model$_invoices = _._paymentables = null; }, _$PaymentableEntity: function _$PaymentableEntity(t0, t1, t2, t3, t4, t5) { var _ = this; _.createdAt = t0; _.updatedAt = t1; _.invoiceId = t2; _.creditId = t3; _.amount = t4; _.id = t5; _._payment_model$__hashCode = null; }, PaymentableEntityBuilder: function PaymentableEntityBuilder() { var _ = this; _._payment_model$_id = _._payment_model$_amount = _._payment_model$_creditId = _._payment_model$_invoiceId = _._payment_model$_updatedAt = _._payment_model$_createdAt = _._payment_model$_$v = null; }, _PaymentEntity_Object_BaseEntity: function _PaymentEntity_Object_BaseEntity() { }, _PaymentEntity_Object_BaseEntity_SelectableEntity: function _PaymentEntity_Object_BaseEntity_SelectableEntity() { }, _PaymentEntity_Object_BaseEntity_SelectableEntity_BelongsToClient: function _PaymentEntity_Object_BaseEntity_SelectableEntity_BelongsToClient() { }, _PaymentableEntity_Object_SelectableEntity: function _PaymentableEntity_Object_SelectableEntity() { }, PaymentTermEntity_PaymentTermEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$PaymentTermEntity$_(0, null, 0, null, t1, false, false, "", 0, 0); }, _$PaymentTermEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, $name, numDays, updatedAt) { var _s17_ = "PaymentTermEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s17_, "name"); A.BuiltValueNullFieldError_checkNotNull(numDays, _s17_, "numDays"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s17_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s17_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s17_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s17_, "id"); return new A._$PaymentTermEntity($name, numDays, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, PaymentTermListResponse: function PaymentTermListResponse() { }, PaymentTermItemResponse: function PaymentTermItemResponse() { }, PaymentTermEntity: function PaymentTermEntity() { }, _$PaymentTermListResponseSerializer: function _$PaymentTermListResponseSerializer() { }, _$PaymentTermItemResponseSerializer: function _$PaymentTermItemResponseSerializer() { }, _$PaymentTermEntitySerializer: function _$PaymentTermEntitySerializer() { }, _$PaymentTermListResponse: function _$PaymentTermListResponse(t0) { this.data = t0; this._payment_term_model$__hashCode = null; }, PaymentTermListResponseBuilder: function PaymentTermListResponseBuilder() { this._payment_term_model$_data = this._payment_term_model$_$v = null; }, _$PaymentTermItemResponse: function _$PaymentTermItemResponse(t0) { this.data = t0; this._payment_term_model$__hashCode = null; }, PaymentTermItemResponseBuilder: function PaymentTermItemResponseBuilder() { this._payment_term_model$_data = this._payment_term_model$_$v = null; }, _$PaymentTermEntity: function _$PaymentTermEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.name = t0; _.numDays = t1; _.isChanged = t2; _.createdAt = t3; _.updatedAt = t4; _.archivedAt = t5; _.isDeleted = t6; _.createdUserId = t7; _.assignedUserId = t8; _.id = t9; _._payment_term_model$__hashCode = null; }, PaymentTermEntityBuilder: function PaymentTermEntityBuilder() { var _ = this; _._payment_term_model$_id = _._payment_term_model$_assignedUserId = _._payment_term_model$_createdUserId = _._payment_term_model$_isDeleted = _._payment_term_model$_archivedAt = _._payment_term_model$_updatedAt = _._payment_term_model$_createdAt = _._payment_term_model$_isChanged = _._numDays = _._payment_term_model$_name = _._payment_term_model$_$v = null; }, _PaymentTermEntity_Object_BaseEntity: function _PaymentTermEntity_Object_BaseEntity() { }, _PaymentTermEntity_Object_BaseEntity_SelectableEntity: function _PaymentTermEntity_Object_BaseEntity_SelectableEntity() { }, ProductEntity_ProductEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$ProductEntity$_(0, "", 0, 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), t1, "", false, false, 0, "", 0, "", 1, true, 0, 0, "1", "", "", "", 0, 0, 0, 0); }, ProductEntity__initializeBuilder(builder) { builder.get$_product_model$_$this()._stockQuantity = 0; builder.get$_product_model$_$this()._product_model$_stockNotification = true; builder.get$_product_model$_$this()._product_model$_stockNotificationThreshold = 0; builder.get$_product_model$_$this()._imageUrl = ""; builder.get$_product_model$_$this()._maxQuantity = 0; builder.get$_product_model$_$this()._taxCategoryId = "1"; return builder; }, _$ProductEntity$_(archivedAt, assignedUserId, cost, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, documents, id, imageUrl, isChanged, isDeleted, maxQuantity, notes, price, productKey, quantity, stockNotification, stockNotificationThreshold, stockQuantity, taxCategoryId, taxName1, taxName2, taxName3, taxRate1, taxRate2, taxRate3, updatedAt) { var _s13_ = "ProductEntity"; A.BuiltValueNullFieldError_checkNotNull(productKey, _s13_, "productKey"); A.BuiltValueNullFieldError_checkNotNull(notes, _s13_, "notes"); A.BuiltValueNullFieldError_checkNotNull(cost, _s13_, "cost"); A.BuiltValueNullFieldError_checkNotNull(price, _s13_, "price"); A.BuiltValueNullFieldError_checkNotNull(quantity, _s13_, "quantity"); A.BuiltValueNullFieldError_checkNotNull(taxName1, _s13_, "taxName1"); A.BuiltValueNullFieldError_checkNotNull(taxRate1, _s13_, "taxRate1"); A.BuiltValueNullFieldError_checkNotNull(taxName2, _s13_, "taxName2"); A.BuiltValueNullFieldError_checkNotNull(taxRate2, _s13_, "taxRate2"); A.BuiltValueNullFieldError_checkNotNull(taxName3, _s13_, "taxName3"); A.BuiltValueNullFieldError_checkNotNull(taxRate3, _s13_, "taxRate3"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s13_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s13_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s13_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s13_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(stockQuantity, _s13_, "stockQuantity"); A.BuiltValueNullFieldError_checkNotNull(stockNotificationThreshold, _s13_, "stockNotificationThreshold"); A.BuiltValueNullFieldError_checkNotNull(stockNotification, _s13_, "stockNotification"); A.BuiltValueNullFieldError_checkNotNull(imageUrl, _s13_, "imageUrl"); A.BuiltValueNullFieldError_checkNotNull(maxQuantity, _s13_, "maxQuantity"); A.BuiltValueNullFieldError_checkNotNull(taxCategoryId, _s13_, "taxCategoryId"); A.BuiltValueNullFieldError_checkNotNull(documents, _s13_, "documents"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$ProductEntity(productKey, notes, cost, price, quantity, taxName1, taxRate1, taxName2, taxRate2, taxName3, taxRate3, customValue1, customValue2, customValue3, customValue4, stockQuantity, stockNotificationThreshold, stockNotification, imageUrl, maxQuantity, taxCategoryId, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ProductListResponse: function ProductListResponse() { }, ProductItemResponse: function ProductItemResponse() { }, ProductEntity: function ProductEntity() { }, ProductEntity_clone_closure: function ProductEntity_clone_closure() { }, _$ProductListResponseSerializer: function _$ProductListResponseSerializer() { }, _$ProductItemResponseSerializer: function _$ProductItemResponseSerializer() { }, _$ProductEntitySerializer: function _$ProductEntitySerializer() { }, _$ProductListResponse: function _$ProductListResponse(t0) { this.data = t0; this._product_model$__hashCode = null; }, ProductListResponseBuilder: function ProductListResponseBuilder() { this._product_model$_data = this._product_model$_$v = null; }, _$ProductItemResponse: function _$ProductItemResponse(t0) { this.data = t0; this._product_model$__hashCode = null; }, ProductItemResponseBuilder: function ProductItemResponseBuilder() { this._product_model$_data = this._product_model$_$v = null; }, _$ProductEntity: function _$ProductEntity(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; _.productKey = t0; _.notes = t1; _.cost = t2; _.price = t3; _.quantity = t4; _.taxName1 = t5; _.taxRate1 = t6; _.taxName2 = t7; _.taxRate2 = t8; _.taxName3 = t9; _.taxRate3 = t10; _.customValue1 = t11; _.customValue2 = t12; _.customValue3 = t13; _.customValue4 = t14; _.stockQuantity = t15; _.stockNotificationThreshold = t16; _.stockNotification = t17; _.imageUrl = t18; _.maxQuantity = t19; _.taxCategoryId = t20; _.documents = t21; _.isChanged = t22; _.createdAt = t23; _.updatedAt = t24; _.archivedAt = t25; _.isDeleted = t26; _.createdUserId = t27; _.assignedUserId = t28; _.id = t29; _._product_model$__hashCode = null; }, ProductEntityBuilder: function ProductEntityBuilder() { var _ = this; _._product_model$_assignedUserId = _._product_model$_createdUserId = _._product_model$_isDeleted = _._product_model$_archivedAt = _._product_model$_updatedAt = _._product_model$_createdAt = _._product_model$_isChanged = _._product_model$_documents = _._taxCategoryId = _._maxQuantity = _._imageUrl = _._product_model$_stockNotification = _._product_model$_stockNotificationThreshold = _._stockQuantity = _._product_model$_customValue4 = _._product_model$_customValue3 = _._product_model$_customValue2 = _._product_model$_customValue1 = _._product_model$_taxRate3 = _._product_model$_taxName3 = _._product_model$_taxRate2 = _._product_model$_taxName2 = _._product_model$_taxRate1 = _._product_model$_taxName1 = _._quantity = _._product_model$_price = _._cost = _._notes = _._productKey = _._product_model$_$v = null; _._product_model$_id = null; }, _ProductEntity_Object_BaseEntity: function _ProductEntity_Object_BaseEntity() { }, _ProductEntity_Object_BaseEntity_SelectableEntity: function _ProductEntity_Object_BaseEntity_SelectableEntity() { }, ProjectEntity_ProjectEntity(client, id, state, user) { var t1, t2, t3; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = client == null ? null : client.id; if (t2 == null) t2 = ""; t3 = user == null ? null : user.id; if (t3 == null) t3 = ""; return A._$ProjectEntity$_(0, t3, 0, t2, "", 0, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), "", t1, false, false, "", "", "", "", 0, 0, 0); }, ProjectEntity__initializeBuilder(builder) { builder.get$_project_model$_$this()._color = ""; builder.get$_project_model$_$this()._totalHours = 0; return builder; }, _$ProjectEntity$_(archivedAt, assignedUserId, budgetedHours, clientId, color, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, documents, dueDate, id, isChanged, isDeleted, $name, number, privateNotes, publicNotes, taskRate, totalHours, updatedAt) { var _s13_ = "ProjectEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s13_, "name"); A.BuiltValueNullFieldError_checkNotNull(color, _s13_, "color"); A.BuiltValueNullFieldError_checkNotNull(clientId, _s13_, "clientId"); A.BuiltValueNullFieldError_checkNotNull(taskRate, _s13_, "taskRate"); A.BuiltValueNullFieldError_checkNotNull(dueDate, _s13_, "dueDate"); A.BuiltValueNullFieldError_checkNotNull(privateNotes, _s13_, "privateNotes"); A.BuiltValueNullFieldError_checkNotNull(publicNotes, _s13_, "publicNotes"); A.BuiltValueNullFieldError_checkNotNull(budgetedHours, _s13_, "budgetedHours"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s13_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s13_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s13_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s13_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(number, _s13_, "number"); A.BuiltValueNullFieldError_checkNotNull(totalHours, _s13_, "totalHours"); A.BuiltValueNullFieldError_checkNotNull(documents, _s13_, "documents"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$ProjectEntity($name, color, clientId, taskRate, dueDate, privateNotes, publicNotes, budgetedHours, customValue1, customValue2, customValue3, customValue4, number, totalHours, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ProjectListResponse: function ProjectListResponse() { }, ProjectItemResponse: function ProjectItemResponse() { }, ProjectEntity: function ProjectEntity() { }, ProjectEntity_clone_closure: function ProjectEntity_clone_closure() { }, _$ProjectListResponseSerializer: function _$ProjectListResponseSerializer() { }, _$ProjectItemResponseSerializer: function _$ProjectItemResponseSerializer() { }, _$ProjectEntitySerializer: function _$ProjectEntitySerializer() { }, _$ProjectListResponse: function _$ProjectListResponse(t0) { this.data = t0; this._project_model$__hashCode = null; }, ProjectListResponseBuilder: function ProjectListResponseBuilder() { this._project_model$_data = this._project_model$_$v = null; }, _$ProjectItemResponse: function _$ProjectItemResponse(t0) { this.data = t0; this._project_model$__hashCode = null; }, ProjectItemResponseBuilder: function ProjectItemResponseBuilder() { this._project_model$_data = this._project_model$_$v = null; }, _$ProjectEntity: function _$ProjectEntity(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; _.name = t0; _.color = t1; _.clientId = t2; _.taskRate = t3; _.dueDate = t4; _.privateNotes = t5; _.publicNotes = t6; _.budgetedHours = t7; _.customValue1 = t8; _.customValue2 = t9; _.customValue3 = t10; _.customValue4 = t11; _.number = t12; _.totalHours = t13; _.documents = t14; _.isChanged = t15; _.createdAt = t16; _.updatedAt = t17; _.archivedAt = t18; _.isDeleted = t19; _.createdUserId = t20; _.assignedUserId = t21; _.id = t22; _._project_model$__hashCode = null; }, ProjectEntityBuilder: function ProjectEntityBuilder() { var _ = this; _._project_model$_id = _._project_model$_assignedUserId = _._project_model$_createdUserId = _._project_model$_isDeleted = _._project_model$_archivedAt = _._project_model$_updatedAt = _._project_model$_createdAt = _._project_model$_isChanged = _._project_model$_documents = _._totalHours = _._project_model$_number = _._project_model$_customValue4 = _._project_model$_customValue3 = _._project_model$_customValue2 = _._project_model$_customValue1 = _._budgetedHours = _._project_model$_publicNotes = _._project_model$_privateNotes = _._project_model$_dueDate = _._taskRate = _._project_model$_clientId = _._color = _._project_model$_name = _._project_model$_$v = null; }, _ProjectEntity_Object_BaseEntity: function _ProjectEntity_Object_BaseEntity() { }, _ProjectEntity_Object_BaseEntity_SelectableEntity: function _ProjectEntity_Object_BaseEntity_SelectableEntity() { }, _ProjectEntity_Object_BaseEntity_SelectableEntity_BelongsToClient: function _ProjectEntity_Object_BaseEntity_SelectableEntity_BelongsToClient() { }, ScheduleEntity_ScheduleEntity(template, id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$ScheduleEntity$_(0, "", 0, "", "5", t1, false, false, false, "", A.ScheduleParameters_ScheduleParameters(template), -1, template, 0); }, ScheduleParameters_ScheduleParameters(action) { var t9, _null = null, t1 = action === "email_statement", t2 = t1 ? A.BuiltList_BuiltList$from(B.List_empty, type$.String) : _null, t3 = action === "email_record", t4 = t3 ? _null : A.toSnakeCase("thisQuarter"), t5 = t1 ? true : _null, t6 = t1 ? true : _null, t7 = t1 ? false : _null, t8 = t1 ? true : _null; t1 = t1 ? "all" : _null; t9 = t3 ? "invoice" : _null; t3 = t3 ? "" : _null; return new A._$ScheduleParameters(t4, t6, t8, t5, t7, t1, t2, t9, t3, action === "email_report" ? "invoices" : _null); }, _$ScheduleEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, frequencyId, id, isChanged, isDeleted, isPaused, nextRun, parameters, remainingCycles, template, updatedAt) { var _s14_ = "ScheduleEntity"; A.BuiltValueNullFieldError_checkNotNull(frequencyId, _s14_, "frequencyId"); A.BuiltValueNullFieldError_checkNotNull(nextRun, _s14_, "nextRun"); A.BuiltValueNullFieldError_checkNotNull(template, _s14_, "template"); A.BuiltValueNullFieldError_checkNotNull(isPaused, _s14_, "isPaused"); A.BuiltValueNullFieldError_checkNotNull(remainingCycles, _s14_, "remainingCycles"); A.BuiltValueNullFieldError_checkNotNull(parameters, _s14_, "parameters"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s14_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s14_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s14_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s14_, "id"); return new A._$ScheduleEntity(frequencyId, nextRun, template, isPaused, remainingCycles, parameters, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, ScheduleListResponse: function ScheduleListResponse() { }, ScheduleItemResponse: function ScheduleItemResponse() { }, ScheduleEntity: function ScheduleEntity() { }, ScheduleParameters: function ScheduleParameters() { }, _$ScheduleListResponseSerializer: function _$ScheduleListResponseSerializer() { }, _$ScheduleItemResponseSerializer: function _$ScheduleItemResponseSerializer() { }, _$ScheduleEntitySerializer: function _$ScheduleEntitySerializer() { }, _$ScheduleParametersSerializer: function _$ScheduleParametersSerializer() { }, _$ScheduleListResponse: function _$ScheduleListResponse(t0) { this.data = t0; this._schedule_model$__hashCode = null; }, ScheduleListResponseBuilder: function ScheduleListResponseBuilder() { this._schedule_model$_data = this._schedule_model$_$v = null; }, _$ScheduleItemResponse: function _$ScheduleItemResponse(t0) { this.data = t0; this._schedule_model$__hashCode = null; }, ScheduleItemResponseBuilder: function ScheduleItemResponseBuilder() { this._schedule_model$_data = this._schedule_model$_$v = null; }, _$ScheduleEntity: function _$ScheduleEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.frequencyId = t0; _.nextRun = t1; _.template = t2; _.isPaused = t3; _.remainingCycles = t4; _.parameters = t5; _.isChanged = t6; _.createdAt = t7; _.updatedAt = t8; _.archivedAt = t9; _.isDeleted = t10; _.createdUserId = t11; _.assignedUserId = t12; _.id = t13; _._schedule_model$__hashCode = null; }, ScheduleEntityBuilder: function ScheduleEntityBuilder() { var _ = this; _._schedule_model$_id = _._schedule_model$_assignedUserId = _._schedule_model$_createdUserId = _._schedule_model$_isDeleted = _._schedule_model$_archivedAt = _._schedule_model$_updatedAt = _._schedule_model$_createdAt = _._schedule_model$_isChanged = _._parameters = _._schedule_model$_remainingCycles = _._isPaused = _._template = _._nextRun = _._schedule_model$_frequencyId = _._schedule_model$_$v = null; }, _$ScheduleParameters: function _$ScheduleParameters(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.dateRange = t0; _.showPaymentsTable = t1; _.showCreditsTable = t2; _.showAgingTable = t3; _.onlyClientsWithInvoices = t4; _.status = t5; _.clients = t6; _.entityType = t7; _.entityId = t8; _.reportName = t9; _._schedule_model$__hashCode = null; }, ScheduleParametersBuilder: function ScheduleParametersBuilder() { var _ = this; _._reportName = _._entityId = _._schedule_model$_entityType = _._schedule_model$_clients = _._schedule_model$_status = _._onlyClientsWithInvoices = _._showAgingTable = _._showCreditsTable = _._showPaymentsTable = _._dateRange = _._schedule_model$_$v = null; }, _ScheduleEntity_Object_BaseEntity: function _ScheduleEntity_Object_BaseEntity() { }, _$serializers_closure: function _$serializers_closure() { }, _$serializers_closure0: function _$serializers_closure0() { }, _$serializers_closure1: function _$serializers_closure1() { }, _$serializers_closure2: function _$serializers_closure2() { }, _$serializers_closure3: function _$serializers_closure3() { }, _$serializers_closure4: function _$serializers_closure4() { }, _$serializers_closure5: function _$serializers_closure5() { }, _$serializers_closure6: function _$serializers_closure6() { }, _$serializers_closure7: function _$serializers_closure7() { }, _$serializers_closure8: function _$serializers_closure8() { }, _$serializers_closure9: function _$serializers_closure9() { }, _$serializers_closure10: function _$serializers_closure10() { }, _$serializers_closure11: function _$serializers_closure11() { }, _$serializers_closure12: function _$serializers_closure12() { }, _$serializers_closure13: function _$serializers_closure13() { }, _$serializers_closure14: function _$serializers_closure14() { }, _$serializers_closure15: function _$serializers_closure15() { }, _$serializers_closure16: function _$serializers_closure16() { }, _$serializers_closure17: function _$serializers_closure17() { }, _$serializers_closure18: function _$serializers_closure18() { }, _$serializers_closure19: function _$serializers_closure19() { }, _$serializers_closure20: function _$serializers_closure20() { }, _$serializers_closure21: function _$serializers_closure21() { }, _$serializers_closure22: function _$serializers_closure22() { }, _$serializers_closure23: function _$serializers_closure23() { }, _$serializers_closure24: function _$serializers_closure24() { }, _$serializers_closure25: function _$serializers_closure25() { }, _$serializers_closure26: function _$serializers_closure26() { }, _$serializers_closure27: function _$serializers_closure27() { }, _$serializers_closure28: function _$serializers_closure28() { }, _$serializers_closure29: function _$serializers_closure29() { }, _$serializers_closure30: function _$serializers_closure30() { }, _$serializers_closure31: function _$serializers_closure31() { }, _$serializers_closure32: function _$serializers_closure32() { }, _$serializers_closure33: function _$serializers_closure33() { }, _$serializers_closure34: function _$serializers_closure34() { }, _$serializers_closure35: function _$serializers_closure35() { }, _$serializers_closure36: function _$serializers_closure36() { }, _$serializers_closure37: function _$serializers_closure37() { }, _$serializers_closure38: function _$serializers_closure38() { }, _$serializers_closure39: function _$serializers_closure39() { }, _$serializers_closure40: function _$serializers_closure40() { }, _$serializers_closure41: function _$serializers_closure41() { }, _$serializers_closure42: function _$serializers_closure42() { }, _$serializers_closure43: function _$serializers_closure43() { }, _$serializers_closure44: function _$serializers_closure44() { }, _$serializers_closure45: function _$serializers_closure45() { }, _$serializers_closure46: function _$serializers_closure46() { }, _$serializers_closure47: function _$serializers_closure47() { }, _$serializers_closure48: function _$serializers_closure48() { }, _$serializers_closure49: function _$serializers_closure49() { }, _$serializers_closure50: function _$serializers_closure50() { }, _$serializers_closure51: function _$serializers_closure51() { }, _$serializers_closure52: function _$serializers_closure52() { }, _$serializers_closure53: function _$serializers_closure53() { }, _$serializers_closure54: function _$serializers_closure54() { }, _$serializers_closure55: function _$serializers_closure55() { }, _$serializers_closure56: function _$serializers_closure56() { }, _$serializers_closure57: function _$serializers_closure57() { }, _$serializers_closure58: function _$serializers_closure58() { }, _$serializers_closure59: function _$serializers_closure59() { }, _$serializers_closure60: function _$serializers_closure60() { }, _$serializers_closure61: function _$serializers_closure61() { }, _$serializers_closure62: function _$serializers_closure62() { }, _$serializers_closure63: function _$serializers_closure63() { }, _$serializers_closure64: function _$serializers_closure64() { }, _$serializers_closure65: function _$serializers_closure65() { }, _$serializers_closure66: function _$serializers_closure66() { }, _$serializers_closure67: function _$serializers_closure67() { }, _$serializers_closure68: function _$serializers_closure68() { }, _$serializers_closure69: function _$serializers_closure69() { }, _$serializers_closure70: function _$serializers_closure70() { }, _$serializers_closure71: function _$serializers_closure71() { }, _$serializers_closure72: function _$serializers_closure72() { }, _$serializers_closure73: function _$serializers_closure73() { }, _$serializers_closure74: function _$serializers_closure74() { }, _$serializers_closure75: function _$serializers_closure75() { }, _$serializers_closure76: function _$serializers_closure76() { }, _$serializers_closure77: function _$serializers_closure77() { }, _$serializers_closure78: function _$serializers_closure78() { }, _$serializers_closure79: function _$serializers_closure79() { }, _$serializers_closure80: function _$serializers_closure80() { }, _$serializers_closure81: function _$serializers_closure81() { }, _$serializers_closure82: function _$serializers_closure82() { }, _$serializers_closure83: function _$serializers_closure83() { }, _$serializers_closure84: function _$serializers_closure84() { }, _$serializers_closure85: function _$serializers_closure85() { }, _$serializers_closure86: function _$serializers_closure86() { }, _$serializers_closure87: function _$serializers_closure87() { }, _$serializers_closure88: function _$serializers_closure88() { }, _$serializers_closure89: function _$serializers_closure89() { }, _$serializers_closure90: function _$serializers_closure90() { }, _$serializers_closure91: function _$serializers_closure91() { }, _$serializers_closure92: function _$serializers_closure92() { }, _$serializers_closure93: function _$serializers_closure93() { }, _$serializers_closure94: function _$serializers_closure94() { }, _$serializers_closure95: function _$serializers_closure95() { }, _$serializers_closure96: function _$serializers_closure96() { }, _$serializers_closure97: function _$serializers_closure97() { }, _$serializers_closure98: function _$serializers_closure98() { }, _$serializers_closure99: function _$serializers_closure99() { }, _$serializers_closure100: function _$serializers_closure100() { }, _$serializers_closure101: function _$serializers_closure101() { }, _$serializers_closure102: function _$serializers_closure102() { }, _$serializers_closure103: function _$serializers_closure103() { }, _$serializers_closure104: function _$serializers_closure104() { }, _$serializers_closure105: function _$serializers_closure105() { }, _$serializers_closure106: function _$serializers_closure106() { }, _$serializers_closure107: function _$serializers_closure107() { }, _$serializers_closure108: function _$serializers_closure108() { }, _$serializers_closure109: function _$serializers_closure109() { }, _$serializers_closure110: function _$serializers_closure110() { }, _$serializers_closure111: function _$serializers_closure111() { }, _$serializers_closure112: function _$serializers_closure112() { }, _$serializers_closure113: function _$serializers_closure113() { }, _$serializers_closure114: function _$serializers_closure114() { }, _$serializers_closure115: function _$serializers_closure115() { }, _$serializers_closure116: function _$serializers_closure116() { }, _$serializers_closure117: function _$serializers_closure117() { }, _$serializers_closure118: function _$serializers_closure118() { }, _$serializers_closure119: function _$serializers_closure119() { }, _$serializers_closure120: function _$serializers_closure120() { }, _$serializers_closure121: function _$serializers_closure121() { }, _$serializers_closure122: function _$serializers_closure122() { }, _$serializers_closure123: function _$serializers_closure123() { }, _$serializers_closure124: function _$serializers_closure124() { }, _$serializers_closure125: function _$serializers_closure125() { }, _$serializers_closure126: function _$serializers_closure126() { }, _$serializers_closure127: function _$serializers_closure127() { }, _$serializers_closure128: function _$serializers_closure128() { }, _$serializers_closure129: function _$serializers_closure129() { }, _$serializers_closure130: function _$serializers_closure130() { }, _$serializers_closure131: function _$serializers_closure131() { }, _$serializers_closure132: function _$serializers_closure132() { }, _$serializers_closure133: function _$serializers_closure133() { }, _$serializers_closure134: function _$serializers_closure134() { }, _$serializers_closure135: function _$serializers_closure135() { }, _$serializers_closure136: function _$serializers_closure136() { }, _$serializers_closure137: function _$serializers_closure137() { }, _$serializers_closure138: function _$serializers_closure138() { }, _$serializers_closure139: function _$serializers_closure139() { }, _$serializers_closure140: function _$serializers_closure140() { }, _$serializers_closure141: function _$serializers_closure141() { }, _$serializers_closure142: function _$serializers_closure142() { }, _$serializers_closure143: function _$serializers_closure143() { }, _$serializers_closure144: function _$serializers_closure144() { }, _$serializers_closure145: function _$serializers_closure145() { }, _$serializers_closure146: function _$serializers_closure146() { }, _$serializers_closure147: function _$serializers_closure147() { }, _$serializers_closure148: function _$serializers_closure148() { }, _$serializers_closure149: function _$serializers_closure149() { }, _$serializers_closure150: function _$serializers_closure150() { }, _$serializers_closure151: function _$serializers_closure151() { }, _$serializers_closure152: function _$serializers_closure152() { }, _$serializers_closure153: function _$serializers_closure153() { }, _$serializers_closure154: function _$serializers_closure154() { }, _$serializers_closure155: function _$serializers_closure155() { }, _$serializers_closure156: function _$serializers_closure156() { }, _$serializers_closure157: function _$serializers_closure157() { }, _$serializers_closure158: function _$serializers_closure158() { }, _$serializers_closure159: function _$serializers_closure159() { }, _$serializers_closure160: function _$serializers_closure160() { }, _$serializers_closure161: function _$serializers_closure161() { }, _$serializers_closure162: function _$serializers_closure162() { }, _$serializers_closure163: function _$serializers_closure163() { }, _$serializers_closure164: function _$serializers_closure164() { }, _$serializers_closure165: function _$serializers_closure165() { }, _$serializers_closure166: function _$serializers_closure166() { }, _$serializers_closure167: function _$serializers_closure167() { }, _$serializers_closure168: function _$serializers_closure168() { }, _$serializers_closure169: function _$serializers_closure169() { }, _$serializers_closure170: function _$serializers_closure170() { }, _$serializers_closure171: function _$serializers_closure171() { }, _$serializers_closure172: function _$serializers_closure172() { }, _$serializers_closure173: function _$serializers_closure173() { }, _$serializers_closure174: function _$serializers_closure174() { }, _$serializers_closure175: function _$serializers_closure175() { }, _$serializers_closure176: function _$serializers_closure176() { }, _$serializers_closure177: function _$serializers_closure177() { }, _$serializers_closure178: function _$serializers_closure178() { }, _$serializers_closure179: function _$serializers_closure179() { }, _$serializers_closure180: function _$serializers_closure180() { }, _$serializers_closure181: function _$serializers_closure181() { }, _$serializers_closure182: function _$serializers_closure182() { }, _$serializers_closure183: function _$serializers_closure183() { }, _$serializers_closure184: function _$serializers_closure184() { }, _$serializers_closure185: function _$serializers_closure185() { }, _$serializers_closure186: function _$serializers_closure186() { }, _$serializers_closure187: function _$serializers_closure187() { }, _$serializers_closure188: function _$serializers_closure188() { }, _$serializers_closure189: function _$serializers_closure189() { }, _$serializers_closure190: function _$serializers_closure190() { }, _$serializers_closure191: function _$serializers_closure191() { }, _$serializers_closure192: function _$serializers_closure192() { }, _$serializers_closure193: function _$serializers_closure193() { }, _$serializers_closure194: function _$serializers_closure194() { }, _$serializers_closure195: function _$serializers_closure195() { }, _$serializers_closure196: function _$serializers_closure196() { }, _$serializers_closure197: function _$serializers_closure197() { }, _$serializers_closure198: function _$serializers_closure198() { }, _$serializers_closure199: function _$serializers_closure199() { }, _$serializers_closure200: function _$serializers_closure200() { }, _$serializers_closure201: function _$serializers_closure201() { }, _$serializers_closure202: function _$serializers_closure202() { }, _$serializers_closure203: function _$serializers_closure203() { }, _$serializers_closure204: function _$serializers_closure204() { }, _$serializers_closure205: function _$serializers_closure205() { }, _$serializers_closure206: function _$serializers_closure206() { }, _$serializers_closure207: function _$serializers_closure207() { }, _$serializers_closure208: function _$serializers_closure208() { }, _$serializers_closure209: function _$serializers_closure209() { }, _$serializers_closure210: function _$serializers_closure210() { }, _$serializers_closure211: function _$serializers_closure211() { }, _$serializers_closure212: function _$serializers_closure212() { }, _$serializers_closure213: function _$serializers_closure213() { }, _$serializers_closure214: function _$serializers_closure214() { }, _$serializers_closure215: function _$serializers_closure215() { }, _$serializers_closure216: function _$serializers_closure216() { }, _$serializers_closure217: function _$serializers_closure217() { }, _$serializers_closure218: function _$serializers_closure218() { }, _$serializers_closure219: function _$serializers_closure219() { }, _$serializers_closure220: function _$serializers_closure220() { }, _$serializers_closure221: function _$serializers_closure221() { }, _$serializers_closure222: function _$serializers_closure222() { }, _$serializers_closure223: function _$serializers_closure223() { }, SettingsEntity_SettingsEntity(clientSettings, companySettings, groupSettings) { var 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, _null = null, t1 = clientSettings == null, t2 = t1 ? _null : clientSettings.defaultInvoiceDesignId; if (t2 == null) t2 = groupSettings == null ? _null : groupSettings.defaultInvoiceDesignId; if (t2 == null) t2 = companySettings == null ? _null : companySettings.defaultInvoiceDesignId; t3 = t1 ? _null : clientSettings.defaultQuoteDesignId; if (t3 == null) t3 = groupSettings == null ? _null : groupSettings.defaultQuoteDesignId; if (t3 == null) t3 = companySettings == null ? _null : companySettings.defaultQuoteDesignId; t4 = t1 ? _null : clientSettings.defaultCreditDesignId; if (t4 == null) t4 = groupSettings == null ? _null : groupSettings.defaultCreditDesignId; if (t4 == null) t4 = companySettings == null ? _null : companySettings.defaultCreditDesignId; t5 = t1 ? _null : clientSettings.defaultPurchaseOrderDesignId; if (t5 == null) t5 = groupSettings == null ? _null : groupSettings.defaultPurchaseOrderDesignId; if (t5 == null) t5 = companySettings == null ? _null : companySettings.defaultPurchaseOrderDesignId; t6 = t1 ? _null : clientSettings.defaultStatementDesignId; if (t6 == null) t6 = groupSettings == null ? _null : groupSettings.defaultStatementDesignId; if (t6 == null) t6 = companySettings == null ? _null : companySettings.defaultStatementDesignId; t7 = t1 ? _null : clientSettings.defaultDeliveryNoteDesignId; if (t7 == null) t7 = groupSettings == null ? _null : groupSettings.defaultDeliveryNoteDesignId; if (t7 == null) t7 = companySettings == null ? _null : companySettings.defaultDeliveryNoteDesignId; t8 = t1 ? _null : clientSettings.defaultPaymentReceiptDesignId; if (t8 == null) t8 = groupSettings == null ? _null : groupSettings.defaultPaymentReceiptDesignId; if (t8 == null) t8 = companySettings == null ? _null : companySettings.defaultPaymentReceiptDesignId; t9 = t1 ? _null : clientSettings.defaultPaymentRefundDesignId; if (t9 == null) t9 = groupSettings == null ? _null : groupSettings.defaultPaymentRefundDesignId; if (t9 == null) t9 = companySettings == null ? _null : companySettings.defaultPaymentRefundDesignId; t10 = t1 ? _null : clientSettings.defaultInvoiceTerms; if (t10 == null) t10 = groupSettings == null ? _null : groupSettings.defaultInvoiceTerms; if (t10 == null) t10 = companySettings == null ? _null : companySettings.defaultInvoiceTerms; t11 = t1 ? _null : clientSettings.defaultInvoiceFooter; if (t11 == null) t11 = groupSettings == null ? _null : groupSettings.defaultInvoiceFooter; if (t11 == null) t11 = companySettings == null ? _null : companySettings.defaultInvoiceFooter; t12 = t1 ? _null : clientSettings.defaultQuoteTerms; if (t12 == null) t12 = groupSettings == null ? _null : groupSettings.defaultQuoteTerms; if (t12 == null) t12 = companySettings == null ? _null : companySettings.defaultQuoteTerms; t13 = t1 ? _null : clientSettings.defaultQuoteFooter; if (t13 == null) t13 = groupSettings == null ? _null : groupSettings.defaultQuoteFooter; if (t13 == null) t13 = companySettings == null ? _null : companySettings.defaultQuoteFooter; t14 = t1 ? _null : clientSettings.defaultCreditTerms; if (t14 == null) t14 = groupSettings == null ? _null : groupSettings.defaultCreditTerms; if (t14 == null) t14 = companySettings == null ? _null : companySettings.defaultCreditTerms; t15 = t1 ? _null : clientSettings.defaultCreditFooter; if (t15 == null) t15 = groupSettings == null ? _null : groupSettings.defaultCreditFooter; if (t15 == null) t15 = companySettings == null ? _null : companySettings.defaultCreditFooter; t16 = t1 ? _null : clientSettings.lockInvoices; if (t16 == null) t16 = groupSettings == null ? _null : groupSettings.lockInvoices; if (t16 == null) t16 = companySettings == null ? _null : companySettings.lockInvoices; t17 = t1 ? _null : clientSettings.emailSubjectCustom1; if (t17 == null) t17 = groupSettings == null ? _null : groupSettings.emailSubjectCustom1; if (t17 == null) t17 = companySettings == null ? _null : companySettings.emailSubjectCustom1; t18 = t1 ? _null : clientSettings.emailSubjectCustom2; if (t18 == null) t18 = groupSettings == null ? _null : groupSettings.emailSubjectCustom2; if (t18 == null) t18 = companySettings == null ? _null : companySettings.emailSubjectCustom2; t19 = t1 ? _null : clientSettings.emailSubjectCustom3; if (t19 == null) t19 = groupSettings == null ? _null : groupSettings.emailSubjectCustom3; if (t19 == null) t19 = companySettings == null ? _null : companySettings.emailSubjectCustom3; t20 = t1 ? _null : clientSettings.defaultPaymentTerms; if (t20 == null) t20 = groupSettings == null ? _null : groupSettings.defaultPaymentTerms; if (t20 == null) t20 = companySettings == null ? _null : companySettings.defaultPaymentTerms; t21 = t1 ? _null : clientSettings.defaultValidUntil; if (t21 == null) t21 = groupSettings == null ? _null : groupSettings.defaultValidUntil; if (t21 == null) t21 = companySettings == null ? _null : companySettings.defaultValidUntil; t22 = t1 ? _null : clientSettings.defaultTaxRate1; if (t22 == null) t22 = groupSettings == null ? _null : groupSettings.defaultTaxRate1; if (t22 == null) t22 = companySettings == null ? _null : companySettings.defaultTaxRate1; t23 = t1 ? _null : clientSettings.defaultTaxName1; if (t23 == null) t23 = groupSettings == null ? _null : groupSettings.defaultTaxName1; if (t23 == null) t23 = companySettings == null ? _null : companySettings.defaultTaxName1; t24 = t1 ? _null : clientSettings.defaultTaxRate2; if (t24 == null) t24 = groupSettings == null ? _null : groupSettings.defaultTaxRate2; if (t24 == null) t24 = companySettings == null ? _null : companySettings.defaultTaxRate2; t25 = t1 ? _null : clientSettings.defaultTaxName2; if (t25 == null) t25 = groupSettings == null ? _null : groupSettings.defaultTaxName2; if (t25 == null) t25 = companySettings == null ? _null : companySettings.defaultTaxName2; t26 = t1 ? _null : clientSettings.defaultTaxRate3; if (t26 == null) t26 = groupSettings == null ? _null : groupSettings.defaultTaxRate3; if (t26 == null) t26 = companySettings == null ? _null : companySettings.defaultTaxRate3; t27 = t1 ? _null : clientSettings.defaultTaxName3; if (t27 == null) t27 = groupSettings == null ? _null : groupSettings.defaultTaxName3; if (t27 == null) t27 = companySettings == null ? _null : companySettings.defaultTaxName3; t28 = t1 ? _null : clientSettings.clientManualPaymentNotification; if (t28 == null) t28 = groupSettings == null ? _null : groupSettings.clientManualPaymentNotification; if (t28 == null) t28 = companySettings == null ? _null : companySettings.clientManualPaymentNotification; t29 = t1 ? _null : clientSettings.defaultPaymentTypeId; if (t29 == null) t29 = groupSettings == null ? _null : groupSettings.defaultPaymentTypeId; if (t29 == null) t29 = companySettings == null ? _null : companySettings.defaultPaymentTypeId; t1 = t1 ? _null : clientSettings.autoBillStandardInvoices; if (t1 == null) t1 = groupSettings == null ? _null : groupSettings.autoBillStandardInvoices; if (t1 == null) t1 = companySettings == null ? _null : companySettings.autoBillStandardInvoices; return A._$SettingsEntity$_(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, t28, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4, t15, t14, t7, _null, t2, t11, t10, t8, t9, t20, t29, t5, _null, _null, t3, t13, t12, t6, _null, t23, t25, t27, t22, t24, t26, t21, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t17, t18, t19, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t16, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _$SettingsEntity$_(acceptPurchaseOrderNumber, address1, address2, allPagesFooter, allPagesHeader, allowBillableTaskItems, autoArchiveInvoice, autoArchiveInvoiceCancelled, autoArchiveQuote, autoBill, autoBillDate, autoBillStandardInvoices, autoConvertQuote, autoEmailInvoice, bccEmail, besrId, brevoSecret, city, classification, clientInitiatedPayments, clientInitiatedPaymentsMinimum, clientManualPaymentNotification, clientMarkPaidPaymentNotification, clientNumberCounter, clientNumberPattern, clientOnlinePaymentNotification, clientPortalAllowOverPayment, clientPortalAllowUnderPayment, clientPortalCustomCss, clientPortalCustomFooter, clientPortalCustomHeader, clientPortalCustomJs, clientPortalPrivacy, clientPortalTasks, clientPortalTerms, clientPortalUnderPaymentMinimum, companyGatewayIds, companyLogo, companyLogoSize, counterNumberApplied, counterPadding, countryId, creditNumberCounter, creditNumberPattern, currencyId, customMessageDashboard, customMessagePaidInvoice, customMessageUnapprovedQuote, customMessageUnpaidInvoice, customSendingEmail, customValue1, customValue2, customValue3, customValue4, dateFormatId, defaultCreditDesignId, defaultCreditFooter, defaultCreditTerms, defaultDeliveryNoteDesignId, defaultExpensePaymentTypeId, defaultInvoiceDesignId, defaultInvoiceFooter, defaultInvoiceTerms, defaultPaymentReceiptDesignId, defaultPaymentRefundDesignId, defaultPaymentTerms, defaultPaymentTypeId, defaultPurchaseOrderDesignId, defaultPurchaseOrderFooter, defaultPurchaseOrderTerms, defaultQuoteDesignId, defaultQuoteFooter, defaultQuoteTerms, defaultStatementDesignId, defaultTaskRate, defaultTaxName1, defaultTaxName2, defaultTaxName3, defaultTaxRate1, defaultTaxRate2, defaultTaxRate3, defaultValidUntil, documentEmailAttachment, eInvoiceType, eQuoteType, email, emailAlignment, emailBodyCredit, emailBodyCustom1, emailBodyCustom2, emailBodyCustom3, emailBodyInvoice, emailBodyPayment, emailBodyPaymentFailed, emailBodyPaymentPartial, emailBodyPurchaseOrder, emailBodyQuote, emailBodyQuoteReminder1, emailBodyReminder1, emailBodyReminder2, emailBodyReminder3, emailBodyReminderEndless, emailBodyStatement, emailFromName, emailSendingMethod, emailSignature, emailStyle, emailStyleCustom, emailSubjectCredit, emailSubjectCustom1, emailSubjectCustom2, emailSubjectCustom3, emailSubjectInvoice, emailSubjectPayment, emailSubjectPaymentFailed, emailSubjectPaymentPartial, emailSubjectPurchaseOrder, emailSubjectQuote, emailSubjectQuoteReminder1, emailSubjectReminder1, emailSubjectReminder2, emailSubjectReminder3, emailSubjectReminderEndless, emailSubjectStatement, embedDocuments, enableClientPortalUploads, enableClientProfileUpdate, enableEInvoice, enableEmailMarkup, enableInclusiveTaxes, enableMilitaryTime, enablePortal, enablePortalDashboard, enablePortalPassword, enablePortalTasks, enableQuoteReminder1, enableRappenRounding, enableReminder1, enableReminder2, enableReminder3, enableReminderEndless, enableVendorPortalUploads, endlessReminderFrequencyId, entitySendTime, expenseNumberCounter, expenseNumberPattern, fontSize, gmailSendingUserId, hideEmptyColumnsOnPdf, hidePaidToDate, idNumber, invoiceNumberCounter, invoiceNumberPattern, languageId, lateFeeAmount1, lateFeeAmount2, lateFeeAmount3, lateFeeAmountEndless, lateFeePercent1, lateFeePercent2, lateFeePercent3, lateFeePercentEndless, lockInvoices, mailgunDomain, mailgunEndpoint, mailgunSecret, mergeEInvoiceToPdf, $name, numDaysQuoteReminder1, numDaysReminder1, numDaysReminder2, numDaysReminder3, pageLayout, pageNumbering, pageNumberingAlignment, pageSize, paymentEmailAllContacts, paymentFlow, paymentNumberCounter, paymentNumberPattern, pdfEmailAttachment, pdfVariables, phone, postalCode, postmarkSecret, preferenceProductNotesForHtmlView, primaryColor, primaryFont, projectNumberCounter, projectNumberPattern, purchaseOrderNumberCounter, purchaseOrderNumberPattern, qrIban, quoteLateFeeAmount1, quoteLateFeePercent1, quoteNumberCounter, quoteNumberPattern, recurringExpenseNumberCounter, recurringExpenseNumberPattern, recurringInvoiceNumberCounter, recurringInvoiceNumberPattern, recurringNumberPrefix, replyToEmail, replyToName, requireInvoiceSignature, requirePurchaseOrderSignature, requireQuoteSignature, resetCounterDate, resetCounterFrequencyId, scheduleQuoteReminder1, scheduleReminder1, scheduleReminder2, scheduleReminder3, secondaryColor, secondaryFont, sendReminders, shareInvoiceQuoteColumns, sharedInvoiceCreditCounter, sharedInvoiceQuoteCounter, showAcceptInvoiceTerms, showAcceptQuoteTerms, showCurrencyCode, showEmailFooter, showPaidStamp, showPdfhtmlOnMobile, showShippingAddress, showTaskItemDescription, signatureOnPdf, state, taskNumberCounter, taskNumberPattern, taskRoundToNearest, taskRoundUp, ticketNumberCounter, ticketNumberPattern, timezoneId, translations, ublEmailAttachment, useCreditsPayment, useUnappliedPayment, vatNumber, vendorNumberCounter, vendorNumberPattern, website) { return new A._$SettingsEntity(timezoneId, dateFormatId, enableMilitaryTime, languageId, showCurrencyCode, currencyId, customValue1, customValue2, customValue3, customValue4, defaultPaymentTerms, defaultValidUntil, companyGatewayIds, defaultTaskRate, sendReminders, enablePortal, enablePortalDashboard, enablePortalTasks, enableClientPortalUploads, enableVendorPortalUploads, emailStyle, replyToEmail, replyToName, emailFromName, bccEmail, pdfEmailAttachment, ublEmailAttachment, documentEmailAttachment, emailStyleCustom, customMessageDashboard, customMessageUnpaidInvoice, customMessagePaidInvoice, customMessageUnapprovedQuote, autoArchiveInvoice, autoArchiveInvoiceCancelled, autoArchiveQuote, autoEmailInvoice, autoConvertQuote, enableInclusiveTaxes, translations, taskNumberPattern, taskNumberCounter, expenseNumberPattern, expenseNumberCounter, recurringExpenseNumberPattern, recurringExpenseNumberCounter, vendorNumberPattern, vendorNumberCounter, ticketNumberPattern, ticketNumberCounter, paymentNumberPattern, paymentNumberCounter, projectNumberPattern, projectNumberCounter, invoiceNumberPattern, invoiceNumberCounter, recurringInvoiceNumberPattern, recurringInvoiceNumberCounter, quoteNumberPattern, quoteNumberCounter, clientNumberPattern, clientNumberCounter, creditNumberPattern, creditNumberCounter, recurringNumberPrefix, resetCounterFrequencyId, resetCounterDate, counterPadding, sharedInvoiceQuoteCounter, sharedInvoiceCreditCounter, defaultInvoiceTerms, defaultQuoteTerms, defaultQuoteFooter, defaultCreditTerms, defaultCreditFooter, defaultInvoiceDesignId, defaultQuoteDesignId, defaultCreditDesignId, defaultDeliveryNoteDesignId, defaultStatementDesignId, defaultPaymentReceiptDesignId, defaultPaymentRefundDesignId, defaultInvoiceFooter, defaultTaxName1, defaultTaxRate1, defaultTaxName2, defaultTaxRate2, defaultTaxName3, defaultTaxRate3, defaultPaymentTypeId, pdfVariables, emailSignature, emailSubjectInvoice, emailSubjectQuote, emailSubjectCredit, emailSubjectPayment, emailSubjectPaymentPartial, emailBodyInvoice, emailBodyQuote, emailBodyCredit, emailBodyPayment, emailBodyPaymentPartial, emailSubjectReminder1, emailSubjectReminder2, emailSubjectReminder3, emailBodyReminder1, emailBodyReminder2, emailBodyReminder3, emailSubjectCustom1, emailBodyCustom1, emailSubjectCustom2, emailBodyCustom2, emailSubjectCustom3, emailBodyCustom3, emailSubjectStatement, emailBodyStatement, emailSubjectPurchaseOrder, emailBodyPurchaseOrder, enablePortalPassword, signatureOnPdf, enableEmailMarkup, showAcceptInvoiceTerms, showAcceptQuoteTerms, requireInvoiceSignature, requireQuoteSignature, $name, companyLogo, website, address1, address2, city, state, postalCode, phone, email, countryId, vatNumber, idNumber, pageSize, pageLayout, fontSize, primaryColor, secondaryColor, primaryFont, secondaryFont, hidePaidToDate, embedDocuments, allPagesHeader, allPagesFooter, enableReminder1, enableReminder2, enableReminder3, enableReminderEndless, numDaysReminder1, numDaysReminder2, numDaysReminder3, scheduleReminder1, scheduleReminder2, scheduleReminder3, endlessReminderFrequencyId, lateFeeAmount1, lateFeeAmount2, lateFeeAmount3, lateFeeAmountEndless, lateFeePercent1, lateFeePercent2, lateFeePercent3, lateFeePercentEndless, emailSubjectReminderEndless, emailBodyReminderEndless, clientOnlinePaymentNotification, clientManualPaymentNotification, clientMarkPaidPaymentNotification, counterNumberApplied, emailSendingMethod, gmailSendingUserId, clientPortalTerms, clientPortalPrivacy, lockInvoices, autoBill, autoBillStandardInvoices, clientPortalAllowUnderPayment, clientPortalAllowOverPayment, autoBillDate, clientPortalUnderPaymentMinimum, useCreditsPayment, clientPortalCustomHeader, clientPortalCustomCss, clientPortalCustomFooter, clientPortalCustomJs, hideEmptyColumnsOnPdf, entitySendTime, clientPortalTasks, pageNumbering, pageNumberingAlignment, requirePurchaseOrderSignature, defaultPurchaseOrderTerms, defaultPurchaseOrderDesignId, defaultPurchaseOrderFooter, purchaseOrderNumberPattern, purchaseOrderNumberCounter, qrIban, besrId, postmarkSecret, mailgunSecret, mailgunDomain, mailgunEndpoint, emailAlignment, showEmailFooter, companyLogoSize, showPaidStamp, showShippingAddress, customSendingEmail, acceptPurchaseOrderNumber, clientInitiatedPayments, clientInitiatedPaymentsMinimum, shareInvoiceQuoteColumns, allowBillableTaskItems, showTaskItemDescription, enableEInvoice, eInvoiceType, eQuoteType, defaultExpensePaymentTypeId, classification, paymentEmailAllContacts, showPdfhtmlOnMobile, enableRappenRounding, useUnappliedPayment, brevoSecret, taskRoundUp, taskRoundToNearest, emailBodyQuoteReminder1, emailSubjectQuoteReminder1, enableQuoteReminder1, numDaysQuoteReminder1, scheduleQuoteReminder1, quoteLateFeeAmount1, quoteLateFeePercent1, mergeEInvoiceToPdf, paymentFlow, emailSubjectPaymentFailed, emailBodyPaymentFailed, enableClientProfileUpdate, preferenceProductNotesForHtmlView); }, _$PdfPreviewRequest$_(clientId, entityType, groupId, settings, settingsType) { var _s17_ = "PdfPreviewRequest"; A.BuiltValueNullFieldError_checkNotNull(entityType, _s17_, "entityType"); A.BuiltValueNullFieldError_checkNotNull(settingsType, _s17_, "settingsType"); A.BuiltValueNullFieldError_checkNotNull(settings, _s17_, "settings"); A.BuiltValueNullFieldError_checkNotNull(groupId, _s17_, "groupId"); A.BuiltValueNullFieldError_checkNotNull(clientId, _s17_, "clientId"); return new A._$PdfPreviewRequest(entityType, settingsType, settings, groupId, clientId); }, SettingsEntity: function SettingsEntity() { }, SettingsEntity_setFieldsForSection_closure: function SettingsEntity_setFieldsForSection_closure(t0, t1) { this.section = t0; this.fields = t1; }, SettingsEntity_setFieldsForSection_closure0: function SettingsEntity_setFieldsForSection_closure0(t0, t1) { this.section = t0; this.fields = t1; }, PdfPreviewRequest: function PdfPreviewRequest() { }, _$SettingsEntitySerializer: function _$SettingsEntitySerializer() { }, _$PdfPreviewRequestSerializer: function _$PdfPreviewRequestSerializer() { }, _$SettingsEntity: function _$SettingsEntity(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, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t82, t83, t84, t85, t86, t87, t88, t89, t90, t91, t92, t93, t94, t95, t96, t97, t98, t99, t100, t101, t102, t103, t104, t105, t106, t107, t108, t109, t110, t111, t112, t113, t114, t115, t116, t117, t118, t119, t120, t121, t122, t123, t124, t125, t126, t127, t128, t129, t130, t131, t132, t133, t134, t135, t136, t137, t138, t139, t140, t141, t142, t143, t144, t145, t146, t147, t148, t149, t150, t151, t152, t153, t154, t155, t156, t157, t158, t159, t160, t161, t162, t163, t164, t165, t166, t167, t168, t169, t170, t171, t172, t173, t174, t175, t176, t177, t178, t179, t180, t181, t182, t183, t184, t185, t186, t187, t188, t189, t190, t191, t192, t193, t194, t195, t196, t197, t198, t199, t200, t201, t202, t203, t204, t205, t206, t207, t208, t209, t210, t211, t212, t213, t214, t215, t216, t217, t218, t219, t220, t221, t222, t223, t224, t225, t226, t227, t228, t229, t230, t231, t232, t233, t234, t235, t236, t237, t238, t239, t240, t241, t242, t243) { var _ = this; _.timezoneId = t0; _.dateFormatId = t1; _.enableMilitaryTime = t2; _.languageId = t3; _.showCurrencyCode = t4; _.currencyId = t5; _.customValue1 = t6; _.customValue2 = t7; _.customValue3 = t8; _.customValue4 = t9; _.defaultPaymentTerms = t10; _.defaultValidUntil = t11; _.companyGatewayIds = t12; _.defaultTaskRate = t13; _.sendReminders = t14; _.enablePortal = t15; _.enablePortalDashboard = t16; _.enablePortalTasks = t17; _.enableClientPortalUploads = t18; _.enableVendorPortalUploads = t19; _.emailStyle = t20; _.replyToEmail = t21; _.replyToName = t22; _.emailFromName = t23; _.bccEmail = t24; _.pdfEmailAttachment = t25; _.ublEmailAttachment = t26; _.documentEmailAttachment = t27; _.emailStyleCustom = t28; _.customMessageDashboard = t29; _.customMessageUnpaidInvoice = t30; _.customMessagePaidInvoice = t31; _.customMessageUnapprovedQuote = t32; _.autoArchiveInvoice = t33; _.autoArchiveInvoiceCancelled = t34; _.autoArchiveQuote = t35; _.autoEmailInvoice = t36; _.autoConvertQuote = t37; _.enableInclusiveTaxes = t38; _.translations = t39; _.taskNumberPattern = t40; _.taskNumberCounter = t41; _.expenseNumberPattern = t42; _.expenseNumberCounter = t43; _.recurringExpenseNumberPattern = t44; _.recurringExpenseNumberCounter = t45; _.vendorNumberPattern = t46; _.vendorNumberCounter = t47; _.ticketNumberPattern = t48; _.ticketNumberCounter = t49; _.paymentNumberPattern = t50; _.paymentNumberCounter = t51; _.projectNumberPattern = t52; _.projectNumberCounter = t53; _.invoiceNumberPattern = t54; _.invoiceNumberCounter = t55; _.recurringInvoiceNumberPattern = t56; _.recurringInvoiceNumberCounter = t57; _.quoteNumberPattern = t58; _.quoteNumberCounter = t59; _.clientNumberPattern = t60; _.clientNumberCounter = t61; _.creditNumberPattern = t62; _.creditNumberCounter = t63; _.recurringNumberPrefix = t64; _.resetCounterFrequencyId = t65; _.resetCounterDate = t66; _.counterPadding = t67; _.sharedInvoiceQuoteCounter = t68; _.sharedInvoiceCreditCounter = t69; _.defaultInvoiceTerms = t70; _.defaultQuoteTerms = t71; _.defaultQuoteFooter = t72; _.defaultCreditTerms = t73; _.defaultCreditFooter = t74; _.defaultInvoiceDesignId = t75; _.defaultQuoteDesignId = t76; _.defaultCreditDesignId = t77; _.defaultDeliveryNoteDesignId = t78; _.defaultStatementDesignId = t79; _.defaultPaymentReceiptDesignId = t80; _.defaultPaymentRefundDesignId = t81; _.defaultInvoiceFooter = t82; _.defaultTaxName1 = t83; _.defaultTaxRate1 = t84; _.defaultTaxName2 = t85; _.defaultTaxRate2 = t86; _.defaultTaxName3 = t87; _.defaultTaxRate3 = t88; _.defaultPaymentTypeId = t89; _.pdfVariables = t90; _.emailSignature = t91; _.emailSubjectInvoice = t92; _.emailSubjectQuote = t93; _.emailSubjectCredit = t94; _.emailSubjectPayment = t95; _.emailSubjectPaymentPartial = t96; _.emailBodyInvoice = t97; _.emailBodyQuote = t98; _.emailBodyCredit = t99; _.emailBodyPayment = t100; _.emailBodyPaymentPartial = t101; _.emailSubjectReminder1 = t102; _.emailSubjectReminder2 = t103; _.emailSubjectReminder3 = t104; _.emailBodyReminder1 = t105; _.emailBodyReminder2 = t106; _.emailBodyReminder3 = t107; _.emailSubjectCustom1 = t108; _.emailBodyCustom1 = t109; _.emailSubjectCustom2 = t110; _.emailBodyCustom2 = t111; _.emailSubjectCustom3 = t112; _.emailBodyCustom3 = t113; _.emailSubjectStatement = t114; _.emailBodyStatement = t115; _.emailSubjectPurchaseOrder = t116; _.emailBodyPurchaseOrder = t117; _.enablePortalPassword = t118; _.signatureOnPdf = t119; _.enableEmailMarkup = t120; _.showAcceptInvoiceTerms = t121; _.showAcceptQuoteTerms = t122; _.requireInvoiceSignature = t123; _.requireQuoteSignature = t124; _.name = t125; _.companyLogo = t126; _.website = t127; _.address1 = t128; _.address2 = t129; _.city = t130; _.state = t131; _.postalCode = t132; _.phone = t133; _.email = t134; _.countryId = t135; _.vatNumber = t136; _.idNumber = t137; _.pageSize = t138; _.pageLayout = t139; _.fontSize = t140; _.primaryColor = t141; _.secondaryColor = t142; _.primaryFont = t143; _.secondaryFont = t144; _.hidePaidToDate = t145; _.embedDocuments = t146; _.allPagesHeader = t147; _.allPagesFooter = t148; _.enableReminder1 = t149; _.enableReminder2 = t150; _.enableReminder3 = t151; _.enableReminderEndless = t152; _.numDaysReminder1 = t153; _.numDaysReminder2 = t154; _.numDaysReminder3 = t155; _.scheduleReminder1 = t156; _.scheduleReminder2 = t157; _.scheduleReminder3 = t158; _.endlessReminderFrequencyId = t159; _.lateFeeAmount1 = t160; _.lateFeeAmount2 = t161; _.lateFeeAmount3 = t162; _.lateFeeAmountEndless = t163; _.lateFeePercent1 = t164; _.lateFeePercent2 = t165; _.lateFeePercent3 = t166; _.lateFeePercentEndless = t167; _.emailSubjectReminderEndless = t168; _.emailBodyReminderEndless = t169; _.clientOnlinePaymentNotification = t170; _.clientManualPaymentNotification = t171; _.clientMarkPaidPaymentNotification = t172; _.counterNumberApplied = t173; _.emailSendingMethod = t174; _.gmailSendingUserId = t175; _.clientPortalTerms = t176; _.clientPortalPrivacy = t177; _.lockInvoices = t178; _.autoBill = t179; _.autoBillStandardInvoices = t180; _.clientPortalAllowUnderPayment = t181; _.clientPortalAllowOverPayment = t182; _.autoBillDate = t183; _.clientPortalUnderPaymentMinimum = t184; _.useCreditsPayment = t185; _.clientPortalCustomHeader = t186; _.clientPortalCustomCss = t187; _.clientPortalCustomFooter = t188; _.clientPortalCustomJs = t189; _.hideEmptyColumnsOnPdf = t190; _.entitySendTime = t191; _.clientPortalTasks = t192; _.pageNumbering = t193; _.pageNumberingAlignment = t194; _.requirePurchaseOrderSignature = t195; _.defaultPurchaseOrderTerms = t196; _.defaultPurchaseOrderDesignId = t197; _.defaultPurchaseOrderFooter = t198; _.purchaseOrderNumberPattern = t199; _.purchaseOrderNumberCounter = t200; _.qrIban = t201; _.besrId = t202; _.postmarkSecret = t203; _.mailgunSecret = t204; _.mailgunDomain = t205; _.mailgunEndpoint = t206; _.emailAlignment = t207; _.showEmailFooter = t208; _.companyLogoSize = t209; _.showPaidStamp = t210; _.showShippingAddress = t211; _.customSendingEmail = t212; _.acceptPurchaseOrderNumber = t213; _.clientInitiatedPayments = t214; _.clientInitiatedPaymentsMinimum = t215; _.shareInvoiceQuoteColumns = t216; _.allowBillableTaskItems = t217; _.showTaskItemDescription = t218; _.enableEInvoice = t219; _.eInvoiceType = t220; _.eQuoteType = t221; _.defaultExpensePaymentTypeId = t222; _.classification = t223; _.paymentEmailAllContacts = t224; _.showPdfhtmlOnMobile = t225; _.enableRappenRounding = t226; _.useUnappliedPayment = t227; _.brevoSecret = t228; _.taskRoundUp = t229; _.taskRoundToNearest = t230; _.emailBodyQuoteReminder1 = t231; _.emailSubjectQuoteReminder1 = t232; _.enableQuoteReminder1 = t233; _.numDaysQuoteReminder1 = t234; _.scheduleQuoteReminder1 = t235; _.quoteLateFeeAmount1 = t236; _.quoteLateFeePercent1 = t237; _.mergeEInvoiceToPdf = t238; _.paymentFlow = t239; _.emailSubjectPaymentFailed = t240; _.emailBodyPaymentFailed = t241; _.enableClientProfileUpdate = t242; _.preferenceProductNotesForHtmlView = t243; _._settings_model$__hashCode = null; }, SettingsEntityBuilder: function SettingsEntityBuilder() { var _ = this; _._emailStyleCustom = _._documentEmailAttachment = _._ublEmailAttachment = _._pdfEmailAttachment = _._bccEmail = _._emailFromName = _._replyToName = _._replyToEmail = _._emailStyle = _._enableVendorPortalUploads = _._enableClientPortalUploads = _._enablePortalTasks = _._enablePortalDashboard = _._enablePortal = _._sendReminders = _._defaultTaskRate = _._companyGatewayIds = _._defaultValidUntil = _._defaultPaymentTerms = _._settings_model$_customValue4 = _._settings_model$_customValue3 = _._settings_model$_customValue2 = _._settings_model$_customValue1 = _._currencyId = _._showCurrencyCode = _._settings_model$_languageId = _._enableMilitaryTime = _._dateFormatId = _._timezoneId = _._settings_model$_$v = null; _._quoteNumberPattern = _._recurringInvoiceNumberCounter = _._recurringInvoiceNumberPattern = _._invoiceNumberCounter = _._invoiceNumberPattern = _._projectNumberCounter = _._projectNumberPattern = _._paymentNumberCounter = _._paymentNumberPattern = _._ticketNumberCounter = _._ticketNumberPattern = _._vendorNumberCounter = _._vendorNumberPattern = _._recurringExpenseNumberCounter = _._recurringExpenseNumberPattern = _._expenseNumberCounter = _._expenseNumberPattern = _._taskNumberCounter = _._taskNumberPattern = _._translations = _._enableInclusiveTaxes = _._autoConvertQuote = _._autoEmailInvoice = _._autoArchiveQuote = _._autoArchiveInvoiceCancelled = _._autoArchiveInvoice = _._customMessageUnapprovedQuote = _._customMessagePaidInvoice = _._customMessageUnpaidInvoice = _._customMessageDashboard = null; _._defaultTaxRate3 = _._defaultTaxName3 = _._defaultTaxRate2 = _._defaultTaxName2 = _._defaultTaxRate1 = _._defaultTaxName1 = _._defaultInvoiceFooter = _._defaultPaymentRefundDesignId = _._defaultPaymentReceiptDesignId = _._defaultStatementDesignId = _._defaultDeliveryNoteDesignId = _._defaultCreditDesignId = _._defaultQuoteDesignId = _._defaultInvoiceDesignId = _._defaultCreditFooter = _._defaultCreditTerms = _._defaultQuoteFooter = _._defaultQuoteTerms = _._defaultInvoiceTerms = _._sharedInvoiceCreditCounter = _._sharedInvoiceQuoteCounter = _._counterPadding = _._resetCounterDate = _._resetCounterFrequencyId = _._recurringNumberPrefix = _._creditNumberCounter = _._creditNumberPattern = _._clientNumberCounter = _._clientNumberPattern = _._quoteNumberCounter = null; _._enablePortalPassword = _._emailBodyPurchaseOrder = _._emailSubjectPurchaseOrder = _._emailBodyStatement = _._emailSubjectStatement = _._emailBodyCustom3 = _._emailSubjectCustom3 = _._emailBodyCustom2 = _._emailSubjectCustom2 = _._emailBodyCustom1 = _._emailSubjectCustom1 = _._emailBodyReminder3 = _._emailBodyReminder2 = _._emailBodyReminder1 = _._emailSubjectReminder3 = _._emailSubjectReminder2 = _._emailSubjectReminder1 = _._emailBodyPaymentPartial = _._emailBodyPayment = _._emailBodyCredit = _._emailBodyQuote = _._emailBodyInvoice = _._emailSubjectPaymentPartial = _._emailSubjectPayment = _._emailSubjectCredit = _._emailSubjectQuote = _._emailSubjectInvoice = _._emailSignature = _._pdfVariables = _._defaultPaymentTypeId = null; _._allPagesFooter = _._allPagesHeader = _._embedDocuments = _._hidePaidToDate = _._secondaryFont = _._primaryFont = _._secondaryColor = _._primaryColor = _._fontSize = _._pageLayout = _._pageSize = _._settings_model$_idNumber = _._settings_model$_vatNumber = _._settings_model$_countryId = _._settings_model$_email = _._settings_model$_phone = _._settings_model$_postalCode = _._settings_model$_state = _._settings_model$_city = _._settings_model$_address2 = _._settings_model$_address1 = _._settings_model$_website = _._companyLogo = _._settings_model$_name = _._requireQuoteSignature = _._requireInvoiceSignature = _._showAcceptQuoteTerms = _._showAcceptInvoiceTerms = _._enableEmailMarkup = _._signatureOnPdf = null; _._lockInvoices = _._clientPortalPrivacy = _._clientPortalTerms = _._gmailSendingUserId = _._emailSendingMethod = _._counterNumberApplied = _._clientMarkPaidPaymentNotification = _._clientManualPaymentNotification = _._clientOnlinePaymentNotification = _._emailBodyReminderEndless = _._emailSubjectReminderEndless = _._lateFeePercentEndless = _._lateFeePercent3 = _._lateFeePercent2 = _._lateFeePercent1 = _._lateFeeAmountEndless = _._lateFeeAmount3 = _._lateFeeAmount2 = _._lateFeeAmount1 = _._endlessReminderFrequencyId = _._scheduleReminder3 = _._scheduleReminder2 = _._scheduleReminder1 = _._numDaysReminder3 = _._numDaysReminder2 = _._numDaysReminder1 = _._enableReminderEndless = _._enableReminder3 = _._enableReminder2 = _._enableReminder1 = null; _._showEmailFooter = _._emailAlignment = _._mailgunEndpoint = _._mailgunDomain = _._mailgunSecret = _._postmarkSecret = _._besrId = _._qrIban = _._purchaseOrderNumberCounter = _._purchaseOrderNumberPattern = _._defaultPurchaseOrderFooter = _._defaultPurchaseOrderDesignId = _._defaultPurchaseOrderTerms = _._requirePurchaseOrderSignature = _._pageNumberingAlignment = _._pageNumbering = _._clientPortalTasks = _._entitySendTime = _._hideEmptyColumnsOnPdf = _._clientPortalCustomJs = _._clientPortalCustomFooter = _._clientPortalCustomCss = _._clientPortalCustomHeader = _._useCreditsPayment = _._clientPortalUnderPaymentMinimum = _._autoBillDate = _._clientPortalAllowOverPayment = _._clientPortalAllowUnderPayment = _._autoBillStandardInvoices = _._autoBill = null; _._mergeEInvoiceToPdf = _._quoteLateFeePercent1 = _._quoteLateFeeAmount1 = _._scheduleQuoteReminder1 = _._numDaysQuoteReminder1 = _._enableQuoteReminder1 = _._emailSubjectQuoteReminder1 = _._emailBodyQuoteReminder1 = _._taskRoundToNearest = _._taskRoundUp = _._brevoSecret = _._useUnappliedPayment = _._enableRappenRounding = _._showPdfhtmlOnMobile = _._paymentEmailAllContacts = _._settings_model$_classification = _._defaultExpensePaymentTypeId = _._eQuoteType = _._eInvoiceType = _._enableEInvoice = _._showTaskItemDescription = _._allowBillableTaskItems = _._shareInvoiceQuoteColumns = _._clientInitiatedPaymentsMinimum = _._clientInitiatedPayments = _._acceptPurchaseOrderNumber = _._customSendingEmail = _._showShippingAddress = _._showPaidStamp = _._companyLogoSize = null; _._preferenceProductNotesForHtmlView = _._enableClientProfileUpdate = _._emailBodyPaymentFailed = _._emailSubjectPaymentFailed = _._paymentFlow = null; }, _$PdfPreviewRequest: function _$PdfPreviewRequest(t0, t1, t2, t3, t4) { var _ = this; _.entityType = t0; _.settingsType = t1; _.settings = t2; _.groupId = t3; _.clientId = t4; _._settings_model$__hashCode = null; }, PdfPreviewRequestBuilder: function PdfPreviewRequestBuilder() { var _ = this; _._settings_model$_clientId = _._settings_model$_groupId = _._settings_model$_settings = _._settingsType = _._settings_model$_entityType = _._settings_model$_$v = null; }, ColorTheme$(colorDanger, colorInfo, colorPrimary, colorSuccess, colorWarning) { return new A.ColorTheme(colorPrimary, colorInfo, colorSuccess, colorWarning, colorDanger); }, ColorTheme: function ColorTheme(t0, t1, t2, t3, t4) { var _ = this; _.colorPrimary = t0; _.colorInfo = t1; _.colorSuccess = t2; _.colorWarning = t3; _.colorDanger = t4; }, CountryEntity_CountryEntity() { return A._$CountryEntity$_("", "", "", "", "", false, false, ""); }, _$CountryEntity$_(decimalSeparator, id, iso2, iso3, $name, swapCurrencySymbol, swapPostalCode, thousandSeparator) { var _s13_ = "CountryEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s13_, "name"); A.BuiltValueNullFieldError_checkNotNull(swapPostalCode, _s13_, "swapPostalCode"); A.BuiltValueNullFieldError_checkNotNull(swapCurrencySymbol, _s13_, "swapCurrencySymbol"); A.BuiltValueNullFieldError_checkNotNull(thousandSeparator, _s13_, "thousandSeparator"); A.BuiltValueNullFieldError_checkNotNull(decimalSeparator, _s13_, "decimalSeparator"); A.BuiltValueNullFieldError_checkNotNull(iso2, _s13_, "iso2"); A.BuiltValueNullFieldError_checkNotNull(iso3, _s13_, "iso3"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$CountryEntity($name, swapPostalCode, swapCurrencySymbol, thousandSeparator, decimalSeparator, iso2, iso3, id); }, CountryListResponse: function CountryListResponse() { }, CountryItemResponse: function CountryItemResponse() { }, CountryEntity: function CountryEntity() { }, _$CountryListResponseSerializer: function _$CountryListResponseSerializer() { }, _$CountryItemResponseSerializer: function _$CountryItemResponseSerializer() { }, _$CountryEntitySerializer: function _$CountryEntitySerializer() { }, _$CountryListResponse: function _$CountryListResponse(t0) { this.data = t0; this._country_model$__hashCode = null; }, CountryListResponseBuilder: function CountryListResponseBuilder() { this._country_model$_data = this._country_model$_$v = null; }, _$CountryItemResponse: function _$CountryItemResponse(t0) { this.data = t0; this._country_model$__hashCode = null; }, CountryItemResponseBuilder: function CountryItemResponseBuilder() { this._country_model$_data = this._country_model$_$v = null; }, _$CountryEntity: function _$CountryEntity(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.name = t0; _.swapPostalCode = t1; _.swapCurrencySymbol = t2; _.thousandSeparator = t3; _.decimalSeparator = t4; _.iso2 = t5; _.iso3 = t6; _.id = t7; _._country_model$__hashCode = null; }, CountryEntityBuilder: function CountryEntityBuilder() { var _ = this; _._country_model$_id = _._iso3 = _._iso2 = _._decimalSeparator = _._thousandSeparator = _._swapCurrencySymbol = _._swapPostalCode = _._country_model$_name = _._country_model$_$v = null; }, _CountryEntity_Object_SelectableEntity: function _CountryEntity_Object_SelectableEntity() { }, CurrencyEntity_CurrencyEntity() { return A._$CurrencyEntity$_("", "", 0, "", "", 2, false, "", ""); }, _$CurrencyEntity$_(code, decimalSeparator, exchangeRate, id, $name, precision, swapCurrencySymbol, symbol, thousandSeparator) { var _s14_ = "CurrencyEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s14_, "name"); A.BuiltValueNullFieldError_checkNotNull(symbol, _s14_, "symbol"); A.BuiltValueNullFieldError_checkNotNull(precision, _s14_, "precision"); A.BuiltValueNullFieldError_checkNotNull(thousandSeparator, _s14_, "thousandSeparator"); A.BuiltValueNullFieldError_checkNotNull(decimalSeparator, _s14_, "decimalSeparator"); A.BuiltValueNullFieldError_checkNotNull(code, _s14_, "code"); A.BuiltValueNullFieldError_checkNotNull(swapCurrencySymbol, _s14_, "swapCurrencySymbol"); A.BuiltValueNullFieldError_checkNotNull(exchangeRate, _s14_, "exchangeRate"); A.BuiltValueNullFieldError_checkNotNull(id, _s14_, "id"); return new A._$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 = _._currency_model$_swapCurrencySymbol = _._code = _._currency_model$_decimalSeparator = _._currency_model$_thousandSeparator = _._precision = _._symbol = _._currency_model$_name = _._currency_model$_$v = null; }, _CurrencyEntity_Object_SelectableEntity: function _CurrencyEntity_Object_SelectableEntity() { }, DateFormatListResponse: function DateFormatListResponse() { }, DateFormatItemResponse: function DateFormatItemResponse() { }, DateFormatEntity: function DateFormatEntity() { }, _$DateFormatListResponseSerializer: function _$DateFormatListResponseSerializer() { }, _$DateFormatItemResponseSerializer: function _$DateFormatItemResponseSerializer() { }, _$DateFormatEntitySerializer: function _$DateFormatEntitySerializer() { }, _$DateFormatListResponse: function _$DateFormatListResponse(t0) { this.data = t0; this._date_format_model$__hashCode = null; }, DateFormatListResponseBuilder: function DateFormatListResponseBuilder() { this._date_format_model$_data = this._date_format_model$_$v = null; }, _$DateFormatItemResponse: function _$DateFormatItemResponse(t0) { this.data = t0; this._date_format_model$__hashCode = null; }, DateFormatItemResponseBuilder: function DateFormatItemResponseBuilder() { this._date_format_model$_data = this._date_format_model$_$v = null; }, _$DateFormatEntity: function _$DateFormatEntity(t0, t1) { this.format = t0; this.id = t1; this._date_format_model$__hashCode = null; }, DateFormatEntityBuilder: function DateFormatEntityBuilder() { this._date_format_model$_id = this._date_format_model$_format = this._date_format_model$_$v = null; }, _DateFormatEntity_Object_SelectableEntity: function _DateFormatEntity_Object_SelectableEntity() { }, DatetimeFormatListResponse: function DatetimeFormatListResponse() { }, DatetimeFormatItemResponse: function DatetimeFormatItemResponse() { }, DatetimeFormatEntity: function DatetimeFormatEntity() { }, _$DatetimeFormatListResponseSerializer: function _$DatetimeFormatListResponseSerializer() { }, _$DatetimeFormatItemResponseSerializer: function _$DatetimeFormatItemResponseSerializer() { }, _$DatetimeFormatEntitySerializer: function _$DatetimeFormatEntitySerializer() { }, _$DatetimeFormatListResponse: function _$DatetimeFormatListResponse(t0) { this.data = t0; this._datetime_format_model$__hashCode = null; }, DatetimeFormatListResponseBuilder: function DatetimeFormatListResponseBuilder() { this._datetime_format_model$_data = this._datetime_format_model$_$v = null; }, _$DatetimeFormatItemResponse: function _$DatetimeFormatItemResponse(t0) { this.data = t0; this._datetime_format_model$__hashCode = null; }, DatetimeFormatItemResponseBuilder: function DatetimeFormatItemResponseBuilder() { this._datetime_format_model$_data = this._datetime_format_model$_$v = null; }, _$DatetimeFormatEntity: function _$DatetimeFormatEntity(t0, t1) { this.id = t0; this.format = t1; this._datetime_format_model$__hashCode = null; }, DatetimeFormatEntityBuilder: function DatetimeFormatEntityBuilder() { this._datetime_format_model$_format = this._datetime_format_model$_id = this._datetime_format_model$_$v = null; }, _$DocumentStatusEntity$_(id, $name) { var _s20_ = "DocumentStatusEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s20_, "id"); A.BuiltValueNullFieldError_checkNotNull($name, _s20_, "name"); return new A._$DocumentStatusEntity(id, $name); }, DocumentStatusEntity: function DocumentStatusEntity() { }, _$DocumentStatusEntity: function _$DocumentStatusEntity(t0, t1) { this.id = t0; this.name = t1; this._document_status_model$__hashCode = null; }, DocumentStatusEntityBuilder: function DocumentStatusEntityBuilder() { this._document_status_model$_name = this._document_status_model$_id = this._document_status_model$_$v = null; }, _DocumentStatusEntity_Object_EntityStatus: function _DocumentStatusEntity_Object_EntityStatus() { }, _DocumentStatusEntity_Object_EntityStatus_SelectableEntity: function _DocumentStatusEntity_Object_EntityStatus_SelectableEntity() { }, FontEntity: function FontEntity() { }, _$FontEntity: function _$FontEntity(t0, t1) { this.name = t0; this.id = t1; this._font_model$__hashCode = null; }, _FontEntity_Object_SelectableEntity: function _FontEntity_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() { }, _$InvoiceStatusEntity$_(id, $name) { var _s19_ = "InvoiceStatusEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s19_, "id"); A.BuiltValueNullFieldError_checkNotNull($name, _s19_, "name"); return new A._$InvoiceStatusEntity(id, $name); }, InvoiceStatusEntity: function InvoiceStatusEntity() { }, _$InvoiceStatusEntitySerializer: function _$InvoiceStatusEntitySerializer() { }, _$InvoiceStatusEntity: function _$InvoiceStatusEntity(t0, t1) { this.id = t0; this.name = t1; this._invoice_status_model$__hashCode = null; }, InvoiceStatusEntityBuilder: function InvoiceStatusEntityBuilder() { this._invoice_status_model$_name = this._invoice_status_model$_id = this._invoice_status_model$_$v = null; }, _InvoiceStatusEntity_Object_EntityStatus: function _InvoiceStatusEntity_Object_EntityStatus() { }, _InvoiceStatusEntity_Object_EntityStatus_SelectableEntity: function _InvoiceStatusEntity_Object_EntityStatus_SelectableEntity() { }, _$LanguageEntity$_(id, locale, $name) { var _s14_ = "LanguageEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s14_, "name"); A.BuiltValueNullFieldError_checkNotNull(locale, _s14_, "locale"); A.BuiltValueNullFieldError_checkNotNull(id, _s14_, "id"); return new A._$LanguageEntity($name, locale, id); }, LanguageListResponse: function LanguageListResponse() { }, LanguageItemResponse: function LanguageItemResponse() { }, LanguageEntity: function LanguageEntity() { }, _$LanguageListResponseSerializer: function _$LanguageListResponseSerializer() { }, _$LanguageItemResponseSerializer: function _$LanguageItemResponseSerializer() { }, _$LanguageEntitySerializer: function _$LanguageEntitySerializer() { }, _$LanguageListResponse: function _$LanguageListResponse(t0) { this.data = t0; this._language_model$__hashCode = null; }, LanguageListResponseBuilder: function LanguageListResponseBuilder() { this._language_model$_data = this._language_model$_$v = null; }, _$LanguageItemResponse: function _$LanguageItemResponse(t0) { this.data = t0; this._language_model$__hashCode = null; }, LanguageItemResponseBuilder: function LanguageItemResponseBuilder() { this._language_model$_data = this._language_model$_$v = null; }, _$LanguageEntity: function _$LanguageEntity(t0, t1, t2) { var _ = this; _.name = t0; _.locale = t1; _.id = t2; _._language_model$__hashCode = null; }, LanguageEntityBuilder: function LanguageEntityBuilder() { var _ = this; _._language_model$_id = _._language_model$_locale = _._language_model$_name = _._language_model$_$v = null; }, _LanguageEntity_Object_SelectableEntity: function _LanguageEntity_Object_SelectableEntity() { }, _$PaymentStatusEntity$_(id, $name) { var _s19_ = "PaymentStatusEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s19_, "id"); A.BuiltValueNullFieldError_checkNotNull($name, _s19_, "name"); return new A._$PaymentStatusEntity(id, $name); }, PaymentStatusEntity: function PaymentStatusEntity() { }, _$PaymentStatusEntity: function _$PaymentStatusEntity(t0, t1) { this.id = t0; this.name = t1; this._payment_status_model$__hashCode = null; }, PaymentStatusEntityBuilder: function PaymentStatusEntityBuilder() { this._payment_status_model$_name = this._payment_status_model$_id = this._payment_status_model$_$v = null; }, _PaymentStatusEntity_Object_EntityStatus: function _PaymentStatusEntity_Object_EntityStatus() { }, _PaymentStatusEntity_Object_EntityStatus_SelectableEntity: function _PaymentStatusEntity_Object_EntityStatus_SelectableEntity() { }, _$PaymentTypeEntity$_(id, $name) { var _s17_ = "PaymentTypeEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s17_, "name"); A.BuiltValueNullFieldError_checkNotNull(id, _s17_, "id"); return new A._$PaymentTypeEntity($name, id); }, 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() { }, 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() { }, StaticDataEntity__initializeBuilder(builder) { var t1 = type$.String; builder.get$bulkUpdates().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.List_String)); builder.get$eInvoiceSchema().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.EInvoiceFieldEntity)); return builder; }, _$TemplateEntity$_(body, subject) { var _s14_ = "TemplateEntity"; A.BuiltValueNullFieldError_checkNotNull(subject, _s14_, "subject"); A.BuiltValueNullFieldError_checkNotNull(body, _s14_, "body"); return new A._$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, t12) { var _ = this; _.currencies = t0; _.sizes = t1; _.industries = t2; _.timezones = t3; _.gateways = t4; _.dateFormats = t5; _.languages = t6; _.paymentTypes = t7; _.countries = t8; _.invoiceStatus = t9; _.bulkUpdates = t10; _.templates = t11; _.eInvoiceSchema = t12; _._static_data_model$__hashCode = null; }, StaticDataEntityBuilder: function StaticDataEntityBuilder() { var _ = this; _._static_data_model$_eInvoiceSchema = _._templates = _._static_data_model$_bulkUpdates = _._invoiceStatus = _._countries = _._paymentTypes = _._languages = _._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; }, TimezoneListResponse: function TimezoneListResponse() { }, TimezoneItemResponse: function TimezoneItemResponse() { }, TimezoneEntity: function TimezoneEntity() { }, _$TimezoneListResponseSerializer: function _$TimezoneListResponseSerializer() { }, _$TimezoneItemResponseSerializer: function _$TimezoneItemResponseSerializer() { }, _$TimezoneEntitySerializer: function _$TimezoneEntitySerializer() { }, _$TimezoneListResponse: function _$TimezoneListResponse(t0) { this.data = t0; this._timezone_model$__hashCode = null; }, TimezoneListResponseBuilder: function TimezoneListResponseBuilder() { this._timezone_model$_data = this._timezone_model$_$v = null; }, _$TimezoneItemResponse: function _$TimezoneItemResponse(t0) { this.data = t0; this._timezone_model$__hashCode = null; }, TimezoneItemResponseBuilder: function TimezoneItemResponseBuilder() { this._timezone_model$_data = this._timezone_model$_$v = null; }, _$TimezoneEntity: function _$TimezoneEntity(t0, t1, t2) { var _ = this; _.name = t0; _.location = t1; _.id = t2; _._timezone_model$__hashCode = null; }, TimezoneEntityBuilder: function TimezoneEntityBuilder() { var _ = this; _._timezone_model$_id = _._location = _._timezone_model$_name = _._timezone_model$_$v = null; }, _TimezoneEntity_Object_SelectableEntity: function _TimezoneEntity_Object_SelectableEntity() { }, SubscriptionEntity_SubscriptionEntity(id, state) { var t1, t2; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = type$.String; return A._$SubscriptionEntity$_(false, false, false, 0, "", "", 0, "", "", "", t1, true, false, false, 0, "", "", "", false, 0, "", "", 0, "", "", 0, false, -1, "cart,auth.login-or-register", 0, false, 0, false, A._$WebhookConfigurationEntity$_("", A.BuiltMap_BuiltMap(B.Map_empty1, t2, t2), "", "", "")); }, SubscriptionEntity__initializeBuilder(builder) { builder.get$_subscription_model$_$this()._optionalProductIds = ""; builder.get$_subscription_model$_$this()._optionalRecurringProductIds = ""; builder.get$_subscription_model$_$this()._subscription_model$_remainingCycles = -1; builder.get$_subscription_model$_$this()._registrationRequired = false; builder.get$_subscription_model$_$this()._useInventoryManagement = false; builder.get$_subscription_model$_$this()._steps = "cart,auth.login-or-register"; return builder; }, WebhookConfigurationEntity__initializeBuilder(builder) { var t1; builder.get$_subscription_model$_$this()._returnUrl = ""; builder.get$_subscription_model$_$this()._postPurchaseBody = ""; t1 = type$.String; builder.get$postPurchaseHeaders().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, t1)); builder.get$_subscription_model$_$this()._postPurchaseRestMethod = ""; builder.get$_subscription_model$_$this()._postPurchaseUrl = ""; return builder; }, _$SubscriptionEntity$_(allowCancellation, allowPlanChanges, allowQueryOverrides, archivedAt, assignedUserId, autoBill, createdAt, createdUserId, frequencyId, groupId, id, isAmountDiscount, isChanged, isDeleted, maxSeatsLimit, $name, optionalProductIds, optionalRecurringProductIds, perSeatEnabled, price, productIds, promoCode, promoDiscount, purchasePage, recurringProductIds, refundPeriod, registrationRequired, remainingCycles, steps, trialDuration, trialEnabled, updatedAt, useInventoryManagement, webhookConfiguration) { var _s18_ = "SubscriptionEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s18_, "name"); A.BuiltValueNullFieldError_checkNotNull(groupId, _s18_, "groupId"); A.BuiltValueNullFieldError_checkNotNull(productIds, _s18_, "productIds"); A.BuiltValueNullFieldError_checkNotNull(recurringProductIds, _s18_, "recurringProductIds"); A.BuiltValueNullFieldError_checkNotNull(optionalProductIds, _s18_, "optionalProductIds"); A.BuiltValueNullFieldError_checkNotNull(optionalRecurringProductIds, _s18_, "optionalRecurringProductIds"); A.BuiltValueNullFieldError_checkNotNull(registrationRequired, _s18_, "registrationRequired"); A.BuiltValueNullFieldError_checkNotNull(useInventoryManagement, _s18_, "useInventoryManagement"); A.BuiltValueNullFieldError_checkNotNull(frequencyId, _s18_, "frequencyId"); A.BuiltValueNullFieldError_checkNotNull(autoBill, _s18_, "autoBill"); A.BuiltValueNullFieldError_checkNotNull(promoCode, _s18_, "promoCode"); A.BuiltValueNullFieldError_checkNotNull(promoDiscount, _s18_, "promoDiscount"); A.BuiltValueNullFieldError_checkNotNull(price, _s18_, "price"); A.BuiltValueNullFieldError_checkNotNull(isAmountDiscount, _s18_, "isAmountDiscount"); A.BuiltValueNullFieldError_checkNotNull(allowCancellation, _s18_, "allowCancellation"); A.BuiltValueNullFieldError_checkNotNull(perSeatEnabled, _s18_, "perSeatEnabled"); A.BuiltValueNullFieldError_checkNotNull(maxSeatsLimit, _s18_, "maxSeatsLimit"); A.BuiltValueNullFieldError_checkNotNull(trialEnabled, _s18_, "trialEnabled"); A.BuiltValueNullFieldError_checkNotNull(trialDuration, _s18_, "trialDuration"); A.BuiltValueNullFieldError_checkNotNull(allowQueryOverrides, _s18_, "allowQueryOverrides"); A.BuiltValueNullFieldError_checkNotNull(allowPlanChanges, _s18_, "allowPlanChanges"); A.BuiltValueNullFieldError_checkNotNull(refundPeriod, _s18_, "refundPeriod"); A.BuiltValueNullFieldError_checkNotNull(webhookConfiguration, _s18_, "webhookConfiguration"); A.BuiltValueNullFieldError_checkNotNull(purchasePage, _s18_, "purchasePage"); A.BuiltValueNullFieldError_checkNotNull(steps, _s18_, "steps"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s18_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s18_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s18_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s18_, "id"); return new A._$SubscriptionEntity($name, groupId, productIds, recurringProductIds, optionalProductIds, optionalRecurringProductIds, registrationRequired, useInventoryManagement, remainingCycles, frequencyId, autoBill, promoCode, promoDiscount, price, isAmountDiscount, allowCancellation, perSeatEnabled, maxSeatsLimit, trialEnabled, trialDuration, allowQueryOverrides, allowPlanChanges, refundPeriod, webhookConfiguration, purchasePage, steps, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$WebhookConfigurationEntity$_(postPurchaseBody, postPurchaseHeaders, postPurchaseRestMethod, postPurchaseUrl, returnUrl) { var _s26_ = "WebhookConfigurationEntity"; A.BuiltValueNullFieldError_checkNotNull(returnUrl, _s26_, "returnUrl"); A.BuiltValueNullFieldError_checkNotNull(postPurchaseUrl, _s26_, "postPurchaseUrl"); A.BuiltValueNullFieldError_checkNotNull(postPurchaseRestMethod, _s26_, "postPurchaseRestMethod"); A.BuiltValueNullFieldError_checkNotNull(postPurchaseHeaders, _s26_, "postPurchaseHeaders"); A.BuiltValueNullFieldError_checkNotNull(postPurchaseBody, _s26_, "postPurchaseBody"); return new A._$WebhookConfigurationEntity(returnUrl, postPurchaseUrl, postPurchaseRestMethod, postPurchaseHeaders, postPurchaseBody); }, SubscriptionListResponse: function SubscriptionListResponse() { }, SubscriptionItemResponse: function SubscriptionItemResponse() { }, SubscriptionEntity: function SubscriptionEntity() { }, WebhookConfigurationEntity: function WebhookConfigurationEntity() { }, _$SubscriptionListResponseSerializer: function _$SubscriptionListResponseSerializer() { }, _$SubscriptionItemResponseSerializer: function _$SubscriptionItemResponseSerializer() { }, _$SubscriptionEntitySerializer: function _$SubscriptionEntitySerializer() { }, _$WebhookConfigurationEntitySerializer: function _$WebhookConfigurationEntitySerializer() { }, _$SubscriptionListResponse: function _$SubscriptionListResponse(t0) { this.data = t0; this._subscription_model$__hashCode = null; }, SubscriptionListResponseBuilder: function SubscriptionListResponseBuilder() { this._subscription_model$_data = this._subscription_model$_$v = null; }, _$SubscriptionItemResponse: function _$SubscriptionItemResponse(t0) { this.data = t0; this._subscription_model$__hashCode = null; }, SubscriptionItemResponseBuilder: function SubscriptionItemResponseBuilder() { this._subscription_model$_data = this._subscription_model$_$v = null; }, _$SubscriptionEntity: function _$SubscriptionEntity(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) { var _ = this; _.name = t0; _.groupId = t1; _.productIds = t2; _.recurringProductIds = t3; _.optionalProductIds = t4; _.optionalRecurringProductIds = t5; _.registrationRequired = t6; _.useInventoryManagement = t7; _.remainingCycles = t8; _.frequencyId = t9; _.autoBill = t10; _.promoCode = t11; _.promoDiscount = t12; _.price = t13; _.isAmountDiscount = t14; _.allowCancellation = t15; _.perSeatEnabled = t16; _.maxSeatsLimit = t17; _.trialEnabled = t18; _.trialDuration = t19; _.allowQueryOverrides = t20; _.allowPlanChanges = t21; _.refundPeriod = t22; _.webhookConfiguration = t23; _.purchasePage = t24; _.steps = t25; _.isChanged = t26; _.createdAt = t27; _.updatedAt = t28; _.archivedAt = t29; _.isDeleted = t30; _.createdUserId = t31; _.assignedUserId = t32; _.id = t33; _._subscription_model$__hashCode = null; }, SubscriptionEntityBuilder: function SubscriptionEntityBuilder() { var _ = this; _._subscription_model$_updatedAt = _._subscription_model$_createdAt = _._subscription_model$_isChanged = _._steps = _._purchasePage = _._webhookConfiguration = _._refundPeriod = _._allowPlanChanges = _._allowQueryOverrides = _._trialDuration = _._trialEnabled = _._maxSeatsLimit = _._perSeatEnabled = _._allowCancellation = _._subscription_model$_isAmountDiscount = _._price = _._promoDiscount = _._promoCode = _._subscription_model$_autoBill = _._subscription_model$_frequencyId = _._subscription_model$_remainingCycles = _._useInventoryManagement = _._registrationRequired = _._optionalRecurringProductIds = _._optionalProductIds = _._recurringProductIds = _._productIds = _._subscription_model$_groupId = _._subscription_model$_name = _._subscription_model$_$v = null; _._subscription_model$_id = _._subscription_model$_assignedUserId = _._subscription_model$_createdUserId = _._subscription_model$_isDeleted = _._subscription_model$_archivedAt = null; }, _$WebhookConfigurationEntity: function _$WebhookConfigurationEntity(t0, t1, t2, t3, t4) { var _ = this; _.returnUrl = t0; _.postPurchaseUrl = t1; _.postPurchaseRestMethod = t2; _.postPurchaseHeaders = t3; _.postPurchaseBody = t4; _._subscription_model$__hashCode = null; }, WebhookConfigurationEntityBuilder: function WebhookConfigurationEntityBuilder() { var _ = this; _._postPurchaseBody = _._postPurchaseHeaders = _._postPurchaseRestMethod = _._postPurchaseUrl = _._returnUrl = _._subscription_model$_$v = null; }, _SubscriptionEntity_Object_BaseEntity: function _SubscriptionEntity_Object_BaseEntity() { }, SystemLogEntity: function SystemLogEntity() { }, _$SystemLogEntitySerializer: function _$SystemLogEntitySerializer() { }, _$SystemLogEntity: function _$SystemLogEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.id = t0; _.companyId = t1; _.userId = t2; _.clientId = t3; _.eventId = t4; _.categoryId = t5; _.typeId = t6; _.log = t7; _.createdAt = t8; _._system_log_model$__hashCode = null; }, SystemLogEntityBuilder: function SystemLogEntityBuilder() { var _ = this; _._system_log_model$_createdAt = _._log = _._system_log_model$_typeId = _._system_log_model$_categoryId = _._system_log_model$_eventId = _._system_log_model$_clientId = _._system_log_model$_userId = _._companyId = _._system_log_model$_id = _._system_log_model$_$v = null; }, TaskTime_TaskTime(description, endDate, isBillable, startDate) { var t1 = startDate == null ? A.DateTime$fromMillisecondsSinceEpoch(B.JSNumber_methods.floor$0(Date.now() / 1000) * 1000, true) : startDate, t2 = description == null ? "" : description; return A._$TaskTime$_(t2, endDate, isBillable !== false, t1); }, TaskEntity_TaskEntity(client, id, project, state, user) { var t3, t4, t5, t6, _null = null, t1 = state == null, t2 = t1 ? _null : state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.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 ? "[[" + B.JSNumber_methods.floor$0(Date.now() / 1000) + ",0]]" : "[]"; t6 = user == null ? _null : user.id; if (t6 == null) t6 = ""; t1 = t1 ? _null : state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].taskStatusState.map; t1 = A.defaultTaskStatusId(t1 == null ? A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.TaskStatusEntity) : t1); t1.toString; return A._$TaskEntity$_(0, t6, t5, 0, "", "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), t3, "", false, false, "", t4, 0, t1, _null, t2, 0); }, _$TaskTime$_(description, endDate, isBillable, startDate) { var _s8_ = "TaskTime"; A.BuiltValueNullFieldError_checkNotNull(description, _s8_, "description"); A.BuiltValueNullFieldError_checkNotNull(isBillable, _s8_, "isBillable"); return new A._$TaskTime(startDate, endDate, description, isBillable); }, _$TaskEntity$_(archivedAt, assignedUserId, clientId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, description, documents, id, invoiceId, isChanged, isDeleted, number, projectId, rate, statusId, statusOrder, timeLog, updatedAt) { var _s10_ = "TaskEntity"; A.BuiltValueNullFieldError_checkNotNull(description, _s10_, "description"); A.BuiltValueNullFieldError_checkNotNull(number, _s10_, "number"); A.BuiltValueNullFieldError_checkNotNull(invoiceId, _s10_, "invoiceId"); A.BuiltValueNullFieldError_checkNotNull(clientId, _s10_, "clientId"); A.BuiltValueNullFieldError_checkNotNull(rate, _s10_, "rate"); A.BuiltValueNullFieldError_checkNotNull(projectId, _s10_, "projectId"); A.BuiltValueNullFieldError_checkNotNull(timeLog, _s10_, "timeLog"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s10_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s10_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s10_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s10_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(statusId, _s10_, "statusId"); A.BuiltValueNullFieldError_checkNotNull(documents, _s10_, "documents"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s10_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s10_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s10_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s10_, "id"); return new A._$TaskEntity(description, number, invoiceId, clientId, rate, projectId, timeLog, customValue1, customValue2, customValue3, customValue4, statusId, statusOrder, documents, 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_getInvalidTimeIndices_closure: function TaskEntity_getInvalidTimeIndices_closure(t0, t1) { this._box_0 = t0; this.indices = t1; }, 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.onlyBillable = 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, t2, t3) { var _ = this; _.startDate = t0; _.endDate = t1; _.description = t2; _.isBillable = t3; _._task_model$__hashCode = null; }, TaskTimeBuilder: function TaskTimeBuilder() { var _ = this; _._isBillable = _._description = _._task_model$_endDate = _._task_model$_startDate = _._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) { var _ = this; _.description = t0; _.number = t1; _.invoiceId = t2; _.clientId = t3; _.rate = t4; _.projectId = t5; _.timeLog = t6; _.customValue1 = t7; _.customValue2 = t8; _.customValue3 = t9; _.customValue4 = t10; _.statusId = t11; _.statusOrder = t12; _.documents = t13; _.isChanged = t14; _.createdAt = t15; _.updatedAt = t16; _.archivedAt = t17; _.isDeleted = t18; _.createdUserId = t19; _.assignedUserId = t20; _.id = t21; _._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 = _._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$_number = _._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() { }, TaskStatusEntity_TaskStatusEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$TaskStatusEntity$_(0, "", "", 0, "", t1, false, false, "", null, 0); }, _$TaskStatusEntity$_(archivedAt, assignedUserId, color, createdAt, createdUserId, id, isChanged, isDeleted, $name, statusOrder, updatedAt) { var _s16_ = "TaskStatusEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s16_, "name"); A.BuiltValueNullFieldError_checkNotNull(color, _s16_, "color"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s16_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s16_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s16_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s16_, "id"); return new A._$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() { }, TaxDataEntity_TaxDataEntity() { return A._$TaxDataEntity$_(0, "", 0, "", 0, "", "", "", "", 0, 0); }, TaxDataEntity__initializeBuilder(builder) { builder.get$_tax_model$_$this()._citySalesTax = 0; builder.get$_tax_model$_$this()._cityTaxCode = ""; builder.get$_tax_model$_$this()._countySalesTax = 0; builder.get$_tax_model$_$this()._countyTaxCode = ""; builder.get$_tax_model$_$this()._geoCity = ""; builder.get$_tax_model$_$this()._geoCounty = ""; builder.get$_tax_model$_$this()._geoPostalCode = ""; builder.get$_tax_model$_$this()._geoState = ""; builder.get$_tax_model$_$this()._stateSalesTax = 0; builder.get$_tax_model$_$this()._taxSales = 0; builder.get$_tax_model$_$this()._districtSalesTax = 0; return builder; }, TaxConfigEntity_TaxConfigEntity() { return A._$TaxConfigEntity$_(false, false, A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.TaxConfigRegionEntity), "", ""); }, TaxConfigEntity__initializeBuilder(builder) { builder.get$_tax_model$_$this()._version = ""; builder.get$_tax_model$_$this()._sellerSubregion = ""; builder.get$_tax_model$_$this()._actsAsSender = false; builder.get$_tax_model$_$this()._actsAsReceiver = false; builder.get$regions().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.TaxConfigRegionEntity)); return builder; }, TaxConfigRegionEntity__initializeBuilder(builder) { builder.get$_tax_model$_$this()._hasSalesAboveThreshold = false; builder.get$_tax_model$_$this()._taxAll = false; builder.get$_tax_model$_$this()._taxThreshold = 0; return builder; }, TaxConfigSubregionEntity__initializeBuilder(builder) { builder.get$_tax_model$_$this()._applyTax = false; builder.get$_tax_model$_$this()._taxName = ""; builder.get$_tax_model$_$this()._reducedTaxRate = 0; builder.get$_tax_model$_$this()._taxRate = 0; builder.get$_tax_model$_$this()._tax_model$_vatNumber = ""; return builder; }, _$TaxDataEntity$_(citySalesTax, cityTaxCode, countySalesTax, countyTaxCode, districtSalesTax, geoCity, geoCounty, geoPostalCode, geoState, stateSalesTax, taxSales) { var _s13_ = "TaxDataEntity"; A.BuiltValueNullFieldError_checkNotNull(geoPostalCode, _s13_, "geoPostalCode"); A.BuiltValueNullFieldError_checkNotNull(geoCity, _s13_, "geoCity"); A.BuiltValueNullFieldError_checkNotNull(geoCounty, _s13_, "geoCounty"); A.BuiltValueNullFieldError_checkNotNull(geoState, _s13_, "geoState"); A.BuiltValueNullFieldError_checkNotNull(taxSales, _s13_, "taxSales"); A.BuiltValueNullFieldError_checkNotNull(stateSalesTax, _s13_, "stateSalesTax"); A.BuiltValueNullFieldError_checkNotNull(citySalesTax, _s13_, "citySalesTax"); A.BuiltValueNullFieldError_checkNotNull(cityTaxCode, _s13_, "cityTaxCode"); A.BuiltValueNullFieldError_checkNotNull(countySalesTax, _s13_, "countySalesTax"); A.BuiltValueNullFieldError_checkNotNull(countyTaxCode, _s13_, "countyTaxCode"); A.BuiltValueNullFieldError_checkNotNull(districtSalesTax, _s13_, "districtSalesTax"); return new A._$TaxDataEntity(geoPostalCode, geoCity, geoCounty, geoState, taxSales, stateSalesTax, citySalesTax, cityTaxCode, countySalesTax, countyTaxCode, districtSalesTax); }, _$TaxConfigEntity$_(actsAsReceiver, actsAsSender, regions, sellerSubregion, version) { var _s15_ = "TaxConfigEntity"; A.BuiltValueNullFieldError_checkNotNull(version, _s15_, "version"); A.BuiltValueNullFieldError_checkNotNull(sellerSubregion, _s15_, "sellerSubregion"); A.BuiltValueNullFieldError_checkNotNull(actsAsSender, _s15_, "actsAsSender"); A.BuiltValueNullFieldError_checkNotNull(actsAsReceiver, _s15_, "actsAsReceiver"); A.BuiltValueNullFieldError_checkNotNull(regions, _s15_, "regions"); return new A._$TaxConfigEntity(version, sellerSubregion, actsAsSender, actsAsReceiver, regions); }, TaxDataEntity: function TaxDataEntity() { }, TaxConfigEntity: function TaxConfigEntity() { }, TaxConfigRegionEntity: function TaxConfigRegionEntity() { }, TaxConfigSubregionEntity: function TaxConfigSubregionEntity() { }, _$TaxDataEntitySerializer: function _$TaxDataEntitySerializer() { }, _$TaxConfigEntitySerializer: function _$TaxConfigEntitySerializer() { }, _$TaxConfigRegionEntitySerializer: function _$TaxConfigRegionEntitySerializer() { }, _$TaxConfigSubregionEntitySerializer: function _$TaxConfigSubregionEntitySerializer() { }, _$TaxDataEntity: function _$TaxDataEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.geoPostalCode = t0; _.geoCity = t1; _.geoCounty = t2; _.geoState = t3; _.taxSales = t4; _.stateSalesTax = t5; _.citySalesTax = t6; _.cityTaxCode = t7; _.countySalesTax = t8; _.countyTaxCode = t9; _.districtSalesTax = t10; }, TaxDataEntityBuilder: function TaxDataEntityBuilder() { var _ = this; _._districtSalesTax = _._countyTaxCode = _._countySalesTax = _._cityTaxCode = _._citySalesTax = _._stateSalesTax = _._taxSales = _._geoState = _._geoCounty = _._geoCity = _._geoPostalCode = _._tax_model$_$v = null; }, _$TaxConfigEntity: function _$TaxConfigEntity(t0, t1, t2, t3, t4) { var _ = this; _.version = t0; _.sellerSubregion = t1; _.actsAsSender = t2; _.actsAsReceiver = t3; _.regions = t4; _._tax_model$__hashCode = null; }, TaxConfigEntityBuilder: function TaxConfigEntityBuilder() { var _ = this; _._regions = _._actsAsReceiver = _._actsAsSender = _._sellerSubregion = _._version = _._tax_model$_$v = null; }, _$TaxConfigRegionEntity: function _$TaxConfigRegionEntity(t0, t1, t2, t3) { var _ = this; _.hasSalesAboveThreshold = t0; _.taxAll = t1; _.taxThreshold = t2; _.subregions = t3; _._tax_model$__hashCode = null; }, TaxConfigRegionEntityBuilder: function TaxConfigRegionEntityBuilder() { var _ = this; _._subregions = _._taxThreshold = _._taxAll = _._hasSalesAboveThreshold = _._tax_model$_$v = null; }, _$TaxConfigSubregionEntity: function _$TaxConfigSubregionEntity(t0, t1, t2, t3, t4) { var _ = this; _.applyTax = t0; _.taxRate = t1; _.taxName = t2; _.reducedTaxRate = t3; _.vatNumber = t4; _._tax_model$__hashCode = null; }, TaxConfigSubregionEntityBuilder: function TaxConfigSubregionEntityBuilder() { var _ = this; _._tax_model$_vatNumber = _._reducedTaxRate = _._taxName = _._taxRate = _._applyTax = _._tax_model$_$v = null; }, TaxRateEntity_TaxRateEntity(id, $name, rate, state) { var t2, t3, t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t2 = $name == null ? "" : $name; t3 = rate == null ? 0 : rate; return A._$TaxRateEntity$_(0, "", 0, "", "" + t1, false, false, t2, t3, 0); }, _$TaxRateEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, $name, rate, updatedAt) { var _s13_ = "TaxRateEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s13_, "name"); A.BuiltValueNullFieldError_checkNotNull(rate, _s13_, "rate"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$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() { }, TokenEntity_TokenEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$TokenEntity$_(0, "", 0, "", t1, false, false, false, "", "", 0); }, TokenEntity_unobscureToken(value) { if (value == null || value.length === 0) return null; return B.C_Utf8Codec.decode$1(0, B.C_Base64Decoder.convert$1(value)); }, _$TokenEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, id, isChanged, isDeleted, isSystem, $name, token, updatedAt) { var _s11_ = "TokenEntity"; A.BuiltValueNullFieldError_checkNotNull(isSystem, _s11_, "isSystem"); A.BuiltValueNullFieldError_checkNotNull(token, _s11_, "token"); A.BuiltValueNullFieldError_checkNotNull($name, _s11_, "name"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s11_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s11_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s11_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s11_, "id"); return new A._$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() { }, TransactionEntity_TransactionEntity(id, state) { var t2, bankAccounts, bankAccountId, _null = null, t1 = state == null; if (!t1) { t2 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].bankAccountState.list._list$_list; t2 = new A.MappedListIterable(t2, new A.TransactionEntity_TransactionEntity_closure(state), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,BankAccountEntity?>")).super$Iterable$where(0, new A.TransactionEntity_TransactionEntity_closure0()); bankAccounts = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")); bankAccountId = bankAccounts.length === 1 ? B.JSArray_methods.get$first(bankAccounts).id : ""; } else bankAccountId = ""; if (id == null) { t2 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t2; t2 = "" + t2; } else t2 = id; if (t1) t1 = _null; else { t1 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.currencyId; if (t1 == null) t1 = "1"; } if (t1 == null) t1 = "1"; return A._$TransactionEntity$_(0, 0, "", bankAccountId, "DEBIT", "", "", 0, "", t1, A.convertDateTimeToSqlDate(_null), "", "", t2, "", false, false, "", "", "", _null, _null, _null, "", 0, "", 0, ""); }, TransactionEntity__initializeBuilder(builder) { builder.get$_transaction_model$_$this()._baseType = ""; builder.get$_transaction_model$_$this()._bankAccountId = ""; builder.get$_transaction_model$_$this()._transactionRuleId = ""; builder.get$_transaction_model$_$this()._transaction_model$_paymentId = ""; builder.get$_transaction_model$_$this()._transaction_model$_currencyId = ""; builder.get$_transaction_model$_$this()._participantName = ""; builder.get$_transaction_model$_$this()._participant = ""; return builder; }, _$TransactionEntity$_(amount, archivedAt, assignedUserId, bankAccountId, baseType, category, categoryId, createdAt, createdUserId, currencyId, date, description, expenseId, id, invoiceIds, isChanged, isDeleted, participant, participantName, paymentId, pendingCategoryId, pendingExpenseId, pendingVendorId, statusId, transactionId, transactionRuleId, updatedAt, vendorId) { var _s17_ = "TransactionEntity"; A.BuiltValueNullFieldError_checkNotNull(amount, _s17_, "amount"); A.BuiltValueNullFieldError_checkNotNull(currencyId, _s17_, "currencyId"); A.BuiltValueNullFieldError_checkNotNull(category, _s17_, "category"); A.BuiltValueNullFieldError_checkNotNull(baseType, _s17_, "baseType"); A.BuiltValueNullFieldError_checkNotNull(date, _s17_, "date"); A.BuiltValueNullFieldError_checkNotNull(bankAccountId, _s17_, "bankAccountId"); A.BuiltValueNullFieldError_checkNotNull(description, _s17_, "description"); A.BuiltValueNullFieldError_checkNotNull(statusId, _s17_, "statusId"); A.BuiltValueNullFieldError_checkNotNull(categoryId, _s17_, "categoryId"); A.BuiltValueNullFieldError_checkNotNull(invoiceIds, _s17_, "invoiceIds"); A.BuiltValueNullFieldError_checkNotNull(paymentId, _s17_, "paymentId"); A.BuiltValueNullFieldError_checkNotNull(expenseId, _s17_, "expenseId"); A.BuiltValueNullFieldError_checkNotNull(vendorId, _s17_, "vendorId"); A.BuiltValueNullFieldError_checkNotNull(transactionId, _s17_, "transactionId"); A.BuiltValueNullFieldError_checkNotNull(transactionRuleId, _s17_, "transactionRuleId"); A.BuiltValueNullFieldError_checkNotNull(participantName, _s17_, "participantName"); A.BuiltValueNullFieldError_checkNotNull(participant, _s17_, "participant"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s17_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s17_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s17_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s17_, "id"); return new A._$TransactionEntity(amount, currencyId, category, baseType, date, bankAccountId, description, statusId, categoryId, invoiceIds, paymentId, expenseId, vendorId, transactionId, transactionRuleId, participantName, participant, pendingVendorId, pendingCategoryId, pendingExpenseId, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$TransactionStatusEntity$_(id, $name) { var _s23_ = "TransactionStatusEntity"; A.BuiltValueNullFieldError_checkNotNull(id, _s23_, "id"); A.BuiltValueNullFieldError_checkNotNull($name, _s23_, "name"); return new A._$TransactionStatusEntity(id, $name); }, TransactionListResponse: function TransactionListResponse() { }, TransactionItemResponse: function TransactionItemResponse() { }, TransactionEntity: function TransactionEntity() { }, TransactionEntity_TransactionEntity_closure: function TransactionEntity_TransactionEntity_closure(t0) { this.state = t0; }, TransactionEntity_TransactionEntity_closure0: function TransactionEntity_TransactionEntity_closure0() { }, TransactionStatusEntity: function TransactionStatusEntity() { }, _$TransactionListResponseSerializer: function _$TransactionListResponseSerializer() { }, _$TransactionItemResponseSerializer: function _$TransactionItemResponseSerializer() { }, _$TransactionEntitySerializer: function _$TransactionEntitySerializer() { }, _$TransactionStatusEntitySerializer: function _$TransactionStatusEntitySerializer() { }, _$TransactionListResponse: function _$TransactionListResponse(t0) { this.data = t0; this._transaction_model$__hashCode = null; }, TransactionListResponseBuilder: function TransactionListResponseBuilder() { this._transaction_model$_data = this._transaction_model$_$v = null; }, _$TransactionItemResponse: function _$TransactionItemResponse(t0) { this.data = t0; this._transaction_model$__hashCode = null; }, TransactionItemResponseBuilder: function TransactionItemResponseBuilder() { this._transaction_model$_data = this._transaction_model$_$v = null; }, _$TransactionEntity: function _$TransactionEntity(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; _.amount = t0; _.currencyId = t1; _.category = t2; _.baseType = t3; _.date = t4; _.bankAccountId = t5; _.description = t6; _.statusId = t7; _.categoryId = t8; _.invoiceIds = t9; _.paymentId = t10; _.expenseId = t11; _.vendorId = t12; _.transactionId = t13; _.transactionRuleId = t14; _.participantName = t15; _.participant = t16; _.pendingVendorId = t17; _.pendingCategoryId = t18; _.pendingExpenseId = t19; _.isChanged = t20; _.createdAt = t21; _.updatedAt = t22; _.archivedAt = t23; _.isDeleted = t24; _.createdUserId = t25; _.assignedUserId = t26; _.id = t27; _._transaction_model$__hashCode = null; }, TransactionEntityBuilder: function TransactionEntityBuilder() { var _ = this; _._transaction_model$_id = _._transaction_model$_assignedUserId = _._transaction_model$_createdUserId = _._transaction_model$_isDeleted = _._transaction_model$_archivedAt = _._transaction_model$_updatedAt = _._transaction_model$_createdAt = _._transaction_model$_isChanged = _._pendingExpenseId = _._pendingCategoryId = _._pendingVendorId = _._participant = _._participantName = _._transactionRuleId = _._transaction_model$_transactionId = _._transaction_model$_vendorId = _._transaction_model$_expenseId = _._transaction_model$_paymentId = _._invoiceIds = _._transaction_model$_categoryId = _._transaction_model$_statusId = _._transaction_model$_description = _._bankAccountId = _._transaction_model$_date = _._baseType = _._category = _._transaction_model$_currencyId = _._transaction_model$_amount = _._transaction_model$_$v = null; }, _$TransactionStatusEntity: function _$TransactionStatusEntity(t0, t1) { this.id = t0; this.name = t1; this._transaction_model$__hashCode = null; }, TransactionStatusEntityBuilder: function TransactionStatusEntityBuilder() { this._transaction_model$_name = this._transaction_model$_id = this._transaction_model$_$v = null; }, _TransactionEntity_Object_BaseEntity: function _TransactionEntity_Object_BaseEntity() { }, _TransactionStatusEntity_Object_EntityStatus: function _TransactionStatusEntity_Object_EntityStatus() { }, _TransactionStatusEntity_Object_EntityStatus_SelectableEntity: function _TransactionStatusEntity_Object_EntityStatus_SelectableEntity() { }, TransactionRuleEntity_TransactionRuleEntity(id, state) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$TransactionRuleEntity$_("DEBIT", 0, "", false, "", 0, "", t1, false, false, true, "", A.BuiltList_BuiltList$from(B.List_empty, type$.TransactionRuleCriteriaEntity), 0, ""); }, _$TransactionRuleEntity$_(appliesTo, archivedAt, assignedUserId, autoConvert, categoryId, createdAt, createdUserId, id, isChanged, isDeleted, matchesOnAll, $name, rules, updatedAt, vendorId) { var _s21_ = "TransactionRuleEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s21_, "name"); A.BuiltValueNullFieldError_checkNotNull(matchesOnAll, _s21_, "matchesOnAll"); A.BuiltValueNullFieldError_checkNotNull(autoConvert, _s21_, "autoConvert"); A.BuiltValueNullFieldError_checkNotNull(appliesTo, _s21_, "appliesTo"); A.BuiltValueNullFieldError_checkNotNull(vendorId, _s21_, "vendorId"); A.BuiltValueNullFieldError_checkNotNull(categoryId, _s21_, "categoryId"); A.BuiltValueNullFieldError_checkNotNull(rules, _s21_, "rules"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s21_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s21_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s21_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s21_, "id"); return new A._$TransactionRuleEntity($name, matchesOnAll, autoConvert, appliesTo, vendorId, categoryId, rules, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$TransactionRuleCriteriaEntity$_(operator, searchKey, value) { var _s29_ = "TransactionRuleCriteriaEntity"; A.BuiltValueNullFieldError_checkNotNull(searchKey, _s29_, "searchKey"); A.BuiltValueNullFieldError_checkNotNull(operator, _s29_, "operator"); A.BuiltValueNullFieldError_checkNotNull(value, _s29_, "value"); return new A._$TransactionRuleCriteriaEntity(searchKey, operator, value); }, TransactionRuleListResponse: function TransactionRuleListResponse() { }, TransactionRuleItemResponse: function TransactionRuleItemResponse() { }, TransactionRuleEntity: function TransactionRuleEntity() { }, TransactionRuleCriteriaEntity: function TransactionRuleCriteriaEntity() { }, _$TransactionRuleListResponseSerializer: function _$TransactionRuleListResponseSerializer() { }, _$TransactionRuleItemResponseSerializer: function _$TransactionRuleItemResponseSerializer() { }, _$TransactionRuleEntitySerializer: function _$TransactionRuleEntitySerializer() { }, _$TransactionRuleCriteriaEntitySerializer: function _$TransactionRuleCriteriaEntitySerializer() { }, _$TransactionRuleListResponse: function _$TransactionRuleListResponse(t0) { this.data = t0; this._transaction_rule_model$__hashCode = null; }, TransactionRuleListResponseBuilder: function TransactionRuleListResponseBuilder() { this._transaction_rule_model$_data = this._transaction_rule_model$_$v = null; }, _$TransactionRuleItemResponse: function _$TransactionRuleItemResponse(t0) { this.data = t0; this._transaction_rule_model$__hashCode = null; }, TransactionRuleItemResponseBuilder: function TransactionRuleItemResponseBuilder() { this._transaction_rule_model$_data = this._transaction_rule_model$_$v = null; }, _$TransactionRuleEntity: function _$TransactionRuleEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.name = t0; _.matchesOnAll = t1; _.autoConvert = t2; _.appliesTo = t3; _.vendorId = t4; _.categoryId = t5; _.rules = t6; _.isChanged = t7; _.createdAt = t8; _.updatedAt = t9; _.archivedAt = t10; _.isDeleted = t11; _.createdUserId = t12; _.assignedUserId = t13; _.id = t14; _._transaction_rule_model$__hashCode = null; }, TransactionRuleEntityBuilder: function TransactionRuleEntityBuilder() { var _ = this; _._transaction_rule_model$_id = _._transaction_rule_model$_assignedUserId = _._transaction_rule_model$_createdUserId = _._transaction_rule_model$_isDeleted = _._transaction_rule_model$_archivedAt = _._transaction_rule_model$_updatedAt = _._transaction_rule_model$_createdAt = _._transaction_rule_model$_isChanged = _._rules = _._transaction_rule_model$_categoryId = _._transaction_rule_model$_vendorId = _._appliesTo = _._autoConvert = _._matchesOnAll = _._transaction_rule_model$_name = _._transaction_rule_model$_$v = null; }, _$TransactionRuleCriteriaEntity: function _$TransactionRuleCriteriaEntity(t0, t1, t2) { var _ = this; _.searchKey = t0; _.operator = t1; _.value = t2; _._transaction_rule_model$__hashCode = null; }, TransactionRuleCriteriaEntityBuilder: function TransactionRuleCriteriaEntityBuilder() { var _ = this; _._transaction_rule_model$_value = _._operator = _._searchKey = _._transaction_rule_model$_$v = null; }, _TransactionRuleEntity_Object_BaseEntity: function _TransactionRuleEntity_Object_BaseEntity() { }, UserEntity_UserEntity(id, state, userCompany) { var t1; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; return A._$UserEntity$_(0, "", 0, "", "", "", "", "", "", null, "", false, t1, false, false, false, "", "", "", "", "", "", "", false, "", A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.int), 0, userCompany, true); }, UserEntity__initializeBuilder(builder) { builder.get$_user_model$_$this()._isTwoFactorEnabled = false; builder.get$_user_model$_$this()._hasPassword = false; builder.get$_user_model$_$this()._phoneVerified = false; builder.get$_user_model$_$this()._password = ""; builder.get$_user_model$_$this()._lastEmailAddress = ""; builder.get$_user_model$_$this()._oauthUserToken = ""; builder.get$_user_model$_$this()._languageId = ""; builder.get$_user_model$_$this()._userLoggedInNotification = true; builder.get$_user_model$_$this()._referralCode = ""; builder.get$referralMeta().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, type$.String, type$.int)); return builder; }, _$UserEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, emailVerifiedAt, firstName, hasPassword, id, isChanged, isDeleted, isTwoFactorEnabled, languageId, lastEmailAddress, lastName, oauthProvider, oauthUserToken, password, phone, phoneVerified, referralCode, referralMeta, updatedAt, userCompany, userLoggedInNotification) { var _s10_ = "UserEntity"; A.BuiltValueNullFieldError_checkNotNull(firstName, _s10_, "firstName"); A.BuiltValueNullFieldError_checkNotNull(lastName, _s10_, "lastName"); A.BuiltValueNullFieldError_checkNotNull(email, _s10_, "email"); A.BuiltValueNullFieldError_checkNotNull(phone, _s10_, "phone"); A.BuiltValueNullFieldError_checkNotNull(password, _s10_, "password"); A.BuiltValueNullFieldError_checkNotNull(phoneVerified, _s10_, "phoneVerified"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s10_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s10_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s10_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s10_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(isTwoFactorEnabled, _s10_, "isTwoFactorEnabled"); A.BuiltValueNullFieldError_checkNotNull(hasPassword, _s10_, "hasPassword"); A.BuiltValueNullFieldError_checkNotNull(lastEmailAddress, _s10_, "lastEmailAddress"); A.BuiltValueNullFieldError_checkNotNull(oauthUserToken, _s10_, "oauthUserToken"); A.BuiltValueNullFieldError_checkNotNull(oauthProvider, _s10_, "oauthProvider"); A.BuiltValueNullFieldError_checkNotNull(languageId, _s10_, "languageId"); A.BuiltValueNullFieldError_checkNotNull(userLoggedInNotification, _s10_, "userLoggedInNotification"); A.BuiltValueNullFieldError_checkNotNull(referralCode, _s10_, "referralCode"); A.BuiltValueNullFieldError_checkNotNull(referralMeta, _s10_, "referralMeta"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s10_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s10_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s10_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s10_, "id"); return new A._$UserEntity(firstName, lastName, email, phone, password, emailVerifiedAt, phoneVerified, customValue1, customValue2, customValue3, customValue4, isTwoFactorEnabled, hasPassword, lastEmailAddress, oauthUserToken, userCompany, oauthProvider, languageId, userLoggedInNotification, referralCode, referralMeta, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, UserListResponse: function UserListResponse() { }, UserItemResponse: function UserItemResponse() { }, UserTwoFactorResponse: function UserTwoFactorResponse() { }, UserTwoFactorData: function UserTwoFactorData() { }, UserCompanyItemResponse: function UserCompanyItemResponse() { }, UserEntity: function UserEntity() { }, _$UserListResponseSerializer: function _$UserListResponseSerializer() { }, _$UserItemResponseSerializer: function _$UserItemResponseSerializer() { }, _$UserTwoFactorResponseSerializer: function _$UserTwoFactorResponseSerializer() { }, _$UserTwoFactorDataSerializer: function _$UserTwoFactorDataSerializer() { }, _$UserCompanyItemResponseSerializer: function _$UserCompanyItemResponseSerializer() { }, _$UserEntitySerializer: function _$UserEntitySerializer() { }, _$UserListResponse: function _$UserListResponse(t0) { this.data = t0; this._user_model$__hashCode = null; }, UserListResponseBuilder: function UserListResponseBuilder() { this._user_model$_data = this._user_model$_$v = null; }, _$UserItemResponse: function _$UserItemResponse(t0) { this.data = t0; this._user_model$__hashCode = null; }, UserItemResponseBuilder: function UserItemResponseBuilder() { this._user_model$_data = this._user_model$_$v = null; }, _$UserTwoFactorResponse: function _$UserTwoFactorResponse(t0) { this.data = t0; this._user_model$__hashCode = null; }, UserTwoFactorResponseBuilder: function UserTwoFactorResponseBuilder() { this._user_model$_data = this._user_model$_$v = null; }, _$UserTwoFactorData: function _$UserTwoFactorData(t0, t1) { this.secret = t0; this.qrCode = t1; this._user_model$__hashCode = null; }, UserTwoFactorDataBuilder: function UserTwoFactorDataBuilder() { this._qrCode = this._secret = this._user_model$_$v = null; }, _$UserCompanyItemResponse: function _$UserCompanyItemResponse(t0) { this.data = t0; this._user_model$__hashCode = null; }, UserCompanyItemResponseBuilder: function UserCompanyItemResponseBuilder() { this._user_model$_data = this._user_model$_$v = null; }, _$UserEntity: function _$UserEntity(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; _.firstName = t0; _.lastName = t1; _.email = t2; _.phone = t3; _.password = t4; _.emailVerifiedAt = t5; _.phoneVerified = t6; _.customValue1 = t7; _.customValue2 = t8; _.customValue3 = t9; _.customValue4 = t10; _.isTwoFactorEnabled = t11; _.hasPassword = t12; _.lastEmailAddress = t13; _.oauthUserToken = t14; _.userCompany = t15; _.oauthProvider = t16; _.languageId = t17; _.userLoggedInNotification = t18; _.referralCode = t19; _.referralMeta = t20; _.isChanged = t21; _.createdAt = t22; _.updatedAt = t23; _.archivedAt = t24; _.isDeleted = t25; _.createdUserId = t26; _.assignedUserId = t27; _.id = t28; _._user_model$__hashCode = null; }, UserEntityBuilder: function UserEntityBuilder() { var _ = this; _._user_model$_id = _._assignedUserId = _._createdUserId = _._isDeleted = _._archivedAt = _._user_model$_updatedAt = _._createdAt = _._user_model$_isChanged = _._referralMeta = _._referralCode = _._userLoggedInNotification = _._languageId = _._oauthProvider = _._userCompany = _._oauthUserToken = _._lastEmailAddress = _._hasPassword = _._isTwoFactorEnabled = _._customValue4 = _._customValue3 = _._customValue2 = _._customValue1 = _._phoneVerified = _._emailVerifiedAt = _._password = _._phone = _._email = _._lastName = _._firstName = _._user_model$_$v = null; }, _UserEntity_Object_BaseEntity: function _UserEntity_Object_BaseEntity() { }, _UserEntity_Object_BaseEntity_SelectableEntity: function _UserEntity_Object_BaseEntity_SelectableEntity() { }, VendorEntity_VendorEntity(id, state, user) { var t1, t2, t3, t4, t5, t6, _null = null; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = state == null; if (t2) t3 = _null; else { t3 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.languageId; if (t3 == null) t3 = "1"; } if (t3 == null) t3 = ""; if (t2) t2 = _null; else { t2 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.company.settings.currencyId; if (t2 == null) t2 = "1"; } if (t2 == null) t2 = ""; t4 = A.BuiltList_BuiltList$from(B.List_empty, type$.ActivityEntity); t5 = A.BuiltList_BuiltList$from(A._setArrayType([A.VendorContactEntity_VendorContactEntity().rebuild$1(new A.VendorEntity_VendorEntity_closure())], type$.JSArray_VendorContactEntity), type$.VendorContactEntity); t6 = user == null ? _null : user.id; if (t6 == null) t6 = ""; return A._$VendorEntity$_(t4, "", "", 0, t6, "", "", t5, "", 0, "", t2, "", "", "", "", "", A.BuiltList_BuiltList$from(B.List_empty, type$.DocumentEntity), t1, "", false, false, false, t3, 0, _null, "", "", "", "", "", "", "", "", 0, "", ""); }, VendorEntity__initializeBuilder(builder) { builder.get$activities().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.ActivityEntity)); builder.get$_vendor_model$_$this()._vendor_model$_lastLogin = 0; builder.get$_vendor_model$_$this()._vendor_model$_routingId = ""; builder.get$_vendor_model$_$this()._vendor_model$_languageId = ""; builder.get$_vendor_model$_$this()._vendor_model$_isTaxExempt = false; builder.get$_vendor_model$_$this()._vendor_model$_displayName = ""; builder.get$_vendor_model$_$this()._vendor_model$_classification = ""; return builder; }, VendorContactEntity_VendorContactEntity() { var t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; return A._$VendorContactEntity$_(0, "", 0, "", "", "", "", "", "", "", "" + t1, false, false, false, "", "", "", "", true, 0); }, VendorContactEntity__initializeBuilder(builder) { builder.get$_vendor_model$_$this()._vendor_model$_sendEmail = true; builder.get$_vendor_model$_$this()._link = ""; builder.get$_vendor_model$_$this()._vendor_model$_password = ""; builder.get$_vendor_model$_$this()._vendor_model$_customValue1 = ""; builder.get$_vendor_model$_$this()._vendor_model$_customValue2 = ""; builder.get$_vendor_model$_$this()._vendor_model$_customValue3 = ""; builder.get$_vendor_model$_$this()._vendor_model$_customValue4 = ""; return builder; }, _$VendorEntity$_(activities, address1, address2, archivedAt, assignedUserId, city, classification, contacts, countryId, createdAt, createdUserId, currencyId, customValue1, customValue2, customValue3, customValue4, displayName, documents, id, idNumber, isChanged, isDeleted, isTaxExempt, languageId, lastLogin, loadedAt, $name, number, phone, postalCode, privateNotes, publicNotes, routingId, state, updatedAt, vatNumber, website) { var _s12_ = "VendorEntity"; A.BuiltValueNullFieldError_checkNotNull($name, _s12_, "name"); A.BuiltValueNullFieldError_checkNotNull(displayName, _s12_, "displayName"); A.BuiltValueNullFieldError_checkNotNull(address1, _s12_, "address1"); A.BuiltValueNullFieldError_checkNotNull(address2, _s12_, "address2"); A.BuiltValueNullFieldError_checkNotNull(city, _s12_, "city"); A.BuiltValueNullFieldError_checkNotNull(state, _s12_, "state"); A.BuiltValueNullFieldError_checkNotNull(postalCode, _s12_, "postalCode"); A.BuiltValueNullFieldError_checkNotNull(countryId, _s12_, "countryId"); A.BuiltValueNullFieldError_checkNotNull(languageId, _s12_, "languageId"); A.BuiltValueNullFieldError_checkNotNull(phone, _s12_, "phone"); A.BuiltValueNullFieldError_checkNotNull(privateNotes, _s12_, "privateNotes"); A.BuiltValueNullFieldError_checkNotNull(publicNotes, _s12_, "publicNotes"); A.BuiltValueNullFieldError_checkNotNull(website, _s12_, "website"); A.BuiltValueNullFieldError_checkNotNull(number, _s12_, "number"); A.BuiltValueNullFieldError_checkNotNull(vatNumber, _s12_, "vatNumber"); A.BuiltValueNullFieldError_checkNotNull(idNumber, _s12_, "idNumber"); A.BuiltValueNullFieldError_checkNotNull(currencyId, _s12_, "currencyId"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s12_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s12_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s12_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s12_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(routingId, _s12_, "routingId"); A.BuiltValueNullFieldError_checkNotNull(isTaxExempt, _s12_, "isTaxExempt"); A.BuiltValueNullFieldError_checkNotNull(lastLogin, _s12_, "lastLogin"); A.BuiltValueNullFieldError_checkNotNull(classification, _s12_, "classification"); A.BuiltValueNullFieldError_checkNotNull(contacts, _s12_, "contacts"); A.BuiltValueNullFieldError_checkNotNull(activities, _s12_, "activities"); A.BuiltValueNullFieldError_checkNotNull(documents, _s12_, "documents"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s12_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s12_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s12_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s12_, "id"); return new A._$VendorEntity(loadedAt, $name, displayName, address1, address2, city, state, postalCode, countryId, languageId, phone, privateNotes, publicNotes, website, number, vatNumber, idNumber, currencyId, customValue1, customValue2, customValue3, customValue4, routingId, isTaxExempt, lastLogin, classification, contacts, activities, documents, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, _$VendorContactEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, customValue1, customValue2, customValue3, customValue4, email, firstName, id, isChanged, isDeleted, isPrimary, lastName, link, password, phone, sendEmail, updatedAt) { var _s19_ = "VendorContactEntity"; A.BuiltValueNullFieldError_checkNotNull(firstName, _s19_, "firstName"); A.BuiltValueNullFieldError_checkNotNull(lastName, _s19_, "lastName"); A.BuiltValueNullFieldError_checkNotNull(email, _s19_, "email"); A.BuiltValueNullFieldError_checkNotNull(isPrimary, _s19_, "isPrimary"); A.BuiltValueNullFieldError_checkNotNull(sendEmail, _s19_, "sendEmail"); A.BuiltValueNullFieldError_checkNotNull(phone, _s19_, "phone"); A.BuiltValueNullFieldError_checkNotNull(password, _s19_, "password"); A.BuiltValueNullFieldError_checkNotNull(customValue1, _s19_, "customValue1"); A.BuiltValueNullFieldError_checkNotNull(customValue2, _s19_, "customValue2"); A.BuiltValueNullFieldError_checkNotNull(customValue3, _s19_, "customValue3"); A.BuiltValueNullFieldError_checkNotNull(customValue4, _s19_, "customValue4"); A.BuiltValueNullFieldError_checkNotNull(link, _s19_, "link"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s19_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s19_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s19_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s19_, "id"); return new A._$VendorContactEntity(firstName, lastName, email, isPrimary, sendEmail, phone, password, customValue1, customValue2, customValue3, customValue4, link, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, VendorListResponse: function VendorListResponse() { }, VendorItemResponse: function VendorItemResponse() { }, VendorEntity: function VendorEntity() { }, VendorEntity_VendorEntity_closure: function VendorEntity_VendorEntity_closure() { }, VendorEntity_emailContacts_closure: function VendorEntity_emailContacts_closure() { }, VendorEntity_primaryContact_closure: function VendorEntity_primaryContact_closure() { }, VendorEntity_primaryContact_closure0: function VendorEntity_primaryContact_closure0() { }, VendorEntity_hasEmailAddress_closure: function VendorEntity_hasEmailAddress_closure() { }, VendorEntity_getContact_closure: function VendorEntity_getContact_closure(t0) { this.contactId = t0; }, VendorEntity_getContact_closure0: function VendorEntity_getContact_closure0() { }, VendorContactEntity: function VendorContactEntity() { }, _$VendorListResponseSerializer: function _$VendorListResponseSerializer() { }, _$VendorItemResponseSerializer: function _$VendorItemResponseSerializer() { }, _$VendorEntitySerializer: function _$VendorEntitySerializer() { }, _$VendorContactEntitySerializer: function _$VendorContactEntitySerializer() { }, _$VendorListResponse: function _$VendorListResponse(t0) { this.data = t0; this._vendor_model$__hashCode = null; }, VendorListResponseBuilder: function VendorListResponseBuilder() { this._vendor_model$_data = this._vendor_model$_$v = null; }, _$VendorItemResponse: function _$VendorItemResponse(t0) { this.data = t0; this._vendor_model$__hashCode = null; }, VendorItemResponseBuilder: function VendorItemResponseBuilder() { this._vendor_model$_data = this._vendor_model$_$v = null; }, _$VendorEntity: function _$VendorEntity(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) { var _ = this; _.loadedAt = t0; _.name = t1; _.displayName = t2; _.address1 = t3; _.address2 = t4; _.city = t5; _.state = t6; _.postalCode = t7; _.countryId = t8; _.languageId = t9; _.phone = t10; _.privateNotes = t11; _.publicNotes = t12; _.website = t13; _.number = t14; _.vatNumber = t15; _.idNumber = t16; _.currencyId = t17; _.customValue1 = t18; _.customValue2 = t19; _.customValue3 = t20; _.customValue4 = t21; _.routingId = t22; _.isTaxExempt = t23; _.lastLogin = t24; _.classification = t25; _.contacts = t26; _.activities = t27; _.documents = t28; _.isChanged = t29; _.createdAt = t30; _.updatedAt = t31; _.archivedAt = t32; _.isDeleted = t33; _.createdUserId = t34; _.assignedUserId = t35; _.id = t36; _._vendor_model$__hashCode = null; }, VendorEntityBuilder: function VendorEntityBuilder() { var _ = this; _._vendor_model$_documents = _._vendor_model$_activities = _._vendor_model$_contacts = _._vendor_model$_classification = _._vendor_model$_lastLogin = _._vendor_model$_isTaxExempt = _._vendor_model$_routingId = _._vendor_model$_customValue4 = _._vendor_model$_customValue3 = _._vendor_model$_customValue2 = _._vendor_model$_customValue1 = _._vendor_model$_currencyId = _._vendor_model$_idNumber = _._vendor_model$_vatNumber = _._vendor_model$_number = _._vendor_model$_website = _._vendor_model$_publicNotes = _._vendor_model$_privateNotes = _._vendor_model$_phone = _._vendor_model$_languageId = _._vendor_model$_countryId = _._vendor_model$_postalCode = _._vendor_model$_state = _._vendor_model$_city = _._vendor_model$_address2 = _._vendor_model$_address1 = _._vendor_model$_displayName = _._vendor_model$_name = _._vendor_model$_loadedAt = _._vendor_model$_$v = null; _._vendor_model$_id = _._vendor_model$_assignedUserId = _._vendor_model$_createdUserId = _._vendor_model$_isDeleted = _._vendor_model$_archivedAt = _._vendor_model$_updatedAt = _._vendor_model$_createdAt = _._vendor_model$_isChanged = null; }, _$VendorContactEntity: function _$VendorContactEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.firstName = t0; _.lastName = t1; _.email = t2; _.isPrimary = t3; _.sendEmail = t4; _.phone = t5; _.password = t6; _.customValue1 = t7; _.customValue2 = t8; _.customValue3 = t9; _.customValue4 = t10; _.link = t11; _.isChanged = t12; _.createdAt = t13; _.updatedAt = t14; _.archivedAt = t15; _.isDeleted = t16; _.createdUserId = t17; _.assignedUserId = t18; _.id = t19; _._vendor_model$__hashCode = null; }, VendorContactEntityBuilder: function VendorContactEntityBuilder() { var _ = this; _._vendor_model$_id = _._vendor_model$_assignedUserId = _._vendor_model$_createdUserId = _._vendor_model$_isDeleted = _._vendor_model$_archivedAt = _._vendor_model$_updatedAt = _._vendor_model$_createdAt = _._vendor_model$_isChanged = _._link = _._vendor_model$_customValue4 = _._vendor_model$_customValue3 = _._vendor_model$_customValue2 = _._vendor_model$_customValue1 = _._vendor_model$_password = _._vendor_model$_phone = _._vendor_model$_sendEmail = _._isPrimary = _._vendor_model$_email = _._vendor_model$_lastName = _._vendor_model$_firstName = _._vendor_model$_$v = null; }, _VendorContactEntity_Object_BaseEntity: function _VendorContactEntity_Object_BaseEntity() { }, _VendorEntity_Object_BaseEntity: function _VendorEntity_Object_BaseEntity() { }, _VendorEntity_Object_BaseEntity_SelectableEntity: function _VendorEntity_Object_BaseEntity_SelectableEntity() { }, _VendorEntity_Object_BaseEntity_SelectableEntity_HasActivities: function _VendorEntity_Object_BaseEntity_SelectableEntity_HasActivities() { }, WebhookEntity_WebhookEntity(id, state) { var t1, t2; if (id == null) { t1 = $.BaseEntity_counter - 1; $.BaseEntity_counter = t1; t1 = "" + t1; } else t1 = id; t2 = type$.String; return A._$WebhookEntity$_(0, "", 0, "", "", "JSON", A.BuiltMap_BuiltMap(B.Map_empty1, t2, t2), t1, false, false, "", "", 0); }, WebhookEntity__initializeBuilder(builder) { var t1 = type$.String; builder.get$headers(0).replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, t1)); builder.get$_webhook_model$_$this()._restMethod = ""; return builder; }, _$WebhookEntity$_(archivedAt, assignedUserId, createdAt, createdUserId, eventId, format, headers, id, isChanged, isDeleted, restMethod, targetUrl, updatedAt) { var _s13_ = "WebhookEntity"; A.BuiltValueNullFieldError_checkNotNull(eventId, _s13_, "eventId"); A.BuiltValueNullFieldError_checkNotNull(targetUrl, _s13_, "targetUrl"); A.BuiltValueNullFieldError_checkNotNull(format, _s13_, "format"); A.BuiltValueNullFieldError_checkNotNull(restMethod, _s13_, "restMethod"); A.BuiltValueNullFieldError_checkNotNull(headers, _s13_, "headers"); A.BuiltValueNullFieldError_checkNotNull(createdAt, _s13_, "createdAt"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s13_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(archivedAt, _s13_, "archivedAt"); A.BuiltValueNullFieldError_checkNotNull(id, _s13_, "id"); return new A._$WebhookEntity(eventId, targetUrl, format, restMethod, headers, isChanged, createdAt, updatedAt, archivedAt, isDeleted, createdUserId, assignedUserId, id); }, WebhookListResponse: function WebhookListResponse() { }, WebhookItemResponse: function WebhookItemResponse() { }, WebhookEntity: function WebhookEntity() { }, _$WebhookListResponseSerializer: function _$WebhookListResponseSerializer() { }, _$WebhookItemResponseSerializer: function _$WebhookItemResponseSerializer() { }, _$WebhookEntitySerializer: function _$WebhookEntitySerializer() { }, _$WebhookListResponse: function _$WebhookListResponse(t0) { this.data = t0; this._webhook_model$__hashCode = null; }, WebhookListResponseBuilder: function WebhookListResponseBuilder() { this._webhook_model$_data = this._webhook_model$_$v = null; }, _$WebhookItemResponse: function _$WebhookItemResponse(t0) { this.data = t0; this._webhook_model$__hashCode = null; }, WebhookItemResponseBuilder: function WebhookItemResponseBuilder() { this._webhook_model$_data = this._webhook_model$_$v = null; }, _$WebhookEntity: function _$WebhookEntity(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.eventId = t0; _.targetUrl = t1; _.format = t2; _.restMethod = t3; _.headers = t4; _.isChanged = t5; _.createdAt = t6; _.updatedAt = t7; _.archivedAt = t8; _.isDeleted = t9; _.createdUserId = t10; _.assignedUserId = t11; _.id = t12; _._webhook_model$__hashCode = null; }, WebhookEntityBuilder: function WebhookEntityBuilder() { var _ = this; _._webhook_model$_id = _._webhook_model$_assignedUserId = _._webhook_model$_createdUserId = _._webhook_model$_isDeleted = _._webhook_model$_archivedAt = _._webhook_model$_updatedAt = _._webhook_model$_createdAt = _._webhook_model$_isChanged = _._headers = _._restMethod = _._format = _._targetUrl = _._eventId = _._webhook_model$_$v = null; }, _WebhookEntity_Object_BaseEntity: function _WebhookEntity_Object_BaseEntity() { }, _WebhookEntity_Object_BaseEntity_SelectableEntity: function _WebhookEntity_Object_BaseEntity_SelectableEntity() { }, AuthRepository: function AuthRepository() { }, BankAccountRepository: function BankAccountRepository() { }, ClientRepository: function ClientRepository() { }, ClientRepository_saveData_closure: function ClientRepository_saveData_closure() { }, CompanyGatewayRepository: function CompanyGatewayRepository() { }, CreditRepository: function CreditRepository() { }, CreditRepository_saveData_closure: function CreditRepository_saveData_closure() { }, DesignRepository: function DesignRepository() { }, DocumentRepository: function DocumentRepository() { }, ExpenseCategoryRepository: function ExpenseCategoryRepository() { }, ExpenseRepository: function ExpenseRepository() { }, GroupRepository: function GroupRepository() { }, InvoiceRepository: function InvoiceRepository() { }, InvoiceRepository_saveData_closure: function InvoiceRepository_saveData_closure() { }, PaymentRepository: function PaymentRepository() { }, PaymentRepository_saveData_closure: function PaymentRepository_saveData_closure() { }, PaymentTermRepository: function PaymentTermRepository() { }, PersistenceRepository: function PersistenceRepository(t0) { this.fileStorage = t0; }, ProductRepository: function ProductRepository() { }, ProductRepository_saveData_closure: function ProductRepository_saveData_closure() { }, ProjectRepository: function ProjectRepository() { }, PurchaseOrderRepository: function PurchaseOrderRepository() { }, PurchaseOrderRepository_saveData_closure: function PurchaseOrderRepository_saveData_closure() { }, QuoteRepository: function QuoteRepository() { }, QuoteRepository_saveData_closure: function QuoteRepository_saveData_closure() { }, RecurringExpenseRepository: function RecurringExpenseRepository() { }, RecurringInvoiceRepository: function RecurringInvoiceRepository() { }, ScheduleRepository: function ScheduleRepository() { }, SettingsRepository: function SettingsRepository() { }, SubscriptionRepository: function SubscriptionRepository() { }, TaskRepository: function TaskRepository() { }, TaskStatusRepository: function TaskStatusRepository() { }, TaxRateRepository: function TaxRateRepository() { }, TokenRepository: function TokenRepository() { }, TransactionRepository: function TransactionRepository() { }, TransactionRepository_convertToExpense_closure: function TransactionRepository_convertToExpense_closure(t0, t1) { this.vendorId = t0; this.categoryId = t1; }, TransactionRuleRepository: function TransactionRuleRepository() { }, UserRepository: function UserRepository() { }, VendorRepository: function VendorRepository() { }, WebhookRepository: function WebhookRepository() { }, WebClient: function WebClient() { }, WebClient__parseError_closure: function WebClient__parseError_closure(t0) { this._box_0 = t0; }, WebClient__parseError__closure: function WebClient__parseError__closure(t0) { this._box_0 = t0; }, main0(isTesting) { return A.main$body(false); }, main$body(isTesting) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), prefs, exception, t1, t2, t3, userLogout, userLogoutAll, loginRequest, oauthLoginRequest, signUpRequest, oauthSignUpRequest, refreshRequest, recoverRequest, addCompany, deleteCompany, setDefaultCompany, purgeData, resendConfirmation, t4, viewDocumentList, viewDocument, editDocument, loadDocument, loadDocumentData, saveDocument, archiveDocument, deleteDocument, restoreDocument, downloadDocuments, viewDashboard, viewProductList, viewProduct, editProduct, loadProducts, loadProduct, setTaxCategoryProducts, saveProduct, archiveProduct, deleteProduct, restoreProduct, viewClientList, viewClient, editClient, showPdfClient, loadClients, loadClient, saveClient, archiveClient, mergeClients, deleteClient, purgeClient, restoreClient, viewInvoiceList, viewInvoice, editInvoice, showEmailInvoice, showPdfInvoice, loadInvoices, loadInvoice, saveInvoice, archiveInvoice, deleteInvoice, restoreInvoice, emailInvoice, autoBillInvoices, bulkEmailInvoices, markInvoiceSent, markInvoicePaid, cancelInvoices, downloadInvoices, viewExpenseList, viewExpense, editExpense, loadExpenses, loadExpense, saveExpense, archiveExpense, deleteExpense, restoreExpense, viewVendorList, viewVendor, editVendor, loadVendors, loadVendor, saveVendor, mergeVendors, archiveVendor, deleteVendor, restoreVendor, viewTaskList, viewTask, editTask, loadTasks, loadTask, saveTask, archiveTask, startTask, stopTask, deleteTask, restoreTask, sortTasks, viewProjectList, viewProject, editProject, loadProjects, loadProject, saveProject, archiveProject, deleteProject, restoreProject, viewPaymentList, viewPayment, editPayment, viewRefundPayment, loadPayments, loadPayment, savePayment, refundPayment, archivePayment, deletePayment, restorePayment, emailPayment, viewQuoteList, viewQuote, editQuote, showEmailQuote, showPdfQuote, convertQuotesToInvoices, convertQuotesToProjects, approveQuote, loadQuotes, loadQuote, saveQuote, archiveQuote, deleteQuote, restoreQuote, emailQuote, bulkEmailQuotes, markSentQuote, downloadQuotes, viewSettings, saveCompany, saveEInvoiceCertificate, saveAuthUser, connectOAuthUser, disconnectOAuthUser, disconnectOAuthMailer, connectGmailUser, saveSettings, uploadLogo, disableTwoFactor, viewReports, viewScheduleList, viewSchedule, editSchedule, loadSchedules, loadSchedule, saveSchedule, archiveSchedule, deleteSchedule, restoreSchedule, viewTransactionRuleList, viewTransactionRule, editTransactionRule, loadTransactionRules, loadTransactionRule, saveTransactionRule, archiveTransactionRule, deleteTransactionRule, restoreTransactionRule, viewTransactionList, viewTransaction, editTransaction, loadTransactions, loadTransaction, saveTransaction, archiveTransaction, deleteTransaction, restoreTransaction, convertTransactions, unlinkTransactions, convertToPayment, convertToExpense, linkToPayment, linkToExpense, viewBankAccountList, viewBankAccount, editBankAccount, loadBankAccounts, loadBankAccount, saveBankAccount, archiveBankAccount, deleteBankAccount, restoreBankAccount, viewPurchaseOrderList, viewPurchaseOrder, editPurchaseOrder, showEmailPurchaseOrder, showPdfPurchaseOrder, approvePurchaseOrder, loadPurchaseOrders, loadPurchaseOrder, savePurchaseOrder, archivePurchaseOrder, deletePurchaseOrder, restorePurchaseOrder, emailPurchaseOrder, bulkEmailPurchaseOrders, markSentPurchaseOrder, convertPurchaseOrdersToExpense, addPurchaseOrdersToInventory, acceptPurchaseOrders, cancelPurchaseOrders, downloadPurchaseOrders, viewRecurringExpenseList, viewRecurringExpense, editRecurringExpense, loadRecurringExpenses, loadRecurringExpense, saveRecurringExpense, archiveRecurringExpense, deleteRecurringExpense, restoreRecurringExpense, startRecurringExpense, stopRecurringExpense, viewSubscriptionList, viewSubscription, editSubscription, loadSubscriptions, loadSubscription, saveSubscription, archiveSubscription, deleteSubscription, restoreSubscription, viewTaskStatusList, viewTaskStatus, editTaskStatus, loadTaskStatuses, loadTaskStatus, saveTaskStatus, archiveTaskStatus, deleteTaskStatus, restoreTaskStatus, viewExpenseCategoryList, viewExpenseCategory, editExpenseCategory, loadExpenseCategories, loadExpenseCategory, saveExpenseCategory, archiveExpenseCategory, deleteExpenseCategory, restoreExpenseCategory, viewRecurringInvoiceList, viewRecurringInvoice, editRecurringInvoice, showPdfRecurringInvoice, loadRecurringInvoices, loadRecurringInvoice, saveRecurringInvoice, archiveRecurringInvoice, deleteRecurringInvoice, restoreRecurringInvoice, startRecurringInvoice, stopRecurringInvoice, updatePricesRecurringInvoice, increasePricesRecurringInvoice, sendNowRecurringInvoice, viewWebhookList, viewWebhook, editWebhook, loadWebhooks, loadWebhook, saveWebhook, archiveWebhook, deleteWebhook, restoreWebhook, viewTokenList, viewToken, editToken, loadTokens, loadToken, saveToken, archiveToken, deleteToken, restoreToken, viewPaymentTermList, viewPaymentTerm, editPaymentTerm, loadPaymentTerms, loadPaymentTerm, savePaymentTerm, archivePaymentTerm, deletePaymentTerm, restorePaymentTerm, viewDesignList, viewDesign, editDesign, loadDesigns, loadDesign, saveDesign, archiveDesign, deleteDesign, restoreDesign, viewCreditList, viewCredit, editCredit, showEmailCredit, showPdfCredit, loadCredits, loadCredit, saveCredit, archiveCredit, deleteCredit, restoreCredit, emailCredit, bulkEmailCredits, markPaidCredit, markSentCredit, downloadCredits, viewUserList, viewUser, editUser, loadUsers, loadUser, saveUser, archiveUser, deleteUser, restoreUser, removeUser, resendInvite, viewTaxRateList, viewTaxRate, editTaxRate, loadTaxRates, loadTaxRate, saveTaxRate, archiveTaxRate, deleteTaxRate, restoreTaxRate, viewCompanyGatewayList, viewCompanyGateway, editCompanyGateway, loadCompanyGateways, loadCompanyGateway, saveCompanyGateway, archiveCompanyGateway, deleteCompanyGateway, restoreCompanyGateway, disconnectCompanyGateway, viewGroupList, viewGroup, editGroup, loadGroups, loadGroup, saveGroup, archiveGroup, deleteGroup, restoreGroup, loadState, accountLoaded, dataRefreshed, persistData, persistStatic, userLoggedIn, persistUI, persistPrefs, clearDataState, deleteState, viewMainScreen, store, t5, value, result; var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if ($.WidgetsBinding__instance == null) A.WidgetsFlutterBinding$(); $.WidgetsBinding__instance.toString; $async$goto = 2; return A._asyncAwait(A.SharedPreferences_getInstance(), $async$main0); case 2: // returning from await. prefs = $async$result; A._asStringQ(J.$index$asx(prefs._preferenceCache, "host_override")); A._registerErrorHandlers(); try { A.SecurityContext_defaultContext().setTrustedCertificatesBytes$1(void 1); } catch (exception) { } A.isMacOS(); A.isWindows(); A.isLinux(); $async$goto = 3; return A._asyncAwait(A._initialState(false, prefs), $async$main0); case 3: // returning from await. t1 = $async$result; t2 = type$.JSArray_of_dynamic_Function_3_Store_AppState_and_dynamic_and_dynamic_Function_dynamic; t3 = A._setArrayType([], t2); userLogout = A._createUserLogout(); userLogoutAll = A._createUserLogoutAll(B.C_AuthRepository); loginRequest = A._createLoginRequest(B.C_AuthRepository); oauthLoginRequest = A._createOAuthLoginRequest(B.C_AuthRepository); signUpRequest = A._createSignUpRequest(B.C_AuthRepository); oauthSignUpRequest = A._createOAuthSignUpRequest(B.C_AuthRepository); refreshRequest = A._createRefreshRequest(B.C_AuthRepository); recoverRequest = A._createRecoverRequest(B.C_AuthRepository); addCompany = A._createCompany(B.C_AuthRepository); deleteCompany = A._deleteCompany(B.C_AuthRepository); setDefaultCompany = A._setDefaultCompany(B.C_AuthRepository); purgeData = A._purgeData(B.C_AuthRepository); resendConfirmation = A._resendConfirmation(B.C_AuthRepository); t4 = type$.TypedMiddleware_AppState_UserLogout; B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(userLogout, t4).get$$call(), new A.TypedMiddleware(userLogoutAll, type$.TypedMiddleware_AppState_UserLogoutAll).get$$call(), new A.TypedMiddleware(loginRequest, type$.TypedMiddleware_AppState_UserLoginRequest).get$$call(), new A.TypedMiddleware(oauthLoginRequest, type$.TypedMiddleware_AppState_OAuthLoginRequest).get$$call(), new A.TypedMiddleware(signUpRequest, type$.TypedMiddleware_AppState_UserSignUpRequest).get$$call(), new A.TypedMiddleware(oauthSignUpRequest, type$.TypedMiddleware_AppState_OAuthSignUpRequest).get$$call(), new A.TypedMiddleware(refreshRequest, type$.TypedMiddleware_AppState_RefreshData).get$$call(), new A.TypedMiddleware(recoverRequest, type$.TypedMiddleware_AppState_RecoverPasswordRequest).get$$call(), new A.TypedMiddleware(addCompany, type$.TypedMiddleware_AppState_AddCompany).get$$call(), new A.TypedMiddleware(deleteCompany, type$.TypedMiddleware_AppState_DeleteCompanyRequest).get$$call(), new A.TypedMiddleware(setDefaultCompany, type$.TypedMiddleware_AppState_SetDefaultCompanyRequest).get$$call(), new A.TypedMiddleware(purgeData, type$.TypedMiddleware_AppState_PurgeDataRequest).get$$call(), new A.TypedMiddleware(resendConfirmation, type$.TypedMiddleware_AppState_ResendConfirmation).get$$call()], t2)); viewDocumentList = A._viewDocumentList(); viewDocument = A._viewDocument(); editDocument = A._editDocument(); loadDocument = A._loadDocument(B.C_DocumentRepository); loadDocumentData = A._loadDocumentData(B.C_DocumentRepository); saveDocument = A._saveDocument(B.C_DocumentRepository); archiveDocument = A._archiveDocument(B.C_DocumentRepository); deleteDocument = A._deleteDocument(B.C_DocumentRepository); restoreDocument = A._restoreDocument(B.C_DocumentRepository); downloadDocuments = A._downloadDocuments(B.C_DocumentRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewDocumentList, type$.TypedMiddleware_AppState_ViewDocumentList).get$$call(), new A.TypedMiddleware(viewDocument, type$.TypedMiddleware_AppState_ViewDocument).get$$call(), new A.TypedMiddleware(editDocument, type$.TypedMiddleware_AppState_EditDocument).get$$call(), new A.TypedMiddleware(loadDocument, type$.TypedMiddleware_AppState_LoadDocument).get$$call(), new A.TypedMiddleware(loadDocumentData, type$.TypedMiddleware_AppState_LoadDocumentData).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveDocumentRequest).get$$call(), new A.TypedMiddleware(archiveDocument, type$.TypedMiddleware_AppState_ArchiveDocumentRequest).get$$call(), new A.TypedMiddleware(deleteDocument, type$.TypedMiddleware_AppState_DeleteDocumentRequest).get$$call(), new A.TypedMiddleware(restoreDocument, type$.TypedMiddleware_AppState_RestoreDocumentRequest).get$$call(), new A.TypedMiddleware(downloadDocuments, type$.TypedMiddleware_AppState_DownloadDocumentsRequest).get$$call()], t2)); viewDashboard = A._createViewDashboard(); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewDashboard, type$.TypedMiddleware_AppState_ViewDashboard).get$$call()], t2)); viewProductList = A._viewProductList(); viewProduct = A._viewProduct(); editProduct = A._editProduct(); loadProducts = A._loadProducts(B.C_ProductRepository); loadProduct = A._loadProduct(B.C_ProductRepository); setTaxCategoryProducts = A._setTaxCategoryProducts(B.C_ProductRepository); saveProduct = A._saveProduct(B.C_ProductRepository); archiveProduct = A._archiveProduct(B.C_ProductRepository); deleteProduct = A._deleteProduct(B.C_ProductRepository); restoreProduct = A._restoreProduct(B.C_ProductRepository); saveDocument = A._saveDocument0(B.C_ProductRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewProductList, type$.TypedMiddleware_AppState_ViewProductList).get$$call(), new A.TypedMiddleware(viewProduct, type$.TypedMiddleware_AppState_ViewProduct).get$$call(), new A.TypedMiddleware(editProduct, type$.TypedMiddleware_AppState_EditProduct).get$$call(), new A.TypedMiddleware(loadProducts, type$.TypedMiddleware_AppState_LoadProducts).get$$call(), new A.TypedMiddleware(loadProduct, type$.TypedMiddleware_AppState_LoadProduct).get$$call(), new A.TypedMiddleware(setTaxCategoryProducts, type$.TypedMiddleware_AppState_SetTaxCategoryProductsRequest).get$$call(), new A.TypedMiddleware(saveProduct, type$.TypedMiddleware_AppState_SaveProductRequest).get$$call(), new A.TypedMiddleware(archiveProduct, type$.TypedMiddleware_AppState_ArchiveProductsRequest).get$$call(), new A.TypedMiddleware(deleteProduct, type$.TypedMiddleware_AppState_DeleteProductsRequest).get$$call(), new A.TypedMiddleware(restoreProduct, type$.TypedMiddleware_AppState_RestoreProductsRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveProductDocumentRequest).get$$call()], t2)); viewClientList = A._viewClientList(); viewClient = A._viewClient(); editClient = A._editClient(); showPdfClient = A._showPdfClient(); loadClients = A._loadClients(B.C_ClientRepository); loadClient = A._loadClient(B.C_ClientRepository); saveClient = A._saveClient(B.C_ClientRepository); archiveClient = A._archiveClient(B.C_ClientRepository); mergeClients = A._mergeClients(B.C_ClientRepository); deleteClient = A._deleteClient(B.C_ClientRepository); purgeClient = A._purgeClient(B.C_ClientRepository); restoreClient = A._restoreClient(B.C_ClientRepository); saveDocument = A._saveDocument1(B.C_ClientRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewClientList, type$.TypedMiddleware_AppState_ViewClientList).get$$call(), new A.TypedMiddleware(viewClient, type$.TypedMiddleware_AppState_ViewClient).get$$call(), new A.TypedMiddleware(editClient, type$.TypedMiddleware_AppState_EditClient).get$$call(), new A.TypedMiddleware(showPdfClient, type$.TypedMiddleware_AppState_ShowPdfClient).get$$call(), new A.TypedMiddleware(loadClients, type$.TypedMiddleware_AppState_LoadClients).get$$call(), new A.TypedMiddleware(loadClient, type$.TypedMiddleware_AppState_LoadClient).get$$call(), new A.TypedMiddleware(saveClient, type$.TypedMiddleware_AppState_SaveClientRequest).get$$call(), new A.TypedMiddleware(mergeClients, type$.TypedMiddleware_AppState_MergeClientsRequest).get$$call(), new A.TypedMiddleware(archiveClient, type$.TypedMiddleware_AppState_ArchiveClientsRequest).get$$call(), new A.TypedMiddleware(deleteClient, type$.TypedMiddleware_AppState_DeleteClientsRequest).get$$call(), new A.TypedMiddleware(purgeClient, type$.TypedMiddleware_AppState_PurgeClientRequest).get$$call(), new A.TypedMiddleware(restoreClient, type$.TypedMiddleware_AppState_RestoreClientsRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveClientDocumentRequest).get$$call()], t2)); viewInvoiceList = A._viewInvoiceList(); viewInvoice = A._viewInvoice(); editInvoice = A._editInvoice(); showEmailInvoice = A._showEmailInvoice(); showPdfInvoice = A._showPdfInvoice(); loadInvoices = A._loadInvoices(B.C_InvoiceRepository); loadInvoice = A._loadInvoice(B.C_InvoiceRepository); saveInvoice = A._saveInvoice(B.C_InvoiceRepository); archiveInvoice = A._archiveInvoice(B.C_InvoiceRepository); deleteInvoice = A._deleteInvoice(B.C_InvoiceRepository); restoreInvoice = A._restoreInvoice(B.C_InvoiceRepository); emailInvoice = A._emailInvoice(B.C_InvoiceRepository); autoBillInvoices = A._autoBillInvoices(B.C_InvoiceRepository); bulkEmailInvoices = A._bulkEmailInvoices(B.C_InvoiceRepository); markInvoiceSent = A._markInvoiceSent(B.C_InvoiceRepository); markInvoicePaid = A._markInvoicePaid(B.C_InvoiceRepository); cancelInvoices = A._cancelInvoices(B.C_InvoiceRepository); downloadInvoices = A._downloadInvoices(B.C_InvoiceRepository); saveDocument = A._saveDocument2(B.C_InvoiceRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewInvoiceList, type$.TypedMiddleware_AppState_ViewInvoiceList).get$$call(), new A.TypedMiddleware(viewInvoice, type$.TypedMiddleware_AppState_ViewInvoice).get$$call(), new A.TypedMiddleware(editInvoice, type$.TypedMiddleware_AppState_EditInvoice).get$$call(), new A.TypedMiddleware(showEmailInvoice, type$.TypedMiddleware_AppState_ShowEmailInvoice).get$$call(), new A.TypedMiddleware(showPdfInvoice, type$.TypedMiddleware_AppState_ShowPdfInvoice).get$$call(), new A.TypedMiddleware(loadInvoices, type$.TypedMiddleware_AppState_LoadInvoices).get$$call(), new A.TypedMiddleware(loadInvoice, type$.TypedMiddleware_AppState_LoadInvoice).get$$call(), new A.TypedMiddleware(saveInvoice, type$.TypedMiddleware_AppState_SaveInvoiceRequest).get$$call(), new A.TypedMiddleware(archiveInvoice, type$.TypedMiddleware_AppState_ArchiveInvoicesRequest).get$$call(), new A.TypedMiddleware(deleteInvoice, type$.TypedMiddleware_AppState_DeleteInvoicesRequest).get$$call(), new A.TypedMiddleware(restoreInvoice, type$.TypedMiddleware_AppState_RestoreInvoicesRequest).get$$call(), new A.TypedMiddleware(emailInvoice, type$.TypedMiddleware_AppState_EmailInvoiceRequest).get$$call(), new A.TypedMiddleware(bulkEmailInvoices, type$.TypedMiddleware_AppState_BulkEmailInvoicesRequest).get$$call(), new A.TypedMiddleware(autoBillInvoices, type$.TypedMiddleware_AppState_AutoBillInvoicesRequest).get$$call(), new A.TypedMiddleware(markInvoiceSent, type$.TypedMiddleware_AppState_MarkInvoicesSentRequest).get$$call(), new A.TypedMiddleware(markInvoicePaid, type$.TypedMiddleware_AppState_MarkInvoicesPaidRequest).get$$call(), new A.TypedMiddleware(cancelInvoices, type$.TypedMiddleware_AppState_CancelInvoicesRequest).get$$call(), new A.TypedMiddleware(downloadInvoices, type$.TypedMiddleware_AppState_DownloadInvoicesRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveInvoiceDocumentRequest).get$$call()], t2)); viewExpenseList = A._viewExpenseList(); viewExpense = A._viewExpense(); editExpense = A._editExpense(); loadExpenses = A._loadExpenses(B.C_ExpenseRepository); loadExpense = A._loadExpense(B.C_ExpenseRepository); saveExpense = A._saveExpense(B.C_ExpenseRepository); archiveExpense = A._archiveExpense(B.C_ExpenseRepository); deleteExpense = A._deleteExpense(B.C_ExpenseRepository); restoreExpense = A._restoreExpense(B.C_ExpenseRepository); saveDocument = A._saveDocument3(B.C_ExpenseRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewExpenseList, type$.TypedMiddleware_AppState_ViewExpenseList).get$$call(), new A.TypedMiddleware(viewExpense, type$.TypedMiddleware_AppState_ViewExpense).get$$call(), new A.TypedMiddleware(editExpense, type$.TypedMiddleware_AppState_EditExpense).get$$call(), new A.TypedMiddleware(loadExpenses, type$.TypedMiddleware_AppState_LoadExpenses).get$$call(), new A.TypedMiddleware(loadExpense, type$.TypedMiddleware_AppState_LoadExpense).get$$call(), new A.TypedMiddleware(saveExpense, type$.TypedMiddleware_AppState_SaveExpenseRequest).get$$call(), new A.TypedMiddleware(archiveExpense, type$.TypedMiddleware_AppState_ArchiveExpenseRequest).get$$call(), new A.TypedMiddleware(deleteExpense, type$.TypedMiddleware_AppState_DeleteExpenseRequest).get$$call(), new A.TypedMiddleware(restoreExpense, type$.TypedMiddleware_AppState_RestoreExpenseRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveExpenseDocumentRequest).get$$call()], t2)); viewVendorList = A._viewVendorList(); viewVendor = A._viewVendor(); editVendor = A._editVendor(); loadVendors = A._loadVendors(B.C_VendorRepository); loadVendor = A._loadVendor(B.C_VendorRepository); saveVendor = A._saveVendor(B.C_VendorRepository); mergeVendors = A._mergeVendors(B.C_VendorRepository); archiveVendor = A._archiveVendor(B.C_VendorRepository); deleteVendor = A._deleteVendor(B.C_VendorRepository); restoreVendor = A._restoreVendor(B.C_VendorRepository); saveDocument = A._saveDocument4(B.C_VendorRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewVendorList, type$.TypedMiddleware_AppState_ViewVendorList).get$$call(), new A.TypedMiddleware(viewVendor, type$.TypedMiddleware_AppState_ViewVendor).get$$call(), new A.TypedMiddleware(editVendor, type$.TypedMiddleware_AppState_EditVendor).get$$call(), new A.TypedMiddleware(loadVendors, type$.TypedMiddleware_AppState_LoadVendors).get$$call(), new A.TypedMiddleware(loadVendor, type$.TypedMiddleware_AppState_LoadVendor).get$$call(), new A.TypedMiddleware(saveVendor, type$.TypedMiddleware_AppState_SaveVendorRequest).get$$call(), new A.TypedMiddleware(mergeVendors, type$.TypedMiddleware_AppState_MergeVendorsRequest).get$$call(), new A.TypedMiddleware(archiveVendor, type$.TypedMiddleware_AppState_ArchiveVendorRequest).get$$call(), new A.TypedMiddleware(deleteVendor, type$.TypedMiddleware_AppState_DeleteVendorRequest).get$$call(), new A.TypedMiddleware(restoreVendor, type$.TypedMiddleware_AppState_RestoreVendorRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveVendorDocumentRequest).get$$call()], t2)); viewTaskList = A._viewTaskList(); viewTask = A._viewTask(); editTask = A._editTask(); loadTasks = A._loadTasks(B.C_TaskRepository); loadTask = A._loadTask(B.C_TaskRepository); saveTask = A._saveTask(B.C_TaskRepository); archiveTask = A._archiveTask(B.C_TaskRepository); startTask = A._startTask(B.C_TaskRepository); stopTask = A._stopTask(B.C_TaskRepository); deleteTask = A._deleteTask(B.C_TaskRepository); restoreTask = A._restoreTask(B.C_TaskRepository); saveDocument = A._saveDocument5(B.C_TaskRepository); sortTasks = A._sortTasks(B.C_TaskRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewTaskList, type$.TypedMiddleware_AppState_ViewTaskList).get$$call(), new A.TypedMiddleware(viewTask, type$.TypedMiddleware_AppState_ViewTask).get$$call(), new A.TypedMiddleware(editTask, type$.TypedMiddleware_AppState_EditTask).get$$call(), new A.TypedMiddleware(loadTasks, type$.TypedMiddleware_AppState_LoadTasks).get$$call(), new A.TypedMiddleware(loadTask, type$.TypedMiddleware_AppState_LoadTask).get$$call(), new A.TypedMiddleware(saveTask, type$.TypedMiddleware_AppState_SaveTaskRequest).get$$call(), new A.TypedMiddleware(archiveTask, type$.TypedMiddleware_AppState_ArchiveTaskRequest).get$$call(), new A.TypedMiddleware(startTask, type$.TypedMiddleware_AppState_StartTasksRequest).get$$call(), new A.TypedMiddleware(stopTask, type$.TypedMiddleware_AppState_StopTasksRequest).get$$call(), new A.TypedMiddleware(deleteTask, type$.TypedMiddleware_AppState_DeleteTaskRequest).get$$call(), new A.TypedMiddleware(restoreTask, type$.TypedMiddleware_AppState_RestoreTaskRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveTaskDocumentRequest).get$$call(), new A.TypedMiddleware(sortTasks, type$.TypedMiddleware_AppState_SortTasksRequest).get$$call()], t2)); viewProjectList = A._viewProjectList(); viewProject = A._viewProject(); editProject = A._editProject(); loadProjects = A._loadProjects(B.C_ProjectRepository); loadProject = A._loadProject(B.C_ProjectRepository); saveProject = A._saveProject(B.C_ProjectRepository); archiveProject = A._archiveProject(B.C_ProjectRepository); deleteProject = A._deleteProject(B.C_ProjectRepository); restoreProject = A._restoreProject(B.C_ProjectRepository); saveDocument = A._saveDocument6(B.C_ProjectRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewProjectList, type$.TypedMiddleware_AppState_ViewProjectList).get$$call(), new A.TypedMiddleware(viewProject, type$.TypedMiddleware_AppState_ViewProject).get$$call(), new A.TypedMiddleware(editProject, type$.TypedMiddleware_AppState_EditProject).get$$call(), new A.TypedMiddleware(loadProjects, type$.TypedMiddleware_AppState_LoadProjects).get$$call(), new A.TypedMiddleware(loadProject, type$.TypedMiddleware_AppState_LoadProject).get$$call(), new A.TypedMiddleware(saveProject, type$.TypedMiddleware_AppState_SaveProjectRequest).get$$call(), new A.TypedMiddleware(archiveProject, type$.TypedMiddleware_AppState_ArchiveProjectRequest).get$$call(), new A.TypedMiddleware(deleteProject, type$.TypedMiddleware_AppState_DeleteProjectRequest).get$$call(), new A.TypedMiddleware(restoreProject, type$.TypedMiddleware_AppState_RestoreProjectRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveProjectDocumentRequest).get$$call()], t2)); viewPaymentList = A._viewPaymentList(); viewPayment = A._viewPayment(); editPayment = A._editPayment(); viewRefundPayment = A._viewRefundPayment(); loadPayments = A._loadPayments(B.C_PaymentRepository); loadPayment = A._loadPayment(B.C_PaymentRepository); savePayment = A._savePayment(B.C_PaymentRepository); refundPayment = A._refundPayment(B.C_PaymentRepository); archivePayment = A._archivePayment(B.C_PaymentRepository); deletePayment = A._deletePayment(B.C_PaymentRepository); restorePayment = A._restorePayment(B.C_PaymentRepository); emailPayment = A._emailPayment(B.C_PaymentRepository); saveDocument = A._saveDocument7(B.C_PaymentRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewPaymentList, type$.TypedMiddleware_AppState_ViewPaymentList).get$$call(), new A.TypedMiddleware(viewPayment, type$.TypedMiddleware_AppState_ViewPayment).get$$call(), new A.TypedMiddleware(editPayment, type$.TypedMiddleware_AppState_EditPayment).get$$call(), new A.TypedMiddleware(viewRefundPayment, type$.TypedMiddleware_AppState_ViewRefundPayment).get$$call(), new A.TypedMiddleware(loadPayments, type$.TypedMiddleware_AppState_LoadPayments).get$$call(), new A.TypedMiddleware(loadPayment, type$.TypedMiddleware_AppState_LoadPayment).get$$call(), new A.TypedMiddleware(savePayment, type$.TypedMiddleware_AppState_SavePaymentRequest).get$$call(), new A.TypedMiddleware(refundPayment, type$.TypedMiddleware_AppState_RefundPaymentRequest).get$$call(), new A.TypedMiddleware(archivePayment, type$.TypedMiddleware_AppState_ArchivePaymentsRequest).get$$call(), new A.TypedMiddleware(deletePayment, type$.TypedMiddleware_AppState_DeletePaymentsRequest).get$$call(), new A.TypedMiddleware(restorePayment, type$.TypedMiddleware_AppState_RestorePaymentsRequest).get$$call(), new A.TypedMiddleware(emailPayment, type$.TypedMiddleware_AppState_EmailPaymentRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SavePaymentDocumentRequest).get$$call()], t2)); viewQuoteList = A._viewQuoteList(); viewQuote = A._viewQuote(); editQuote = A._editQuote(); showEmailQuote = A._showEmailQuote(); showPdfQuote = A._showPdfQuote(); convertQuotesToInvoices = A._convertQuotesToInvoices(B.C_QuoteRepository); convertQuotesToProjects = A._convertQuotesToProjects(B.C_QuoteRepository); approveQuote = A._approveQuote(B.C_QuoteRepository); loadQuotes = A._loadQuotes(B.C_QuoteRepository); loadQuote = A._loadQuote(B.C_QuoteRepository); saveQuote = A._saveQuote(B.C_QuoteRepository); archiveQuote = A._archiveQuote(B.C_QuoteRepository); deleteQuote = A._deleteQuote(B.C_QuoteRepository); restoreQuote = A._restoreQuote(B.C_QuoteRepository); emailQuote = A._emailQuote(B.C_QuoteRepository); bulkEmailQuotes = A._bulkEmailQuotes(B.C_QuoteRepository); markSentQuote = A._markSentQuote(B.C_QuoteRepository); downloadQuotes = A._downloadQuotes(B.C_QuoteRepository); saveDocument = A._saveDocument8(B.C_QuoteRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewQuoteList, type$.TypedMiddleware_AppState_ViewQuoteList).get$$call(), new A.TypedMiddleware(viewQuote, type$.TypedMiddleware_AppState_ViewQuote).get$$call(), new A.TypedMiddleware(editQuote, type$.TypedMiddleware_AppState_EditQuote).get$$call(), new A.TypedMiddleware(convertQuotesToInvoices, type$.TypedMiddleware_AppState_ConvertQuotesToInvoices).get$$call(), new A.TypedMiddleware(convertQuotesToProjects, type$.TypedMiddleware_AppState_ConvertQuotesToProjects).get$$call(), new A.TypedMiddleware(approveQuote, type$.TypedMiddleware_AppState_ApproveQuotes).get$$call(), new A.TypedMiddleware(showEmailQuote, type$.TypedMiddleware_AppState_ShowEmailQuote).get$$call(), new A.TypedMiddleware(showPdfQuote, type$.TypedMiddleware_AppState_ShowPdfQuote).get$$call(), new A.TypedMiddleware(loadQuotes, type$.TypedMiddleware_AppState_LoadQuotes).get$$call(), new A.TypedMiddleware(loadQuote, type$.TypedMiddleware_AppState_LoadQuote).get$$call(), new A.TypedMiddleware(saveQuote, type$.TypedMiddleware_AppState_SaveQuoteRequest).get$$call(), new A.TypedMiddleware(archiveQuote, type$.TypedMiddleware_AppState_ArchiveQuotesRequest).get$$call(), new A.TypedMiddleware(deleteQuote, type$.TypedMiddleware_AppState_DeleteQuotesRequest).get$$call(), new A.TypedMiddleware(restoreQuote, type$.TypedMiddleware_AppState_RestoreQuotesRequest).get$$call(), new A.TypedMiddleware(emailQuote, type$.TypedMiddleware_AppState_EmailQuoteRequest).get$$call(), new A.TypedMiddleware(bulkEmailQuotes, type$.TypedMiddleware_AppState_BulkEmailQuotesRequest).get$$call(), new A.TypedMiddleware(markSentQuote, type$.TypedMiddleware_AppState_MarkSentQuotesRequest).get$$call(), new A.TypedMiddleware(downloadQuotes, type$.TypedMiddleware_AppState_DownloadQuotesRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveQuoteDocumentRequest).get$$call()], t2)); viewSettings = A._viewSettings(); saveCompany = A._saveCompany(B.C_SettingsRepository); saveEInvoiceCertificate = A._saveEInvoiceCertificate(B.C_SettingsRepository); saveAuthUser = A._saveAuthUser(B.C_SettingsRepository); connectOAuthUser = A._connectOAuthUser(B.C_SettingsRepository); disconnectOAuthUser = A._disconnectOAuthUser(B.C_SettingsRepository); disconnectOAuthMailer = A._disconnectOAuthMailer(B.C_SettingsRepository); connectGmailUser = A._connectGmailUser(B.C_SettingsRepository); saveSettings = A._saveSettings(B.C_SettingsRepository); uploadLogo = A._uploadLogo(B.C_SettingsRepository); saveDocument = A._saveDocument9(B.C_SettingsRepository); disableTwoFactor = A._disableTwoFactor(B.C_SettingsRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewSettings, type$.TypedMiddleware_AppState_ViewSettings).get$$call(), new A.TypedMiddleware(saveCompany, type$.TypedMiddleware_AppState_SaveCompanyRequest).get$$call(), new A.TypedMiddleware(saveEInvoiceCertificate, type$.TypedMiddleware_AppState_SaveEInvoiceCertificateRequest).get$$call(), new A.TypedMiddleware(saveAuthUser, type$.TypedMiddleware_AppState_SaveAuthUserRequest).get$$call(), new A.TypedMiddleware(connectOAuthUser, type$.TypedMiddleware_AppState_ConnecOAuthUserRequest).get$$call(), new A.TypedMiddleware(disconnectOAuthUser, type$.TypedMiddleware_AppState_DisconnecOAuthUserRequest).get$$call(), new A.TypedMiddleware(disconnectOAuthMailer, type$.TypedMiddleware_AppState_DisconnectOAuthMailerRequest).get$$call(), new A.TypedMiddleware(connectGmailUser, type$.TypedMiddleware_AppState_ConnecGmailUserRequest).get$$call(), new A.TypedMiddleware(disableTwoFactor, type$.TypedMiddleware_AppState_DisableTwoFactorRequest).get$$call(), new A.TypedMiddleware(saveSettings, type$.TypedMiddleware_AppState_SaveUserSettingsRequest).get$$call(), new A.TypedMiddleware(uploadLogo, type$.TypedMiddleware_AppState_UploadLogoRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveCompanyDocumentRequest).get$$call()], t2)); viewReports = A._viewReports(); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewReports, type$.TypedMiddleware_AppState_ViewReports).get$$call()], t2)); viewScheduleList = A._viewScheduleList(); viewSchedule = A._viewSchedule(); editSchedule = A._editSchedule(); loadSchedules = A._loadSchedules(B.C_ScheduleRepository); loadSchedule = A._loadSchedule(B.C_ScheduleRepository); saveSchedule = A._saveSchedule(B.C_ScheduleRepository); archiveSchedule = A._archiveSchedule(B.C_ScheduleRepository); deleteSchedule = A._deleteSchedule(B.C_ScheduleRepository); restoreSchedule = A._restoreSchedule(B.C_ScheduleRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewScheduleList, type$.TypedMiddleware_AppState_ViewScheduleList).get$$call(), new A.TypedMiddleware(viewSchedule, type$.TypedMiddleware_AppState_ViewSchedule).get$$call(), new A.TypedMiddleware(editSchedule, type$.TypedMiddleware_AppState_EditSchedule).get$$call(), new A.TypedMiddleware(loadSchedules, type$.TypedMiddleware_AppState_LoadSchedules).get$$call(), new A.TypedMiddleware(loadSchedule, type$.TypedMiddleware_AppState_LoadSchedule).get$$call(), new A.TypedMiddleware(saveSchedule, type$.TypedMiddleware_AppState_SaveScheduleRequest).get$$call(), new A.TypedMiddleware(archiveSchedule, type$.TypedMiddleware_AppState_ArchiveSchedulesRequest).get$$call(), new A.TypedMiddleware(deleteSchedule, type$.TypedMiddleware_AppState_DeleteSchedulesRequest).get$$call(), new A.TypedMiddleware(restoreSchedule, type$.TypedMiddleware_AppState_RestoreSchedulesRequest).get$$call()], t2)); viewTransactionRuleList = A._viewTransactionRuleList(); viewTransactionRule = A._viewTransactionRule(); editTransactionRule = A._editTransactionRule(); loadTransactionRules = A._loadTransactionRules(B.C_TransactionRuleRepository); loadTransactionRule = A._loadTransactionRule(B.C_TransactionRuleRepository); saveTransactionRule = A._saveTransactionRule(B.C_TransactionRuleRepository); archiveTransactionRule = A._archiveTransactionRule(B.C_TransactionRuleRepository); deleteTransactionRule = A._deleteTransactionRule(B.C_TransactionRuleRepository); restoreTransactionRule = A._restoreTransactionRule(B.C_TransactionRuleRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewTransactionRuleList, type$.TypedMiddleware_AppState_ViewTransactionRuleList).get$$call(), new A.TypedMiddleware(viewTransactionRule, type$.TypedMiddleware_AppState_ViewTransactionRule).get$$call(), new A.TypedMiddleware(editTransactionRule, type$.TypedMiddleware_AppState_EditTransactionRule).get$$call(), new A.TypedMiddleware(loadTransactionRules, type$.TypedMiddleware_AppState_LoadTransactionRules).get$$call(), new A.TypedMiddleware(loadTransactionRule, type$.TypedMiddleware_AppState_LoadTransactionRule).get$$call(), new A.TypedMiddleware(saveTransactionRule, type$.TypedMiddleware_AppState_SaveTransactionRuleRequest).get$$call(), new A.TypedMiddleware(archiveTransactionRule, type$.TypedMiddleware_AppState_ArchiveTransactionRulesRequest).get$$call(), new A.TypedMiddleware(deleteTransactionRule, type$.TypedMiddleware_AppState_DeleteTransactionRulesRequest).get$$call(), new A.TypedMiddleware(restoreTransactionRule, type$.TypedMiddleware_AppState_RestoreTransactionRulesRequest).get$$call()], t2)); viewTransactionList = A._viewTransactionList(); viewTransaction = A._viewTransaction(); editTransaction = A._editTransaction(); loadTransactions = A._loadTransactions(B.C_TransactionRepository); loadTransaction = A._loadTransaction(B.C_TransactionRepository); saveTransaction = A._saveTransaction(B.C_TransactionRepository); archiveTransaction = A._archiveTransaction(B.C_TransactionRepository); deleteTransaction = A._deleteTransaction(B.C_TransactionRepository); restoreTransaction = A._restoreTransaction(B.C_TransactionRepository); convertTransactions = A._convertTransactions(B.C_TransactionRepository); unlinkTransactions = A._unlinkTransactions(B.C_TransactionRepository); convertToPayment = A._convertToPayment(B.C_TransactionRepository); convertToExpense = A._convertToExpense(B.C_TransactionRepository); linkToPayment = A._linkToPayment(B.C_TransactionRepository); linkToExpense = A._linkToExpense(B.C_TransactionRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewTransactionList, type$.TypedMiddleware_AppState_ViewTransactionList).get$$call(), new A.TypedMiddleware(viewTransaction, type$.TypedMiddleware_AppState_ViewTransaction).get$$call(), new A.TypedMiddleware(editTransaction, type$.TypedMiddleware_AppState_EditTransaction).get$$call(), new A.TypedMiddleware(loadTransactions, type$.TypedMiddleware_AppState_LoadTransactions).get$$call(), new A.TypedMiddleware(loadTransaction, type$.TypedMiddleware_AppState_LoadTransaction).get$$call(), new A.TypedMiddleware(saveTransaction, type$.TypedMiddleware_AppState_SaveTransactionRequest).get$$call(), new A.TypedMiddleware(archiveTransaction, type$.TypedMiddleware_AppState_ArchiveTransactionsRequest).get$$call(), new A.TypedMiddleware(deleteTransaction, type$.TypedMiddleware_AppState_DeleteTransactionsRequest).get$$call(), new A.TypedMiddleware(restoreTransaction, type$.TypedMiddleware_AppState_RestoreTransactionsRequest).get$$call(), new A.TypedMiddleware(convertTransactions, type$.TypedMiddleware_AppState_ConvertTransactionsRequest).get$$call(), new A.TypedMiddleware(unlinkTransactions, type$.TypedMiddleware_AppState_UnlinkTransactionsRequest).get$$call(), new A.TypedMiddleware(convertToPayment, type$.TypedMiddleware_AppState_ConvertTransactionToPaymentRequest).get$$call(), new A.TypedMiddleware(convertToExpense, type$.TypedMiddleware_AppState_ConvertTransactionsToExpensesRequest).get$$call(), new A.TypedMiddleware(linkToPayment, type$.TypedMiddleware_AppState_LinkTransactionToPaymentRequest).get$$call(), new A.TypedMiddleware(linkToExpense, type$.TypedMiddleware_AppState_LinkTransactionToExpenseRequest).get$$call()], t2)); viewBankAccountList = A._viewBankAccountList(); viewBankAccount = A._viewBankAccount(); editBankAccount = A._editBankAccount(); loadBankAccounts = A._loadBankAccounts(B.C_BankAccountRepository); loadBankAccount = A._loadBankAccount(B.C_BankAccountRepository); saveBankAccount = A._saveBankAccount(B.C_BankAccountRepository); archiveBankAccount = A._archiveBankAccount(B.C_BankAccountRepository); deleteBankAccount = A._deleteBankAccount(B.C_BankAccountRepository); restoreBankAccount = A._restoreBankAccount(B.C_BankAccountRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewBankAccountList, type$.TypedMiddleware_AppState_ViewBankAccountList).get$$call(), new A.TypedMiddleware(viewBankAccount, type$.TypedMiddleware_AppState_ViewBankAccount).get$$call(), new A.TypedMiddleware(editBankAccount, type$.TypedMiddleware_AppState_EditBankAccount).get$$call(), new A.TypedMiddleware(loadBankAccounts, type$.TypedMiddleware_AppState_LoadBankAccounts).get$$call(), new A.TypedMiddleware(loadBankAccount, type$.TypedMiddleware_AppState_LoadBankAccount).get$$call(), new A.TypedMiddleware(saveBankAccount, type$.TypedMiddleware_AppState_SaveBankAccountRequest).get$$call(), new A.TypedMiddleware(archiveBankAccount, type$.TypedMiddleware_AppState_ArchiveBankAccountsRequest).get$$call(), new A.TypedMiddleware(deleteBankAccount, type$.TypedMiddleware_AppState_DeleteBankAccountsRequest).get$$call(), new A.TypedMiddleware(restoreBankAccount, type$.TypedMiddleware_AppState_RestoreBankAccountsRequest).get$$call()], t2)); viewPurchaseOrderList = A._viewPurchaseOrderList(); viewPurchaseOrder = A._viewPurchaseOrder(); editPurchaseOrder = A._editPurchaseOrder(); showEmailPurchaseOrder = A._showEmailPurchaseOrder(); showPdfPurchaseOrder = A._showPdfPurchaseOrder(); approvePurchaseOrder = A._approvePurchaseOrder(B.C_PurchaseOrderRepository); loadPurchaseOrders = A._loadPurchaseOrders(B.C_PurchaseOrderRepository); loadPurchaseOrder = A._loadPurchaseOrder(B.C_PurchaseOrderRepository); savePurchaseOrder = A._savePurchaseOrder(B.C_PurchaseOrderRepository); archivePurchaseOrder = A._archivePurchaseOrder(B.C_PurchaseOrderRepository); deletePurchaseOrder = A._deletePurchaseOrder(B.C_PurchaseOrderRepository); restorePurchaseOrder = A._restorePurchaseOrder(B.C_PurchaseOrderRepository); emailPurchaseOrder = A._emailPurchaseOrder(B.C_PurchaseOrderRepository); bulkEmailPurchaseOrders = A._bulkEmailPurchaseOrders(B.C_PurchaseOrderRepository); markSentPurchaseOrder = A._markSentPurchaseOrder(B.C_PurchaseOrderRepository); convertPurchaseOrdersToExpense = A._convertPurchaseOrdersToExpense(B.C_PurchaseOrderRepository); addPurchaseOrdersToInventory = A._addPurchaseOrdersToInventory(B.C_PurchaseOrderRepository); acceptPurchaseOrders = A._acceptPurchaseOrders(B.C_PurchaseOrderRepository); cancelPurchaseOrders = A._cancelPurchaseOrders(B.C_PurchaseOrderRepository); downloadPurchaseOrders = A._downloadPurchaseOrders(B.C_PurchaseOrderRepository); saveDocument = A._saveDocument10(B.C_PurchaseOrderRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewPurchaseOrderList, type$.TypedMiddleware_AppState_ViewPurchaseOrderList).get$$call(), new A.TypedMiddleware(viewPurchaseOrder, type$.TypedMiddleware_AppState_ViewPurchaseOrder).get$$call(), new A.TypedMiddleware(editPurchaseOrder, type$.TypedMiddleware_AppState_EditPurchaseOrder).get$$call(), new A.TypedMiddleware(approvePurchaseOrder, type$.TypedMiddleware_AppState_ApprovePurchaseOrders).get$$call(), new A.TypedMiddleware(showEmailPurchaseOrder, type$.TypedMiddleware_AppState_ShowEmailPurchaseOrder).get$$call(), new A.TypedMiddleware(showPdfPurchaseOrder, type$.TypedMiddleware_AppState_ShowPdfPurchaseOrder).get$$call(), new A.TypedMiddleware(loadPurchaseOrders, type$.TypedMiddleware_AppState_LoadPurchaseOrders).get$$call(), new A.TypedMiddleware(loadPurchaseOrder, type$.TypedMiddleware_AppState_LoadPurchaseOrder).get$$call(), new A.TypedMiddleware(savePurchaseOrder, type$.TypedMiddleware_AppState_SavePurchaseOrderRequest).get$$call(), new A.TypedMiddleware(archivePurchaseOrder, type$.TypedMiddleware_AppState_ArchivePurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(deletePurchaseOrder, type$.TypedMiddleware_AppState_DeletePurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(restorePurchaseOrder, type$.TypedMiddleware_AppState_RestorePurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(emailPurchaseOrder, type$.TypedMiddleware_AppState_EmailPurchaseOrderRequest).get$$call(), new A.TypedMiddleware(bulkEmailPurchaseOrders, type$.TypedMiddleware_AppState_BulkEmailPurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(markSentPurchaseOrder, type$.TypedMiddleware_AppState_MarkPurchaseOrdersSentRequest).get$$call(), new A.TypedMiddleware(convertPurchaseOrdersToExpense, type$.TypedMiddleware_AppState_ConvertPurchaseOrdersToExpensesRequest).get$$call(), new A.TypedMiddleware(addPurchaseOrdersToInventory, type$.TypedMiddleware_AppState_AddPurchaseOrdersToInventoryRequest).get$$call(), new A.TypedMiddleware(acceptPurchaseOrders, type$.TypedMiddleware_AppState_AcceptPurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(cancelPurchaseOrders, type$.TypedMiddleware_AppState_CancelPurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(downloadPurchaseOrders, type$.TypedMiddleware_AppState_DownloadPurchaseOrdersRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SavePurchaseOrderDocumentRequest).get$$call()], t2)); viewRecurringExpenseList = A._viewRecurringExpenseList(); viewRecurringExpense = A._viewRecurringExpense(); editRecurringExpense = A._editRecurringExpense(); loadRecurringExpenses = A._loadRecurringExpenses(B.C_RecurringExpenseRepository); loadRecurringExpense = A._loadRecurringExpense(B.C_RecurringExpenseRepository); saveRecurringExpense = A._saveRecurringExpense(B.C_RecurringExpenseRepository); archiveRecurringExpense = A._archiveRecurringExpense(B.C_RecurringExpenseRepository); deleteRecurringExpense = A._deleteRecurringExpense(B.C_RecurringExpenseRepository); restoreRecurringExpense = A._restoreRecurringExpense(B.C_RecurringExpenseRepository); startRecurringExpense = A._startRecurringExpense(B.C_RecurringExpenseRepository); stopRecurringExpense = A._stopRecurringExpense(B.C_RecurringExpenseRepository); saveDocument = A._saveDocument11(B.C_RecurringExpenseRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewRecurringExpenseList, type$.TypedMiddleware_AppState_ViewRecurringExpenseList).get$$call(), new A.TypedMiddleware(viewRecurringExpense, type$.TypedMiddleware_AppState_ViewRecurringExpense).get$$call(), new A.TypedMiddleware(editRecurringExpense, type$.TypedMiddleware_AppState_EditRecurringExpense).get$$call(), new A.TypedMiddleware(loadRecurringExpenses, type$.TypedMiddleware_AppState_LoadRecurringExpenses).get$$call(), new A.TypedMiddleware(loadRecurringExpense, type$.TypedMiddleware_AppState_LoadRecurringExpense).get$$call(), new A.TypedMiddleware(saveRecurringExpense, type$.TypedMiddleware_AppState_SaveRecurringExpenseRequest).get$$call(), new A.TypedMiddleware(archiveRecurringExpense, type$.TypedMiddleware_AppState_ArchiveRecurringExpensesRequest).get$$call(), new A.TypedMiddleware(deleteRecurringExpense, type$.TypedMiddleware_AppState_DeleteRecurringExpensesRequest).get$$call(), new A.TypedMiddleware(restoreRecurringExpense, type$.TypedMiddleware_AppState_RestoreRecurringExpensesRequest).get$$call(), new A.TypedMiddleware(startRecurringExpense, type$.TypedMiddleware_AppState_StartRecurringExpensesRequest).get$$call(), new A.TypedMiddleware(stopRecurringExpense, type$.TypedMiddleware_AppState_StopRecurringExpensesRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveRecurringExpenseDocumentRequest).get$$call()], t2)); viewSubscriptionList = A._viewSubscriptionList(); viewSubscription = A._viewSubscription(); editSubscription = A._editSubscription(); loadSubscriptions = A._loadSubscriptions(B.C_SubscriptionRepository); loadSubscription = A._loadSubscription(B.C_SubscriptionRepository); saveSubscription = A._saveSubscription(B.C_SubscriptionRepository); archiveSubscription = A._archiveSubscription(B.C_SubscriptionRepository); deleteSubscription = A._deleteSubscription(B.C_SubscriptionRepository); restoreSubscription = A._restoreSubscription(B.C_SubscriptionRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewSubscriptionList, type$.TypedMiddleware_AppState_ViewSubscriptionList).get$$call(), new A.TypedMiddleware(viewSubscription, type$.TypedMiddleware_AppState_ViewSubscription).get$$call(), new A.TypedMiddleware(editSubscription, type$.TypedMiddleware_AppState_EditSubscription).get$$call(), new A.TypedMiddleware(loadSubscriptions, type$.TypedMiddleware_AppState_LoadSubscriptions).get$$call(), new A.TypedMiddleware(loadSubscription, type$.TypedMiddleware_AppState_LoadSubscription).get$$call(), new A.TypedMiddleware(saveSubscription, type$.TypedMiddleware_AppState_SaveSubscriptionRequest).get$$call(), new A.TypedMiddleware(archiveSubscription, type$.TypedMiddleware_AppState_ArchiveSubscriptionsRequest).get$$call(), new A.TypedMiddleware(deleteSubscription, type$.TypedMiddleware_AppState_DeleteSubscriptionsRequest).get$$call(), new A.TypedMiddleware(restoreSubscription, type$.TypedMiddleware_AppState_RestoreSubscriptionsRequest).get$$call()], t2)); viewTaskStatusList = A._viewTaskStatusList(); viewTaskStatus = A._viewTaskStatus(); editTaskStatus = A._editTaskStatus(); loadTaskStatuses = A._loadTaskStatuses(B.C_TaskStatusRepository); loadTaskStatus = A._loadTaskStatus(B.C_TaskStatusRepository); saveTaskStatus = A._saveTaskStatus(B.C_TaskStatusRepository); archiveTaskStatus = A._archiveTaskStatus(B.C_TaskStatusRepository); deleteTaskStatus = A._deleteTaskStatus(B.C_TaskStatusRepository); restoreTaskStatus = A._restoreTaskStatus(B.C_TaskStatusRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewTaskStatusList, type$.TypedMiddleware_AppState_ViewTaskStatusList).get$$call(), new A.TypedMiddleware(viewTaskStatus, type$.TypedMiddleware_AppState_ViewTaskStatus).get$$call(), new A.TypedMiddleware(editTaskStatus, type$.TypedMiddleware_AppState_EditTaskStatus).get$$call(), new A.TypedMiddleware(loadTaskStatuses, type$.TypedMiddleware_AppState_LoadTaskStatuses).get$$call(), new A.TypedMiddleware(loadTaskStatus, type$.TypedMiddleware_AppState_LoadTaskStatus).get$$call(), new A.TypedMiddleware(saveTaskStatus, type$.TypedMiddleware_AppState_SaveTaskStatusRequest).get$$call(), new A.TypedMiddleware(archiveTaskStatus, type$.TypedMiddleware_AppState_ArchiveTaskStatusesRequest).get$$call(), new A.TypedMiddleware(deleteTaskStatus, type$.TypedMiddleware_AppState_DeleteTaskStatusesRequest).get$$call(), new A.TypedMiddleware(restoreTaskStatus, type$.TypedMiddleware_AppState_RestoreTaskStatusesRequest).get$$call()], t2)); viewExpenseCategoryList = A._viewExpenseCategoryList(); viewExpenseCategory = A._viewExpenseCategory(); editExpenseCategory = A._editExpenseCategory(); loadExpenseCategories = A._loadExpenseCategories(B.C_ExpenseCategoryRepository); loadExpenseCategory = A._loadExpenseCategory(B.C_ExpenseCategoryRepository); saveExpenseCategory = A._saveExpenseCategory(B.C_ExpenseCategoryRepository); archiveExpenseCategory = A._archiveExpenseCategory(B.C_ExpenseCategoryRepository); deleteExpenseCategory = A._deleteExpenseCategory(B.C_ExpenseCategoryRepository); restoreExpenseCategory = A._restoreExpenseCategory(B.C_ExpenseCategoryRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewExpenseCategoryList, type$.TypedMiddleware_AppState_ViewExpenseCategoryList).get$$call(), new A.TypedMiddleware(viewExpenseCategory, type$.TypedMiddleware_AppState_ViewExpenseCategory).get$$call(), new A.TypedMiddleware(editExpenseCategory, type$.TypedMiddleware_AppState_EditExpenseCategory).get$$call(), new A.TypedMiddleware(loadExpenseCategories, type$.TypedMiddleware_AppState_LoadExpenseCategories).get$$call(), new A.TypedMiddleware(loadExpenseCategory, type$.TypedMiddleware_AppState_LoadExpenseCategory).get$$call(), new A.TypedMiddleware(saveExpenseCategory, type$.TypedMiddleware_AppState_SaveExpenseCategoryRequest).get$$call(), new A.TypedMiddleware(archiveExpenseCategory, type$.TypedMiddleware_AppState_ArchiveExpenseCategoriesRequest).get$$call(), new A.TypedMiddleware(deleteExpenseCategory, type$.TypedMiddleware_AppState_DeleteExpenseCategoriesRequest).get$$call(), new A.TypedMiddleware(restoreExpenseCategory, type$.TypedMiddleware_AppState_RestoreExpenseCategoriesRequest).get$$call()], t2)); viewRecurringInvoiceList = A._viewRecurringInvoiceList(); viewRecurringInvoice = A._viewRecurringInvoice(); editRecurringInvoice = A._editRecurringInvoice(); showPdfRecurringInvoice = A._showPdfRecurringInvoice(); loadRecurringInvoices = A._loadRecurringInvoices(B.C_RecurringInvoiceRepository); loadRecurringInvoice = A._loadRecurringInvoice(B.C_RecurringInvoiceRepository); saveRecurringInvoice = A._saveRecurringInvoice(B.C_RecurringInvoiceRepository); archiveRecurringInvoice = A._archiveRecurringInvoice(B.C_RecurringInvoiceRepository); deleteRecurringInvoice = A._deleteRecurringInvoice(B.C_RecurringInvoiceRepository); restoreRecurringInvoice = A._restoreRecurringInvoice(B.C_RecurringInvoiceRepository); startRecurringInvoice = A._startRecurringInvoice(B.C_RecurringInvoiceRepository); stopRecurringInvoice = A._stopRecurringInvoice(B.C_RecurringInvoiceRepository); updatePricesRecurringInvoice = A._updatePricesRecurringInvoice(B.C_RecurringInvoiceRepository); increasePricesRecurringInvoice = A._increasePricesRecurringInvoice(B.C_RecurringInvoiceRepository); sendNowRecurringInvoice = A._sendNowRecurringInvoice(B.C_RecurringInvoiceRepository); saveDocument = A._saveDocument12(B.C_RecurringInvoiceRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewRecurringInvoiceList, type$.TypedMiddleware_AppState_ViewRecurringInvoiceList).get$$call(), new A.TypedMiddleware(viewRecurringInvoice, type$.TypedMiddleware_AppState_ViewRecurringInvoice).get$$call(), new A.TypedMiddleware(editRecurringInvoice, type$.TypedMiddleware_AppState_EditRecurringInvoice).get$$call(), new A.TypedMiddleware(loadRecurringInvoices, type$.TypedMiddleware_AppState_LoadRecurringInvoices).get$$call(), new A.TypedMiddleware(loadRecurringInvoice, type$.TypedMiddleware_AppState_LoadRecurringInvoice).get$$call(), new A.TypedMiddleware(showPdfRecurringInvoice, type$.TypedMiddleware_AppState_ShowPdfRecurringInvoice).get$$call(), new A.TypedMiddleware(saveRecurringInvoice, type$.TypedMiddleware_AppState_SaveRecurringInvoiceRequest).get$$call(), new A.TypedMiddleware(archiveRecurringInvoice, type$.TypedMiddleware_AppState_ArchiveRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(deleteRecurringInvoice, type$.TypedMiddleware_AppState_DeleteRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(restoreRecurringInvoice, type$.TypedMiddleware_AppState_RestoreRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(startRecurringInvoice, type$.TypedMiddleware_AppState_StartRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(stopRecurringInvoice, type$.TypedMiddleware_AppState_StopRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(updatePricesRecurringInvoice, type$.TypedMiddleware_AppState_UpdatePricesRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(increasePricesRecurringInvoice, type$.TypedMiddleware_AppState_IncreasePricesRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(sendNowRecurringInvoice, type$.TypedMiddleware_AppState_SendNowRecurringInvoicesRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveRecurringInvoiceDocumentRequest).get$$call()], t2)); viewWebhookList = A._viewWebhookList(); viewWebhook = A._viewWebhook(); editWebhook = A._editWebhook(); loadWebhooks = A._loadWebhooks(B.C_WebhookRepository); loadWebhook = A._loadWebhook(B.C_WebhookRepository); saveWebhook = A._saveWebhook(B.C_WebhookRepository); archiveWebhook = A._archiveWebhook(B.C_WebhookRepository); deleteWebhook = A._deleteWebhook(B.C_WebhookRepository); restoreWebhook = A._restoreWebhook(B.C_WebhookRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewWebhookList, type$.TypedMiddleware_AppState_ViewWebhookList).get$$call(), new A.TypedMiddleware(viewWebhook, type$.TypedMiddleware_AppState_ViewWebhook).get$$call(), new A.TypedMiddleware(editWebhook, type$.TypedMiddleware_AppState_EditWebhook).get$$call(), new A.TypedMiddleware(loadWebhooks, type$.TypedMiddleware_AppState_LoadWebhooks).get$$call(), new A.TypedMiddleware(loadWebhook, type$.TypedMiddleware_AppState_LoadWebhook).get$$call(), new A.TypedMiddleware(saveWebhook, type$.TypedMiddleware_AppState_SaveWebhookRequest).get$$call(), new A.TypedMiddleware(archiveWebhook, type$.TypedMiddleware_AppState_ArchiveWebhooksRequest).get$$call(), new A.TypedMiddleware(deleteWebhook, type$.TypedMiddleware_AppState_DeleteWebhooksRequest).get$$call(), new A.TypedMiddleware(restoreWebhook, type$.TypedMiddleware_AppState_RestoreWebhooksRequest).get$$call()], t2)); viewTokenList = A._viewTokenList(); viewToken = A._viewToken(); editToken = A._editToken(); loadTokens = A._loadTokens(B.C_TokenRepository); loadToken = A._loadToken(B.C_TokenRepository); saveToken = A._saveToken(B.C_TokenRepository); archiveToken = A._archiveToken(B.C_TokenRepository); deleteToken = A._deleteToken(B.C_TokenRepository); restoreToken = A._restoreToken(B.C_TokenRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewTokenList, type$.TypedMiddleware_AppState_ViewTokenList).get$$call(), new A.TypedMiddleware(viewToken, type$.TypedMiddleware_AppState_ViewToken).get$$call(), new A.TypedMiddleware(editToken, type$.TypedMiddleware_AppState_EditToken).get$$call(), new A.TypedMiddleware(loadTokens, type$.TypedMiddleware_AppState_LoadTokens).get$$call(), new A.TypedMiddleware(loadToken, type$.TypedMiddleware_AppState_LoadToken).get$$call(), new A.TypedMiddleware(saveToken, type$.TypedMiddleware_AppState_SaveTokenRequest).get$$call(), new A.TypedMiddleware(archiveToken, type$.TypedMiddleware_AppState_ArchiveTokensRequest).get$$call(), new A.TypedMiddleware(deleteToken, type$.TypedMiddleware_AppState_DeleteTokensRequest).get$$call(), new A.TypedMiddleware(restoreToken, type$.TypedMiddleware_AppState_RestoreTokensRequest).get$$call()], t2)); viewPaymentTermList = A._viewPaymentTermList(); viewPaymentTerm = A._viewPaymentTerm(); editPaymentTerm = A._editPaymentTerm(); loadPaymentTerms = A._loadPaymentTerms(B.C_PaymentTermRepository); loadPaymentTerm = A._loadPaymentTerm(B.C_PaymentTermRepository); savePaymentTerm = A._savePaymentTerm(B.C_PaymentTermRepository); archivePaymentTerm = A._archivePaymentTerm(B.C_PaymentTermRepository); deletePaymentTerm = A._deletePaymentTerm(B.C_PaymentTermRepository); restorePaymentTerm = A._restorePaymentTerm(B.C_PaymentTermRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewPaymentTermList, type$.TypedMiddleware_AppState_ViewPaymentTermList).get$$call(), new A.TypedMiddleware(viewPaymentTerm, type$.TypedMiddleware_AppState_ViewPaymentTerm).get$$call(), new A.TypedMiddleware(editPaymentTerm, type$.TypedMiddleware_AppState_EditPaymentTerm).get$$call(), new A.TypedMiddleware(loadPaymentTerms, type$.TypedMiddleware_AppState_LoadPaymentTerms).get$$call(), new A.TypedMiddleware(loadPaymentTerm, type$.TypedMiddleware_AppState_LoadPaymentTerm).get$$call(), new A.TypedMiddleware(savePaymentTerm, type$.TypedMiddleware_AppState_SavePaymentTermRequest).get$$call(), new A.TypedMiddleware(archivePaymentTerm, type$.TypedMiddleware_AppState_ArchivePaymentTermsRequest).get$$call(), new A.TypedMiddleware(deletePaymentTerm, type$.TypedMiddleware_AppState_DeletePaymentTermsRequest).get$$call(), new A.TypedMiddleware(restorePaymentTerm, type$.TypedMiddleware_AppState_RestorePaymentTermsRequest).get$$call()], t2)); viewDesignList = A._viewDesignList(); viewDesign = A._viewDesign(); editDesign = A._editDesign(); loadDesigns = A._loadDesigns(B.C_DesignRepository); loadDesign = A._loadDesign(B.C_DesignRepository); saveDesign = A._saveDesign(B.C_DesignRepository); archiveDesign = A._archiveDesign(B.C_DesignRepository); deleteDesign = A._deleteDesign(B.C_DesignRepository); restoreDesign = A._restoreDesign(B.C_DesignRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewDesignList, type$.TypedMiddleware_AppState_ViewDesignList).get$$call(), new A.TypedMiddleware(viewDesign, type$.TypedMiddleware_AppState_ViewDesign).get$$call(), new A.TypedMiddleware(editDesign, type$.TypedMiddleware_AppState_EditDesign).get$$call(), new A.TypedMiddleware(loadDesigns, type$.TypedMiddleware_AppState_LoadDesigns).get$$call(), new A.TypedMiddleware(loadDesign, type$.TypedMiddleware_AppState_LoadDesign).get$$call(), new A.TypedMiddleware(saveDesign, type$.TypedMiddleware_AppState_SaveDesignRequest).get$$call(), new A.TypedMiddleware(archiveDesign, type$.TypedMiddleware_AppState_ArchiveDesignsRequest).get$$call(), new A.TypedMiddleware(deleteDesign, type$.TypedMiddleware_AppState_DeleteDesignsRequest).get$$call(), new A.TypedMiddleware(restoreDesign, type$.TypedMiddleware_AppState_RestoreDesignsRequest).get$$call()], t2)); viewCreditList = A._viewCreditList(); viewCredit = A._viewCredit(); editCredit = A._editCredit(); showEmailCredit = A._showEmailCredit(); showPdfCredit = A._showPdfCredit(); loadCredits = A._loadCredits(B.C_CreditRepository); loadCredit = A._loadCredit(B.C_CreditRepository); saveCredit = A._saveCredit(B.C_CreditRepository); archiveCredit = A._archiveCredit(B.C_CreditRepository); deleteCredit = A._deleteCredit(B.C_CreditRepository); restoreCredit = A._restoreCredit(B.C_CreditRepository); emailCredit = A._emailCredit(B.C_CreditRepository); bulkEmailCredits = A._bulkEmailCredits(B.C_CreditRepository); markPaidCredit = A._markPaidCredit(B.C_CreditRepository); markSentCredit = A._markSentCredit(B.C_CreditRepository); downloadCredits = A._downloadCredits(B.C_CreditRepository); saveDocument = A._saveDocument13(B.C_CreditRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewCreditList, type$.TypedMiddleware_AppState_ViewCreditList).get$$call(), new A.TypedMiddleware(viewCredit, type$.TypedMiddleware_AppState_ViewCredit).get$$call(), new A.TypedMiddleware(editCredit, type$.TypedMiddleware_AppState_EditCredit).get$$call(), new A.TypedMiddleware(showEmailCredit, type$.TypedMiddleware_AppState_ShowEmailCredit).get$$call(), new A.TypedMiddleware(showPdfCredit, type$.TypedMiddleware_AppState_ShowPdfCredit).get$$call(), new A.TypedMiddleware(loadCredits, type$.TypedMiddleware_AppState_LoadCredits).get$$call(), new A.TypedMiddleware(loadCredit, type$.TypedMiddleware_AppState_LoadCredit).get$$call(), new A.TypedMiddleware(saveCredit, type$.TypedMiddleware_AppState_SaveCreditRequest).get$$call(), new A.TypedMiddleware(archiveCredit, type$.TypedMiddleware_AppState_ArchiveCreditsRequest).get$$call(), new A.TypedMiddleware(deleteCredit, type$.TypedMiddleware_AppState_DeleteCreditsRequest).get$$call(), new A.TypedMiddleware(restoreCredit, type$.TypedMiddleware_AppState_RestoreCreditsRequest).get$$call(), new A.TypedMiddleware(emailCredit, type$.TypedMiddleware_AppState_EmailCreditRequest).get$$call(), new A.TypedMiddleware(bulkEmailCredits, type$.TypedMiddleware_AppState_BulkEmailCreditsRequest).get$$call(), new A.TypedMiddleware(markSentCredit, type$.TypedMiddleware_AppState_MarkSentCreditRequest).get$$call(), new A.TypedMiddleware(markPaidCredit, type$.TypedMiddleware_AppState_MarkCreditsPaidRequest).get$$call(), new A.TypedMiddleware(downloadCredits, type$.TypedMiddleware_AppState_DownloadCreditsRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveCreditDocumentRequest).get$$call()], t2)); viewUserList = A._viewUserList(); viewUser = A._viewUser(); editUser = A._editUser(); loadUsers = A._loadUsers(B.C_UserRepository); loadUser = A._loadUser(B.C_UserRepository); saveUser = A._saveUser(B.C_UserRepository); archiveUser = A._archiveUser(B.C_UserRepository); deleteUser = A._deleteUser(B.C_UserRepository); restoreUser = A._restoreUser(B.C_UserRepository); removeUser = A._removeUser(B.C_UserRepository); resendInvite = A._resendInvite(B.C_UserRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewUserList, type$.TypedMiddleware_AppState_ViewUserList).get$$call(), new A.TypedMiddleware(viewUser, type$.TypedMiddleware_AppState_ViewUser).get$$call(), new A.TypedMiddleware(editUser, type$.TypedMiddleware_AppState_EditUser).get$$call(), new A.TypedMiddleware(loadUsers, type$.TypedMiddleware_AppState_LoadUsers).get$$call(), new A.TypedMiddleware(loadUser, type$.TypedMiddleware_AppState_LoadUser).get$$call(), new A.TypedMiddleware(saveUser, type$.TypedMiddleware_AppState_SaveUserRequest).get$$call(), new A.TypedMiddleware(archiveUser, type$.TypedMiddleware_AppState_ArchiveUserRequest).get$$call(), new A.TypedMiddleware(deleteUser, type$.TypedMiddleware_AppState_DeleteUserRequest).get$$call(), new A.TypedMiddleware(restoreUser, type$.TypedMiddleware_AppState_RestoreUserRequest).get$$call(), new A.TypedMiddleware(removeUser, type$.TypedMiddleware_AppState_RemoveUserRequest).get$$call(), new A.TypedMiddleware(resendInvite, type$.TypedMiddleware_AppState_ResendInviteRequest).get$$call()], t2)); viewTaxRateList = A._viewTaxRateList(); viewTaxRate = A._viewTaxRate(); editTaxRate = A._editTaxRate(); loadTaxRates = A._loadTaxRates(B.C_TaxRateRepository); loadTaxRate = A._loadTaxRate(B.C_TaxRateRepository); saveTaxRate = A._saveTaxRate(B.C_TaxRateRepository); archiveTaxRate = A._archiveTaxRate(B.C_TaxRateRepository); deleteTaxRate = A._deleteTaxRate(B.C_TaxRateRepository); restoreTaxRate = A._restoreTaxRate(B.C_TaxRateRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewTaxRateList, type$.TypedMiddleware_AppState_ViewTaxRateList).get$$call(), new A.TypedMiddleware(viewTaxRate, type$.TypedMiddleware_AppState_ViewTaxRate).get$$call(), new A.TypedMiddleware(editTaxRate, type$.TypedMiddleware_AppState_EditTaxRate).get$$call(), new A.TypedMiddleware(loadTaxRates, type$.TypedMiddleware_AppState_LoadTaxRates).get$$call(), new A.TypedMiddleware(loadTaxRate, type$.TypedMiddleware_AppState_LoadTaxRate).get$$call(), new A.TypedMiddleware(saveTaxRate, type$.TypedMiddleware_AppState_SaveTaxRateRequest).get$$call(), new A.TypedMiddleware(archiveTaxRate, type$.TypedMiddleware_AppState_ArchiveTaxRateRequest).get$$call(), new A.TypedMiddleware(deleteTaxRate, type$.TypedMiddleware_AppState_DeleteTaxRateRequest).get$$call(), new A.TypedMiddleware(restoreTaxRate, type$.TypedMiddleware_AppState_RestoreTaxRateRequest).get$$call()], t2)); viewCompanyGatewayList = A._viewCompanyGatewayList(); viewCompanyGateway = A._viewCompanyGateway(); editCompanyGateway = A._editCompanyGateway(); loadCompanyGateways = A._loadCompanyGateways(B.C_CompanyGatewayRepository); loadCompanyGateway = A._loadCompanyGateway(B.C_CompanyGatewayRepository); saveCompanyGateway = A._saveCompanyGateway(B.C_CompanyGatewayRepository); archiveCompanyGateway = A._archiveCompanyGateway(B.C_CompanyGatewayRepository); deleteCompanyGateway = A._deleteCompanyGateway(B.C_CompanyGatewayRepository); restoreCompanyGateway = A._restoreCompanyGateway(B.C_CompanyGatewayRepository); disconnectCompanyGateway = A._disconnectCompanyGateway(B.C_CompanyGatewayRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewCompanyGatewayList, type$.TypedMiddleware_AppState_ViewCompanyGatewayList).get$$call(), new A.TypedMiddleware(viewCompanyGateway, type$.TypedMiddleware_AppState_ViewCompanyGateway).get$$call(), new A.TypedMiddleware(editCompanyGateway, type$.TypedMiddleware_AppState_EditCompanyGateway).get$$call(), new A.TypedMiddleware(loadCompanyGateways, type$.TypedMiddleware_AppState_LoadCompanyGateways).get$$call(), new A.TypedMiddleware(loadCompanyGateway, type$.TypedMiddleware_AppState_LoadCompanyGateway).get$$call(), new A.TypedMiddleware(saveCompanyGateway, type$.TypedMiddleware_AppState_SaveCompanyGatewayRequest).get$$call(), new A.TypedMiddleware(archiveCompanyGateway, type$.TypedMiddleware_AppState_ArchiveCompanyGatewayRequest).get$$call(), new A.TypedMiddleware(deleteCompanyGateway, type$.TypedMiddleware_AppState_DeleteCompanyGatewayRequest).get$$call(), new A.TypedMiddleware(restoreCompanyGateway, type$.TypedMiddleware_AppState_RestoreCompanyGatewayRequest).get$$call(), new A.TypedMiddleware(disconnectCompanyGateway, type$.TypedMiddleware_AppState_DisconnectCompanyGatewayRequest).get$$call()], t2)); viewGroupList = A._viewGroupList(); viewGroup = A._viewGroup(); editGroup = A._editGroup(); loadGroups = A._loadGroups(B.C_GroupRepository); loadGroup = A._loadGroup(B.C_GroupRepository); saveGroup = A._saveGroup(B.C_GroupRepository); archiveGroup = A._archiveGroup(B.C_GroupRepository); deleteGroup = A._deleteGroup(B.C_GroupRepository); restoreGroup = A._restoreGroup(B.C_GroupRepository); saveDocument = A._saveDocument14(B.C_GroupRepository); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(viewGroupList, type$.TypedMiddleware_AppState_ViewGroupList).get$$call(), new A.TypedMiddleware(viewGroup, type$.TypedMiddleware_AppState_ViewGroup).get$$call(), new A.TypedMiddleware(editGroup, type$.TypedMiddleware_AppState_EditGroup).get$$call(), new A.TypedMiddleware(loadGroups, type$.TypedMiddleware_AppState_LoadGroups).get$$call(), new A.TypedMiddleware(loadGroup, type$.TypedMiddleware_AppState_LoadGroup).get$$call(), new A.TypedMiddleware(saveGroup, type$.TypedMiddleware_AppState_SaveGroupRequest).get$$call(), new A.TypedMiddleware(archiveGroup, type$.TypedMiddleware_AppState_ArchiveGroupRequest).get$$call(), new A.TypedMiddleware(deleteGroup, type$.TypedMiddleware_AppState_DeleteGroupRequest).get$$call(), new A.TypedMiddleware(restoreGroup, type$.TypedMiddleware_AppState_RestoreGroupRequest).get$$call(), new A.TypedMiddleware(saveDocument, type$.TypedMiddleware_AppState_SaveGroupDocumentRequest).get$$call()], t2)); loadState = A._createLoadState(B.PersistenceRepository_FileStorage_auth_state, B.PersistenceRepository_FileStorage_ui_state, B.PersistenceRepository_FileStorage_static_state, B.List_Ga5); accountLoaded = A._createAccountLoaded(); dataRefreshed = A._createDataRefreshed(); persistData = A._createPersistData(B.List_Ga5); persistStatic = A._createPersistStatic(B.PersistenceRepository_FileStorage_static_state); userLoggedIn = A._createUserLoggedIn(B.PersistenceRepository_FileStorage_auth_state, B.PersistenceRepository_FileStorage_ui_state, B.PersistenceRepository_FileStorage_static_state, B.List_Ga5); persistUI = A._createPersistUI(B.PersistenceRepository_FileStorage_ui_state); persistPrefs = A._createPersistPrefs(); clearDataState = A._createClearData(B.List_Ga5); deleteState = A._createDeleteState(B.PersistenceRepository_FileStorage_auth_state, B.PersistenceRepository_FileStorage_ui_state, B.PersistenceRepository_FileStorage_static_state, B.List_Ga5); viewMainScreen = A._createViewMainScreen(); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.TypedMiddleware(deleteState, t4).get$$call(), new A.TypedMiddleware(loadState, type$.TypedMiddleware_AppState_LoadStateRequest).get$$call(), new A.TypedMiddleware(userLoggedIn, type$.TypedMiddleware_AppState_UserLoginSuccess).get$$call(), new A.TypedMiddleware(accountLoaded, type$.TypedMiddleware_AppState_LoadAccountSuccess).get$$call(), new A.TypedMiddleware(dataRefreshed, type$.TypedMiddleware_AppState_RefreshDataSuccess).get$$call(), new A.TypedMiddleware(persistData, type$.TypedMiddleware_AppState_PersistData).get$$call(), new A.TypedMiddleware(persistStatic, type$.TypedMiddleware_AppState_PersistStatic).get$$call(), new A.TypedMiddleware(persistUI, type$.TypedMiddleware_AppState_PersistUI).get$$call(), new A.TypedMiddleware(persistPrefs, type$.TypedMiddleware_AppState_PersistPrefs).get$$call(), new A.TypedMiddleware(viewMainScreen, type$.TypedMiddleware_AppState_ViewMainScreen).get$$call(), new A.TypedMiddleware(clearDataState, type$.TypedMiddleware_AppState_ClearPersistedData).get$$call()], t2)); t2 = A._setArrayType([], t2); B.JSArray_methods.addAll$1(t3, t2); store = new A.Store(A.app_reducer__appReducer$closure(), new A._AsyncBroadcastStreamController(null, null, type$._AsyncBroadcastStreamController_AppState), type$.Store_AppState); store.__Store__state_A = t1; t1 = store._createDispatchers$2(t3, store._createReduceAndNotify$1(false)); store.__Store__dispatchers_F !== $ && A.throwUnnamedLateFieldAI(); store.__Store__dispatchers_F = t1; if ($.WidgetsBinding__instance == null) A.WidgetsFlutterBinding$(); t1 = $.WidgetsBinding__instance; t1.toString; t2 = $.$get$EnginePlatformDispatcher__instance(); t3 = type$.nullable_EngineFlutterWindow; t4 = t3._as(t2.get$viewManager()._viewData.$index(0, 0)); t4.toString; t5 = t1.get$pipelineOwner(); value = t1.RendererBinding___RendererBinding_renderView_FI; if (value === $) { t2 = t3._as(t2.get$viewManager()._viewData.$index(0, 0)); t2.toString; result = new A._ReusableRenderView(B.Size_0_0, t2, null, A.LayerHandle$(type$.ContainerLayer_2)); result.RenderObject$0(); result.set$child(null); t1.RendererBinding___RendererBinding_renderView_FI !== $ && A.throwUnnamedLateFieldADI(); t1.RendererBinding___RendererBinding_renderView_FI = result; value = result; } t1.scheduleAttachRootWidget$1(new A.View(t4, new A.InvoiceNinjaApp(store, null), t5, value, null)); t1.scheduleWarmUpFrame$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$main0, $async$completer); }, _initialState(isTesting, prefs) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.AppState), $async$returnValue, e, exception, t1, browserRoute, reportErrors, t2, referralCode, prefString, url, prefState; var $async$_initialState = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start prefString = A._asStringQ(J.$index$asx(prefs._preferenceCache, "shared_prefs")); url = A.WebUtils_apiUrl(); prefState = A.PrefState_PrefState(); if (prefString != null) try { prefState = $.$get$serializers().deserializeWith$1$2($.$get$_$prefStateSerializer(), B.C_JsonCodec.decode$1(0, prefString), type$.PrefState); } catch (exception) { e = A.unwrapException(exception); A.print("## Error: Failed to load prefs: " + A.S(e)); } prefState = prefState.rebuild$1(new A._initialState_closure()); t1 = prefState.appLayout; if (t1 === B.AppLayout_desktop) { t1 = window.location.hash; t1.toString; browserRoute = B.JSString_methods.replaceFirst$2(t1, "#", ""); t1 = browserRoute.length; if (t1 !== 0 && t1 > 4) { if (browserRoute === "/kanban") { prefState = prefState.rebuild$1(new A._initialState_closure0()); browserRoute = "/task"; } } else browserRoute = null; } else browserRoute = null; t1 = window.document.documentElement; t1.toString; reportErrors = t1.getAttribute("data-" + new A._DataAttributeMap(new A._ElementAttributeMap(t1))._toHyphenedName$1("report-errors")) === "1"; t1 = window.document.documentElement; t1.toString; t1 = t1.getAttribute("data-" + new A._DataAttributeMap(new A._ElementAttributeMap(t1))._toHyphenedName$1("white-label")); t2 = window.document.documentElement; t2.toString; referralCode = t2.getAttribute("data-" + new A._DataAttributeMap(new A._ElementAttributeMap(t2))._toHyphenedName$1("rc")); if (reportErrors) A.print("## Error reporting is enabled"); $async$returnValue = A.AppState_AppState(browserRoute, t1 === "1", prefState, referralCode, reportErrors, url); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_initialState, $async$completer); }, _registerErrorHandlers() { $.ErrorWidget_builder = new A._registerErrorHandlers_closure(); }, _initialState_closure: function _initialState_closure() { }, _initialState_closure0: function _initialState_closure0() { }, _registerErrorHandlers_closure: function _registerErrorHandlers_closure() { }, InvoiceNinjaApp: function InvoiceNinjaApp(t0, t1) { this.store = t0; this.key = t1; }, InvoiceNinjaAppState: function InvoiceNinjaAppState(t0) { var _ = this; _._authenticated = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, InvoiceNinjaAppState__authenticate_closure: function InvoiceNinjaAppState__authenticate_closure(t0) { this.$this = t0; }, InvoiceNinjaAppState_initState_closure: function InvoiceNinjaAppState_initState_closure(t0) { this.$this = t0; }, InvoiceNinjaAppState_generateRoute_closure: function InvoiceNinjaAppState_generateRoute_closure() { }, InvoiceNinjaAppState_generateRoute_closure0: function InvoiceNinjaAppState_generateRoute_closure0() { }, InvoiceNinjaAppState_build_closure: function InvoiceNinjaAppState_build_closure(t0) { this.$this = t0; }, InvoiceNinjaAppState_build__closure124: function InvoiceNinjaAppState_build__closure124(t0) { this.state = t0; }, InvoiceNinjaAppState_build__closure: function InvoiceNinjaAppState_build__closure() { }, InvoiceNinjaAppState_build__closure0: function InvoiceNinjaAppState_build__closure0() { }, InvoiceNinjaAppState_build__closure1: function InvoiceNinjaAppState_build__closure1() { }, InvoiceNinjaAppState_build__closure2: function InvoiceNinjaAppState_build__closure2(t0) { this.state = t0; }, InvoiceNinjaAppState_build__closure3: function InvoiceNinjaAppState_build__closure3() { }, InvoiceNinjaAppState_build__closure4: function InvoiceNinjaAppState_build__closure4() { }, InvoiceNinjaAppState_build__closure5: function InvoiceNinjaAppState_build__closure5() { }, InvoiceNinjaAppState_build__closure6: function InvoiceNinjaAppState_build__closure6() { }, InvoiceNinjaAppState_build__closure7: function InvoiceNinjaAppState_build__closure7() { }, InvoiceNinjaAppState_build__closure8: function InvoiceNinjaAppState_build__closure8() { }, InvoiceNinjaAppState_build__closure9: function InvoiceNinjaAppState_build__closure9() { }, InvoiceNinjaAppState_build__closure10: function InvoiceNinjaAppState_build__closure10() { }, InvoiceNinjaAppState_build__closure11: function InvoiceNinjaAppState_build__closure11() { }, InvoiceNinjaAppState_build__closure12: function InvoiceNinjaAppState_build__closure12() { }, InvoiceNinjaAppState_build__closure13: function InvoiceNinjaAppState_build__closure13() { }, InvoiceNinjaAppState_build__closure14: function InvoiceNinjaAppState_build__closure14() { }, InvoiceNinjaAppState_build__closure15: function InvoiceNinjaAppState_build__closure15() { }, InvoiceNinjaAppState_build__closure16: function InvoiceNinjaAppState_build__closure16() { }, InvoiceNinjaAppState_build__closure17: function InvoiceNinjaAppState_build__closure17() { }, InvoiceNinjaAppState_build__closure18: function InvoiceNinjaAppState_build__closure18() { }, InvoiceNinjaAppState_build__closure19: function InvoiceNinjaAppState_build__closure19() { }, InvoiceNinjaAppState_build__closure20: function InvoiceNinjaAppState_build__closure20() { }, InvoiceNinjaAppState_build__closure21: function InvoiceNinjaAppState_build__closure21() { }, InvoiceNinjaAppState_build__closure22: function InvoiceNinjaAppState_build__closure22() { }, InvoiceNinjaAppState_build__closure23: function InvoiceNinjaAppState_build__closure23() { }, InvoiceNinjaAppState_build__closure24: function InvoiceNinjaAppState_build__closure24() { }, InvoiceNinjaAppState_build__closure25: function InvoiceNinjaAppState_build__closure25() { }, InvoiceNinjaAppState_build__closure26: function InvoiceNinjaAppState_build__closure26() { }, InvoiceNinjaAppState_build__closure27: function InvoiceNinjaAppState_build__closure27() { }, InvoiceNinjaAppState_build__closure28: function InvoiceNinjaAppState_build__closure28() { }, InvoiceNinjaAppState_build__closure29: function InvoiceNinjaAppState_build__closure29() { }, InvoiceNinjaAppState_build__closure30: function InvoiceNinjaAppState_build__closure30() { }, InvoiceNinjaAppState_build__closure31: function InvoiceNinjaAppState_build__closure31() { }, InvoiceNinjaAppState_build__closure32: function InvoiceNinjaAppState_build__closure32() { }, InvoiceNinjaAppState_build__closure33: function InvoiceNinjaAppState_build__closure33() { }, InvoiceNinjaAppState_build__closure34: function InvoiceNinjaAppState_build__closure34() { }, InvoiceNinjaAppState_build__closure35: function InvoiceNinjaAppState_build__closure35() { }, InvoiceNinjaAppState_build__closure36: function InvoiceNinjaAppState_build__closure36() { }, InvoiceNinjaAppState_build__closure37: function InvoiceNinjaAppState_build__closure37() { }, InvoiceNinjaAppState_build__closure38: function InvoiceNinjaAppState_build__closure38() { }, InvoiceNinjaAppState_build__closure39: function InvoiceNinjaAppState_build__closure39() { }, InvoiceNinjaAppState_build__closure40: function InvoiceNinjaAppState_build__closure40() { }, InvoiceNinjaAppState_build__closure41: function InvoiceNinjaAppState_build__closure41() { }, InvoiceNinjaAppState_build__closure42: function InvoiceNinjaAppState_build__closure42() { }, InvoiceNinjaAppState_build__closure43: function InvoiceNinjaAppState_build__closure43() { }, InvoiceNinjaAppState_build__closure44: function InvoiceNinjaAppState_build__closure44() { }, InvoiceNinjaAppState_build__closure45: function InvoiceNinjaAppState_build__closure45() { }, InvoiceNinjaAppState_build__closure46: function InvoiceNinjaAppState_build__closure46() { }, InvoiceNinjaAppState_build__closure47: function InvoiceNinjaAppState_build__closure47() { }, InvoiceNinjaAppState_build__closure48: function InvoiceNinjaAppState_build__closure48() { }, InvoiceNinjaAppState_build__closure49: function InvoiceNinjaAppState_build__closure49() { }, InvoiceNinjaAppState_build__closure50: function InvoiceNinjaAppState_build__closure50() { }, InvoiceNinjaAppState_build__closure51: function InvoiceNinjaAppState_build__closure51() { }, InvoiceNinjaAppState_build__closure52: function InvoiceNinjaAppState_build__closure52() { }, InvoiceNinjaAppState_build__closure53: function InvoiceNinjaAppState_build__closure53() { }, InvoiceNinjaAppState_build__closure54: function InvoiceNinjaAppState_build__closure54() { }, InvoiceNinjaAppState_build__closure55: function InvoiceNinjaAppState_build__closure55() { }, InvoiceNinjaAppState_build__closure56: function InvoiceNinjaAppState_build__closure56() { }, InvoiceNinjaAppState_build__closure57: function InvoiceNinjaAppState_build__closure57() { }, InvoiceNinjaAppState_build__closure58: function InvoiceNinjaAppState_build__closure58() { }, InvoiceNinjaAppState_build__closure59: function InvoiceNinjaAppState_build__closure59() { }, InvoiceNinjaAppState_build__closure60: function InvoiceNinjaAppState_build__closure60() { }, InvoiceNinjaAppState_build__closure61: function InvoiceNinjaAppState_build__closure61() { }, InvoiceNinjaAppState_build__closure62: function InvoiceNinjaAppState_build__closure62() { }, InvoiceNinjaAppState_build__closure63: function InvoiceNinjaAppState_build__closure63() { }, InvoiceNinjaAppState_build__closure64: function InvoiceNinjaAppState_build__closure64() { }, InvoiceNinjaAppState_build__closure65: function InvoiceNinjaAppState_build__closure65() { }, InvoiceNinjaAppState_build__closure66: function InvoiceNinjaAppState_build__closure66() { }, InvoiceNinjaAppState_build__closure67: function InvoiceNinjaAppState_build__closure67() { }, InvoiceNinjaAppState_build__closure68: function InvoiceNinjaAppState_build__closure68() { }, InvoiceNinjaAppState_build__closure69: function InvoiceNinjaAppState_build__closure69() { }, InvoiceNinjaAppState_build__closure70: function InvoiceNinjaAppState_build__closure70() { }, InvoiceNinjaAppState_build__closure71: function InvoiceNinjaAppState_build__closure71() { }, InvoiceNinjaAppState_build__closure72: function InvoiceNinjaAppState_build__closure72() { }, InvoiceNinjaAppState_build__closure73: function InvoiceNinjaAppState_build__closure73() { }, InvoiceNinjaAppState_build__closure74: function InvoiceNinjaAppState_build__closure74() { }, InvoiceNinjaAppState_build__closure75: function InvoiceNinjaAppState_build__closure75() { }, InvoiceNinjaAppState_build__closure76: function InvoiceNinjaAppState_build__closure76() { }, InvoiceNinjaAppState_build__closure77: function InvoiceNinjaAppState_build__closure77() { }, InvoiceNinjaAppState_build__closure78: function InvoiceNinjaAppState_build__closure78() { }, InvoiceNinjaAppState_build__closure79: function InvoiceNinjaAppState_build__closure79() { }, InvoiceNinjaAppState_build__closure80: function InvoiceNinjaAppState_build__closure80() { }, InvoiceNinjaAppState_build__closure81: function InvoiceNinjaAppState_build__closure81() { }, InvoiceNinjaAppState_build__closure82: function InvoiceNinjaAppState_build__closure82() { }, InvoiceNinjaAppState_build__closure83: function InvoiceNinjaAppState_build__closure83() { }, InvoiceNinjaAppState_build__closure84: function InvoiceNinjaAppState_build__closure84() { }, InvoiceNinjaAppState_build__closure85: function InvoiceNinjaAppState_build__closure85() { }, InvoiceNinjaAppState_build__closure86: function InvoiceNinjaAppState_build__closure86() { }, InvoiceNinjaAppState_build__closure87: function InvoiceNinjaAppState_build__closure87() { }, InvoiceNinjaAppState_build__closure88: function InvoiceNinjaAppState_build__closure88() { }, InvoiceNinjaAppState_build__closure89: function InvoiceNinjaAppState_build__closure89() { }, InvoiceNinjaAppState_build__closure90: function InvoiceNinjaAppState_build__closure90() { }, InvoiceNinjaAppState_build__closure91: function InvoiceNinjaAppState_build__closure91() { }, InvoiceNinjaAppState_build__closure92: function InvoiceNinjaAppState_build__closure92() { }, InvoiceNinjaAppState_build__closure93: function InvoiceNinjaAppState_build__closure93() { }, InvoiceNinjaAppState_build__closure94: function InvoiceNinjaAppState_build__closure94() { }, InvoiceNinjaAppState_build__closure95: function InvoiceNinjaAppState_build__closure95() { }, InvoiceNinjaAppState_build__closure96: function InvoiceNinjaAppState_build__closure96() { }, InvoiceNinjaAppState_build__closure97: function InvoiceNinjaAppState_build__closure97() { }, InvoiceNinjaAppState_build__closure98: function InvoiceNinjaAppState_build__closure98() { }, InvoiceNinjaAppState_build__closure99: function InvoiceNinjaAppState_build__closure99() { }, InvoiceNinjaAppState_build__closure100: function InvoiceNinjaAppState_build__closure100() { }, InvoiceNinjaAppState_build__closure101: function InvoiceNinjaAppState_build__closure101() { }, InvoiceNinjaAppState_build__closure102: function InvoiceNinjaAppState_build__closure102() { }, InvoiceNinjaAppState_build__closure103: function InvoiceNinjaAppState_build__closure103() { }, InvoiceNinjaAppState_build__closure104: function InvoiceNinjaAppState_build__closure104() { }, InvoiceNinjaAppState_build__closure105: function InvoiceNinjaAppState_build__closure105() { }, InvoiceNinjaAppState_build__closure106: function InvoiceNinjaAppState_build__closure106() { }, InvoiceNinjaAppState_build__closure107: function InvoiceNinjaAppState_build__closure107() { }, InvoiceNinjaAppState_build__closure108: function InvoiceNinjaAppState_build__closure108() { }, InvoiceNinjaAppState_build__closure109: function InvoiceNinjaAppState_build__closure109() { }, InvoiceNinjaAppState_build__closure110: function InvoiceNinjaAppState_build__closure110() { }, InvoiceNinjaAppState_build__closure111: function InvoiceNinjaAppState_build__closure111() { }, InvoiceNinjaAppState_build__closure112: function InvoiceNinjaAppState_build__closure112() { }, InvoiceNinjaAppState_build__closure113: function InvoiceNinjaAppState_build__closure113() { }, InvoiceNinjaAppState_build__closure114: function InvoiceNinjaAppState_build__closure114() { }, InvoiceNinjaAppState_build__closure115: function InvoiceNinjaAppState_build__closure115() { }, InvoiceNinjaAppState_build__closure116: function InvoiceNinjaAppState_build__closure116() { }, InvoiceNinjaAppState_build__closure117: function InvoiceNinjaAppState_build__closure117() { }, InvoiceNinjaAppState_build__closure118: function InvoiceNinjaAppState_build__closure118() { }, InvoiceNinjaAppState_build__closure119: function InvoiceNinjaAppState_build__closure119() { }, InvoiceNinjaAppState_build__closure120: function InvoiceNinjaAppState_build__closure120() { }, InvoiceNinjaAppState_build__closure121: function InvoiceNinjaAppState_build__closure121() { }, InvoiceNinjaAppState_build__closure122: function InvoiceNinjaAppState_build__closure122() { }, InvoiceNinjaAppState_build__closure123: function InvoiceNinjaAppState_build__closure123() { }, MyCustomScrollBehavior: function MyCustomScrollBehavior() { }, UpdateUserPreferences$(appLayout, colorTheme, customColors, darkColorTheme, darkCustomColors, darkModeType, downloadsFolder, editAfterSaving, enableDarkModeSystem, enableNativeBrowser, enableTooltips, enableTouchEvents, flexibleSearch, historyMode, isFilterVisible, isPreviewVisible, longPressSelectionIsDefault, menuMode, moduleLayout, persistData, requireAuthentication, rowsPerPage, showKanban, showPdfPreview, showPdfPreviewSideBySide, $sidebar, statementIncludes, tapSelectedToEdit, textScaleFactor) { return new A.UpdateUserPreferences(appLayout, moduleLayout, $sidebar, menuMode, historyMode, darkModeType, enableDarkModeSystem, longPressSelectionIsDefault, requireAuthentication, isPreviewVisible, isFilterVisible, showKanban, rowsPerPage, colorTheme, darkColorTheme, persistData, tapSelectedToEdit, textScaleFactor, showPdfPreview, showPdfPreviewSideBySide, customColors, darkCustomColors, editAfterSaving, enableTouchEvents, enableTooltips, flexibleSearch, enableNativeBrowser, downloadsFolder, statementIncludes); }, viewEntitiesByType(entityType, filterEntity, page) { var store, uiState, t1 = {}, t2 = $.$get$navigatorKey(); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2); t2.toString; store = A.StoreProvider_of(t2, type$.AppState); t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); uiState = t2.uiState; t1.action = null; A.checkForChanges(new A.viewEntitiesByType_closure(t1, filterEntity, uiState, store, entityType, page), false, store); }, viewEntity(addToStack, entity, filterEntity, force) { return A.viewEntityById(addToStack, entity.get$id(entity), entity.get$entityType(), filterEntity, force, true); }, viewEntityById(addToStack, entityId, entityType, filterEntity, force, showError) { var store, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; store = A.StoreProvider_of(t1, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); A.checkForChanges(new A.viewEntityById_closure(addToStack, store, entityId, entityType, t1, filterEntity, t1.uiState, showError, force), force, store); }, createEntityByType(applyFilter, context, entityType) { var store = A.StoreProvider_of(context, type$.AppState), t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (!t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.can$2(B.UserPermission_create, entityType)) return; A.checkForChanges(new A.createEntityByType_closure(t1, store, entityType, applyFilter, false), false, store); }, createEntity(cancelCompleter, completer, entity, filterEntity, force) { var store, uiState, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; store = A.StoreProvider_of(t1, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); uiState = t1.uiState; if (!t1.userCompanyStates._list$_list[uiState.selectedCompanyIndex].userCompany.can$2(B.UserPermission_create, entity.get$entityType())) return; A.checkForChanges(new A.createEntity_closure(uiState, store, t1, entity, filterEntity, force, completer, cancelCompleter), force, store); }, editEntity(completer, entity, $fullScreen, subIndex) { var store, t2, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; store = A.StoreProvider_of(t1, type$.AppState); t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.Localizations_of(t1, B.Type_AppLocalization_KyD, type$.AppLocalization); A.checkForChanges(new A.editEntity_closure(t2, entity.get$entityType(), $fullScreen, store, entity, completer, t1, subIndex), false, store); }, handleEntitiesActions(entities, action, autoPop) { var t1, t2, t3, store, context; if (entities.length === 0) return; if (B.JSArray_methods.contains$1(A._setArrayType([B.EntityAction_archive, B.EntityAction_delete, B.EntityAction_remove], type$.JSArray_EntityAction), action) && autoPop) { t1 = $.$get$navigatorKey(); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t2.toString; t3 = type$.AppState; t2 = A.StoreProvider_of(t2, t3).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2.prefState.appLayout === B.AppLayout_mobile) t1.get$currentState().pop$0(); else if (B.JSArray_methods.get$first(entities).get$entityType().get$isSetting()) { t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; store = A.StoreProvider_of(t1, t3); switch (B.JSArray_methods.get$first(entities).get$entityType()) { case B.EntityType_paymentTerm: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/payment_terms")); break; case B.EntityType_taxRate: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/tax_settings_rates")); break; case B.EntityType_companyGateway: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/company_gateways")); break; case B.EntityType_user: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/user_management")); break; case B.EntityType_group: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/group_settings")); break; case B.EntityType_design: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/custom_designs")); break; case B.EntityType_token: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/tokens")); break; case B.EntityType_webhook: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/webhook")); break; case B.EntityType_expenseCategory: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/expense_category")); break; case B.EntityType_taskStatus: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/task_status")); break; case B.EntityType_paymentLink: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/payment_links")); break; case B.EntityType_bankAccount: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/bank_accounts")); break; case B.EntityType_transactionRule: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/transaction_rules")); break; case B.EntityType_schedule: t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.UpdateCurrentRoute("/settings/schedules")); break; default: A.print("## ERROR: " + A.S(B.JSArray_methods.get$first(entities).get$entityType()) + " entity type not supported"); } } } t1 = $.$get$navigatorKey(); context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); switch (B.JSArray_methods.get$first(entities).get$entityType()) { case B.EntityType_client: A.handleClientAction(context, entities, action); break; case B.EntityType_product: A.handleProductAction(context, entities, action); break; case B.EntityType_invoice: A.handleInvoiceAction(context, entities, action); break; case B.EntityType_payment: A.handlePaymentAction(context, entities, action); break; case B.EntityType_quote: context.toString; A.handleQuoteAction(context, entities, action); break; case B.EntityType_task: A.handleTaskAction(context, entities, action); break; case B.EntityType_project: A.handleProjectAction(context, entities, action); break; case B.EntityType_expense: context.toString; A.handleExpenseAction(context, entities, action); break; case B.EntityType_vendor: A.handleVendorAction(context, entities, action); break; case B.EntityType_user: A.handleUserAction(context, entities, action); break; case B.EntityType_companyGateway: A.handleCompanyGatewayAction(context, entities, action); break; case B.EntityType_taxRate: A.handleTaxRateAction(context, entities, action); break; case B.EntityType_group: A.handleGroupAction(context, entities, action); break; case B.EntityType_document: A.handleDocumentAction(context, entities, action); break; case B.EntityType_schedule: A.handleScheduleAction(context, entities, action); break; case B.EntityType_transactionRule: A.handleTransactionRuleAction(context, entities, action); break; case B.EntityType_transaction: A.handleTransactionAction(context, entities, action); break; case B.EntityType_bankAccount: A.handleBankAccountAction(context, entities, action); break; case B.EntityType_purchaseOrder: A.handlePurchaseOrderAction(context, entities, action); break; case B.EntityType_recurringExpense: A.handleRecurringExpenseAction(context, entities, action); break; case B.EntityType_paymentLink: A.handleSubscriptionAction(context, entities, action); break; case B.EntityType_taskStatus: A.handleTaskStatusAction(context, entities, action); break; case B.EntityType_expenseCategory: A.handleExpenseCategoryAction(context, entities, action); break; case B.EntityType_recurringInvoice: A.handleRecurringInvoiceAction(context, entities, action); break; case B.EntityType_webhook: A.handleWebhookAction(context, entities, action); break; case B.EntityType_token: A.handleTokenAction(context, entities, action); break; case B.EntityType_paymentTerm: A.handlePaymentTermAction(context, entities, action); break; case B.EntityType_design: A.handleDesignAction(context, entities, action); break; case B.EntityType_credit: context.toString; A.handleCreditAction(context, entities, action); break; default: A.print("Error: unhandled type " + A.S(B.JSArray_methods.get$first(entities).get$entityType()) + " in handleEntitiesActions"); } }, selectEntity(entity, forceView, longPress) { var t2, store, uiState, entityUIState, t3, _null = null, t1 = $.$get$navigatorKey(), context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t2 = type$.AppState; store = A.StoreProvider_of(t1, t2); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); uiState = t1.uiState; entityUIState = t1.getUIState$1(entity.get$entityType()); t3 = t1.getUIState$1(entity.get$entityType()).get$listUIState(); if (longPress) { t1 = t1.prefState; if ((t1.longPressSelectionIsDefault || t1.moduleLayout === B.ModuleLayout_table) && uiState.currentRoute !== "/dashboard") A.handleEntitiesActions(A._setArrayType([entity], type$.JSArray_BaseEntity), B.EntityAction_toggleMultiselect, false); else A.editEntity(_null, entity, true, _null); } else if (t3.selectedIds != null && !forceView) A.handleEntitiesActions(A._setArrayType([entity], type$.JSArray_BaseEntity), B.EntityAction_toggleMultiselect, false); else { context.toString; t3 = A.StoreProvider_of(context, t2).__Store__state_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3.prefState.appLayout === B.AppLayout_desktop && !t1.prefState.isPreviewVisible) if (uiState.get$isEditing() && entityUIState.get$editingId() === entity.get$id(entity)) A.viewEntitiesByType(entity.get$entityType(), _null, 0); else { t2 = entity.get$entityType(); t2.toString; if (!B.JSArray_methods.contains$1(A._setArrayType([B.EntityType_client, B.EntityType_vendor], type$.JSArray_EntityType), t2) && !t1.prefState.isPreviewVisible) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.TogglePreviewSidebar()); } A.viewEntity(false, entity, _null, false); } else { t3 = A.StoreProvider_of(context, t2).__Store__state_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3.prefState.appLayout === B.AppLayout_desktop) t3 = uiState.get$isEditing() || uiState.previewStack._list$_list.length !== 0; else t3 = false; if (t3) A.viewEntity(false, entity, _null, false); else { t2 = A.StoreProvider_of(context, t2).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2.prefState.appLayout === B.AppLayout_desktop) if (!forceView) t2 = !uiState.get$isEditing() && !B.JSString_methods.endsWith$1(uiState.currentRoute, "/email") && !entity.get$entityType().get$isSetting() && entityUIState.get$selectedId() === entity.get$id(entity); else t2 = false; else t2 = false; if (t2) if (entityUIState.get$tabIndex(entityUIState) > 0) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.PreviewEntity(_null, _null)); } else { t1 = t1.prefState; if (t1.tapSelectedToEdit) A.editEntity(_null, entity, true, _null); else if (t1.moduleLayout !== B.ModuleLayout_list) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.TogglePreviewSidebar()); } } else A.viewEntity(false, entity, _null, false); } } } }, inspectEntity(entity, longPress) { var t3, store, t4, entityType, t1 = $.$get$navigatorKey(), t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t2.toString; t3 = type$.AppState; store = A.StoreProvider_of(t2, t3); t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t4 = t2.uiState; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t3 = A.StoreProvider_of(t1, t3).__Store__state_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3.prefState.appLayout === B.AppLayout_desktop) if (longPress) A.viewEntity(false, entity, null, false); else { t1 = t4.previewStack._list$_list; if (t1.length !== 0) { entityType = B.JSArray_methods.get$last(t1); A.viewEntityById(false, t2.getUIState$1(entityType).get$selectedId(), entityType, entity, false, true); } else { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.FilterByEntity(entity, false)); } } else if (longPress) A.showEntityActionsDialog(null, A._setArrayType([entity], type$.JSArray_BaseEntity), false); else A.viewEntity(false, entity, null, false); }, checkForChanges(callback, force, store) { var _null = null, t1 = $.$get$navigatorKey(), context = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); if (force) callback.call$0(); else { t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.hasChanges$0()) { context.toString; t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.prefState.appLayout !== B.AppLayout_mobile; } else t1 = false; if (t1) A.showDialog(_null, _null, true, _null, new A.checkForChanges_closure(context, store, callback), context, _null, true, type$.MessageDialog); else callback.call$0(); } }, PersistData: function PersistData() { }, ClearPersistedData: function ClearPersistedData() { }, SwitchListTableLayout: function SwitchListTableLayout() { }, PopLastHistory: function PopLastHistory() { }, UpdateLastHistory: function UpdateLastHistory(t0) { this.page = t0; }, DismissGatewayWarningPermanently: function DismissGatewayWarningPermanently() { }, DismissTaskExtensionBanner: function DismissTaskExtensionBanner() { }, DismissFlutterWebWarning: function DismissFlutterWebWarning() { }, ViewMainScreen: function ViewMainScreen() { }, StartLoading: function StartLoading() { }, StopLoading: function StopLoading() { }, StartSaving: function StartSaving() { }, StopSaving: function StopSaving() { }, LoadStaticSuccess: function LoadStaticSuccess(t0) { this.data = t0; }, ToggleEditorLayout: function ToggleEditorLayout(t0) { this.entityType = t0; }, ToggleViewerLayout: function ToggleViewerLayout(t0) { this.entityType = t0; }, TogglePreviewSidebar: function TogglePreviewSidebar() { }, UpdateUserPreferences: function UpdateUserPreferences(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; _.appLayout = t0; _.moduleLayout = t1; _.sidebar = t2; _.menuMode = t3; _.historyMode = t4; _.darkModeType = t5; _.enableDarkModeSystem = t6; _.longPressSelectionIsDefault = t7; _.requireAuthentication = t8; _.isPreviewVisible = t9; _.isFilterVisible = t10; _.showKanban = t11; _.rowsPerPage = t12; _.colorTheme = t13; _.darkColorTheme = t14; _.persistData = t15; _.tapSelectedToEdit = t16; _.textScaleFactor = t17; _.showPdfPreview = t18; _.showPdfPreviewSideBySide = t19; _.customColors = t20; _.darkCustomColors = t21; _.editAfterSaving = t22; _.enableTouchEvents = t23; _.enableTooltips = t24; _.flexibleSearch = t25; _.enableNativeBrowser = t26; _.downloadsFolder = t27; _.statementIncludes = t28; }, LoadAccountSuccess: function LoadAccountSuccess(t0, t1) { this.completer = t0; this.loginResponse = t1; }, ResendConfirmation: function ResendConfirmation() { }, ResendConfirmationFailure: function ResendConfirmationFailure() { }, ResendConfirmationSuccess: function ResendConfirmationSuccess() { }, RefreshData: function RefreshData(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.clearData = t1; _.includeStatic = t2; _.allCompanies = t3; }, RefreshDataSuccess: function RefreshDataSuccess(t0, t1) { this.completer = t0; this.data = t1; }, RefreshDataFailure: function RefreshDataFailure(t0) { this.error = t0; }, PreviewEntity: function PreviewEntity(t0, t1) { this.entityId = t0; this.entityType = t1; }, ClearPreviewStack: function ClearPreviewStack() { }, PopPreviewStack: function PopPreviewStack() { }, PopFilterStack: function PopFilterStack() { }, ClearData: function ClearData() { }, ClearLastError: function ClearLastError() { }, DiscardChanges: function DiscardChanges() { }, ClearEntityFilter: function ClearEntityFilter() { }, ClearEntitySelection: function ClearEntitySelection(t0) { this.entityType = t0; }, FilterByEntity: function FilterByEntity(t0, t1) { this.entity = t0; this.clearSelection = t1; }, FilterCompany: function FilterCompany(t0) { this.filter = t0; }, viewEntitiesByType_closure: function viewEntitiesByType_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.filterEntity = t1; _.uiState = t2; _.store = t3; _.entityType = t4; _.page = t5; }, viewEntityById_closure: function viewEntityById_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.addToStack = t0; _.store = t1; _.entityId = t2; _.entityType = t3; _.state = t4; _.filterEntity = t5; _.uiState = t6; _.showError = t7; _.force = t8; }, viewEntityById__closure: function viewEntityById__closure(t0) { this.state = t0; }, createEntityByType_closure: function createEntityByType_closure(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.store = t1; _.entityType = t2; _.applyFilter = t3; _.force = t4; }, createEntity_closure: function createEntity_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.uiState = t0; _.store = t1; _.state = t2; _.entity = t3; _.filterEntity = t4; _.force = t5; _.completer = t6; _.cancelCompleter = t7; }, editEntity_closure: function editEntity_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.entityType = t1; _.fullScreen = t2; _.store = t3; _.entity = t4; _.completer = t5; _.localization = t6; _.subIndex = t7; }, checkForChanges_closure: function checkForChanges_closure(t0, t1, t2) { this.context = t0; this.store = t1; this.callback = t2; }, checkForChanges__closure: function checkForChanges__closure(t0, t1) { this.store = t0; this.callback = t1; }, _createLoadState(authRepository, uiRepository, staticRepository, companyRepositories) { var t1 = {}; t1.staticState = t1.uiState = t1.authState = null; return new A._createLoadState_closure(t1, authRepository, uiRepository, staticRepository, companyRepositories, A._setArrayType([], type$.JSArray_nullable_UserCompanyState)); }, _getRoutes(state) { var t1 = {}, t2 = type$.JSArray_String, routes = A._setArrayType([], t2); t1.route = ""; t1.entityType = null; new A.WhereIterable(A._setArrayType(state.uiState.currentRoute.split("/"), t2), new A._getRoutes_closure(), type$.WhereIterable_String).forEach$1(0, new A._getRoutes_closure0(t1, state, routes)); return routes; }, _createUserLoggedIn(authRepository, uiRepository, staticRepository, companyRepositories) { return new A._createUserLoggedIn_closure(authRepository, uiRepository, staticRepository, companyRepositories); }, _createPersistData(companyRepositories) { return new A._createPersistData_closure(companyRepositories); }, _createPersistUI(uiRepository) { return new A._createPersistUI_closure(uiRepository); }, _createPersistPrefs() { return new A._createPersistPrefs_closure(); }, _createAccountLoaded() { return new A._createAccountLoaded_closure(); }, _createDataRefreshed() { return new A._createDataRefreshed_closure(); }, _createPersistStatic(staticRepository) { return new A._createPersistStatic_closure(staticRepository); }, _createDeleteState(authRepository, uiRepository, staticRepository, companyRepositories) { return new A._createDeleteState_closure(authRepository, uiRepository, staticRepository, companyRepositories); }, _createViewMainScreen() { return new A._createViewMainScreen_closure(); }, _createClearData(companyRepositories) { return new A._createClearData_closure(companyRepositories); }, _createLoadState_closure: function _createLoadState_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_1 = t0; _.authRepository = t1; _.uiRepository = t2; _.staticRepository = t3; _.companyRepositories = t4; _.companyStates = t5; }, _createLoadState__closure: function _createLoadState__closure(t0) { this.state = t0; }, _createLoadState__closure0: function _createLoadState__closure0(t0, t1) { this._box_1 = t0; this.companyStates = t1; }, _createLoadState__closure1: function _createLoadState__closure1(t0) { this.store = t0; }, _createLoadState__closure2: function _createLoadState__closure2(t0, t1) { this._box_0 = t0; this.navigator = t1; }, _createLoadState__closure3: function _createLoadState__closure3(t0) { this.store = t0; }, _getRoutes_closure: function _getRoutes_closure() { }, _getRoutes_closure0: function _getRoutes_closure0(t0, t1, t2) { this._box_0 = t0; this.state = t1; this.routes = t2; }, _createUserLoggedIn_closure: function _createUserLoggedIn_closure(t0, t1, t2, t3) { var _ = this; _.authRepository = t0; _.uiRepository = t1; _.staticRepository = t2; _.companyRepositories = t3; }, _createPersistData_closure: function _createPersistData_closure(t0) { this.companyRepositories = t0; }, _createPersistUI_closure: function _createPersistUI_closure(t0) { this.uiRepository = t0; }, _createPersistUI__closure: function _createPersistUI__closure(t0, t1) { this.uiRepository = t0; this.store = t1; }, _createPersistPrefs_closure: function _createPersistPrefs_closure() { }, _createPersistPrefs__closure: function _createPersistPrefs__closure(t0) { this.string = t0; }, _createAccountLoaded_closure: function _createAccountLoaded_closure() { }, _createDataRefreshed_closure: function _createDataRefreshed_closure() { }, _createDataRefreshed__closure: function _createDataRefreshed__closure(t0) { this._box_0 = t0; }, _createPersistStatic_closure: function _createPersistStatic_closure(t0) { this.staticRepository = t0; }, _createDeleteState_closure: function _createDeleteState_closure(t0, t1, t2, t3) { var _ = this; _.authRepository = t0; _.uiRepository = t1; _.staticRepository = t2; _.companyRepositories = t3; }, _createDeleteState__closure: function _createDeleteState__closure() { }, _createViewMainScreen_closure: function _createViewMainScreen_closure() { }, _createViewMainScreen__closure: function _createViewMainScreen__closure() { }, _createClearData_closure: function _createClearData_closure(t0) { this.companyRepositories = t0; }, _createClearData__closure: function _createClearData__closure() { }, appReducer(state, action) { if (action instanceof A.UserLogout) return A.AppState_AppState(null, state.isWhiteLabeled, state.prefState, null, state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany.account.reportErrors, null).rebuild$1(new A.appReducer_closure(state)); else if (action instanceof A.LoadStateSuccess) return action.state.rebuild$1(new A.appReducer_closure0()); else if (action instanceof A.ClearData) return state.rebuild$1(new A.appReducer_closure1(state)); return state.rebuild$1(new A.appReducer_closure2(state, action)); }, appReducer_closure: function appReducer_closure(t0) { this.state = t0; }, appReducer__closure: function appReducer__closure() { }, appReducer_closure0: function appReducer_closure0() { }, appReducer_closure1: function appReducer_closure1(t0) { this.state = t0; }, appReducer_closure2: function appReducer_closure2(t0, t1) { this.state = t0; this.action = t1; }, lastErrorReducer_closure: function lastErrorReducer_closure() { }, lastErrorReducer_closure0: function lastErrorReducer_closure0() { }, lastErrorReducer_closure1: function lastErrorReducer_closure1() { }, lastErrorReducer_closure2: function lastErrorReducer_closure2() { }, lastErrorReducer_closure3: function lastErrorReducer_closure3() { }, lastErrorReducer_closure4: function lastErrorReducer_closure4() { }, lastErrorReducer_closure5: function lastErrorReducer_closure5() { }, lastErrorReducer_closure6: function lastErrorReducer_closure6() { }, lastErrorReducer_closure7: function lastErrorReducer_closure7() { }, lastErrorReducer_closure8: function lastErrorReducer_closure8() { }, lastErrorReducer_closure9: function lastErrorReducer_closure9() { }, lastErrorReducer_closure10: function lastErrorReducer_closure10() { }, lastErrorReducer_closure11: function lastErrorReducer_closure11() { }, lastErrorReducer_closure12: function lastErrorReducer_closure12() { }, lastErrorReducer_closure13: function lastErrorReducer_closure13() { }, lastErrorReducer_closure14: function lastErrorReducer_closure14() { }, lastErrorReducer_closure15: function lastErrorReducer_closure15() { }, lastErrorReducer_closure16: function lastErrorReducer_closure16() { }, lastErrorReducer_closure17: function lastErrorReducer_closure17() { }, lastErrorReducer_closure18: function lastErrorReducer_closure18() { }, lastErrorReducer_closure19: function lastErrorReducer_closure19() { }, lastErrorReducer_closure20: function lastErrorReducer_closure20() { }, lastErrorReducer_closure21: function lastErrorReducer_closure21() { }, lastErrorReducer_closure22: function lastErrorReducer_closure22() { }, lastErrorReducer_closure23: function lastErrorReducer_closure23() { }, AppState_AppState(currentRoute, isWhiteLabeled, 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, t38, t39, t40, _null = null, _s4_ = "name", _s6_ = "number", t1 = url == null ? "" : url; t1 = A._$AuthState$_("", false, false, 0, referralCode == null ? "" : referralCode, t1); t2 = A.StaticState_StaticState(); _list = J.JSArray_JSArray$allocateGrowable(10, type$.int); for (i = 0; i < 10; i = i0) { i0 = i + 1; _list[i] = i0; } t3 = A._arrayInstanceType(_list)._eval$1("MappedListIterable<1,UserCompanyState>"); t3 = A.BuiltList_BuiltList$from(A.List_List$of(new A.MappedListIterable(_list, new A.AppState_AppState_closure(reportErrors), t3), true, t3._eval$1("ListIterable.E")), type$.UserCompanyState); t4 = prefState.sortFields; if (t4 == null) t4 = A.BuiltMap_BuiltMap(B.Map_empty1, type$.EntityType, type$.PrefStateSortField); t5 = currentRoute == null ? "/login" : currentRoute; t6 = type$.EntityType; t7 = A.BuiltList_BuiltList$from(B.List_empty, t6); t8 = A.BuiltList_BuiltList$from(B.List_empty, type$.BaseEntity); t9 = A.convertDateTimeToSqlDate(_null); t9 = A._$DashboardUISettings$_(A.convertDateTimeToSqlDate(_null), "", B.DateRangeComparison_previousPeriod, "-1", t9, "", B.DateRange_last30Days, true, "day", true, 0); t9 = A._$DashboardUIState$_(A.BuiltMap_BuiltMap(B.Map_empty1, t6, type$.BuiltList_String), B.EntityType_invoice, t9, true); t6 = A.CompanyEntity_CompanyEntity(); t10 = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t11 = A.GroupEntity_GroupEntity(_null, _null); t12 = A.UserEntity_UserEntity(_null, _null, _null); t13 = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t14 = A.GroupEntity_GroupEntity(_null, _null); t15 = A.CompanyEntity_CompanyEntity(); t16 = A.UserEntity_UserEntity(_null, _null, _null); t6 = A._$SettingsUIState$_(t10, t6, B.EntityType_company, _null, 0, t11, false, t13, t15, t14, t16, "company_details", B.EmailTemplate_invoice, false, false, 0, 0, t12); t10 = A.ReportsUIState_ReportsUIState(); t4 = t4._map$_map; t11 = t4.$index(0, B.EntityType_product); t12 = t11 == null; t13 = t12 ? _null : t11.field; if (t13 == null) t13 = "product_key"; t11 = A.ListUIState_ListUIState(t13, t12 ? _null : t11.ascending); t11 = A._$ProductUIState$_(_null, A.ProductEntity_ProductEntity(_null, _null), _null, t11, _null, "", 0); t13 = t4.$index(0, B.EntityType_client); t12 = t13 == null; t14 = t12 ? _null : t13.field; if (t14 == null) t14 = _s4_; t13 = A.ListUIState_ListUIState(t14, t12 ? _null : t13.ascending); t13 = A._$ClientUIState$_(_null, A.ClientEntity_ClientEntity(_null, _null, _null, _null), A.ClientContactEntity_ClientContactEntity(), _null, t13, _null, _null, 0); t14 = t4.$index(0, B.EntityType_invoice); t12 = t14 == null; t15 = t12 ? _null : t14.field; if (t15 == null) t15 = _s6_; t12 = t12 ? _null : t14.ascending; t12 = A.ListUIState_ListUIState(t15, t12 === true); t12 = A._$InvoiceUIState$_(_null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null), _null, _null, _null, t12, _null, "", 0); t14 = t4.$index(0, B.EntityType_paymentLink); t15 = t14 == null; t16 = t15 ? _null : t14.field; if (t16 == null) t16 = "created_at"; t14 = A.ListUIState_ListUIState(t16, t15 ? _null : t14.ascending); t14 = A._$SubscriptionUIState$_(_null, A.SubscriptionEntity_SubscriptionEntity(_null, _null), _null, t14, _null, "", 0); t16 = t4.$index(0, B.EntityType_taskStatus); t15 = t16 == null; t17 = t15 ? _null : t16.field; if (t17 == null) t17 = "order"; t16 = A.ListUIState_ListUIState(t17, t15 ? _null : t16.ascending); t16 = A._$TaskStatusUIState$_(_null, A.TaskStatusEntity_TaskStatusEntity(_null, _null), _null, t16, _null, "", 0); t17 = t4.$index(0, B.EntityType_expenseCategory); t15 = t17 == null; t18 = t15 ? _null : t17.field; if (t18 == null) t18 = _s4_; t17 = A.ListUIState_ListUIState(t18, t15 ? _null : t17.ascending); t17 = A._$ExpenseCategoryUIState$_(_null, A.ExpenseCategoryEntity_ExpenseCategoryEntity(_null, _null), _null, t17, _null, "", 0); t18 = t4.$index(0, B.EntityType_recurringInvoice); t15 = t18 == null; t19 = t15 ? _null : t18.field; if (t19 == null) t19 = _s6_; t15 = t15 ? _null : t18.ascending; t15 = A.ListUIState_ListUIState(t19, t15 === true); t15 = A._$RecurringInvoiceUIState$_(_null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null), _null, _null, _null, t15, _null, "", 0); t18 = t4.$index(0, B.EntityType_webhook); t19 = t18 == null; t20 = t19 ? _null : t18.field; if (t20 == null) t20 = "target_url"; t18 = A.ListUIState_ListUIState(t20, t19 ? _null : t18.ascending); t18 = A._$WebhookUIState$_(_null, A.WebhookEntity_WebhookEntity(_null, _null), _null, t18, _null, "", 0); t20 = t4.$index(0, B.EntityType_token); t19 = t20 == null; t21 = t19 ? _null : t20.field; if (t21 == null) t21 = _s4_; t20 = A.ListUIState_ListUIState(t21, t19 ? _null : t20.ascending); t20 = A._$TokenUIState$_(_null, A.TokenEntity_TokenEntity(_null, _null), _null, t20, _null, "", 0); t21 = t4.$index(0, B.EntityType_paymentTerm); t19 = t21 == null; t22 = t19 ? _null : t21.field; if (t22 == null) t22 = _s4_; t21 = A.ListUIState_ListUIState(t22, t19 ? _null : t21.ascending); t21 = A._$PaymentTermUIState$_(_null, A.PaymentTermEntity_PaymentTermEntity(_null, _null), _null, t21, _null, "", 0); t22 = t4.$index(0, B.EntityType_design); t19 = t22 == null; t23 = t19 ? _null : t22.field; if (t23 == null) t23 = _s4_; t22 = A.ListUIState_ListUIState(t23, t19 ? _null : t22.ascending); t22 = A._$DesignUIState$_(_null, A.DesignEntity_DesignEntity(_null, _null, _null), _null, t22, _null, "", 0); t23 = t4.$index(0, B.EntityType_credit); t19 = t23 == null; t24 = t19 ? _null : t23.field; if (t24 == null) t24 = _s6_; t19 = t19 ? _null : t23.ascending; t19 = A.ListUIState_ListUIState(t24, t19 === true); t19 = A._$CreditUIState$_(_null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null), _null, _null, _null, t19, _null, "", 0); t23 = t4.$index(0, B.EntityType_user); t24 = t23 == null; t25 = t24 ? _null : t23.field; if (t25 == null) t25 = "first_name"; t23 = A.ListUIState_ListUIState(t25, t24 ? _null : t23.ascending); t23 = A._$UserUIState$_(_null, A.UserEntity_UserEntity(_null, _null, _null), _null, t23, _null, "", 0); t25 = t4.$index(0, B.EntityType_taxRate); t24 = t25 == null; t26 = t24 ? _null : t25.field; if (t26 == null) t26 = _s4_; t25 = A.ListUIState_ListUIState(t26, t24 ? _null : t25.ascending); t25 = A._$TaxRateUIState$_(_null, A.TaxRateEntity_TaxRateEntity(_null, _null, _null, _null), _null, t25, _null, "", 0); t26 = t4.$index(0, B.EntityType_companyGateway); t24 = t26 == null; t27 = t24 ? _null : t26.field; if (t27 == null) t27 = _s4_; t26 = A.ListUIState_ListUIState(t27, t24 ? _null : t26.ascending); t26 = A._$CompanyGatewayUIState$_(_null, A.CompanyGatewayEntity_CompanyGatewayEntity(_null, _null), _null, t26, _null, "", 0); t27 = t4.$index(0, B.EntityType_group); t24 = t27 == null; t28 = t24 ? _null : t27.field; if (t28 == null) t28 = _s4_; t27 = A.ListUIState_ListUIState(t28, t24 ? _null : t27.ascending); t27 = A._$GroupUIState$_(_null, A.GroupEntity_GroupEntity(_null, _null), _null, t27, _null, "", 0); t28 = t4.$index(0, B.EntityType_document); t24 = t28 == null; t29 = t24 ? _null : t28.field; if (t29 == null) t29 = _s4_; t28 = A.ListUIState_ListUIState(t29, t24 ? _null : t28.ascending); t28 = A._$DocumentUIState$_(_null, A.DocumentEntity_DocumentEntity(_null), _null, t28, _null, "", 0); t29 = t4.$index(0, B.EntityType_expense); t24 = t29 == null; t30 = t24 ? _null : t29.field; if (t30 == null) t30 = _s6_; t24 = t24 ? _null : t29.ascending; t24 = A.ListUIState_ListUIState(t30, t24 === true); t24 = A._$ExpenseUIState$_(_null, A.ExpenseEntity_ExpenseEntity(_null, _null, _null, _null, _null, _null, _null), _null, t24, _null, "", 0); t29 = t4.$index(0, B.EntityType_vendor); t30 = t29 == null; t31 = t30 ? _null : t29.field; if (t31 == null) t31 = _s4_; t29 = A.ListUIState_ListUIState(t31, t30 ? _null : t29.ascending); t29 = A._$VendorUIState$_(_null, A.VendorEntity_VendorEntity(_null, _null, _null), A.VendorContactEntity_VendorContactEntity(), _null, t29, _null, "", 0); t31 = t4.$index(0, B.EntityType_task); t30 = t31 == null; t32 = t30 ? _null : t31.field; if (t32 == null) t32 = _s6_; t30 = t30 ? _null : t31.ascending; t30 = A.ListUIState_ListUIState(t32, t30 === true); t30 = A._$TaskUIState$_(_null, A.TaskEntity_TaskEntity(_null, _null, _null, _null, _null), _null, _null, 0, t30, _null, "", 0); t31 = t4.$index(0, B.EntityType_project); t32 = t31 == null; t33 = t32 ? _null : t31.field; if (t33 == null) t33 = _s6_; t31 = t32 ? _null : t31.ascending; t31 = A.ListUIState_ListUIState(t33, t31 === true); t31 = A._$ProjectUIState$_(_null, A.ProjectEntity_ProjectEntity(_null, _null, _null, _null), _null, t31, _null, "", 0); t32 = t4.$index(0, B.EntityType_payment); t33 = t32 == null; t34 = t33 ? _null : t32.field; if (t34 == null) t34 = _s6_; t32 = t33 ? _null : t32.ascending; t32 = A.ListUIState_ListUIState(t34, t32 === true); t32 = A._$PaymentUIState$_(_null, A.PaymentEntity_PaymentEntity(_null, _null, _null), _null, t32, _null, "", 0); t33 = t4.$index(0, B.EntityType_quote); t34 = t33 == null; t35 = t34 ? _null : t33.field; if (t35 == null) t35 = _s6_; t33 = t34 ? _null : t33.ascending; t33 = A.ListUIState_ListUIState(t35, t33 === true); t33 = A._$QuoteUIState$_(_null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null), _null, _null, _null, t33, _null, "", 0); t34 = t4.$index(0, B.EntityType_schedule); t35 = t34 == null; t36 = t35 ? _null : t34.field; if (t36 == null) t36 = "next_run"; t34 = A.ListUIState_ListUIState(t36, t35 ? _null : t34.ascending); t34 = A._$ScheduleUIState$_(_null, A.ScheduleEntity_ScheduleEntity("email_statement", _null, _null), _null, t34, _null, "", 0); t36 = t4.$index(0, B.EntityType_transactionRule); t35 = t36 == null; t37 = t35 ? _null : t36.field; if (t37 == null) t37 = _s4_; t36 = A.ListUIState_ListUIState(t37, t35 ? _null : t36.ascending); t36 = A._$TransactionRuleUIState$_(_null, A.TransactionRuleEntity_TransactionRuleEntity(_null, _null), _null, t36, _null, "", 0); t37 = t4.$index(0, B.EntityType_transaction); t35 = t37 == null; t38 = t35 ? _null : t37.field; if (t38 == null) t38 = "date"; t37 = A.ListUIState_ListUIState(t38, t35 ? _null : t37.ascending); t37 = A._$TransactionUIState$_(_null, A.TransactionEntity_TransactionEntity(_null, _null), _null, t37, _null, "", 0); t38 = t4.$index(0, B.EntityType_bankAccount); t35 = t38 == null; t39 = t35 ? _null : t38.field; if (t39 == null) t39 = _s4_; t38 = A.ListUIState_ListUIState(t39, t35 ? _null : t38.ascending); t38 = A._$BankAccountUIState$_(_null, A.BankAccountEntity_BankAccountEntity(_null, _null), _null, t38, _null, "", 0); t39 = t4.$index(0, B.EntityType_purchaseOrder); t35 = t39 == null; t40 = t35 ? _null : t39.field; if (t40 == null) t40 = _s6_; t35 = t35 ? _null : t39.ascending; t35 = A.ListUIState_ListUIState(t40, t35 === true); t35 = A._$PurchaseOrderUIState$_(_null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null), _null, _null, _null, t35, _null, "", 0); t4 = t4.$index(0, B.EntityType_recurringExpense); t39 = t4 == null; t40 = t39 ? _null : t4.field; if (t40 == null) t40 = _s6_; t4 = A.ListUIState_ListUIState(t40, t39 ? _null : t4.ascending); t18 = A._$UIState$_(t38, t13, t26, t19, t5, t9, t22, false, t28, t17, t24, _null, 0, t8, t27, t12, 0, _null, t21, t32, t7, "", t11, t31, t35, t33, A._$RecurringExpenseUIState$_(_null, A.ExpenseEntity_ExpenseEntity(_null, B.EntityType_recurringExpense, _null, _null, _null, _null, _null), _null, t4, _null, "", 0), t15, t10, t34, 0, t6, t14, t16, t30, t25, t20, t36, t37, t23, t29, t18); return A._$AppState$_(t1, false, false, false, isWhiteLabeled, "", prefState, t2, t18, t3); }, _$AppState$_(authState, isLoading, isSaving, isTesting, isWhiteLabeled, lastError, prefState, staticState, uiState, userCompanyStates) { var _s8_ = "AppState"; A.BuiltValueNullFieldError_checkNotNull(isLoading, _s8_, "isLoading"); A.BuiltValueNullFieldError_checkNotNull(isSaving, _s8_, "isSaving"); A.BuiltValueNullFieldError_checkNotNull(isTesting, _s8_, "isTesting"); A.BuiltValueNullFieldError_checkNotNull(isWhiteLabeled, _s8_, "isWhiteLabeled"); A.BuiltValueNullFieldError_checkNotNull(lastError, _s8_, "lastError"); A.BuiltValueNullFieldError_checkNotNull(authState, _s8_, "authState"); A.BuiltValueNullFieldError_checkNotNull(staticState, _s8_, "staticState"); A.BuiltValueNullFieldError_checkNotNull(prefState, _s8_, "prefState"); A.BuiltValueNullFieldError_checkNotNull(uiState, _s8_, "uiState"); A.BuiltValueNullFieldError_checkNotNull(userCompanyStates, _s8_, "userCompanyStates"); return new A._$AppState(isLoading, isSaving, isTesting, isWhiteLabeled, 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; }, AppState_getEntityMap_closure: function AppState_getEntityMap_closure() { }, AppState_getEntityMap_closure0: function AppState_getEntityMap_closure0() { }, 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, t9) { var _ = this; _.isLoading = t0; _.isSaving = t1; _.isTesting = t2; _.isWhiteLabeled = t3; _.lastError = t4; _.authState = t5; _.staticState = t6; _.prefState = t7; _.uiState = t8; _.userCompanyStates = t9; _._app_state$__hashCode = null; }, AppStateBuilder: function AppStateBuilder() { var _ = this; _._userCompanyStates = _._uiState = _._prefState = _._staticState = _._authState = _._lastError = _._isWhiteLabeled = _._isTesting = _._isSaving = _._isLoading = _._app_state$_$v = null; }, LoadStateRequest: function LoadStateRequest(t0) { this.context = t0; }, LoadStateSuccess: function LoadStateSuccess(t0) { this.state = t0; }, OAuthLoginRequest: function OAuthLoginRequest(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.completer = t0; _.email = t1; _.idToken = t2; _.accessToken = t3; _.url = t4; _.secret = t5; _.platform = t6; _.provider = t7; _.authCode = t8; }, UserLoadUrl: function UserLoadUrl(t0) { this.url = t0; }, UserLoginRequest: function UserLoginRequest(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.completer = t0; _.email = t1; _.password = t2; _.url = t3; _.secret = t4; _.platform = t5; _.oneTimePassword = t6; }, UserLoginSuccess: function UserLoginSuccess() { }, UserLoginFailure: function UserLoginFailure() { }, RecoverPasswordRequest: function RecoverPasswordRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.email = t1; _.url = t2; _.secret = t3; }, RecoverPasswordSuccess: function RecoverPasswordSuccess() { }, RecoverPasswordFailure: function RecoverPasswordFailure() { }, UserLogout: function UserLogout() { }, UserLogoutAll: function UserLogoutAll(t0) { this.completer = t0; }, UserLogoutAllSuccess: function UserLogoutAllSuccess() { }, UserLogoutAllFailure: function UserLogoutAllFailure() { }, UserSignUpRequest: function UserSignUpRequest(t0, t1, t2) { this.completer = t0; this.email = t1; this.password = t2; }, OAuthSignUpRequest: function OAuthSignUpRequest(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.completer = t0; _.idToken = t1; _.url = t2; _.accessToken = t3; _.provider = t4; _.firstName = t5; _.lastName = t6; _.email = t7; }, UserVerifiedPassword: function UserVerifiedPassword() { }, UserUnverifiedPassword: function UserUnverifiedPassword() { }, _saveAuthLocal(url) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$_saveAuthLocal = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(A.SharedPreferences_getInstance(), $async$_saveAuthLocal); case 2: // returning from await. $async$result._setValue$3("String", "url", A.formatApiUrl(url)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_saveAuthLocal, $async$completer); }, _createUserLogout() { return new A._createUserLogout_closure(); }, _createUserLogoutAll(repository) { return new A._createUserLogoutAll_closure(repository); }, _createLoginRequest(repository) { return new A._createLoginRequest_closure(repository); }, _createSignUpRequest(repository) { return new A._createSignUpRequest_closure(repository); }, _createOAuthLoginRequest(repository) { return new A._createOAuthLoginRequest_closure(repository); }, _createOAuthSignUpRequest(repository) { return new A._createOAuthSignUpRequest_closure(repository); }, _createRefreshRequest(repository) { return new A._createRefreshRequest_closure(repository); }, _createRecoverRequest(repository) { return new A._createRecoverRequest_closure(repository); }, _createCompany(repository) { return new A._createCompany_closure(repository); }, _setDefaultCompany(repository) { return new A._setDefaultCompany_closure(repository); }, _deleteCompany(repository) { return new A._deleteCompany_closure(repository); }, _purgeData(repository) { return new A._purgeData_closure(repository); }, _resendConfirmation(repository) { return new A._resendConfirmation_closure(repository); }, _parseError(error) { var lastIndex, secondToLastIndex, _s28_ = "failed due to: Deserializing"; if (B.JSString_methods.contains$1(error, _s28_)) { lastIndex = B.JSString_methods.lastIndexOf$1(error, _s28_); secondToLastIndex = B.JSString_methods.lastIndexOf$1(B.JSString_methods.substring$2(error, 0, B.JSString_methods.lastIndexOf$1(error, _s28_)), _s28_); error = "Error :: " + B.JSString_methods.trim$0(B.JSString_methods.substring$1(error, (secondToLastIndex >= 0 ? secondToLastIndex : lastIndex) + 28)); } else if (B.JSString_methods.contains$1(error.toLowerCase(), "no host specified")) error = "An error occurred, please check the URL is correct"; else if (B.JSString_methods.contains$1(error, "404")) error += ", you may need to add /public to the URL"; return error; }, _createUserLogout_closure: function _createUserLogout_closure() { }, _createUserLogout__closure: function _createUserLogout__closure() { }, _createUserLogoutAll_closure: function _createUserLogoutAll_closure(t0) { this.repository = t0; }, _createUserLogoutAll__closure: function _createUserLogoutAll__closure(t0) { this.store = t0; }, _createUserLogoutAll__closure0: function _createUserLogoutAll__closure0(t0, t1) { this.action = t0; this.store = t1; }, _createLoginRequest_closure: function _createLoginRequest_closure(t0) { this.repository = t0; }, _createLoginRequest__closure: function _createLoginRequest__closure(t0, t1) { this.action = t0; this.store = t1; }, _createLoginRequest__closure0: function _createLoginRequest__closure0(t0, t1) { this.action = t0; this.store = t1; }, _createSignUpRequest_closure: function _createSignUpRequest_closure(t0) { this.repository = t0; }, _createSignUpRequest__closure: function _createSignUpRequest__closure(t0, t1) { this.store = t0; this.action = t1; }, _createSignUpRequest__closure0: function _createSignUpRequest__closure0(t0, t1) { this.action = t0; this.store = t1; }, _createOAuthLoginRequest_closure: function _createOAuthLoginRequest_closure(t0) { this.repository = t0; }, _createOAuthLoginRequest__closure: function _createOAuthLoginRequest__closure(t0, t1) { this.action = t0; this.store = t1; }, _createOAuthLoginRequest__closure0: function _createOAuthLoginRequest__closure0(t0, t1) { this.action = t0; this.store = t1; }, _createOAuthSignUpRequest_closure: function _createOAuthSignUpRequest_closure(t0) { this.repository = t0; }, _createOAuthSignUpRequest__closure: function _createOAuthSignUpRequest__closure(t0, t1) { this.store = t0; this.action = t1; }, _createOAuthSignUpRequest__closure0: function _createOAuthSignUpRequest__closure0(t0, t1) { this.action = t0; this.store = t1; }, _createRefreshRequest_closure: function _createRefreshRequest_closure(t0) { this.repository = t0; }, _createRefreshRequest__closure: function _createRefreshRequest__closure(t0, t1, t2) { this.state = t0; this.action = t1; this.store = t2; }, _createRefreshRequest___closure: function _createRefreshRequest___closure(t0, t1) { this._box_0 = t0; this.state = t1; }, _createRefreshRequest____closure: function _createRefreshRequest____closure(t0, t1) { this._box_0 = t0; this.userCompany = t1; }, _createRefreshRequest__closure0: function _createRefreshRequest__closure0(t0, t1) { this.store = t0; this.action = t1; }, _createRecoverRequest_closure: function _createRecoverRequest_closure(t0) { this.repository = t0; }, _createRecoverRequest__closure: function _createRecoverRequest__closure(t0, t1) { this.store = t0; this.action = t1; }, _createRecoverRequest__closure0: function _createRecoverRequest__closure0(t0, t1) { this.store = t0; this.action = t1; }, _createCompany_closure: function _createCompany_closure(t0) { this.repository = t0; }, _createCompany__closure: function _createCompany__closure(t0, t1, t2) { this.store = t0; this.state = t1; this.action = t2; }, _createCompany___closure: function _createCompany___closure(t0, t1, t2) { this.store = t0; this.state = t1; this.action = t2; }, _setDefaultCompany_closure: function _setDefaultCompany_closure(t0) { this.repository = t0; }, _setDefaultCompany__closure: function _setDefaultCompany__closure(t0, t1) { this.store = t0; this.action = t1; }, _setDefaultCompany__closure0: function _setDefaultCompany__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteCompany_closure: function _deleteCompany_closure(t0) { this.repository = t0; }, _deleteCompany__closure: function _deleteCompany__closure(t0, t1) { this.store = t0; this.action = t1; }, _deleteCompany__closure0: function _deleteCompany__closure0(t0, t1) { this.store = t0; this.action = t1; }, _purgeData_closure: function _purgeData_closure(t0) { this.repository = t0; }, _purgeData__closure: function _purgeData__closure(t0, t1) { this.store = t0; this.action = t1; }, _purgeData___closure: function _purgeData___closure(t0) { this.action = t0; }, _purgeData__closure0: function _purgeData__closure0(t0, t1) { this.store = t0; this.action = t1; }, _resendConfirmation_closure: function _resendConfirmation_closure(t0) { this.repository = t0; }, _resendConfirmation__closure: function _resendConfirmation__closure(t0) { this.store = t0; }, _resendConfirmation__closure0: function _resendConfirmation__closure0(t0) { this.store = t0; }, userLoadUrlReducer(authState, action) { return authState.rebuild$1(new A.userLoadUrlReducer_closure(action)); }, userSignUpRequestReducer(authState, action) { return authState.rebuild$1(new A.userSignUpRequestReducer_closure()); }, userLoginRequestReducer(authState, action) { return authState.rebuild$1(new A.userLoginRequestReducer_closure(action)); }, oauthLoginRequestReducer(authState, action) { return authState.rebuild$1(new A.oauthLoginRequestReducer_closure(action)); }, oauthSignUpRequestReducer(authState, action) { return authState.rebuild$1(new A.oauthSignUpRequestReducer_closure()); }, userLoginSuccessReducer(authState, action) { return authState.rebuild$1(new A.userLoginSuccessReducer_closure()); }, userVerifiedPasswordReducer(authState, action) { return authState.rebuild$1(new A.userVerifiedPasswordReducer_closure()); }, userUnverifiedPasswordReducer(authState, action) { return authState.rebuild$1(new A.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() { }, _$AuthState$_(email, isAuthenticated, isInitialized, lastEnteredPasswordAt, referralCode, url) { var _s9_ = "AuthState"; A.BuiltValueNullFieldError_checkNotNull(email, _s9_, "email"); A.BuiltValueNullFieldError_checkNotNull(url, _s9_, "url"); A.BuiltValueNullFieldError_checkNotNull(isInitialized, _s9_, "isInitialized"); A.BuiltValueNullFieldError_checkNotNull(isAuthenticated, _s9_, "isAuthenticated"); A.BuiltValueNullFieldError_checkNotNull(lastEnteredPasswordAt, _s9_, "lastEnteredPasswordAt"); A.BuiltValueNullFieldError_checkNotNull(referralCode, _s9_, "referralCode"); return new A._$AuthState(email, url, isInitialized, isAuthenticated, lastEnteredPasswordAt, referralCode); }, AuthState: function AuthState() { }, _$AuthStateSerializer: function _$AuthStateSerializer() { }, _$AuthState: function _$AuthState(t0, t1, t2, t3, t4, t5) { var _ = this; _.email = t0; _.url = t1; _.isInitialized = t2; _.isAuthenticated = t3; _.lastEnteredPasswordAt = t4; _.referralCode = t5; _._auth_state$__hashCode = null; }, AuthStateBuilder: function AuthStateBuilder() { var _ = this; _._auth_state$_referralCode = _._lastEnteredPasswordAt = _._isAuthenticated = _._isInitialized = _._auth_state$_url = _._auth_state$_email = _._$v = null; }, handleBankAccountAction(context, bankAccounts, action) { var store, t1, t2, bankAccount, t3, bankAccountIds, _i, credentials, integrationType, _null = null, _s21_ = "restored_bank_account", _s21_0 = "archived_bank_account", _s20_ = "deleted_bank_account"; if (bankAccounts.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); bankAccount = type$.BankAccountEntity._as(B.JSArray_methods.get$first(bankAccounts)); t3 = A._arrayInstanceType(bankAccounts)._eval$1("MappedListIterable<1,String>"); bankAccountIds = A.List_List$of(new A.MappedListIterable(bankAccounts, new A.handleBankAccountAction_closure(), t3), true, t3._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, bankAccount, true, _null); break; case B.EntityAction_restore: t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, _s21_); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s21_); t1.toString; } else t1 = t2; t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreBankAccountsRequest(t1, bankAccountIds)); break; case B.EntityAction_archive: t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, _s21_0); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s21_0); t1.toString; } else t1 = t2; t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveBankAccountsRequest(t1, bankAccountIds)); break; case B.EntityAction_delete: t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, _s20_); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s20_); t1.toString; } else t1 = t2; t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteBankAccountsRequest(t1, bankAccountIds)); break; case B.EntityAction_newTransaction: A.createEntity(_null, _null, A.TransactionEntity_TransactionEntity(_null, t1).rebuild$1(new A.handleBankAccountAction_closure0(bankAccount)), _null, false); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.bankAccountUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartBankAccountMultiselect()); } t1 = bankAccounts.length; if (t1 === 0) break; for (_i = 0; _i < bankAccounts.length; bankAccounts.length === t1 || (0, A.throwConcurrentModificationError)(bankAccounts), ++_i) { bankAccount = bankAccounts[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(bankAccount); t2 = t2.bankAccountUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToBankAccountMultiselect(bankAccount)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromBankAccountMultiselect(bankAccount)); } } break; case B.EntityAction_reconnect: credentials = t1.get$credentials(0); integrationType = bankAccount.integrationType; t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartSaving()); if (integrationType === "yodlee") { t1 = type$.String; t1 = A.LinkedHashMap_LinkedHashMap$_literal(["return_url", ""], t1, t1); } else t1 = "nordigen"; new A.WebClient().post$3$data(credentials.url + "/one_time_token", credentials.token, B.C_JsonCodec.encode$2$toEncodable(A.LinkedHashMap_LinkedHashMap$_literal(["context", t1], type$.String, type$.Object), _null)).then$1$1(0, new A.handleBankAccountAction_closure1(store, credentials, integrationType, bankAccount), type$.Null).catchError$1(new A.handleBankAccountAction_closure2(store)); break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([bankAccount], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in bank_account_actions"); break; } }, ViewBankAccountList: function ViewBankAccountList() { }, ViewBankAccount: function ViewBankAccount(t0) { this.bankAccountId = t0; }, EditBankAccount: function EditBankAccount(t0) { this.bankAccount = t0; }, UpdateBankAccount: function UpdateBankAccount(t0) { this.bankAccount = t0; }, LoadBankAccountRequest: function LoadBankAccountRequest() { }, LoadBankAccountFailure: function LoadBankAccountFailure(t0) { this.error = t0; }, LoadBankAccountSuccess: function LoadBankAccountSuccess(t0) { this.bankAccount = t0; }, LoadBankAccountsRequest: function LoadBankAccountsRequest() { }, LoadBankAccountsFailure: function LoadBankAccountsFailure(t0) { this.error = t0; }, LoadBankAccountsSuccess: function LoadBankAccountsSuccess(t0) { this.bankAccounts = t0; }, SaveBankAccountRequest: function SaveBankAccountRequest(t0, t1) { this.completer = t0; this.bankAccount = t1; }, SaveBankAccountSuccess: function SaveBankAccountSuccess(t0) { this.bankAccount = t0; }, AddBankAccountSuccess: function AddBankAccountSuccess(t0) { this.bankAccount = t0; }, SaveBankAccountFailure: function SaveBankAccountFailure() { }, ArchiveBankAccountsRequest: function ArchiveBankAccountsRequest(t0, t1) { this.completer = t0; this.bankAccountIds = t1; }, ArchiveBankAccountsSuccess: function ArchiveBankAccountsSuccess(t0) { this.bankAccounts = t0; }, ArchiveBankAccountsFailure: function ArchiveBankAccountsFailure() { }, DeleteBankAccountsRequest: function DeleteBankAccountsRequest(t0, t1) { this.completer = t0; this.bankAccountIds = t1; }, DeleteBankAccountsSuccess: function DeleteBankAccountsSuccess(t0) { this.bankAccounts = t0; }, DeleteBankAccountsFailure: function DeleteBankAccountsFailure() { }, RestoreBankAccountsRequest: function RestoreBankAccountsRequest(t0, t1) { this.completer = t0; this.bankAccountIds = t1; }, RestoreBankAccountsSuccess: function RestoreBankAccountsSuccess(t0) { this.bankAccounts = t0; }, RestoreBankAccountsFailure: function RestoreBankAccountsFailure() { }, FilterBankAccounts: function FilterBankAccounts(t0) { this.filter = t0; }, SortBankAccounts: function SortBankAccounts(t0) { this.field = t0; }, FilterBankAccountsByState: function FilterBankAccountsByState(t0) { this.state = t0; }, FilterBankAccountsByCustom1: function FilterBankAccountsByCustom1(t0) { this.value = t0; }, FilterBankAccountsByCustom2: function FilterBankAccountsByCustom2(t0) { this.value = t0; }, FilterBankAccountsByCustom3: function FilterBankAccountsByCustom3(t0) { this.value = t0; }, FilterBankAccountsByCustom4: function FilterBankAccountsByCustom4(t0) { this.value = t0; }, StartBankAccountMultiselect: function StartBankAccountMultiselect() { }, AddToBankAccountMultiselect: function AddToBankAccountMultiselect(t0) { this.entity = t0; }, RemoveFromBankAccountMultiselect: function RemoveFromBankAccountMultiselect(t0) { this.entity = t0; }, ClearBankAccountMultiselect: function ClearBankAccountMultiselect() { }, handleBankAccountAction_closure: function handleBankAccountAction_closure() { }, handleBankAccountAction_closure0: function handleBankAccountAction_closure0(t0) { this.bankAccount = t0; }, handleBankAccountAction_closure1: function handleBankAccountAction_closure1(t0, t1, t2, t3) { var _ = this; _.store = t0; _.credentials = t1; _.integrationType = t2; _.bankAccount = t3; }, handleBankAccountAction_closure2: function handleBankAccountAction_closure2(t0) { this.store = t0; }, _editBankAccount() { return new A._editBankAccount_closure(); }, _viewBankAccount() { return new A._viewBankAccount_closure(); }, _viewBankAccountList() { return new A._viewBankAccountList_closure0(); }, _archiveBankAccount(repository) { return new A._archiveBankAccount_closure(repository); }, _deleteBankAccount(repository) { return new A._deleteBankAccount_closure(repository); }, _restoreBankAccount(repository) { return new A._restoreBankAccount_closure(repository); }, _saveBankAccount(repository) { return new A._saveBankAccount_closure(repository); }, _loadBankAccount(repository) { return new A._loadBankAccount_closure(repository); }, _loadBankAccounts(repository) { return new A._loadBankAccounts_closure(repository); }, _editBankAccount_closure: function _editBankAccount_closure() { }, _viewBankAccount_closure: function _viewBankAccount_closure() { }, _viewBankAccountList_closure0: function _viewBankAccountList_closure0() { }, _viewBankAccountList__closure: function _viewBankAccountList__closure() { }, _archiveBankAccount_closure: function _archiveBankAccount_closure(t0) { this.repository = t0; }, _archiveBankAccount__closure: function _archiveBankAccount__closure(t0) { this.store = t0; }, _archiveBankAccount__closure0: function _archiveBankAccount__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveBankAccount__closure1: function _archiveBankAccount__closure1(t0, t1, t2) { this.store = t0; this.prevBankAccounts = t1; this.action = t2; }, _deleteBankAccount_closure: function _deleteBankAccount_closure(t0) { this.repository = t0; }, _deleteBankAccount__closure: function _deleteBankAccount__closure(t0) { this.store = t0; }, _deleteBankAccount__closure0: function _deleteBankAccount__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteBankAccount__closure1: function _deleteBankAccount__closure1(t0, t1, t2) { this.store = t0; this.prevBankAccounts = t1; this.action = t2; }, _restoreBankAccount_closure: function _restoreBankAccount_closure(t0) { this.repository = t0; }, _restoreBankAccount__closure: function _restoreBankAccount__closure(t0) { this.store = t0; }, _restoreBankAccount__closure0: function _restoreBankAccount__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreBankAccount__closure1: function _restoreBankAccount__closure1(t0, t1, t2) { this.store = t0; this.prevBankAccounts = t1; this.action = t2; }, _saveBankAccount_closure: function _saveBankAccount_closure(t0) { this.repository = t0; }, _saveBankAccount__closure: function _saveBankAccount__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveBankAccount__closure0: function _saveBankAccount__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadBankAccount_closure: function _loadBankAccount_closure(t0) { this.repository = t0; }, _loadBankAccount__closure: function _loadBankAccount__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadBankAccount__closure0: function _loadBankAccount__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadBankAccounts_closure: function _loadBankAccounts_closure(t0) { this.repository = t0; }, _loadBankAccounts__closure: function _loadBankAccounts__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadBankAccounts__closure0: function _loadBankAccounts__closure0(t0, t1) { this.store = t0; this.action = t1; }, bankAccountUIReducer(state, action) { var t1 = new A.BankAccountUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._bank_account_state$_$v = state; new A.bankAccountUIReducer_closure(state, action).call$1(t1); return t1._bank_account_state$_build$0(); }, _clearEditing(bankAccount, action) { return A.BankAccountEntity_BankAccountEntity(null, null); }, _updateEditing(bankAccount, action) { return action.get$bankAccount(); }, _viewBankAccountList0(bankAccountListState, action) { return bankAccountListState.rebuild$1(new A._viewBankAccountList_closure()); }, _filterBankAccountsByCustom1(bankAccountListState, action) { if (B.JSArray_methods.contains$1(bankAccountListState.custom1Filters._list$_list, action.value)) return bankAccountListState.rebuild$1(new A._filterBankAccountsByCustom1_closure(action)); else return bankAccountListState.rebuild$1(new A._filterBankAccountsByCustom1_closure0(action)); }, _filterBankAccountsByCustom2(bankAccountListState, action) { if (B.JSArray_methods.contains$1(bankAccountListState.custom2Filters._list$_list, action.value)) return bankAccountListState.rebuild$1(new A._filterBankAccountsByCustom2_closure(action)); else return bankAccountListState.rebuild$1(new A._filterBankAccountsByCustom2_closure0(action)); }, _filterBankAccountsByState(bankAccountListState, action) { if (B.JSArray_methods.contains$1(bankAccountListState.stateFilters._list$_list, action.state)) return bankAccountListState.rebuild$1(new A._filterBankAccountsByState_closure(action)); else return bankAccountListState.rebuild$1(new A._filterBankAccountsByState_closure0(action)); }, _filterBankAccounts(bankAccountListState, action) { return bankAccountListState.rebuild$1(new A._filterBankAccounts_closure(action, bankAccountListState)); }, _sortBankAccounts(bankAccountListState, action) { return bankAccountListState.rebuild$1(new A._sortBankAccounts_closure(action)); }, _startListMultiselect(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure21()); }, _addToListMultiselect(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure21(action)); }, _removeFromListMultiselect(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure21(action)); }, _clearListMultiselect(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure21()); }, _archiveBankAccountSuccess(bankAccountState, action) { return bankAccountState.rebuild$1(new A._archiveBankAccountSuccess_closure(action)); }, _deleteBankAccountSuccess(bankAccountState, action) { return bankAccountState.rebuild$1(new A._deleteBankAccountSuccess_closure(action)); }, _restoreBankAccountSuccess(bankAccountState, action) { return bankAccountState.rebuild$1(new A._restoreBankAccountSuccess_closure(action)); }, _addBankAccount(bankAccountState, action) { return bankAccountState.rebuild$1(new A._addBankAccount_closure(action)); }, _updateBankAccount(bankAccountState, action) { return bankAccountState.rebuild$1(new A._updateBankAccount_closure(action)); }, _setLoadedBankAccount(bankAccountState, action) { return bankAccountState.rebuild$1(new A._setLoadedBankAccount_closure(action)); }, _setLoadedBankAccounts(bankAccountState, action) { return bankAccountState.loadBankAccounts$1(action.bankAccounts); }, _setLoadedCompany(bankAccountState, action) { return bankAccountState.loadBankAccounts$1(action.userCompany.company.bankAccounts); }, bankAccountUIReducer_closure: function bankAccountUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure176: function forceSelectedReducer_closure176() { }, forceSelectedReducer_closure177: function forceSelectedReducer_closure177() { }, forceSelectedReducer_closure178: function forceSelectedReducer_closure178() { }, forceSelectedReducer_closure179: function forceSelectedReducer_closure179() { }, forceSelectedReducer_closure180: function forceSelectedReducer_closure180() { }, forceSelectedReducer_closure181: function forceSelectedReducer_closure181() { }, forceSelectedReducer_closure182: function forceSelectedReducer_closure182() { }, forceSelectedReducer_closure183: function forceSelectedReducer_closure183() { }, tabIndexReducer_closure21: function tabIndexReducer_closure21() { }, tabIndexReducer_closure22: function tabIndexReducer_closure22() { }, 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() { }, selectedIdReducer_closure351: function selectedIdReducer_closure351() { }, selectedIdReducer_closure352: function selectedIdReducer_closure352() { }, editingReducer_closure114: function editingReducer_closure114() { }, editingReducer__closure45: function editingReducer__closure45() { }, editingReducer_closure115: function editingReducer_closure115() { }, editingReducer_closure116: function editingReducer_closure116() { }, editingReducer_closure117: function editingReducer_closure117() { }, bankAccountListReducer_closure: function bankAccountListReducer_closure() { }, bankAccountListReducer__closure: function bankAccountListReducer__closure() { }, _viewBankAccountList_closure: function _viewBankAccountList_closure() { }, _filterBankAccountsByCustom1_closure: function _filterBankAccountsByCustom1_closure(t0) { this.action = t0; }, _filterBankAccountsByCustom1_closure0: function _filterBankAccountsByCustom1_closure0(t0) { this.action = t0; }, _filterBankAccountsByCustom2_closure: function _filterBankAccountsByCustom2_closure(t0) { this.action = t0; }, _filterBankAccountsByCustom2_closure0: function _filterBankAccountsByCustom2_closure0(t0) { this.action = t0; }, _filterBankAccountsByState_closure: function _filterBankAccountsByState_closure(t0) { this.action = t0; }, _filterBankAccountsByState_closure0: function _filterBankAccountsByState_closure0(t0) { this.action = t0; }, _filterBankAccounts_closure: function _filterBankAccounts_closure(t0, t1) { this.action = t0; this.bankAccountListState = t1; }, _sortBankAccounts_closure: function _sortBankAccounts_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() { }, _archiveBankAccountSuccess_closure: function _archiveBankAccountSuccess_closure(t0) { this.action = t0; }, _deleteBankAccountSuccess_closure: function _deleteBankAccountSuccess_closure(t0) { this.action = t0; }, _restoreBankAccountSuccess_closure: function _restoreBankAccountSuccess_closure(t0) { this.action = t0; }, _addBankAccount_closure: function _addBankAccount_closure(t0) { this.action = t0; }, _updateBankAccount_closure: function _updateBankAccount_closure(t0) { this.action = t0; }, _setLoadedBankAccount_closure: function _setLoadedBankAccount_closure(t0) { this.action = t0; }, dropdownBankAccountsSelector(bankAccountMap, bankAccountList, staticState, userMap, bankAccountId) { var t1 = bankAccountList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownBankAccountsSelector_closure(bankAccountMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownBankAccountsSelector_closure0(bankAccountMap)); return list; }, filteredBankAccountsSelector(selectionState, bankAccountMap, bankAccountList, bankAccountListState) { var t1 = bankAccountList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredBankAccountsSelector_closure(bankAccountMap, selectionState.filterEntityId, bankAccountListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredBankAccountsSelector_closure0(bankAccountMap, bankAccountListState)); return list; }, memoizedDropdownBankAccountList_closure: function memoizedDropdownBankAccountList_closure() { }, dropdownBankAccountsSelector_closure: function dropdownBankAccountsSelector_closure(t0) { this.bankAccountMap = t0; }, dropdownBankAccountsSelector_closure0: function dropdownBankAccountsSelector_closure0(t0) { this.bankAccountMap = t0; }, memoizedFilteredBankAccountList_closure: function memoizedFilteredBankAccountList_closure() { }, filteredBankAccountsSelector_closure: function filteredBankAccountsSelector_closure(t0, t1, t2) { this.bankAccountMap = t0; this.filterEntityId = t1; this.bankAccountListState = t2; }, filteredBankAccountsSelector_closure0: function filteredBankAccountsSelector_closure0(t0, t1) { this.bankAccountMap = t0; this.bankAccountListState = t1; }, _$BankAccountState$_(list, map) { var _s16_ = "BankAccountState"; A.BuiltValueNullFieldError_checkNotNull(map, _s16_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s16_, "list"); return new A._$BankAccountState(map, list); }, _$BankAccountUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s18_ = "BankAccountUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s18_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s18_, "tabIndex"); return new A._$BankAccountUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, BankAccountState: function BankAccountState() { }, BankAccountState_loadBankAccounts_closure0: function BankAccountState_loadBankAccounts_closure0() { }, BankAccountState_loadBankAccounts_closure1: function BankAccountState_loadBankAccounts_closure1() { }, BankAccountState_loadBankAccounts_closure: function BankAccountState_loadBankAccounts_closure(t0, t1) { this.$this = t0; this.map = t1; }, BankAccountUIState: function BankAccountUIState() { }, _$BankAccountStateSerializer: function _$BankAccountStateSerializer() { }, _$BankAccountUIStateSerializer: function _$BankAccountUIStateSerializer() { }, _$BankAccountState: function _$BankAccountState(t0, t1) { this.map = t0; this.list = t1; this._bank_account_state$__hashCode = null; }, BankAccountStateBuilder: function BankAccountStateBuilder() { this._bank_account_state$_list = this._bank_account_state$_map = this._bank_account_state$_$v = null; }, _$BankAccountUIState: function _$BankAccountUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._bank_account_state$__hashCode = null; }, BankAccountUIStateBuilder: function BankAccountUIStateBuilder() { var _ = this; _._bank_account_state$_cancelCompleter = _._bank_account_state$_saveCompleter = _._bank_account_state$_tabIndex = _._bank_account_state$_forceSelected = _._bank_account_state$_selectedId = _._bank_account_state$_listUIState = _._bank_account_state$_editing = _._bank_account_state$_$v = null; }, _BankAccountUIState_Object_EntityUIState: function _BankAccountUIState_Object_EntityUIState() { }, handleClientAction(context, clients, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, t3, clientIds, client, link, message, _i, t4, t5, documentIds, t6; var $async$handleClientAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if (clients.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = A._arrayInstanceType(clients)._eval$1("MappedListIterable<1,String>"); clientIds = A.List_List$of(new A.MappedListIterable(clients, new A.handleClientAction_closure(), t3), true, t3._eval$1("ListIterable.E")); t3 = type$.ClientEntity; client = t3._as(clients[0]); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_viewStatement: // goto case $async$goto = 6; break; case B.EntityAction_clientPortal: // goto case $async$goto = 7; break; case B.EntityAction_settings: // goto case $async$goto = 8; break; case B.EntityAction_newTask: // goto case $async$goto = 9; break; case B.EntityAction_newInvoice: // goto case $async$goto = 10; break; case B.EntityAction_newRecurringInvoice: // goto case $async$goto = 11; break; case B.EntityAction_newRecurringExpense: // goto case $async$goto = 12; break; case B.EntityAction_newQuote: // goto case $async$goto = 13; break; case B.EntityAction_newCredit: // goto case $async$goto = 14; break; case B.EntityAction_newExpense: // goto case $async$goto = 15; break; case B.EntityAction_newPayment: // goto case $async$goto = 16; break; case B.EntityAction_newProject: // goto case $async$goto = 17; break; case B.EntityAction_restore: // goto case $async$goto = 18; break; case B.EntityAction_archive: // goto case $async$goto = 19; break; case B.EntityAction_delete: // goto case $async$goto = 20; break; case B.EntityAction_purge: // goto case $async$goto = 21; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 22; break; case B.EntityAction_more: // goto case $async$goto = 23; break; case B.EntityAction_documents: // goto case $async$goto = 24; break; case B.EntityAction_merge: // goto case $async$goto = 25; break; case B.EntityAction_assignGroup: // goto case $async$goto = 26; break; case B.EntityAction_runTemplate: // goto case $async$goto = 27; break; case B.EntityAction_bulkUpdate: // goto case $async$goto = 28; break; case B.EntityAction_addComment: // goto case $async$goto = 29; break; default: // goto default $async$goto = 30; break; } break; case 5: // case A.editEntity(null, client, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.ShowPdfClient(client, context)); // goto after switch $async$goto = 4; break; case 7: // case link = client.get$primaryContact().link + "?silent=true"; if (link.length !== 0) { if (!B.JSString_methods.contains$1(link, "?")) link += "?"; A.launchUrl(A.Uri_parse(link + ("&client_hash=" + client.clientHash), 0, null)); } // goto after switch $async$goto = 4; break; case 8: // case t2 = store.__Store__state_A; t2 = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany; t1 = t1.prefState.appLayout === B.AppLayout_desktop ? "localization" : null; t3 = store.__Store__dispatchers_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.ViewSettings(t2.company, null, client, t2.user, false, t1, true, null)); // goto after switch $async$goto = 4; break; case 9: // case A.createEntity(null, null, A.TaskEntity_TaskEntity(null, null, null, t1, null).rebuild$1(new A.handleClientAction_closure0(client)), null, false); // goto after switch $async$goto = 4; break; case 10: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, null, null, t1, null, null), null, false); // goto after switch $async$goto = 4; break; case 11: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, B.EntityType_recurringInvoice, null, t1, null, null), null, false); // goto after switch $async$goto = 4; break; case 12: // case A.createEntity(null, null, A.ExpenseEntity_ExpenseEntity(client, B.EntityType_recurringExpense, null, null, t1, null, null), null, false); // goto after switch $async$goto = 4; break; case 13: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, B.EntityType_quote, null, t1, null, null), null, false); // goto after switch $async$goto = 4; break; case 14: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, B.EntityType_credit, null, t1, null, null), null, false); // goto after switch $async$goto = 4; break; case 15: // case A.createEntity(null, null, A.ExpenseEntity_ExpenseEntity(client, null, null, null, t1, null, null), null, false); // goto after switch $async$goto = 4; break; case 16: // case A.createEntity(null, null, A.PaymentEntity_PaymentEntity(client, null, t1).rebuild$1(new A.handleClientAction_closure1(client)), null, false); // goto after switch $async$goto = 4; break; case 17: // case A.createEntity(null, null, A.ProjectEntity_ProjectEntity(null, null, t1, null).rebuild$1(new A.handleClientAction_closure2(client)), null, false); // goto after switch $async$goto = 4; break; case 18: // case t1 = clientIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_clients"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_client"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreClientsRequest(t1, clientIds)); // goto after switch $async$goto = 4; break; case 19: // case t1 = clientIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_clients"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_client"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveClientsRequest(t1, clientIds)); // goto after switch $async$goto = 4; break; case 20: // case t1 = clientIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_clients"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_client"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteClientsRequest(t1, clientIds)); // goto after switch $async$goto = 4; break; case 21: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "purge"); t1.toString; A.confirmCallback(false, new A.handleClientAction_closure3(context, store, t2, client), context, t1 + " - " + client.displayName, false, null); // goto after switch $async$goto = 4; break; case 22: // case if (store.__Store__state_A.uiState.clientUIState.listUIState.selectedIds == null) { t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartClientMultiselect()); } t2 = clients.length; if (t2 === 0) { // goto after switch $async$goto = 4; break; } for (t1 = t1.uiState.clientUIState.listUIState.selectedIds, t3 = t1 != null, _i = 0; _i < clients.length; clients.length === t2 || (0, A.throwConcurrentModificationError)(clients), ++_i) { client = clients[_i]; t4 = J.get$id$x(client); t4 = t3 && B.JSArray_methods.contains$1(t1._list$_list, t4); t5 = store.__Store__dispatchers_F; if (!t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t5[0].call$1(new A.AddToClientMultiselect(client)); } else { t5 === $ && A.throwUnnamedLateFieldNI(); t5[0].call$1(new A.RemoveFromClientMultiselect(client)); } } // goto after switch $async$goto = 4; break; case 23: // case A.showEntityActionsDialog(null, A._setArrayType([client], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 24: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = clients.length, _i = 0; _i < clients.length; clients.length === t1 || (0, A.throwConcurrentModificationError)(clients), ++_i) for (t4 = t3._as(clients[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 25: // case A.showDialog(null, null, true, null, new A.handleClientAction_closure4(client), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 26: // case A.showDialog(null, null, false, null, new A.handleClientAction_closure5(clients), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 27: // case A.showDialog(null, null, false, null, new A.handleClientAction_closure6(clients), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 28: // case A.showDialog(null, null, false, null, new A.handleClientAction_closure7(clients), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 29: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 31; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleClientAction_closure8(client), t1, null, true, type$.bool), $async$handleClientAction); case 31: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadClient(null, client.id)); } // goto after switch $async$goto = 4; break; case 30: // default A.print("## Error: action " + A.S(action) + " not handled in client_actions"); case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleClientAction, $async$completer); }, ViewClientList: function ViewClientList(t0) { this.page = t0; }, ViewClient: function ViewClient(t0) { this.clientId = t0; }, EditClient: function EditClient(t0, t1, t2) { this.client = t0; this.completer = t1; this.cancelCompleter = t2; }, EditContact: function EditContact(t0) { this.contact = t0; }, ShowPdfClient: function ShowPdfClient(t0, t1) { this.client = t0; this.context = t1; }, UpdateClient: function UpdateClient(t0) { this.client = t0; }, LoadClient: function LoadClient(t0, t1) { this.completer = t0; this.clientId = t1; }, LoadClients: function LoadClients(t0, t1) { this.completer = t0; this.page = t1; }, LoadClientRequest: function LoadClientRequest() { }, LoadClientFailure: function LoadClientFailure(t0) { this.error = t0; }, LoadClientSuccess: function LoadClientSuccess(t0) { this.client = t0; }, LoadClientsRequest: function LoadClientsRequest() { }, LoadClientsFailure: function LoadClientsFailure(t0) { this.error = t0; }, LoadClientsSuccess: function LoadClientsSuccess(t0) { this.clients = t0; }, AddContact: function AddContact(t0) { this.contact = t0; }, UpdateContact: function UpdateContact(t0, t1) { this.index = t0; this.contact = t1; }, DeleteContact: function DeleteContact(t0) { this.index = t0; }, SaveClientRequest: function SaveClientRequest(t0, t1) { this.completer = t0; this.client = t1; }, SaveClientSuccess: function SaveClientSuccess(t0) { this.client = t0; }, AddClientSuccess: function AddClientSuccess(t0) { this.client = t0; }, SaveClientFailure: function SaveClientFailure() { }, ArchiveClientsRequest: function ArchiveClientsRequest(t0, t1) { this.completer = t0; this.clientIds = t1; }, ArchiveClientsSuccess: function ArchiveClientsSuccess(t0) { this.clients = t0; }, ArchiveClientsFailure: function ArchiveClientsFailure() { }, MergeClientsRequest: function MergeClientsRequest(t0, t1, t2, t3, t4) { var _ = this; _.completer = t0; _.clientId = t1; _.mergeIntoClientId = t2; _.password = t3; _.idToken = t4; }, MergeClientsSuccess: function MergeClientsSuccess(t0) { this.clientId = t0; }, MergeClientsFailure: function MergeClientsFailure() { }, DeleteClientsRequest: function DeleteClientsRequest(t0, t1) { this.completer = t0; this.clientIds = t1; }, DeleteClientsSuccess: function DeleteClientsSuccess(t0) { this.clients = t0; }, DeleteClientsFailure: function DeleteClientsFailure() { }, PurgeClientRequest: function PurgeClientRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.clientId = t1; _.password = t2; _.idToken = t3; }, PurgeClientSuccess: function PurgeClientSuccess(t0) { this.clientId = t0; }, PurgeClientFailure: function PurgeClientFailure() { }, RestoreClientsRequest: function RestoreClientsRequest(t0, t1) { this.completer = t0; this.clientIds = t1; }, RestoreClientSuccess: function RestoreClientSuccess(t0) { this.clients = t0; }, RestoreClientFailure: function RestoreClientFailure() { }, FilterClients: function FilterClients(t0) { this.filter = t0; }, SortClients: function SortClients(t0) { this.field = t0; }, FilterClientsByState: function FilterClientsByState(t0) { this.state = t0; }, FilterClientsByCustom1: function FilterClientsByCustom1(t0) { this.value = t0; }, FilterClientsByCustom2: function FilterClientsByCustom2(t0) { this.value = t0; }, FilterClientsByCustom3: function FilterClientsByCustom3(t0) { this.value = t0; }, FilterClientsByCustom4: function FilterClientsByCustom4(t0) { this.value = t0; }, handleClientAction_closure: function handleClientAction_closure() { }, handleClientAction_closure0: function handleClientAction_closure0(t0) { this.client = t0; }, handleClientAction_closure1: function handleClientAction_closure1(t0) { this.client = t0; }, handleClientAction_closure2: function handleClientAction_closure2(t0) { this.client = t0; }, handleClientAction_closure3: function handleClientAction_closure3(t0, t1, t2, t3) { var _ = this; _.context = t0; _.store = t1; _.localization = t2; _.client = t3; }, handleClientAction__closure: function handleClientAction__closure(t0, t1, t2) { this.store = t0; this.localization = t1; this.client = t2; }, handleClientAction___closure: function handleClientAction___closure() { }, handleClientAction_closure4: function handleClientAction_closure4(t0) { this.client = t0; }, handleClientAction_closure5: function handleClientAction_closure5(t0) { this.clients = t0; }, handleClientAction_closure6: function handleClientAction_closure6(t0) { this.clients = t0; }, handleClientAction_closure7: function handleClientAction_closure7(t0) { this.clients = t0; }, handleClientAction_closure8: function handleClientAction_closure8(t0) { this.client = t0; }, StartClientMultiselect: function StartClientMultiselect() { }, AddToClientMultiselect: function AddToClientMultiselect(t0) { this.entity = t0; }, RemoveFromClientMultiselect: function RemoveFromClientMultiselect(t0) { this.entity = t0; }, ClearClientMultiselect: function ClearClientMultiselect() { }, SaveClientDocumentRequest: function SaveClientDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFile = t2; _.client = t3; }, SaveClientDocumentFailure: function SaveClientDocumentFailure() { }, UpdateClientTab: function UpdateClientTab(t0) { this.tabIndex = t0; }, _AssignGroupDialog: function _AssignGroupDialog(t0, t1) { this.clients = t0; this.key = t1; }, __AssignGroupDialogState: function __AssignGroupDialogState(t0) { var _ = this; _._client_actions$_groupId = ""; _._client_actions$_isLoading = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __AssignGroupDialogState_build_closure: function __AssignGroupDialogState_build_closure(t0) { this.context = t0; }, __AssignGroupDialogState_build_closure0: function __AssignGroupDialogState_build_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.localization = t2; _.store = t3; }, __AssignGroupDialogState_build__closure0: function __AssignGroupDialogState_build__closure0() { }, __AssignGroupDialogState_build__closure1: function __AssignGroupDialogState_build__closure1(t0) { this.$this = t0; }, __AssignGroupDialogState_build__closure2: function __AssignGroupDialogState_build__closure2(t0, t1, t2) { this.$this = t0; this.localization = t1; this.store = t2; }, __AssignGroupDialogState_build___closure0: function __AssignGroupDialogState_build___closure0(t0) { this.$this = t0; }, __AssignGroupDialogState_build__closure3: function __AssignGroupDialogState_build__closure3(t0) { this.$this = t0; }, __AssignGroupDialogState_build___closure: function __AssignGroupDialogState_build___closure(t0) { this.$this = t0; }, __AssignGroupDialogState_build_closure1: function __AssignGroupDialogState_build_closure1() { }, __AssignGroupDialogState_build_closure2: function __AssignGroupDialogState_build_closure2(t0) { this.$this = t0; }, __AssignGroupDialogState_build__closure: function __AssignGroupDialogState_build__closure(t0, t1) { this.$this = t0; this.groupId = t1; }, _MergClientPicker: function _MergClientPicker(t0, t1) { this.client = t0; this.key = t1; }, __MergClientPickerState: function __MergClientPickerState(t0) { var _ = this; _._widget = _._mergeIntoClientId = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __MergClientPickerState_build_closure: function __MergClientPickerState_build_closure(t0) { this.$this = t0; }, __MergClientPickerState_build__closure0: function __MergClientPickerState_build__closure0(t0, t1) { this.$this = t0; this.client = t1; }, __MergClientPickerState_build_closure0: function __MergClientPickerState_build_closure0(t0) { this.context = t0; }, __MergClientPickerState_build_closure1: function __MergClientPickerState_build_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.store = t2; _.localization = t3; }, __MergClientPickerState_build__closure: function __MergClientPickerState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.store = t1; _.localization = t2; _.context = t3; }, _editClient() { return new A._editClient_closure(); }, _viewClient() { return new A._viewClient_closure(); }, _viewClientList() { return new A._viewClientList_closure0(); }, _archiveClient(repository) { return new A._archiveClient_closure(repository); }, _mergeClients(repository) { return new A._mergeClients_closure(repository); }, _deleteClient(repository) { return new A._deleteClient_closure(repository); }, _purgeClient(repository) { return new A._purgeClient_closure(repository); }, _restoreClient(repository) { return new A._restoreClient_closure(repository); }, _saveClient(repository) { return new A._saveClient_closure(repository); }, _loadClient(repository) { return new A._loadClient_closure(repository); }, _loadClients(repository) { return new A._loadClients_closure(repository); }, _saveDocument1(repository) { return new A._saveDocument_closure12(repository); }, _showPdfClient() { return new A._showPdfClient_closure(); }, _editClient_closure: function _editClient_closure() { }, _viewClient_closure: function _viewClient_closure() { }, _viewClientList_closure0: function _viewClientList_closure0() { }, _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; }, _mergeClients_closure: function _mergeClients_closure(t0) { this.repository = t0; }, _mergeClients__closure: function _mergeClients__closure(t0, t1) { this.store = t0; this.action = t1; }, _mergeClients__closure0: function _mergeClients__closure0(t0, t1) { this.store = t0; this.action = t1; }, _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; }, _purgeClient_closure: function _purgeClient_closure(t0) { this.repository = t0; }, _purgeClient__closure: function _purgeClient__closure(t0, t1) { this.store = t0; this.action = t1; }, _purgeClient__closure0: function _purgeClient__closure0(t0, t1) { this.store = t0; this.action = t1; }, _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___closure: function _loadClients___closure(t0) { this.documents = t0; }, _loadClients____closure: function _loadClients____closure(t0, t1) { this.documents = t0; this.client = t1; }, _loadClients_____closure: function _loadClients_____closure(t0) { this.client = t0; }, _loadClients__closure0: function _loadClients__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure12: function _saveDocument_closure12(t0) { this.repository = t0; }, _saveDocument__closure25: function _saveDocument__closure25(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure12: function _saveDocument___closure12(t0, t1) { this.documents = t0; this.client = t1; }, _saveDocument____closure12: function _saveDocument____closure12(t0) { this.client = t0; }, _saveDocument__closure26: function _saveDocument__closure26(t0, t1) { this.store = t0; this.action = t1; }, _showPdfClient_closure: function _showPdfClient_closure() { }, clientUIReducer(state, action) { var t1 = new A.ClientUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._client_state$_$v = state; new A.clientUIReducer_closure(state, action).call$1(t1); return t1._client_state$_build$0(); }, _viewClientList0(clientListState, action) { return clientListState.rebuild$1(new A._viewClientList_closure()); }, _filterClientsByCustom1(clientListState, action) { if (B.JSArray_methods.contains$1(clientListState.custom1Filters._list$_list, action.value)) return clientListState.rebuild$1(new A._filterClientsByCustom1_closure(action)); else return clientListState.rebuild$1(new A._filterClientsByCustom1_closure0(action)); }, _filterClientsByCustom2(clientListState, action) { if (B.JSArray_methods.contains$1(clientListState.custom2Filters._list$_list, action.value)) return clientListState.rebuild$1(new A._filterClientsByCustom2_closure(action)); else return clientListState.rebuild$1(new A._filterClientsByCustom2_closure0(action)); }, _filterClientsByCustom3(clientListState, action) { if (B.JSArray_methods.contains$1(clientListState.custom3Filters._list$_list, action.value)) return clientListState.rebuild$1(new A._filterClientsByCustom3_closure(action)); else return clientListState.rebuild$1(new A._filterClientsByCustom3_closure0(action)); }, _filterClientsByCustom4(clientListState, action) { if (B.JSArray_methods.contains$1(clientListState.custom4Filters._list$_list, action.value)) return clientListState.rebuild$1(new A._filterClientsByCustom4_closure(action)); else return clientListState.rebuild$1(new A._filterClientsByCustom4_closure0(action)); }, _filterClientsByState(clientListState, action) { if (B.JSArray_methods.contains$1(clientListState.stateFilters._list$_list, action.state)) return clientListState.rebuild$1(new A._filterClientsByState_closure(action)); else return clientListState.rebuild$1(new A._filterClientsByState_closure0(action)); }, _filterClients(clientListState, action) { return clientListState.rebuild$1(new A._filterClients_closure(action, clientListState)); }, _sortClients(clientListState, action) { return clientListState.rebuild$1(new A._sortClients_closure(action)); }, _startListMultiselect0(clientListState, action) { return clientListState.rebuild$1(new A._startListMultiselect_closure26()); }, _addToListMultiselect0(clientListState, action) { return clientListState.rebuild$1(new A._addToListMultiselect_closure26(action)); }, _removeFromListMultiselect0(clientListState, action) { return clientListState.rebuild$1(new A._removeFromListMultiselect_closure26(action)); }, _clearListMultiselect0(clientListState, action) { return clientListState.rebuild$1(new A._clearListMultiselect_closure26()); }, _archiveClientSuccess(clientState, action) { return clientState.rebuild$1(new A._archiveClientSuccess_closure(action)); }, _deleteClientSuccess(clientState, action) { return clientState.rebuild$1(new A._deleteClientSuccess_closure(action)); }, _restoreClientSuccess(clientState, action) { return clientState.rebuild$1(new A._restoreClientSuccess_closure(action)); }, _addClient(clientState, action) { return clientState.rebuild$1(new A._addClient_closure(action)); }, _updateClient(clientState, action) { return clientState.rebuild$1(new A._updateClient_closure(action)); }, _setLoadedClient(clientState, action) { return clientState.rebuild$1(new A._setLoadedClient_closure(action)); }, _mergeClientSuccess(clientState, action) { return clientState.rebuild$1(new A._mergeClientSuccess_closure(action)); }, _purgeClientSuccess(clientState, action) { return clientState.rebuild$1(new A._purgeClientSuccess_closure26(action)); }, _setLoadedClients(clientState, action) { return clientState.loadClients$1(action.clients); }, _setLoadedCompany0(clientState, action) { return clientState.loadClients$1(action.userCompany.company.clients); }, clientUIReducer_closure: function clientUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure218: function forceSelectedReducer_closure218() { }, forceSelectedReducer_closure219: function forceSelectedReducer_closure219() { }, forceSelectedReducer_closure220: function forceSelectedReducer_closure220() { }, forceSelectedReducer_closure221: function forceSelectedReducer_closure221() { }, forceSelectedReducer_closure222: function forceSelectedReducer_closure222() { }, forceSelectedReducer_closure223: function forceSelectedReducer_closure223() { }, forceSelectedReducer_closure224: function forceSelectedReducer_closure224() { }, forceSelectedReducer_closure225: function forceSelectedReducer_closure225() { }, tabIndexReducer_closure31: function tabIndexReducer_closure31() { }, tabIndexReducer_closure32: function tabIndexReducer_closure32() { }, saveCompleterReducer_closure2: function saveCompleterReducer_closure2() { }, cancelCompleterReducer_closure2: function cancelCompleterReducer_closure2() { }, editingContactReducer_closure: function editingContactReducer_closure() { }, editingContactReducer_closure0: function editingContactReducer_closure0() { }, selectedIdReducer_closure418: function selectedIdReducer_closure418() { }, selectedIdReducer_closure419: function selectedIdReducer_closure419() { }, selectedIdReducer_closure420: function selectedIdReducer_closure420() { }, selectedIdReducer_closure421: function selectedIdReducer_closure421() { }, selectedIdReducer_closure422: function selectedIdReducer_closure422() { }, selectedIdReducer_closure423: function selectedIdReducer_closure423() { }, selectedIdReducer_closure424: function selectedIdReducer_closure424() { }, selectedIdReducer_closure425: function selectedIdReducer_closure425() { }, selectedIdReducer_closure426: function selectedIdReducer_closure426() { }, selectedIdReducer_closure427: function selectedIdReducer_closure427() { }, selectedIdReducer_closure428: function selectedIdReducer_closure428() { }, selectedIdReducer_closure429: function selectedIdReducer_closure429() { }, selectedIdReducer_closure430: function selectedIdReducer_closure430() { }, selectedIdReducer_closure431: function selectedIdReducer_closure431() { }, selectedIdReducer_closure432: function selectedIdReducer_closure432() { }, selectedIdReducer_closure433: function selectedIdReducer_closure433() { }, selectedIdReducer_closure434: function selectedIdReducer_closure434() { }, editingReducer_closure141: function editingReducer_closure141() { }, editingReducer_closure142: function editingReducer_closure142() { }, editingReducer_closure143: function editingReducer_closure143() { }, editingReducer_closure144: function editingReducer_closure144() { }, editingReducer_closure145: function editingReducer_closure145() { }, editingReducer_closure146: function editingReducer_closure146() { }, editingReducer_closure147: function editingReducer_closure147() { }, editingReducer__closure59: function editingReducer__closure59() { }, editingReducer_closure148: function editingReducer_closure148() { }, editingReducer__closure58: function editingReducer__closure58(t0) { this.action = t0; }, editingReducer_closure149: function editingReducer_closure149() { }, editingReducer__closure57: function editingReducer__closure57(t0) { this.action = t0; }, editingReducer_closure150: function editingReducer_closure150() { }, editingReducer__closure56: function editingReducer__closure56(t0) { this.action = t0; }, editingReducer_closure151: function editingReducer_closure151() { }, editingReducer_closure152: function editingReducer_closure152() { }, editingReducer_closure153: function editingReducer_closure153() { }, editingReducer_closure154: function editingReducer_closure154() { }, clientListReducer_closure: function clientListReducer_closure() { }, clientListReducer__closure: function clientListReducer__closure() { }, _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_closure26: function _startListMultiselect_closure26() { }, _addToListMultiselect_closure26: function _addToListMultiselect_closure26(t0) { this.action = t0; }, _removeFromListMultiselect_closure26: function _removeFromListMultiselect_closure26(t0) { this.action = t0; }, _clearListMultiselect_closure26: function _clearListMultiselect_closure26() { }, _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() { }, _mergeClientSuccess_closure: function _mergeClientSuccess_closure(t0) { this.action = t0; }, _purgeClientSuccess_closure26: function _purgeClientSuccess_closure26(t0) { this.action = t0; }, dropdownClientsSelector(clientMap, clientList, userMap, staticState) { var t1 = clientList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownClientsSelector_closure(clientMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownClientsSelector_closure0(clientMap, userMap, staticState)); return list; }, clientStatsForUser(userId, clientMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; clientMap._map$_map.forEach$1(0, new A.clientStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, filteredClientsSelector(selectionState, clientMap, clientList, groupMap, clientListState, userMap, staticState) { var t1 = clientList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredClientsSelector_closure(clientMap, groupMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, clientListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredClientsSelector_closure0(clientMap, clientListState, userMap, staticState)); return list; }, getClientSettings(state, client) { var t1, _null = null; if (state == null) return A.SettingsEntity_SettingsEntity(_null, _null, _null); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t1 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex]; return A.SettingsEntity_SettingsEntity(client.settings, t1.userCompany.company.settings, t1.groupState.$get$1(0, client.groupId).settings); }, memoizedDropdownClientList_closure: function memoizedDropdownClientList_closure() { }, dropdownClientsSelector_closure: function dropdownClientsSelector_closure(t0) { this.clientMap = t0; }, dropdownClientsSelector_closure0: function dropdownClientsSelector_closure0(t0, t1, t2) { this.clientMap = t0; this.userMap = t1; this.staticState = t2; }, memoizedClientStatsForUser_closure: function memoizedClientStatsForUser_closure() { }, clientStatsForUser_closure: function clientStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, memoizedFilteredClientList_closure: function memoizedFilteredClientList_closure() { }, filteredClientsSelector_closure: function filteredClientsSelector_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.clientMap = t0; _.groupMap = t1; _.selectionState = t2; _.filterEntityType = t3; _.filterEntityId = t4; _.clientListState = t5; }, filteredClientsSelector__closure: function filteredClientsSelector__closure(t0) { this.filterEntityId = t0; }, filteredClientsSelector_closure0: function filteredClientsSelector_closure0(t0, t1, t2, t3) { var _ = this; _.clientMap = t0; _.clientListState = t1; _.userMap = t2; _.staticState = t3; }, _$ClientState$_(list, map) { var _s11_ = "ClientState"; A.BuiltValueNullFieldError_checkNotNull(map, _s11_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s11_, "list"); return new A._$ClientState(map, list); }, _$ClientUIState$_(cancelCompleter, editing, editingContact, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s13_ = "ClientUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s13_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s13_, "tabIndex"); return new A._$ClientUIState(editing, editingContact, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, ClientState: function ClientState() { }, ClientState_loadClients_closure0: function ClientState_loadClients_closure0() { }, ClientState_loadClients_closure1: function ClientState_loadClients_closure1() { }, ClientState_loadClients_closure: function ClientState_loadClients_closure(t0, t1) { this.$this = t0; this.map = t1; }, ClientUIState: function ClientUIState() { }, _$ClientStateSerializer: function _$ClientStateSerializer() { }, _$ClientUIStateSerializer: function _$ClientUIStateSerializer() { }, _$ClientState: function _$ClientState(t0, t1) { this.map = t0; this.list = t1; this._client_state$__hashCode = null; }, ClientStateBuilder: function ClientStateBuilder() { this._client_state$_list = this._client_state$_map = this._client_state$_$v = null; }, _$ClientUIState: function _$ClientUIState(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; _._client_state$__hashCode = null; }, ClientUIStateBuilder: function ClientUIStateBuilder() { var _ = this; _._client_state$_cancelCompleter = _._client_state$_saveCompleter = _._client_state$_tabIndex = _._client_state$_forceSelected = _._client_state$_selectedId = _._client_state$_listUIState = _._client_state$_editingContact = _._client_state$_editing = _._client_state$_$v = null; }, _ClientUIState_Object_EntityUIState: function _ClientUIState_Object_EntityUIState() { }, SelectCompany: function SelectCompany(t0, t1) { this.companyIndex = t0; this.clearSelection = t1; }, LoadCompanySuccess: function LoadCompanySuccess(t0) { this.userCompany = t0; }, UpdateCompany: function UpdateCompany(t0) { this.company = t0; }, SaveCompanyRequest: function SaveCompanyRequest(t0, t1) { this.completer = t0; this.company = t1; }, SaveCompanySuccess: function SaveCompanySuccess(t0) { this.company = t0; }, SaveCompanyFailure: function SaveCompanyFailure() { }, SaveEInvoiceCertificateRequest: function SaveEInvoiceCertificateRequest(t0, t1, t2) { this.completer = t0; this.company = t1; this.eInvoiceCertificate = t2; }, SaveEInvoiceCertificateSuccess: function SaveEInvoiceCertificateSuccess(t0) { this.company = t0; }, SaveEInvoiceCertificateFailure: function SaveEInvoiceCertificateFailure() { }, AddCompany: function AddCompany(t0, t1) { this.context = t0; this.completer = t1; }, AddCompanySuccess: function AddCompanySuccess() { }, DeleteCompanyRequest: function DeleteCompanyRequest(t0, t1, t2) { this.completer = t0; this.password = t1; this.reason = t2; }, DeleteCompanySuccess: function DeleteCompanySuccess() { }, DeleteCompanyFailure: function DeleteCompanyFailure() { }, PurgeDataRequest: function PurgeDataRequest(t0, t1, t2) { this.completer = t0; this.password = t1; this.idToken = t2; }, PurgeDataSuccess: function PurgeDataSuccess() { }, PurgeDataFailure: function PurgeDataFailure() { }, UpdateCompanyLanguage: function UpdateCompanyLanguage(t0) { this.languageId = t0; }, SaveCompanyDocumentRequest: function SaveCompanyDocumentRequest(t0, t1, t2) { this.isPrivate = t0; this.completer = t1; this.multipartFiles = t2; }, SaveCompanyDocumentFailure: function SaveCompanyDocumentFailure() { }, SetDefaultCompanyRequest: function SetDefaultCompanyRequest(t0) { this.completer = t0; }, SetDefaultCompanySuccess: function SetDefaultCompanySuccess() { }, SetDefaultCompanyFailure: function SetDefaultCompanyFailure() { }, companyReducer(state, action) { var t1; if (action instanceof A.DeleteCompanySuccess) return A.UserCompanyState_UserCompanyState(false); t1 = new A.UserCompanyStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._company_state$_$v = state; new A.companyReducer_closure(state, action).call$1(t1); return t1._company_state$_build$0(); }, loadCompanySuccessReducer(company, action) { var t1 = {}, userCompany = action.userCompany; t1.userCompany = userCompany; userCompany = userCompany.rebuild$1(new A.loadCompanySuccessReducer_closure()); t1.userCompany = userCompany; return t1.userCompany = userCompany.rebuild$1(new A.loadCompanySuccessReducer_closure0(t1)); }, saveCompanySuccessReducer(userCompany, action) { var company, t1 = {}; t1.userCompany = userCompany; company = action.company.rebuild$1(new A.saveCompanySuccessReducer_closure(t1)); return t1.userCompany = t1.userCompany.rebuild$1(new A.saveCompanySuccessReducer_closure0(company)); }, companyReducer_closure: function companyReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, userCompanyEntityReducer_closure: function userCompanyEntityReducer_closure() { }, userCompanyEntityReducer__closure12: function userCompanyEntityReducer__closure12(t0) { this.action = t0; }, userCompanyEntityReducer_closure0: function userCompanyEntityReducer_closure0() { }, userCompanyEntityReducer__closure10: function userCompanyEntityReducer__closure10(t0, t1) { this.action = t0; this.settings = t1; }, userCompanyEntityReducer___closure: function userCompanyEntityReducer___closure(t0, t1) { this.action = t0; this.settings = t1; }, userCompanyEntityReducer__closure11: function userCompanyEntityReducer__closure11(t0) { this.action = t0; }, userCompanyEntityReducer_closure1: function userCompanyEntityReducer_closure1() { }, userCompanyEntityReducer__closure9: function userCompanyEntityReducer__closure9(t0) { this.action = t0; }, userCompanyEntityReducer_closure2: function userCompanyEntityReducer_closure2() { }, userCompanyEntityReducer__closure8: function userCompanyEntityReducer__closure8(t0) { this.action = t0; }, userCompanyEntityReducer_closure3: function userCompanyEntityReducer_closure3() { }, userCompanyEntityReducer__closure7: function userCompanyEntityReducer__closure7(t0) { this.action = t0; }, userCompanyEntityReducer_closure4: function userCompanyEntityReducer_closure4() { }, userCompanyEntityReducer__closure6: function userCompanyEntityReducer__closure6(t0) { this.action = t0; }, userCompanyEntityReducer_closure5: function userCompanyEntityReducer_closure5() { }, userCompanyEntityReducer__closure5: function userCompanyEntityReducer__closure5(t0) { this.action = t0; }, userCompanyEntityReducer_closure6: function userCompanyEntityReducer_closure6() { }, userCompanyEntityReducer__closure4: function userCompanyEntityReducer__closure4() { }, userCompanyEntityReducer_closure7: function userCompanyEntityReducer_closure7() { }, userCompanyEntityReducer__closure3: function userCompanyEntityReducer__closure3(t0) { this.action = t0; }, userCompanyEntityReducer_closure8: function userCompanyEntityReducer_closure8() { }, userCompanyEntityReducer__closure2: function userCompanyEntityReducer__closure2(t0) { this.action = t0; }, userCompanyEntityReducer_closure9: function userCompanyEntityReducer_closure9() { }, userCompanyEntityReducer__closure1: function userCompanyEntityReducer__closure1(t0) { this.action = t0; }, userCompanyEntityReducer_closure10: function userCompanyEntityReducer_closure10() { }, userCompanyEntityReducer__closure: function userCompanyEntityReducer__closure(t0) { this.action = t0; }, userCompanyEntityReducer__closure0: function userCompanyEntityReducer__closure0(t0) { this.action = t0; }, loadCompanySuccessReducer_closure: function loadCompanySuccessReducer_closure() { }, loadCompanySuccessReducer_closure0: function loadCompanySuccessReducer_closure0(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() { }, dropdownExpenseCategoriesSelector0(categoryMap, categoryList) { var t1 = categoryList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownExpenseCategoriesSelector_closure1(categoryMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownExpenseCategoriesSelector_closure2(categoryMap)); return list; }, getCurrencyIds(company, clientMap, groupMap) { var t2, currencyIds, t1 = company.settings.currencyId; if (t1 == null) t1 = "1"; t2 = type$.JSArray_String; currencyIds = A._setArrayType([t1], t2); clientMap._map$_map.forEach$1(0, new A.getCurrencyIds_closure(groupMap, currencyIds)); t1 = currencyIds.length; if (t1 === 0) return A._setArrayType(["1"], t2); else if (t1 > 1) { t1 = A._setArrayType(["-1"], t2); B.JSArray_methods.addAll$1(t1, currencyIds); return t1; } else return currencyIds; }, filteredSelector(filter, state) { var list = A._setArrayType([], type$.JSArray_BaseEntity), t1 = state.productState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ProductEntity>")).super$Iterable$where(0, new A.filteredSelector_closure0(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); t1 = state.clientState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure1(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ClientEntity>")).super$Iterable$where(0, new A.filteredSelector_closure2(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); t1 = state.quoteState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure3(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InvoiceEntity>")).super$Iterable$where(0, new A.filteredSelector_closure4(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); t1 = state.paymentState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure5(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,PaymentEntity>")).super$Iterable$where(0, new A.filteredSelector_closure6(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); t1 = state.projectState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure7(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ProjectEntity>")).super$Iterable$where(0, new A.filteredSelector_closure8(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); t1 = state.taskState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure9(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,TaskEntity>")).super$Iterable$where(0, new A.filteredSelector_closure10(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); t1 = state.invoiceState.list._list$_list; t1 = new A.MappedListIterable(t1, new A.filteredSelector_closure11(state), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InvoiceEntity>")).super$Iterable$where(0, new A.filteredSelector_closure12(filter)); B.JSArray_methods.addAll$1(list, A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); B.JSArray_methods.sort$1(list, new A.filteredSelector_closure13()); return list; }, localeSelector(state, twoLetter) { var languageId0, locale, t1 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany, languageId = t1.company.settings.languageId; if (languageId == null) languageId = "1"; languageId0 = t1.user.languageId; if (languageId0.length !== 0) languageId = languageId0; t1 = state.staticState.languageMap._map$_map.$index(0, languageId); locale = t1 == null ? null : t1.locale; if (locale == null) locale = "en"; if (locale === "mk_MK" || locale === "sq") return "en"; else if (twoLetter) return B.JSArray_methods.get$first(locale.split("_")); else return locale; }, clientPortalUrlSelector(state, route) { var url, t1 = state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].userCompany, account = t1.account, company = t1.company; if (company.portalMode === "domain") url = company.portalDomain; else { url = account.defaultUrl; if (state.get$isHosted()) url = B.JSString_methods.replaceFirst$2(url, "//", "//" + company.subdomain + "."); } url += "/client/" + route; return !state.get$isHosted() && state.get$companies().length > 1 && company.id !== account.defaultCompanyId ? url + ("/" + company.companyKey) : url; }, memoizedDropdownExpenseCategoriesList_closure: function memoizedDropdownExpenseCategoriesList_closure() { }, dropdownExpenseCategoriesSelector_closure1: function dropdownExpenseCategoriesSelector_closure1(t0) { this.categoryMap = t0; }, dropdownExpenseCategoriesSelector_closure2: function dropdownExpenseCategoriesSelector_closure2(t0) { this.categoryMap = t0; }, memoizedHasMultipleCurrencies_closure: function memoizedHasMultipleCurrencies_closure() { }, memoizedGetCurrencyIds_closure: function memoizedGetCurrencyIds_closure() { }, getCurrencyIds_closure: function getCurrencyIds_closure(t0, t1) { this.groupMap = t0; this.currencyIds = t1; }, memoizedFilteredSelector_closure: function memoizedFilteredSelector_closure() { }, filteredSelector_closure: function filteredSelector_closure(t0) { this.state = t0; }, filteredSelector_closure0: function filteredSelector_closure0(t0) { this.filter = t0; }, filteredSelector_closure1: function filteredSelector_closure1(t0) { this.state = t0; }, filteredSelector_closure2: function filteredSelector_closure2(t0) { this.filter = t0; }, filteredSelector_closure3: function filteredSelector_closure3(t0) { this.state = t0; }, filteredSelector_closure4: function filteredSelector_closure4(t0) { this.filter = t0; }, filteredSelector_closure5: function filteredSelector_closure5(t0) { this.state = t0; }, filteredSelector_closure6: function filteredSelector_closure6(t0) { this.filter = t0; }, filteredSelector_closure7: function filteredSelector_closure7(t0) { this.state = t0; }, filteredSelector_closure8: function filteredSelector_closure8(t0) { this.filter = t0; }, filteredSelector_closure9: function filteredSelector_closure9(t0) { this.state = t0; }, filteredSelector_closure10: function filteredSelector_closure10(t0) { this.filter = t0; }, filteredSelector_closure11: function filteredSelector_closure11(t0) { this.state = t0; }, filteredSelector_closure12: function filteredSelector_closure12(t0) { this.filter = t0; }, filteredSelector_closure13: function filteredSelector_closure13() { }, UserCompanyState_UserCompanyState(reportErrors) { var 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, t1 = A.UserCompanyEntity_UserCompanyEntity(reportErrors), t2 = type$.String, t3 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.DocumentEntity); t3 = A._$DocumentState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t3); t4 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.ProductEntity); t4 = A._$ProductState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t4); t5 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.ClientEntity); t5 = A._$ClientState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t5); t6 = type$.InvoiceEntity; t7 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t6); t7 = A._$InvoiceState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t7); t8 = type$.ExpenseEntity; t9 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t8); t9 = A._$ExpenseState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t9); t10 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.VendorEntity); t10 = A._$VendorState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t10); t11 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.TaskEntity); t11 = A._$TaskState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t11); t12 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.ProjectEntity); t12 = A._$ProjectState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t12); t13 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.PaymentEntity); t13 = A._$PaymentState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t13); t14 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t6); t14 = A._$QuoteState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t14); t15 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.ScheduleEntity); t15 = A._$ScheduleState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t15); t16 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.TransactionRuleEntity); t16 = A._$TransactionRuleState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t16); t17 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.TransactionEntity); t17 = A._$TransactionState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t17); t18 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.BankAccountEntity); t18 = A._$BankAccountState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t18); t19 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t6); t19 = A._$PurchaseOrderState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t19); t8 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t8); t8 = A._$RecurringExpenseState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t8); t20 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.SubscriptionEntity); t20 = A._$SubscriptionState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t20); t21 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.TaskStatusEntity); t21 = A._$TaskStatusState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t21); t22 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.ExpenseCategoryEntity); t22 = A._$ExpenseCategoryState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t22); t23 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t6); t23 = A._$RecurringInvoiceState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t23); t24 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.WebhookEntity); t24 = A._$WebhookState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t24); t25 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.TokenEntity); t25 = A._$TokenState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t25); t26 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.PaymentTermEntity); t26 = A._$PaymentTermState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t26); t27 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.DesignEntity); t27 = A._$DesignState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t27); t6 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, t6); t6 = A._$CreditState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t6); t28 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.UserEntity); t28 = A._$UserState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t28); t29 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.TaxRateEntity); t29 = A._$TaxRateState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t29); t30 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.CompanyGatewayEntity); t30 = A._$CompanyGatewayState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t30); t31 = A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.GroupEntity); return A._$UserCompanyState$_(t18, t5, t30, t6, t27, t3, t22, t9, A._$GroupState$_(A.BuiltList_BuiltList$from(B.List_empty, t2), t31), t7, 0, t13, t26, t4, t12, t19, t14, t8, t23, t15, t20, t11, t21, t29, t25, t16, t17, t1, t28, t10, t24); }, _$UserCompanyState$_(bankAccountState, clientState, companyGatewayState, creditState, designState, documentState, expenseCategoryState, expenseState, groupState, invoiceState, lastUpdated, paymentState, paymentTermState, productState, projectState, purchaseOrderState, quoteState, recurringExpenseState, recurringInvoiceState, scheduleState, subscriptionState, taskState, taskStatusState, taxRateState, tokenState, transactionRuleState, transactionState, userCompany, userState, vendorState, webhookState) { var _s16_ = "UserCompanyState"; A.BuiltValueNullFieldError_checkNotNull(lastUpdated, _s16_, "lastUpdated"); A.BuiltValueNullFieldError_checkNotNull(userCompany, _s16_, "userCompany"); A.BuiltValueNullFieldError_checkNotNull(documentState, _s16_, "documentState"); A.BuiltValueNullFieldError_checkNotNull(productState, _s16_, "productState"); A.BuiltValueNullFieldError_checkNotNull(clientState, _s16_, "clientState"); A.BuiltValueNullFieldError_checkNotNull(invoiceState, _s16_, "invoiceState"); A.BuiltValueNullFieldError_checkNotNull(expenseState, _s16_, "expenseState"); A.BuiltValueNullFieldError_checkNotNull(vendorState, _s16_, "vendorState"); A.BuiltValueNullFieldError_checkNotNull(taskState, _s16_, "taskState"); A.BuiltValueNullFieldError_checkNotNull(projectState, _s16_, "projectState"); A.BuiltValueNullFieldError_checkNotNull(paymentState, _s16_, "paymentState"); A.BuiltValueNullFieldError_checkNotNull(quoteState, _s16_, "quoteState"); A.BuiltValueNullFieldError_checkNotNull(scheduleState, _s16_, "scheduleState"); A.BuiltValueNullFieldError_checkNotNull(transactionRuleState, _s16_, "transactionRuleState"); A.BuiltValueNullFieldError_checkNotNull(transactionState, _s16_, "transactionState"); A.BuiltValueNullFieldError_checkNotNull(bankAccountState, _s16_, "bankAccountState"); A.BuiltValueNullFieldError_checkNotNull(purchaseOrderState, _s16_, "purchaseOrderState"); A.BuiltValueNullFieldError_checkNotNull(recurringExpenseState, _s16_, "recurringExpenseState"); A.BuiltValueNullFieldError_checkNotNull(subscriptionState, _s16_, "subscriptionState"); A.BuiltValueNullFieldError_checkNotNull(taskStatusState, _s16_, "taskStatusState"); A.BuiltValueNullFieldError_checkNotNull(expenseCategoryState, _s16_, "expenseCategoryState"); A.BuiltValueNullFieldError_checkNotNull(recurringInvoiceState, _s16_, "recurringInvoiceState"); A.BuiltValueNullFieldError_checkNotNull(webhookState, _s16_, "webhookState"); A.BuiltValueNullFieldError_checkNotNull(tokenState, _s16_, "tokenState"); A.BuiltValueNullFieldError_checkNotNull(paymentTermState, _s16_, "paymentTermState"); A.BuiltValueNullFieldError_checkNotNull(designState, _s16_, "designState"); A.BuiltValueNullFieldError_checkNotNull(creditState, _s16_, "creditState"); A.BuiltValueNullFieldError_checkNotNull(userState, _s16_, "userState"); A.BuiltValueNullFieldError_checkNotNull(taxRateState, _s16_, "taxRateState"); A.BuiltValueNullFieldError_checkNotNull(companyGatewayState, _s16_, "companyGatewayState"); A.BuiltValueNullFieldError_checkNotNull(groupState, _s16_, "groupState"); return new A._$UserCompanyState(lastUpdated, userCompany, documentState, productState, clientState, invoiceState, expenseState, vendorState, taskState, projectState, paymentState, quoteState, scheduleState, transactionRuleState, transactionState, bankAccountState, purchaseOrderState, recurringExpenseState, subscriptionState, taskStatusState, expenseCategoryState, recurringInvoiceState, webhookState, tokenState, paymentTermState, designState, creditState, userState, taxRateState, companyGatewayState, groupState); }, UserCompanyState: function UserCompanyState() { }, _$UserCompanyStateSerializer: function _$UserCompanyStateSerializer() { }, _$UserCompanyState: function _$UserCompanyState(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; _.lastUpdated = t0; _.userCompany = t1; _.documentState = t2; _.productState = t3; _.clientState = t4; _.invoiceState = t5; _.expenseState = t6; _.vendorState = t7; _.taskState = t8; _.projectState = t9; _.paymentState = t10; _.quoteState = t11; _.scheduleState = t12; _.transactionRuleState = t13; _.transactionState = t14; _.bankAccountState = t15; _.purchaseOrderState = t16; _.recurringExpenseState = t17; _.subscriptionState = t18; _.taskStatusState = t19; _.expenseCategoryState = t20; _.recurringInvoiceState = t21; _.webhookState = t22; _.tokenState = t23; _.paymentTermState = t24; _.designState = t25; _.creditState = t26; _.userState = t27; _.taxRateState = t28; _.companyGatewayState = t29; _.groupState = t30; _._company_state$__hashCode = null; }, UserCompanyStateBuilder: function UserCompanyStateBuilder() { var _ = this; _._taxRateState = _._userState = _._creditState = _._designState = _._paymentTermState = _._tokenState = _._webhookState = _._recurringInvoiceState = _._expenseCategoryState = _._taskStatusState = _._subscriptionState = _._recurringExpenseState = _._purchaseOrderState = _._bankAccountState = _._transactionState = _._transactionRuleState = _._scheduleState = _._quoteState = _._paymentState = _._projectState = _._taskState = _._vendorState = _._expenseState = _._invoiceState = _._clientState = _._productState = _._documentState = _._company_state$_userCompany = _._lastUpdated = _._company_state$_$v = null; _._groupState = _._companyGatewayState = null; }, handleCompanyGatewayAction(context, companyGateways, action) { var store, t1, companyGateway, t2, companyGatewayIds, message, completer, _i, t3, _null = null, _s6_ = ":value", _s6_0 = ":count", _s20_ = "disconnected_gateway"; if (companyGateways.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); companyGateway = B.JSArray_methods.get$first(companyGateways); t2 = A._arrayInstanceType(companyGateways)._eval$1("MappedListIterable<1,String>"); companyGatewayIds = A.List_List$of(new A.MappedListIterable(companyGateways, new A.handleCompanyGatewayAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, companyGateway, true, _null); break; case B.EntityAction_restore: t2 = companyGatewayIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_company_gateways"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_company_gateway"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreCompanyGatewayRequest(t1, companyGatewayIds)); break; case B.EntityAction_archive: t2 = companyGatewayIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_company_gateways"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_company_gateway"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveCompanyGatewayRequest(t1, companyGatewayIds)); break; case B.EntityAction_delete: t2 = companyGatewayIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_company_gateways"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_company_gateway"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteCompanyGatewayRequest(t1, companyGatewayIds)); break; case B.EntityAction_disconnect: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s20_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s20_); t1.toString; } t2 = type$.Null; completer = A.snackBarCompleter(t1, _null, false, t2); completer.future.then$1$1(0, new A.handleCompanyGatewayAction_closure0(store), t2); A.confirmCallback(false, new A.handleCompanyGatewayAction_closure1(context, store, completer, companyGateway), context, _null, false, _null); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.companyGatewayUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartCompanyGatewayMultiselect()); } t1 = companyGateways.length; if (t1 === 0) break; for (_i = 0; _i < companyGateways.length; companyGateways.length === t1 || (0, A.throwConcurrentModificationError)(companyGateways), ++_i) { companyGateway = companyGateways[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(companyGateway); t2 = t2.companyGatewayUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToCompanyGatewayMultiselect(companyGateway)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromCompanyGatewayMultiselect(companyGateway)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([companyGateway], type$.JSArray_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() { }, DisconnectCompanyGatewayRequest: function DisconnectCompanyGatewayRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.companyGatewayId = t1; _.password = t2; _.idToken = t3; }, DisconnectCompanyGatewaySuccess: function DisconnectCompanyGatewaySuccess() { }, DisconnectCompanyGatewayFailure: function DisconnectCompanyGatewayFailure() { }, 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() { }, handleCompanyGatewayAction_closure0: function handleCompanyGatewayAction_closure0(t0) { this.store = t0; }, handleCompanyGatewayAction_closure1: function handleCompanyGatewayAction_closure1(t0, t1, t2, t3) { var _ = this; _.context = t0; _.store = t1; _.completer = t2; _.companyGateway = t3; }, handleCompanyGatewayAction__closure: function handleCompanyGatewayAction__closure(t0, t1, t2) { this.store = t0; this.completer = t1; this.companyGateway = t2; }, StartCompanyGatewayMultiselect: function StartCompanyGatewayMultiselect() { }, AddToCompanyGatewayMultiselect: function AddToCompanyGatewayMultiselect(t0) { this.entity = t0; }, RemoveFromCompanyGatewayMultiselect: function RemoveFromCompanyGatewayMultiselect(t0) { this.entity = t0; }, ClearCompanyGatewayMultiselect: function ClearCompanyGatewayMultiselect() { }, _editCompanyGateway() { return new A._editCompanyGateway_closure(); }, _viewCompanyGateway() { return new A._viewCompanyGateway_closure(); }, _viewCompanyGatewayList() { return new A._viewCompanyGatewayList_closure(); }, _archiveCompanyGateway(repository) { return new A._archiveCompanyGateway_closure(repository); }, _deleteCompanyGateway(repository) { return new A._deleteCompanyGateway_closure(repository); }, _restoreCompanyGateway(repository) { return new A._restoreCompanyGateway_closure(repository); }, _disconnectCompanyGateway(repository) { return new A._disconnectCompanyGateway_closure(repository); }, _saveCompanyGateway(repository) { return new A._saveCompanyGateway_closure(repository); }, _loadCompanyGateway(repository) { return new A._loadCompanyGateway_closure(repository); }, _loadCompanyGateways(repository) { return new A._loadCompanyGateways_closure(repository); }, _editCompanyGateway_closure: function _editCompanyGateway_closure() { }, _viewCompanyGateway_closure: function _viewCompanyGateway_closure() { }, _viewCompanyGatewayList_closure: function _viewCompanyGatewayList_closure() { }, _viewCompanyGatewayList__closure: function _viewCompanyGatewayList__closure() { }, _archiveCompanyGateway_closure: function _archiveCompanyGateway_closure(t0) { this.repository = t0; }, _archiveCompanyGateway__closure: function _archiveCompanyGateway__closure(t0) { this.store = t0; }, _archiveCompanyGateway__closure0: function _archiveCompanyGateway__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveCompanyGateway__closure1: function _archiveCompanyGateway__closure1(t0, t1, t2) { this.store = t0; this.prevCompanyGateways = t1; this.action = t2; }, _deleteCompanyGateway_closure: function _deleteCompanyGateway_closure(t0) { this.repository = t0; }, _deleteCompanyGateway__closure: function _deleteCompanyGateway__closure(t0) { this.store = t0; }, _deleteCompanyGateway__closure0: function _deleteCompanyGateway__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteCompanyGateway__closure1: function _deleteCompanyGateway__closure1(t0, t1, t2) { this.store = t0; this.prevCompanyGateways = t1; this.action = t2; }, _restoreCompanyGateway_closure: function _restoreCompanyGateway_closure(t0) { this.repository = t0; }, _restoreCompanyGateway__closure: function _restoreCompanyGateway__closure(t0) { this.store = t0; }, _restoreCompanyGateway__closure0: function _restoreCompanyGateway__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreCompanyGateway__closure1: function _restoreCompanyGateway__closure1(t0, t1, t2) { this.store = t0; this.prevCompanyGateways = t1; this.action = t2; }, _disconnectCompanyGateway_closure: function _disconnectCompanyGateway_closure(t0) { this.repository = t0; }, _disconnectCompanyGateway__closure: function _disconnectCompanyGateway__closure(t0, t1) { this.store = t0; this.action = t1; }, _disconnectCompanyGateway__closure0: function _disconnectCompanyGateway__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveCompanyGateway_closure: function _saveCompanyGateway_closure(t0) { this.repository = t0; }, _saveCompanyGateway__closure: function _saveCompanyGateway__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveCompanyGateway__closure0: function _saveCompanyGateway__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadCompanyGateway_closure: function _loadCompanyGateway_closure(t0) { this.repository = t0; }, _loadCompanyGateway__closure: function _loadCompanyGateway__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadCompanyGateway__closure0: function _loadCompanyGateway__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadCompanyGateways_closure: function _loadCompanyGateways_closure(t0) { this.repository = t0; }, _loadCompanyGateways__closure: function _loadCompanyGateways__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadCompanyGateways__closure0: function _loadCompanyGateways__closure0(t0, t1) { this.store = t0; this.action = t1; }, companyGatewayUIReducer(state, action) { var t1 = new A.CompanyGatewayUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._company_gateway_state$_$v = state; new A.companyGatewayUIReducer_closure(state, action).call$1(t1); return t1._company_gateway_state$_build$0(); }, _clearEditing0(companyGateway, action) { return A.CompanyGatewayEntity_CompanyGatewayEntity(null, null); }, _updateEditing0(companyGateway, action) { return action.get$companyGateway(); }, _filterCompanyGatewaysByCustom1(companyGatewayListState, action) { if (B.JSArray_methods.contains$1(companyGatewayListState.custom1Filters._list$_list, action.value)) return companyGatewayListState.rebuild$1(new A._filterCompanyGatewaysByCustom1_closure(action)); else return companyGatewayListState.rebuild$1(new A._filterCompanyGatewaysByCustom1_closure0(action)); }, _filterCompanyGatewaysByCustom2(companyGatewayListState, action) { if (B.JSArray_methods.contains$1(companyGatewayListState.custom2Filters._list$_list, action.value)) return companyGatewayListState.rebuild$1(new A._filterCompanyGatewaysByCustom2_closure(action)); else return companyGatewayListState.rebuild$1(new A._filterCompanyGatewaysByCustom2_closure0(action)); }, _filterCompanyGatewaysByState(companyGatewayListState, action) { if (B.JSArray_methods.contains$1(companyGatewayListState.stateFilters._list$_list, action.state)) return companyGatewayListState.rebuild$1(new A._filterCompanyGatewaysByState_closure(action)); else return companyGatewayListState.rebuild$1(new A._filterCompanyGatewaysByState_closure0(action)); }, _filterCompanyGateways(companyGatewayListState, action) { return companyGatewayListState.rebuild$1(new A._filterCompanyGateways_closure(action, companyGatewayListState)); }, _sortCompanyGateways(companyGatewayListState, action) { return companyGatewayListState.rebuild$1(new A._sortCompanyGateways_closure(action)); }, _startListMultiselect1(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure7()); }, _addToListMultiselect1(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure7(action)); }, _removeFromListMultiselect1(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure7(action)); }, _clearListMultiselect1(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure7()); }, _archiveCompanyGatewaySuccess(companyGatewayState, action) { return companyGatewayState.rebuild$1(new A._archiveCompanyGatewaySuccess_closure(action)); }, _deleteCompanyGatewaySuccess(companyGatewayState, action) { return companyGatewayState.rebuild$1(new A._deleteCompanyGatewaySuccess_closure(action)); }, _restoreCompanyGatewaySuccess(companyGatewayState, action) { return companyGatewayState.rebuild$1(new A._restoreCompanyGatewaySuccess_closure(action)); }, _addCompanyGateway(companyGatewayState, action) { return companyGatewayState.rebuild$1(new A._addCompanyGateway_closure(action)); }, _updateCompanyGateway(companyGatewayState, action) { return companyGatewayState.rebuild$1(new A._updateCompanyGateway_closure(action)); }, _setLoadedCompanyGateway(companyGatewayState, action) { return companyGatewayState.rebuild$1(new A._setLoadedCompanyGateway_closure(action)); }, _setLoadedCompany1(companyGatewayState, action) { var state = companyGatewayState.rebuild$1(new A._setLoadedCompany_closure1(action)); return state.rebuild$1(new A._setLoadedCompany_closure2(state)); }, _setLoadedCompanyGateways(companyGatewayState, action) { var state = companyGatewayState.rebuild$1(new A._setLoadedCompanyGateways_closure(action)); return state.rebuild$1(new A._setLoadedCompanyGateways_closure0(state)); }, companyGatewayUIReducer_closure: function companyGatewayUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure64: function forceSelectedReducer_closure64() { }, forceSelectedReducer_closure65: function forceSelectedReducer_closure65() { }, forceSelectedReducer_closure66: function forceSelectedReducer_closure66() { }, forceSelectedReducer_closure67: function forceSelectedReducer_closure67() { }, forceSelectedReducer_closure68: function forceSelectedReducer_closure68() { }, forceSelectedReducer_closure69: function forceSelectedReducer_closure69() { }, forceSelectedReducer_closure70: function forceSelectedReducer_closure70() { }, forceSelectedReducer_closure71: function forceSelectedReducer_closure71() { }, 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() { }, selectedIdReducer_closure134: function selectedIdReducer_closure134() { }, selectedIdReducer_closure135: function selectedIdReducer_closure135() { }, editingReducer_closure37: function editingReducer_closure37() { }, editingReducer_closure38: function editingReducer_closure38() { }, editingReducer_closure39: function editingReducer_closure39() { }, editingReducer_closure40: function editingReducer_closure40() { }, editingReducer__closure13: function editingReducer__closure13() { }, companyGatewayListReducer_closure: function companyGatewayListReducer_closure() { }, companyGatewayListReducer__closure: function companyGatewayListReducer__closure() { }, _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; }, filteredCompanyGatewaysSelector(companyGatewayMap, companyGatewayList, companyGatewayListState, companyGatewayIds, includeAll) { var gatewaysIds, t1 = companyGatewayList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredCompanyGatewaysSelector_closure(companyGatewayMap, companyGatewayListState), t2), true, t2._eval$1("Iterable.E")); t1 = type$.WhereIterable_String; gatewaysIds = A.List_List$of(new A.WhereIterable(A._setArrayType((companyGatewayIds == null ? "" : companyGatewayIds).split(","), type$.JSArray_String), new A.filteredCompanyGatewaysSelector_closure0(companyGatewayMap, companyGatewayListState), t1), true, t1._eval$1("Iterable.E")); if (includeAll) B.JSArray_methods.forEach$1(list, new A.filteredCompanyGatewaysSelector_closure1(gatewaysIds)); t1 = A.LinkedHashSet_LinkedHashSet$from(gatewaysIds, A._arrayInstanceType(gatewaysIds)._precomputed1); return A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); }, calculateCompanyGatewayProcessed(companyGatewayId, paymentMap) { var t1 = {}; t1.total = 0; paymentMap._map$_map.forEach$1(0, new A.calculateCompanyGatewayProcessed_closure(t1, companyGatewayId)); return t1.total; }, clientStatsForCompanyGateway(companyGatewayId, clientMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; clientMap._map$_map.forEach$1(0, new A.clientStatsForCompanyGateway_closure(t1, companyGatewayId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, paymentStatsForCompanyGateway(companyGatewayId, paymentMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; paymentMap._map$_map.forEach$1(0, new A.paymentStatsForCompanyGateway_closure(t1, companyGatewayId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, getUnconnectedStripeAccount(state) { var t1 = {}; t1.unconnectedGateway = null; state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].companyGatewayState.map._map$_map.forEach$1(0, new A.getUnconnectedStripeAccount_closure(t1)); return t1.unconnectedGateway; }, 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; }, getUnconnectedStripeAccount_closure: function getUnconnectedStripeAccount_closure(t0) { this._box_0 = t0; }, _$CompanyGatewayState$_(list, map) { var _s19_ = "CompanyGatewayState"; A.BuiltValueNullFieldError_checkNotNull(map, _s19_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s19_, "list"); return new A._$CompanyGatewayState(map, list); }, _$CompanyGatewayUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s21_ = "CompanyGatewayUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s21_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s21_, "tabIndex"); return new A._$CompanyGatewayUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, CompanyGatewayState: function CompanyGatewayState() { }, CompanyGatewayUIState: function CompanyGatewayUIState() { }, _$CompanyGatewayStateSerializer: function _$CompanyGatewayStateSerializer() { }, _$CompanyGatewayUIStateSerializer: function _$CompanyGatewayUIStateSerializer() { }, _$CompanyGatewayState: function _$CompanyGatewayState(t0, t1) { this.map = t0; this.list = t1; this._company_gateway_state$__hashCode = null; }, CompanyGatewayStateBuilder: function CompanyGatewayStateBuilder() { this._company_gateway_state$_list = this._company_gateway_state$_map = this._company_gateway_state$_$v = null; }, _$CompanyGatewayUIState: function _$CompanyGatewayUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._company_gateway_state$__hashCode = null; }, CompanyGatewayUIStateBuilder: function CompanyGatewayUIStateBuilder() { var _ = this; _._company_gateway_state$_cancelCompleter = _._company_gateway_state$_saveCompleter = _._company_gateway_state$_tabIndex = _._company_gateway_state$_forceSelected = _._company_gateway_state$_selectedId = _._company_gateway_state$_listUIState = _._company_gateway_state$_editing = _._company_gateway_state$_$v = null; }, _CompanyGatewayUIState_Object_EntityUIState: function _CompanyGatewayUIState_Object_EntityUIState() { }, handleCreditAction(context, credits, action) { return A.handleCreditAction$body(context, credits, action); }, handleCreditAction$body(context, credits, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, t2, t3, credit, t4, creditIds, t5, t6, client, designId, message, _i, response, data, documentIds, _box_0, store, t1; var $async$handleCreditAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.InvoiceEntity; credit = t3._as(B.JSArray_methods.get$first(credits)); t4 = A._arrayInstanceType(credits)._eval$1("MappedListIterable<1,String>"); creditIds = A.List_List$of(new A.MappedListIterable(credits, new A.handleCreditAction_closure(), t4), true, t4._eval$1("ListIterable.E")); t4 = t1.userCompanyStates; t5 = t1.uiState.selectedCompanyIndex; t4 = t4._list$_list; t6 = credit.clientId; client = t4[t5].clientState.$get$1(0, t6); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_viewPdf: // goto case $async$goto = 6; break; case B.EntityAction_clientPortal: // goto case $async$goto = 7; break; case B.EntityAction_markSent: // goto case $async$goto = 8; break; case B.EntityAction_sendEmail: // goto case $async$goto = 9; break; case B.EntityAction_bulkSendEmail: // goto case $async$goto = 10; break; case B.EntityAction_schedule: // goto case $async$goto = 11; break; case B.EntityAction_cloneToPurchaseOrder: // goto case $async$goto = 12; break; case B.EntityAction_cloneToOther: // goto case $async$goto = 13; break; case B.EntityAction_cloneToInvoice: // goto case $async$goto = 14; break; case B.EntityAction_cloneToQuote: // goto case $async$goto = 15; break; case B.EntityAction_clone: // goto case $async$goto = 16; break; case B.EntityAction_cloneToCredit: // goto case $async$goto = 17; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 18; break; case B.EntityAction_markPaid: // goto case $async$goto = 19; break; case B.EntityAction_applyCredit: // goto case $async$goto = 20; break; case B.EntityAction_eCredit: // goto case $async$goto = 21; break; case B.EntityAction_download: // goto case $async$goto = 22; break; case B.EntityAction_bulkDownload: // goto case $async$goto = 23; break; case B.EntityAction_restore: // goto case $async$goto = 24; break; case B.EntityAction_archive: // goto case $async$goto = 25; break; case B.EntityAction_delete: // goto case $async$goto = 26; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 27; break; case B.EntityAction_printPdf: // goto case $async$goto = 28; break; case B.EntityAction_bulkPrint: // goto case $async$goto = 29; break; case B.EntityAction_more: // goto case $async$goto = 30; break; case B.EntityAction_documents: // goto case $async$goto = 31; break; case B.EntityAction_runTemplate: // goto case $async$goto = 32; break; case B.EntityAction_addComment: // goto case $async$goto = 33; break; default: // goto default $async$goto = 34; break; } break; case 5: // case A.editEntity(null, credit, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.ShowPdfCredit(credit, context, null)); // goto after switch $async$goto = 4; break; case 7: // case t1 = credit.invitations._list$_list; A.launchUrl(A.Uri_parse(t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "?silent=true", 0, null)); // goto after switch $async$goto = 4; break; case 8: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "marked_credit_as_sent"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.MarkSentCreditRequest(t1, creditIds)); // goto after switch $async$goto = 4; break; case 9: // case case 10: // case case 11: // case _box_0.emailValid = true; B.JSArray_methods.forEach$1(credits, new A.handleCreditAction_closure0(_box_0, t1)); if (!_box_0.emailValid) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t2.localeCode; t3 = t1.$index(0, t2); t3.toString; t3 = J.$index$asx(t3, "client_email_not_set"); t3.toString; t2 = t1.$index(0, t2); t2.toString; A.showMessageDialog(t3, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "edit_client").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handleCreditAction_closure1(context, client), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } if (action === B.EntityAction_sendEmail) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_credit"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ShowEmailCredit(credit, context, t1)); } else if (action === B.EntityAction_schedule) { if (!(!t1.get$isHosted() || t4[t5].userCompany.account.plan === "enterprise" || t4[t5].userCompany.account.plan === "pro")) { t1 = t2.get$upgradeToPaidPlanToSchedule(); t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; A.showMessageDialog(t1, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "upgrade").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handleCreditAction_closure2(store, context), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } A.createEntity(null, null, A.ScheduleEntity_ScheduleEntity("email_record", null, null).rebuild$1(new A.handleCreditAction_closure3(credit)), null, false); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t3 = t1.$index(0, t2.localeCode); t3.toString; t3 = J.$index$asx(t3, "bulk_email_credits"); if (t3 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "bulk_email_credits"); t1.toString; } else t1 = t3; A.confirmCallback(false, new A.handleCreditAction_closure4(store, creditIds, t2), context, t1, false, null); } // goto after switch $async$goto = 4; break; case 12: // case designId = A.getDesignIdForVendorByEntity(B.EntityType_purchaseOrder, t1, credit.vendorId); A.createEntity(null, null, credit.get$clone(0).rebuild$1(new A.handleCreditAction_closure5(designId)), null, false); // goto after switch $async$goto = 4; break; case 13: // case A.cloneToDialog(credit); // goto after switch $async$goto = 4; break; case 14: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_invoice, t1); A.createEntity(null, null, credit.get$clone(0).rebuild$1(new A.handleCreditAction_closure6(designId)), null, false); // goto after switch $async$goto = 4; break; case 15: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_quote, t1); A.createEntity(null, null, credit.get$clone(0).rebuild$1(new A.handleCreditAction_closure7(designId)), null, false); // goto after switch $async$goto = 4; break; case 16: // case case 17: // case A.createEntity(null, null, credit.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 18: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_invoice, t1); A.createEntity(null, null, credit.get$clone(0).rebuild$1(new A.handleCreditAction_closure8(designId)), null, false); // goto after switch $async$goto = 4; break; case 19: // case if (credits.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "marked_credit_as_paid"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "marked_credit_as_paid"); t1.toString; } else t1 = t2; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "marked_credits_as_paid"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "marked_credits_as_paid"); t1.toString; } else t1 = t2; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.MarkCreditsPaidRequest(t1, creditIds)); // goto after switch $async$goto = 4; break; case 20: // case A.createEntity(null, null, A.PaymentEntity_PaymentEntity(client, null, t1).rebuild$1(new A.handleCreditAction_closure9(credits)), client, false); // goto after switch $async$goto = 4; break; case 21: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = credit.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download_e_credit?t=" + Date.now(); $async$goto = 35; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t4[t5].userCompany.token.token, true).then$1$1(0, new A.handleCreditAction_closure10(store, credit, client), type$.Null).catchError$1(new A.handleCreditAction_closure11(store)), $async$handleCreditAction); case 35: // returning from await. // goto after switch $async$goto = 4; break; case 22: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = credit.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download?t=" + Date.now(); $async$goto = 36; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t4[t5].userCompany.token.token, true).then$1$1(0, new A.handleCreditAction_closure12(store, credit, client), type$.Null).catchError$1(new A.handleCreditAction_closure13(store)), $async$handleCreditAction); case 36: // returning from await. // goto after switch $async$goto = 4; break; case 23: // case t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadCreditsRequest(t1, creditIds)); // goto after switch $async$goto = 4; break; case 24: // case t1 = creditIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_credits"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_credit"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreCreditsRequest(t1, creditIds)); // goto after switch $async$goto = 4; break; case 25: // case t1 = creditIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_credits"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_credit"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveCreditsRequest(t1, creditIds)); // goto after switch $async$goto = 4; break; case 26: // case t1 = creditIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_credits"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_credit"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteCreditsRequest(t1, creditIds)); // goto after switch $async$goto = 4; break; case 27: // case if (store.__Store__state_A.uiState.creditUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartCreditMultiselect()); } for (t1 = credits.length, _i = 0; _i < credits.length; credits.length === t1 || (0, A.throwConcurrentModificationError)(credits), ++_i) { credit = credits[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(credit); t2 = t2.creditUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToCreditMultiselect(credit)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromCreditMultiselect(credit)); } } // goto after switch $async$goto = 4; break; case 28: // case t1 = B.JSArray_methods.get$first(credit.invitations._list$_list).link; t2 = Date.now(); t3 = store.__Store__dispatchers_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.StartSaving()); $async$goto = 37; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1 + "/download?t=" + t2, t4[t5].userCompany.token.token, true), $async$handleCreditAction); case 37: // returning from await. response = $async$result; t3[0].call$1(new A.StopSaving()); $async$goto = 38; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handleCreditAction_closure14(response), false), $async$handleCreditAction); case 38: // returning from await. // goto after switch $async$goto = 4; break; case 29: // case t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartSaving()); t3 = t1.get$credentials(0); data = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["ids", creditIds, "action", B.EntityAction_bulkPrint.toApiParam$0()], type$.String, type$.Object)); $async$goto = 39; return A._asyncAwait(new A.WebClient().post$4$data$rawResponse(t3.url + "/credits/bulk", t1.get$credentials(0).token, data, true), $async$handleCreditAction); case 39: // returning from await. response = $async$result; t2[0].call$1(new A.StopSaving()); $async$goto = 40; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handleCreditAction_closure15(response), false), $async$handleCreditAction); case 40: // returning from await. // goto after switch $async$goto = 4; break; case 30: // case A.showEntityActionsDialog(null, A._setArrayType([credit], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 31: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = credits.length, _i = 0; _i < credits.length; credits.length === t1 || (0, A.throwConcurrentModificationError)(credits), ++_i) for (t4 = t3._as(credits[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 32: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(null, null, false, null, new A.handleCreditAction_closure16(credits), t1, null, true, type$.void); // goto after switch $async$goto = 4; break; case 33: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 41; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleCreditAction_closure17(credit), t1, null, true, type$.bool), $async$handleCreditAction); case 41: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadCredit(null, credit.id)); } // goto after switch $async$goto = 4; break; case 34: // default A.print("## ERROR: unhandled action " + A.S(action) + " in credit_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleCreditAction, $async$completer); }, ViewCreditList: function ViewCreditList(t0) { this.page = t0; }, ViewCredit: function ViewCredit(t0) { this.creditId = t0; }, EditCredit: function EditCredit(t0) { this.credit = t0; }, ShowEmailCredit: function ShowEmailCredit(t0, t1, t2) { this.credit = t0; this.context = t1; this.completer = t2; }, ShowPdfCredit: function ShowPdfCredit(t0, t1, t2) { this.credit = t0; this.context = t1; this.activityId = t2; }, EditCreditItem: function EditCreditItem(t0) { this.creditItemIndex = t0; }, UpdateCredit: function UpdateCredit(t0) { this.credit = t0; }, UpdateCreditClient: function UpdateCreditClient(t0) { this.client = t0; }, LoadCredit: function LoadCredit(t0, t1) { this.completer = t0; this.creditId = t1; }, LoadCredits: function LoadCredits(t0, t1) { this.completer = t0; this.page = t1; }, LoadCreditRequest: function LoadCreditRequest() { }, LoadCreditFailure: function LoadCreditFailure(t0) { this.error = t0; }, LoadCreditSuccess: function LoadCreditSuccess(t0) { this.credit = t0; }, LoadCreditsRequest: function LoadCreditsRequest() { }, LoadCreditsFailure: function LoadCreditsFailure(t0) { this.error = t0; }, LoadCreditsSuccess: function LoadCreditsSuccess(t0) { this.credits = t0; }, AddCreditContact: function AddCreditContact(t0, t1) { this.contact = t0; this.invitation = t1; }, RemoveCreditContact: function RemoveCreditContact(t0) { this.invitation = t0; }, AddCreditItem: function AddCreditItem(t0, t1) { this.index = t0; this.creditItem = t1; }, MoveCreditItem: function MoveCreditItem(t0, t1) { this.oldIndex = t0; this.newIndex = t1; }, AddCreditItems: function AddCreditItems(t0) { this.creditItems = t0; }, UpdateCreditItem: function UpdateCreditItem(t0, t1) { this.index = t0; this.creditItem = t1; }, DeleteCreditItem: function DeleteCreditItem(t0) { this.index = t0; }, SaveCreditRequest: function SaveCreditRequest(t0, t1, t2) { this.completer = t0; this.credit = t1; this.action = t2; }, SaveCreditSuccess: function SaveCreditSuccess(t0) { this.credit = t0; }, AddCreditSuccess: function AddCreditSuccess(t0) { this.credit = t0; }, SaveCreditFailure: function SaveCreditFailure() { }, EmailCreditRequest: function EmailCreditRequest(t0, t1, t2, t3, t4, t5) { var _ = this; _.completer = t0; _.creditId = t1; _.template = t2; _.subject = t3; _.body = t4; _.ccEmail = t5; }, EmailCreditSuccess: function EmailCreditSuccess() { }, EmailCreditFailure: function EmailCreditFailure() { }, MarkSentCreditRequest: function MarkSentCreditRequest(t0, t1) { this.completer = t0; this.creditIds = t1; }, MarkSentCreditSuccess: function MarkSentCreditSuccess(t0) { this.credits = t0; }, MarkSentCreditFailure: function MarkSentCreditFailure() { }, BulkEmailCreditsRequest: function BulkEmailCreditsRequest(t0, t1) { this.completer = t0; this.creditIds = t1; }, BulkEmailCreditsSuccess: function BulkEmailCreditsSuccess() { }, BulkEmailCreditsFailure: function BulkEmailCreditsFailure() { }, MarkCreditsPaidRequest: function MarkCreditsPaidRequest(t0, t1) { this.completer = t0; this.invoiceIds = t1; }, MarkCreditsPaidSuccess: function MarkCreditsPaidSuccess() { }, MarkCreditsPaidFailure: function MarkCreditsPaidFailure() { }, ArchiveCreditsRequest: function ArchiveCreditsRequest(t0, t1) { this.completer = t0; this.creditIds = t1; }, ArchiveCreditsSuccess: function ArchiveCreditsSuccess(t0) { this.credits = t0; }, ArchiveCreditsFailure: function ArchiveCreditsFailure() { }, DeleteCreditsRequest: function DeleteCreditsRequest(t0, t1) { this.completer = t0; this.creditIds = t1; }, DeleteCreditsSuccess: function DeleteCreditsSuccess(t0) { this.credits = t0; }, DeleteCreditsFailure: function DeleteCreditsFailure() { }, DownloadCreditsRequest: function DownloadCreditsRequest(t0, t1) { this.completer = t0; this.creditIds = t1; }, DownloadCreditsSuccess: function DownloadCreditsSuccess() { }, DownloadCreditsFailure: function DownloadCreditsFailure() { }, RestoreCreditsRequest: function RestoreCreditsRequest(t0, t1) { this.completer = t0; this.creditIds = t1; }, RestoreCreditsSuccess: function RestoreCreditsSuccess(t0) { this.credits = t0; }, RestoreCreditsFailure: function RestoreCreditsFailure() { }, FilterCredits: function FilterCredits(t0) { this.filter = t0; }, SortCredits: function SortCredits(t0) { this.field = t0; }, FilterCreditsByState: function FilterCreditsByState(t0) { this.state = t0; }, FilterCreditsByStatus: function FilterCreditsByStatus(t0) { this.status = t0; }, FilterCreditsByCustom1: function FilterCreditsByCustom1(t0) { this.value = t0; }, FilterCreditsByCustom2: function FilterCreditsByCustom2(t0) { this.value = t0; }, FilterCreditsByCustom3: function FilterCreditsByCustom3(t0) { this.value = t0; }, FilterCreditsByCustom4: function FilterCreditsByCustom4(t0) { this.value = t0; }, SaveCreditDocumentRequest: function SaveCreditDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.credit = t3; }, SaveCreditDocumentFailure: function SaveCreditDocumentFailure() { }, handleCreditAction_closure: function handleCreditAction_closure() { }, handleCreditAction_closure0: function handleCreditAction_closure0(t0, t1) { this._box_0 = t0; this.state = t1; }, handleCreditAction_closure1: function handleCreditAction_closure1(t0, t1) { this.context = t0; this.client = t1; }, handleCreditAction_closure2: function handleCreditAction_closure2(t0, t1) { this.store = t0; this.context = t1; }, handleCreditAction_closure3: function handleCreditAction_closure3(t0) { this.credit = t0; }, handleCreditAction_closure4: function handleCreditAction_closure4(t0, t1, t2) { this.store = t0; this.creditIds = t1; this.localization = t2; }, handleCreditAction_closure5: function handleCreditAction_closure5(t0) { this.designId = t0; }, handleCreditAction_closure6: function handleCreditAction_closure6(t0) { this.designId = t0; }, handleCreditAction_closure7: function handleCreditAction_closure7(t0) { this.designId = t0; }, handleCreditAction_closure8: function handleCreditAction_closure8(t0) { this.designId = t0; }, handleCreditAction_closure9: function handleCreditAction_closure9(t0) { this.credits = t0; }, handleCreditAction__closure: function handleCreditAction__closure() { }, handleCreditAction_closure10: function handleCreditAction_closure10(t0, t1, t2) { this.store = t0; this.credit = t1; this.client = t2; }, handleCreditAction_closure11: function handleCreditAction_closure11(t0) { this.store = t0; }, handleCreditAction_closure12: function handleCreditAction_closure12(t0, t1, t2) { this.store = t0; this.credit = t1; this.client = t2; }, handleCreditAction_closure13: function handleCreditAction_closure13(t0) { this.store = t0; }, handleCreditAction_closure14: function handleCreditAction_closure14(t0) { this.response = t0; }, handleCreditAction_closure15: function handleCreditAction_closure15(t0) { this.response = t0; }, handleCreditAction_closure16: function handleCreditAction_closure16(t0) { this.credits = t0; }, handleCreditAction_closure17: function handleCreditAction_closure17(t0) { this.credit = t0; }, StartCreditMultiselect: function StartCreditMultiselect() { }, AddToCreditMultiselect: function AddToCreditMultiselect(t0) { this.entity = t0; }, RemoveFromCreditMultiselect: function RemoveFromCreditMultiselect(t0) { this.entity = t0; }, ClearCreditMultiselect: function ClearCreditMultiselect() { }, UpdateCreditTab: function UpdateCreditTab(t0) { this.tabIndex = t0; }, _viewCredit() { return new A._viewCredit_closure(); }, _viewCreditList() { return new A._viewCreditList_closure0(); }, _editCredit() { return new A._editCredit_closure(); }, _showEmailCredit() { return new A._showEmailCredit_closure(); }, _showPdfCredit() { return new A._showPdfCredit_closure(); }, _archiveCredit(repository) { return new A._archiveCredit_closure(repository); }, _deleteCredit(repository) { return new A._deleteCredit_closure(repository); }, _restoreCredit(repository) { return new A._restoreCredit_closure(repository); }, _markSentCredit(repository) { return new A._markSentCredit_closure(repository); }, _markPaidCredit(repository) { return new A._markPaidCredit_closure(repository); }, _emailCredit(repository) { return new A._emailCredit_closure(repository); }, _saveCredit(repository) { return new A._saveCredit_closure(repository); }, _loadCredit(repository) { return new A._loadCredit_closure(repository); }, _loadCredits(repository) { return new A._loadCredits_closure(repository); }, _downloadCredits(repository) { return new A._downloadCredits_closure(repository); }, _bulkEmailCredits(repository) { return new A._bulkEmailCredits_closure(repository); }, _saveDocument13(repository) { return new A._saveDocument_closure0(repository); }, _viewCredit_closure: function _viewCredit_closure() { }, _viewCreditList_closure0: function _viewCreditList_closure0() { }, _viewCreditList__closure: function _viewCreditList__closure() { }, _editCredit_closure: function _editCredit_closure() { }, _showEmailCredit_closure: function _showEmailCredit_closure() { }, _showPdfCredit_closure: function _showPdfCredit_closure() { }, _archiveCredit_closure: function _archiveCredit_closure(t0) { this.repository = t0; }, _archiveCredit__closure: function _archiveCredit__closure(t0) { this.store = t0; }, _archiveCredit__closure0: function _archiveCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveCredit__closure1: function _archiveCredit__closure1(t0, t1, t2) { this.store = t0; this.prevCredits = t1; this.action = t2; }, _deleteCredit_closure: function _deleteCredit_closure(t0) { this.repository = t0; }, _deleteCredit__closure: function _deleteCredit__closure(t0) { this.store = t0; }, _deleteCredit__closure0: function _deleteCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteCredit__closure1: function _deleteCredit__closure1(t0, t1, t2) { this.store = t0; this.prevCredits = t1; this.action = t2; }, _restoreCredit_closure: function _restoreCredit_closure(t0) { this.repository = t0; }, _restoreCredit__closure: function _restoreCredit__closure(t0) { this.store = t0; }, _restoreCredit__closure0: function _restoreCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreCredit__closure1: function _restoreCredit__closure1(t0, t1, t2) { this.store = t0; this.prevCredits = t1; this.action = t2; }, _markSentCredit_closure: function _markSentCredit_closure(t0) { this.repository = t0; }, _markSentCredit__closure: function _markSentCredit__closure(t0, t1) { this.store = t0; this.action = t1; }, _markSentCredit__closure0: function _markSentCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _markPaidCredit_closure: function _markPaidCredit_closure(t0) { this.repository = t0; }, _markPaidCredit__closure: function _markPaidCredit__closure(t0, t1) { this.store = t0; this.action = t1; }, _markPaidCredit__closure0: function _markPaidCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _emailCredit_closure: function _emailCredit_closure(t0) { this.repository = t0; }, _emailCredit__closure: function _emailCredit__closure(t0, t1) { this.store = t0; this.action = t1; }, _emailCredit__closure0: function _emailCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveCredit_closure: function _saveCredit_closure(t0) { this.repository = t0; }, _saveCredit__closure: function _saveCredit__closure(t0) { this.action = t0; }, _saveCredit___closure: function _saveCredit___closure() { }, _saveCredit__closure0: function _saveCredit__closure0(t0, t1) { this.action = t0; this.store = t1; }, _saveCredit__closure1: function _saveCredit__closure1(t0, t1) { this.store = t0; this.action = t1; }, _loadCredit_closure: function _loadCredit_closure(t0) { this.repository = t0; }, _loadCredit__closure: function _loadCredit__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadCredit__closure0: function _loadCredit__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadCredits_closure: function _loadCredits_closure(t0) { this.repository = t0; }, _loadCredits__closure: function _loadCredits__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadCredits___closure: function _loadCredits___closure(t0) { this.documents = t0; }, _loadCredits____closure: function _loadCredits____closure(t0, t1) { this.documents = t0; this.credit = t1; }, _loadCredits_____closure: function _loadCredits_____closure(t0) { this.credit = t0; }, _loadCredits__closure0: function _loadCredits__closure0(t0, t1) { this.store = t0; this.action = t1; }, _downloadCredits_closure: function _downloadCredits_closure(t0) { this.repository = t0; }, _downloadCredits__closure: function _downloadCredits__closure(t0, t1) { this.store = t0; this.action = t1; }, _downloadCredits__closure0: function _downloadCredits__closure0(t0, t1) { this.store = t0; this.action = t1; }, _bulkEmailCredits_closure: function _bulkEmailCredits_closure(t0) { this.repository = t0; }, _bulkEmailCredits__closure: function _bulkEmailCredits__closure(t0, t1) { this.store = t0; this.action = t1; }, _bulkEmailCredits__closure0: function _bulkEmailCredits__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure0: function _saveDocument_closure0(t0) { this.repository = t0; }, _saveDocument__closure1: function _saveDocument__closure1(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure0: function _saveDocument___closure0(t0, t1) { this.documents = t0; this.credit = t1; }, _saveDocument____closure0: function _saveDocument____closure0(t0) { this.credit = t0; }, _saveDocument__closure2: function _saveDocument__closure2(t0, t1) { this.store = t0; this.action = t1; }, creditUIReducer(state, action) { var t1 = new A.CreditUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._credit_state$_$v = state; new A.creditUIReducer_closure(state, action).call$1(t1); return t1._credit_state$_build$0(); }, _clearEditing1(credit, action) { var _null = null; return A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); }, _updateEditing1(credit, action) { return action.get$credit(); }, _addCreditItem(credit, action) { var item = action.creditItem; if (action.index == null) return credit.rebuild$1(new A._addCreditItem_closure(item)); else return credit.rebuild$1(new A._addCreditItem_closure0(action, item)); }, _addCreditItems(credit, action) { return credit.rebuild$1(new A._addCreditItems_closure(action)); }, _removeCreditItem(credit, action) { if (credit.lineItems._list$_list.length <= action.index) return credit; return credit.rebuild$1(new A._removeCreditItem_closure(action)); }, _updateCreditItem(credit, action) { if (credit.lineItems._list$_list.length <= action.index) return credit; return credit.rebuild$1(new A._updateCreditItem_closure(action)); }, _viewCreditList0(creditListState, action) { return creditListState.rebuild$1(new A._viewCreditList_closure()); }, _filterCreditsByCustom1(creditListState, action) { if (B.JSArray_methods.contains$1(creditListState.custom1Filters._list$_list, action.value)) return creditListState.rebuild$1(new A._filterCreditsByCustom1_closure(action)); else return creditListState.rebuild$1(new A._filterCreditsByCustom1_closure0(action)); }, _filterCreditsByCustom2(creditListState, action) { if (B.JSArray_methods.contains$1(creditListState.custom2Filters._list$_list, action.value)) return creditListState.rebuild$1(new A._filterCreditsByCustom2_closure(action)); else return creditListState.rebuild$1(new A._filterCreditsByCustom2_closure0(action)); }, _filterCreditsByCustom3(creditListState, action) { if (B.JSArray_methods.contains$1(creditListState.custom3Filters._list$_list, action.value)) return creditListState.rebuild$1(new A._filterCreditsByCustom3_closure(action)); else return creditListState.rebuild$1(new A._filterCreditsByCustom3_closure0(action)); }, _filterCreditsByCustom4(creditListState, action) { if (B.JSArray_methods.contains$1(creditListState.custom4Filters._list$_list, action.value)) return creditListState.rebuild$1(new A._filterCreditsByCustom4_closure(action)); else return creditListState.rebuild$1(new A._filterCreditsByCustom4_closure0(action)); }, _filterCreditsByState(creditListState, action) { if (B.JSArray_methods.contains$1(creditListState.stateFilters._list$_list, action.state)) return creditListState.rebuild$1(new A._filterCreditsByState_closure(action)); else return creditListState.rebuild$1(new A._filterCreditsByState_closure0(action)); }, _filterCreditsByStatus(creditListState, action) { if (B.JSArray_methods.contains$1(creditListState.statusFilters._list$_list, action.status)) return creditListState.rebuild$1(new A._filterCreditsByStatus_closure(action)); else return creditListState.rebuild$1(new A._filterCreditsByStatus_closure0(action)); }, _filterCredits(creditListState, action) { return creditListState.rebuild$1(new A._filterCredits_closure(action, creditListState)); }, _sortCredits(creditListState, action) { return creditListState.rebuild$1(new A._sortCredits_closure(action)); }, _startListMultiselect2(creditListState, action) { return creditListState.rebuild$1(new A._startListMultiselect_closure10()); }, _addToListMultiselect2(creditListState, action) { return creditListState.rebuild$1(new A._addToListMultiselect_closure10(action)); }, _removeFromListMultiselect2(creditListState, action) { return creditListState.rebuild$1(new A._removeFromListMultiselect_closure10(action)); }, _clearListMultiselect2(creditListState, action) { return creditListState.rebuild$1(new A._clearListMultiselect_closure10()); }, _purgeClientSuccess0(creditState, action) { var t1 = creditState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return creditState.rebuild$1(new A._purgeClientSuccess_closure8(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure9(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure10(), t3), true, t3._eval$1("Iterable.E")))); }, _markSentCreditSuccess(creditState, action) { return creditState.rebuild$1(new A._markSentCreditSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.credits, new A._markSentCreditSuccess_closure0(), new A._markSentCreditSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _archiveCreditSuccess(creditState, action) { return creditState.rebuild$1(new A._archiveCreditSuccess_closure(action)); }, _deleteCreditSuccess(creditState, action) { return creditState.rebuild$1(new A._deleteCreditSuccess_closure(action)); }, _restoreCreditSuccess(creditState, action) { return creditState.rebuild$1(new A._restoreCreditSuccess_closure(action)); }, _addCredit(creditState, action) { return creditState.rebuild$1(new A._addCredit_closure(action)); }, _updateCredit(invoiceState, action) { return invoiceState.rebuild$1(new A._updateCredit_closure(action.get$credit())); }, _setLoadedCredits(creditState, action) { return creditState.loadCredits$1(action.credits); }, _setLoadedCompany2(creditState, action) { return creditState.loadCredits$1(action.userCompany.company.credits); }, creditUIReducer_closure: function creditUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure84: function forceSelectedReducer_closure84() { }, forceSelectedReducer_closure85: function forceSelectedReducer_closure85() { }, forceSelectedReducer_closure86: function forceSelectedReducer_closure86() { }, forceSelectedReducer_closure87: function forceSelectedReducer_closure87() { }, forceSelectedReducer_closure88: function forceSelectedReducer_closure88() { }, forceSelectedReducer_closure89: function forceSelectedReducer_closure89() { }, forceSelectedReducer_closure90: function forceSelectedReducer_closure90() { }, forceSelectedReducer_closure91: function forceSelectedReducer_closure91() { }, forceSelectedReducer_closure92: function forceSelectedReducer_closure92() { }, 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_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() { }, selectedIdReducer_closure179: function selectedIdReducer_closure179() { }, selectedIdReducer_closure180: function selectedIdReducer_closure180() { }, editingReducer_closure49: function editingReducer_closure49() { }, editingReducer__closure22: function editingReducer__closure22() { }, editingReducer_closure50: function editingReducer_closure50() { }, editingReducer__closure21: function editingReducer__closure21() { }, editingReducer_closure51: function editingReducer_closure51() { }, editingReducer_closure52: function editingReducer_closure52() { }, editingReducer__closure20: function editingReducer__closure20() { }, editingReducer_closure53: function editingReducer_closure53() { }, editingReducer__closure19: function editingReducer__closure19() { }, editingReducer_closure54: function editingReducer_closure54() { }, editingReducer__closure18: function editingReducer__closure18(t0) { this.client = t0; }, editingReducer___closure0: function editingReducer___closure0() { }, editingReducer_closure55: function editingReducer_closure55() { }, editingReducer_closure56: function editingReducer_closure56() { }, editingReducer_closure57: function editingReducer_closure57() { }, editingReducer_closure58: function editingReducer_closure58() { }, editingReducer__closure17: function editingReducer__closure17(t0) { this.action = t0; }, editingReducer_closure59: function editingReducer_closure59() { }, editingReducer__closure16: function editingReducer__closure16(t0) { this.action = t0; }, _addCreditItem_closure: function _addCreditItem_closure(t0) { this.item = t0; }, _addCreditItem_closure0: function _addCreditItem_closure0(t0, t1) { this.action = t0; this.item = t1; }, _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; }, creditListReducer_closure: function creditListReducer_closure() { }, creditListReducer__closure: function creditListReducer__closure() { }, _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() { }, _purgeClientSuccess_closure9: function _purgeClientSuccess_closure9(t0) { this.action = t0; }, _purgeClientSuccess_closure10: function _purgeClientSuccess_closure10() { }, _purgeClientSuccess_closure8: function _purgeClientSuccess_closure8(t0) { this.ids = t0; }, _purgeClientSuccess__closure5: function _purgeClientSuccess__closure5(t0) { this.ids = t0; }, _purgeClientSuccess__closure6: function _purgeClientSuccess__closure6(t0) { this.ids = t0; }, _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() { }, creditContactSelector(credit, client) { var t1 = {}, t2 = credit.invitations._list$_list, t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>"), contactIds = A.List_List$of(new A.MappedListIterable(t2, new A.creditContactSelector_closure(), t3), true, t3._eval$1("ListIterable.E")); t1.contactIds = contactIds; if (B.JSArray_methods.contains$1(contactIds, client.get$primaryContact().id)) t1.contactIds = A._setArrayType([client.get$primaryContact().id], type$.JSArray_String); return B.JSArray_methods.firstWhere$2$orElse(client.contacts._list$_list, new A.creditContactSelector_closure0(t1), null); }, dropdownCreditSelector(creditMap, clientMap, vendorMap, creditList, clientId, userMap, excludedIds) { var t1 = creditList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownCreditSelector_closure(creditMap, excludedIds, clientId, clientMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownCreditSelector_closure0(creditMap, clientMap, vendorMap, userMap)); return list; }, filteredCreditsSelector(selectionState, creditMap, creditList, clientMap, vendorMap, paymentMap, creditListState, userMap) { var t1, t2, list, filterEntityType = selectionState.filterEntityType, creditPaymentMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, type$.List_String); if (filterEntityType === B.EntityType_payment) paymentMap._map$_map.forEach$1(0, new A.filteredCreditsSelector_closure(creditPaymentMap)); t1 = creditList._list$_list; t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"); list = A.List_List$of(new A.WhereIterable(t1, new A.filteredCreditsSelector_closure0(creditMap, clientMap, selectionState, filterEntityType, selectionState.filterEntityId, creditPaymentMap, creditListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredCreditsSelector_closure1(creditMap, creditListState, clientMap, vendorMap, userMap)); return list; }, creditStatsForDesign(designId, creditMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; creditMap._map$_map.forEach$1(0, new A.creditStatsForDesign_closure(t1, designId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, creditStatsForClient(clientId, creditMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; creditMap._map$_map.forEach$1(0, new A.creditStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, creditStatsForUser(userId, creditMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; creditMap._map$_map.forEach$1(0, new A.creditStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, creditContactSelector_closure: function creditContactSelector_closure() { }, creditContactSelector_closure0: function creditContactSelector_closure0(t0) { this._box_0 = t0; }, memoizedDropdownCreditList_closure: function memoizedDropdownCreditList_closure() { }, dropdownCreditSelector_closure: function dropdownCreditSelector_closure(t0, t1, t2, t3) { var _ = this; _.creditMap = t0; _.excludedIds = t1; _.clientId = t2; _.clientMap = t3; }, dropdownCreditSelector_closure0: function dropdownCreditSelector_closure0(t0, t1, t2, t3) { var _ = this; _.creditMap = t0; _.clientMap = t1; _.vendorMap = t2; _.userMap = t3; }, memoizedFilteredCreditList_closure: function memoizedFilteredCreditList_closure() { }, filteredCreditsSelector_closure: function filteredCreditsSelector_closure(t0) { this.creditPaymentMap = t0; }, filteredCreditsSelector__closure0: function filteredCreditsSelector__closure0(t0, t1) { this.creditPaymentMap = t0; this.payment = t1; }, filteredCreditsSelector_closure0: function filteredCreditsSelector_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.creditMap = t0; _.clientMap = t1; _.selectionState = t2; _.filterEntityType = t3; _.filterEntityId = t4; _.creditPaymentMap = t5; _.creditListState = t6; }, filteredCreditsSelector__closure: function filteredCreditsSelector__closure(t0, t1) { this._box_0 = t0; this.filterEntityId = t1; }, filteredCreditsSelector_closure1: function filteredCreditsSelector_closure1(t0, t1, t2, t3, t4) { var _ = this; _.creditMap = t0; _.creditListState = t1; _.clientMap = t2; _.vendorMap = t3; _.userMap = t4; }, memoizedCreditStatsForDesign_closure: function memoizedCreditStatsForDesign_closure() { }, creditStatsForDesign_closure: function creditStatsForDesign_closure(t0, t1) { this._box_0 = t0; this.designId = t1; }, memoizedCreditStatsForClient_closure: function memoizedCreditStatsForClient_closure() { }, creditStatsForClient_closure: function creditStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, memoizedCreditStatsForUser_closure: function memoizedCreditStatsForUser_closure() { }, creditStatsForUser_closure: function creditStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, _$CreditState$_(list, map) { var _s11_ = "CreditState"; A.BuiltValueNullFieldError_checkNotNull(map, _s11_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s11_, "list"); return new A._$CreditState(map, list); }, _$CreditUIState$_(cancelCompleter, editing, editingItemIndex, forceSelected, historyActivityId, listUIState, saveCompleter, selectedId, tabIndex) { var _s13_ = "CreditUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s13_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s13_, "tabIndex"); return new A._$CreditUIState(editing, editingItemIndex, historyActivityId, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, CreditState: function CreditState() { }, CreditState_loadCredits_closure0: function CreditState_loadCredits_closure0() { }, CreditState_loadCredits_closure1: function CreditState_loadCredits_closure1() { }, CreditState_loadCredits_closure: function CreditState_loadCredits_closure(t0, t1) { this.$this = t0; this.map = t1; }, CreditUIState: function CreditUIState() { }, _$CreditStateSerializer: function _$CreditStateSerializer() { }, _$CreditUIStateSerializer: function _$CreditUIStateSerializer() { }, _$CreditState: function _$CreditState(t0, t1) { this.map = t0; this.list = t1; this._credit_state$__hashCode = null; }, CreditStateBuilder: function CreditStateBuilder() { this._credit_state$_list = this._credit_state$_map = this._credit_state$_$v = null; }, _$CreditUIState: function _$CreditUIState(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; _._credit_state$__hashCode = null; }, CreditUIStateBuilder: function CreditUIStateBuilder() { var _ = this; _._credit_state$_cancelCompleter = _._credit_state$_saveCompleter = _._credit_state$_tabIndex = _._credit_state$_forceSelected = _._credit_state$_selectedId = _._credit_state$_listUIState = _._credit_state$_historyActivityId = _._credit_state$_editingItemIndex = _._credit_state$_editing = _._credit_state$_$v = null; }, _CreditUIState_Object_EntityUIState: function _CreditUIState_Object_EntityUIState() { }, ViewDashboard: function ViewDashboard(t0, t1) { this.force = t0; this.filter = t1; }, UpdateDashboardSettings: function UpdateDashboardSettings(t0, t1, t2, t3, t4) { var _ = this; _.settings = t0; _.offset = t1; _.currencyId = t2; _.includeTaxes = t3; _.groupBy = t4; }, UpdateDashboardFields: function UpdateDashboardFields(t0) { this.dashboardFields = t0; }, UpdateDashboardFieldSettingss: function UpdateDashboardFieldSettingss(t0, t1) { this.numberFieldsPerRowMobile = t0; this.numberFieldsPerRowDesktop = t1; }, UpdateDashboardSelection: function UpdateDashboardSelection(t0, t1) { this.entityType = t0; this.entityIds = t1; }, UpdateDashboardSidebar: function UpdateDashboardSidebar(t0) { this.showSidebar = t0; }, _createViewDashboard() { return new A._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() { }, dashboardUIReducer(state, action) { var t1 = new A.DashboardUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._dashboard_state$_$v = state; new A.dashboardUIReducer_closure(state, action).call$1(t1); return t1._dashboard_state$_build$0(); }, dashboardSettingsReducer(state, action) { var settings; if (action instanceof A.UpdateDashboardSettings) { settings = action.settings; if (settings != null) return state.rebuild$1(new A.dashboardSettingsReducer_closure(settings)); else if (action.includeTaxes != null) return state.rebuild$1(new A.dashboardSettingsReducer_closure0(action)); else if (action.offset != null) return state.rebuild$1(new A.dashboardSettingsReducer_closure1(state, action)); else if (action.currencyId != null) return state.rebuild$1(new A.dashboardSettingsReducer_closure2(action)); else if (action.groupBy != null) return state.rebuild$1(new A.dashboardSettingsReducer_closure3(action)); } else if (action instanceof A.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, t1) { this.state = t0; this.action = t1; }, dashboardSettingsReducer_closure2: function dashboardSettingsReducer_closure2(t0) { this.action = t0; }, dashboardSettingsReducer_closure3: function dashboardSettingsReducer_closure3(t0) { this.action = t0; }, ChartDataGroup$($name) { return new A.ChartDataGroup($name, A._setArrayType([], type$.JSArray_ChartMoneyData), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_String)); }, _chartInvoices(clientMap, company, currencyMap, invoiceMap, settings) { var date, t3, t4, t5, t6, t7, t8, _s6_ = "active", _s11_ = "outstanding", activeData = A.ChartDataGroup$(_s6_), outstandingData = A.ChartDataGroup$(_s11_), t1 = type$.String, t2 = type$.double, totals = A.LinkedHashMap_LinkedHashMap$_literal(["active", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "outstanding", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.Map_String_double); invoiceMap._map$_map.forEach$1(0, new A._chartInvoices_closure(clientMap, settings, company, currencyMap, activeData, outstandingData, totals)); date = A.convertSqlDateToDateTime(settings.startDate$1(company)); for (t1 = A.convertSqlDateToDateTime(settings.endDate$1(company))._value, t2 = settings.groupBy, t3 = t2 === "year", t4 = t2 === "month", t2 = t2 === "day", t5 = activeData.rawSeries, t6 = outstandingData.rawSeries; t7 = date._value, t7 <= t1;) { t8 = B.JSArray_methods.get$first(date.toIso8601String$0().split("T")); if (totals.$index(0, _s6_).containsKey$1(0, t8)) { t5.push(new A.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t8))); t6.push(new A.ChartMoneyData(date, totals.$index(0, _s11_).$index(0, t8))); } else { t5.push(new A.ChartMoneyData(date, 0)); t6.push(new A.ChartMoneyData(date, 0)); } if (t2) { t7 += 86400000; t8 = date.isUtc; date = new A.DateTime(t7, t8); date.DateTime$_withValue$2$isUtc(t7, t8); } else if (t4) { t7 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t7)) A.throwExpression(A.argumentErrorValue(t7)); date = new A.DateTime(t7, false); } else if (t3) { t7 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date) + 1, 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t7)) A.throwExpression(A.argumentErrorValue(t7)); date = new A.DateTime(t7, false); } } return A._setArrayType([activeData, outstandingData], type$.JSArray_ChartDataGroup); }, chartQuotes(clientMap, company, currencyMap, invoiceMap, quoteMap, settings) { var date, t3, t4, t5, t6, t7, t8, t9, t10, t11, _s6_ = "active", _s8_ = "approved", _s10_ = "unapproved", _s8_0 = "invoiced", _s12_ = "invoice_paid", t1 = type$.String, t2 = type$.double, totals = A.LinkedHashMap_LinkedHashMap$_literal(["active", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "approved", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "unapproved", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoiced", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoice_paid", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.Map_String_double), activeData = A.ChartDataGroup$(_s6_), approvedData = A.ChartDataGroup$(_s8_), unapprovedData = A.ChartDataGroup$(_s10_), invoicedData = A.ChartDataGroup$(_s8_0), paidData = A.ChartDataGroup$(_s12_); quoteMap._map$_map.forEach$1(0, new A.chartQuotes_closure(clientMap, settings, company, currencyMap, activeData, approvedData, unapprovedData, totals, invoicedData, paidData, invoiceMap)); date = A.convertSqlDateToDateTime(settings.startDate$1(company)); for (t1 = A.convertSqlDateToDateTime(settings.endDate$1(company))._value, t2 = settings.groupBy, t3 = t2 === "year", t4 = t2 === "month", t2 = t2 === "day", t5 = activeData.rawSeries, t6 = approvedData.rawSeries, t7 = unapprovedData.rawSeries, t8 = invoicedData.rawSeries, t9 = paidData.rawSeries; t10 = date._value, t10 <= t1;) { t11 = B.JSArray_methods.get$first(date.toIso8601String$0().split("T")); if (totals.$index(0, _s6_).containsKey$1(0, t11)) { t5.push(new A.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t11))); t6.push(new A.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t11))); t7.push(new A.ChartMoneyData(date, totals.$index(0, _s10_).$index(0, t11))); t8.push(new A.ChartMoneyData(date, totals.$index(0, _s8_0).$index(0, t11))); t9.push(new A.ChartMoneyData(date, totals.$index(0, _s12_).$index(0, t11))); } else { t5.push(new A.ChartMoneyData(date, 0)); t6.push(new A.ChartMoneyData(date, 0)); t7.push(new A.ChartMoneyData(date, 0)); t8.push(new A.ChartMoneyData(date, 0)); t9.push(new A.ChartMoneyData(date, 0)); } if (t2) { t10 += 86400000; t11 = date.isUtc; date = new A.DateTime(t10, t11); date.DateTime$_withValue$2$isUtc(t10, t11); } else if (t4) { t10 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t10)) A.throwExpression(A.argumentErrorValue(t10)); date = new A.DateTime(t10, false); } else if (t3) { t10 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date) + 1, 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t10)) A.throwExpression(A.argumentErrorValue(t10)); date = new A.DateTime(t10, false); } } return A._setArrayType([activeData, approvedData, unapprovedData, invoicedData, paidData], type$.JSArray_ChartDataGroup); }, chartPayments(currencyMap, company, settings, invoiceMap, clientMap, paymentMap) { var date, t3, t4, t5, t6, t7, t8, _s9_ = "completed", _s8_ = "refunded", t1 = type$.String, t2 = type$.double, totals = A.LinkedHashMap_LinkedHashMap$_literal(["completed", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "refunded", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.Map_String_double), activeData = A.ChartDataGroup$(_s9_), refundedData = A.ChartDataGroup$(_s8_); paymentMap._map$_map.forEach$1(0, new A.chartPayments_closure(clientMap, settings, invoiceMap, company, currencyMap, activeData, refundedData, totals)); date = A.convertSqlDateToDateTime(settings.startDate$1(company)); for (t1 = A.convertSqlDateToDateTime(settings.endDate$1(company))._value, t2 = settings.groupBy, t3 = t2 === "year", t4 = t2 === "month", t2 = t2 === "day", t5 = activeData.rawSeries, t6 = refundedData.rawSeries; t7 = date._value, t7 <= t1;) { t8 = B.JSArray_methods.get$first(date.toIso8601String$0().split("T")); if (totals.$index(0, _s9_).containsKey$1(0, t8)) { t5.push(new A.ChartMoneyData(date, totals.$index(0, _s9_).$index(0, t8))); t6.push(new A.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t8))); } else { t5.push(new A.ChartMoneyData(date, 0)); t6.push(new A.ChartMoneyData(date, 0)); } if (t2) { t7 += 86400000; t8 = date.isUtc; date = new A.DateTime(t7, t8); date.DateTime$_withValue$2$isUtc(t7, t8); } else if (t4) { t7 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t7)) A.throwExpression(A.argumentErrorValue(t7)); date = new A.DateTime(t7, false); } else if (t3) { t7 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date) + 1, 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t7)) A.throwExpression(A.argumentErrorValue(t7)); date = new A.DateTime(t7, false); } } return A._setArrayType([activeData, refundedData], type$.JSArray_ChartDataGroup); }, chartTasks(currencyMap, company, settings, taskMap, invoiceMap, projectMap, clientMap, groupMap) { var date, t3, t4, t5, t6, t7, t8, t9, _s6_ = "logged", _s8_ = "invoiced", _s12_ = "invoice_paid", _s17_ = "invoiced_duration", _s21_ = "invoice_paid_duration", t1 = type$.String, t2 = type$.double, totals = A.LinkedHashMap_LinkedHashMap$_literal(["logged", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoiced", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoice_paid", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "logged_duration", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _s17_, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), _s21_, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.Map_String_double), loggedData = A.ChartDataGroup$(_s6_), invoicedData = A.ChartDataGroup$(_s8_), paidData = A.ChartDataGroup$(_s12_), loggedDataDuration = A.ChartDataGroup$("logged_duration"), invoicedDataDuration = A.ChartDataGroup$(_s17_), paidDataDuration = A.ChartDataGroup$(_s21_); taskMap._map$_map.forEach$1(0, new A.chartTasks_closure(clientMap, invoiceMap, projectMap, groupMap, settings, company, paidData, paidDataDuration, invoicedData, invoicedDataDuration, loggedData, loggedDataDuration, currencyMap, totals)); date = A.convertSqlDateToDateTime(settings.startDate$1(company)); for (t1 = A.convertSqlDateToDateTime(settings.endDate$1(company))._value, t2 = settings.groupBy, t3 = t2 === "year", t4 = t2 === "month", t2 = t2 === "day", t5 = loggedData.rawSeries, t6 = invoicedData.rawSeries, t7 = paidData.rawSeries; t8 = date._value, t8 <= t1;) { t9 = B.JSArray_methods.get$first(date.toIso8601String$0().split("T")); if (totals.$index(0, _s6_).containsKey$1(0, t9)) { t5.push(new A.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t9))); t6.push(new A.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t9))); t7.push(new A.ChartMoneyData(date, totals.$index(0, _s12_).$index(0, t9))); } else { t5.push(new A.ChartMoneyData(date, 0)); t6.push(new A.ChartMoneyData(date, 0)); t7.push(new A.ChartMoneyData(date, 0)); } if (t2) { t8 += 86400000; t9 = date.isUtc; date = new A.DateTime(t8, t9); date.DateTime$_withValue$2$isUtc(t8, t9); } else if (t4) { t8 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t8)) A.throwExpression(A.argumentErrorValue(t8)); date = new A.DateTime(t8, false); } else if (t3) { t8 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date) + 1, 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t8)) A.throwExpression(A.argumentErrorValue(t8)); date = new A.DateTime(t8, false); } } return A._setArrayType([loggedData, invoicedData, paidData, loggedDataDuration, invoicedDataDuration, paidDataDuration], type$.JSArray_ChartDataGroup); }, chartExpenses(currencyMap, company, settings, invoiceMap, expenseMap) { var date, t3, t4, t5, t6, t7, t8, t9, t10, _s6_ = "logged", _s8_ = "invoiced", _s12_ = "invoice_paid", t1 = type$.String, t2 = type$.double, totals = A.LinkedHashMap_LinkedHashMap$_literal(["logged", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "pending", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoiced", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), "invoice_paid", A.LinkedHashMap_LinkedHashMap$_empty(t1, t2)], t1, type$.Map_String_double), loggedData = A.ChartDataGroup$(_s6_), pendingData = A.ChartDataGroup$("pending"), invoicedData = A.ChartDataGroup$(_s8_), paidData = A.ChartDataGroup$(_s12_); expenseMap._map$_map.forEach$1(0, new A.chartExpenses_closure(settings, company, currencyMap, invoiceMap, paidData, invoicedData, pendingData, loggedData, totals)); date = A.convertSqlDateToDateTime(settings.startDate$1(company)); for (t1 = A.convertSqlDateToDateTime(settings.endDate$1(company))._value, t2 = settings.groupBy, t3 = t2 === "year", t4 = t2 === "month", t2 = t2 === "day", t5 = loggedData.rawSeries, t6 = pendingData.rawSeries, t7 = invoicedData.rawSeries, t8 = paidData.rawSeries; t9 = date._value, t9 <= t1;) { t10 = B.JSArray_methods.get$first(date.toIso8601String$0().split("T")); if (totals.$index(0, _s6_).containsKey$1(0, t10)) { t5.push(new A.ChartMoneyData(date, totals.$index(0, _s6_).$index(0, t10))); t6.push(new A.ChartMoneyData(date, totals.$index(0, "pending").$index(0, t10))); t7.push(new A.ChartMoneyData(date, totals.$index(0, _s8_).$index(0, t10))); t8.push(new A.ChartMoneyData(date, totals.$index(0, _s12_).$index(0, t10))); } else { t5.push(new A.ChartMoneyData(date, 0)); t6.push(new A.ChartMoneyData(date, 0)); t7.push(new A.ChartMoneyData(date, 0)); t8.push(new A.ChartMoneyData(date, 0)); } if (t2) { t9 += 86400000; t10 = date.isUtc; date = new A.DateTime(t9, t10); date.DateTime$_withValue$2$isUtc(t9, t10); } else if (t4) { t9 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t9)) A.throwExpression(A.argumentErrorValue(t9)); date = new A.DateTime(t9, false); } else if (t3) { t9 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date) + 1, 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t9)) A.throwExpression(A.argumentErrorValue(t9)); date = new A.DateTime(t9, false); } } return A._setArrayType([loggedData, pendingData, invoicedData, paidData], type$.JSArray_ChartDataGroup); }, runningTasks(taskMap, userId) { var tasks = A._setArrayType([], type$.JSArray_nullable_TaskEntity); taskMap._map$_map.forEach$1(0, new A.runningTasks_closure(userId, tasks)); return tasks; }, ChartDataGroup: function ChartDataGroup(t0, t1, t2) { var _ = this; _.name = t0; _.rawSeries = t1; _.entityMap = t2; _.__ChartDataGroup_chartSeries_A = $; _.totalCount = _.periodCount = _.total = _.previousTotal = _.periodTotal = 0; }, ChartMoneyData: function ChartMoneyData(t0, t1) { this.date = t0; this.amount = t1; }, memoizedChartInvoices_closure: function memoizedChartInvoices_closure() { }, memoizedChartOverviewInvoices_closure: function memoizedChartOverviewInvoices_closure() { }, memoizedPreviousChartInvoices_closure: function memoizedPreviousChartInvoices_closure() { }, _chartInvoices_closure: function _chartInvoices_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.clientMap = t0; _.settings = t1; _.company = t2; _.currencyMap = t3; _.activeData = t4; _.outstandingData = t5; _.totals = t6; }, memoizedChartQuotes_closure: function memoizedChartQuotes_closure() { }, memoizedPreviousChartQuotes_closure: function memoizedPreviousChartQuotes_closure() { }, chartQuotes_closure: function chartQuotes_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.clientMap = t0; _.settings = t1; _.company = t2; _.currencyMap = t3; _.activeData = t4; _.approvedData = t5; _.unapprovedData = t6; _.totals = t7; _.invoicedData = t8; _.paidData = t9; _.invoiceMap = t10; }, 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; _.invoiceMap = t2; _.company = t3; _.currencyMap = t4; _.activeData = t5; _.refundedData = t6; _.totals = 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, t12, t13) { var _ = this; _.clientMap = t0; _.invoiceMap = t1; _.projectMap = t2; _.groupMap = t3; _.settings = t4; _.company = t5; _.paidData = t6; _.paidDataDuration = t7; _.invoicedData = t8; _.invoicedDataDuration = t9; _.loggedData = t10; _.loggedDataDuration = t11; _.currencyMap = t12; _.totals = t13; }, chartTasks__closure: function chartTasks__closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _._box_0 = t0; _.settings = t1; _.company = t2; _.project = t3; _.client = t4; _.task = t5; _.group = t6; _.invoice = t7; _.currencyMap = t8; _.invoiceMap = t9; _.paidData = t10; _.paidDataDuration = t11; _.invoicedData = t12; _.invoicedDataDuration = t13; _.loggedData = t14; _.loggedDataDuration = t15; _.startDate = t16; _.endDate = t17; _.totals = t18; }, chartTasks___closure: function chartTasks___closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _._box_0 = t0; _.settings = t1; _.company = t2; _.project = t3; _.client = t4; _.task = t5; _.group = t6; _.invoice = t7; _.currencyMap = t8; _.invoiceMap = t9; _.paidData = t10; _.paidDataDuration = t11; _.invoicedData = t12; _.invoicedDataDuration = t13; _.loggedData = t14; _.loggedDataDuration = t15; _.startDate = t16; _.endDate = t17; _.totals = t18; }, chartExpenses_closure: function chartExpenses_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.settings = t0; _.company = t1; _.currencyMap = t2; _.invoiceMap = t3; _.paidData = t4; _.invoicedData = t5; _.pendingData = t6; _.loggedData = t7; _.totals = t8; }, memoizedChartExpenses_closure: function memoizedChartExpenses_closure() { }, memoizedPreviousChartExpenses_closure: function memoizedPreviousChartExpenses_closure() { }, memoizedRunningTasks_closure0: function memoizedRunningTasks_closure0() { }, runningTasks_closure: function runningTasks_closure(t0, t1) { this.userId = t0; this.tasks = t1; }, _upcomingInvoices(clientMap, invoiceMap) { var invoices = A._setArrayType([], type$.JSArray_nullable_InvoiceEntity); invoiceMap._map$_map.forEach$1(0, new A._upcomingInvoices_closure(clientMap, invoices)); B.JSArray_methods.sort$1(invoices, new A._upcomingInvoices_closure0()); return invoices; }, _pastDueInvoices(clientMap, invoiceMap) { var invoices = A._setArrayType([], type$.JSArray_nullable_InvoiceEntity); invoiceMap._map$_map.forEach$1(0, new A._pastDueInvoices_closure(clientMap, invoices)); B.JSArray_methods.sort$1(invoices, new A._pastDueInvoices_closure0()); return invoices; }, _recentPayments(clientMap, paymentMap) { var payments = A._setArrayType([], type$.JSArray_nullable_PaymentEntity); paymentMap._map$_map.forEach$1(0, new A._recentPayments_closure(clientMap, B.JSNumber_methods.round$0(new A.DateTime(Date.now(), false).subtract$1(A.Duration$(60, 0, 0, 0, 0, 0))._value / 1000), payments)); B.JSArray_methods.sort$1(payments, new A._recentPayments_closure0()); return payments; }, _upcomingQuotes(clientMap, quoteMap) { var quotes = A._setArrayType([], type$.JSArray_nullable_InvoiceEntity); quoteMap._map$_map.forEach$1(0, new A._upcomingQuotes_closure(clientMap, quotes)); B.JSArray_methods.sort$1(quotes, new A._upcomingQuotes_closure0()); return quotes; }, _expiredQuotes(clientMap, quoteMap) { var quotes = A._setArrayType([], type$.JSArray_nullable_InvoiceEntity); quoteMap._map$_map.forEach$1(0, new A._expiredQuotes_closure(clientMap, quotes)); B.JSArray_methods.sort$1(quotes, new A._expiredQuotes_closure0()); return quotes; }, _runningTasks(clientMap, taskMap) { var tasks = A._setArrayType([], type$.JSArray_TaskEntity); taskMap._map$_map.forEach$1(0, new A._runningTasks_closure(clientMap, tasks)); B.JSArray_methods.sort$1(tasks, new A._runningTasks_closure0()); return tasks; }, _recentTasks(clientMap, taskMap) { var tasks = A._setArrayType([], type$.JSArray_TaskEntity); taskMap._map$_map.forEach$1(0, new A._recentTasks_closure(clientMap, tasks)); B.JSArray_methods.sort$1(tasks, new A._recentTasks_closure0()); return tasks; }, _recentExpenses(clientMap, expenseMap) { var expenses = A._setArrayType([], type$.JSArray_nullable_ExpenseEntity); expenseMap._map$_map.forEach$1(0, new A._recentExpenses_closure(clientMap, expenses)); B.JSArray_methods.sort$1(expenses, new A._recentExpenses_closure0()); return expenses; }, memoizedUpcomingInvoices_closure: function memoizedUpcomingInvoices_closure() { }, _upcomingInvoices_closure: function _upcomingInvoices_closure(t0, t1) { this.clientMap = t0; this.invoices = t1; }, _upcomingInvoices_closure0: function _upcomingInvoices_closure0() { }, memoizedPastDueInvoices_closure: function memoizedPastDueInvoices_closure() { }, _pastDueInvoices_closure: function _pastDueInvoices_closure(t0, t1) { this.clientMap = t0; this.invoices = t1; }, _pastDueInvoices_closure0: function _pastDueInvoices_closure0() { }, memoizedRecentPayments_closure: function memoizedRecentPayments_closure() { }, _recentPayments_closure: function _recentPayments_closure(t0, t1, t2) { this.clientMap = t0; this.threeMonthsAgo = t1; this.payments = t2; }, _recentPayments_closure0: function _recentPayments_closure0() { }, memoizedUpcomingQuotes_closure: function memoizedUpcomingQuotes_closure() { }, _upcomingQuotes_closure: function _upcomingQuotes_closure(t0, t1) { this.clientMap = t0; this.quotes = t1; }, _upcomingQuotes_closure0: function _upcomingQuotes_closure0() { }, memoizedExpiredQuotes_closure: function memoizedExpiredQuotes_closure() { }, _expiredQuotes_closure: function _expiredQuotes_closure(t0, t1) { this.clientMap = t0; this.quotes = t1; }, _expiredQuotes_closure0: function _expiredQuotes_closure0() { }, memoizedRunningTasks_closure: function memoizedRunningTasks_closure() { }, _runningTasks_closure: function _runningTasks_closure(t0, t1) { this.clientMap = t0; this.tasks = t1; }, _runningTasks_closure0: function _runningTasks_closure0() { }, memoizedRecentTasks_closure: function memoizedRecentTasks_closure() { }, _recentTasks_closure: function _recentTasks_closure(t0, t1) { this.clientMap = t0; this.tasks = t1; }, _recentTasks_closure0: function _recentTasks_closure0() { }, memoizedRecentExpenses_closure: function memoizedRecentExpenses_closure() { }, _recentExpenses_closure: function _recentExpenses_closure(t0, t1) { this.clientMap = t0; this.expenses = t1; }, _recentExpenses_closure0: function _recentExpenses_closure0() { }, _$DashboardUIState$_(selectedEntities, selectedEntityType, settings, showSidebar) { var _s16_ = "DashboardUIState"; A.BuiltValueNullFieldError_checkNotNull(settings, _s16_, "settings"); A.BuiltValueNullFieldError_checkNotNull(selectedEntityType, _s16_, "selectedEntityType"); A.BuiltValueNullFieldError_checkNotNull(selectedEntities, _s16_, "selectedEntities"); A.BuiltValueNullFieldError_checkNotNull(showSidebar, _s16_, "showSidebar"); return new A._$DashboardUIState(settings, selectedEntityType, selectedEntities, showSidebar); }, _$DashboardUISettings$_(compareCustomEndDate, compareCustomStartDate, compareDateRange, currencyId, customEndDate, customStartDate, dateRange, enableComparison, groupBy, includeTaxes, offset) { var _s19_ = "DashboardUISettings"; A.BuiltValueNullFieldError_checkNotNull(dateRange, _s19_, "dateRange"); A.BuiltValueNullFieldError_checkNotNull(customStartDate, _s19_, "customStartDate"); A.BuiltValueNullFieldError_checkNotNull(customEndDate, _s19_, "customEndDate"); A.BuiltValueNullFieldError_checkNotNull(enableComparison, _s19_, "enableComparison"); A.BuiltValueNullFieldError_checkNotNull(compareDateRange, _s19_, "compareDateRange"); A.BuiltValueNullFieldError_checkNotNull(compareCustomStartDate, _s19_, "compareCustomStartDate"); A.BuiltValueNullFieldError_checkNotNull(compareCustomEndDate, _s19_, "compareCustomEndDate"); A.BuiltValueNullFieldError_checkNotNull(offset, _s19_, "offset"); A.BuiltValueNullFieldError_checkNotNull(currencyId, _s19_, "currencyId"); A.BuiltValueNullFieldError_checkNotNull(includeTaxes, _s19_, "includeTaxes"); A.BuiltValueNullFieldError_checkNotNull(groupBy, _s19_, "groupBy"); return new A._$DashboardUISettings(dateRange, customStartDate, customEndDate, enableComparison, compareDateRange, compareCustomStartDate, compareCustomEndDate, offset, currencyId, includeTaxes, groupBy); }, 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, t10) { var _ = this; _.dateRange = t0; _.customStartDate = t1; _.customEndDate = t2; _.enableComparison = t3; _.compareDateRange = t4; _.compareCustomStartDate = t5; _.compareCustomEndDate = t6; _.offset = t7; _.currencyId = t8; _.includeTaxes = t9; _.groupBy = t10; _._dashboard_state$__hashCode = null; }, DashboardUISettingsBuilder: function DashboardUISettingsBuilder() { var _ = this; _._groupBy = _._includeTaxes = _._dashboard_state$_currencyId = _._dashboard_state$_offset = _._compareCustomEndDate = _._compareCustomStartDate = _._compareDateRange = _._enableComparison = _._dashboard_state$_customEndDate = _._dashboard_state$_customStartDate = _._dashboard_state$_dateRange = _._dashboard_state$_$v = null; }, handleDesignAction(context, designs, action) { var store, t1, t2, design, t3, designIds, message, _i, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (designs.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); design = type$.DesignEntity._as(B.JSArray_methods.get$first(designs)); t3 = A._arrayInstanceType(designs)._eval$1("MappedListIterable<1,String>"); designIds = A.List_List$of(new A.MappedListIterable(designs, new A.handleDesignAction_closure(), t3), true, t3._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, design, true, _null); break; case B.EntityAction_clone: A.createEntity(_null, _null, design.get$clone(0), _null, false); break; case B.EntityAction_newInvoice: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, t1, _null, _null).rebuild$1(new A.handleDesignAction_closure0(design)), _null, false); break; case B.EntityAction_newRecurringInvoice: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_recurringInvoice, _null, t1, _null, _null).rebuild$1(new A.handleDesignAction_closure1(design)), _null, false); break; case B.EntityAction_newQuote: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_quote, _null, t1, _null, _null).rebuild$1(new A.handleDesignAction_closure2(design)), _null, false); break; case B.EntityAction_newCredit: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_credit, _null, t1, _null, _null).rebuild$1(new A.handleDesignAction_closure3(design)), _null, false); break; case B.EntityAction_restore: t1 = designIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_designs"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_design"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreDesignsRequest(t1, designIds)); break; case B.EntityAction_archive: t1 = designIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_designs"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_design"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveDesignsRequest(t1, designIds)); break; case B.EntityAction_delete: t1 = designIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_designs"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_design"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteDesignsRequest(t1, designIds)); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.designUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartDesignMultiselect()); } t1 = designs.length; if (t1 === 0) break; for (_i = 0; _i < designs.length; designs.length === t1 || (0, A.throwConcurrentModificationError)(designs), ++_i) { design = designs[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(design); t2 = t2.designUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToDesignMultiselect(design)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromDesignMultiselect(design)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([design], type$.JSArray_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() { }, _editDesign() { return new A._editDesign_closure(); }, _viewDesign() { return new A._viewDesign_closure(); }, _viewDesignList() { return new A._viewDesignList_closure0(); }, _archiveDesign(repository) { return new A._archiveDesign_closure(repository); }, _deleteDesign(repository) { return new A._deleteDesign_closure(repository); }, _restoreDesign(repository) { return new A._restoreDesign_closure(repository); }, _saveDesign(repository) { return new A._saveDesign_closure(repository); }, _loadDesign(repository) { return new A._loadDesign_closure(repository); }, _loadDesigns(repository) { return new A._loadDesigns_closure(repository); }, _editDesign_closure: function _editDesign_closure() { }, _viewDesign_closure: function _viewDesign_closure() { }, _viewDesignList_closure0: function _viewDesignList_closure0() { }, _viewDesignList__closure: function _viewDesignList__closure() { }, _archiveDesign_closure: function _archiveDesign_closure(t0) { this.repository = t0; }, _archiveDesign__closure: function _archiveDesign__closure(t0) { this.store = t0; }, _archiveDesign__closure0: function _archiveDesign__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveDesign__closure1: function _archiveDesign__closure1(t0, t1, t2) { this.store = t0; this.prevDesigns = t1; this.action = t2; }, _deleteDesign_closure: function _deleteDesign_closure(t0) { this.repository = t0; }, _deleteDesign__closure: function _deleteDesign__closure(t0) { this.store = t0; }, _deleteDesign__closure0: function _deleteDesign__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteDesign__closure1: function _deleteDesign__closure1(t0, t1, t2) { this.store = t0; this.prevDesigns = t1; this.action = t2; }, _restoreDesign_closure: function _restoreDesign_closure(t0) { this.repository = t0; }, _restoreDesign__closure: function _restoreDesign__closure(t0) { this.store = t0; }, _restoreDesign__closure0: function _restoreDesign__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreDesign__closure1: function _restoreDesign__closure1(t0, t1, t2) { this.store = t0; this.prevDesigns = t1; this.action = t2; }, _saveDesign_closure: function _saveDesign_closure(t0) { this.repository = t0; }, _saveDesign__closure: function _saveDesign__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveDesign__closure0: function _saveDesign__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadDesign_closure: function _loadDesign_closure(t0) { this.repository = t0; }, _loadDesign__closure: function _loadDesign__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadDesign__closure0: function _loadDesign__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadDesigns_closure: function _loadDesigns_closure(t0) { this.repository = t0; }, _loadDesigns__closure: function _loadDesigns__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadDesigns__closure0: function _loadDesigns__closure0(t0, t1) { this.store = t0; this.action = t1; }, designUIReducer(state, action) { var t1 = new A.DesignUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._design_state$_$v = state; new A.designUIReducer_closure(state, action).call$1(t1); return t1._design_state$_build$0(); }, _clearEditing2(design, action) { return A.DesignEntity_DesignEntity(null, null, null); }, _updateEditing2(design, action) { return action.get$design(); }, _viewDesignList0(designListState, action) { return designListState.rebuild$1(new A._viewDesignList_closure()); }, _filterDesignsByCustom1(designListState, action) { if (B.JSArray_methods.contains$1(designListState.custom1Filters._list$_list, action.value)) return designListState.rebuild$1(new A._filterDesignsByCustom1_closure(action)); else return designListState.rebuild$1(new A._filterDesignsByCustom1_closure0(action)); }, _filterDesignsByCustom2(designListState, action) { if (B.JSArray_methods.contains$1(designListState.custom2Filters._list$_list, action.value)) return designListState.rebuild$1(new A._filterDesignsByCustom2_closure(action)); else return designListState.rebuild$1(new A._filterDesignsByCustom2_closure0(action)); }, _filterDesignsByState(designListState, action) { if (B.JSArray_methods.contains$1(designListState.stateFilters._list$_list, action.state)) return designListState.rebuild$1(new A._filterDesignsByState_closure(action)); else return designListState.rebuild$1(new A._filterDesignsByState_closure0(action)); }, _filterDesigns(designListState, action) { return designListState.rebuild$1(new A._filterDesigns_closure(action, designListState)); }, _sortDesigns(designListState, action) { return designListState.rebuild$1(new A._sortDesigns_closure(action)); }, _startListMultiselect3(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure11()); }, _addToListMultiselect3(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure11(action)); }, _removeFromListMultiselect3(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure11(action)); }, _clearListMultiselect3(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure11()); }, _archiveDesignSuccess(designState, action) { return designState.rebuild$1(new A._archiveDesignSuccess_closure(action)); }, _deleteDesignSuccess(designState, action) { return designState.rebuild$1(new A._deleteDesignSuccess_closure(action)); }, _restoreDesignSuccess(designState, action) { return designState.rebuild$1(new A._restoreDesignSuccess_closure(action)); }, _addDesign(designState, action) { return designState.rebuild$1(new A._addDesign_closure(action)); }, _updateDesign(designState, action) { return designState.rebuild$1(new A._updateDesign_closure(action)); }, _setLoadedDesign(designState, action) { return designState.rebuild$1(new A._setLoadedDesign_closure(action)); }, _setLoadedDesigns(designState, action) { return designState.loadDesigns$1(action.designs); }, _setLoadedCompany3(designState, action) { return designState.loadDesigns$1(action.userCompany.company.designs); }, designUIReducer_closure: function designUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure93: function forceSelectedReducer_closure93() { }, forceSelectedReducer_closure94: function forceSelectedReducer_closure94() { }, forceSelectedReducer_closure95: function forceSelectedReducer_closure95() { }, forceSelectedReducer_closure96: function forceSelectedReducer_closure96() { }, forceSelectedReducer_closure97: function forceSelectedReducer_closure97() { }, forceSelectedReducer_closure98: function forceSelectedReducer_closure98() { }, forceSelectedReducer_closure99: function forceSelectedReducer_closure99() { }, forceSelectedReducer_closure100: function forceSelectedReducer_closure100() { }, selectedIdReducer_closure181: function selectedIdReducer_closure181() { }, selectedIdReducer_closure182: function selectedIdReducer_closure182() { }, selectedIdReducer_closure183: function selectedIdReducer_closure183() { }, selectedIdReducer_closure184: function selectedIdReducer_closure184() { }, selectedIdReducer_closure185: function selectedIdReducer_closure185() { }, selectedIdReducer_closure186: function selectedIdReducer_closure186() { }, selectedIdReducer_closure187: function selectedIdReducer_closure187() { }, selectedIdReducer_closure188: function selectedIdReducer_closure188() { }, selectedIdReducer_closure189: function selectedIdReducer_closure189() { }, selectedIdReducer_closure190: function selectedIdReducer_closure190() { }, selectedIdReducer_closure191: function selectedIdReducer_closure191() { }, selectedIdReducer_closure192: function selectedIdReducer_closure192() { }, selectedIdReducer_closure193: function selectedIdReducer_closure193() { }, selectedIdReducer_closure194: function selectedIdReducer_closure194() { }, editingReducer_closure60: function editingReducer_closure60() { }, editingReducer_closure61: function editingReducer_closure61() { }, editingReducer_closure62: function editingReducer_closure62() { }, editingReducer_closure63: function editingReducer_closure63() { }, editingReducer__closure23: function editingReducer__closure23() { }, designListReducer_closure: function designListReducer_closure() { }, designListReducer__closure: function designListReducer__closure() { }, _viewDesignList_closure: function _viewDesignList_closure() { }, _filterDesignsByCustom1_closure: function _filterDesignsByCustom1_closure(t0) { this.action = t0; }, _filterDesignsByCustom1_closure0: function _filterDesignsByCustom1_closure0(t0) { this.action = t0; }, _filterDesignsByCustom2_closure: function _filterDesignsByCustom2_closure(t0) { this.action = t0; }, _filterDesignsByCustom2_closure0: function _filterDesignsByCustom2_closure0(t0) { this.action = t0; }, _filterDesignsByState_closure: function _filterDesignsByState_closure(t0) { this.action = t0; }, _filterDesignsByState_closure0: function _filterDesignsByState_closure0(t0) { this.action = t0; }, _filterDesigns_closure: function _filterDesigns_closure(t0, t1) { this.action = t0; this.designListState = t1; }, _sortDesigns_closure: function _sortDesigns_closure(t0) { this.action = t0; }, _startListMultiselect_closure11: function _startListMultiselect_closure11() { }, _addToListMultiselect_closure11: function _addToListMultiselect_closure11(t0) { this.action = t0; }, _removeFromListMultiselect_closure11: function _removeFromListMultiselect_closure11(t0) { this.action = t0; }, _clearListMultiselect_closure11: function _clearListMultiselect_closure11() { }, _archiveDesignSuccess_closure: function _archiveDesignSuccess_closure(t0) { this.action = t0; }, _deleteDesignSuccess_closure: function _deleteDesignSuccess_closure(t0) { this.action = t0; }, _restoreDesignSuccess_closure: function _restoreDesignSuccess_closure(t0) { this.action = t0; }, _addDesign_closure: function _addDesign_closure(t0) { this.action = t0; }, _updateDesign_closure: function _updateDesign_closure(t0) { this.action = t0; }, _setLoadedDesign_closure: function _setLoadedDesign_closure(t0) { this.action = t0; }, filteredDesignsSelector(designMap, designList, designListState) { var t1 = designList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredDesignsSelector_closure(designMap, designListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredDesignsSelector_closure0(designMap, designListState)); return list; }, getDesignIdForClientByEntity(clientId, entityType, state) { var settings = A.getClientSettings(state, state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].clientState.$get$1(0, clientId)); switch (entityType) { case B.EntityType_invoice: return settings.defaultInvoiceDesignId; case B.EntityType_quote: return settings.defaultQuoteDesignId; case B.EntityType_credit: return settings.defaultCreditDesignId; default: A.print("## ERROR: undefined entity type " + entityType.toString$0(0) + " in design_selectors"); return settings.defaultInvoiceDesignId; } }, getDesignIdForVendorByEntity(entityType, state, vendorId) { var settings, _null = null, t1 = state.uiState.selectedCompanyIndex, t2 = state.userCompanyStates._list$_list; t2[t1].vendorState.$get$1(0, vendorId); t1 = t2[t1].userCompany; settings = A.SettingsEntity_SettingsEntity(A.SettingsEntity_SettingsEntity(_null, _null, _null), t1.company.settings, A.SettingsEntity_SettingsEntity(_null, _null, _null)); switch (entityType) { case B.EntityType_purchaseOrder: return settings.defaultPurchaseOrderDesignId; default: A.print("## ERROR: undefined entity type " + entityType.toString$0(0) + " in design_selectors"); return settings.defaultInvoiceDesignId; } }, hasDesignTemplatesForEntityType(designMap, entityType) { return true; }, memoizedFilteredDesignList_closure: function memoizedFilteredDesignList_closure() { }, filteredDesignsSelector_closure: function filteredDesignsSelector_closure(t0, t1) { this.designMap = t0; this.designListState = t1; }, filteredDesignsSelector_closure0: function filteredDesignsSelector_closure0(t0, t1) { this.designMap = t0; this.designListState = t1; }, _$DesignState$_(list, map) { var _s11_ = "DesignState"; A.BuiltValueNullFieldError_checkNotNull(map, _s11_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s11_, "list"); return new A._$DesignState(map, list); }, _$DesignUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s13_ = "DesignUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s13_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s13_, "tabIndex"); return new A._$DesignUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, DesignState: function DesignState() { }, DesignState_cleanDesign_closure: function DesignState_cleanDesign_closure(t0) { this.$this = t0; }, 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() { }, handleDocumentAction(context, documents, action) { var store, t1, t2, documentIds, message, _i, $document, t3, _null = null, _s6_ = ":count"; if (documents.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t1.toString; t2 = A._arrayInstanceType(documents)._eval$1("MappedListIterable<1,String>"); documentIds = A.List_List$of(new A.MappedListIterable(documents, new A.handleDocumentAction_closure(), t2), true, t2._eval$1("ListIterable.E")); t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].documentState.map._map$_map.$index(0, B.JSArray_methods.get$first(documentIds)); t2.toString; switch (action) { case B.EntityAction_edit: A.editEntity(_null, t2, true, _null); break; case B.EntityAction_restore: t1 = t1.localeCode; if (documentIds.length > 1) { t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1); t1.toString; t1 = J.$index$asx(t1, "restored_documents"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, ":value", _s6_), _s6_, B.JSInt_methods.toString$0(documentIds.length)); } else { t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1); t1.toString; t1 = J.$index$asx(t1, "restored_document"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreDocumentRequest(t1, documentIds)); break; case B.EntityAction_archive: t1 = t1.localeCode; if (documentIds.length > 1) { t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1); t1.toString; t1 = J.$index$asx(t1, "archived_documents"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, ":value", _s6_), _s6_, B.JSInt_methods.toString$0(documentIds.length)); } else { t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1); t1.toString; t1 = J.$index$asx(t1, "archived_document"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveDocumentRequest(t1, documentIds)); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.documentUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartDocumentMultiselect()); } t1 = documents.length; if (t1 === 0) break; for (_i = 0; _i < documents.length; documents.length === t1 || (0, A.throwConcurrentModificationError)(documents), ++_i) { $document = documents[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x($document); t2 = t2.documentUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToDocumentMultiselect($document)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromDocumentMultiselect($document)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([t2], type$.JSArray_BaseEntity), false); break; case B.EntityAction_bulkDownload: t1 = A.snackBarCompleter(t1.get$exportedData(), _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); break; case B.EntityAction_viewDocument: t1 = new A.handleDocumentAction_showDocument(store, documentIds, t1); if (t2.data == null) { t3 = new A._Future($.Zone__current, type$._Future_void); t3.then$1$1(0, new A.handleDocumentAction_closure0(t1), type$.void); t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadDocumentData(new A._AsyncCompleter(t3, type$._AsyncCompleter_void), t2.id)); } else t1.call$0(); break; case B.EntityAction_download: t1 = new A.handleDocumentAction_downloadDocument(store, documentIds); if (t2.data == null) { t3 = new A._Future($.Zone__current, type$._Future_void); t3.then$1$1(0, new A.handleDocumentAction_closure1(t1), type$.void); t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadDocumentData(new A._AsyncCompleter(t3, type$._AsyncCompleter_void), t2.id)); } else t1.call$0(); break; case B.EntityAction_delete: A.confirmCallback(false, new A.handleDocumentAction_closure2(context, t2, store), context, _null, false, _null); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in document_actions"); break; } }, ViewDocumentList: function ViewDocumentList() { }, ViewDocument: function ViewDocument(t0) { this.documentId = t0; }, EditDocument: function EditDocument(t0) { this.document = t0; }, UpdateDocument: function UpdateDocument(t0) { this.document = t0; }, LoadDocumentData: function LoadDocumentData(t0, t1) { this.completer = t0; this.documentId = t1; }, LoadDocumentRequest: function LoadDocumentRequest() { }, LoadDocumentFailure: function LoadDocumentFailure(t0) { this.error = t0; }, LoadDocumentSuccess: function LoadDocumentSuccess(t0) { this.document = t0; }, LoadDocumentsSuccess: function LoadDocumentsSuccess(t0) { this.documents = t0; }, SaveDocumentRequest: function SaveDocumentRequest(t0, t1) { this.completer = t0; this.document = t1; }, SaveDocumentSuccess: function SaveDocumentSuccess(t0) { this.document = t0; }, SaveDocumentFailure: function SaveDocumentFailure() { }, DownloadDocumentsRequest: function DownloadDocumentsRequest(t0, t1) { this.completer = t0; this.documentIds = t1; }, DownloadDocumentsSuccess: function DownloadDocumentsSuccess() { }, DownloadDocumentsFailure: function DownloadDocumentsFailure() { }, ArchiveDocumentRequest: function ArchiveDocumentRequest(t0, t1) { this.completer = t0; this.documentIds = t1; }, ArchiveDocumentSuccess: function ArchiveDocumentSuccess(t0) { this.documents = t0; }, ArchiveDocumentFailure: function ArchiveDocumentFailure() { }, DeleteDocumentRequest: function DeleteDocumentRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.documentIds = t1; _.password = t2; _.idToken = t3; }, DeleteDocumentSuccess: function DeleteDocumentSuccess(t0) { this.documentId = t0; }, DeleteDocumentFailure: function DeleteDocumentFailure() { }, RestoreDocumentRequest: function RestoreDocumentRequest(t0, t1) { this.completer = t0; this.documentIds = t1; }, RestoreDocumentSuccess: function RestoreDocumentSuccess(t0) { this.documents = t0; }, RestoreDocumentFailure: function RestoreDocumentFailure() { }, FilterDocuments: function FilterDocuments(t0) { this.filter = t0; }, FilterDocumentsByStatus: function FilterDocumentsByStatus(t0) { this.status = t0; }, SortDocuments: function SortDocuments(t0) { this.field = t0; }, FilterDocumentsByCustom1: function FilterDocumentsByCustom1(t0) { this.value = t0; }, FilterDocumentsByCustom2: function FilterDocumentsByCustom2(t0) { this.value = t0; }, FilterDocumentsByCustom3: function FilterDocumentsByCustom3(t0) { this.value = t0; }, FilterDocumentsByCustom4: function FilterDocumentsByCustom4(t0) { this.value = t0; }, handleDocumentAction_closure: function handleDocumentAction_closure() { }, handleDocumentAction_showDocument: function handleDocumentAction_showDocument(t0, t1, t2) { this.store = t0; this.documentIds = t1; this.localization = t2; }, handleDocumentAction_showDocument_closure: function handleDocumentAction_showDocument_closure(t0, t1, t2) { this.store = t0; this.documentIds = t1; this.localization = t2; }, handleDocumentAction_showDocument__closure: function handleDocumentAction_showDocument__closure(t0) { this.context = t0; }, handleDocumentAction_showDocument__closure0: function handleDocumentAction_showDocument__closure0(t0) { this.document = t0; }, handleDocumentAction_closure0: function handleDocumentAction_closure0(t0) { this.showDocument = t0; }, handleDocumentAction_downloadDocument: function handleDocumentAction_downloadDocument(t0, t1) { this.store = t0; this.documentIds = t1; }, handleDocumentAction_closure1: function handleDocumentAction_closure1(t0) { this.downloadDocument = t0; }, handleDocumentAction_closure2: function handleDocumentAction_closure2(t0, t1, t2) { this.context = t0; this.document = t1; this.store = t2; }, handleDocumentAction__closure: function handleDocumentAction__closure(t0, t1, t2) { this.context = t0; this.document = t1; this.store = t2; }, handleDocumentAction___closure: function handleDocumentAction___closure(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure0: function handleDocumentAction___closure0(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure1: function handleDocumentAction___closure1(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure2: function handleDocumentAction___closure2(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure3: function handleDocumentAction___closure3(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure4: function handleDocumentAction___closure4(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure5: function handleDocumentAction___closure5(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure6: function handleDocumentAction___closure6(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure7: function handleDocumentAction___closure7(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure8: function handleDocumentAction___closure8(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure9: function handleDocumentAction___closure9(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure10: function handleDocumentAction___closure10(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure11: function handleDocumentAction___closure11(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure12: function handleDocumentAction___closure12(t0, t1) { this.store = t0; this.document = t1; }, handleDocumentAction___closure13: function handleDocumentAction___closure13(t0) { this.store = t0; }, handleDocumentAction___closure14: function handleDocumentAction___closure14(t0) { this.store = t0; }, StartDocumentMultiselect: function StartDocumentMultiselect() { }, AddToDocumentMultiselect: function AddToDocumentMultiselect(t0) { this.entity = t0; }, RemoveFromDocumentMultiselect: function RemoveFromDocumentMultiselect(t0) { this.entity = t0; }, ClearDocumentMultiselect: function ClearDocumentMultiselect() { }, _editDocument() { return new A._editDocument_closure(); }, _viewDocument() { return new A._viewDocument_closure(); }, _viewDocumentList() { return new A._viewDocumentList_closure0(); }, _saveDocument(repository) { return new A._saveDocument_closure14(repository); }, _archiveDocument(repository) { return new A._archiveDocument_closure(repository); }, _downloadDocuments(repository) { return new A._downloadDocuments_closure(repository); }, _deleteDocument(repository) { return new A._deleteDocument_closure(repository); }, _restoreDocument(repository) { return new A._restoreDocument_closure(repository); }, _loadDocument(repository) { return new A._loadDocument_closure(repository); }, _loadDocumentData(repository) { return new A._loadDocumentData_closure(repository); }, _editDocument_closure: function _editDocument_closure() { }, _viewDocument_closure: function _viewDocument_closure() { }, _viewDocumentList_closure0: function _viewDocumentList_closure0() { }, _viewDocumentList__closure: function _viewDocumentList__closure() { }, _saveDocument_closure14: function _saveDocument_closure14(t0) { this.repository = t0; }, _saveDocument__closure29: function _saveDocument__closure29(t0, t1) { this.action = t0; this.store = t1; }, _saveDocument___closure14: function _saveDocument___closure14(t0) { this.action = t0; }, _saveDocument__closure30: function _saveDocument__closure30(t0, t1) { this.store = t0; this.action = t1; }, _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; }, _downloadDocuments_closure: function _downloadDocuments_closure(t0) { this.repository = t0; }, _downloadDocuments__closure: function _downloadDocuments__closure(t0, t1) { this.store = t0; this.action = t1; }, _downloadDocuments__closure0: function _downloadDocuments__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteDocument_closure: function _deleteDocument_closure(t0) { this.repository = t0; }, _deleteDocument__closure: function _deleteDocument__closure(t0, t1, t2) { this.store = t0; this.documentId = t1; this.action = t2; }, _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; }, _loadDocumentData_closure: function _loadDocumentData_closure(t0) { this.repository = t0; }, _loadDocumentData__closure: function _loadDocumentData__closure(t0, t1, t2) { this.store = t0; this.document = t1; this.action = t2; }, _loadDocumentData___closure: function _loadDocumentData___closure(t0) { this.bodyBytes = t0; }, _loadDocumentData__closure0: function _loadDocumentData__closure0(t0, t1) { this.store = t0; this.action = t1; }, documentUIReducer(state, action) { var t1 = new A.DocumentUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._document_state$_$v = state; new A.documentUIReducer_closure(state, action).call$1(t1); return t1._document_state$_build$0(); }, _updateEditing3($document, action) { return J.get$document$x(action); }, _viewDocumentList0(documentListState, action) { return documentListState.rebuild$1(new A._viewDocumentList_closure()); }, _filterDocumentsByCustom1(documentListState, action) { if (B.JSArray_methods.contains$1(documentListState.custom1Filters._list$_list, action.value)) return documentListState.rebuild$1(new A._filterDocumentsByCustom1_closure(action)); else return documentListState.rebuild$1(new A._filterDocumentsByCustom1_closure0(action)); }, _filterDocumentsByCustom2(documentListState, action) { if (B.JSArray_methods.contains$1(documentListState.custom2Filters._list$_list, action.value)) return documentListState.rebuild$1(new A._filterDocumentsByCustom2_closure(action)); else return documentListState.rebuild$1(new A._filterDocumentsByCustom2_closure0(action)); }, _filterDocumentsByState(documentListState, action) { if (B.JSArray_methods.contains$1(documentListState.stateFilters._list$_list, action.get$state(action))) return documentListState.rebuild$1(new A._filterDocumentsByState_closure(action)); else return documentListState.rebuild$1(new A._filterDocumentsByState_closure0(action)); }, _filterDocumentsByStatus(documentListState, action) { if (B.JSArray_methods.contains$1(documentListState.statusFilters._list$_list, action.status)) return documentListState.rebuild$1(new A._filterDocumentsByStatus_closure(action)); else return documentListState.rebuild$1(new A._filterDocumentsByStatus_closure0(action)); }, _filterDocuments(documentListState, action) { return documentListState.rebuild$1(new A._filterDocuments_closure(action, documentListState)); }, _sortDocuments(documentListState, action) { return documentListState.rebuild$1(new A._sortDocuments_closure(action)); }, _startListMultiselect4(documentListState, action) { return documentListState.rebuild$1(new A._startListMultiselect_closure5()); }, _addToListMultiselect4(documentListState, action) { return documentListState.rebuild$1(new A._addToListMultiselect_closure5(action)); }, _removeFromListMultiselect4(documentListState, action) { return documentListState.rebuild$1(new A._removeFromListMultiselect_closure5(action)); }, _clearListMultiselect4(documentListState, action) { return documentListState.rebuild$1(new A._clearListMultiselect_closure5()); }, _archiveDocumentSuccess(documentState, action) { return documentState.rebuild$1(new A._archiveDocumentSuccess_closure(action)); }, _deleteDocumentSuccess(documentState, action) { return documentState.rebuild$1(new A._deleteDocumentSuccess_closure(action)); }, _restoreDocumentSuccess(documentState, action) { return documentState.rebuild$1(new A._restoreDocumentSuccess_closure(action)); }, _addDocument(documentState, action) { var state = documentState.rebuild$1(new A._addDocument_closure(action)); return state.rebuild$1(new A._addDocument_closure0(state)); }, _updateDocument(documentState, action) { return documentState.rebuild$1(new A._updateDocument_closure(action)); }, _setLoadedDocument(documentState, action) { return documentState.rebuild$1(new A._setLoadedDocument_closure(action)); }, _setLoadedDocuments(documentState, action) { var state = documentState.rebuild$1(new A._setLoadedDocuments_closure(action)); return state.rebuild$1(new A._setLoadedDocuments_closure0(state)); }, _setLoadedCompany4(documentState, action) { var state, company = action.userCompany.company, documents = A._setArrayType([], type$.JSArray_DocumentEntity); B.JSArray_methods.forEach$1(company.documents._list$_list, new A._setLoadedCompany_closure9(documents, company)); B.JSArray_methods.forEach$1(company.clients._list$_list, new A._setLoadedCompany_closure10(documents)); B.JSArray_methods.forEach$1(company.credits._list$_list, new A._setLoadedCompany_closure11(documents)); B.JSArray_methods.forEach$1(company.expenses._list$_list, new A._setLoadedCompany_closure12(documents)); B.JSArray_methods.forEach$1(company.groups._list$_list, new A._setLoadedCompany_closure13(documents)); B.JSArray_methods.forEach$1(company.invoices._list$_list, new A._setLoadedCompany_closure14(documents)); B.JSArray_methods.forEach$1(company.products._list$_list, new A._setLoadedCompany_closure15(documents)); B.JSArray_methods.forEach$1(company.projects._list$_list, new A._setLoadedCompany_closure16(documents)); B.JSArray_methods.forEach$1(company.purchaseOrders._list$_list, new A._setLoadedCompany_closure17(documents)); B.JSArray_methods.forEach$1(company.quotes._list$_list, new A._setLoadedCompany_closure18(documents)); B.JSArray_methods.forEach$1(company.recurringExpenses._list$_list, new A._setLoadedCompany_closure19(documents)); B.JSArray_methods.forEach$1(company.recurringInvoices._list$_list, new A._setLoadedCompany_closure20(documents)); B.JSArray_methods.forEach$1(company.tasks._list$_list, new A._setLoadedCompany_closure21(documents)); B.JSArray_methods.forEach$1(company.vendors._list$_list, new A._setLoadedCompany_closure22(documents)); B.JSArray_methods.forEach$1(company.payments._list$_list, new A._setLoadedCompany_closure23(documents)); state = documentState.rebuild$1(new A._setLoadedCompany_closure24(documents)); return state.rebuild$1(new A._setLoadedCompany_closure25(state)); }, documentUIReducer_closure: function documentUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure51: function forceSelectedReducer_closure51() { }, forceSelectedReducer_closure52: function forceSelectedReducer_closure52() { }, forceSelectedReducer_closure53: function forceSelectedReducer_closure53() { }, forceSelectedReducer_closure54: function forceSelectedReducer_closure54() { }, forceSelectedReducer_closure55: function forceSelectedReducer_closure55() { }, forceSelectedReducer_closure56: function forceSelectedReducer_closure56() { }, forceSelectedReducer_closure57: function forceSelectedReducer_closure57() { }, forceSelectedReducer_closure58: function forceSelectedReducer_closure58() { }, forceSelectedReducer_closure59: function forceSelectedReducer_closure59() { }, selectedIdReducer_closure95: function selectedIdReducer_closure95() { }, selectedIdReducer_closure96: function selectedIdReducer_closure96() { }, selectedIdReducer_closure97: function selectedIdReducer_closure97() { }, selectedIdReducer_closure98: function selectedIdReducer_closure98() { }, selectedIdReducer_closure99: function selectedIdReducer_closure99() { }, selectedIdReducer_closure100: function selectedIdReducer_closure100() { }, selectedIdReducer_closure101: function selectedIdReducer_closure101() { }, selectedIdReducer_closure102: function selectedIdReducer_closure102() { }, selectedIdReducer_closure103: function selectedIdReducer_closure103() { }, selectedIdReducer_closure104: function selectedIdReducer_closure104() { }, selectedIdReducer_closure105: function selectedIdReducer_closure105() { }, selectedIdReducer_closure106: function selectedIdReducer_closure106() { }, selectedIdReducer_closure107: function selectedIdReducer_closure107() { }, selectedIdReducer_closure108: function selectedIdReducer_closure108() { }, editingReducer_closure32: function editingReducer_closure32() { }, editingReducer__closure11: function editingReducer__closure11() { }, documentListReducer_closure: function documentListReducer_closure() { }, documentListReducer__closure: function documentListReducer__closure() { }, _viewDocumentList_closure: function _viewDocumentList_closure() { }, _filterDocumentsByCustom1_closure: function _filterDocumentsByCustom1_closure(t0) { this.action = t0; }, _filterDocumentsByCustom1_closure0: function _filterDocumentsByCustom1_closure0(t0) { this.action = t0; }, _filterDocumentsByCustom2_closure: function _filterDocumentsByCustom2_closure(t0) { this.action = t0; }, _filterDocumentsByCustom2_closure0: function _filterDocumentsByCustom2_closure0(t0) { this.action = t0; }, _filterDocumentsByState_closure: function _filterDocumentsByState_closure(t0) { this.action = t0; }, _filterDocumentsByState_closure0: function _filterDocumentsByState_closure0(t0) { this.action = t0; }, _filterDocumentsByStatus_closure: function _filterDocumentsByStatus_closure(t0) { this.action = t0; }, _filterDocumentsByStatus_closure0: function _filterDocumentsByStatus_closure0(t0) { this.action = t0; }, _filterDocuments_closure: function _filterDocuments_closure(t0, t1) { this.action = t0; this.documentListState = t1; }, _sortDocuments_closure: function _sortDocuments_closure(t0) { this.action = t0; }, _startListMultiselect_closure5: function _startListMultiselect_closure5() { }, _addToListMultiselect_closure5: function _addToListMultiselect_closure5(t0) { this.action = t0; }, _removeFromListMultiselect_closure5: function _removeFromListMultiselect_closure5(t0) { this.action = t0; }, _clearListMultiselect_closure5: function _clearListMultiselect_closure5() { }, _archiveDocumentSuccess_closure: function _archiveDocumentSuccess_closure(t0) { this.action = t0; }, _deleteDocumentSuccess_closure: function _deleteDocumentSuccess_closure(t0) { this.action = t0; }, _restoreDocumentSuccess_closure: function _restoreDocumentSuccess_closure(t0) { this.action = t0; }, _addDocument_closure: function _addDocument_closure(t0) { this.action = t0; }, _addDocument__closure: function _addDocument__closure() { }, _addDocument__closure0: function _addDocument__closure0() { }, _addDocument_closure0: function _addDocument_closure0(t0) { this.state = t0; }, _updateDocument_closure: function _updateDocument_closure(t0) { this.action = t0; }, _setLoadedDocument_closure: function _setLoadedDocument_closure(t0) { this.action = t0; }, _setLoadedDocuments_closure: function _setLoadedDocuments_closure(t0) { this.action = t0; }, _setLoadedDocuments__closure: function _setLoadedDocuments__closure() { }, _setLoadedDocuments__closure0: function _setLoadedDocuments__closure0() { }, _setLoadedDocuments_closure0: function _setLoadedDocuments_closure0(t0) { this.state = t0; }, _setLoadedCompany_closure9: function _setLoadedCompany_closure9(t0, t1) { this.documents = t0; this.company = t1; }, _setLoadedCompany__closure25: function _setLoadedCompany__closure25(t0) { this.company = t0; }, _setLoadedCompany_closure10: function _setLoadedCompany_closure10(t0) { this.documents = t0; }, _setLoadedCompany__closure24: function _setLoadedCompany__closure24(t0, t1) { this.documents = t0; this.client = t1; }, _setLoadedCompany___closure12: function _setLoadedCompany___closure12(t0) { this.client = t0; }, _setLoadedCompany_closure11: function _setLoadedCompany_closure11(t0) { this.documents = t0; }, _setLoadedCompany__closure23: function _setLoadedCompany__closure23(t0, t1) { this.documents = t0; this.credit = t1; }, _setLoadedCompany___closure11: function _setLoadedCompany___closure11(t0) { this.credit = t0; }, _setLoadedCompany_closure12: function _setLoadedCompany_closure12(t0) { this.documents = t0; }, _setLoadedCompany__closure22: function _setLoadedCompany__closure22(t0, t1) { this.documents = t0; this.expense = t1; }, _setLoadedCompany___closure10: function _setLoadedCompany___closure10(t0) { this.expense = t0; }, _setLoadedCompany_closure13: function _setLoadedCompany_closure13(t0) { this.documents = t0; }, _setLoadedCompany__closure21: function _setLoadedCompany__closure21(t0, t1) { this.documents = t0; this.group = t1; }, _setLoadedCompany___closure9: function _setLoadedCompany___closure9(t0) { this.group = t0; }, _setLoadedCompany_closure14: function _setLoadedCompany_closure14(t0) { this.documents = t0; }, _setLoadedCompany__closure20: function _setLoadedCompany__closure20(t0, t1) { this.documents = t0; this.invoice = t1; }, _setLoadedCompany___closure8: function _setLoadedCompany___closure8(t0) { this.invoice = t0; }, _setLoadedCompany_closure15: function _setLoadedCompany_closure15(t0) { this.documents = t0; }, _setLoadedCompany__closure19: function _setLoadedCompany__closure19(t0, t1) { this.documents = t0; this.product = t1; }, _setLoadedCompany___closure7: function _setLoadedCompany___closure7(t0) { this.product = t0; }, _setLoadedCompany_closure16: function _setLoadedCompany_closure16(t0) { this.documents = t0; }, _setLoadedCompany__closure18: function _setLoadedCompany__closure18(t0, t1) { this.documents = t0; this.project = t1; }, _setLoadedCompany___closure6: function _setLoadedCompany___closure6(t0) { this.project = t0; }, _setLoadedCompany_closure17: function _setLoadedCompany_closure17(t0) { this.documents = t0; }, _setLoadedCompany__closure17: function _setLoadedCompany__closure17(t0, t1) { this.documents = t0; this.purchaseOrder = t1; }, _setLoadedCompany___closure5: function _setLoadedCompany___closure5(t0) { this.purchaseOrder = t0; }, _setLoadedCompany_closure18: function _setLoadedCompany_closure18(t0) { this.documents = t0; }, _setLoadedCompany__closure16: function _setLoadedCompany__closure16(t0, t1) { this.documents = t0; this.quote = t1; }, _setLoadedCompany___closure4: function _setLoadedCompany___closure4(t0) { this.quote = t0; }, _setLoadedCompany_closure19: function _setLoadedCompany_closure19(t0) { this.documents = t0; }, _setLoadedCompany__closure15: function _setLoadedCompany__closure15(t0, t1) { this.documents = t0; this.recurringExpense = t1; }, _setLoadedCompany___closure3: function _setLoadedCompany___closure3(t0) { this.recurringExpense = t0; }, _setLoadedCompany_closure20: function _setLoadedCompany_closure20(t0) { this.documents = t0; }, _setLoadedCompany__closure14: function _setLoadedCompany__closure14(t0, t1) { this.documents = t0; this.recurringInvoice = t1; }, _setLoadedCompany___closure2: function _setLoadedCompany___closure2(t0) { this.recurringInvoice = t0; }, _setLoadedCompany_closure21: function _setLoadedCompany_closure21(t0) { this.documents = t0; }, _setLoadedCompany__closure13: function _setLoadedCompany__closure13(t0, t1) { this.documents = t0; this.task = t1; }, _setLoadedCompany___closure1: function _setLoadedCompany___closure1(t0) { this.task = t0; }, _setLoadedCompany_closure22: function _setLoadedCompany_closure22(t0) { this.documents = t0; }, _setLoadedCompany__closure12: function _setLoadedCompany__closure12(t0, t1) { this.documents = t0; this.vendor = t1; }, _setLoadedCompany___closure0: function _setLoadedCompany___closure0(t0) { this.vendor = t0; }, _setLoadedCompany_closure23: function _setLoadedCompany_closure23(t0) { this.documents = t0; }, _setLoadedCompany__closure11: function _setLoadedCompany__closure11(t0, t1) { this.documents = t0; this.payment = t1; }, _setLoadedCompany___closure: function _setLoadedCompany___closure(t0) { this.payment = t0; }, _setLoadedCompany_closure24: function _setLoadedCompany_closure24(t0) { this.documents = t0; }, _setLoadedCompany__closure9: function _setLoadedCompany__closure9() { }, _setLoadedCompany__closure10: function _setLoadedCompany__closure10() { }, _setLoadedCompany_closure25: function _setLoadedCompany_closure25(t0) { this.state = t0; }, filteredDocumentsSelector(selectionState, documentMap, documentList, documentListState) { var t1 = documentList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredDocumentsSelector_closure(documentMap, selectionState.filterEntityType, selectionState.filterEntityId, documentListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredDocumentsSelector_closure0(documentMap, documentListState)); return list; }, memoizedFilteredDocumentList_closure: function memoizedFilteredDocumentList_closure() { }, filteredDocumentsSelector_closure: function filteredDocumentsSelector_closure(t0, t1, t2, t3) { var _ = this; _.documentMap = t0; _.filterEntityType = t1; _.filterEntityId = t2; _.documentListState = t3; }, filteredDocumentsSelector_closure0: function filteredDocumentsSelector_closure0(t0, t1) { this.documentMap = t0; this.documentListState = t1; }, _$DocumentState$_(list, map) { var _s13_ = "DocumentState"; A.BuiltValueNullFieldError_checkNotNull(map, _s13_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s13_, "list"); return new A._$DocumentState(map, list); }, _$DocumentUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s15_ = "DocumentUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s15_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s15_, "tabIndex"); return new A._$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() { }, handleExpenseAction(context, expenses, action) { return A.handleExpenseAction$body(context, expenses, action); }, handleExpenseAction$body(context, expenses, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t2, t3, expense, t4, t5, expenseIds, t6, t7, t8, client, t9, t10, t11, items, message, _i, documentIds, _box_0, store, t1; var $async$handleExpenseAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.ExpenseEntity; expense = t3._as(B.JSArray_methods.get$first(expenses)); t4 = A._arrayInstanceType(expenses); t5 = t4._eval$1("MappedListIterable<1,String>"); expenseIds = A.List_List$of(new A.MappedListIterable(expenses, new A.handleExpenseAction_closure(), t5), true, t5._eval$1("ListIterable.E")); t5 = t1.userCompanyStates; t6 = t1.uiState.selectedCompanyIndex; t5 = t5._list$_list; t7 = t5[t6].clientState; t8 = expense.clientId; t8.toString; client = t7.$get$1(0, t8); case 2: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 4; break; case B.EntityAction_clone: // goto case $async$goto = 5; break; case B.EntityAction_cloneToExpense: // goto case $async$goto = 6; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 7; break; case B.EntityAction_invoiceExpense: // goto case $async$goto = 8; break; case B.EntityAction_addToInvoice: // goto case $async$goto = 9; break; case B.EntityAction_restore: // goto case $async$goto = 10; break; case B.EntityAction_archive: // goto case $async$goto = 11; break; case B.EntityAction_delete: // goto case $async$goto = 12; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 13; break; case B.EntityAction_more: // goto case $async$goto = 14; break; case B.EntityAction_documents: // goto case $async$goto = 15; break; case B.EntityAction_addComment: // goto case $async$goto = 16; break; default: // goto default $async$goto = 17; break; } break; case 4: // case A.editEntity(null, expense, true, null); // goto after switch $async$goto = 3; break; case 5: // case case 6: // case A.createEntity(null, null, expense.get$clone(0).rebuild$1(new A.handleExpenseAction_closure0()), null, false); // goto after switch $async$goto = 3; break; case 7: // case A.createEntity(null, null, expense.get$clone(0).rebuild$1(new A.handleExpenseAction_closure1()), null, false); // goto after switch $async$goto = 3; break; case 8: // case case 9: // case t2 = new A.handleExpenseAction_closure2(); _box_0.vendorId = _box_0.projectId = ""; for (t7 = B.JSArray_methods.get$iterator(expenses), t9 = new A.WhereIterator(t7, t2, t4._eval$1("WhereIterator<1>")), t10 = client.id; t9.moveNext$0();) { expense = t3._as(t7.get$current(0)); t11 = expense.vendorId; if (t11.length !== 0) _box_0.vendorId = t11; t11 = expense.projectId; if (t11.length !== 0) if (_box_0.projectId.length === 0 && t5[t6].projectState.$get$1(0, t11).clientId === t10) _box_0.projectId = t11; } t3 = t4._eval$1("MappedIterable<1,InvoiceItemEntity>"); items = A.List_List$of(new A.MappedIterable(new A.WhereIterable(expenses, t2, t4._eval$1("WhereIterable<1>")), new A.handleExpenseAction_closure3(context), t3), true, t3._eval$1("Iterable.E")); if (items.length !== 0) if (action === B.EntityAction_invoiceExpense) A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, null, null, t1, null, null).rebuild$1(new A.handleExpenseAction_closure4(_box_0, items)), null, false); else A.addToInvoiceDialog(t8, context, items); // goto after switch $async$goto = 3; break; case 10: // case t1 = expenseIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_expenses"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_expense"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreExpenseRequest(t1, expenseIds)); // goto after switch $async$goto = 3; break; case 11: // case t1 = expenseIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_expenses"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_expense"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveExpenseRequest(t1, expenseIds)); // goto after switch $async$goto = 3; break; case 12: // case t1 = expenseIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_expenses"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_expense"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteExpenseRequest(t1, expenseIds)); // goto after switch $async$goto = 3; break; case 13: // case if (store.__Store__state_A.uiState.expenseUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartExpenseMultiselect()); } t1 = expenses.length; if (t1 === 0) { // goto after switch $async$goto = 3; break; } for (_i = 0; _i < expenses.length; expenses.length === t1 || (0, A.throwConcurrentModificationError)(expenses), ++_i) { expense = expenses[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(expense); t2 = t2.expenseUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToExpenseMultiselect(expense)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromExpenseMultiselect(expense)); } } // goto after switch $async$goto = 3; break; case 14: // case A.showEntityActionsDialog(null, A._setArrayType([expense], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 3; break; case 15: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = expenses.length, _i = 0; _i < expenses.length; expenses.length === t1 || (0, A.throwConcurrentModificationError)(expenses), ++_i) for (t4 = t3._as(expenses[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 3; break; case 16: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 18; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleExpenseAction_closure5(expense), t1, null, true, type$.bool), $async$handleExpenseAction); case 18: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadExpense(null, expense.id)); } // goto after switch $async$goto = 3; break; case 17: // default A.print("## ERROR: unhandled action " + A.S(action) + " in expense_actions"); // goto after switch $async$goto = 3; break; case 3: // after switch // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$handleExpenseAction, $async$completer); }, ViewExpenseList: function ViewExpenseList(t0) { this.page = t0; }, 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(t0, t1) { this.completer = t0; this.page = t1; }, 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, t1) { this._box_0 = t0; this.items = t1; }, handleExpenseAction_closure5: function handleExpenseAction_closure5(t0) { this.expense = 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, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.expense = t3; }, SaveExpenseDocumentFailure: function SaveExpenseDocumentFailure() { }, UpdateExpenseTab: function UpdateExpenseTab(t0) { this.tabIndex = t0; }, _editExpense() { return new A._editExpense_closure(); }, _viewExpense() { return new A._viewExpense_closure(); }, _viewExpenseList() { return new A._viewExpenseList_closure0(); }, _archiveExpense(repository) { return new A._archiveExpense_closure(repository); }, _deleteExpense(repository) { return new A._deleteExpense_closure(repository); }, _restoreExpense(repository) { return new A._restoreExpense_closure(repository); }, _saveExpense(repository) { return new A._saveExpense_closure(repository); }, _loadExpense(repository) { return new A._loadExpense_closure(repository); }, _loadExpenses(repository) { return new A._loadExpenses_closure(repository); }, _saveDocument3(repository) { return new A._saveDocument_closure10(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___closure: function _loadExpenses___closure(t0) { this.documents = t0; }, _loadExpenses____closure: function _loadExpenses____closure(t0, t1) { this.documents = t0; this.expense = t1; }, _loadExpenses_____closure: function _loadExpenses_____closure(t0) { this.expense = t0; }, _loadExpenses__closure0: function _loadExpenses__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___closure10: function _saveDocument___closure10(t0, t1) { this.documents = t0; this.expense = t1; }, _saveDocument____closure10: function _saveDocument____closure10(t0) { this.expense = t0; }, _saveDocument__closure22: function _saveDocument__closure22(t0, t1) { this.store = t0; this.action = t1; }, expenseUIReducer(state, action) { var t1 = new A.ExpenseUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._expense_state$_$v = state; new A.expenseUIReducer_closure(state, action).call$1(t1); return t1._expense_state$_build$0(); }, _clearEditing3(expense, action) { var _null = null; return A.ExpenseEntity_ExpenseEntity(_null, _null, _null, _null, _null, _null, _null); }, _updateEditing4(expense, action) { return action.get$expense(); }, _viewExpenseList0(expenseListState, action) { return expenseListState.rebuild$1(new A._viewExpenseList_closure()); }, _filterExpensesByCustom1(expenseListState, action) { if (B.JSArray_methods.contains$1(expenseListState.custom1Filters._list$_list, action.value)) return expenseListState.rebuild$1(new A._filterExpensesByCustom1_closure(action)); else return expenseListState.rebuild$1(new A._filterExpensesByCustom1_closure0(action)); }, _filterExpensesByCustom2(expenseListState, action) { if (B.JSArray_methods.contains$1(expenseListState.custom2Filters._list$_list, action.value)) return expenseListState.rebuild$1(new A._filterExpensesByCustom2_closure(action)); else return expenseListState.rebuild$1(new A._filterExpensesByCustom2_closure0(action)); }, _filterExpensesByCustom3(expenseListState, action) { if (B.JSArray_methods.contains$1(expenseListState.custom3Filters._list$_list, action.value)) return expenseListState.rebuild$1(new A._filterExpensesByCustom3_closure(action)); else return expenseListState.rebuild$1(new A._filterExpensesByCustom3_closure0(action)); }, _filterExpensesByCustom4(expenseListState, action) { if (B.JSArray_methods.contains$1(expenseListState.custom4Filters._list$_list, action.value)) return expenseListState.rebuild$1(new A._filterExpensesByCustom4_closure(action)); else return expenseListState.rebuild$1(new A._filterExpensesByCustom4_closure0(action)); }, _filterExpensesByState(expenseListState, action) { if (B.JSArray_methods.contains$1(expenseListState.stateFilters._list$_list, action.state)) return expenseListState.rebuild$1(new A._filterExpensesByState_closure(action)); else return expenseListState.rebuild$1(new A._filterExpensesByState_closure0(action)); }, _filterExpensesByStatus(expenseListState, action) { if (B.JSArray_methods.contains$1(expenseListState.statusFilters._list$_list, action.status)) return expenseListState.rebuild$1(new A._filterExpensesByStatus_closure(action)); else return expenseListState.rebuild$1(new A._filterExpensesByStatus_closure0(action)); }, _filterExpenses(expenseListState, action) { return expenseListState.rebuild$1(new A._filterExpenses_closure(action, expenseListState)); }, _sortExpenses(expenseListState, action) { return expenseListState.rebuild$1(new A._sortExpenses_closure(action)); }, _startListMultiselect5(expenseListState, action) { return expenseListState.rebuild$1(new A._startListMultiselect_closure4()); }, _addToListMultiselect5(expenseListState, action) { return expenseListState.rebuild$1(new A._addToListMultiselect_closure4(action)); }, _removeFromListMultiselect5(expenseListState, action) { return expenseListState.rebuild$1(new A._removeFromListMultiselect_closure4(action)); }, _clearListMultiselect5(expenseListState, action) { return expenseListState.rebuild$1(new A._clearListMultiselect_closure4()); }, _purgeClientSuccess1(expenseState, action) { var t1 = expenseState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return expenseState.rebuild$1(new A._purgeClientSuccess_closure20(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure21(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure22(), t3), true, t3._eval$1("Iterable.E")))); }, _archiveExpenseSuccess(expenseState, action) { return expenseState.rebuild$1(new A._archiveExpenseSuccess_closure(action)); }, _deleteExpenseSuccess(expenseState, action) { return expenseState.rebuild$1(new A._deleteExpenseSuccess_closure(action)); }, _restoreExpenseSuccess(expenseState, action) { return expenseState.rebuild$1(new A._restoreExpenseSuccess_closure(action)); }, _addExpense(expenseState, action) { return expenseState.rebuild$1(new A._addExpense_closure(action)); }, _updateExpense(expenseState, action) { return expenseState.rebuild$1(new A._updateExpense_closure(action)); }, _setLoadedExpense(expenseState, action) { return expenseState.rebuild$1(new A._setLoadedExpense_closure(action)); }, _setLoadedExpenses(expenseState, action) { return expenseState.loadExpenses$1(action.expenses); }, _setLoadedCompany5(expenseState, action) { return expenseState.loadExpenses$1(action.userCompany.company.expenses); }, expenseUIReducer_closure: function expenseUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure42: function forceSelectedReducer_closure42() { }, forceSelectedReducer_closure43: function forceSelectedReducer_closure43() { }, forceSelectedReducer_closure44: function forceSelectedReducer_closure44() { }, forceSelectedReducer_closure45: function forceSelectedReducer_closure45() { }, forceSelectedReducer_closure46: function forceSelectedReducer_closure46() { }, forceSelectedReducer_closure47: function forceSelectedReducer_closure47() { }, forceSelectedReducer_closure48: function forceSelectedReducer_closure48() { }, forceSelectedReducer_closure49: function forceSelectedReducer_closure49() { }, forceSelectedReducer_closure50: function forceSelectedReducer_closure50() { }, tabIndexReducer_closure9: function tabIndexReducer_closure9() { }, tabIndexReducer_closure10: function tabIndexReducer_closure10() { }, selectedIdReducer_closure80: function selectedIdReducer_closure80() { }, selectedIdReducer_closure81: function selectedIdReducer_closure81() { }, selectedIdReducer_closure82: function selectedIdReducer_closure82() { }, selectedIdReducer_closure83: function selectedIdReducer_closure83() { }, selectedIdReducer_closure84: function selectedIdReducer_closure84() { }, selectedIdReducer_closure85: function selectedIdReducer_closure85() { }, selectedIdReducer_closure86: function selectedIdReducer_closure86() { }, selectedIdReducer_closure87: function selectedIdReducer_closure87() { }, selectedIdReducer_closure88: function selectedIdReducer_closure88() { }, selectedIdReducer_closure89: function selectedIdReducer_closure89() { }, selectedIdReducer_closure90: function selectedIdReducer_closure90() { }, selectedIdReducer_closure91: function selectedIdReducer_closure91() { }, selectedIdReducer_closure92: function selectedIdReducer_closure92() { }, selectedIdReducer_closure93: function selectedIdReducer_closure93() { }, selectedIdReducer_closure94: function selectedIdReducer_closure94() { }, editingReducer_closure28: function editingReducer_closure28() { }, editingReducer_closure29: function editingReducer_closure29() { }, editingReducer_closure30: function editingReducer_closure30() { }, editingReducer_closure31: function editingReducer_closure31() { }, editingReducer__closure10: function editingReducer__closure10() { }, expenseListReducer_closure: function expenseListReducer_closure() { }, expenseListReducer__closure: function expenseListReducer__closure() { }, _viewExpenseList_closure: function _viewExpenseList_closure() { }, _filterExpensesByCustom1_closure: function _filterExpensesByCustom1_closure(t0) { this.action = t0; }, _filterExpensesByCustom1_closure0: function _filterExpensesByCustom1_closure0(t0) { this.action = t0; }, _filterExpensesByCustom2_closure: function _filterExpensesByCustom2_closure(t0) { this.action = t0; }, _filterExpensesByCustom2_closure0: function _filterExpensesByCustom2_closure0(t0) { this.action = t0; }, _filterExpensesByCustom3_closure: function _filterExpensesByCustom3_closure(t0) { this.action = t0; }, _filterExpensesByCustom3_closure0: function _filterExpensesByCustom3_closure0(t0) { this.action = t0; }, _filterExpensesByCustom4_closure: function _filterExpensesByCustom4_closure(t0) { this.action = t0; }, _filterExpensesByCustom4_closure0: function _filterExpensesByCustom4_closure0(t0) { this.action = t0; }, _filterExpensesByState_closure: function _filterExpensesByState_closure(t0) { this.action = t0; }, _filterExpensesByState_closure0: function _filterExpensesByState_closure0(t0) { this.action = t0; }, _filterExpensesByStatus_closure: function _filterExpensesByStatus_closure(t0) { this.action = t0; }, _filterExpensesByStatus_closure0: function _filterExpensesByStatus_closure0(t0) { this.action = t0; }, _filterExpenses_closure: function _filterExpenses_closure(t0, t1) { this.action = t0; this.expenseListState = t1; }, _sortExpenses_closure: function _sortExpenses_closure(t0) { this.action = t0; }, _startListMultiselect_closure4: function _startListMultiselect_closure4() { }, _addToListMultiselect_closure4: function _addToListMultiselect_closure4(t0) { this.action = t0; }, _removeFromListMultiselect_closure4: function _removeFromListMultiselect_closure4(t0) { this.action = t0; }, _clearListMultiselect_closure4: function _clearListMultiselect_closure4() { }, _purgeClientSuccess_closure21: function _purgeClientSuccess_closure21(t0) { this.action = t0; }, _purgeClientSuccess_closure22: function _purgeClientSuccess_closure22() { }, _purgeClientSuccess_closure20: function _purgeClientSuccess_closure20(t0) { this.ids = t0; }, _purgeClientSuccess__closure13: function _purgeClientSuccess__closure13(t0) { this.ids = t0; }, _purgeClientSuccess__closure14: function _purgeClientSuccess__closure14(t0) { this.ids = t0; }, _archiveExpenseSuccess_closure: function _archiveExpenseSuccess_closure(t0) { this.action = t0; }, _deleteExpenseSuccess_closure: function _deleteExpenseSuccess_closure(t0) { this.action = t0; }, _restoreExpenseSuccess_closure: function _restoreExpenseSuccess_closure(t0) { this.action = t0; }, _addExpense_closure: function _addExpense_closure(t0) { this.action = t0; }, _updateExpense_closure: function _updateExpense_closure(t0) { this.action = t0; }, _setLoadedExpense_closure: function _setLoadedExpense_closure(t0) { this.action = t0; }, expensePurchaseOrderSelector(expense, purchaseOrderMap) { purchaseOrderMap._map$_map.forEach$1(0, new A.expensePurchaseOrderSelector_closure(expense)); return null; }, convertExpenseToInvoiceItem(context, expense) { var t2, t3, company, t4, fieldLabel1, fieldLabel2, fieldLabel3, fieldLabel4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, customValues, value, _box_0 = {}, t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t1 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list; t3 = t2[t1]; company = t3.userCompany.company; t3 = t3.expenseCategoryState; t4 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t4.toString; _box_0.customValue4 = _box_0.customValue3 = _box_0.customValue2 = _box_0.customValue1 = ""; fieldLabel1 = company.getCustomFieldLabel$1("product1"); fieldLabel2 = company.getCustomFieldLabel$1("product2"); fieldLabel3 = company.getCustomFieldLabel$1("product3"); fieldLabel4 = company.getCustomFieldLabel$1("product4"); t5 = company.getCustomFieldLabel$1("expense1"); t6 = company.getCustomFieldLabel$1("expense2"); t7 = company.getCustomFieldLabel$1("expense3"); t8 = company.getCustomFieldLabel$1("expense4"); t9 = $.$get$LocalizationsProvider__localizedValues(); t4 = t4.localeCode; t10 = t9.$index(0, t4); t10.toString; t10 = J.$index$asx(t10, "category"); t10.toString; t11 = t2[t1].expenseCategoryState.$get$1(0, expense.categoryId); t12 = t9.$index(0, t4); t12.toString; t12 = J.$index$asx(t12, "vendor"); t12.toString; t13 = t2[t1].vendorState; t14 = expense.vendorId; t14.toString; t14 = t13.$get$1(0, t14); t13 = t9.$index(0, t4); t13.toString; t13 = J.$index$asx(t13, "date"); t13.toString; t15 = A.formatDate(expense.date, context, true, true, false); t4 = t9.$index(0, t4); t4.toString; t4 = J.$index$asx(t4, "project"); t4.toString; t1 = t2[t1].projectState; t2 = expense.projectId; t2.toString; t9 = type$.String; customValues = A.LinkedHashMap_LinkedHashMap$_literal([t5, expense.customValue1, t6, expense.customValue2, t7, expense.customValue3, t8, expense.customValue4, t10, t11.name, t12, t14.name, t13, t15, t4, t1.$get$1(0, t2).name], t9, t9); for (t1 = A.LinkedHashMapKeyIterator$(customValues, customValues._modifications, A._instanceType(customValues)._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; value = customValues.$index(0, t2); if (fieldLabel1.toLowerCase() === t2.toLowerCase()) _box_0.customValue1 = value; else if (fieldLabel2.toLowerCase() === t2.toLowerCase()) _box_0.customValue2 = value; else if (fieldLabel3.toLowerCase() === t2.toLowerCase()) _box_0.customValue3 = value; else if (fieldLabel4.toLowerCase() === t2.toLowerCase()) _box_0.customValue4 = value; } return A.InvoiceItemEntity_InvoiceItemEntity(null, null).rebuild$1(new A.convertExpenseToInvoiceItem_closure(_box_0, expense, t3.map, company)); }, filteredExpensesSelector(selectionState, expenseMap, clientMap, vendorMap, userMap, expenseListState, invoiceMap, expenseCategoryMap, staticState) { var t1 = expenseMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredExpensesSelector_closure(expenseMap, expenseCategoryMap, vendorMap, clientMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, expenseListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredExpensesSelector_closure0(expenseMap, expenseListState, clientMap, userMap, vendorMap, invoiceMap, expenseCategoryMap, staticState)); return list; }, expenseStatsForVendor(vendorId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.expenseStatsForVendor_closure(t1, vendorId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, expenseStatsForClient(clientId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.expenseStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, clientExpenseList(expenseMap, clientId) { var t1 = expenseMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.clientExpenseList_closure(expenseMap, clientId), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.clientExpenseList_closure0(expenseMap)); return list; }, expenseStatsForProject(projectId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.expenseStatsForProject_closure(t1, projectId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, expenseStatsForUser(userId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.expenseStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, memoizedExpensePurchaseOrderSelector_closure: function memoizedExpensePurchaseOrderSelector_closure() { }, expensePurchaseOrderSelector_closure: function expensePurchaseOrderSelector_closure(t0) { this.expense = t0; }, convertExpenseToInvoiceItem_closure: function convertExpenseToInvoiceItem_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.expense = t1; _.categoryMap = t2; _.company = t3; }, memoizedFilteredExpenseList_closure: function memoizedFilteredExpenseList_closure() { }, filteredExpensesSelector_closure: function filteredExpensesSelector_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.expenseMap = t0; _.expenseCategoryMap = t1; _.vendorMap = t2; _.clientMap = t3; _.selectionState = t4; _.filterEntityType = t5; _.filterEntityId = t6; _.expenseListState = t7; }, filteredExpensesSelector_closure0: function filteredExpensesSelector_closure0(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.expenseMap = t0; _.expenseListState = t1; _.clientMap = t2; _.userMap = t3; _.vendorMap = t4; _.invoiceMap = t5; _.expenseCategoryMap = t6; _.staticState = t7; }, memoizedExpenseStatsForVendor_closure: function memoizedExpenseStatsForVendor_closure() { }, expenseStatsForVendor_closure: function expenseStatsForVendor_closure(t0, t1) { this._box_0 = t0; this.vendorId = t1; }, memoizedExpenseStatsForClient_closure: function memoizedExpenseStatsForClient_closure() { }, expenseStatsForClient_closure: function expenseStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, memoizedClientExpenseList_closure: function memoizedClientExpenseList_closure() { }, clientExpenseList_closure: function clientExpenseList_closure(t0, t1) { this.expenseMap = t0; this.clientId = t1; }, clientExpenseList_closure0: function clientExpenseList_closure0(t0) { this.expenseMap = t0; }, memoizedExpenseStatsForProject_closure: function memoizedExpenseStatsForProject_closure() { }, expenseStatsForProject_closure: function expenseStatsForProject_closure(t0, t1) { this._box_0 = t0; this.projectId = t1; }, memoizedExpenseStatsForUser_closure: function memoizedExpenseStatsForUser_closure() { }, expenseStatsForUser_closure: function expenseStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, _$ExpenseState$_(list, map) { var _s12_ = "ExpenseState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$ExpenseState(map, list); }, _$ExpenseUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "ExpenseUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$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() { }, handleExpenseCategoryAction(context, expenseCategories, action) { var store, t1, t2, expenseCategory, t3, expenseCategoryIds, message, _i, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (expenseCategories.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); expenseCategory = type$.ExpenseCategoryEntity._as(B.JSArray_methods.get$first(expenseCategories)); t3 = A._arrayInstanceType(expenseCategories)._eval$1("MappedListIterable<1,String>"); expenseCategoryIds = A.List_List$of(new A.MappedListIterable(expenseCategories, new A.handleExpenseCategoryAction_closure(), t3), true, t3._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, expenseCategory, true, _null); break; case B.EntityAction_restore: t1 = expenseCategoryIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_expense_categories"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_expense_category"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreExpenseCategoriesRequest(t1, expenseCategoryIds)); break; case B.EntityAction_archive: t1 = expenseCategoryIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_expense_categories"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_expense_category"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveExpenseCategoriesRequest(t1, expenseCategoryIds)); break; case B.EntityAction_delete: t1 = expenseCategoryIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_expense_categories"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_expense_category"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteExpenseCategoriesRequest(t1, expenseCategoryIds)); break; case B.EntityAction_newExpense: A.createEntity(_null, _null, A.ExpenseEntity_ExpenseEntity(_null, _null, _null, _null, t1, _null, _null).rebuild$1(new A.handleExpenseCategoryAction_closure0(expenseCategory)), _null, false); break; case B.EntityAction_newTransaction: A.createEntity(_null, _null, A.TransactionEntity_TransactionEntity(_null, t1).rebuild$1(new A.handleExpenseCategoryAction_closure1(expenseCategory)), _null, false); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.expenseCategoryUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartExpenseCategoryMultiselect()); } t1 = expenseCategories.length; if (t1 === 0) break; for (_i = 0; _i < expenseCategories.length; expenseCategories.length === t1 || (0, A.throwConcurrentModificationError)(expenseCategories), ++_i) { expenseCategory = expenseCategories[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(expenseCategory); t2 = t2.expenseCategoryUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToExpenseCategoryMultiselect(expenseCategory)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromExpenseCategoryMultiselect(expenseCategory)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([expenseCategory], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in expense_category_actions"); break; } }, ViewExpenseCategoryList: function ViewExpenseCategoryList() { }, ViewExpenseCategory: function ViewExpenseCategory(t0) { this.expenseCategoryId = t0; }, EditExpenseCategory: function EditExpenseCategory(t0, t1, t2) { this.expenseCategory = t0; this.completer = t1; this.cancelCompleter = t2; }, UpdateExpenseCategory: function UpdateExpenseCategory(t0) { this.expenseCategory = t0; }, LoadExpenseCategoryRequest: function LoadExpenseCategoryRequest() { }, LoadExpenseCategoryFailure: function LoadExpenseCategoryFailure(t0) { this.error = t0; }, LoadExpenseCategorySuccess: function LoadExpenseCategorySuccess(t0) { this.expenseCategory = t0; }, LoadExpenseCategoriesRequest: function LoadExpenseCategoriesRequest() { }, LoadExpenseCategoriesFailure: function LoadExpenseCategoriesFailure(t0) { this.error = t0; }, LoadExpenseCategoriesSuccess: function LoadExpenseCategoriesSuccess(t0) { this.expenseCategories = t0; }, SaveExpenseCategoryRequest: function SaveExpenseCategoryRequest(t0, t1) { this.completer = t0; this.expenseCategory = t1; }, SaveExpenseCategorySuccess: function SaveExpenseCategorySuccess(t0) { this.expenseCategory = t0; }, AddExpenseCategorySuccess: function AddExpenseCategorySuccess(t0) { this.expenseCategory = t0; }, SaveExpenseCategoryFailure: function SaveExpenseCategoryFailure() { }, ArchiveExpenseCategoriesRequest: function ArchiveExpenseCategoriesRequest(t0, t1) { this.completer = t0; this.expenseCategoryIds = t1; }, ArchiveExpenseCategoriesSuccess: function ArchiveExpenseCategoriesSuccess(t0) { this.expenseCategories = t0; }, ArchiveExpenseCategoriesFailure: function ArchiveExpenseCategoriesFailure() { }, DeleteExpenseCategoriesRequest: function DeleteExpenseCategoriesRequest(t0, t1) { this.completer = t0; this.expenseCategoryIds = t1; }, DeleteExpenseCategoriesSuccess: function DeleteExpenseCategoriesSuccess(t0) { this.expenseCategories = t0; }, DeleteExpenseCategoriesFailure: function DeleteExpenseCategoriesFailure() { }, RestoreExpenseCategoriesRequest: function RestoreExpenseCategoriesRequest(t0, t1) { this.completer = t0; this.expenseCategoryIds = t1; }, RestoreExpenseCategoriesSuccess: function RestoreExpenseCategoriesSuccess(t0) { this.expenseCategories = t0; }, RestoreExpenseCategoriesFailure: function RestoreExpenseCategoriesFailure() { }, FilterExpenseCategories: function FilterExpenseCategories(t0) { this.filter = t0; }, SortExpenseCategories: function SortExpenseCategories(t0) { this.field = t0; }, FilterExpenseCategoriesByState: function FilterExpenseCategoriesByState(t0) { this.state = t0; }, FilterExpenseCategoriesByCustom1: function FilterExpenseCategoriesByCustom1(t0) { this.value = t0; }, FilterExpenseCategoriesByCustom2: function FilterExpenseCategoriesByCustom2(t0) { this.value = t0; }, FilterExpenseCategoriesByCustom3: function FilterExpenseCategoriesByCustom3(t0) { this.value = t0; }, FilterExpenseCategoriesByCustom4: function FilterExpenseCategoriesByCustom4(t0) { this.value = t0; }, StartExpenseCategoryMultiselect: function StartExpenseCategoryMultiselect() { }, AddToExpenseCategoryMultiselect: function AddToExpenseCategoryMultiselect(t0) { this.entity = t0; }, RemoveFromExpenseCategoryMultiselect: function RemoveFromExpenseCategoryMultiselect(t0) { this.entity = t0; }, ClearExpenseCategoryMultiselect: function ClearExpenseCategoryMultiselect() { }, handleExpenseCategoryAction_closure: function handleExpenseCategoryAction_closure() { }, handleExpenseCategoryAction_closure0: function handleExpenseCategoryAction_closure0(t0) { this.expenseCategory = t0; }, handleExpenseCategoryAction_closure1: function handleExpenseCategoryAction_closure1(t0) { this.expenseCategory = t0; }, _editExpenseCategory() { return new A._editExpenseCategory_closure(); }, _viewExpenseCategory() { return new A._viewExpenseCategory_closure(); }, _viewExpenseCategoryList() { return new A._viewExpenseCategoryList_closure(); }, _archiveExpenseCategory(repository) { return new A._archiveExpenseCategory_closure(repository); }, _deleteExpenseCategory(repository) { return new A._deleteExpenseCategory_closure(repository); }, _restoreExpenseCategory(repository) { return new A._restoreExpenseCategory_closure(repository); }, _saveExpenseCategory(repository) { return new A._saveExpenseCategory_closure(repository); }, _loadExpenseCategory(repository) { return new A._loadExpenseCategory_closure(repository); }, _loadExpenseCategories(repository) { return new A._loadExpenseCategories_closure(repository); }, _editExpenseCategory_closure: function _editExpenseCategory_closure() { }, _viewExpenseCategory_closure: function _viewExpenseCategory_closure() { }, _viewExpenseCategoryList_closure: function _viewExpenseCategoryList_closure() { }, _viewExpenseCategoryList__closure: function _viewExpenseCategoryList__closure() { }, _archiveExpenseCategory_closure: function _archiveExpenseCategory_closure(t0) { this.repository = t0; }, _archiveExpenseCategory__closure: function _archiveExpenseCategory__closure(t0) { this.store = t0; }, _archiveExpenseCategory__closure0: function _archiveExpenseCategory__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveExpenseCategory__closure1: function _archiveExpenseCategory__closure1(t0, t1, t2) { this.store = t0; this.prevExpenseCategories = t1; this.action = t2; }, _deleteExpenseCategory_closure: function _deleteExpenseCategory_closure(t0) { this.repository = t0; }, _deleteExpenseCategory__closure: function _deleteExpenseCategory__closure(t0) { this.store = t0; }, _deleteExpenseCategory__closure0: function _deleteExpenseCategory__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteExpenseCategory__closure1: function _deleteExpenseCategory__closure1(t0, t1, t2) { this.store = t0; this.prevExpenseCategories = t1; this.action = t2; }, _restoreExpenseCategory_closure: function _restoreExpenseCategory_closure(t0) { this.repository = t0; }, _restoreExpenseCategory__closure: function _restoreExpenseCategory__closure(t0) { this.store = t0; }, _restoreExpenseCategory__closure0: function _restoreExpenseCategory__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreExpenseCategory__closure1: function _restoreExpenseCategory__closure1(t0, t1, t2) { this.store = t0; this.prevExpenseCategories = t1; this.action = t2; }, _saveExpenseCategory_closure: function _saveExpenseCategory_closure(t0) { this.repository = t0; }, _saveExpenseCategory__closure: function _saveExpenseCategory__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveExpenseCategory__closure0: function _saveExpenseCategory__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadExpenseCategory_closure: function _loadExpenseCategory_closure(t0) { this.repository = t0; }, _loadExpenseCategory__closure: function _loadExpenseCategory__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadExpenseCategory__closure0: function _loadExpenseCategory__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadExpenseCategories_closure: function _loadExpenseCategories_closure(t0) { this.repository = t0; }, _loadExpenseCategories__closure: function _loadExpenseCategories__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadExpenseCategories__closure0: function _loadExpenseCategories__closure0(t0, t1) { this.store = t0; this.action = t1; }, expenseCategoryUIReducer(state, action) { var t1 = new A.ExpenseCategoryUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._expense_category_state$_$v = state; new A.expenseCategoryUIReducer_closure(state, action).call$1(t1); return t1._expense_category_state$_build$0(); }, _clearEditing4(expenseCategory, action) { return A.ExpenseCategoryEntity_ExpenseCategoryEntity(null, null); }, _updateEditing5(expenseCategory, action) { return action.get$expenseCategory(); }, _filterExpenseCategoriesByCustom1(expenseCategoryListState, action) { if (B.JSArray_methods.contains$1(expenseCategoryListState.custom1Filters._list$_list, action.value)) return expenseCategoryListState.rebuild$1(new A._filterExpenseCategoriesByCustom1_closure(action)); else return expenseCategoryListState.rebuild$1(new A._filterExpenseCategoriesByCustom1_closure0(action)); }, _filterExpenseCategoriesByCustom2(expenseCategoryListState, action) { if (B.JSArray_methods.contains$1(expenseCategoryListState.custom2Filters._list$_list, action.value)) return expenseCategoryListState.rebuild$1(new A._filterExpenseCategoriesByCustom2_closure(action)); else return expenseCategoryListState.rebuild$1(new A._filterExpenseCategoriesByCustom2_closure0(action)); }, _filterExpenseCategoriesByState(expenseCategoryListState, action) { if (B.JSArray_methods.contains$1(expenseCategoryListState.stateFilters._list$_list, action.state)) return expenseCategoryListState.rebuild$1(new A._filterExpenseCategoriesByState_closure(action)); else return expenseCategoryListState.rebuild$1(new A._filterExpenseCategoriesByState_closure0(action)); }, _filterExpenseCategories(expenseCategoryListState, action) { return expenseCategoryListState.rebuild$1(new A._filterExpenseCategories_closure(action, expenseCategoryListState)); }, _sortExpenseCategories(expenseCategoryListState, action) { return expenseCategoryListState.rebuild$1(new A._sortExpenseCategories_closure(action)); }, _startListMultiselect6(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure16()); }, _addToListMultiselect6(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure16(action)); }, _removeFromListMultiselect6(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure16(action)); }, _clearListMultiselect6(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure16()); }, _archiveExpenseCategorySuccess(expenseCategoryState, action) { return expenseCategoryState.rebuild$1(new A._archiveExpenseCategorySuccess_closure(action)); }, _deleteExpenseCategorySuccess(expenseCategoryState, action) { return expenseCategoryState.rebuild$1(new A._deleteExpenseCategorySuccess_closure(action)); }, _restoreExpenseCategorySuccess(expenseCategoryState, action) { return expenseCategoryState.rebuild$1(new A._restoreExpenseCategorySuccess_closure(action)); }, _addExpenseCategory(expenseCategoryState, action) { return expenseCategoryState.rebuild$1(new A._addExpenseCategory_closure(action)); }, _updateExpenseCategory(expenseCategoryState, action) { return expenseCategoryState.rebuild$1(new A._updateExpenseCategory_closure(action)); }, _setLoadedExpenseCategory(expenseCategoryState, action) { return expenseCategoryState.rebuild$1(new A._setLoadedExpenseCategory_closure(action)); }, _setLoadedExpenseCategories(expenseCategoryState, action) { return expenseCategoryState.loadExpenseCategories$1(action.expenseCategories); }, _setLoadedCompany6(expenseCategoryState, action) { return expenseCategoryState.loadExpenseCategories$1(action.userCompany.company.expenseCategories); }, expenseCategoryUIReducer_closure: function expenseCategoryUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, saveCompleterReducer_closure1: function saveCompleterReducer_closure1() { }, cancelCompleterReducer_closure1: function cancelCompleterReducer_closure1() { }, forceSelectedReducer_closure134: function forceSelectedReducer_closure134() { }, forceSelectedReducer_closure135: function forceSelectedReducer_closure135() { }, forceSelectedReducer_closure136: function forceSelectedReducer_closure136() { }, forceSelectedReducer_closure137: function forceSelectedReducer_closure137() { }, forceSelectedReducer_closure138: function forceSelectedReducer_closure138() { }, forceSelectedReducer_closure139: function forceSelectedReducer_closure139() { }, forceSelectedReducer_closure140: function forceSelectedReducer_closure140() { }, forceSelectedReducer_closure141: function forceSelectedReducer_closure141() { }, selectedIdReducer_closure258: function selectedIdReducer_closure258() { }, selectedIdReducer_closure259: function selectedIdReducer_closure259() { }, selectedIdReducer_closure260: function selectedIdReducer_closure260() { }, selectedIdReducer_closure261: function selectedIdReducer_closure261() { }, selectedIdReducer_closure262: function selectedIdReducer_closure262() { }, selectedIdReducer_closure263: function selectedIdReducer_closure263() { }, selectedIdReducer_closure264: function selectedIdReducer_closure264() { }, selectedIdReducer_closure265: function selectedIdReducer_closure265() { }, selectedIdReducer_closure266: function selectedIdReducer_closure266() { }, selectedIdReducer_closure267: function selectedIdReducer_closure267() { }, selectedIdReducer_closure268: function selectedIdReducer_closure268() { }, selectedIdReducer_closure269: function selectedIdReducer_closure269() { }, selectedIdReducer_closure270: function selectedIdReducer_closure270() { }, selectedIdReducer_closure271: function selectedIdReducer_closure271() { }, selectedIdReducer_closure272: function selectedIdReducer_closure272() { }, editingReducer_closure87: function editingReducer_closure87() { }, editingReducer_closure88: function editingReducer_closure88() { }, editingReducer_closure89: function editingReducer_closure89() { }, editingReducer_closure90: function editingReducer_closure90() { }, editingReducer__closure34: function editingReducer__closure34() { }, expenseCategoryListReducer_closure: function expenseCategoryListReducer_closure() { }, expenseCategoryListReducer__closure: function expenseCategoryListReducer__closure() { }, _filterExpenseCategoriesByCustom1_closure: function _filterExpenseCategoriesByCustom1_closure(t0) { this.action = t0; }, _filterExpenseCategoriesByCustom1_closure0: function _filterExpenseCategoriesByCustom1_closure0(t0) { this.action = t0; }, _filterExpenseCategoriesByCustom2_closure: function _filterExpenseCategoriesByCustom2_closure(t0) { this.action = t0; }, _filterExpenseCategoriesByCustom2_closure0: function _filterExpenseCategoriesByCustom2_closure0(t0) { this.action = t0; }, _filterExpenseCategoriesByState_closure: function _filterExpenseCategoriesByState_closure(t0) { this.action = t0; }, _filterExpenseCategoriesByState_closure0: function _filterExpenseCategoriesByState_closure0(t0) { this.action = t0; }, _filterExpenseCategories_closure: function _filterExpenseCategories_closure(t0, t1) { this.action = t0; this.expenseCategoryListState = t1; }, _sortExpenseCategories_closure: function _sortExpenseCategories_closure(t0) { this.action = t0; }, _startListMultiselect_closure16: function _startListMultiselect_closure16() { }, _addToListMultiselect_closure16: function _addToListMultiselect_closure16(t0) { this.action = t0; }, _removeFromListMultiselect_closure16: function _removeFromListMultiselect_closure16(t0) { this.action = t0; }, _clearListMultiselect_closure16: function _clearListMultiselect_closure16() { }, _archiveExpenseCategorySuccess_closure: function _archiveExpenseCategorySuccess_closure(t0) { this.action = t0; }, _deleteExpenseCategorySuccess_closure: function _deleteExpenseCategorySuccess_closure(t0) { this.action = t0; }, _restoreExpenseCategorySuccess_closure: function _restoreExpenseCategorySuccess_closure(t0) { this.action = t0; }, _addExpenseCategory_closure: function _addExpenseCategory_closure(t0) { this.action = t0; }, _updateExpenseCategory_closure: function _updateExpenseCategory_closure(t0) { this.action = t0; }, _setLoadedExpenseCategory_closure: function _setLoadedExpenseCategory_closure(t0) { this.action = t0; }, dropdownExpenseCategoriesSelector(expenseCategoryMap, expenseCategoryList, staticState, userMap, clientId) { var t1 = expenseCategoryList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownExpenseCategoriesSelector_closure(expenseCategoryMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownExpenseCategoriesSelector_closure0(expenseCategoryMap)); return list; }, filteredExpenseCategoriesSelector(selectionState, expenseCategoryMap, expenseCategoryList, expenseCategoryListState) { var t1 = expenseCategoryList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredExpenseCategoriesSelector_closure(expenseCategoryMap, selectionState, expenseCategoryListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredExpenseCategoriesSelector_closure0(expenseCategoryMap, expenseCategoryListState)); return list; }, calculateExpenseCategoryAmount(categoryId, expenseMap) { var t1 = {}; t1.total = 0; expenseMap._map$_map.forEach$1(0, new A.calculateExpenseCategoryAmount_closure(t1, categoryId)); return t1.total; }, expenseStatsForExpenseCategory(categoryId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.expenseStatsForExpenseCategory_closure(t1, categoryId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, transactionStatsForExpenseCategory(categoryId, transactionMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; transactionMap._map$_map.forEach$1(0, new A.transactionStatsForExpenseCategory_closure(t1, categoryId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, memoizedDropdownExpenseCategoryList_closure: function memoizedDropdownExpenseCategoryList_closure() { }, dropdownExpenseCategoriesSelector_closure: function dropdownExpenseCategoriesSelector_closure(t0) { this.expenseCategoryMap = t0; }, dropdownExpenseCategoriesSelector_closure0: function dropdownExpenseCategoriesSelector_closure0(t0) { this.expenseCategoryMap = t0; }, 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; }, memoizedTransactionStatsForExpenseCategory_closure: function memoizedTransactionStatsForExpenseCategory_closure() { }, transactionStatsForExpenseCategory_closure: function transactionStatsForExpenseCategory_closure(t0, t1) { this._box_0 = t0; this.categoryId = t1; }, _$ExpenseCategoryState$_(list, map) { var _s20_ = "ExpenseCategoryState"; A.BuiltValueNullFieldError_checkNotNull(map, _s20_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s20_, "list"); return new A._$ExpenseCategoryState(map, list); }, _$ExpenseCategoryUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s22_ = "ExpenseCategoryUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s22_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s22_, "tabIndex"); return new A._$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(context, groups, action) { var store, t1, t2, group, t3, groupIds, message, _i, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (groups.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); group = B.JSArray_methods.get$first(groups); t3 = A._arrayInstanceType(groups)._eval$1("MappedListIterable<1,String>"); groupIds = A.List_List$of(new A.MappedListIterable(groups, new A.handleGroupAction_closure(), t3), true, t3._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, group, true, _null); break; case B.EntityAction_settings: t2 = store.__Store__state_A; t2 = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany; type$.nullable_GroupEntity._as(group); t1 = t1.prefState.appLayout === B.AppLayout_desktop ? "localization" : _null; t3 = store.__Store__dispatchers_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.ViewSettings(t2.company, group, _null, t2.user, false, t1, true, _null)); break; case B.EntityAction_newClient: A.createEntity(_null, _null, A.ClientEntity_ClientEntity(_null, _null, _null, _null).rebuild$1(new A.handleGroupAction_closure0(group)), _null, false); break; case B.EntityAction_restore: t1 = groupIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_groups"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_group"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreGroupRequest(t1, groupIds)); break; case B.EntityAction_archive: t1 = groupIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_groups"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_group"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveGroupRequest(t1, groupIds)); break; case B.EntityAction_delete: t1 = groupIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_groups"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_group"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteGroupRequest(t1, groupIds)); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.groupUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartGroupMultiselect()); } t1 = groups.length; if (t1 === 0) break; for (_i = 0; _i < groups.length; groups.length === t1 || (0, A.throwConcurrentModificationError)(groups), ++_i) { group = groups[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(group); t2 = t2.groupUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToGroupMultiselect(group)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromGroupMultiselect(group)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([group], type$.JSArray_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, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.group = t3; }, SaveGroupDocumentFailure: function SaveGroupDocumentFailure() { }, _editGroup() { return new A._editGroup_closure(); }, _viewGroup() { return new A._viewGroup_closure(); }, _viewGroupList() { return new A._viewGroupList_closure0(); }, _archiveGroup(repository) { return new A._archiveGroup_closure(repository); }, _deleteGroup(repository) { return new A._deleteGroup_closure(repository); }, _restoreGroup(repository) { return new A._restoreGroup_closure(repository); }, _saveGroup(repository) { return new A._saveGroup_closure(repository); }, _loadGroup(repository) { return new A._loadGroup_closure(repository); }, _loadGroups(repository) { return new A._loadGroups_closure(repository); }, _saveDocument14(repository) { return new A._saveDocument_closure(repository); }, _editGroup_closure: function _editGroup_closure() { }, _viewGroup_closure: function _viewGroup_closure() { }, _viewGroupList_closure0: function _viewGroupList_closure0() { }, _viewGroupList__closure: function _viewGroupList__closure() { }, _archiveGroup_closure: function _archiveGroup_closure(t0) { this.repository = t0; }, _archiveGroup__closure: function _archiveGroup__closure(t0) { this.store = t0; }, _archiveGroup__closure0: function _archiveGroup__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveGroup__closure1: function _archiveGroup__closure1(t0, t1, t2) { this.store = t0; this.prevGroups = t1; this.action = t2; }, _deleteGroup_closure: function _deleteGroup_closure(t0) { this.repository = t0; }, _deleteGroup__closure: function _deleteGroup__closure(t0) { this.store = t0; }, _deleteGroup__closure0: function _deleteGroup__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteGroup__closure1: function _deleteGroup__closure1(t0, t1, t2) { this.store = t0; this.prevGroups = t1; this.action = t2; }, _restoreGroup_closure: function _restoreGroup_closure(t0) { this.repository = t0; }, _restoreGroup__closure: function _restoreGroup__closure(t0) { this.store = t0; }, _restoreGroup__closure0: function _restoreGroup__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreGroup__closure1: function _restoreGroup__closure1(t0, t1, t2) { this.store = t0; this.prevGroups = t1; this.action = t2; }, _saveGroup_closure: function _saveGroup_closure(t0) { this.repository = t0; }, _saveGroup__closure: function _saveGroup__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveGroup__closure0: function _saveGroup__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadGroup_closure: function _loadGroup_closure(t0) { this.repository = t0; }, _loadGroup__closure: function _loadGroup__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadGroup__closure0: function _loadGroup__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadGroups_closure: function _loadGroups_closure(t0) { this.repository = t0; }, _loadGroups__closure: function _loadGroups__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadGroups___closure: function _loadGroups___closure(t0) { this.documents = t0; }, _loadGroups____closure: function _loadGroups____closure(t0, t1) { this.documents = t0; this.group = t1; }, _loadGroups_____closure: function _loadGroups_____closure(t0) { this.group = t0; }, _loadGroups__closure0: function _loadGroups__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure: function _saveDocument_closure(t0) { this.repository = t0; }, _saveDocument__closure: function _saveDocument__closure(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure: function _saveDocument___closure(t0, t1) { this.documents = t0; this.group = t1; }, _saveDocument____closure: function _saveDocument____closure(t0) { this.group = t0; }, _saveDocument__closure0: function _saveDocument__closure0(t0, t1) { this.store = t0; this.action = t1; }, groupUIReducer(state, action) { var t1 = new A.GroupUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._group_state$_$v = state; new A.groupUIReducer_closure(state, action).call$1(t1); return t1._group_state$_build$0(); }, _clearEditing5(group, action) { return A.GroupEntity_GroupEntity(null, null); }, _updateEditing6(group, action) { return action.get$group(); }, _viewGroupList0(groupListState, action) { return groupListState.rebuild$1(new A._viewGroupList_closure()); }, _filterGroupsByState(groupListState, action) { if (B.JSArray_methods.contains$1(groupListState.stateFilters._list$_list, action.state)) return groupListState.rebuild$1(new A._filterGroupsByState_closure(action)); else return groupListState.rebuild$1(new A._filterGroupsByState_closure0(action)); }, _filterGroups(groupListState, action) { return groupListState.rebuild$1(new A._filterGroups_closure(action, groupListState)); }, _sortGroups(groupListState, action) { return groupListState.rebuild$1(new A._sortGroups_closure(action)); }, _startListMultiselect7(groupListState, action) { return groupListState.rebuild$1(new A._startListMultiselect_closure6()); }, _addToListMultiselect7(groupListState, action) { return groupListState.rebuild$1(new A._addToListMultiselect_closure6(action)); }, _removeFromListMultiselect7(groupListState, action) { return groupListState.rebuild$1(new A._removeFromListMultiselect_closure6(action)); }, _clearListMultiselect7(groupListState, action) { return groupListState.rebuild$1(new A._clearListMultiselect_closure6()); }, _archiveGroupSuccess(groupState, action) { return groupState.rebuild$1(new A._archiveGroupSuccess_closure(action)); }, _deleteGroupSuccess(groupState, action) { return groupState.rebuild$1(new A._deleteGroupSuccess_closure(action)); }, _restoreGroupSuccess(groupState, action) { return groupState.rebuild$1(new A._restoreGroupSuccess_closure(action)); }, _addGroup(groupState, action) { return groupState.rebuild$1(new A._addGroup_closure(action)); }, _updateGroup(groupState, action) { return groupState.rebuild$1(new A._updateGroup_closure(action)); }, _setLoadedGroup(groupState, action) { return groupState.rebuild$1(new A._setLoadedGroup_closure(action)); }, _setLoadedGroups(groupState, action) { var state = groupState.rebuild$1(new A._setLoadedGroups_closure(action)); return state.rebuild$1(new A._setLoadedGroups_closure0(state)); }, _setLoadedCompany7(groupState, action) { var state = groupState.rebuild$1(new A._setLoadedCompany_closure(action)); return state.rebuild$1(new A._setLoadedCompany_closure0(state)); }, groupUIReducer_closure: function groupUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure60: function forceSelectedReducer_closure60() { }, forceSelectedReducer_closure61: function forceSelectedReducer_closure61() { }, forceSelectedReducer_closure62: function forceSelectedReducer_closure62() { }, forceSelectedReducer_closure63: function forceSelectedReducer_closure63() { }, selectedIdReducer_closure109: function selectedIdReducer_closure109() { }, selectedIdReducer_closure110: function selectedIdReducer_closure110() { }, selectedIdReducer_closure111: function selectedIdReducer_closure111() { }, selectedIdReducer_closure112: function selectedIdReducer_closure112() { }, selectedIdReducer_closure113: function selectedIdReducer_closure113() { }, selectedIdReducer_closure114: function selectedIdReducer_closure114() { }, selectedIdReducer_closure115: function selectedIdReducer_closure115() { }, selectedIdReducer_closure116: function selectedIdReducer_closure116() { }, selectedIdReducer_closure117: function selectedIdReducer_closure117() { }, selectedIdReducer_closure118: function selectedIdReducer_closure118() { }, selectedIdReducer_closure119: function selectedIdReducer_closure119() { }, selectedIdReducer_closure120: function selectedIdReducer_closure120() { }, editingReducer_closure33: function editingReducer_closure33() { }, editingReducer_closure34: function editingReducer_closure34() { }, editingReducer_closure35: function editingReducer_closure35() { }, editingReducer_closure36: function editingReducer_closure36() { }, editingReducer__closure12: function editingReducer__closure12() { }, groupListReducer_closure: function groupListReducer_closure() { }, groupListReducer__closure: function groupListReducer__closure() { }, _viewGroupList_closure: function _viewGroupList_closure() { }, _filterGroupsByState_closure: function _filterGroupsByState_closure(t0) { this.action = t0; }, _filterGroupsByState_closure0: function _filterGroupsByState_closure0(t0) { this.action = t0; }, _filterGroups_closure: function _filterGroups_closure(t0, t1) { this.action = t0; this.groupListState = t1; }, _sortGroups_closure: function _sortGroups_closure(t0) { this.action = t0; }, _startListMultiselect_closure6: function _startListMultiselect_closure6() { }, _addToListMultiselect_closure6: function _addToListMultiselect_closure6(t0) { this.action = t0; }, _removeFromListMultiselect_closure6: function _removeFromListMultiselect_closure6(t0) { this.action = t0; }, _clearListMultiselect_closure6: function _clearListMultiselect_closure6() { }, _archiveGroupSuccess_closure: function _archiveGroupSuccess_closure(t0) { this.action = t0; }, _deleteGroupSuccess_closure: function _deleteGroupSuccess_closure(t0) { this.action = t0; }, _restoreGroupSuccess_closure: function _restoreGroupSuccess_closure(t0) { this.action = t0; }, _addGroup_closure: function _addGroup_closure(t0) { this.action = t0; }, _updateGroup_closure: function _updateGroup_closure(t0) { this.action = t0; }, _setLoadedGroup_closure: function _setLoadedGroup_closure(t0) { this.action = t0; }, _setLoadedGroups_closure: function _setLoadedGroups_closure(t0) { this.action = t0; }, _setLoadedGroups__closure: function _setLoadedGroups__closure() { }, _setLoadedGroups__closure0: function _setLoadedGroups__closure0() { }, _setLoadedGroups_closure0: function _setLoadedGroups_closure0(t0) { this.state = t0; }, _setLoadedCompany_closure: function _setLoadedCompany_closure(t0) { this.action = t0; }, _setLoadedCompany__closure: function _setLoadedCompany__closure() { }, _setLoadedCompany__closure0: function _setLoadedCompany__closure0() { }, _setLoadedCompany_closure0: function _setLoadedCompany_closure0(t0) { this.state = t0; }, filteredGroupsSelector(selectionState, groupMap, groupList, groupListState) { var t1 = groupList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredGroupsSelector_closure(groupMap, selectionState, groupListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredGroupsSelector_closure0(groupMap, groupListState)); return list; }, clientStatsForGroup(clientMap, groupId) { var t1 = {}; t1.countArchived = t1.countActive = 0; clientMap._map$_map.forEach$1(0, new A.clientStatsForGroup_closure(t1, groupId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, 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; }, _$GroupState$_(list, map) { var _s10_ = "GroupState"; A.BuiltValueNullFieldError_checkNotNull(map, _s10_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s10_, "list"); return new A._$GroupState(map, list); }, _$GroupUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s12_ = "GroupUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s12_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s12_, "tabIndex"); return new A._$GroupUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, GroupState: function GroupState() { }, GroupUIState: function GroupUIState() { }, _$GroupStateSerializer: function _$GroupStateSerializer() { }, _$GroupUIStateSerializer: function _$GroupUIStateSerializer() { }, _$GroupState: function _$GroupState(t0, t1) { this.map = t0; this.list = t1; this._group_state$__hashCode = null; }, GroupStateBuilder: function GroupStateBuilder() { this._group_state$_list = this._group_state$_map = this._group_state$_$v = null; }, _$GroupUIState: function _$GroupUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._group_state$__hashCode = null; }, GroupUIStateBuilder: function GroupUIStateBuilder() { var _ = this; _._group_state$_cancelCompleter = _._group_state$_saveCompleter = _._group_state$_tabIndex = _._group_state$_forceSelected = _._group_state$_selectedId = _._group_state$_listUIState = _._group_state$_editing = _._group_state$_$v = null; }, _GroupUIState_Object_EntityUIState: function _GroupUIState_Object_EntityUIState() { }, handleInvoiceAction(context, invoices, action) { return A.handleInvoiceAction$body(context, invoices, action); }, handleInvoiceAction$body(context, invoices, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, t3, invoice, t4, invoiceIds, t5, t6, client, link, designId, template, message, _i, response, data, documentIds, _box_0; var $async$handleInvoiceAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._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; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.InvoiceEntity; invoice = t3._as(B.JSArray_methods.get$first(invoices)); t4 = A._arrayInstanceType(invoices)._eval$1("MappedListIterable<1,String>"); invoiceIds = A.List_List$of(new A.MappedListIterable(invoices, new A.handleInvoiceAction_closure(), t4), true, t4._eval$1("ListIterable.E")); t4 = t1.userCompanyStates; t5 = t1.uiState.selectedCompanyIndex; t4 = t4._list$_list; t6 = invoice.clientId; client = t4[t5].clientState.$get$1(0, t6); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_viewPdf: // goto case $async$goto = 6; break; case B.EntityAction_clientPortal: // goto case $async$goto = 7; break; case B.EntityAction_markSent: // goto case $async$goto = 8; break; case B.EntityAction_reverse: // goto case $async$goto = 9; break; case B.EntityAction_cancelInvoice: // goto case $async$goto = 10; break; case B.EntityAction_markPaid: // goto case $async$goto = 11; break; case B.EntityAction_autoBill: // goto case $async$goto = 12; break; case B.EntityAction_sendEmail: // goto case $async$goto = 13; break; case B.EntityAction_bulkSendEmail: // goto case $async$goto = 14; break; case B.EntityAction_schedule: // goto case $async$goto = 15; break; case B.EntityAction_cloneToOther: // goto case $async$goto = 16; break; case B.EntityAction_clone: // goto case $async$goto = 17; break; case B.EntityAction_cloneToInvoice: // goto case $async$goto = 18; break; case B.EntityAction_cloneToQuote: // goto case $async$goto = 19; break; case B.EntityAction_cloneToCredit: // goto case $async$goto = 20; break; case B.EntityAction_cloneToPurchaseOrder: // goto case $async$goto = 21; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 22; break; case B.EntityAction_newPayment: // goto case $async$goto = 23; break; case B.EntityAction_download: // goto case $async$goto = 24; break; case B.EntityAction_eInvoice: // goto case $async$goto = 25; break; case B.EntityAction_bulkDownload: // goto case $async$goto = 26; break; case B.EntityAction_restore: // goto case $async$goto = 27; break; case B.EntityAction_archive: // goto case $async$goto = 28; break; case B.EntityAction_delete: // goto case $async$goto = 29; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 30; break; case B.EntityAction_printPdf: // goto case $async$goto = 31; break; case B.EntityAction_bulkPrint: // goto case $async$goto = 32; break; case B.EntityAction_runTemplate: // goto case $async$goto = 33; break; case B.EntityAction_addComment: // goto case $async$goto = 34; break; case B.EntityAction_more: // goto case $async$goto = 35; break; case B.EntityAction_documents: // goto case $async$goto = 36; break; default: // goto default $async$goto = 37; break; } break; case 5: // case A.editEntity(null, invoice, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.ShowPdfInvoice(invoice, context, null)); // goto after switch $async$goto = 4; break; case 7: // case t1 = invoice.invitations._list$_list; link = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "?silent=true"; if (link.length !== 0) { if (!B.JSString_methods.contains$1(link, "?")) link += "?"; A.launchUrl(A.Uri_parse(link + ("&client_hash=" + client.clientHash), 0, null)); } // goto after switch $async$goto = 4; break; case 8: // case if (invoiceIds.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "marked_invoice_as_sent"); t1.toString; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "marked_invoices_as_sent"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.MarkInvoicesSentRequest(t1, invoiceIds)); // goto after switch $async$goto = 4; break; case 9: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_credit, t1); A.createEntity(null, null, invoice.get$clone(0).rebuild$1(new A.handleInvoiceAction_closure0(invoice, designId)), null, false); // goto after switch $async$goto = 4; break; case 10: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t3 = t1.$index(0, t2.localeCode); t3.toString; t3 = J.$index$asx(t3, "cancel_invoice"); if (t3 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "cancel_invoice"); t1.toString; } else t1 = t3; A.confirmCallback(false, new A.handleInvoiceAction_closure1(store, invoiceIds, t2), context, t1, false, null); // goto after switch $async$goto = 4; break; case 11: // case if (invoiceIds.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "marked_invoice_as_paid"); t1.toString; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "marked_invoices_as_paid"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.MarkInvoicesPaidRequest(t1, invoiceIds)); // goto after switch $async$goto = 4; break; case 12: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "auto_bill"); t1.toString; A.confirmCallback(false, new A.handleInvoiceAction_closure2(store, invoiceIds, t2), context, t1, false, null); // goto after switch $async$goto = 4; break; case 13: // case case 14: // case case 15: // case _box_0.emailValid = true; B.JSArray_methods.forEach$1(invoices, new A.handleInvoiceAction_closure3(_box_0, t1)); if (!_box_0.emailValid) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t2.localeCode; t3 = t1.$index(0, t2); t3.toString; t3 = J.$index$asx(t3, "client_email_not_set"); t3.toString; t2 = t1.$index(0, t2); t2.toString; A.showMessageDialog(t3, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "edit_client").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handleInvoiceAction_closure4(context, client), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } $async$goto = action === B.EntityAction_sendEmail ? 38 : 40; break; case 38: // then t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_invoice"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ShowEmailInvoice(invoice, context, t1)); // goto join $async$goto = 39; break; case 40: // else $async$goto = action === B.EntityAction_schedule ? 41 : 43; break; case 41: // then if (!(!t1.get$isHosted() || t4[t5].userCompany.account.plan === "enterprise" || t4[t5].userCompany.account.plan === "pro")) { t1 = t2.get$upgradeToPaidPlanToSchedule(); t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; A.showMessageDialog(t1, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "upgrade").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handleInvoiceAction_closure5(store, context), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } A.createEntity(null, null, A.ScheduleEntity_ScheduleEntity("email_record", null, null).rebuild$1(new A.handleInvoiceAction_closure6(invoice)), null, false); // goto join $async$goto = 42; break; case 43: // else $async$goto = 44; return A._asyncAwait(A.showDialog(null, null, true, null, new A.handleInvoiceAction_closure7(t1, client, t2, invoiceIds), context, null, true, type$.EmailTemplate), $async$handleInvoiceAction); case 44: // returning from await. template = $async$result; if (template != null) { if (invoiceIds.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_invoice"); t1.toString; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_invoices"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.BulkEmailInvoicesRequest(t1, invoiceIds, template)); } case 42: // join case 39: // join // goto after switch $async$goto = 4; break; case 16: // case A.cloneToDialog(invoice); // goto after switch $async$goto = 4; break; case 17: // case case 18: // case A.createEntity(null, null, invoice.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 19: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_quote, t1); A.createEntity(null, null, invoice.get$clone(0).rebuild$1(new A.handleInvoiceAction_closure8(designId)), null, false); // goto after switch $async$goto = 4; break; case 20: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_credit, t1); A.createEntity(null, null, invoice.get$clone(0).rebuild$1(new A.handleInvoiceAction_closure9(designId)), null, false); // goto after switch $async$goto = 4; break; case 21: // case designId = A.getDesignIdForVendorByEntity(B.EntityType_purchaseOrder, t1, invoice.vendorId); A.createEntity(null, null, invoice.get$clone(0).rebuild$1(new A.handleInvoiceAction_closure10(designId)).recreateInvitations$1(t1), null, false); // goto after switch $async$goto = 4; break; case 22: // case A.createEntity(null, null, invoice.get$clone(0).rebuild$1(new A.handleInvoiceAction_closure11()), null, false); // goto after switch $async$goto = 4; break; case 23: // case A.createEntity(null, null, A.PaymentEntity_PaymentEntity(client, null, t1).rebuild$1(new A.handleInvoiceAction_closure12(invoices)), client, false); // goto after switch $async$goto = 4; break; case 24: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = invoice.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download?t=" + Date.now(); $async$goto = 45; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t4[t5].userCompany.token.token, true).then$1$1(0, new A.handleInvoiceAction_closure13(store, invoice, client), type$.Null).catchError$1(new A.handleInvoiceAction_closure14(store)), $async$handleInvoiceAction); case 45: // returning from await. // goto after switch $async$goto = 4; break; case 25: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = invoice.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download_e_invoice?t=" + Date.now(); $async$goto = 46; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t4[t5].userCompany.token.token, true).then$1$1(0, new A.handleInvoiceAction_closure15(store, invoice, client), type$.Null).catchError$1(new A.handleInvoiceAction_closure16(store)), $async$handleInvoiceAction); case 46: // returning from await. // goto after switch $async$goto = 4; break; case 26: // case t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadInvoicesRequest(t1, invoiceIds)); // goto after switch $async$goto = 4; break; case 27: // case t1 = invoiceIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_invoices"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_invoice"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreInvoicesRequest(t1, invoiceIds)); // goto after switch $async$goto = 4; break; case 28: // case t1 = invoiceIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_invoices"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_invoice"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveInvoicesRequest(t1, invoiceIds)); // goto after switch $async$goto = 4; break; case 29: // case t1 = invoiceIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_invoices"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_invoice"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteInvoicesRequest(t1, invoiceIds)); // goto after switch $async$goto = 4; break; case 30: // case if (store.__Store__state_A.uiState.invoiceUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartInvoiceMultiselect()); } for (t1 = invoices.length, _i = 0; _i < invoices.length; invoices.length === t1 || (0, A.throwConcurrentModificationError)(invoices), ++_i) { invoice = invoices[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(invoice); t2 = t2.invoiceUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToInvoiceMultiselect(invoice)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromInvoiceMultiselect(invoice)); } } // goto after switch $async$goto = 4; break; case 31: // case t1 = B.JSArray_methods.get$first(invoice.invitations._list$_list).link; t2 = Date.now(); t3 = store.__Store__dispatchers_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.StartSaving()); $async$goto = 47; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1 + "/download?t=" + t2, t4[t5].userCompany.token.token, true), $async$handleInvoiceAction); case 47: // returning from await. response = $async$result; t3[0].call$1(new A.StopSaving()); $async$goto = 48; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handleInvoiceAction_closure17(response), false), $async$handleInvoiceAction); case 48: // returning from await. // goto after switch $async$goto = 4; break; case 32: // case t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartSaving()); t3 = t1.get$credentials(0); data = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["ids", invoiceIds, "action", B.EntityAction_bulkPrint.toApiParam$0()], type$.String, type$.Object)); $async$goto = 49; return A._asyncAwait(new A.WebClient().post$4$data$rawResponse(t3.url + "/invoices/bulk", t1.get$credentials(0).token, data, true), $async$handleInvoiceAction); case 49: // returning from await. response = $async$result; t2[0].call$1(new A.StopSaving()); $async$goto = 50; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handleInvoiceAction_closure18(response), false), $async$handleInvoiceAction); case 50: // returning from await. // goto after switch $async$goto = 4; break; case 33: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(null, null, false, null, new A.handleInvoiceAction_closure19(invoices), t1, null, true, type$.void); // goto after switch $async$goto = 4; break; case 34: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 51; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleInvoiceAction_closure20(invoice), t1, null, true, type$.bool), $async$handleInvoiceAction); case 51: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadInvoice(null, invoice.id)); } // goto after switch $async$goto = 4; break; case 35: // case A.showEntityActionsDialog(null, A._setArrayType([invoice], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 36: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = invoices.length, _i = 0; _i < invoices.length; invoices.length === t1 || (0, A.throwConcurrentModificationError)(invoices), ++_i) for (t4 = t3._as(invoices[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 37: // default A.print("## ERROR: unhandled action " + A.S(action) + " in invoice_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleInvoiceAction, $async$completer); }, ViewInvoiceList: function ViewInvoiceList(t0) { this.page = t0; }, 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(t0, t1) { this.completer = t0; this.page = t1; }, 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, t1) { this.invoiceItem = t0; this.index = t1; }, 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, t5) { var _ = this; _.completer = t0; _.invoiceId = t1; _.template = t2; _.subject = t3; _.body = t4; _.ccEmail = t5; }, 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, t2) { this.completer = t0; this.invoiceIds = t1; this.template = t2; }, 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() { }, AutoBillInvoicesRequest: function AutoBillInvoicesRequest(t0, t1) { this.completer = t0; this.invoiceIds = t1; }, AutoBillInvoicesSuccess: function AutoBillInvoicesSuccess() { }, AutoBillInvoicesFailure: function AutoBillInvoicesFailure() { }, 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, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.invoice = t3; }, SaveInvoiceDocumentFailure: function SaveInvoiceDocumentFailure() { }, UpdateInvoiceTab: function UpdateInvoiceTab(t0) { this.tabIndex = t0; }, handleInvoiceAction_closure: function handleInvoiceAction_closure() { }, handleInvoiceAction_closure0: function handleInvoiceAction_closure0(t0, t1) { this.invoice = t0; this.designId = t1; }, handleInvoiceAction_closure1: function handleInvoiceAction_closure1(t0, t1, t2) { this.store = t0; this.invoiceIds = t1; this.localization = t2; }, handleInvoiceAction_closure2: function handleInvoiceAction_closure2(t0, t1, t2) { this.store = t0; this.invoiceIds = t1; this.localization = t2; }, handleInvoiceAction_closure3: function handleInvoiceAction_closure3(t0, t1) { this._box_0 = t0; this.state = t1; }, handleInvoiceAction_closure4: function handleInvoiceAction_closure4(t0, t1) { this.context = t0; this.client = t1; }, handleInvoiceAction_closure5: function handleInvoiceAction_closure5(t0, t1) { this.store = t0; this.context = t1; }, handleInvoiceAction_closure6: function handleInvoiceAction_closure6(t0) { this.invoice = t0; }, handleInvoiceAction_closure7: function handleInvoiceAction_closure7(t0, t1, t2, t3) { var _ = this; _.state = t0; _.client = t1; _.localization = t2; _.invoiceIds = t3; }, handleInvoiceAction__closure1: function handleInvoiceAction__closure1(t0, t1) { this.templates = t0; this.context = t1; }, handleInvoiceAction___closure: function handleInvoiceAction___closure(t0, t1) { this.context = t0; this.template = t1; }, handleInvoiceAction_closure8: function handleInvoiceAction_closure8(t0) { this.designId = t0; }, handleInvoiceAction_closure9: function handleInvoiceAction_closure9(t0) { this.designId = t0; }, handleInvoiceAction_closure10: function handleInvoiceAction_closure10(t0) { this.designId = t0; }, handleInvoiceAction_closure11: function handleInvoiceAction_closure11() { }, handleInvoiceAction_closure12: function handleInvoiceAction_closure12(t0) { this.invoices = t0; }, handleInvoiceAction__closure: function handleInvoiceAction__closure() { }, handleInvoiceAction__closure0: function handleInvoiceAction__closure0() { }, handleInvoiceAction_closure13: function handleInvoiceAction_closure13(t0, t1, t2) { this.store = t0; this.invoice = t1; this.client = t2; }, handleInvoiceAction_closure14: function handleInvoiceAction_closure14(t0) { this.store = t0; }, handleInvoiceAction_closure15: function handleInvoiceAction_closure15(t0, t1, t2) { this.store = t0; this.invoice = t1; this.client = t2; }, handleInvoiceAction_closure16: function handleInvoiceAction_closure16(t0) { this.store = t0; }, handleInvoiceAction_closure17: function handleInvoiceAction_closure17(t0) { this.response = t0; }, handleInvoiceAction_closure18: function handleInvoiceAction_closure18(t0) { this.response = t0; }, handleInvoiceAction_closure19: function handleInvoiceAction_closure19(t0) { this.invoices = t0; }, handleInvoiceAction_closure20: function handleInvoiceAction_closure20(t0) { this.invoice = t0; }, _viewInvoiceList() { return new A._viewInvoiceList_closure0(); }, _viewInvoice() { return new A._viewInvoice_closure(); }, _editInvoice() { return new A._editInvoice_closure(); }, _showEmailInvoice() { return new A._showEmailInvoice_closure(); }, _showPdfInvoice() { return new A._showPdfInvoice_closure(); }, _cancelInvoices(repository) { return new A._cancelInvoices_closure(repository); }, _archiveInvoice(repository) { return new A._archiveInvoice_closure(repository); }, _deleteInvoice(repository) { return new A._deleteInvoice_closure(repository); }, _restoreInvoice(repository) { return new A._restoreInvoice_closure(repository); }, _markInvoiceSent(repository) { return new A._markInvoiceSent_closure(repository); }, _autoBillInvoices(repository) { return new A._autoBillInvoices_closure(repository); }, _markInvoicePaid(repository) { return new A._markInvoicePaid_closure(repository); }, _downloadInvoices(repository) { return new A._downloadInvoices_closure(repository); }, _emailInvoice(repository) { return new A._emailInvoice_closure(repository); }, _bulkEmailInvoices(repository) { return new A._bulkEmailInvoices_closure(repository); }, _saveInvoice(repository) { return new A._saveInvoice_closure(repository); }, _loadInvoice(repository) { return new A._loadInvoice_closure(repository); }, _loadInvoices(repository) { return new A._loadInvoices_closure(repository); }, _saveDocument2(repository) { return new A._saveDocument_closure11(repository); }, _viewInvoiceList_closure0: function _viewInvoiceList_closure0() { }, _viewInvoiceList__closure: function _viewInvoiceList__closure() { }, _viewInvoice_closure: function _viewInvoice_closure() { }, _editInvoice_closure: function _editInvoice_closure() { }, _showEmailInvoice_closure: function _showEmailInvoice_closure() { }, _showPdfInvoice_closure: function _showPdfInvoice_closure() { }, _cancelInvoices_closure: function _cancelInvoices_closure(t0) { this.repository = t0; }, _cancelInvoices__closure: function _cancelInvoices__closure(t0, t1) { this.store = t0; this.action = t1; }, _cancelInvoices__closure0: function _cancelInvoices__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveInvoice_closure: function _archiveInvoice_closure(t0) { this.repository = t0; }, _archiveInvoice__closure: function _archiveInvoice__closure(t0) { this.store = t0; }, _archiveInvoice__closure0: function _archiveInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveInvoice__closure1: function _archiveInvoice__closure1(t0, t1, t2) { this.store = t0; this.prevInvoices = t1; this.action = t2; }, _deleteInvoice_closure: function _deleteInvoice_closure(t0) { this.repository = t0; }, _deleteInvoice__closure: function _deleteInvoice__closure(t0) { this.store = t0; }, _deleteInvoice__closure0: function _deleteInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteInvoice__closure1: function _deleteInvoice__closure1(t0, t1, t2) { this.store = t0; this.prevInvoices = t1; this.action = t2; }, _restoreInvoice_closure: function _restoreInvoice_closure(t0) { this.repository = t0; }, _restoreInvoice__closure: function _restoreInvoice__closure(t0) { this.store = t0; }, _restoreInvoice__closure0: function _restoreInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreInvoice__closure1: function _restoreInvoice__closure1(t0, t1, t2) { this.store = t0; this.prevInvoices = t1; this.action = t2; }, _markInvoiceSent_closure: function _markInvoiceSent_closure(t0) { this.repository = t0; }, _markInvoiceSent__closure: function _markInvoiceSent__closure(t0, t1) { this.store = t0; this.action = t1; }, _markInvoiceSent__closure0: function _markInvoiceSent__closure0(t0, t1) { this.store = t0; this.action = t1; }, _autoBillInvoices_closure: function _autoBillInvoices_closure(t0) { this.repository = t0; }, _autoBillInvoices__closure: function _autoBillInvoices__closure(t0, t1) { this.store = t0; this.action = t1; }, _autoBillInvoices__closure0: function _autoBillInvoices__closure0(t0, t1) { this.store = t0; this.action = t1; }, _markInvoicePaid_closure: function _markInvoicePaid_closure(t0) { this.repository = t0; }, _markInvoicePaid__closure: function _markInvoicePaid__closure(t0, t1) { this.store = t0; this.action = t1; }, _markInvoicePaid__closure0: function _markInvoicePaid__closure0(t0, t1) { this.store = t0; this.action = t1; }, _downloadInvoices_closure: function _downloadInvoices_closure(t0) { this.repository = t0; }, _downloadInvoices__closure: function _downloadInvoices__closure(t0, t1) { this.store = t0; this.action = t1; }, _downloadInvoices__closure0: function _downloadInvoices__closure0(t0, t1) { this.store = t0; this.action = t1; }, _emailInvoice_closure: function _emailInvoice_closure(t0) { this.repository = t0; }, _emailInvoice__closure: function _emailInvoice__closure(t0, t1) { this.store = t0; this.action = t1; }, _emailInvoice__closure0: function _emailInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _bulkEmailInvoices_closure: function _bulkEmailInvoices_closure(t0) { this.repository = t0; }, _bulkEmailInvoices__closure: function _bulkEmailInvoices__closure(t0, t1) { this.store = t0; this.action = t1; }, _bulkEmailInvoices__closure0: function _bulkEmailInvoices__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveInvoice_closure: function _saveInvoice_closure(t0) { this.repository = t0; }, _saveInvoice__closure: function _saveInvoice__closure(t0) { this.action = t0; }, _saveInvoice___closure: function _saveInvoice___closure() { }, _saveInvoice__closure0: function _saveInvoice__closure0(t0, t1) { this.action = t0; this.store = t1; }, _saveInvoice__closure1: function _saveInvoice__closure1(t0, t1) { this.store = t0; this.action = t1; }, _loadInvoice_closure: function _loadInvoice_closure(t0) { this.repository = t0; }, _loadInvoice__closure: function _loadInvoice__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadInvoice__closure0: function _loadInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadInvoices_closure: function _loadInvoices_closure(t0) { this.repository = t0; }, _loadInvoices__closure: function _loadInvoices__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadInvoices___closure: function _loadInvoices___closure(t0) { this.documents = t0; }, _loadInvoices____closure: function _loadInvoices____closure(t0, t1) { this.documents = t0; this.invoice = t1; }, _loadInvoices_____closure: function _loadInvoices_____closure(t0) { this.invoice = t0; }, _loadInvoices__closure0: function _loadInvoices__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure11: function _saveDocument_closure11(t0) { this.repository = t0; }, _saveDocument__closure23: function _saveDocument__closure23(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure11: function _saveDocument___closure11(t0, t1) { this.documents = t0; this.invoice = t1; }, _saveDocument____closure11: function _saveDocument____closure11(t0) { this.invoice = t0; }, _saveDocument__closure24: function _saveDocument__closure24(t0, t1) { this.store = t0; this.action = t1; }, invoiceUIReducer(state, action) { var t1 = new A.InvoiceUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._invoice_state$_$v = state; new A.invoiceUIReducer_closure(state, action).call$1(t1); return t1._invoice_state$_build$0(); }, _clearEditing6(invoice, action) { var _null = null; return A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); }, _updateEditing7(invoice, action) { return type$.InvoiceEntity._as(action.get$invoice()).rebuild$1(new A._updateEditing_closure()); }, _addInvoiceItem(invoice, action) { var item = action.invoiceItem; if (action.index == null) return invoice.rebuild$1(new A._addInvoiceItem_closure(item)); else return invoice.rebuild$1(new A._addInvoiceItem_closure0(action, item)); }, _addInvoiceItems(invoice, action) { return invoice.rebuild$1(new A._addInvoiceItems_closure(action)); }, _removeInvoiceItem(invoice, action) { if (invoice.lineItems._list$_list.length <= action.index) return invoice; return invoice.rebuild$1(new A._removeInvoiceItem_closure(action)); }, _updateInvoiceItem(invoice, action) { if (invoice.lineItems._list$_list.length <= action.index) return invoice; return invoice.rebuild$1(new A._updateInvoiceItem_closure(action)); }, _viewInvoiceList0(invoiceListState, action) { return invoiceListState.rebuild$1(new A._viewInvoiceList_closure()); }, _filterInvoicesByCustom1(invoiceListState, action) { if (B.JSArray_methods.contains$1(invoiceListState.custom1Filters._list$_list, action.value)) return invoiceListState.rebuild$1(new A._filterInvoicesByCustom1_closure(action)); else return invoiceListState.rebuild$1(new A._filterInvoicesByCustom1_closure0(action)); }, _filterInvoicesByCustom2(invoiceListState, action) { if (B.JSArray_methods.contains$1(invoiceListState.custom2Filters._list$_list, action.value)) return invoiceListState.rebuild$1(new A._filterInvoicesByCustom2_closure(action)); else return invoiceListState.rebuild$1(new A._filterInvoicesByCustom2_closure0(action)); }, _filterInvoicesByCustom3(invoiceListState, action) { if (B.JSArray_methods.contains$1(invoiceListState.custom3Filters._list$_list, action.value)) return invoiceListState.rebuild$1(new A._filterInvoicesByCustom3_closure(action)); else return invoiceListState.rebuild$1(new A._filterInvoicesByCustom3_closure0(action)); }, _filterInvoicesByCustom4(invoiceListState, action) { if (B.JSArray_methods.contains$1(invoiceListState.custom4Filters._list$_list, action.value)) return invoiceListState.rebuild$1(new A._filterInvoicesByCustom4_closure(action)); else return invoiceListState.rebuild$1(new A._filterInvoicesByCustom4_closure0(action)); }, _filterInvoicesByState(invoiceListState, action) { if (B.JSArray_methods.contains$1(invoiceListState.stateFilters._list$_list, action.state)) return invoiceListState.rebuild$1(new A._filterInvoicesByState_closure(action)); else return invoiceListState.rebuild$1(new A._filterInvoicesByState_closure0(action)); }, _filterInvoicesByStatus(invoiceListState, action) { if (B.JSArray_methods.contains$1(invoiceListState.statusFilters._list$_list, action.status)) return invoiceListState.rebuild$1(new A._filterInvoicesByStatus_closure(action)); else return invoiceListState.rebuild$1(new A._filterInvoicesByStatus_closure0(action)); }, _filterInvoices(invoiceListState, action) { return invoiceListState.rebuild$1(new A._filterInvoices_closure(action, invoiceListState)); }, _sortInvoices(invoiceListState, action) { return invoiceListState.rebuild$1(new A._sortInvoices_closure(action)); }, _startListMultiselect8(invoiceListState, action) { return invoiceListState.rebuild$1(new A._startListMultiselect_closure25()); }, _addToListMultiselect8(invoiceListState, action) { return invoiceListState.rebuild$1(new A._addToListMultiselect_closure25(action)); }, _removeFromListMultiselect8(invoiceListState, action) { return invoiceListState.rebuild$1(new A._removeFromListMultiselect_closure25(action)); }, _clearListMultiselect8(invoiceListState, action) { return invoiceListState.rebuild$1(new A._clearListMultiselect_closure25()); }, _purgeClientSuccess2(invoiceState, action) { var t1 = invoiceState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return invoiceState.rebuild$1(new A._purgeClientSuccess_closure23(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure24(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure25(), t3), true, t3._eval$1("Iterable.E")))); }, _markInvoicesSentSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._markInvoicesSentSuccess_closure(action)); }, _markInvoicesPaidSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._markInvoicesPaidSuccess_closure(action)); }, _cancelInvoicesSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._cancelInvoicesSuccess_closure(action)); }, _archiveInvoiceSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._archiveInvoiceSuccess_closure(action)); }, _deleteInvoiceSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._deleteInvoiceSuccess_closure(action)); }, _emailInvoiceSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._emailInvoiceSuccess_closure(action)); }, _restoreInvoiceSuccess(invoiceState, action) { return invoiceState.rebuild$1(new A._restoreInvoiceSuccess_closure(action)); }, _addInvoice(invoiceState, action) { return invoiceState.rebuild$1(new A._addInvoice_closure(action)); }, _updateInvoice(invoiceState, action) { return invoiceState.rebuild$1(new A._updateInvoice_closure(action, action.get$invoice())); }, _setLoadedInvoices(invoiceState, action) { return invoiceState.loadInvoices$1(action.invoices); }, _setLoadedCompany8(invoiceState, action) { return invoiceState.loadInvoices$1(action.userCompany.company.invoices); }, invoiceUIReducer_closure: function invoiceUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure209: function forceSelectedReducer_closure209() { }, forceSelectedReducer_closure210: function forceSelectedReducer_closure210() { }, forceSelectedReducer_closure211: function forceSelectedReducer_closure211() { }, forceSelectedReducer_closure212: function forceSelectedReducer_closure212() { }, forceSelectedReducer_closure213: function forceSelectedReducer_closure213() { }, forceSelectedReducer_closure214: function forceSelectedReducer_closure214() { }, forceSelectedReducer_closure215: function forceSelectedReducer_closure215() { }, forceSelectedReducer_closure216: function forceSelectedReducer_closure216() { }, forceSelectedReducer_closure217: function forceSelectedReducer_closure217() { }, tabIndexReducer_closure29: function tabIndexReducer_closure29() { }, tabIndexReducer_closure30: function tabIndexReducer_closure30() { }, historyActivityIdReducer_closure3: function historyActivityIdReducer_closure3() { }, editingItemIndexReducer_closure1: function editingItemIndexReducer_closure1() { }, editingItemIndexReducer_closure2: function editingItemIndexReducer_closure2() { }, selectedIdReducer_closure399: function selectedIdReducer_closure399() { }, selectedIdReducer_closure400: function selectedIdReducer_closure400() { }, selectedIdReducer_closure401: function selectedIdReducer_closure401() { }, selectedIdReducer_closure402: function selectedIdReducer_closure402() { }, selectedIdReducer_closure403: function selectedIdReducer_closure403() { }, selectedIdReducer_closure404: function selectedIdReducer_closure404() { }, selectedIdReducer_closure405: function selectedIdReducer_closure405() { }, selectedIdReducer_closure406: function selectedIdReducer_closure406() { }, selectedIdReducer_closure407: function selectedIdReducer_closure407() { }, selectedIdReducer_closure408: function selectedIdReducer_closure408() { }, selectedIdReducer_closure409: function selectedIdReducer_closure409() { }, selectedIdReducer_closure410: function selectedIdReducer_closure410() { }, selectedIdReducer_closure411: function selectedIdReducer_closure411() { }, selectedIdReducer_closure412: function selectedIdReducer_closure412() { }, selectedIdReducer_closure413: function selectedIdReducer_closure413() { }, selectedIdReducer_closure414: function selectedIdReducer_closure414() { }, selectedIdReducer_closure415: function selectedIdReducer_closure415() { }, selectedIdReducer_closure416: function selectedIdReducer_closure416() { }, selectedIdReducer_closure417: function selectedIdReducer_closure417() { }, editingReducer_closure130: function editingReducer_closure130() { }, editingReducer__closure55: function editingReducer__closure55() { }, editingReducer_closure131: function editingReducer_closure131() { }, editingReducer__closure54: function editingReducer__closure54() { }, editingReducer_closure132: function editingReducer_closure132() { }, editingReducer_closure133: function editingReducer_closure133() { }, editingReducer__closure53: function editingReducer__closure53() { }, editingReducer_closure134: function editingReducer_closure134() { }, editingReducer__closure52: function editingReducer__closure52() { }, editingReducer_closure135: function editingReducer_closure135() { }, editingReducer__closure51: function editingReducer__closure51(t0) { this.client = t0; }, editingReducer___closure3: function editingReducer___closure3() { }, editingReducer_closure136: function editingReducer_closure136() { }, editingReducer_closure137: function editingReducer_closure137() { }, editingReducer_closure138: function editingReducer_closure138() { }, editingReducer_closure139: function editingReducer_closure139() { }, editingReducer__closure50: function editingReducer__closure50(t0) { this.action = t0; }, editingReducer_closure140: function editingReducer_closure140() { }, editingReducer__closure49: function editingReducer__closure49(t0) { this.action = t0; }, _updateEditing_closure: function _updateEditing_closure() { }, _addInvoiceItem_closure: function _addInvoiceItem_closure(t0) { this.item = t0; }, _addInvoiceItem_closure0: function _addInvoiceItem_closure0(t0, t1) { this.action = t0; this.item = t1; }, _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; }, invoiceListReducer_closure: function invoiceListReducer_closure() { }, invoiceListReducer__closure: function invoiceListReducer__closure() { }, _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_closure25: function _startListMultiselect_closure25() { }, _addToListMultiselect_closure25: function _addToListMultiselect_closure25(t0) { this.action = t0; }, _removeFromListMultiselect_closure25: function _removeFromListMultiselect_closure25(t0) { this.action = t0; }, _clearListMultiselect_closure25: function _clearListMultiselect_closure25() { }, _purgeClientSuccess_closure24: function _purgeClientSuccess_closure24(t0) { this.action = t0; }, _purgeClientSuccess_closure25: function _purgeClientSuccess_closure25() { }, _purgeClientSuccess_closure23: function _purgeClientSuccess_closure23(t0) { this.ids = t0; }, _purgeClientSuccess__closure15: function _purgeClientSuccess__closure15(t0) { this.ids = t0; }, _purgeClientSuccess__closure16: function _purgeClientSuccess__closure16(t0) { this.ids = t0; }, _markInvoicesSentSuccess_closure: function _markInvoicesSentSuccess_closure(t0) { this.action = t0; }, _markInvoicesPaidSuccess_closure: function _markInvoicesPaidSuccess_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() { }, hasActiveUnpaidInvoices(clientId, invoiceMap) { var hasUnapid, i, t2, t1 = invoiceMap.get$keys(0), invoiceIds = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); for (t1 = invoiceMap._map$_map, hasUnapid = false, i = 0; i < invoiceIds.length; ++i) { t2 = t1.$index(0, invoiceIds[i]); t2.toString; if (t2.clientId === clientId && t2.get$isUnpaid()) hasUnapid = true; } return hasUnapid; }, invoiceQuoteSelector(invoice, quoteMap) { var t1 = {}; t1.invoiceQuote = null; quoteMap._map$_map.forEach$1(0, new A.invoiceQuoteSelector_closure(t1, invoice)); return t1.invoiceQuote; }, invoiceContactSelector(invoice, client) { var t1 = {}, t2 = invoice.invitations._list$_list, t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>"), contactIds = A.List_List$of(new A.MappedListIterable(t2, new A.invoiceContactSelector_closure(), t3), true, t3._eval$1("ListIterable.E")); t1.contactIds = contactIds; if (B.JSArray_methods.contains$1(contactIds, client.get$primaryContact().id)) t1.contactIds = A._setArrayType([client.get$primaryContact().id], type$.JSArray_String); return B.JSArray_methods.firstWhere$2$orElse(client.contacts._list$_list, new A.invoiceContactSelector_closure0(t1), null); }, dropdownInvoiceSelector(invoiceMap, clientMap, vendorMap, invoiceList, clientId, userMap, excludedIds, recurringPrefix) { var t1 = invoiceList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownInvoiceSelector_closure(invoiceMap, excludedIds, clientId, clientMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownInvoiceSelector_closure0(invoiceMap, clientMap, vendorMap, recurringPrefix, userMap)); return list; }, filteredInvoicesSelector(selectionState, invoiceMap, invoiceList, clientMap, vendorMap, paymentMap, projectMap, invoiceListState, userMap, recurringPrefix) { var t1, t2, list, filterEntityType = selectionState.filterEntityType, invoicePaymentMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, type$.List_String); if (filterEntityType === B.EntityType_payment) paymentMap._map$_map.forEach$1(0, new A.filteredInvoicesSelector_closure(invoicePaymentMap)); t1 = invoiceList._list$_list; t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"); list = A.List_List$of(new A.WhereIterable(t1, new A.filteredInvoicesSelector_closure0(invoiceMap, clientMap, projectMap, selectionState, filterEntityType, selectionState.filterEntityId, invoicePaymentMap, invoiceListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredInvoicesSelector_closure1(invoiceMap, invoiceListState, clientMap, vendorMap, userMap, recurringPrefix)); return list; }, invoiceStatsForClient(clientId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.invoiceStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, invoiceStatsForDesign(designId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.invoiceStatsForDesign_closure(t1, designId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, invoiceStatsForSubscription(subscriptionId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.invoiceStatsForSubscription_closure(t1, subscriptionId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, invoiceStatsForProject(projectId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.invoiceStatsForProject_closure(t1, projectId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, quoteStatsForProject(projectId, quoteMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; quoteMap._map$_map.forEach$1(0, new A.quoteStatsForProject_closure(t1, projectId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, invoiceStatsForUser(userId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.invoiceStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, precisionForInvoice(state, invoice) { var currency = state.staticState.currencyMap._map$_map.$index(0, state.userCompanyStates._list$_list[state.uiState.selectedCompanyIndex].clientState.$get$1(0, invoice.clientId).settings.currencyId), t1 = currency == null ? null : currency.precision; return t1 == null ? 2 : t1; }, memoizedHasActiveUnpaidInvoices_closure: function memoizedHasActiveUnpaidInvoices_closure() { }, memoizedInvoiceQuoteSelector_closure: function memoizedInvoiceQuoteSelector_closure() { }, invoiceQuoteSelector_closure: function invoiceQuoteSelector_closure(t0, t1) { this._box_0 = t0; this.invoice = t1; }, invoiceContactSelector_closure: function invoiceContactSelector_closure() { }, invoiceContactSelector_closure0: function invoiceContactSelector_closure0(t0) { this._box_0 = t0; }, memoizedDropdownInvoiceList_closure: function memoizedDropdownInvoiceList_closure() { }, dropdownInvoiceSelector_closure: function dropdownInvoiceSelector_closure(t0, t1, t2, t3) { var _ = this; _.invoiceMap = t0; _.excludedIds = t1; _.clientId = t2; _.clientMap = t3; }, dropdownInvoiceSelector_closure0: function dropdownInvoiceSelector_closure0(t0, t1, t2, t3, t4) { var _ = this; _.invoiceMap = t0; _.clientMap = t1; _.vendorMap = t2; _.recurringPrefix = t3; _.userMap = t4; }, memoizedFilteredInvoiceList_closure: function memoizedFilteredInvoiceList_closure() { }, filteredInvoicesSelector_closure: function filteredInvoicesSelector_closure(t0) { this.invoicePaymentMap = t0; }, filteredInvoicesSelector__closure0: function filteredInvoicesSelector__closure0(t0, t1) { this.invoicePaymentMap = t0; this.payment = t1; }, filteredInvoicesSelector_closure0: function filteredInvoicesSelector_closure0(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.invoiceMap = t0; _.clientMap = t1; _.projectMap = t2; _.selectionState = t3; _.filterEntityType = t4; _.filterEntityId = t5; _.invoicePaymentMap = t6; _.invoiceListState = t7; }, filteredInvoicesSelector__closure: function filteredInvoicesSelector__closure(t0, t1) { this._box_0 = t0; this.filterEntityId = t1; }, filteredInvoicesSelector_closure1: function filteredInvoicesSelector_closure1(t0, t1, t2, t3, t4, t5) { var _ = this; _.invoiceMap = t0; _.invoiceListState = t1; _.clientMap = t2; _.vendorMap = t3; _.userMap = t4; _.recurringPrefix = t5; }, memoizedInvoiceStatsForClient_closure: function memoizedInvoiceStatsForClient_closure() { }, invoiceStatsForClient_closure: function invoiceStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, memoizedInvoiceStatsForDesign_closure: function memoizedInvoiceStatsForDesign_closure() { }, invoiceStatsForDesign_closure: function invoiceStatsForDesign_closure(t0, t1) { this._box_0 = t0; this.designId = t1; }, memoizedInvoiceStatsForSubscription_closure: function memoizedInvoiceStatsForSubscription_closure() { }, invoiceStatsForSubscription_closure: function invoiceStatsForSubscription_closure(t0, t1) { this._box_0 = t0; this.subscriptionId = t1; }, memoizedInvoiceStatsForProject_closure: function memoizedInvoiceStatsForProject_closure() { }, invoiceStatsForProject_closure: function invoiceStatsForProject_closure(t0, t1) { this._box_0 = t0; this.projectId = t1; }, memoizedQuoteStatsForProject_closure: function memoizedQuoteStatsForProject_closure() { }, quoteStatsForProject_closure: function quoteStatsForProject_closure(t0, t1) { this._box_0 = t0; this.projectId = t1; }, memoizedInvoiceStatsForUser_closure: function memoizedInvoiceStatsForUser_closure() { }, invoiceStatsForUser_closure: function invoiceStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, _$InvoiceState$_(list, map) { var _s12_ = "InvoiceState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$InvoiceState(map, list); }, _$InvoiceUIState$_(cancelCompleter, editing, editingItemIndex, forceSelected, historyActivityId, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "InvoiceUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$InvoiceUIState(editing, editingItemIndex, historyActivityId, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, InvoiceState: function InvoiceState() { }, InvoiceState_loadInvoices_closure0: function InvoiceState_loadInvoices_closure0() { }, InvoiceState_loadInvoices_closure1: function InvoiceState_loadInvoices_closure1() { }, InvoiceState_loadInvoices_closure: function InvoiceState_loadInvoices_closure(t0, t1) { this.$this = t0; this.map = t1; }, InvoiceUIState: function InvoiceUIState() { }, _$InvoiceStateSerializer: function _$InvoiceStateSerializer() { }, _$InvoiceUIStateSerializer: function _$InvoiceUIStateSerializer() { }, _$InvoiceState: function _$InvoiceState(t0, t1) { this.map = t0; this.list = t1; this._invoice_state$__hashCode = null; }, InvoiceStateBuilder: function InvoiceStateBuilder() { this._invoice_state$_list = this._invoice_state$_map = this._invoice_state$_$v = null; }, _$InvoiceUIState: function _$InvoiceUIState(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; _._invoice_state$__hashCode = null; }, InvoiceUIStateBuilder: function InvoiceUIStateBuilder() { var _ = this; _._invoice_state$_cancelCompleter = _._invoice_state$_saveCompleter = _._invoice_state$_tabIndex = _._invoice_state$_forceSelected = _._invoice_state$_selectedId = _._invoice_state$_listUIState = _._invoice_state$_historyActivityId = _._invoice_state$_editingItemIndex = _._invoice_state$_editing = _._invoice_state$_$v = null; }, _InvoiceUIState_Object_EntityUIState: function _InvoiceUIState_Object_EntityUIState() { }, handlePaymentAction(context, payments, action) { return A.handlePaymentAction$body(context, payments, action); }, handlePaymentAction$body(context, payments, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, t3, paymentIds, payment, message, _i, documentIds, t4, t5, t6, _box_0; var $async$handlePaymentAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; if (payments.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany; t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = A._arrayInstanceType(payments)._eval$1("MappedListIterable<1,String>"); paymentIds = A.List_List$of(new A.MappedListIterable(payments, new A.handlePaymentAction_closure(), t3), true, t3._eval$1("ListIterable.E")); t3 = type$.PaymentEntity; payment = t3._as(B.JSArray_methods.get$first(payments)); _box_0.payment = payment; case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_applyPayment: // goto case $async$goto = 6; break; case B.EntityAction_refundPayment: // goto case $async$goto = 7; break; case B.EntityAction_sendEmail: // goto case $async$goto = 8; break; case B.EntityAction_restore: // goto case $async$goto = 9; break; case B.EntityAction_archive: // goto case $async$goto = 10; break; case B.EntityAction_delete: // goto case $async$goto = 11; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 12; break; case B.EntityAction_more: // goto case $async$goto = 13; break; case B.EntityAction_documents: // goto case $async$goto = 14; break; case B.EntityAction_runTemplate: // goto case $async$goto = 15; break; case B.EntityAction_addComment: // goto case $async$goto = 16; break; default: // goto default $async$goto = 17; break; } break; case 5: // case A.editEntity(null, payment, true, null); // goto after switch $async$goto = 4; break; case 6: // case A.viewEntity(false, payment, null, false); $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.handlePaymentAction_closure0(_box_0)); // goto after switch $async$goto = 4; break; case 7: // case A.viewEntity(false, payment, null, false); $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.handlePaymentAction_closure1(_box_0, store, t1.company)); // goto after switch $async$goto = 4; break; case 8: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_payment"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.EmailPaymentRequest(t1, paymentIds)); // goto after switch $async$goto = 4; break; case 9: // case t1 = paymentIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_payments"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_payment"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestorePaymentsRequest(t1, paymentIds)); // goto after switch $async$goto = 4; break; case 10: // case t1 = paymentIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_payments"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_payment"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchivePaymentsRequest(t1, paymentIds)); // goto after switch $async$goto = 4; break; case 11: // case t1 = paymentIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_payments"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_payment"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeletePaymentsRequest(t1, paymentIds)); // goto after switch $async$goto = 4; break; case 12: // case if (store.__Store__state_A.uiState.paymentUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartPaymentMultiselect()); } t1 = payments.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < payments.length; payments.length === t1 || (0, A.throwConcurrentModificationError)(payments), ++_i) { payment = payments[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(payment); t2 = t2.paymentUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToPaymentMultiselect(payment)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromPaymentMultiselect(payment)); } } // goto after switch $async$goto = 4; break; case 13: // case A.showEntityActionsDialog(null, A._setArrayType([payment], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 14: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = payments.length, _i = 0; _i < payments.length; payments.length === t1 || (0, A.throwConcurrentModificationError)(payments), ++_i) for (t4 = t3._as(payments[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 15: // case A.showDialog(null, null, false, null, new A.handlePaymentAction_closure2(payments), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 16: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 18; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handlePaymentAction_closure3(_box_0), t1, null, true, type$.bool), $async$handlePaymentAction); case 18: // returning from await. if ($async$result === true) { t1 = _box_0.payment; t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.LoadPayment(null, t1.id)); } // goto after switch $async$goto = 4; break; case 17: // default A.print("## Error: action " + A.S(action) + " not handled in client_actions"); case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handlePaymentAction, $async$completer); }, ViewPaymentList: function ViewPaymentList(t0) { this.page = t0; }, 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(t0, t1) { this.completer = t0; this.page = t1; }, 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; }, FilterPaymentsByStatus: function FilterPaymentsByStatus(t0) { this.status = 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() { }, SavePaymentDocumentRequest: function SavePaymentDocumentRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.multipartFiles = t1; _.payment = t2; _.isPrivate = t3; }, SavePaymentDocumentFailure: function SavePaymentDocumentFailure() { }, UpdatePaymentTab: function UpdatePaymentTab(t0) { this.tabIndex = t0; }, handlePaymentAction_closure: function handlePaymentAction_closure() { }, handlePaymentAction_closure0: function handlePaymentAction_closure0(t0) { this._box_0 = t0; }, 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; }, handlePaymentAction_closure2: function handlePaymentAction_closure2(t0) { this.payments = t0; }, handlePaymentAction_closure3: function handlePaymentAction_closure3(t0) { this._box_0 = t0; }, _editPayment() { return new A._editPayment_closure(); }, _viewRefundPayment() { return new A._viewRefundPayment_closure(); }, _viewPayment() { return new A._viewPayment_closure(); }, _viewPaymentList() { return new A._viewPaymentList_closure0(); }, _archivePayment(repository) { return new A._archivePayment_closure(repository); }, _deletePayment(repository) { return new A._deletePayment_closure(repository); }, _restorePayment(repository) { return new A._restorePayment_closure(repository); }, _savePayment(repository) { return new A._savePayment_closure(repository); }, _refundPayment(repository) { return new A._refundPayment_closure(repository); }, _emailPayment(repository) { return new A._emailPayment_closure(repository); }, _loadPayment(repository) { return new A._loadPayment_closure(repository); }, _loadPayments(repository) { return new A._loadPayments_closure(repository); }, _saveDocument7(repository) { return new A._saveDocument_closure6(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___closure: function _loadPayments___closure(t0) { this.documents = t0; }, _loadPayments____closure: function _loadPayments____closure(t0, t1) { this.documents = t0; this.product = t1; }, _loadPayments_____closure: function _loadPayments_____closure(t0) { this.product = t0; }, _loadPayments__closure0: function _loadPayments__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure6: function _saveDocument_closure6(t0) { this.repository = t0; }, _saveDocument__closure13: function _saveDocument__closure13(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure6: function _saveDocument___closure6(t0, t1) { this.documents = t0; this.payment = t1; }, _saveDocument____closure6: function _saveDocument____closure6(t0) { this.payment = t0; }, _saveDocument__closure14: function _saveDocument__closure14(t0, t1) { this.store = t0; this.action = t1; }, paymentUIReducer(state, action) { var t1 = new A.PaymentUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._payment_state$_$v = state; new A.paymentUIReducer_closure(state, action).call$1(t1); return t1._payment_state$_build$0(); }, _clearEditing7(payment, action) { return A.PaymentEntity_PaymentEntity(null, null, null); }, _updateEditing8(payment, action) { return action.get$payment(); }, _viewPaymentList0(paymentListState, action) { return paymentListState.rebuild$1(new A._viewPaymentList_closure()); }, _filterPaymentsByCustom1(paymentListState, action) { if (B.JSArray_methods.contains$1(paymentListState.custom1Filters._list$_list, action.value)) return paymentListState.rebuild$1(new A._filterPaymentsByCustom1_closure(action)); else return paymentListState.rebuild$1(new A._filterPaymentsByCustom1_closure0(action)); }, _filterPaymentsByCustom2(paymentListState, action) { if (B.JSArray_methods.contains$1(paymentListState.custom2Filters._list$_list, action.value)) return paymentListState.rebuild$1(new A._filterPaymentsByCustom2_closure(action)); else return paymentListState.rebuild$1(new A._filterPaymentsByCustom2_closure0(action)); }, _filterPaymentsByCustom3(paymentListState, action) { if (B.JSArray_methods.contains$1(paymentListState.custom3Filters._list$_list, action.value)) return paymentListState.rebuild$1(new A._filterPaymentsByCustom3_closure(action)); else return paymentListState.rebuild$1(new A._filterPaymentsByCustom3_closure0(action)); }, _filterPaymentsByCustom4(paymentListState, action) { if (B.JSArray_methods.contains$1(paymentListState.custom4Filters._list$_list, action.value)) return paymentListState.rebuild$1(new A._filterPaymentsByCustom4_closure(action)); else return paymentListState.rebuild$1(new A._filterPaymentsByCustom4_closure0(action)); }, _filterPaymentsByState(paymentListState, action) { if (B.JSArray_methods.contains$1(paymentListState.stateFilters._list$_list, action.state)) return paymentListState.rebuild$1(new A._filterPaymentsByState_closure(action)); else return paymentListState.rebuild$1(new A._filterPaymentsByState_closure0(action)); }, _filterPaymentsByStatus(paymentListState, action) { if (B.JSArray_methods.contains$1(paymentListState.statusFilters._list$_list, action.status)) return paymentListState.rebuild$1(new A._filterPaymentsByStatus_closure(action)); else return paymentListState.rebuild$1(new A._filterPaymentsByStatus_closure0(action)); }, _filterPayments(paymentListState, action) { return paymentListState.rebuild$1(new A._filterPayments_closure(action, paymentListState)); }, _sortPayments(paymentListState, action) { return paymentListState.rebuild$1(new A._sortPayments_closure(action)); }, _startListMultiselect9(paymentListState, action) { return paymentListState.rebuild$1(new A._startListMultiselect_closure0()); }, _addToListMultiselect9(paymentListState, action) { return paymentListState.rebuild$1(new A._addToListMultiselect_closure0(action)); }, _removeFromListMultiselect9(paymentListState, action) { return paymentListState.rebuild$1(new A._removeFromListMultiselect_closure0(action)); }, _clearListMultiselect9(paymentListState, action) { return paymentListState.rebuild$1(new A._clearListMultiselect_closure0()); }, _purgeClientSuccess3(paymentState, action) { var t1 = paymentState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return paymentState.rebuild$1(new A._purgeClientSuccess_closure2(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure3(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure4(), t3), true, t3._eval$1("Iterable.E")))); }, _archivePaymentSuccess(paymentState, action) { return paymentState.rebuild$1(new A._archivePaymentSuccess_closure(action)); }, _deletePaymentSuccess(paymentState, action) { return paymentState.rebuild$1(new A._deletePaymentSuccess_closure(action)); }, _restorePaymentSuccess(paymentState, action) { return paymentState.rebuild$1(new A._restorePaymentSuccess_closure(action)); }, _addPayment(paymentState, action) { return paymentState.rebuild$1(new A._addPayment_closure(action)); }, _updatePayment(paymentState, action) { return paymentState.rebuild$1(new A._updatePayment_closure(action)); }, _setLoadedPayment(paymentState, action) { return paymentState.rebuild$1(new A._setLoadedPayment_closure(action)); }, _setLoadedPayments(paymentState, action) { return paymentState.loadPayments$1(action.payments); }, _setLoadedCompany9(paymentState, action) { return paymentState.loadPayments$1(action.userCompany.company.payments); }, paymentUIReducer_closure: function paymentUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, 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() { }, forceSelectedReducer_closure15: function forceSelectedReducer_closure15() { }, forceSelectedReducer_closure16: function forceSelectedReducer_closure16() { }, 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() { }, selectedIdReducer_closure34: function selectedIdReducer_closure34() { }, 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() { }, paymentListReducer_closure: function paymentListReducer_closure() { }, paymentListReducer__closure: function paymentListReducer__closure() { }, _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; }, _filterPaymentsByStatus_closure: function _filterPaymentsByStatus_closure(t0) { this.action = t0; }, _filterPaymentsByStatus_closure0: function _filterPaymentsByStatus_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() { }, _purgeClientSuccess_closure3: function _purgeClientSuccess_closure3(t0) { this.action = t0; }, _purgeClientSuccess_closure4: function _purgeClientSuccess_closure4() { }, _purgeClientSuccess_closure2: function _purgeClientSuccess_closure2(t0) { this.ids = t0; }, _purgeClientSuccess__closure1: function _purgeClientSuccess__closure1(t0) { this.ids = t0; }, _purgeClientSuccess__closure2: function _purgeClientSuccess__closure2(t0) { this.ids = t0; }, _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; }, paymentsByInvoiceSelector(invoiceId, paymentMap, paymentList) { var t1 = paymentList._list$_list; t1 = new A.MappedListIterable(t1, new A.paymentsByInvoiceSelector_closure(paymentMap), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,PaymentEntity?>")).super$Iterable$where(0, new A.paymentsByInvoiceSelector_closure0(invoiceId)); return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); }, paymentsByCreditSelector(creditId, paymentMap, paymentList) { var t1 = paymentList._list$_list; t1 = new A.MappedListIterable(t1, new A.paymentsByCreditSelector_closure(paymentMap), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,PaymentEntity?>")).super$Iterable$where(0, new A.paymentsByCreditSelector_closure0(creditId)); return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); }, filteredPaymentsSelector(selectionState, paymentMap, paymentList, invoiceMap, clientMap, userMap, paymentTypeMap, paymentListState) { var t1 = paymentList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredPaymentsSelector_closure(paymentMap, paymentListState, clientMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredPaymentsSelector_closure0(paymentMap, paymentListState, invoiceMap, clientMap, userMap, paymentTypeMap)); return list; }, paymentStatsForClient(clientId, paymentMap, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; paymentMap._map$_map.forEach$1(0, new A.paymentStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, 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, t5) { var _ = this; _.paymentMap = t0; _.paymentListState = t1; _.invoiceMap = t2; _.clientMap = t3; _.userMap = t4; _.paymentTypeMap = t5; }, memoizedPaymentStatsForClient_closure: function memoizedPaymentStatsForClient_closure() { }, paymentStatsForClient_closure: function paymentStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, _$PaymentState$_(list, map) { var _s12_ = "PaymentState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$PaymentState(map, list); }, _$PaymentUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "PaymentUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$PaymentUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, PaymentState: function PaymentState() { }, PaymentState_loadPayments_closure0: function PaymentState_loadPayments_closure0() { }, PaymentState_loadPayments_closure1: function PaymentState_loadPayments_closure1() { }, PaymentState_loadPayments_closure: function PaymentState_loadPayments_closure(t0, t1) { this.$this = t0; this.map = t1; }, PaymentUIState: function PaymentUIState() { }, _$PaymentStateSerializer: function _$PaymentStateSerializer() { }, _$PaymentUIStateSerializer: function _$PaymentUIStateSerializer() { }, _$PaymentState: function _$PaymentState(t0, t1) { this.map = t0; this.list = t1; this._payment_state$__hashCode = null; }, PaymentStateBuilder: function PaymentStateBuilder() { this._payment_state$_list = this._payment_state$_map = this._payment_state$_$v = null; }, _$PaymentUIState: function _$PaymentUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._payment_state$__hashCode = null; }, PaymentUIStateBuilder: function PaymentUIStateBuilder() { var _ = this; _._payment_state$_cancelCompleter = _._payment_state$_saveCompleter = _._payment_state$_tabIndex = _._payment_state$_forceSelected = _._payment_state$_selectedId = _._payment_state$_listUIState = _._payment_state$_editing = _._payment_state$_$v = null; }, _PaymentUIState_Object_EntityUIState: function _PaymentUIState_Object_EntityUIState() { }, handlePaymentTermAction(context, paymentTerms, action) { var store, t1, paymentTerm, t2, paymentTermIds, message, _i, t3, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (paymentTerms.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); paymentTerm = type$.PaymentTermEntity._as(B.JSArray_methods.get$first(paymentTerms)); t2 = A._arrayInstanceType(paymentTerms)._eval$1("MappedListIterable<1,String>"); paymentTermIds = A.List_List$of(new A.MappedListIterable(paymentTerms, new A.handlePaymentTermAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, paymentTerm, true, _null); break; case B.EntityAction_restore: t2 = paymentTermIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_payment_terms"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_payment_term"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestorePaymentTermsRequest(t1, paymentTermIds)); break; case B.EntityAction_archive: t2 = paymentTermIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_payment_terms"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_payment_term"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchivePaymentTermsRequest(t1, paymentTermIds)); break; case B.EntityAction_delete: t2 = paymentTermIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_payment_terms"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_payment_term"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeletePaymentTermsRequest(t1, paymentTermIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.paymentTermUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartPaymentTermMultiselect()); } t1 = paymentTerms.length; if (t1 === 0) break; for (_i = 0; _i < paymentTerms.length; paymentTerms.length === t1 || (0, A.throwConcurrentModificationError)(paymentTerms), ++_i) { paymentTerm = paymentTerms[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(paymentTerm); t2 = t2.paymentTermUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToPaymentTermMultiselect(paymentTerm)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromPaymentTermMultiselect(paymentTerm)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([paymentTerm], type$.JSArray_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() { }, _editPaymentTerm() { return new A._editPaymentTerm_closure(); }, _viewPaymentTerm() { return new A._viewPaymentTerm_closure(); }, _viewPaymentTermList() { return new A._viewPaymentTermList_closure0(); }, _archivePaymentTerm(repository) { return new A._archivePaymentTerm_closure(repository); }, _deletePaymentTerm(repository) { return new A._deletePaymentTerm_closure(repository); }, _restorePaymentTerm(repository) { return new A._restorePaymentTerm_closure(repository); }, _savePaymentTerm(repository) { return new A._savePaymentTerm_closure(repository); }, _loadPaymentTerm(repository) { return new A._loadPaymentTerm_closure(repository); }, _loadPaymentTerms(repository) { return new A._loadPaymentTerms_closure(repository); }, _editPaymentTerm_closure: function _editPaymentTerm_closure() { }, _viewPaymentTerm_closure: function _viewPaymentTerm_closure() { }, _viewPaymentTermList_closure0: function _viewPaymentTermList_closure0() { }, _viewPaymentTermList__closure: function _viewPaymentTermList__closure() { }, _archivePaymentTerm_closure: function _archivePaymentTerm_closure(t0) { this.repository = t0; }, _archivePaymentTerm__closure: function _archivePaymentTerm__closure(t0) { this.store = t0; }, _archivePaymentTerm__closure0: function _archivePaymentTerm__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archivePaymentTerm__closure1: function _archivePaymentTerm__closure1(t0, t1, t2) { this.store = t0; this.prevPaymentTerms = t1; this.action = t2; }, _deletePaymentTerm_closure: function _deletePaymentTerm_closure(t0) { this.repository = t0; }, _deletePaymentTerm__closure: function _deletePaymentTerm__closure(t0) { this.store = t0; }, _deletePaymentTerm__closure0: function _deletePaymentTerm__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deletePaymentTerm__closure1: function _deletePaymentTerm__closure1(t0, t1, t2) { this.store = t0; this.prevPaymentTerms = t1; this.action = t2; }, _restorePaymentTerm_closure: function _restorePaymentTerm_closure(t0) { this.repository = t0; }, _restorePaymentTerm__closure: function _restorePaymentTerm__closure(t0) { this.store = t0; }, _restorePaymentTerm__closure0: function _restorePaymentTerm__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restorePaymentTerm__closure1: function _restorePaymentTerm__closure1(t0, t1, t2) { this.store = t0; this.prevPaymentTerms = t1; this.action = t2; }, _savePaymentTerm_closure: function _savePaymentTerm_closure(t0) { this.repository = t0; }, _savePaymentTerm__closure: function _savePaymentTerm__closure(t0, t1) { this.action = t0; this.store = t1; }, _savePaymentTerm__closure0: function _savePaymentTerm__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadPaymentTerm_closure: function _loadPaymentTerm_closure(t0) { this.repository = t0; }, _loadPaymentTerm__closure: function _loadPaymentTerm__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadPaymentTerm__closure0: function _loadPaymentTerm__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadPaymentTerms_closure: function _loadPaymentTerms_closure(t0) { this.repository = t0; }, _loadPaymentTerms__closure: function _loadPaymentTerms__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadPaymentTerms__closure0: function _loadPaymentTerms__closure0(t0, t1) { this.store = t0; this.action = t1; }, paymentTermUIReducer(state, action) { var t1 = new A.PaymentTermUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._payment_term_state$_$v = state; new A.paymentTermUIReducer_closure(state, action).call$1(t1); return t1._payment_term_state$_build$0(); }, _clearEditing8(paymentTerm, action) { return A.PaymentTermEntity_PaymentTermEntity(null, null); }, _updateEditing9(paymentTerm, action) { return action.get$paymentTerm(); }, _viewPaymentTermList0(paymentTermListState, action) { return paymentTermListState.rebuild$1(new A._viewPaymentTermList_closure()); }, _filterPaymentTermsByCustom1(paymentTermListState, action) { if (B.JSArray_methods.contains$1(paymentTermListState.custom1Filters._list$_list, action.value)) return paymentTermListState.rebuild$1(new A._filterPaymentTermsByCustom1_closure(action)); else return paymentTermListState.rebuild$1(new A._filterPaymentTermsByCustom1_closure0(action)); }, _filterPaymentTermsByCustom2(paymentTermListState, action) { if (B.JSArray_methods.contains$1(paymentTermListState.custom2Filters._list$_list, action.value)) return paymentTermListState.rebuild$1(new A._filterPaymentTermsByCustom2_closure(action)); else return paymentTermListState.rebuild$1(new A._filterPaymentTermsByCustom2_closure0(action)); }, _filterPaymentTermsByState(paymentTermListState, action) { if (B.JSArray_methods.contains$1(paymentTermListState.stateFilters._list$_list, action.state)) return paymentTermListState.rebuild$1(new A._filterPaymentTermsByState_closure(action)); else return paymentTermListState.rebuild$1(new A._filterPaymentTermsByState_closure0(action)); }, _filterPaymentTerms(paymentTermListState, action) { return paymentTermListState.rebuild$1(new A._filterPaymentTerms_closure(action, paymentTermListState)); }, _sortPaymentTerms(paymentTermListState, action) { return paymentTermListState.rebuild$1(new A._sortPaymentTerms_closure(action)); }, _startListMultiselect10(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure12()); }, _addToListMultiselect10(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure12(action)); }, _removeFromListMultiselect10(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure12(action)); }, _clearListMultiselect10(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure12()); }, _archivePaymentTermSuccess(paymentTermState, action) { return paymentTermState.rebuild$1(new A._archivePaymentTermSuccess_closure(action)); }, _deletePaymentTermSuccess(paymentTermState, action) { return paymentTermState.rebuild$1(new A._deletePaymentTermSuccess_closure(action)); }, _restorePaymentTermSuccess(paymentTermState, action) { return paymentTermState.rebuild$1(new A._restorePaymentTermSuccess_closure(action)); }, _addPaymentTerm(paymentTermState, action) { return paymentTermState.rebuild$1(new A._addPaymentTerm_closure(action)); }, _updatePaymentTerm(paymentTermState, action) { return paymentTermState.rebuild$1(new A._updatePaymentTerm_closure(action)); }, _setLoadedPaymentTerm(paymentTermState, action) { return paymentTermState.rebuild$1(new A._setLoadedPaymentTerm_closure(action)); }, _setLoadedPaymentTerms(paymentTermState, action) { return paymentTermState.loadPaymentTerms$1(action.paymentTerms); }, _setLoadedCompany10(paymentTermState, action) { var state = paymentTermState.rebuild$1(new A._setLoadedCompany_closure7(action)); return state.rebuild$1(new A._setLoadedCompany_closure8(state)); }, paymentTermUIReducer_closure: function paymentTermUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure101: function forceSelectedReducer_closure101() { }, forceSelectedReducer_closure102: function forceSelectedReducer_closure102() { }, 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() { }, selectedIdReducer_closure195: function selectedIdReducer_closure195() { }, selectedIdReducer_closure196: function selectedIdReducer_closure196() { }, selectedIdReducer_closure197: function selectedIdReducer_closure197() { }, selectedIdReducer_closure198: function selectedIdReducer_closure198() { }, selectedIdReducer_closure199: function selectedIdReducer_closure199() { }, selectedIdReducer_closure200: function selectedIdReducer_closure200() { }, selectedIdReducer_closure201: function selectedIdReducer_closure201() { }, selectedIdReducer_closure202: function selectedIdReducer_closure202() { }, selectedIdReducer_closure203: function selectedIdReducer_closure203() { }, selectedIdReducer_closure204: function selectedIdReducer_closure204() { }, selectedIdReducer_closure205: function selectedIdReducer_closure205() { }, selectedIdReducer_closure206: function selectedIdReducer_closure206() { }, selectedIdReducer_closure207: function selectedIdReducer_closure207() { }, selectedIdReducer_closure208: function selectedIdReducer_closure208() { }, editingReducer_closure64: function editingReducer_closure64() { }, editingReducer_closure65: function editingReducer_closure65() { }, editingReducer_closure66: function editingReducer_closure66() { }, editingReducer_closure67: function editingReducer_closure67() { }, editingReducer__closure24: function editingReducer__closure24() { }, paymentTermListReducer_closure: function paymentTermListReducer_closure() { }, paymentTermListReducer__closure: function paymentTermListReducer__closure() { }, _viewPaymentTermList_closure: function _viewPaymentTermList_closure() { }, _filterPaymentTermsByCustom1_closure: function _filterPaymentTermsByCustom1_closure(t0) { this.action = t0; }, _filterPaymentTermsByCustom1_closure0: function _filterPaymentTermsByCustom1_closure0(t0) { this.action = t0; }, _filterPaymentTermsByCustom2_closure: function _filterPaymentTermsByCustom2_closure(t0) { this.action = t0; }, _filterPaymentTermsByCustom2_closure0: function _filterPaymentTermsByCustom2_closure0(t0) { this.action = t0; }, _filterPaymentTermsByState_closure: function _filterPaymentTermsByState_closure(t0) { this.action = t0; }, _filterPaymentTermsByState_closure0: function _filterPaymentTermsByState_closure0(t0) { this.action = t0; }, _filterPaymentTerms_closure: function _filterPaymentTerms_closure(t0, t1) { this.action = t0; this.paymentTermListState = t1; }, _sortPaymentTerms_closure: function _sortPaymentTerms_closure(t0) { this.action = t0; }, _startListMultiselect_closure12: function _startListMultiselect_closure12() { }, _addToListMultiselect_closure12: function _addToListMultiselect_closure12(t0) { this.action = t0; }, _removeFromListMultiselect_closure12: function _removeFromListMultiselect_closure12(t0) { this.action = t0; }, _clearListMultiselect_closure12: function _clearListMultiselect_closure12() { }, _archivePaymentTermSuccess_closure: function _archivePaymentTermSuccess_closure(t0) { this.action = t0; }, _deletePaymentTermSuccess_closure: function _deletePaymentTermSuccess_closure(t0) { this.action = t0; }, _restorePaymentTermSuccess_closure: function _restorePaymentTermSuccess_closure(t0) { this.action = t0; }, _addPaymentTerm_closure: function _addPaymentTerm_closure(t0) { this.action = t0; }, _updatePaymentTerm_closure: function _updatePaymentTerm_closure(t0) { this.action = t0; }, _setLoadedPaymentTerm_closure: function _setLoadedPaymentTerm_closure(t0) { this.action = t0; }, _setLoadedCompany_closure7: function _setLoadedCompany_closure7(t0) { this.action = t0; }, _setLoadedCompany__closure7: function _setLoadedCompany__closure7() { }, _setLoadedCompany__closure8: function _setLoadedCompany__closure8() { }, _setLoadedCompany_closure8: function _setLoadedCompany_closure8(t0) { this.state = t0; }, dropdownPaymentTermsSelector(paymentTermMap, paymentTermList) { var t1 = paymentTermList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownPaymentTermsSelector_closure(paymentTermMap, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.bool)), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownPaymentTermsSelector_closure0(paymentTermMap)); return list; }, filteredPaymentTermsSelector(selectionState, paymentTermMap, paymentTermList, paymentTermListState) { var t1 = paymentTermList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredPaymentTermsSelector_closure(paymentTermMap, selectionState, paymentTermListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredPaymentTermsSelector_closure0(paymentTermMap, paymentTermListState)); return list; }, memoizedDropdownPaymentTermList_closure: function memoizedDropdownPaymentTermList_closure() { }, dropdownPaymentTermsSelector_closure: function dropdownPaymentTermsSelector_closure(t0, t1) { this.paymentTermMap = t0; this.numDays = t1; }, dropdownPaymentTermsSelector_closure0: function dropdownPaymentTermsSelector_closure0(t0) { this.paymentTermMap = t0; }, memoizedFilteredPaymentTermList_closure: function memoizedFilteredPaymentTermList_closure() { }, filteredPaymentTermsSelector_closure: function filteredPaymentTermsSelector_closure(t0, t1, t2) { this.paymentTermMap = t0; this.selectionState = t1; this.paymentTermListState = t2; }, filteredPaymentTermsSelector_closure0: function filteredPaymentTermsSelector_closure0(t0, t1) { this.paymentTermMap = t0; this.paymentTermListState = t1; }, _$PaymentTermState$_(list, map) { var _s16_ = "PaymentTermState"; A.BuiltValueNullFieldError_checkNotNull(map, _s16_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s16_, "list"); return new A._$PaymentTermState(map, list); }, _$PaymentTermUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s18_ = "PaymentTermUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s18_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s18_, "tabIndex"); return new A._$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() { }, handleProductAction(context, products, action) { var store, t1, t2, t3, productIds, product, invoice, message, _i, documentIds, t4, t5, t6, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (products.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = A._arrayInstanceType(products)._eval$1("MappedListIterable<1,String>"); productIds = A.List_List$of(new A.MappedListIterable(products, new A.handleProductAction_closure(), t3), true, t3._eval$1("ListIterable.E")); product = B.JSArray_methods.get$first(products); switch (action) { case B.EntityAction_newInvoice: invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, t1, _null, _null); A.createEntity(_null, _null, invoice.rebuild$1(new A.handleProductAction_closure0(productIds, t1, invoice)), _null, false); break; case B.EntityAction_newQuote: invoice = A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_quote, _null, t1, _null, _null); A.createEntity(_null, _null, invoice.rebuild$1(new A.handleProductAction_closure1(productIds, t1, invoice)), _null, false); break; case B.EntityAction_newPurchaseOrder: invoice = A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_purchaseOrder, _null, t1, _null, _null); A.createEntity(_null, _null, invoice.rebuild$1(new A.handleProductAction_closure2(productIds, t1, invoice)), _null, false); break; case B.EntityAction_edit: A.editEntity(_null, product, true, _null); break; case B.EntityAction_clone: A.createEntity(_null, _null, type$.ProductEntity._as(product).get$clone(0), _null, false); break; case B.EntityAction_restore: t1 = productIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_products"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_product"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreProductsRequest(t1, productIds)); break; case B.EntityAction_archive: t1 = productIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_products"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_product"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveProductsRequest(t1, productIds)); break; case B.EntityAction_delete: t1 = productIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_products"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_product"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteProductsRequest(t1, productIds)); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.productUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartProductMultiselect()); } t1 = products.length; if (t1 === 0) break; for (_i = 0; _i < products.length; products.length === t1 || (0, A.throwConcurrentModificationError)(products), ++_i) { product = products[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(product); t2 = t2.productUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToProductMultiselect(product)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromProductMultiselect(product)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([product], type$.JSArray_BaseEntity), false); break; case B.EntityAction_documents: documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = products.length, t3 = type$.ProductEntity, _i = 0; _i < products.length; products.length === t1 || (0, A.throwConcurrentModificationError)(products), ++_i) for (t4 = t3._as(products[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), _null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } break; case B.EntityAction_setTaxCategory: A.showDialog(_null, _null, true, _null, new A.handleProductAction_closure3(t2, store, productIds), context, _null, true, type$.void); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in product_actions"); break; } }, ViewProductList: function ViewProductList(t0) { this.page = t0; }, ViewProduct: function ViewProduct(t0) { this.productId = t0; }, EditProduct: function EditProduct(t0) { this.product = t0; }, UpdateProduct: function UpdateProduct(t0) { this.product = t0; }, LoadProductRequest: function LoadProductRequest() { }, LoadProduct: function LoadProduct(t0, t1) { this.completer = t0; this.productId = t1; }, LoadProductSuccess: function LoadProductSuccess(t0) { this.product = t0; }, LoadProductFailure: function LoadProductFailure(t0) { this.error = t0; }, LoadProducts: function LoadProducts(t0, t1) { this.completer = t0; this.page = t1; }, LoadProductsRequest: function LoadProductsRequest() { }, LoadProductsFailure: function LoadProductsFailure(t0) { this.error = t0; }, LoadProductsSuccess: function LoadProductsSuccess(t0) { this.products = t0; }, SaveProductRequest: function SaveProductRequest(t0, t1) { this.completer = t0; this.product = t1; }, SaveProductSuccess: function SaveProductSuccess(t0) { this.product = t0; }, AddProductSuccess: function AddProductSuccess(t0) { this.product = t0; }, SaveProductFailure: function SaveProductFailure() { }, ArchiveProductsRequest: function ArchiveProductsRequest(t0, t1) { this.completer = t0; this.productIds = t1; }, ArchiveProductsSuccess: function ArchiveProductsSuccess(t0) { this.products = t0; }, ArchiveProductsFailure: function ArchiveProductsFailure() { }, DeleteProductsRequest: function DeleteProductsRequest(t0, t1) { this.completer = t0; this.productIds = t1; }, DeleteProductsSuccess: function DeleteProductsSuccess(t0) { this.products = t0; }, DeleteProductsFailure: function DeleteProductsFailure() { }, RestoreProductsRequest: function RestoreProductsRequest(t0, t1) { this.completer = t0; this.productIds = t1; }, RestoreProductsSuccess: function RestoreProductsSuccess(t0) { this.products = t0; }, RestoreProductsFailure: function RestoreProductsFailure() { }, SetTaxCategoryProductsRequest: function SetTaxCategoryProductsRequest(t0, t1, t2) { this.completer = t0; this.productIds = t1; this.taxCategoryId = t2; }, SetTaxCategoryProductsSuccess: function SetTaxCategoryProductsSuccess(t0) { this.products = t0; }, SetTaxCategoryProductsFailure: function SetTaxCategoryProductsFailure() { }, FilterProducts: function FilterProducts(t0) { this.filter = t0; }, SortProducts: function SortProducts(t0) { this.field = t0; }, FilterProductsByState: function FilterProductsByState(t0) { this.state = t0; }, FilterProductsByCustom1: function FilterProductsByCustom1(t0) { this.value = t0; }, FilterProductsByCustom2: function FilterProductsByCustom2(t0) { this.value = t0; }, FilterProductsByCustom3: function FilterProductsByCustom3(t0) { this.value = t0; }, FilterProductsByCustom4: function FilterProductsByCustom4(t0) { this.value = t0; }, handleProductAction_closure: function handleProductAction_closure() { }, handleProductAction_closure0: function handleProductAction_closure0(t0, t1, t2) { this.productIds = t0; this.state = t1; this.invoice = t2; }, handleProductAction__closure2: function handleProductAction__closure2(t0, t1) { this.state = t0; this.invoice = t1; }, handleProductAction_closure1: function handleProductAction_closure1(t0, t1, t2) { this.productIds = t0; this.state = t1; this.invoice = t2; }, handleProductAction__closure1: function handleProductAction__closure1(t0, t1) { this.state = t0; this.invoice = t1; }, handleProductAction_closure2: function handleProductAction_closure2(t0, t1, t2) { this.productIds = t0; this.state = t1; this.invoice = t2; }, handleProductAction__closure0: function handleProductAction__closure0(t0, t1) { this.state = t0; this.invoice = t1; }, handleProductAction_closure3: function handleProductAction_closure3(t0, t1, t2) { this.localization = t0; this.store = t1; this.productIds = t2; }, handleProductAction__closure: function handleProductAction__closure(t0, t1, t2, t3) { var _ = this; _.localization = t0; _.context = t1; _.store = t2; _.productIds = t3; }, handleProductAction___closure: function handleProductAction___closure(t0, t1, t2, t3, t4) { var _ = this; _.context = t0; _.store = t1; _.productIds = t2; _.taxCategoryId = t3; _.localization = t4; }, StartProductMultiselect: function StartProductMultiselect() { }, AddToProductMultiselect: function AddToProductMultiselect(t0) { this.entity = t0; }, RemoveFromProductMultiselect: function RemoveFromProductMultiselect(t0) { this.entity = t0; }, ClearProductMultiselect: function ClearProductMultiselect() { }, SaveProductDocumentRequest: function SaveProductDocumentRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.multipartFiles = t1; _.product = t2; _.isPrivate = t3; }, SaveProductDocumentFailure: function SaveProductDocumentFailure() { }, UpdateProductTab: function UpdateProductTab(t0) { this.tabIndex = t0; }, _editProduct() { return new A._editProduct_closure(); }, _viewProduct() { return new A._viewProduct_closure(); }, _viewProductList() { return new A._viewProductList_closure0(); }, _archiveProduct(repository) { return new A._archiveProduct_closure(repository); }, _setTaxCategoryProducts(repository) { return new A._setTaxCategoryProducts_closure(repository); }, _deleteProduct(repository) { return new A._deleteProduct_closure(repository); }, _restoreProduct(repository) { return new A._restoreProduct_closure(repository); }, _saveProduct(repository) { return new A._saveProduct_closure(repository); }, _loadProduct(repository) { return new A._loadProduct_closure(repository); }, _loadProducts(repository) { return new A._loadProducts_closure(repository); }, _saveDocument0(repository) { return new A._saveDocument_closure13(repository); }, _editProduct_closure: function _editProduct_closure() { }, _viewProduct_closure: function _viewProduct_closure() { }, _viewProductList_closure0: function _viewProductList_closure0() { }, _viewProductList__closure: function _viewProductList__closure() { }, _archiveProduct_closure: function _archiveProduct_closure(t0) { this.repository = t0; }, _archiveProduct__closure: function _archiveProduct__closure(t0) { this.store = t0; }, _archiveProduct__closure0: function _archiveProduct__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveProduct__closure1: function _archiveProduct__closure1(t0, t1, t2) { this.store = t0; this.prevProducts = t1; this.action = t2; }, _setTaxCategoryProducts_closure: function _setTaxCategoryProducts_closure(t0) { this.repository = t0; }, _setTaxCategoryProducts__closure: function _setTaxCategoryProducts__closure(t0, t1) { this.store = t0; this.action = t1; }, _setTaxCategoryProducts__closure0: function _setTaxCategoryProducts__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteProduct_closure: function _deleteProduct_closure(t0) { this.repository = t0; }, _deleteProduct__closure: function _deleteProduct__closure(t0) { this.store = t0; }, _deleteProduct__closure0: function _deleteProduct__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteProduct__closure1: function _deleteProduct__closure1(t0, t1, t2) { this.store = t0; this.prevProducts = t1; this.action = t2; }, _restoreProduct_closure: function _restoreProduct_closure(t0) { this.repository = t0; }, _restoreProduct__closure: function _restoreProduct__closure(t0) { this.store = t0; }, _restoreProduct__closure0: function _restoreProduct__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreProduct__closure1: function _restoreProduct__closure1(t0, t1, t2) { this.store = t0; this.prevProducts = t1; this.action = t2; }, _saveProduct_closure: function _saveProduct_closure(t0) { this.repository = t0; }, _saveProduct__closure: function _saveProduct__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveProduct__closure0: function _saveProduct__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadProduct_closure: function _loadProduct_closure(t0) { this.repository = t0; }, _loadProduct__closure: function _loadProduct__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadProduct__closure0: function _loadProduct__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadProducts_closure: function _loadProducts_closure(t0) { this.repository = t0; }, _loadProducts__closure: function _loadProducts__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadProducts___closure: function _loadProducts___closure(t0) { this.documents = t0; }, _loadProducts____closure: function _loadProducts____closure(t0, t1) { this.documents = t0; this.product = t1; }, _loadProducts_____closure: function _loadProducts_____closure(t0) { this.product = t0; }, _loadProducts__closure0: function _loadProducts__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure13: function _saveDocument_closure13(t0) { this.repository = t0; }, _saveDocument__closure27: function _saveDocument__closure27(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure13: function _saveDocument___closure13(t0, t1) { this.documents = t0; this.product = t1; }, _saveDocument____closure13: function _saveDocument____closure13(t0) { this.product = t0; }, _saveDocument__closure28: function _saveDocument__closure28(t0, t1) { this.store = t0; this.action = t1; }, productUIReducer(state, action) { var t1 = new A.ProductUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._product_state$_$v = state; new A.productUIReducer_closure(state, action).call$1(t1); return t1._product_state$_build$0(); }, _clearEditing9(product, action) { return A.ProductEntity_ProductEntity(null, null); }, _updateEditing10(product, action) { return J.get$product$x(action); }, _viewProductList0(productListState, action) { return productListState.rebuild$1(new A._viewProductList_closure()); }, _filterProductsByState(productListState, action) { if (B.JSArray_methods.contains$1(productListState.stateFilters._list$_list, action.state)) return productListState.rebuild$1(new A._filterProductsByState_closure(action)); else return productListState.rebuild$1(new A._filterProductsByState_closure0(action)); }, _filterProductsByCustom1(productListState, action) { if (B.JSArray_methods.contains$1(productListState.custom1Filters._list$_list, action.value)) return productListState.rebuild$1(new A._filterProductsByCustom1_closure(action)); else return productListState.rebuild$1(new A._filterProductsByCustom1_closure0(action)); }, _filterProductsByCustom2(productListState, action) { if (B.JSArray_methods.contains$1(productListState.custom2Filters._list$_list, action.value)) return productListState.rebuild$1(new A._filterProductsByCustom2_closure(action)); else return productListState.rebuild$1(new A._filterProductsByCustom2_closure0(action)); }, _filterProductsByCustom3(productListState, action) { if (B.JSArray_methods.contains$1(productListState.custom3Filters._list$_list, action.value)) return productListState.rebuild$1(new A._filterProductsByCustom3_closure(action)); else return productListState.rebuild$1(new A._filterProductsByCustom3_closure0(action)); }, _filterProductsByCustom4(productListState, action) { if (B.JSArray_methods.contains$1(productListState.custom4Filters._list$_list, action.value)) return productListState.rebuild$1(new A._filterProductsByCustom4_closure(action)); else return productListState.rebuild$1(new A._filterProductsByCustom4_closure0(action)); }, _filterProducts(productListState, action) { return productListState.rebuild$1(new A._filterProducts_closure(action, productListState)); }, _sortProducts(productListState, action) { return productListState.rebuild$1(new A._sortProducts_closure(action)); }, _startListMultiselect11(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure27()); }, _addToListMultiselect11(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure27(action)); }, _removeFromListMultiselect11(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure27(action)); }, _clearListMultiselect11(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure27()); }, _archiveProductSuccess(productState, action) { return productState.rebuild$1(new A._archiveProductSuccess_closure(action)); }, _deleteProductSuccess(productState, action) { return productState.rebuild$1(new A._deleteProductSuccess_closure(action)); }, _restoreProductSuccess(productState, action) { return productState.rebuild$1(new A._restoreProductSuccess_closure(action)); }, _setTaxCategoryProductsSuccess(productState, action) { return productState.rebuild$1(new A._setTaxCategoryProductsSuccess_closure(action)); }, _addProduct(productState, action) { return productState.rebuild$1(new A._addProduct_closure(action)); }, _updateProduct(productState, action) { return productState.rebuild$1(new A._updateProduct_closure(action)); }, _setLoadedProduct(productState, action) { return productState.rebuild$1(new A._setLoadedProduct_closure(action)); }, _setLoadedProducts(productState, action) { return productState.loadProducts$1(action.products); }, _setLoadedCompany11(productState, action) { return productState.loadProducts$1(action.userCompany.company.products); }, productUIReducer_closure: function productUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure226: function forceSelectedReducer_closure226() { }, forceSelectedReducer_closure227: function forceSelectedReducer_closure227() { }, forceSelectedReducer_closure228: function forceSelectedReducer_closure228() { }, forceSelectedReducer_closure229: function forceSelectedReducer_closure229() { }, forceSelectedReducer_closure230: function forceSelectedReducer_closure230() { }, forceSelectedReducer_closure231: function forceSelectedReducer_closure231() { }, forceSelectedReducer_closure232: function forceSelectedReducer_closure232() { }, forceSelectedReducer_closure233: function forceSelectedReducer_closure233() { }, tabIndexReducer_closure33: function tabIndexReducer_closure33() { }, tabIndexReducer_closure34: function tabIndexReducer_closure34() { }, editingReducer_closure155: function editingReducer_closure155() { }, editingReducer__closure60: function editingReducer__closure60() { }, editingReducer_closure156: function editingReducer_closure156() { }, editingReducer_closure157: function editingReducer_closure157() { }, editingReducer_closure158: function editingReducer_closure158() { }, selectedIdReducer_closure435: function selectedIdReducer_closure435() { }, selectedIdReducer_closure436: function selectedIdReducer_closure436() { }, selectedIdReducer_closure437: function selectedIdReducer_closure437() { }, selectedIdReducer_closure438: function selectedIdReducer_closure438() { }, selectedIdReducer_closure439: function selectedIdReducer_closure439() { }, selectedIdReducer_closure440: function selectedIdReducer_closure440() { }, selectedIdReducer_closure441: function selectedIdReducer_closure441() { }, selectedIdReducer_closure442: function selectedIdReducer_closure442() { }, selectedIdReducer_closure443: function selectedIdReducer_closure443() { }, selectedIdReducer_closure444: function selectedIdReducer_closure444() { }, selectedIdReducer_closure445: function selectedIdReducer_closure445() { }, selectedIdReducer_closure446: function selectedIdReducer_closure446() { }, selectedIdReducer_closure447: function selectedIdReducer_closure447() { }, selectedIdReducer_closure448: function selectedIdReducer_closure448() { }, productListReducer_closure: function productListReducer_closure() { }, productListReducer__closure: function productListReducer__closure() { }, _viewProductList_closure: function _viewProductList_closure() { }, _filterProductsByState_closure: function _filterProductsByState_closure(t0) { this.action = t0; }, _filterProductsByState_closure0: function _filterProductsByState_closure0(t0) { this.action = t0; }, _filterProductsByCustom1_closure: function _filterProductsByCustom1_closure(t0) { this.action = t0; }, _filterProductsByCustom1_closure0: function _filterProductsByCustom1_closure0(t0) { this.action = t0; }, _filterProductsByCustom2_closure: function _filterProductsByCustom2_closure(t0) { this.action = t0; }, _filterProductsByCustom2_closure0: function _filterProductsByCustom2_closure0(t0) { this.action = t0; }, _filterProductsByCustom3_closure: function _filterProductsByCustom3_closure(t0) { this.action = t0; }, _filterProductsByCustom3_closure0: function _filterProductsByCustom3_closure0(t0) { this.action = t0; }, _filterProductsByCustom4_closure: function _filterProductsByCustom4_closure(t0) { this.action = t0; }, _filterProductsByCustom4_closure0: function _filterProductsByCustom4_closure0(t0) { this.action = t0; }, _filterProducts_closure: function _filterProducts_closure(t0, t1) { this.action = t0; this.productListState = t1; }, _sortProducts_closure: function _sortProducts_closure(t0) { this.action = t0; }, _startListMultiselect_closure27: function _startListMultiselect_closure27() { }, _addToListMultiselect_closure27: function _addToListMultiselect_closure27(t0) { this.action = t0; }, _removeFromListMultiselect_closure27: function _removeFromListMultiselect_closure27(t0) { this.action = t0; }, _clearListMultiselect_closure27: function _clearListMultiselect_closure27() { }, _archiveProductSuccess_closure: function _archiveProductSuccess_closure(t0) { this.action = t0; }, _deleteProductSuccess_closure: function _deleteProductSuccess_closure(t0) { this.action = t0; }, _restoreProductSuccess_closure: function _restoreProductSuccess_closure(t0) { this.action = t0; }, _setTaxCategoryProductsSuccess_closure: function _setTaxCategoryProductsSuccess_closure(t0) { this.action = t0; }, _addProduct_closure: function _addProduct_closure(t0) { this.action = t0; }, _updateProduct_closure: function _updateProduct_closure(t0) { this.action = t0; }, _setLoadedProduct_closure: function _setLoadedProduct_closure(t0) { this.action = t0; }, productNotificationThreshold(company, product) { var t1 = product.stockNotificationThreshold; if (t1 !== 0) return t1; return company.stockNotificationThreshold; }, convertProductToInvoiceItem(client, company, currencyMap, invoice, product) { var cost, t2, exchangeRate, _null = null, t1 = {}; if (company.fillProducts) { cost = invoice.entityType === B.EntityType_purchaseOrder && company.enableProductCost && product.cost !== 0 ? product.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) { exchangeRate = invoice.exchangeRate; if (!company.convertRateToClient && exchangeRate !== 0) exchangeRate = 1 / exchangeRate; t1.cost = A.round(cost * exchangeRate, currencyMap._map$_map.$index(0, client.settings.currencyId).precision); } return A.InvoiceItemEntity_InvoiceItemEntity(_null, _null).rebuild$1(new A.convertProductToInvoiceItem_closure(t1, product, company)); } else return A.InvoiceItemEntity_InvoiceItemEntity(product.productKey, _null); }, dropdownProductsSelector(productMap, productList, userMap) { var t1 = productList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownProductsSelector_closure(productMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownProductsSelector_closure0(productMap, userMap)); return list; }, productList(productMap) { var t1 = productMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.productList_closure(productMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.productList_closure0(productMap)); return list; }, filteredProductsSelector(selectionState, productMap, productList, productListState, userMap) { var t1 = productList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredProductsSelector_closure(productMap, selectionState, productListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.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; }, _$ProductState$_(list, map) { var _s12_ = "ProductState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$ProductState(map, list); }, _$ProductUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "ProductUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$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() { }, handleProjectAction(context, projects, action) { return A.handleProjectAction$body(context, projects, action); }, handleProjectAction$body(context, projects, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, project, t3, projectIds, client, items, message, _i, documentIds, t4, t5, t6, _box_0; var $async$handleProjectAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; if (projects.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = type$.ProjectEntity; project = t2._as(B.JSArray_methods.get$first(projects)); t3 = A._arrayInstanceType(projects)._eval$1("MappedListIterable<1,String>"); projectIds = A.List_List$of(new A.MappedListIterable(projects, new A.handleProjectAction_closure(), t3), true, t3._eval$1("ListIterable.E")); client = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].clientState.$get$1(0, project.clientId); t3 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_newTask: // goto case $async$goto = 6; break; case B.EntityAction_newInvoice: // goto case $async$goto = 7; break; case B.EntityAction_newQuote: // goto case $async$goto = 8; break; case B.EntityAction_invoiceProject: // goto case $async$goto = 9; break; case B.EntityAction_newExpense: // goto case $async$goto = 10; break; case B.EntityAction_clone: // goto case $async$goto = 11; break; case B.EntityAction_restore: // goto case $async$goto = 12; break; case B.EntityAction_archive: // goto case $async$goto = 13; break; case B.EntityAction_delete: // goto case $async$goto = 14; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 15; break; case B.EntityAction_more: // goto case $async$goto = 16; break; case B.EntityAction_documents: // goto case $async$goto = 17; break; case B.EntityAction_runTemplate: // goto case $async$goto = 18; break; case B.EntityAction_addComment: // goto case $async$goto = 19; break; default: // goto default $async$goto = 20; break; } break; case 5: // case A.editEntity(null, project, true, null); // goto after switch $async$goto = 4; break; case 6: // case A.createEntity(null, null, A.TaskEntity_TaskEntity(null, null, null, t1, null).rebuild$1(new A.handleProjectAction_closure0(project)), null, false); // goto after switch $async$goto = 4; break; case 7: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, null, null, t1, null, null).rebuild$1(new A.handleProjectAction_closure1(project)), null, false); // goto after switch $async$goto = 4; break; case 8: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, B.EntityType_quote, null, t1, null, null).rebuild$1(new A.handleProjectAction_closure2(project)), null, false); // goto after switch $async$goto = 4; break; case 9: // case _box_0.lastClientId = ""; _box_0.hasMultipleClients = false; B.JSArray_methods.forEach$1(projects, new A.handleProjectAction_closure3(_box_0)); if (_box_0.hasMultipleClients) { A.showErrorDialog(false, t3.get$multipleClientError()); // goto return $async$goto = 1; break; } items = A._setArrayType([], type$.JSArray_InvoiceItemEntity); B.JSArray_methods.forEach$1(projects, new A.handleProjectAction_closure4(items, context)); A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, null, null, t1, null, null).rebuild$1(new A.handleProjectAction_closure5(items, project)), null, false); // goto after switch $async$goto = 4; break; case 10: // case A.createEntity(null, null, A.ExpenseEntity_ExpenseEntity(client, null, null, null, t1, null, null).rebuild$1(new A.handleProjectAction_closure6(project)), null, false); // goto after switch $async$goto = 4; break; case 11: // case A.createEntity(null, null, project.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 12: // case t1 = projectIds.length; if (t1 > 1) { t3.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t3.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_projects"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t3.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t3.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_project"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreProjectRequest(t1, projectIds)); // goto after switch $async$goto = 4; break; case 13: // case t1 = projectIds.length; if (t1 > 1) { t3.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t3.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_projects"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t3.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t3.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_project"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveProjectRequest(t1, projectIds)); // goto after switch $async$goto = 4; break; case 14: // case t1 = projectIds.length; if (t1 > 1) { t3.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t3.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_projects"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t3.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t3.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_project"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteProjectRequest(t1, projectIds)); // goto after switch $async$goto = 4; break; case 15: // case if (store.__Store__state_A.uiState.projectUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartProjectMultiselect()); } t1 = projects.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < projects.length; projects.length === t1 || (0, A.throwConcurrentModificationError)(projects), ++_i) { project = projects[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(project); t2 = t2.projectUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToProjectMultiselect(project)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromProjectMultiselect(project)); } } // goto after switch $async$goto = 4; break; case 16: // case A.showEntityActionsDialog(null, A._setArrayType([project], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 17: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = projects.length, _i = 0; _i < projects.length; projects.length === t1 || (0, A.throwConcurrentModificationError)(projects), ++_i) for (t4 = t2._as(projects[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t3.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t3.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 18: // case A.showDialog(null, null, false, null, new A.handleProjectAction_closure7(projects), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 19: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 21; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleProjectAction_closure8(project), t1, null, true, type$.bool), $async$handleProjectAction); case 21: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadProject(null, project.id)); } // goto after switch $async$goto = 4; break; case 20: // default A.print("## Error: action " + A.S(action) + " not handled in project_actions"); case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleProjectAction, $async$completer); }, ViewProjectList: function ViewProjectList(t0) { this.page = t0; }, ViewProject: function ViewProject(t0) { this.projectId = t0; }, EditProject: function EditProject(t0, t1, t2) { this.project = t0; this.completer = t1; this.cancelCompleter = t2; }, UpdateProject: function UpdateProject(t0) { this.project = t0; }, LoadProject: function LoadProject(t0, t1) { this.completer = t0; this.projectId = t1; }, LoadProjects: function LoadProjects() { }, LoadProjectRequest: function LoadProjectRequest() { }, LoadProjectFailure: function LoadProjectFailure(t0) { this.error = t0; }, LoadProjectSuccess: function LoadProjectSuccess(t0) { this.project = t0; }, LoadProjectsRequest: function LoadProjectsRequest() { }, LoadProjectsFailure: function LoadProjectsFailure(t0) { this.error = t0; }, LoadProjectsSuccess: function LoadProjectsSuccess(t0) { this.projects = t0; }, SaveProjectRequest: function SaveProjectRequest(t0, t1) { this.completer = t0; this.project = t1; }, SaveProjectSuccess: function SaveProjectSuccess(t0) { this.project = t0; }, AddProjectSuccess: function AddProjectSuccess(t0) { this.project = t0; }, SaveProjectFailure: function SaveProjectFailure() { }, ArchiveProjectRequest: function ArchiveProjectRequest(t0, t1) { this.completer = t0; this.projectIds = t1; }, ArchiveProjectSuccess: function ArchiveProjectSuccess(t0) { this.projects = t0; }, ArchiveProjectFailure: function ArchiveProjectFailure() { }, DeleteProjectRequest: function DeleteProjectRequest(t0, t1) { this.completer = t0; this.projectIds = t1; }, DeleteProjectSuccess: function DeleteProjectSuccess(t0) { this.projects = t0; }, DeleteProjectFailure: function DeleteProjectFailure() { }, RestoreProjectRequest: function RestoreProjectRequest(t0, t1) { this.completer = t0; this.projectIds = t1; }, RestoreProjectSuccess: function RestoreProjectSuccess(t0) { this.projects = t0; }, RestoreProjectFailure: function RestoreProjectFailure() { }, FilterProjects: function FilterProjects(t0) { this.filter = t0; }, SortProjects: function SortProjects(t0) { this.field = t0; }, FilterProjectsByState: function FilterProjectsByState(t0) { this.state = t0; }, FilterProjectsByCustom1: function FilterProjectsByCustom1(t0) { this.value = t0; }, FilterProjectsByCustom2: function FilterProjectsByCustom2(t0) { this.value = t0; }, FilterProjectsByCustom3: function FilterProjectsByCustom3(t0) { this.value = t0; }, FilterProjectsByCustom4: function FilterProjectsByCustom4(t0) { this.value = t0; }, handleProjectAction_closure: function handleProjectAction_closure() { }, handleProjectAction_closure0: function handleProjectAction_closure0(t0) { this.project = t0; }, handleProjectAction_closure1: function handleProjectAction_closure1(t0) { this.project = t0; }, handleProjectAction_closure2: function handleProjectAction_closure2(t0) { this.project = t0; }, handleProjectAction_closure3: function handleProjectAction_closure3(t0) { this._box_0 = t0; }, handleProjectAction_closure4: function handleProjectAction_closure4(t0, t1) { this.items = t0; this.context = t1; }, handleProjectAction_closure5: function handleProjectAction_closure5(t0, t1) { this.items = t0; this.project = t1; }, handleProjectAction_closure6: function handleProjectAction_closure6(t0) { this.project = t0; }, handleProjectAction_closure7: function handleProjectAction_closure7(t0) { this.projects = t0; }, handleProjectAction_closure8: function handleProjectAction_closure8(t0) { this.project = t0; }, StartProjectMultiselect: function StartProjectMultiselect() { }, AddToProjectMultiselect: function AddToProjectMultiselect(t0) { this.entity = t0; }, RemoveFromProjectMultiselect: function RemoveFromProjectMultiselect(t0) { this.entity = t0; }, ClearProjectMultiselect: function ClearProjectMultiselect() { }, SaveProjectDocumentRequest: function SaveProjectDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFile = t2; _.project = t3; }, SaveProjectDocumentFailure: function SaveProjectDocumentFailure() { }, UpdateProjectTab: function UpdateProjectTab(t0) { this.tabIndex = t0; }, _editProject() { return new A._editProject_closure(); }, _viewProject() { return new A._viewProject_closure(); }, _viewProjectList() { return new A._viewProjectList_closure0(); }, _archiveProject(repository) { return new A._archiveProject_closure(repository); }, _deleteProject(repository) { return new A._deleteProject_closure(repository); }, _restoreProject(repository) { return new A._restoreProject_closure(repository); }, _saveProject(repository) { return new A._saveProject_closure(repository); }, _loadProject(repository) { return new A._loadProject_closure(repository); }, _loadProjects(repository) { return new A._loadProjects_closure(repository); }, _saveDocument6(repository) { return new A._saveDocument_closure7(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___closure: function _loadProjects___closure(t0) { this.documents = t0; }, _loadProjects____closure: function _loadProjects____closure(t0, t1) { this.documents = t0; this.project = t1; }, _loadProjects_____closure: function _loadProjects_____closure(t0) { this.project = t0; }, _loadProjects__closure0: function _loadProjects__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure7: function _saveDocument_closure7(t0) { this.repository = t0; }, _saveDocument__closure15: function _saveDocument__closure15(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure7: function _saveDocument___closure7(t0, t1) { this.documents = t0; this.project = t1; }, _saveDocument____closure7: function _saveDocument____closure7(t0) { this.project = t0; }, _saveDocument__closure16: function _saveDocument__closure16(t0, t1) { this.store = t0; this.action = t1; }, projectUIReducer(state, action) { var t1 = new A.ProjectUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._project_state$_$v = state; new A.projectUIReducer_closure(state, action).call$1(t1); return t1._project_state$_build$0(); }, _clearEditing10(project, dynamicAction) { var _null = null; return A.ProjectEntity_ProjectEntity(_null, _null, _null, _null); }, _updateEditing11(project, action) { return action.get$project(); }, _viewProjectList0(projectListState, action) { return projectListState.rebuild$1(new A._viewProjectList_closure()); }, _filterProjectsByCustom1(projectListState, action) { if (B.JSArray_methods.contains$1(projectListState.custom1Filters._list$_list, action.value)) return projectListState.rebuild$1(new A._filterProjectsByCustom1_closure(action)); else return projectListState.rebuild$1(new A._filterProjectsByCustom1_closure0(action)); }, _filterProjectsByCustom2(projectListState, action) { if (B.JSArray_methods.contains$1(projectListState.custom2Filters._list$_list, action.value)) return projectListState.rebuild$1(new A._filterProjectsByCustom2_closure(action)); else return projectListState.rebuild$1(new A._filterProjectsByCustom2_closure0(action)); }, _filterProjectsByCustom3(projectListState, action) { if (B.JSArray_methods.contains$1(projectListState.custom3Filters._list$_list, action.value)) return projectListState.rebuild$1(new A._filterProjectsByCustom3_closure(action)); else return projectListState.rebuild$1(new A._filterProjectsByCustom3_closure0(action)); }, _filterProjectsByCustom4(projectListState, action) { if (B.JSArray_methods.contains$1(projectListState.custom4Filters._list$_list, action.value)) return projectListState.rebuild$1(new A._filterProjectsByCustom4_closure(action)); else return projectListState.rebuild$1(new A._filterProjectsByCustom4_closure0(action)); }, _filterProjectsByState(projectListState, action) { if (B.JSArray_methods.contains$1(projectListState.stateFilters._list$_list, action.state)) return projectListState.rebuild$1(new A._filterProjectsByState_closure(action)); else return projectListState.rebuild$1(new A._filterProjectsByState_closure0(action)); }, _filterProjects(projectListState, action) { return projectListState.rebuild$1(new A._filterProjects_closure(action, projectListState)); }, _sortProjects(projectListState, action) { return projectListState.rebuild$1(new A._sortProjects_closure(action)); }, _startListMultiselect12(projectListState, action) { return projectListState.rebuild$1(new A._startListMultiselect_closure1()); }, _addToListMultiselect12(projectListState, action) { return projectListState.rebuild$1(new A._addToListMultiselect_closure1(action)); }, _removeFromListMultiselect12(projectListState, action) { return projectListState.rebuild$1(new A._removeFromListMultiselect_closure1(action)); }, _clearListMultiselect12(projectListState, action) { return projectListState.rebuild$1(new A._clearListMultiselect_closure1()); }, _purgeClientSuccess4(projectState, action) { var t1 = projectState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return projectState.rebuild$1(new A._purgeClientSuccess_closure5(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure6(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure7(), t3), true, t3._eval$1("Iterable.E")))); }, _archiveProjectSuccess(projectState, action) { return projectState.rebuild$1(new A._archiveProjectSuccess_closure(action)); }, _deleteProjectSuccess(projectState, action) { return projectState.rebuild$1(new A._deleteProjectSuccess_closure(action)); }, _restoreProjectSuccess(projectState, action) { return projectState.rebuild$1(new A._restoreProjectSuccess_closure(action)); }, _addProject(projectState, action) { return projectState.rebuild$1(new A._addProject_closure(action)); }, _updateProject(projectState, action) { return projectState.rebuild$1(new A._updateProject_closure(action)); }, _setLoadedProject(projectState, action) { return projectState.rebuild$1(new A._setLoadedProject_closure(action)); }, _setLoadedProjects(projectState, action) { return projectState.loadProjects$1(action.projects); }, _setLoadedCompany12(projectState, action) { return projectState.loadProjects$1(action.userCompany.company.projects); }, projectUIReducer_closure: function projectUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure17: function forceSelectedReducer_closure17() { }, forceSelectedReducer_closure18: function forceSelectedReducer_closure18() { }, forceSelectedReducer_closure19: function forceSelectedReducer_closure19() { }, forceSelectedReducer_closure20: function forceSelectedReducer_closure20() { }, forceSelectedReducer_closure21: function forceSelectedReducer_closure21() { }, forceSelectedReducer_closure22: function forceSelectedReducer_closure22() { }, forceSelectedReducer_closure23: function forceSelectedReducer_closure23() { }, forceSelectedReducer_closure24: function forceSelectedReducer_closure24() { }, tabIndexReducer_closure3: function tabIndexReducer_closure3() { }, tabIndexReducer_closure4: function tabIndexReducer_closure4() { }, saveCompleterReducer_closure: function saveCompleterReducer_closure() { }, cancelCompleterReducer_closure: function cancelCompleterReducer_closure() { }, selectedIdReducer_closure35: function selectedIdReducer_closure35() { }, selectedIdReducer_closure36: function selectedIdReducer_closure36() { }, selectedIdReducer_closure37: function selectedIdReducer_closure37() { }, selectedIdReducer_closure38: function selectedIdReducer_closure38() { }, selectedIdReducer_closure39: function selectedIdReducer_closure39() { }, selectedIdReducer_closure40: function selectedIdReducer_closure40() { }, selectedIdReducer_closure41: function selectedIdReducer_closure41() { }, selectedIdReducer_closure42: function selectedIdReducer_closure42() { }, selectedIdReducer_closure43: function selectedIdReducer_closure43() { }, selectedIdReducer_closure44: function selectedIdReducer_closure44() { }, selectedIdReducer_closure45: function selectedIdReducer_closure45() { }, selectedIdReducer_closure46: function selectedIdReducer_closure46() { }, selectedIdReducer_closure47: function selectedIdReducer_closure47() { }, selectedIdReducer_closure48: function selectedIdReducer_closure48() { }, selectedIdReducer_closure49: function selectedIdReducer_closure49() { }, editingReducer_closure14: function editingReducer_closure14() { }, editingReducer_closure15: function editingReducer_closure15() { }, editingReducer_closure16: function editingReducer_closure16() { }, editingReducer_closure17: function editingReducer_closure17() { }, editingReducer__closure7: function editingReducer__closure7() { }, projectListReducer_closure: function projectListReducer_closure() { }, projectListReducer__closure: function projectListReducer__closure() { }, _viewProjectList_closure: function _viewProjectList_closure() { }, _filterProjectsByCustom1_closure: function _filterProjectsByCustom1_closure(t0) { this.action = t0; }, _filterProjectsByCustom1_closure0: function _filterProjectsByCustom1_closure0(t0) { this.action = t0; }, _filterProjectsByCustom2_closure: function _filterProjectsByCustom2_closure(t0) { this.action = t0; }, _filterProjectsByCustom2_closure0: function _filterProjectsByCustom2_closure0(t0) { this.action = t0; }, _filterProjectsByCustom3_closure: function _filterProjectsByCustom3_closure(t0) { this.action = t0; }, _filterProjectsByCustom3_closure0: function _filterProjectsByCustom3_closure0(t0) { this.action = t0; }, _filterProjectsByCustom4_closure: function _filterProjectsByCustom4_closure(t0) { this.action = t0; }, _filterProjectsByCustom4_closure0: function _filterProjectsByCustom4_closure0(t0) { this.action = t0; }, _filterProjectsByState_closure: function _filterProjectsByState_closure(t0) { this.action = t0; }, _filterProjectsByState_closure0: function _filterProjectsByState_closure0(t0) { this.action = t0; }, _filterProjects_closure: function _filterProjects_closure(t0, t1) { this.action = t0; this.projectListState = t1; }, _sortProjects_closure: function _sortProjects_closure(t0) { this.action = t0; }, _startListMultiselect_closure1: function _startListMultiselect_closure1() { }, _addToListMultiselect_closure1: function _addToListMultiselect_closure1(t0) { this.action = t0; }, _removeFromListMultiselect_closure1: function _removeFromListMultiselect_closure1(t0) { this.action = t0; }, _clearListMultiselect_closure1: function _clearListMultiselect_closure1() { }, _purgeClientSuccess_closure6: function _purgeClientSuccess_closure6(t0) { this.action = t0; }, _purgeClientSuccess_closure7: function _purgeClientSuccess_closure7() { }, _purgeClientSuccess_closure5: function _purgeClientSuccess_closure5(t0) { this.ids = t0; }, _purgeClientSuccess__closure3: function _purgeClientSuccess__closure3(t0) { this.ids = t0; }, _purgeClientSuccess__closure4: function _purgeClientSuccess__closure4(t0) { this.ids = t0; }, _archiveProjectSuccess_closure: function _archiveProjectSuccess_closure(t0) { this.action = t0; }, _deleteProjectSuccess_closure: function _deleteProjectSuccess_closure(t0) { this.action = t0; }, _restoreProjectSuccess_closure: function _restoreProjectSuccess_closure(t0) { this.action = t0; }, _addProject_closure: function _addProject_closure(t0) { this.action = t0; }, _updateProject_closure: function _updateProject_closure(t0) { this.action = t0; }, _setLoadedProject_closure: function _setLoadedProject_closure(t0) { this.action = t0; }, convertProjectToInvoiceItem(context, project) { var tasks, t2, expenses, t3, t4, t5, notes, notes0, hasShownNotes, i, item, t6, t7, items = A._setArrayType([], type$.JSArray_InvoiceItemEntity), t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); tasks = A._setArrayType([], type$.JSArray_nullable_TaskEntity); t2 = t1.userCompanyStates; t1 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list; t2[t1].taskState.map._map$_map.forEach$1(0, new A.convertProjectToInvoiceItem_closure(project, tasks)); expenses = A._setArrayType([], type$.JSArray_nullable_ExpenseEntity); t2[t1].expenseState.map._map$_map.forEach$1(0, new A.convertProjectToInvoiceItem_closure0(project, expenses)); B.JSArray_methods.sort$1(tasks, new A.convertProjectToInvoiceItem_closure1()); B.JSArray_methods.sort$1(expenses, new A.convertProjectToInvoiceItem_closure2()); for (t3 = project.publicNotes, t4 = t3.length !== 0, t5 = project.name, notes = '<div class="project-header">' + t5 + "</div>\n", notes0 = "## " + t5 + "\n", t3 += "\n", hasShownNotes = false, i = 0; i < expenses.length; ++i) { t5 = {}; item = A.convertExpenseToInvoiceItem(context, expenses[i]); if (i === 0) { t5.notes = ""; if (t2[t1].userCompany.company.markdownEnabled) { t5.notes = notes0; t6 = notes0; } else { t5.notes = notes; t6 = notes; } if (t4) { t6 = t5.notes = t6 + t3; hasShownNotes = true; } t5.notes = t6 + item.notes; t6 = new A.InvoiceItemEntityBuilder(); t6.get$_invoice_model$_$this()._productCost = 0; t6.get$_invoice_model$_$this()._invoice_model$_taxCategoryId = ""; t6._invoice_model$_$v = item; new A.convertProjectToInvoiceItem_closure3(t5).call$1(t6); item = t6._invoice_model$_build$0(); } items.push(item); } for (t5 = !hasShownNotes, i = 0; i < tasks.length; ++i) { t6 = {}; item = A.convertTaskToInvoiceItem(context, false, tasks[i]); if (i === 0) { t6.notes = ""; if (t2[t1].userCompany.company.markdownEnabled) { t6.notes = notes0; t7 = notes0; } else { t6.notes = notes; t7 = notes; } if (t4 && t5) t7 = t6.notes = t7 + t3; t6.notes = t7 + item.notes; t7 = new A.InvoiceItemEntityBuilder(); t7.get$_invoice_model$_$this()._productCost = 0; t7.get$_invoice_model$_$this()._invoice_model$_taxCategoryId = ""; t7._invoice_model$_$v = item; new A.convertProjectToInvoiceItem_closure4(t6).call$1(t7); item = t7._invoice_model$_build$0(); } items.push(item); } return items; }, dropdownProjectsSelector(projectMap, projectList, clientMap, userMap, clientId) { var t1 = projectList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownProjectsSelector_closure(projectMap, clientId, clientMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownProjectsSelector_closure0(projectMap, userMap, clientMap)); return list; }, filteredProjectsSelector(selectionState, projectMap, projectList, projectListState, clientMap, userMap) { var t1 = projectList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredProjectsSelector_closure(projectMap, clientMap, userMap, selectionState, selectionState.filterEntityId, selectionState.filterEntityType, projectListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredProjectsSelector_closure0(projectMap, projectListState, userMap, clientMap)); return list; }, taskDurationForProject(project, taskMap) { var t1 = {}; t1.total = 0; taskMap._map$_map.forEach$1(0, new A.taskDurationForProject_closure(t1, project)); return A.Duration$(0, 0, 0, 0, 0, t1.total); }, projectStatsForClient(clientId, projectMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; projectMap._map$_map.forEach$1(0, new A.projectStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, 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) { this._box_0 = t0; }, convertProjectToInvoiceItem_closure4: function convertProjectToInvoiceItem_closure4(t0) { this._box_1 = t0; }, 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() { }, _$ProjectState$_(list, map) { var _s12_ = "ProjectState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$ProjectState(map, list); }, _$ProjectUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "ProjectUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$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() { }, handlePurchaseOrderAction(context, purchaseOrders, action) { return A.handlePurchaseOrderAction$body(context, purchaseOrders, action); }, handlePurchaseOrderAction$body(context, purchaseOrders, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, purchaseOrder, t3, purchaseOrderIds, t4, vendor, t5, response, data, _i, designId, _box_0; var $async$handlePurchaseOrderAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; if (purchaseOrders.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); purchaseOrder = type$.InvoiceEntity._as(B.JSArray_methods.get$first(purchaseOrders)); t3 = A._arrayInstanceType(purchaseOrders)._eval$1("MappedListIterable<1,String>"); purchaseOrderIds = A.List_List$of(new A.MappedListIterable(purchaseOrders, new A.handlePurchaseOrderAction_closure(), t3), true, t3._eval$1("ListIterable.E")); t3 = t1.userCompanyStates; t4 = t1.uiState.selectedCompanyIndex; t3 = t3._list$_list; vendor = t3[t4].vendorState.$get$1(0, purchaseOrder.vendorId); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_viewPdf: // goto case $async$goto = 6; break; case B.EntityAction_restore: // goto case $async$goto = 7; break; case B.EntityAction_archive: // goto case $async$goto = 8; break; case B.EntityAction_delete: // goto case $async$goto = 9; break; case B.EntityAction_printPdf: // goto case $async$goto = 10; break; case B.EntityAction_bulkPrint: // goto case $async$goto = 11; break; case B.EntityAction_addToInventory: // goto case $async$goto = 12; break; case B.EntityAction_convertToExpense: // goto case $async$goto = 13; break; case B.EntityAction_viewExpense: // goto case $async$goto = 14; break; case B.EntityAction_markSent: // goto case $async$goto = 15; break; case B.EntityAction_cancelInvoice: // goto case $async$goto = 16; break; case B.EntityAction_accept: // goto case $async$goto = 17; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 18; break; case B.EntityAction_vendorPortal: // goto case $async$goto = 19; break; case B.EntityAction_sendEmail: // goto case $async$goto = 20; break; case B.EntityAction_bulkSendEmail: // goto case $async$goto = 21; break; case B.EntityAction_schedule: // goto case $async$goto = 22; break; case B.EntityAction_cloneToQuote: // goto case $async$goto = 23; break; case B.EntityAction_cloneToOther: // goto case $async$goto = 24; break; case B.EntityAction_cloneToInvoice: // goto case $async$goto = 25; break; case B.EntityAction_clone: // goto case $async$goto = 26; break; case B.EntityAction_cloneToPurchaseOrder: // goto case $async$goto = 27; break; case B.EntityAction_cloneToCredit: // goto case $async$goto = 28; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 29; break; case B.EntityAction_ePurchaseOrder: // goto case $async$goto = 30; break; case B.EntityAction_download: // goto case $async$goto = 31; break; case B.EntityAction_bulkDownload: // goto case $async$goto = 32; break; case B.EntityAction_more: // goto case $async$goto = 33; break; case B.EntityAction_runTemplate: // goto case $async$goto = 34; break; case B.EntityAction_addComment: // goto case $async$goto = 35; break; default: // goto default $async$goto = 36; break; } break; case 5: // case A.editEntity(null, purchaseOrder, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.ShowPdfPurchaseOrder(purchaseOrder, context, null)); // goto after switch $async$goto = 4; break; case 7: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_purchase_order"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "restored_purchase_order"); t1.toString; } else t1 = t2; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestorePurchaseOrdersRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 8: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_purchase_order"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "archived_purchase_order"); t1.toString; } else t1 = t2; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchivePurchaseOrdersRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 9: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_purchase_order"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "deleted_purchase_order"); t1.toString; } else t1 = t2; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeletePurchaseOrdersRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 10: // case t1 = B.JSArray_methods.get$first(purchaseOrder.invitations._list$_list).link; t2 = Date.now(); t5 = store.__Store__dispatchers_F; t5 === $ && A.throwUnnamedLateFieldNI(); t5[0].call$1(new A.StartSaving()); $async$goto = 37; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1 + "/download?t=" + t2, t3[t4].userCompany.token.token, true), $async$handlePurchaseOrderAction); case 37: // returning from await. response = $async$result; t5[0].call$1(new A.StopSaving()); $async$goto = 38; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handlePurchaseOrderAction_closure0(response), false), $async$handlePurchaseOrderAction); case 38: // returning from await. // goto after switch $async$goto = 4; break; case 11: // case t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartSaving()); t3 = t1.get$credentials(0); data = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["ids", purchaseOrderIds, "action", B.EntityAction_bulkPrint.toApiParam$0()], type$.String, type$.Object)); $async$goto = 39; return A._asyncAwait(new A.WebClient().post$4$data$rawResponse(t3.url + "/purchase_orders/bulk", t1.get$credentials(0).token, data, true), $async$handlePurchaseOrderAction); case 39: // returning from await. response = $async$result; t2[0].call$1(new A.StopSaving()); $async$goto = 40; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handlePurchaseOrderAction_closure1(response), false), $async$handlePurchaseOrderAction); case 40: // returning from await. // goto after switch $async$goto = 4; break; case 12: // case if (purchaseOrders.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "added_purchase_order_to_inventory"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "added_purchase_order_to_inventory"); t1.toString; } else t1 = t2; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "added_purchase_orders_to_inventory"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "added_purchase_orders_to_inventory"); t1.toString; } else t1 = t2; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.AddPurchaseOrdersToInventoryRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 13: // case if (purchaseOrders.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "converted_to_expense"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "converted_to_expense"); t1.toString; } else t1 = t2; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "converted_to_expenses"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "converted_to_expenses"); t1.toString; } else t1 = t2; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ConvertPurchaseOrdersToExpensesRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 14: // case A.viewEntityById(false, purchaseOrder.expenseId, B.EntityType_expense, null, false, true); // goto after switch $async$goto = 4; break; case 15: // case if (purchaseOrders.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "marked_purchase_order_as_sent"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "marked_purchase_order_as_sent"); t1.toString; } else t1 = t2; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "marked_purchase_orders_as_sent"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "marked_purchase_orders_as_sent"); t1.toString; } else t1 = t2; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.MarkPurchaseOrdersSentRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 16: // case if (purchaseOrders.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "cancelled_purchase_order"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "cancelled_purchase_order"); t1.toString; } else t1 = t2; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "cancelled_purchase_orders"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "cancelled_purchase_orders"); t1.toString; } else t1 = t2; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.CancelPurchaseOrdersRequest(purchaseOrderIds, t1)); // goto after switch $async$goto = 4; break; case 17: // case if (purchaseOrders.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "accepted_purchase_order"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "accepted_purchase_order"); t1.toString; } else t1 = t2; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t2 = t1.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "accepted_purchase_orders"); if (t2 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "accepted_purchase_orders"); t1.toString; } else t1 = t2; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.AcceptPurchaseOrdersRequest(purchaseOrderIds, t1)); // goto after switch $async$goto = 4; break; case 18: // case if (store.__Store__state_A.uiState.purchaseOrderUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartPurchaseOrderMultiselect()); } t1 = purchaseOrders.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < purchaseOrders.length; purchaseOrders.length === t1 || (0, A.throwConcurrentModificationError)(purchaseOrders), ++_i) { purchaseOrder = purchaseOrders[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(purchaseOrder); t2 = t2.purchaseOrderUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToPurchaseOrderMultiselect(purchaseOrder)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromPurchaseOrderMultiselect(purchaseOrder)); } } // goto after switch $async$goto = 4; break; case 19: // case t1 = purchaseOrder.invitations._list$_list; A.launchUrl(A.Uri_parse(t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "?silent=true", 0, null)); // goto after switch $async$goto = 4; break; case 20: // case case 21: // case case 22: // case _box_0.emailValid = true; B.JSArray_methods.forEach$1(purchaseOrders, new A.handlePurchaseOrderAction_closure2(_box_0, t1)); if (!_box_0.emailValid) { t2.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t2 = t2.localeCode; t4 = t3.$index(0, t2); t4.toString; t4 = J.$index$asx(t4, "vendor_email_not_set"); if (t4 == null) { t4 = t3.$index(0, "en"); t4.toString; t4 = J.$index$asx(t4, "vendor_email_not_set"); t4.toString; } t2 = t3.$index(0, t2); t2.toString; A.showMessageDialog(t4, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "edit_vendor").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handlePurchaseOrderAction_closure3(context, t1, purchaseOrder), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } if (action === B.EntityAction_sendEmail) { t1 = A.snackBarCompleter(t2.get$emailedPurchaseOrder(), null, false, type$.Null); t2 = $.$get$navigatorKey(); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2); t2.toString; t3 = store.__Store__dispatchers_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.ShowEmailPurchaseOrder(purchaseOrder, t2, t1)); } else if (action === B.EntityAction_schedule) { if (!(!t1.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro")) { t1 = t2.get$upgradeToPaidPlanToSchedule(); t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; A.showMessageDialog(t1, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "upgrade").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handlePurchaseOrderAction_closure4(store, context), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } A.createEntity(null, null, A.ScheduleEntity_ScheduleEntity("email_record", null, null).rebuild$1(new A.handlePurchaseOrderAction_closure5(purchaseOrder)), null, false); } else { t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t2.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t4 = t3.$index(0, t2.localeCode); t4.toString; t4 = J.$index$asx(t4, "bulk_email_purchase_orders"); if (t4 == null) { t3 = t3.$index(0, "en"); t3.toString; t3 = J.$index$asx(t3, "bulk_email_purchase_orders"); t3.toString; } else t3 = t4; A.confirmCallback(false, new A.handlePurchaseOrderAction_closure6(store, purchaseOrderIds, t2), t1, t3, false, null); } // goto after switch $async$goto = 4; break; case 23: // case designId = A.getDesignIdForClientByEntity(purchaseOrder.clientId, B.EntityType_purchaseOrder, t1); A.createEntity(null, null, purchaseOrder.get$clone(0).rebuild$1(new A.handlePurchaseOrderAction_closure7(designId)).recreateInvitations$1(t1), null, false); // goto after switch $async$goto = 4; break; case 24: // case A.cloneToDialog(purchaseOrder); // goto after switch $async$goto = 4; break; case 25: // case designId = A.getDesignIdForClientByEntity(purchaseOrder.clientId, B.EntityType_invoice, t1); A.createEntity(null, null, purchaseOrder.get$clone(0).rebuild$1(new A.handlePurchaseOrderAction_closure8(designId)).recreateInvitations$1(t1), null, false); // goto after switch $async$goto = 4; break; case 26: // case case 27: // case A.createEntity(null, null, purchaseOrder.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 28: // case designId = A.getDesignIdForClientByEntity(purchaseOrder.clientId, B.EntityType_credit, t1); A.createEntity(null, null, purchaseOrder.get$clone(0).rebuild$1(new A.handlePurchaseOrderAction_closure9(designId)).recreateInvitations$1(t1), null, false); // goto after switch $async$goto = 4; break; case 29: // case designId = A.getDesignIdForClientByEntity(purchaseOrder.clientId, B.EntityType_invoice, t1); A.createEntity(null, null, purchaseOrder.get$clone(0).rebuild$1(new A.handlePurchaseOrderAction_closure10(designId)).recreateInvitations$1(t1), null, false); // goto after switch $async$goto = 4; break; case 30: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = purchaseOrder.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download_e_purchase_order?t=" + Date.now(); $async$goto = 41; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t3[t4].userCompany.token.token, true).then$1$1(0, new A.handlePurchaseOrderAction_closure11(store, purchaseOrder, vendor), type$.Null).catchError$1(new A.handlePurchaseOrderAction_closure12(store)), $async$handlePurchaseOrderAction); case 41: // returning from await. // goto after switch $async$goto = 4; break; case 31: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = purchaseOrder.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download?t=" + Date.now(); $async$goto = 42; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t3[t4].userCompany.token.token, true).then$1$1(0, new A.handlePurchaseOrderAction_closure13(store, purchaseOrder, vendor), type$.Null).catchError$1(new A.handlePurchaseOrderAction_closure14(store)), $async$handlePurchaseOrderAction); case 42: // returning from await. // goto after switch $async$goto = 4; break; case 32: // case t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadPurchaseOrdersRequest(t1, purchaseOrderIds)); // goto after switch $async$goto = 4; break; case 33: // case A.showEntityActionsDialog(null, A._setArrayType([purchaseOrder], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 34: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(null, null, false, null, new A.handlePurchaseOrderAction_closure15(purchaseOrders), t1, null, true, type$.void); // goto after switch $async$goto = 4; break; case 35: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 43; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handlePurchaseOrderAction_closure16(purchaseOrder), t1, null, true, type$.bool), $async$handlePurchaseOrderAction); case 43: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadPurchaseOrder(null, purchaseOrder.id)); } // goto after switch $async$goto = 4; break; case 36: // default A.print("## ERROR: unhandled action " + A.S(action) + " in purchase_order_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handlePurchaseOrderAction, $async$completer); }, ViewPurchaseOrderList: function ViewPurchaseOrderList(t0) { this.page = t0; }, ViewPurchaseOrder: function ViewPurchaseOrder(t0) { this.purchaseOrderId = t0; }, EditPurchaseOrder: function EditPurchaseOrder(t0) { this.purchaseOrder = t0; }, ShowEmailPurchaseOrder: function ShowEmailPurchaseOrder(t0, t1, t2) { this.purchaseOrder = t0; this.context = t1; this.completer = t2; }, ShowPdfPurchaseOrder: function ShowPdfPurchaseOrder(t0, t1, t2) { this.purchaseOrder = t0; this.context = t1; this.activityId = t2; }, EditPurchaseOrderItem: function EditPurchaseOrderItem(t0) { this.itemIndex = t0; }, UpdatePurchaseOrder: function UpdatePurchaseOrder(t0) { this.purchaseOrder = t0; }, UpdatePurchaseOrderVendor: function UpdatePurchaseOrderVendor(t0) { this.vendor = t0; }, LoadPurchaseOrder: function LoadPurchaseOrder(t0, t1) { this.completer = t0; this.purchaseOrderId = t1; }, LoadPurchaseOrders: function LoadPurchaseOrders(t0, t1) { this.completer = t0; this.page = t1; }, LoadPurchaseOrderRequest: function LoadPurchaseOrderRequest() { }, LoadPurchaseOrderFailure: function LoadPurchaseOrderFailure(t0) { this.error = t0; }, LoadPurchaseOrderSuccess: function LoadPurchaseOrderSuccess(t0) { this.purchaseOrder = t0; }, LoadPurchaseOrdersRequest: function LoadPurchaseOrdersRequest() { }, LoadPurchaseOrdersFailure: function LoadPurchaseOrdersFailure(t0) { this.error = t0; }, LoadPurchaseOrdersSuccess: function LoadPurchaseOrdersSuccess(t0) { this.purchaseOrders = t0; }, SavePurchaseOrderDocumentRequest: function SavePurchaseOrderDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.purchaseOrder = t3; }, SavePurchaseOrderDocumentFailure: function SavePurchaseOrderDocumentFailure() { }, SavePurchaseOrderRequest: function SavePurchaseOrderRequest(t0, t1, t2) { this.completer = t0; this.purchaseOrder = t1; this.action = t2; }, SavePurchaseOrderSuccess: function SavePurchaseOrderSuccess(t0) { this.purchaseOrder = t0; }, AddPurchaseOrderSuccess: function AddPurchaseOrderSuccess(t0) { this.purchaseOrder = t0; }, SavePurchaseOrderFailure: function SavePurchaseOrderFailure() { }, BulkEmailPurchaseOrdersRequest: function BulkEmailPurchaseOrdersRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, BulkEmailPurchaseOrdersSuccess: function BulkEmailPurchaseOrdersSuccess() { }, BulkEmailPurchaseOrdersFailure: function BulkEmailPurchaseOrdersFailure() { }, ArchivePurchaseOrdersRequest: function ArchivePurchaseOrdersRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, ArchivePurchaseOrdersSuccess: function ArchivePurchaseOrdersSuccess(t0) { this.purchaseOrders = t0; }, ArchivePurchaseOrdersFailure: function ArchivePurchaseOrdersFailure() { }, DeletePurchaseOrdersRequest: function DeletePurchaseOrdersRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, DeletePurchaseOrdersSuccess: function DeletePurchaseOrdersSuccess(t0) { this.purchaseOrders = t0; }, DeletePurchaseOrdersFailure: function DeletePurchaseOrdersFailure() { }, DownloadPurchaseOrdersRequest: function DownloadPurchaseOrdersRequest(t0, t1) { this.completer = t0; this.invoiceIds = t1; }, DownloadPurchaseOrdersSuccess: function DownloadPurchaseOrdersSuccess() { }, DownloadPurchaseOrdersFailure: function DownloadPurchaseOrdersFailure() { }, AcceptPurchaseOrdersRequest: function AcceptPurchaseOrdersRequest(t0, t1) { this.purchaseOrderIds = t0; this.completer = t1; }, AcceptPurchaseOrderSuccess: function AcceptPurchaseOrderSuccess(t0) { this.purchaseOrders = t0; }, AcceptPurchaseOrderFailure: function AcceptPurchaseOrderFailure() { }, CancelPurchaseOrdersRequest: function CancelPurchaseOrdersRequest(t0, t1) { this.purchaseOrderIds = t0; this.completer = t1; }, CancelPurchaseOrderSuccess: function CancelPurchaseOrderSuccess(t0) { this.purchaseOrders = t0; }, CancelPurchaseOrderFailure: function CancelPurchaseOrderFailure() { }, RestorePurchaseOrdersRequest: function RestorePurchaseOrdersRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, RestorePurchaseOrdersSuccess: function RestorePurchaseOrdersSuccess(t0) { this.purchaseOrders = t0; }, RestorePurchaseOrdersFailure: function RestorePurchaseOrdersFailure() { }, EmailPurchaseOrderRequest: function EmailPurchaseOrderRequest(t0, t1, t2, t3, t4, t5) { var _ = this; _.completer = t0; _.purchaseOrderId = t1; _.template = t2; _.subject = t3; _.body = t4; _.ccEmail = t5; }, EmailPurchaseOrderSuccess: function EmailPurchaseOrderSuccess(t0) { this.purchaseOrder = t0; }, EmailPurchaseOrderFailure: function EmailPurchaseOrderFailure() { }, MarkPurchaseOrdersSentRequest: function MarkPurchaseOrdersSentRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, MarkPurchaseOrderSentSuccess: function MarkPurchaseOrderSentSuccess(t0) { this.purchaseOrders = t0; }, MarkPurchaseOrderSentFailure: function MarkPurchaseOrderSentFailure() { }, ConvertPurchaseOrdersToExpensesRequest: function ConvertPurchaseOrdersToExpensesRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, ConvertPurchaseOrdersToExpensesSuccess: function ConvertPurchaseOrdersToExpensesSuccess(t0) { this.purchaseOrders = t0; }, ConvertPurchaseOrdersToExpensesFailure: function ConvertPurchaseOrdersToExpensesFailure() { }, AddPurchaseOrdersToInventoryRequest: function AddPurchaseOrdersToInventoryRequest(t0, t1) { this.completer = t0; this.purchaseOrderIds = t1; }, AddPurchaseOrdersToInventorySuccess: function AddPurchaseOrdersToInventorySuccess(t0) { this.purchaseOrders = t0; }, AddPurchaseOrdersToInventoryFailure: function AddPurchaseOrdersToInventoryFailure() { }, ApprovePurchaseOrderSuccess: function ApprovePurchaseOrderSuccess(t0) { this.purchaseOrders = t0; }, ApprovePurchaseOrderFailure: function ApprovePurchaseOrderFailure() { }, AddPurchaseOrderContact: function AddPurchaseOrderContact(t0, t1) { this.contact = t0; this.invitation = t1; }, RemovePurchaseOrderContact: function RemovePurchaseOrderContact(t0) { this.invitation = t0; }, AddPurchaseOrderItem: function AddPurchaseOrderItem(t0, t1) { this.index = t0; this.purchaseOrderItem = t1; }, MovePurchaseOrderItem: function MovePurchaseOrderItem(t0, t1) { this.oldIndex = t0; this.newIndex = t1; }, AddPurchaseOrderItems: function AddPurchaseOrderItems(t0) { this.lineItems = t0; }, UpdatePurchaseOrderItem: function UpdatePurchaseOrderItem(t0, t1) { this.index = t0; this.purchaseOrderItem = t1; }, DeletePurchaseOrderItem: function DeletePurchaseOrderItem(t0) { this.index = t0; }, FilterPurchaseOrders: function FilterPurchaseOrders(t0) { this.filter = t0; }, SortPurchaseOrders: function SortPurchaseOrders(t0) { this.field = t0; }, FilterPurchaseOrdersByState: function FilterPurchaseOrdersByState(t0) { this.state = t0; }, FilterPurchaseOrdersByStatus: function FilterPurchaseOrdersByStatus(t0) { this.status = t0; }, FilterPurchaseOrdersByCustom1: function FilterPurchaseOrdersByCustom1(t0) { this.value = t0; }, FilterPurchaseOrdersByCustom2: function FilterPurchaseOrdersByCustom2(t0) { this.value = t0; }, FilterPurchaseOrdersByCustom3: function FilterPurchaseOrdersByCustom3(t0) { this.value = t0; }, FilterPurchaseOrdersByCustom4: function FilterPurchaseOrdersByCustom4(t0) { this.value = t0; }, StartPurchaseOrderMultiselect: function StartPurchaseOrderMultiselect() { }, AddToPurchaseOrderMultiselect: function AddToPurchaseOrderMultiselect(t0) { this.entity = t0; }, RemoveFromPurchaseOrderMultiselect: function RemoveFromPurchaseOrderMultiselect(t0) { this.entity = t0; }, ClearPurchaseOrderMultiselect: function ClearPurchaseOrderMultiselect() { }, UpdatePurchaseOrderTab: function UpdatePurchaseOrderTab(t0) { this.tabIndex = t0; }, handlePurchaseOrderAction_closure: function handlePurchaseOrderAction_closure() { }, handlePurchaseOrderAction_closure0: function handlePurchaseOrderAction_closure0(t0) { this.response = t0; }, handlePurchaseOrderAction_closure1: function handlePurchaseOrderAction_closure1(t0) { this.response = t0; }, handlePurchaseOrderAction_closure2: function handlePurchaseOrderAction_closure2(t0, t1) { this._box_0 = t0; this.state = t1; }, handlePurchaseOrderAction_closure3: function handlePurchaseOrderAction_closure3(t0, t1, t2) { this.context = t0; this.state = t1; this.purchaseOrder = t2; }, handlePurchaseOrderAction_closure4: function handlePurchaseOrderAction_closure4(t0, t1) { this.store = t0; this.context = t1; }, handlePurchaseOrderAction_closure5: function handlePurchaseOrderAction_closure5(t0) { this.purchaseOrder = t0; }, handlePurchaseOrderAction_closure6: function handlePurchaseOrderAction_closure6(t0, t1, t2) { this.store = t0; this.purchaseOrderIds = t1; this.localization = t2; }, handlePurchaseOrderAction_closure7: function handlePurchaseOrderAction_closure7(t0) { this.designId = t0; }, handlePurchaseOrderAction_closure8: function handlePurchaseOrderAction_closure8(t0) { this.designId = t0; }, handlePurchaseOrderAction_closure9: function handlePurchaseOrderAction_closure9(t0) { this.designId = t0; }, handlePurchaseOrderAction_closure10: function handlePurchaseOrderAction_closure10(t0) { this.designId = t0; }, handlePurchaseOrderAction_closure11: function handlePurchaseOrderAction_closure11(t0, t1, t2) { this.store = t0; this.purchaseOrder = t1; this.vendor = t2; }, handlePurchaseOrderAction_closure12: function handlePurchaseOrderAction_closure12(t0) { this.store = t0; }, handlePurchaseOrderAction_closure13: function handlePurchaseOrderAction_closure13(t0, t1, t2) { this.store = t0; this.purchaseOrder = t1; this.vendor = t2; }, handlePurchaseOrderAction_closure14: function handlePurchaseOrderAction_closure14(t0) { this.store = t0; }, handlePurchaseOrderAction_closure15: function handlePurchaseOrderAction_closure15(t0) { this.purchaseOrders = t0; }, handlePurchaseOrderAction_closure16: function handlePurchaseOrderAction_closure16(t0) { this.purchaseOrder = t0; }, _viewPurchaseOrder() { return new A._viewPurchaseOrder_closure(); }, _viewPurchaseOrderList() { return new A._viewPurchaseOrderList_closure0(); }, _editPurchaseOrder() { return new A._editPurchaseOrder_closure(); }, _showEmailPurchaseOrder() { return new A._showEmailPurchaseOrder_closure(); }, _showPdfPurchaseOrder() { return new A._showPdfPurchaseOrder_closure(); }, _archivePurchaseOrder(repository) { return new A._archivePurchaseOrder_closure(repository); }, _deletePurchaseOrder(repository) { return new A._deletePurchaseOrder_closure(repository); }, _restorePurchaseOrder(repository) { return new A._restorePurchaseOrder_closure(repository); }, _approvePurchaseOrder(repository) { return new A._approvePurchaseOrder_closure(repository); }, _markSentPurchaseOrder(repository) { return new A._markSentPurchaseOrder_closure(repository); }, _convertPurchaseOrdersToExpense(repository) { return new A._convertPurchaseOrdersToExpense_closure(repository); }, _addPurchaseOrdersToInventory(repository) { return new A._addPurchaseOrdersToInventory_closure(repository); }, _acceptPurchaseOrders(repository) { return new A._acceptPurchaseOrders_closure(repository); }, _cancelPurchaseOrders(repository) { return new A._cancelPurchaseOrders_closure(repository); }, _emailPurchaseOrder(repository) { return new A._emailPurchaseOrder_closure(repository); }, _savePurchaseOrder(repository) { return new A._savePurchaseOrder_closure(repository); }, _loadPurchaseOrder(repository) { return new A._loadPurchaseOrder_closure(repository); }, _downloadPurchaseOrders(repository) { return new A._downloadPurchaseOrders_closure(repository); }, _bulkEmailPurchaseOrders(repository) { return new A._bulkEmailPurchaseOrders_closure(repository); }, _loadPurchaseOrders(repository) { return new A._loadPurchaseOrders_closure(repository); }, _saveDocument10(repository) { return new A._saveDocument_closure3(repository); }, _viewPurchaseOrder_closure: function _viewPurchaseOrder_closure() { }, _viewPurchaseOrderList_closure0: function _viewPurchaseOrderList_closure0() { }, _viewPurchaseOrderList__closure: function _viewPurchaseOrderList__closure() { }, _editPurchaseOrder_closure: function _editPurchaseOrder_closure() { }, _showEmailPurchaseOrder_closure: function _showEmailPurchaseOrder_closure() { }, _showPdfPurchaseOrder_closure: function _showPdfPurchaseOrder_closure() { }, _archivePurchaseOrder_closure: function _archivePurchaseOrder_closure(t0) { this.repository = t0; }, _archivePurchaseOrder__closure: function _archivePurchaseOrder__closure(t0) { this.store = t0; }, _archivePurchaseOrder__closure0: function _archivePurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archivePurchaseOrder__closure1: function _archivePurchaseOrder__closure1(t0, t1, t2) { this.store = t0; this.prevPurchaseOrders = t1; this.action = t2; }, _deletePurchaseOrder_closure: function _deletePurchaseOrder_closure(t0) { this.repository = t0; }, _deletePurchaseOrder__closure: function _deletePurchaseOrder__closure(t0) { this.store = t0; }, _deletePurchaseOrder__closure0: function _deletePurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deletePurchaseOrder__closure1: function _deletePurchaseOrder__closure1(t0, t1, t2) { this.store = t0; this.prevPurchaseOrders = t1; this.action = t2; }, _restorePurchaseOrder_closure: function _restorePurchaseOrder_closure(t0) { this.repository = t0; }, _restorePurchaseOrder__closure: function _restorePurchaseOrder__closure(t0) { this.store = t0; }, _restorePurchaseOrder__closure0: function _restorePurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restorePurchaseOrder__closure1: function _restorePurchaseOrder__closure1(t0, t1, t2) { this.store = t0; this.prevPurchaseOrders = t1; this.action = t2; }, _approvePurchaseOrder_closure: function _approvePurchaseOrder_closure(t0) { this.repository = t0; }, _approvePurchaseOrder__closure: function _approvePurchaseOrder__closure(t0, t1) { this.store = t0; this.action = t1; }, _approvePurchaseOrder__closure0: function _approvePurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _markSentPurchaseOrder_closure: function _markSentPurchaseOrder_closure(t0) { this.repository = t0; }, _markSentPurchaseOrder__closure: function _markSentPurchaseOrder__closure(t0, t1) { this.store = t0; this.action = t1; }, _markSentPurchaseOrder__closure0: function _markSentPurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _convertPurchaseOrdersToExpense_closure: function _convertPurchaseOrdersToExpense_closure(t0) { this.repository = t0; }, _convertPurchaseOrdersToExpense__closure: function _convertPurchaseOrdersToExpense__closure(t0, t1) { this.store = t0; this.action = t1; }, _convertPurchaseOrdersToExpense__closure0: function _convertPurchaseOrdersToExpense__closure0(t0, t1) { this.store = t0; this.action = t1; }, _addPurchaseOrdersToInventory_closure: function _addPurchaseOrdersToInventory_closure(t0) { this.repository = t0; }, _addPurchaseOrdersToInventory__closure: function _addPurchaseOrdersToInventory__closure(t0, t1) { this.store = t0; this.action = t1; }, _addPurchaseOrdersToInventory__closure0: function _addPurchaseOrdersToInventory__closure0(t0, t1) { this.store = t0; this.action = t1; }, _acceptPurchaseOrders_closure: function _acceptPurchaseOrders_closure(t0) { this.repository = t0; }, _acceptPurchaseOrders__closure: function _acceptPurchaseOrders__closure(t0, t1) { this.store = t0; this.action = t1; }, _acceptPurchaseOrders__closure0: function _acceptPurchaseOrders__closure0(t0, t1) { this.store = t0; this.action = t1; }, _cancelPurchaseOrders_closure: function _cancelPurchaseOrders_closure(t0) { this.repository = t0; }, _cancelPurchaseOrders__closure: function _cancelPurchaseOrders__closure(t0, t1) { this.store = t0; this.action = t1; }, _cancelPurchaseOrders__closure0: function _cancelPurchaseOrders__closure0(t0, t1) { this.store = t0; this.action = t1; }, _emailPurchaseOrder_closure: function _emailPurchaseOrder_closure(t0) { this.repository = t0; }, _emailPurchaseOrder__closure: function _emailPurchaseOrder__closure(t0, t1) { this.store = t0; this.action = t1; }, _emailPurchaseOrder__closure0: function _emailPurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _savePurchaseOrder_closure: function _savePurchaseOrder_closure(t0) { this.repository = t0; }, _savePurchaseOrder__closure: function _savePurchaseOrder__closure(t0) { this.action = t0; }, _savePurchaseOrder___closure: function _savePurchaseOrder___closure() { }, _savePurchaseOrder__closure0: function _savePurchaseOrder__closure0(t0, t1) { this.action = t0; this.store = t1; }, _savePurchaseOrder__closure1: function _savePurchaseOrder__closure1(t0, t1) { this.store = t0; this.action = t1; }, _loadPurchaseOrder_closure: function _loadPurchaseOrder_closure(t0) { this.repository = t0; }, _loadPurchaseOrder__closure: function _loadPurchaseOrder__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadPurchaseOrder__closure0: function _loadPurchaseOrder__closure0(t0, t1) { this.store = t0; this.action = t1; }, _downloadPurchaseOrders_closure: function _downloadPurchaseOrders_closure(t0) { this.repository = t0; }, _downloadPurchaseOrders__closure: function _downloadPurchaseOrders__closure(t0, t1) { this.store = t0; this.action = t1; }, _downloadPurchaseOrders__closure0: function _downloadPurchaseOrders__closure0(t0, t1) { this.store = t0; this.action = t1; }, _bulkEmailPurchaseOrders_closure: function _bulkEmailPurchaseOrders_closure(t0) { this.repository = t0; }, _bulkEmailPurchaseOrders__closure: function _bulkEmailPurchaseOrders__closure(t0, t1) { this.store = t0; this.action = t1; }, _bulkEmailPurchaseOrders__closure0: function _bulkEmailPurchaseOrders__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadPurchaseOrders_closure: function _loadPurchaseOrders_closure(t0) { this.repository = t0; }, _loadPurchaseOrders__closure: function _loadPurchaseOrders__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadPurchaseOrders___closure: function _loadPurchaseOrders___closure(t0) { this.documents = t0; }, _loadPurchaseOrders____closure: function _loadPurchaseOrders____closure(t0, t1) { this.documents = t0; this.purchaseOrder = t1; }, _loadPurchaseOrders_____closure: function _loadPurchaseOrders_____closure(t0) { this.purchaseOrder = t0; }, _loadPurchaseOrders__closure0: function _loadPurchaseOrders__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___closure3: function _saveDocument___closure3(t0, t1) { this.documents = t0; this.purchaseOrder = t1; }, _saveDocument____closure3: function _saveDocument____closure3(t0) { this.purchaseOrder = t0; }, _saveDocument__closure8: function _saveDocument__closure8(t0, t1) { this.store = t0; this.action = t1; }, purchaseOrderUIReducer(state, action) { var t1 = new A.PurchaseOrderUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._purchase_order_state$_$v = state; new A.purchaseOrderUIReducer_closure(state, action).call$1(t1); return t1._purchase_order_state$_build$0(); }, _clearEditing11(purchaseOrder, action) { var _null = null; return A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); }, _updateEditing12(purchaseOrder, action) { return action.get$purchaseOrder(); }, _addPurchaseOrderItem(purchaseOrder, action) { var item = action.purchaseOrderItem; if (action.index == null) return purchaseOrder.rebuild$1(new A._addPurchaseOrderItem_closure(item)); else return purchaseOrder.rebuild$1(new A._addPurchaseOrderItem_closure0(action, item)); }, _addPurchaseOrderItems(purchaseOrder, action) { return purchaseOrder.rebuild$1(new A._addPurchaseOrderItems_closure(action)); }, _removePurchaseOrderItem(purchaseOrder, action) { if (purchaseOrder.lineItems._list$_list.length <= action.index) return purchaseOrder; return purchaseOrder.rebuild$1(new A._removePurchaseOrderItem_closure(action)); }, _updatePurchaseOrderItem(purchaseOrder, action) { if (purchaseOrder.lineItems._list$_list.length <= action.index) return purchaseOrder; return purchaseOrder.rebuild$1(new A._updatePurchaseOrderItem_closure(action)); }, _viewPurchaseOrderList0(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._viewPurchaseOrderList_closure()); }, _filterPurchaseOrdersByCustom1(purchaseOrderListState, action) { if (B.JSArray_methods.contains$1(purchaseOrderListState.custom1Filters._list$_list, action.value)) return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom1_closure(action)); else return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom1_closure0(action)); }, _filterPurchaseOrdersByCustom2(purchaseOrderListState, action) { if (B.JSArray_methods.contains$1(purchaseOrderListState.custom2Filters._list$_list, action.value)) return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom2_closure(action)); else return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom2_closure0(action)); }, _filterPurchaseOrdersByCustom3(purchaseOrderListState, action) { if (B.JSArray_methods.contains$1(purchaseOrderListState.custom3Filters._list$_list, action.value)) return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom3_closure(action)); else return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom3_closure0(action)); }, _filterPurchaseOrdersByCustom4(purchaseOrderListState, action) { if (B.JSArray_methods.contains$1(purchaseOrderListState.custom4Filters._list$_list, action.value)) return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom4_closure(action)); else return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByCustom4_closure0(action)); }, _filterPurchaseOrdersByState(purchaseOrderListState, action) { if (B.JSArray_methods.contains$1(purchaseOrderListState.stateFilters._list$_list, action.state)) return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByState_closure(action)); else return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByState_closure0(action)); }, _filterPurchaseOrdersByStatus(purchaseOrderListState, action) { if (B.JSArray_methods.contains$1(purchaseOrderListState.statusFilters._list$_list, action.status)) return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByStatus_closure(action)); else return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrdersByStatus_closure0(action)); }, _filterPurchaseOrders(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._filterPurchaseOrders_closure(action, purchaseOrderListState)); }, _sortPurchaseOrders(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._sortPurchaseOrders_closure(action)); }, _startListMultiselect13(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._startListMultiselect_closure20()); }, _addToListMultiselect13(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._addToListMultiselect_closure20(action)); }, _removeFromListMultiselect13(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._removeFromListMultiselect_closure20(action)); }, _clearListMultiselect13(purchaseOrderListState, action) { return purchaseOrderListState.rebuild$1(new A._clearListMultiselect_closure20()); }, _markSentPurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._markSentPurchaseOrderSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.purchaseOrders, new A._markSentPurchaseOrderSuccess_closure0(), new A._markSentPurchaseOrderSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _convertPurchaseOrdersToExpenses(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._convertPurchaseOrdersToExpenses_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.purchaseOrders, new A._convertPurchaseOrdersToExpenses_closure0(), new A._convertPurchaseOrdersToExpenses_closure1(), type$.String, type$.InvoiceEntity))); }, _addPurchaseOrdersToInventorySuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._addPurchaseOrdersToInventorySuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.purchaseOrders, new A._addPurchaseOrdersToInventorySuccess_closure0(), new A._addPurchaseOrdersToInventorySuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _acceptPurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._acceptPurchaseOrderSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.purchaseOrders, new A._acceptPurchaseOrderSuccess_closure0(), new A._acceptPurchaseOrderSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _cancelPurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._cancelPurchaseOrderSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.purchaseOrders, new A._cancelPurchaseOrderSuccess_closure0(), new A._cancelPurchaseOrderSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _archivePurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._archivePurchaseOrderSuccess_closure(action)); }, _deletePurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._deletePurchaseOrderSuccess_closure(action)); }, _restorePurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._restorePurchaseOrderSuccess_closure(action)); }, _emailPurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._emailPurchaseOrderSuccess_closure(action)); }, _approvePurchaseOrderSuccess(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._approvePurchaseOrderSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.purchaseOrders, new A._approvePurchaseOrderSuccess_closure0(), new A._approvePurchaseOrderSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _addPurchaseOrder(purchaseOrderState, action) { return purchaseOrderState.rebuild$1(new A._addPurchaseOrder_closure(action)); }, _updatePurchaseOrder(invoiceState, action) { return invoiceState.rebuild$1(new A._updatePurchaseOrder_closure(action.get$purchaseOrder())); }, _setLoadedPurchaseOrders(purchaseOrderState, action) { return purchaseOrderState.loadPurchaseOrders$1(action.purchaseOrders); }, _setLoadedCompany13(purchaseOrderState, action) { return purchaseOrderState.loadPurchaseOrders$1(action.userCompany.company.purchaseOrders); }, purchaseOrderUIReducer_closure: function purchaseOrderUIReducer_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() { }, forceSelectedReducer_closure175: function forceSelectedReducer_closure175() { }, tabIndexReducer_closure19: function tabIndexReducer_closure19() { }, tabIndexReducer_closure20: function tabIndexReducer_closure20() { }, historyActivityIdReducer_closure2: function historyActivityIdReducer_closure2() { }, editingItemReducer_closure3: function editingItemReducer_closure3() { }, editingItemReducer_closure4: function editingItemReducer_closure4() { }, 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() { }, selectedIdReducer_closure335: function selectedIdReducer_closure335() { }, selectedIdReducer_closure336: function selectedIdReducer_closure336() { }, selectedIdReducer_closure337: function selectedIdReducer_closure337() { }, editingReducer_closure103: function editingReducer_closure103() { }, editingReducer__closure44: function editingReducer__closure44() { }, editingReducer_closure104: function editingReducer_closure104() { }, editingReducer__closure43: function editingReducer__closure43() { }, editingReducer_closure105: function editingReducer_closure105() { }, editingReducer_closure106: function editingReducer_closure106() { }, editingReducer__closure42: function editingReducer__closure42() { }, editingReducer_closure107: function editingReducer_closure107() { }, editingReducer__closure41: function editingReducer__closure41() { }, editingReducer_closure108: function editingReducer_closure108() { }, editingReducer__closure40: function editingReducer__closure40(t0) { this.vendor = t0; }, editingReducer___closure2: function editingReducer___closure2() { }, editingReducer_closure109: function editingReducer_closure109() { }, editingReducer_closure110: function editingReducer_closure110() { }, editingReducer_closure111: function editingReducer_closure111() { }, editingReducer_closure112: function editingReducer_closure112() { }, editingReducer__closure39: function editingReducer__closure39(t0) { this.action = t0; }, editingReducer_closure113: function editingReducer_closure113() { }, editingReducer__closure38: function editingReducer__closure38(t0) { this.action = t0; }, _addPurchaseOrderItem_closure: function _addPurchaseOrderItem_closure(t0) { this.item = t0; }, _addPurchaseOrderItem_closure0: function _addPurchaseOrderItem_closure0(t0, t1) { this.action = t0; this.item = t1; }, _addPurchaseOrderItems_closure: function _addPurchaseOrderItems_closure(t0) { this.action = t0; }, _removePurchaseOrderItem_closure: function _removePurchaseOrderItem_closure(t0) { this.action = t0; }, _updatePurchaseOrderItem_closure: function _updatePurchaseOrderItem_closure(t0) { this.action = t0; }, purchaseOrderListReducer_closure: function purchaseOrderListReducer_closure() { }, purchaseOrderListReducer__closure: function purchaseOrderListReducer__closure() { }, _viewPurchaseOrderList_closure: function _viewPurchaseOrderList_closure() { }, _filterPurchaseOrdersByCustom1_closure: function _filterPurchaseOrdersByCustom1_closure(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom1_closure0: function _filterPurchaseOrdersByCustom1_closure0(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom2_closure: function _filterPurchaseOrdersByCustom2_closure(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom2_closure0: function _filterPurchaseOrdersByCustom2_closure0(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom3_closure: function _filterPurchaseOrdersByCustom3_closure(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom3_closure0: function _filterPurchaseOrdersByCustom3_closure0(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom4_closure: function _filterPurchaseOrdersByCustom4_closure(t0) { this.action = t0; }, _filterPurchaseOrdersByCustom4_closure0: function _filterPurchaseOrdersByCustom4_closure0(t0) { this.action = t0; }, _filterPurchaseOrdersByState_closure: function _filterPurchaseOrdersByState_closure(t0) { this.action = t0; }, _filterPurchaseOrdersByState_closure0: function _filterPurchaseOrdersByState_closure0(t0) { this.action = t0; }, _filterPurchaseOrdersByStatus_closure: function _filterPurchaseOrdersByStatus_closure(t0) { this.action = t0; }, _filterPurchaseOrdersByStatus_closure0: function _filterPurchaseOrdersByStatus_closure0(t0) { this.action = t0; }, _filterPurchaseOrders_closure: function _filterPurchaseOrders_closure(t0, t1) { this.action = t0; this.purchaseOrderListState = t1; }, _sortPurchaseOrders_closure: function _sortPurchaseOrders_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() { }, _markSentPurchaseOrderSuccess_closure0: function _markSentPurchaseOrderSuccess_closure0() { }, _markSentPurchaseOrderSuccess_closure1: function _markSentPurchaseOrderSuccess_closure1() { }, _markSentPurchaseOrderSuccess_closure: function _markSentPurchaseOrderSuccess_closure(t0) { this.purchaseOrderMap = t0; }, _convertPurchaseOrdersToExpenses_closure0: function _convertPurchaseOrdersToExpenses_closure0() { }, _convertPurchaseOrdersToExpenses_closure1: function _convertPurchaseOrdersToExpenses_closure1() { }, _convertPurchaseOrdersToExpenses_closure: function _convertPurchaseOrdersToExpenses_closure(t0) { this.purchaseOrderMap = t0; }, _addPurchaseOrdersToInventorySuccess_closure0: function _addPurchaseOrdersToInventorySuccess_closure0() { }, _addPurchaseOrdersToInventorySuccess_closure1: function _addPurchaseOrdersToInventorySuccess_closure1() { }, _addPurchaseOrdersToInventorySuccess_closure: function _addPurchaseOrdersToInventorySuccess_closure(t0) { this.purchaseOrderMap = t0; }, _acceptPurchaseOrderSuccess_closure0: function _acceptPurchaseOrderSuccess_closure0() { }, _acceptPurchaseOrderSuccess_closure1: function _acceptPurchaseOrderSuccess_closure1() { }, _acceptPurchaseOrderSuccess_closure: function _acceptPurchaseOrderSuccess_closure(t0) { this.purchaseOrderMap = t0; }, _cancelPurchaseOrderSuccess_closure0: function _cancelPurchaseOrderSuccess_closure0() { }, _cancelPurchaseOrderSuccess_closure1: function _cancelPurchaseOrderSuccess_closure1() { }, _cancelPurchaseOrderSuccess_closure: function _cancelPurchaseOrderSuccess_closure(t0) { this.purchaseOrderMap = t0; }, _archivePurchaseOrderSuccess_closure: function _archivePurchaseOrderSuccess_closure(t0) { this.action = t0; }, _deletePurchaseOrderSuccess_closure: function _deletePurchaseOrderSuccess_closure(t0) { this.action = t0; }, _restorePurchaseOrderSuccess_closure: function _restorePurchaseOrderSuccess_closure(t0) { this.action = t0; }, _emailPurchaseOrderSuccess_closure: function _emailPurchaseOrderSuccess_closure(t0) { this.action = t0; }, _approvePurchaseOrderSuccess_closure0: function _approvePurchaseOrderSuccess_closure0() { }, _approvePurchaseOrderSuccess_closure1: function _approvePurchaseOrderSuccess_closure1() { }, _approvePurchaseOrderSuccess_closure: function _approvePurchaseOrderSuccess_closure(t0) { this.purchaseOrderMap = t0; }, _addPurchaseOrder_closure: function _addPurchaseOrder_closure(t0) { this.action = t0; }, _addPurchaseOrder__closure: function _addPurchaseOrder__closure() { }, _updatePurchaseOrder_closure: function _updatePurchaseOrder_closure(t0) { this.purchaseOrder = t0; }, _updatePurchaseOrder__closure: function _updatePurchaseOrder__closure() { }, purchaseOrderContactSelector(purchaseOrder, vendor) { var t1 = {}, t2 = purchaseOrder.invitations._list$_list, t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>"), contactIds = A.List_List$of(new A.MappedListIterable(t2, new A.purchaseOrderContactSelector_closure(), t3), true, t3._eval$1("ListIterable.E")); t1.contactIds = contactIds; if (B.JSArray_methods.contains$1(contactIds, vendor.get$primaryContact().id)) t1.contactIds = A._setArrayType([vendor.get$primaryContact().id], type$.JSArray_String); return B.JSArray_methods.firstWhere$2$orElse(vendor.contacts._list$_list, new A.purchaseOrderContactSelector_closure0(t1), null); }, dropdownPurchaseOrdersSelector(purchaseOrderMap, purchaseOrderList, staticState, userMap, clientMap, vendorMap, clientId) { var t1 = purchaseOrderList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownPurchaseOrdersSelector_closure(purchaseOrderMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownPurchaseOrdersSelector_closure0(purchaseOrderMap, userMap, clientMap, vendorMap)); return list; }, filteredPurchaseOrdersSelector(selectionState, invoiceMap, invoiceList, clientMap, vendorMap, invoiceListState, userMap) { var t1 = invoiceList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredPurchaseOrdersSelector_closure(invoiceMap, vendorMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, invoiceListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredPurchaseOrdersSelector_closure0(invoiceMap, invoiceListState, clientMap, vendorMap, userMap)); return list; }, purchaseOrderStatsForVendor(vendorId, purchaseOrderMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; purchaseOrderMap._map$_map.forEach$1(0, new A.purchaseOrderStatsForVendor_closure(t1, vendorId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, purchaseOrderContactSelector_closure: function purchaseOrderContactSelector_closure() { }, purchaseOrderContactSelector_closure0: function purchaseOrderContactSelector_closure0(t0) { this._box_0 = t0; }, memoizedDropdownPurchaseOrderList_closure: function memoizedDropdownPurchaseOrderList_closure() { }, dropdownPurchaseOrdersSelector_closure: function dropdownPurchaseOrdersSelector_closure(t0) { this.purchaseOrderMap = t0; }, dropdownPurchaseOrdersSelector_closure0: function dropdownPurchaseOrdersSelector_closure0(t0, t1, t2, t3) { var _ = this; _.purchaseOrderMap = t0; _.userMap = t1; _.clientMap = t2; _.vendorMap = t3; }, memoizedFilteredPurchaseOrderList_closure: function memoizedFilteredPurchaseOrderList_closure() { }, filteredPurchaseOrdersSelector_closure: function filteredPurchaseOrdersSelector_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.invoiceMap = t0; _.vendorMap = t1; _.selectionState = t2; _.filterEntityType = t3; _.filterEntityId = t4; _.invoiceListState = t5; }, filteredPurchaseOrdersSelector_closure0: function filteredPurchaseOrdersSelector_closure0(t0, t1, t2, t3, t4) { var _ = this; _.invoiceMap = t0; _.invoiceListState = t1; _.clientMap = t2; _.vendorMap = t3; _.userMap = t4; }, memoizedPurchaseOrderStatsForVendor_closure: function memoizedPurchaseOrderStatsForVendor_closure() { }, purchaseOrderStatsForVendor_closure: function purchaseOrderStatsForVendor_closure(t0, t1) { this._box_0 = t0; this.vendorId = t1; }, _$PurchaseOrderState$_(list, map) { var _s18_ = "PurchaseOrderState"; A.BuiltValueNullFieldError_checkNotNull(map, _s18_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s18_, "list"); return new A._$PurchaseOrderState(map, list); }, _$PurchaseOrderUIState$_(cancelCompleter, editing, editingItemIndex, forceSelected, historyActivityId, listUIState, saveCompleter, selectedId, tabIndex) { var _s20_ = "PurchaseOrderUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s20_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s20_, "tabIndex"); return new A._$PurchaseOrderUIState(editing, editingItemIndex, historyActivityId, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, PurchaseOrderState: function PurchaseOrderState() { }, PurchaseOrderState_loadPurchaseOrders_closure0: function PurchaseOrderState_loadPurchaseOrders_closure0() { }, PurchaseOrderState_loadPurchaseOrders_closure1: function PurchaseOrderState_loadPurchaseOrders_closure1() { }, PurchaseOrderState_loadPurchaseOrders_closure: function PurchaseOrderState_loadPurchaseOrders_closure(t0, t1) { this.$this = t0; this.map = t1; }, PurchaseOrderUIState: function PurchaseOrderUIState() { }, _$PurchaseOrderStateSerializer: function _$PurchaseOrderStateSerializer() { }, _$PurchaseOrderUIStateSerializer: function _$PurchaseOrderUIStateSerializer() { }, _$PurchaseOrderState: function _$PurchaseOrderState(t0, t1) { this.map = t0; this.list = t1; this._purchase_order_state$__hashCode = null; }, PurchaseOrderStateBuilder: function PurchaseOrderStateBuilder() { this._purchase_order_state$_list = this._purchase_order_state$_map = this._purchase_order_state$_$v = null; }, _$PurchaseOrderUIState: function _$PurchaseOrderUIState(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; _._purchase_order_state$__hashCode = null; }, PurchaseOrderUIStateBuilder: function PurchaseOrderUIStateBuilder() { var _ = this; _._purchase_order_state$_cancelCompleter = _._purchase_order_state$_saveCompleter = _._purchase_order_state$_tabIndex = _._purchase_order_state$_forceSelected = _._purchase_order_state$_selectedId = _._purchase_order_state$_listUIState = _._purchase_order_state$_historyActivityId = _._purchase_order_state$_editingItemIndex = _._purchase_order_state$_editing = _._purchase_order_state$_$v = null; }, _PurchaseOrderUIState_Object_EntityUIState: function _PurchaseOrderUIState_Object_EntityUIState() { }, handleQuoteAction(context, quotes, action) { return A.handleQuoteAction$body(context, quotes, action); }, handleQuoteAction$body(context, quotes, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, t2, t3, quote, t4, quoteIds, t5, t6, client, message, designId, _i, response, data, documentIds, _box_0, store, t1; var $async$handleQuoteAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.InvoiceEntity; quote = t3._as(B.JSArray_methods.get$first(quotes)); t4 = A._arrayInstanceType(quotes)._eval$1("MappedListIterable<1,String>"); quoteIds = A.List_List$of(new A.MappedListIterable(quotes, new A.handleQuoteAction_closure(), t4), true, t4._eval$1("ListIterable.E")); t4 = t1.userCompanyStates; t5 = t1.uiState.selectedCompanyIndex; t4 = t4._list$_list; t6 = quote.clientId; client = t4[t5].clientState.$get$1(0, t6); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_viewPdf: // goto case $async$goto = 6; break; case B.EntityAction_clientPortal: // goto case $async$goto = 7; break; case B.EntityAction_convertToInvoice: // goto case $async$goto = 8; break; case B.EntityAction_convertToProject: // goto case $async$goto = 9; break; case B.EntityAction_approve: // goto case $async$goto = 10; break; case B.EntityAction_viewInvoice: // goto case $async$goto = 11; break; case B.EntityAction_markSent: // goto case $async$goto = 12; break; case B.EntityAction_sendEmail: // goto case $async$goto = 13; break; case B.EntityAction_bulkSendEmail: // goto case $async$goto = 14; break; case B.EntityAction_schedule: // goto case $async$goto = 15; break; case B.EntityAction_cloneToPurchaseOrder: // goto case $async$goto = 16; break; case B.EntityAction_cloneToOther: // goto case $async$goto = 17; break; case B.EntityAction_cloneToInvoice: // goto case $async$goto = 18; break; case B.EntityAction_clone: // goto case $async$goto = 19; break; case B.EntityAction_cloneToQuote: // goto case $async$goto = 20; break; case B.EntityAction_cloneToCredit: // goto case $async$goto = 21; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 22; break; case B.EntityAction_download: // goto case $async$goto = 23; break; case B.EntityAction_eQuote: // goto case $async$goto = 24; break; case B.EntityAction_bulkDownload: // goto case $async$goto = 25; break; case B.EntityAction_restore: // goto case $async$goto = 26; break; case B.EntityAction_archive: // goto case $async$goto = 27; break; case B.EntityAction_delete: // goto case $async$goto = 28; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 29; break; case B.EntityAction_printPdf: // goto case $async$goto = 30; break; case B.EntityAction_bulkPrint: // goto case $async$goto = 31; break; case B.EntityAction_more: // goto case $async$goto = 32; break; case B.EntityAction_documents: // goto case $async$goto = 33; break; case B.EntityAction_runTemplate: // goto case $async$goto = 34; break; case B.EntityAction_addComment: // goto case $async$goto = 35; break; default: // goto default $async$goto = 36; break; } break; case 5: // case A.editEntity(null, quote, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.ShowPdfQuote(quote, context, null)); // goto after switch $async$goto = 4; break; case 7: // case t1 = quote.invitations._list$_list; A.launchUrl(A.Uri_parse(t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "?silent=true", 0, null)); // goto after switch $async$goto = 4; break; case 8: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "convert_to_invoice"); t1.toString; A.confirmCallback(false, new A.handleQuoteAction_closure0(store, t2, quoteIds), context, t1, false, null); // goto after switch $async$goto = 4; break; case 9: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t3 = t1.$index(0, t2.localeCode); t3.toString; t3 = J.$index$asx(t3, "convert_to_project"); if (t3 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "convert_to_project"); t1.toString; } else t1 = t3; A.confirmCallback(false, new A.handleQuoteAction_closure1(store, t2, quoteIds), context, t1, false, null); // goto after switch $async$goto = 4; break; case 10: // case t1 = quoteIds.length; if (t1 > 1) { t2.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t2 = t3.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "approved_quotes"); if (t2 == null) { t2 = t3.$index(0, "en"); t2.toString; t2 = J.$index$asx(t2, "approved_quotes"); t2.toString; } message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "approve_quote"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ApproveQuotes(quoteIds, t1)); // goto after switch $async$goto = 4; break; case 11: // case A.viewEntityById(false, quote.invoiceId, B.EntityType_invoice, null, false, true); // goto after switch $async$goto = 4; break; case 12: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "marked_quote_as_sent"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.MarkSentQuotesRequest(t1, quoteIds)); // goto after switch $async$goto = 4; break; case 13: // case case 14: // case case 15: // case _box_0.emailValid = true; B.JSArray_methods.forEach$1(quotes, new A.handleQuoteAction_closure2(_box_0, t1)); if (!_box_0.emailValid) { t2.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t2 = t2.localeCode; t4 = t3.$index(0, t2); t4.toString; t4 = J.$index$asx(t4, "client_email_not_set"); t4.toString; t2 = t3.$index(0, t2); t2.toString; A.showMessageDialog(t4, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "edit_client").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handleQuoteAction_closure3(context, t1, quote), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } if (action === B.EntityAction_sendEmail) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_quote"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ShowEmailQuote(quote, context, t1)); } else if (action === B.EntityAction_schedule) { if (!(!t1.get$isHosted() || t4[t5].userCompany.account.plan === "enterprise" || t4[t5].userCompany.account.plan === "pro")) { t1 = t2.get$upgradeToPaidPlanToSchedule(); t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; A.showMessageDialog(t1, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t2, "upgrade").toUpperCase(), null, null, null, null, null, null, null, null, null), null, null, new A.handleQuoteAction_closure4(store, context), null)], type$.JSArray_TextButton)); // goto return $async$goto = 1; break; } A.createEntity(null, null, A.ScheduleEntity_ScheduleEntity("email_record", null, null).rebuild$1(new A.handleQuoteAction_closure5(quote)), null, false); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t3 = t1.$index(0, t2.localeCode); t3.toString; t3 = J.$index$asx(t3, "bulk_email_quotes"); if (t3 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "bulk_email_quotes"); t1.toString; } else t1 = t3; A.confirmCallback(false, new A.handleQuoteAction_closure6(store, quoteIds, t2), context, t1, false, null); } // goto after switch $async$goto = 4; break; case 16: // case designId = A.getDesignIdForVendorByEntity(B.EntityType_purchaseOrder, t1, quote.vendorId); A.createEntity(null, null, quote.get$clone(0).rebuild$1(new A.handleQuoteAction_closure7(designId)), null, false); // goto after switch $async$goto = 4; break; case 17: // case A.cloneToDialog(quote); // goto after switch $async$goto = 4; break; case 18: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_invoice, t1); A.createEntity(null, null, quote.get$clone(0).rebuild$1(new A.handleQuoteAction_closure8(designId)), null, false); // goto after switch $async$goto = 4; break; case 19: // case case 20: // case A.createEntity(null, null, quote.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 21: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_credit, t1); A.createEntity(null, null, quote.get$clone(0).rebuild$1(new A.handleQuoteAction_closure9(designId)), null, false); // goto after switch $async$goto = 4; break; case 22: // case designId = A.getDesignIdForClientByEntity(t6, B.EntityType_invoice, t1); A.createEntity(null, null, quote.get$clone(0).rebuild$1(new A.handleQuoteAction_closure10(designId)), null, false); // goto after switch $async$goto = 4; break; case 23: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = quote.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download?t=" + Date.now(); $async$goto = 37; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t4[t5].userCompany.token.token, true).then$1$1(0, new A.handleQuoteAction_closure11(store, quote, client), type$.Null).catchError$1(new A.handleQuoteAction_closure12(store)), $async$handleQuoteAction); case 37: // returning from await. // goto after switch $async$goto = 4; break; case 24: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartLoading()); t1 = quote.invitations._list$_list; t1 = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "/download_e_quote?t=" + Date.now(); $async$goto = 38; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1, t4[t5].userCompany.token.token, true).then$1$1(0, new A.handleQuoteAction_closure13(store, quote, client), type$.Null).catchError$1(new A.handleQuoteAction_closure14(store)), $async$handleQuoteAction); case 38: // returning from await. // goto after switch $async$goto = 4; break; case 25: // case t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadQuotesRequest(t1, quoteIds)); // goto after switch $async$goto = 4; break; case 26: // case t1 = quoteIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_quotes"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_quote"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreQuotesRequest(t1, quoteIds)); // goto after switch $async$goto = 4; break; case 27: // case t1 = quoteIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_quotes"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_quote"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveQuotesRequest(t1, quoteIds)); // goto after switch $async$goto = 4; break; case 28: // case t1 = quoteIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_quotes"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_quote"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteQuotesRequest(t1, quoteIds)); // goto after switch $async$goto = 4; break; case 29: // case if (store.__Store__state_A.uiState.quoteUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartQuoteMultiselect()); } for (t1 = quotes.length, _i = 0; _i < quotes.length; quotes.length === t1 || (0, A.throwConcurrentModificationError)(quotes), ++_i) { quote = quotes[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(quote); t2 = t2.quoteUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToQuoteMultiselect(quote)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromQuoteMultiselect(quote)); } } // goto after switch $async$goto = 4; break; case 30: // case t1 = B.JSArray_methods.get$first(quote.invitations._list$_list).link; t2 = Date.now(); t3 = store.__Store__dispatchers_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.StartSaving()); $async$goto = 39; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, t1 + "/download?t=" + t2, t4[t5].userCompany.token.token, true), $async$handleQuoteAction); case 39: // returning from await. response = $async$result; t3[0].call$1(new A.StopSaving()); $async$goto = 40; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handleQuoteAction_closure15(response), false), $async$handleQuoteAction); case 40: // returning from await. // goto after switch $async$goto = 4; break; case 31: // case t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartSaving()); t3 = t1.get$credentials(0); data = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["ids", quoteIds, "action", B.EntityAction_bulkPrint.toApiParam$0()], type$.String, type$.Object)); $async$goto = 41; return A._asyncAwait(new A.WebClient().post$4$data$rawResponse(t3.url + "/quotes/bulk", t1.get$credentials(0).token, data, true), $async$handleQuoteAction); case 41: // returning from await. response = $async$result; t2[0].call$1(new A.StopSaving()); $async$goto = 42; return A._asyncAwait(A.Printing_layoutPdf(true, B.PdfPageFormat_gg4, "Document", new A.handleQuoteAction_closure16(response), false), $async$handleQuoteAction); case 42: // returning from await. // goto after switch $async$goto = 4; break; case 32: // case A.showEntityActionsDialog(null, A._setArrayType([quote], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 33: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = quotes.length, _i = 0; _i < quotes.length; quotes.length === t1 || (0, A.throwConcurrentModificationError)(quotes), ++_i) for (t4 = t3._as(quotes[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 34: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(null, null, false, null, new A.handleQuoteAction_closure17(quotes), t1, null, true, type$.void); // goto after switch $async$goto = 4; break; case 35: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 43; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleQuoteAction_closure18(quote), t1, null, true, type$.bool), $async$handleQuoteAction); case 43: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadQuote(null, quote.id)); } // goto after switch $async$goto = 4; break; case 36: // default A.print("## ERROR: unhandled action " + A.S(action) + " in quote_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleQuoteAction, $async$completer); }, ViewQuoteList: function ViewQuoteList(t0) { this.page = t0; }, ViewQuote: function ViewQuote(t0) { this.quoteId = t0; }, EditQuote: function EditQuote(t0, t1) { this.quote = t0; this.quoteItemIndex = t1; }, ShowEmailQuote: function ShowEmailQuote(t0, t1, t2) { this.quote = t0; this.context = t1; this.completer = t2; }, ShowPdfQuote: function ShowPdfQuote(t0, t1, t2) { this.quote = t0; this.context = t1; this.activityId = t2; }, EditQuoteItem: function EditQuoteItem(t0) { this.quoteItemIndex = t0; }, UpdateQuote: function UpdateQuote(t0) { this.quote = t0; }, UpdateQuoteClient: function UpdateQuoteClient(t0) { this.client = t0; }, LoadQuote: function LoadQuote(t0, t1) { this.completer = t0; this.quoteId = t1; }, LoadQuotes: function LoadQuotes(t0, t1) { this.completer = t0; this.page = t1; }, LoadQuoteRequest: function LoadQuoteRequest() { }, LoadQuoteFailure: function LoadQuoteFailure(t0) { this.error = t0; }, LoadQuoteSuccess: function LoadQuoteSuccess(t0) { this.quote = t0; }, LoadQuotesRequest: function LoadQuotesRequest() { }, LoadQuotesFailure: function LoadQuotesFailure(t0) { this.error = t0; }, LoadQuotesSuccess: function LoadQuotesSuccess(t0) { this.quotes = t0; }, AddQuoteContact: function AddQuoteContact(t0, t1) { this.contact = t0; this.invitation = t1; }, RemoveQuoteContact: function RemoveQuoteContact(t0) { this.invitation = t0; }, AddQuoteItem: function AddQuoteItem(t0, t1) { this.index = t0; this.quoteItem = t1; }, MoveQuoteItem: function MoveQuoteItem(t0, t1) { this.oldIndex = t0; this.newIndex = t1; }, AddQuoteItems: function AddQuoteItems(t0) { this.quoteItems = t0; }, UpdateQuoteItem: function UpdateQuoteItem(t0, t1) { this.index = t0; this.quoteItem = t1; }, DeleteQuoteItem: function DeleteQuoteItem(t0) { this.index = t0; }, SaveQuoteRequest: function SaveQuoteRequest(t0, t1, t2) { this.completer = t0; this.quote = t1; this.action = t2; }, SaveQuoteSuccess: function SaveQuoteSuccess(t0) { this.quote = t0; }, AddQuoteSuccess: function AddQuoteSuccess(t0) { this.quote = t0; }, SaveQuoteFailure: function SaveQuoteFailure() { }, EmailQuoteRequest: function EmailQuoteRequest(t0, t1, t2, t3, t4, t5) { var _ = this; _.completer = t0; _.quoteId = t1; _.template = t2; _.subject = t3; _.body = t4; _.ccEmail = t5; }, EmailQuoteSuccess: function EmailQuoteSuccess(t0) { this.quote = t0; }, EmailQuoteFailure: function EmailQuoteFailure() { }, MarkSentQuotesRequest: function MarkSentQuotesRequest(t0, t1) { this.completer = t0; this.quoteIds = t1; }, MarkSentQuoteSuccess: function MarkSentQuoteSuccess(t0) { this.quotes = t0; }, MarkSentQuoteFailure: function MarkSentQuoteFailure() { }, BulkEmailQuotesRequest: function BulkEmailQuotesRequest(t0, t1) { this.completer = t0; this.quoteIds = t1; }, BulkEmailQuotesSuccess: function BulkEmailQuotesSuccess() { }, BulkEmailQuotesFailure: function BulkEmailQuotesFailure() { }, ArchiveQuotesRequest: function ArchiveQuotesRequest(t0, t1) { this.completer = t0; this.quoteIds = t1; }, ArchiveQuotesSuccess: function ArchiveQuotesSuccess(t0) { this.quotes = t0; }, ArchiveQuotesFailure: function ArchiveQuotesFailure() { }, DeleteQuotesRequest: function DeleteQuotesRequest(t0, t1) { this.completer = t0; this.quoteIds = t1; }, DeleteQuotesSuccess: function DeleteQuotesSuccess(t0) { this.quotes = t0; }, DeleteQuotesFailure: function DeleteQuotesFailure() { }, DownloadQuotesRequest: function DownloadQuotesRequest(t0, t1) { this.completer = t0; this.invoiceIds = t1; }, DownloadQuotesSuccess: function DownloadQuotesSuccess() { }, DownloadQuotesFailure: function DownloadQuotesFailure() { }, RestoreQuotesRequest: function RestoreQuotesRequest(t0, t1) { this.completer = t0; this.quoteIds = t1; }, RestoreQuotesSuccess: function RestoreQuotesSuccess(t0) { this.quotes = t0; }, RestoreQuotesFailure: function RestoreQuotesFailure() { }, FilterQuotes: function FilterQuotes(t0) { this.filter = t0; }, SortQuotes: function SortQuotes(t0) { this.field = t0; }, FilterQuotesByState: function FilterQuotesByState(t0) { this.state = t0; }, FilterQuotesByStatus: function FilterQuotesByStatus(t0) { this.status = t0; }, FilterQuotesByCustom1: function FilterQuotesByCustom1(t0) { this.value = t0; }, FilterQuotesByCustom2: function FilterQuotesByCustom2(t0) { this.value = t0; }, FilterQuotesByCustom3: function FilterQuotesByCustom3(t0) { this.value = t0; }, FilterQuotesByCustom4: function FilterQuotesByCustom4(t0) { this.value = t0; }, ConvertQuotesToInvoices: function ConvertQuotesToInvoices(t0, t1) { this.quoteIds = t0; this.completer = t1; }, ConvertQuotesToInvoicesSuccess: function ConvertQuotesToInvoicesSuccess(t0) { this.quotes = t0; }, ConvertQuotesToInvoicesFailure: function ConvertQuotesToInvoicesFailure() { }, ConvertQuotesToProjects: function ConvertQuotesToProjects(t0, t1) { this.quoteIds = t0; this.completer = t1; }, ConvertQuotesToProjectsSuccess: function ConvertQuotesToProjectsSuccess(t0) { this.quotes = t0; }, ConvertQuotesToProjectsFailure: function ConvertQuotesToProjectsFailure() { }, ApproveQuotes: function ApproveQuotes(t0, t1) { this.quoteIds = t0; this.completer = t1; }, ApproveQuoteSuccess: function ApproveQuoteSuccess() { }, ApproveQuoteFailure: function ApproveQuoteFailure() { }, SaveQuoteDocumentRequest: function SaveQuoteDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFile = t2; _.quote = t3; }, SaveQuoteDocumentFailure: function SaveQuoteDocumentFailure() { }, handleQuoteAction_closure: function handleQuoteAction_closure() { }, handleQuoteAction_closure0: function handleQuoteAction_closure0(t0, t1, t2) { this.store = t0; this.localization = t1; this.quoteIds = t2; }, handleQuoteAction_closure1: function handleQuoteAction_closure1(t0, t1, t2) { this.store = t0; this.localization = t1; this.quoteIds = t2; }, handleQuoteAction_closure2: function handleQuoteAction_closure2(t0, t1) { this._box_0 = t0; this.state = t1; }, handleQuoteAction_closure3: function handleQuoteAction_closure3(t0, t1, t2) { this.context = t0; this.state = t1; this.quote = t2; }, handleQuoteAction_closure4: function handleQuoteAction_closure4(t0, t1) { this.store = t0; this.context = t1; }, handleQuoteAction_closure5: function handleQuoteAction_closure5(t0) { this.quote = t0; }, handleQuoteAction_closure6: function handleQuoteAction_closure6(t0, t1, t2) { this.store = t0; this.quoteIds = t1; this.localization = t2; }, handleQuoteAction_closure7: function handleQuoteAction_closure7(t0) { this.designId = t0; }, handleQuoteAction_closure8: function handleQuoteAction_closure8(t0) { this.designId = t0; }, handleQuoteAction_closure9: function handleQuoteAction_closure9(t0) { this.designId = t0; }, handleQuoteAction_closure10: function handleQuoteAction_closure10(t0) { this.designId = t0; }, handleQuoteAction_closure11: function handleQuoteAction_closure11(t0, t1, t2) { this.store = t0; this.quote = t1; this.client = t2; }, handleQuoteAction_closure12: function handleQuoteAction_closure12(t0) { this.store = t0; }, handleQuoteAction_closure13: function handleQuoteAction_closure13(t0, t1, t2) { this.store = t0; this.quote = t1; this.client = t2; }, handleQuoteAction_closure14: function handleQuoteAction_closure14(t0) { this.store = t0; }, handleQuoteAction_closure15: function handleQuoteAction_closure15(t0) { this.response = t0; }, handleQuoteAction_closure16: function handleQuoteAction_closure16(t0) { this.response = t0; }, handleQuoteAction_closure17: function handleQuoteAction_closure17(t0) { this.quotes = t0; }, handleQuoteAction_closure18: function handleQuoteAction_closure18(t0) { this.quote = t0; }, StartQuoteMultiselect: function StartQuoteMultiselect() { }, AddToQuoteMultiselect: function AddToQuoteMultiselect(t0) { this.entity = t0; }, RemoveFromQuoteMultiselect: function RemoveFromQuoteMultiselect(t0) { this.entity = t0; }, ClearQuoteMultiselect: function ClearQuoteMultiselect() { }, UpdateQuoteTab: function UpdateQuoteTab(t0) { this.tabIndex = t0; }, _viewQuote() { return new A._viewQuote_closure(); }, _viewQuoteList() { return new A._viewQuoteList_closure0(); }, _editQuote() { return new A._editQuote_closure(); }, _showEmailQuote() { return new A._showEmailQuote_closure(); }, _showPdfQuote() { return new A._showPdfQuote_closure(); }, _archiveQuote(repository) { return new A._archiveQuote_closure(repository); }, _deleteQuote(repository) { return new A._deleteQuote_closure(repository); }, _restoreQuote(repository) { return new A._restoreQuote_closure(repository); }, _convertQuotesToInvoices(repository) { return new A._convertQuotesToInvoices_closure(repository); }, _convertQuotesToProjects(repository) { return new A._convertQuotesToProjects_closure(repository); }, _approveQuote(repository) { return new A._approveQuote_closure(repository); }, _markSentQuote(repository) { return new A._markSentQuote_closure(repository); }, _emailQuote(repository) { return new A._emailQuote_closure(repository); }, _saveQuote(repository) { return new A._saveQuote_closure(repository); }, _loadQuote(repository) { return new A._loadQuote_closure(repository); }, _downloadQuotes(repository) { return new A._downloadQuotes_closure(repository); }, _bulkEmailQuotes(repository) { return new A._bulkEmailQuotes_closure(repository); }, _loadQuotes(repository) { return new A._loadQuotes_closure(repository); }, _saveDocument8(repository) { return new A._saveDocument_closure5(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; }, _convertQuotesToInvoices_closure: function _convertQuotesToInvoices_closure(t0) { this.repository = t0; }, _convertQuotesToInvoices__closure: function _convertQuotesToInvoices__closure(t0, t1) { this.store = t0; this.action = t1; }, _convertQuotesToInvoices__closure0: function _convertQuotesToInvoices__closure0(t0, t1) { this.store = t0; this.action = t1; }, _convertQuotesToProjects_closure: function _convertQuotesToProjects_closure(t0) { this.repository = t0; }, _convertQuotesToProjects__closure: function _convertQuotesToProjects__closure(t0, t1) { this.store = t0; this.action = t1; }, _convertQuotesToProjects__closure0: function _convertQuotesToProjects__closure0(t0, t1) { this.store = t0; this.action = t1; }, _approveQuote_closure: function _approveQuote_closure(t0) { this.repository = t0; }, _approveQuote__closure: function _approveQuote__closure(t0, t1) { this.store = t0; this.action = t1; }, _approveQuote__closure0: function _approveQuote__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___closure: function _loadQuotes___closure(t0) { this.documents = t0; }, _loadQuotes____closure: function _loadQuotes____closure(t0, t1) { this.documents = t0; this.quote = t1; }, _loadQuotes_____closure: function _loadQuotes_____closure(t0) { this.quote = t0; }, _loadQuotes__closure0: function _loadQuotes__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___closure5: function _saveDocument___closure5(t0, t1) { this.documents = t0; this.quote = t1; }, _saveDocument____closure5: function _saveDocument____closure5(t0) { this.quote = t0; }, _saveDocument__closure12: function _saveDocument__closure12(t0, t1) { this.store = t0; this.action = t1; }, quoteUIReducer(state, action) { var t1 = new A.QuoteUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._quote_state$_$v = state; new A.quoteUIReducer_closure(state, action).call$1(t1); return t1._quote_state$_build$0(); }, _clearEditing12(quote, action) { var _null = null; return A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); }, _updateEditing13(quote, action) { return action.get$quote(); }, _addQuoteItem(quote, action) { var item = action.quoteItem; if (action.index == null) return quote.rebuild$1(new A._addQuoteItem_closure(item)); else return quote.rebuild$1(new A._addQuoteItem_closure0(action, item)); }, _addQuoteItems(quote, action) { return quote.rebuild$1(new A._addQuoteItems_closure(action)); }, _removeQuoteItem(quote, action) { if (quote.lineItems._list$_list.length <= action.index) return quote; return quote.rebuild$1(new A._removeQuoteItem_closure(action)); }, _updateQuoteItem(quote, action) { if (quote.lineItems._list$_list.length <= action.index) return quote; return quote.rebuild$1(new A._updateQuoteItem_closure(action)); }, _viewQuoteList0(quoteListState, action) { return quoteListState.rebuild$1(new A._viewQuoteList_closure()); }, _filterQuotesByCustom1(quoteListState, action) { if (B.JSArray_methods.contains$1(quoteListState.custom1Filters._list$_list, action.value)) return quoteListState.rebuild$1(new A._filterQuotesByCustom1_closure(action)); else return quoteListState.rebuild$1(new A._filterQuotesByCustom1_closure0(action)); }, _filterQuotesByCustom2(quoteListState, action) { if (B.JSArray_methods.contains$1(quoteListState.custom2Filters._list$_list, action.value)) return quoteListState.rebuild$1(new A._filterQuotesByCustom2_closure(action)); else return quoteListState.rebuild$1(new A._filterQuotesByCustom2_closure0(action)); }, _filterQuotesByCustom3(quoteListState, action) { if (B.JSArray_methods.contains$1(quoteListState.custom3Filters._list$_list, action.value)) return quoteListState.rebuild$1(new A._filterQuotesByCustom3_closure(action)); else return quoteListState.rebuild$1(new A._filterQuotesByCustom3_closure0(action)); }, _filterQuotesByCustom4(quoteListState, action) { if (B.JSArray_methods.contains$1(quoteListState.custom4Filters._list$_list, action.value)) return quoteListState.rebuild$1(new A._filterQuotesByCustom4_closure(action)); else return quoteListState.rebuild$1(new A._filterQuotesByCustom4_closure0(action)); }, _filterQuotesByState(quoteListState, action) { if (B.JSArray_methods.contains$1(quoteListState.stateFilters._list$_list, action.state)) return quoteListState.rebuild$1(new A._filterQuotesByState_closure(action)); else return quoteListState.rebuild$1(new A._filterQuotesByState_closure0(action)); }, _filterQuotesByStatus(quoteListState, action) { if (B.JSArray_methods.contains$1(quoteListState.statusFilters._list$_list, action.status)) return quoteListState.rebuild$1(new A._filterQuotesByStatus_closure(action)); else return quoteListState.rebuild$1(new A._filterQuotesByStatus_closure0(action)); }, _filterQuotes(quoteListState, action) { return quoteListState.rebuild$1(new A._filterQuotes_closure(action, quoteListState)); }, _sortQuotes(quoteListState, action) { return quoteListState.rebuild$1(new A._sortQuotes_closure(action)); }, _startListMultiselect14(quoteListState, action) { return quoteListState.rebuild$1(new A._startListMultiselect_closure()); }, _addToListMultiselect14(quoteListState, action) { return quoteListState.rebuild$1(new A._addToListMultiselect_closure(action)); }, _removeFromListMultiselect14(quoteListState, action) { return quoteListState.rebuild$1(new A._removeFromListMultiselect_closure(action)); }, _clearListMultiselect14(quoteListState, action) { return quoteListState.rebuild$1(new A._clearListMultiselect_closure()); }, _purgeClientSuccess5(quoteState, action) { var t1 = quoteState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return quoteState.rebuild$1(new A._purgeClientSuccess_closure(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure0(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure1(), t3), true, t3._eval$1("Iterable.E")))); }, _markSentQuoteSuccess(quoteState, action) { return quoteState.rebuild$1(new A._markSentQuoteSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.quotes, new A._markSentQuoteSuccess_closure0(), new A._markSentQuoteSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _archiveQuoteSuccess(quoteState, action) { return quoteState.rebuild$1(new A._archiveQuoteSuccess_closure(action)); }, _deleteQuoteSuccess(quoteState, action) { return quoteState.rebuild$1(new A._deleteQuoteSuccess_closure(action)); }, _restoreQuoteSuccess(quoteState, action) { return quoteState.rebuild$1(new A._restoreQuoteSuccess_closure(action)); }, _emailQuoteSuccess(quoteState, action) { return quoteState.rebuild$1(new A._emailQuoteSuccess_closure(action)); }, _convertQuotesToInvoicesSuccess(quoteState, action) { return quoteState.rebuild$1(new A._convertQuotesToInvoicesSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.quotes, new A._convertQuotesToInvoicesSuccess_closure0(), new A._convertQuotesToInvoicesSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _convertQuotesToProjectsSuccess(quoteState, action) { return quoteState.rebuild$1(new A._convertQuotesToProjectsSuccess_closure(A.LinkedHashMap_LinkedHashMap$fromIterable(action.quotes, new A._convertQuotesToProjectsSuccess_closure0(), new A._convertQuotesToProjectsSuccess_closure1(), type$.String, type$.InvoiceEntity))); }, _addQuote(quoteState, action) { return quoteState.rebuild$1(new A._addQuote_closure(action)); }, _updateQuote(invoiceState, action) { return invoiceState.rebuild$1(new A._updateQuote_closure(action.get$quote())); }, _setLoadedQuotes(quoteState, action) { return quoteState.loadQuotes$1(action.quotes); }, _setLoadedCompany14(quoteState, action) { return quoteState.loadQuotes$1(action.userCompany.company.quotes); }, quoteUIReducer_closure: function quoteUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure: function forceSelectedReducer_closure() { }, forceSelectedReducer_closure0: function forceSelectedReducer_closure0() { }, forceSelectedReducer_closure1: function forceSelectedReducer_closure1() { }, forceSelectedReducer_closure2: function forceSelectedReducer_closure2() { }, forceSelectedReducer_closure3: function forceSelectedReducer_closure3() { }, forceSelectedReducer_closure4: function forceSelectedReducer_closure4() { }, forceSelectedReducer_closure5: function forceSelectedReducer_closure5() { }, forceSelectedReducer_closure6: function forceSelectedReducer_closure6() { }, forceSelectedReducer_closure7: function forceSelectedReducer_closure7() { }, tabIndexReducer_closure: function tabIndexReducer_closure() { }, tabIndexReducer_closure0: function tabIndexReducer_closure0() { }, historyActivityIdReducer_closure: function historyActivityIdReducer_closure() { }, editingItemReducer_closure: function editingItemReducer_closure() { }, editingItemReducer_closure0: function editingItemReducer_closure0() { }, selectedIdReducer_closure: function selectedIdReducer_closure() { }, selectedIdReducer_closure0: function selectedIdReducer_closure0() { }, selectedIdReducer_closure1: function selectedIdReducer_closure1() { }, selectedIdReducer_closure2: function selectedIdReducer_closure2() { }, selectedIdReducer_closure3: function selectedIdReducer_closure3() { }, selectedIdReducer_closure4: function selectedIdReducer_closure4() { }, selectedIdReducer_closure5: function selectedIdReducer_closure5() { }, selectedIdReducer_closure6: function selectedIdReducer_closure6() { }, selectedIdReducer_closure7: function selectedIdReducer_closure7() { }, selectedIdReducer_closure8: function selectedIdReducer_closure8() { }, selectedIdReducer_closure9: function selectedIdReducer_closure9() { }, selectedIdReducer_closure10: function selectedIdReducer_closure10() { }, selectedIdReducer_closure11: function selectedIdReducer_closure11() { }, selectedIdReducer_closure12: function selectedIdReducer_closure12() { }, selectedIdReducer_closure13: function selectedIdReducer_closure13() { }, selectedIdReducer_closure14: function selectedIdReducer_closure14() { }, selectedIdReducer_closure15: function selectedIdReducer_closure15() { }, selectedIdReducer_closure16: function selectedIdReducer_closure16() { }, selectedIdReducer_closure17: function selectedIdReducer_closure17() { }, editingReducer_closure: function editingReducer_closure() { }, editingReducer__closure5: function editingReducer__closure5() { }, editingReducer_closure0: function editingReducer_closure0() { }, editingReducer__closure4: function editingReducer__closure4() { }, editingReducer_closure1: function editingReducer_closure1() { }, editingReducer_closure2: function editingReducer_closure2() { }, editingReducer__closure3: function editingReducer__closure3() { }, editingReducer_closure3: function editingReducer_closure3() { }, editingReducer__closure2: function editingReducer__closure2() { }, editingReducer_closure4: function editingReducer_closure4() { }, editingReducer__closure1: function editingReducer__closure1(t0) { this.client = t0; }, editingReducer___closure: function editingReducer___closure() { }, editingReducer_closure5: function editingReducer_closure5() { }, editingReducer_closure6: function editingReducer_closure6() { }, editingReducer_closure7: function editingReducer_closure7() { }, editingReducer_closure8: function editingReducer_closure8() { }, editingReducer__closure0: function editingReducer__closure0(t0) { this.action = t0; }, editingReducer_closure9: function editingReducer_closure9() { }, editingReducer__closure: function editingReducer__closure(t0) { this.action = t0; }, _addQuoteItem_closure: function _addQuoteItem_closure(t0) { this.item = t0; }, _addQuoteItem_closure0: function _addQuoteItem_closure0(t0, t1) { this.action = t0; this.item = t1; }, _addQuoteItems_closure: function _addQuoteItems_closure(t0) { this.action = t0; }, _removeQuoteItem_closure: function _removeQuoteItem_closure(t0) { this.action = t0; }, _updateQuoteItem_closure: function _updateQuoteItem_closure(t0) { this.action = t0; }, quoteListReducer_closure: function quoteListReducer_closure() { }, quoteListReducer__closure: function quoteListReducer__closure() { }, _viewQuoteList_closure: function _viewQuoteList_closure() { }, _filterQuotesByCustom1_closure: function _filterQuotesByCustom1_closure(t0) { this.action = t0; }, _filterQuotesByCustom1_closure0: function _filterQuotesByCustom1_closure0(t0) { this.action = t0; }, _filterQuotesByCustom2_closure: function _filterQuotesByCustom2_closure(t0) { this.action = t0; }, _filterQuotesByCustom2_closure0: function _filterQuotesByCustom2_closure0(t0) { this.action = t0; }, _filterQuotesByCustom3_closure: function _filterQuotesByCustom3_closure(t0) { this.action = t0; }, _filterQuotesByCustom3_closure0: function _filterQuotesByCustom3_closure0(t0) { this.action = t0; }, _filterQuotesByCustom4_closure: function _filterQuotesByCustom4_closure(t0) { this.action = t0; }, _filterQuotesByCustom4_closure0: function _filterQuotesByCustom4_closure0(t0) { this.action = t0; }, _filterQuotesByState_closure: function _filterQuotesByState_closure(t0) { this.action = t0; }, _filterQuotesByState_closure0: function _filterQuotesByState_closure0(t0) { this.action = t0; }, _filterQuotesByStatus_closure: function _filterQuotesByStatus_closure(t0) { this.action = t0; }, _filterQuotesByStatus_closure0: function _filterQuotesByStatus_closure0(t0) { this.action = t0; }, _filterQuotes_closure: function _filterQuotes_closure(t0, t1) { this.action = t0; this.quoteListState = t1; }, _sortQuotes_closure: function _sortQuotes_closure(t0) { this.action = t0; }, _startListMultiselect_closure: function _startListMultiselect_closure() { }, _addToListMultiselect_closure: function _addToListMultiselect_closure(t0) { this.action = t0; }, _removeFromListMultiselect_closure: function _removeFromListMultiselect_closure(t0) { this.action = t0; }, _clearListMultiselect_closure: function _clearListMultiselect_closure() { }, _purgeClientSuccess_closure0: function _purgeClientSuccess_closure0(t0) { this.action = t0; }, _purgeClientSuccess_closure1: function _purgeClientSuccess_closure1() { }, _purgeClientSuccess_closure: function _purgeClientSuccess_closure(t0) { this.ids = t0; }, _purgeClientSuccess__closure: function _purgeClientSuccess__closure(t0) { this.ids = t0; }, _purgeClientSuccess__closure0: function _purgeClientSuccess__closure0(t0) { this.ids = t0; }, _markSentQuoteSuccess_closure0: function _markSentQuoteSuccess_closure0() { }, _markSentQuoteSuccess_closure1: function _markSentQuoteSuccess_closure1() { }, _markSentQuoteSuccess_closure: function _markSentQuoteSuccess_closure(t0) { this.quoteMap = t0; }, _archiveQuoteSuccess_closure: function _archiveQuoteSuccess_closure(t0) { this.action = t0; }, _deleteQuoteSuccess_closure: function _deleteQuoteSuccess_closure(t0) { this.action = t0; }, _restoreQuoteSuccess_closure: function _restoreQuoteSuccess_closure(t0) { this.action = t0; }, _emailQuoteSuccess_closure: function _emailQuoteSuccess_closure(t0) { this.action = t0; }, _convertQuotesToInvoicesSuccess_closure0: function _convertQuotesToInvoicesSuccess_closure0() { }, _convertQuotesToInvoicesSuccess_closure1: function _convertQuotesToInvoicesSuccess_closure1() { }, _convertQuotesToInvoicesSuccess_closure: function _convertQuotesToInvoicesSuccess_closure(t0) { this.quoteMap = t0; }, _convertQuotesToProjectsSuccess_closure0: function _convertQuotesToProjectsSuccess_closure0() { }, _convertQuotesToProjectsSuccess_closure1: function _convertQuotesToProjectsSuccess_closure1() { }, _convertQuotesToProjectsSuccess_closure: function _convertQuotesToProjectsSuccess_closure(t0) { this.quoteMap = t0; }, _addQuote_closure: function _addQuote_closure(t0) { this.action = t0; }, _addQuote__closure: function _addQuote__closure() { }, _updateQuote_closure: function _updateQuote_closure(t0) { this.quote = t0; }, _updateQuote__closure: function _updateQuote__closure() { }, quoteContactSelector(quote, client) { var t1 = {}, t2 = quote.invitations._list$_list, t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>"), contactIds = A.List_List$of(new A.MappedListIterable(t2, new A.quoteContactSelector_closure(), t3), true, t3._eval$1("ListIterable.E")); t1.contactIds = contactIds; if (B.JSArray_methods.contains$1(contactIds, client.get$primaryContact().id)) t1.contactIds = A._setArrayType([client.get$primaryContact().id], type$.JSArray_String); return B.JSArray_methods.firstWhere$2$orElse(client.contacts._list$_list, new A.quoteContactSelector_closure0(t1), null); }, dropdownQuoteSelector(quoteMap, clientMap, vendorMap, quoteList, clientId, userMap, excludedIds) { var t1 = quoteList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownQuoteSelector_closure(quoteMap, excludedIds, clientId, clientMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownQuoteSelector_closure0(quoteMap, clientMap, vendorMap, userMap)); return list; }, filteredQuotesSelector(selectionState, quoteMap, quoteList, clientMap, vendorMap, quoteListState, userMap) { var t1 = quoteList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredQuotesSelector_closure(quoteMap, clientMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, quoteListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredQuotesSelector_closure0(quoteMap, quoteListState, clientMap, vendorMap, userMap)); return list; }, quoteStatsForClient(clientId, quoteMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; quoteMap._map$_map.forEach$1(0, new A.quoteStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, quoteStatsForDesign(designId, quoteMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; quoteMap._map$_map.forEach$1(0, new A.quoteStatsForDesign_closure(t1, designId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, quoteStatsForUser(userId, quoteMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; quoteMap._map$_map.forEach$1(0, new A.quoteStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, quoteContactSelector_closure: function quoteContactSelector_closure() { }, quoteContactSelector_closure0: function quoteContactSelector_closure0(t0) { this._box_0 = t0; }, memoizedDropdownQuoteList_closure: function memoizedDropdownQuoteList_closure() { }, dropdownQuoteSelector_closure: function dropdownQuoteSelector_closure(t0, t1, t2, t3) { var _ = this; _.quoteMap = t0; _.excludedIds = t1; _.clientId = t2; _.clientMap = t3; }, dropdownQuoteSelector_closure0: function dropdownQuoteSelector_closure0(t0, t1, t2, t3) { var _ = this; _.quoteMap = t0; _.clientMap = t1; _.vendorMap = t2; _.userMap = t3; }, 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, t4) { var _ = this; _.quoteMap = t0; _.quoteListState = t1; _.clientMap = t2; _.vendorMap = t3; _.userMap = t4; }, 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; }, _$QuoteState$_(list, map) { var _s10_ = "QuoteState"; A.BuiltValueNullFieldError_checkNotNull(map, _s10_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s10_, "list"); return new A._$QuoteState(map, list); }, _$QuoteUIState$_(cancelCompleter, editing, editingItemIndex, forceSelected, historyActivityId, listUIState, saveCompleter, selectedId, tabIndex) { var _s12_ = "QuoteUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s12_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s12_, "tabIndex"); return new A._$QuoteUIState(editing, editingItemIndex, historyActivityId, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, QuoteState: function QuoteState() { }, QuoteState_loadQuotes_closure0: function QuoteState_loadQuotes_closure0() { }, QuoteState_loadQuotes_closure1: function QuoteState_loadQuotes_closure1() { }, QuoteState_loadQuotes_closure: function QuoteState_loadQuotes_closure(t0, t1) { this.$this = t0; this.map = t1; }, QuoteUIState: function QuoteUIState() { }, _$QuoteStateSerializer: function _$QuoteStateSerializer() { }, _$QuoteUIStateSerializer: function _$QuoteUIStateSerializer() { }, _$QuoteState: function _$QuoteState(t0, t1) { this.map = t0; this.list = t1; this._quote_state$__hashCode = null; }, QuoteStateBuilder: function QuoteStateBuilder() { this._quote_state$_list = this._quote_state$_map = this._quote_state$_$v = null; }, _$QuoteUIState: function _$QuoteUIState(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; _._quote_state$__hashCode = null; }, QuoteUIStateBuilder: function QuoteUIStateBuilder() { var _ = this; _._cancelCompleter = _._saveCompleter = _._quote_state$_tabIndex = _._forceSelected = _._selectedId = _._listUIState = _._historyActivityId = _._editingItemIndex = _._editing = _._quote_state$_$v = null; }, _QuoteUIState_Object_EntityUIState: function _QuoteUIState_Object_EntityUIState() { }, handleRecurringExpenseAction(context, recurringExpenses, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, recurringExpense, t3, recurringExpenseIds, _i, documentIds, t4, t5, t6; var $async$handleRecurringExpenseAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if (recurringExpenses.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t2 = type$.ExpenseEntity; recurringExpense = t2._as(B.JSArray_methods.get$first(recurringExpenses)); t3 = A._arrayInstanceType(recurringExpenses)._eval$1("MappedListIterable<1,String>"); recurringExpenseIds = A.List_List$of(new A.MappedListIterable(recurringExpenses, new A.handleRecurringExpenseAction_closure(), t3), true, t3._eval$1("ListIterable.E")); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_restore: // goto case $async$goto = 6; break; case B.EntityAction_archive: // goto case $async$goto = 7; break; case B.EntityAction_delete: // goto case $async$goto = 8; break; case B.EntityAction_start: // goto case $async$goto = 9; break; case B.EntityAction_stop: // goto case $async$goto = 10; break; case B.EntityAction_cloneToExpense: // goto case $async$goto = 11; break; case B.EntityAction_clone: // goto case $async$goto = 12; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 13; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 14; break; case B.EntityAction_more: // goto case $async$goto = 15; break; case B.EntityAction_documents: // goto case $async$goto = 16; break; case B.EntityAction_addComment: // goto case $async$goto = 17; break; default: // goto default $async$goto = 18; break; } break; case 5: // case A.editEntity(null, recurringExpense, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_recurring_expense"); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "restored_recurring_expense"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreRecurringExpensesRequest(t1, recurringExpenseIds)); // goto after switch $async$goto = 4; break; case 7: // case t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_recurring_expense"); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "archived_recurring_expense"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveRecurringExpensesRequest(t1, recurringExpenseIds)); // goto after switch $async$goto = 4; break; case 8: // case t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_recurring_expense"); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "deleted_recurring_expense"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteRecurringExpensesRequest(t1, recurringExpenseIds)); // goto after switch $async$goto = 4; break; case 9: // case if (recurringExpense.lastSentDate.length === 0) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "started_recurring_invoice"); t1.toString; } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "resumed_recurring_invoice"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartRecurringExpensesRequest(t1, recurringExpenseIds)); // goto after switch $async$goto = 4; break; case 10: // case t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "stopped_recurring_invoice"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StopRecurringExpensesRequest(t1, recurringExpenseIds)); // goto after switch $async$goto = 4; break; case 11: // case A.createEntity(null, null, recurringExpense.get$clone(0).rebuild$1(new A.handleRecurringExpenseAction_closure0()), null, false); // goto after switch $async$goto = 4; break; case 12: // case case 13: // case A.createEntity(null, null, recurringExpense.get$clone(0).rebuild$1(new A.handleRecurringExpenseAction_closure1()), null, false); // goto after switch $async$goto = 4; break; case 14: // case t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.recurringExpenseUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartRecurringExpenseMultiselect()); } t1 = recurringExpenses.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < recurringExpenses.length; recurringExpenses.length === t1 || (0, A.throwConcurrentModificationError)(recurringExpenses), ++_i) { recurringExpense = recurringExpenses[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(recurringExpense); t2 = t2.recurringExpenseUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToRecurringExpenseMultiselect(recurringExpense)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromRecurringExpenseMultiselect(recurringExpense)); } } // goto after switch $async$goto = 4; break; case 15: // case A.showEntityActionsDialog(null, A._setArrayType([recurringExpense], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 16: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t3 = recurringExpenses.length, _i = 0; _i < recurringExpenses.length; recurringExpenses.length === t3 || (0, A.throwConcurrentModificationError)(recurringExpenses), ++_i) for (t4 = t2._as(recurringExpenses[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t1.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t1.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 17: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 19; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleRecurringExpenseAction_closure2(recurringExpense), t1, null, true, type$.bool), $async$handleRecurringExpenseAction); case 19: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadRecurringExpense(null, recurringExpense.id)); } // goto after switch $async$goto = 4; break; case 18: // default A.print("## ERROR: unhandled action " + A.S(action) + " in recurring_expense_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleRecurringExpenseAction, $async$completer); }, ViewRecurringExpenseList: function ViewRecurringExpenseList(t0) { this.page = t0; }, ViewRecurringExpense: function ViewRecurringExpense(t0) { this.recurringExpenseId = t0; }, EditRecurringExpense: function EditRecurringExpense(t0) { this.recurringExpense = t0; }, UpdateRecurringExpense: function UpdateRecurringExpense(t0) { this.recurringExpense = t0; }, LoadRecurringExpense: function LoadRecurringExpense(t0, t1) { this.completer = t0; this.recurringExpenseId = t1; }, LoadRecurringExpenses: function LoadRecurringExpenses() { }, LoadRecurringExpenseRequest: function LoadRecurringExpenseRequest() { }, LoadRecurringExpenseFailure: function LoadRecurringExpenseFailure(t0) { this.error = t0; }, LoadRecurringExpenseSuccess: function LoadRecurringExpenseSuccess(t0) { this.recurringExpense = t0; }, LoadRecurringExpensesRequest: function LoadRecurringExpensesRequest() { }, LoadRecurringExpensesFailure: function LoadRecurringExpensesFailure(t0) { this.error = t0; }, LoadRecurringExpensesSuccess: function LoadRecurringExpensesSuccess(t0) { this.recurringExpenses = t0; }, SaveRecurringExpenseRequest: function SaveRecurringExpenseRequest(t0, t1, t2) { this.completer = t0; this.recurringExpense = t1; this.action = t2; }, SaveRecurringExpenseSuccess: function SaveRecurringExpenseSuccess(t0) { this.recurringExpense = t0; }, AddRecurringExpenseSuccess: function AddRecurringExpenseSuccess(t0) { this.recurringExpense = t0; }, SaveRecurringExpenseFailure: function SaveRecurringExpenseFailure() { }, ArchiveRecurringExpensesRequest: function ArchiveRecurringExpensesRequest(t0, t1) { this.completer = t0; this.recurringExpenseIds = t1; }, ArchiveRecurringExpensesSuccess: function ArchiveRecurringExpensesSuccess(t0) { this.recurringExpenses = t0; }, ArchiveRecurringExpensesFailure: function ArchiveRecurringExpensesFailure() { }, DeleteRecurringExpensesRequest: function DeleteRecurringExpensesRequest(t0, t1) { this.completer = t0; this.recurringExpenseIds = t1; }, DeleteRecurringExpensesSuccess: function DeleteRecurringExpensesSuccess(t0) { this.recurringExpenses = t0; }, DeleteRecurringExpensesFailure: function DeleteRecurringExpensesFailure() { }, RestoreRecurringExpensesRequest: function RestoreRecurringExpensesRequest(t0, t1) { this.completer = t0; this.recurringExpenseIds = t1; }, RestoreRecurringExpensesSuccess: function RestoreRecurringExpensesSuccess(t0) { this.recurringExpenses = t0; }, RestoreRecurringExpensesFailure: function RestoreRecurringExpensesFailure() { }, FilterRecurringExpenses: function FilterRecurringExpenses(t0) { this.filter = t0; }, SortRecurringExpenses: function SortRecurringExpenses(t0) { this.field = t0; }, FilterRecurringExpensesByState: function FilterRecurringExpensesByState(t0) { this.state = t0; }, FilterRecurringExpensesByStatus: function FilterRecurringExpensesByStatus(t0) { this.status = t0; }, FilterRecurringExpensesByCustom1: function FilterRecurringExpensesByCustom1(t0) { this.value = t0; }, FilterRecurringExpensesByCustom2: function FilterRecurringExpensesByCustom2(t0) { this.value = t0; }, FilterRecurringExpensesByCustom3: function FilterRecurringExpensesByCustom3(t0) { this.value = t0; }, FilterRecurringExpensesByCustom4: function FilterRecurringExpensesByCustom4(t0) { this.value = t0; }, StartRecurringExpenseMultiselect: function StartRecurringExpenseMultiselect() { }, AddToRecurringExpenseMultiselect: function AddToRecurringExpenseMultiselect(t0) { this.entity = t0; }, RemoveFromRecurringExpenseMultiselect: function RemoveFromRecurringExpenseMultiselect(t0) { this.entity = t0; }, ClearRecurringExpenseMultiselect: function ClearRecurringExpenseMultiselect() { }, UpdateRecurringExpenseTab: function UpdateRecurringExpenseTab(t0) { this.tabIndex = t0; }, StartRecurringExpensesRequest: function StartRecurringExpensesRequest(t0, t1) { this.completer = t0; this.expenseIds = t1; }, StartRecurringExpensesSuccess: function StartRecurringExpensesSuccess(t0) { this.expenses = t0; }, StartRecurringExpensesFailure: function StartRecurringExpensesFailure() { }, StopRecurringExpensesRequest: function StopRecurringExpensesRequest(t0, t1) { this.completer = t0; this.expenseIds = t1; }, StopRecurringExpensesSuccess: function StopRecurringExpensesSuccess(t0) { this.expenses = t0; }, StopRecurringExpensesFailure: function StopRecurringExpensesFailure() { }, SaveRecurringExpenseDocumentRequest: function SaveRecurringExpenseDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFile = t2; _.expense = t3; }, SaveRecurringExpenseDocumentFailure: function SaveRecurringExpenseDocumentFailure() { }, handleRecurringExpenseAction_closure: function handleRecurringExpenseAction_closure() { }, handleRecurringExpenseAction_closure0: function handleRecurringExpenseAction_closure0() { }, handleRecurringExpenseAction_closure1: function handleRecurringExpenseAction_closure1() { }, handleRecurringExpenseAction_closure2: function handleRecurringExpenseAction_closure2(t0) { this.recurringExpense = t0; }, _editRecurringExpense() { return new A._editRecurringExpense_closure(); }, _viewRecurringExpense() { return new A._viewRecurringExpense_closure(); }, _viewRecurringExpenseList() { return new A._viewRecurringExpenseList_closure0(); }, _archiveRecurringExpense(repository) { return new A._archiveRecurringExpense_closure(repository); }, _deleteRecurringExpense(repository) { return new A._deleteRecurringExpense_closure(repository); }, _restoreRecurringExpense(repository) { return new A._restoreRecurringExpense_closure(repository); }, _saveRecurringExpense(repository) { return new A._saveRecurringExpense_closure(repository); }, _loadRecurringExpense(repository) { return new A._loadRecurringExpense_closure(repository); }, _loadRecurringExpenses(repository) { return new A._loadRecurringExpenses_closure(repository); }, _startRecurringExpense(repository) { return new A._startRecurringExpense_closure(repository); }, _stopRecurringExpense(repository) { return new A._stopRecurringExpense_closure(repository); }, _saveDocument11(repository) { return new A._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___closure: function _loadRecurringExpenses___closure(t0) { this.documents = t0; }, _loadRecurringExpenses____closure: function _loadRecurringExpenses____closure(t0, t1) { this.documents = t0; this.expense = t1; }, _loadRecurringExpenses_____closure: function _loadRecurringExpenses_____closure(t0) { this.expense = t0; }, _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___closure2: function _saveDocument___closure2(t0, t1) { this.documents = t0; this.expense = t1; }, _saveDocument____closure2: function _saveDocument____closure2(t0) { this.expense = t0; }, _saveDocument__closure6: function _saveDocument__closure6(t0, t1) { this.store = t0; this.action = t1; }, recurringExpenseUIReducer(state, action) { var t1 = new A.RecurringExpenseUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._recurring_expense_state$_$v = state; new A.recurringExpenseUIReducer_closure(state, action).call$1(t1); return t1._recurring_expense_state$_build$0(); }, _clearEditing13(recurringExpense, action) { var _null = null; return A.ExpenseEntity_ExpenseEntity(_null, B.EntityType_recurringExpense, _null, _null, _null, _null, _null); }, _updateEditing14(recurringExpense, action) { return action.get$recurringExpense(); }, _viewRecurringExpenseList0(recurringExpenseListState, action) { return recurringExpenseListState.rebuild$1(new A._viewRecurringExpenseList_closure()); }, _filterRecurringExpensesByCustom1(recurringExpenseListState, action) { if (B.JSArray_methods.contains$1(recurringExpenseListState.custom1Filters._list$_list, action.value)) return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByCustom1_closure(action)); else return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByCustom1_closure0(action)); }, _filterRecurringExpensesByCustom2(recurringExpenseListState, action) { if (B.JSArray_methods.contains$1(recurringExpenseListState.custom2Filters._list$_list, action.value)) return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByCustom2_closure(action)); else return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByCustom2_closure0(action)); }, _filterRecurringExpensesByState(recurringExpenseListState, action) { if (B.JSArray_methods.contains$1(recurringExpenseListState.stateFilters._list$_list, action.state)) return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByState_closure(action)); else return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByState_closure0(action)); }, _filterRecurringExpensesByStatus(recurringExpenseListState, action) { if (B.JSArray_methods.contains$1(recurringExpenseListState.statusFilters._list$_list, action.status)) return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByStatus_closure(action)); else return recurringExpenseListState.rebuild$1(new A._filterRecurringExpensesByStatus_closure0(action)); }, _filterRecurringExpenses(recurringExpenseListState, action) { return recurringExpenseListState.rebuild$1(new A._filterRecurringExpenses_closure(action, recurringExpenseListState)); }, _sortRecurringExpenses(recurringExpenseListState, action) { return recurringExpenseListState.rebuild$1(new A._sortRecurringExpenses_closure(action)); }, _startListMultiselect15(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure19()); }, _addToListMultiselect15(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure19(action)); }, _removeFromListMultiselect15(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure19(action)); }, _clearListMultiselect15(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure19()); }, _purgeClientSuccess6(expenseState, action) { var t1 = expenseState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return expenseState.rebuild$1(new A._purgeClientSuccess_closure14(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure15(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure16(), t3), true, t3._eval$1("Iterable.E")))); }, _archiveRecurringExpenseSuccess(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._archiveRecurringExpenseSuccess_closure(action)); }, _deleteRecurringExpenseSuccess(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._deleteRecurringExpenseSuccess_closure(action)); }, _restoreRecurringExpenseSuccess(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._restoreRecurringExpenseSuccess_closure(action)); }, _addRecurringExpense(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._addRecurringExpense_closure(action)); }, _updateRecurringExpense(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._updateRecurringExpense_closure(action)); }, _startRecurringExpensesSuccess(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._startRecurringExpensesSuccess_closure(action)); }, _stopRecurringExpensesSuccess(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._stopRecurringExpensesSuccess_closure(action)); }, _setLoadedRecurringExpense(recurringExpenseState, action) { return recurringExpenseState.rebuild$1(new A._setLoadedRecurringExpense_closure(action)); }, _setLoadedRecurringExpenses(recurringExpenseState, action) { return recurringExpenseState.loadRecurringExpenses$1(action.recurringExpenses); }, _setLoadedCompany15(recurringExpenseState, action) { return recurringExpenseState.loadRecurringExpenses$1(action.userCompany.company.recurringExpenses); }, recurringExpenseUIReducer_closure: function recurringExpenseUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure158: function forceSelectedReducer_closure158() { }, 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_closure17: function tabIndexReducer_closure17() { }, tabIndexReducer_closure18: function tabIndexReducer_closure18() { }, selectedIdReducer_closure303: function selectedIdReducer_closure303() { }, selectedIdReducer_closure304: function selectedIdReducer_closure304() { }, selectedIdReducer_closure305: function selectedIdReducer_closure305() { }, selectedIdReducer_closure306: function selectedIdReducer_closure306() { }, selectedIdReducer_closure307: function selectedIdReducer_closure307() { }, selectedIdReducer_closure308: function selectedIdReducer_closure308() { }, selectedIdReducer_closure309: function selectedIdReducer_closure309() { }, selectedIdReducer_closure310: function selectedIdReducer_closure310() { }, selectedIdReducer_closure311: function selectedIdReducer_closure311() { }, selectedIdReducer_closure312: function selectedIdReducer_closure312() { }, selectedIdReducer_closure313: function selectedIdReducer_closure313() { }, selectedIdReducer_closure314: function selectedIdReducer_closure314() { }, selectedIdReducer_closure315: function selectedIdReducer_closure315() { }, selectedIdReducer_closure316: function selectedIdReducer_closure316() { }, selectedIdReducer_closure317: function selectedIdReducer_closure317() { }, selectedIdReducer_closure318: function selectedIdReducer_closure318() { }, editingReducer_closure99: function editingReducer_closure99() { }, editingReducer_closure100: function editingReducer_closure100() { }, editingReducer_closure101: function editingReducer_closure101() { }, editingReducer_closure102: function editingReducer_closure102() { }, editingReducer__closure37: function editingReducer__closure37() { }, recurringExpenseListReducer_closure: function recurringExpenseListReducer_closure() { }, recurringExpenseListReducer__closure: function recurringExpenseListReducer__closure() { }, _viewRecurringExpenseList_closure: function _viewRecurringExpenseList_closure() { }, _filterRecurringExpensesByCustom1_closure: function _filterRecurringExpensesByCustom1_closure(t0) { this.action = t0; }, _filterRecurringExpensesByCustom1_closure0: function _filterRecurringExpensesByCustom1_closure0(t0) { this.action = t0; }, _filterRecurringExpensesByCustom2_closure: function _filterRecurringExpensesByCustom2_closure(t0) { this.action = t0; }, _filterRecurringExpensesByCustom2_closure0: function _filterRecurringExpensesByCustom2_closure0(t0) { this.action = t0; }, _filterRecurringExpensesByState_closure: function _filterRecurringExpensesByState_closure(t0) { this.action = t0; }, _filterRecurringExpensesByState_closure0: function _filterRecurringExpensesByState_closure0(t0) { this.action = t0; }, _filterRecurringExpensesByStatus_closure: function _filterRecurringExpensesByStatus_closure(t0) { this.action = t0; }, _filterRecurringExpensesByStatus_closure0: function _filterRecurringExpensesByStatus_closure0(t0) { this.action = t0; }, _filterRecurringExpenses_closure: function _filterRecurringExpenses_closure(t0, t1) { this.action = t0; this.recurringExpenseListState = t1; }, _sortRecurringExpenses_closure: function _sortRecurringExpenses_closure(t0) { this.action = t0; }, _startListMultiselect_closure19: function _startListMultiselect_closure19() { }, _addToListMultiselect_closure19: function _addToListMultiselect_closure19(t0) { this.action = t0; }, _removeFromListMultiselect_closure19: function _removeFromListMultiselect_closure19(t0) { this.action = t0; }, _clearListMultiselect_closure19: function _clearListMultiselect_closure19() { }, _purgeClientSuccess_closure15: function _purgeClientSuccess_closure15(t0) { this.action = t0; }, _purgeClientSuccess_closure16: function _purgeClientSuccess_closure16() { }, _purgeClientSuccess_closure14: function _purgeClientSuccess_closure14(t0) { this.ids = t0; }, _purgeClientSuccess__closure9: function _purgeClientSuccess__closure9(t0) { this.ids = t0; }, _purgeClientSuccess__closure10: function _purgeClientSuccess__closure10(t0) { this.ids = t0; }, _archiveRecurringExpenseSuccess_closure: function _archiveRecurringExpenseSuccess_closure(t0) { this.action = t0; }, _deleteRecurringExpenseSuccess_closure: function _deleteRecurringExpenseSuccess_closure(t0) { this.action = t0; }, _restoreRecurringExpenseSuccess_closure: function _restoreRecurringExpenseSuccess_closure(t0) { this.action = t0; }, _addRecurringExpense_closure: function _addRecurringExpense_closure(t0) { this.action = t0; }, _addRecurringExpense__closure: function _addRecurringExpense__closure() { }, _updateRecurringExpense_closure: function _updateRecurringExpense_closure(t0) { this.action = t0; }, _updateRecurringExpense__closure: function _updateRecurringExpense__closure() { }, _startRecurringExpensesSuccess_closure: function _startRecurringExpensesSuccess_closure(t0) { this.action = t0; }, _stopRecurringExpensesSuccess_closure: function _stopRecurringExpensesSuccess_closure(t0) { this.action = t0; }, _setLoadedRecurringExpense_closure: function _setLoadedRecurringExpense_closure(t0) { this.action = t0; }, _setLoadedRecurringExpense__closure: function _setLoadedRecurringExpense__closure() { }, filteredRecurringExpensesSelector(selectionState, expenseMap, clientMap, vendorMap, userMap, expenseListState, invoiceMap, expenseCategoryMap, staticState) { var t1 = expenseMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredRecurringExpensesSelector_closure(expenseMap, expenseCategoryMap, vendorMap, clientMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, expenseListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredRecurringExpensesSelector_closure0(expenseMap, expenseListState, clientMap, userMap, vendorMap, invoiceMap, expenseCategoryMap, staticState)); return list; }, recurringExpenseStatsForClient(clientId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.recurringExpenseStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringExpenseStatsForVendor(vendorId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.recurringExpenseStatsForVendor_closure(t1, vendorId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, transactionStatsForVendor(vendorId, transactionMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; transactionMap._map$_map.forEach$1(0, new A.transactionStatsForVendor_closure(t1, vendorId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringExpenseStatsForUser(userId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.recurringExpenseStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringExpenseStatsForExpense(recurrigExpenseId, expenseMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; expenseMap._map$_map.forEach$1(0, new A.recurringExpenseStatsForExpense_closure(t1, recurrigExpenseId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, memoizedFilteredRecurringExpenseList_closure: function memoizedFilteredRecurringExpenseList_closure() { }, filteredRecurringExpensesSelector_closure: function filteredRecurringExpensesSelector_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.expenseMap = t0; _.expenseCategoryMap = t1; _.vendorMap = t2; _.clientMap = t3; _.selectionState = t4; _.filterEntityType = t5; _.filterEntityId = t6; _.expenseListState = t7; }, filteredRecurringExpensesSelector_closure0: function filteredRecurringExpensesSelector_closure0(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.expenseMap = t0; _.expenseListState = t1; _.clientMap = t2; _.userMap = t3; _.vendorMap = t4; _.invoiceMap = t5; _.expenseCategoryMap = t6; _.staticState = t7; }, memoizedRecurringExpenseStatsForClient_closure: function memoizedRecurringExpenseStatsForClient_closure() { }, recurringExpenseStatsForClient_closure: function recurringExpenseStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, memoizedRecurringExpenseStatsForVendor_closure: function memoizedRecurringExpenseStatsForVendor_closure() { }, recurringExpenseStatsForVendor_closure: function recurringExpenseStatsForVendor_closure(t0, t1) { this._box_0 = t0; this.vendorId = t1; }, memoizedTransactionStatsForVendor_closure: function memoizedTransactionStatsForVendor_closure() { }, transactionStatsForVendor_closure: function transactionStatsForVendor_closure(t0, t1) { this._box_0 = t0; this.vendorId = t1; }, memoizedRecurringExpenseStatsForUser_closure: function memoizedRecurringExpenseStatsForUser_closure() { }, recurringExpenseStatsForUser_closure: function recurringExpenseStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, memoizedRecurringExpenseStatsForExpense_closure: function memoizedRecurringExpenseStatsForExpense_closure() { }, recurringExpenseStatsForExpense_closure: function recurringExpenseStatsForExpense_closure(t0, t1) { this._box_0 = t0; this.recurrigExpenseId = t1; }, _$RecurringExpenseState$_(list, map) { var _s21_ = "RecurringExpenseState"; A.BuiltValueNullFieldError_checkNotNull(map, _s21_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s21_, "list"); return new A._$RecurringExpenseState(map, list); }, _$RecurringExpenseUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s23_ = "RecurringExpenseUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s23_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s23_, "tabIndex"); return new A._$RecurringExpenseUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, RecurringExpenseState: function RecurringExpenseState() { }, RecurringExpenseState_loadRecurringExpenses_closure0: function RecurringExpenseState_loadRecurringExpenses_closure0() { }, RecurringExpenseState_loadRecurringExpenses_closure1: function RecurringExpenseState_loadRecurringExpenses_closure1() { }, RecurringExpenseState_loadRecurringExpenses_closure: function RecurringExpenseState_loadRecurringExpenses_closure(t0, t1) { this.$this = t0; this.map = t1; }, RecurringExpenseUIState: function RecurringExpenseUIState() { }, _$RecurringExpenseStateSerializer: function _$RecurringExpenseStateSerializer() { }, _$RecurringExpenseUIStateSerializer: function _$RecurringExpenseUIStateSerializer() { }, _$RecurringExpenseState: function _$RecurringExpenseState(t0, t1) { this.map = t0; this.list = t1; this._recurring_expense_state$__hashCode = null; }, RecurringExpenseStateBuilder: function RecurringExpenseStateBuilder() { this._recurring_expense_state$_list = this._recurring_expense_state$_map = this._recurring_expense_state$_$v = null; }, _$RecurringExpenseUIState: function _$RecurringExpenseUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._recurring_expense_state$__hashCode = null; }, RecurringExpenseUIStateBuilder: function RecurringExpenseUIStateBuilder() { var _ = this; _._recurring_expense_state$_cancelCompleter = _._recurring_expense_state$_saveCompleter = _._recurring_expense_state$_tabIndex = _._recurring_expense_state$_forceSelected = _._recurring_expense_state$_selectedId = _._recurring_expense_state$_listUIState = _._recurring_expense_state$_editing = _._recurring_expense_state$_$v = null; }, _RecurringExpenseUIState_Object_EntityUIState: function _RecurringExpenseUIState_Object_EntityUIState() { }, handleRecurringInvoiceAction(context, recurringInvoices, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, t3, recurringInvoice, t4, recurringInvoiceIds, client, amount, link, designId, message, _i, documentIds, t5, t6; var $async$handleRecurringInvoiceAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if (recurringInvoices.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.InvoiceEntity; recurringInvoice = t3._as(B.JSArray_methods.get$first(recurringInvoices)); t4 = A._arrayInstanceType(recurringInvoices)._eval$1("MappedListIterable<1,String>"); recurringInvoiceIds = A.List_List$of(new A.MappedListIterable(recurringInvoices, new A.handleRecurringInvoiceAction_closure(), t4), true, t4._eval$1("ListIterable.E")); t4 = recurringInvoice.clientId; client = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].clientState.$get$1(0, t4); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_viewPdf: // goto case $async$goto = 6; break; case B.EntityAction_updatePrices: // goto case $async$goto = 7; break; case B.EntityAction_increasePrices: // goto case $async$goto = 8; break; case B.EntityAction_clientPortal: // goto case $async$goto = 9; break; case B.EntityAction_cloneToPurchaseOrder: // goto case $async$goto = 10; break; case B.EntityAction_cloneToOther: // goto case $async$goto = 11; break; case B.EntityAction_clone: // goto case $async$goto = 12; break; case B.EntityAction_cloneToRecurring: // goto case $async$goto = 13; break; case B.EntityAction_cloneToInvoice: // goto case $async$goto = 14; break; case B.EntityAction_cloneToQuote: // goto case $async$goto = 15; break; case B.EntityAction_cloneToCredit: // goto case $async$goto = 16; break; case B.EntityAction_start: // goto case $async$goto = 17; break; case B.EntityAction_stop: // goto case $async$goto = 18; break; case B.EntityAction_restore: // goto case $async$goto = 19; break; case B.EntityAction_archive: // goto case $async$goto = 20; break; case B.EntityAction_delete: // goto case $async$goto = 21; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 22; break; case B.EntityAction_more: // goto case $async$goto = 23; break; case B.EntityAction_documents: // goto case $async$goto = 24; break; case B.EntityAction_sendNow: // goto case $async$goto = 25; break; case B.EntityAction_runTemplate: // goto case $async$goto = 26; break; case B.EntityAction_addComment: // goto case $async$goto = 27; break; default: // goto default $async$goto = 28; break; } break; case 5: // case A.editEntity(null, recurringInvoice, true, null); // goto after switch $async$goto = 4; break; case 6: // case t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.ShowPdfRecurringInvoice(recurringInvoice, context, null)); // goto after switch $async$goto = 4; break; case 7: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues(); t3 = t1.$index(0, t2.localeCode); t3.toString; t3 = J.$index$asx(t3, "update_prices"); if (t3 == null) { t1 = t1.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, "update_prices"); t1.toString; } else t1 = t3; A.confirmCallback(false, new A.handleRecurringInvoiceAction_closure0(store, t2, recurringInvoiceIds), context, t1, false, null); // goto after switch $async$goto = 4; break; case 8: // case $async$goto = 29; return A._asyncAwait(A.showDialog(null, null, true, null, new A.handleRecurringInvoiceAction_closure1(t2), context, null, true, type$.double), $async$handleRecurringInvoiceAction); case 29: // returning from await. amount = $async$result; if (amount != null && amount !== 0) { t1 = A.snackBarCompleter(t2.get$updatedPrices(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.IncreasePricesRecurringInvoicesRequest(t1, amount, recurringInvoiceIds)); } // goto after switch $async$goto = 4; break; case 9: // case t1 = recurringInvoice.invitations._list$_list; link = t1.length === 0 ? "" : B.JSArray_methods.get$first(t1).link + "?silent=true"; if (link.length !== 0) { if (!B.JSString_methods.contains$1(link, "?")) link += "?"; A.launchUrl(A.Uri_parse(link + ("&client_hash=" + client.clientHash), 0, null)); } // goto after switch $async$goto = 4; break; case 10: // case designId = A.getDesignIdForVendorByEntity(B.EntityType_purchaseOrder, t1, recurringInvoice.vendorId); A.createEntity(null, null, recurringInvoice.get$clone(0).rebuild$1(new A.handleRecurringInvoiceAction_closure2(designId)), null, false); // goto after switch $async$goto = 4; break; case 11: // case A.cloneToDialog(recurringInvoice); // goto after switch $async$goto = 4; break; case 12: // case case 13: // case A.createEntity(null, null, recurringInvoice.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 14: // case A.createEntity(null, null, recurringInvoice.get$clone(0).rebuild$1(new A.handleRecurringInvoiceAction_closure3()), null, false); // goto after switch $async$goto = 4; break; case 15: // case designId = A.getDesignIdForClientByEntity(t4, B.EntityType_invoice, t1); A.createEntity(null, null, recurringInvoice.get$clone(0).rebuild$1(new A.handleRecurringInvoiceAction_closure4(designId)), null, false); // goto after switch $async$goto = 4; break; case 16: // case designId = A.getDesignIdForClientByEntity(t4, B.EntityType_credit, t1); A.createEntity(null, null, recurringInvoice.get$clone(0).rebuild$1(new A.handleRecurringInvoiceAction_closure5(designId)), null, false); // goto after switch $async$goto = 4; break; case 17: // case if (recurringInvoice.lastSentDate.length === 0) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "started_recurring_invoice"); t1.toString; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "resumed_recurring_invoice"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartRecurringInvoicesRequest(t1, recurringInvoiceIds)); // goto after switch $async$goto = 4; break; case 18: // case t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "stopped_recurring_invoice"); t1.toString; t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StopRecurringInvoicesRequest(t1, recurringInvoiceIds)); // goto after switch $async$goto = 4; break; case 19: // case t1 = recurringInvoiceIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_recurring_invoices"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_recurring_invoice"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreRecurringInvoicesRequest(t1, recurringInvoiceIds)); // goto after switch $async$goto = 4; break; case 20: // case t1 = recurringInvoiceIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_recurring_invoices"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_recurring_invoice"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveRecurringInvoicesRequest(t1, recurringInvoiceIds)); // goto after switch $async$goto = 4; break; case 21: // case t1 = recurringInvoiceIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_recurring_invoices"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_recurring_invoice"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteRecurringInvoicesRequest(t1, recurringInvoiceIds)); // goto after switch $async$goto = 4; break; case 22: // case if (store.__Store__state_A.uiState.recurringInvoiceUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartRecurringInvoiceMultiselect()); } t1 = recurringInvoices.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < recurringInvoices.length; recurringInvoices.length === t1 || (0, A.throwConcurrentModificationError)(recurringInvoices), ++_i) { recurringInvoice = recurringInvoices[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(recurringInvoice); t2 = t2.recurringInvoiceUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToRecurringInvoiceMultiselect(recurringInvoice)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromRecurringInvoiceMultiselect(recurringInvoice)); } } // goto after switch $async$goto = 4; break; case 23: // case A.showEntityActionsDialog(null, A._setArrayType([recurringInvoice], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 24: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = recurringInvoices.length, _i = 0; _i < recurringInvoices.length; recurringInvoices.length === t1 || (0, A.throwConcurrentModificationError)(recurringInvoices), ++_i) for (t4 = t3._as(recurringInvoices[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 25: // case if (recurringInvoiceIds.length === 1) { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_invoice"); t1.toString; } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "emailed_invoice"); t1.toString; } t1 = A.snackBarCompleter(t1, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.SendNowRecurringInvoicesRequest(t1, recurringInvoiceIds)); // goto after switch $async$goto = 4; break; case 26: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(null, null, false, null, new A.handleRecurringInvoiceAction_closure6(recurringInvoices), t1, null, true, type$.void); // goto after switch $async$goto = 4; break; case 27: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 30; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleRecurringInvoiceAction_closure7(recurringInvoice), t1, null, true, type$.bool), $async$handleRecurringInvoiceAction); case 30: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadRecurringInvoice(null, recurringInvoice.id)); } // goto after switch $async$goto = 4; break; case 28: // default A.print("## Error: action " + A.S(action) + " not handled in recurring_invoice_actions"); case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleRecurringInvoiceAction, $async$completer); }, ViewRecurringInvoiceList: function ViewRecurringInvoiceList(t0) { this.page = t0; }, 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(t0, t1) { this.completer = t0; this.page = t1; }, 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, t2) { this.completer = t0; this.recurringInvoice = t1; this.action = t2; }, SaveRecurringInvoiceSuccess: function SaveRecurringInvoiceSuccess(t0) { this.recurringInvoice = t0; }, AddRecurringInvoiceSuccess: function AddRecurringInvoiceSuccess(t0) { this.recurringInvoice = t0; }, AddRecurringInvoiceItem: function AddRecurringInvoiceItem(t0, t1) { this.index = t0; this.invoiceItem = t1; }, 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() { }, SendNowRecurringInvoicesRequest: function SendNowRecurringInvoicesRequest(t0, t1) { this.completer = t0; this.recurringInvoiceIds = t1; }, SendNowRecurringInvoicesSuccess: function SendNowRecurringInvoicesSuccess(t0) { this.recurringInvoices = t0; }, SendNowRecurringInvoicesFailure: function SendNowRecurringInvoicesFailure() { }, UpdatePricesRecurringInvoicesRequest: function UpdatePricesRecurringInvoicesRequest(t0, t1) { this.completer = t0; this.recurringInvoiceIds = t1; }, UpdatePricesRecurringInvoicesSuccess: function UpdatePricesRecurringInvoicesSuccess() { }, UpdatePricesRecurringInvoicesFailure: function UpdatePricesRecurringInvoicesFailure() { }, IncreasePricesRecurringInvoicesRequest: function IncreasePricesRecurringInvoicesRequest(t0, t1, t2) { this.completer = t0; this.percentageIncrease = t1; this.recurringInvoiceIds = t2; }, IncreasePricesRecurringInvoicesSuccess: function IncreasePricesRecurringInvoicesSuccess() { }, IncreasePricesRecurringInvoicesFailure: function IncreasePricesRecurringInvoicesFailure() { }, 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, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.invoice = t3; }, 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(t0, t1, t2) { this.store = t0; this.localization = t1; this.recurringInvoiceIds = t2; }, handleRecurringInvoiceAction_closure1: function handleRecurringInvoiceAction_closure1(t0) { this.localization = t0; }, handleRecurringInvoiceAction__closure: function handleRecurringInvoiceAction__closure(t0) { this._box_0 = t0; }, handleRecurringInvoiceAction__closure0: function handleRecurringInvoiceAction__closure0(t0) { this.context = t0; }, handleRecurringInvoiceAction__closure1: function handleRecurringInvoiceAction__closure1(t0, t1) { this._box_0 = t0; this.context = t1; }, handleRecurringInvoiceAction_closure2: function handleRecurringInvoiceAction_closure2(t0) { this.designId = t0; }, handleRecurringInvoiceAction_closure3: function handleRecurringInvoiceAction_closure3() { }, handleRecurringInvoiceAction_closure4: function handleRecurringInvoiceAction_closure4(t0) { this.designId = t0; }, handleRecurringInvoiceAction_closure5: function handleRecurringInvoiceAction_closure5(t0) { this.designId = t0; }, handleRecurringInvoiceAction_closure6: function handleRecurringInvoiceAction_closure6(t0) { this.recurringInvoices = t0; }, handleRecurringInvoiceAction_closure7: function handleRecurringInvoiceAction_closure7(t0) { this.recurringInvoice = 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; }, _editRecurringInvoice() { return new A._editRecurringInvoice_closure(); }, _viewRecurringInvoice() { return new A._viewRecurringInvoice_closure(); }, _viewRecurringInvoiceList() { return new A._viewRecurringInvoiceList_closure(); }, _showPdfRecurringInvoice() { return new A._showPdfRecurringInvoice_closure(); }, _startRecurringInvoice(repository) { return new A._startRecurringInvoice_closure(repository); }, _stopRecurringInvoice(repository) { return new A._stopRecurringInvoice_closure(repository); }, _updatePricesRecurringInvoice(repository) { return new A._updatePricesRecurringInvoice_closure(repository); }, _increasePricesRecurringInvoice(repository) { return new A._increasePricesRecurringInvoice_closure(repository); }, _sendNowRecurringInvoice(repository) { return new A._sendNowRecurringInvoice_closure(repository); }, _archiveRecurringInvoice(repository) { return new A._archiveRecurringInvoice_closure(repository); }, _deleteRecurringInvoice(repository) { return new A._deleteRecurringInvoice_closure(repository); }, _restoreRecurringInvoice(repository) { return new A._restoreRecurringInvoice_closure(repository); }, _saveRecurringInvoice(repository) { return new A._saveRecurringInvoice_closure(repository); }, _loadRecurringInvoice(repository) { return new A._loadRecurringInvoice_closure(repository); }, _loadRecurringInvoices(repository) { return new A._loadRecurringInvoices_closure(repository); }, _saveDocument12(repository) { return new A._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; }, _updatePricesRecurringInvoice_closure: function _updatePricesRecurringInvoice_closure(t0) { this.repository = t0; }, _updatePricesRecurringInvoice__closure: function _updatePricesRecurringInvoice__closure(t0, t1) { this.store = t0; this.action = t1; }, _updatePricesRecurringInvoice__closure0: function _updatePricesRecurringInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _increasePricesRecurringInvoice_closure: function _increasePricesRecurringInvoice_closure(t0) { this.repository = t0; }, _increasePricesRecurringInvoice__closure: function _increasePricesRecurringInvoice__closure(t0, t1) { this.store = t0; this.action = t1; }, _increasePricesRecurringInvoice__closure0: function _increasePricesRecurringInvoice__closure0(t0, t1) { this.store = t0; this.action = t1; }, _sendNowRecurringInvoice_closure: function _sendNowRecurringInvoice_closure(t0) { this.repository = t0; }, _sendNowRecurringInvoice__closure: function _sendNowRecurringInvoice__closure(t0, t1) { this.store = t0; this.action = t1; }, _sendNowRecurringInvoice__closure0: function _sendNowRecurringInvoice__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___closure: function _loadRecurringInvoices___closure(t0) { this.documents = t0; }, _loadRecurringInvoices____closure: function _loadRecurringInvoices____closure(t0, t1) { this.documents = t0; this.client = t1; }, _loadRecurringInvoices_____closure: function _loadRecurringInvoices_____closure(t0) { this.client = t0; }, _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___closure1: function _saveDocument___closure1(t0, t1) { this.documents = t0; this.invoice = t1; }, _saveDocument____closure1: function _saveDocument____closure1(t0) { this.invoice = t0; }, _saveDocument__closure4: function _saveDocument__closure4(t0, t1) { this.store = t0; this.action = t1; }, recurringInvoiceUIReducer(state, action) { var t1 = new A.RecurringInvoiceUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._recurring_invoice_state$_$v = state; new A.recurringInvoiceUIReducer_closure(state, action).call$1(t1); return t1._recurring_invoice_state$_build$0(); }, _clearEditing14(recurringInvoice, action) { var _null = null; return A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); }, _updateEditing15(recurringInvoice, action) { return action.get$recurringInvoice(); }, _addRecurringInvoiceItem(recurringInvoice, action) { var item = action.invoiceItem; if (action.index == null) return recurringInvoice.rebuild$1(new A._addRecurringInvoiceItem_closure(item)); else return recurringInvoice.rebuild$1(new A._addRecurringInvoiceItem_closure0(action, item)); }, _addRecurringInvoiceItems(recurringInvoice, action) { return recurringInvoice.rebuild$1(new A._addRecurringInvoiceItems_closure(action)); }, _removeRecurringInvoiceItem(recurringInvoice, action) { if (recurringInvoice.lineItems._list$_list.length <= action.index) return recurringInvoice; return recurringInvoice.rebuild$1(new A._removeRecurringInvoiceItem_closure(action)); }, _updateRecurringInvoiceItem(recurringInvoice, action) { if (recurringInvoice.lineItems._list$_list.length <= action.index) return recurringInvoice; return recurringInvoice.rebuild$1(new A._updateRecurringInvoiceItem_closure(action)); }, _filterRecurringInvoicesByCustom1(recurringInvoiceListState, action) { if (B.JSArray_methods.contains$1(recurringInvoiceListState.custom1Filters._list$_list, action.value)) return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom1_closure(action)); else return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom1_closure0(action)); }, _filterRecurringInvoicesByCustom2(recurringInvoiceListState, action) { if (B.JSArray_methods.contains$1(recurringInvoiceListState.custom2Filters._list$_list, action.value)) return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom2_closure(action)); else return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom2_closure0(action)); }, _filterRecurringInvoicesByCustom3(recurringInvoiceListState, action) { if (B.JSArray_methods.contains$1(recurringInvoiceListState.custom3Filters._list$_list, action.value)) return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom3_closure(action)); else return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom3_closure0(action)); }, _filterRecurringInvoicesByCustom4(recurringInvoiceListState, action) { if (B.JSArray_methods.contains$1(recurringInvoiceListState.custom4Filters._list$_list, action.value)) return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom4_closure(action)); else return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByCustom4_closure0(action)); }, _filterRecurringInvoicesByState(recurringInvoiceListState, action) { if (B.JSArray_methods.contains$1(recurringInvoiceListState.stateFilters._list$_list, action.state)) return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByState_closure(action)); else return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByState_closure0(action)); }, _filterRecurringInvoicesByStatus(recurringInvoiceListState, action) { if (B.JSArray_methods.contains$1(recurringInvoiceListState.statusFilters._list$_list, action.status)) return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByStatus_closure(action)); else return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoicesByStatus_closure0(action)); }, _filterRecurringInvoices(recurringInvoiceListState, action) { return recurringInvoiceListState.rebuild$1(new A._filterRecurringInvoices_closure(action, recurringInvoiceListState)); }, _sortRecurringInvoices(recurringInvoiceListState, action) { return recurringInvoiceListState.rebuild$1(new A._sortRecurringInvoices_closure(action)); }, _startListMultiselect16(recurringInvoiceListState, action) { return recurringInvoiceListState.rebuild$1(new A._startListMultiselect_closure15()); }, _addToListMultiselect16(recurringInvoiceListState, action) { return recurringInvoiceListState.rebuild$1(new A._addToListMultiselect_closure15(action)); }, _removeFromListMultiselect16(recurringInvoiceListState, action) { return recurringInvoiceListState.rebuild$1(new A._removeFromListMultiselect_closure15(action)); }, _clearListMultiselect16(recurringInvoiceListState, action) { return recurringInvoiceListState.rebuild$1(new A._clearListMultiselect_closure15()); }, _purgeClientSuccess7(invoiceState, action) { var t1 = invoiceState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return invoiceState.rebuild$1(new A._purgeClientSuccess_closure11(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure12(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure13(), t3), true, t3._eval$1("Iterable.E")))); }, _archiveRecurringInvoiceSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._archiveRecurringInvoiceSuccess_closure(action)); }, _deleteRecurringInvoiceSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._deleteRecurringInvoiceSuccess_closure(action)); }, _emailRecurringInvoiceSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._emailRecurringInvoiceSuccess_closure(action)); }, _restoreRecurringInvoiceSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._restoreRecurringInvoiceSuccess_closure(action)); }, _sendNowRecurringInvoiceSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._sendNowRecurringInvoiceSuccess_closure(action)); }, _startRecurringInvoicesSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._startRecurringInvoicesSuccess_closure(action)); }, _stopRecurringInvoicesSuccess(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._stopRecurringInvoicesSuccess_closure(action)); }, _addRecurringInvoice(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._addRecurringInvoice_closure(action)); }, _updateRecurringInvoice(recurringInvoiceState, action) { return recurringInvoiceState.rebuild$1(new A._updateRecurringInvoice_closure(action, action.get$recurringInvoice())); }, _setLoadedRecurringInvoices(recurringInvoiceState, action) { return recurringInvoiceState.loadRecurringInvoices$1(action.recurringInvoices); }, _setLoadedCompany16(recurringInvoiceState, action) { return recurringInvoiceState.loadRecurringInvoices$1(action.userCompany.company.recurringInvoices); }, recurringInvoiceUIReducer_closure: function recurringInvoiceUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure125: function forceSelectedReducer_closure125() { }, forceSelectedReducer_closure126: function forceSelectedReducer_closure126() { }, forceSelectedReducer_closure127: function forceSelectedReducer_closure127() { }, forceSelectedReducer_closure128: function forceSelectedReducer_closure128() { }, forceSelectedReducer_closure129: function forceSelectedReducer_closure129() { }, forceSelectedReducer_closure130: function forceSelectedReducer_closure130() { }, forceSelectedReducer_closure131: function forceSelectedReducer_closure131() { }, forceSelectedReducer_closure132: function forceSelectedReducer_closure132() { }, forceSelectedReducer_closure133: function forceSelectedReducer_closure133() { }, tabIndexReducer_closure13: function tabIndexReducer_closure13() { }, tabIndexReducer_closure14: function tabIndexReducer_closure14() { }, historyActivityIdReducer_closure1: function historyActivityIdReducer_closure1() { }, editingItemIndexReducer_closure: function editingItemIndexReducer_closure() { }, editingItemIndexReducer_closure0: function editingItemIndexReducer_closure0() { }, selectedIdReducer_closure239: function selectedIdReducer_closure239() { }, selectedIdReducer_closure240: function selectedIdReducer_closure240() { }, selectedIdReducer_closure241: function selectedIdReducer_closure241() { }, selectedIdReducer_closure242: function selectedIdReducer_closure242() { }, selectedIdReducer_closure243: function selectedIdReducer_closure243() { }, selectedIdReducer_closure244: function selectedIdReducer_closure244() { }, selectedIdReducer_closure245: function selectedIdReducer_closure245() { }, selectedIdReducer_closure246: function selectedIdReducer_closure246() { }, selectedIdReducer_closure247: function selectedIdReducer_closure247() { }, selectedIdReducer_closure248: function selectedIdReducer_closure248() { }, selectedIdReducer_closure249: function selectedIdReducer_closure249() { }, selectedIdReducer_closure250: function selectedIdReducer_closure250() { }, selectedIdReducer_closure251: function selectedIdReducer_closure251() { }, selectedIdReducer_closure252: function selectedIdReducer_closure252() { }, selectedIdReducer_closure253: function selectedIdReducer_closure253() { }, selectedIdReducer_closure254: function selectedIdReducer_closure254() { }, selectedIdReducer_closure255: function selectedIdReducer_closure255() { }, selectedIdReducer_closure256: function selectedIdReducer_closure256() { }, selectedIdReducer_closure257: function selectedIdReducer_closure257() { }, editingReducer_closure76: function editingReducer_closure76() { }, editingReducer__closure33: function editingReducer__closure33() { }, editingReducer_closure77: function editingReducer_closure77() { }, editingReducer__closure32: function editingReducer__closure32() { }, editingReducer_closure78: function editingReducer_closure78() { }, editingReducer_closure79: function editingReducer_closure79() { }, editingReducer__closure31: function editingReducer__closure31() { }, editingReducer_closure80: function editingReducer_closure80() { }, editingReducer__closure30: function editingReducer__closure30() { }, editingReducer_closure81: function editingReducer_closure81() { }, editingReducer__closure29: function editingReducer__closure29(t0) { this.client = t0; }, editingReducer___closure1: function editingReducer___closure1() { }, editingReducer_closure82: function editingReducer_closure82() { }, editingReducer_closure83: function editingReducer_closure83() { }, editingReducer_closure84: function editingReducer_closure84() { }, editingReducer_closure85: function editingReducer_closure85() { }, editingReducer__closure28: function editingReducer__closure28(t0) { this.action = t0; }, editingReducer_closure86: function editingReducer_closure86() { }, editingReducer__closure27: function editingReducer__closure27(t0) { this.action = t0; }, _addRecurringInvoiceItem_closure: function _addRecurringInvoiceItem_closure(t0) { this.item = t0; }, _addRecurringInvoiceItem_closure0: function _addRecurringInvoiceItem_closure0(t0, t1) { this.action = t0; this.item = t1; }, _addRecurringInvoiceItems_closure: function _addRecurringInvoiceItems_closure(t0) { this.action = t0; }, _removeRecurringInvoiceItem_closure: function _removeRecurringInvoiceItem_closure(t0) { this.action = t0; }, _updateRecurringInvoiceItem_closure: function _updateRecurringInvoiceItem_closure(t0) { this.action = t0; }, recurringInvoiceListReducer_closure: function recurringInvoiceListReducer_closure() { }, recurringInvoiceListReducer__closure: function recurringInvoiceListReducer__closure() { }, _filterRecurringInvoicesByCustom1_closure: function _filterRecurringInvoicesByCustom1_closure(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom1_closure0: function _filterRecurringInvoicesByCustom1_closure0(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom2_closure: function _filterRecurringInvoicesByCustom2_closure(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom2_closure0: function _filterRecurringInvoicesByCustom2_closure0(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom3_closure: function _filterRecurringInvoicesByCustom3_closure(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom3_closure0: function _filterRecurringInvoicesByCustom3_closure0(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom4_closure: function _filterRecurringInvoicesByCustom4_closure(t0) { this.action = t0; }, _filterRecurringInvoicesByCustom4_closure0: function _filterRecurringInvoicesByCustom4_closure0(t0) { this.action = t0; }, _filterRecurringInvoicesByState_closure: function _filterRecurringInvoicesByState_closure(t0) { this.action = t0; }, _filterRecurringInvoicesByState_closure0: function _filterRecurringInvoicesByState_closure0(t0) { this.action = t0; }, _filterRecurringInvoicesByStatus_closure: function _filterRecurringInvoicesByStatus_closure(t0) { this.action = t0; }, _filterRecurringInvoicesByStatus_closure0: function _filterRecurringInvoicesByStatus_closure0(t0) { this.action = t0; }, _filterRecurringInvoices_closure: function _filterRecurringInvoices_closure(t0, t1) { this.action = t0; this.recurringInvoiceListState = t1; }, _sortRecurringInvoices_closure: function _sortRecurringInvoices_closure(t0) { this.action = t0; }, _startListMultiselect_closure15: function _startListMultiselect_closure15() { }, _addToListMultiselect_closure15: function _addToListMultiselect_closure15(t0) { this.action = t0; }, _removeFromListMultiselect_closure15: function _removeFromListMultiselect_closure15(t0) { this.action = t0; }, _clearListMultiselect_closure15: function _clearListMultiselect_closure15() { }, _purgeClientSuccess_closure12: function _purgeClientSuccess_closure12(t0) { this.action = t0; }, _purgeClientSuccess_closure13: function _purgeClientSuccess_closure13() { }, _purgeClientSuccess_closure11: function _purgeClientSuccess_closure11(t0) { this.ids = t0; }, _purgeClientSuccess__closure7: function _purgeClientSuccess__closure7(t0) { this.ids = t0; }, _purgeClientSuccess__closure8: function _purgeClientSuccess__closure8(t0) { this.ids = t0; }, _archiveRecurringInvoiceSuccess_closure: function _archiveRecurringInvoiceSuccess_closure(t0) { this.action = t0; }, _deleteRecurringInvoiceSuccess_closure: function _deleteRecurringInvoiceSuccess_closure(t0) { this.action = t0; }, _emailRecurringInvoiceSuccess_closure: function _emailRecurringInvoiceSuccess_closure(t0) { this.action = t0; }, _restoreRecurringInvoiceSuccess_closure: function _restoreRecurringInvoiceSuccess_closure(t0) { this.action = t0; }, _sendNowRecurringInvoiceSuccess_closure: function _sendNowRecurringInvoiceSuccess_closure(t0) { this.action = t0; }, _startRecurringInvoicesSuccess_closure: function _startRecurringInvoicesSuccess_closure(t0) { this.action = t0; }, _stopRecurringInvoicesSuccess_closure: function _stopRecurringInvoicesSuccess_closure(t0) { this.action = t0; }, _addRecurringInvoice_closure: function _addRecurringInvoice_closure(t0) { this.action = t0; }, _addRecurringInvoice__closure: function _addRecurringInvoice__closure() { }, _updateRecurringInvoice_closure: function _updateRecurringInvoice_closure(t0, t1) { this.action = t0; this.recurringInvoice = t1; }, _updateRecurringInvoice__closure: function _updateRecurringInvoice__closure() { }, filteredRecurringInvoicesSelector(selectionState, recurringInvoiceMap, clientMap, vendorMap, recurringInvoiceList, invoiceListState, userMap) { var t1 = recurringInvoiceList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredRecurringInvoicesSelector_closure(recurringInvoiceMap, clientMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, invoiceListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredRecurringInvoicesSelector_closure0(recurringInvoiceMap, invoiceListState, clientMap, vendorMap, userMap)); return list; }, recurringInvoiceStatsForClient(clientId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.recurringInvoiceStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringInvoiceStatsForUser(userId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.recurringInvoiceStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringInvoiceStatsForInvoice(recurrinInvoiceId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.recurringInvoiceStatsForInvoice_closure(t1, recurrinInvoiceId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringInvoiceStatsForDesign(designId, recurringInvoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; recurringInvoiceMap._map$_map.forEach$1(0, new A.recurringInvoiceStatsForDesign_closure(t1, designId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, recurringInvoiceStatsForSubscription(subscriptionId, invoiceMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; invoiceMap._map$_map.forEach$1(0, new A.recurringInvoiceStatsForSubscription_closure(t1, subscriptionId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, memoizedFilteredRecurringInvoiceList_closure: function memoizedFilteredRecurringInvoiceList_closure() { }, filteredRecurringInvoicesSelector_closure: function filteredRecurringInvoicesSelector_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.recurringInvoiceMap = t0; _.clientMap = t1; _.selectionState = t2; _.filterEntityType = t3; _.filterEntityId = t4; _.invoiceListState = t5; }, filteredRecurringInvoicesSelector_closure0: function filteredRecurringInvoicesSelector_closure0(t0, t1, t2, t3, t4) { var _ = this; _.recurringInvoiceMap = t0; _.invoiceListState = t1; _.clientMap = t2; _.vendorMap = t3; _.userMap = t4; }, memoizedRecurringInvoiceStatsForClient_closure: function memoizedRecurringInvoiceStatsForClient_closure() { }, recurringInvoiceStatsForClient_closure: function recurringInvoiceStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, memoizedRecurringInvoiceStatsForUser_closure: function memoizedRecurringInvoiceStatsForUser_closure() { }, recurringInvoiceStatsForUser_closure: function recurringInvoiceStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, memoizedRecurringInvoiceStatsForInvoice_closure: function memoizedRecurringInvoiceStatsForInvoice_closure() { }, recurringInvoiceStatsForInvoice_closure: function recurringInvoiceStatsForInvoice_closure(t0, t1) { this._box_0 = t0; this.recurrinInvoiceId = t1; }, memoizedRecurringInvoiceStatsForDesign_closure: function memoizedRecurringInvoiceStatsForDesign_closure() { }, recurringInvoiceStatsForDesign_closure: function recurringInvoiceStatsForDesign_closure(t0, t1) { this._box_0 = t0; this.designId = t1; }, memoizedRecurringInvoiceStatsForSubscription_closure: function memoizedRecurringInvoiceStatsForSubscription_closure() { }, recurringInvoiceStatsForSubscription_closure: function recurringInvoiceStatsForSubscription_closure(t0, t1) { this._box_0 = t0; this.subscriptionId = t1; }, _$RecurringInvoiceState$_(list, map) { var _s21_ = "RecurringInvoiceState"; A.BuiltValueNullFieldError_checkNotNull(map, _s21_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s21_, "list"); return new A._$RecurringInvoiceState(map, list); }, _$RecurringInvoiceUIState$_(cancelCompleter, editing, editingItemIndex, forceSelected, historyActivityId, listUIState, saveCompleter, selectedId, tabIndex) { var _s23_ = "RecurringInvoiceUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s23_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s23_, "tabIndex"); return new A._$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() { }, ViewReports: function ViewReports() { }, UpdateReportSettings: function UpdateReportSettings(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.report = t0; _.filters = t1; _.group = t2; _.selectedGroup = t3; _.chart = t4; _.subgroup = t5; _.sortColumn = t6; _.sortTotalsIndex = t7; _.customStartDate = t8; _.customEndDate = t9; }, _viewReports() { return new A._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() { }, reportsUIReducer(state, action) { var t1; if (action instanceof A.SaveAuthUserSuccess) return state.rebuild$1(new A.reportsUIReducer_closure()); else if (action instanceof A.UpdateReportSettings) { t1 = action.report; if (t1.length !== 0 && t1 !== state.report) return A.ReportsUIState_ReportsUIState().rebuild$1(new A.reportsUIReducer_closure0(action)); else return state.rebuild$1(new A.reportsUIReducer_closure1(action, state)); } else if (action instanceof A.SelectCompany) return state; return state; }, reportsUIReducer_closure: function reportsUIReducer_closure() { }, reportsUIReducer_closure0: function reportsUIReducer_closure0(t0) { this.action = t0; }, reportsUIReducer_closure1: function reportsUIReducer_closure1(t0, t1) { this.action = t0; this.state = t1; }, ReportsUIState_ReportsUIState() { var t1 = type$.String; return A._$ReportsUIState$_("", "", "", A.BuiltMap_BuiltMap(B.Map_empty1, t1, t1), "", "client", "", "day"); }, _$ReportsUIState$_(chart, customEndDate, customStartDate, filters, group, report, selectedGroup, subgroup) { var _s14_ = "ReportsUIState"; A.BuiltValueNullFieldError_checkNotNull(report, _s14_, "report"); A.BuiltValueNullFieldError_checkNotNull(group, _s14_, "group"); A.BuiltValueNullFieldError_checkNotNull(selectedGroup, _s14_, "selectedGroup"); A.BuiltValueNullFieldError_checkNotNull(chart, _s14_, "chart"); A.BuiltValueNullFieldError_checkNotNull(subgroup, _s14_, "subgroup"); A.BuiltValueNullFieldError_checkNotNull(customStartDate, _s14_, "customStartDate"); A.BuiltValueNullFieldError_checkNotNull(customEndDate, _s14_, "customEndDate"); A.BuiltValueNullFieldError_checkNotNull(filters, _s14_, "filters"); return new A._$ReportsUIState(report, group, selectedGroup, chart, subgroup, customStartDate, customEndDate, filters); }, ReportsUIState: function ReportsUIState() { }, _$ReportsUIStateSerializer: function _$ReportsUIStateSerializer() { }, _$ReportsUIState: function _$ReportsUIState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.report = t0; _.group = t1; _.selectedGroup = t2; _.chart = t3; _.subgroup = t4; _.customStartDate = t5; _.customEndDate = t6; _.filters = t7; _._reports_state$__hashCode = null; }, ReportsUIStateBuilder: function ReportsUIStateBuilder() { var _ = this; _._filters = _._customEndDate = _._customStartDate = _._subgroup = _._chart = _._selectedGroup = _._group = _._report = _._reports_state$_$v = null; }, handleScheduleAction(context, schedules, action) { var store, t1, schedule, t2, scheduleIds, _i, t3, _null = null, _s17_ = "restored_schedule", _s17_0 = "archived_schedule", _s16_ = "deleted_schedule"; if (schedules.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); schedule = type$.ScheduleEntity._as(B.JSArray_methods.get$first(schedules)); t2 = A._arrayInstanceType(schedules)._eval$1("MappedListIterable<1,String>"); scheduleIds = A.List_List$of(new A.MappedListIterable(schedules, new A.handleScheduleAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, schedule, true, _null); break; case B.EntityAction_restore: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s17_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s17_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreSchedulesRequest(t1, scheduleIds)); break; case B.EntityAction_archive: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s17_0); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s17_0); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveSchedulesRequest(t1, scheduleIds)); break; case B.EntityAction_delete: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s16_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s16_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteSchedulesRequest(t1, scheduleIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.scheduleUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartScheduleMultiselect()); } t1 = schedules.length; if (t1 === 0) break; for (_i = 0; _i < schedules.length; schedules.length === t1 || (0, A.throwConcurrentModificationError)(schedules), ++_i) { schedule = schedules[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(schedule); t2 = t2.scheduleUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToScheduleMultiselect(schedule)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromScheduleMultiselect(schedule)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([schedule], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in schedule_actions"); break; } }, ViewScheduleList: function ViewScheduleList() { }, ViewSchedule: function ViewSchedule(t0) { this.scheduleId = t0; }, EditSchedule: function EditSchedule(t0) { this.schedule = t0; }, UpdateSchedule: function UpdateSchedule(t0) { this.schedule = t0; }, LoadScheduleRequest: function LoadScheduleRequest() { }, LoadScheduleFailure: function LoadScheduleFailure(t0) { this.error = t0; }, LoadScheduleSuccess: function LoadScheduleSuccess(t0) { this.schedule = t0; }, LoadSchedulesRequest: function LoadSchedulesRequest() { }, LoadSchedulesFailure: function LoadSchedulesFailure(t0) { this.error = t0; }, LoadSchedulesSuccess: function LoadSchedulesSuccess(t0) { this.schedules = t0; }, SaveScheduleRequest: function SaveScheduleRequest(t0, t1) { this.completer = t0; this.schedule = t1; }, SaveScheduleSuccess: function SaveScheduleSuccess(t0) { this.schedule = t0; }, AddScheduleSuccess: function AddScheduleSuccess(t0) { this.schedule = t0; }, SaveScheduleFailure: function SaveScheduleFailure() { }, ArchiveSchedulesRequest: function ArchiveSchedulesRequest(t0, t1) { this.completer = t0; this.scheduleIds = t1; }, ArchiveSchedulesSuccess: function ArchiveSchedulesSuccess(t0) { this.schedules = t0; }, ArchiveSchedulesFailure: function ArchiveSchedulesFailure() { }, DeleteSchedulesRequest: function DeleteSchedulesRequest(t0, t1) { this.completer = t0; this.scheduleIds = t1; }, DeleteSchedulesSuccess: function DeleteSchedulesSuccess(t0) { this.schedules = t0; }, DeleteSchedulesFailure: function DeleteSchedulesFailure() { }, RestoreSchedulesRequest: function RestoreSchedulesRequest(t0, t1) { this.completer = t0; this.scheduleIds = t1; }, RestoreSchedulesSuccess: function RestoreSchedulesSuccess(t0) { this.schedules = t0; }, RestoreSchedulesFailure: function RestoreSchedulesFailure() { }, FilterSchedules: function FilterSchedules(t0) { this.filter = t0; }, SortSchedules: function SortSchedules(t0) { this.field = t0; }, FilterSchedulesByState: function FilterSchedulesByState(t0) { this.state = t0; }, FilterSchedulesByCustom1: function FilterSchedulesByCustom1(t0) { this.value = t0; }, FilterSchedulesByCustom2: function FilterSchedulesByCustom2(t0) { this.value = t0; }, FilterSchedulesByCustom3: function FilterSchedulesByCustom3(t0) { this.value = t0; }, FilterSchedulesByCustom4: function FilterSchedulesByCustom4(t0) { this.value = t0; }, StartScheduleMultiselect: function StartScheduleMultiselect() { }, AddToScheduleMultiselect: function AddToScheduleMultiselect(t0) { this.entity = t0; }, RemoveFromScheduleMultiselect: function RemoveFromScheduleMultiselect(t0) { this.entity = t0; }, ClearScheduleMultiselect: function ClearScheduleMultiselect() { }, handleScheduleAction_closure: function handleScheduleAction_closure() { }, _editSchedule() { return new A._editSchedule_closure(); }, _viewSchedule() { return new A._viewSchedule_closure(); }, _viewScheduleList() { return new A._viewScheduleList_closure0(); }, _archiveSchedule(repository) { return new A._archiveSchedule_closure(repository); }, _deleteSchedule(repository) { return new A._deleteSchedule_closure(repository); }, _restoreSchedule(repository) { return new A._restoreSchedule_closure(repository); }, _saveSchedule(repository) { return new A._saveSchedule_closure(repository); }, _loadSchedule(repository) { return new A._loadSchedule_closure(repository); }, _loadSchedules(repository) { return new A._loadSchedules_closure(repository); }, _editSchedule_closure: function _editSchedule_closure() { }, _viewSchedule_closure: function _viewSchedule_closure() { }, _viewScheduleList_closure0: function _viewScheduleList_closure0() { }, _viewScheduleList__closure: function _viewScheduleList__closure() { }, _archiveSchedule_closure: function _archiveSchedule_closure(t0) { this.repository = t0; }, _archiveSchedule__closure: function _archiveSchedule__closure(t0) { this.store = t0; }, _archiveSchedule__closure0: function _archiveSchedule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveSchedule__closure1: function _archiveSchedule__closure1(t0, t1, t2) { this.store = t0; this.prevSchedules = t1; this.action = t2; }, _deleteSchedule_closure: function _deleteSchedule_closure(t0) { this.repository = t0; }, _deleteSchedule__closure: function _deleteSchedule__closure(t0) { this.store = t0; }, _deleteSchedule__closure0: function _deleteSchedule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteSchedule__closure1: function _deleteSchedule__closure1(t0, t1, t2) { this.store = t0; this.prevSchedules = t1; this.action = t2; }, _restoreSchedule_closure: function _restoreSchedule_closure(t0) { this.repository = t0; }, _restoreSchedule__closure: function _restoreSchedule__closure(t0) { this.store = t0; }, _restoreSchedule__closure0: function _restoreSchedule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreSchedule__closure1: function _restoreSchedule__closure1(t0, t1, t2) { this.store = t0; this.prevSchedules = t1; this.action = t2; }, _saveSchedule_closure: function _saveSchedule_closure(t0) { this.repository = t0; }, _saveSchedule__closure: function _saveSchedule__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveSchedule__closure0: function _saveSchedule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadSchedule_closure: function _loadSchedule_closure(t0) { this.repository = t0; }, _loadSchedule__closure: function _loadSchedule__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadSchedule__closure0: function _loadSchedule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadSchedules_closure: function _loadSchedules_closure(t0) { this.repository = t0; }, _loadSchedules__closure: function _loadSchedules__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadSchedules__closure0: function _loadSchedules__closure0(t0, t1) { this.store = t0; this.action = t1; }, scheduleUIReducer(state, action) { var t1 = new A.ScheduleUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._schedule_state$_$v = state; new A.scheduleUIReducer_closure(state, action).call$1(t1); return t1._schedule_state$_build$0(); }, _clearEditing15(schedule, action) { return A.ScheduleEntity_ScheduleEntity("email_statement", null, null); }, _updateEditing16(schedule, action) { return action.get$schedule(); }, _viewScheduleList0(scheduleListState, action) { return scheduleListState.rebuild$1(new A._viewScheduleList_closure()); }, _filterSchedulesByCustom1(scheduleListState, action) { if (B.JSArray_methods.contains$1(scheduleListState.custom1Filters._list$_list, action.value)) return scheduleListState.rebuild$1(new A._filterSchedulesByCustom1_closure(action)); else return scheduleListState.rebuild$1(new A._filterSchedulesByCustom1_closure0(action)); }, _filterSchedulesByCustom2(scheduleListState, action) { if (B.JSArray_methods.contains$1(scheduleListState.custom2Filters._list$_list, action.value)) return scheduleListState.rebuild$1(new A._filterSchedulesByCustom2_closure(action)); else return scheduleListState.rebuild$1(new A._filterSchedulesByCustom2_closure0(action)); }, _filterSchedulesByState(scheduleListState, action) { if (B.JSArray_methods.contains$1(scheduleListState.stateFilters._list$_list, action.state)) return scheduleListState.rebuild$1(new A._filterSchedulesByState_closure(action)); else return scheduleListState.rebuild$1(new A._filterSchedulesByState_closure0(action)); }, _filterSchedules(scheduleListState, action) { return scheduleListState.rebuild$1(new A._filterSchedules_closure(action, scheduleListState)); }, _sortSchedules(scheduleListState, action) { return scheduleListState.rebuild$1(new A._sortSchedules_closure(action)); }, _startListMultiselect17(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure24()); }, _addToListMultiselect17(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure24(action)); }, _removeFromListMultiselect17(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure24(action)); }, _clearListMultiselect17(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure24()); }, _archiveScheduleSuccess(scheduleState, action) { return scheduleState.rebuild$1(new A._archiveScheduleSuccess_closure(action)); }, _deleteScheduleSuccess(scheduleState, action) { return scheduleState.rebuild$1(new A._deleteScheduleSuccess_closure(action)); }, _restoreScheduleSuccess(scheduleState, action) { return scheduleState.rebuild$1(new A._restoreScheduleSuccess_closure(action)); }, _addSchedule(scheduleState, action) { return scheduleState.rebuild$1(new A._addSchedule_closure(action)); }, _updateSchedule(scheduleState, action) { return scheduleState.rebuild$1(new A._updateSchedule_closure(action)); }, _setLoadedSchedule(scheduleState, action) { return scheduleState.rebuild$1(new A._setLoadedSchedule_closure(action)); }, _setLoadedSchedules(scheduleState, action) { return scheduleState.loadSchedules$1(action.schedules); }, _setLoadedCompany17(scheduleState, action) { return scheduleState.loadSchedules$1(action.userCompany.company.schedules); }, scheduleUIReducer_closure: function scheduleUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure201: function forceSelectedReducer_closure201() { }, forceSelectedReducer_closure202: function forceSelectedReducer_closure202() { }, forceSelectedReducer_closure203: function forceSelectedReducer_closure203() { }, forceSelectedReducer_closure204: function forceSelectedReducer_closure204() { }, forceSelectedReducer_closure205: function forceSelectedReducer_closure205() { }, forceSelectedReducer_closure206: function forceSelectedReducer_closure206() { }, forceSelectedReducer_closure207: function forceSelectedReducer_closure207() { }, forceSelectedReducer_closure208: function forceSelectedReducer_closure208() { }, tabIndexReducer_closure27: function tabIndexReducer_closure27() { }, tabIndexReducer_closure28: function tabIndexReducer_closure28() { }, selectedIdReducer_closure384: function selectedIdReducer_closure384() { }, selectedIdReducer_closure385: function selectedIdReducer_closure385() { }, selectedIdReducer_closure386: function selectedIdReducer_closure386() { }, selectedIdReducer_closure387: function selectedIdReducer_closure387() { }, selectedIdReducer_closure388: function selectedIdReducer_closure388() { }, selectedIdReducer_closure389: function selectedIdReducer_closure389() { }, selectedIdReducer_closure390: function selectedIdReducer_closure390() { }, selectedIdReducer_closure391: function selectedIdReducer_closure391() { }, selectedIdReducer_closure392: function selectedIdReducer_closure392() { }, selectedIdReducer_closure393: function selectedIdReducer_closure393() { }, selectedIdReducer_closure394: function selectedIdReducer_closure394() { }, selectedIdReducer_closure395: function selectedIdReducer_closure395() { }, selectedIdReducer_closure396: function selectedIdReducer_closure396() { }, selectedIdReducer_closure397: function selectedIdReducer_closure397() { }, selectedIdReducer_closure398: function selectedIdReducer_closure398() { }, editingReducer_closure126: function editingReducer_closure126() { }, editingReducer_closure127: function editingReducer_closure127() { }, editingReducer_closure128: function editingReducer_closure128() { }, editingReducer_closure129: function editingReducer_closure129() { }, editingReducer__closure48: function editingReducer__closure48() { }, scheduleListReducer_closure: function scheduleListReducer_closure() { }, scheduleListReducer__closure: function scheduleListReducer__closure() { }, _viewScheduleList_closure: function _viewScheduleList_closure() { }, _filterSchedulesByCustom1_closure: function _filterSchedulesByCustom1_closure(t0) { this.action = t0; }, _filterSchedulesByCustom1_closure0: function _filterSchedulesByCustom1_closure0(t0) { this.action = t0; }, _filterSchedulesByCustom2_closure: function _filterSchedulesByCustom2_closure(t0) { this.action = t0; }, _filterSchedulesByCustom2_closure0: function _filterSchedulesByCustom2_closure0(t0) { this.action = t0; }, _filterSchedulesByState_closure: function _filterSchedulesByState_closure(t0) { this.action = t0; }, _filterSchedulesByState_closure0: function _filterSchedulesByState_closure0(t0) { this.action = t0; }, _filterSchedules_closure: function _filterSchedules_closure(t0, t1) { this.action = t0; this.scheduleListState = t1; }, _sortSchedules_closure: function _sortSchedules_closure(t0) { this.action = t0; }, _startListMultiselect_closure24: function _startListMultiselect_closure24() { }, _addToListMultiselect_closure24: function _addToListMultiselect_closure24(t0) { this.action = t0; }, _removeFromListMultiselect_closure24: function _removeFromListMultiselect_closure24(t0) { this.action = t0; }, _clearListMultiselect_closure24: function _clearListMultiselect_closure24() { }, _archiveScheduleSuccess_closure: function _archiveScheduleSuccess_closure(t0) { this.action = t0; }, _deleteScheduleSuccess_closure: function _deleteScheduleSuccess_closure(t0) { this.action = t0; }, _restoreScheduleSuccess_closure: function _restoreScheduleSuccess_closure(t0) { this.action = t0; }, _addSchedule_closure: function _addSchedule_closure(t0) { this.action = t0; }, _updateSchedule_closure: function _updateSchedule_closure(t0) { this.action = t0; }, _setLoadedSchedule_closure: function _setLoadedSchedule_closure(t0) { this.action = t0; }, filteredSchedulesSelector(selectionState, scheduleMap, scheduleList, scheduleListState) { var t1 = scheduleList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredSchedulesSelector_closure(scheduleMap, selectionState.filterEntityId, scheduleListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredSchedulesSelector_closure0(scheduleMap, scheduleListState)); return list; }, memoizedFilteredScheduleList_closure: function memoizedFilteredScheduleList_closure() { }, filteredSchedulesSelector_closure: function filteredSchedulesSelector_closure(t0, t1, t2) { this.scheduleMap = t0; this.filterEntityId = t1; this.scheduleListState = t2; }, filteredSchedulesSelector_closure0: function filteredSchedulesSelector_closure0(t0, t1) { this.scheduleMap = t0; this.scheduleListState = t1; }, _$ScheduleState$_(list, map) { var _s13_ = "ScheduleState"; A.BuiltValueNullFieldError_checkNotNull(map, _s13_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s13_, "list"); return new A._$ScheduleState(map, list); }, _$ScheduleUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s15_ = "ScheduleUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s15_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s15_, "tabIndex"); return new A._$ScheduleUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, ScheduleState: function ScheduleState() { }, ScheduleState_loadSchedules_closure0: function ScheduleState_loadSchedules_closure0() { }, ScheduleState_loadSchedules_closure1: function ScheduleState_loadSchedules_closure1() { }, ScheduleState_loadSchedules_closure: function ScheduleState_loadSchedules_closure(t0, t1) { this.$this = t0; this.map = t1; }, ScheduleUIState: function ScheduleUIState() { }, _$ScheduleStateSerializer: function _$ScheduleStateSerializer() { }, _$ScheduleUIStateSerializer: function _$ScheduleUIStateSerializer() { }, _$ScheduleState: function _$ScheduleState(t0, t1) { this.map = t0; this.list = t1; this._schedule_state$__hashCode = null; }, ScheduleStateBuilder: function ScheduleStateBuilder() { this._schedule_state$_list = this._schedule_state$_map = this._schedule_state$_$v = null; }, _$ScheduleUIState: function _$ScheduleUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._schedule_state$__hashCode = null; }, ScheduleUIStateBuilder: function ScheduleUIStateBuilder() { var _ = this; _._schedule_state$_cancelCompleter = _._schedule_state$_saveCompleter = _._schedule_state$_tabIndex = _._schedule_state$_forceSelected = _._schedule_state$_selectedId = _._schedule_state$_listUIState = _._schedule_state$_editing = _._schedule_state$_$v = null; }, _ScheduleUIState_Object_EntityUIState: function _ScheduleUIState_Object_EntityUIState() { }, ViewSettings: function ViewSettings(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.company = t0; _.group = t1; _.client = t2; _.user = t3; _.force = t4; _.section = t5; _.clearFilter = t6; _.tabIndex = t7; }, ClearSettingsFilter: function ClearSettingsFilter() { }, ResetSettings: function ResetSettings() { }, UpdateSettings: function UpdateSettings(t0) { this.settings = t0; }, UpdateSettingsTab: function UpdateSettingsTab(t0) { this.tabIndex = t0; }, UpdatedSetting: function UpdatedSetting() { }, UpdatedSettingUI: function UpdatedSettingUI() { }, UpdateSettingsTemplate: function UpdateSettingsTemplate(t0) { this.selectedTemplate = t0; }, UpdateUserSettings: function UpdateUserSettings(t0) { this.user = t0; }, UploadLogoRequest: function UploadLogoRequest(t0, t1, t2) { this.completer = t0; this.multipartFile = t1; this.type = t2; }, UploadLogoFailure: function UploadLogoFailure() { }, SaveUserSettingsRequest: function SaveUserSettingsRequest(t0, t1) { this.completer = t0; this.user = t1; }, SaveUserSettingsSuccess: function SaveUserSettingsSuccess(t0) { this.userCompany = t0; }, SaveUserSettingsFailure: function SaveUserSettingsFailure() { }, SaveAuthUserRequest: function SaveAuthUserRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.user = t1; _.password = t2; _.idToken = t3; }, SaveAuthUserSuccess: function SaveAuthUserSuccess(t0) { this.user = t0; }, SaveAuthUserFailure: function SaveAuthUserFailure() { }, ConnecOAuthUserRequest: function ConnecOAuthUserRequest(t0, t1, t2, t3, t4) { var _ = this; _.completer = t0; _.provider = t1; _.password = t2; _.idToken = t3; _.accessToken = t4; }, ConnectOAuthUserSuccess: function ConnectOAuthUserSuccess(t0) { this.user = t0; }, ConnecOAuthUserFailure: function ConnecOAuthUserFailure() { }, DisconnecOAuthUserRequest: function DisconnecOAuthUserRequest(t0, t1, t2, t3) { var _ = this; _.user = t0; _.completer = t1; _.password = t2; _.idToken = t3; }, DisconnectOAuthUserSuccess: function DisconnectOAuthUserSuccess(t0) { this.user = t0; }, DisconnecOAuthUserFailure: function DisconnecOAuthUserFailure() { }, DisconnectOAuthMailerRequest: function DisconnectOAuthMailerRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.password = t1; _.idToken = t2; _.user = t3; }, DisconnectOAuthMailerSuccess: function DisconnectOAuthMailerSuccess(t0) { this.user = t0; }, DisconnectOAuthMailerFailure: function DisconnectOAuthMailerFailure() { }, DisableTwoFactorRequest: function DisableTwoFactorRequest(t0, t1, t2) { this.completer = t0; this.password = t1; this.idToken = t2; }, DisableTwoFactorSuccess: function DisableTwoFactorSuccess() { }, DisableTwoFactorFailure: function DisableTwoFactorFailure() { }, ConnecGmailUserSuccess: function ConnecGmailUserSuccess(t0) { this.user = t0; }, ConnecGmailUserFailure: function ConnecGmailUserFailure() { }, FilterSettings: function FilterSettings(t0) { this.filter = t0; }, ToggleShowNewSettings: function ToggleShowNewSettings() { }, ToggleShowPdfPreview: function ToggleShowPdfPreview() { }, _viewSettings() { return new A._viewSettings_closure(); }, _saveCompany(settingsRepository) { return new A._saveCompany_closure(settingsRepository); }, _saveEInvoiceCertificate(settingsRepository) { return new A._saveEInvoiceCertificate_closure(settingsRepository); }, _saveAuthUser(settingsRepository) { return new A._saveAuthUser_closure(settingsRepository); }, _connectOAuthUser(settingsRepository) { return new A._connectOAuthUser_closure0(settingsRepository); }, _disconnectOAuthUser(settingsRepository) { return new A._disconnectOAuthUser_closure0(settingsRepository); }, _disconnectOAuthMailer(settingsRepository) { return new A._disconnectOAuthMailer_closure0(settingsRepository); }, _connectGmailUser(settingsRepository) { return new A._connectGmailUser_closure0(settingsRepository); }, _disableTwoFactor(settingsRepository) { return new A._disableTwoFactor_closure(settingsRepository); }, _saveSettings(settingsRepository) { return new A._saveSettings_closure(settingsRepository); }, _uploadLogo(settingsRepository) { return new A._uploadLogo_closure(settingsRepository); }, _saveDocument9(repository) { return new A._saveDocument_closure4(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; }, _saveEInvoiceCertificate_closure: function _saveEInvoiceCertificate_closure(t0) { this.settingsRepository = t0; }, _saveEInvoiceCertificate__closure: function _saveEInvoiceCertificate__closure(t0, t1) { this.store = t0; this.action = t1; }, _saveEInvoiceCertificate__closure0: function _saveEInvoiceCertificate__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; }, _disconnectOAuthUser_closure0: function _disconnectOAuthUser_closure0(t0) { this.settingsRepository = t0; }, _disconnectOAuthUser__closure: function _disconnectOAuthUser__closure(t0, t1) { this.store = t0; this.action = t1; }, _disconnectOAuthUser__closure0: function _disconnectOAuthUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _disconnectOAuthMailer_closure0: function _disconnectOAuthMailer_closure0(t0) { this.settingsRepository = t0; }, _disconnectOAuthMailer__closure: function _disconnectOAuthMailer__closure(t0, t1) { this.store = t0; this.action = t1; }, _disconnectOAuthMailer__closure0: function _disconnectOAuthMailer__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_closure4: function _saveDocument_closure4(t0) { this.repository = t0; }, _saveDocument__closure9: function _saveDocument__closure9(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure4: function _saveDocument___closure4(t0, t1) { this.documents = t0; this.company = t1; }, _saveDocument____closure4: function _saveDocument____closure4(t0) { this.company = t0; }, _saveDocument__closure10: function _saveDocument__closure10(t0, t1) { this.store = t0; this.action = t1; }, settingsUIReducer_closure: function settingsUIReducer_closure() { }, settingsUIReducer__closure20: function settingsUIReducer__closure20(t0, t1) { this.action = t0; this.state = t1; }, settingsUIReducer_closure0: function settingsUIReducer_closure0() { }, settingsUIReducer__closure19: function settingsUIReducer__closure19(t0) { this.action = t0; }, settingsUIReducer_closure1: function settingsUIReducer_closure1() { }, settingsUIReducer__closure16: function settingsUIReducer__closure16(t0) { this.action = t0; }, settingsUIReducer__closure17: function settingsUIReducer__closure17(t0) { this.action = t0; }, settingsUIReducer__closure18: function settingsUIReducer__closure18(t0) { this.action = t0; }, settingsUIReducer_closure2: function settingsUIReducer_closure2() { }, settingsUIReducer__closure15: function settingsUIReducer__closure15(t0) { this.action = t0; }, settingsUIReducer_closure3: function settingsUIReducer_closure3() { }, settingsUIReducer__closure14: function settingsUIReducer__closure14(t0) { this.state = t0; }, settingsUIReducer_closure4: function settingsUIReducer_closure4() { }, settingsUIReducer__closure13: function settingsUIReducer__closure13(t0) { this.action = t0; }, settingsUIReducer_closure5: function settingsUIReducer_closure5() { }, settingsUIReducer__closure12: function settingsUIReducer__closure12() { }, settingsUIReducer_closure6: function settingsUIReducer_closure6() { }, settingsUIReducer__closure11: function settingsUIReducer__closure11(t0) { this.action = t0; }, settingsUIReducer_closure7: function settingsUIReducer_closure7() { }, settingsUIReducer__closure10: function settingsUIReducer__closure10(t0) { this.action = t0; }, settingsUIReducer_closure8: function settingsUIReducer_closure8() { }, settingsUIReducer__closure9: function settingsUIReducer__closure9(t0) { this.action = t0; }, settingsUIReducer_closure9: function settingsUIReducer_closure9() { }, settingsUIReducer__closure8: function settingsUIReducer__closure8(t0) { this.action = t0; }, settingsUIReducer_closure10: function settingsUIReducer_closure10() { }, settingsUIReducer__closure7: function settingsUIReducer__closure7(t0) { this.action = t0; }, settingsUIReducer_closure11: function settingsUIReducer_closure11() { }, settingsUIReducer__closure6: function settingsUIReducer__closure6(t0) { this.action = t0; }, settingsUIReducer_closure12: function settingsUIReducer_closure12() { }, settingsUIReducer__closure5: function settingsUIReducer__closure5(t0, t1) { this.action = t0; this.state = t1; }, settingsUIReducer_closure13: function settingsUIReducer_closure13() { }, settingsUIReducer__closure4: function settingsUIReducer__closure4(t0) { this.state = t0; }, settingsUIReducer_closure14: function settingsUIReducer_closure14() { }, settingsUIReducer__closure3: function settingsUIReducer__closure3(t0) { this.action = t0; }, settingsUIReducer_closure15: function settingsUIReducer_closure15() { }, settingsUIReducer__closure2: function settingsUIReducer__closure2(t0) { this.action = t0; }, settingsUIReducer_closure16: function settingsUIReducer_closure16() { }, settingsUIReducer__closure1: function settingsUIReducer__closure1() { }, settingsUIReducer_closure17: function settingsUIReducer_closure17() { }, settingsUIReducer__closure0: function settingsUIReducer__closure0(t0) { this.state = t0; }, settingsUIReducer_closure18: function settingsUIReducer_closure18() { }, settingsUIReducer__closure: function settingsUIReducer__closure(t0) { this.state = t0; }, SettingsUIState__initializeBuilder(builder) { builder.get$_settings_state$_$this()._selectedTemplate = B.EmailTemplate_invoice; builder.get$_settings_state$_$this()._showNewSettings = false; builder.get$_settings_state$_$this()._settings_state$_showPdfPreview = false; return builder; }, _$SettingsUIState$_(client, company, entityType, filter, filterClearedAt, group, isChanged, origClient, origCompany, origGroup, origUser, section, selectedTemplate, showNewSettings, showPdfPreview, tabIndex, updatedAt, user) { var _s15_ = "SettingsUIState"; A.BuiltValueNullFieldError_checkNotNull(company, _s15_, "company"); A.BuiltValueNullFieldError_checkNotNull(origCompany, _s15_, "origCompany"); A.BuiltValueNullFieldError_checkNotNull(client, _s15_, "client"); A.BuiltValueNullFieldError_checkNotNull(origClient, _s15_, "origClient"); A.BuiltValueNullFieldError_checkNotNull(group, _s15_, "group"); A.BuiltValueNullFieldError_checkNotNull(origGroup, _s15_, "origGroup"); A.BuiltValueNullFieldError_checkNotNull(user, _s15_, "user"); A.BuiltValueNullFieldError_checkNotNull(origUser, _s15_, "origUser"); A.BuiltValueNullFieldError_checkNotNull(entityType, _s15_, "entityType"); A.BuiltValueNullFieldError_checkNotNull(isChanged, _s15_, "isChanged"); A.BuiltValueNullFieldError_checkNotNull(updatedAt, _s15_, "updatedAt"); A.BuiltValueNullFieldError_checkNotNull(section, _s15_, "section"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s15_, "tabIndex"); A.BuiltValueNullFieldError_checkNotNull(selectedTemplate, _s15_, "selectedTemplate"); A.BuiltValueNullFieldError_checkNotNull(filterClearedAt, _s15_, "filterClearedAt"); A.BuiltValueNullFieldError_checkNotNull(showNewSettings, _s15_, "showNewSettings"); A.BuiltValueNullFieldError_checkNotNull(showPdfPreview, _s15_, "showPdfPreview"); return new A._$SettingsUIState(company, origCompany, client, origClient, group, origGroup, user, origUser, entityType, isChanged, updatedAt, section, tabIndex, selectedTemplate, filter, filterClearedAt, showNewSettings, showPdfPreview); }, SettingsUIState: function SettingsUIState() { }, _$SettingsUIStateSerializer: function _$SettingsUIStateSerializer() { }, _$SettingsUIState: function _$SettingsUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.company = t0; _.origCompany = t1; _.client = t2; _.origClient = t3; _.group = t4; _.origGroup = t5; _.user = t6; _.origUser = t7; _.entityType = t8; _.isChanged = t9; _.updatedAt = t10; _.section = t11; _.tabIndex = t12; _.selectedTemplate = t13; _.filter = t14; _.filterClearedAt = t15; _.showNewSettings = t16; _.showPdfPreview = t17; _._settings_state$__hashCode = null; }, SettingsUIStateBuilder: function SettingsUIStateBuilder() { var _ = this; _._settings_state$_showPdfPreview = _._showNewSettings = _._settings_state$_filterClearedAt = _._settings_state$_filter = _._selectedTemplate = _._tabIndex = _._section = _._updatedAt = _._isChanged = _._settings_state$_entityType = _._origUser = _._user = _._origGroup = _._settings_state$_group = _._origClient = _._client = _._origCompany = _._company = _._settings_state$_$v = null; }, staticLoadedReducer(staticState, action) { var t1 = A.StaticState_StaticState(), t2 = new A.StaticStateBuilder(); A.StaticState__initializeBuilder(t2); A.ArgumentError_checkNotNull(t1, "other"); t2._static_state$_$v = t1; new A.staticLoadedReducer_closure(action.data).call$1(t2); return t2._static_state$_build$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() { }, countryList(countryMap) { var t1 = countryMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.countryList_closure(countryMap)); return list; }, countryIso2Map(countryMap) { var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.CountryEntity); countryMap.get$keys(0).forEach$1(0, new A.countryIso2Map_closure(countryMap, map)); return map; }, groupList(groupMap) { var t1 = groupMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.groupList_closure(groupMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.groupList_closure0(groupMap)); return list; }, languageList(languageMap) { var t1 = languageMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.languageList_closure(languageMap)); return list; }, currencyList(currencyMap) { var t1 = currencyMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.currencyList_closure(currencyMap)); return list; }, timezoneList(timezoneMap) { var t1 = timezoneMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.timezoneList_closure(timezoneMap)); return list; }, dateFormatList(dateFormatMap) { var t1 = dateFormatMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dateFormatList_closure(dateFormatMap)); return list; }, industryList(industryMap) { var t1 = industryMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.industryList_closure(industryMap)); return list; }, sizeList(sizeMap) { var t1 = sizeMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.sizeList_closure(sizeMap)); return list; }, gatewayList(gatewayMap, isHosted) { var t1 = gatewayMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.gatewayList_closure(gatewayMap, isHosted), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.gatewayList_closure0(gatewayMap)); return list; }, paymentTypeList(paymentTypeMap) { var t1 = paymentTypeMap.get$keys(0), list = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.paymentTypeList_closure(paymentTypeMap)); return list; }, fontMap(fonts) { var t1 = type$.SelectableEntity; return A.BuiltMap_BuiltMap$from(A.LinkedHashMap_LinkedHashMap$fromIterable(fonts, new A.fontMap_closure(), new A.fontMap_closure0(), type$.nullable_String, t1), type$.String, t1); }, memoizedCountryList_closure: function memoizedCountryList_closure() { }, countryList_closure: function countryList_closure(t0) { this.countryMap = t0; }, memoizedCountryIso2Map_closure: function memoizedCountryIso2Map_closure() { }, countryIso2Map_closure: function countryIso2Map_closure(t0, t1) { this.countryMap = t0; this.map = t1; }, memoizedGroupList_closure: function memoizedGroupList_closure() { }, groupList_closure: function groupList_closure(t0) { this.groupMap = t0; }, groupList_closure0: function groupList_closure0(t0) { this.groupMap = t0; }, memoizedLanguageList_closure: function memoizedLanguageList_closure() { }, languageList_closure: function languageList_closure(t0) { this.languageMap = t0; }, memoizedCurrencyList_closure: function memoizedCurrencyList_closure() { }, currencyList_closure: function currencyList_closure(t0) { this.currencyMap = t0; }, memoizedTimezoneList_closure: function memoizedTimezoneList_closure() { }, timezoneList_closure: function timezoneList_closure(t0) { this.timezoneMap = t0; }, memoizedDateFormatList_closure: function memoizedDateFormatList_closure() { }, dateFormatList_closure: function dateFormatList_closure(t0) { this.dateFormatMap = t0; }, memoizedIndustryList_closure: function memoizedIndustryList_closure() { }, industryList_closure: function industryList_closure(t0) { this.industryMap = t0; }, memoizedSizeList_closure: function memoizedSizeList_closure() { }, sizeList_closure: function sizeList_closure(t0) { this.sizeMap = t0; }, memoizedGatewayList_closure: function memoizedGatewayList_closure() { }, gatewayList_closure: function gatewayList_closure(t0, t1) { this.gatewayMap = t0; this.isHosted = t1; }, gatewayList_closure0: function gatewayList_closure0(t0) { this.gatewayMap = t0; }, memoizedPaymentTypeList_closure: function memoizedPaymentTypeList_closure() { }, paymentTypeList_closure: function paymentTypeList_closure(t0) { this.paymentTypeMap = t0; }, memoizedFontMap_closure: function memoizedFontMap_closure() { }, fontMap_closure: function fontMap_closure() { }, fontMap_closure0: function fontMap_closure0() { }, StaticState_StaticState() { var t1 = type$.String, t2 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.CurrencyEntity), t3 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.SizeEntity), t4 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.GatewayEntity), t5 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.IndustryEntity), t6 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.TimezoneEntity), t7 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.DateFormatEntity), t8 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.LanguageEntity), t9 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.PaymentTypeEntity), t10 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.CountryEntity), t11 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.TemplateEntity); return A._$StaticState$_(A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.BuiltList_String), t10, t2, t7, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.EInvoiceFieldEntity), t4, t5, t8, t9, t3, t11, t6, null); }, StaticState__initializeBuilder(builder) { var t1 = type$.String; builder.get$bulkUpdates().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.List_String)); builder.get$eInvoiceSchema().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.EInvoiceFieldEntity)); return builder; }, _$StaticState$_(bulkUpdates, countryMap, currencyMap, dateFormatMap, eInvoiceSchema, gatewayMap, industryMap, languageMap, paymentTypeMap, sizeMap, templateMap, timezoneMap, updatedAt) { var _s11_ = "StaticState"; A.BuiltValueNullFieldError_checkNotNull(currencyMap, _s11_, "currencyMap"); A.BuiltValueNullFieldError_checkNotNull(sizeMap, _s11_, "sizeMap"); A.BuiltValueNullFieldError_checkNotNull(gatewayMap, _s11_, "gatewayMap"); A.BuiltValueNullFieldError_checkNotNull(industryMap, _s11_, "industryMap"); A.BuiltValueNullFieldError_checkNotNull(timezoneMap, _s11_, "timezoneMap"); A.BuiltValueNullFieldError_checkNotNull(dateFormatMap, _s11_, "dateFormatMap"); A.BuiltValueNullFieldError_checkNotNull(languageMap, _s11_, "languageMap"); A.BuiltValueNullFieldError_checkNotNull(paymentTypeMap, _s11_, "paymentTypeMap"); A.BuiltValueNullFieldError_checkNotNull(countryMap, _s11_, "countryMap"); A.BuiltValueNullFieldError_checkNotNull(templateMap, _s11_, "templateMap"); A.BuiltValueNullFieldError_checkNotNull(bulkUpdates, _s11_, "bulkUpdates"); A.BuiltValueNullFieldError_checkNotNull(eInvoiceSchema, _s11_, "eInvoiceSchema"); return new A._$StaticState(updatedAt, currencyMap, sizeMap, gatewayMap, industryMap, timezoneMap, dateFormatMap, languageMap, paymentTypeMap, countryMap, templateMap, bulkUpdates, eInvoiceSchema); }, StaticState: function StaticState() { }, _$StaticStateSerializer: function _$StaticStateSerializer() { }, _$StaticState: function _$StaticState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.updatedAt = t0; _.currencyMap = t1; _.sizeMap = t2; _.gatewayMap = t3; _.industryMap = t4; _.timezoneMap = t5; _.dateFormatMap = t6; _.languageMap = t7; _.paymentTypeMap = t8; _.countryMap = t9; _.templateMap = t10; _.bulkUpdates = t11; _.eInvoiceSchema = t12; _._static_state$__hashCode = null; }, StaticStateBuilder: function StaticStateBuilder() { var _ = this; _._eInvoiceSchema = _._bulkUpdates = _._templateMap = _._countryMap = _._paymentTypeMap = _._languageMap = _._dateFormatMap = _._timezoneMap = _._industryMap = _._gatewayMap = _._sizeMap = _._currencyMap = _._static_state$_updatedAt = _._static_state$_$v = null; }, handleSubscriptionAction(context, subscriptions, action) { var store, t1, subscription, t2, subscriptionIds, _i, t3, _null = null, _s21_ = "restored_payment_link", _s21_0 = "archived_payment_link", _s20_ = "deleted_payment_link"; if (subscriptions.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); subscription = type$.SubscriptionEntity._as(B.JSArray_methods.get$first(subscriptions)); t2 = A._arrayInstanceType(subscriptions)._eval$1("MappedListIterable<1,String>"); subscriptionIds = A.List_List$of(new A.MappedListIterable(subscriptions, new A.handleSubscriptionAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, subscription, true, _null); break; case B.EntityAction_restore: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s21_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s21_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreSubscriptionsRequest(t1, subscriptionIds)); break; case B.EntityAction_archive: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s21_0); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s21_0); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveSubscriptionsRequest(t1, subscriptionIds)); break; case B.EntityAction_delete: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s20_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s20_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteSubscriptionsRequest(t1, subscriptionIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.subscriptionUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartSubscriptionMultiselect()); } t1 = subscriptions.length; if (t1 === 0) break; for (_i = 0; _i < subscriptions.length; subscriptions.length === t1 || (0, A.throwConcurrentModificationError)(subscriptions), ++_i) { subscription = subscriptions[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(subscription); t2 = t2.subscriptionUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToSubscriptionMultiselect(subscription)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromSubscriptionMultiselect(subscription)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([subscription], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in subscription_actions"); break; } }, ViewSubscriptionList: function ViewSubscriptionList() { }, ViewSubscription: function ViewSubscription(t0) { this.subscriptionId = t0; }, EditSubscription: function EditSubscription(t0) { this.subscription = t0; }, UpdateSubscription: function UpdateSubscription(t0) { this.subscription = t0; }, LoadSubscriptionRequest: function LoadSubscriptionRequest() { }, LoadSubscriptionFailure: function LoadSubscriptionFailure(t0) { this.error = t0; }, LoadSubscriptionSuccess: function LoadSubscriptionSuccess(t0) { this.subscription = t0; }, LoadSubscriptionsRequest: function LoadSubscriptionsRequest() { }, LoadSubscriptionsFailure: function LoadSubscriptionsFailure(t0) { this.error = t0; }, LoadSubscriptionsSuccess: function LoadSubscriptionsSuccess(t0) { this.subscriptions = t0; }, SaveSubscriptionRequest: function SaveSubscriptionRequest(t0, t1) { this.completer = t0; this.subscription = t1; }, SaveSubscriptionSuccess: function SaveSubscriptionSuccess(t0) { this.subscription = t0; }, AddSubscriptionSuccess: function AddSubscriptionSuccess(t0) { this.subscription = t0; }, SaveSubscriptionFailure: function SaveSubscriptionFailure() { }, ArchiveSubscriptionsRequest: function ArchiveSubscriptionsRequest(t0, t1) { this.completer = t0; this.subscriptionIds = t1; }, ArchiveSubscriptionsSuccess: function ArchiveSubscriptionsSuccess(t0) { this.subscriptions = t0; }, ArchiveSubscriptionsFailure: function ArchiveSubscriptionsFailure() { }, DeleteSubscriptionsRequest: function DeleteSubscriptionsRequest(t0, t1) { this.completer = t0; this.subscriptionIds = t1; }, DeleteSubscriptionsSuccess: function DeleteSubscriptionsSuccess(t0) { this.subscriptions = t0; }, DeleteSubscriptionsFailure: function DeleteSubscriptionsFailure() { }, RestoreSubscriptionsRequest: function RestoreSubscriptionsRequest(t0, t1) { this.completer = t0; this.subscriptionIds = t1; }, RestoreSubscriptionsSuccess: function RestoreSubscriptionsSuccess(t0) { this.subscriptions = t0; }, RestoreSubscriptionsFailure: function RestoreSubscriptionsFailure() { }, FilterSubscriptions: function FilterSubscriptions(t0) { this.filter = t0; }, SortSubscriptions: function SortSubscriptions(t0) { this.field = t0; }, FilterSubscriptionsByState: function FilterSubscriptionsByState(t0) { this.state = t0; }, FilterSubscriptionsByCustom1: function FilterSubscriptionsByCustom1(t0) { this.value = t0; }, FilterSubscriptionsByCustom2: function FilterSubscriptionsByCustom2(t0) { this.value = t0; }, FilterSubscriptionsByCustom3: function FilterSubscriptionsByCustom3(t0) { this.value = t0; }, FilterSubscriptionsByCustom4: function FilterSubscriptionsByCustom4(t0) { this.value = t0; }, StartSubscriptionMultiselect: function StartSubscriptionMultiselect() { }, AddToSubscriptionMultiselect: function AddToSubscriptionMultiselect(t0) { this.entity = t0; }, RemoveFromSubscriptionMultiselect: function RemoveFromSubscriptionMultiselect(t0) { this.entity = t0; }, ClearSubscriptionMultiselect: function ClearSubscriptionMultiselect() { }, handleSubscriptionAction_closure: function handleSubscriptionAction_closure() { }, _editSubscription() { return new A._editSubscription_closure(); }, _viewSubscription() { return new A._viewSubscription_closure(); }, _viewSubscriptionList() { return new A._viewSubscriptionList_closure(); }, _archiveSubscription(repository) { return new A._archiveSubscription_closure(repository); }, _deleteSubscription(repository) { return new A._deleteSubscription_closure(repository); }, _restoreSubscription(repository) { return new A._restoreSubscription_closure(repository); }, _saveSubscription(repository) { return new A._saveSubscription_closure(repository); }, _loadSubscription(repository) { return new A._loadSubscription_closure(repository); }, _loadSubscriptions(repository) { return new A._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; }, subscriptionUIReducer(state, action) { var t1 = new A.SubscriptionUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._subscription_state$_$v = state; new A.subscriptionUIReducer_closure(state, action).call$1(t1); return t1._subscription_state$_build$0(); }, _clearEditing16(subscription, action) { return A.SubscriptionEntity_SubscriptionEntity(null, null); }, _updateEditing17(subscription, action) { return action.get$subscription(); }, _filterSubscriptionsByCustom1(subscriptionListState, action) { if (B.JSArray_methods.contains$1(subscriptionListState.custom1Filters._list$_list, action.value)) return subscriptionListState.rebuild$1(new A._filterSubscriptionsByCustom1_closure(action)); else return subscriptionListState.rebuild$1(new A._filterSubscriptionsByCustom1_closure0(action)); }, _filterSubscriptionsByCustom2(subscriptionListState, action) { if (B.JSArray_methods.contains$1(subscriptionListState.custom2Filters._list$_list, action.value)) return subscriptionListState.rebuild$1(new A._filterSubscriptionsByCustom2_closure(action)); else return subscriptionListState.rebuild$1(new A._filterSubscriptionsByCustom2_closure0(action)); }, _filterSubscriptionsByState(subscriptionListState, action) { if (B.JSArray_methods.contains$1(subscriptionListState.stateFilters._list$_list, action.state)) return subscriptionListState.rebuild$1(new A._filterSubscriptionsByState_closure(action)); else return subscriptionListState.rebuild$1(new A._filterSubscriptionsByState_closure0(action)); }, _filterSubscriptions(subscriptionListState, action) { return subscriptionListState.rebuild$1(new A._filterSubscriptions_closure(action, subscriptionListState)); }, _sortSubscriptions(subscriptionListState, action) { return subscriptionListState.rebuild$1(new A._sortSubscriptions_closure(action)); }, _startListMultiselect18(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure18()); }, _addToListMultiselect18(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure18(action)); }, _removeFromListMultiselect18(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure18(action)); }, _clearListMultiselect18(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure18()); }, _archiveSubscriptionSuccess(subscriptionState, action) { return subscriptionState.rebuild$1(new A._archiveSubscriptionSuccess_closure(action)); }, _deleteSubscriptionSuccess(subscriptionState, action) { return subscriptionState.rebuild$1(new A._deleteSubscriptionSuccess_closure(action)); }, _restoreSubscriptionSuccess(subscriptionState, action) { return subscriptionState.rebuild$1(new A._restoreSubscriptionSuccess_closure(action)); }, _addSubscription(subscriptionState, action) { return subscriptionState.rebuild$1(new A._addSubscription_closure(action)); }, _updateSubscription(subscriptionState, action) { return subscriptionState.rebuild$1(new A._updateSubscription_closure(action)); }, _setLoadedSubscription(subscriptionState, action) { return subscriptionState.rebuild$1(new A._setLoadedSubscription_closure(action)); }, _setLoadedSubscriptions(subscriptionState, action) { return subscriptionState.loadSubscriptions$1(action.subscriptions); }, _setLoadedCompany18(subscriptionState, action) { return subscriptionState.loadSubscriptions$1(action.userCompany.company.subscriptions); }, subscriptionUIReducer_closure: function subscriptionUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure150: function forceSelectedReducer_closure150() { }, forceSelectedReducer_closure151: function forceSelectedReducer_closure151() { }, forceSelectedReducer_closure152: function forceSelectedReducer_closure152() { }, forceSelectedReducer_closure153: function forceSelectedReducer_closure153() { }, forceSelectedReducer_closure154: function forceSelectedReducer_closure154() { }, forceSelectedReducer_closure155: function forceSelectedReducer_closure155() { }, forceSelectedReducer_closure156: function forceSelectedReducer_closure156() { }, forceSelectedReducer_closure157: function forceSelectedReducer_closure157() { }, tabIndexReducer_closure15: function tabIndexReducer_closure15() { }, tabIndexReducer_closure16: function tabIndexReducer_closure16() { }, selectedIdReducer_closure288: function selectedIdReducer_closure288() { }, selectedIdReducer_closure289: function selectedIdReducer_closure289() { }, selectedIdReducer_closure290: function selectedIdReducer_closure290() { }, selectedIdReducer_closure291: function selectedIdReducer_closure291() { }, selectedIdReducer_closure292: function selectedIdReducer_closure292() { }, selectedIdReducer_closure293: function selectedIdReducer_closure293() { }, selectedIdReducer_closure294: function selectedIdReducer_closure294() { }, selectedIdReducer_closure295: function selectedIdReducer_closure295() { }, selectedIdReducer_closure296: function selectedIdReducer_closure296() { }, selectedIdReducer_closure297: function selectedIdReducer_closure297() { }, selectedIdReducer_closure298: function selectedIdReducer_closure298() { }, selectedIdReducer_closure299: function selectedIdReducer_closure299() { }, selectedIdReducer_closure300: function selectedIdReducer_closure300() { }, selectedIdReducer_closure301: function selectedIdReducer_closure301() { }, selectedIdReducer_closure302: function selectedIdReducer_closure302() { }, editingReducer_closure95: function editingReducer_closure95() { }, editingReducer_closure96: function editingReducer_closure96() { }, editingReducer_closure97: function editingReducer_closure97() { }, editingReducer_closure98: function editingReducer_closure98() { }, editingReducer__closure36: function editingReducer__closure36() { }, subscriptionListReducer_closure: function subscriptionListReducer_closure() { }, subscriptionListReducer__closure: function subscriptionListReducer__closure() { }, _filterSubscriptionsByCustom1_closure: function _filterSubscriptionsByCustom1_closure(t0) { this.action = t0; }, _filterSubscriptionsByCustom1_closure0: function _filterSubscriptionsByCustom1_closure0(t0) { this.action = t0; }, _filterSubscriptionsByCustom2_closure: function _filterSubscriptionsByCustom2_closure(t0) { this.action = t0; }, _filterSubscriptionsByCustom2_closure0: function _filterSubscriptionsByCustom2_closure0(t0) { this.action = t0; }, _filterSubscriptionsByState_closure: function _filterSubscriptionsByState_closure(t0) { this.action = t0; }, _filterSubscriptionsByState_closure0: function _filterSubscriptionsByState_closure0(t0) { this.action = t0; }, _filterSubscriptions_closure: function _filterSubscriptions_closure(t0, t1) { this.action = t0; this.subscriptionListState = t1; }, _sortSubscriptions_closure: function _sortSubscriptions_closure(t0) { this.action = t0; }, _startListMultiselect_closure18: function _startListMultiselect_closure18() { }, _addToListMultiselect_closure18: function _addToListMultiselect_closure18(t0) { this.action = t0; }, _removeFromListMultiselect_closure18: function _removeFromListMultiselect_closure18(t0) { this.action = t0; }, _clearListMultiselect_closure18: function _clearListMultiselect_closure18() { }, _archiveSubscriptionSuccess_closure: function _archiveSubscriptionSuccess_closure(t0) { this.action = t0; }, _deleteSubscriptionSuccess_closure: function _deleteSubscriptionSuccess_closure(t0) { this.action = t0; }, _restoreSubscriptionSuccess_closure: function _restoreSubscriptionSuccess_closure(t0) { this.action = t0; }, _addSubscription_closure: function _addSubscription_closure(t0) { this.action = t0; }, _updateSubscription_closure: function _updateSubscription_closure(t0) { this.action = t0; }, _setLoadedSubscription_closure: function _setLoadedSubscription_closure(t0) { this.action = t0; }, filteredSubscriptionsSelector(selectionState, subscriptionMap, subscriptionList, subscriptionListState) { var t1 = subscriptionList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredSubscriptionsSelector_closure(subscriptionMap, selectionState, selectionState.filterEntityId, subscriptionListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredSubscriptionsSelector_closure0(subscriptionMap, subscriptionListState)); return list; }, memoizedFilteredSubscriptionList_closure: function memoizedFilteredSubscriptionList_closure() { }, filteredSubscriptionsSelector_closure: function filteredSubscriptionsSelector_closure(t0, t1, t2, t3) { var _ = this; _.subscriptionMap = t0; _.selectionState = t1; _.filterEntityId = t2; _.subscriptionListState = t3; }, filteredSubscriptionsSelector_closure0: function filteredSubscriptionsSelector_closure0(t0, t1) { this.subscriptionMap = t0; this.subscriptionListState = t1; }, _$SubscriptionState$_(list, map) { var _s17_ = "SubscriptionState"; A.BuiltValueNullFieldError_checkNotNull(map, _s17_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s17_, "list"); return new A._$SubscriptionState(map, list); }, _$SubscriptionUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s19_ = "SubscriptionUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s19_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s19_, "tabIndex"); return new A._$SubscriptionUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, SubscriptionState: function SubscriptionState() { }, SubscriptionState_loadSubscriptions_closure0: function SubscriptionState_loadSubscriptions_closure0() { }, SubscriptionState_loadSubscriptions_closure1: function SubscriptionState_loadSubscriptions_closure1() { }, SubscriptionState_loadSubscriptions_closure: function SubscriptionState_loadSubscriptions_closure(t0, t1) { this.$this = t0; this.map = t1; }, SubscriptionUIState: function SubscriptionUIState() { }, _$SubscriptionStateSerializer: function _$SubscriptionStateSerializer() { }, _$SubscriptionUIStateSerializer: function _$SubscriptionUIStateSerializer() { }, _$SubscriptionState: function _$SubscriptionState(t0, t1) { this.map = t0; this.list = t1; this._subscription_state$__hashCode = null; }, SubscriptionStateBuilder: function SubscriptionStateBuilder() { this._subscription_state$_list = this._subscription_state$_map = this._subscription_state$_$v = null; }, _$SubscriptionUIState: function _$SubscriptionUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._subscription_state$__hashCode = null; }, SubscriptionUIStateBuilder: function SubscriptionUIStateBuilder() { var _ = this; _._subscription_state$_cancelCompleter = _._subscription_state$_saveCompleter = _._subscription_state$_tabIndex = _._subscription_state$_forceSelected = _._subscription_state$_selectedId = _._subscription_state$_listUIState = _._subscription_state$_editing = _._subscription_state$_$v = null; }, _SubscriptionUIState_Object_EntityUIState: function _SubscriptionUIState_Object_EntityUIState() { }, handleTaskAction(context, tasks, action) { return A.handleTaskAction$body(context, tasks, action); }, handleTaskAction$body(context, tasks, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, t3, task, t4, t5, t6, client, t7, t8, taskIds, message, _i, t9, items, documentIds, _box_0; var $async$handleTaskAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; if (tasks.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.TaskEntity; task = t3._as(B.JSArray_methods.get$first(tasks)); t4 = t1.userCompanyStates; t5 = t1.uiState.selectedCompanyIndex; t4 = t4._list$_list; t6 = task.clientId; client = t4[t5].clientState.$get$1(0, t6); t7 = A._arrayInstanceType(tasks); t8 = t7._eval$1("MappedListIterable<1,String>"); taskIds = A.List_List$of(new A.MappedListIterable(tasks, new A.handleTaskAction_closure(), t8), true, t8._eval$1("ListIterable.E")); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_start: // goto case $async$goto = 6; break; case B.EntityAction_resume: // goto case $async$goto = 7; break; case B.EntityAction_stop: // goto case $async$goto = 8; break; case B.EntityAction_invoiceTask: // goto case $async$goto = 9; break; case B.EntityAction_addToInvoice: // goto case $async$goto = 10; break; case B.EntityAction_clone: // goto case $async$goto = 11; break; case B.EntityAction_changeStatus: // goto case $async$goto = 12; break; case B.EntityAction_restore: // goto case $async$goto = 13; break; case B.EntityAction_archive: // goto case $async$goto = 14; break; case B.EntityAction_delete: // goto case $async$goto = 15; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 16; break; case B.EntityAction_more: // goto case $async$goto = 17; break; case B.EntityAction_documents: // goto case $async$goto = 18; break; case B.EntityAction_runTemplate: // goto case $async$goto = 19; break; case B.EntityAction_addComment: // goto case $async$goto = 20; break; default: // goto default $async$goto = 21; break; } break; case 5: // case A.editEntity(null, task, true, null); // goto after switch $async$goto = 4; break; case 6: // case case 7: // case t1 = taskIds.length; if (t1 > 1) { t2.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t2 = t3.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "started_tasks"); if (t2 == null) { t2 = t3.$index(0, "en"); t2.toString; t2 = J.$index$asx(t2, "started_tasks"); t2.toString; } message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "started_task"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StartTasksRequest(t1, taskIds)); // goto after switch $async$goto = 4; break; case 8: // case t1 = taskIds.length; if (t1 > 1) { t2.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t2 = t3.$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "stopped_tasks"); if (t2 == null) { t2 = t3.$index(0, "en"); t2.toString; t2 = J.$index$asx(t2, "stopped_tasks"); t2.toString; } message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "stopped_task"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.StopTasksRequest(t1, taskIds)); // goto after switch $async$goto = 4; break; case 9: // case case 10: // case _box_0.lastClientId = ""; _box_0.hasMultipleClients = false; B.JSArray_methods.forEach$1(tasks, new A.handleTaskAction_closure0(_box_0)); if (_box_0.hasMultipleClients) { A.showErrorDialog(false, t2.get$multipleClientError()); // goto return $async$goto = 1; break; } B.JSArray_methods.sort$1(tasks, new A.handleTaskAction_closure1()); _box_0.projectId = ""; for (t8 = tasks.length, _i = 0; _i < t8; ++_i) { t9 = t3._as(tasks[_i]).projectId; if (t9.length !== 0 && _box_0.projectId.length === 0) _box_0.projectId = t9; } t3 = t4[t5].userCompany; items = A._setArrayType([], type$.JSArray_InvoiceItemEntity); _box_0.lastTask = null; new A.WhereIterable(tasks, new A.handleTaskAction_closure2(), t7._eval$1("WhereIterable<1>")).forEach$1(0, new A.handleTaskAction_closure3(_box_0, items, context, t3.company, t2)); if (items.length !== 0) if (action === B.EntityAction_invoiceTask) A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(client, null, null, t1, null, null).rebuild$1(new A.handleTaskAction_closure4(_box_0, items)), null, false); else A.addToInvoiceDialog(t6, context, items); // goto after switch $async$goto = 4; break; case 11: // case A.createEntity(null, null, task.get$clone(0), null, false); // goto after switch $async$goto = 4; break; case 12: // case A.changeTaskStatusDialog(context, task); // goto after switch $async$goto = 4; break; case 13: // case t1 = taskIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_tasks"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_task"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreTaskRequest(t1, taskIds)); // goto after switch $async$goto = 4; break; case 14: // case t1 = taskIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_tasks"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_task"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveTaskRequest(t1, taskIds)); // goto after switch $async$goto = 4; break; case 15: // case t1 = taskIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_tasks"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_task"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteTaskRequest(t1, taskIds)); // goto after switch $async$goto = 4; break; case 16: // case if (store.__Store__state_A.uiState.taskUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartTaskMultiselect()); } t1 = tasks.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < tasks.length; tasks.length === t1 || (0, A.throwConcurrentModificationError)(tasks), ++_i) { task = tasks[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(task); t2 = t2.taskUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToTaskMultiselect(task)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromTaskMultiselect(task)); } } // goto after switch $async$goto = 4; break; case 17: // case A.showEntityActionsDialog(null, A._setArrayType([task], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 18: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = tasks.length, _i = 0; _i < tasks.length; tasks.length === t1 || (0, A.throwConcurrentModificationError)(tasks), ++_i) for (t4 = t3._as(tasks[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 19: // case A.showDialog(null, null, false, null, new A.handleTaskAction_closure5(tasks), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 20: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 22; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleTaskAction_closure6(task), t1, null, true, type$.bool), $async$handleTaskAction); case 22: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadTask(null, task.id)); } // goto after switch $async$goto = 4; break; case 21: // default A.print("## ERROR: unhandled action " + A.S(action) + " in task_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleTaskAction, $async$completer); }, ViewTaskList: function ViewTaskList(t0) { this.page = t0; }, ViewTask: function ViewTask(t0) { this.taskId = t0; }, EditTask: function EditTask(t0, t1) { this.taskTimeIndex = t0; this.task = t1; }, UpdateTask: function UpdateTask(t0) { this.task = t0; }, LoadTask: function LoadTask(t0, t1) { this.completer = t0; this.taskId = t1; }, LoadTasks: function LoadTasks(t0, t1) { this.completer = t0; this.page = t1; }, LoadTaskRequest: function LoadTaskRequest() { }, LoadTaskFailure: function LoadTaskFailure(t0) { this.error = t0; }, LoadTaskSuccess: function LoadTaskSuccess(t0) { this.task = t0; }, EditTaskTime: function EditTaskTime() { }, AddTaskTime: function AddTaskTime(t0) { this.taskTime = t0; }, UpdateTaskTime: function UpdateTaskTime(t0, t1) { this.index = t0; this.taskTime = t1; }, DeleteTaskTime: function DeleteTaskTime(t0) { this.index = t0; }, LoadTasksRequest: function LoadTasksRequest() { }, LoadTasksFailure: function LoadTasksFailure(t0) { this.error = t0; }, LoadTasksSuccess: function LoadTasksSuccess(t0) { this.tasks = t0; }, SaveTaskRequest: function SaveTaskRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.task = t1; _.autoSelect = t2; _.action = t3; }, SaveTaskSuccess: function SaveTaskSuccess(t0) { this.task = t0; }, AddTaskSuccess: function AddTaskSuccess(t0, t1) { this.task = t0; this.autoSelect = t1; }, SaveTaskFailure: function SaveTaskFailure() { }, ArchiveTaskRequest: function ArchiveTaskRequest(t0, t1) { this.completer = t0; this.taskIds = t1; }, ArchiveTaskSuccess: function ArchiveTaskSuccess(t0) { this.tasks = t0; }, ArchiveTaskFailure: function ArchiveTaskFailure() { }, StartTasksRequest: function StartTasksRequest(t0, t1) { this.completer = t0; this.taskIds = t1; }, StartTasksSuccess: function StartTasksSuccess(t0) { this.tasks = t0; }, StartTasksFailure: function StartTasksFailure() { }, StopTasksRequest: function StopTasksRequest(t0, t1) { this.completer = t0; this.taskIds = t1; }, StopTasksSuccess: function StopTasksSuccess(t0) { this.tasks = t0; }, StopTasksFailure: function StopTasksFailure() { }, DeleteTaskRequest: function DeleteTaskRequest(t0, t1) { this.completer = t0; this.taskIds = t1; }, DeleteTaskSuccess: function DeleteTaskSuccess(t0) { this.tasks = t0; }, DeleteTaskFailure: function DeleteTaskFailure() { }, RestoreTaskRequest: function RestoreTaskRequest(t0, t1) { this.completer = t0; this.taskIds = t1; }, RestoreTaskSuccess: function RestoreTaskSuccess(t0) { this.tasks = t0; }, RestoreTaskFailure: function RestoreTaskFailure() { }, SortTasksRequest: function SortTasksRequest(t0, t1, t2) { this.completer = t0; this.statusIds = t1; this.taskIds = t2; }, SortTasksSuccess: function SortTasksSuccess(t0, t1) { this.statusIds = t0; this.taskIds = t1; }, SortTasksFailure: function SortTasksFailure() { }, FilterTasks: function FilterTasks(t0) { this.filter = t0; }, SortTasks: function SortTasks(t0) { this.field = t0; }, FilterTasksByState: function FilterTasksByState(t0) { this.state = t0; }, FilterTasksByStatus: function FilterTasksByStatus(t0) { this.status = t0; }, FilterTasksByCustom1: function FilterTasksByCustom1(t0) { this.value = t0; }, FilterTasksByCustom2: function FilterTasksByCustom2(t0) { this.value = t0; }, FilterTasksByCustom3: function FilterTasksByCustom3(t0) { this.value = t0; }, FilterTasksByCustom4: function FilterTasksByCustom4(t0) { this.value = t0; }, UpdateKanban: function UpdateKanban() { }, handleTaskAction_closure: function handleTaskAction_closure() { }, handleTaskAction_closure0: function handleTaskAction_closure0(t0) { this._box_0 = t0; }, handleTaskAction_closure1: function handleTaskAction_closure1() { }, handleTaskAction_closure2: function handleTaskAction_closure2() { }, handleTaskAction_closure3: function handleTaskAction_closure3(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.items = t1; _.context = t2; _.company = t3; _.localization = t4; }, handleTaskAction_closure4: function handleTaskAction_closure4(t0, t1) { this._box_0 = t0; this.items = t1; }, handleTaskAction_closure5: function handleTaskAction_closure5(t0) { this.tasks = t0; }, handleTaskAction_closure6: function handleTaskAction_closure6(t0) { this.task = t0; }, StartTaskMultiselect: function StartTaskMultiselect() { }, AddToTaskMultiselect: function AddToTaskMultiselect(t0) { this.entity = t0; }, RemoveFromTaskMultiselect: function RemoveFromTaskMultiselect(t0) { this.entity = t0; }, ClearTaskMultiselect: function ClearTaskMultiselect() { }, SaveTaskDocumentRequest: function SaveTaskDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.task = t3; }, SaveTaskDocumentFailure: function SaveTaskDocumentFailure() { }, UpdateTaskTab: function UpdateTaskTab(t0) { this.tabIndex = t0; }, _editTask() { return new A._editTask_closure(); }, _viewTask() { return new A._viewTask_closure(); }, _viewTaskList() { return new A._viewTaskList_closure0(); }, _archiveTask(repository) { return new A._archiveTask_closure(repository); }, _startTask(repository) { return new A._startTask_closure(repository); }, _stopTask(repository) { return new A._stopTask_closure(repository); }, _deleteTask(repository) { return new A._deleteTask_closure(repository); }, _restoreTask(repository) { return new A._restoreTask_closure(repository); }, _saveTask(repository) { return new A._saveTask_closure(repository); }, _loadTask(repository) { return new A._loadTask_closure(repository); }, _loadTasks(repository) { return new A._loadTasks_closure(repository); }, _saveDocument5(repository) { return new A._saveDocument_closure8(repository); }, _sortTasks(repository) { return new A._sortTasks_closure0(repository); }, _editTask_closure: function _editTask_closure() { }, _viewTask_closure: function _viewTask_closure() { }, _viewTaskList_closure0: function _viewTaskList_closure0() { }, _viewTaskList__closure: function _viewTaskList__closure() { }, _archiveTask_closure: function _archiveTask_closure(t0) { this.repository = t0; }, _archiveTask__closure: function _archiveTask__closure(t0) { this.store = t0; }, _archiveTask__closure0: function _archiveTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveTask__closure1: function _archiveTask__closure1(t0, t1, t2) { this.store = t0; this.prevTasks = t1; this.action = t2; }, _startTask_closure: function _startTask_closure(t0) { this.repository = t0; }, _startTask__closure: function _startTask__closure(t0) { this.store = t0; }, _startTask__closure0: function _startTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _startTask__closure1: function _startTask__closure1(t0, t1, t2) { this.store = t0; this.prevTasks = t1; this.action = t2; }, _stopTask_closure: function _stopTask_closure(t0) { this.repository = t0; }, _stopTask__closure: function _stopTask__closure(t0) { this.store = t0; }, _stopTask__closure0: function _stopTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _stopTask__closure1: function _stopTask__closure1(t0, t1, t2) { this.store = t0; this.prevTasks = t1; this.action = t2; }, _deleteTask_closure: function _deleteTask_closure(t0) { this.repository = t0; }, _deleteTask__closure: function _deleteTask__closure(t0) { this.store = t0; }, _deleteTask__closure0: function _deleteTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteTask__closure1: function _deleteTask__closure1(t0, t1, t2) { this.store = t0; this.prevTasks = t1; this.action = t2; }, _restoreTask_closure: function _restoreTask_closure(t0) { this.repository = t0; }, _restoreTask__closure: function _restoreTask__closure(t0) { this.store = t0; }, _restoreTask__closure0: function _restoreTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreTask__closure1: function _restoreTask__closure1(t0, t1, t2) { this.store = t0; this.prevTasks = t1; this.action = t2; }, _saveTask_closure: function _saveTask_closure(t0) { this.repository = t0; }, _saveTask__closure: function _saveTask__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveTask__closure0: function _saveTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTask_closure: function _loadTask_closure(t0) { this.repository = t0; }, _loadTask__closure: function _loadTask__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTask__closure0: function _loadTask__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTasks_closure: function _loadTasks_closure(t0) { this.repository = t0; }, _loadTasks__closure: function _loadTasks__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTasks___closure: function _loadTasks___closure(t0) { this.documents = t0; }, _loadTasks____closure: function _loadTasks____closure(t0, t1) { this.documents = t0; this.task = t1; }, _loadTasks_____closure: function _loadTasks_____closure(t0) { this.task = t0; }, _loadTasks__closure0: function _loadTasks__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___closure8: function _saveDocument___closure8(t0, t1) { this.documents = t0; this.task = t1; }, _saveDocument____closure8: function _saveDocument____closure8(t0) { this.task = t0; }, _saveDocument__closure18: function _saveDocument__closure18(t0, t1) { this.store = t0; this.action = t1; }, _sortTasks_closure0: function _sortTasks_closure0(t0) { this.repository = t0; }, _sortTasks__closure: function _sortTasks__closure(t0, t1) { this.store = t0; this.action = t1; }, _sortTasks__closure0: function _sortTasks__closure0(t0, t1) { this.store = t0; this.action = t1; }, taskUIReducer(state, action) { var t1 = new A.TaskUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._task_state$_$v = state; new A.taskUIReducer_closure(state, action).call$1(t1); return t1._task_state$_build$0(); }, _clearEditing17(task, action) { var _null = null; return A.TaskEntity_TaskEntity(_null, _null, _null, _null, _null); }, _updateEditing18(task, action) { return action.get$task(); }, _viewTaskList0(taskListState, action) { return taskListState.rebuild$1(new A._viewTaskList_closure()); }, _filterTasksByCustom1(taskListState, action) { if (B.JSArray_methods.contains$1(taskListState.custom1Filters._list$_list, action.value)) return taskListState.rebuild$1(new A._filterTasksByCustom1_closure(action)); else return taskListState.rebuild$1(new A._filterTasksByCustom1_closure0(action)); }, _filterTasksByCustom2(taskListState, action) { if (B.JSArray_methods.contains$1(taskListState.custom2Filters._list$_list, action.value)) return taskListState.rebuild$1(new A._filterTasksByCustom2_closure(action)); else return taskListState.rebuild$1(new A._filterTasksByCustom2_closure0(action)); }, _filterTasksByState(taskListState, action) { if (B.JSArray_methods.contains$1(taskListState.stateFilters._list$_list, action.state)) return taskListState.rebuild$1(new A._filterTasksByState_closure(action)); else return taskListState.rebuild$1(new A._filterTasksByState_closure0(action)); }, _filterTasksByStatus(taskListState, action) { if (B.JSArray_methods.contains$1(taskListState.statusFilters._list$_list, action.status)) return taskListState.rebuild$1(new A._filterTasksByStatus_closure(action)); else return taskListState.rebuild$1(new A._filterTasksByStatus_closure0(action)); }, _filterTasks(taskListState, action) { return taskListState.rebuild$1(new A._filterTasks_closure(action, taskListState)); }, _sortTasks0(taskListState, action) { return taskListState.rebuild$1(new A._sortTasks_closure(action)); }, _addTaskTime(task, action) { return task.addTaskTime$1(action.taskTime); }, _removeTaskTime(task, action) { return task.deleteTaskTime$1(action.index); }, _updateTaskTime(task, action) { return task.updateTaskTime$2(action.taskTime, action.index); }, _startListMultiselect19(taskListState, action) { return taskListState.rebuild$1(new A._startListMultiselect_closure2()); }, _addToListMultiselect19(taskListState, action) { return taskListState.rebuild$1(new A._addToListMultiselect_closure2(action)); }, _removeFromListMultiselect19(taskListState, action) { return taskListState.rebuild$1(new A._removeFromListMultiselect_closure2(action)); }, _clearListMultiselect19(taskListState, action) { return taskListState.rebuild$1(new A._clearListMultiselect_closure2()); }, _purgeClientSuccess8(taskState, action) { var t1 = taskState.map.get$values(0), t2 = A._instanceType(t1), t3 = t2._eval$1("MappedIterable<Iterable.E,String>"); return taskState.rebuild$1(new A._purgeClientSuccess_closure17(A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A._purgeClientSuccess_closure18(action), t2._eval$1("WhereIterable<Iterable.E>")), new A._purgeClientSuccess_closure19(), t3), true, t3._eval$1("Iterable.E")))); }, _sortTasksSuccess(taskState, action) { return taskState.rebuild$1(new A._sortTasksSuccess_closure(action, taskState)); }, _archiveTaskSuccess(taskState, action) { return taskState.rebuild$1(new A._archiveTaskSuccess_closure(action)); }, _startTaskSuccess(taskState, action) { return taskState.rebuild$1(new A._startTaskSuccess_closure(action)); }, _stopTaskSuccess(taskState, action) { return taskState.rebuild$1(new A._stopTaskSuccess_closure(action)); }, _deleteTaskSuccess(taskState, action) { return taskState.rebuild$1(new A._deleteTaskSuccess_closure(action)); }, _restoreTaskSuccess(taskState, action) { return taskState.rebuild$1(new A._restoreTaskSuccess_closure(action)); }, _addTask(taskState, action) { return taskState.rebuild$1(new A._addTask_closure(action)); }, _updateTask(taskState, action) { return taskState.rebuild$1(new A._updateTask_closure(action)); }, _setLoadedTask(taskState, action) { return taskState.rebuild$1(new A._setLoadedTask_closure(action)); }, _setLoadedTasks(taskState, action) { return taskState.loadTasks$1(action.tasks); }, _setLoadedCompany19(taskState, action) { return taskState.loadTasks$1(action.userCompany.company.tasks); }, taskUIReducer_closure: function taskUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, 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() { }, forceSelectedReducer_closure31: function forceSelectedReducer_closure31() { }, forceSelectedReducer_closure32: function forceSelectedReducer_closure32() { }, forceSelectedReducer_closure33: function forceSelectedReducer_closure33() { }, tabIndexReducer_closure5: function tabIndexReducer_closure5() { }, tabIndexReducer_closure6: function tabIndexReducer_closure6() { }, kanbanLastUpdatedReducer_closure: function kanbanLastUpdatedReducer_closure() { }, editingTimeReducer_closure: function editingTimeReducer_closure() { }, editingTimeReducer_closure0: function editingTimeReducer_closure0() { }, 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() { }, selectedIdReducer_closure64: function selectedIdReducer_closure64() { }, editingReducer_closure18: function editingReducer_closure18() { }, editingReducer_closure19: function editingReducer_closure19() { }, editingReducer_closure20: function editingReducer_closure20() { }, editingReducer_closure21: function editingReducer_closure21() { }, editingReducer_closure22: function editingReducer_closure22() { }, editingReducer_closure23: function editingReducer_closure23() { }, editingReducer__closure8: function editingReducer__closure8() { }, taskListReducer_closure: function taskListReducer_closure() { }, taskListReducer__closure: function taskListReducer__closure() { }, _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; }, _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() { }, _purgeClientSuccess_closure18: function _purgeClientSuccess_closure18(t0) { this.action = t0; }, _purgeClientSuccess_closure19: function _purgeClientSuccess_closure19() { }, _purgeClientSuccess_closure17: function _purgeClientSuccess_closure17(t0) { this.ids = t0; }, _purgeClientSuccess__closure11: function _purgeClientSuccess__closure11(t0) { this.ids = t0; }, _purgeClientSuccess__closure12: function _purgeClientSuccess__closure12(t0) { this.ids = t0; }, _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; }, _startTaskSuccess_closure: function _startTaskSuccess_closure(t0) { this.action = t0; }, _stopTaskSuccess_closure: function _stopTaskSuccess_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; }, convertTaskToInvoiceItem(context, includeProjectHeader, task) { var t2, t3, project, client, group, t4, company, t5, dates, t6, t7, notes, t8, sortedDates, datesStr, t9, _i, date, hours, duration, t10, t11, hoursStr, fieldLabel1, fieldLabel2, fieldLabel3, fieldLabel4, customValues, value, _null = null, _box_0 = {}, t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t1 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list; t3 = task.projectId; project = t2[t1].projectState.$get$1(0, t3); client = t2[t1].clientState.$get$1(0, task.clientId); group = t2[t1].groupState.$get$1(0, client.groupId); t4 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t4.toString; company = t2[t1].userCompany.company; _box_0.notes = ""; t5 = type$.String; dates = A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.double); _box_0.lineBreak = ""; t6 = company.markdownEnabled; _box_0.lineBreak = (t6 ? _box_0.lineBreak = "<br/>" : "") + "\n"; if (company.invoiceTaskProjectHeader && !project.get$isNew() && includeProjectHeader) { t7 = project.name; if (t2[t1].userCompany.company.markdownEnabled) { notes = "## " + t7 + "\n"; _box_0.notes = notes; t7 = notes; } else { notes = '<div class="project-header">' + t7 + "</div>\n"; _box_0.notes = notes; t7 = notes; } } else t7 = ""; notes = _box_0.notes = t7 + task.description; t7 = company.invoiceTaskDatelog; if (t7 || company.invoiceTaskTimelog || company.invoiceTaskHours) { _box_0.notes = (B.JSString_methods.trim$0(notes).length !== 0 ? _box_0.notes = notes + "\n" : notes) + '<div class="task-time-details">\n'; t8 = task.getTaskTimes$0(); new A.WhereIterable(t8, new A.convertTaskToInvoiceItem_closure(), A._arrayInstanceType(t8)._eval$1("WhereIterable<1>")).forEach$1(0, new A.convertTaskToInvoiceItem_closure0(_box_0, context, t4, company, dates)); if (t7 && !company.invoiceTaskTimelog) { t7 = dates.$ti._eval$1("LinkedHashMapKeyIterable<1>"); sortedDates = A.List_List$of(new A.LinkedHashMapKeyIterable(dates, t7), true, t7._eval$1("Iterable.E")); B.JSArray_methods.sort$1(sortedDates, new A.convertTaskToInvoiceItem_closure1()); datesStr = A._setArrayType([], type$.JSArray_String); for (t7 = sortedDates.length, t8 = company.invoiceTaskHours, t9 = t4.localeCode, _i = 0; _i < sortedDates.length; sortedDates.length === t7 || (0, A.throwConcurrentModificationError)(sortedDates), ++_i) { date = sortedDates[_i]; if (t8) { hours = A.round(dates.$index(0, date), 3); duration = A.formatNumber(hours, context, _null, _null, B.FormatNumberType_3, true, _null, _null, false); if (hours === 1) { t10 = $.$get$LocalizationsProvider__localizedValues(); t11 = t10.$index(0, t9); t11.toString; t11 = J.$index$asx(t11, "hour"); if (t11 == null) { t10 = t10.$index(0, "en"); t10.toString; t10 = J.$index$asx(t10, "hour"); t10.toString; } else t10 = t11; hoursStr = " \u2022 1 " + t10; } else { t10 = $.$get$LocalizationsProvider__localizedValues().$index(0, t9); t10.toString; t10 = J.$index$asx(t10, "hours"); t10.toString; hoursStr = " \u2022 " + A.S(duration) + " " + t10; } datesStr.push(J.$add$ansx(date, hoursStr)); } else datesStr.push(date); } t7 = _box_0.notes; if (t6) _box_0.notes = t7 + B.JSArray_methods.join$1(datesStr, "<br/>\n"); else _box_0.notes = t7 + B.JSArray_methods.join$1(datesStr, "\n"); } t6 = _box_0.notes += "</div>\n"; _box_0.notes = B.JSString_methods.trim$0(t6); } _box_0.customValue4 = _box_0.customValue3 = _box_0.customValue2 = _box_0.customValue1 = ""; fieldLabel1 = company.getCustomFieldLabel$1("task1"); fieldLabel2 = company.getCustomFieldLabel$1("task2"); fieldLabel3 = company.getCustomFieldLabel$1("task3"); fieldLabel4 = company.getCustomFieldLabel$1("task4"); t6 = company.getCustomFieldLabel$1("task1"); t7 = company.getCustomFieldLabel$1("task2"); t8 = company.getCustomFieldLabel$1("task3"); t9 = company.getCustomFieldLabel$1("task4"); t4 = $.$get$LocalizationsProvider__localizedValues().$index(0, t4.localeCode); t4.toString; t4 = J.$index$asx(t4, "project"); t4.toString; customValues = A.LinkedHashMap_LinkedHashMap$_literal([t6, task.customValue1, t7, task.customValue2, t8, task.customValue3, t9, task.customValue4, t4, t2[t1].projectState.$get$1(0, t3).name], t5, t5); for (t1 = A.LinkedHashMapKeyIterator$(customValues, customValues._modifications, A._instanceType(customValues)._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; value = customValues.$index(0, t2); if (fieldLabel1.toLowerCase() === t2.toLowerCase()) _box_0.customValue1 = value; else if (fieldLabel2.toLowerCase() === t2.toLowerCase()) _box_0.customValue2 = value; else if (fieldLabel3.toLowerCase() === t2.toLowerCase()) _box_0.customValue3 = value; else if (fieldLabel4.toLowerCase() === t2.toLowerCase()) _box_0.customValue4 = value; } return A.InvoiceItemEntity_InvoiceItemEntity(_null, _null).rebuild$1(new A.convertTaskToInvoiceItem_closure2(_box_0, task, company, project, client, group)); }, taskList(taskMap, clientId, userMap, clientMap, projectMap) { var t1 = taskMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.taskList_closure(taskMap, clientId), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.taskList_closure0(taskMap)); return list; }, kanbanTasksSelector(selectionState, taskMap, clientMap, userMap, projectMap, invoiceMap, taskStatusMap, taskList, taskListState) { var t1 = taskList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.kanbanTasksSelector_closure(taskMap, clientMap, selectionState.filterEntityType, selectionState.filterEntityId), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.kanbanTasksSelector_closure0(taskMap, taskListState, userMap, clientMap, projectMap, invoiceMap, taskStatusMap)); return list; }, filteredTasksSelector(selectionState, taskMap, clientMap, userMap, projectMap, invoiceMap, taskStatusMap, taskList, taskListState) { var t1 = taskList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredTasksSelector_closure(taskMap, clientMap, projectMap, selectionState, selectionState.filterEntityType, selectionState.filterEntityId, taskListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredTasksSelector_closure0(taskMap, taskListState, userMap, clientMap, projectMap, invoiceMap, taskStatusMap)); return list; }, taskRateSelector(client, company, group, project, task) { var t2, t1 = task.rate; if (t1 > 0) return t1; else if (project != null && project.taskRate > 0) return project.taskRate; else { if (client != null) { t1 = client.settings.defaultTaskRate; t1 = (t1 == null ? 0 : t1) > 0; } else t1 = false; if (t1) return client.settings.defaultTaskRate; else { if (group != null) { t1 = group.settings.defaultTaskRate; t1 = (t1 == null ? 0 : t1) > 0; } else t1 = false; if (t1) return group.settings.defaultTaskRate; else { t1 = company.settings.defaultTaskRate; t2 = (t1 == null ? 0 : t1) > 0; if (t2) return t1; } } } return 0; }, taskStatsForClient(clientId, taskMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; taskMap._map$_map.forEach$1(0, new A.taskStatsForClient_closure(t1, clientId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, taskStatsForProject(projectId, taskMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; taskMap._map$_map.forEach$1(0, new A.taskStatsForProject_closure(t1, projectId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, convertTaskToInvoiceItem_closure: function convertTaskToInvoiceItem_closure() { }, convertTaskToInvoiceItem_closure0: function convertTaskToInvoiceItem_closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.context = t1; _.localization = t2; _.company = t3; _.dates = t4; }, convertTaskToInvoiceItem_closure1: function convertTaskToInvoiceItem_closure1() { }, convertTaskToInvoiceItem_closure2: function convertTaskToInvoiceItem_closure2(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.task = t1; _.company = t2; _.project = t3; _.client = t4; _.group = t5; }, memoizedTaskList_closure: function memoizedTaskList_closure() { }, taskList_closure: function taskList_closure(t0, t1) { this.taskMap = t0; this.clientId = t1; }, taskList_closure0: function taskList_closure0(t0) { this.taskMap = t0; }, memoizedKanbanTaskList_closure: function memoizedKanbanTaskList_closure() { }, kanbanTasksSelector_closure: function kanbanTasksSelector_closure(t0, t1, t2, t3) { var _ = this; _.taskMap = t0; _.clientMap = t1; _.filterEntityType = t2; _.filterEntityId = t3; }, kanbanTasksSelector_closure0: function kanbanTasksSelector_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.taskMap = t0; _.taskListState = t1; _.userMap = t2; _.clientMap = t3; _.projectMap = t4; _.invoiceMap = t5; _.taskStatusMap = t6; }, memoizedFilteredTaskList_closure: function memoizedFilteredTaskList_closure() { }, filteredTasksSelector_closure: function filteredTasksSelector_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.taskMap = t0; _.clientMap = t1; _.projectMap = t2; _.selectionState = t3; _.filterEntityType = t4; _.filterEntityId = t5; _.taskListState = t6; }, filteredTasksSelector_closure0: function filteredTasksSelector_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.taskMap = t0; _.taskListState = t1; _.userMap = t2; _.clientMap = t3; _.projectMap = t4; _.invoiceMap = t5; _.taskStatusMap = t6; }, memoizedTaskStatsForClient_closure: function memoizedTaskStatsForClient_closure() { }, taskStatsForClient_closure: function taskStatsForClient_closure(t0, t1) { this._box_0 = t0; this.clientId = t1; }, memoizedTaskStatsForProject_closure: function memoizedTaskStatsForProject_closure() { }, taskStatsForProject_closure: function taskStatsForProject_closure(t0, t1) { this._box_0 = t0; this.projectId = t1; }, memoizedTaskStatsForUser_closure: function memoizedTaskStatsForUser_closure() { }, _$TaskState$_(list, map) { var _s9_ = "TaskState"; A.BuiltValueNullFieldError_checkNotNull(map, _s9_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s9_, "list"); return new A._$TaskState(map, list); }, _$TaskUIState$_(cancelCompleter, editing, editingTimeIndex, forceSelected, kanbanLastUpdated, listUIState, saveCompleter, selectedId, tabIndex) { var _s11_ = "TaskUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s11_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s11_, "tabIndex"); return new A._$TaskUIState(editing, editingTimeIndex, kanbanLastUpdated, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, TaskState: function TaskState() { }, TaskState_loadTasks_closure0: function TaskState_loadTasks_closure0() { }, TaskState_loadTasks_closure1: function TaskState_loadTasks_closure1() { }, TaskState_loadTasks_closure: function TaskState_loadTasks_closure(t0, t1) { this.$this = t0; this.map = t1; }, TaskUIState: function TaskUIState() { }, _$TaskStateSerializer: function _$TaskStateSerializer() { }, _$TaskUIStateSerializer: function _$TaskUIStateSerializer() { }, _$TaskState: function _$TaskState(t0, t1) { this.map = t0; this.list = t1; this._task_state$__hashCode = null; }, TaskStateBuilder: function TaskStateBuilder() { this._task_state$_list = this._task_state$_map = this._task_state$_$v = null; }, _$TaskUIState: function _$TaskUIState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.editing = t0; _.editingTimeIndex = t1; _.kanbanLastUpdated = t2; _.listUIState = t3; _.selectedId = t4; _.forceSelected = t5; _.tabIndex = t6; _.saveCompleter = t7; _.cancelCompleter = t8; _._task_state$__hashCode = null; }, TaskUIStateBuilder: function TaskUIStateBuilder() { var _ = this; _._task_state$_cancelCompleter = _._task_state$_saveCompleter = _._task_state$_tabIndex = _._task_state$_forceSelected = _._task_state$_selectedId = _._task_state$_listUIState = _._kanbanLastUpdated = _._editingTimeIndex = _._task_state$_editing = _._task_state$_$v = null; }, _TaskUIState_Object_EntityUIState: function _TaskUIState_Object_EntityUIState() { }, handleTaskStatusAction(context, taskStatuses, action) { var store, t1, t2, taskStatus, t3, taskStatusIds, message, _i, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (taskStatuses.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); taskStatus = type$.TaskStatusEntity._as(B.JSArray_methods.get$first(taskStatuses)); t3 = A._arrayInstanceType(taskStatuses)._eval$1("MappedListIterable<1,String>"); taskStatusIds = A.List_List$of(new A.MappedListIterable(taskStatuses, new A.handleTaskStatusAction_closure(), t3), true, t3._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, taskStatus, true, _null); break; case B.EntityAction_restore: t1 = taskStatusIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_task_statuses"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_task_status"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreTaskStatusesRequest(t1, taskStatusIds)); break; case B.EntityAction_archive: t1 = taskStatusIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_task_statuses"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_task_status"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveTaskStatusesRequest(t1, taskStatusIds)); break; case B.EntityAction_delete: t1 = taskStatusIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_task_statuses"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_task_status"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteTaskStatusesRequest(t1, taskStatusIds)); break; case B.EntityAction_newTask: A.createEntity(_null, _null, A.TaskEntity_TaskEntity(_null, _null, _null, t1, _null).rebuild$1(new A.handleTaskStatusAction_closure0(taskStatus)), _null, false); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.taskStatusUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartTaskStatusMultiselect()); } t1 = taskStatuses.length; if (t1 === 0) break; for (_i = 0; _i < taskStatuses.length; taskStatuses.length === t1 || (0, A.throwConcurrentModificationError)(taskStatuses), ++_i) { taskStatus = taskStatuses[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(taskStatus); t2 = t2.taskStatusUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToTaskStatusMultiselect(taskStatus)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromTaskStatusMultiselect(taskStatus)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([taskStatus], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in task_status_actions"); break; } }, ViewTaskStatusList: function ViewTaskStatusList() { }, ViewTaskStatus: function ViewTaskStatus(t0) { this.taskStatusId = t0; }, EditTaskStatus: function EditTaskStatus(t0) { this.taskStatus = t0; }, UpdateTaskStatus: function UpdateTaskStatus(t0) { this.taskStatus = t0; }, LoadTaskStatusRequest: function LoadTaskStatusRequest() { }, LoadTaskStatusFailure: function LoadTaskStatusFailure(t0) { this.error = t0; }, LoadTaskStatusSuccess: function LoadTaskStatusSuccess(t0) { this.taskStatus = t0; }, LoadTaskStatusesRequest: function LoadTaskStatusesRequest() { }, LoadTaskStatusesFailure: function LoadTaskStatusesFailure(t0) { this.error = t0; }, LoadTaskStatusesSuccess: function LoadTaskStatusesSuccess(t0) { this.taskStatuses = t0; }, SaveTaskStatusRequest: function SaveTaskStatusRequest(t0, t1) { this.completer = t0; this.taskStatus = t1; }, SaveTaskStatusSuccess: function SaveTaskStatusSuccess(t0) { this.taskStatus = t0; }, AddTaskStatusSuccess: function AddTaskStatusSuccess(t0) { this.taskStatus = t0; }, SaveTaskStatusFailure: function SaveTaskStatusFailure() { }, ArchiveTaskStatusesRequest: function ArchiveTaskStatusesRequest(t0, t1) { this.completer = t0; this.taskStatusIds = t1; }, ArchiveTaskStatusesSuccess: function ArchiveTaskStatusesSuccess(t0) { this.taskStatuses = t0; }, ArchiveTaskStatusesFailure: function ArchiveTaskStatusesFailure() { }, DeleteTaskStatusesRequest: function DeleteTaskStatusesRequest(t0, t1) { this.completer = t0; this.taskStatusIds = t1; }, DeleteTaskStatusesSuccess: function DeleteTaskStatusesSuccess(t0) { this.taskStatuses = t0; }, DeleteTaskStatusesFailure: function DeleteTaskStatusesFailure() { }, RestoreTaskStatusesRequest: function RestoreTaskStatusesRequest(t0, t1) { this.completer = t0; this.taskStatusIds = t1; }, RestoreTaskStatusesSuccess: function RestoreTaskStatusesSuccess(t0) { this.taskStatuses = t0; }, RestoreTaskStatusesFailure: function RestoreTaskStatusesFailure() { }, FilterTaskStatuses: function FilterTaskStatuses(t0) { this.filter = t0; }, SortTaskStatuses: function SortTaskStatuses(t0) { this.field = t0; }, FilterTaskStatusesByState: function FilterTaskStatusesByState(t0) { this.state = t0; }, FilterTaskStatusesByCustom1: function FilterTaskStatusesByCustom1(t0) { this.value = t0; }, FilterTaskStatusesByCustom2: function FilterTaskStatusesByCustom2(t0) { this.value = t0; }, FilterTaskStatusesByCustom3: function FilterTaskStatusesByCustom3(t0) { this.value = t0; }, FilterTaskStatusesByCustom4: function FilterTaskStatusesByCustom4(t0) { this.value = t0; }, StartTaskStatusMultiselect: function StartTaskStatusMultiselect() { }, AddToTaskStatusMultiselect: function AddToTaskStatusMultiselect(t0) { this.entity = t0; }, RemoveFromTaskStatusMultiselect: function RemoveFromTaskStatusMultiselect(t0) { this.entity = t0; }, ClearTaskStatusMultiselect: function ClearTaskStatusMultiselect() { }, handleTaskStatusAction_closure: function handleTaskStatusAction_closure() { }, handleTaskStatusAction_closure0: function handleTaskStatusAction_closure0(t0) { this.taskStatus = t0; }, _editTaskStatus() { return new A._editTaskStatus_closure(); }, _viewTaskStatus() { return new A._viewTaskStatus_closure(); }, _viewTaskStatusList() { return new A._viewTaskStatusList_closure0(); }, _archiveTaskStatus(repository) { return new A._archiveTaskStatus_closure(repository); }, _deleteTaskStatus(repository) { return new A._deleteTaskStatus_closure(repository); }, _restoreTaskStatus(repository) { return new A._restoreTaskStatus_closure(repository); }, _saveTaskStatus(repository) { return new A._saveTaskStatus_closure(repository); }, _loadTaskStatus(repository) { return new A._loadTaskStatus_closure(repository); }, _loadTaskStatuses(repository) { return new A._loadTaskStatuses_closure(repository); }, _editTaskStatus_closure: function _editTaskStatus_closure() { }, _viewTaskStatus_closure: function _viewTaskStatus_closure() { }, _viewTaskStatusList_closure0: function _viewTaskStatusList_closure0() { }, _viewTaskStatusList__closure: function _viewTaskStatusList__closure() { }, _archiveTaskStatus_closure: function _archiveTaskStatus_closure(t0) { this.repository = t0; }, _archiveTaskStatus__closure: function _archiveTaskStatus__closure(t0) { this.store = t0; }, _archiveTaskStatus__closure0: function _archiveTaskStatus__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveTaskStatus__closure1: function _archiveTaskStatus__closure1(t0, t1, t2) { this.store = t0; this.prevTaskStatuses = t1; this.action = t2; }, _deleteTaskStatus_closure: function _deleteTaskStatus_closure(t0) { this.repository = t0; }, _deleteTaskStatus__closure: function _deleteTaskStatus__closure(t0) { this.store = t0; }, _deleteTaskStatus__closure0: function _deleteTaskStatus__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteTaskStatus__closure1: function _deleteTaskStatus__closure1(t0, t1, t2) { this.store = t0; this.prevTaskStatuses = t1; this.action = t2; }, _restoreTaskStatus_closure: function _restoreTaskStatus_closure(t0) { this.repository = t0; }, _restoreTaskStatus__closure: function _restoreTaskStatus__closure(t0) { this.store = t0; }, _restoreTaskStatus__closure0: function _restoreTaskStatus__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreTaskStatus__closure1: function _restoreTaskStatus__closure1(t0, t1, t2) { this.store = t0; this.prevTaskStatuses = t1; this.action = t2; }, _saveTaskStatus_closure: function _saveTaskStatus_closure(t0) { this.repository = t0; }, _saveTaskStatus__closure: function _saveTaskStatus__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveTaskStatus__closure0: function _saveTaskStatus__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTaskStatus_closure: function _loadTaskStatus_closure(t0) { this.repository = t0; }, _loadTaskStatus__closure: function _loadTaskStatus__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTaskStatus__closure0: function _loadTaskStatus__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTaskStatuses_closure: function _loadTaskStatuses_closure(t0) { this.repository = t0; }, _loadTaskStatuses__closure: function _loadTaskStatuses__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTaskStatuses__closure0: function _loadTaskStatuses__closure0(t0, t1) { this.store = t0; this.action = t1; }, taskStatusUIReducer(state, action) { var t1 = new A.TaskStatusUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._task_status_state$_$v = state; new A.taskStatusUIReducer_closure(state, action).call$1(t1); return t1._task_status_state$_build$0(); }, _clearEditing18(taskStatus, action) { return A.TaskStatusEntity_TaskStatusEntity(null, null); }, _updateEditing19(taskStatus, action) { return action.get$taskStatus(); }, _viewTaskStatusList0(taskStatusListState, action) { return taskStatusListState.rebuild$1(new A._viewTaskStatusList_closure()); }, _filterTaskStatusesByCustom1(taskStatusListState, action) { if (B.JSArray_methods.contains$1(taskStatusListState.custom1Filters._list$_list, action.value)) return taskStatusListState.rebuild$1(new A._filterTaskStatusesByCustom1_closure(action)); else return taskStatusListState.rebuild$1(new A._filterTaskStatusesByCustom1_closure0(action)); }, _filterTaskStatusesByCustom2(taskStatusListState, action) { if (B.JSArray_methods.contains$1(taskStatusListState.custom2Filters._list$_list, action.value)) return taskStatusListState.rebuild$1(new A._filterTaskStatusesByCustom2_closure(action)); else return taskStatusListState.rebuild$1(new A._filterTaskStatusesByCustom2_closure0(action)); }, _filterTaskStatusesByState(taskStatusListState, action) { if (B.JSArray_methods.contains$1(taskStatusListState.stateFilters._list$_list, action.state)) return taskStatusListState.rebuild$1(new A._filterTaskStatusesByState_closure(action)); else return taskStatusListState.rebuild$1(new A._filterTaskStatusesByState_closure0(action)); }, _filterTaskStatuses(taskStatusListState, action) { return taskStatusListState.rebuild$1(new A._filterTaskStatuses_closure(action, taskStatusListState)); }, _sortTaskStatuses(taskStatusListState, action) { return taskStatusListState.rebuild$1(new A._sortTaskStatuses_closure(action)); }, _startListMultiselect20(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure17()); }, _addToListMultiselect20(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure17(action)); }, _removeFromListMultiselect20(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure17(action)); }, _clearListMultiselect20(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure17()); }, _sortTaskStatusSuccess(taskStatusState, action) { return taskStatusState.rebuild$1(new A._sortTaskStatusSuccess_closure(action, taskStatusState)); }, _archiveTaskStatusSuccess(taskStatusState, action) { return taskStatusState.rebuild$1(new A._archiveTaskStatusSuccess_closure(action)); }, _deleteTaskStatusSuccess(taskStatusState, action) { return taskStatusState.rebuild$1(new A._deleteTaskStatusSuccess_closure(action)); }, _restoreTaskStatusSuccess(taskStatusState, action) { return taskStatusState.rebuild$1(new A._restoreTaskStatusSuccess_closure(action)); }, _addTaskStatus(taskStatusState, action) { return taskStatusState.rebuild$1(new A._addTaskStatus_closure(action)); }, _updateTaskStatus(taskStatusState, action) { return taskStatusState.rebuild$1(new A._updateTaskStatus_closure(action)); }, _setLoadedTaskStatus(taskStatusState, action) { return taskStatusState.rebuild$1(new A._setLoadedTaskStatus_closure(action)); }, _setLoadedTaskStatuses(taskStatusState, action) { return taskStatusState.loadTaskStatuses$1(action.taskStatuses); }, _setLoadedCompany20(taskStatusState, action) { return taskStatusState.loadTaskStatuses$1(action.userCompany.company.taskStatuses); }, taskStatusUIReducer_closure: function taskStatusUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure142: function forceSelectedReducer_closure142() { }, forceSelectedReducer_closure143: function forceSelectedReducer_closure143() { }, forceSelectedReducer_closure144: function forceSelectedReducer_closure144() { }, forceSelectedReducer_closure145: function forceSelectedReducer_closure145() { }, forceSelectedReducer_closure146: function forceSelectedReducer_closure146() { }, forceSelectedReducer_closure147: function forceSelectedReducer_closure147() { }, forceSelectedReducer_closure148: function forceSelectedReducer_closure148() { }, forceSelectedReducer_closure149: function forceSelectedReducer_closure149() { }, selectedIdReducer_closure273: function selectedIdReducer_closure273() { }, selectedIdReducer_closure274: function selectedIdReducer_closure274() { }, selectedIdReducer_closure275: function selectedIdReducer_closure275() { }, selectedIdReducer_closure276: function selectedIdReducer_closure276() { }, selectedIdReducer_closure277: function selectedIdReducer_closure277() { }, selectedIdReducer_closure278: function selectedIdReducer_closure278() { }, selectedIdReducer_closure279: function selectedIdReducer_closure279() { }, selectedIdReducer_closure280: function selectedIdReducer_closure280() { }, selectedIdReducer_closure281: function selectedIdReducer_closure281() { }, selectedIdReducer_closure282: function selectedIdReducer_closure282() { }, selectedIdReducer_closure283: function selectedIdReducer_closure283() { }, selectedIdReducer_closure284: function selectedIdReducer_closure284() { }, selectedIdReducer_closure285: function selectedIdReducer_closure285() { }, selectedIdReducer_closure286: function selectedIdReducer_closure286() { }, selectedIdReducer_closure287: function selectedIdReducer_closure287() { }, editingReducer_closure91: function editingReducer_closure91() { }, editingReducer_closure92: function editingReducer_closure92() { }, editingReducer_closure93: function editingReducer_closure93() { }, editingReducer_closure94: function editingReducer_closure94() { }, editingReducer__closure35: function editingReducer__closure35() { }, taskStatusListReducer_closure: function taskStatusListReducer_closure() { }, taskStatusListReducer__closure: function taskStatusListReducer__closure() { }, _viewTaskStatusList_closure: function _viewTaskStatusList_closure() { }, _filterTaskStatusesByCustom1_closure: function _filterTaskStatusesByCustom1_closure(t0) { this.action = t0; }, _filterTaskStatusesByCustom1_closure0: function _filterTaskStatusesByCustom1_closure0(t0) { this.action = t0; }, _filterTaskStatusesByCustom2_closure: function _filterTaskStatusesByCustom2_closure(t0) { this.action = t0; }, _filterTaskStatusesByCustom2_closure0: function _filterTaskStatusesByCustom2_closure0(t0) { this.action = t0; }, _filterTaskStatusesByState_closure: function _filterTaskStatusesByState_closure(t0) { this.action = t0; }, _filterTaskStatusesByState_closure0: function _filterTaskStatusesByState_closure0(t0) { this.action = t0; }, _filterTaskStatuses_closure: function _filterTaskStatuses_closure(t0, t1) { this.action = t0; this.taskStatusListState = t1; }, _sortTaskStatuses_closure: function _sortTaskStatuses_closure(t0) { this.action = t0; }, _startListMultiselect_closure17: function _startListMultiselect_closure17() { }, _addToListMultiselect_closure17: function _addToListMultiselect_closure17(t0) { this.action = t0; }, _removeFromListMultiselect_closure17: function _removeFromListMultiselect_closure17(t0) { this.action = t0; }, _clearListMultiselect_closure17: function _clearListMultiselect_closure17() { }, _sortTaskStatusSuccess_closure: function _sortTaskStatusSuccess_closure(t0, t1) { this.action = t0; this.taskStatusState = t1; }, _sortTaskStatusSuccess__closure: function _sortTaskStatusSuccess__closure(t0, t1) { this.action = t0; this.statusId = t1; }, _archiveTaskStatusSuccess_closure: function _archiveTaskStatusSuccess_closure(t0) { this.action = t0; }, _deleteTaskStatusSuccess_closure: function _deleteTaskStatusSuccess_closure(t0) { this.action = t0; }, _restoreTaskStatusSuccess_closure: function _restoreTaskStatusSuccess_closure(t0) { this.action = t0; }, _addTaskStatus_closure: function _addTaskStatus_closure(t0) { this.action = t0; }, _updateTaskStatus_closure: function _updateTaskStatus_closure(t0) { this.action = t0; }, _setLoadedTaskStatus_closure: function _setLoadedTaskStatus_closure(t0) { this.action = t0; }, sortedActiveTaskStatusIds(taskStatusList, taskStatusMap) { var t1 = taskStatusList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), statuses = A.List_List$of(new A.WhereIterable(t1, new A.sortedActiveTaskStatusIds_closure(taskStatusMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(statuses, new A.sortedActiveTaskStatusIds_closure0(taskStatusMap)); return statuses; }, dropdownTaskStatusesSelector(taskStatusMap, taskStatusList, staticState, userMap) { var t1 = taskStatusList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownTaskStatusesSelector_closure(taskStatusMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownTaskStatusesSelector_closure0(taskStatusMap)); return list; }, filteredTaskStatusesSelector(selectionState, taskStatusMap, taskStatusList, taskStatusListState) { var t1 = taskStatusList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredTaskStatusesSelector_closure(taskStatusMap, selectionState, taskStatusListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredTaskStatusesSelector_closure0(taskStatusMap)); return list; }, calculateTaskStatusAmount(taskMap, taskStatusId) { var t1 = {}; t1.total = 0; taskMap._map$_map.forEach$1(0, new A.calculateTaskStatusAmount_closure(t1, taskStatusId)); return t1.total; }, taskStatsForTaskStatus(statusId, taskMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; taskMap._map$_map.forEach$1(0, new A.taskStatsForTaskStatus_closure(t1, statusId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, defaultTaskStatusId(taskStatusMap) { var t1 = taskStatusMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), statusIds = A.List_List$of(new A.WhereIterable(t1, new A.defaultTaskStatusId_closure(taskStatusMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(statusIds, new A.defaultTaskStatusId_closure0(taskStatusMap)); if (statusIds.length !== 0) return B.JSArray_methods.get$first(statusIds); else return ""; }, memoizedSortedActiveTaskStatusIds_closure: function memoizedSortedActiveTaskStatusIds_closure() { }, sortedActiveTaskStatusIds_closure: function sortedActiveTaskStatusIds_closure(t0) { this.taskStatusMap = t0; }, sortedActiveTaskStatusIds_closure0: function sortedActiveTaskStatusIds_closure0(t0) { this.taskStatusMap = t0; }, memoizedDropdownTaskStatusList_closure: function memoizedDropdownTaskStatusList_closure() { }, dropdownTaskStatusesSelector_closure: function dropdownTaskStatusesSelector_closure(t0) { this.taskStatusMap = t0; }, dropdownTaskStatusesSelector_closure0: function dropdownTaskStatusesSelector_closure0(t0) { this.taskStatusMap = t0; }, memoizedFilteredTaskStatusList_closure: function memoizedFilteredTaskStatusList_closure() { }, filteredTaskStatusesSelector_closure: function filteredTaskStatusesSelector_closure(t0, t1, t2) { this.taskStatusMap = t0; this.selectionState = t1; this.taskStatusListState = t2; }, filteredTaskStatusesSelector_closure0: function filteredTaskStatusesSelector_closure0(t0) { this.taskStatusMap = t0; }, memoizedCalculateTaskStatusAmount_closure: function memoizedCalculateTaskStatusAmount_closure() { }, calculateTaskStatusAmount_closure: function calculateTaskStatusAmount_closure(t0, t1) { this._box_0 = t0; this.taskStatusId = t1; }, memoizedTaskStatsForTaskStatus_closure: function memoizedTaskStatsForTaskStatus_closure() { }, taskStatsForTaskStatus_closure: function taskStatsForTaskStatus_closure(t0, t1) { this._box_0 = t0; this.statusId = t1; }, defaultTaskStatusId_closure: function defaultTaskStatusId_closure(t0) { this.taskStatusMap = t0; }, defaultTaskStatusId_closure0: function defaultTaskStatusId_closure0(t0) { this.taskStatusMap = t0; }, _$TaskStatusState$_(list, map) { var _s15_ = "TaskStatusState"; A.BuiltValueNullFieldError_checkNotNull(map, _s15_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s15_, "list"); return new A._$TaskStatusState(map, list); }, _$TaskStatusUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s17_ = "TaskStatusUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s17_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s17_, "tabIndex"); return new A._$TaskStatusUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, TaskStatusState: function TaskStatusState() { }, TaskStatusState_loadTaskStatuses_closure0: function TaskStatusState_loadTaskStatuses_closure0() { }, TaskStatusState_loadTaskStatuses_closure1: function TaskStatusState_loadTaskStatuses_closure1() { }, TaskStatusState_loadTaskStatuses_closure: function TaskStatusState_loadTaskStatuses_closure(t0, t1) { this.$this = t0; this.map = t1; }, TaskStatusUIState: function TaskStatusUIState() { }, _$TaskStatusStateSerializer: function _$TaskStatusStateSerializer() { }, _$TaskStatusUIStateSerializer: function _$TaskStatusUIStateSerializer() { }, _$TaskStatusState: function _$TaskStatusState(t0, t1) { this.map = t0; this.list = t1; this._task_status_state$__hashCode = null; }, TaskStatusStateBuilder: function TaskStatusStateBuilder() { this._task_status_state$_list = this._task_status_state$_map = this._task_status_state$_$v = null; }, _$TaskStatusUIState: function _$TaskStatusUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._task_status_state$__hashCode = null; }, TaskStatusUIStateBuilder: function TaskStatusUIStateBuilder() { var _ = this; _._task_status_state$_cancelCompleter = _._task_status_state$_saveCompleter = _._task_status_state$_tabIndex = _._task_status_state$_forceSelected = _._task_status_state$_selectedId = _._task_status_state$_listUIState = _._task_status_state$_editing = _._task_status_state$_$v = null; }, _TaskStatusUIState_Object_EntityUIState: function _TaskStatusUIState_Object_EntityUIState() { }, handleTaxRateAction(context, taxRates, action) { var store, t1, taxRate, t2, taxRateIds, message, _i, t3, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (taxRates.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); taxRate = B.JSArray_methods.get$first(taxRates); t2 = A._arrayInstanceType(taxRates)._eval$1("MappedListIterable<1,String>"); taxRateIds = A.List_List$of(new A.MappedListIterable(taxRates, new A.handleTaxRateAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, taxRate, true, _null); break; case B.EntityAction_restore: t2 = taxRateIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_tax_rates"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_tax_rate"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreTaxRateRequest(t1, taxRateIds)); break; case B.EntityAction_archive: t2 = taxRateIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_tax_rates"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_tax_rate"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveTaxRateRequest(t1, taxRateIds)); break; case B.EntityAction_delete: t2 = taxRateIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_tax_rates"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_tax_rate"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteTaxRateRequest(t1, taxRateIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.taxRateUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartTaxRateMultiselect()); } t1 = taxRates.length; if (t1 === 0) break; for (_i = 0; _i < taxRates.length; taxRates.length === t1 || (0, A.throwConcurrentModificationError)(taxRates), ++_i) { taxRate = taxRates[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(taxRate); t2 = t2.taxRateUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToTaxRateMultiselect(taxRate)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromTaxRateMultiselect(taxRate)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([taxRate], type$.JSArray_BaseEntity), false); break; } }, ViewTaxRateList: function ViewTaxRateList() { }, ViewTaxRate: function ViewTaxRate(t0) { this.taxRateId = t0; }, EditTaxRate: function EditTaxRate(t0) { this.taxRate = t0; }, UpdateTaxRate: function UpdateTaxRate(t0) { this.taxRate = t0; }, LoadTaxRateRequest: function LoadTaxRateRequest() { }, LoadTaxRateFailure: function LoadTaxRateFailure(t0) { this.error = t0; }, LoadTaxRateSuccess: function LoadTaxRateSuccess(t0) { this.taxRate = t0; }, LoadTaxRatesRequest: function LoadTaxRatesRequest() { }, LoadTaxRatesFailure: function LoadTaxRatesFailure(t0) { this.error = t0; }, LoadTaxRatesSuccess: function LoadTaxRatesSuccess(t0) { this.taxRates = t0; }, SaveTaxRateRequest: function SaveTaxRateRequest(t0, t1) { this.completer = t0; this.taxRate = t1; }, SaveTaxRateSuccess: function SaveTaxRateSuccess(t0) { this.taxRate = t0; }, AddTaxRateSuccess: function AddTaxRateSuccess(t0) { this.taxRate = t0; }, SaveTaxRateFailure: function SaveTaxRateFailure() { }, ArchiveTaxRateRequest: function ArchiveTaxRateRequest(t0, t1) { this.completer = t0; this.taxRateIds = t1; }, ArchiveTaxRatesSuccess: function ArchiveTaxRatesSuccess(t0) { this.taxRates = t0; }, ArchiveTaxRateFailure: function ArchiveTaxRateFailure() { }, DeleteTaxRateRequest: function DeleteTaxRateRequest(t0, t1) { this.completer = t0; this.taxRateIds = t1; }, DeleteTaxRatesSuccess: function DeleteTaxRatesSuccess(t0) { this.taxRates = t0; }, DeleteTaxRateFailure: function DeleteTaxRateFailure() { }, RestoreTaxRateRequest: function RestoreTaxRateRequest(t0, t1) { this.completer = t0; this.taxRateIds = t1; }, RestoreTaxRatesSuccess: function RestoreTaxRatesSuccess(t0) { this.taxRates = t0; }, RestoreTaxRateFailure: function RestoreTaxRateFailure() { }, FilterTaxRates: function FilterTaxRates(t0) { this.filter = t0; }, SortTaxRates: function SortTaxRates(t0) { this.field = t0; }, FilterTaxRatesByState: function FilterTaxRatesByState(t0) { this.state = t0; }, handleTaxRateAction_closure: function handleTaxRateAction_closure() { }, StartTaxRateMultiselect: function StartTaxRateMultiselect() { }, AddToTaxRateMultiselect: function AddToTaxRateMultiselect(t0) { this.entity = t0; }, RemoveFromTaxRateMultiselect: function RemoveFromTaxRateMultiselect(t0) { this.entity = t0; }, ClearTaxRateMultiselect: function ClearTaxRateMultiselect() { }, _editTaxRate() { return new A._editTaxRate_closure(); }, _viewTaxRate() { return new A._viewTaxRate_closure(); }, _viewTaxRateList() { return new A._viewTaxRateList_closure0(); }, _archiveTaxRate(repository) { return new A._archiveTaxRate_closure(repository); }, _deleteTaxRate(repository) { return new A._deleteTaxRate_closure(repository); }, _restoreTaxRate(repository) { return new A._restoreTaxRate_closure(repository); }, _saveTaxRate(repository) { return new A._saveTaxRate_closure(repository); }, _loadTaxRate(repository) { return new A._loadTaxRate_closure(repository); }, _loadTaxRates(repository) { return new A._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; }, taxRateUIReducer(state, action) { var t1 = new A.TaxRateUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._tax_rate_state$_$v = state; new A.taxRateUIReducer_closure(state, action).call$1(t1); return t1._tax_rate_state$_build$0(); }, _clearEditing19(taxRate, action) { var _null = null; return A.TaxRateEntity_TaxRateEntity(_null, _null, _null, _null); }, _updateEditing20(taxRate, action) { return action.get$taxRate(); }, _viewTaxRateList0(taxRateListState, action) { return taxRateListState.rebuild$1(new A._viewTaxRateList_closure()); }, _filterTaxRatesByState(taxRateListState, action) { if (B.JSArray_methods.contains$1(taxRateListState.stateFilters._list$_list, action.state)) return taxRateListState.rebuild$1(new A._filterTaxRatesByState_closure(action)); else return taxRateListState.rebuild$1(new A._filterTaxRatesByState_closure0(action)); }, _filterTaxRates(taxRateListState, action) { return taxRateListState.rebuild$1(new A._filterTaxRates_closure(action, taxRateListState)); }, _sortTaxRates(taxRateListState, action) { return taxRateListState.rebuild$1(new A._sortTaxRates_closure(action)); }, _startListMultiselect21(taxRateListState, action) { return taxRateListState.rebuild$1(new A._startListMultiselect_closure8()); }, _addToListMultiselect21(taxRateListState, action) { return taxRateListState.rebuild$1(new A._addToListMultiselect_closure8(action)); }, _removeFromListMultiselect21(taxRateListState, action) { return taxRateListState.rebuild$1(new A._removeFromListMultiselect_closure8(action)); }, _clearListMultiselect21(taxRateListState, action) { return taxRateListState.rebuild$1(new A._clearListMultiselect_closure8()); }, _archiveTaxRateSuccess(taxRateState, action) { return taxRateState.rebuild$1(new A._archiveTaxRateSuccess_closure(action)); }, _deleteTaxRateSuccess(taxRateState, action) { return taxRateState.rebuild$1(new A._deleteTaxRateSuccess_closure(action)); }, _restoreTaxRateSuccess(taxRateState, action) { return taxRateState.rebuild$1(new A._restoreTaxRateSuccess_closure(action)); }, _addTaxRate(taxRateState, action) { return taxRateState.rebuild$1(new A._addTaxRate_closure(action)); }, _updateTaxRate(taxRateState, action) { return taxRateState.rebuild$1(new A._updateTaxRate_closure(action)); }, _setLoadedTaxRate(taxRateState, action) { return taxRateState.rebuild$1(new A._setLoadedTaxRate_closure(action)); }, _setLoadedTaxRates(taxRateState, action) { var state = taxRateState.rebuild$1(new A._setLoadedTaxRates_closure(action)); return state.rebuild$1(new A._setLoadedTaxRates_closure0(state)); }, _setLoadedCompany21(taxRateState, action) { var state = taxRateState.rebuild$1(new A._setLoadedCompany_closure3(action)); return state.rebuild$1(new A._setLoadedCompany_closure4(state)); }, taxRateUIReducer_closure: function taxRateUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure72: function forceSelectedReducer_closure72() { }, forceSelectedReducer_closure73: function forceSelectedReducer_closure73() { }, forceSelectedReducer_closure74: function forceSelectedReducer_closure74() { }, forceSelectedReducer_closure75: function forceSelectedReducer_closure75() { }, selectedIdReducer_closure136: function selectedIdReducer_closure136() { }, selectedIdReducer_closure137: function selectedIdReducer_closure137() { }, selectedIdReducer_closure138: function selectedIdReducer_closure138() { }, selectedIdReducer_closure139: function selectedIdReducer_closure139() { }, selectedIdReducer_closure140: function selectedIdReducer_closure140() { }, selectedIdReducer_closure141: function selectedIdReducer_closure141() { }, selectedIdReducer_closure142: function selectedIdReducer_closure142() { }, selectedIdReducer_closure143: function selectedIdReducer_closure143() { }, selectedIdReducer_closure144: function selectedIdReducer_closure144() { }, selectedIdReducer_closure145: function selectedIdReducer_closure145() { }, editingReducer_closure41: function editingReducer_closure41() { }, editingReducer_closure42: function editingReducer_closure42() { }, editingReducer_closure43: function editingReducer_closure43() { }, editingReducer_closure44: function editingReducer_closure44() { }, editingReducer__closure14: function editingReducer__closure14() { }, taxRateListReducer_closure: function taxRateListReducer_closure() { }, taxRateListReducer__closure: function taxRateListReducer__closure() { }, _viewTaxRateList_closure: function _viewTaxRateList_closure() { }, _filterTaxRatesByState_closure: function _filterTaxRatesByState_closure(t0) { this.action = t0; }, _filterTaxRatesByState_closure0: function _filterTaxRatesByState_closure0(t0) { this.action = t0; }, _filterTaxRates_closure: function _filterTaxRates_closure(t0, t1) { this.action = t0; this.taxRateListState = t1; }, _sortTaxRates_closure: function _sortTaxRates_closure(t0) { this.action = t0; }, _startListMultiselect_closure8: function _startListMultiselect_closure8() { }, _addToListMultiselect_closure8: function _addToListMultiselect_closure8(t0) { this.action = t0; }, _removeFromListMultiselect_closure8: function _removeFromListMultiselect_closure8(t0) { this.action = t0; }, _clearListMultiselect_closure8: function _clearListMultiselect_closure8() { }, _archiveTaxRateSuccess_closure: function _archiveTaxRateSuccess_closure(t0) { this.action = t0; }, _deleteTaxRateSuccess_closure: function _deleteTaxRateSuccess_closure(t0) { this.action = t0; }, _restoreTaxRateSuccess_closure: function _restoreTaxRateSuccess_closure(t0) { this.action = t0; }, _addTaxRate_closure: function _addTaxRate_closure(t0) { this.action = t0; }, _updateTaxRate_closure: function _updateTaxRate_closure(t0) { this.action = t0; }, _setLoadedTaxRate_closure: function _setLoadedTaxRate_closure(t0) { this.action = t0; }, _setLoadedTaxRates_closure: function _setLoadedTaxRates_closure(t0) { this.action = t0; }, _setLoadedTaxRates__closure: function _setLoadedTaxRates__closure() { }, _setLoadedTaxRates__closure0: function _setLoadedTaxRates__closure0() { }, _setLoadedTaxRates_closure0: function _setLoadedTaxRates_closure0(t0) { this.state = t0; }, _setLoadedCompany_closure3: function _setLoadedCompany_closure3(t0) { this.action = t0; }, _setLoadedCompany__closure3: function _setLoadedCompany__closure3() { }, _setLoadedCompany__closure4: function _setLoadedCompany__closure4() { }, _setLoadedCompany_closure4: function _setLoadedCompany_closure4(t0) { this.state = t0; }, filteredTaxRatesSelector(selectionState, taxRateMap, taxRateList, taxRateListState) { var t1 = taxRateList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredTaxRatesSelector_closure(taxRateMap, selectionState, taxRateListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredTaxRatesSelector_closure0(taxRateMap, taxRateListState)); return list; }, memoizedFilteredTaxRateList_closure: function memoizedFilteredTaxRateList_closure() { }, filteredTaxRatesSelector_closure: function filteredTaxRatesSelector_closure(t0, t1, t2) { this.taxRateMap = t0; this.selectionState = t1; this.taxRateListState = t2; }, filteredTaxRatesSelector_closure0: function filteredTaxRatesSelector_closure0(t0, t1) { this.taxRateMap = t0; this.taxRateListState = t1; }, _$TaxRateState$_(list, map) { var _s12_ = "TaxRateState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$TaxRateState(map, list); }, _$TaxRateUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "TaxRateUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$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(context, tokens, action) { var store, t1, token, t2, tokenIds, message, _i, t3, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (tokens.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); token = type$.TokenEntity._as(B.JSArray_methods.get$first(tokens)); t2 = A._arrayInstanceType(tokens)._eval$1("MappedListIterable<1,String>"); tokenIds = A.List_List$of(new A.MappedListIterable(tokens, new A.handleTokenAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_copy: A.Clipboard_setData(new A.ClipboardData(token.token)); t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "copied_to_clipboard"); t1.toString; A.showToast(B.JSString_methods.replaceFirst$2(t1, ":value ", "")); break; case B.EntityAction_edit: A.editEntity(_null, token, true, _null); break; case B.EntityAction_restore: t2 = tokenIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_tokens"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_token"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreTokensRequest(t1, tokenIds)); break; case B.EntityAction_archive: t2 = tokenIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_tokens"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_token"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveTokensRequest(t1, tokenIds)); break; case B.EntityAction_delete: t2 = tokenIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_tokens"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_token"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteTokensRequest(t1, tokenIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.tokenUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartTokenMultiselect()); } t1 = tokens.length; if (t1 === 0) break; for (_i = 0; _i < tokens.length; tokens.length === t1 || (0, A.throwConcurrentModificationError)(tokens), ++_i) { token = tokens[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(token); t2 = t2.tokenUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToTokenMultiselect(token)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromTokenMultiselect(token)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([token], type$.JSArray_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() { }, _editToken() { return new A._editToken_closure(); }, _viewToken() { return new A._viewToken_closure(); }, _viewTokenList() { return new A._viewTokenList_closure0(); }, _archiveToken(repository) { return new A._archiveToken_closure(repository); }, _deleteToken(repository) { return new A._deleteToken_closure(repository); }, _restoreToken(repository) { return new A._restoreToken_closure(repository); }, _saveToken(repository) { return new A._saveToken_closure(repository); }, _loadToken(repository) { return new A._loadToken_closure(repository); }, _loadTokens(repository) { return new A._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; }, tokenUIReducer(state, action) { var t1 = new A.TokenUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._token_state$_$v = state; new A.tokenUIReducer_closure(state, action).call$1(t1); return t1._token_state$_build$0(); }, _clearEditing20(token, action) { return A.TokenEntity_TokenEntity(null, null); }, _updateEditing21(token, action) { return action.get$token(); }, _viewTokenList0(tokenListState, action) { return tokenListState.rebuild$1(new A._viewTokenList_closure()); }, _filterTokensByCustom1(tokenListState, action) { if (B.JSArray_methods.contains$1(tokenListState.custom1Filters._list$_list, action.value)) return tokenListState.rebuild$1(new A._filterTokensByCustom1_closure(action)); else return tokenListState.rebuild$1(new A._filterTokensByCustom1_closure0(action)); }, _filterTokensByCustom2(tokenListState, action) { if (B.JSArray_methods.contains$1(tokenListState.custom2Filters._list$_list, action.value)) return tokenListState.rebuild$1(new A._filterTokensByCustom2_closure(action)); else return tokenListState.rebuild$1(new A._filterTokensByCustom2_closure0(action)); }, _filterTokensByState(tokenListState, action) { if (B.JSArray_methods.contains$1(tokenListState.stateFilters._list$_list, action.state)) return tokenListState.rebuild$1(new A._filterTokensByState_closure(action)); else return tokenListState.rebuild$1(new A._filterTokensByState_closure0(action)); }, _filterTokens(tokenListState, action) { return tokenListState.rebuild$1(new A._filterTokens_closure(action, tokenListState)); }, _sortTokens(tokenListState, action) { return tokenListState.rebuild$1(new A._sortTokens_closure(action)); }, _startListMultiselect22(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure13()); }, _addToListMultiselect22(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure13(action)); }, _removeFromListMultiselect22(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure13(action)); }, _clearListMultiselect22(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure13()); }, _archiveTokenSuccess(tokenState, action) { return tokenState.rebuild$1(new A._archiveTokenSuccess_closure(action)); }, _deleteTokenSuccess(tokenState, action) { return tokenState.rebuild$1(new A._deleteTokenSuccess_closure(action)); }, _restoreTokenSuccess(tokenState, action) { return tokenState.rebuild$1(new A._restoreTokenSuccess_closure(action)); }, _addToken(tokenState, action) { return tokenState.rebuild$1(new A._addToken_closure(action)); }, _updateToken(tokenState, action) { return tokenState.rebuild$1(new A._updateToken_closure(action)); }, _setLoadedToken(tokenState, action) { return tokenState.rebuild$1(new A._setLoadedToken_closure(action)); }, _setLoadedTokens(tokenState, action) { return tokenState.loadTokens$1(action.tokens); }, _setLoadedCompany22(tokenState, action) { return tokenState.loadTokens$1(action.userCompany.company.tokens); }, tokenUIReducer_closure: function tokenUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure109: function forceSelectedReducer_closure109() { }, forceSelectedReducer_closure110: function forceSelectedReducer_closure110() { }, forceSelectedReducer_closure111: function forceSelectedReducer_closure111() { }, forceSelectedReducer_closure112: function forceSelectedReducer_closure112() { }, forceSelectedReducer_closure113: function forceSelectedReducer_closure113() { }, forceSelectedReducer_closure114: function forceSelectedReducer_closure114() { }, forceSelectedReducer_closure115: function forceSelectedReducer_closure115() { }, forceSelectedReducer_closure116: function forceSelectedReducer_closure116() { }, 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() { }, selectedIdReducer_closure222: function selectedIdReducer_closure222() { }, selectedIdReducer_closure223: function selectedIdReducer_closure223() { }, editingReducer_closure68: function editingReducer_closure68() { }, editingReducer_closure69: function editingReducer_closure69() { }, editingReducer_closure70: function editingReducer_closure70() { }, editingReducer_closure71: function editingReducer_closure71() { }, editingReducer__closure25: function editingReducer__closure25() { }, tokenListReducer_closure: function tokenListReducer_closure() { }, tokenListReducer__closure: function tokenListReducer__closure() { }, _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; }, filteredTokensSelector(selectionState, tokenMap, tokenList, tokenListState) { var t1 = tokenList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredTokensSelector_closure(tokenMap, selectionState, tokenListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.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; }, _$TokenState$_(list, map) { var _s10_ = "TokenState"; A.BuiltValueNullFieldError_checkNotNull(map, _s10_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s10_, "list"); return new A._$TokenState(map, list); }, _$TokenUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s12_ = "TokenUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s12_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s12_, "tabIndex"); return new A._$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() { }, handleTransactionAction(context, transactions, action) { var store, t1, transaction, t2, transactionIds, t3, _i, _null = null, _s20_ = "restored_transaction", _s2_ = "en", _s20_0 = "archived_transaction", _s19_ = "deleted_transaction", _s22_ = "converted_transactions", _s20_1 = "unlinked_transaction", _s21_ = "unlinked_transactions"; if (transactions.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); transaction = type$.TransactionEntity._as(B.JSArray_methods.get$first(transactions)); t2 = A._arrayInstanceType(transactions)._eval$1("MappedListIterable<1,String>"); transactionIds = A.List_List$of(new A.MappedListIterable(transactions, new A.handleTransactionAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, transaction, true, _null); break; case B.EntityAction_restore: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s20_); if (t1 == null) { t1 = t2.$index(0, _s2_); t1.toString; t1 = J.$index$asx(t1, _s20_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreTransactionsRequest(t1, transactionIds)); break; case B.EntityAction_archive: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s20_0); if (t1 == null) { t1 = t2.$index(0, _s2_); t1.toString; t1 = J.$index$asx(t1, _s20_0); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveTransactionsRequest(t1, transactionIds)); break; case B.EntityAction_delete: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s19_); if (t1 == null) { t1 = t2.$index(0, _s2_); t1.toString; t1 = J.$index$asx(t1, _s19_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteTransactionsRequest(t1, transactionIds)); break; case B.EntityAction_convertMatched: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s22_); if (t1 == null) { t1 = t2.$index(0, _s2_); t1.toString; t1 = J.$index$asx(t1, _s22_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ConvertTransactionsRequest(t1, transactionIds)); break; case B.EntityAction_unlink: t2 = transactionIds.length; if (t2 === 1) { t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s20_1); if (t1 == null) { t1 = t2.$index(0, _s2_); t1.toString; t1 = J.$index$asx(t1, _s20_1); t1.toString; } } else { t1.toString; t3 = $.$get$LocalizationsProvider__localizedValues(); t1 = t3.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s21_); if (t1 == null) { t1 = t3.$index(0, _s2_); t1.toString; t1 = J.$index$asx(t1, _s21_); t1.toString; } t2 = B.JSString_methods.replaceFirst$2(t1, ":count", "" + t2); t1 = t2; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.UnlinkTransactionsRequest(t1, transactionIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.transactionUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartTransactionMultiselect()); } t1 = transactions.length; if (t1 === 0) break; for (_i = 0; _i < transactions.length; transactions.length === t1 || (0, A.throwConcurrentModificationError)(transactions), ++_i) { transaction = transactions[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(transaction); t2 = t2.transactionUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToTransactionMultiselect(transaction)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromTransactionMultiselect(transaction)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([transaction], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in transaction_actions"); break; } }, ViewTransactionList: function ViewTransactionList(t0) { this.page = t0; }, ViewTransaction: function ViewTransaction(t0) { this.transactionId = t0; }, EditTransaction: function EditTransaction(t0) { this.transaction = t0; }, UpdateTransaction: function UpdateTransaction(t0) { this.transaction = t0; }, LoadTransactions: function LoadTransactions(t0, t1) { this.completer = t0; this.page = t1; }, LoadTransactionRequest: function LoadTransactionRequest() { }, LoadTransactionFailure: function LoadTransactionFailure(t0) { this.error = t0; }, LoadTransactionSuccess: function LoadTransactionSuccess(t0) { this.transaction = t0; }, LoadTransactionsRequest: function LoadTransactionsRequest() { }, LoadTransactionsFailure: function LoadTransactionsFailure(t0) { this.error = t0; }, LoadTransactionsSuccess: function LoadTransactionsSuccess(t0) { this.transactions = t0; }, SaveTransactionRequest: function SaveTransactionRequest(t0, t1) { this.completer = t0; this.transaction = t1; }, SaveTransactionSuccess: function SaveTransactionSuccess(t0) { this.transaction = t0; }, AddTransactionSuccess: function AddTransactionSuccess(t0) { this.transaction = t0; }, SaveTransactionFailure: function SaveTransactionFailure() { }, ArchiveTransactionsRequest: function ArchiveTransactionsRequest(t0, t1) { this.completer = t0; this.transactionIds = t1; }, ArchiveTransactionsSuccess: function ArchiveTransactionsSuccess(t0) { this.transactions = t0; }, ArchiveTransactionsFailure: function ArchiveTransactionsFailure() { }, DeleteTransactionsRequest: function DeleteTransactionsRequest(t0, t1) { this.completer = t0; this.transactionIds = t1; }, DeleteTransactionsSuccess: function DeleteTransactionsSuccess(t0) { this.transactions = t0; }, DeleteTransactionsFailure: function DeleteTransactionsFailure() { }, RestoreTransactionsRequest: function RestoreTransactionsRequest(t0, t1) { this.completer = t0; this.transactionIds = t1; }, RestoreTransactionsSuccess: function RestoreTransactionsSuccess(t0) { this.transactions = t0; }, RestoreTransactionsFailure: function RestoreTransactionsFailure() { }, ConvertTransactionToPaymentRequest: function ConvertTransactionToPaymentRequest(t0, t1, t2) { this.completer = t0; this.transactionId = t1; this.invoiceIds = t2; }, ConvertTransactionToPaymentSuccess: function ConvertTransactionToPaymentSuccess(t0) { this.transaction = t0; }, ConvertTransactionToPaymentFailure: function ConvertTransactionToPaymentFailure() { }, LinkTransactionToPaymentRequest: function LinkTransactionToPaymentRequest(t0, t1, t2) { this.completer = t0; this.transactionId = t1; this.paymentId = t2; }, LinkTransactionToPaymentSuccess: function LinkTransactionToPaymentSuccess(t0) { this.transaction = t0; }, LinkTransactionToPaymentFailure: function LinkTransactionToPaymentFailure() { }, UnlinkTransactionsRequest: function UnlinkTransactionsRequest(t0, t1) { this.completer = t0; this.transactionIds = t1; }, UnlinkTransactionsSuccess: function UnlinkTransactionsSuccess() { }, UnlinkTransactionsFailure: function UnlinkTransactionsFailure() { }, LinkTransactionToExpenseRequest: function LinkTransactionToExpenseRequest(t0, t1, t2) { this.completer = t0; this.transactionId = t1; this.expenseId = t2; }, LinkTransactionToExpenseSuccess: function LinkTransactionToExpenseSuccess(t0) { this.transaction = t0; }, LinkTransactionToExpenseFailure: function LinkTransactionToExpenseFailure() { }, ConvertTransactionsToExpensesRequest: function ConvertTransactionsToExpensesRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.transactionIds = t1; _.vendorId = t2; _.categoryId = t3; }, ConvertTransactionsToExpensesSuccess: function ConvertTransactionsToExpensesSuccess(t0) { this.transactions = t0; }, ConvertTransactionsToExpensesFailure: function ConvertTransactionsToExpensesFailure() { }, ConvertTransactionsRequest: function ConvertTransactionsRequest(t0, t1) { this.completer = t0; this.transactionIds = t1; }, ConvertTransactionsSuccess: function ConvertTransactionsSuccess(t0) { this.transactions = t0; }, ConvertTransactionsFailure: function ConvertTransactionsFailure() { }, FilterTransactions: function FilterTransactions(t0) { this.filter = t0; }, SortTransactions: function SortTransactions(t0) { this.field = t0; }, FilterTransactionsByState: function FilterTransactionsByState(t0) { this.state = t0; }, FilterTransactionsByStatus: function FilterTransactionsByStatus(t0) { this.status = t0; }, FilterTransactionsByCustom1: function FilterTransactionsByCustom1(t0) { this.value = t0; }, FilterTransactionsByCustom2: function FilterTransactionsByCustom2(t0) { this.value = t0; }, FilterTransactionsByCustom3: function FilterTransactionsByCustom3(t0) { this.value = t0; }, FilterTransactionsByCustom4: function FilterTransactionsByCustom4(t0) { this.value = t0; }, StartTransactionMultiselect: function StartTransactionMultiselect() { }, AddToTransactionMultiselect: function AddToTransactionMultiselect(t0) { this.entity = t0; }, RemoveFromTransactionMultiselect: function RemoveFromTransactionMultiselect(t0) { this.entity = t0; }, ClearTransactionMultiselect: function ClearTransactionMultiselect() { }, handleTransactionAction_closure: function handleTransactionAction_closure() { }, _editTransaction() { return new A._editTransaction_closure(); }, _viewTransaction() { return new A._viewTransaction_closure(); }, _viewTransactionList() { return new A._viewTransactionList_closure0(); }, _archiveTransaction(repository) { return new A._archiveTransaction_closure(repository); }, _deleteTransaction(repository) { return new A._deleteTransaction_closure(repository); }, _restoreTransaction(repository) { return new A._restoreTransaction_closure(repository); }, _convertTransactions(repository) { return new A._convertTransactions_closure(repository); }, _unlinkTransactions(repository) { return new A._unlinkTransactions_closure(repository); }, _convertToPayment(repository) { return new A._convertToPayment_closure(repository); }, _convertToExpense(repository) { return new A._convertToExpense_closure(repository); }, _linkToPayment(repository) { return new A._linkToPayment_closure(repository); }, _linkToExpense(repository) { return new A._linkToExpense_closure(repository); }, _saveTransaction(repository) { return new A._saveTransaction_closure(repository); }, _loadTransaction(repository) { return new A._loadTransaction_closure(repository); }, _loadTransactions(repository) { return new A._loadTransactions_closure(repository); }, _editTransaction_closure: function _editTransaction_closure() { }, _viewTransaction_closure: function _viewTransaction_closure() { }, _viewTransactionList_closure0: function _viewTransactionList_closure0() { }, _viewTransactionList__closure: function _viewTransactionList__closure() { }, _archiveTransaction_closure: function _archiveTransaction_closure(t0) { this.repository = t0; }, _archiveTransaction__closure: function _archiveTransaction__closure(t0) { this.store = t0; }, _archiveTransaction__closure0: function _archiveTransaction__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveTransaction__closure1: function _archiveTransaction__closure1(t0, t1, t2) { this.store = t0; this.prevTransactions = t1; this.action = t2; }, _deleteTransaction_closure: function _deleteTransaction_closure(t0) { this.repository = t0; }, _deleteTransaction__closure: function _deleteTransaction__closure(t0) { this.store = t0; }, _deleteTransaction__closure0: function _deleteTransaction__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteTransaction__closure1: function _deleteTransaction__closure1(t0, t1, t2) { this.store = t0; this.prevTransactions = t1; this.action = t2; }, _restoreTransaction_closure: function _restoreTransaction_closure(t0) { this.repository = t0; }, _restoreTransaction__closure: function _restoreTransaction__closure(t0) { this.store = t0; }, _restoreTransaction__closure0: function _restoreTransaction__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreTransaction__closure1: function _restoreTransaction__closure1(t0, t1, t2) { this.store = t0; this.prevTransactions = t1; this.action = t2; }, _convertTransactions_closure: function _convertTransactions_closure(t0) { this.repository = t0; }, _convertTransactions__closure: function _convertTransactions__closure(t0, t1) { this.store = t0; this.action = t1; }, _convertTransactions__closure0: function _convertTransactions__closure0(t0, t1) { this.store = t0; this.action = t1; }, _unlinkTransactions_closure: function _unlinkTransactions_closure(t0) { this.repository = t0; }, _unlinkTransactions__closure: function _unlinkTransactions__closure(t0, t1) { this.store = t0; this.action = t1; }, _unlinkTransactions__closure0: function _unlinkTransactions__closure0(t0, t1) { this.store = t0; this.action = t1; }, _convertToPayment_closure: function _convertToPayment_closure(t0) { this.repository = t0; }, _convertToPayment__closure: function _convertToPayment__closure(t0, t1) { this.store = t0; this.action = t1; }, _convertToPayment__closure0: function _convertToPayment__closure0(t0, t1) { this.store = t0; this.action = t1; }, _convertToExpense_closure: function _convertToExpense_closure(t0) { this.repository = t0; }, _convertToExpense__closure: function _convertToExpense__closure(t0, t1) { this.store = t0; this.action = t1; }, _convertToExpense__closure0: function _convertToExpense__closure0(t0, t1) { this.store = t0; this.action = t1; }, _linkToPayment_closure: function _linkToPayment_closure(t0) { this.repository = t0; }, _linkToPayment__closure: function _linkToPayment__closure(t0, t1) { this.store = t0; this.action = t1; }, _linkToPayment__closure0: function _linkToPayment__closure0(t0, t1) { this.store = t0; this.action = t1; }, _linkToExpense_closure: function _linkToExpense_closure(t0) { this.repository = t0; }, _linkToExpense__closure: function _linkToExpense__closure(t0, t1) { this.store = t0; this.action = t1; }, _linkToExpense__closure0: function _linkToExpense__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveTransaction_closure: function _saveTransaction_closure(t0) { this.repository = t0; }, _saveTransaction__closure: function _saveTransaction__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveTransaction__closure0: function _saveTransaction__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTransaction_closure: function _loadTransaction_closure(t0) { this.repository = t0; }, _loadTransaction__closure: function _loadTransaction__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTransaction__closure0: function _loadTransaction__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTransactions_closure: function _loadTransactions_closure(t0) { this.repository = t0; }, _loadTransactions__closure: function _loadTransactions__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTransactions__closure0: function _loadTransactions__closure0(t0, t1) { this.store = t0; this.action = t1; }, transactionUIReducer(state, action) { var t1 = new A.TransactionUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._transaction_state$_$v = state; new A.transactionUIReducer_closure(state, action).call$1(t1); return t1._transaction_state$_build$0(); }, _clearEditing21(transaction, action) { return A.TransactionEntity_TransactionEntity(null, null); }, _updateEditing22(transaction, action) { return J.get$transaction$x(action); }, _viewTransactionList0(transactionListState, action) { return transactionListState.rebuild$1(new A._viewTransactionList_closure()); }, _filterTransactionsByCustom1(transactionListState, action) { if (B.JSArray_methods.contains$1(transactionListState.custom1Filters._list$_list, action.value)) return transactionListState.rebuild$1(new A._filterTransactionsByCustom1_closure(action)); else return transactionListState.rebuild$1(new A._filterTransactionsByCustom1_closure0(action)); }, _filterTransactionsByCustom2(transactionListState, action) { if (B.JSArray_methods.contains$1(transactionListState.custom2Filters._list$_list, action.value)) return transactionListState.rebuild$1(new A._filterTransactionsByCustom2_closure(action)); else return transactionListState.rebuild$1(new A._filterTransactionsByCustom2_closure0(action)); }, _filterTransactionsByState(transactionListState, action) { if (B.JSArray_methods.contains$1(transactionListState.stateFilters._list$_list, action.state)) return transactionListState.rebuild$1(new A._filterTransactionsByState_closure(action)); else return transactionListState.rebuild$1(new A._filterTransactionsByState_closure0(action)); }, _filterTransactionsByStatus(transactionListState, action) { if (B.JSArray_methods.contains$1(transactionListState.statusFilters._list$_list, action.status)) return transactionListState.rebuild$1(new A._filterTransactionsByStatus_closure(action)); else return transactionListState.rebuild$1(new A._filterTransactionsByStatus_closure0(action)); }, _filterTransactions(transactionListState, action) { return transactionListState.rebuild$1(new A._filterTransactions_closure(action, transactionListState)); }, _sortTransactions(transactionListState, action) { return transactionListState.rebuild$1(new A._sortTransactions_closure(action)); }, _startListMultiselect23(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure22()); }, _addToListMultiselect23(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure22(action)); }, _removeFromListMultiselect23(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure22(action)); }, _clearListMultiselect23(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure22()); }, _archiveTransactionSuccess(transactionState, action) { return transactionState.rebuild$1(new A._archiveTransactionSuccess_closure(action)); }, _deleteTransactionSuccess(transactionState, action) { return transactionState.rebuild$1(new A._deleteTransactionSuccess_closure(action)); }, _restoreTransactionSuccess(transactionState, action) { return transactionState.rebuild$1(new A._restoreTransactionSuccess_closure(action)); }, _addTransaction(transactionState, action) { return transactionState.rebuild$1(new A._addTransaction_closure(action)); }, _updateTransaction(transactionState, action) { return transactionState.rebuild$1(new A._updateTransaction_closure(action)); }, _convertTransactionToPayment(transactionState, action) { return transactionState.rebuild$1(new A._convertTransactionToPayment_closure(action)); }, _convertTransactionToExpense(transactionState, action) { return transactionState.loadTransactions$1(action.transactions); }, _linkTransactionToPayment(transactionState, action) { return transactionState.rebuild$1(new A._linkTransactionToPayment_closure(action)); }, _linkTransactionToExpense(transactionState, action) { return transactionState.rebuild$1(new A._linkTransactionToExpense_closure(action)); }, _convertTransactions0(transactionState, action) { return transactionState.loadTransactions$1(action.transactions); }, _setLoadedTransaction(transactionState, action) { return transactionState.rebuild$1(new A._setLoadedTransaction_closure(action)); }, _setLoadedTransactions(transactionState, action) { return transactionState.loadTransactions$1(action.transactions); }, _setLoadedCompany23(transactionState, action) { return transactionState.loadTransactions$1(action.userCompany.company.transactions); }, transactionUIReducer_closure: function transactionUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure184: function forceSelectedReducer_closure184() { }, forceSelectedReducer_closure185: function forceSelectedReducer_closure185() { }, forceSelectedReducer_closure186: function forceSelectedReducer_closure186() { }, forceSelectedReducer_closure187: function forceSelectedReducer_closure187() { }, forceSelectedReducer_closure188: function forceSelectedReducer_closure188() { }, forceSelectedReducer_closure189: function forceSelectedReducer_closure189() { }, forceSelectedReducer_closure190: function forceSelectedReducer_closure190() { }, forceSelectedReducer_closure191: function forceSelectedReducer_closure191() { }, forceSelectedReducer_closure192: function forceSelectedReducer_closure192() { }, tabIndexReducer_closure23: function tabIndexReducer_closure23() { }, tabIndexReducer_closure24: function tabIndexReducer_closure24() { }, selectedIdReducer_closure353: function selectedIdReducer_closure353() { }, selectedIdReducer_closure354: function selectedIdReducer_closure354() { }, selectedIdReducer_closure355: function selectedIdReducer_closure355() { }, selectedIdReducer_closure356: function selectedIdReducer_closure356() { }, selectedIdReducer_closure357: function selectedIdReducer_closure357() { }, selectedIdReducer_closure358: function selectedIdReducer_closure358() { }, selectedIdReducer_closure359: function selectedIdReducer_closure359() { }, selectedIdReducer_closure360: function selectedIdReducer_closure360() { }, selectedIdReducer_closure361: function selectedIdReducer_closure361() { }, selectedIdReducer_closure362: function selectedIdReducer_closure362() { }, selectedIdReducer_closure363: function selectedIdReducer_closure363() { }, selectedIdReducer_closure364: function selectedIdReducer_closure364() { }, selectedIdReducer_closure365: function selectedIdReducer_closure365() { }, selectedIdReducer_closure366: function selectedIdReducer_closure366() { }, selectedIdReducer_closure367: function selectedIdReducer_closure367() { }, selectedIdReducer_closure368: function selectedIdReducer_closure368() { }, editingReducer_closure118: function editingReducer_closure118() { }, editingReducer_closure119: function editingReducer_closure119() { }, editingReducer_closure120: function editingReducer_closure120() { }, editingReducer_closure121: function editingReducer_closure121() { }, editingReducer__closure46: function editingReducer__closure46() { }, transactionListReducer_closure: function transactionListReducer_closure() { }, transactionListReducer__closure: function transactionListReducer__closure() { }, _viewTransactionList_closure: function _viewTransactionList_closure() { }, _filterTransactionsByCustom1_closure: function _filterTransactionsByCustom1_closure(t0) { this.action = t0; }, _filterTransactionsByCustom1_closure0: function _filterTransactionsByCustom1_closure0(t0) { this.action = t0; }, _filterTransactionsByCustom2_closure: function _filterTransactionsByCustom2_closure(t0) { this.action = t0; }, _filterTransactionsByCustom2_closure0: function _filterTransactionsByCustom2_closure0(t0) { this.action = t0; }, _filterTransactionsByState_closure: function _filterTransactionsByState_closure(t0) { this.action = t0; }, _filterTransactionsByState_closure0: function _filterTransactionsByState_closure0(t0) { this.action = t0; }, _filterTransactionsByStatus_closure: function _filterTransactionsByStatus_closure(t0) { this.action = t0; }, _filterTransactionsByStatus_closure0: function _filterTransactionsByStatus_closure0(t0) { this.action = t0; }, _filterTransactions_closure: function _filterTransactions_closure(t0, t1) { this.action = t0; this.transactionListState = t1; }, _sortTransactions_closure: function _sortTransactions_closure(t0) { this.action = t0; }, _startListMultiselect_closure22: function _startListMultiselect_closure22() { }, _addToListMultiselect_closure22: function _addToListMultiselect_closure22(t0) { this.action = t0; }, _removeFromListMultiselect_closure22: function _removeFromListMultiselect_closure22(t0) { this.action = t0; }, _clearListMultiselect_closure22: function _clearListMultiselect_closure22() { }, _archiveTransactionSuccess_closure: function _archiveTransactionSuccess_closure(t0) { this.action = t0; }, _deleteTransactionSuccess_closure: function _deleteTransactionSuccess_closure(t0) { this.action = t0; }, _restoreTransactionSuccess_closure: function _restoreTransactionSuccess_closure(t0) { this.action = t0; }, _addTransaction_closure: function _addTransaction_closure(t0) { this.action = t0; }, _updateTransaction_closure: function _updateTransaction_closure(t0) { this.action = t0; }, _convertTransactionToPayment_closure: function _convertTransactionToPayment_closure(t0) { this.action = t0; }, _linkTransactionToPayment_closure: function _linkTransactionToPayment_closure(t0) { this.action = t0; }, _linkTransactionToExpense_closure: function _linkTransactionToExpense_closure(t0) { this.action = t0; }, _setLoadedTransaction_closure: function _setLoadedTransaction_closure(t0) { this.action = t0; }, filteredTransactionsSelector(selectionState, transactionMap, transactionList, invoiceMap, vendorMap, expenseMap, expenseCategoryMap, bankAccountMap, transactionListState) { var t1 = transactionList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredTransactionsSelector_closure(transactionMap, selectionState, bankAccountMap, selectionState.filterEntityType, selectionState.filterEntityId, transactionListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredTransactionsSelector_closure0(transactionMap, transactionListState, vendorMap, invoiceMap, expenseMap, expenseCategoryMap, bankAccountMap)); return list; }, transactionStatsForBankAccount(bankAccountId, transactionMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; transactionMap._map$_map.forEach$1(0, new A.transactionStatsForBankAccount_closure(t1, bankAccountId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, memoizedFilteredTransactionList_closure: function memoizedFilteredTransactionList_closure() { }, filteredTransactionsSelector_closure: function filteredTransactionsSelector_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.transactionMap = t0; _.selectionState = t1; _.bankAccountMap = t2; _.filterEntityType = t3; _.filterEntityId = t4; _.transactionListState = t5; }, filteredTransactionsSelector_closure0: function filteredTransactionsSelector_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.transactionMap = t0; _.transactionListState = t1; _.vendorMap = t2; _.invoiceMap = t3; _.expenseMap = t4; _.expenseCategoryMap = t5; _.bankAccountMap = t6; }, memoizedTransactionStatsForBankAccount_closure: function memoizedTransactionStatsForBankAccount_closure() { }, transactionStatsForBankAccount_closure: function transactionStatsForBankAccount_closure(t0, t1) { this._box_0 = t0; this.bankAccountId = t1; }, _$TransactionState$_(list, map) { var _s16_ = "TransactionState"; A.BuiltValueNullFieldError_checkNotNull(map, _s16_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s16_, "list"); return new A._$TransactionState(map, list); }, _$TransactionUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s18_ = "TransactionUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s18_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s18_, "tabIndex"); return new A._$TransactionUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, TransactionState: function TransactionState() { }, TransactionState_loadTransactions_closure0: function TransactionState_loadTransactions_closure0() { }, TransactionState_loadTransactions_closure1: function TransactionState_loadTransactions_closure1() { }, TransactionState_loadTransactions_closure: function TransactionState_loadTransactions_closure(t0, t1) { this.$this = t0; this.map = t1; }, TransactionUIState: function TransactionUIState() { }, _$TransactionStateSerializer: function _$TransactionStateSerializer() { }, _$TransactionUIStateSerializer: function _$TransactionUIStateSerializer() { }, _$TransactionState: function _$TransactionState(t0, t1) { this.map = t0; this.list = t1; this._transaction_state$__hashCode = null; }, TransactionStateBuilder: function TransactionStateBuilder() { this._transaction_state$_list = this._transaction_state$_map = this._transaction_state$_$v = null; }, _$TransactionUIState: function _$TransactionUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._transaction_state$__hashCode = null; }, TransactionUIStateBuilder: function TransactionUIStateBuilder() { var _ = this; _._transaction_state$_cancelCompleter = _._transaction_state$_saveCompleter = _._transaction_state$_tabIndex = _._transaction_state$_forceSelected = _._transaction_state$_selectedId = _._transaction_state$_listUIState = _._transaction_state$_editing = _._transaction_state$_$v = null; }, _TransactionUIState_Object_EntityUIState: function _TransactionUIState_Object_EntityUIState() { }, handleTransactionRuleAction(context, transactionRules, action) { var store, t1, transactionRule, t2, transactionRuleIds, _i, t3, _null = null, _s25_ = "restored_transaction_rule", _s25_0 = "archived_transaction_rule", _s24_ = "deleted_transaction_rule"; if (transactionRules.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); transactionRule = type$.TransactionRuleEntity._as(B.JSArray_methods.get$first(transactionRules)); t2 = A._arrayInstanceType(transactionRules)._eval$1("MappedListIterable<1,String>"); transactionRuleIds = A.List_List$of(new A.MappedListIterable(transactionRules, new A.handleTransactionRuleAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, transactionRule, true, _null); break; case B.EntityAction_restore: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s25_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s25_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreTransactionRulesRequest(t1, transactionRuleIds)); break; case B.EntityAction_archive: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s25_0); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s25_0); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveTransactionRulesRequest(t1, transactionRuleIds)); break; case B.EntityAction_delete: t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s24_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s24_); t1.toString; } t1 = A.snackBarCompleter(t1, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteTransactionRulesRequest(t1, transactionRuleIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.transactionRuleUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartTransactionRuleMultiselect()); } t1 = transactionRules.length; if (t1 === 0) break; for (_i = 0; _i < transactionRules.length; transactionRules.length === t1 || (0, A.throwConcurrentModificationError)(transactionRules), ++_i) { transactionRule = transactionRules[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(transactionRule); t2 = t2.transactionRuleUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToTransactionRuleMultiselect(transactionRule)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromTransactionRuleMultiselect(transactionRule)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([transactionRule], type$.JSArray_BaseEntity), false); break; default: A.print("## ERROR: unhandled action " + A.S(action) + " in transaction_rule_actions"); break; } }, ViewTransactionRuleList: function ViewTransactionRuleList() { }, ViewTransactionRule: function ViewTransactionRule(t0) { this.transactionRuleId = t0; }, EditTransactionRule: function EditTransactionRule(t0) { this.transactionRule = t0; }, UpdateTransactionRule: function UpdateTransactionRule(t0) { this.transactionRule = t0; }, LoadTransactionRuleRequest: function LoadTransactionRuleRequest() { }, LoadTransactionRuleFailure: function LoadTransactionRuleFailure(t0) { this.error = t0; }, LoadTransactionRuleSuccess: function LoadTransactionRuleSuccess(t0) { this.transactionRule = t0; }, LoadTransactionRulesRequest: function LoadTransactionRulesRequest() { }, LoadTransactionRulesFailure: function LoadTransactionRulesFailure(t0) { this.error = t0; }, LoadTransactionRulesSuccess: function LoadTransactionRulesSuccess(t0) { this.transactionRules = t0; }, SaveTransactionRuleRequest: function SaveTransactionRuleRequest(t0, t1) { this.completer = t0; this.transactionRule = t1; }, SaveTransactionRuleSuccess: function SaveTransactionRuleSuccess(t0) { this.transactionRule = t0; }, AddTransactionRuleSuccess: function AddTransactionRuleSuccess(t0) { this.transactionRule = t0; }, SaveTransactionRuleFailure: function SaveTransactionRuleFailure() { }, ArchiveTransactionRulesRequest: function ArchiveTransactionRulesRequest(t0, t1) { this.completer = t0; this.transactionRuleIds = t1; }, ArchiveTransactionRulesSuccess: function ArchiveTransactionRulesSuccess(t0) { this.transactionRules = t0; }, ArchiveTransactionRulesFailure: function ArchiveTransactionRulesFailure() { }, DeleteTransactionRulesRequest: function DeleteTransactionRulesRequest(t0, t1) { this.completer = t0; this.transactionRuleIds = t1; }, DeleteTransactionRulesSuccess: function DeleteTransactionRulesSuccess(t0) { this.transactionRules = t0; }, DeleteTransactionRulesFailure: function DeleteTransactionRulesFailure() { }, RestoreTransactionRulesRequest: function RestoreTransactionRulesRequest(t0, t1) { this.completer = t0; this.transactionRuleIds = t1; }, RestoreTransactionRulesSuccess: function RestoreTransactionRulesSuccess(t0) { this.transactionRules = t0; }, RestoreTransactionRulesFailure: function RestoreTransactionRulesFailure() { }, FilterTransactionRules: function FilterTransactionRules(t0) { this.filter = t0; }, SortTransactionRules: function SortTransactionRules(t0) { this.field = t0; }, FilterTransactionRulesByState: function FilterTransactionRulesByState(t0) { this.state = t0; }, FilterTransactionRulesByCustom1: function FilterTransactionRulesByCustom1(t0) { this.value = t0; }, FilterTransactionRulesByCustom2: function FilterTransactionRulesByCustom2(t0) { this.value = t0; }, FilterTransactionRulesByCustom3: function FilterTransactionRulesByCustom3(t0) { this.value = t0; }, FilterTransactionRulesByCustom4: function FilterTransactionRulesByCustom4(t0) { this.value = t0; }, StartTransactionRuleMultiselect: function StartTransactionRuleMultiselect() { }, AddToTransactionRuleMultiselect: function AddToTransactionRuleMultiselect(t0) { this.entity = t0; }, RemoveFromTransactionRuleMultiselect: function RemoveFromTransactionRuleMultiselect(t0) { this.entity = t0; }, ClearTransactionRuleMultiselect: function ClearTransactionRuleMultiselect() { }, handleTransactionRuleAction_closure: function handleTransactionRuleAction_closure() { }, _editTransactionRule() { return new A._editTransactionRule_closure(); }, _viewTransactionRule() { return new A._viewTransactionRule_closure(); }, _viewTransactionRuleList() { return new A._viewTransactionRuleList_closure0(); }, _archiveTransactionRule(repository) { return new A._archiveTransactionRule_closure(repository); }, _deleteTransactionRule(repository) { return new A._deleteTransactionRule_closure(repository); }, _restoreTransactionRule(repository) { return new A._restoreTransactionRule_closure(repository); }, _saveTransactionRule(repository) { return new A._saveTransactionRule_closure(repository); }, _loadTransactionRule(repository) { return new A._loadTransactionRule_closure(repository); }, _loadTransactionRules(repository) { return new A._loadTransactionRules_closure(repository); }, _editTransactionRule_closure: function _editTransactionRule_closure() { }, _viewTransactionRule_closure: function _viewTransactionRule_closure() { }, _viewTransactionRuleList_closure0: function _viewTransactionRuleList_closure0() { }, _viewTransactionRuleList__closure: function _viewTransactionRuleList__closure() { }, _archiveTransactionRule_closure: function _archiveTransactionRule_closure(t0) { this.repository = t0; }, _archiveTransactionRule__closure: function _archiveTransactionRule__closure(t0) { this.store = t0; }, _archiveTransactionRule__closure0: function _archiveTransactionRule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveTransactionRule__closure1: function _archiveTransactionRule__closure1(t0, t1, t2) { this.store = t0; this.prevTransactionRules = t1; this.action = t2; }, _deleteTransactionRule_closure: function _deleteTransactionRule_closure(t0) { this.repository = t0; }, _deleteTransactionRule__closure: function _deleteTransactionRule__closure(t0) { this.store = t0; }, _deleteTransactionRule__closure0: function _deleteTransactionRule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteTransactionRule__closure1: function _deleteTransactionRule__closure1(t0, t1, t2) { this.store = t0; this.prevTransactionRules = t1; this.action = t2; }, _restoreTransactionRule_closure: function _restoreTransactionRule_closure(t0) { this.repository = t0; }, _restoreTransactionRule__closure: function _restoreTransactionRule__closure(t0) { this.store = t0; }, _restoreTransactionRule__closure0: function _restoreTransactionRule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreTransactionRule__closure1: function _restoreTransactionRule__closure1(t0, t1, t2) { this.store = t0; this.prevTransactionRules = t1; this.action = t2; }, _saveTransactionRule_closure: function _saveTransactionRule_closure(t0) { this.repository = t0; }, _saveTransactionRule__closure: function _saveTransactionRule__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveTransactionRule__closure0: function _saveTransactionRule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTransactionRule_closure: function _loadTransactionRule_closure(t0) { this.repository = t0; }, _loadTransactionRule__closure: function _loadTransactionRule__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTransactionRule__closure0: function _loadTransactionRule__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadTransactionRules_closure: function _loadTransactionRules_closure(t0) { this.repository = t0; }, _loadTransactionRules__closure: function _loadTransactionRules__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadTransactionRules__closure0: function _loadTransactionRules__closure0(t0, t1) { this.store = t0; this.action = t1; }, transactionRuleUIReducer(state, action) { var t1 = new A.TransactionRuleUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._transaction_rule_state$_$v = state; new A.transactionRuleUIReducer_closure(state, action).call$1(t1); return t1._transaction_rule_state$_build$0(); }, _clearEditing22(transactionRule, action) { return A.TransactionRuleEntity_TransactionRuleEntity(null, null); }, _updateEditing23(transactionRule, action) { return action.get$transactionRule(); }, _viewTransactionRuleList0(transactionRuleListState, action) { return transactionRuleListState.rebuild$1(new A._viewTransactionRuleList_closure()); }, _filterTransactionRulesByCustom1(transactionRuleListState, action) { if (B.JSArray_methods.contains$1(transactionRuleListState.custom1Filters._list$_list, action.value)) return transactionRuleListState.rebuild$1(new A._filterTransactionRulesByCustom1_closure(action)); else return transactionRuleListState.rebuild$1(new A._filterTransactionRulesByCustom1_closure0(action)); }, _filterTransactionRulesByCustom2(transactionRuleListState, action) { if (B.JSArray_methods.contains$1(transactionRuleListState.custom2Filters._list$_list, action.value)) return transactionRuleListState.rebuild$1(new A._filterTransactionRulesByCustom2_closure(action)); else return transactionRuleListState.rebuild$1(new A._filterTransactionRulesByCustom2_closure0(action)); }, _filterTransactionRulesByState(transactionRuleListState, action) { if (B.JSArray_methods.contains$1(transactionRuleListState.stateFilters._list$_list, action.state)) return transactionRuleListState.rebuild$1(new A._filterTransactionRulesByState_closure(action)); else return transactionRuleListState.rebuild$1(new A._filterTransactionRulesByState_closure0(action)); }, _filterTransactionRules(transactionRuleListState, action) { return transactionRuleListState.rebuild$1(new A._filterTransactionRules_closure(action, transactionRuleListState)); }, _sortTransactionRules(transactionRuleListState, action) { return transactionRuleListState.rebuild$1(new A._sortTransactionRules_closure(action)); }, _startListMultiselect24(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure23()); }, _addToListMultiselect24(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure23(action)); }, _removeFromListMultiselect24(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure23(action)); }, _clearListMultiselect24(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure23()); }, _archiveTransactionRuleSuccess(transactionRuleState, action) { return transactionRuleState.rebuild$1(new A._archiveTransactionRuleSuccess_closure(action)); }, _deleteTransactionRuleSuccess(transactionRuleState, action) { return transactionRuleState.rebuild$1(new A._deleteTransactionRuleSuccess_closure(action)); }, _restoreTransactionRuleSuccess(transactionRuleState, action) { return transactionRuleState.rebuild$1(new A._restoreTransactionRuleSuccess_closure(action)); }, _addTransactionRule(transactionRuleState, action) { return transactionRuleState.rebuild$1(new A._addTransactionRule_closure(action)); }, _updateTransactionRule(transactionRuleState, action) { return transactionRuleState.rebuild$1(new A._updateTransactionRule_closure(action)); }, _setLoadedTransactionRule(transactionRuleState, action) { return transactionRuleState.rebuild$1(new A._setLoadedTransactionRule_closure(action)); }, _setLoadedTransactionRules(transactionRuleState, action) { return transactionRuleState.loadTransactionRules$1(action.transactionRules); }, _setLoadedCompany24(transactionRuleState, action) { return transactionRuleState.loadTransactionRules$1(action.userCompany.company.transactionRules); }, transactionRuleUIReducer_closure: function transactionRuleUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure193: function forceSelectedReducer_closure193() { }, forceSelectedReducer_closure194: function forceSelectedReducer_closure194() { }, forceSelectedReducer_closure195: function forceSelectedReducer_closure195() { }, forceSelectedReducer_closure196: function forceSelectedReducer_closure196() { }, forceSelectedReducer_closure197: function forceSelectedReducer_closure197() { }, forceSelectedReducer_closure198: function forceSelectedReducer_closure198() { }, forceSelectedReducer_closure199: function forceSelectedReducer_closure199() { }, forceSelectedReducer_closure200: function forceSelectedReducer_closure200() { }, tabIndexReducer_closure25: function tabIndexReducer_closure25() { }, tabIndexReducer_closure26: function tabIndexReducer_closure26() { }, selectedIdReducer_closure369: function selectedIdReducer_closure369() { }, selectedIdReducer_closure370: function selectedIdReducer_closure370() { }, selectedIdReducer_closure371: function selectedIdReducer_closure371() { }, selectedIdReducer_closure372: function selectedIdReducer_closure372() { }, selectedIdReducer_closure373: function selectedIdReducer_closure373() { }, selectedIdReducer_closure374: function selectedIdReducer_closure374() { }, selectedIdReducer_closure375: function selectedIdReducer_closure375() { }, selectedIdReducer_closure376: function selectedIdReducer_closure376() { }, selectedIdReducer_closure377: function selectedIdReducer_closure377() { }, selectedIdReducer_closure378: function selectedIdReducer_closure378() { }, selectedIdReducer_closure379: function selectedIdReducer_closure379() { }, selectedIdReducer_closure380: function selectedIdReducer_closure380() { }, selectedIdReducer_closure381: function selectedIdReducer_closure381() { }, selectedIdReducer_closure382: function selectedIdReducer_closure382() { }, selectedIdReducer_closure383: function selectedIdReducer_closure383() { }, editingReducer_closure122: function editingReducer_closure122() { }, editingReducer_closure123: function editingReducer_closure123() { }, editingReducer_closure124: function editingReducer_closure124() { }, editingReducer_closure125: function editingReducer_closure125() { }, editingReducer__closure47: function editingReducer__closure47() { }, transactionRuleListReducer_closure: function transactionRuleListReducer_closure() { }, transactionRuleListReducer__closure: function transactionRuleListReducer__closure() { }, _viewTransactionRuleList_closure: function _viewTransactionRuleList_closure() { }, _filterTransactionRulesByCustom1_closure: function _filterTransactionRulesByCustom1_closure(t0) { this.action = t0; }, _filterTransactionRulesByCustom1_closure0: function _filterTransactionRulesByCustom1_closure0(t0) { this.action = t0; }, _filterTransactionRulesByCustom2_closure: function _filterTransactionRulesByCustom2_closure(t0) { this.action = t0; }, _filterTransactionRulesByCustom2_closure0: function _filterTransactionRulesByCustom2_closure0(t0) { this.action = t0; }, _filterTransactionRulesByState_closure: function _filterTransactionRulesByState_closure(t0) { this.action = t0; }, _filterTransactionRulesByState_closure0: function _filterTransactionRulesByState_closure0(t0) { this.action = t0; }, _filterTransactionRules_closure: function _filterTransactionRules_closure(t0, t1) { this.action = t0; this.transactionRuleListState = t1; }, _sortTransactionRules_closure: function _sortTransactionRules_closure(t0) { this.action = t0; }, _startListMultiselect_closure23: function _startListMultiselect_closure23() { }, _addToListMultiselect_closure23: function _addToListMultiselect_closure23(t0) { this.action = t0; }, _removeFromListMultiselect_closure23: function _removeFromListMultiselect_closure23(t0) { this.action = t0; }, _clearListMultiselect_closure23: function _clearListMultiselect_closure23() { }, _archiveTransactionRuleSuccess_closure: function _archiveTransactionRuleSuccess_closure(t0) { this.action = t0; }, _deleteTransactionRuleSuccess_closure: function _deleteTransactionRuleSuccess_closure(t0) { this.action = t0; }, _restoreTransactionRuleSuccess_closure: function _restoreTransactionRuleSuccess_closure(t0) { this.action = t0; }, _addTransactionRule_closure: function _addTransactionRule_closure(t0) { this.action = t0; }, _updateTransactionRule_closure: function _updateTransactionRule_closure(t0) { this.action = t0; }, _setLoadedTransactionRule_closure: function _setLoadedTransactionRule_closure(t0) { this.action = t0; }, filteredTransactionRulesSelector(selectionState, transactionRuleMap, transactionRuleList, transactionRuleListState) { var t1 = transactionRuleList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredTransactionRulesSelector_closure(transactionRuleMap, selectionState.filterEntityId, transactionRuleListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredTransactionRulesSelector_closure0(transactionRuleMap, transactionRuleListState)); return list; }, transactionStatsForTransactionRule(transactionRuleId, transactionMap) { var t1 = {}; t1.total = t1.countArchived = t1.countActive = 0; t1.currencyId = null; transactionMap._map$_map.forEach$1(0, new A.transactionStatsForTransactionRule_closure(t1, transactionRuleId)); return new A.EntityStats(t1.countActive, t1.countArchived, t1.total, t1.currencyId); }, memoizedFilteredTransactionRuleList_closure: function memoizedFilteredTransactionRuleList_closure() { }, filteredTransactionRulesSelector_closure: function filteredTransactionRulesSelector_closure(t0, t1, t2) { this.transactionRuleMap = t0; this.filterEntityId = t1; this.transactionRuleListState = t2; }, filteredTransactionRulesSelector_closure0: function filteredTransactionRulesSelector_closure0(t0, t1) { this.transactionRuleMap = t0; this.transactionRuleListState = t1; }, memoizedTransactionStatsForTransactionRule_closure: function memoizedTransactionStatsForTransactionRule_closure() { }, transactionStatsForTransactionRule_closure: function transactionStatsForTransactionRule_closure(t0, t1) { this._box_0 = t0; this.transactionRuleId = t1; }, _$TransactionRuleState$_(list, map) { var _s20_ = "TransactionRuleState"; A.BuiltValueNullFieldError_checkNotNull(map, _s20_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s20_, "list"); return new A._$TransactionRuleState(map, list); }, _$TransactionRuleUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s22_ = "TransactionRuleUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s22_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s22_, "tabIndex"); return new A._$TransactionRuleUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, TransactionRuleState: function TransactionRuleState() { }, TransactionRuleState_loadTransactionRules_closure0: function TransactionRuleState_loadTransactionRules_closure0() { }, TransactionRuleState_loadTransactionRules_closure1: function TransactionRuleState_loadTransactionRules_closure1() { }, TransactionRuleState_loadTransactionRules_closure: function TransactionRuleState_loadTransactionRules_closure(t0, t1) { this.$this = t0; this.map = t1; }, TransactionRuleUIState: function TransactionRuleUIState() { }, _$TransactionRuleStateSerializer: function _$TransactionRuleStateSerializer() { }, _$TransactionRuleUIStateSerializer: function _$TransactionRuleUIStateSerializer() { }, _$TransactionRuleState: function _$TransactionRuleState(t0, t1) { this.map = t0; this.list = t1; this._transaction_rule_state$__hashCode = null; }, TransactionRuleStateBuilder: function TransactionRuleStateBuilder() { this._transaction_rule_state$_list = this._transaction_rule_state$_map = this._transaction_rule_state$_$v = null; }, _$TransactionRuleUIState: function _$TransactionRuleUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._transaction_rule_state$__hashCode = null; }, TransactionRuleUIStateBuilder: function TransactionRuleUIStateBuilder() { var _ = this; _._transaction_rule_state$_cancelCompleter = _._transaction_rule_state$_saveCompleter = _._transaction_rule_state$_tabIndex = _._transaction_rule_state$_forceSelected = _._transaction_rule_state$_selectedId = _._transaction_rule_state$_listUIState = _._transaction_rule_state$_editing = _._transaction_rule_state$_$v = null; }, _TransactionRuleUIState_Object_EntityUIState: function _TransactionRuleUIState_Object_EntityUIState() { }, EntityUIState: function EntityUIState() { }, ListUIState_ListUIState(sortField, sortAscending) { var t1 = A.BuiltList_BuiltList$from(A._setArrayType([B.EntityState_active], type$.JSArray_EntityState), type$.EntityState), t2 = A.BuiltList_BuiltList$from(B.List_empty, type$.EntityStatus), t3 = type$.String; return A._$ListUIState$_(A.BuiltList_BuiltList$from(B.List_empty, t3), A.BuiltList_BuiltList$from(B.List_empty, t3), A.BuiltList_BuiltList$from(B.List_empty, t3), A.BuiltList_BuiltList$from(B.List_empty, t3), null, 0, null, sortAscending !== false, sortField, t1, t2); }, _$ListUIState$_(custom1Filters, custom2Filters, custom3Filters, custom4Filters, filter, filterClearedAt, selectedIds, sortAscending, sortField, stateFilters, statusFilters) { var _s11_ = "ListUIState"; A.BuiltValueNullFieldError_checkNotNull(filterClearedAt, _s11_, "filterClearedAt"); A.BuiltValueNullFieldError_checkNotNull(sortField, _s11_, "sortField"); A.BuiltValueNullFieldError_checkNotNull(sortAscending, _s11_, "sortAscending"); A.BuiltValueNullFieldError_checkNotNull(stateFilters, _s11_, "stateFilters"); A.BuiltValueNullFieldError_checkNotNull(statusFilters, _s11_, "statusFilters"); A.BuiltValueNullFieldError_checkNotNull(custom1Filters, _s11_, "custom1Filters"); A.BuiltValueNullFieldError_checkNotNull(custom2Filters, _s11_, "custom2Filters"); A.BuiltValueNullFieldError_checkNotNull(custom3Filters, _s11_, "custom3Filters"); A.BuiltValueNullFieldError_checkNotNull(custom4Filters, _s11_, "custom4Filters"); return new A._$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; }, prefReducer(state, action, selectedCompanyId) { return state.rebuild$1(new A.prefReducer_closure(selectedCompanyId, state, action)); }, _resortFields(value, entityType, field) { var t1, sortField = value._map$_map.$index(0, entityType); if (sortField == null) sortField = A._$PrefStateSortField$_(field !== "number", field); t1 = new A.PrefStateSortFieldBuilder(); A.ArgumentError_checkNotNull(sortField, "other"); t1._pref_state$_$v = sortField; new A._resortFields_closure(sortField, field).call$1(t1); return value.rebuild$1(new A._resortFields_closure0(entityType, t1._build$0())); }, companyPrefReducer(state, action) { var t2, t3, t1 = {}; t1.state = state; if (state == null) { t2 = A.BuiltList_BuiltList$from(B.List_empty, type$.HistoryRecord); A.BuiltValueNullFieldError_checkNotNull(t2, "CompanyPrefState", "historyList"); t2 = t1.state = new A._$CompanyPrefState(t2); } else t2 = state; t3 = new A.CompanyPrefStateBuilder(); A.ArgumentError_checkNotNull(t2, "other"); t3._pref_state$_$v = t2; new A.companyPrefReducer_closure(t1, action).call$1(t3); return t3._build$0(); }, _addToHistory(list, record) { var old, t1 = record.id, t2 = t1 == null; if (!t2 && B.JSString_methods.startsWith$1(t1, "-")) return list; if (record.entityType === B.EntityType_settings) if (B.JSString_methods.endsWith$1(t2 ? "" : t1, "/edit")) return list; old = A.IterableExtension_firstWhereOrNull(list, new A._addToHistory_closure(record)); if (old != null) return list.rebuild$1(new A._addToHistory_closure0(old, record)); else return list.rebuild$1(new A._addToHistory_closure1(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; }, sidebarViewerReducer_closure: function sidebarViewerReducer_closure() { }, sidebarViewerReducer__closure: function sidebarViewerReducer__closure(t0, t1) { this.entityType = t0; this.value = t1; }, sidebarViewerReducer__closure0: function sidebarViewerReducer__closure0(t0) { this.entityType = t0; }, menuVisibleReducer_closure: function menuVisibleReducer_closure() { }, menuVisibleReducer_closure0: function menuVisibleReducer_closure0() { }, textScaleFactorReducer_closure: function textScaleFactorReducer_closure() { }, historyVisibleReducer_closure: function historyVisibleReducer_closure() { }, historyVisibleReducer_closure0: function historyVisibleReducer_closure0() { }, hideTaskExtensionBannerReducer_closure: function hideTaskExtensionBannerReducer_closure() { }, hideGatewayWarningReducer_closure: function hideGatewayWarningReducer_closure() { }, hideReviewAppReducer_closure: function hideReviewAppReducer_closure() { }, hideReviewAppReducer_closure0: function hideReviewAppReducer_closure0() { }, hideReviewAppReducer_closure1: function hideReviewAppReducer_closure1() { }, hideOneYearReviewAppReducer_closure: function hideOneYearReviewAppReducer_closure() { }, hideOneYearReviewAppReducer_closure0: function hideOneYearReviewAppReducer_closure0() { }, hideTwoYearReviewAppReducer_closure: function hideTwoYearReviewAppReducer_closure() { }, 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() { }, darkModeTypeReducer_closure: function darkModeTypeReducer_closure() { }, darkModeSystemReducer_closure: function darkModeSystemReducer_closure() { }, statementIncludesReducer_closure: function statementIncludesReducer_closure() { }, enableTooltipsReducer_closure: function enableTooltipsReducer_closure() { }, enableFlexibleSearchReducer_closure: function enableFlexibleSearchReducer_closure() { }, enableNativeBrowserReducer_closure: function enableNativeBrowserReducer_closure() { }, persistDataReducer_closure: function persistDataReducer_closure() { }, showKanbanReducer_closure: function showKanbanReducer_closure() { }, isFilterVisibleReducer_closure: function isFilterVisibleReducer_closure() { }, longPressReducer_closure: function longPressReducer_closure() { }, tapSelectedToEditReducer_closure: function tapSelectedToEditReducer_closure() { }, downloadsFolderReducer_closure: function downloadsFolderReducer_closure() { }, isPreviewVisibleReducer_closure: function isPreviewVisibleReducer_closure() { }, isPreviewVisibleReducer_closure0: function isPreviewVisibleReducer_closure0() { }, isPreviewVisibleReducer_closure1: function isPreviewVisibleReducer_closure1() { }, isPreviewVisibleReducer_closure2: function isPreviewVisibleReducer_closure2() { }, isPreviewVisibleReducer_closure3: function isPreviewVisibleReducer_closure3() { }, isPreviewVisibleReducer_closure4: function isPreviewVisibleReducer_closure4() { }, isPreviewVisibleReducer_closure5: function isPreviewVisibleReducer_closure5() { }, isPreviewVisibleReducer_closure6: function isPreviewVisibleReducer_closure6() { }, isPreviewVisibleReducer_closure7: function isPreviewVisibleReducer_closure7() { }, isPreviewVisibleReducer_closure8: function isPreviewVisibleReducer_closure8() { }, isPreviewVisibleReducer_closure9: function isPreviewVisibleReducer_closure9() { }, isPreviewVisibleReducer_closure10: function isPreviewVisibleReducer_closure10() { }, isPreviewVisibleReducer_closure11: function isPreviewVisibleReducer_closure11() { }, isPreviewVisibleReducer_closure12: function isPreviewVisibleReducer_closure12() { }, isPreviewVisibleReducer_closure13: function isPreviewVisibleReducer_closure13() { }, isPreviewVisibleReducer_closure14: function isPreviewVisibleReducer_closure14() { }, requireAuthenticationReducer_closure: function requireAuthenticationReducer_closure() { }, colorThemeReducer_closure: function colorThemeReducer_closure() { }, darkColorThemeReducer_closure: function darkColorThemeReducer_closure() { }, showPdfPreviewReducer_closure: function showPdfPreviewReducer_closure() { }, showPdfPreviewSideBySideReducer_closure: function showPdfPreviewSideBySideReducer_closure() { }, editAfterSavingReducer_closure: function editAfterSavingReducer_closure() { }, enableTouchEventsReducer_closure: function enableTouchEventsReducer_closure() { }, customColorsReducer_closure: function customColorsReducer_closure() { }, darkCustomColorsReducer_closure: function darkCustomColorsReducer_closure() { }, companyPrefReducer_closure: function companyPrefReducer_closure(t0, t1) { this._box_0 = t0; this.action = t1; }, historyReducer_closure: function historyReducer_closure() { }, historyReducer_closure0: function historyReducer_closure0() { }, historyReducer__closure0: function historyReducer__closure0() { }, historyReducer_closure1: function historyReducer_closure1() { }, historyReducer__closure: function historyReducer__closure(t0, t1) { this.history = t0; this.action = t1; }, historyReducer___closure: function historyReducer___closure(t0) { this.action = t0; }, 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() { }, historyReducer_closure47: function historyReducer_closure47() { }, historyReducer_closure48: function historyReducer_closure48() { }, historyReducer_closure49: function historyReducer_closure49() { }, historyReducer_closure50: function historyReducer_closure50() { }, historyReducer_closure51: function historyReducer_closure51() { }, historyReducer_closure52: function historyReducer_closure52() { }, historyReducer_closure53: function historyReducer_closure53() { }, historyReducer_closure54: function historyReducer_closure54() { }, historyReducer_closure55: function historyReducer_closure55() { }, historyReducer_closure56: function historyReducer_closure56() { }, historyReducer_closure57: function historyReducer_closure57() { }, historyReducer_closure58: function historyReducer_closure58() { }, historyReducer_closure59: function historyReducer_closure59() { }, historyReducer_closure60: function historyReducer_closure60() { }, historyReducer_closure61: function historyReducer_closure61() { }, historyReducer_closure62: function historyReducer_closure62() { }, historyReducer_closure63: function historyReducer_closure63() { }, historyReducer_closure64: function historyReducer_closure64() { }, historyReducer_closure65: function historyReducer_closure65() { }, historyReducer_closure66: function historyReducer_closure66() { }, historyReducer_closure67: function historyReducer_closure67() { }, historyReducer_closure68: function historyReducer_closure68() { }, historyReducer_closure69: function historyReducer_closure69() { }, historyReducer_closure70: function historyReducer_closure70() { }, historyReducer_closure71: function historyReducer_closure71() { }, historyReducer_closure72: function historyReducer_closure72() { }, historyReducer_closure73: function historyReducer_closure73() { }, historyReducer_closure74: function historyReducer_closure74() { }, historyReducer_closure75: function historyReducer_closure75() { }, historyReducer_closure76: function historyReducer_closure76() { }, historyReducer_closure77: function historyReducer_closure77() { }, historyReducer_closure78: function historyReducer_closure78() { }, historyReducer_closure79: function historyReducer_closure79() { }, historyReducer_closure80: function historyReducer_closure80() { }, historyReducer_closure81: function historyReducer_closure81() { }, historyReducer_closure82: function historyReducer_closure82() { }, historyReducer_closure83: function historyReducer_closure83() { }, historyReducer_closure84: function historyReducer_closure84() { }, historyReducer_closure85: function historyReducer_closure85() { }, historyReducer_closure86: function historyReducer_closure86() { }, _addToHistory_closure: function _addToHistory_closure(t0) { this.record = t0; }, _addToHistory_closure0: function _addToHistory_closure0(t0, t1) { this.old = t0; this.record = t1; }, _addToHistory_closure1: function _addToHistory_closure1(t0, t1) { this.record = t0; this.list = t1; }, PrefState_PrefState() { var t4, t5, t6, t1 = type$.EntityType, t2 = type$.bool, t3 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, t2); t2 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, t2); t4 = type$.String; t5 = A.BuiltList_BuiltList$from(A._setArrayType(["payments"], type$.JSArray_String), t4); t6 = A.BuiltMap_BuiltMap(B.Map_empty1, t4, type$.CompanyPrefState); t1 = A.BuiltMap_BuiltMap(B.Map_empty1, t1, type$.PrefStateSortField); return A._$PrefState$_(B.AppLayout_desktop, "light", t6, A.BuiltMap_BuiltMap(B.Map_52Mqi, t4, t4), "dark", A.BuiltMap_BuiltMap(B.Map_empty1, t4, t4), "system", "", true, false, false, false, true, false, false, false, false, false, false, B.AppSidebarMode_float, false, false, true, false, true, B.AppSidebarMode_collapse, B.ModuleLayout_table, false, false, 10, false, true, false, t1, t5, false, 1, t3, t2); }, PrefState__initializeBuilder(builder) { var t2, t3, t1 = type$.String; builder.get$statementIncludes().replace$1(0, A.BuiltList_BuiltList$from(A._setArrayType(["payments"], type$.JSArray_String), t1)); t2 = type$.EntityType; t3 = type$.bool; builder.get$useSidebarEditor().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t2, t3)); builder.get$useSidebarViewer().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t2, t3)); builder.get$sortFields().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t2, type$.PrefStateSortField)); builder.get$customColors().replace$1(0, A.BuiltMap_BuiltMap(B.Map_52Mqi, t1, t1)); builder.get$darkCustomColors().replace$1(0, A.BuiltMap_BuiltMap(B.Map_empty1, t1, t1)); builder.get$_pref_state$_$this()._showKanban = false; builder.get$_pref_state$_$this()._isPreviewVisible = false; builder.get$_pref_state$_$this()._isFilterVisible = false; builder.get$_pref_state$_$this()._hideGatewayWarning = false; builder.get$_pref_state$_$this()._hideReviewApp = false; builder.get$_pref_state$_$this()._hideOneYearReviewApp = false; builder.get$_pref_state$_$this()._hideTwoYearReviewApp = false; builder.get$_pref_state$_$this()._tapSelectedToEdit = false; builder.get$_pref_state$_$this()._persistData = false; builder.get$_pref_state$_$this()._editAfterSaving = true; builder.get$_pref_state$_$this()._showPdfPreview = true; builder.get$_pref_state$_$this()._showPdfPreviewSideBySide = false; builder.get$_pref_state$_$this()._enableTouchEvents = false; builder.get$_pref_state$_$this()._enableFlexibleSearch = false; builder.get$_pref_state$_$this()._enableTooltips = true; builder.get$_pref_state$_$this()._enableNativeBrowser = false; builder.get$_pref_state$_$this()._textScaleFactor = 1; builder.get$_pref_state$_$this()._darkModeType = "system"; builder.get$_pref_state$_$this()._colorTheme = "light"; builder.get$_pref_state$_$this()._darkColorTheme = "dark"; builder.get$_pref_state$_$this()._enableDarkModeSystem = false; builder.get$_pref_state$_$this()._donwloadsFolder = ""; builder.get$_pref_state$_$this()._hideTaskExtensionBanner = false; return builder; }, HistoryRecord_HistoryRecord(entityType, id, page) { var t1 = Date.now(); return A._$HistoryRecord$_(entityType, id, page == null ? 0 : page, t1); }, _$valueOf($name) { switch ($name) { case "mobile": return B.AppLayout_mobile; case "desktop": return B.AppLayout_desktop; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, _$moduleLayoutValueOf($name) { switch ($name) { case "list": return B.ModuleLayout_list; case "table": return B.ModuleLayout_table; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, _$valueOfSidebarMode($name) { switch ($name) { case "float": return B.AppSidebarMode_float; case "visible": return B.AppSidebarMode_visible; case "collapse": return B.AppSidebarMode_collapse; default: throw A.wrapException(A.ArgumentError$($name, null)); } }, _$PrefState$_(appLayout, colorTheme, companyPrefs, customColors, darkColorTheme, darkCustomColors, darkModeType, donwloadsFolder, editAfterSaving, enableDarkModeSystem, enableFlexibleSearch, enableNativeBrowser, enableTooltips, enableTouchEvents, hideGatewayWarning, hideOneYearReviewApp, hideReviewApp, hideTaskExtensionBanner, hideTwoYearReviewApp, historySidebarMode, isFilterVisible, isHistoryVisible, isMenuVisible, isPreviewVisible, longPressSelectionIsDefault, menuSidebarMode, moduleLayout, persistData, requireAuthentication, rowsPerPage, showKanban, showPdfPreview, showPdfPreviewSideBySide, sortFields, statementIncludes, tapSelectedToEdit, textScaleFactor, useSidebarEditor, useSidebarViewer) { var _s9_ = "PrefState"; A.BuiltValueNullFieldError_checkNotNull(appLayout, _s9_, "appLayout"); A.BuiltValueNullFieldError_checkNotNull(moduleLayout, _s9_, "moduleLayout"); A.BuiltValueNullFieldError_checkNotNull(menuSidebarMode, _s9_, "menuSidebarMode"); A.BuiltValueNullFieldError_checkNotNull(historySidebarMode, _s9_, "historySidebarMode"); A.BuiltValueNullFieldError_checkNotNull(useSidebarEditor, _s9_, "useSidebarEditor"); A.BuiltValueNullFieldError_checkNotNull(useSidebarViewer, _s9_, "useSidebarViewer"); A.BuiltValueNullFieldError_checkNotNull(customColors, _s9_, "customColors"); A.BuiltValueNullFieldError_checkNotNull(darkCustomColors, _s9_, "darkCustomColors"); A.BuiltValueNullFieldError_checkNotNull(statementIncludes, _s9_, "statementIncludes"); A.BuiltValueNullFieldError_checkNotNull(isPreviewVisible, _s9_, "isPreviewVisible"); A.BuiltValueNullFieldError_checkNotNull(isMenuVisible, _s9_, "isMenuVisible"); A.BuiltValueNullFieldError_checkNotNull(showKanban, _s9_, "showKanban"); A.BuiltValueNullFieldError_checkNotNull(showPdfPreview, _s9_, "showPdfPreview"); A.BuiltValueNullFieldError_checkNotNull(showPdfPreviewSideBySide, _s9_, "showPdfPreviewSideBySide"); A.BuiltValueNullFieldError_checkNotNull(enableTouchEvents, _s9_, "enableTouchEvents"); A.BuiltValueNullFieldError_checkNotNull(enableFlexibleSearch, _s9_, "enableFlexibleSearch"); A.BuiltValueNullFieldError_checkNotNull(isHistoryVisible, _s9_, "isHistoryVisible"); A.BuiltValueNullFieldError_checkNotNull(darkModeType, _s9_, "darkModeType"); A.BuiltValueNullFieldError_checkNotNull(enableDarkModeSystem, _s9_, "enableDarkModeSystem"); A.BuiltValueNullFieldError_checkNotNull(isFilterVisible, _s9_, "isFilterVisible"); A.BuiltValueNullFieldError_checkNotNull(persistData, _s9_, "persistData"); A.BuiltValueNullFieldError_checkNotNull(longPressSelectionIsDefault, _s9_, "longPressSelectionIsDefault"); A.BuiltValueNullFieldError_checkNotNull(requireAuthentication, _s9_, "requireAuthentication"); A.BuiltValueNullFieldError_checkNotNull(tapSelectedToEdit, _s9_, "tapSelectedToEdit"); A.BuiltValueNullFieldError_checkNotNull(rowsPerPage, _s9_, "rowsPerPage"); A.BuiltValueNullFieldError_checkNotNull(enableTooltips, _s9_, "enableTooltips"); A.BuiltValueNullFieldError_checkNotNull(colorTheme, _s9_, "colorTheme"); A.BuiltValueNullFieldError_checkNotNull(darkColorTheme, _s9_, "darkColorTheme"); A.BuiltValueNullFieldError_checkNotNull(hideGatewayWarning, _s9_, "hideGatewayWarning"); A.BuiltValueNullFieldError_checkNotNull(hideReviewApp, _s9_, "hideReviewApp"); A.BuiltValueNullFieldError_checkNotNull(hideOneYearReviewApp, _s9_, "hideOneYearReviewApp"); A.BuiltValueNullFieldError_checkNotNull(hideTwoYearReviewApp, _s9_, "hideTwoYearReviewApp"); A.BuiltValueNullFieldError_checkNotNull(hideTaskExtensionBanner, _s9_, "hideTaskExtensionBanner"); A.BuiltValueNullFieldError_checkNotNull(editAfterSaving, _s9_, "editAfterSaving"); A.BuiltValueNullFieldError_checkNotNull(enableNativeBrowser, _s9_, "enableNativeBrowser"); A.BuiltValueNullFieldError_checkNotNull(textScaleFactor, _s9_, "textScaleFactor"); A.BuiltValueNullFieldError_checkNotNull(donwloadsFolder, _s9_, "donwloadsFolder"); A.BuiltValueNullFieldError_checkNotNull(sortFields, _s9_, "sortFields"); A.BuiltValueNullFieldError_checkNotNull(companyPrefs, _s9_, "companyPrefs"); return new A._$PrefState(appLayout, moduleLayout, menuSidebarMode, historySidebarMode, useSidebarEditor, useSidebarViewer, customColors, darkCustomColors, statementIncludes, isPreviewVisible, isMenuVisible, showKanban, showPdfPreview, showPdfPreviewSideBySide, enableTouchEvents, enableFlexibleSearch, isHistoryVisible, darkModeType, enableDarkModeSystem, isFilterVisible, persistData, longPressSelectionIsDefault, requireAuthentication, tapSelectedToEdit, rowsPerPage, enableTooltips, colorTheme, darkColorTheme, hideGatewayWarning, hideReviewApp, hideOneYearReviewApp, hideTwoYearReviewApp, hideTaskExtensionBanner, editAfterSaving, enableNativeBrowser, textScaleFactor, donwloadsFolder, sortFields, companyPrefs); }, _$PrefStateSortField$_(ascending, field) { var _s18_ = "PrefStateSortField"; A.BuiltValueNullFieldError_checkNotNull(field, _s18_, "field"); A.BuiltValueNullFieldError_checkNotNull(ascending, _s18_, "ascending"); return new A._$PrefStateSortField(field, ascending); }, _$HistoryRecord$_(entityType, id, page, timestamp) { var _s13_ = "HistoryRecord"; A.BuiltValueNullFieldError_checkNotNull(entityType, _s13_, "entityType"); A.BuiltValueNullFieldError_checkNotNull(timestamp, _s13_, "timestamp"); return new A._$HistoryRecord(id, entityType, page, timestamp); }, PrefState: function PrefState() { }, PrefStateSortField: function PrefStateSortField() { }, CompanyPrefState: function CompanyPrefState() { }, AppLayout: function AppLayout(t0) { this.name = t0; }, ModuleLayout: function ModuleLayout(t0) { this.name = t0; }, AppSidebar: function AppSidebar(t0) { this.name = t0; }, AppSidebarMode: function AppSidebarMode(t0) { this.name = t0; }, HistoryRecord: function HistoryRecord() { }, _$PrefStateSerializer: function _$PrefStateSerializer() { }, _$PrefStateSortFieldSerializer: function _$PrefStateSortFieldSerializer() { }, _$CompanyPrefStateSerializer: function _$CompanyPrefStateSerializer() { }, _$AppLayoutSerializer: function _$AppLayoutSerializer() { }, _$ModuleLayoutSerializer: function _$ModuleLayoutSerializer() { }, _$AppSidebarModeSerializer: function _$AppSidebarModeSerializer() { }, _$HistoryRecordSerializer: function _$HistoryRecordSerializer() { }, _$PrefState: function _$PrefState(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) { var _ = this; _.appLayout = t0; _.moduleLayout = t1; _.menuSidebarMode = t2; _.historySidebarMode = t3; _.useSidebarEditor = t4; _.useSidebarViewer = t5; _.customColors = t6; _.darkCustomColors = t7; _.statementIncludes = t8; _.isPreviewVisible = t9; _.isMenuVisible = t10; _.showKanban = t11; _.showPdfPreview = t12; _.showPdfPreviewSideBySide = t13; _.enableTouchEvents = t14; _.enableFlexibleSearch = t15; _.isHistoryVisible = t16; _.darkModeType = t17; _.enableDarkModeSystem = t18; _.isFilterVisible = t19; _.persistData = t20; _.longPressSelectionIsDefault = t21; _.requireAuthentication = t22; _.tapSelectedToEdit = t23; _.rowsPerPage = t24; _.enableTooltips = t25; _.colorTheme = t26; _.darkColorTheme = t27; _.hideGatewayWarning = t28; _.hideReviewApp = t29; _.hideOneYearReviewApp = t30; _.hideTwoYearReviewApp = t31; _.hideTaskExtensionBanner = t32; _.editAfterSaving = t33; _.enableNativeBrowser = t34; _.textScaleFactor = t35; _.donwloadsFolder = t36; _.sortFields = t37; _.companyPrefs = t38; _.__hashCode = null; }, PrefStateBuilder: function PrefStateBuilder() { var _ = this; _._hideGatewayWarning = _._darkColorTheme = _._colorTheme = _._enableTooltips = _._rowsPerPage = _._tapSelectedToEdit = _._requireAuthentication = _._longPressSelectionIsDefault = _._persistData = _._isFilterVisible = _._enableDarkModeSystem = _._darkModeType = _._isHistoryVisible = _._enableFlexibleSearch = _._enableTouchEvents = _._showPdfPreviewSideBySide = _._showPdfPreview = _._showKanban = _._isMenuVisible = _._isPreviewVisible = _._statementIncludes = _._darkCustomColors = _._customColors = _._useSidebarViewer = _._useSidebarEditor = _._historySidebarMode = _._menuSidebarMode = _._moduleLayout = _._appLayout = _._pref_state$_$v = null; _._companyPrefs = _._sortFields = _._donwloadsFolder = _._textScaleFactor = _._enableNativeBrowser = _._editAfterSaving = _._hideTaskExtensionBanner = _._hideTwoYearReviewApp = _._hideOneYearReviewApp = _._hideReviewApp = null; }, _$PrefStateSortField: function _$PrefStateSortField(t0, t1) { this.field = t0; this.ascending = t1; this.__hashCode = null; }, PrefStateSortFieldBuilder: function PrefStateSortFieldBuilder() { this._ascending = this._field = this._pref_state$_$v = null; }, _$CompanyPrefState: function _$CompanyPrefState(t0) { this.historyList = t0; this.__hashCode = null; }, CompanyPrefStateBuilder: function CompanyPrefStateBuilder() { this._historyList = this._pref_state$_$v = null; }, _$HistoryRecord: function _$HistoryRecord(t0, t1, t2, t3) { var _ = this; _.id = t0; _.entityType = t1; _.page = t2; _.timestamp = t3; _.__hashCode = null; }, HistoryRecordBuilder: function HistoryRecordBuilder() { var _ = this; _._timestamp = _._page = _._entityType = _._id = _._pref_state$_$v = null; }, UpdateCurrentRoute: function UpdateCurrentRoute(t0) { this.route = t0; }, uiReducer(state, action) { return state.rebuild$1(new A.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() { }, dismissedFlutterWebWarningReducer_closure: function dismissedFlutterWebWarningReducer_closure() { }, filterReducer_closure: function filterReducer_closure() { }, filterReducer_closure0: function filterReducer_closure0() { }, loadingEntityTypeReducer_closure: function loadingEntityTypeReducer_closure() { }, loadingEntityTypeReducer_closure0: function loadingEntityTypeReducer_closure0() { }, loadingEntityTypeReducer_closure1: function loadingEntityTypeReducer_closure1() { }, loadingEntityTypeReducer_closure2: function loadingEntityTypeReducer_closure2() { }, loadingEntityTypeReducer_closure3: function loadingEntityTypeReducer_closure3() { }, loadingEntityTypeReducer_closure4: function loadingEntityTypeReducer_closure4() { }, loadingEntityTypeReducer_closure5: function loadingEntityTypeReducer_closure5() { }, loadingEntityTypeReducer_closure6: function loadingEntityTypeReducer_closure6() { }, loadingEntityTypeReducer_closure7: function loadingEntityTypeReducer_closure7() { }, loadingEntityTypeReducer_closure8: function loadingEntityTypeReducer_closure8() { }, loadingEntityTypeReducer_closure9: function loadingEntityTypeReducer_closure9() { }, loadingEntityTypeReducer_closure10: function loadingEntityTypeReducer_closure10() { }, loadingEntityTypeReducer_closure11: function loadingEntityTypeReducer_closure11() { }, loadingEntityTypeReducer_closure12: function loadingEntityTypeReducer_closure12() { }, loadingEntityTypeReducer_closure13: function loadingEntityTypeReducer_closure13() { }, 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() { }, UIState__initializeBuilder(builder) { builder.get$_ui_state$_$this()._lastActivityAt = 0; builder.get$_ui_state$_$this()._dismissedFlutterWebWarning = false; builder.get$filterStack().replace$1(0, A.BuiltList_BuiltList$from(B.List_empty, type$.BaseEntity)); return builder; }, _$UIState$_(bankAccountUIState, clientUIState, companyGatewayUIState, creditUIState, currentRoute, dashboardUIState, designUIState, dismissedFlutterWebWarning, documentUIState, expenseCategoryUIState, expenseUIState, filter, filterClearedAt, filterStack, groupUIState, invoiceUIState, lastActivityAt, loadingEntityType, paymentTermUIState, paymentUIState, previewStack, previousRoute, productUIState, projectUIState, purchaseOrderUIState, quoteUIState, recurringExpenseUIState, recurringInvoiceUIState, reportsUIState, scheduleUIState, selectedCompanyIndex, settingsUIState, subscriptionUIState, taskStatusUIState, taskUIState, taxRateUIState, tokenUIState, transactionRuleUIState, transactionUIState, userUIState, vendorUIState, webhookUIState) { var _s7_ = "UIState"; A.BuiltValueNullFieldError_checkNotNull(selectedCompanyIndex, _s7_, "selectedCompanyIndex"); A.BuiltValueNullFieldError_checkNotNull(currentRoute, _s7_, "currentRoute"); A.BuiltValueNullFieldError_checkNotNull(previousRoute, _s7_, "previousRoute"); A.BuiltValueNullFieldError_checkNotNull(dismissedFlutterWebWarning, _s7_, "dismissedFlutterWebWarning"); A.BuiltValueNullFieldError_checkNotNull(previewStack, _s7_, "previewStack"); A.BuiltValueNullFieldError_checkNotNull(filterStack, _s7_, "filterStack"); A.BuiltValueNullFieldError_checkNotNull(filterClearedAt, _s7_, "filterClearedAt"); A.BuiltValueNullFieldError_checkNotNull(lastActivityAt, _s7_, "lastActivityAt"); A.BuiltValueNullFieldError_checkNotNull(dashboardUIState, _s7_, "dashboardUIState"); A.BuiltValueNullFieldError_checkNotNull(productUIState, _s7_, "productUIState"); A.BuiltValueNullFieldError_checkNotNull(clientUIState, _s7_, "clientUIState"); A.BuiltValueNullFieldError_checkNotNull(invoiceUIState, _s7_, "invoiceUIState"); A.BuiltValueNullFieldError_checkNotNull(scheduleUIState, _s7_, "scheduleUIState"); A.BuiltValueNullFieldError_checkNotNull(transactionRuleUIState, _s7_, "transactionRuleUIState"); A.BuiltValueNullFieldError_checkNotNull(transactionUIState, _s7_, "transactionUIState"); A.BuiltValueNullFieldError_checkNotNull(bankAccountUIState, _s7_, "bankAccountUIState"); A.BuiltValueNullFieldError_checkNotNull(purchaseOrderUIState, _s7_, "purchaseOrderUIState"); A.BuiltValueNullFieldError_checkNotNull(recurringExpenseUIState, _s7_, "recurringExpenseUIState"); A.BuiltValueNullFieldError_checkNotNull(subscriptionUIState, _s7_, "subscriptionUIState"); A.BuiltValueNullFieldError_checkNotNull(taskStatusUIState, _s7_, "taskStatusUIState"); A.BuiltValueNullFieldError_checkNotNull(expenseCategoryUIState, _s7_, "expenseCategoryUIState"); A.BuiltValueNullFieldError_checkNotNull(recurringInvoiceUIState, _s7_, "recurringInvoiceUIState"); A.BuiltValueNullFieldError_checkNotNull(webhookUIState, _s7_, "webhookUIState"); A.BuiltValueNullFieldError_checkNotNull(tokenUIState, _s7_, "tokenUIState"); A.BuiltValueNullFieldError_checkNotNull(paymentTermUIState, _s7_, "paymentTermUIState"); A.BuiltValueNullFieldError_checkNotNull(designUIState, _s7_, "designUIState"); A.BuiltValueNullFieldError_checkNotNull(creditUIState, _s7_, "creditUIState"); A.BuiltValueNullFieldError_checkNotNull(userUIState, _s7_, "userUIState"); A.BuiltValueNullFieldError_checkNotNull(taxRateUIState, _s7_, "taxRateUIState"); A.BuiltValueNullFieldError_checkNotNull(companyGatewayUIState, _s7_, "companyGatewayUIState"); A.BuiltValueNullFieldError_checkNotNull(groupUIState, _s7_, "groupUIState"); A.BuiltValueNullFieldError_checkNotNull(documentUIState, _s7_, "documentUIState"); A.BuiltValueNullFieldError_checkNotNull(expenseUIState, _s7_, "expenseUIState"); A.BuiltValueNullFieldError_checkNotNull(vendorUIState, _s7_, "vendorUIState"); A.BuiltValueNullFieldError_checkNotNull(taskUIState, _s7_, "taskUIState"); A.BuiltValueNullFieldError_checkNotNull(projectUIState, _s7_, "projectUIState"); A.BuiltValueNullFieldError_checkNotNull(paymentUIState, _s7_, "paymentUIState"); A.BuiltValueNullFieldError_checkNotNull(quoteUIState, _s7_, "quoteUIState"); A.BuiltValueNullFieldError_checkNotNull(settingsUIState, _s7_, "settingsUIState"); A.BuiltValueNullFieldError_checkNotNull(reportsUIState, _s7_, "reportsUIState"); return new A._$UIState(selectedCompanyIndex, currentRoute, previousRoute, dismissedFlutterWebWarning, loadingEntityType, previewStack, filterStack, filter, filterClearedAt, lastActivityAt, dashboardUIState, productUIState, clientUIState, invoiceUIState, scheduleUIState, transactionRuleUIState, transactionUIState, bankAccountUIState, purchaseOrderUIState, recurringExpenseUIState, subscriptionUIState, taskStatusUIState, expenseCategoryUIState, recurringInvoiceUIState, webhookUIState, tokenUIState, paymentTermUIState, designUIState, creditUIState, userUIState, taxRateUIState, companyGatewayUIState, groupUIState, documentUIState, expenseUIState, vendorUIState, taskUIState, projectUIState, paymentUIState, quoteUIState, settingsUIState, reportsUIState); }, UIState: function UIState() { }, UIState_mainRoute_closure: function UIState_mainRoute_closure() { }, UIState_subRoute_closure: function UIState_subRoute_closure() { }, UIState_previousMainRoute_closure: function UIState_previousMainRoute_closure() { }, UIState_previousSubRoute_closure: function UIState_previousSubRoute_closure() { }, _$UIStateSerializer: function _$UIStateSerializer() { }, _$UIState: function _$UIState(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) { var _ = this; _.selectedCompanyIndex = t0; _.currentRoute = t1; _.previousRoute = t2; _.dismissedFlutterWebWarning = t3; _.loadingEntityType = t4; _.previewStack = t5; _.filterStack = t6; _.filter = t7; _.filterClearedAt = t8; _.lastActivityAt = t9; _.dashboardUIState = t10; _.productUIState = t11; _.clientUIState = t12; _.invoiceUIState = t13; _.scheduleUIState = t14; _.transactionRuleUIState = t15; _.transactionUIState = t16; _.bankAccountUIState = t17; _.purchaseOrderUIState = t18; _.recurringExpenseUIState = t19; _.subscriptionUIState = t20; _.taskStatusUIState = t21; _.expenseCategoryUIState = t22; _.recurringInvoiceUIState = t23; _.webhookUIState = t24; _.tokenUIState = t25; _.paymentTermUIState = t26; _.designUIState = t27; _.creditUIState = t28; _.userUIState = t29; _.taxRateUIState = t30; _.companyGatewayUIState = t31; _.groupUIState = t32; _.documentUIState = t33; _.expenseUIState = t34; _.vendorUIState = t35; _.taskUIState = t36; _.projectUIState = t37; _.paymentUIState = t38; _.quoteUIState = t39; _.settingsUIState = t40; _.reportsUIState = t41; _._ui_state$__hashCode = null; }, UIStateBuilder: function UIStateBuilder() { var _ = this; _._creditUIState = _._designUIState = _._paymentTermUIState = _._tokenUIState = _._webhookUIState = _._recurringInvoiceUIState = _._expenseCategoryUIState = _._taskStatusUIState = _._subscriptionUIState = _._recurringExpenseUIState = _._purchaseOrderUIState = _._bankAccountUIState = _._transactionUIState = _._transactionRuleUIState = _._scheduleUIState = _._invoiceUIState = _._clientUIState = _._productUIState = _._dashboardUIState = _._lastActivityAt = _._filterClearedAt = _._filter = _._filterStack = _._previewStack = _._loadingEntityType = _._dismissedFlutterWebWarning = _._previousRoute = _._currentRoute = _._selectedCompanyIndex = _._ui_state$_$v = null; _._reportsUIState = _._settingsUIState = _._quoteUIState = _._paymentUIState = _._projectUIState = _._taskUIState = _._vendorUIState = _._expenseUIState = _._documentUIState = _._groupUIState = _._companyGatewayUIState = _._taxRateUIState = _._userUIState = null; }, handleUserAction(context, users, action) { var store, t1, t2, user, t3, userIds, message, _i, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (users.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); user = type$.UserEntity._as(B.JSArray_methods.get$first(users)); t3 = A._arrayInstanceType(users)._eval$1("MappedListIterable<1,String>"); userIds = A.List_List$of(new A.MappedListIterable(users, new A.handleUserAction_closure(), t3), true, t3._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_edit: A.editEntity(_null, user, true, _null); break; case B.EntityAction_newClient: A.createEntity(_null, _null, A.ClientEntity_ClientEntity(_null, _null, t1, _null).rebuild$1(new A.handleUserAction_closure0(user)), _null, false); break; case B.EntityAction_newInvoice: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, _null, _null, t1, _null, _null).rebuild$1(new A.handleUserAction_closure1(user)), _null, false); break; case B.EntityAction_newRecurringInvoice: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_recurringInvoice, _null, t1, _null, _null).rebuild$1(new A.handleUserAction_closure2(user)), _null, false); break; case B.EntityAction_newQuote: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_quote, _null, t1, _null, _null).rebuild$1(new A.handleUserAction_closure3(user)), _null, false); break; case B.EntityAction_newCredit: A.createEntity(_null, _null, A.InvoiceEntity_InvoiceEntity(_null, B.EntityType_credit, _null, t1, _null, _null).rebuild$1(new A.handleUserAction_closure4(user)), _null, false); break; case B.EntityAction_newExpense: A.createEntity(_null, _null, A.ExpenseEntity_ExpenseEntity(_null, _null, _null, _null, t1, _null, _null).rebuild$1(new A.handleUserAction_closure5(user)), _null, false); break; case B.EntityAction_newPayment: A.createEntity(_null, _null, A.PaymentEntity_PaymentEntity(_null, _null, t1).rebuild$1(new A.handleUserAction_closure6(user)), _null, false); break; case B.EntityAction_newProject: A.createEntity(_null, _null, A.ProjectEntity_ProjectEntity(_null, _null, t1, _null).rebuild$1(new A.handleUserAction_closure7(user)), _null, false); break; case B.EntityAction_newTask: A.createEntity(_null, _null, A.TaskEntity_TaskEntity(_null, _null, _null, t1, _null).rebuild$1(new A.handleUserAction_closure8(user)), _null, false); break; case B.EntityAction_newVendor: A.createEntity(_null, _null, A.VendorEntity_VendorEntity(_null, t1, _null).rebuild$1(new A.handleUserAction_closure9(user)), _null, false); break; case B.EntityAction_restore: t1 = userIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_users"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_user"); t1.toString; message = t1; } A.passwordCallback(false, new A.handleUserAction_closure10(new A.handleUserAction_closure11(store, message, userIds)), context, false); break; case B.EntityAction_archive: t1 = userIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_users"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_user"); t1.toString; message = t1; } A.passwordCallback(false, new A.handleUserAction_closure12(new A.handleUserAction_closure13(store, message, userIds)), context, false); break; case B.EntityAction_delete: t1 = userIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_users"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_user"); t1.toString; message = t1; } A.passwordCallback(false, new A.handleUserAction_closure14(new A.handleUserAction_closure15(store, message, userIds)), context, false); break; case B.EntityAction_newRecurringExpense: A.createEntity(_null, _null, A.ExpenseEntity_ExpenseEntity(_null, B.EntityType_recurringExpense, _null, _null, t1, user, _null), _null, false); break; case B.EntityAction_remove: t1 = userIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "removed_users"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "removed_user"); t1.toString; message = t1; } A.confirmCallback(false, new A.handleUserAction_closure16(context, new A.handleUserAction_closure17(store, message, user)), context, _null, false, _null); break; case B.EntityAction_toggleMultiselect: if (store.__Store__state_A.uiState.userUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartUserMultiselect()); } t1 = users.length; if (t1 === 0) break; for (_i = 0; _i < users.length; users.length === t1 || (0, A.throwConcurrentModificationError)(users), ++_i) { user = users[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(user); t2 = t2.userUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToUserMultiselect(user)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromUserMultiselect(user)); } } break; case B.EntityAction_resendInvite: A.passwordCallback(false, new A.handleUserAction_closure18(store, user, t2), context, false); break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([user], type$.JSArray_BaseEntity), false); break; } }, ViewUserList: function ViewUserList() { }, ViewUser: function ViewUser(t0) { this.userId = t0; }, EditUser: function EditUser(t0) { this.user = t0; }, UpdateUser: function UpdateUser(t0) { this.user = t0; }, LoadUserRequest: function LoadUserRequest() { }, LoadUserFailure: function LoadUserFailure(t0) { this.error = t0; }, LoadUserSuccess: function LoadUserSuccess(t0) { this.user = t0; }, LoadUsersRequest: function LoadUsersRequest() { }, LoadUsersFailure: function LoadUsersFailure(t0) { this.error = t0; }, LoadUsersSuccess: function LoadUsersSuccess(t0) { this.users = t0; }, SaveUserRequest: function SaveUserRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.user = t1; _.password = t2; _.idToken = t3; }, SaveUserSuccess: function SaveUserSuccess(t0) { this.user = t0; }, AddUserSuccess: function AddUserSuccess(t0) { this.user = t0; }, SaveUserFailure: function SaveUserFailure() { }, ArchiveUserRequest: function ArchiveUserRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.userIds = t1; _.password = t2; _.idToken = t3; }, ArchiveUserSuccess: function ArchiveUserSuccess(t0) { this.users = t0; }, ArchiveUserFailure: function ArchiveUserFailure() { }, DeleteUserRequest: function DeleteUserRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.userIds = t1; _.password = t2; _.idToken = t3; }, DeleteUserSuccess: function DeleteUserSuccess(t0) { this.users = t0; }, DeleteUserFailure: function DeleteUserFailure() { }, RestoreUserRequest: function RestoreUserRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.userIds = t1; _.password = t2; _.idToken = t3; }, RestoreUserSuccess: function RestoreUserSuccess(t0) { this.users = t0; }, RestoreUserFailure: function RestoreUserFailure() { }, RemoveUserRequest: function RemoveUserRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.userId = t1; _.password = t2; _.idToken = t3; }, RemoveUserSuccess: function RemoveUserSuccess(t0) { this.userId = t0; }, RemoveUserFailure: function RemoveUserFailure() { }, ResendInviteRequest: function ResendInviteRequest(t0, t1, t2, t3) { var _ = this; _.completer = t0; _.userId = t1; _.password = t2; _.idToken = t3; }, ResendInviteSuccess: function ResendInviteSuccess() { }, ResendInviteFailure: function ResendInviteFailure() { }, FilterUsers: function FilterUsers(t0) { this.filter = t0; }, SortUsers: function SortUsers(t0) { this.field = t0; }, FilterUsersByState: function FilterUsersByState(t0) { this.state = t0; }, FilterUsersByCustom1: function FilterUsersByCustom1(t0) { this.value = t0; }, FilterUsersByCustom2: function FilterUsersByCustom2(t0) { this.value = t0; }, FilterUsersByCustom3: function FilterUsersByCustom3(t0) { this.value = t0; }, FilterUsersByCustom4: function FilterUsersByCustom4(t0) { this.value = t0; }, handleUserAction_closure: function handleUserAction_closure() { }, handleUserAction_closure0: function handleUserAction_closure0(t0) { this.user = t0; }, handleUserAction_closure1: function handleUserAction_closure1(t0) { this.user = t0; }, handleUserAction_closure2: function handleUserAction_closure2(t0) { this.user = t0; }, handleUserAction_closure3: function handleUserAction_closure3(t0) { this.user = t0; }, handleUserAction_closure4: function handleUserAction_closure4(t0) { this.user = t0; }, handleUserAction_closure5: function handleUserAction_closure5(t0) { this.user = t0; }, handleUserAction_closure6: function handleUserAction_closure6(t0) { this.user = t0; }, handleUserAction_closure7: function handleUserAction_closure7(t0) { this.user = t0; }, handleUserAction_closure8: function handleUserAction_closure8(t0) { this.user = t0; }, handleUserAction_closure9: function handleUserAction_closure9(t0) { this.user = t0; }, handleUserAction_closure11: function handleUserAction_closure11(t0, t1, t2) { this.store = t0; this.message = t1; this.userIds = t2; }, handleUserAction_closure10: function handleUserAction_closure10(t0) { this.dispatch = t0; }, handleUserAction_closure13: function handleUserAction_closure13(t0, t1, t2) { this.store = t0; this.message = t1; this.userIds = t2; }, handleUserAction_closure12: function handleUserAction_closure12(t0) { this.dispatch = t0; }, handleUserAction_closure15: function handleUserAction_closure15(t0, t1, t2) { this.store = t0; this.message = t1; this.userIds = t2; }, handleUserAction_closure14: function handleUserAction_closure14(t0) { this.dispatch = t0; }, handleUserAction_closure17: function handleUserAction_closure17(t0, t1, t2) { this.store = t0; this.message = t1; this.user = t2; }, handleUserAction_closure16: function handleUserAction_closure16(t0, t1) { this.context = t0; this.dispatch = t1; }, handleUserAction__closure: function handleUserAction__closure(t0) { this.dispatch = t0; }, handleUserAction_closure18: function handleUserAction_closure18(t0, t1, t2) { this.store = t0; this.user = t1; this.localization = t2; }, StartUserMultiselect: function StartUserMultiselect() { }, AddToUserMultiselect: function AddToUserMultiselect(t0) { this.entity = t0; }, RemoveFromUserMultiselect: function RemoveFromUserMultiselect(t0) { this.entity = t0; }, ClearUserMultiselect: function ClearUserMultiselect() { }, _editUser() { return new A._editUser_closure(); }, _viewUser() { return new A._viewUser_closure(); }, _viewUserList() { return new A._viewUserList_closure0(); }, _archiveUser(repository) { return new A._archiveUser_closure(repository); }, _deleteUser(repository) { return new A._deleteUser_closure(repository); }, _restoreUser(repository) { return new A._restoreUser_closure(repository); }, _removeUser(repository) { return new A._removeUser_closure(repository); }, _resendInvite(repository) { return new A._resendInvite_closure(repository); }, _saveUser(repository) { return new A._saveUser_closure(repository); }, _loadUser(repository) { return new A._loadUser_closure(repository); }, _loadUsers(repository) { return new A._loadUsers_closure(repository); }, _editUser_closure: function _editUser_closure() { }, _viewUser_closure: function _viewUser_closure() { }, _viewUserList_closure0: function _viewUserList_closure0() { }, _viewUserList__closure: function _viewUserList__closure() { }, _archiveUser_closure: function _archiveUser_closure(t0) { this.repository = t0; }, _archiveUser__closure: function _archiveUser__closure(t0) { this.store = t0; }, _archiveUser__closure0: function _archiveUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveUser__closure1: function _archiveUser__closure1(t0, t1, t2) { this.store = t0; this.prevUsers = t1; this.action = t2; }, _deleteUser_closure: function _deleteUser_closure(t0) { this.repository = t0; }, _deleteUser__closure: function _deleteUser__closure(t0) { this.store = t0; }, _deleteUser__closure0: function _deleteUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteUser__closure1: function _deleteUser__closure1(t0, t1, t2) { this.store = t0; this.prevUsers = t1; this.action = t2; }, _restoreUser_closure: function _restoreUser_closure(t0) { this.repository = t0; }, _restoreUser__closure: function _restoreUser__closure(t0) { this.store = t0; }, _restoreUser__closure0: function _restoreUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreUser__closure1: function _restoreUser__closure1(t0, t1, t2) { this.store = t0; this.prevUsers = t1; this.action = t2; }, _removeUser_closure: function _removeUser_closure(t0) { this.repository = t0; }, _removeUser__closure: function _removeUser__closure(t0, t1) { this.store = t0; this.action = t1; }, _removeUser__closure0: function _removeUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _resendInvite_closure: function _resendInvite_closure(t0) { this.repository = t0; }, _resendInvite__closure: function _resendInvite__closure(t0, t1) { this.store = t0; this.action = t1; }, _resendInvite__closure0: function _resendInvite__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveUser_closure: function _saveUser_closure(t0) { this.repository = t0; }, _saveUser__closure: function _saveUser__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveUser__closure0: function _saveUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadUser_closure: function _loadUser_closure(t0) { this.repository = t0; }, _loadUser__closure: function _loadUser__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadUser__closure0: function _loadUser__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadUsers_closure: function _loadUsers_closure(t0) { this.repository = t0; }, _loadUsers__closure: function _loadUsers__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadUsers__closure0: function _loadUsers__closure0(t0, t1) { this.store = t0; this.action = t1; }, userUIReducer(state, action) { var t1 = new A.UserUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._user_state$_$v = state; new A.userUIReducer_closure(state, action).call$1(t1); return t1._user_state$_build$0(); }, _clearEditing23(user, action) { return A.UserEntity_UserEntity(null, null, null); }, _updateEditing24(user, action) { return J.get$user$x(action); }, _viewUserList0(userListState, action) { return userListState.rebuild$1(new A._viewUserList_closure()); }, _filterUsersByCustom1(userListState, action) { if (B.JSArray_methods.contains$1(userListState.custom1Filters._list$_list, action.value)) return userListState.rebuild$1(new A._filterUsersByCustom1_closure(action)); else return userListState.rebuild$1(new A._filterUsersByCustom1_closure0(action)); }, _filterUsersByCustom2(userListState, action) { if (B.JSArray_methods.contains$1(userListState.custom2Filters._list$_list, action.value)) return userListState.rebuild$1(new A._filterUsersByCustom2_closure(action)); else return userListState.rebuild$1(new A._filterUsersByCustom2_closure0(action)); }, _filterUsersByCustom3(userListState, action) { if (B.JSArray_methods.contains$1(userListState.custom3Filters._list$_list, action.value)) return userListState.rebuild$1(new A._filterUsersByCustom3_closure(action)); else return userListState.rebuild$1(new A._filterUsersByCustom3_closure0(action)); }, _filterUsersByCustom4(userListState, action) { if (B.JSArray_methods.contains$1(userListState.custom4Filters._list$_list, action.value)) return userListState.rebuild$1(new A._filterUsersByCustom4_closure(action)); else return userListState.rebuild$1(new A._filterUsersByCustom4_closure0(action)); }, _filterUsersByState(userListState, action) { if (B.JSArray_methods.contains$1(userListState.stateFilters._list$_list, action.state)) return userListState.rebuild$1(new A._filterUsersByState_closure(action)); else return userListState.rebuild$1(new A._filterUsersByState_closure0(action)); }, _filterUsers(userListState, action) { return userListState.rebuild$1(new A._filterUsers_closure(action, userListState)); }, _sortUsers(userListState, action) { return userListState.rebuild$1(new A._sortUsers_closure(action)); }, _startListMultiselect25(userListState, action) { return userListState.rebuild$1(new A._startListMultiselect_closure9()); }, _addToListMultiselect25(userListState, action) { return userListState.rebuild$1(new A._addToListMultiselect_closure9(action)); }, _removeFromListMultiselect25(userListState, action) { return userListState.rebuild$1(new A._removeFromListMultiselect_closure9(action)); }, _clearListMultiselect25(userListState, action) { return userListState.rebuild$1(new A._clearListMultiselect_closure9()); }, _archiveUserSuccess(userState, action) { return userState.rebuild$1(new A._archiveUserSuccess_closure(action)); }, _deleteUserSuccess(userState, action) { return userState.rebuild$1(new A._deleteUserSuccess_closure(action)); }, _restoreUserSuccess(userState, action) { return userState.rebuild$1(new A._restoreUserSuccess_closure(action)); }, _removeUserSuccess(userState, action) { return userState.rebuild$1(new A._removeUserSuccess_closure(action)); }, _addUser(userState, action) { return userState.rebuild$1(new A._addUser_closure(action)); }, _updateUser(userState, action) { return userState.rebuild$1(new A._updateUser_closure(action)); }, _updateAuthUser(userState, action) { return userState.rebuild$1(new A._updateAuthUser_closure(action)); }, _connectOAuthUser0(userState, action) { return userState.rebuild$1(new A._connectOAuthUser_closure(action)); }, _disconnectOAuthUser0(userState, action) { return userState.rebuild$1(new A._disconnectOAuthUser_closure(action)); }, _disconnectOAuthMailer0(userState, action) { return userState.rebuild$1(new A._disconnectOAuthMailer_closure(action)); }, _connectGmailUser0(userState, action) { return userState.rebuild$1(new A._connectGmailUser_closure(action)); }, _setLoadedUser(userState, action) { return userState.rebuild$1(new A._setLoadedUser_closure(action)); }, _setLoadedUsers(userState, action) { var state = userState.rebuild$1(new A._setLoadedUsers_closure(action)); return state.rebuild$1(new A._setLoadedUsers_closure0(state)); }, _setLoadedCompany25(userState, action) { var state = userState.rebuild$1(new A._setLoadedCompany_closure5(action)); return state.rebuild$1(new A._setLoadedCompany_closure6(state)); }, userUIReducer_closure: function userUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure76: function forceSelectedReducer_closure76() { }, forceSelectedReducer_closure77: function forceSelectedReducer_closure77() { }, forceSelectedReducer_closure78: function forceSelectedReducer_closure78() { }, 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() { }, selectedIdReducer_closure146: function selectedIdReducer_closure146() { }, selectedIdReducer_closure147: function selectedIdReducer_closure147() { }, selectedIdReducer_closure148: function selectedIdReducer_closure148() { }, selectedIdReducer_closure149: function selectedIdReducer_closure149() { }, selectedIdReducer_closure150: function selectedIdReducer_closure150() { }, selectedIdReducer_closure151: function selectedIdReducer_closure151() { }, selectedIdReducer_closure152: function selectedIdReducer_closure152() { }, selectedIdReducer_closure153: function selectedIdReducer_closure153() { }, selectedIdReducer_closure154: function selectedIdReducer_closure154() { }, selectedIdReducer_closure155: function selectedIdReducer_closure155() { }, selectedIdReducer_closure156: function selectedIdReducer_closure156() { }, selectedIdReducer_closure157: function selectedIdReducer_closure157() { }, selectedIdReducer_closure158: function selectedIdReducer_closure158() { }, selectedIdReducer_closure159: function selectedIdReducer_closure159() { }, selectedIdReducer_closure160: function selectedIdReducer_closure160() { }, selectedIdReducer_closure161: function selectedIdReducer_closure161() { }, editingReducer_closure45: function editingReducer_closure45() { }, editingReducer_closure46: function editingReducer_closure46() { }, editingReducer_closure47: function editingReducer_closure47() { }, editingReducer_closure48: function editingReducer_closure48() { }, editingReducer__closure15: function editingReducer__closure15() { }, userListReducer_closure: function userListReducer_closure() { }, userListReducer__closure: function userListReducer__closure() { }, _viewUserList_closure: function _viewUserList_closure() { }, _filterUsersByCustom1_closure: function _filterUsersByCustom1_closure(t0) { this.action = t0; }, _filterUsersByCustom1_closure0: function _filterUsersByCustom1_closure0(t0) { this.action = t0; }, _filterUsersByCustom2_closure: function _filterUsersByCustom2_closure(t0) { this.action = t0; }, _filterUsersByCustom2_closure0: function _filterUsersByCustom2_closure0(t0) { this.action = t0; }, _filterUsersByCustom3_closure: function _filterUsersByCustom3_closure(t0) { this.action = t0; }, _filterUsersByCustom3_closure0: function _filterUsersByCustom3_closure0(t0) { this.action = t0; }, _filterUsersByCustom4_closure: function _filterUsersByCustom4_closure(t0) { this.action = t0; }, _filterUsersByCustom4_closure0: function _filterUsersByCustom4_closure0(t0) { this.action = t0; }, _filterUsersByState_closure: function _filterUsersByState_closure(t0) { this.action = t0; }, _filterUsersByState_closure0: function _filterUsersByState_closure0(t0) { this.action = t0; }, _filterUsers_closure: function _filterUsers_closure(t0, t1) { this.action = t0; this.userListState = t1; }, _sortUsers_closure: function _sortUsers_closure(t0) { this.action = t0; }, _startListMultiselect_closure9: function _startListMultiselect_closure9() { }, _addToListMultiselect_closure9: function _addToListMultiselect_closure9(t0) { this.action = t0; }, _removeFromListMultiselect_closure9: function _removeFromListMultiselect_closure9(t0) { this.action = t0; }, _clearListMultiselect_closure9: function _clearListMultiselect_closure9() { }, _archiveUserSuccess_closure: function _archiveUserSuccess_closure(t0) { this.action = t0; }, _deleteUserSuccess_closure: function _deleteUserSuccess_closure(t0) { this.action = t0; }, _restoreUserSuccess_closure: function _restoreUserSuccess_closure(t0) { this.action = t0; }, _removeUserSuccess_closure: function _removeUserSuccess_closure(t0) { this.action = t0; }, _addUser_closure: function _addUser_closure(t0) { this.action = t0; }, _updateUser_closure: function _updateUser_closure(t0) { this.action = t0; }, _updateAuthUser_closure: function _updateAuthUser_closure(t0) { this.action = t0; }, _connectOAuthUser_closure: function _connectOAuthUser_closure(t0) { this.action = t0; }, _disconnectOAuthUser_closure: function _disconnectOAuthUser_closure(t0) { this.action = t0; }, _disconnectOAuthMailer_closure: function _disconnectOAuthMailer_closure(t0) { this.action = t0; }, _connectGmailUser_closure: function _connectGmailUser_closure(t0) { this.action = t0; }, _setLoadedUser_closure: function _setLoadedUser_closure(t0) { this.action = t0; }, _setLoadedUsers_closure: function _setLoadedUsers_closure(t0) { this.action = t0; }, _setLoadedUsers__closure: function _setLoadedUsers__closure() { }, _setLoadedUsers__closure0: function _setLoadedUsers__closure0() { }, _setLoadedUsers_closure0: function _setLoadedUsers_closure0(t0) { this.state = t0; }, _setLoadedCompany_closure5: function _setLoadedCompany_closure5(t0) { this.action = t0; }, _setLoadedCompany__closure5: function _setLoadedCompany__closure5() { }, _setLoadedCompany__closure6: function _setLoadedCompany__closure6() { }, _setLoadedCompany_closure6: function _setLoadedCompany_closure6(t0) { this.state = t0; }, filteredUsersSelector(selectionState, userMap, userList, userListState, authUserId) { var t1 = userList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredUsersSelector_closure(userMap, selectionState, userListState, authUserId), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredUsersSelector_closure0(userMap, userListState)); return list; }, userList(userMap) { var t1 = userMap.get$keys(0), t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>"), list = A.List_List$of(new A.WhereIterable(t1, new A.userList_closure(userMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.userList_closure0(userMap)); return list; }, gmailUserList(userMap) { var t1 = A.userList(userMap), t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"); return A.List_List$of(new A.WhereIterable(t1, new A.gmailUserList_closure(userMap), t2), true, t2._eval$1("Iterable.E")); }, microsoftUserList(userMap) { var t1 = A.userList(userMap), t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"); return A.List_List$of(new A.WhereIterable(t1, new A.microsoftUserList_closure(userMap), t2), true, t2._eval$1("Iterable.E")); }, memoizedFilteredUserList_closure: function memoizedFilteredUserList_closure() { }, filteredUsersSelector_closure: function filteredUsersSelector_closure(t0, t1, t2, t3) { var _ = this; _.userMap = t0; _.selectionState = t1; _.userListState = t2; _.authUserId = t3; }, filteredUsersSelector_closure0: function filteredUsersSelector_closure0(t0, t1) { this.userMap = t0; this.userListState = t1; }, memoizedUserList_closure: function memoizedUserList_closure() { }, userList_closure: function userList_closure(t0) { this.userMap = t0; }, userList_closure0: function userList_closure0(t0) { this.userMap = t0; }, memoizedGmailUserList_closure: function memoizedGmailUserList_closure() { }, gmailUserList_closure: function gmailUserList_closure(t0) { this.userMap = t0; }, memoizedMicrosoftUserList_closure: function memoizedMicrosoftUserList_closure() { }, microsoftUserList_closure: function microsoftUserList_closure(t0) { this.userMap = t0; }, _$UserState$_(list, map) { var _s9_ = "UserState"; A.BuiltValueNullFieldError_checkNotNull(map, _s9_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s9_, "list"); return new A._$UserState(map, list); }, _$UserUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s11_ = "UserUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s11_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s11_, "tabIndex"); return new A._$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() { }, handleVendorAction(context, vendors, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, store, t1, t2, t3, vendor, t4, vendorIds, message, _i, documentIds, t5, t6; var $async$handleVendorAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if (vendors.length === 0) { // goto return $async$goto = 1; break; } context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = type$.VendorEntity; vendor = t3._as(B.JSArray_methods.get$first(vendors)); t4 = A._arrayInstanceType(vendors)._eval$1("MappedListIterable<1,String>"); vendorIds = A.List_List$of(new A.MappedListIterable(vendors, new A.handleVendorAction_closure(), t4), true, t4._eval$1("ListIterable.E")); case 3: // switch switch (action) { case B.EntityAction_edit: // goto case $async$goto = 5; break; case B.EntityAction_vendorPortal: // goto case $async$goto = 6; break; case B.EntityAction_newPurchaseOrder: // goto case $async$goto = 7; break; case B.EntityAction_newExpense: // goto case $async$goto = 8; break; case B.EntityAction_newRecurringExpense: // goto case $async$goto = 9; break; case B.EntityAction_restore: // goto case $async$goto = 10; break; case B.EntityAction_archive: // goto case $async$goto = 11; break; case B.EntityAction_delete: // goto case $async$goto = 12; break; case B.EntityAction_bulkUpdate: // goto case $async$goto = 13; break; case B.EntityAction_merge: // goto case $async$goto = 14; break; case B.EntityAction_toggleMultiselect: // goto case $async$goto = 15; break; case B.EntityAction_more: // goto case $async$goto = 16; break; case B.EntityAction_documents: // goto case $async$goto = 17; break; case B.EntityAction_addComment: // goto case $async$goto = 18; break; default: // goto default $async$goto = 19; break; } break; case 5: // case A.editEntity(null, vendor, true, null); // goto after switch $async$goto = 4; break; case 6: // case A.launchUrl(A.Uri_parse(B.JSArray_methods.firstWhere$2$orElse(vendor.contacts._list$_list, new A.handleVendorAction_closure0(), null).link + "?silent=true", 0, null)); // goto after switch $async$goto = 4; break; case 7: // case A.createEntity(null, null, A.InvoiceEntity_InvoiceEntity(null, B.EntityType_purchaseOrder, null, t1, null, vendor), null, false); // goto after switch $async$goto = 4; break; case 8: // case A.createEntity(null, null, A.ExpenseEntity_ExpenseEntity(null, null, null, null, t1, null, vendor), null, false); // goto after switch $async$goto = 4; break; case 9: // case A.createEntity(null, null, A.ExpenseEntity_ExpenseEntity(null, B.EntityType_recurringExpense, null, null, t1, null, vendor), null, false); // goto after switch $async$goto = 4; break; case 10: // case t1 = vendorIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "restored_vendors"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_vendor"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreVendorRequest(t1, vendorIds)); // goto after switch $async$goto = 4; break; case 11: // case t1 = vendorIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "archived_vendors"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_vendor"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveVendorRequest(t1, vendorIds)); // goto after switch $async$goto = 4; break; case 12: // case t1 = vendorIds.length; if (t1 > 1) { t2.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t2.toString; t2 = J.$index$asx(t2, "deleted_vendors"); t2.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t2, ":value", ":count"), ":count", B.JSInt_methods.toString$0(t1)); } else { t2.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t2.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_vendor"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteVendorRequest(t1, vendorIds)); // goto after switch $async$goto = 4; break; case 13: // case A.showDialog(null, null, false, null, new A.handleVendorAction_closure1(vendors), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 14: // case A.showDialog(null, null, true, null, new A.handleVendorAction_closure2(vendor), context, null, true, type$.void); // goto after switch $async$goto = 4; break; case 15: // case if (store.__Store__state_A.uiState.vendorUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartVendorMultiselect()); } t1 = vendors.length; if (t1 === 0) { // goto after switch $async$goto = 4; break; } for (_i = 0; _i < vendors.length; vendors.length === t1 || (0, A.throwConcurrentModificationError)(vendors), ++_i) { vendor = vendors[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(vendor); t2 = t2.vendorUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToVendorMultiselect(vendor)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromVendorMultiselect(vendor)); } } // goto after switch $async$goto = 4; break; case 16: // case A.showEntityActionsDialog(null, A._setArrayType([vendor], type$.JSArray_BaseEntity), false); // goto after switch $async$goto = 4; break; case 17: // case documentIds = A._setArrayType([], type$.JSArray_String); for (t1 = vendors.length, _i = 0; _i < vendors.length; vendors.length === t1 || (0, A.throwConcurrentModificationError)(vendors), ++_i) for (t4 = t3._as(vendors[_i]).documents._list$_list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t5 = t5._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; documentIds.push((t6 == null ? t5._as(t6) : t6).id); } if (documentIds.length === 0) A.showMessageDialog(t2.get$noDocumentsToDownload(), null); else { t1 = A.snackBarCompleter(t2.get$exportedData(), null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DownloadDocumentsRequest(t1, documentIds)); } // goto after switch $async$goto = 4; break; case 18: // case t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; $async$goto = 20; return A._asyncAwait(A.showDialog(null, null, false, null, new A.handleVendorAction_closure3(vendor), t1, null, true, type$.bool), $async$handleVendorAction); case 20: // returning from await. if ($async$result === true) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.LoadVendor(null, vendor.id)); } // goto after switch $async$goto = 4; break; case 19: // default A.print("## ERROR: unhandled action " + A.S(action) + " in vendor_actions"); // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleVendorAction, $async$completer); }, ViewVendorList: function ViewVendorList(t0) { this.page = t0; }, ViewVendor: function ViewVendor(t0) { this.vendorId = t0; }, EditVendor: function EditVendor(t0, t1, t2) { this.vendor = t0; this.completer = t1; this.cancelCompleter = t2; }, UpdateVendor: function UpdateVendor(t0) { this.vendor = t0; }, LoadVendor: function LoadVendor(t0, t1) { this.completer = t0; this.vendorId = t1; }, LoadVendors: function LoadVendors(t0, t1) { this.completer = t0; this.page = t1; }, LoadVendorRequest: function LoadVendorRequest() { }, LoadVendorFailure: function LoadVendorFailure(t0) { this.error = t0; }, LoadVendorSuccess: function LoadVendorSuccess(t0) { this.vendor = t0; }, LoadVendorsRequest: function LoadVendorsRequest() { }, LoadVendorsFailure: function LoadVendorsFailure(t0) { this.error = t0; }, LoadVendorsSuccess: function LoadVendorsSuccess(t0) { this.vendors = t0; }, SaveVendorRequest: function SaveVendorRequest(t0, t1) { this.completer = t0; this.vendor = t1; }, SaveVendorSuccess: function SaveVendorSuccess(t0) { this.vendor = t0; }, AddVendorSuccess: function AddVendorSuccess(t0) { this.vendor = t0; }, SaveVendorFailure: function SaveVendorFailure() { }, ArchiveVendorRequest: function ArchiveVendorRequest(t0, t1) { this.completer = t0; this.vendorIds = t1; }, ArchiveVendorSuccess: function ArchiveVendorSuccess(t0) { this.vendors = t0; }, ArchiveVendorFailure: function ArchiveVendorFailure() { }, MergeVendorsRequest: function MergeVendorsRequest(t0, t1, t2, t3, t4) { var _ = this; _.completer = t0; _.vendorId = t1; _.mergeIntoVendorId = t2; _.password = t3; _.idToken = t4; }, MergeVendorsSuccess: function MergeVendorsSuccess(t0) { this.vendorId = t0; }, MergeVendorsFailure: function MergeVendorsFailure() { }, DeleteVendorRequest: function DeleteVendorRequest(t0, t1) { this.completer = t0; this.vendorIds = t1; }, DeleteVendorSuccess: function DeleteVendorSuccess(t0) { this.vendors = t0; }, DeleteVendorFailure: function DeleteVendorFailure() { }, RestoreVendorRequest: function RestoreVendorRequest(t0, t1) { this.completer = t0; this.vendorIds = t1; }, RestoreVendorSuccess: function RestoreVendorSuccess(t0) { this.vendors = t0; }, RestoreVendorFailure: function RestoreVendorFailure() { }, EditVendorContact: function EditVendorContact(t0) { this.contact = t0; }, AddVendorContact: function AddVendorContact(t0) { this.contact = t0; }, UpdateVendorContact: function UpdateVendorContact(t0, t1) { this.index = t0; this.contact = t1; }, DeleteVendorContact: function DeleteVendorContact(t0) { this.index = t0; }, FilterVendors: function FilterVendors(t0) { this.filter = t0; }, SortVendors: function SortVendors(t0) { this.field = t0; }, FilterVendorsByState: function FilterVendorsByState(t0) { this.state = t0; }, FilterVendorsByCustom1: function FilterVendorsByCustom1(t0) { this.value = t0; }, FilterVendorsByCustom2: function FilterVendorsByCustom2(t0) { this.value = t0; }, FilterVendorsByCustom3: function FilterVendorsByCustom3(t0) { this.value = t0; }, FilterVendorsByCustom4: function FilterVendorsByCustom4(t0) { this.value = t0; }, handleVendorAction_closure: function handleVendorAction_closure() { }, handleVendorAction_closure0: function handleVendorAction_closure0() { }, handleVendorAction_closure1: function handleVendorAction_closure1(t0) { this.vendors = t0; }, handleVendorAction_closure2: function handleVendorAction_closure2(t0) { this.vendor = t0; }, handleVendorAction_closure3: function handleVendorAction_closure3(t0) { this.vendor = t0; }, StartVendorMultiselect: function StartVendorMultiselect() { }, AddToVendorMultiselect: function AddToVendorMultiselect(t0) { this.entity = t0; }, RemoveFromVendorMultiselect: function RemoveFromVendorMultiselect(t0) { this.entity = t0; }, ClearVendorMultiselect: function ClearVendorMultiselect() { }, SaveVendorDocumentRequest: function SaveVendorDocumentRequest(t0, t1, t2, t3) { var _ = this; _.isPrivate = t0; _.completer = t1; _.multipartFiles = t2; _.vendor = t3; }, SaveVendorDocumentFailure: function SaveVendorDocumentFailure() { }, UpdateVendorTab: function UpdateVendorTab(t0) { this.tabIndex = t0; }, _MergVendorPicker: function _MergVendorPicker(t0, t1) { this.vendor = t0; this.key = t1; }, __MergVendorPickerState: function __MergVendorPickerState(t0) { var _ = this; _._widget = _._mergeIntoVendorId = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __MergVendorPickerState_build_closure: function __MergVendorPickerState_build_closure(t0) { this.$this = t0; }, __MergVendorPickerState_build__closure0: function __MergVendorPickerState_build__closure0(t0, t1) { this.$this = t0; this.vendor = t1; }, __MergVendorPickerState_build_closure0: function __MergVendorPickerState_build_closure0(t0) { this.context = t0; }, __MergVendorPickerState_build_closure1: function __MergVendorPickerState_build_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.store = t2; _.localization = t3; }, __MergVendorPickerState_build__closure: function __MergVendorPickerState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.store = t1; _.localization = t2; _.context = t3; }, _editVendor() { return new A._editVendor_closure(); }, _viewVendor() { return new A._viewVendor_closure(); }, _viewVendorList() { return new A._viewVendorList_closure0(); }, _archiveVendor(repository) { return new A._archiveVendor_closure(repository); }, _mergeVendors(repository) { return new A._mergeVendors_closure(repository); }, _deleteVendor(repository) { return new A._deleteVendor_closure(repository); }, _restoreVendor(repository) { return new A._restoreVendor_closure(repository); }, _saveVendor(repository) { return new A._saveVendor_closure(repository); }, _loadVendor(repository) { return new A._loadVendor_closure(repository); }, _loadVendors(repository) { return new A._loadVendors_closure(repository); }, _saveDocument4(repository) { return new A._saveDocument_closure9(repository); }, _editVendor_closure: function _editVendor_closure() { }, _viewVendor_closure: function _viewVendor_closure() { }, _viewVendorList_closure0: function _viewVendorList_closure0() { }, _viewVendorList__closure: function _viewVendorList__closure() { }, _archiveVendor_closure: function _archiveVendor_closure(t0) { this.repository = t0; }, _archiveVendor__closure: function _archiveVendor__closure(t0) { this.store = t0; }, _archiveVendor__closure0: function _archiveVendor__closure0(t0, t1) { this.store = t0; this.action = t1; }, _archiveVendor__closure1: function _archiveVendor__closure1(t0, t1, t2) { this.store = t0; this.prevVendors = t1; this.action = t2; }, _mergeVendors_closure: function _mergeVendors_closure(t0) { this.repository = t0; }, _mergeVendors__closure: function _mergeVendors__closure(t0, t1) { this.store = t0; this.action = t1; }, _mergeVendors__closure0: function _mergeVendors__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteVendor_closure: function _deleteVendor_closure(t0) { this.repository = t0; }, _deleteVendor__closure: function _deleteVendor__closure(t0) { this.store = t0; }, _deleteVendor__closure0: function _deleteVendor__closure0(t0, t1) { this.store = t0; this.action = t1; }, _deleteVendor__closure1: function _deleteVendor__closure1(t0, t1, t2) { this.store = t0; this.prevVendors = t1; this.action = t2; }, _restoreVendor_closure: function _restoreVendor_closure(t0) { this.repository = t0; }, _restoreVendor__closure: function _restoreVendor__closure(t0) { this.store = t0; }, _restoreVendor__closure0: function _restoreVendor__closure0(t0, t1) { this.store = t0; this.action = t1; }, _restoreVendor__closure1: function _restoreVendor__closure1(t0, t1, t2) { this.store = t0; this.prevVendors = t1; this.action = t2; }, _saveVendor_closure: function _saveVendor_closure(t0) { this.repository = t0; }, _saveVendor__closure: function _saveVendor__closure(t0, t1) { this.action = t0; this.store = t1; }, _saveVendor__closure0: function _saveVendor__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadVendor_closure: function _loadVendor_closure(t0) { this.repository = t0; }, _loadVendor__closure: function _loadVendor__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadVendor__closure0: function _loadVendor__closure0(t0, t1) { this.store = t0; this.action = t1; }, _loadVendors_closure: function _loadVendors_closure(t0) { this.repository = t0; }, _loadVendors__closure: function _loadVendors__closure(t0, t1) { this.store = t0; this.action = t1; }, _loadVendors___closure: function _loadVendors___closure(t0) { this.documents = t0; }, _loadVendors____closure: function _loadVendors____closure(t0, t1) { this.documents = t0; this.vendor = t1; }, _loadVendors_____closure: function _loadVendors_____closure(t0) { this.vendor = t0; }, _loadVendors__closure0: function _loadVendors__closure0(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument_closure9: function _saveDocument_closure9(t0) { this.repository = t0; }, _saveDocument__closure19: function _saveDocument__closure19(t0, t1) { this.store = t0; this.action = t1; }, _saveDocument___closure9: function _saveDocument___closure9(t0, t1) { this.documents = t0; this.vendor = t1; }, _saveDocument____closure9: function _saveDocument____closure9(t0) { this.vendor = t0; }, _saveDocument__closure20: function _saveDocument__closure20(t0, t1) { this.store = t0; this.action = t1; }, vendorUIReducer(state, action) { var t1 = new A.VendorUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._vendor_state$_$v = state; new A.vendorUIReducer_closure(state, action).call$1(t1); return t1._vendor_state$_build$0(); }, editVendorContact(contact, action) { var t1 = action.get$contact(); return t1 == null ? A.VendorContactEntity_VendorContactEntity() : t1; }, _clearEditing24(vendor, action) { return A.VendorEntity_VendorEntity(null, null, null); }, _updateEditing25(vendor, action) { return J.get$vendor$x(action); }, _addContact(vendor, action) { return vendor.rebuild$1(new A._addContact_closure(action)); }, _removeContact(vendor, action) { return vendor.rebuild$1(new A._removeContact_closure(action)); }, _updateContact(vendor, action) { return vendor.rebuild$1(new A._updateContact_closure(action)); }, _viewVendorList0(vendorListState, action) { return vendorListState.rebuild$1(new A._viewVendorList_closure()); }, _filterVendorsByCustom1(vendorListState, action) { if (B.JSArray_methods.contains$1(vendorListState.custom1Filters._list$_list, action.value)) return vendorListState.rebuild$1(new A._filterVendorsByCustom1_closure(action)); else return vendorListState.rebuild$1(new A._filterVendorsByCustom1_closure0(action)); }, _filterVendorsByCustom2(vendorListState, action) { if (B.JSArray_methods.contains$1(vendorListState.custom2Filters._list$_list, action.value)) return vendorListState.rebuild$1(new A._filterVendorsByCustom2_closure(action)); else return vendorListState.rebuild$1(new A._filterVendorsByCustom2_closure0(action)); }, _filterVendorsByCustom3(vendorListState, action) { if (B.JSArray_methods.contains$1(vendorListState.custom3Filters._list$_list, action.value)) return vendorListState.rebuild$1(new A._filterVendorsByCustom3_closure(action)); else return vendorListState.rebuild$1(new A._filterVendorsByCustom3_closure0(action)); }, _filterVendorsByCustom4(vendorListState, action) { if (B.JSArray_methods.contains$1(vendorListState.custom4Filters._list$_list, action.value)) return vendorListState.rebuild$1(new A._filterVendorsByCustom4_closure(action)); else return vendorListState.rebuild$1(new A._filterVendorsByCustom4_closure0(action)); }, _filterVendorsByState(vendorListState, action) { if (B.JSArray_methods.contains$1(vendorListState.stateFilters._list$_list, action.state)) return vendorListState.rebuild$1(new A._filterVendorsByState_closure(action)); else return vendorListState.rebuild$1(new A._filterVendorsByState_closure0(action)); }, _filterVendors(vendorListState, action) { return vendorListState.rebuild$1(new A._filterVendors_closure(action, vendorListState)); }, _sortVendors(vendorListState, action) { return vendorListState.rebuild$1(new A._sortVendors_closure(action)); }, _startListMultiselect26(vendorListState, action) { return vendorListState.rebuild$1(new A._startListMultiselect_closure3()); }, _addToListMultiselect26(vendorListState, action) { return vendorListState.rebuild$1(new A._addToListMultiselect_closure3(action)); }, _removeFromListMultiselect26(vendorListState, action) { return vendorListState.rebuild$1(new A._removeFromListMultiselect_closure3(action)); }, _clearListMultiselect26(vendorListState, action) { return vendorListState.rebuild$1(new A._clearListMultiselect_closure3()); }, _archiveVendorSuccess(vendorState, action) { return vendorState.rebuild$1(new A._archiveVendorSuccess_closure(action)); }, _deleteVendorSuccess(vendorState, action) { return vendorState.rebuild$1(new A._deleteVendorSuccess_closure(action)); }, _restoreVendorSuccess(vendorState, action) { return vendorState.rebuild$1(new A._restoreVendorSuccess_closure(action)); }, _addVendor(vendorState, action) { return vendorState.rebuild$1(new A._addVendor_closure(action)); }, _updateVendor(vendorState, action) { return vendorState.rebuild$1(new A._updateVendor_closure(action)); }, _setLoadedVendor(vendorState, action) { return vendorState.rebuild$1(new A._setLoadedVendor_closure(action)); }, _setLoadedVendors(vendorState, action) { return vendorState.loadVendors$1(action.vendors); }, _setLoadedCompany26(vendorState, action) { return vendorState.loadVendors$1(action.userCompany.company.vendors); }, _mergeVendorSuccess(vendorState, action) { return vendorState.rebuild$1(new A._mergeVendorSuccess_closure(action)); }, vendorUIReducer_closure: function vendorUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure34: function forceSelectedReducer_closure34() { }, forceSelectedReducer_closure35: function forceSelectedReducer_closure35() { }, forceSelectedReducer_closure36: function forceSelectedReducer_closure36() { }, forceSelectedReducer_closure37: function forceSelectedReducer_closure37() { }, forceSelectedReducer_closure38: function forceSelectedReducer_closure38() { }, forceSelectedReducer_closure39: function forceSelectedReducer_closure39() { }, forceSelectedReducer_closure40: function forceSelectedReducer_closure40() { }, forceSelectedReducer_closure41: function forceSelectedReducer_closure41() { }, tabIndexReducer_closure7: function tabIndexReducer_closure7() { }, tabIndexReducer_closure8: function tabIndexReducer_closure8() { }, saveCompleterReducer_closure0: function saveCompleterReducer_closure0() { }, cancelCompleterReducer_closure0: function cancelCompleterReducer_closure0() { }, selectedIdReducer_closure65: function selectedIdReducer_closure65() { }, selectedIdReducer_closure66: function selectedIdReducer_closure66() { }, selectedIdReducer_closure67: function selectedIdReducer_closure67() { }, selectedIdReducer_closure68: function selectedIdReducer_closure68() { }, selectedIdReducer_closure69: function selectedIdReducer_closure69() { }, selectedIdReducer_closure70: function selectedIdReducer_closure70() { }, selectedIdReducer_closure71: function selectedIdReducer_closure71() { }, selectedIdReducer_closure72: function selectedIdReducer_closure72() { }, selectedIdReducer_closure73: function selectedIdReducer_closure73() { }, selectedIdReducer_closure74: function selectedIdReducer_closure74() { }, selectedIdReducer_closure75: function selectedIdReducer_closure75() { }, selectedIdReducer_closure76: function selectedIdReducer_closure76() { }, selectedIdReducer_closure77: function selectedIdReducer_closure77() { }, selectedIdReducer_closure78: function selectedIdReducer_closure78() { }, selectedIdReducer_closure79: function selectedIdReducer_closure79() { }, editingReducer_closure24: function editingReducer_closure24() { }, editingReducer_closure25: function editingReducer_closure25() { }, editingReducer_closure26: function editingReducer_closure26() { }, editingReducer_closure27: function editingReducer_closure27() { }, editingReducer__closure9: function editingReducer__closure9() { }, _addContact_closure: function _addContact_closure(t0) { this.action = t0; }, _removeContact_closure: function _removeContact_closure(t0) { this.action = t0; }, _updateContact_closure: function _updateContact_closure(t0) { this.action = t0; }, vendorListReducer_closure: function vendorListReducer_closure() { }, vendorListReducer__closure: function vendorListReducer__closure() { }, _viewVendorList_closure: function _viewVendorList_closure() { }, _filterVendorsByCustom1_closure: function _filterVendorsByCustom1_closure(t0) { this.action = t0; }, _filterVendorsByCustom1_closure0: function _filterVendorsByCustom1_closure0(t0) { this.action = t0; }, _filterVendorsByCustom2_closure: function _filterVendorsByCustom2_closure(t0) { this.action = t0; }, _filterVendorsByCustom2_closure0: function _filterVendorsByCustom2_closure0(t0) { this.action = t0; }, _filterVendorsByCustom3_closure: function _filterVendorsByCustom3_closure(t0) { this.action = t0; }, _filterVendorsByCustom3_closure0: function _filterVendorsByCustom3_closure0(t0) { this.action = t0; }, _filterVendorsByCustom4_closure: function _filterVendorsByCustom4_closure(t0) { this.action = t0; }, _filterVendorsByCustom4_closure0: function _filterVendorsByCustom4_closure0(t0) { this.action = t0; }, _filterVendorsByState_closure: function _filterVendorsByState_closure(t0) { this.action = t0; }, _filterVendorsByState_closure0: function _filterVendorsByState_closure0(t0) { this.action = t0; }, _filterVendors_closure: function _filterVendors_closure(t0, t1) { this.action = t0; this.vendorListState = t1; }, _sortVendors_closure: function _sortVendors_closure(t0) { this.action = t0; }, _startListMultiselect_closure3: function _startListMultiselect_closure3() { }, _addToListMultiselect_closure3: function _addToListMultiselect_closure3(t0) { this.action = t0; }, _removeFromListMultiselect_closure3: function _removeFromListMultiselect_closure3(t0) { this.action = t0; }, _clearListMultiselect_closure3: function _clearListMultiselect_closure3() { }, _archiveVendorSuccess_closure: function _archiveVendorSuccess_closure(t0) { this.action = t0; }, _deleteVendorSuccess_closure: function _deleteVendorSuccess_closure(t0) { this.action = t0; }, _restoreVendorSuccess_closure: function _restoreVendorSuccess_closure(t0) { this.action = t0; }, _addVendor_closure: function _addVendor_closure(t0) { this.action = t0; }, _addVendor__closure: function _addVendor__closure() { }, _updateVendor_closure: function _updateVendor_closure(t0) { this.action = t0; }, _updateVendor__closure: function _updateVendor__closure() { }, _setLoadedVendor_closure: function _setLoadedVendor_closure(t0) { this.action = t0; }, _setLoadedVendor__closure: function _setLoadedVendor__closure() { }, _mergeVendorSuccess_closure: function _mergeVendorSuccess_closure(t0) { this.action = t0; }, dropdownVendorsSelector(vendorMap, vendorList, userMap, staticState) { var t1 = vendorList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.dropdownVendorsSelector_closure(vendorMap), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.dropdownVendorsSelector_closure0(vendorMap, userMap, staticState)); return list; }, filteredVendorsSelector(selectionState, vendorMap, vendorList, vendorListState, userMap, staticState) { var t1 = vendorList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredVendorsSelector_closure(vendorMap, selectionState, vendorListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredVendorsSelector_closure0(vendorMap, vendorListState, userMap, staticState)); return list; }, vendorStatsForUser(userId, vendorMap) { var t1 = {}; t1.countArchived = t1.countActive = 0; vendorMap._map$_map.forEach$1(0, new A.vendorStatsForUser_closure(t1, userId)); return new A.EntityStats(t1.countActive, t1.countArchived, null, null); }, calculateVendorBalance(vendorId, currencyId, expenseMap, expenseList) { var t1 = {}; t1.total = 0; B.JSArray_methods.forEach$1(expenseList._list$_list, new A.calculateVendorBalance_closure(t1, expenseMap, vendorId, currencyId)); return t1.total; }, memoizedDropdownVendorList_closure: function memoizedDropdownVendorList_closure() { }, dropdownVendorsSelector_closure: function dropdownVendorsSelector_closure(t0) { this.vendorMap = t0; }, dropdownVendorsSelector_closure0: function dropdownVendorsSelector_closure0(t0, t1, t2) { this.vendorMap = t0; this.userMap = t1; this.staticState = t2; }, memoizedFilteredVendorList_closure: function memoizedFilteredVendorList_closure() { }, filteredVendorsSelector_closure: function filteredVendorsSelector_closure(t0, t1, t2) { this.vendorMap = t0; this.selectionState = t1; this.vendorListState = t2; }, filteredVendorsSelector_closure0: function filteredVendorsSelector_closure0(t0, t1, t2, t3) { var _ = this; _.vendorMap = t0; _.vendorListState = t1; _.userMap = t2; _.staticState = t3; }, memoizedVendorStatsForUser_closure: function memoizedVendorStatsForUser_closure() { }, vendorStatsForUser_closure: function vendorStatsForUser_closure(t0, t1) { this._box_0 = t0; this.userId = t1; }, memoizedCalculateVendorBalance_closure: function memoizedCalculateVendorBalance_closure() { }, calculateVendorBalance_closure: function calculateVendorBalance_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.expenseMap = t1; _.vendorId = t2; _.currencyId = t3; }, _$VendorState$_(list, map) { var _s11_ = "VendorState"; A.BuiltValueNullFieldError_checkNotNull(map, _s11_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s11_, "list"); return new A._$VendorState(map, list); }, _$VendorUIState$_(cancelCompleter, editing, editingContact, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s13_ = "VendorUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s13_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s13_, "tabIndex"); return new A._$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() { }, handleWebhookAction(context, webhooks, action) { var store, t1, webhook, t2, webhookIds, message, _i, t3, _null = null, _s6_ = ":value", _s6_0 = ":count"; if (webhooks.length === 0) return; context.toString; store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); webhook = type$.WebhookEntity._as(B.JSArray_methods.get$first(webhooks)); t2 = A._arrayInstanceType(webhooks)._eval$1("MappedListIterable<1,String>"); webhookIds = A.List_List$of(new A.MappedListIterable(webhooks, new A.handleWebhookAction_closure(), t2), true, t2._eval$1("ListIterable.E")); switch (action) { case B.EntityAction_copy: A.Clipboard_setData(new A.ClipboardData(webhook.targetUrl)); t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "copied_to_clipboard"); t1.toString; A.showToast(B.JSString_methods.replaceFirst$2(t1, ":value ", "")); break; case B.EntityAction_edit: A.editEntity(_null, webhook, true, _null); break; case B.EntityAction_restore: t2 = webhookIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_webhooks"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "restored_webhook"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RestoreWebhooksRequest(t1, webhookIds)); break; case B.EntityAction_archive: t2 = webhookIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_webhooks"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "archived_webhook"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.ArchiveWebhooksRequest(t1, webhookIds)); break; case B.EntityAction_delete: t2 = webhookIds.length; if (t2 > 1) { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_webhooks"); t1.toString; message = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(t1, _s6_, _s6_0), _s6_0, B.JSInt_methods.toString$0(t2)); } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "deleted_webhook"); t1.toString; message = t1; } t1 = A.snackBarCompleter(message, _null, false, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.DeleteWebhooksRequest(t1, webhookIds)); break; case B.EntityAction_toggleMultiselect: t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.uiState.webhookUIState.listUIState.selectedIds == null) { t1 = store.__Store__dispatchers_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1[0].call$1(new A.StartWebhookMultiselect()); } t1 = webhooks.length; if (t1 === 0) break; for (_i = 0; _i < webhooks.length; webhooks.length === t1 || (0, A.throwConcurrentModificationError)(webhooks), ++_i) { webhook = webhooks[_i]; t2 = store.__Store__state_A.uiState; t3 = J.get$id$x(webhook); t2 = t2.webhookUIState.listUIState.selectedIds; t2 = t2 != null && B.JSArray_methods.contains$1(t2._list$_list, t3); t3 = store.__Store__dispatchers_F; if (!t2) { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.AddToWebhookMultiselect(webhook)); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3[0].call$1(new A.RemoveFromWebhookMultiselect(webhook)); } } break; case B.EntityAction_more: A.showEntityActionsDialog(_null, A._setArrayType([webhook], type$.JSArray_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() { }, _editWebhook() { return new A._editWebhook_closure(); }, _viewWebhook() { return new A._viewWebhook_closure(); }, _viewWebhookList() { return new A._viewWebhookList_closure0(); }, _archiveWebhook(repository) { return new A._archiveWebhook_closure(repository); }, _deleteWebhook(repository) { return new A._deleteWebhook_closure(repository); }, _restoreWebhook(repository) { return new A._restoreWebhook_closure(repository); }, _saveWebhook(repository) { return new A._saveWebhook_closure(repository); }, _loadWebhook(repository) { return new A._loadWebhook_closure(repository); }, _loadWebhooks(repository) { return new A._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; }, webhookUIReducer(state, action) { var t1 = new A.WebhookUIStateBuilder(); A.ArgumentError_checkNotNull(state, "other"); t1._webhook_state$_$v = state; new A.webhookUIReducer_closure(state, action).call$1(t1); return t1._webhook_state$_build$0(); }, _clearEditing25(webhook, action) { return A.WebhookEntity_WebhookEntity(null, null); }, _updateEditing26(webhook, action) { return action.get$webhook(); }, _viewWebhookList0(webhookListState, action) { return webhookListState.rebuild$1(new A._viewWebhookList_closure()); }, _filterWebhooksByCustom1(webhookListState, action) { if (B.JSArray_methods.contains$1(webhookListState.custom1Filters._list$_list, action.value)) return webhookListState.rebuild$1(new A._filterWebhooksByCustom1_closure(action)); else return webhookListState.rebuild$1(new A._filterWebhooksByCustom1_closure0(action)); }, _filterWebhooksByCustom2(webhookListState, action) { if (B.JSArray_methods.contains$1(webhookListState.custom2Filters._list$_list, action.value)) return webhookListState.rebuild$1(new A._filterWebhooksByCustom2_closure(action)); else return webhookListState.rebuild$1(new A._filterWebhooksByCustom2_closure0(action)); }, _filterWebhooksByState(webhookListState, action) { if (B.JSArray_methods.contains$1(webhookListState.stateFilters._list$_list, action.state)) return webhookListState.rebuild$1(new A._filterWebhooksByState_closure(action)); else return webhookListState.rebuild$1(new A._filterWebhooksByState_closure0(action)); }, _filterWebhooks(webhookListState, action) { return webhookListState.rebuild$1(new A._filterWebhooks_closure(action, webhookListState)); }, _sortWebhooks(webhookListState, action) { return webhookListState.rebuild$1(new A._sortWebhooks_closure(action)); }, _startListMultiselect27(productListState, action) { return productListState.rebuild$1(new A._startListMultiselect_closure14()); }, _addToListMultiselect27(productListState, action) { return productListState.rebuild$1(new A._addToListMultiselect_closure14(action)); }, _removeFromListMultiselect27(productListState, action) { return productListState.rebuild$1(new A._removeFromListMultiselect_closure14(action)); }, _clearListMultiselect27(productListState, action) { return productListState.rebuild$1(new A._clearListMultiselect_closure14()); }, _archiveWebhookSuccess(webhookState, action) { return webhookState.rebuild$1(new A._archiveWebhookSuccess_closure(action)); }, _deleteWebhookSuccess(webhookState, action) { return webhookState.rebuild$1(new A._deleteWebhookSuccess_closure(action)); }, _restoreWebhookSuccess(webhookState, action) { return webhookState.rebuild$1(new A._restoreWebhookSuccess_closure(action)); }, _addWebhook(webhookState, action) { return webhookState.rebuild$1(new A._addWebhook_closure(action)); }, _updateWebhook(webhookState, action) { return webhookState.rebuild$1(new A._updateWebhook_closure(action)); }, _setLoadedWebhook(webhookState, action) { return webhookState.rebuild$1(new A._setLoadedWebhook_closure(action)); }, _setLoadedWebhooks(webhookState, action) { return webhookState.loadWebhooks$1(action.webhooks); }, _setLoadedCompany27(webhookState, action) { return webhookState.loadWebhooks$1(action.userCompany.company.webhooks); }, webhookUIReducer_closure: function webhookUIReducer_closure(t0, t1) { this.state = t0; this.action = t1; }, forceSelectedReducer_closure117: function forceSelectedReducer_closure117() { }, forceSelectedReducer_closure118: function forceSelectedReducer_closure118() { }, forceSelectedReducer_closure119: function forceSelectedReducer_closure119() { }, forceSelectedReducer_closure120: function forceSelectedReducer_closure120() { }, forceSelectedReducer_closure121: function forceSelectedReducer_closure121() { }, forceSelectedReducer_closure122: function forceSelectedReducer_closure122() { }, forceSelectedReducer_closure123: function forceSelectedReducer_closure123() { }, forceSelectedReducer_closure124: function forceSelectedReducer_closure124() { }, selectedIdReducer_closure224: function selectedIdReducer_closure224() { }, selectedIdReducer_closure225: function selectedIdReducer_closure225() { }, selectedIdReducer_closure226: function selectedIdReducer_closure226() { }, selectedIdReducer_closure227: function selectedIdReducer_closure227() { }, selectedIdReducer_closure228: function selectedIdReducer_closure228() { }, selectedIdReducer_closure229: function selectedIdReducer_closure229() { }, selectedIdReducer_closure230: function selectedIdReducer_closure230() { }, selectedIdReducer_closure231: function selectedIdReducer_closure231() { }, selectedIdReducer_closure232: function selectedIdReducer_closure232() { }, selectedIdReducer_closure233: function selectedIdReducer_closure233() { }, selectedIdReducer_closure234: function selectedIdReducer_closure234() { }, selectedIdReducer_closure235: function selectedIdReducer_closure235() { }, selectedIdReducer_closure236: function selectedIdReducer_closure236() { }, selectedIdReducer_closure237: function selectedIdReducer_closure237() { }, selectedIdReducer_closure238: function selectedIdReducer_closure238() { }, editingReducer_closure72: function editingReducer_closure72() { }, editingReducer_closure73: function editingReducer_closure73() { }, editingReducer_closure74: function editingReducer_closure74() { }, editingReducer_closure75: function editingReducer_closure75() { }, editingReducer__closure26: function editingReducer__closure26() { }, webhookListReducer_closure: function webhookListReducer_closure() { }, webhookListReducer__closure: function webhookListReducer__closure() { }, _viewWebhookList_closure: function _viewWebhookList_closure() { }, _filterWebhooksByCustom1_closure: function _filterWebhooksByCustom1_closure(t0) { this.action = t0; }, _filterWebhooksByCustom1_closure0: function _filterWebhooksByCustom1_closure0(t0) { this.action = t0; }, _filterWebhooksByCustom2_closure: function _filterWebhooksByCustom2_closure(t0) { this.action = t0; }, _filterWebhooksByCustom2_closure0: function _filterWebhooksByCustom2_closure0(t0) { this.action = t0; }, _filterWebhooksByState_closure: function _filterWebhooksByState_closure(t0) { this.action = t0; }, _filterWebhooksByState_closure0: function _filterWebhooksByState_closure0(t0) { this.action = t0; }, _filterWebhooks_closure: function _filterWebhooks_closure(t0, t1) { this.action = t0; this.webhookListState = t1; }, _sortWebhooks_closure: function _sortWebhooks_closure(t0) { this.action = t0; }, _startListMultiselect_closure14: function _startListMultiselect_closure14() { }, _addToListMultiselect_closure14: function _addToListMultiselect_closure14(t0) { this.action = t0; }, _removeFromListMultiselect_closure14: function _removeFromListMultiselect_closure14(t0) { this.action = t0; }, _clearListMultiselect_closure14: function _clearListMultiselect_closure14() { }, _archiveWebhookSuccess_closure: function _archiveWebhookSuccess_closure(t0) { this.action = t0; }, _deleteWebhookSuccess_closure: function _deleteWebhookSuccess_closure(t0) { this.action = t0; }, _restoreWebhookSuccess_closure: function _restoreWebhookSuccess_closure(t0) { this.action = t0; }, _addWebhook_closure: function _addWebhook_closure(t0) { this.action = t0; }, _updateWebhook_closure: function _updateWebhook_closure(t0) { this.action = t0; }, _setLoadedWebhook_closure: function _setLoadedWebhook_closure(t0) { this.action = t0; }, filteredWebhooksSelector(selectionState, webhookMap, webhookList, webhookListState) { var t1 = webhookList._list$_list, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), list = A.List_List$of(new A.WhereIterable(t1, new A.filteredWebhooksSelector_closure(webhookMap, selectionState, webhookListState), t2), true, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$1(list, new A.filteredWebhooksSelector_closure0(webhookMap, webhookListState)); return list; }, memoizedFilteredWebhookList_closure: function memoizedFilteredWebhookList_closure() { }, filteredWebhooksSelector_closure: function filteredWebhooksSelector_closure(t0, t1, t2) { this.webhookMap = t0; this.selectionState = t1; this.webhookListState = t2; }, filteredWebhooksSelector_closure0: function filteredWebhooksSelector_closure0(t0, t1) { this.webhookMap = t0; this.webhookListState = t1; }, _$WebhookState$_(list, map) { var _s12_ = "WebhookState"; A.BuiltValueNullFieldError_checkNotNull(map, _s12_, "map"); A.BuiltValueNullFieldError_checkNotNull(list, _s12_, "list"); return new A._$WebhookState(map, list); }, _$WebhookUIState$_(cancelCompleter, editing, forceSelected, listUIState, saveCompleter, selectedId, tabIndex) { var _s14_ = "WebhookUIState"; A.BuiltValueNullFieldError_checkNotNull(listUIState, _s14_, "listUIState"); A.BuiltValueNullFieldError_checkNotNull(tabIndex, _s14_, "tabIndex"); return new A._$WebhookUIState(editing, listUIState, selectedId, forceSelected, tabIndex, saveCompleter, cancelCompleter); }, WebhookState: function WebhookState() { }, WebhookState_loadWebhooks_closure0: function WebhookState_loadWebhooks_closure0() { }, WebhookState_loadWebhooks_closure1: function WebhookState_loadWebhooks_closure1() { }, WebhookState_loadWebhooks_closure: function WebhookState_loadWebhooks_closure(t0, t1) { this.$this = t0; this.map = t1; }, WebhookUIState: function WebhookUIState() { }, _$WebhookStateSerializer: function _$WebhookStateSerializer() { }, _$WebhookUIStateSerializer: function _$WebhookUIStateSerializer() { }, _$WebhookState: function _$WebhookState(t0, t1) { this.map = t0; this.list = t1; this._webhook_state$__hashCode = null; }, WebhookStateBuilder: function WebhookStateBuilder() { this._webhook_state$_list = this._webhook_state$_map = this._webhook_state$_$v = null; }, _$WebhookUIState: function _$WebhookUIState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editing = t0; _.listUIState = t1; _.selectedId = t2; _.forceSelected = t3; _.tabIndex = t4; _.saveCompleter = t5; _.cancelCompleter = t6; _._webhook_state$__hashCode = null; }, WebhookUIStateBuilder: function WebhookUIStateBuilder() { var _ = this; _._webhook_state$_cancelCompleter = _._webhook_state$_saveCompleter = _._webhook_state$_tabIndex = _._webhook_state$_forceSelected = _._webhook_state$_selectedId = _._webhook_state$_listUIState = _._webhook_state$_editing = _._webhook_state$_$v = null; }, _WebhookUIState_Object_EntityUIState: function _WebhookUIState_Object_EntityUIState() { }, 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_closure0: function FieldGrid_build_closure0(t0) { this.fieldWidgets = t0; }, ActionMenuButton$(entity, entityActions, iconData, iconSize, isSaving, onSelected) { return new A.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; }, AppBorder: function AppBorder(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.isTop = t1; _.isBottom = t2; _.isLeft = t3; _.hideBorder = t4; _.key = t5; }, AppBottomBar$(customValues1, customValues2, customValues3, customValues4, defaultTableColumns, entityType, hideListOptions, iconButtons, onCheckboxPressed, onSelectedCustom1, onSelectedCustom2, onSelectedCustom3, onSelectedCustom4, onSelectedSortField, onSelectedState, onSelectedStatus, sortFields, statuses, tableColumns) { return new A.AppBottomBar(entityType, sortFields, statuses, onCheckboxPressed, onSelectedSortField, onSelectedState, onSelectedStatus, onSelectedCustom1, onSelectedCustom2, onSelectedCustom3, onSelectedCustom4, customValues1, customValues2, customValues3, customValues4, tableColumns, defaultTableColumns, hideListOptions, iconButtons, null); }, AppBottomBar: function AppBottomBar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.entityType = t0; _.sortFields = t1; _.statuses = t2; _.onCheckboxPressed = t3; _.onSelectedSortField = t4; _.onSelectedState = t5; _.onSelectedStatus = t6; _.onSelectedCustom1 = t7; _.onSelectedCustom2 = t8; _.onSelectedCustom3 = t9; _.onSelectedCustom4 = t10; _.customValues1 = t11; _.customValues2 = t12; _.customValues3 = t13; _.customValues4 = t14; _.tableColumns = t15; _.defaultTableColumns = t16; _.hideListOptions = t17; _.iconButtons = t18; _.key = t19; }, _AppBottomBarState: function _AppBottomBarState(t0) { var _ = this; _._widget = _._filterCustom4Controller = _._filterCustom3Controller = _._filterCustom2Controller = _._filterCustom1Controller = _._filterStatusController = _._filterStateController = _._sortController = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AppBottomBarState_build_closure0: function _AppBottomBarState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _AppBottomBarState_build__closure14: function _AppBottomBarState_build__closure14(t0) { this.$this = t0; }, _AppBottomBarState_build___closure8: function _AppBottomBarState_build___closure8(t0) { this.$this = t0; }, _AppBottomBarState_build___closure7: function _AppBottomBarState_build___closure7(t0) { this.$this = t0; }, _AppBottomBarState_build____closure1: function _AppBottomBarState_build____closure1(t0, t1, t2) { this.$this = t0; this.context = t1; this.stateFilters = t2; }, _AppBottomBarState_build_____closure2: function _AppBottomBarState_build_____closure2(t0, t1) { this.$this = t0; this.state = t1; }, _AppBottomBarState_build__closure15: function _AppBottomBarState_build__closure15(t0) { this.$this = t0; }, _AppBottomBarState_build_closure1: function _AppBottomBarState_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _AppBottomBarState_build__closure12: function _AppBottomBarState_build__closure12(t0) { this.$this = t0; }, _AppBottomBarState_build___closure6: function _AppBottomBarState_build___closure6(t0) { this.$this = t0; }, _AppBottomBarState_build___closure5: function _AppBottomBarState_build___closure5(t0) { this.$this = t0; }, _AppBottomBarState_build____closure0: function _AppBottomBarState_build____closure0(t0, t1, t2) { this.$this = t0; this.context = t1; this.statusFilters = t2; }, _AppBottomBarState_build_____closure1: function _AppBottomBarState_build_____closure1(t0, t1) { this.$this = t0; this.status = t1; }, _AppBottomBarState_build__closure13: function _AppBottomBarState_build__closure13(t0) { this.$this = t0; }, _AppBottomBarState_build_closure6: function _AppBottomBarState_build_closure6(t0, t1) { this.$this = t0; this.context = t1; }, _AppBottomBarState_build__closure2: function _AppBottomBarState_build__closure2(t0) { this.$this = t0; }, _AppBottomBarState_build___closure0: function _AppBottomBarState_build___closure0(t0) { this.$this = t0; }, _AppBottomBarState_build___closure: function _AppBottomBarState_build___closure(t0) { this.$this = t0; }, _AppBottomBarState_build____closure: function _AppBottomBarState_build____closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.listUIState = t2; }, _AppBottomBarState_build_____closure0: function _AppBottomBarState_build_____closure0(t0, t1) { this.$this = t0; this.sortField = t1; }, _AppBottomBarState_build_____closure: function _AppBottomBarState_build_____closure(t0, t1, t2) { this.$this = t0; this.listUIState = t1; this.field = t2; }, _AppBottomBarState_build__closure3: function _AppBottomBarState_build__closure3(t0) { this.$this = t0; }, _AppBottomBarState_build_closure2: function _AppBottomBarState_build_closure2(t0, t1, t2) { this.$this = t0; this.context = t1; this.state = t2; }, _AppBottomBarState_build__closure10: function _AppBottomBarState_build__closure10(t0, t1) { this.$this = t0; this.state = t1; }, _AppBottomBarState_build___closure4: function _AppBottomBarState_build___closure4(t0) { this.$this = t0; }, _AppBottomBarState_build__closure11: function _AppBottomBarState_build__closure11(t0) { this.$this = t0; }, _AppBottomBarState_build_closure3: function _AppBottomBarState_build_closure3(t0, t1, t2) { this.$this = t0; this.context = t1; this.state = t2; }, _AppBottomBarState_build__closure8: function _AppBottomBarState_build__closure8(t0, t1) { this.$this = t0; this.state = t1; }, _AppBottomBarState_build___closure3: function _AppBottomBarState_build___closure3(t0) { this.$this = t0; }, _AppBottomBarState_build__closure9: function _AppBottomBarState_build__closure9(t0) { this.$this = t0; }, _AppBottomBarState_build_closure4: function _AppBottomBarState_build_closure4(t0, t1, t2) { this.$this = t0; this.context = t1; this.state = t2; }, _AppBottomBarState_build__closure6: function _AppBottomBarState_build__closure6(t0, t1) { this.$this = t0; this.state = t1; }, _AppBottomBarState_build___closure2: function _AppBottomBarState_build___closure2(t0) { this.$this = t0; }, _AppBottomBarState_build__closure7: function _AppBottomBarState_build__closure7(t0) { this.$this = t0; }, _AppBottomBarState_build_closure5: function _AppBottomBarState_build_closure5(t0, t1, t2) { this.$this = t0; this.context = t1; this.state = t2; }, _AppBottomBarState_build__closure4: function _AppBottomBarState_build__closure4(t0, t1) { this.$this = t0; this.state = t1; }, _AppBottomBarState_build___closure1: function _AppBottomBarState_build___closure1(t0) { this.$this = t0; }, _AppBottomBarState_build__closure5: function _AppBottomBarState_build__closure5(t0) { this.$this = t0; }, _AppBottomBarState_build_closure: function _AppBottomBarState_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.$this = t0; _.state = t1; _.prefState = t2; _._showFilterStateSheet = t3; _._showFilterStatusSheet = t4; _._showFilterCustom1Sheet = t5; _._showFilterCustom2Sheet = t6; _._showFilterCustom3Sheet = t7; _._showFilterCustom4Sheet = t8; _._showSortSheet = t9; }, _AppBottomBarState_build_closure__onColumnsPressed: function _AppBottomBarState_build_closure__onColumnsPressed(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.store = t2; _.state = t3; }, _AppBottomBarState_build___onColumnsPressed_closure: function _AppBottomBarState_build___onColumnsPressed_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.store = t1; _.state = t2; _.context = t3; }, _AppBottomBarState_build___onColumnsPressed__closure: function _AppBottomBarState_build___onColumnsPressed__closure(t0, t1) { this.$this = t0; this.selected = t1; }, _AppBottomBarState_build___onColumnsPressed__closure0: function _AppBottomBarState_build___onColumnsPressed__closure0(t0) { this.settings = t0; }, _AppBottomBarState_build___onColumnsPressed__closure1: function _AppBottomBarState_build___onColumnsPressed__closure1(t0) { this.userCompany = t0; }, _AppBottomBarState_build__closure: function _AppBottomBarState_build__closure(t0) { this.store = t0; }, _AppBottomBarState_build__closure0: function _AppBottomBarState_build__closure0(t0) { this.$this = t0; }, _AppBottomBarState_build__closure1: function _AppBottomBarState_build__closure1(t0) { this.store = t0; }, CustomFieldSelector: function CustomFieldSelector(t0, t1, t2, t3, t4) { var _ = this; _.customNumber = t0; _.entityType = t1; _.customValues = t2; _.onSelected = t3; _.key = t4; }, CustomFieldSelector_build_closure0: function CustomFieldSelector_build_closure0(t0) { this.$this = t0; }, CustomFieldSelector_build_closure: function CustomFieldSelector_build_closure(t0) { this.$this = t0; }, CustomFieldSelector_build__closure: function CustomFieldSelector_build__closure(t0, t1, t2) { this.$this = t0; this.customFilters = t1; this.context = t2; }, CustomFieldSelector_build___closure: function CustomFieldSelector_build___closure(t0, t1) { this.$this = t0; this.customField = t1; }, AppBuilder: function AppBuilder(t0, t1) { this.builder = t0; this.key = t1; }, AppBuilderState: function AppBuilderState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, AppBuilderState_rebuild_closure: function AppBuilderState_rebuild_closure() { }, AppHeader: function AppHeader(t0, t1, t2, t3, t4) { var _ = this; _.label = t0; _.value = t1; _.secondLabel = t2; _.secondValue = t3; _.key = t4; }, 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; }, AppWebView: function AppWebView(t0, t1) { this.html = t0; this.key = t1; }, _WebWebView: function _WebWebView(t0, t1) { this.html = t0; this.key = t1; }, AutobillDropdownMenuItem: function AutobillDropdownMenuItem(t0, t1) { this.type = t0; this.key = t1; }, BlankScreen: function BlankScreen(t0, t1) { this.message = t0; this.key = t1; }, AppTextButton: function AppTextButton(t0, t1, t2, t3, t4) { var _ = this; _.label = t0; _.onPressed = t1; _.isInHeader = t2; _.color = t3; _.key = t4; }, BottomButtons: function BottomButtons(t0, t1, t2, t3, t4, t5) { var _ = this; _.entity = t0; _.action1 = t1; _.action2 = t2; _.action1Enabled = t3; _.action2Enabled = t4; _.key = t5; }, BottomButtons_build_closure: function BottomButtons_build_closure(t0) { this.$this = t0; }, BottomButtons_build_closure0: function BottomButtons_build_closure0(t0) { this.$this = t0; }, AppButton: function AppButton(t0, t1, t2, t3, t4, t5) { var _ = this; _.color = t0; _.iconData = t1; _.label = t2; _.onPressed = t3; _.width = t4; _.key = t5; }, 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; }, ConfirmEmailVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.ConfirmEmailVM(t1, new A.ConfirmEmailVM_fromStore_closure(store), new A.ConfirmEmailVM_fromStore_closure0(store), new A.ConfirmEmailVM_fromStore_closure1(store), new A.ConfirmEmailVM_fromStore_closure2(store)); }, ConfirmEmailBuilder: function ConfirmEmailBuilder(t0) { this.key = t0; }, ConfirmEmailBuilder_build_closure: function ConfirmEmailBuilder_build_closure() { }, ConfirmEmailVM: function ConfirmEmailVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.onResendPressed = t1; _.onRefreshPressed = t2; _.onLogoutPressed = t3; _.onChangeEmail = t4; }, ConfirmEmailVM_fromStore_closure0: function ConfirmEmailVM_fromStore_closure0(t0) { this.store = t0; }, ConfirmEmailVM_fromStore_closure1: function ConfirmEmailVM_fromStore_closure1(t0) { this.store = t0; }, ConfirmEmailVM_fromStore_closure: function ConfirmEmailVM_fromStore_closure(t0) { this.store = t0; }, ConfirmEmailVM_fromStore_closure2: function ConfirmEmailVM_fromStore_closure2(t0) { this.store = t0; }, ConfirmEmailVM_fromStore__closure: function ConfirmEmailVM_fromStore__closure(t0) { this.email = t0; }, CopyToClipboard: function CopyToClipboard(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.value = t1; _.showBorder = t2; _.onLongPress = t3; _.prefix = t4; _.key = t5; }, CopyToClipboard_build_closure: function CopyToClipboard_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, DashedRect: function DashedRect(t0, t1) { this.color = t0; this.key = t1; }, DashRectPainter: function DashRectPainter(t0, t1, t2, t3) { var _ = this; _.strokeWidth = t0; _.color = t1; _.gap = t2; _._repaint = t3; }, DesktopSessionTimeout: function DesktopSessionTimeout(t0, t1) { this.child = t0; this.key = t1; }, _DesktopSessionTimeoutState: function _DesktopSessionTimeoutState(t0) { var _ = this; _._desktop_session_timeout$_timer = null; _._isWarned = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DesktopSessionTimeoutState_initState_closure: function _DesktopSessionTimeoutState_initState_closure(t0) { this.$this = t0; }, _DesktopSessionTimeoutState_initState__closure: function _DesktopSessionTimeoutState_initState__closure(t0) { this.$this = t0; }, _DesktopSessionTimeoutState_build_closure: function _DesktopSessionTimeoutState_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, _DesktopSessionTimeoutState_build__closure: function _DesktopSessionTimeoutState_build__closure(t0) { this.$this = t0; }, _DesktopSessionTimeoutState_build___closure: function _DesktopSessionTimeoutState_build___closure(t0) { this.$this = t0; }, MessageDialog: function MessageDialog(t0, t1, t2, t3, t4, t5) { var _ = this; _.message = t0; _.dismissLabel = t1; _.secondaryActions = t2; _.onDismiss = t3; _.onDiscard = t4; _.key = t5; }, MessageDialog_build_closure: function MessageDialog_build_closure() { }, MessageDialog_build_closure0: function MessageDialog_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, MessageDialog_build_closure1: function MessageDialog_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, ErrorDialog: function ErrorDialog(t0, t1, t2) { this.error = t0; this.clearErrorOnDismiss = t1; this.key = t2; }, ErrorDialog_build_closure: function ErrorDialog_build_closure(t0, t1) { this.context = t0; this.store = t1; }, ErrorDialog_build__closure: function ErrorDialog_build__closure(t0) { this.store = t0; }, ErrorDialog_build_closure0: function ErrorDialog_build_closure0(t0) { this._box_0 = t0; }, ErrorDialog_build_closure1: function ErrorDialog_build_closure1(t0, t1, t2) { this.$this = t0; this.store = t1; this.context = t2; }, _HealthListTile$(buttonCallback, buttonLabel, isValid, level, subtitle, title, url) { return new A._HealthListTile(title, isValid, level, subtitle, url, buttonLabel, buttonCallback, null); }, _HealthCheckLevel: function _HealthCheckLevel(t0, t1) { this.index = t0; this._core$_name = t1; }, HealthCheckDialog: function HealthCheckDialog(t0) { this.key = t0; }, _HealthCheckDialogState: function _HealthCheckDialogState(t0) { var _ = this; _._widget = _._response = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _HealthCheckDialogState_runCheck_closure: function _HealthCheckDialogState_runCheck_closure(t0) { this.$this = t0; }, _HealthCheckDialogState_runCheck_closure0: function _HealthCheckDialogState_runCheck_closure0(t0) { this.$this = t0; }, _HealthCheckDialogState_runCheck__closure: function _HealthCheckDialogState_runCheck__closure(t0, t1) { this.$this = t0; this.response = t1; }, _HealthCheckDialogState_runCheck_closure1: function _HealthCheckDialogState_runCheck_closure1(t0) { this.$this = t0; }, _HealthCheckDialogState_clearCache_closure: function _HealthCheckDialogState_clearCache_closure(t0) { this.$this = t0; }, _HealthCheckDialogState_clearCache_closure0: function _HealthCheckDialogState_clearCache_closure0(t0, t1) { this.$this = t0; this.store = t1; }, _HealthCheckDialogState_clearCache__closure: function _HealthCheckDialogState_clearCache__closure(t0) { this.$this = t0; }, _HealthCheckDialogState_clearCache_closure1: function _HealthCheckDialogState_clearCache_closure1() { }, _HealthCheckDialogState_build_closure: function _HealthCheckDialogState_build_closure(t0, t1) { this.context = t0; this.state = t1; }, _HealthCheckDialogState_build__closure0: function _HealthCheckDialogState_build__closure0(t0) { this.state = t0; }, _HealthCheckDialogState_build_closure0: function _HealthCheckDialogState_build_closure0(t0, t1, t2) { this.$this = t0; this.context = t1; this.localization = t2; }, _HealthCheckDialogState_build__closure: function _HealthCheckDialogState_build__closure(t0, t1) { this.$this = t0; this.localization = t1; }, _HealthCheckDialogState_build___closure: function _HealthCheckDialogState_build___closure(t0, t1) { this.$this = t0; this.localization = t1; }, _HealthCheckDialogState_build___closure0: function _HealthCheckDialogState_build___closure0(t0) { this.context = t0; }, _HealthCheckDialogState_build_closure1: function _HealthCheckDialogState_build_closure1(t0) { this.$this = t0; }, _HealthCheckDialogState_build_closure2: function _HealthCheckDialogState_build_closure2(t0) { this.$this = t0; }, _HealthCheckDialogState_build_closure3: function _HealthCheckDialogState_build_closure3(t0) { this.context = t0; }, _HealthListTile: function _HealthListTile(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.title = t0; _.isValid = t1; _.level = t2; _.subtitle = t3; _.url = t4; _.buttonLabel = t5; _.buttonCallback = t6; _.key = t7; }, _HealthListTile_build_closure: function _HealthListTile_build_closure(t0) { this.$this = t0; }, _HealthListTile_build_closure0: function _HealthListTile_build_closure0(t0) { this.$this = t0; }, _LastError: function _LastError(t0, t1) { this.state = t0; this.key = t1; }, __LastErrorState: function __LastErrorState(t0) { var _ = this; _._widget = _._response = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __LastErrorState_initState_closure: function __LastErrorState_initState_closure(t0) { this.$this = t0; }, __LastErrorState_initState__closure: function __LastErrorState_initState__closure(t0, t1) { this.$this = t0; this.response = t1; }, __LastErrorState_build_closure: function __LastErrorState_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, __LastErrorState_build_closure0: function __LastErrorState_build_closure0(t0) { this.context = t0; }, LoadingDialog: function LoadingDialog(t0) { this.key = t0; }, multiselectDialog(context, defaultSelected, entityType, onSelected, options, selected) { var _null = null; A.showDialog(_null, _null, false, _null, new A.multiselectDialog_closure(options, selected, defaultSelected, onSelected, entityType), context, _null, true, type$.AlertDialog); }, MultiSelectList$(addTitle, defaultSelected, entityType, isDialog, liveChanges, onSelected, options, prefix, selected) { return new A.MultiSelectList(options, selected, defaultSelected, addTitle, onSelected, liveChanges, prefix, isDialog, entityType, null); }, multiselectDialog_closure: function multiselectDialog_closure(t0, t1, t2, t3, t4) { var _ = this; _.options = t0; _.selected = t1; _.defaultSelected = t2; _.onSelected = t3; _.entityType = t4; }, multiselectDialog__closure: function multiselectDialog__closure(t0) { this.onSelected = t0; }, MultiSelectList: function MultiSelectList(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.options = t0; _.selected = t1; _.defaultSelected = t2; _.addTitle = t3; _.onSelected = t4; _.liveChanges = t5; _.prefix = t6; _.isDialog = t7; _.entityType = t8; _.key = t9; }, MultiSelectListState: function MultiSelectListState(t0) { var _ = this; _.__MultiSelectListState_selected_A = $; _._widget = _._multiselect_dialog$_controller = null; _._debugLifecycleState = t0; _._framework$_element = null; }, MultiSelectListState_build_closure: function MultiSelectListState_build_closure(t0) { this.$this = t0; }, MultiSelectListState_build_closure0: function MultiSelectListState_build_closure0(t0, t1, t2) { this.$this = t0; this.state = t1; this.options = t2; }, MultiSelectListState_build_closure1: function MultiSelectListState_build_closure1(t0) { this.$this = t0; }, MultiSelectListState_build_closure2: function MultiSelectListState_build_closure2(t0) { this.options = t0; }, MultiSelectListState_build_closure3: function MultiSelectListState_build_closure3(t0) { this.$this = t0; }, MultiSelectListState_build__closure3: function MultiSelectListState_build__closure3(t0, t1) { this.$this = t0; this.value = t1; }, MultiSelectListState_build_closure4: function MultiSelectListState_build_closure4(t0, t1, t2) { this.$this = t0; this.state = t1; this.context = t2; }, MultiSelectListState_build__closure2: function MultiSelectListState_build__closure2(t0, t1) { this.$this = t0; this.option = t1; }, MultiSelectListState_build___closure: function MultiSelectListState_build___closure(t0, t1) { this.$this = t0; this.option = t1; }, MultiSelectListState_build_closure5: function MultiSelectListState_build_closure5(t0) { this.$this = t0; }, MultiSelectListState_build__closure1: function MultiSelectListState_build__closure1(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.oldIndex = t2; }, MultiSelectListState_build_closure6: function MultiSelectListState_build_closure6(t0) { this.$this = t0; }, MultiSelectListState_build__closure0: function MultiSelectListState_build__closure0(t0) { this.$this = t0; }, MultiSelectListState_build_closure7: function MultiSelectListState_build_closure7(t0) { this.$this = t0; }, MultiSelectListState_build__closure: function MultiSelectListState_build__closure(t0) { this.$this = t0; }, MultiSelectListState_build_closure8: function MultiSelectListState_build_closure8(t0) { this.context = t0; }, MultiSelectListState_build_closure9: function MultiSelectListState_build_closure9(t0, t1) { this.$this = t0; this.context = t1; }, DismissibleEntity: function DismissibleEntity(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.userCompany = t0; _.entity = t1; _.child = t2; _.isSelected = t3; _.showMultiselect = t4; _.isDismissible = t5; _.key = t6; }, DismissibleEntity_build_closure: function DismissibleEntity_build_closure(t0) { this.$this = t0; }, DismissibleEntity_build_closure0: function DismissibleEntity_build_closure0(t0) { this.$this = t0; }, DismissibleEntity_build_closure1: function DismissibleEntity_build_closure1(t0) { this.$this = t0; }, DismissibleEntity_build_closure2: function DismissibleEntity_build_closure2(t0) { this.$this = t0; }, DismissibleEntity_build_closure3: function DismissibleEntity_build_closure3(t0) { this.$this = t0; }, DocumentGrid: function DocumentGrid(t0, t1, t2, t3, t4) { var _ = this; _.documents = t0; _.onUploadDocument = t1; _.onViewExpense = t2; _.onRenamedDocument = t3; _.key = t4; }, _DocumentGridState: function _DocumentGridState(t0) { var _ = this; _._isPrivate = _._document_grid$_dragging = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DocumentGridState_build_closure: function _DocumentGridState_build_closure(t0) { this.$this = t0; }, _DocumentGridState_build__closure4: function _DocumentGridState_build__closure4(t0, t1) { this.$this = t0; this.value = t1; }, _DocumentGridState_build_closure0: function _DocumentGridState_build_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.localization = t1; _.state = t2; _.privateSwitch = t3; }, _DocumentGridState_build__closure3: function _DocumentGridState_build__closure3(t0) { this.$this = t0; }, _DocumentGridState_build__closure2: function _DocumentGridState_build__closure2(t0) { this.$this = t0; }, _DocumentGridState_build__closure0: function _DocumentGridState_build__closure0(t0) { this.$this = t0; }, _DocumentGridState_build___closure0: function _DocumentGridState_build___closure0(t0) { this.$this = t0; }, _DocumentGridState_build__closure1: function _DocumentGridState_build__closure1(t0) { this.$this = t0; }, _DocumentGridState_build___closure: function _DocumentGridState_build___closure(t0) { this.$this = t0; }, _DocumentGridState_build_closure1: function _DocumentGridState_build_closure1(t0) { this.$this = t0; }, _DocumentGridState_build__closure: function _DocumentGridState_build__closure(t0) { this.$this = t0; }, DocumentTile: function DocumentTile(t0, t1, t2, t3) { var _ = this; _.documentId = t0; _.onViewExpense = t1; _.onRenamedDocument = t2; _.key = t3; }, DocumentTile_build_closure: function DocumentTile_build_closure(t0, t1) { this.context = t0; this.document = t1; }, DocumentTile_build_closure1: function DocumentTile_build_closure1(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.localization = t1; _.context = t2; _.document = t3; _.store = t4; }, DocumentTile_build__closure: function DocumentTile_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.store = t1; _.localization = t2; _.document = t3; }, DocumentTile_build___closure: function DocumentTile_build___closure(t0) { this.$this = t0; }, DocumentTile_build___closure0: function DocumentTile_build___closure0(t0) { this.name = t0; }, DocumentTile_build_closure0: function DocumentTile_build_closure0(t0, t1) { this.document = t0; this.localization = t1; }, DocumentPreview: function DocumentPreview(t0, t1, t2) { this.document = t0; this.height = t1; this.key = t2; }, EditScaffold$(actions, appBarBottom, body, bottomNavigationBar, entity, floatingActionButton, isFullscreen, onActionPressed, onCancelPressed, onSavePressed, saveLabel, title) { return new A.EditScaffold(entity, title, onSavePressed, onCancelPressed, onActionPressed, actions, appBarBottom, floatingActionButton, body, bottomNavigationBar, saveLabel, isFullscreen, null); }, EditScaffold: function EditScaffold(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.entity = t0; _.title = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.onActionPressed = t4; _.actions = t5; _.appBarBottom = t6; _.floatingActionButton = t7; _.body = t8; _.bottomNavigationBar = t9; _.saveLabel = t10; _.isFullscreen = t11; _.key = t12; }, EditScaffold_build_closure: function EditScaffold_build_closure(t0) { this.store = t0; }, EditScaffold_build_closure0: function EditScaffold_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, EditScaffold_build_closure1: function EditScaffold_build_closure1(t0) { this._box_0 = t0; }, EditScaffold_build_closure3: function EditScaffold_build_closure3(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.localization = t2; _.state = t3; _.context = t4; _.textStyle = t5; _.store = t6; }, EditScaffold_build__closure0: function EditScaffold_build__closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.action = t1; _.context = t2; _.store = t3; }, EditScaffold_build_closure2: function EditScaffold_build_closure2(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.localization = t1; _.textStyle = t2; _.state = t3; _.entityActions = t4; }, EditScaffold_build__closure2: function EditScaffold_build__closure2(t0, t1) { this.$this = t0; this.context = t1; }, EditScaffold_build__closure1: function EditScaffold_build__closure1(t0, t1) { this.entityActions = t0; this.remaining = t1; }, EditScaffold_build___closure: function EditScaffold_build___closure(t0) { this.context = t0; }, EditScaffold_build_closure4: function EditScaffold_build_closure4(t0, t1, t2) { this.$this = t0; this.context = t1; this.store = t2; }, EditScaffold_build_closure5: function EditScaffold_build_closure5(t0, t1) { this.$this = t0; this.context = t1; }, EditScaffold_build_closure6: function EditScaffold_build_closure6(t0) { this.$this = t0; }, EditScaffold_build_closure7: function EditScaffold_build_closure7(t0, t1) { this.$this = t0; this.store = t1; }, EditScaffold_build_closure8: function EditScaffold_build_closure8(t0) { this.$this = t0; }, EditScaffold_build__closure: function EditScaffold_build__closure(t0) { this.context = t0; }, EditScaffold_build_closure9: function EditScaffold_build_closure9(t0, t1) { this.$this = t0; this.context = t1; }, showEntityActionsDialog(completer, entities, multiselect) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, actions, first, t3, t4, client, t1, mainContext, t2; var $async$showEntityActionsDialog = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$navigatorKey(); mainContext = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t2.toString; t2 = A.StoreProvider_of(t2, type$.AppState).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); actions = A._setArrayType([], type$.JSArray_Widget); first = entities[0]; if (type$.BelongsToClient._is(first)) { t3 = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].clientState; t4 = first.get$clientId(first); t4.toString; client = t3.$get$1(0, t4); } else client = null; t2 = first.getActions$4$client$includeEdit$multiselect$userCompany(client, true, multiselect, t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany); t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,StatelessWidget>"); B.JSArray_methods.addAll$1(actions, A.List_List$of(new A.MappedListIterable(t2, new A.showEntityActionsDialog_closure(entities, mainContext, completer), t3), true, t3._eval$1("ListIterable.E"))); if (actions.length === 0) { // goto return $async$goto = 1; break; } t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(null, null, true, null, new A.showEntityActionsDialog_closure0(actions), t1, null, true, type$.String); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$showEntityActionsDialog, $async$completer); }, showEntityActionsDialog_closure: function showEntityActionsDialog_closure(t0, t1, t2) { this.entities = t0; this.mainContext = t1; this.completer = t2; }, showEntityActionsDialog_closure0: function showEntityActionsDialog_closure0(t0) { this.actions = t0; }, EntityActionListTile: function EntityActionListTile(t0, t1, t2, t3, t4) { var _ = this; _.entities = t0; _.action = t1; _.mainContext = t2; _.completer = t3; _.key = t4; }, EntityActionListTile_build_closure: function EntityActionListTile_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, EntityListTile$(entity, isFilter, subtitle) { return new A.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_closure3: function _EntityListTileState_build_closure3(t0) { this.$this = t0; }, _EntityListTileState_build__closure0: function _EntityListTileState_build__closure0(t0) { this.$this = t0; }, _EntityListTileState_build_closure4: function _EntityListTileState_build_closure4(t0) { this.$this = t0; }, _EntityListTileState_build__closure: function _EntityListTileState_build__closure(t0) { this.$this = t0; }, _EntityListTileState_build_closure2: function _EntityListTileState_build_closure2(t0, t1, t2) { this.$this = t0; this.state = t1; this.store = t2; }, _EntityListTileState_build_closure1: function _EntityListTileState_build_closure1(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_closure2: function _EntitiesListTileState_build_closure2(t0) { this.$this = t0; }, _EntitiesListTileState_build__closure0: function _EntitiesListTileState_build__closure0(t0) { this.$this = t0; }, _EntitiesListTileState_build_closure3: function _EntitiesListTileState_build_closure3(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_closure1: function _EntitiesListTileState_build_closure1() { }, _EntitiesListTileState_build_closure0: function _EntitiesListTileState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, EntityStatusChip$(entity, showState, width) { return new A.EntityStatusChip(entity, width, showState, null); }, EntityStatusChip: function EntityStatusChip(t0, t1, t2, t3) { var _ = this; _.entity = t0; _.width = t1; _.showState = t2; _.key = t3; }, EntityDropdown$(allowClearing, autofocus, entityId, entityList, entityMap, entityType, excludeIds, labelText, onAddPressed, onCreateNew, onSelected, overrideSuggestedAmount, overrideSuggestedLabel, validator) { return new A.EntityDropdown(entityType, entityList, labelText, entityId, autofocus, entityMap, onSelected, validator, allowClearing, onAddPressed, overrideSuggestedAmount, overrideSuggestedLabel, onCreateNew, excludeIds, null); }, EntityDropdown: function EntityDropdown(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.entityType = t0; _.entityList = t1; _.labelText = t2; _.entityId = t3; _.autofocus = t4; _.entityMap = t5; _.onSelected = t6; _.validator = t7; _.allowClearing = t8; _.onAddPressed = t9; _.overrideSuggestedAmount = t10; _.overrideSuggestedLabel = t11; _.onCreateNew = t12; _.excludeIds = t13; _.key = t14; }, _EntityDropdownState: function _EntityDropdownState(t0, t1, t2, t3, t4) { var _ = this; _._entity_dropdown$_textController = t0; _._entity_dropdown$_focusNode = t1; _._entity_dropdown$_filter = ""; _._entityMap = null; _._entity_dropdown$_scrollController = t2; _.autocompletePositionNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _EntityDropdownState__showOptions_closure: function _EntityDropdownState__showOptions_closure(t0) { this.$this = t0; }, _EntityDropdownState__showOptions__closure: function _EntityDropdownState__showOptions__closure(t0) { this.$this = t0; }, _EntityDropdownState__showOptions__closure1: function _EntityDropdownState__showOptions__closure1(t0) { this.$this = t0; }, _EntityDropdownState__showOptions__closure0: function _EntityDropdownState__showOptions__closure0(t0) { this.$this = t0; }, _EntityDropdownState_build_closure: function _EntityDropdownState_build_closure(t0) { this.$this = t0; }, _EntityDropdownState_build_closure0: function _EntityDropdownState_build_closure0(t0) { this.$this = t0; }, _EntityDropdownState_build__closure4: function _EntityDropdownState_build__closure4(t0) { this.$this = t0; }, _EntityDropdownState_build_closure1: function _EntityDropdownState_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _EntityDropdownState_build_closure2: function _EntityDropdownState_build_closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.iconButton = t2; _.theme = t3; }, _EntityDropdownState_build__closure2: function _EntityDropdownState_build__closure2(t0, t1) { this.$this = t0; this.state = t1; }, _EntityDropdownState_build___closure0: function _EntityDropdownState_build___closure0(t0) { this.$this = t0; }, _EntityDropdownState_build___closure1: function _EntityDropdownState_build___closure1(t0) { this.textEditingValue = t0; }, _EntityDropdownState_build___closure2: function _EntityDropdownState_build___closure2(t0) { this.$this = t0; }, _EntityDropdownState_build__closure: function _EntityDropdownState_build__closure() { }, _EntityDropdownState_build__closure1: function _EntityDropdownState_build__closure1(t0) { this.$this = t0; }, _EntityDropdownState_build__closure__wrapUp: function _EntityDropdownState_build__closure__wrapUp(t0) { this.$this = t0; }, _EntityDropdownState_build____wrapUp_closure: function _EntityDropdownState_build____wrapUp_closure(t0) { this.$this = t0; }, _EntityDropdownState_build___closure3: function _EntityDropdownState_build___closure3(t0) { this.$this = t0; }, _EntityDropdownState_build___closure4: function _EntityDropdownState_build___closure4(t0, t1) { this.$this = t0; this._wrapUp = t1; }, _EntityDropdownState_build___closure5: function _EntityDropdownState_build___closure5(t0) { this.$this = t0; }, _EntityDropdownState_build__closure0: function _EntityDropdownState_build__closure0(t0, t1) { this.$this = t0; this.iconButton = t1; }, _EntityDropdownState_build___closure7: function _EntityDropdownState_build___closure7(t0) { this.onFieldSubmitted = t0; }, _EntityDropdownState_build___closure6: function _EntityDropdownState_build___closure6(t0) { this.$this = t0; }, _EntityDropdownState_build__closure3: function _EntityDropdownState_build__closure3(t0, t1, t2) { this.$this = t0; this.theme = t1; this.state = t2; }, _EntityDropdownState_build___closure: function _EntityDropdownState_build___closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.onSelected = t2; _.options = t3; }, _EntityDropdownState_build____closure: function _EntityDropdownState_build____closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.index = t1; _.state = t2; _.onSelected = t3; _.options = t4; }, _EntityDropdownState_build_____closure: function _EntityDropdownState_build_____closure(t0) { this.context = t0; }, _EntityDropdownState_build_____closure0: function _EntityDropdownState_build_____closure0(t0) { this.onSelected = t0; }, _EntityDropdownState_build_closure3: function _EntityDropdownState_build_closure3(t0) { this.$this = t0; }, _EntityDropdownState_build_closure4: function _EntityDropdownState_build_closure4(t0) { this.$this = t0; }, EntityDropdownDialog: function EntityDropdownDialog(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.entityMap = t0; _.entityList = t1; _.onSelected = t2; _.onAddPressed = t3; _.overrideSuggestedAmount = t4; _.overrideSuggestedLabel = t5; _.key = t6; }, _EntityDropdownDialogState: function _EntityDropdownDialogState(t0) { var _ = this; _._widget = _._entity_dropdown$_filter = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _EntityDropdownDialogState_build__selectEntity: function _EntityDropdownDialogState_build__selectEntity(t0, t1) { this.$this = t0; this.context = t1; }, _EntityDropdownDialogState_build__headerRow: function _EntityDropdownDialogState_build__headerRow(t0, t1, t2) { this.$this = t0; this.localization = t1; this.context = t2; }, _EntityDropdownDialogState_build__headerRow_closure: function _EntityDropdownDialogState_build__headerRow_closure(t0) { this.$this = t0; }, _EntityDropdownDialogState_build__headerRow__closure0: function _EntityDropdownDialogState_build__headerRow__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _EntityDropdownDialogState_build__headerRow_closure0: function _EntityDropdownDialogState_build__headerRow_closure0(t0) { this.context = t0; }, _EntityDropdownDialogState_build__headerRow_closure1: function _EntityDropdownDialogState_build__headerRow_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _EntityDropdownDialogState_build__headerRow__closure: function _EntityDropdownDialogState_build__headerRow__closure(t0) { this.$this = t0; }, _EntityDropdownDialogState_build__createList: function _EntityDropdownDialogState_build__createList(t0, t1) { this.$this = t0; this._selectEntity = t1; }, _EntityDropdownDialogState_build__createList_closure: function _EntityDropdownDialogState_build__createList_closure(t0) { this.$this = t0; }, _EntityDropdownDialogState_build__createList_closure0: function _EntityDropdownDialogState_build__createList_closure0(t0) { this.$this = t0; }, _EntityDropdownDialogState_build__createList_closure1: function _EntityDropdownDialogState_build__createList_closure1(t0, t1, t2) { this.$this = t0; this.matches = t1; this._selectEntity = t2; }, _EntityDropdownDialogState_build__createList__closure: function _EntityDropdownDialogState_build__createList__closure(t0) { this._selectEntity = t0; }, EntityAutocompleteListTile: function EntityAutocompleteListTile(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.entity = t0; _.onTap = t1; _.filter = t2; _.subtitle = t3; _.overrideSuggestedAmount = t4; _.overrideSuggestedLabel = t5; _.key = t6; }, EntityAutocompleteListTile_build_closure: function EntityAutocompleteListTile_build_closure(t0) { this.$this = t0; }, _AutocompleteEntity: function _AutocompleteEntity(t0) { this.name = t0; }, __AutocompleteEntity_Object_SelectableEntity: function __AutocompleteEntity_Object_SelectableEntity() { }, EntityHeader$(entity, label, secondLabel, secondValue, statusColor, statusLabel, value) { return new A.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; }, EntityStateLabel: function EntityStateLabel(t0, t1) { this.entity = t0; this.key = t1; }, EntityTopFilter: function EntityTopFilter(t0, t1) { this.show = t0; this.key = t1; }, EntityTopFilter_build_closure: function EntityTopFilter_build_closure(t0) { this.state = t0; }, EntityTopFilter_build_closure0: function EntityTopFilter_build_closure0(t0, t1) { this.store = t0; this.uiState = t1; }, EntityTopFilter_build_closure2: function EntityTopFilter_build_closure2(t0, t1) { this.store = t0; this.prefState = t1; }, EntityTopFilter_build_closure1: function EntityTopFilter_build_closure1(t0) { this.filterEntity = t0; }, EntityTopFilter_build_closure4: function EntityTopFilter_build_closure4(t0, t1, t2) { this.relatedTypes = t0; this.i = t1; this.filterEntity = t2; }, EntityTopFilter_build_closure3: function EntityTopFilter_build_closure3(t0, t1, t2) { this.filterEntity = t0; this.relatedTypes = t1; this.i = t2; }, EntityTopFilter_build_closure5: function EntityTopFilter_build_closure5(t0, t1, t2, t3, t4, t5) { var _ = this; _.localization = t0; _.state = t1; _.routeEntityType = t2; _.filterEntityType = t3; _.filterEntity = t4; _.relatedTypes = t5; }, EntityTopFilter_build__closure0: function EntityTopFilter_build__closure0(t0, t1) { this.filterEntityType = t0; this.filterEntity = t1; }, EntityTopFilter_build__closure: function EntityTopFilter_build__closure(t0, t1, t2, t3, t4) { var _ = this; _.filterEntityType = t0; _.relatedTypes = t1; _.remaining = t2; _.state = t3; _.localization = t4; }, EntityTopFilter_build___closure: function EntityTopFilter_build___closure(t0) { this.state = t0; }, EntityTopFilter_build___closure0: function EntityTopFilter_build___closure0(t0, t1) { this.filterEntityType = t0; this.localization = t1; }, EntityTopFilter_build_closure6: function EntityTopFilter_build_closure6(t0, t1) { this.store = t0; this.uiState = t1; }, EntityTopFilterHeader: function EntityTopFilterHeader(t0) { this.key = t0; }, EntityTopFilterHeader_build_closure: function EntityTopFilterHeader_build_closure(t0, t1, t2) { this.uiState = t0; this.state = t1; this.store = t2; }, EntityTopFilterHeader_build_closure1: function EntityTopFilterHeader_build_closure1(t0, t1) { this.store = t0; this.prefState = t1; }, EntityTopFilterHeader_build_closure0: function EntityTopFilterHeader_build_closure0(t0) { this.filterEntity = t0; }, EntityTopFilterHeader_build_closure2: function EntityTopFilterHeader_build_closure2(t0, t1, t2, t3) { var _ = this; _.localization = t0; _.state = t1; _.textStyle = t2; _.filterEntity = t3; }, EntityTopFilterHeader_build__closure1: function EntityTopFilterHeader_build__closure1(t0, t1) { this.filterEntity = t0; this.action = t1; }, EntityTopFilterHeader_build_closure3: function EntityTopFilterHeader_build_closure3(t0, t1, t2, t3, t4) { var _ = this; _.localization = t0; _.textStyle = t1; _.state = t2; _.filterEntity = t3; _.entityActions = t4; }, EntityTopFilterHeader_build__closure0: function EntityTopFilterHeader_build__closure0(t0) { this.filterEntity = t0; }, EntityTopFilterHeader_build__closure: function EntityTopFilterHeader_build__closure(t0, t1) { this.entityActions = t0; this.remaining = t1; }, EntityTopFilterHeader_build___closure: function EntityTopFilterHeader_build___closure(t0) { this.context = t0; }, EntityTopFilterHeader_build_closure4: function EntityTopFilterHeader_build_closure4(t0, t1) { this.store = t0; this.uiState = t1; }, FormCard$(child, children, constraints, crossAxisAlignment, forceNarrow, internalPadding, isLast, key, padding) { return new A.FormCard(child, children, crossAxisAlignment, forceNarrow, padding, internalPadding, isLast, constraints, key); }, 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; _.constraints = t7; _.key = t8; }, AppDropdownButton$(autofocus, blankLabel, blankValue, enabled, items, key, labelText, onChanged, selectedItemBuilder, showBlank, value, $T) { return new A.AppDropdownButton(labelText, value, onChanged, items, showBlank, enabled, autofocus, blankValue, blankLabel, selectedItemBuilder, key, $T._eval$1("AppDropdownButton<0>")); }, AppDropdownButton: function AppDropdownButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.labelText = t0; _.value = t1; _.onChanged = t2; _.items = t3; _.showBlank = t4; _.enabled = t5; _.autofocus = t6; _.blankValue = t7; _.blankLabel = t8; _.selectedItemBuilder = t9; _.key = t10; _.$ti = t11; }, AppDropdownButton_build_closure: function AppDropdownButton_build_closure(t0) { this.$this = t0; }, AppForm: function AppForm(t0, t1, t2, t3, t4) { var _ = this; _.formKey = t0; _.children = t1; _.child = t2; _.focusNode = t3; _.key = t4; }, AppTabForm: function AppTabForm(t0, t1, t2, t3, t4, t5) { var _ = this; _.focusNode = t0; _.formKey = t1; _.children = t2; _.tabController = t3; _.tabBarKey = t4; _.key = t5; }, AppTabBar: function AppTabBar(t0, t1, t2, t3, t4) { var _ = this; _.tabs = t0; _.controller = t1; _.isScrollable = t2; _.onTap = t3; _.key = t4; }, AppToggleButtons: function AppToggleButtons(t0, t1, t2, t3, t4) { var _ = this; _.tabLabels = t0; _.selectedIndex = t1; _.onTabChanged = t2; _.padding = t3; _.key = t4; }, AppToggleButtons_build_closure: function AppToggleButtons_build_closure(t0) { this.$this = t0; }, AppToggleButtons_build__closure: function AppToggleButtons_build__closure(t0) { this._box_0 = t0; }, AppToggleButtons_build__closure0: function AppToggleButtons_build__closure0(t0) { this.$this = t0; }, BoolDropdownButton$(disabledLabel, enabledLabel, helpLabel, iconData, label, minWidth, onChanged, value) { return new A.BoolDropdownButton(label, helpLabel, value, onChanged, iconData, enabledLabel, disabledLabel, minWidth, null); }, BoolDropdownButton: function BoolDropdownButton(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.label = t0; _.helpLabel = t1; _.value = t2; _.onChanged = t3; _.iconData = t4; _.enabledLabel = t5; _.disabledLabel = t6; _.minWidth = t7; _.key = t8; }, BoolDropdownButton_build_closure: function BoolDropdownButton_build_closure(t0) { this.$this = t0; }, BoolDropdownButton_build_closure0: function BoolDropdownButton_build_closure0(t0) { this.$this = t0; }, BoolDropdownButton_build_closure2: function BoolDropdownButton_build_closure2(t0) { this.$this = t0; }, BoolDropdownButton_build_closure1: function BoolDropdownButton_build_closure1() { }, BoolDropdownButton_build_closure4: function BoolDropdownButton_build_closure4(t0) { this.$this = t0; }, BoolDropdownButton_build_closure3: function BoolDropdownButton_build_closure3() { }, ClientPicker: function ClientPicker(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.clientId = t0; _.clientState = t1; _.onSelected = t2; _.onAddPressed = t3; _.autofocus = t4; _.excludeIds = t5; _.isRequired = t6; _.key = t7; }, ClientPicker_build_closure: function ClientPicker_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, FormColorPicker$(initialValue, labelText, onSelected) { return new A.FormColorPicker(labelText, initialValue, onSelected, null); }, FormColorPicker: function FormColorPicker(t0, t1, t2, t3) { var _ = this; _.labelText = t0; _.initialValue = t1; _.onSelected = t2; _.key = t3; }, _FormColorPickerState: function _FormColorPickerState(t0, t1, t2, t3) { var _ = this; _._color_picker$_textController = t0; _._selectedColor = _._pendingColor = null; _._color_picker$_debouncer = t1; _.___FormColorPickerState__controllers_A = $; _._defaultColors = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _FormColorPickerState_didChangeDependencies_closure: function _FormColorPickerState_didChangeDependencies_closure(t0) { this.$this = t0; }, _FormColorPickerState_didChangeDependencies_closure0: function _FormColorPickerState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _FormColorPickerState__onChanged_closure: function _FormColorPickerState__onChanged_closure(t0) { this.$this = t0; }, _FormColorPickerState__selectColor_closure: function _FormColorPickerState__selectColor_closure(t0, t1) { this.$this = t0; this.color = t1; }, _FormColorPickerState__showPicker_closure: function _FormColorPickerState__showPicker_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.colors = t2; _.localization = t3; }, _FormColorPickerState__showPicker__closure: function _FormColorPickerState__showPicker__closure(t0) { this.$this = t0; }, _FormColorPickerState__showPicker__closure0: function _FormColorPickerState__showPicker__closure0(t0) { this.context = t0; }, _FormColorPickerState__showPicker__closure1: function _FormColorPickerState__showPicker__closure1(t0, t1) { this.$this = t0; this.context = t1; }, _FormColorPickerState_build_closure: function _FormColorPickerState_build_closure(t0) { this.$this = t0; }, CustomField$(controller, field, hideFieldLabel, onChanged, onSavePressed, value) { return new A.CustomField(controller, onChanged, onSavePressed, field, value, hideFieldLabel, null); }, CustomField: function CustomField(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.controller = t0; _.onChanged = t1; _.onSavePressed = t2; _.field = t3; _.value = t4; _.hideFieldLabel = t5; _.key = t6; }, _CustomFieldState: function _CustomFieldState(t0) { var _ = this; _._widget = _._custom_field$_value = _._custom_field$_controller = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _CustomFieldState_build_closure: function _CustomFieldState_build_closure(t0) { this.$this = t0; }, _CustomFieldState_build_closure0: function _CustomFieldState_build_closure0(t0) { this.$this = t0; }, _CustomFieldState_build_closure1: function _CustomFieldState_build_closure1() { }, _CustomFieldState_build_closure2: function _CustomFieldState_build_closure2(t0) { this.$this = t0; }, _CustomFieldState_build__closure: function _CustomFieldState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, CustomSurcharges: function CustomSurcharges(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.surcharge1Controller = t0; _.surcharge2Controller = t1; _.surcharge3Controller = t2; _.surcharge4Controller = t3; _.onSavePressed = t4; _.isAfterTaxes = t5; _.key = t6; }, DatePicker$(allowClearing, autoValidate, autofocus, firstDate, hint, key, labelText, message, onSelected, selectedDate, validator) { return new A.DatePicker(labelText, selectedDate, onSelected, validator, allowClearing, message, firstDate, autofocus, hint, key); }, DatePicker: function DatePicker(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.labelText = t0; _.selectedDate = t1; _.onSelected = t2; _.validator = t3; _.allowClearing = t4; _.message = t5; _.firstDate = t6; _.autofocus = t7; _.hint = t8; _.key = t9; }, _DatePickerState: function _DatePickerState(t0, t1, t2) { var _ = this; _._textController = t0; _._date_picker$_focusNode = t1; _._widget = _._pendingValue = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _DatePickerState__onFoucsChanged_closure: function _DatePickerState__onFoucsChanged_closure(t0) { this.$this = t0; }, _DatePickerState_build_closure: function _DatePickerState_build_closure(t0) { this.$this = t0; }, _DatePickerState_build_closure0: function _DatePickerState_build_closure0(t0) { this.$this = t0; }, _DatePickerState_build_closure1: function _DatePickerState_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _DatePickerState_build__closure: function _DatePickerState_build__closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.context = t2; }, DecoratedFormField$(autocorrect, autofillHints, autofocus, controller, decoration, enabled, focusNode, hint, initialValue, inputFormatters, isMoney, isPercent, key, keyboardType, label, maxLines, minLines, obscureText, onChanged, onFieldSubmitted, onSavePressed, showClear, suffixIcon, suffixIconButton, textAlign, textCapitalization, validator) { return new A.DecoratedFormField(controller, label, hint, initialValue, validator, keyboardType, maxLines, minLines, enabled, false, obscureText, autofocus, onFieldSubmitted, onChanged, suffixIcon, suffixIconButton, autofillHints, onSavePressed, textAlign, decoration, focusNode, isMoney, isPercent, showClear, inputFormatters, textCapitalization, 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; _.enabled = t8; _.autocorrect = t9; _.obscureText = t10; _.autofocus = t11; _.onFieldSubmitted = t12; _.onChanged = t13; _.suffixIcon = t14; _.suffixIconButton = t15; _.autofillHints = t16; _.onSavePressed = t17; _.textAlign = t18; _.decoration = t19; _.focusNode = t20; _.isMoney = t21; _.isPercent = t22; _.showClear = t23; _.inputFormatters = t24; _.textCapitalization = 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_closure2: function _DecoratedFormFieldState_build_closure2(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) { this.$this = t0; this.enterShouldSubmit = t1; this.context = t2; }, DesignPicker: function DesignPicker(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.onSelected = t0; _.label = t1; _.initialValue = t2; _.showBlank = t3; _.autofocus = t4; _.entityType = t5; _.key = t6; }, DesignPicker_build_closure1: function DesignPicker_build_closure1(t0, t1) { this.$this = t0; this.designState = t1; }, DesignPicker_build_closure: function DesignPicker_build_closure(t0, t1, t2) { this.$this = t0; this.designState = t1; this.state = t2; }, DesignPicker_build_closure0: function DesignPicker_build_closure0(t0) { this.designState = t0; }, DiscountField: function DiscountField(t0, t1, t2, t3, t4, t5) { var _ = this; _.controller = t0; _.value = t1; _.isAmountDiscount = t2; _.onTypeChanged = t3; _.label = t4; _.key = t5; }, DurationPicker: function DurationPicker(t0, t1, t2, t3) { var _ = this; _.selectedDuration = t0; _.onSelected = t1; _.labelText = t2; _.key = t3; }, _DurationPickerState: function _DurationPickerState(t0, t1, t2) { var _ = this; _._duration_picker$_textController = t0; _._duration_picker$_focusNode = t1; _._widget = _._pendingDuration = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _DurationPickerState__onFoucsChanged_closure: function _DurationPickerState__onFoucsChanged_closure(t0) { this.$this = t0; }, _DurationPickerState_build_closure1: function _DurationPickerState_build_closure1(t0) { this.$this = t0; }, _DurationPickerState_build__closure: function _DurationPickerState_build__closure(t0, t1) { this.$this = t0; this.duration = t1; }, _DurationPickerState_build_closure: function _DurationPickerState_build_closure() { }, _DurationPickerState_build__closure0: function _DurationPickerState_build__closure0() { }, _DurationPickerState_build_closure0: function _DurationPickerState_build_closure0(t0) { this.$this = t0; }, DynamicSelector$(allowClearing, entityId, entityIds, entityType, key, labelText, onChanged, overrideSuggestedLabel) { return new A.DynamicSelector(labelText, allowClearing, entityId, entityIds, entityType, onChanged, overrideSuggestedLabel, key); }, DynamicSelector: function DynamicSelector(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.labelText = t0; _.allowClearing = t1; _.entityId = t2; _.entityIds = t3; _.entityType = t4; _.onChanged = t5; _.overrideSuggestedLabel = t6; _.key = t7; }, DynamicSelector_build_closure0: function DynamicSelector_build_closure0(t0) { this.$this = t0; }, DynamicSelector_build_closure: function DynamicSelector_build_closure(t0, t1) { this.$this = t0; this.entityMap = t1; }, DynamicSelector_build_closure1: function DynamicSelector_build_closure1(t0) { this.$this = t0; }, GrowableFormField: function GrowableFormField(t0, t1, t2, t3, t4) { var _ = this; _.initialValue = t0; _.onChanged = t1; _.autofocus = t2; _.label = t3; _.key = t4; }, _GrowableFormFieldState: function _GrowableFormFieldState(t0, t1) { var _ = this; _._growable_form_field$_focusNode = t0; _._growable_form_field$_hasFocus = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _GrowableFormFieldState__onFoucsChanged_closure: function _GrowableFormFieldState__onFoucsChanged_closure(t0) { this.$this = t0; }, LearnMoreUrl$(child, label, url) { return new A.LearnMoreUrl(child, url, label, null); }, LearnMoreUrl: function LearnMoreUrl(t0, t1, t2, t3) { var _ = this; _.child = t0; _.url = t1; _.label = t2; _.key = t3; }, LearnMoreUrl_build_closure: function LearnMoreUrl_build_closure(t0) { this.$this = t0; }, NotificationSettings: function NotificationSettings(t0, t1, t2) { this.user = t0; this.onChanged = t1; this.key = t2; }, NotificationSettings_build_closure: function NotificationSettings_build_closure(t0) { this.$this = t0; }, NotificationSettings_build_closure0: function NotificationSettings_build_closure0(t0) { this.state = t0; }, NotificationSettings_build_closure1: function NotificationSettings_build_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.emailNotifications = t1; _.localization = t2; _.hasMultipleUsers = t3; }, NotificationSettings_build__closure: function NotificationSettings_build__closure(t0, t1, t2) { this.$this = t0; this.emailNotifications = t1; this.eventType = t2; }, _NotificationSelector: function _NotificationSelector(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.onChanged = t1; _.hasMultipleUsers = t2; _.showNoneAsCustom = t3; _.key = t4; }, _NotificationSelector_build_closure: function _NotificationSelector_build_closure(t0) { this.$this = t0; }, PasswordFormField: function PasswordFormField(t0, t1, t2, t3, t4, t5) { var _ = this; _.controller = t0; _.onSavePressed = t1; _.newPassword = t2; _.validate = 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; }, ProjectPicker: function ProjectPicker(t0, t1, t2, t3, t4) { var _ = this; _.projectId = t0; _.clientId = t1; _.onChanged = t2; _.onAddPressed = t3; _.key = t4; }, ProjectPicker_build_closure0: function ProjectPicker_build_closure0(t0) { this.$this = t0; }, ProjectPicker_build_closure: function ProjectPicker_build_closure(t0, t1) { this.$this = t0; this.store = t1; }, ProjectPicker_build__closure: function ProjectPicker_build__closure(t0, t1) { this.$this = t0; this.name = t1; }, SaveCancelButtons$(cancelLabel, isCancelEnabled, isEnabled, isHeader, onCancelPressed, onSavePressed, saveLabel) { return new A.SaveCancelButtons(isEnabled, isCancelEnabled, saveLabel, cancelLabel, isHeader, onCancelPressed, onSavePressed, null); }, SaveCancelButtons: function SaveCancelButtons(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.isEnabled = t0; _.isCancelEnabled = t1; _.saveLabel = t2; _.cancelLabel = t3; _.isHeader = t4; _.onCancelPressed = t5; _.onSavePressed = t6; _.key = t7; }, SaveCancelButtons_build_closure: function SaveCancelButtons_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, SaveCancelButtons_build__closure0: function SaveCancelButtons_build__closure0(t0, t1) { this.$this = t0; this.context = t1; }, SaveCancelButtons_build_closure0: function SaveCancelButtons_build_closure0(t0, t1) { this.$this = t0; this.localization = t1; }, SaveCancelButtons_build__closure: function SaveCancelButtons_build__closure(t0, t1) { this.$this = t0; this.context = t1; }, TimePicker$(isEndTime, key, labelText, onSelected, selectedDateTime) { return new A.TimePicker(labelText, selectedDateTime, onSelected, key); }, TimePicker: function TimePicker(t0, t1, t2, t3) { var _ = this; _.labelText = t0; _.selectedDateTime = t1; _.onSelected = t2; _.key = t3; }, _TimePickerState: function _TimePickerState(t0, t1, t2) { var _ = this; _._time_picker$_textController = t0; _._time_picker$_focusNode = t1; _._widget = _._time_picker$_pendingValue = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _TimePickerState__onFoucsChanged_closure: function _TimePickerState__onFoucsChanged_closure(t0) { this.$this = t0; }, _TimePickerState__showTimePicker_closure: function _TimePickerState__showTimePicker_closure() { }, _TimePickerState_build_closure: function _TimePickerState_build_closure(t0) { this.$this = t0; }, _TimePickerState_build_closure0: function _TimePickerState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _TimePickerState_build__closure: function _TimePickerState_build__closure() { }, _TimePickerState_build__closure0: function _TimePickerState_build__closure0() { }, _TimePickerState_build__closure1: function _TimePickerState_build__closure1(t0, t1, t2) { this.$this = t0; this.selectedDate = t1; this.context = t2; }, UserPicker: function UserPicker(t0, t1, t2) { this.userId = t0; this.onChanged = t1; this.key = t2; }, VendorPicker: function VendorPicker(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.vendorId = t0; _.vendorState = t1; _.onSelected = t2; _.onAddPressed = t3; _.autofocus = t4; _.excludeIds = t5; _.key = t6; }, VendorPicker_build_closure0: function VendorPicker_build_closure0(t0) { this.context = t0; }, VendorPicker_build_closure: function VendorPicker_build_closure(t0) { this.store = t0; }, VendorPicker_build__closure: function VendorPicker_build__closure(t0) { this.name = t0; }, TokenMeta: function TokenMeta(t0, t1) { this.meta = t0; this.key = t1; }, HelpText: function HelpText(t0, t1) { this.message = t0; this.key = t1; }, HistoryDrawer: function HistoryDrawer(t0) { this.key = t0; }, HistoryDrawer_build_closure: function HistoryDrawer_build_closure() { }, HistoryDrawer_build__closure: function HistoryDrawer_build__closure(t0) { this.context = t0; }, HistoryDrawer_build_closure0: function HistoryDrawer_build_closure0(t0) { this.store = t0; }, HistoryListTile: function HistoryListTile(t0, t1) { this.history = t0; this.key = t1; }, _HistoryListTileState: function _HistoryListTileState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _HistoryListTileState_build_closure: function _HistoryListTileState_build_closure(t0, t1) { this.history = t0; this.state = t1; }, _HistoryListTileState_build_closure1: function _HistoryListTileState_build_closure1(t0, t1, t2, t3) { var _ = this; _.state = t0; _.context = t1; _.history = t2; _.store = t3; }, _HistoryListTileState_build_closure0: function _HistoryListTileState_build_closure0(t0, t1, t2) { this._box_0 = t0; this.state = t1; this.context = t2; }, _HistoryListTileState_build__closure: function _HistoryListTileState_build__closure(t0) { this.context = t0; }, AppDrawerVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.get$companies(); return new A.AppDrawerVM(t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.user); }, HistoryDrawerBuilder: function HistoryDrawerBuilder(t0) { this.key = t0; }, HistoryDrawerBuilder_build_closure: function HistoryDrawerBuilder_build_closure() { }, AppDrawerVM: function AppDrawerVM(t0) { this.user = t0; }, IconMessage: function IconMessage(t0, t1, t2, t3, t4, t5) { var _ = this; _.text = t0; _.iconData = t1; _.color = t2; _.trailing = t3; _.copyToClipboard = t4; _.key = t5; }, IconText$(alignment, copyToClipboard, icon, iconSize, maxLines, style, text) { return new A.IconText(text, icon, style, alignment, copyToClipboard, iconSize, maxLines, null); }, IconText: function IconText(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.text = t0; _.icon = t1; _.style = t2; _.alignment = t3; _.copyToClipboard = t4; _.iconSize = t5; _.maxLines = t6; _.key = t7; }, ImportantMessageBanner: function ImportantMessageBanner(t0, t1, t2, t3) { var _ = this; _.child = t0; _.appLayout = t1; _.suggestedLayout = t2; _.key = t3; }, _ImportantMessageBannerState: function _ImportantMessageBannerState(t0, t1) { var _ = this; _._dismissedMessage = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ImportantMessageBannerState_build_closure: function _ImportantMessageBannerState_build_closure(t0, t1, t2, t3) { var _ = this; _.state = t0; _.context = t1; _.localization = t2; _.store = t3; }, _ImportantMessageBannerState_build__closure1: function _ImportantMessageBannerState_build__closure1(t0, t1) { this.state = t0; this.store = t1; }, _ImportantMessageBannerState_build___closure: function _ImportantMessageBannerState_build___closure() { }, _ImportantMessageBannerState_build___closure0: function _ImportantMessageBannerState_build___closure0(t0) { this.store = t0; }, _ImportantMessageBannerState_build___closure1: function _ImportantMessageBannerState_build___closure1(t0) { this.store = t0; }, _ImportantMessageBannerState_build_closure0: function _ImportantMessageBannerState_build_closure0() { }, _ImportantMessageBannerState_build_closure1: function _ImportantMessageBannerState_build_closure1(t0, t1, t2) { this.$this = t0; this.store = t1; this.context = t2; }, _ImportantMessageBannerState_build__closure0: function _ImportantMessageBannerState_build__closure0(t0, t1) { this.layout = t0; this.store = t1; }, _ImportantMessageBannerState_build_closure2: function _ImportantMessageBannerState_build_closure2(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.store = t2; }, _ImportantMessageBannerState_build__closure: function _ImportantMessageBannerState_build__closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, InvoiceEmailView: function InvoiceEmailView(t0, t1) { this.viewModel = t0; this.key = t1; }, _InvoiceEmailViewState: function _InvoiceEmailViewState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.___InvoiceEmailViewState_selectedTemplate_A = $; _._invoice_email_view$_subjectPreview = _._rawBodyPreview = _._invoice_email_view$_bodyPreview = _._invoice_email_view$_emailPreview = ""; _._invoice_email_view$_isLoading = false; _._invoice_email_view$_subjectController = t0; _._invoice_email_view$_bodyController = t1; _._ccEmailController = t2; _._invoice_email_view$_debouncer = t3; _._invoice_email_view$_controller = null; _._invoice_email_view$_controllers = t4; _.SingleTickerProviderStateMixin__ticker = t5; _.SingleTickerProviderStateMixin__tickerModeNotifier = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, _InvoiceEmailViewState_dispose_closure: function _InvoiceEmailViewState_dispose_closure() { }, _InvoiceEmailViewState__onChanged_closure: function _InvoiceEmailViewState__onChanged_closure(t0) { this.$this = t0; }, _InvoiceEmailViewState__loadTemplate_closure: function _InvoiceEmailViewState__loadTemplate_closure(t0) { this.$this = t0; }, _InvoiceEmailViewState__loadTemplate_closure0: function _InvoiceEmailViewState__loadTemplate_closure0(t0, t1, t2) { this.$this = t0; this.origSubject = t1; this.origBody = t2; }, _InvoiceEmailViewState__loadTemplate__closure: function _InvoiceEmailViewState__loadTemplate__closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.$this = t0; _.subject = t1; _.body = t2; _.email = t3; _.rawBody = t4; _.origSubject = t5; _.origBody = t6; _.rawSubject = t7; }, _InvoiceEmailViewState__buildTemplateDropdown_closure: function _InvoiceEmailViewState__buildTemplateDropdown_closure(t0, t1, t2) { this.invoice = t0; this.vendor = t1; this.client = t2; }, _InvoiceEmailViewState__buildTemplateDropdown__closure0: function _InvoiceEmailViewState__buildTemplateDropdown__closure0(t0, t1) { this.invoice = t0; this.invitation = t1; }, _InvoiceEmailViewState__buildTemplateDropdown_closure0: function _InvoiceEmailViewState__buildTemplateDropdown_closure0(t0) { this.invoice = t0; }, _InvoiceEmailViewState__buildTemplateDropdown_closure1: function _InvoiceEmailViewState__buildTemplateDropdown_closure1(t0) { this.$this = t0; }, _InvoiceEmailViewState__buildTemplateDropdown__closure: function _InvoiceEmailViewState__buildTemplateDropdown__closure(t0, t1) { this.$this = t0; this.template = t1; }, _InvoiceEmailViewState__buildEdit_closure: function _InvoiceEmailViewState__buildEdit_closure() { }, _InvoiceEmailViewState__buildEdit_closure0: function _InvoiceEmailViewState__buildEdit_closure0(t0) { this.$this = t0; }, _InvoiceEmailViewState__buildEdit_closure1: function _InvoiceEmailViewState__buildEdit_closure1(t0) { this.$this = t0; }, _InvoiceEmailViewState__buildEdit_closure2: function _InvoiceEmailViewState__buildEdit_closure2(t0) { this.$this = t0; }, _InvoiceEmailViewState__buildHistory_closure: function _InvoiceEmailViewState__buildHistory_closure(t0) { this.activities = t0; }, _InvoiceEmailViewState_build_closure: function _InvoiceEmailViewState_build_closure(t0) { this.invoice = t0; }, _InvoiceEmailViewState_build_closure0: function _InvoiceEmailViewState_build_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.viewModel = t2; _.localization = t3; }, _InvoiceEmailViewState_build_closure1: function _InvoiceEmailViewState_build_closure1(t0) { this.invoice = t0; }, _InvoiceEmailViewState_build_closure2: function _InvoiceEmailViewState_build_closure2(t0, t1) { this.$this = t0; this.viewModel = t1; }, __InvoiceEmailViewState_State_SingleTickerProviderStateMixin: function __InvoiceEmailViewState_State_SingleTickerProviderStateMixin() { }, InvoiceItemListTile: function InvoiceItemListTile(t0, t1, t2, t3) { var _ = this; _.onTap = t0; _.invoice = t1; _.invoiceItem = t2; _.key = t3; }, 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_closure4: function _TaxRateDropdownState_build_closure4(t0) { this.$this = t0; }, _TaxRateDropdownState_build_closure3: function _TaxRateDropdownState_build_closure3(t0) { this.$this = 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; }, LinkTextSpan$(style, text, url) { var t1 = A.TapGestureRecognizer$(null, null); t1.onTap = new A.LinkTextSpan_closure(url); return new A.LinkTextSpan(text, null, t1, B.SystemMouseCursor_click, style); }, LinkTextRelatedEntity: function LinkTextRelatedEntity(t0, t1, t2) { this.entity = t0; this.relation = t1; this.key = t2; }, _LinkTextRelatedEntityState: function _LinkTextRelatedEntityState(t0) { var _ = this; _._link_text$_isHovered = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _LinkTextRelatedEntityState_build_closure2: function _LinkTextRelatedEntityState_build_closure2(t0) { this.$this = t0; }, _LinkTextRelatedEntityState_build__closure: function _LinkTextRelatedEntityState_build__closure(t0) { this.$this = t0; }, _LinkTextRelatedEntityState_build_closure1: function _LinkTextRelatedEntityState_build_closure1(t0) { this.$this = t0; }, _LinkTextRelatedEntityState_build__closure0: function _LinkTextRelatedEntityState_build__closure0(t0) { this.$this = t0; }, _LinkTextRelatedEntityState_build_closure0: function _LinkTextRelatedEntityState_build_closure0(t0) { this.$this = t0; }, _LinkTextRelatedEntityState_build_closure: function _LinkTextRelatedEntityState_build_closure(t0) { this.$this = t0; }, LinkTextSpan: function LinkTextSpan(t0, t1, t2, t3, t4) { var _ = this; _.text = t0; _.children = t1; _.recognizer = t2; _.mouseCursor = t3; _.style = t4; }, LinkTextSpan_closure: function LinkTextSpan_closure(t0) { this.url = t0; }, ListFilter: function ListFilter(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.entityType = t0; _.filter = t1; _.onFilterChanged = t2; _.entityIds = t3; _.statuses = t4; _.onSelectedStatus = t5; _.onSelectedState = t6; _.key = t7; }, _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.store = t0; }, _ListFilterState_build_closure1: function _ListFilterState_build_closure1(t0) { this.$this = t0; }, _ListFilterState_build_closure0: function _ListFilterState_build_closure0(t0) { this.$this = t0; }, _ListFilterState_build__closure5: function _ListFilterState_build__closure5(t0, t1) { this.$this = t0; this.value = t1; }, _ListFilterState_build_closure4: function _ListFilterState_build_closure4(t0, t1) { this.$this = t0; this.state = t1; }, _ListFilterState_build__closure2: function _ListFilterState_build__closure2(t0) { this.stateFilters = t0; }, _ListFilterState_build__closure3: function _ListFilterState_build__closure3(t0) { this.selected = t0; }, _ListFilterState_build_closure3: function _ListFilterState_build_closure3(t0) { this.localization = t0; }, _ListFilterState_build_closure2: function _ListFilterState_build_closure2(t0) { this.localization = t0; }, _ListFilterState_build__closure4: function _ListFilterState_build__closure4(t0) { this.localization = t0; }, _ListFilterState_build_closure7: function _ListFilterState_build_closure7(t0, t1) { this.$this = t0; this.state = t1; }, _ListFilterState_build__closure: function _ListFilterState_build__closure(t0) { this.statusFilters = t0; }, _ListFilterState_build___closure0: function _ListFilterState_build___closure0() { }, _ListFilterState_build__closure0: function _ListFilterState_build__closure0(t0) { this.selected = t0; }, _ListFilterState_build___closure: function _ListFilterState_build___closure() { }, _ListFilterState_build_closure6: function _ListFilterState_build_closure6(t0) { this.localization = t0; }, _ListFilterState_build_closure5: function _ListFilterState_build_closure5(t0) { this.localization = t0; }, _ListFilterState_build__closure1: function _ListFilterState_build__closure1() { }, ListScaffold$(appBarActions, appBarLeadingActions, appBarTitle, body, bottomNavigationBar, entityType, floatingActionButton, onCancelSettingsIndex, onCancelSettingsSection, onCheckboxPressed, onHamburgerLongPress) { return new A.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.localization = t1; }, ListScaffold_build__closure0: function ListScaffold_build__closure0(t0) { this.context = t0; }, ListScaffold_build_closure1: function ListScaffold_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, ListScaffold_build_closure2: function ListScaffold_build_closure2(t0) { this.$this = t0; }, ListScaffold_build_closure5: function ListScaffold_build_closure5(t0, t1) { this.isSettings = t0; this.store = t1; }, ListScaffold_build_closure3: function ListScaffold_build_closure3(t0, t1, t2) { this.$this = t0; this.store = t1; this.state = t2; }, ListScaffold_build_closure4: function ListScaffold_build_closure4(t0, t1) { this.state = t0; this.store = t1; }, ListScaffold_build__closure: function ListScaffold_build__closure(t0, t1, t2) { this.context = t0; this.state = t1; this.store = t2; }, ActivityListTile: function ActivityListTile(t0, t1, t2) { this.activity = t0; this.enableNavigation = t1; this.key = t2; }, ActivityListTile_build_closure: function ActivityListTile_build_closure(t0, t1, t2) { this.$this = t0; this.client = t1; this.vendor = t2; }, AppListTile$(buttonRow, copyValue, icon, onLongPress, subtitle, title) { return new A.AppListTile(icon, title, subtitle, onLongPress, copyValue, buttonRow, null); }, AppListTile: function AppListTile(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.icon = t0; _.title = t1; _.subtitle = t2; _.onLongPress = t3; _.copyValue = t4; _.buttonRow = t5; _.key = t6; }, AppListTile_build_closure: function AppListTile_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, ListDivider: function ListDivider(t0) { this.key = t0; }, 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, t2) { this._box_0 = t0; this.$this = t1; this.title = t2; }, 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; }, LiveText: function LiveText(t0, t1, t2, t3, t4) { var _ = this; _.duration = t0; _.value = t1; _.style = t2; _.maxLines = t3; _.key = t4; }, _LiveTextState: function _LiveTextState(t0) { var _ = this; _._widget = _._live_text$_timer = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _LiveTextState_initState_closure: function _LiveTextState_initState_closure(t0) { this.$this = t0; }, _LiveTextState_initState__closure: function _LiveTextState_initState__closure() { }, LoadingIndicator: function LoadingIndicator(t0, t1, t2) { this.height = t0; this.useCard = t1; this.key = t2; }, MainScreen: function MainScreen(t0) { this.key = t0; }, MainScreen_build_closure: function MainScreen_build_closure() { }, MainScreen_build__closure: function MainScreen_build__closure(t0) { this.store = t0; }, EntityScreens: function EntityScreens(t0, t1, t2) { this.entityType = t0; this.editingFilterEntity = t1; this.key = t2; }, SettingsScreens: function SettingsScreens(t0) { this.key = t0; }, DrawerTile$(company, entityType, icon, iconTooltip, onLongPress, onTap, title) { return new A.DrawerTile(entityType, icon, title, onTap, onLongPress, iconTooltip, null); }, _showContactUs(context) { var _null = null; A.showDialog(_null, _null, true, _null, new A._showContactUs_closure(), context, _null, true, type$.ContactUsDialog); }, _showUpdate(context) { var _null = null; A.showDialog(_null, _null, false, _null, new A._showUpdate_closure(), context, _null, true, type$.UpdateDialog); }, _showConnectStripe(context) { var t2, t3, _null = null, _s27_ = "unauthorized_stripe_warning", t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t1.localeCode; t3 = t2.$index(0, t1); t3.toString; t3 = J.$index$asx(t3, _s27_); if (t3 == null) { t3 = t2.$index(0, "en"); t3.toString; t3 = J.$index$asx(t3, _s27_); t3.toString; } t1 = t2.$index(0, t1); t1.toString; A.showMessageDialog(t3, A._setArrayType([A.TextButton$(false, A.Text$(J.$index$asx(t1, "view_settings").toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, new A._showConnectStripe_closure(), _null)], type$.JSArray_TextButton)); }, _showAbout(context) { return A._showAbout$body(context); }, _showAbout$body(context) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t3, t4, apppIcon, userCompany, subtitle, t5, t6, t7, t0, t1, store, t2; var $async$_showAbout = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = {}; store = A.StoreProvider_of(context, type$.AppState); t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t4 = Date.now(); apppIcon = A.Image$asset("assets/images/icon.png", 40, null, 40); userCompany = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany; subtitle = t2.get$appVersion(0) + "\n"; t1.subtitle = subtitle; if (!t2.get$isHosted()) { t3.toString; t5 = $.$get$LocalizationsProvider__localizedValues(); t6 = t3.localeCode; t7 = t5.$index(0, t6); t7.toString; t7 = J.$index$asx(t7, "selfhosted"); t7.toString; t0 = t7; t7 = t6; t6 = t5; t5 = t0; } else { t3.toString; t5 = $.$get$LocalizationsProvider__localizedValues(); t6 = t3.localeCode; t7 = t5.$index(0, t6); t7.toString; t7 = J.$index$asx(t7, "hosted"); t7.toString; t0 = t7; t7 = t6; t6 = t5; t5 = t0; } subtitle = t1.subtitle = subtitle + t5; if (userCompany.isOwner) { t3.toString; t5 = t6.$index(0, t7); t5.toString; t5 = J.$index$asx(t5, "owner"); if (t5 == null) { t5 = t6.$index(0, "en"); t5.toString; t5 = J.$index$asx(t5, "owner"); t5.toString; } t1.subtitle = subtitle + (" \u2022 " + t5); } else if (userCompany.isAdmin) { t3.toString; t5 = t6.$index(0, t7); t5.toString; t5 = J.$index$asx(t5, "admin"); if (t5 == null) { t5 = t6.$index(0, "en"); t5.toString; t5 = J.$index$asx(t5, "admin"); t5.toString; } t1.subtitle = subtitle + (" \u2022 " + t5); } A.showDialog(null, null, true, null, new A._showAbout_closure(t1, t3, apppIcon, "\xa9 " + A.Primitives_getYear(new A.DateTime(t4, false)) + " Invoice Ninja", t2, store), context, null, true, type$.Null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_showAbout, $async$completer); }, MenuDrawer: function MenuDrawer(t0, t1) { this.viewModel = t0; this.key = t1; }, _MenuDrawerState: function _MenuDrawerState(t0) { var _ = this; _._menu_drawer$_isHovered = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _MenuDrawerState_build__companyLogo: function _MenuDrawerState_build__companyLogo(t0) { this.state = t0; }, _MenuDrawerState_build__companyLogo_closure: function _MenuDrawerState_build__companyLogo_closure(t0) { this.company = t0; }, _MenuDrawerState_build__companyListItem: function _MenuDrawerState_build__companyListItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.state = t1; _.store = t2; _._companyLogo = t3; _.localization = t4; _.context = t5; }, _MenuDrawerState_build__companyListItem_closure: function _MenuDrawerState_build__companyListItem_closure(t0) { this.company = t0; }, _MenuDrawerState_build__companyListItem_closure2: function _MenuDrawerState_build__companyListItem_closure2(t0) { this.$this = t0; }, _MenuDrawerState_build__companyListItem__closure0: function _MenuDrawerState_build__companyListItem__closure0(t0) { this.$this = t0; }, _MenuDrawerState_build__companyListItem_closure3: function _MenuDrawerState_build__companyListItem_closure3(t0) { this.$this = t0; }, _MenuDrawerState_build__companyListItem__closure: function _MenuDrawerState_build__companyListItem__closure(t0) { this.$this = t0; }, _MenuDrawerState_build__companyListItem_closure0: function _MenuDrawerState_build__companyListItem_closure0(t0) { this.store = t0; }, _MenuDrawerState_build__companyListItem_closure1: function _MenuDrawerState_build__companyListItem_closure1(t0, t1) { this.store = t0; this.state = t1; }, _MenuDrawerState_build_closure: function _MenuDrawerState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _._companyListItem = t1; _.state = t2; _.localization = t3; }, _MenuDrawerState_build__closure5: function _MenuDrawerState_build__closure5(t0) { this._companyListItem = t0; }, _MenuDrawerState_build_closure0: function _MenuDrawerState_build_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.state = t2; _.localization = t3; }, _MenuDrawerState_build__closure4: function _MenuDrawerState_build__closure4(t0) { this.companyId = t0; }, _MenuDrawerState_build_closure3: function _MenuDrawerState_build_closure3(t0, t1) { this.state = t0; this._companyListItem = t1; }, _MenuDrawerState_build__closure3: function _MenuDrawerState_build__closure3(t0) { this._companyListItem = t0; }, _MenuDrawerState_build_closure1: function _MenuDrawerState_build_closure1(t0, t1) { this.state = t0; this._companyListItem = t1; }, _MenuDrawerState_build_closure2: function _MenuDrawerState_build_closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.context = t2; _.localization = t3; }, _MenuDrawerState_build_closure4: function _MenuDrawerState_build_closure4(t0) { this.context = t0; }, _MenuDrawerState_build__closure2: function _MenuDrawerState_build__closure2() { }, _MenuDrawerState_build_closure5: function _MenuDrawerState_build_closure5(t0) { this.context = t0; }, _MenuDrawerState_build__closure1: function _MenuDrawerState_build__closure1() { }, _MenuDrawerState_build_closure6: function _MenuDrawerState_build_closure6(t0) { this.context = t0; }, _MenuDrawerState_build__closure0: function _MenuDrawerState_build__closure0() { }, _MenuDrawerState_build_closure7: function _MenuDrawerState_build_closure7(t0) { this.context = t0; }, _MenuDrawerState_build__closure: function _MenuDrawerState_build__closure() { }, _MenuDrawerState_build_closure8: function _MenuDrawerState_build_closure8(t0, t1) { this.store = t0; this.company = t1; }, _MenuDrawerState_build_closure9: function _MenuDrawerState_build_closure9(t0, t1) { this.store = t0; this.company = t1; }, _MenuDrawerState_build_closure10: function _MenuDrawerState_build_closure10(t0, t1, t2) { this.store = t0; this.company = t1; this.state = t2; }, _MenuDrawerState_build_closure11: function _MenuDrawerState_build_closure11(t0, t1, t2) { this.store = t0; this.company = t1; this.state = t2; }, _MenuDrawerState_build_closure13: function _MenuDrawerState_build_closure13() { }, _MenuDrawerState_build_closure12: function _MenuDrawerState_build_closure12(t0) { this.store = t0; }, _MenuDrawerState_build_closure14: function _MenuDrawerState_build_closure14() { }, _MenuDrawerState_build_closure15: function _MenuDrawerState_build_closure15() { }, DrawerTile: function DrawerTile(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.entityType = t0; _.icon = t1; _.title = t2; _.onTap = t3; _.onLongPress = t4; _.iconTooltip = t5; _.key = t6; }, _DrawerTileState: function _DrawerTileState(t0) { var _ = this; _._menu_drawer$_isHovered = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DrawerTileState_build_closure: function _DrawerTileState_build_closure(t0) { this.$this = t0; }, _DrawerTileState_build_closure0: function _DrawerTileState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _DrawerTileState_build_closure1: function _DrawerTileState_build_closure1(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.$this = t0; _.context = t1; _.navigator = t2; _.localization = t3; _.store = t4; _.uiState = t5; _.state = t6; }, _DrawerTileState_build_closure2: function _DrawerTileState_build_closure2(t0, t1, t2) { this.$this = t0; this.context = t1; this.navigator = t2; }, _DrawerTileState_build_closure3: function _DrawerTileState_build_closure3(t0) { this.$this = t0; }, _DrawerTileState_build__closure0: function _DrawerTileState_build__closure0(t0) { this.$this = t0; }, _DrawerTileState_build_closure4: function _DrawerTileState_build_closure4(t0) { this.$this = t0; }, _DrawerTileState_build__closure: function _DrawerTileState_build__closure(t0) { this.$this = t0; }, SidebarFooter: function SidebarFooter(t0) { this.key = t0; }, SidebarFooter_build_closure: function SidebarFooter_build_closure(t0, t1, t2) { this.localization = t0; this.store = t1; this.context = t2; }, SidebarFooter_build__closure0: function SidebarFooter_build__closure0() { }, SidebarFooter_build__closure1: function SidebarFooter_build__closure1(t0, t1) { this.store = t0; this.context = t1; }, SidebarFooter_build_closure0: function SidebarFooter_build_closure0() { }, SidebarFooter_build_closure1: function SidebarFooter_build_closure1(t0) { this.context = t0; }, SidebarFooter_build_closure2: function SidebarFooter_build_closure2(t0) { this.context = t0; }, SidebarFooter_build_closure3: function SidebarFooter_build_closure3(t0) { this.context = t0; }, SidebarFooter_build_closure4: function SidebarFooter_build_closure4() { }, SidebarFooter_build_closure5: function SidebarFooter_build_closure5(t0) { this.state = t0; }, SidebarFooter_build_closure6: function SidebarFooter_build_closure6(t0) { this.context = t0; }, SidebarFooter_build_closure7: function SidebarFooter_build_closure7(t0, t1) { this.context = t0; this.state = t1; }, SidebarFooter_build__closure: function SidebarFooter_build__closure(t0) { this.state = t0; }, SidebarFooter_build_closure8: function SidebarFooter_build_closure8(t0) { this.store = t0; }, SidebarFooterCollapsed: function SidebarFooterCollapsed(t0) { this.key = t0; }, SidebarFooterCollapsed_build_closure0: function SidebarFooterCollapsed_build_closure0(t0, t1) { this.localization = t0; this.context = t1; }, SidebarFooterCollapsed_build_closure: function SidebarFooterCollapsed_build_closure(t0, t1) { this.state = t0; this.localization = t1; }, SidebarFooterCollapsed_build_closure1: function SidebarFooterCollapsed_build_closure1(t0) { this.store = t0; }, _showContactUs_closure: function _showContactUs_closure() { }, _showUpdate_closure: function _showUpdate_closure() { }, _showConnectStripe_closure: function _showConnectStripe_closure() { }, _showAbout_closure: function _showAbout_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.localization = t1; _.apppIcon = t2; _.appLegalese = t3; _.state = t4; _.store = t5; }, _showAbout__closure: function _showAbout__closure(t0, t1, t2, t3) { var _ = this; _.context = t0; _.apppIcon = t1; _.appLegalese = t2; _.state = t3; }, _showAbout__closure0: function _showAbout__closure0(t0) { this.context = t0; }, _showAbout__closure2: function _showAbout__closure2(t0, t1) { this.state = t0; this.localization = t1; }, _showAbout__closure1: function _showAbout__closure1(t0, t1, t2) { this.context = t0; this.localization = t1; this.store = t2; }, _showAbout___closure1: function _showAbout___closure1() { }, _showAbout___closure2: function _showAbout___closure2(t0) { this.store = t0; }, _showAbout__closure3: function _showAbout__closure3(t0, t1) { this.context = t0; this.localization = t1; }, _showAbout___closure0: function _showAbout___closure0(t0) { this.localization = t0; }, _showAbout____closure: function _showAbout____closure(t0, t1) { this.context = t0; this.localization = t1; }, _showAbout_____closure: function _showAbout_____closure(t0) { this.localization = t0; }, _showAbout______closure: function _showAbout______closure(t0) { this.context = t0; }, _showAbout______closure0: function _showAbout______closure0() { }, _showAbout______closure1: function _showAbout______closure1() { }, _showAbout______closure2: function _showAbout______closure2() { }, _showAbout____closure0: function _showAbout____closure0(t0) { this.context = t0; }, _showAbout____closure1: function _showAbout____closure1() { }, _showAbout____closure2: function _showAbout____closure2() { }, _showAbout____closure3: function _showAbout____closure3() { }, _showAbout____closure4: function _showAbout____closure4() { }, _showAbout____closure5: function _showAbout____closure5() { }, _showAbout____closure6: function _showAbout____closure6() { }, _showAbout__closure4: function _showAbout__closure4() { }, _showAbout__closure5: function _showAbout__closure5(t0) { this.context = t0; }, _showAbout___closure: function _showAbout___closure() { }, _showAbout__closure6: function _showAbout__closure6(t0) { this.context = t0; }, _showAbout__closure7: function _showAbout__closure7(t0) { this.context = t0; }, _showAbout__closure8: function _showAbout__closure8() { }, _showAbout__closure9: function _showAbout__closure9() { }, _showAbout__closure10: function _showAbout__closure10() { }, _showAbout__closure11: function _showAbout__closure11() { }, _showAbout__closure12: function _showAbout__closure12() { }, ContactUsDialog: function ContactUsDialog(t0) { this.key = t0; }, _ContactUsDialogState: function _ContactUsDialogState(t0) { var _ = this; _._menu_drawer$_message = ""; _._menu_drawer$_isSaving = _._includeLogs = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ContactUsDialogState__sendMessage_closure: function _ContactUsDialogState__sendMessage_closure(t0) { this.$this = t0; }, _ContactUsDialogState__sendMessage_closure0: function _ContactUsDialogState__sendMessage_closure0(t0, t1) { this.$this = t0; this.localization = t1; }, _ContactUsDialogState__sendMessage__closure0: function _ContactUsDialogState__sendMessage__closure0(t0) { this.$this = t0; }, _ContactUsDialogState__sendMessage__closure1: function _ContactUsDialogState__sendMessage__closure1(t0) { this.localization = t0; }, _ContactUsDialogState__sendMessage_closure1: function _ContactUsDialogState__sendMessage_closure1(t0) { this.$this = t0; }, _ContactUsDialogState__sendMessage__closure: function _ContactUsDialogState__sendMessage__closure(t0) { this.$this = t0; }, _ContactUsDialogState_build_closure: function _ContactUsDialogState_build_closure(t0) { this.context = t0; }, _ContactUsDialogState_build_closure0: function _ContactUsDialogState_build_closure0(t0) { this.$this = t0; }, _ContactUsDialogState_build_closure1: function _ContactUsDialogState_build_closure1(t0) { this.$this = t0; }, _ContactUsDialogState_build_closure2: function _ContactUsDialogState_build_closure2(t0) { this.$this = t0; }, _ContactUsDialogState_build__closure: function _ContactUsDialogState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, MenuDrawerVM_fromStore(store) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list[t3].userCompany; return new A.MenuDrawerVM(t1, t2.company, t2.user, B.JSInt_methods.toString$0(t3), new A.MenuDrawerVM_fromStore_closure(t1, store), new A.MenuDrawerVM_fromStore_closure0(t1, store), new A.MenuDrawerVM_fromStore_closure1(t1, store)); }, MenuDrawerBuilder: function MenuDrawerBuilder(t0) { this.key = t0; }, MenuDrawerBuilder_build_closure: function MenuDrawerBuilder_build_closure() { }, MenuDrawerVM: function MenuDrawerVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.selectedCompany = t1; _.user = t2; _.selectedCompanyIndex = t3; _.onCompanyChanged = t4; _.onAddCompany = t5; _.onLogoutTap = t6; }, MenuDrawerVM_fromStore_closure1: function MenuDrawerVM_fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, MenuDrawerVM_fromStore__closure: function MenuDrawerVM_fromStore__closure(t0) { this.store = t0; }, MenuDrawerVM_fromStore_closure: function MenuDrawerVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, MenuDrawerVM_fromStore__closure1: function MenuDrawerVM_fromStore__closure1(t0, t1, t2, t3, t4) { var _ = this; _.company = t0; _.store = t1; _.index = t2; _.context = t3; _.state = t4; }, MenuDrawerVM_fromStore___closure1: function MenuDrawerVM_fromStore___closure1(t0) { this.company = t0; }, MenuDrawerVM_fromStore_closure0: function MenuDrawerVM_fromStore_closure0(t0, t1) { this.state = t0; this.store = t1; }, MenuDrawerVM_fromStore__closure0: function MenuDrawerVM_fromStore__closure0(t0, t1) { this.context = t0; this.store = t1; }, MenuDrawerVM_fromStore___closure: function MenuDrawerVM_fromStore___closure() { }, MenuDrawerVM_fromStore___closure0: function MenuDrawerVM_fromStore___closure0() { }, DropDownMultiSelect$(childBuilder, decoration, height, isDense, menuItembuilder, onChanged, options, selectedValues, whenEmpty) { return new A.DropDownMultiSelect(options, selectedValues, onChanged, decoration, whenEmpty, childBuilder, menuItembuilder, height, null); }, _TheState: function _TheState() { }, _theState_closure: function _theState_closure() { }, _SelectRow: function _SelectRow(t0, t1, t2, t3) { var _ = this; _.onChange = t0; _.selected = t1; _.child = t2; _.key = t3; }, _SelectRow_build_closure: function _SelectRow_build_closure(t0) { this.$this = t0; }, DropDownMultiSelect: function DropDownMultiSelect(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.options = t0; _.selectedValues = t1; _.onChanged = t2; _.decoration = t3; _.whenEmpty = t4; _.childBuilder = t5; _.menuItembuilder = t6; _.height = t7; _.key = t8; }, _DropDownMultiSelectState: function _DropDownMultiSelectState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _DropDownMultiSelectState_initState_closure: function _DropDownMultiSelectState_initState_closure(t0) { this.$this = t0; }, _DropDownMultiSelectState_initState__closure: function _DropDownMultiSelectState_initState__closure() { }, _DropDownMultiSelectState_build_closure: function _DropDownMultiSelectState_build_closure(t0) { this.$this = t0; }, _DropDownMultiSelectState_build__closure: function _DropDownMultiSelectState_build__closure(t0) { this.$this = t0; }, _DropDownMultiSelectState_build___closure2: function _DropDownMultiSelectState_build___closure2(t0) { this.$this = t0; }, _DropDownMultiSelectState_build___closure3: function _DropDownMultiSelectState_build___closure3() { }, _DropDownMultiSelectState_build___closure4: function _DropDownMultiSelectState_build___closure4() { }, _DropDownMultiSelectState_build__closure1: function _DropDownMultiSelectState_build__closure1() { }, _DropDownMultiSelectState_build__closure2: function _DropDownMultiSelectState_build__closure2(t0) { this.$this = t0; }, _DropDownMultiSelectState_build___closure: function _DropDownMultiSelectState_build___closure() { }, _DropDownMultiSelectState_build__closure0: function _DropDownMultiSelectState_build__closure0(t0) { this.$this = t0; }, _DropDownMultiSelectState_build___closure0: function _DropDownMultiSelectState_build___closure0(t0, t1) { this.$this = t0; this.x = t1; }, _DropDownMultiSelectState_build____closure: function _DropDownMultiSelectState_build____closure(t0, t1) { this.$this = t0; this.x = t1; }, _DropDownMultiSelectState_build___closure1: function _DropDownMultiSelectState_build___closure1(t0, t1) { this.$this = t0; this.x = t1; }, AppPinput: function AppPinput(t0, t1) { this.onCompleted = t0; this.key = t1; }, AppPinput_build_closure: function AppPinput_build_closure(t0) { this.localization = t0; }, PortalLinkStyle: function PortalLinkStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, PortalLinks: function PortalLinks(t0, t1, t2, t3, t4) { var _ = this; _.viewLink = t0; _.copyLink = t1; _.client = t2; _.style = t3; _.key = t4; }, PortalLinks_build_closure: function PortalLinks_build_closure(t0) { this._box_0 = t0; }, PortalLinks_build_closure0: function PortalLinks_build_closure0(t0, t1) { this.$this = t0; this.localization = t1; }, PortalLinks_build_closure1: function PortalLinks_build_closure1(t0) { this.localization = t0; }, PortalLinks_build_closure2: function PortalLinks_build_closure2(t0, t1, t2) { this.localization = t0; this.viewLinkPressed = t1; this.copyLinkPressed = t2; }, EntityPresenter_isFieldNumeric(field) { if (B.JSString_methods.startsWith$1(field, "converted_")) return true; return B.JSArray_methods.contains$1(A._setArrayType(["balance", "paid_to_date", "amount", "quantity", "price", "cost", "line_total", "discount", "profit", "total", "payment", "expense", "invoice_amount", "invoice_net_amount", "invoice_balance", "client_balance", "credit_balance", "payment_balance", "tax_rate", "tax_amount", "tax_amount1", "tax_amount2", "tax_amount3", "tax_paid", "payment_amount", "net_balance", "rate", "calculated_rate", "duration", "net_amount", "net_total", "age_group_0", "age_group_30", "age_group_60", "age_group_90", "age_group_120", "stock_quantity", "notification_threshold", "partial", "withdrawal", "deposit", "documents", "applied", "refunded", "profit", "markup"], type$.JSArray_String), field); }, EntityPresenter: function EntityPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, TableTooltip: function TableTooltip(t0, t1) { this.message = t0; this.key = t1; }, CachedImage$(apiToken, url, width) { return new A.CachedImage(url, width, apiToken, null); }, CachedImage: function CachedImage(t0, t1, t2, t3) { var _ = this; _.url = t0; _.width = t1; _.apiToken = t2; _.key = t3; }, ResponsivePadding: function ResponsivePadding(t0, t1) { this.child = t0; this.key = t1; }, ReviewApp: function ReviewApp(t0) { this.key = t0; }, _ReviewAppState: function _ReviewAppState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, ScrollableListViewBuilder$(itemBuilder, itemCount, padding, primary, scrollController, separatorBuilder) { return new A.ScrollableListViewBuilder(itemBuilder, separatorBuilder, itemCount, scrollController, padding, primary, null); }, ScrollableListView: function ScrollableListView(t0, t1, t2, t3, t4, t5) { var _ = this; _.children = t0; _.scrollController = t1; _.padding = t2; _.primary = t3; _.showScrollbar = t4; _.key = t5; }, _ScrollableListViewState: function _ScrollableListViewState(t0) { var _ = this; _._widget = _._scrollable_listview$_scrollController = null; _._debugLifecycleState = t0; _._framework$_element = null; }, ScrollableListViewBuilder: function ScrollableListViewBuilder(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.itemBuilder = t0; _.separatorBuilder = t1; _.itemCount = t2; _.scrollController = t3; _.padding = t4; _.primary = t5; _.key = t6; }, _ScrollableListViewBuilderState: function _ScrollableListViewBuilderState(t0) { var _ = this; _._widget = _._scrollable_listview$_scrollController = null; _._debugLifecycleState = t0; _._framework$_element = null; }, SearchText: function SearchText(t0, t1, t2, t3, t4, t5) { var _ = this; _.onChanged = t0; _.onCleared = t1; _.filterController = t2; _.focusNode = t3; _.placeholder = t4; _.key = t5; }, SearchText_build_closure: function SearchText_build_closure(t0) { this.$this = t0; }, SearchText_build_closure0: function SearchText_build_closure0(t0) { this.$this = t0; }, AccountSmsVerification: function AccountSmsVerification(t0) { this.key = t0; }, _AccountSmsVerificationState: function _AccountSmsVerificationState(t0, t1, t2) { var _ = this; _._sms_verification$_isLoading = _._showCode = false; _._sms_verification$_phone = _._sms_verification$_code = ""; _._webClient = t0; _._sms_verification$_focusNode = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AccountSmsVerificationState__sendCode_closure: function _AccountSmsVerificationState__sendCode_closure(t0) { this.$this = t0; }, _AccountSmsVerificationState__sendCode_closure0: function _AccountSmsVerificationState__sendCode_closure0(t0) { this.$this = t0; }, _AccountSmsVerificationState__sendCode__closure0: function _AccountSmsVerificationState__sendCode__closure0(t0) { this.$this = t0; }, _AccountSmsVerificationState__sendCode_closure1: function _AccountSmsVerificationState__sendCode_closure1(t0) { this.$this = t0; }, _AccountSmsVerificationState__sendCode__closure: function _AccountSmsVerificationState__sendCode__closure(t0) { this.$this = t0; }, _AccountSmsVerificationState__verifyCode_closure: function _AccountSmsVerificationState__verifyCode_closure(t0) { this.$this = t0; }, _AccountSmsVerificationState__verifyCode_closure0: function _AccountSmsVerificationState__verifyCode_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.navigator = t1; _.localization = t2; _.store = t3; }, _AccountSmsVerificationState__verifyCode__closure0: function _AccountSmsVerificationState__verifyCode__closure0(t0) { this.$this = t0; }, _AccountSmsVerificationState__verifyCode_closure1: function _AccountSmsVerificationState__verifyCode_closure1(t0) { this.$this = t0; }, _AccountSmsVerificationState__verifyCode__closure: function _AccountSmsVerificationState__verifyCode__closure(t0) { this.$this = t0; }, _AccountSmsVerificationState_build_closure: function _AccountSmsVerificationState_build_closure(t0) { this.$this = t0; }, _AccountSmsVerificationState_build_closure0: function _AccountSmsVerificationState_build_closure0(t0) { this.$this = t0; }, _AccountSmsVerificationState_build_closure1: function _AccountSmsVerificationState_build_closure1(t0) { this.localization = t0; }, _AccountSmsVerificationState_build_closure2: function _AccountSmsVerificationState_build_closure2(t0) { this.context = t0; }, _AccountSmsVerificationState_build_closure3: function _AccountSmsVerificationState_build_closure3(t0) { this.$this = t0; }, _AccountSmsVerificationState_build_closure4: function _AccountSmsVerificationState_build_closure4(t0) { this.$this = t0; }, _AccountSmsVerificationState_build_closure5: function _AccountSmsVerificationState_build_closure5(t0) { this.$this = t0; }, UserSmsVerification: function UserSmsVerification(t0, t1, t2) { this.showChangeNumber = t0; this.email = t1; this.key = t2; }, _UserSmsVerificationState: function _UserSmsVerificationState(t0, t1, t2) { var _ = this; _._sms_verification$_isLoading = false; _._sms_verification$_code = ""; _._webClient = t0; _._sms_verification$_focusNode = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _UserSmsVerificationState_initState_closure: function _UserSmsVerificationState_initState_closure(t0) { this.$this = t0; }, _UserSmsVerificationState__sendCode_closure: function _UserSmsVerificationState__sendCode_closure(t0) { this.$this = t0; }, _UserSmsVerificationState__sendCode_closure0: function _UserSmsVerificationState__sendCode_closure0(t0) { this.$this = t0; }, _UserSmsVerificationState__sendCode__closure0: function _UserSmsVerificationState__sendCode__closure0(t0) { this.$this = t0; }, _UserSmsVerificationState__sendCode_closure1: function _UserSmsVerificationState__sendCode_closure1(t0) { this.$this = t0; }, _UserSmsVerificationState__sendCode__closure: function _UserSmsVerificationState__sendCode__closure(t0) { this.$this = t0; }, _UserSmsVerificationState__verifyCode_closure: function _UserSmsVerificationState__verifyCode_closure(t0) { this.$this = t0; }, _UserSmsVerificationState__verifyCode_closure0: function _UserSmsVerificationState__verifyCode_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.navigator = t1; _.localization = t2; _.store = t3; }, _UserSmsVerificationState__verifyCode__closure0: function _UserSmsVerificationState__verifyCode__closure0(t0) { this.$this = t0; }, _UserSmsVerificationState__verifyCode_closure1: function _UserSmsVerificationState__verifyCode_closure1(t0) { this.$this = t0; }, _UserSmsVerificationState__verifyCode__closure: function _UserSmsVerificationState__verifyCode__closure(t0) { this.$this = t0; }, _UserSmsVerificationState_build_closure: function _UserSmsVerificationState_build_closure(t0) { this.$this = t0; }, _UserSmsVerificationState_build_closure0: function _UserSmsVerificationState_build_closure0(t0) { this.context = t0; }, _UserSmsVerificationState_build_closure1: function _UserSmsVerificationState_build_closure1(t0, t1) { this.store = t0; this.context = t1; }, _UserSmsVerificationState_build_closure2: function _UserSmsVerificationState_build_closure2(t0) { this.$this = t0; }, _UserSmsVerificationState_build_closure3: function _UserSmsVerificationState_build_closure3(t0) { this.$this = t0; }, SystemLogViewer: function SystemLogViewer(t0, t1) { this.systemLogs = t0; this.key = t1; }, _SystemLogViewerState: function _SystemLogViewerState(t0, t1) { var _ = this; _._isExpanded = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _SystemLogViewerState_build_closure: function _SystemLogViewerState_build_closure() { }, _SystemLogViewerState_build_closure2: function _SystemLogViewerState_build_closure2(t0, t1) { this._box_0 = t0; this.$this = t1; }, _SystemLogViewerState_build__closure: function _SystemLogViewerState_build__closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.index = t2; _.isExpanded = t3; }, _SystemLogViewerState_build_closure0: function _SystemLogViewerState_build_closure0() { }, _SystemLogViewerState_build_closure1: function _SystemLogViewerState_build_closure1(t0, t1, t2) { this.$this = t0; this.state = t1; this.localization = t2; }, _SystemLogViewerState_build__closure0: function _SystemLogViewerState_build__closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.systemLog = t1; _.localization = t2; _.client = t3; }, _SystemLogViewerState_build___closure: function _SystemLogViewerState_build___closure(t0, t1) { this.$this = t0; this.systemLog = t1; }, _SystemLogViewerState_build____closure: function _SystemLogViewerState_build____closure(t0, t1) { this.$this = t0; this.systemLog = t1; }, AppPaginatedDataTable$(availableRowsPerPage, columns, initialFirstRowIndex, onPageChanged, onRowsPerPageChanged, onSelectAll, rowsPerPage, showFirstLastButtons, sortAscending, sortColumnIndex, source, subtractOne) { return new A.AppPaginatedDataTable(columns, sortColumnIndex, sortAscending, onSelectAll, 48, 48, true, initialFirstRowIndex, onPageChanged, rowsPerPage, availableRowsPerPage, onRowsPerPageChanged, source, subtractOne, null); }, AppPaginatedDataTable: function AppPaginatedDataTable(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; _.dataRowMinHeight = t4; _.dataRowMaxHeight = t5; _.showFirstLastButtons = t6; _.initialFirstRowIndex = t7; _.onPageChanged = t8; _.rowsPerPage = t9; _.availableRowsPerPage = t10; _.onRowsPerPageChanged = t11; _.source = t12; _.subtractOne = t13; _.key = t14; }, AppPaginatedDataTableState: function AppPaginatedDataTableState(t0, t1, t2) { var _ = this; _.__AppPaginatedDataTableState__controller_A = _.__AppPaginatedDataTableState__rowCountApproximate_A = _.__AppPaginatedDataTableState__rowCount_A = _.__AppPaginatedDataTableState__firstRowIndex_A = $; _._selectedRowCount = 0; _._app_paginated_data_table$_rows = t0; _._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__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() { }, AppPaginatedDataTableState_build_closure0: function AppPaginatedDataTableState_build_closure0(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.headerWidgets = t1; _.themeData = t2; _.footerTextStyle = t3; _.footerWidgets = t4; }, 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__count = 0; _.ChangeNotifier__listeners = t8; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, EntityDataTableSource_getRow_closure: function EntityDataTableSource_getRow_closure(t0, t1) { this.$this = t0; this.entity = t1; }, EntityDataTableSource_getRow_closure1: function EntityDataTableSource_getRow_closure1(t0) { this.entity = t0; }, EntityDataTableSource_getRow_closure0: function EntityDataTableSource_getRow_closure0(t0) { this.entity = t0; }, EntityDataTableSource_getRow_closure2: function EntityDataTableSource_getRow_closure2(t0) { this.entity = t0; }, EntityDataTableSource_getRow_closure3: function EntityDataTableSource_getRow_closure3(t0, t1) { this.$this = t0; this.entity = t1; }, EntityDataTableSource_getRow_closure4: function EntityDataTableSource_getRow_closure4(t0, t1, t2) { this.$this = t0; this.wideFields = t1; this.entity = t2; }, EntityDataTableSource_getRow__closure0: function EntityDataTableSource_getRow__closure0(t0, t1) { this.$this = t0; this.entity = t1; }, EntityDataTableSource_getRow__closure: function EntityDataTableSource_getRow__closure(t0) { this.entity = t0; }, EntityList$(entityList, entityType, itemBuilder, onClearMultiselect, onRefreshed, onSortColumn, presenter, state, tableColumns) { var t4, t1 = entityType.toString$0(0), t2 = A.S(tableColumns), t3 = state.uiState.filterStack._list$_list; if (t3.length === 0) t3 = null; else { t3 = B.JSArray_methods.get$last(t3); t3 = t3.get$id(t3); } t4 = state.getUIState$1(entityType).get$listUIState(); return new A.EntityList(state, entityType, tableColumns, entityList, onRefreshed, presenter, onSortColumn, itemBuilder, onClearMultiselect, new A.ValueKey("__" + t1 + "_" + t2 + "_" + A.S(t3) + "_" + ((t4.custom1Filters.get$hashCode(0) ^ t4.custom2Filters.get$hashCode(0) ^ t4.custom3Filters.get$hashCode(0) ^ t4.custom4Filters.get$hashCode(0) ^ t4.stateFilters.get$hashCode(0) ^ t4.statusFilters.get$hashCode(0) ^ B.JSInt_methods.get$hashCode(t4.filterClearedAt) ^ J.get$hashCode$(t4.filter) ^ B.JSBool_methods.get$hashCode(t4.sortAscending) ^ B.JSString_methods.get$hashCode(t4.sortField)) >>> 0) + "__", type$.ValueKey_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; _.___EntityListState_dataTableSource_A = $; _._firstRowIndex = 0; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _EntityListState_initState_closure: function _EntityListState_initState_closure() { }, _EntityListState_build_closure: function _EntityListState_build_closure(t0, t1) { this.entityType = t0; this.entityId = t1; }, _EntityListState_build_closure6: function _EntityListState_build_closure6(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; _.entityMap = t7; _.listUIState = t8; _.isInMultiselect = t9; _.entityType = 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__closure8: function _EntityListState_build__closure8(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.entityList = t1; _.rowsPerPage = t2; _.entityMap = t3; _.listUIState = t4; }, _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__closure5: function _EntityListState_build__closure5(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.entityType = t2; _.state = t3; }, _EntityListState_build___closure1: function _EntityListState_build___closure1(t0, t1) { this.$this = t0; this.field = t1; }, _EntityListState_build__closure6: function _EntityListState_build__closure6(t0, t1, t2) { this.$this = t0; this.store = t1; this.state = t2; }, _EntityListState_build__closure7: function _EntityListState_build__closure7(t0) { this.store = t0; }, _EntityListState_build_closure0: function _EntityListState_build_closure0(t0) { this.entityMap = t0; }, _EntityListState_build_closure7: function _EntityListState_build_closure7(t0, t1) { this.$this = t0; this.context = t1; }, _EntityListState_build_closure1: function _EntityListState_build_closure1(t0, t1) { this.entityList = t0; this.entityMap = t1; }, _EntityListState_build__closure13: function _EntityListState_build__closure13(t0) { this.entityMap = t0; }, _EntityListState_build_closure2: function _EntityListState_build_closure2(t0, t1, t2) { this.$this = t0; this.localization = t1; this.entities = t2; }, _EntityListState_build__closure12: function _EntityListState_build__closure12(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__closure11: function _EntityListState_build__closure11(t0, t1) { this.$this = t0; this.entities = t1; }, _EntityListState_build__closure10: function _EntityListState_build__closure10(t0, t1) { this.actions = t0; this.remaining = t1; }, _EntityListState_build___closure2: function _EntityListState_build___closure2(t0) { this.context = t0; }, _EntityListState_build_closure5: function _EntityListState_build_closure5(t0, t1) { this.$this = t0; this.entities = t1; }, _EntityListState_build__closure9: function _EntityListState_build__closure9(t0) { this.$this = t0; }, _EntityListState_build_closure4: function _EntityListState_build_closure4(t0) { this.$this = t0; }, UpgradeDialog: function UpgradeDialog(t0) { this.key = t0; }, _UpgradeDialogState: function _UpgradeDialogState(t0, t1, t2, t3, t4) { var _ = this; _._upgrade_dialog$_scrollController = t0; _._inAppPurchase = t1; _.___UpgradeDialogState__subscription_A = $; _._upgrade_dialog$_products = t2; _._purchases = t3; _._purchasePending = _._isAvailable = false; _._loading = true; _._widget = _._queryProductError = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _UpgradeDialogState_initState_closure: function _UpgradeDialogState_initState_closure(t0) { this.$this = t0; }, _UpgradeDialogState_initState_closure0: function _UpgradeDialogState_initState_closure0(t0) { this.$this = t0; }, _UpgradeDialogState_initState_closure1: function _UpgradeDialogState_initState_closure1() { }, _UpgradeDialogState_initStoreInfo_closure: function _UpgradeDialogState_initStoreInfo_closure(t0, t1) { this.$this = t0; this.isAvailable = t1; }, _UpgradeDialogState_initStoreInfo_closure0: function _UpgradeDialogState_initStoreInfo_closure0(t0, t1, t2) { this.$this = t0; this.productDetailResponse = t1; this.isAvailable = t2; }, _UpgradeDialogState_initStoreInfo_closure1: function _UpgradeDialogState_initStoreInfo_closure1(t0, t1, t2) { this.$this = t0; this.isAvailable = t1; this.productDetailResponse = t2; }, _UpgradeDialogState_initStoreInfo_closure2: function _UpgradeDialogState_initStoreInfo_closure2(t0, t1, t2) { this.$this = t0; this.isAvailable = t1; this.productDetailResponse = t2; }, _UpgradeDialogState_build_closure: function _UpgradeDialogState_build_closure(t0) { this.$this = t0; }, _UpgradeDialogState_build_closure0: function _UpgradeDialogState_build_closure0() { }, _UpgradeDialogState_build_closure1: function _UpgradeDialogState_build_closure1() { }, _UpgradeDialogState__buildProductList_closure: function _UpgradeDialogState__buildProductList_closure(t0) { this.$this = t0; }, _UpgradeDialogState__buildProductList_closure0: function _UpgradeDialogState__buildProductList_closure0() { }, _UpgradeDialogState__buildProductList_closure1: function _UpgradeDialogState__buildProductList_closure1(t0, t1, t2) { this.$this = t0; this.purchases = t1; this.account = t2; }, _UpgradeDialogState__buildProductList__closure: function _UpgradeDialogState__buildProductList__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.previousPurchase = t1; _.productDetails = t2; _.account = t3; }, _UpgradeDialogState_showPendingUI_closure: function _UpgradeDialogState_showPendingUI_closure(t0) { this.$this = t0; }, _UpgradeDialogState_deliverProduct_closure: function _UpgradeDialogState_deliverProduct_closure(t0, t1) { this.$this = t0; this.purchaseDetails = t1; }, _UpgradeDialogState_handleError_closure: function _UpgradeDialogState_handleError_closure(t0) { this.$this = t0; }, ExamplePaymentQueueDelegate: function ExamplePaymentQueueDelegate() { }, VariablesHelp: function VariablesHelp(t0, t1, t2) { this.showInvoiceAsQuote = t0; this.showInvoiceAsInvoices = t1; this.key = t2; }, _VariablesHelpState: function _VariablesHelpState(t0, t1, t2) { var _ = this; _._variables$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _VariablesHelpState_build_closure: function _VariablesHelpState_build_closure() { }, _VariablesHelpState_build_closure0: function _VariablesHelpState_build_closure0() { }, _VariablesHelpState_build_closure1: function _VariablesHelpState_build_closure1() { }, _VariableGrid: function _VariableGrid(t0, t1) { this.fields = t0; this.key = t1; }, _VariableGrid_build_closure: function _VariableGrid_build_closure() { }, _VariableGrid_build_closure0: function _VariableGrid_build_closure0(t0) { this.$this = t0; }, _VariableGrid_build__closure: function _VariableGrid_build__closure(t0) { this.context = t0; }, _VariableGrid_build___closure: function _VariableGrid_build___closure(t0, t1) { this.field = t0; this.context = t1; }, __VariablesHelpState_State_SingleTickerProviderStateMixin: function __VariablesHelpState_State_SingleTickerProviderStateMixin() { }, ViewScaffold$(appBarBottom, body, entity, isEditable, isFilter, onBackPressed, title) { return new A.ViewScaffold(isFilter, entity, body, onBackPressed, appBarBottom, title, isEditable, null); }, ViewScaffold: function ViewScaffold(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.isFilter = t0; _.entity = t1; _.body = t2; _.onBackPressed = t3; _.appBarBottom = t4; _.title = t5; _.isEditable = t6; _.key = t7; }, ViewScaffold_build_closure: function ViewScaffold_build_closure(t0) { this.store = t0; }, ViewScaffold_build_closure0: function ViewScaffold_build_closure0(t0) { this.store = t0; }, ViewScaffold_build_closure1: function ViewScaffold_build_closure1(t0) { this.store = t0; }, ViewScaffold_build_closure2: function ViewScaffold_build_closure2(t0) { this.store = t0; }, ViewScaffold_build_closure3: function ViewScaffold_build_closure3(t0, t1, t2) { this.$this = t0; this.store = t1; this.state = t2; }, ViewScaffold_build_closure4: function ViewScaffold_build_closure4(t0, t1, t2) { this.$this = t0; this.state = t1; this.localization = t2; }, ViewScaffold_build__closure: function ViewScaffold_build__closure(t0) { this.$this = t0; }, ViewScaffold_build_closure5: function ViewScaffold_build_closure5(t0) { this.$this = t0; }, WebSessionTimeout: function WebSessionTimeout(t0, t1) { this.child = t0; this.key = t1; }, _WebSessionTimeoutState: function _WebSessionTimeoutState(t0) { var _ = this; _._widget = _._web_session_timeout$_timer = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _WebSessionTimeoutState_initState_closure: function _WebSessionTimeoutState_initState_closure(t0) { this.$this = t0; }, WebSocketRefresh: function WebSocketRefresh(t0, t1) { this.child = t0; this.key = t1; }, _WebSocketRefreshState: function _WebSocketRefreshState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, WindowManager: function WindowManager(t0, t1) { this.child = t0; this.key = t1; }, _WindowManagerState: function _WindowManagerState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, __WindowManagerState_State_WindowListener: function __WindowManagerState_State_WindowListener() { }, InitScreen: function InitScreen(t0) { this.key = t0; }, InitScreen_build_closure0: function InitScreen_build_closure0(t0) { this.context = t0; }, InitScreen_build_closure: function InitScreen_build_closure(t0) { this.localization = t0; }, InitScreen_build__closure: function InitScreen_build__closure(t0) { this.store = t0; }, LockScreen: function LockScreen(t0, t1) { this.onAuthenticatePressed = t0; this.key = t1; }, 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, t11) { var _ = this; _._login_view$_formKey = t0; _._login_view$_firstNameController = t1; _._login_view$_lastNameController = t2; _._login_view$_emailController = t3; _._login_view$_passwordController = t4; _._login_view$_urlController = t5; _._secretController = t6; _._oneTimePasswordController = t7; _._tokenController = t8; _._hostOverrideController = t9; _._buttonController = t10; _._loginError = ""; _._loginType = "email"; _._loginTypes = null; _._privacyChecked = _._termsChecked = _._disable2FA = _._recoverPassword = _._createAccount = _._isSelfHosted = _._tokenLogin = false; _._widget = null; _._debugLifecycleState = t11; _._framework$_element = null; }, _LoginState_initState_closure: function _LoginState_initState_closure(t0) { this.$this = t0; }, _LoginState__submitSignUpForm_closure: function _LoginState__submitSignUpForm_closure(t0) { this.$this = t0; }, _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) { this.$this = t0; }, _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__submitLoginForm_closure2: function _LoginState__submitLoginForm_closure2(t0) { this.$this = t0; }, _LoginState_build_closure0: function _LoginState_build_closure0() { }, _LoginState_build_closure: function _LoginState_build_closure(t0) { this.$this = t0; }, _LoginState_build__closure7: function _LoginState_build__closure7(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__closure6: function _LoginState_build__closure6(t0, t1) { this.$this = t0; this.index = t1; }, _LoginState_build_closure3: function _LoginState_build_closure3(t0) { this.$this = t0; }, _LoginState_build__closure5: function _LoginState_build__closure5(t0, t1) { this.$this = t0; this.index = t1; }, _LoginState_build_closure4: function _LoginState_build_closure4(t0) { this.localization = t0; }, _LoginState_build_closure5: function _LoginState_build_closure5(t0) { this.$this = t0; }, _LoginState_build_closure6: function _LoginState_build_closure6(t0) { this.$this = t0; }, _LoginState_build_closure7: function _LoginState_build_closure7(t0) { this.$this = t0; }, _LoginState_build_closure8: function _LoginState_build_closure8(t0) { this.$this = t0; }, _LoginState_build__closure4: function _LoginState_build__closure4(t0, t1) { this.$this = t0; this.value = t1; }, _LoginState_build_closure9: function _LoginState_build_closure9(t0) { this.$this = t0; }, _LoginState_build__closure3: function _LoginState_build__closure3(t0, t1) { this.$this = t0; this.value = t1; }, _LoginState_build_closure10: function _LoginState_build_closure10(t0) { this.$this = t0; }, _LoginState_build_closure11: function _LoginState_build_closure11(t0) { this.$this = t0; }, _LoginState_build_closure12: function _LoginState_build_closure12(t0) { this.$this = t0; }, _LoginState_build__closure2: function _LoginState_build__closure2(t0) { this.$this = t0; }, _LoginState_build_closure13: function _LoginState_build_closure13(t0) { this.$this = t0; }, _LoginState_build__closure1: function _LoginState_build__closure1(t0) { this.$this = t0; }, _LoginState_build_closure14: function _LoginState_build_closure14(t0) { this.$this = t0; }, _LoginState_build__closure0: function _LoginState_build__closure0(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; }, LoginVM_fromStore(store) { var t1 = new A.LoginVM_fromStore__handleLogin(store), t2 = new A.LoginVM_fromStore__formatApiUrl(), t3 = store.__Store__state_A; t3 === $ && A.throwUnnamedLateFieldNI(); return new A.LoginVM(t3, t3.authState, new A.LoginVM_fromStore_closure(store, t2, t1), new A.LoginVM_fromStore_closure0(store, t2), new A.LoginVM_fromStore_closure1(store, t1), new A.LoginVM_fromStore_closure2(), new A.LoginVM_fromStore_closure3(store, t2, t1), new A.LoginVM_fromStore_closure4(store, t1), new A.LoginVM_fromStore_closure5(store, t2, t1), new A.LoginVM_fromStore_closure6(store, t1), new A.LoginVM_fromStore_closure7(store, t2, t1), new A.LoginVM_fromStore_closure8(store, t1)); }, LoginScreen: function LoginScreen(t0) { this.key = t0; }, LoginScreen_build_closure: function LoginScreen_build_closure() { }, LoginVM: function LoginVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.state = t0; _.authState = t1; _.onLoginPressed = t2; _.onRecoverPressed = t3; _.onSignUpPressed = t4; _.onTokenLoginPressed = t5; _.onGoogleLoginPressed = t6; _.onGoogleSignUpPressed = t7; _.onMicrosoftLoginPressed = t8; _.onMicrosoftSignUpPressed = t9; _.onAppleLoginPressed = t10; _.onAppleSignUpPressed = t11; }, LoginVM_fromStore__handleLogin: function LoginVM_fromStore__handleLogin(t0) { this.store = t0; }, LoginVM_fromStore__handleLogin_closure: function LoginVM_fromStore__handleLogin_closure(t0, t1, t2) { this.layout = t0; this.isSignUp = t1; this.store = t2; }, LoginVM_fromStore__formatApiUrl: function LoginVM_fromStore__formatApiUrl() { }, LoginVM_fromStore_closure3: function LoginVM_fromStore_closure3(t0, t1, t2) { this.store = t0; this._formatApiUrl = t1; this._handleLogin = t2; }, LoginVM_fromStore__closure6: function LoginVM_fromStore__closure6(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.completer = t0; _.context = t1; _.store = t2; _._formatApiUrl = t3; _.url = t4; _.secret = t5; _.oneTimePassword = t6; _._handleLogin = t7; }, LoginVM_fromStore___closure2: function LoginVM_fromStore___closure2(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore_closure4: function LoginVM_fromStore_closure4(t0, t1) { this.store = t0; this._handleLogin = t1; }, LoginVM_fromStore__closure5: function LoginVM_fromStore__closure5(t0, t1, t2, t3, t4) { var _ = this; _.completer = t0; _.context = t1; _.store = t2; _.url = t3; _._handleLogin = t4; }, LoginVM_fromStore___closure1: function LoginVM_fromStore___closure1(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore_closure5: function LoginVM_fromStore_closure5(t0, t1, t2) { this.store = t0; this._formatApiUrl = t1; this._handleLogin = t2; }, LoginVM_fromStore__closure3: function LoginVM_fromStore__closure3(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.store = t0; _.completer = t1; _._formatApiUrl = t2; _.url = t3; _.secret = t4; _.context = t5; _.oneTimePassword = t6; _._handleLogin = t7; }, LoginVM_fromStore___closure0: function LoginVM_fromStore___closure0(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore__closure4: function LoginVM_fromStore__closure4(t0) { this.completer = t0; }, LoginVM_fromStore_closure6: function LoginVM_fromStore_closure6(t0, t1) { this.store = t0; this._handleLogin = t1; }, LoginVM_fromStore__closure1: function LoginVM_fromStore__closure1(t0, t1, t2, t3, t4) { var _ = this; _.store = t0; _.url = t1; _.completer = t2; _._handleLogin = t3; _.context = t4; }, LoginVM_fromStore___closure: function LoginVM_fromStore___closure(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore__closure2: function LoginVM_fromStore__closure2(t0) { this.completer = t0; }, LoginVM_fromStore_closure7: function LoginVM_fromStore_closure7(t0, t1, t2) { this.store = t0; this._formatApiUrl = t1; this._handleLogin = t2; }, LoginVM_fromStore__closure0: function LoginVM_fromStore__closure0(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore_closure8: function LoginVM_fromStore_closure8(t0, t1) { this.store = t0; this._handleLogin = t1; }, LoginVM_fromStore__closure: function LoginVM_fromStore__closure(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore_closure1: function LoginVM_fromStore_closure1(t0, t1) { this.store = t0; this._handleLogin = t1; }, LoginVM_fromStore__closure7: function LoginVM_fromStore__closure7(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore_closure0: function LoginVM_fromStore_closure0(t0, t1) { this.store = t0; this._formatApiUrl = t1; }, LoginVM_fromStore_closure: function LoginVM_fromStore_closure(t0, t1, t2) { this.store = t0; this._formatApiUrl = t1; this._handleLogin = t2; }, LoginVM_fromStore__closure8: function LoginVM_fromStore__closure8(t0, t1) { this._handleLogin = t0; this.context = t1; }, LoginVM_fromStore_closure2: function LoginVM_fromStore_closure2() { }, BankAccountListItem: function BankAccountListItem(t0, t1, t2, t3) { var _ = this; _.user = t0; _.bankAccount = t1; _.isChecked = t2; _.key = t3; }, BankAccountListItem_build_closure1: function BankAccountListItem_build_closure1(t0) { this.$this = t0; }, BankAccountListItem_build_closure0: function BankAccountListItem_build_closure0(t0) { this.$this = t0; }, BankAccountListItem_build_closure: function BankAccountListItem_build_closure(t0) { this.$this = t0; }, BankAccountListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredBankAccountList(); t3 = t1.getUISelection$1(B.EntityType_bankAccount); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].bankAccountState; t5 = t5.bankAccountUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.bankAccountState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_bankAccount); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.BankAccountListVM(t1, t7, t4.map, t5.filter, new A.BankAccountListVM_fromStore_closure(new A.BankAccountListVM_fromStore__handleRefresh(store)), t2, new A.BankAccountListVM_fromStore_closure0(store), new A.BankAccountListVM_fromStore_closure1(store)); }, BankAccountListBuilder: function BankAccountListBuilder(t0) { this.key = t0; }, BankAccountListBuilder_build_closure: function BankAccountListBuilder_build_closure() { }, BankAccountListBuilder_build__closure: function BankAccountListBuilder_build__closure(t0) { this.viewModel = t0; }, BankAccountListVM: function BankAccountListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.bankAccountList = t1; _.bankAccountMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, BankAccountListVM_fromStore__handleRefresh: function BankAccountListVM_fromStore__handleRefresh(t0) { this.store = t0; }, BankAccountListVM_fromStore_closure: function BankAccountListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, BankAccountListVM_fromStore_closure0: function BankAccountListVM_fromStore_closure0(t0) { this.store = t0; }, BankAccountListVM_fromStore_closure1: function BankAccountListVM_fromStore_closure1(t0) { this.store = t0; }, BankAccountPresenter: function BankAccountPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, BankAccountScreen: function BankAccountScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, BankAccountScreen_connectAccounts_closure: function BankAccountScreen_connectAccounts_closure(t0, t1) { this.$this = t0; this.localization = t1; }, BankAccountScreen_connectAccounts__closure: function BankAccountScreen_connectAccounts__closure(t0) { this.context = t0; }, BankAccountScreen_connectAccounts__closure0: function BankAccountScreen_connectAccounts__closure0() { }, BankAccountScreen_connectAccounts__closure1: function BankAccountScreen_connectAccounts__closure1(t0, t1) { this.$this = t0; this.context = t1; }, BankAccountScreen_connectAccounts__closure2: function BankAccountScreen_connectAccounts__closure2() { }, BankAccountScreen_connectAccounts__closure3: function BankAccountScreen_connectAccounts__closure3(t0, t1) { this.$this = t0; this.context = t1; }, BankAccountScreen__connectAccounts_closure: function BankAccountScreen__connectAccounts_closure(t0, t1, t2) { this.store = t0; this.credentials = t1; this.integrationType = t2; }, BankAccountScreen__connectAccounts_closure0: function BankAccountScreen__connectAccounts_closure0(t0) { this.store = t0; }, BankAccountScreen_build_closure15: function BankAccountScreen_build_closure15(t0) { this.store = t0; }, BankAccountScreen_build_closure12: function BankAccountScreen_build_closure12(t0) { this.store = t0; }, BankAccountScreen_build_closure13: function BankAccountScreen_build_closure13(t0) { this.store = t0; }, BankAccountScreen_build_closure14: function BankAccountScreen_build_closure14(t0) { this.store = t0; }, BankAccountScreen_build_closure: function BankAccountScreen_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, BankAccountScreen_build_closure0: function BankAccountScreen_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, BankAccountScreen_build_closure1: function BankAccountScreen_build_closure1() { }, BankAccountScreen_build_closure2: function BankAccountScreen_build_closure2(t0, t1) { this.store = t0; this.state = t1; }, BankAccountScreen_build_closure3: function BankAccountScreen_build_closure3(t0) { this.store = t0; }, BankAccountScreen_build_closure9: function BankAccountScreen_build_closure9(t0) { this.store = t0; }, BankAccountScreen_build_closure10: function BankAccountScreen_build_closure10(t0) { this.store = t0; }, BankAccountScreen_build_closure4: function BankAccountScreen_build_closure4(t0) { this.store = t0; }, BankAccountScreen_build_closure5: function BankAccountScreen_build_closure5(t0) { this.store = t0; }, BankAccountScreen_build_closure6: function BankAccountScreen_build_closure6(t0) { this.store = t0; }, BankAccountScreen_build_closure7: function BankAccountScreen_build_closure7(t0) { this.store = t0; }, BankAccountScreen_build_closure8: function BankAccountScreen_build_closure8(t0) { this.store = t0; }, BankAccountScreen_build_closure11: function BankAccountScreen_build_closure11(t0) { this.context = t0; }, BankAccountScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredBankAccountList(); t3 = t1.getUISelection$1(B.EntityType_bankAccount); t4 = t1.userCompanyStates; t5 = t1.uiState; t4 = t4._list$_list[t5.selectedCompanyIndex].bankAccountState; return new A.BankAccountScreenVM(t2.call$4(t3, t4.map, t4.list, t5.bankAccountUIState.listUIState), new A.BankAccountScreenVM_fromStore_closure(t1, store)); }, BankAccountScreenBuilder: function BankAccountScreenBuilder(t0) { this.key = t0; }, BankAccountScreenBuilder_build_closure: function BankAccountScreenBuilder_build_closure() { }, BankAccountScreenVM: function BankAccountScreenVM(t0, t1) { this.bankAccountList = t0; this.onRefreshAccounts = t1; }, BankAccountScreenVM_fromStore_closure: function BankAccountScreenVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, BankAccountScreenVM_fromStore__closure: function BankAccountScreenVM_fromStore__closure(t0, t1) { this.store = t0; this.localization = t1; }, BankAccountScreenVM_fromStore__closure0: function BankAccountScreenVM_fromStore__closure0(t0) { this.store = t0; }, BankAccountEdit: function BankAccountEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _BankAccountEditState: function _BankAccountEditState(t0, t1, t2, t3, t4) { var _ = this; _._bank_account_edit$_focusNode = t0; _._bank_account_edit$_nameController = t1; _._bank_account_edit$_controllers = t2; _._bank_account_edit$_debouncer = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _BankAccountEditState_didChangeDependencies_closure: function _BankAccountEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _BankAccountEditState_didChangeDependencies_closure0: function _BankAccountEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _BankAccountEditState_dispose_closure: function _BankAccountEditState_dispose_closure(t0) { this.$this = t0; }, _BankAccountEditState__onChanged_closure: function _BankAccountEditState__onChanged_closure(t0) { this.$this = t0; }, _BankAccountEditState__onChanged_closure0: function _BankAccountEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.bankAccount = t1; }, _BankAccountEditState_build_closure3: function _BankAccountEditState_build_closure3(t0) { this.viewModel = t0; }, _BankAccountEditState_build_closure4: function _BankAccountEditState_build_closure4(t0) { this.$this = t0; }, _BankAccountEditState_build_closure0: function _BankAccountEditState_build_closure0(t0) { this.localization = t0; }, _BankAccountEditState_build_closure: function _BankAccountEditState_build_closure(t0) { this.$this = t0; }, _BankAccountEditState_build_closure1: function _BankAccountEditState_build_closure1(t0, t1) { this.viewModel = t0; this.bankAccount = t1; }, _BankAccountEditState_build__closure0: function _BankAccountEditState_build__closure0(t0) { this.date = t0; }, _BankAccountEditState_build_closure2: function _BankAccountEditState_build_closure2(t0, t1) { this.viewModel = t0; this.bankAccount = t1; }, _BankAccountEditState_build__closure: function _BankAccountEditState_build__closure(t0) { this.value = t0; }, BankAccountEditVM_BankAccountEditVM$fromStore(store) { var t2, bankAccount, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; bankAccount = t2.bankAccountUIState.editing; bankAccount.get$isNew(); t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].bankAccountState.map._map$_map.$index(0, bankAccount.id); return new A.BankAccountEditVM(t1, bankAccount, new A.BankAccountEditVM_BankAccountEditVM$fromStore_closure(store), new A.BankAccountEditVM_BankAccountEditVM$fromStore_closure0(store, t1), new A.BankAccountEditVM_BankAccountEditVM$fromStore_closure1(store, t1)); }, BankAccountEditScreen: function BankAccountEditScreen(t0) { this.key = t0; }, BankAccountEditScreen_build_closure0: function BankAccountEditScreen_build_closure0() { }, BankAccountEditScreen_build_closure: function BankAccountEditScreen_build_closure() { }, BankAccountEditVM: function BankAccountEditVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.bankAccount = t1; _.onChanged = t2; _.onSavePressed = t3; _.onCancelPressed = t4; }, BankAccountEditVM_BankAccountEditVM$fromStore_closure: function BankAccountEditVM_BankAccountEditVM$fromStore_closure(t0) { this.store = t0; }, BankAccountEditVM_BankAccountEditVM$fromStore_closure1: function BankAccountEditVM_BankAccountEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, BankAccountEditVM_BankAccountEditVM$fromStore_closure0: function BankAccountEditVM_BankAccountEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, BankAccountEditVM_BankAccountEditVM$fromStore__closure: function BankAccountEditVM_BankAccountEditVM$fromStore__closure(t0, t1) { this.store = t0; this.state = t1; }, BankAccountEditVM_BankAccountEditVM$fromStore___closure: function BankAccountEditVM_BankAccountEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.bankAccount = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, BankAccountEditVM_BankAccountEditVM$fromStore___closure0: function BankAccountEditVM_BankAccountEditVM$fromStore___closure0() { }, BankAccountEditVM_BankAccountEditVM$fromStore____closure: function BankAccountEditVM_BankAccountEditVM$fromStore____closure(t0) { this.error = t0; }, BankAccountView: function BankAccountView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _BankAccountViewState: function _BankAccountViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _BankAccountViewState_build_closure0: function _BankAccountViewState_build_closure0(t0) { this.viewModel = t0; }, _BankAccountViewState_build_closure: function _BankAccountViewState_build_closure(t0, t1) { this.context = t0; this.bankAccount = t1; }, BankAccountViewVM_BankAccountViewVM$fromStore(store) { var t2, t3, t4, bankAccount, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.bankAccountUIState.selectedId; bankAccount = t2._list$_list[t3.selectedCompanyIndex].bankAccountState.map._map$_map.$index(0, t4); if (bankAccount == null) bankAccount = A.BankAccountEntity_BankAccountEntity(t4, null); bankAccount.get$isNew(); return new A.BankAccountViewVM(t1, bankAccount, new A.BankAccountViewVM_BankAccountViewVM$fromStore_closure(store)); }, BankAccountViewScreen: function BankAccountViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, BankAccountViewScreen_build_closure0: function BankAccountViewScreen_build_closure0() { }, BankAccountViewScreen_build_closure: function BankAccountViewScreen_build_closure(t0) { this.$this = t0; }, BankAccountViewVM: function BankAccountViewVM(t0, t1, t2) { this.state = t0; this.bankAccount = t1; this.onBackPressed = t2; }, BankAccountViewVM_BankAccountViewVM$fromStore_closure: function BankAccountViewVM_BankAccountViewVM$fromStore_closure(t0) { this.store = t0; }, ClientListItem: function ClientListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.client = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, ClientListItem_build_closure: function ClientListItem_build_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.showCheckbox = t1; _.listUIState = t2; _.state = t3; _.textStyle = t4; _.filterMatch = t5; }, ClientListItem_build__closure2: function ClientListItem_build__closure2(t0) { this.$this = t0; }, ClientListItem_build__closure1: function ClientListItem_build__closure1(t0) { this.$this = t0; }, ClientListItem_build__closure: function ClientListItem_build__closure(t0) { this.$this = t0; }, ClientListItem_build__closure0: function ClientListItem_build__closure0(t0) { this.$this = t0; }, ClientListItem_build__closure5: function ClientListItem_build__closure5(t0) { this.$this = t0; }, ClientListItem_build__closure4: function ClientListItem_build__closure4(t0) { this.$this = t0; }, ClientListItem_build__closure3: function ClientListItem_build__closure3(t0) { this.$this = t0; }, ClientListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredClientList(); t3 = t1.getUISelection$1(B.EntityType_client); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.clientState; t5 = t5.clientUIState.listUIState; t7 = t2.call$7(t3, t8.map, t8.list, t7.groupState.map, t5, t7.userState.map, t1.staticState); t6 = t4[t6]; t4 = t6.clientState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_client); t2 = t6 == null ? A._setArrayType(["number", "name", "balance", "paid_to_date", "contact_name", "contact_email", "last_login_at"], type$.JSArray_String) : t6; return new A.ClientListVM(t1, t7, t4.map, t5.filter, new A.ClientListVM_fromStore_closure(new A.ClientListVM_fromStore__handleRefresh(store)), t2, new A.ClientListVM_fromStore_closure0(store), new A.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; }, ClientPdfView: function ClientPdfView(t0, t1, t2) { this.viewModel = t0; this.showAppBar = t1; this.key = t2; }, _ClientPdfViewState: function _ClientPdfViewState(t0, t1, t2, t3) { var _ = this; _._client_pdf$_isLoading = false; _._client_pdf$_response = null; _._client_pdf$_dateRange = t0; _._client_pdf$_startDate = t1; _._client_pdf$_endDate = t2; _._client_pdf$_status = "all"; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _ClientPdfViewState_loadPDF_closure: function _ClientPdfViewState_loadPDF_closure(t0) { this.$this = t0; }, _ClientPdfViewState_loadPDF_closure0: function _ClientPdfViewState_loadPDF_closure0(t0, t1, t2) { this.$this = t0; this.sendEmail = t1; this.localization = t2; }, _ClientPdfViewState_loadPDF__closure1: function _ClientPdfViewState_loadPDF__closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.sendEmail = t1; _.response = t2; _.localization = t3; }, _ClientPdfViewState_loadPDF_closure1: function _ClientPdfViewState_loadPDF_closure1(t0) { this.$this = t0; }, _ClientPdfViewState_loadPDF__closure: function _ClientPdfViewState_loadPDF__closure(t0) { this.$this = t0; }, _ClientPdfViewState_loadPDF__closure0: function _ClientPdfViewState_loadPDF__closure0(t0) { this.error = t0; }, _ClientPdfViewState_build_closure1: function _ClientPdfViewState_build_closure1(t0) { this.$this = t0; }, _ClientPdfViewState_build__closure6: function _ClientPdfViewState_build__closure6(t0, t1) { this.$this = t0; this.value = t1; }, _ClientPdfViewState_build_closure: function _ClientPdfViewState_build_closure() { }, _ClientPdfViewState_build_closure0: function _ClientPdfViewState_build_closure0(t0) { this.localization = t0; }, _ClientPdfViewState_build_closure3: function _ClientPdfViewState_build_closure3(t0) { this.$this = t0; }, _ClientPdfViewState_build__closure5: function _ClientPdfViewState_build__closure5(t0, t1) { this.$this = t0; this.value = t1; }, _ClientPdfViewState_build_closure2: function _ClientPdfViewState_build_closure2(t0) { this.localization = t0; }, _ClientPdfViewState_build_closure5: function _ClientPdfViewState_build_closure5(t0, t1) { this.$this = t0; this.store = t1; }, _ClientPdfViewState_build_closure4: function _ClientPdfViewState_build_closure4(t0) { this.localization = t0; }, _ClientPdfViewState_build_closure6: function _ClientPdfViewState_build_closure6(t0, t1) { this.$this = t0; this.client = t1; }, _ClientPdfViewState_build_closure7: function _ClientPdfViewState_build_closure7(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.client = t1; _.localization = t2; _.context = t3; _.state = t4; }, _ClientPdfViewState_build__closure3: function _ClientPdfViewState_build__closure3(t0, t1, t2) { this.context = t0; this.state = t1; this.client = t2; }, _ClientPdfViewState_build__closure4: function _ClientPdfViewState_build__closure4(t0) { this.$this = t0; }, _ClientPdfViewState_build_closure8: function _ClientPdfViewState_build_closure8(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.state = t1; _.localization = t2; _.store = t3; _.context = t4; _.client = t5; }, _ClientPdfViewState_build__closure1: function _ClientPdfViewState_build__closure1(t0, t1) { this.store = t0; this.context = t1; }, _ClientPdfViewState_build__closure2: function _ClientPdfViewState_build__closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.client = t1; _.includes = t2; _.localization = t3; }, _ClientPdfViewState_build_closure9: function _ClientPdfViewState_build_closure9(t0) { this.client = t0; }, _ClientPdfViewState_build_closure10: function _ClientPdfViewState_build_closure10(t0) { this.$this = t0; }, _ClientPdfViewState_build__closure0: function _ClientPdfViewState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _ClientPdfViewState_build_closure11: function _ClientPdfViewState_build_closure11(t0) { this.$this = t0; }, _ClientPdfViewState_build__closure: function _ClientPdfViewState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _ClientPdfViewState_build_closure12: function _ClientPdfViewState_build_closure12(t0) { this.$this = t0; }, _ClientPdfViewState_build_closure13: function _ClientPdfViewState_build_closure13(t0) { this.$this = t0; }, ClientPdfScreen: function ClientPdfScreen(t0) { this.key = t0; }, ClientPdfScreen_build_closure0: function ClientPdfScreen_build_closure0() { }, ClientPdfScreen_build_closure: function ClientPdfScreen_build_closure(t0) { this.$this = t0; }, ClientPdfVM: function ClientPdfVM(t0, t1) { this.state = t0; this.client = t1; }, ClientPresenter: function ClientPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, ClientPresenter_getField_closure: function ClientPresenter_getField_closure(t0) { this.client = t0; }, ClientPresenter_getField_closure0: function ClientPresenter_getField_closure0() { }, ClientScreen: function ClientScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ClientScreen_build_closure10: function ClientScreen_build_closure10(t0) { this.store = t0; }, ClientScreen_build_closure7: function ClientScreen_build_closure7(t0) { this.store = t0; }, ClientScreen_build_closure8: function ClientScreen_build_closure8(t0) { this.store = t0; }, ClientScreen_build_closure9: function ClientScreen_build_closure9(t0) { this.store = t0; }, ClientScreen_build_closure4: function ClientScreen_build_closure4(t0) { this.store = t0; }, ClientScreen_build_closure5: function ClientScreen_build_closure5(t0) { this.store = t0; }, ClientScreen_build_closure: function ClientScreen_build_closure(t0) { this.store = t0; }, ClientScreen_build_closure0: function ClientScreen_build_closure0(t0) { this.store = t0; }, ClientScreen_build_closure1: function ClientScreen_build_closure1(t0) { this.store = t0; }, ClientScreen_build_closure2: function ClientScreen_build_closure2(t0) { this.store = t0; }, ClientScreen_build_closure3: function ClientScreen_build_closure3(t0) { this.store = t0; }, ClientScreen_build_closure6: function ClientScreen_build_closure6(t0) { this.context = t0; }, ClientScreenVM_fromStore(store) { var t2, t3, t4, t5, t6, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredClientList(); t3 = t1.getUISelection$1(B.EntityType_client); t4 = t1.userCompanyStates; t5 = t1.uiState; t4 = t4._list$_list[t5.selectedCompanyIndex]; t6 = t4.clientState; return new A.ClientScreenVM(t2.call$7(t3, t6.map, t6.list, t4.groupState.map, t5.clientUIState.listUIState, t4.userState.map, t1.staticState)); }, ClientScreenBuilder: function ClientScreenBuilder(t0) { this.key = t0; }, ClientScreenBuilder_build_closure: function ClientScreenBuilder_build_closure() { }, ClientScreenVM: function ClientScreenVM(t0) { this.clientList = t0; }, ClientEdit: function ClientEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _ClientEditState: function _ClientEditState(t0, t1, t2) { var _ = this; _._client_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ClientEditState_build_closure: function _ClientEditState_build_closure(t0) { this.viewModel = t0; }, _ClientEditState_build_closure0: function _ClientEditState_build_closure0(t0, t1) { this.$this = t0; this.viewModel = t1; }, _ClientEditState_build__closure: function _ClientEditState_build__closure() { }, __ClientEditState_State_SingleTickerProviderStateMixin: function __ClientEditState_State_SingleTickerProviderStateMixin() { }, 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 = _._client_edit_contacts$_contact = 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.viewModel = t1; }, ContactEditDetailsState_build__closure0: function ContactEditDetailsState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, ContactEditDetailsState_build___closure: function ContactEditDetailsState_build___closure(t0) { this.value = t0; }, ContactEditDetailsState_build__closure1: function ContactEditDetailsState_build__closure1(t0) { this.value = t0; }, ContactEditDetailsState_build_closure13: function ContactEditDetailsState_build_closure13(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_closure14: function ContactEditDetailsState_build_closure14(t0) { this.$this = t0; }, ClientEditContactsVM_ClientEditContactsVM$fromStore(store) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.clientUIState; return new A.ClientEditContactsVM(t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t3.editing, t3.editingContact, new A.ClientEditContactsVM_ClientEditContactsVM$fromStore_closure(store), new A.ClientEditContactsVM_ClientEditContactsVM$fromStore_closure0(store), new A.ClientEditContactsVM_ClientEditContactsVM$fromStore_closure1(store), new A.ClientEditContactsVM_ClientEditContactsVM$fromStore_closure2(store)); }, ClientEditContactsScreen: function ClientEditContactsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ClientEditContactsScreen_build_closure0: function ClientEditContactsScreen_build_closure0() { }, ClientEditContactsScreen_build_closure: function ClientEditContactsScreen_build_closure(t0) { this.$this = t0; }, ClientEditContactsVM: function ClientEditContactsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.company = t0; _.client = t1; _.contact = t2; _.onAddContactPressed = t3; _.onRemoveContactPressed = t4; _.onDoneContactPressed = t5; _.onChangedContact = t6; }, ClientEditContactsVM_ClientEditContactsVM$fromStore_closure: function ClientEditContactsVM_ClientEditContactsVM$fromStore_closure(t0) { this.store = t0; }, ClientEditContactsVM_ClientEditContactsVM$fromStore_closure0: function ClientEditContactsVM_ClientEditContactsVM$fromStore_closure0(t0) { this.store = t0; }, ClientEditContactsVM_ClientEditContactsVM$fromStore_closure1: function ClientEditContactsVM_ClientEditContactsVM$fromStore_closure1(t0) { this.store = t0; }, ClientEditContactsVM_ClientEditContactsVM$fromStore_closure2: function ClientEditContactsVM_ClientEditContactsVM$fromStore_closure2(t0) { this.store = t0; }, ClientEditDesktop: function ClientEditDesktop(t0, t1) { this.viewModel = t0; this.key = t1; }, 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, t12) { 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; _._routingIdController = t6; _._client_edit_details$_custom1Controller = t7; _._client_edit_details$_custom2Controller = t8; _._client_edit_details$_custom3Controller = t9; _._client_edit_details$_custom4Controller = t10; _._client_edit_details$_debouncer = t11; _.__ClientEditDetailsState__controllers_A = $; _._widget = null; _._debugLifecycleState = t12; _._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.client = t0; this.context = t1; }, ClientEditDetailsState_build_closure0: function ClientEditDetailsState_build_closure0(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditDetailsState_build__closure3: function ClientEditDetailsState_build__closure3(t0) { this.groupId = t0; }, ClientEditDetailsState_build_closure1: function ClientEditDetailsState_build_closure1(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditDetailsState_build__closure2: function ClientEditDetailsState_build__closure2(t0) { this.userId = t0; }, ClientEditDetailsState_build_closure3: function ClientEditDetailsState_build_closure3(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditDetailsState_build__closure1: function ClientEditDetailsState_build__closure1(t0) { this.value = t0; }, ClientEditDetailsState_build_closure2: function ClientEditDetailsState_build_closure2(t0) { this.localization = t0; }, ClientEditDetailsState_build_closure4: function ClientEditDetailsState_build_closure4(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditDetailsState_build__closure0: function ClientEditDetailsState_build__closure0(t0) { this.value = t0; }, ClientEditDetailsState_build_closure5: function ClientEditDetailsState_build_closure5(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditDetailsState_build__closure: function ClientEditDetailsState_build__closure(t0) { this.value = t0; }, ClientEditFooter: function ClientEditFooter(t0, t1) { this.client = t0; this.key = t1; }, ClientEditFooter_build_closure: function ClientEditFooter_build_closure(t0) { this.store = t0; }, ClientEditNotes: function ClientEditNotes(t0, t1) { this.viewModel = t0; this.key = t1; }, ClientEditNotesState: function ClientEditNotesState(t0, t1, t2, t3) { var _ = this; _._client_edit_notes$_publicNotesController = t0; _._client_edit_notes$_privateNotesController = t1; _.__ClientEditNotesState__controllers_A = $; _._client_edit_notes$_debouncer = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, ClientEditNotesState_didChangeDependencies_closure: function ClientEditNotesState_didChangeDependencies_closure(t0) { this.$this = t0; }, ClientEditNotesState_didChangeDependencies_closure0: function ClientEditNotesState_didChangeDependencies_closure0(t0) { this.$this = t0; }, ClientEditNotesState_dispose_closure: function ClientEditNotesState_dispose_closure(t0) { this.$this = t0; }, ClientEditNotesState__onChanged_closure: function ClientEditNotesState__onChanged_closure(t0) { this.$this = t0; }, ClientEditNotesState__onChanged_closure0: function ClientEditNotesState__onChanged_closure0(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettings: function ClientEditSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, ClientEditSettingsState: function ClientEditSettingsState(t0, t1, t2) { var _ = this; _._client_edit_settings$_taskRateController = t0; _.__ClientEditSettingsState__controllers_A = $; _._client_edit_settings$_debouncer = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, ClientEditSettingsState_didChangeDependencies_closure: function ClientEditSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, ClientEditSettingsState_didChangeDependencies_closure0: function ClientEditSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, ClientEditSettingsState_dispose_closure: function ClientEditSettingsState_dispose_closure(t0) { this.$this = t0; }, ClientEditSettingsState__onChanged_closure: function ClientEditSettingsState__onChanged_closure(t0) { this.$this = t0; }, ClientEditSettingsState__onChanged_closure0: function ClientEditSettingsState__onChanged_closure0(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build_closure: function ClientEditSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure5: function ClientEditSettingsState_build__closure5(t0) { this.currency = t0; }, ClientEditSettingsState_build_closure0: function ClientEditSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure4: function ClientEditSettingsState_build__closure4(t0) { this.language = t0; }, ClientEditSettingsState_build_closure1: function ClientEditSettingsState_build_closure1(t0, t1) { this.state = t0; this.localization = t1; }, ClientEditSettingsState_build_closure2: function ClientEditSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure3: function ClientEditSettingsState_build__closure3(t0) { this.numDays = t0; }, ClientEditSettingsState_build_closure3: function ClientEditSettingsState_build_closure3(t0, t1) { this.state = t0; this.localization = t1; }, ClientEditSettingsState_build_closure4: function ClientEditSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure2: function ClientEditSettingsState_build__closure2(t0) { this.numDays = t0; }, ClientEditSettingsState_build_closure5: function ClientEditSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure1: function ClientEditSettingsState_build__closure1(t0) { this.value = t0; }, ClientEditSettingsState_build_closure6: function ClientEditSettingsState_build_closure6(t0) { this.state = t0; }, ClientEditSettingsState_build_closure7: function ClientEditSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure0: function ClientEditSettingsState_build__closure0(t0) { this.sizeId = t0; }, ClientEditSettingsState_build_closure8: function ClientEditSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.client = t1; }, ClientEditSettingsState_build__closure: function ClientEditSettingsState_build__closure(t0) { this.industry = 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; }, ClientEditVM_ClientEditVM$fromStore(store) { var t2, client, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; client = t2.clientUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].clientState.map._map$_map.$index(0, client.id); return new A.ClientEditVM(t1, client, new A.ClientEditVM_ClientEditVM$fromStore_closure(store), new A.ClientEditVM_ClientEditVM$fromStore_closure0(store, t1), new A.ClientEditVM_ClientEditVM$fromStore_closure1(t1, store), t1.staticState, new A.ClientEditVM_ClientEditVM$fromStore_closure2(store, client), new A.ClientEditVM_ClientEditVM$fromStore_closure3(store, client)); }, ClientEditScreen: function ClientEditScreen(t0) { this.key = t0; }, ClientEditScreen_build_closure0: function ClientEditScreen_build_closure0() { }, ClientEditScreen_build_closure: function ClientEditScreen_build_closure() { }, ClientEditVM: function ClientEditVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.client = t1; _.onChanged = t2; _.onSavePressed = t3; _.onCancelPressed = t4; _.staticState = t5; _.copyShippingAddress = t6; _.copyBillingAddress = t7; }, ClientEditVM_ClientEditVM$fromStore_closure: function ClientEditVM_ClientEditVM$fromStore_closure(t0) { this.store = t0; }, ClientEditVM_ClientEditVM$fromStore_closure3: function ClientEditVM_ClientEditVM$fromStore_closure3(t0, t1) { this.store = t0; this.client = t1; }, ClientEditVM_ClientEditVM$fromStore__closure: function ClientEditVM_ClientEditVM$fromStore__closure(t0) { this.client = t0; }, ClientEditVM_ClientEditVM$fromStore_closure2: function ClientEditVM_ClientEditVM$fromStore_closure2(t0, t1) { this.store = t0; this.client = t1; }, ClientEditVM_ClientEditVM$fromStore__closure0: function ClientEditVM_ClientEditVM$fromStore__closure0(t0) { this.client = t0; }, ClientEditVM_ClientEditVM$fromStore_closure1: function ClientEditVM_ClientEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, ClientEditVM_ClientEditVM$fromStore_closure0: function ClientEditVM_ClientEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, ClientEditVM_ClientEditVM$fromStore__closure1: function ClientEditVM_ClientEditVM$fromStore__closure1(t0, t1, t2) { this.store = t0; this.context = t1; this.state = t2; }, ClientEditVM_ClientEditVM$fromStore___closure: function ClientEditVM_ClientEditVM$fromStore___closure() { }, ClientEditVM_ClientEditVM$fromStore___closure0: function ClientEditVM_ClientEditVM$fromStore___closure0(t0, t1, t2, t3, t4) { var _ = this; _.client = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, ClientEditVM_ClientEditVM$fromStore___closure1: function ClientEditVM_ClientEditVM$fromStore___closure1() { }, ClientEditVM_ClientEditVM$fromStore____closure: function ClientEditVM_ClientEditVM$fromStore____closure(t0) { this.error = t0; }, ClientView: function ClientView(t0, t1, t2, t3, t4) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.isTopFilter = t2; _.tabIndex = t3; _.key = t4; }, _ClientViewState: function _ClientViewState(t0, t1, t2) { var _ = this; _._client_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ClientViewState_build_closure: function _ClientViewState_build_closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.client = t2; }, _ClientViewState_build__closure: function _ClientViewState_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewState_build__closure0: function _ClientViewState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewState_build__closure1: function _ClientViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewState_build__closure2: function _ClientViewState_build__closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewState_build__closure3: function _ClientViewState_build__closure3(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewState_build__closure4: function _ClientViewState_build__closure4(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewState_build__closure5: function _ClientViewState_build__closure5(t0, t1) { this.viewModel = t0; this.context = t1; }, __ClientViewState_State_SingleTickerProviderStateMixin: function __ClientViewState_State_SingleTickerProviderStateMixin() { }, 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; }, 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, t4) { var _ = this; _.$this = t0; _.client = t1; _.company = t2; _.localization = t3; _.context = t4; }, _ClientViewDetailsState_build__buildDetailsList_closure: function _ClientViewDetailsState_build__buildDetailsList_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.company = t1; _.listTiles = t2; _.client = t3; _.localization = t4; _.context = t5; }, _ClientViewDetailsState_build__buildDetailsList__closure1: function _ClientViewDetailsState_build__buildDetailsList__closure1(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__closure2: function _ClientViewDetailsState_build__buildDetailsList__closure2(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, t3) { var _ = this; _.$this = t0; _.context = t1; _.state = t2; _.client = t3; }, _ClientViewDetailsState_build__buildDetailsList_closure3: function _ClientViewDetailsState_build__buildDetailsList_closure3(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.state = t2; _.client = 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.store = t0; this.client = t1; }, ClientViewFullwidth: function ClientViewFullwidth(t0, t1) { this.viewModel = t0; this.key = t1; }, _ClientViewFullwidthState: function _ClientViewFullwidthState(t0, t1, t2) { var _ = this; _._client_view_fullwidth$_scrollController3 = _._client_view_fullwidth$_scrollController2 = _._client_view_fullwidth$_scrollController1 = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ClientViewFullwidthState_build_closure: function _ClientViewFullwidthState_build_closure(t0, t1, t2, t3) { var _ = this; _.state = t0; _.gatewayMap = t1; _.linkMap = t2; _.tokenMap = t3; }, _ClientViewFullwidthState_build_closure0: function _ClientViewFullwidthState_build_closure0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.$this = t0; _.localization = t1; _.client = t2; _.state = t3; _.company = t4; _.billingAddress = t5; _.shippingAddress = t6; _.showStanding = t7; _.hasMultipleContacts = t8; _.tokenMap = t9; _.documents = t10; _.viewModel = t11; _.gatewayMap = t12; _.linkMap = t13; }, _ClientViewFullwidthState_build__closure: function _ClientViewFullwidthState_build__closure(t0) { this.client = t0; }, _ClientViewFullwidthState_build__closure0: function _ClientViewFullwidthState_build__closure0(t0) { this.billingAddress = t0; }, _ClientViewFullwidthState_build__closure1: function _ClientViewFullwidthState_build__closure1(t0) { this.shippingAddress = t0; }, _ClientViewFullwidthState_build__closure2: function _ClientViewFullwidthState_build__closure2(t0, t1, t2) { this.context = t0; this.company = t1; this.client = t2; }, _ClientViewFullwidthState_build__closure3: function _ClientViewFullwidthState_build__closure3(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewFullwidthState_build__closure4: function _ClientViewFullwidthState_build__closure4(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewFullwidthState_build__closure5: function _ClientViewFullwidthState_build__closure5(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewFullwidthState_build__closure6: function _ClientViewFullwidthState_build__closure6(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewFullwidthState_build__closure7: function _ClientViewFullwidthState_build__closure7(t0, t1) { this.viewModel = t0; this.context = t1; }, _ClientViewFullwidthState_build__closure8: function _ClientViewFullwidthState_build__closure8(t0, t1) { this.viewModel = t0; this.context = t1; }, __ClientViewFullwidthState_State_TickerProviderStateMixin: function __ClientViewFullwidthState_State_TickerProviderStateMixin() { }, ClientViewLedger: function ClientViewLedger(t0, t1) { this.viewModel = t0; this.key = t1; }, _ClientViewLedgerState: function _ClientViewLedgerState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _ClientViewLedgerState_build_closure: function _ClientViewLedgerState_build_closure() { }, _ClientViewLedgerState_build_closure1: function _ClientViewLedgerState_build_closure1() { }, _ClientViewLedgerState_build_closure0: function _ClientViewLedgerState_build_closure0(t0, t1) { this.ledgers = t0; this.client = t1; }, _ClientViewLedgerState_build__closure0: function _ClientViewLedgerState_build__closure0(t0) { this.entity = t0; }, _ClientViewLedgerState_build__closure: function _ClientViewLedgerState_build__closure(t0) { this.entity = t0; }, ClientViewLocations: function ClientViewLocations(t0, t1) { this.viewModel = t0; this.key = t1; }, _ClientViewLocationsState: function _ClientViewLocationsState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _ClientViewLocationsState_build_closure: function _ClientViewLocationsState_build_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.state = t2; }, _ClientViewLocationsState_build__closure2: function _ClientViewLocationsState_build__closure2(t0, t1) { this.$this = t0; this.state = t1; }, _ClientViewLocationsState_build_closure0: function _ClientViewLocationsState_build_closure0(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.state = t2; _.localization = t3; _.store = t4; }, _ClientViewLocationsState_build__closure: function _ClientViewLocationsState_build__closure(t0, t1) { this.context = t0; this.location = t1; }, _ClientViewLocationsState_build___closure0: function _ClientViewLocationsState_build___closure0(t0) { this.location = t0; }, _ClientViewLocationsState_build__closure0: function _ClientViewLocationsState_build__closure0(t0) { this.localization = t0; }, _ClientViewLocationsState_build__closure1: function _ClientViewLocationsState_build__closure1(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.localization = t1; _.context = t2; _.state = t3; _.location = t4; _.store = t5; }, _ClientViewLocationsState_build___closure: function _ClientViewLocationsState_build___closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.state = t1; _.location = t2; _.localization = t3; _.store = t4; }, _ClientViewLocationsState_build____closure: function _ClientViewLocationsState_build____closure(t0, t1, t2) { this.$this = t0; this.localization = t1; this.store = t2; }, _ClientViewLocationsState_build____closure0: function _ClientViewLocationsState_build____closure0() { }, _LocationModal: function _LocationModal(t0, t1) { this.location = t0; this.key = t1; }, __LocationModalState: function __LocationModalState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._client_view_locations$_nameController = t0; _._client_view_locations$_address1Controller = t1; _._client_view_locations$_address2Controller = t2; _._client_view_locations$_cityController = t3; _._client_view_locations$_stateController = t4; _._client_view_locations$_postalCodeController = t5; _._client_view_locations$_custom1Controller = t6; _._client_view_locations$_custom2Controller = t7; _._client_view_locations$_custom3Controller = t8; _._client_view_locations$_custom4Controller = t9; _._client_view_locations$_focusNode = t10; _.____LocationModalState__location_A = _.____LocationModalState__controllers_A = $; _._client_view_locations$_isLoading = false; _._widget = null; _._debugLifecycleState = t11; _._framework$_element = null; }, __LocationModalState_dispose_closure: function __LocationModalState_dispose_closure() { }, __LocationModalState__onSavePressed_closure: function __LocationModalState__onSavePressed_closure(t0) { this.$this = t0; }, __LocationModalState__onSavePressed_closure0: function __LocationModalState__onSavePressed_closure0(t0) { this.$this = t0; }, __LocationModalState__onSavePressed_closure1: function __LocationModalState__onSavePressed_closure1(t0, t1, t2) { this.localization = t0; this.store = t1; this.location = t2; }, __LocationModalState__onSavePressed_closure2: function __LocationModalState__onSavePressed_closure2(t0) { this.$this = t0; }, __LocationModalState__onSavePressed__closure0: function __LocationModalState__onSavePressed__closure0(t0) { this.$this = t0; }, __LocationModalState__onSavePressed_closure3: function __LocationModalState__onSavePressed_closure3(t0, t1, t2) { this.localization = t0; this.store = t1; this.location = t2; }, __LocationModalState__onSavePressed_closure4: function __LocationModalState__onSavePressed_closure4(t0) { this.$this = t0; }, __LocationModalState__onSavePressed__closure: function __LocationModalState__onSavePressed__closure(t0) { this.$this = t0; }, __LocationModalState_build_closure: function __LocationModalState_build_closure(t0) { this.$this = t0; }, __LocationModalState_build__closure0: function __LocationModalState_build__closure0(t0, t1) { this.$this = t0; this.country = t1; }, __LocationModalState_build___closure0: function __LocationModalState_build___closure0(t0) { this.country = t0; }, __LocationModalState_build_closure0: function __LocationModalState_build_closure0(t0) { this.$this = t0; }, __LocationModalState_build__closure: function __LocationModalState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, __LocationModalState_build___closure: function __LocationModalState_build___closure(t0) { this.value = t0; }, __LocationModalState_build_closure1: function __LocationModalState_build_closure1(t0) { this.context = t0; }, __LocationModalState_build_closure2: function __LocationModalState_build_closure2(t0, t1) { this.$this = t0; this.context = t1; }, ClientOverview: function ClientOverview(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, ClientOverview_build_closure: function ClientOverview_build_closure(t0, t1, t2, t3) { var _ = this; _.state = t0; _.gatewayMap = t1; _.linkMap = t2; _.tokenMap = t3; }, ClientOverview_build_closure0: function ClientOverview_build_closure0() { }, ClientOverview_build_closure1: function ClientOverview_build_closure1(t0, t1) { this.linkMap = t0; this.customerReference = t1; }, ClientOverview_build_closure2: function ClientOverview_build_closure2() { }, ClientOverview_build_closure3: function ClientOverview_build_closure3() { }, ClientViewPaymentMethods: function ClientViewPaymentMethods(t0, t1, t2, t3) { var _ = this; _.tokenMap = t0; _.gatewayMap = t1; _.linkMap = t2; _.key = t3; }, ClientViewPaymentMethods_build_closure0: function ClientViewPaymentMethods_build_closure0() { }, ClientViewPaymentMethods_build_closure: function ClientViewPaymentMethods_build_closure(t0, t1, t2) { this.$this = t0; this.customerReferences = t1; this.localization = t2; }, ClientViewPaymentMethods_build__closure: function ClientViewPaymentMethods_build__closure() { }, ClientViewPaymentMethods_build__closure0: function ClientViewPaymentMethods_build__closure0(t0, t1) { this.$this = t0; this.customerReference = t1; }, ClientViewPaymentMethods_build__closure1: function ClientViewPaymentMethods_build__closure1() { }, ClientViewPaymentMethods_build__closure2: function ClientViewPaymentMethods_build__closure2() { }, ClientViewSystemLogs: function ClientViewSystemLogs(t0, t1) { this.viewModel = t0; this.key = t1; }, _ClientViewSystemLogsState: function _ClientViewSystemLogsState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, ClientViewVM_ClientViewVM$fromStore(store) { var t2, t3, t4, client, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.clientUIState.selectedId; client = t2[t4].clientState.map._map$_map.$index(0, t3); if (client == null) client = A.ClientEntity_ClientEntity(null, t3, null, null); client.get$isNew(); return new A.ClientViewVM(t1, client, t2[t4].userCompany.company, new A.ClientViewVM_ClientViewVM$fromStore_closure(new A.ClientViewVM_ClientViewVM$fromStore__handleRefresh(store, client)), new A.ClientViewVM_ClientViewVM$fromStore_closure0(store, client)); }, ClientViewScreen: function ClientViewScreen(t0, t1, t2) { this.isFilter = t0; this.isTopFilter = t1; this.key = t2; }, ClientViewScreen_build_closure0: function ClientViewScreen_build_closure0() { }, ClientViewScreen_build_closure: function ClientViewScreen_build_closure(t0) { this.$this = t0; }, ClientViewVM: function ClientViewVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.client = t1; _.company = t2; _.onRefreshed = t3; _.onUploadDocuments = t4; }, ClientViewVM_ClientViewVM$fromStore__handleRefresh: function ClientViewVM_ClientViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.client = t1; }, ClientViewVM_ClientViewVM$fromStore_closure: function ClientViewVM_ClientViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, ClientViewVM_ClientViewVM$fromStore_closure0: function ClientViewVM_ClientViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.client = t1; }, ClientViewVM_ClientViewVM$fromStore__closure: function ClientViewVM_ClientViewVM$fromStore__closure(t0) { this.context = t0; }, ClientViewVM_ClientViewVM$fromStore__closure0: function ClientViewVM_ClientViewVM$fromStore__closure0(t0) { this.context = t0; }, ClientViewVM_ClientViewVM$fromStore___closure: function ClientViewVM_ClientViewVM$fromStore___closure(t0) { this.error = t0; }, CompanyGatewayList: function CompanyGatewayList(t0, t1) { this.viewModel = t0; this.key = t1; }, _CompanyGatewayListState: function _CompanyGatewayListState(t0) { var _ = this; _._widget = _._company_gateway_list$_controller = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _CompanyGatewayListState_build_closure1: function _CompanyGatewayListState_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _CompanyGatewayListState_build_closure0: function _CompanyGatewayListState_build_closure0(t0) { this.$this = t0; }, _CompanyGatewayListState_build_closure: function _CompanyGatewayListState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.isInMultiselect = t2; _.listUIState = t3; }, _CompanyGatewayListState_build__closure: function _CompanyGatewayListState_build__closure(t0, t1) { this.$this = t0; this.companyGatewayId = t1; }, CompanyGatewayListItem: function CompanyGatewayListItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.user = t0; _.companyGateway = t1; _.filter = t2; _.onRemovePressed = t3; _.isChecked = t4; _.key = t5; }, CompanyGatewayListItem_build_closure0: function CompanyGatewayListItem_build_closure0(t0) { this.$this = t0; }, CompanyGatewayListItem_build_closure: function CompanyGatewayListItem_build_closure(t0) { this.$this = t0; }, CompanyGatewayListVM_fromStore(store) { var t2, uiState, companyGatewayIds, t3, t4, t5, t6, gatewayIds, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; uiState = t2.settingsUIState; companyGatewayIds = uiState.get$settings().companyGatewayIds; if ((companyGatewayIds == null ? "" : companyGatewayIds).length === 0) companyGatewayIds = B.JSArray_methods.join$1(t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].companyGatewayState.list._list$_list, ","); t3 = $.$get$memoizedFilteredCompanyGatewayList(); t4 = t2.selectedCompanyIndex; t5 = t1.userCompanyStates._list$_list; t6 = t5[t4].companyGatewayState; t2 = t2.companyGatewayUIState.listUIState; gatewayIds = t3.call$5(t6.map, t6.list, t2, companyGatewayIds, uiState.entityType === B.EntityType_company); return new A.CompanyGatewayListVM(t1, gatewayIds, t5[t4].companyGatewayState.map, t2.filter, new A.CompanyGatewayListVM_fromStore_closure(new A.CompanyGatewayListVM_fromStore__handleRefresh(store)), new A.CompanyGatewayListVM_fromStore_closure0(gatewayIds, uiState, store), new A.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; }, 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; }, CompanyGatewayScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t1 = t1.uiState; t2 = t2._list$_list[t1.selectedCompanyIndex].companyGatewayState; t3 = t2.map; t4 = t1.companyGatewayUIState.listUIState; t1 = t1.settingsUIState; $.$get$memoizedFilteredCompanyGatewayList().call$5(t3, t2.list, t4, t1.get$settings().companyGatewayIds, t1.entityType === B.EntityType_company); return new A.CompanyGatewayScreenVM(t4.selectedIds != null, t3, new A.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; }, CompanyGatewayEdit: function CompanyGatewayEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _CompanyGatewayEditState: function _CompanyGatewayEditState(t0, t1, t2, t3) { var _ = this; _._company_gateway_edit$_focusNode = t0; _._company_gateway_edit$_controller = null; _._company_gateway_edit$_gatewayTypeId = ""; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _CompanyGatewayEditState_didChangeDependencies_closure: function _CompanyGatewayEditState_didChangeDependencies_closure(t0) { this.companyGateway = t0; }, _CompanyGatewayEditState_build_closure: function _CompanyGatewayEditState_build_closure(t0) { this.companyGateway = t0; }, _CompanyGatewayEditState_build_closure0: function _CompanyGatewayEditState_build_closure0(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure18: function _CompanyGatewayEditState_build__closure18(t0) { this.gateway = t0; }, _CompanyGatewayEditState_build_closure1: function _CompanyGatewayEditState_build_closure1(t0, t1, t2) { this.viewModel = t0; this.context = t1; this.companyGateway = t2; }, _CompanyGatewayEditState_build_closure2: function _CompanyGatewayEditState_build_closure2() { }, _CompanyGatewayEditState_build_closure3: function _CompanyGatewayEditState_build_closure3(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure17: function _CompanyGatewayEditState_build__closure17(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure4: function _CompanyGatewayEditState_build_closure4(t0) { this.localization = t0; }, _CompanyGatewayEditState_build__closure16: function _CompanyGatewayEditState_build__closure16(t0) { this.localization = t0; }, _CompanyGatewayEditState_build_closure6: function _CompanyGatewayEditState_build_closure6(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure15: function _CompanyGatewayEditState_build__closure15(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure5: function _CompanyGatewayEditState_build_closure5() { }, _CompanyGatewayEditState_build_closure7: function _CompanyGatewayEditState_build_closure7(t0, t1, t2) { this.companyGateway = t0; this.gatewayTypeId = t1; this.viewModel = t2; }, _CompanyGatewayEditState_build__closure14: function _CompanyGatewayEditState_build__closure14(t0, t1, t2) { this.gatewayTypeId = t0; this.settings = t1; this.value = t2; }, _CompanyGatewayEditState_build___closure: function _CompanyGatewayEditState_build___closure(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure8: function _CompanyGatewayEditState_build_closure8(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure13: function _CompanyGatewayEditState_build__closure13(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure9: function _CompanyGatewayEditState_build_closure9(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure12: function _CompanyGatewayEditState_build__closure12(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure10: function _CompanyGatewayEditState_build_closure10(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure11: function _CompanyGatewayEditState_build__closure11(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure11: function _CompanyGatewayEditState_build_closure11(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure10: function _CompanyGatewayEditState_build__closure10(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure12: function _CompanyGatewayEditState_build_closure12(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure9: function _CompanyGatewayEditState_build__closure9(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure13: function _CompanyGatewayEditState_build_closure13(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure8: function _CompanyGatewayEditState_build__closure8(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure14: function _CompanyGatewayEditState_build_closure14(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure7: function _CompanyGatewayEditState_build__closure7(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure15: function _CompanyGatewayEditState_build_closure15(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure6: function _CompanyGatewayEditState_build__closure6(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure16: function _CompanyGatewayEditState_build_closure16(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure5: function _CompanyGatewayEditState_build__closure5(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure17: function _CompanyGatewayEditState_build_closure17(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure4: function _CompanyGatewayEditState_build__closure4(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure18: function _CompanyGatewayEditState_build_closure18(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure3: function _CompanyGatewayEditState_build__closure3(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure19: function _CompanyGatewayEditState_build_closure19(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure2: function _CompanyGatewayEditState_build__closure2(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure20: function _CompanyGatewayEditState_build_closure20(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure1: function _CompanyGatewayEditState_build__closure1(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure21: function _CompanyGatewayEditState_build_closure21(t0, t1) { this.viewModel = t0; this.companyGateway = t1; }, _CompanyGatewayEditState_build__closure0: function _CompanyGatewayEditState_build__closure0(t0) { this.value = t0; }, _CompanyGatewayEditState_build_closure22: function _CompanyGatewayEditState_build_closure22(t0) { this.localization = t0; }, _CompanyGatewayEditState_build_closure23: function _CompanyGatewayEditState_build_closure23(t0) { this.$this = t0; }, _CompanyGatewayEditState_build__closure: function _CompanyGatewayEditState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, GatewayConfigSettings: function GatewayConfigSettings(t0, t1, t2, t3) { var _ = this; _.companyGateway = t0; _.viewModel = t1; _.disasbledFields = t2; _.key = t3; }, GatewayConfigSettings_build_closure: function GatewayConfigSettings_build_closure(t0) { this.gateway = t0; }, GatewayConfigSettings_build_closure0: function GatewayConfigSettings_build_closure0(t0, t1) { this.$this = t0; this.gateway = t1; }, GatewayConfigSettings_build__closure: function GatewayConfigSettings_build__closure(t0, t1) { this.$this = t0; this.field = t1; }, GatewayConfigField: function GatewayConfigField(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.gateway = t0; _.field = t1; _.value = t2; _.defaultValue = t3; _.onChanged = t4; _.enabled = t5; _.key = t6; }, _GatewayConfigFieldState: function _GatewayConfigFieldState(t0) { var _ = this; _._widget = _._company_gateway_edit$_textController = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _GatewayConfigFieldState__obscureText_closure: function _GatewayConfigFieldState__obscureText_closure(t0, t1) { this._box_0 = t0; this.field = t1; }, _GatewayConfigFieldState_build_closure0: function _GatewayConfigFieldState_build_closure0(t0) { this.$this = t0; }, _GatewayConfigFieldState_build_closure: function _GatewayConfigFieldState_build_closure() { }, _GatewayConfigFieldState_build_closure1: function _GatewayConfigFieldState_build_closure1(t0) { this.$this = t0; }, _GatewayConfigFieldState_build_closure2: function _GatewayConfigFieldState_build_closure2(t0) { this.$this = t0; }, _GatewayConfigFieldState_build_closure3: function _GatewayConfigFieldState_build_closure3(t0) { this.$this = t0; }, LimitEditor: function LimitEditor(t0, t1, t2, t3) { var _ = this; _.companyGateway = t0; _.viewModel = t1; _.gatewayTypeId = t2; _.key = t3; }, _LimitEditorState: function _LimitEditorState(t0, t1) { var _ = this; _._company_gateway_edit$_debouncer = t0; _._enableMax = _._enableMin = false; _._widget = _._maxController = _._minController = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _LimitEditorState__onChanged_closure: function _LimitEditorState__onChanged_closure(t0) { this.$this = t0; }, _LimitEditorState__onChanged_closure0: function _LimitEditorState__onChanged_closure0(t0, t1) { this.$this = t0; this.updatedSettings = t1; }, _LimitEditorState__onTextChange_closure: function _LimitEditorState__onTextChange_closure(t0) { this.$this = t0; }, _LimitEditorState_build_closure: function _LimitEditorState_build_closure(t0) { this.$this = t0; }, _LimitEditorState_build__closure0: function _LimitEditorState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _LimitEditorState_build_closure0: function _LimitEditorState_build_closure0(t0) { this.$this = t0; }, _LimitEditorState_build__closure: function _LimitEditorState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, FeesEditor: function FeesEditor(t0, t1, t2, t3) { var _ = this; _.companyGateway = t0; _.viewModel = t1; _.gatewayTypeId = t2; _.key = t3; }, _FeesEditorState: function _FeesEditorState(t0, t1, t2, t3, t4) { var _ = this; _._amountController = t0; _._percentController = t1; _._capController = t2; _.___FeesEditorState__controllers_A = $; _._company_gateway_edit$_debouncer = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _FeesEditorState_dispose_closure: function _FeesEditorState_dispose_closure(t0) { this.$this = t0; }, _FeesEditorState_didChangeDependencies_closure: function _FeesEditorState_didChangeDependencies_closure(t0) { this.$this = t0; }, _FeesEditorState_didChangeDependencies_closure0: function _FeesEditorState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _FeesEditorState__onChanged_closure: function _FeesEditorState__onChanged_closure(t0, t1, t2) { this.amount = t0; this.percent = t1; this.cap = t2; }, _FeesEditorState__onChanged_closure0: function _FeesEditorState__onChanged_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.companyGateway = t2; _.updatedSettings = t3; }, _FeesEditorState__onChanged__closure: function _FeesEditorState__onChanged__closure(t0, t1) { this.$this = t0; this.updatedSettings = t1; }, _FeesEditorState_build_closure: function _FeesEditorState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.companyGateway = t2; _.settings = t3; }, _FeesEditorState_build__closure2: function _FeesEditorState_build__closure2(t0, t1, t2) { this.$this = t0; this.settings = t1; this.taxRate = t2; }, _FeesEditorState_build___closure2: function _FeesEditorState_build___closure2(t0) { this.taxRate = t0; }, _FeesEditorState_build_closure0: function _FeesEditorState_build_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.companyGateway = t2; _.settings = t3; }, _FeesEditorState_build__closure1: function _FeesEditorState_build__closure1(t0, t1, t2) { this.$this = t0; this.settings = t1; this.taxRate = t2; }, _FeesEditorState_build___closure1: function _FeesEditorState_build___closure1(t0) { this.taxRate = t0; }, _FeesEditorState_build_closure1: function _FeesEditorState_build_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.companyGateway = t2; _.settings = t3; }, _FeesEditorState_build__closure0: function _FeesEditorState_build__closure0(t0, t1, t2) { this.$this = t0; this.settings = t1; this.taxRate = t2; }, _FeesEditorState_build___closure0: function _FeesEditorState_build___closure0(t0) { this.taxRate = t0; }, _FeesEditorState_build_closure2: function _FeesEditorState_build_closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.companyGateway = t2; _.settings = t3; }, _FeesEditorState_build__closure: function _FeesEditorState_build__closure(t0, t1, t2) { this.$this = t0; this.settings = t1; this.value = t2; }, _FeesEditorState_build___closure: function _FeesEditorState_build___closure(t0) { this.value = t0; }, __CompanyGatewayEditState_State_SingleTickerProviderStateMixin: function __CompanyGatewayEditState_State_SingleTickerProviderStateMixin() { }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore(store) { var t2, companyGateway, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; companyGateway = t2.companyGatewayUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].companyGatewayState.map._map$_map.$index(0, companyGateway.id); return new A.CompanyGatewayEditVM(companyGateway, new A.CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure(store), new A.CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure0(store, t1), new A.CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure1(store, t1), t1, new A.CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure2(t1, store)); }, CompanyGatewayEditScreen: function CompanyGatewayEditScreen(t0) { this.key = t0; }, CompanyGatewayEditScreen_build_closure0: function CompanyGatewayEditScreen_build_closure0() { }, CompanyGatewayEditScreen_build_closure: function CompanyGatewayEditScreen_build_closure() { }, CompanyGatewayEditVM: function CompanyGatewayEditVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.companyGateway = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; _.onGatewaySignUpPressed = t5; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure(t0) { this.store = t0; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure1: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure0: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore__closure1: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore__closure1(t0, t1) { this.store = t0; this.state = t1; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore___closure: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.companyGateway = t0; _.localization = t1; _.store = t2; _.state = t3; _.navigator = t4; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore____closure0: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore____closure0(t0, t1) { this.company = t0; this.savedCompanyGateway = t1; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore___closure0: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore___closure0() { }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore____closure: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore____closure(t0) { this.error = t0; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure2: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore__closure: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore__closure(t0, t1, t2) { this.store = t0; this.gatewayId = t1; this.credentials = t2; }, CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore__closure0: function CompanyGatewayEditVM_CompanyGatewayEditVM$fromStore__closure0(t0) { this.store = t0; }, CompanyGatewayView: function CompanyGatewayView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _CompanyGatewayViewState: function _CompanyGatewayViewState(t0, t1, t2) { var _ = this; _._company_gateway_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CompanyGatewayViewState_build_closure1: function _CompanyGatewayViewState_build_closure1(t0) { this.$this = t0; }, _CompanyGatewayViewState_build_closure: function _CompanyGatewayViewState_build_closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _CompanyGatewayViewState_build_closure0: function _CompanyGatewayViewState_build_closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _CompanyGatewayOverview: function _CompanyGatewayOverview(t0, t1, t2) { this.isFilter = t0; this.viewModel = t1; this.key = t2; }, _CompanyGatewayOverview_build_closure: function _CompanyGatewayOverview_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, _CompanyGatewayOverview_build_closure0: function _CompanyGatewayOverview_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _CompanyGatewayOverview_build_closure1: function _CompanyGatewayOverview_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _CompanyGatewayOverview_build_closure3: function _CompanyGatewayOverview_build_closure3() { }, _CompanyGatewayOverview_build_closure2: function _CompanyGatewayOverview_build_closure2(t0, t1) { this.webhookUrl = t0; this.localization = t1; }, _CompanyGatewaySystemLog: function _CompanyGatewaySystemLog(t0, t1) { this.viewModel = t0; this.key = t1; }, __CompanyGatewaySystemLogState: function __CompanyGatewaySystemLogState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, __CompanyGatewayViewState_State_SingleTickerProviderStateMixin: function __CompanyGatewayViewState_State_SingleTickerProviderStateMixin() { }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore(store) { var t2, t3, t4, companyGateway, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.companyGatewayUIState.selectedId; companyGateway = t2._list$_list[t3.selectedCompanyIndex].companyGatewayState.map._map$_map.$index(0, t4); if (companyGateway == null) companyGateway = A.CompanyGatewayEntity_CompanyGatewayEntity(t4, null); companyGateway.get$isNew(); return new A.CompanyGatewayViewVM(t1, companyGateway, new A.CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure(store), new A.CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure0(new A.CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__handleRefresh(store, companyGateway)), new A.CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure1(t1, companyGateway, store), new A.CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure2(t1, store), new A.CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure3(t1, companyGateway, store)); }, CompanyGatewayViewScreen: function CompanyGatewayViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, CompanyGatewayViewScreen_build_closure0: function CompanyGatewayViewScreen_build_closure0() { }, CompanyGatewayViewScreen_build_closure: function CompanyGatewayViewScreen_build_closure(t0) { this.$this = t0; }, CompanyGatewayViewVM: function CompanyGatewayViewVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.companyGateway = t1; _.onBackPressed = t2; _.onRefreshed = t3; _.onImportCustomersPressed = t4; _.onStripeVerifyPressed = t5; _.onCheckCredentialsPressed = t6; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__handleRefresh: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.companyGateway = t1; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure0: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure0(t0) { this._handleRefresh = t0; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure(t0) { this.store = t0; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure2: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure1: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure1(t0, t1, t2, t3, t4) { var _ = this; _.store = t0; _.webClient = t1; _.url = t2; _.credentials = t3; _.localization = t4; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore___closure: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore___closure(t0, t1) { this.store = t0; this.localization = t1; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore____closure: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore____closure(t0, t1) { this.localization = t0; this.response = t1; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_____closure: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_____closure(t0) { this.context = t0; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore___closure0: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore___closure0(t0) { this.store = t0; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure3: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure3(t0, t1, t2) { this.state = t0; this.companyGateway = t1; this.store = t2; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure(t0, t1) { this.store = t0; this.localization = t1; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure0: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure0(t0) { this.store = t0; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure1: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore_closure1(t0, t1, t2) { this.state = t0; this.companyGateway = t1; this.store = t2; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure2: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure2(t0, t1) { this.store = t0; this.localization = t1; }, CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure3: function CompanyGatewayViewVM_CompanyGatewayViewVM$fromStore__closure3(t0) { this.store = t0; }, EmailCreditVM_EmailCreditVM$fromStore(store, credit) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.EmailCreditVM(t1, credit, t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].clientState.map._map$_map.$index(0, credit.clientId), null, new A.EmailCreditVM_EmailCreditVM$fromStore_closure(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) { var _ = this; _.state = t0; _.invoice = t1; _.client = t2; _.vendor = t3; _.onSendPressed = t4; }, EmailCreditVM_EmailCreditVM$fromStore_closure: function EmailCreditVM_EmailCreditVM$fromStore_closure(t0, t1) { this.credit = t0; this.store = t1; }, EmailCreditVM_EmailCreditVM$fromStore__closure: function EmailCreditVM_EmailCreditVM$fromStore__closure(t0) { this.credit = t0; }, CreditListItem: function CreditListItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.user = t0; _.credit = t1; _.client = t2; _.filter = t3; _.isChecked = t4; _.key = t5; }, CreditListItem_build_closure: function CreditListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._box_0 = t0; _.$this = t1; _.showCheckbox = t2; _.listUIState = t3; _.state = t4; _.localization = t5; _.textStyle = t6; _.filterMatch = t7; _.textColor = t8; }, CreditListItem_build__closure2: function CreditListItem_build__closure2(t0) { this.$this = t0; }, CreditListItem_build__closure1: function CreditListItem_build__closure1(t0) { this.$this = t0; }, CreditListItem_build__closure: function CreditListItem_build__closure(t0) { this.$this = t0; }, CreditListItem_build__closure0: function CreditListItem_build__closure0(t0) { this.$this = t0; }, CreditListItem_build__closure5: function CreditListItem_build__closure5(t0) { this.$this = t0; }, CreditListItem_build__closure4: function CreditListItem_build__closure4(t0) { this.$this = t0; }, CreditListItem_build__closure3: function CreditListItem_build__closure3(t0) { this.$this = t0; }, CreditListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredCreditList(); t3 = t1.getUISelection$1(B.EntityType_credit); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.creditState; t5 = t5.creditUIState.listUIState; t7 = t2.call$8(t3, t8.map, t8.list, t7.clientState.map, t7.vendorState.map, t7.paymentState.map, t5, t7.userState.map); t6 = t4[t6]; t4 = t6.creditState; t8 = t6.clientState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_credit); t2 = t6 == null ? A._setArrayType(["status", "number", "client", "amount", "date", "remaining"], type$.JSArray_String) : t6; return new A.CreditListVM(t1, t7, t4.map, t8.map, t5.filter, new A.CreditListVM_fromStore_closure(new A.CreditListVM_fromStore__handleRefresh(store)), t2, new A.CreditListVM_fromStore_closure0(store), new A.CreditListVM_fromStore_closure1(store)); }, CreditListBuilder: function CreditListBuilder(t0) { this.key = t0; }, CreditListBuilder_build_closure: function CreditListBuilder_build_closure() { }, CreditListBuilder_build__closure: function CreditListBuilder_build__closure(t0) { this.viewModel = t0; }, CreditListVM: function CreditListVM(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; }, CreditListVM_fromStore__handleRefresh: function CreditListVM_fromStore__handleRefresh(t0) { this.store = t0; }, CreditListVM_fromStore_closure: function CreditListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, CreditListVM_fromStore_closure0: function CreditListVM_fromStore_closure0(t0) { this.store = t0; }, CreditListVM_fromStore_closure1: function CreditListVM_fromStore_closure1(t0) { this.store = t0; }, CreditPdfScreen: function CreditPdfScreen(t0, t1) { this.showAppBar = t0; this.key = t1; }, CreditPdfScreen_build_closure0: function CreditPdfScreen_build_closure0() { }, CreditPdfScreen_build_closure: function CreditPdfScreen_build_closure(t0) { this.$this = t0; }, CreditPdfVM: function CreditPdfVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.activityId = t2; }, CreditPresenter: function CreditPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, CreditPresenter_getField_closure: function CreditPresenter_getField_closure(t0) { this.contact = t0; }, CreditScreen: function CreditScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, CreditScreen_build_closure: function CreditScreen_build_closure(t0) { this.localization = t0; }, CreditScreen_build_closure0: function CreditScreen_build_closure0(t0) { this.localization = t0; }, CreditScreen_build_closure1: function CreditScreen_build_closure1(t0) { this.localization = t0; }, CreditScreen_build_closure2: function CreditScreen_build_closure2(t0) { this.localization = t0; }, CreditScreen_build_closure3: function CreditScreen_build_closure3(t0) { this.localization = t0; }, CreditScreen_build_closure4: function CreditScreen_build_closure4(t0) { this.localization = t0; }, CreditScreen_build_closure18: function CreditScreen_build_closure18(t0) { this.store = t0; }, CreditScreen_build_closure14: function CreditScreen_build_closure14(t0) { this.store = t0; }, CreditScreen_build_closure16: function CreditScreen_build_closure16(t0) { this.store = t0; }, CreditScreen_build_closure15: function CreditScreen_build_closure15(t0) { this.store = t0; }, CreditScreen_build_closure17: function CreditScreen_build_closure17(t0) { this.store = t0; }, CreditScreen_build_closure10: function CreditScreen_build_closure10(t0) { this.store = t0; }, CreditScreen_build_closure11: function CreditScreen_build_closure11(t0) { this.store = t0; }, CreditScreen_build_closure12: function CreditScreen_build_closure12(t0) { this.store = t0; }, CreditScreen_build_closure5: function CreditScreen_build_closure5(t0) { this.store = t0; }, CreditScreen_build_closure6: function CreditScreen_build_closure6(t0) { this.store = t0; }, CreditScreen_build_closure7: function CreditScreen_build_closure7(t0) { this.store = t0; }, CreditScreen_build_closure8: function CreditScreen_build_closure8(t0) { this.store = t0; }, CreditScreen_build_closure9: function CreditScreen_build_closure9(t0) { this.store = t0; }, CreditScreen_build_closure13: function CreditScreen_build_closure13(t0) { this.context = t0; }, CreditScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredCreditList(); t3 = t1.getUISelection$1(B.EntityType_credit); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.creditState; return new A.CreditScreenVM(t2.call$8(t3, t5.map, t5.list, t4.clientState.map, t4.vendorState.map, t4.paymentState.map, t1.creditUIState.listUIState, t4.userState.map)); }, CreditScreenBuilder: function CreditScreenBuilder(t0) { this.key = t0; }, CreditScreenBuilder_build_closure: function CreditScreenBuilder_build_closure() { }, CreditScreenVM: function CreditScreenVM(t0) { this.creditList = t0; }, CreditEdit: function CreditEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _CreditEditState: function _CreditEditState(t0, t1, t2) { var _ = this; _._credit_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CreditEditState_build_closure1: function _CreditEditState_build_closure1(t0) { this.viewModel = t0; }, _CreditEditState_build_closure2: function _CreditEditState_build_closure2(t0) { this.$this = t0; }, _CreditEditState_build_closure0: function _CreditEditState_build_closure0(t0) { this.$this = t0; }, _CreditEditState_build_closure: function _CreditEditState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.invoice = t2; _.viewModel = t3; _.isFullscreen = t4; }, _CreditEditState_build__closure: function _CreditEditState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.viewModel = t2; _.isFullscreen = t3; }, _CreditEditState_build___closure0: function _CreditEditState_build___closure0() { }, _CreditEditState_build___closure1: function _CreditEditState_build___closure1(t0) { this.viewModel = t0; }, _CreditEditState_build___closure: function _CreditEditState_build___closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.isFullscreen = t2; }, __CreditEditState_State_SingleTickerProviderStateMixin: function __CreditEditState_State_SingleTickerProviderStateMixin() { }, CreditEditDetailsVM_CreditEditDetailsVM$fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; return new A.CreditEditDetailsVM(t1, t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t2.creditUIState.editing, new A.CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure(store), new A.CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure0(store, t1), null, new A.CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure1(store), null); }, 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, t6, t7) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.onChanged = t3; _.onClientChanged = t4; _.onVendorChanged = t5; _.onAddClientPressed = t6; _.onAddVendorPressed = t7; }, CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure(t0) { this.store = t0; }, CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure0: function CreditEditDetailsVM_CreditEditDetailsVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, 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; }, CreditEditItemsVM_CreditEditItemsVM$fromStore(store, isTasks) { var t2, t3, t4, credit, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.creditUIState; credit = t4.editing; return new A.CreditEditItemsVM(t1, t2._list$_list[t3.selectedCompanyIndex].userCompany.company, credit, t4.editingItemIndex, new A.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure(store), new A.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure0(store, credit), new A.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure1(store), new A.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure2(store), new A.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure3(store, isTasks), new A.CreditEditItemsVM_CreditEditItemsVM$fromStore_closure4(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, t8, t9) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.invoiceItemIndex = t3; _.addLineItem = t4; _.cloneLineItem = t5; _.onRemoveInvoiceItemPressed = t6; _.clearSelectedInvoiceItem = t7; _.onChangedInvoiceItem = t8; _.onMovedInvoiceItem = t9; }, CreditEditItemsVM_CreditEditItemsVM$fromStore_closure1: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure1(t0) { this.store = t0; }, CreditEditItemsVM_CreditEditItemsVM$fromStore_closure2: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure2(t0) { this.store = t0; }, CreditEditItemsVM_CreditEditItemsVM$fromStore_closure3: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure3(t0, t1) { this.store = t0; this.isTasks = t1; }, CreditEditItemsVM_CreditEditItemsVM$fromStore__closure: function CreditEditItemsVM_CreditEditItemsVM$fromStore__closure(t0) { this.isTasks = t0; }, CreditEditItemsVM_CreditEditItemsVM$fromStore_closure4: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure4(t0) { this.store = t0; }, CreditEditItemsVM_CreditEditItemsVM$fromStore_closure: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure(t0) { this.store = t0; }, CreditEditItemsVM_CreditEditItemsVM$fromStore_closure0: function CreditEditItemsVM_CreditEditItemsVM$fromStore_closure0(t0, t1) { this.store = t0; this.credit = t1; }, CreditEditNotesVM_CreditEditNotesVM$fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.CreditEditNotesVM(t1, t1.uiState.creditUIState.editing, new A.CreditEditNotesVM_CreditEditNotesVM$fromStore_closure(store)); }, CreditEditNotesScreen: function CreditEditNotesScreen(t0) { this.key = t0; }, CreditEditNotesScreen_build_closure0: function CreditEditNotesScreen_build_closure0() { }, CreditEditNotesScreen_build_closure: function CreditEditNotesScreen_build_closure() { }, CreditEditNotesVM: function CreditEditNotesVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.onChanged = t2; }, CreditEditNotesVM_CreditEditNotesVM$fromStore_closure: function CreditEditNotesVM_CreditEditNotesVM$fromStore_closure(t0) { this.store = t0; }, CreditEditPDFScreen: function CreditEditPDFScreen(t0) { this.key = t0; }, CreditEditPDFScreen_build_closure0: function CreditEditPDFScreen_build_closure0() { }, CreditEditPDFScreen_build_closure: function CreditEditPDFScreen_build_closure() { }, CreditEditPDFVM: function CreditEditPDFVM(t0, t1) { this.state = t0; this.invoice = t1; }, CreditEditVM_CreditEditVM$fromStore(store) { var t2, t3, credit, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.creditUIState; credit = t3.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].creditState.map._map$_map.$index(0, credit.id); return new A.CreditEditVM(t1, credit, t3.editingItemIndex, new A.CreditEditVM_CreditEditVM$fromStore_closure(store, t1), new A.CreditEditVM_CreditEditVM$fromStore_closure0(store, credit), new A.CreditEditVM_CreditEditVM$fromStore_closure1(t1, store), new A.CreditEditVM_CreditEditVM$fromStore_closure2(store, credit)); }, CreditEditScreen: function CreditEditScreen(t0) { this.key = t0; }, CreditEditScreen_build_closure0: function CreditEditScreen_build_closure0() { }, CreditEditScreen_build_closure: function CreditEditScreen_build_closure() { }, CreditEditVM: function CreditEditVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.invoice = t1; _.invoiceItemIndex = t2; _.onSavePressed = t3; _.onItemsAdded = t4; _.onCancelPressed = t5; _.onUploadDocuments = t6; }, CreditEditVM_CreditEditVM$fromStore_closure: function CreditEditVM_CreditEditVM$fromStore_closure(t0, t1) { this.store = t0; this.state = t1; }, CreditEditVM_CreditEditVM$fromStore__closure1: function CreditEditVM_CreditEditVM$fromStore__closure1(t0, t1, t2) { this.store = t0; this.action = t1; this.state = t2; }, CreditEditVM_CreditEditVM$fromStore___closure0: function CreditEditVM_CreditEditVM$fromStore___closure0(t0) { this.localization = t0; }, CreditEditVM_CreditEditVM$fromStore___closure1: function CreditEditVM_CreditEditVM$fromStore___closure1(t0, t1, t2, t3, t4, t5) { var _ = this; _.credit = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; _.action = t5; }, CreditEditVM_CreditEditVM$fromStore___closure2: function CreditEditVM_CreditEditVM$fromStore___closure2() { }, CreditEditVM_CreditEditVM$fromStore____closure: function CreditEditVM_CreditEditVM$fromStore____closure(t0) { this.error = t0; }, CreditEditVM_CreditEditVM$fromStore_closure0: function CreditEditVM_CreditEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.credit = t1; }, CreditEditVM_CreditEditVM$fromStore_closure1: function CreditEditVM_CreditEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, CreditEditVM_CreditEditVM$fromStore_closure2: function CreditEditVM_CreditEditVM$fromStore_closure2(t0, t1) { this.store = t0; this.credit = t1; }, CreditEditVM_CreditEditVM$fromStore__closure: function CreditEditVM_CreditEditVM$fromStore__closure(t0) { this.context = t0; }, CreditEditVM_CreditEditVM$fromStore__closure0: function CreditEditVM_CreditEditVM$fromStore__closure0(t0) { this.context = t0; }, CreditEditVM_CreditEditVM$fromStore___closure: function CreditEditVM_CreditEditVM$fromStore___closure(t0) { this.error = t0; }, CreditViewVM_CreditViewVM$fromStore(store) { var t2, t3, t4, credit, t5, client, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.creditUIState.selectedId; credit = t2[t4].creditState.map._map$_map.$index(0, t3); if (credit == null) credit = A.InvoiceEntity_InvoiceEntity(_null, _null, t3, _null, _null, _null); t3 = store.__Store__state_A; t5 = credit.clientId; client = t3.userCompanyStates._list$_list[t3.uiState.selectedCompanyIndex].clientState.map._map$_map.$index(0, t5); if (client == null) client = A.ClientEntity_ClientEntity(_null, t5, _null, _null); t2 = t2[t4].userCompany; credit.get$isNew(); return new A.CreditViewVM(t1, t2.company, credit, client, new A.CreditViewVM_CreditViewVM$fromStore_closure(credit), new A.CreditViewVM_CreditViewVM$fromStore_closure0(new A.CreditViewVM_CreditViewVM$fromStore__handleRefresh(store, credit)), new A.CreditViewVM_CreditViewVM$fromStore_closure1(store, credit), _null, new A.CreditViewVM_CreditViewVM$fromStore_closure2(store)); }, CreditViewScreen: function CreditViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, CreditViewScreen_build_closure0: function CreditViewScreen_build_closure0() { }, CreditViewScreen_build_closure: function CreditViewScreen_build_closure(t0) { this.$this = t0; }, CreditViewVM: function CreditViewVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.client = t3; _.onEditPressed = t4; _.onRefreshed = t5; _.onUploadDocuments = t6; _.onViewExpense = t7; _.onViewPdf = t8; }, CreditViewVM_CreditViewVM$fromStore__handleRefresh: function CreditViewVM_CreditViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.credit = t1; }, CreditViewVM_CreditViewVM$fromStore_closure: function CreditViewVM_CreditViewVM$fromStore_closure(t0) { this.credit = t0; }, CreditViewVM_CreditViewVM$fromStore_closure0: function CreditViewVM_CreditViewVM$fromStore_closure0(t0) { this._handleRefresh = t0; }, CreditViewVM_CreditViewVM$fromStore_closure1: function CreditViewVM_CreditViewVM$fromStore_closure1(t0, t1) { this.store = t0; this.credit = t1; }, CreditViewVM_CreditViewVM$fromStore__closure: function CreditViewVM_CreditViewVM$fromStore__closure(t0) { this.context = t0; }, CreditViewVM_CreditViewVM$fromStore__closure0: function CreditViewVM_CreditViewVM$fromStore__closure0(t0) { this.context = t0; }, CreditViewVM_CreditViewVM$fromStore___closure: function CreditViewVM_CreditViewVM$fromStore___closure(t0) { this.error = t0; }, CreditViewVM_CreditViewVM$fromStore_closure2: function CreditViewVM_CreditViewVM$fromStore_closure2(t0) { this.store = t0; }, DashboardActivity: function DashboardActivity(t0, t1) { this.viewModel = t0; this.key = t1; }, DashboardActivity_build_closure0: function DashboardActivity_build_closure0() { }, DashboardActivity_build_closure: function DashboardActivity_build_closure(t0) { this.activities = t0; }, DashboardChart: function DashboardChart(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.data = t0; _.title = t1; _.currencyId = t2; _.onDateSelected = t3; _.onSelected = t4; _.isOverview = t5; _.key = t6; }, _DashboardChartState: function _DashboardChartState(t0) { var _ = this; _._dashboard_chart$_selected = null; _._dashboard_chart$_selectedIndex = 0; _.___DashboardChartState__controller_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DashboardChartState__onSelectionChanged_closure: function _DashboardChartState__onSelectionChanged_closure() { }, _DashboardChartState__onSelectionChanged_closure0: function _DashboardChartState__onSelectionChanged_closure0(t0, t1) { this._box_0 = t0; this.measures = t1; }, _DashboardChartState__onSelectionChanged_closure1: function _DashboardChartState__onSelectionChanged_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, _DashboardChartState_build_closure: function _DashboardChartState_build_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.context = t1; _.settings = t2; _.state = t3; _.theme = t4; _.localization = t5; }, _DashboardChartState_build__closure: function _DashboardChartState_build__closure(t0, t1) { this.$this = t0; this.index = t1; }, _DashboardChartState_build___closure: function _DashboardChartState_build___closure(t0, t1) { this.$this = t0; this.index = t1; }, DashboardDateRangePicker: function DashboardDateRangePicker(t0, t1, t2) { this.state = t0; this.onSettingsChanged = t1; this.key = t2; }, _DashboardDateRangePickerState: function _DashboardDateRangePickerState(t0) { var _ = this; _._widget = _._dashboard_date_range_picker$_settings = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DashboardDateRangePickerState_build_closure: function _DashboardDateRangePickerState_build_closure() { }, _DashboardDateRangePickerState_build_closure0: function _DashboardDateRangePickerState_build_closure0(t0) { this.localization = t0; }, _DashboardDateRangePickerState_build_closure1: function _DashboardDateRangePickerState_build_closure1(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure6: function _DashboardDateRangePickerState_build__closure6(t0, t1) { this.$this = t0; this.dateRange = t1; }, _DashboardDateRangePickerState_build_closure2: function _DashboardDateRangePickerState_build_closure2(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure5: function _DashboardDateRangePickerState_build__closure5(t0, t1) { this.$this = t0; this.value = t1; }, _DashboardDateRangePickerState_build_closure3: function _DashboardDateRangePickerState_build_closure3(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure4: function _DashboardDateRangePickerState_build__closure4(t0, t1) { this.$this = t0; this.date = t1; }, _DashboardDateRangePickerState_build_closure4: function _DashboardDateRangePickerState_build_closure4(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure3: function _DashboardDateRangePickerState_build__closure3(t0, t1) { this.$this = t0; this.date = t1; }, _DashboardDateRangePickerState_build_closure5: function _DashboardDateRangePickerState_build_closure5(t0) { this.localization = t0; }, _DashboardDateRangePickerState_build_closure6: function _DashboardDateRangePickerState_build_closure6(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure2: function _DashboardDateRangePickerState_build__closure2(t0, t1) { this.$this = t0; this.dateRange = t1; }, _DashboardDateRangePickerState_build_closure7: function _DashboardDateRangePickerState_build_closure7(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure1: function _DashboardDateRangePickerState_build__closure1(t0, t1) { this.$this = t0; this.date = t1; }, _DashboardDateRangePickerState_build_closure8: function _DashboardDateRangePickerState_build_closure8(t0) { this.$this = t0; }, _DashboardDateRangePickerState_build__closure0: function _DashboardDateRangePickerState_build__closure0(t0, t1) { this.$this = t0; this.date = t1; }, _DashboardDateRangePickerState_build_closure9: function _DashboardDateRangePickerState_build_closure9(t0, t1) { this.$this = t0; this.context = t1; }, _DashboardDateRangePickerState_build__closure: function _DashboardDateRangePickerState_build__closure() { }, _DashboardPanel$(currentData, isLoaded, onDateSelected, onSelected, previousData, title, viewModel) { return new A._DashboardPanel(viewModel, title, currentData, previousData, isLoaded, onDateSelected, onSelected, null); }, DashboardSections: function DashboardSections(t0, t1) { this.index = t0; this._core$_name = t1; }, DashboardPanels: function DashboardPanels(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.scrollController = t1; _.tabController = t2; _.key = t3; }, 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; _.company = t3; _.state = t4; _.hasMultipleCurrencies = t5; _.clientMap = t6; _.groupMap = t7; }, DashboardPanels__header__closure: function DashboardPanels__header__closure(t0) { this.$this = t0; }, DashboardPanels__header__closure0: function DashboardPanels__header__closure0(t0) { this.$this = t0; }, DashboardPanels__header__closure1: function DashboardPanels__header__closure1(t0) { this.localization = t0; }, DashboardPanels__header___closure0: function DashboardPanels__header___closure0() { }, DashboardPanels__header___closure1: function DashboardPanels__header___closure1(t0) { this.localization = t0; }, DashboardPanels__header__closure2: function DashboardPanels__header__closure2(t0, t1, t2) { this.$this = t0; this.state = t1; this.context = t2; }, DashboardPanels__header___closure: function DashboardPanels__header___closure(t0, t1) { this.$this = t0; this.context = t1; }, DashboardPanels__header__closure3: function DashboardPanels__header__closure3(t0, t1) { this.$this = t0; this.localization = t1; }, DashboardPanels__header__closure4: function DashboardPanels__header__closure4(t0) { this.$this = t0; }, DashboardPanels__header_closure__showSettings: function DashboardPanels__header_closure__showSettings(t0, t1, t2) { this.$this = t0; this.context = t1; this.isWide = t2; }, DashboardPanels__header___showSettings_closure: function DashboardPanels__header___showSettings_closure(t0, t1) { this.$this = t0; this.isWide = t1; }, DashboardPanels__header__closure5: function DashboardPanels__header__closure5(t0) { this.$this = t0; }, DashboardPanels__header__closure6: function DashboardPanels__header__closure6(t0) { this.$this = t0; }, DashboardPanels__header__closure7: function DashboardPanels__header__closure7(t0) { this._showSettings = t0; }, DashboardPanels__header__closure8: function DashboardPanels__header__closure8(t0) { this.$this = t0; }, DashboardPanels__runningTasks_closure: function DashboardPanels__runningTasks_closure(t0, t1) { this.state = t0; this.context = t1; }, DashboardPanels__runningTasks__closure2: function DashboardPanels__runningTasks__closure2(t0) { this.task = t0; }, DashboardPanels__runningTasks__closure1: function DashboardPanels__runningTasks__closure1(t0, t1) { this.task = t0; this.client = t1; }, DashboardPanels__runningTasks__closure0: function DashboardPanels__runningTasks__closure0(t0) { this.task = t0; }, DashboardPanels__runningTasks__closure: function DashboardPanels__runningTasks__closure(t0) { this.task = t0; }, DashboardPanels_build_closure: function DashboardPanels_build_closure(t0) { this.settings = t0; }, DashboardPanels_build_closure0: function DashboardPanels_build_closure0(t0) { this.settings = t0; }, DashboardPanels_build_closure1: function DashboardPanels_build_closure1(t0) { this.settings = t0; }, DashboardPanels_build_closure2: function DashboardPanels_build_closure2(t0) { this.settings = t0; }, DashboardPanels_build_closure3: function DashboardPanels_build_closure3(t0) { this.settings = t0; }, DashboardPanels_build_closure4: function DashboardPanels_build_closure4(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.$this = t0; _.sections = t1; _.state = t2; _.localization = t3; _.currentInvoiceData = t4; _.currentPaymentData = t5; _.currentQuoteData = t6; _.currentTaskData = t7; _.currentExpenseData = t8; _.previousInvoiceData = t9; _.previousPaymentData = t10; _.previousQuoteData = t11; _.previousTaskData = t12; _.previousExpenseData = t13; _.userCompanySettings = t14; _.sidebarTabs = t15; _.runningTasks = t16; }, DashboardPanels_build__closure: function DashboardPanels_build__closure(t0) { this.context = t0; }, DashboardPanels_build__closure0: function DashboardPanels_build__closure0(t0) { this.context = t0; }, DashboardPanels_build__closure1: function DashboardPanels_build__closure1(t0) { this.context = t0; }, DashboardPanels_build__closure2: function DashboardPanels_build__closure2(t0, t1, t2, t3, t4, t5) { var _ = this; _.currentFieldMap = t0; _.previousFieldMap = t1; _.localization = t2; _.textTheme = t3; _.context = t4; _.state = t5; }, DashboardPanels_build__closure4: function DashboardPanels_build__closure4(t0, t1) { this.$this = t0; this.sidebarTabs = t1; }, DashboardPanels_build__closure3: function DashboardPanels_build__closure3(t0, t1, t2) { this.$this = t0; this.sidebarTabs = t1; this.currentInvoiceData = t2; }, DashboardPanels_build__closure6: function DashboardPanels_build__closure6(t0, t1) { this.$this = t0; this.sidebarTabs = t1; }, DashboardPanels_build__closure5: function DashboardPanels_build__closure5(t0, t1, t2) { this.$this = t0; this.sidebarTabs = t1; this.currentPaymentData = t2; }, DashboardPanels_build__closure8: function DashboardPanels_build__closure8(t0, t1) { this.$this = t0; this.sidebarTabs = t1; }, DashboardPanels_build__closure7: function DashboardPanels_build__closure7(t0, t1, t2) { this.$this = t0; this.sidebarTabs = t1; this.currentQuoteData = t2; }, DashboardPanels_build__closure10: function DashboardPanels_build__closure10(t0, t1) { this.$this = t0; this.sidebarTabs = t1; }, DashboardPanels_build__closure9: function DashboardPanels_build__closure9(t0, t1, t2) { this.$this = t0; this.sidebarTabs = t1; this.currentTaskData = t2; }, DashboardPanels_build__closure12: function DashboardPanels_build__closure12(t0, t1) { this.$this = t0; this.sidebarTabs = t1; }, DashboardPanels_build__closure11: function DashboardPanels_build__closure11(t0, t1, t2) { this.$this = t0; this.sidebarTabs = t1; this.currentExpenseData = t2; }, _DashboardPanel: function _DashboardPanel(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.viewModel = t0; _.title = t1; _.currentData = t2; _.previousData = t3; _.isLoaded = t4; _.onDateSelected = t5; _.onSelected = 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; _.settings = t1; _.localization = t2; _.state = t3; }, __DashboardPanelState_build__closure0: function __DashboardPanelState_build__closure0() { }, __DashboardPanelState_build__closure1: function __DashboardPanelState_build__closure1() { }, __DashboardPanelState_build__closure: function __DashboardPanelState_build__closure() { }, __DashboardPanelState_build__closure2: function __DashboardPanelState_build__closure2() { }, __DashboardPanelState_build__closure4: function __DashboardPanelState_build__closure4() { }, __DashboardPanelState_build__closure5: function __DashboardPanelState_build__closure5() { }, __DashboardPanelState_build__closure3: function __DashboardPanelState_build__closure3(t0) { this.state = t0; }, __DashboardPanelState_build__closure6: function __DashboardPanelState_build__closure6() { }, _OverviewPanel: function _OverviewPanel(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.viewModel = t0; _.title = t1; _.invoiceData = t2; _.paymentData = t3; _.expenseData = t4; _.isLoaded = t5; _.onDateSelected = t6; _.key = t7; }, __OverviewPanelState: function __OverviewPanelState(t0) { var _ = this; _._widget = _.chart = _.expenseData = _.paymentData = _.invoiceData = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __OverviewPanelState_build_closure: function __OverviewPanelState_build_closure(t0, t1, t2) { this.$this = t0; this.state = t1; this.localization = t2; }, __OverviewPanelState_build__closure0: function __OverviewPanelState_build__closure0() { }, __OverviewPanelState_build__closure1: function __OverviewPanelState_build__closure1() { }, __OverviewPanelState_build__closure: function __OverviewPanelState_build__closure() { }, __OverviewPanelState_build__closure2: function __OverviewPanelState_build__closure2() { }, __OverviewPanelState_build__closure4: function __OverviewPanelState_build__closure4() { }, __OverviewPanelState_build__closure5: function __OverviewPanelState_build__closure5() { }, __OverviewPanelState_build__closure3: function __OverviewPanelState_build__closure3() { }, __OverviewPanelState_build__closure6: function __OverviewPanelState_build__closure6() { }, __OverviewPanelState_build__closure8: function __OverviewPanelState_build__closure8() { }, __OverviewPanelState_build__closure9: function __OverviewPanelState_build__closure9() { }, __OverviewPanelState_build__closure7: function __OverviewPanelState_build__closure7(t0) { this.state = t0; }, __OverviewPanelState_build__closure10: function __OverviewPanelState_build__closure10() { }, __OverviewPanelState_build_closure0: function __OverviewPanelState_build_closure0() { }, _DashboardSettings: function _DashboardSettings(t0, t1, t2) { this.isWide = t0; this.viewModel = t1; this.key = t2; }, __DashboardSettingsState: function __DashboardSettingsState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, __DashboardSettingsState_build_closure: function __DashboardSettingsState_build_closure(t0, t1) { this.$this = t0; this.viewModel = t1; }, __DashboardSettingsState_build__closure9: function __DashboardSettingsState_build__closure9() { }, __DashboardSettingsState_build_closure0: function __DashboardSettingsState_build_closure0(t0, t1) { this.$this = t0; this.viewModel = t1; }, __DashboardSettingsState_build__closure8: function __DashboardSettingsState_build__closure8() { }, __DashboardSettingsState_build_closure1: function __DashboardSettingsState_build_closure1(t0, t1) { this.localization = t0; this.viewModel = t1; }, __DashboardSettingsState_build_closure2: function __DashboardSettingsState_build_closure2(t0, t1) { this.$this = t0; this.viewModel = t1; }, __DashboardSettingsState_build__closure7: function __DashboardSettingsState_build__closure7() { }, __DashboardSettingsState_build_closure3: function __DashboardSettingsState_build_closure3(t0) { this.context = t0; }, __DashboardSettingsState_build_closure4: function __DashboardSettingsState_build_closure4(t0, t1, t2) { this.context = t0; this.state = t1; this.store = t2; }, __DashboardSettingsState_build__closure6: function __DashboardSettingsState_build__closure6(t0) { this.state = t0; }, __DashboardSettingsState_build_closure6: function __DashboardSettingsState_build_closure6(t0, t1) { this.$this = t0; this.store = t1; }, __DashboardSettingsState_build__closure2: function __DashboardSettingsState_build__closure2(t0, t1, t2) { this._box_0 = t0; this.oldIndex = t1; this.field = t2; }, __DashboardSettingsState_build__closure3: function __DashboardSettingsState_build__closure3() { }, __DashboardSettingsState_build_closure5: function __DashboardSettingsState_build_closure5(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.store = t1; _.userCompanySettings = t2; _.dashboardField = t3; }, __DashboardSettingsState_build__closure4: function __DashboardSettingsState_build__closure4(t0) { this.dashboardField = t0; }, __DashboardSettingsState_build__closure5: function __DashboardSettingsState_build__closure5() { }, __DashboardSettingsState_build_closure7: function __DashboardSettingsState_build_closure7(t0, t1) { this.$this = t0; this.context = t1; }, __DashboardSettingsState_build__closure0: function __DashboardSettingsState_build__closure0() { }, __DashboardSettingsState_build__closure1: function __DashboardSettingsState_build__closure1() { }, __DashboardSettingsState_build_closure9: function __DashboardSettingsState_build_closure9(t0, t1, t2) { this.$this = t0; this.context = t1; this.store = t2; }, __DashboardSettingsState_build__closure: function __DashboardSettingsState_build__closure() { }, __DashboardSettingsState_build_closure8: function __DashboardSettingsState_build_closure8() { }, _DashboardField: function _DashboardField(t0) { this.key = t0; }, _DashboardFieldState: function _DashboardFieldState(t0) { var _ = this; _._dashboard_panels$_field = ""; _._dashboard_panels$_period = "current_period"; _._dashboard_panels$_format = "money"; _._dashboard_panels$_calculate = "sum"; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DashboardFieldState_build_closure: function _DashboardFieldState_build_closure(t0, t1, t2) { this.company = t0; this.items = t1; this.localization = t2; }, _DashboardFieldState_build__closure5: function _DashboardFieldState_build__closure5(t0, t1, t2, t3) { var _ = this; _.company = t0; _.entityType = t1; _.items = t2; _.localization = t3; }, _DashboardFieldState_build_closure0: function _DashboardFieldState_build_closure0(t0) { this.$this = t0; }, _DashboardFieldState_build__closure4: function _DashboardFieldState_build__closure4(t0, t1) { this.$this = t0; this.value = t1; }, _DashboardFieldState_build_closure1: function _DashboardFieldState_build_closure1(t0) { this.$this = t0; }, _DashboardFieldState_build__closure3: function _DashboardFieldState_build__closure3(t0, t1) { this.$this = t0; this.value = t1; }, _DashboardFieldState_build_closure2: function _DashboardFieldState_build_closure2(t0) { this.$this = t0; }, _DashboardFieldState_build__closure2: function _DashboardFieldState_build__closure2(t0, t1) { this.$this = t0; this.value = t1; }, _DashboardFieldState_build_closure3: function _DashboardFieldState_build_closure3(t0) { this.$this = t0; }, _DashboardFieldState_build__closure1: function _DashboardFieldState_build__closure1(t0, t1) { this.$this = t0; this.value = t1; }, _DashboardFieldState_build_closure4: function _DashboardFieldState_build_closure4(t0) { this.context = t0; }, _DashboardFieldState_build_closure5: function _DashboardFieldState_build_closure5(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.dashboardFields = t1; _.context = t2; _.store = t3; }, _DashboardFieldState_build__closure: function _DashboardFieldState_build__closure(t0) { this.$this = t0; }, _DashboardFieldState_build__closure0: function _DashboardFieldState_build__closure0(t0) { this.$this = t0; }, DashboardScreen: function DashboardScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, _DashboardScreenState: function _DashboardScreenState(t0, t1, t2, t3) { var _ = this; _.___DashboardScreenState__scrollController_A = _.___DashboardScreenState__sideTabController_A = _.___DashboardScreenState__mainTabController_A = $; _._tabs = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _DashboardScreenState_initState_closure: function _DashboardScreenState_initState_closure(t0, t1) { this.$this = t0; this.company = t1; }, _DashboardScreenState_initState_closure0: function _DashboardScreenState_initState_closure0(t0, t1) { this.$this = t0; this.state = t1; }, _DashboardScreenState_initState__closure: function _DashboardScreenState_initState__closure(t0) { this.state = t0; }, _DashboardScreenState_build_closure: function _DashboardScreenState_build_closure(t0) { this.localization = t0; }, _DashboardScreenState_build__closure1: function _DashboardScreenState_build__closure1(t0) { this.context = t0; }, _DashboardScreenState_build_closure0: function _DashboardScreenState_build_closure0(t0) { this.store = t0; }, _DashboardScreenState_build_closure1: function _DashboardScreenState_build_closure1() { }, _DashboardScreenState_build_closure2: function _DashboardScreenState_build_closure2(t0, t1, t2, t3) { var _ = this; _.state = t0; _.context = t1; _.localization = t2; _.store = t3; }, _DashboardScreenState_build__closure0: function _DashboardScreenState_build__closure0(t0, t1) { this.state = t0; this.store = t1; }, _DashboardScreenState_build___closure: function _DashboardScreenState_build___closure() { }, _DashboardScreenState_build___closure0: function _DashboardScreenState_build___closure0(t0) { this.store = t0; }, _DashboardScreenState_build___closure1: function _DashboardScreenState_build___closure1(t0) { this.store = t0; }, _DashboardScreenState_build_closure3: function _DashboardScreenState_build_closure3(t0, t1, t2) { this.state = t0; this.localization = t1; this.store = t2; }, _DashboardScreenState_build__closure: function _DashboardScreenState_build__closure(t0, t1, t2) { this.context = t0; this.state = t1; this.store = t2; }, _CustomTabBarView: function _CustomTabBarView(t0, t1, t2, t3, t4) { var _ = this; _.viewModel = t0; _.mainTabController = t1; _.sideTabController = t2; _.scrollController = t3; _.key = t4; }, _CustomTabBarView_build_closure: function _CustomTabBarView_build_closure(t0) { this.$this = t0; }, _CustomTabBarView_build__closure: function _CustomTabBarView_build__closure(t0) { this.entity = t0; }, _CustomTabBarView_build_closure0: function _CustomTabBarView_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _CustomTabBarView_build_closure1: function _CustomTabBarView_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _CustomTabBarView_build_closure2: function _CustomTabBarView_build_closure2(t0, t1) { this.$this = t0; this.context = t1; }, __DashboardScreenState_State_TickerProviderStateMixin: function __DashboardScreenState_State_TickerProviderStateMixin() { }, DashboardVM_fromStore(store) { var t2, filter, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; filter = t2.filter; return new A.DashboardVM(t1, t2.dashboardUIState, t1.staticState.currencyMap, filter, $.$get$memoizedFilteredSelector().call$2(filter, t1.userCompanyStates._list$_list[t2.selectedCompanyIndex]), new A.DashboardVM_fromStore_closure(new A.DashboardVM_fromStore__handleRefresh(store)), new A.DashboardVM_fromStore_closure0(store), new A.DashboardVM_fromStore_closure1(store), new A.DashboardVM_fromStore_closure2(store), new A.DashboardVM_fromStore_closure3(store), new A.DashboardVM_fromStore_closure4(store), new A.DashboardVM_fromStore_closure5(store), new A.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; _.onOffsetChanged = t8; _.onCurrencyChanged = t9; _.onTaxesChanged = t10; _.onGroupByChanged = 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_closure0: function DashboardVM_fromStore_closure0(t0) { this.store = t0; }, DashboardVM_fromStore_closure4: function DashboardVM_fromStore_closure4(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_closure2: function DashboardVM_fromStore_closure2(t0) { this.store = t0; }, DashboardVM_fromStore_closure3: function DashboardVM_fromStore_closure3(t0) { this.store = t0; }, DashboardVM_fromStore_closure6: function DashboardVM_fromStore_closure6(t0) { this.store = t0; }, _DashboardSidebar$(entityType, label1, label2, label3, list1, list2, list3) { return new A._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; }, DashboardSystemLogs: function DashboardSystemLogs(t0, t1) { this.viewModel = t0; this.key = t1; }, DesignListItem: function DesignListItem(t0, t1, t2, t3) { var _ = this; _.design = t0; _.filter = t1; _.isChecked = t2; _.key = t3; }, DesignListItem_build_closure1: function DesignListItem_build_closure1(t0) { this.$this = t0; }, DesignListItem_build_closure0: function DesignListItem_build_closure0(t0) { this.$this = t0; }, DesignListItem_build_closure: function DesignListItem_build_closure(t0) { this.$this = t0; }, DesignListVM_fromStore(store) { var t2, t3, t4, t5, t6, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredDesignList(); t3 = t1.userCompanyStates; t4 = t1.uiState; t5 = t4.selectedCompanyIndex; t3 = t3._list$_list; t6 = t3[t5].designState; t4 = t4.designUIState.listUIState; return new A.DesignListVM(t1, t2.call$3(t6.map, t6.list, t4), t3[t5].designState.map, t4.filter, new A.DesignListVM_fromStore_closure(new A.DesignListVM_fromStore__handleRefresh(store)), A._setArrayType([], type$.JSArray_String), new A.DesignListVM_fromStore_closure0(store), new A.DesignListVM_fromStore_closure1(store)); }, DesignListBuilder: function DesignListBuilder(t0) { this.key = t0; }, DesignListBuilder_build_closure: function DesignListBuilder_build_closure() { }, DesignListBuilder_build__closure: function DesignListBuilder_build__closure(t0) { this.viewModel = t0; }, DesignListVM: function DesignListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.designList = t1; _.designMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, DesignListVM_fromStore__handleRefresh: function DesignListVM_fromStore__handleRefresh(t0) { this.store = t0; }, DesignListVM_fromStore_closure: function DesignListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, DesignListVM_fromStore_closure0: function DesignListVM_fromStore_closure0(t0) { this.store = t0; }, DesignListVM_fromStore_closure1: function DesignListVM_fromStore_closure1(t0) { this.store = t0; }, DesignScreen: function DesignScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, DesignScreen_build_closure10: function DesignScreen_build_closure10(t0) { this.store = t0; }, DesignScreen_build_closure7: function DesignScreen_build_closure7(t0) { this.store = t0; }, DesignScreen_build_closure8: function DesignScreen_build_closure8(t0) { this.store = t0; }, DesignScreen_build_closure9: function DesignScreen_build_closure9(t0) { this.store = t0; }, DesignScreen_build_closure4: function DesignScreen_build_closure4(t0) { this.store = t0; }, DesignScreen_build_closure5: function DesignScreen_build_closure5(t0) { this.store = t0; }, DesignScreen_build_closure: function DesignScreen_build_closure(t0) { this.store = t0; }, DesignScreen_build_closure0: function DesignScreen_build_closure0(t0) { this.store = t0; }, DesignScreen_build_closure1: function DesignScreen_build_closure1(t0) { this.store = t0; }, DesignScreen_build_closure2: function DesignScreen_build_closure2(t0) { this.store = t0; }, DesignScreen_build_closure3: function DesignScreen_build_closure3(t0) { this.store = t0; }, DesignScreen_build_closure6: function DesignScreen_build_closure6(t0) { this.state = t0; }, DesignScreenVM_fromStore(store) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredDesignList(); t3 = t1.userCompanyStates; t1 = t1.uiState; t3 = t3._list$_list[t1.selectedCompanyIndex].designState; return new A.DesignScreenVM(t2.call$3(t3.map, t3.list, t1.designUIState.listUIState)); }, DesignScreenBuilder: function DesignScreenBuilder(t0) { this.key = t0; }, DesignScreenBuilder_build_closure: function DesignScreenBuilder_build_closure() { }, DesignScreenVM: function DesignScreenVM(t0) { this.designList = t0; }, DesignSettings$(draftMode, htmlController, isLoading, nameController, onDraftModeChanged, onLoadDesign, viewModel) { return new A.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, t12) { 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; _.___DesignEditState__controllers_A = $; _.SingleTickerProviderStateMixin__ticker = t10; _.SingleTickerProviderStateMixin__tickerModeNotifier = t11; _._widget = null; _._debugLifecycleState = t12; _._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, t1) { this.$this = t0; this.design = t1; }, _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) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _DesignSettingsState_build_closure: function _DesignSettingsState_build_closure(t0) { this.localization = t0; }, _DesignSettingsState_build_closure0: function _DesignSettingsState_build_closure0(t0) { this.$this = t0; }, _DesignSettingsState_build_closure1: function _DesignSettingsState_build_closure1(t0, t1) { this.$this = t0; this.design = t1; }, _DesignSettingsState_build__closure2: function _DesignSettingsState_build__closure2(t0) { this.value = t0; }, _DesignSettingsState_build_closure2: function _DesignSettingsState_build_closure2() { }, _DesignSettingsState_build_closure3: function _DesignSettingsState_build_closure3() { }, _DesignSettingsState_build_closure4: function _DesignSettingsState_build_closure4(t0) { this.state = t0; }, _DesignSettingsState_build_closure5: function _DesignSettingsState_build_closure5(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.entityTypes = t1; _.design = t2; _.localization = t3; }, _DesignSettingsState_build__closure1: function _DesignSettingsState_build__closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.entityTypes = t1; _.entityType = t2; _.design = t3; }, _DesignSettingsState_build___closure: function _DesignSettingsState_build___closure(t0) { this.entities = t0; }, _DesignSettingsState_build____closure: function _DesignSettingsState_build____closure() { }, _DesignSettingsState_build_closure6: function _DesignSettingsState_build_closure6() { }, _DesignSettingsState_build_closure7: function _DesignSettingsState_build_closure7(t0, t1, t2) { this.$this = t0; this.context = t1; this.localization = t2; }, _DesignSettingsState_build__closure: function _DesignSettingsState_build__closure() { }, _DesignSettingsState_build__closure0: function _DesignSettingsState_build__closure0(t0) { this.designStr = t0; }, _DesignSettingsState_build_closure8: function _DesignSettingsState_build_closure8(t0, t1) { this.$this = t0; this.localization = t1; }, PdfDesignPreview: function PdfDesignPreview(t0, t1, t2) { this.pdfBytes = t0; this.isLoading = t1; this.key = t2; }, _PdfDesignPreviewState: function _PdfDesignPreviewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _PdfDesignPreviewState_build_closure: function _PdfDesignPreviewState_build_closure(t0) { this.$this = t0; }, HtmlDesignPreview: function HtmlDesignPreview(t0, t1, t2) { this.html = t0; this.isLoading = t1; this.key = t2; }, InsertTabIntent: function InsertTabIntent(t0, t1) { this.numSpaces = t0; this.textController = t1; }, InsertTabAction: function InsertTabAction(t0) { this._actions$_listeners = t0; this._currentCallingAction = null; }, _DesignImportDialog: function _DesignImportDialog(t0) { this.key = t0; }, __DesignImportDialogState: function __DesignImportDialogState(t0) { var _ = this; _._design_edit$_design = ""; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __DesignImportDialogState_build_closure: function __DesignImportDialogState_build_closure(t0) { this.$this = t0; }, __DesignImportDialogState_build_closure0: function __DesignImportDialogState_build_closure0(t0) { this.context = t0; }, __DesignImportDialogState_build_closure1: function __DesignImportDialogState_build_closure1(t0, t1, t2) { this.$this = t0; this.localization = t1; this.context = t2; }, __DesignEditState_State_SingleTickerProviderStateMixin: function __DesignEditState_State_SingleTickerProviderStateMixin() { }, DesignEditVM_DesignEditVM$fromStore(store) { var t2, design, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; design = t2.designUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].designState.map._map$_map.$index(0, design.id); return new A.DesignEditVM(design, new A.DesignEditVM_DesignEditVM$fromStore_closure(store), new A.DesignEditVM_DesignEditVM$fromStore_closure0(t1, store), new A.DesignEditVM_DesignEditVM$fromStore_closure1(store, t1), t1); }, DesignEditScreen: function DesignEditScreen(t0) { this.key = t0; }, DesignEditScreen_build_closure0: function DesignEditScreen_build_closure0() { }, DesignEditScreen_build_closure: function DesignEditScreen_build_closure() { }, DesignEditVM: function DesignEditVM(t0, t1, t2, t3, t4) { var _ = this; _.design = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, DesignEditVM_DesignEditVM$fromStore_closure: function DesignEditVM_DesignEditVM$fromStore_closure(t0) { this.store = t0; }, DesignEditVM_DesignEditVM$fromStore_closure1: function DesignEditVM_DesignEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, DesignEditVM_DesignEditVM$fromStore_closure0: function DesignEditVM_DesignEditVM$fromStore_closure0(t0, t1) { this.state = t0; this.store = t1; }, DesignEditVM_DesignEditVM$fromStore__closure: function DesignEditVM_DesignEditVM$fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, DesignView: function DesignView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _DesignViewState: function _DesignViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _DesignViewState_build_closure: function _DesignViewState_build_closure(t0) { this.state = t0; }, _DesignViewState_build_closure0: function _DesignViewState_build_closure0(t0) { this.design = t0; }, _DesignViewState_build_closure1: function _DesignViewState_build_closure1(t0) { this.state = t0; }, _DesignViewState_build_closure2: function _DesignViewState_build_closure2(t0) { this.design = t0; }, _DesignViewState_build_closure3: function _DesignViewState_build_closure3(t0) { this.state = t0; }, _DesignViewState_build_closure4: function _DesignViewState_build_closure4(t0) { this.design = t0; }, _DesignViewState_build_closure5: function _DesignViewState_build_closure5(t0) { this.state = t0; }, _DesignViewState_build_closure6: function _DesignViewState_build_closure6(t0) { this.design = t0; }, _DesignViewState_build_closure7: function _DesignViewState_build_closure7(t0) { this.viewModel = t0; }, DesignViewVM_DesignViewVM$fromStore(store) { var t2, t3, t4, design, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.designUIState.selectedId; design = t2._list$_list[t3.selectedCompanyIndex].designState.map._map$_map.$index(0, t4); if (design == null) design = A.DesignEntity_DesignEntity(null, t4, null); design.get$isNew(); return new A.DesignViewVM(t1, design, new A.DesignViewVM_DesignViewVM$fromStore_closure(store)); }, DesignViewScreen: function DesignViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, DesignViewScreen_build_closure0: function DesignViewScreen_build_closure0() { }, DesignViewScreen_build_closure: function DesignViewScreen_build_closure(t0) { this.$this = t0; }, DesignViewVM: function DesignViewVM(t0, t1, t2) { this.state = t0; this.design = t1; this.onBackPressed = t2; }, DesignViewVM_DesignViewVM$fromStore_closure: function DesignViewVM_DesignViewVM$fromStore_closure(t0) { this.store = t0; }, DocumentListItem: function DocumentListItem(t0, t1, t2, t3, t4) { var _ = this; _.userCompany = t0; _.isChecked = t1; _.document = t2; _.filter = t3; _.key = t4; }, DocumentListItem_build_closure: function DocumentListItem_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.showCheckbox = t1; _.listUIState = t2; _.state = t3; _.subtitle = t4; }, DocumentListItem_build__closure2: function DocumentListItem_build__closure2(t0) { this.$this = t0; }, DocumentListItem_build__closure1: function DocumentListItem_build__closure1(t0) { this.$this = t0; }, DocumentListItem_build__closure: function DocumentListItem_build__closure(t0) { this.$this = t0; }, DocumentListItem_build__closure0: function DocumentListItem_build__closure0(t0) { this.$this = t0; }, DocumentListItem_build__closure5: function DocumentListItem_build__closure5(t0) { this.$this = t0; }, DocumentListItem_build__closure4: function DocumentListItem_build__closure4(t0) { this.$this = t0; }, DocumentListItem_build__closure3: function DocumentListItem_build__closure3(t0) { this.$this = t0; }, DocumentListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredDocumentList(); t3 = t1.getUISelection$1(B.EntityType_document); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].documentState; t5 = t5.documentUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.documentState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_document); t2 = t6 == null ? A._setArrayType(["name", "linked_to", "size", "width", "height", "private", "created_at"], type$.JSArray_String) : t6; return new A.DocumentListVM(t1, t7, t4.map, t2, t5.filter, new A.DocumentListVM_fromStore_closure(new A.DocumentListVM_fromStore__handleRefresh(store)), new A.DocumentListVM_fromStore_closure0(store), new A.DocumentListVM_fromStore_closure1(store)); }, DocumentListBuilder: function DocumentListBuilder(t0) { this.key = t0; }, DocumentListBuilder_build_closure: function DocumentListBuilder_build_closure() { }, DocumentListBuilder_build__closure: function DocumentListBuilder_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, DocumentListBuilder_build__closure1: function DocumentListBuilder_build__closure1(t0) { this.viewModel = t0; }, DocumentListBuilder_build__closure0: function DocumentListBuilder_build__closure0(t0) { this.viewModel = t0; }, DocumentListVM: function DocumentListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.documentList = t1; _.documentMap = t2; _.tableColumns = t3; _.filter = t4; _.onRefreshed = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, DocumentListVM_fromStore__handleRefresh: function DocumentListVM_fromStore__handleRefresh(t0) { this.store = t0; }, DocumentListVM_fromStore_closure: function DocumentListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, DocumentListVM_fromStore_closure0: function DocumentListVM_fromStore_closure0(t0) { this.store = t0; }, DocumentListVM_fromStore_closure1: function DocumentListVM_fromStore_closure1(t0) { this.store = t0; }, DocumentPresenter: function DocumentPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, DocumentScreen: function DocumentScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, DocumentScreen_build_closure: function DocumentScreen_build_closure(t0) { this.localization = t0; }, DocumentScreen_build_closure0: function DocumentScreen_build_closure0(t0) { this.localization = t0; }, DocumentScreen_build_closure1: function DocumentScreen_build_closure1(t0) { this.localization = t0; }, DocumentScreen_build_closure2: function DocumentScreen_build_closure2(t0) { this.localization = t0; }, DocumentScreen_build_closure3: function DocumentScreen_build_closure3(t0) { this.localization = t0; }, DocumentScreen_build_closure14: function DocumentScreen_build_closure14(t0) { this.store = t0; }, DocumentScreen_build_closure4: function DocumentScreen_build_closure4(t0) { this.store = t0; }, DocumentScreen_build_closure5: function DocumentScreen_build_closure5(t0) { this.store = t0; }, DocumentScreen_build_closure13: function DocumentScreen_build_closure13(t0) { this.store = t0; }, DocumentScreen_build_closure11: function DocumentScreen_build_closure11(t0) { this.store = t0; }, DocumentScreen_build_closure7: function DocumentScreen_build_closure7(t0) { this.store = t0; }, DocumentScreen_build_closure8: function DocumentScreen_build_closure8(t0) { this.store = t0; }, DocumentScreen_build_closure9: function DocumentScreen_build_closure9(t0) { this.store = t0; }, DocumentScreen_build_closure10: function DocumentScreen_build_closure10(t0) { this.store = t0; }, DocumentScreen_build_closure12: function DocumentScreen_build_closure12(t0) { this.store = t0; }, DocumentScreen_build_closure6: function DocumentScreen_build_closure6(t0) { this.store = t0; }, DocumentScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredDocumentList(); t3 = t1.getUISelection$1(B.EntityType_document); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].documentState; return new A.DocumentScreenVM(t2.call$4(t3, t4.map, t4.list, t1.documentUIState.listUIState)); }, DocumentScreenBuilder: function DocumentScreenBuilder(t0) { this.key = t0; }, DocumentScreenBuilder_build_closure: function DocumentScreenBuilder_build_closure() { }, DocumentScreenVM: function DocumentScreenVM(t0) { this.documentList = t0; }, DocumentEdit0: function DocumentEdit0(t0, t1) { this.viewModel = t0; this.key = t1; }, _DocumentEditState: function _DocumentEditState(t0, t1, t2, t3) { var _ = this; _._document_edit$_debouncer = t0; _._document_edit$_nameController = t1; _._document_edit$_controllers = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _DocumentEditState_didChangeDependencies_closure: function _DocumentEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _DocumentEditState_didChangeDependencies_closure0: function _DocumentEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _DocumentEditState_dispose_closure: function _DocumentEditState_dispose_closure(t0) { this.$this = t0; }, _DocumentEditState__onChanged_closure: function _DocumentEditState__onChanged_closure(t0) { this.$this = t0; }, _DocumentEditState__onChanged_closure0: function _DocumentEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.document = t1; }, _DocumentEditState_build_closure1: function _DocumentEditState_build_closure1(t0) { this.$this = t0; }, _DocumentEditState_build_closure0: function _DocumentEditState_build_closure0(t0) { this.viewModel = t0; }, _DocumentEditState_build_closure: function _DocumentEditState_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, _DocumentEditState_build__closure: function _DocumentEditState_build__closure(t0) { this.$this = t0; }, _DocumentEditState_build__closure0: function _DocumentEditState_build__closure0(t0) { this.localization = t0; }, DocumentEditVM_DocumentEditVM$fromStore(store) { var t2, $document, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; $document = t2.documentUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].documentState.map._map$_map.$index(0, $document.id); return new A.DocumentEditVM($document, new A.DocumentEditVM_DocumentEditVM$fromStore_closure(store), new A.DocumentEditVM_DocumentEditVM$fromStore_closure0(store, t1), new A.DocumentEditVM_DocumentEditVM$fromStore_closure1(store, t1), t1); }, DocumentEditScreen: function DocumentEditScreen(t0) { this.key = t0; }, DocumentEditScreen_build_closure0: function DocumentEditScreen_build_closure0() { }, DocumentEditScreen_build_closure: function DocumentEditScreen_build_closure() { }, DocumentEditVM: function DocumentEditVM(t0, t1, t2, t3, t4) { var _ = this; _.document = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, DocumentEditVM_DocumentEditVM$fromStore_closure1: function DocumentEditVM_DocumentEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, DocumentEditVM_DocumentEditVM$fromStore_closure: function DocumentEditVM_DocumentEditVM$fromStore_closure(t0) { this.store = t0; }, DocumentEditVM_DocumentEditVM$fromStore_closure0: function DocumentEditVM_DocumentEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, DocumentEditVM_DocumentEditVM$fromStore__closure: function DocumentEditVM_DocumentEditVM$fromStore__closure(t0, t1) { this.store = t0; this.state = t1; }, DocumentEditVM_DocumentEditVM$fromStore___closure: function DocumentEditVM_DocumentEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.localization = t0; _.state = t1; _.store = t2; _.document = t3; _.navigator = t4; }, DocumentEditVM_DocumentEditVM$fromStore___closure0: function DocumentEditVM_DocumentEditVM$fromStore___closure0() { }, DocumentEditVM_DocumentEditVM$fromStore____closure: function DocumentEditVM_DocumentEditVM$fromStore____closure(t0) { this.error = 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; }, _DocumentViewState_build_closure: function _DocumentViewState_build_closure(t0) { this.document = t0; }, DocumentViewVM_DocumentViewVM$fromStore(store) { var t2, t3, t4, $document, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.documentUIState.selectedId; $document = t2._list$_list[t3.selectedCompanyIndex].documentState.map._map$_map.$index(0, t4); if ($document == null) $document = A.DocumentEntity_DocumentEntity(t4); $document.get$isNew(); return new A.DocumentViewVM(t1, $document); }, DocumentViewScreen: function DocumentViewScreen(t0) { this.key = t0; }, DocumentViewScreen_build_closure0: function DocumentViewScreen_build_closure0() { }, DocumentViewScreen_build_closure: function DocumentViewScreen_build_closure(t0) { this.$this = t0; }, DocumentViewVM: function DocumentViewVM(t0, t1) { this.state = t0; this.document = t1; }, ExpenseEdit: function ExpenseEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _ExpenseEditState: function _ExpenseEditState(t0, t1, t2) { var _ = this; _._expense_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ExpenseEditState__onSavePressed_closure: function _ExpenseEditState__onSavePressed_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.action = t2; }, _ExpenseEditState_build_closure1: function _ExpenseEditState_build_closure1(t0) { this.viewModel = t0; }, _ExpenseEditState_build_closure2: function _ExpenseEditState_build_closure2(t0) { this.$this = t0; }, _ExpenseEditState_build_closure0: function _ExpenseEditState_build_closure0(t0) { this.$this = t0; }, _ExpenseEditState_build_closure: function _ExpenseEditState_build_closure(t0) { this.store = t0; }, __ExpenseEditState_State_SingleTickerProviderStateMixin: function __ExpenseEditState_State_SingleTickerProviderStateMixin() { }, ExpenseEditDesktop: function ExpenseEditDesktop(t0, t1) { this.viewModel = t0; this.key = t1; }, ExpenseEditDetails: function ExpenseEditDetails(t0, t1) { this.viewModel = t0; this.key = t1; }, ExpenseEditDetailsState: function ExpenseEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._expense_edit_details$_numberController = t0; _._expense_edit_details$_amountController = t1; _._expense_edit_details$_custom1Controller = t2; _._expense_edit_details$_custom2Controller = t3; _._expense_edit_details$_custom3Controller = t4; _._expense_edit_details$_custom4Controller = t5; _.__ExpenseEditDetailsState__controllers_A = $; _._expense_edit_details$_debouncer = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, ExpenseEditDetailsState_didChangeDependencies_closure: function ExpenseEditDetailsState_didChangeDependencies_closure(t0) { this.$this = t0; }, ExpenseEditDetailsState_didChangeDependencies_closure0: function ExpenseEditDetailsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, ExpenseEditDetailsState_dispose_closure: function ExpenseEditDetailsState_dispose_closure(t0) { this.$this = t0; }, ExpenseEditDetailsState__onChanged_closure: function ExpenseEditDetailsState__onChanged_closure(t0) { this.$this = t0; }, ExpenseEditDetailsState__onChanged_closure0: function ExpenseEditDetailsState__onChanged_closure0(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build_closure1: function ExpenseEditDetailsState_build_closure1(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure18: function ExpenseEditDetailsState_build__closure18(t0) { this.vendor = t0; }, ExpenseEditDetailsState_build_closure: function ExpenseEditDetailsState_build_closure(t0, t1) { this.viewModel = t0; this.context = t1; }, ExpenseEditDetailsState_build_closure0: function ExpenseEditDetailsState_build_closure0(t0) { this.store = t0; }, ExpenseEditDetailsState_build__closure19: function ExpenseEditDetailsState_build__closure19(t0) { this.name = t0; }, ExpenseEditDetailsState_build_closure3: function ExpenseEditDetailsState_build_closure3(t0, t1, t2) { this.company = t0; this.viewModel = t1; this.expense = t2; }, ExpenseEditDetailsState_build__closure17: function ExpenseEditDetailsState_build__closure17(t0, t1) { this._box_0 = t0; this.client = t1; }, ExpenseEditDetailsState_build_closure2: function ExpenseEditDetailsState_build_closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, ExpenseEditDetailsState_build_closure4: function ExpenseEditDetailsState_build_closure4(t0, t1, t2) { this.store = t0; this.viewModel = t1; this.expense = t2; }, ExpenseEditDetailsState_build__closure16: function ExpenseEditDetailsState_build__closure16(t0, t1) { this.project = t0; this.expense = t1; }, ExpenseEditDetailsState_build_closure6: function ExpenseEditDetailsState_build_closure6(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure14: function ExpenseEditDetailsState_build__closure14(t0) { this.category = t0; }, ExpenseEditDetailsState_build_closure5: function ExpenseEditDetailsState_build_closure5(t0) { this.store = t0; }, ExpenseEditDetailsState_build__closure15: function ExpenseEditDetailsState_build__closure15(t0) { this.name = t0; }, ExpenseEditDetailsState_build_closure7: function ExpenseEditDetailsState_build_closure7(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure13: function ExpenseEditDetailsState_build__closure13(t0) { this.userId = t0; }, ExpenseEditDetailsState_build_closure8: function ExpenseEditDetailsState_build_closure8(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure12: function ExpenseEditDetailsState_build__closure12(t0) { this.name = t0; }, ExpenseEditDetailsState_build_closure9: function ExpenseEditDetailsState_build_closure9(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure11: function ExpenseEditDetailsState_build__closure11(t0) { this.amount = t0; }, ExpenseEditDetailsState_build_closure10: function ExpenseEditDetailsState_build_closure10(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure10: function ExpenseEditDetailsState_build__closure10(t0) { this.taxRate = t0; }, ExpenseEditDetailsState_build_closure11: function ExpenseEditDetailsState_build_closure11(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure9: function ExpenseEditDetailsState_build__closure9(t0) { this.name = t0; }, ExpenseEditDetailsState_build_closure12: function ExpenseEditDetailsState_build_closure12(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure8: function ExpenseEditDetailsState_build__closure8(t0) { this.amount = t0; }, ExpenseEditDetailsState_build_closure13: function ExpenseEditDetailsState_build_closure13(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure7: function ExpenseEditDetailsState_build__closure7(t0) { this.taxRate = t0; }, ExpenseEditDetailsState_build_closure14: function ExpenseEditDetailsState_build_closure14(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure6: function ExpenseEditDetailsState_build__closure6(t0) { this.name = t0; }, ExpenseEditDetailsState_build_closure15: function ExpenseEditDetailsState_build_closure15(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure5: function ExpenseEditDetailsState_build__closure5(t0) { this.amount = t0; }, ExpenseEditDetailsState_build_closure16: function ExpenseEditDetailsState_build_closure16(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure4: function ExpenseEditDetailsState_build__closure4(t0) { this.taxRate = t0; }, ExpenseEditDetailsState_build_closure17: function ExpenseEditDetailsState_build_closure17(t0) { this.viewModel = t0; }, ExpenseEditDetailsState_build__closure3: function ExpenseEditDetailsState_build__closure3(t0) { this.currency = t0; }, ExpenseEditDetailsState_build_closure18: function ExpenseEditDetailsState_build_closure18(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure2: function ExpenseEditDetailsState_build__closure2(t0) { this.date = t0; }, ExpenseEditDetailsState_build_closure20: function ExpenseEditDetailsState_build_closure20(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure1: function ExpenseEditDetailsState_build__closure1(t0) { this.value = t0; }, ExpenseEditDetailsState_build_closure19: function ExpenseEditDetailsState_build_closure19(t0) { this.localization = t0; }, ExpenseEditDetailsState_build_closure21: function ExpenseEditDetailsState_build_closure21(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure0: function ExpenseEditDetailsState_build__closure0(t0) { this.date = t0; }, ExpenseEditDetailsState_build_closure23: function ExpenseEditDetailsState_build_closure23(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditDetailsState_build__closure: function ExpenseEditDetailsState_build__closure(t0) { this.value = t0; }, ExpenseEditDetailsState_build_closure22: function ExpenseEditDetailsState_build_closure22() { }, ExpenseEditNotes: function ExpenseEditNotes(t0, t1) { this.viewModel = t0; this.key = t1; }, ExpenseEditNotesState: function ExpenseEditNotesState(t0, t1, t2, t3) { var _ = this; _._publicNotesController = t0; _._expense_edit_notes$_privateNotesController = t1; _.__ExpenseEditNotesState__controllers_A = $; _._expense_edit_notes$_debouncer = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, ExpenseEditNotesState_didChangeDependencies_closure: function ExpenseEditNotesState_didChangeDependencies_closure(t0) { this.$this = t0; }, ExpenseEditNotesState_didChangeDependencies_closure0: function ExpenseEditNotesState_didChangeDependencies_closure0(t0) { this.$this = t0; }, ExpenseEditNotesState_dispose_closure: function ExpenseEditNotesState_dispose_closure(t0) { this.$this = t0; }, ExpenseEditNotesState__onChanged_closure: function ExpenseEditNotesState__onChanged_closure(t0) { this.$this = t0; }, ExpenseEditNotesState__onChanged_closure0: function ExpenseEditNotesState__onChanged_closure0(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditNotesState_build_closure: function ExpenseEditNotesState_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, ExpenseEditNotesState_build_closure0: function ExpenseEditNotesState_build_closure0(t0, t1) { this.store = t0; this.expense = t1; }, 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; _.__ExpenseEditSettingsState__controllers_A = $; _._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) { this.currency = t0; this.exchangeRate = t1; }, ExpenseEditSettingsState__setCurrency_closure0: function ExpenseEditSettingsState__setCurrency_closure0(t0, t1) { this.$this = t0; this.exchangeRate = t1; }, ExpenseEditSettingsState__calculateExchangeRate_closure: function ExpenseEditSettingsState__calculateExchangeRate_closure(t0) { this.exchangeRate = t0; }, ExpenseEditSettingsState_build_closure: function ExpenseEditSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditSettingsState_build__closure11: function ExpenseEditSettingsState_build__closure11(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__closure7: function ExpenseEditSettingsState_build__closure7() { }, ExpenseEditSettingsState_build__closure8: function ExpenseEditSettingsState_build__closure8() { }, ExpenseEditSettingsState_build__closure9: function ExpenseEditSettingsState_build__closure9(t0) { this.$this = t0; }, ExpenseEditSettingsState_build__closure10: function ExpenseEditSettingsState_build__closure10(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__closure6: function ExpenseEditSettingsState_build__closure6(t0) { this.paymentType = t0; }, ExpenseEditSettingsState_build_closure2: function ExpenseEditSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditSettingsState_build__closure5: function ExpenseEditSettingsState_build__closure5(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__closure2: function ExpenseEditSettingsState_build__closure2(t0, t1) { this.$this = t0; this.value = t1; }, ExpenseEditSettingsState_build__closure3: function ExpenseEditSettingsState_build__closure3() { }, ExpenseEditSettingsState_build__closure4: function ExpenseEditSettingsState_build__closure4(t0) { this.$this = t0; }, ExpenseEditSettingsState_build_closure4: function ExpenseEditSettingsState_build_closure4(t0) { this.$this = t0; }, ExpenseEditSettingsState_build_closure7: function ExpenseEditSettingsState_build_closure7(t0) { this.$this = t0; }, ExpenseEditSettingsState_build_closure5: function ExpenseEditSettingsState_build_closure5(t0) { this.$this = t0; }, ExpenseEditSettingsState_build_closure6: function ExpenseEditSettingsState_build_closure6(t0, t1) { this.$this = t0; this.viewModel = t1; }, ExpenseEditSettingsState_build_closure8: function ExpenseEditSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditSettingsState_build__closure1: function ExpenseEditSettingsState_build__closure1(t0) { this.value = t0; }, ExpenseEditSettingsState_build_closure9: function ExpenseEditSettingsState_build_closure9(t0) { this.context = t0; }, ExpenseEditSettingsState_build_closure10: function ExpenseEditSettingsState_build_closure10(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditSettingsState_build__closure0: function ExpenseEditSettingsState_build__closure0(t0) { this.value = t0; }, ExpenseEditSettingsState_build_closure11: function ExpenseEditSettingsState_build_closure11(t0, t1) { this.viewModel = t0; this.expense = t1; }, ExpenseEditSettingsState_build__closure: function ExpenseEditSettingsState_build__closure(t0) { this.value = t0; }, ExpenseEditVM_ExpenseEditVM$fromStore(store) { var t2, expense, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; expense = t2.expenseUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].expenseState.map._map$_map.$index(0, expense.id); return new A.ExpenseEditVM(expense, new A.ExpenseEditVM_ExpenseEditVM$fromStore_closure(store), new A.ExpenseEditVM_ExpenseEditVM$fromStore_closure0(store, t1), new A.ExpenseEditVM_ExpenseEditVM$fromStore_closure1(store, t1), t1, new A.ExpenseEditVM_ExpenseEditVM$fromStore_closure2(store), new A.ExpenseEditVM_ExpenseEditVM$fromStore_closure3(store), new A.ExpenseEditVM_ExpenseEditVM$fromStore_closure4(store, expense)); }, 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, t7) { var _ = this; _.expense = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; _.onAddClientPressed = t5; _.onAddVendorPressed = t6; _.onUploadDocument = t7; }, 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__closure3: function ExpenseEditVM_ExpenseEditVM$fromStore__closure3(t0) { this.store = t0; }, ExpenseEditVM_ExpenseEditVM$fromStore__closure4: function ExpenseEditVM_ExpenseEditVM$fromStore__closure4(t0) { this.store = t0; }, ExpenseEditVM_ExpenseEditVM$fromStore_closure3: function ExpenseEditVM_ExpenseEditVM$fromStore_closure3(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_closure0: function ExpenseEditVM_ExpenseEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, ExpenseEditVM_ExpenseEditVM$fromStore__closure5: function ExpenseEditVM_ExpenseEditVM$fromStore__closure5(t0, t1, t2) { this.store = t0; this.action = t1; this.state = t2; }, ExpenseEditVM_ExpenseEditVM$fromStore___closure0: function ExpenseEditVM_ExpenseEditVM$fromStore___closure0(t0, t1, t2, t3, t4, t5) { var _ = this; _.expense = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; _.action = t5; }, ExpenseEditVM_ExpenseEditVM$fromStore___closure1: function ExpenseEditVM_ExpenseEditVM$fromStore___closure1() { }, ExpenseEditVM_ExpenseEditVM$fromStore____closure: function ExpenseEditVM_ExpenseEditVM$fromStore____closure(t0) { this.error = t0; }, ExpenseEditVM_ExpenseEditVM$fromStore_closure4: function ExpenseEditVM_ExpenseEditVM$fromStore_closure4(t0, t1) { this.store = t0; this.expense = t1; }, ExpenseEditVM_ExpenseEditVM$fromStore__closure: function ExpenseEditVM_ExpenseEditVM$fromStore__closure(t0) { this.context = t0; }, ExpenseEditVM_ExpenseEditVM$fromStore__closure0: function ExpenseEditVM_ExpenseEditVM$fromStore__closure0(t0) { this.context = t0; }, ExpenseEditVM_ExpenseEditVM$fromStore___closure: function ExpenseEditVM_ExpenseEditVM$fromStore___closure(t0) { this.error = t0; }, ExpenseListItem$(expense, filter, isChecked, isDismissible, onCheckboxChanged, onTap, showCheckbox, showSelected) { return new A.ExpenseListItem(onCheckboxChanged, onTap, expense, filter, showCheckbox, isDismissible, isChecked, showSelected, null); }, ExpenseListItem: function ExpenseListItem(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.onCheckboxChanged = t0; _.onTap = t1; _.expense = t2; _.filter = t3; _.showCheckbox = t4; _.isDismissible = t5; _.isChecked = t6; _.showSelected = t7; _.key = t8; }, ExpenseListItem_build_closure: function ExpenseListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._box_0 = t0; _.$this = t1; _.listUIState = t2; _.state = t3; _.textStyle = t4; _.textColor = t5; _.filterMatch = t6; _.localization = t7; _.category = t8; }, ExpenseListItem_build__closure2: function ExpenseListItem_build__closure2(t0) { this.$this = t0; }, ExpenseListItem_build__closure1: function ExpenseListItem_build__closure1(t0) { this.$this = t0; }, ExpenseListItem_build__closure: function ExpenseListItem_build__closure(t0) { this.$this = t0; }, ExpenseListItem_build__closure0: function ExpenseListItem_build__closure0(t0) { this.$this = t0; }, ExpenseListItem_build__closure5: function ExpenseListItem_build__closure5(t0) { this.$this = t0; }, ExpenseListItem_build__closure4: function ExpenseListItem_build__closure4(t0) { this.$this = t0; }, ExpenseListItem_build__closure3: function ExpenseListItem_build__closure3(t0) { this.$this = t0; }, ExpenseListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].userCompany; t6 = $.$get$memoizedFilteredExpenseList(); t7 = t1.getUISelection$1(B.EntityType_expense); t8 = t2[t4]; t3 = t3.expenseUIState.listUIState; t8 = t6.call$9(t7, t8.expenseState.map, t8.clientState.map, t8.vendorState.map, t8.userState.map, t3, t8.invoiceState.map, t8.expenseCategoryState.map, t1.staticState); t4 = t2[t4]; t2 = t4.expenseState; t4 = t4.userCompany.settings.getTableColumns$1(B.EntityType_expense); if (t4 == null) t4 = A._setArrayType(["status", "number", "vendor", "client", "date", "amount", "public_notes", "entity_state"], type$.JSArray_String); return new A.ExpenseListVM(t1, t5.user, t8, t2.map, t3.filter, new A.ExpenseListVM_fromStore_closure(new A.ExpenseListVM_fromStore__handleRefresh(store)), t4, new A.ExpenseListVM_fromStore_closure0(store), new A.ExpenseListVM_fromStore_closure1(store)); }, ExpenseListBuilder: function ExpenseListBuilder(t0) { this.key = t0; }, ExpenseListBuilder_build_closure: function ExpenseListBuilder_build_closure() { }, ExpenseListBuilder_build__closure: function ExpenseListBuilder_build__closure(t0) { this.viewModel = t0; }, ExpenseListVM: function ExpenseListVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.user = t1; _.expenseList = t2; _.expenseMap = t3; _.filter = t4; _.onRefreshed = t5; _.tableColumns = t6; _.onSortColumn = t7; _.onClearMultielsect = t8; }, ExpenseListVM_fromStore__handleRefresh: function ExpenseListVM_fromStore__handleRefresh(t0) { this.store = t0; }, ExpenseListVM_fromStore_closure: function ExpenseListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, ExpenseListVM_fromStore_closure0: function ExpenseListVM_fromStore_closure0(t0) { this.store = t0; }, ExpenseListVM_fromStore_closure1: function ExpenseListVM_fromStore_closure1(t0) { this.store = t0; }, ExpensePresenter: function ExpensePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, ExpenseScreen: function ExpenseScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ExpenseScreen_build_closure: function ExpenseScreen_build_closure(t0) { this.localization = t0; }, ExpenseScreen_build_closure0: function ExpenseScreen_build_closure0(t0) { this.localization = t0; }, ExpenseScreen_build_closure1: function ExpenseScreen_build_closure1(t0) { this.localization = t0; }, ExpenseScreen_build_closure2: function ExpenseScreen_build_closure2(t0) { this.localization = t0; }, ExpenseScreen_build_closure3: function ExpenseScreen_build_closure3(t0) { this.localization = t0; }, ExpenseScreen_build_closure18: function ExpenseScreen_build_closure18(t0) { this.store = t0; }, ExpenseScreen_build_closure14: function ExpenseScreen_build_closure14(t0) { this.store = t0; }, ExpenseScreen_build_closure16: function ExpenseScreen_build_closure16(t0) { this.store = t0; }, ExpenseScreen_build_closure15: function ExpenseScreen_build_closure15(t0) { this.store = t0; }, ExpenseScreen_build_closure17: function ExpenseScreen_build_closure17(t0) { this.store = t0; }, ExpenseScreen_build_closure4: function ExpenseScreen_build_closure4(t0, t1) { this.store = t0; this.state = t1; }, ExpenseScreen_build_closure10: function ExpenseScreen_build_closure10(t0) { this.store = t0; }, ExpenseScreen_build_closure6: function ExpenseScreen_build_closure6(t0) { this.store = t0; }, ExpenseScreen_build_closure7: function ExpenseScreen_build_closure7(t0) { this.store = t0; }, ExpenseScreen_build_closure8: function ExpenseScreen_build_closure8(t0) { this.store = t0; }, ExpenseScreen_build_closure9: function ExpenseScreen_build_closure9(t0) { this.store = t0; }, ExpenseScreen_build_closure11: function ExpenseScreen_build_closure11(t0) { this.store = t0; }, ExpenseScreen_build_closure12: function ExpenseScreen_build_closure12(t0) { this.store = t0; }, ExpenseScreen_build_closure5: function ExpenseScreen_build_closure5(t0) { this.store = t0; }, ExpenseScreen_build_closure13: function ExpenseScreen_build_closure13(t0) { this.context = t0; }, ExpenseScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredExpenseList(); t3 = t1.getUISelection$1(B.EntityType_expense); t4 = t1.userCompanyStates; t5 = t1.uiState; t4 = t4._list$_list[t5.selectedCompanyIndex]; return new A.ExpenseScreenVM(t2.call$9(t3, t4.expenseState.map, t4.clientState.map, t4.vendorState.map, t4.userState.map, t5.expenseUIState.listUIState, t4.invoiceState.map, t4.expenseCategoryState.map, t1.staticState)); }, ExpenseScreenBuilder: function ExpenseScreenBuilder(t0) { this.key = t0; }, ExpenseScreenBuilder_build_closure: function ExpenseScreenBuilder_build_closure() { }, ExpenseScreenVM: function ExpenseScreenVM(t0) { this.expenseList = t0; }, ExpenseView: function ExpenseView(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.tabIndex = t2; _.key = t3; }, _ExpenseViewState: function _ExpenseViewState(t0, t1, t2) { var _ = this; _._expense_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ExpenseViewState_build_closure: function _ExpenseViewState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.company = t1; _.expense = t2; _.viewModel = t3; }, _ExpenseViewState_build__closure: function _ExpenseViewState_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _ExpenseViewState_build__closure0: function _ExpenseViewState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _ExpenseViewState_build__closure1: function _ExpenseViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, _ExpenseViewState_build__closure2: function _ExpenseViewState_build__closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, __ExpenseViewState_State_SingleTickerProviderStateMixin: function __ExpenseViewState_State_SingleTickerProviderStateMixin() { }, 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.store = t1; }, ExpenseOverview: function ExpenseOverview(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, ExpenseOverview_build__buildDetailsList: function ExpenseOverview_build__buildDetailsList(t0, t1, t2, t3) { var _ = this; _.expense = t0; _.context = t1; _.localization = t2; _.state = t3; }, 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; }, ExpenseViewVM_ExpenseViewVM$fromStore(store) { var t2, t3, t4, expense, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.expenseUIState.selectedId; expense = t2[t4].expenseState.map._map$_map.$index(0, t3); if (expense == null) expense = A.ExpenseEntity_ExpenseEntity(_null, _null, t3, _null, _null, _null, _null); t2 = t2[t4].userCompany; expense.get$isNew(); return new A.ExpenseViewVM(t1, expense, t2.company, new A.ExpenseViewVM_ExpenseViewVM$fromStore_closure(new A.ExpenseViewVM_ExpenseViewVM$fromStore__handleRefresh(store, expense)), new A.ExpenseViewVM_ExpenseViewVM$fromStore_closure0(store, expense)); }, ExpenseViewScreen: function ExpenseViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, ExpenseViewScreen_build_closure0: function ExpenseViewScreen_build_closure0() { }, ExpenseViewScreen_build_closure: function ExpenseViewScreen_build_closure(t0) { this.$this = t0; }, AbstractExpenseViewVM: function AbstractExpenseViewVM() { }, ExpenseViewVM: function ExpenseViewVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.expense = t1; _.company = t2; _.onRefreshed = t3; _.onUploadDocuments = t4; }, ExpenseViewVM_ExpenseViewVM$fromStore__handleRefresh: function ExpenseViewVM_ExpenseViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.expense = t1; }, ExpenseViewVM_ExpenseViewVM$fromStore_closure: function ExpenseViewVM_ExpenseViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, ExpenseViewVM_ExpenseViewVM$fromStore_closure0: function ExpenseViewVM_ExpenseViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.expense = t1; }, ExpenseViewVM_ExpenseViewVM$fromStore__closure: function ExpenseViewVM_ExpenseViewVM$fromStore__closure(t0) { this.context = t0; }, ExpenseViewVM_ExpenseViewVM$fromStore__closure0: function ExpenseViewVM_ExpenseViewVM$fromStore__closure0() { }, ExpenseViewVM_ExpenseViewVM$fromStore___closure: function ExpenseViewVM_ExpenseViewVM$fromStore___closure(t0) { this.error = t0; }, ExpenseCategoryEdit: function ExpenseCategoryEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _ExpenseCategoryEditState: function _ExpenseCategoryEditState(t0, t1, t2, t3) { var _ = this; _._expense_category_edit$_debouncer = t0; _._expense_category_edit$_nameController = t1; _._expense_category_edit$_controllers = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _ExpenseCategoryEditState_didChangeDependencies_closure: function _ExpenseCategoryEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ExpenseCategoryEditState_didChangeDependencies_closure0: function _ExpenseCategoryEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _ExpenseCategoryEditState_dispose_closure: function _ExpenseCategoryEditState_dispose_closure(t0) { this.$this = t0; }, _ExpenseCategoryEditState__onChanged_closure: function _ExpenseCategoryEditState__onChanged_closure(t0) { this.$this = t0; }, _ExpenseCategoryEditState__onChanged_closure0: function _ExpenseCategoryEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.expenseCategory = t1; }, _ExpenseCategoryEditState_build_closure0: function _ExpenseCategoryEditState_build_closure0(t0) { this.viewModel = t0; }, _ExpenseCategoryEditState_build_closure1: function _ExpenseCategoryEditState_build_closure1(t0) { this.$this = t0; }, _ExpenseCategoryEditState_build_closure: function _ExpenseCategoryEditState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.localization = t1; _.expenseCategory = t2; _.viewModel = t3; }, _ExpenseCategoryEditState_build__closure: function _ExpenseCategoryEditState_build__closure(t0) { this.$this = t0; }, _ExpenseCategoryEditState_build__closure0: function _ExpenseCategoryEditState_build__closure0(t0) { this.localization = t0; }, _ExpenseCategoryEditState_build__closure1: function _ExpenseCategoryEditState_build__closure1(t0, t1) { this.viewModel = t0; this.expenseCategory = t1; }, _ExpenseCategoryEditState_build___closure: function _ExpenseCategoryEditState_build___closure(t0) { this.value = t0; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore(store) { var t2, expenseCategory, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; expenseCategory = t2.expenseCategoryUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].expenseCategoryState.map._map$_map.$index(0, expenseCategory.id); return new A.ExpenseCategoryEditVM(expenseCategory, new A.ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure(store), new A.ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure0(store, t1), new A.ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure1(store, t1), t1); }, ExpenseCategoryEditScreen: function ExpenseCategoryEditScreen(t0) { this.key = t0; }, ExpenseCategoryEditScreen_build_closure0: function ExpenseCategoryEditScreen_build_closure0() { }, ExpenseCategoryEditScreen_build_closure: function ExpenseCategoryEditScreen_build_closure() { }, ExpenseCategoryEditVM: function ExpenseCategoryEditVM(t0, t1, t2, t3, t4) { var _ = this; _.expenseCategory = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure(t0) { this.store = t0; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure1: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure0: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore__closure: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore__closure(t0, t1) { this.store = t0; this.state = t1; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore___closure: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.expenseCategory = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore___closure0: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore___closure0() { }, ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore____closure: function ExpenseCategoryEditVM_ExpenseCategoryEditVM$fromStore____closure(t0) { this.error = t0; }, ExpenseCategoryListItem$(expenseCategory, filter, isChecked, onTap, showCheck) { return new A.ExpenseCategoryListItem(onTap, expenseCategory, filter, isChecked, showCheck, null); }, ExpenseCategoryListItem: function ExpenseCategoryListItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.onTap = t0; _.expenseCategory = t1; _.filter = t2; _.isChecked = t3; _.showCheck = t4; _.key = t5; }, ExpenseCategoryListItem_build_closure1: function ExpenseCategoryListItem_build_closure1(t0) { this.$this = t0; }, ExpenseCategoryListItem_build_closure0: function ExpenseCategoryListItem_build_closure0(t0) { this.$this = t0; }, ExpenseCategoryListItem_build_closure: function ExpenseCategoryListItem_build_closure() { }, ExpenseCategoryListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredExpenseCategoryList(); t3 = t1.getUISelection$1(B.EntityType_expenseCategory); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].expenseCategoryState; t5 = t5.expenseCategoryUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.expenseCategoryState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_expenseCategory); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.ExpenseCategoryListVM(t1, t7, t4.map, t5.filter, new A.ExpenseCategoryListVM_fromStore_closure(new A.ExpenseCategoryListVM_fromStore__handleRefresh(store)), t2, new A.ExpenseCategoryListVM_fromStore_closure0(store), new A.ExpenseCategoryListVM_fromStore_closure1(store)); }, ExpenseCategoryListBuilder: function ExpenseCategoryListBuilder(t0) { this.key = t0; }, ExpenseCategoryListBuilder_build_closure: function ExpenseCategoryListBuilder_build_closure() { }, ExpenseCategoryListBuilder_build__closure: function ExpenseCategoryListBuilder_build__closure(t0) { this.viewModel = t0; }, ExpenseCategoryListVM: function ExpenseCategoryListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.expenseCategoryList = t1; _.expenseCategoryMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, ExpenseCategoryListVM_fromStore__handleRefresh: function ExpenseCategoryListVM_fromStore__handleRefresh(t0) { this.store = t0; }, ExpenseCategoryListVM_fromStore_closure: function ExpenseCategoryListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, ExpenseCategoryListVM_fromStore_closure0: function ExpenseCategoryListVM_fromStore_closure0(t0) { this.store = t0; }, ExpenseCategoryListVM_fromStore_closure1: function ExpenseCategoryListVM_fromStore_closure1(t0) { this.store = t0; }, ExpenseCategoryPresenter: function ExpenseCategoryPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, ExpenseCategoryScreen: function ExpenseCategoryScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ExpenseCategoryScreen_build_closure10: function ExpenseCategoryScreen_build_closure10(t0) { this.store = t0; }, ExpenseCategoryScreen_build_closure9: function ExpenseCategoryScreen_build_closure9(t0) { this.store = t0; }, ExpenseCategoryScreen_build_closure7: function ExpenseCategoryScreen_build_closure7(t0) { this.store = t0; }, ExpenseCategoryScreen_build_closure8: function ExpenseCategoryScreen_build_closure8(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; }, ExpenseCategoryScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredExpenseCategoryList(); t3 = t1.getUISelection$1(B.EntityType_expenseCategory); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].expenseCategoryState; return new A.ExpenseCategoryScreenVM(t2.call$4(t3, t4.map, t4.list, t1.expenseCategoryUIState.listUIState)); }, ExpenseCategoryScreenBuilder: function ExpenseCategoryScreenBuilder(t0) { this.key = t0; }, ExpenseCategoryScreenBuilder_build_closure: function ExpenseCategoryScreenBuilder_build_closure() { }, ExpenseCategoryScreenVM: function ExpenseCategoryScreenVM(t0) { this.expenseCategoryList = t0; }, 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; }, ExpenseCategoryViewVM_ExpenseCategoryViewVM$fromStore(store) { var t2, t3, t4, expenseCategory, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.expenseCategoryUIState.selectedId; expenseCategory = t2._list$_list[t3.selectedCompanyIndex].expenseCategoryState.map._map$_map.$index(0, t4); if (expenseCategory == null) expenseCategory = A.ExpenseCategoryEntity_ExpenseCategoryEntity(t4, null); expenseCategory.get$isNew(); return new A.ExpenseCategoryViewVM(t1, expenseCategory, new A.ExpenseCategoryViewVM_ExpenseCategoryViewVM$fromStore_closure(store)); }, ExpenseCategoryViewScreen: function ExpenseCategoryViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, ExpenseCategoryViewScreen_build_closure0: function ExpenseCategoryViewScreen_build_closure0() { }, ExpenseCategoryViewScreen_build_closure: function ExpenseCategoryViewScreen_build_closure(t0) { this.$this = t0; }, ExpenseCategoryViewVM: function ExpenseCategoryViewVM(t0, t1, t2) { this.state = t0; this.expenseCategory = t1; this.onBackPressed = t2; }, ExpenseCategoryViewVM_ExpenseCategoryViewVM$fromStore_closure: function ExpenseCategoryViewVM_ExpenseCategoryViewVM$fromStore_closure(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; _._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) { this.$this = t0; }, _GroupEditState_build_closure: function _GroupEditState_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, _GroupEditState_build__closure: function _GroupEditState_build__closure(t0) { this.$this = t0; }, _GroupEditState_build__closure0: function _GroupEditState_build__closure0(t0) { this.localization = t0; }, GroupEditVM_GroupEditVM$fromStore(store) { var t2, group, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; group = t2.groupUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].groupState.map._map$_map.$index(0, group.id); return new A.GroupEditVM(group, new A.GroupEditVM_GroupEditVM$fromStore_closure(store), new A.GroupEditVM_GroupEditVM$fromStore_closure0(t1, store), new A.GroupEditVM_GroupEditVM$fromStore_closure1(store, t1), t1); }, GroupEditScreen: function GroupEditScreen(t0) { this.key = t0; }, GroupEditScreen_build_closure0: function GroupEditScreen_build_closure0() { }, GroupEditScreen_build_closure: function GroupEditScreen_build_closure() { }, GroupEditVM: function GroupEditVM(t0, t1, t2, t3, t4) { var _ = this; _.group = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, GroupEditVM_GroupEditVM$fromStore_closure: function GroupEditVM_GroupEditVM$fromStore_closure(t0) { this.store = t0; }, GroupEditVM_GroupEditVM$fromStore_closure1: function GroupEditVM_GroupEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, GroupEditVM_GroupEditVM$fromStore_closure0: function GroupEditVM_GroupEditVM$fromStore_closure0(t0, t1) { this.state = t0; this.store = t1; }, GroupEditVM_GroupEditVM$fromStore__closure: function GroupEditVM_GroupEditVM$fromStore__closure(t0, t1) { this.store = t0; this.state = t1; }, GroupEditVM_GroupEditVM$fromStore___closure: function GroupEditVM_GroupEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.group = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, GroupEditVM_GroupEditVM$fromStore___closure0: function GroupEditVM_GroupEditVM$fromStore___closure0() { }, GroupEditVM_GroupEditVM$fromStore____closure: function GroupEditVM_GroupEditVM$fromStore____closure(t0) { this.error = 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) { this.$this = t0; }, GroupListItem_build_closure0: function GroupListItem_build_closure0(t0) { this.$this = t0; }, GroupListItem_build_closure: function GroupListItem_build_closure(t0) { this.$this = t0; }, GroupListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].userCompany; t6 = $.$get$memoizedFilteredGroupList(); t7 = t1.getUISelection$1(B.EntityType_group); t8 = t2[t4].groupState; t3 = t3.groupUIState.listUIState; return new A.GroupListVM(t1, t5, t6.call$4(t7, t8.map, t8.list, t3), t2[t4].groupState.map, t3.filter, new A.GroupListVM_fromStore_closure(new A.GroupListVM_fromStore__handleRefresh(store)), new A.GroupListVM_fromStore_closure0(store), new A.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; }, GroupSettingsScreen: function GroupSettingsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, GroupSettingsScreen_build_closure6: function GroupSettingsScreen_build_closure6(t0) { this.store = t0; }, GroupSettingsScreen_build_closure3: function GroupSettingsScreen_build_closure3(t0) { this.store = t0; }, GroupSettingsScreen_build_closure4: function GroupSettingsScreen_build_closure4(t0) { this.store = t0; }, GroupSettingsScreen_build_closure5: function GroupSettingsScreen_build_closure5(t0) { this.store = t0; }, GroupSettingsScreen_build_closure0: function GroupSettingsScreen_build_closure0(t0) { this.store = t0; }, GroupSettingsScreen_build_closure1: function GroupSettingsScreen_build_closure1(t0) { this.store = t0; }, GroupSettingsScreen_build_closure: function GroupSettingsScreen_build_closure(t0) { this.store = t0; }, GroupSettingsScreen_build_closure2: function GroupSettingsScreen_build_closure2(t0) { this.context = t0; }, GroupScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredGroupList(); t3 = t1.getUISelection$1(B.EntityType_group); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].groupState; return new A.GroupScreenVM(t2.call$4(t3, t4.map, t4.list, t1.groupUIState.listUIState)); }, GroupScreenBuilder: function GroupScreenBuilder(t0) { this.key = t0; }, GroupScreenBuilder_build_closure: function GroupScreenBuilder_build_closure() { }, GroupScreenVM: function GroupScreenVM(t0) { this.groupList = t0; }, GroupView: function GroupView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _GroupViewState: function _GroupViewState(t0, t1, t2) { var _ = this; _._group_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _GroupViewState_build_closure2: function _GroupViewState_build_closure2(t0) { this.viewModel = t0; }, _GroupViewState_build_closure: function _GroupViewState_build_closure(t0, t1) { this.context = t0; this.group = t1; }, _GroupViewState_build_closure0: function _GroupViewState_build_closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _GroupViewState_build_closure1: function _GroupViewState_build_closure1(t0, t1) { this.store = t0; this.group = t1; }, SettingsViewer: function SettingsViewer(t0, t1, t2) { this.settings = t0; this.state = t1; this.key = t2; }, __GroupViewState_State_SingleTickerProviderStateMixin: function __GroupViewState_State_SingleTickerProviderStateMixin() { }, GroupViewVM_GroupViewVM$fromStore(store) { var t2, t3, t4, group, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.groupUIState.selectedId; group = t2._list$_list[t3.selectedCompanyIndex].groupState.map._map$_map.$index(0, t4); if (group == null) group = A.GroupEntity_GroupEntity(t4, null); group.get$isNew(); return new A.GroupViewVM(t1, group, new A.GroupViewVM_GroupViewVM$fromStore_closure(store), new A.GroupViewVM_GroupViewVM$fromStore_closure0(store, group)); }, GroupViewScreen: function GroupViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, GroupViewScreen_build_closure0: function GroupViewScreen_build_closure0() { }, GroupViewScreen_build_closure: function GroupViewScreen_build_closure(t0) { this.$this = t0; }, GroupViewVM: function GroupViewVM(t0, t1, t2, t3) { var _ = this; _.state = t0; _.group = t1; _.onBackPressed = t2; _.onUploadDocuments = t3; }, GroupViewVM_GroupViewVM$fromStore_closure: function GroupViewVM_GroupViewVM$fromStore_closure(t0) { this.store = t0; }, GroupViewVM_GroupViewVM$fromStore_closure0: function GroupViewVM_GroupViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.group = t1; }, GroupViewVM_GroupViewVM$fromStore__closure: function GroupViewVM_GroupViewVM$fromStore__closure(t0) { this.context = t0; }, GroupViewVM_GroupViewVM$fromStore__closure0: function GroupViewVM_GroupViewVM$fromStore__closure0(t0) { this.context = t0; }, GroupViewVM_GroupViewVM$fromStore___closure: function GroupViewVM_GroupViewVM$fromStore___closure(t0) { this.error = t0; }, InvoiceEdit: function InvoiceEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _InvoiceEditState: function _InvoiceEditState(t0, t1, t2) { var _ = this; _._invoice_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _InvoiceEditState__onSavePressed_closure: function _InvoiceEditState__onSavePressed_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.action = t2; }, _InvoiceEditState_build_closure1: function _InvoiceEditState_build_closure1(t0) { this.viewModel = t0; }, _InvoiceEditState_build_closure2: function _InvoiceEditState_build_closure2(t0) { this.$this = t0; }, _InvoiceEditState_build_closure0: function _InvoiceEditState_build_closure0(t0) { this.$this = t0; }, _InvoiceEditState_build_closure: function _InvoiceEditState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.invoice = t2; _.viewModel = t3; _.isFullscreen = t4; }, _InvoiceEditState_build__closure: function _InvoiceEditState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.viewModel = t2; _.isFullscreen = t3; }, _InvoiceEditState_build___closure0: function _InvoiceEditState_build___closure0() { }, _InvoiceEditState_build___closure1: function _InvoiceEditState_build___closure1(t0) { this.viewModel = t0; }, _InvoiceEditState_build___closure: function _InvoiceEditState_build___closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.isFullscreen = t2; }, __InvoiceEditState_State_SingleTickerProviderStateMixin: function __InvoiceEditState_State_SingleTickerProviderStateMixin() { }, InvoiceEditContacts: function InvoiceEditContacts(t0, t1) { this.viewModel = t0; this.key = t1; }, InvoiceEditContacts_build_closure: function InvoiceEditContacts_build_closure() { }, InvoiceEditContacts_build_closure0: function InvoiceEditContacts_build_closure0(t0, t1) { this.$this = t0; this.invoice = t1; }, InvoiceEditContacts_build__closure0: function InvoiceEditContacts_build__closure0(t0, t1, t2) { this.$this = t0; this.invitation = t1; this.contact = t2; }, InvoiceEditContacts_build_closure1: function InvoiceEditContacts_build_closure1() { }, InvoiceEditContacts_build_closure2: function InvoiceEditContacts_build_closure2(t0, t1, t2) { this.$this = t0; this.invoice = t1; this.client = t2; }, InvoiceEditContacts_build__closure: function InvoiceEditContacts_build__closure(t0, t1, t2) { this.$this = t0; this.invitation = t1; this.contact = t2; }, _ContactListTile: function _ContactListTile(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.fullName = t0; _.email = t1; _.hash = t2; _.invoice = t3; _.invitation = t4; _.onTap = t5; _.key = t6; }, _ContactListTileState: function _ContactListTileState(t0) { var _ = this; _._showEmailError = true; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ContactListTileState_build_closure: function _ContactListTileState_build_closure(t0) { this.localization = t0; }, _ContactListTileState_build_closure0: function _ContactListTileState_build_closure0(t0, t1) { this.$this = t0; this.localization = t1; }, _ContactListTileState_build_closure1: function _ContactListTileState_build_closure1(t0) { this.$this = t0; }, _ContactListTileState_build_closure2: function _ContactListTileState_build_closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.store = t2; _.localization = t3; }, _ContactListTileState_build__closure: function _ContactListTileState_build__closure(t0, t1, t2) { this.$this = t0; this.store = t1; this.localization = t2; }, _ContactListTileState_build___closure: function _ContactListTileState_build___closure(t0) { this.$this = t0; }, _ContactListTileState_build__closure0: function _ContactListTileState_build__closure0(t0) { this.store = t0; }, InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore(store, entityType) { var entity, t3, t4, t5, t6, t7, t8, t1 = {}, t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.entity = null; if (entityType === B.EntityType_invoice) { entity = t2.uiState.invoiceUIState.editing; t1.entity = entity; t3 = entity; } else if (entityType === B.EntityType_quote) { entity = t2.uiState.quoteUIState.editing; t1.entity = entity; t3 = entity; } else if (entityType === B.EntityType_credit) { entity = t2.uiState.creditUIState.editing; t1.entity = entity; t3 = entity; } else if (entityType === B.EntityType_recurringInvoice) { entity = t2.uiState.recurringInvoiceUIState.editing; t1.entity = entity; t3 = entity; } else if (entityType === B.EntityType_purchaseOrder) { entity = t2.uiState.purchaseOrderUIState.editing; t1.entity = entity; t3 = entity; } else { A.print("ERROR: entityType " + A.S(entityType) + " not handled in invoice_edit_contacts_vm"); t3 = null; } t4 = t2.userCompanyStates; t5 = t2.uiState.selectedCompanyIndex; t4 = t4._list$_list; t6 = t4[t5].clientState; t7 = t3 == null; t8 = t7 ? type$.BelongsToClient._as(t3) : t3; t8 = t6.map._map$_map.$index(0, t8.clientId); t5 = t4[t5].vendorState; t4 = t7 ? type$.BelongsToVendor._as(t3) : t3; return new A.InvoiceEditContactsVM(t2, t3, t8, t5.map._map$_map.$index(0, t4.vendorId), new A.InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure(t1, t2, entityType, store), new A.InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure0(t1, t2, entityType, store), new A.InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure1(t1, store, entityType)); }, InvoiceEditContactsScreen: function InvoiceEditContactsScreen(t0, t1) { this.entityType = t0; this.key = t1; }, InvoiceEditContactsScreen_build_closure0: function InvoiceEditContactsScreen_build_closure0(t0) { this.$this = t0; }, InvoiceEditContactsScreen_build_closure: function InvoiceEditContactsScreen_build_closure() { }, EntityEditContactsVM: function EntityEditContactsVM() { }, InvoiceEditContactsVM: function InvoiceEditContactsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.invoice = t1; _.client = t2; _.vendor = t3; _.onAddClientContact = t4; _.onAddVendorContact = t5; _.onRemoveContact = t6; }, InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure: function InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.state = t1; _.entityType = t2; _.store = t3; }, InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure0: function InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure0(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.state = t1; _.entityType = t2; _.store = t3; }, InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure1: function InvoiceEditContactsVM_InvoiceEditContactsVM$fromStore_closure1(t0, t1, t2) { this._box_0 = t0; this.store = t1; this.entityType = t2; }, 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, t20) { var _ = this; _._tableTabController = _._optionTabController = null; _._showSaveDefault = _._selectTasksTable = false; _.__InvoiceEditDesktopState__focusNode_A = $; _._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$_controllers = t16; _._invoice_edit_desktop$_debouncer = t17; _.TickerProviderStateMixin__tickers = t18; _.TickerProviderStateMixin__tickerModeNotifier = t19; _._widget = null; _._debugLifecycleState = t20; _._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_closure1: function InvoiceEditDesktopState_build_closure1(t0, t1, t2) { this.viewModel = t0; this.context = t1; this.invoice = t2; }, InvoiceEditDesktopState_build_closure2: function InvoiceEditDesktopState_build_closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, InvoiceEditDesktopState_build_closure3: function InvoiceEditDesktopState_build_closure3(t0, t1, t2) { this.viewModel = t0; this.context = t1; this.invoice = t2; }, InvoiceEditDesktopState_build_closure4: function InvoiceEditDesktopState_build_closure4(t0, t1) { this.viewModel = t0; this.context = t1; }, InvoiceEditDesktopState_build_closure5: function InvoiceEditDesktopState_build_closure5(t0, t1, t2) { this.invoice = t0; this.vendor = t1; this.client = t2; }, InvoiceEditDesktopState_build_closure6: function InvoiceEditDesktopState_build_closure6(t0, t1, t2) { this.invoice = t0; this.vendor = t1; this.client = t2; }, InvoiceEditDesktopState_build_closure8: function InvoiceEditDesktopState_build_closure8(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure22: function InvoiceEditDesktopState_build__closure22(t0) { this.locationId = t0; }, InvoiceEditDesktopState_build_closure7: function InvoiceEditDesktopState_build_closure7() { }, InvoiceEditDesktopState_build_closure10: function InvoiceEditDesktopState_build_closure10(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure21: function InvoiceEditDesktopState_build__closure21(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure9: function InvoiceEditDesktopState_build_closure9(t0) { this.localization = t0; }, InvoiceEditDesktopState_build_closure11: function InvoiceEditDesktopState_build_closure11(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure20: function InvoiceEditDesktopState_build__closure20(t0) { this.date = t0; }, InvoiceEditDesktopState_build_closure13: function InvoiceEditDesktopState_build_closure13(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure19: function InvoiceEditDesktopState_build__closure19(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure12: function InvoiceEditDesktopState_build_closure12() { }, InvoiceEditDesktopState_build_closure15: function InvoiceEditDesktopState_build_closure15(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure18: function InvoiceEditDesktopState_build__closure18(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure14: function InvoiceEditDesktopState_build_closure14(t0) { this.localization = t0; }, InvoiceEditDesktopState_build_closure17: function InvoiceEditDesktopState_build_closure17(t0) { this.context = t0; }, InvoiceEditDesktopState_build_closure16: function InvoiceEditDesktopState_build_closure16(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure17: function InvoiceEditDesktopState_build__closure17(t0) { this.date = t0; }, InvoiceEditDesktopState_build_closure18: function InvoiceEditDesktopState_build_closure18(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure16: function InvoiceEditDesktopState_build__closure16(t0) { this.date = t0; }, InvoiceEditDesktopState_build_closure19: function InvoiceEditDesktopState_build_closure19(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.state = t2; _.localization = t3; }, InvoiceEditDesktopState_build_closure20: function InvoiceEditDesktopState_build_closure20(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure15: function InvoiceEditDesktopState_build__closure15(t0) { this.date = t0; }, InvoiceEditDesktopState_build_closure21: function InvoiceEditDesktopState_build_closure21(t0, t1, t2) { this.invoice = t0; this.originalInvoice = t1; this.context = t2; }, InvoiceEditDesktopState_build_closure22: function InvoiceEditDesktopState_build_closure22(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure14: function InvoiceEditDesktopState_build__closure14(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure23: function InvoiceEditDesktopState_build_closure23(t0) { this.localization = t0; }, InvoiceEditDesktopState_build__closure13: function InvoiceEditDesktopState_build__closure13(t0) { this.localization = t0; }, InvoiceEditDesktopState_build_closure25: function InvoiceEditDesktopState_build_closure25(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure12: function InvoiceEditDesktopState_build__closure12(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure24: function InvoiceEditDesktopState_build_closure24() { }, InvoiceEditDesktopState_build_closure26: function InvoiceEditDesktopState_build_closure26(t0) { this.$this = t0; }, InvoiceEditDesktopState_build__closure11: function InvoiceEditDesktopState_build__closure11(t0, t1) { this.$this = t0; this.index = t1; }, InvoiceEditDesktopState_build_closure27: function InvoiceEditDesktopState_build_closure27(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure10: function InvoiceEditDesktopState_build__closure10(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure28: function InvoiceEditDesktopState_build_closure28(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure9: function InvoiceEditDesktopState_build__closure9(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure29: function InvoiceEditDesktopState_build_closure29(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.$this = t0; _.invoice = t1; _.viewModel = t2; _.company = t3; _.store = t4; _.state = t5; _.localization = t6; }, InvoiceEditDesktopState_build__closure0: function InvoiceEditDesktopState_build__closure0(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure8: function InvoiceEditDesktopState_build___closure8(t0) { this.value = t0; }, InvoiceEditDesktopState_build__closure1: function InvoiceEditDesktopState_build__closure1(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure7: function InvoiceEditDesktopState_build___closure7(t0) { this.userId = t0; }, InvoiceEditDesktopState_build__closure2: function InvoiceEditDesktopState_build__closure2(t0, t1, t2, t3, t4) { var _ = this; _.store = t0; _.state = t1; _.invoice = t2; _.viewModel = t3; _.context = t4; }, InvoiceEditDesktopState_build___closure5: function InvoiceEditDesktopState_build___closure5(t0) { this.projectId = t0; }, InvoiceEditDesktopState_build___closure6: function InvoiceEditDesktopState_build___closure6(t0) { this.projectId = t0; }, InvoiceEditDesktopState_build__closure3: function InvoiceEditDesktopState_build__closure3(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure4: function InvoiceEditDesktopState_build___closure4(t0) { this.client = t0; }, InvoiceEditDesktopState_build__closure5: function InvoiceEditDesktopState_build__closure5(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure2: function InvoiceEditDesktopState_build___closure2(t0) { this.vendor = t0; }, InvoiceEditDesktopState_build__closure4: function InvoiceEditDesktopState_build__closure4(t0) { this.store = t0; }, InvoiceEditDesktopState_build___closure3: function InvoiceEditDesktopState_build___closure3(t0) { this.name = t0; }, InvoiceEditDesktopState_build__closure6: function InvoiceEditDesktopState_build__closure6(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure1: function InvoiceEditDesktopState_build___closure1(t0) { this.value = t0; }, InvoiceEditDesktopState_build__closure7: function InvoiceEditDesktopState_build__closure7(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure0: function InvoiceEditDesktopState_build___closure0(t0) { this.value = t0; }, InvoiceEditDesktopState_build__closure8: function InvoiceEditDesktopState_build__closure8(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build___closure: function InvoiceEditDesktopState_build___closure(t0) { this.value = t0; }, InvoiceEditDesktopState_build_closure30: function InvoiceEditDesktopState_build_closure30(t0, t1) { this.$this = t0; this.context = t1; }, InvoiceEditDesktopState_build_closure31: function InvoiceEditDesktopState_build_closure31(t0, t1) { this.store = t0; this.invoice = t1; }, InvoiceEditDesktopState_build_closure32: function InvoiceEditDesktopState_build_closure32(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build_closure33: function InvoiceEditDesktopState_build_closure33(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build_closure34: function InvoiceEditDesktopState_build_closure34(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDesktopState_build_closure35: function InvoiceEditDesktopState_build_closure35(t0, t1) { this.context = t0; this.invoice = t1; }, InvoiceEditDesktopState_build__closure: function InvoiceEditDesktopState_build__closure(t0) { this.invoice = t0; }, _PdfPreview0: function _PdfPreview0(t0, t1) { this.invoice = t0; this.key = t1; }, __PdfPreviewState: function __PdfPreviewState(t0, t1) { var _ = this; _._pdfDebouncer = t0; _._invoice_edit_desktop$_currentPage = _._pageCount = 1; _._invoice_edit_desktop$_response = _._invoice_edit_desktop$_pdfString = null; _._pendingLoad = _._invoice_edit_desktop$_isLoading = false; _._widget = 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, t1) { this.$this = t0; this.state = t1; }, __PdfPreviewState__loadPdf__closure0: function __PdfPreviewState__loadPdf__closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.response = t1; _.pages = t2; _.state = t3; }, __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_closure0: function __PdfPreviewState_build_closure0(t0) { this.$this = t0; }, __PdfPreviewState_build__closure: function __PdfPreviewState_build__closure(t0) { this.$this = t0; }, __PdfPreviewState_build_closure1: function __PdfPreviewState_build_closure1(t0) { this.$this = t0; }, _InvoiceEditDesktopState_State_TickerProviderStateMixin: function _InvoiceEditDesktopState_State_TickerProviderStateMixin() { }, 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_closure: function InvoiceEditDetailsState_build_closure(t0, t1, t2) { this.viewModel = t0; this.context = t1; this.invoice = t2; }, InvoiceEditDetailsState_build_closure0: function InvoiceEditDetailsState_build_closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, InvoiceEditDetailsState_build_closure1: function InvoiceEditDetailsState_build_closure1(t0, t1, t2) { this.viewModel = t0; this.context = t1; this.invoice = t2; }, InvoiceEditDetailsState_build_closure2: function InvoiceEditDetailsState_build_closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, InvoiceEditDetailsState_build_closure4: function InvoiceEditDetailsState_build_closure4(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure20: function InvoiceEditDetailsState_build__closure20(t0) { this.locationId = t0; }, InvoiceEditDetailsState_build_closure3: function InvoiceEditDetailsState_build_closure3() { }, InvoiceEditDetailsState_build_closure5: function InvoiceEditDetailsState_build_closure5(t0, t1, t2) { this.invoice = t0; this.originalInvoice = t1; this.context = t2; }, InvoiceEditDetailsState_build_closure6: function InvoiceEditDetailsState_build_closure6(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure19: function InvoiceEditDetailsState_build__closure19(t0) { this.userId = t0; }, InvoiceEditDetailsState_build_closure8: function InvoiceEditDetailsState_build_closure8(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure18: function InvoiceEditDetailsState_build__closure18(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure7: function InvoiceEditDetailsState_build_closure7(t0) { this.localization = t0; }, InvoiceEditDetailsState_build_closure9: function InvoiceEditDetailsState_build_closure9(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure17: function InvoiceEditDetailsState_build__closure17(t0) { this.date = t0; }, InvoiceEditDetailsState_build_closure11: function InvoiceEditDetailsState_build_closure11(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure16: function InvoiceEditDetailsState_build__closure16(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure10: function InvoiceEditDetailsState_build_closure10() { }, InvoiceEditDetailsState_build_closure13: function InvoiceEditDetailsState_build_closure13(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure15: function InvoiceEditDetailsState_build__closure15(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure12: function InvoiceEditDetailsState_build_closure12(t0) { this.localization = t0; }, InvoiceEditDetailsState_build_closure15: function InvoiceEditDetailsState_build_closure15(t0) { this.context = t0; }, InvoiceEditDetailsState_build_closure14: function InvoiceEditDetailsState_build_closure14(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure14: function InvoiceEditDetailsState_build__closure14(t0) { this.date = t0; }, InvoiceEditDetailsState_build_closure16: function InvoiceEditDetailsState_build_closure16(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure13: function InvoiceEditDetailsState_build__closure13(t0) { this.date = t0; }, InvoiceEditDetailsState_build_closure17: function InvoiceEditDetailsState_build_closure17(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.state = t2; _.localization = t3; }, InvoiceEditDetailsState_build_closure18: function InvoiceEditDetailsState_build_closure18(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure12: function InvoiceEditDetailsState_build__closure12(t0) { this.date = t0; }, InvoiceEditDetailsState_build_closure19: function InvoiceEditDetailsState_build_closure19(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure11: function InvoiceEditDetailsState_build__closure11(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure20: function InvoiceEditDetailsState_build_closure20(t0) { this.localization = t0; }, InvoiceEditDetailsState_build__closure10: function InvoiceEditDetailsState_build__closure10(t0) { this.localization = t0; }, InvoiceEditDetailsState_build_closure22: function InvoiceEditDetailsState_build_closure22(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure9: function InvoiceEditDetailsState_build__closure9(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure21: function InvoiceEditDetailsState_build_closure21() { }, InvoiceEditDetailsState_build_closure23: function InvoiceEditDetailsState_build_closure23(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build_closure24: function InvoiceEditDetailsState_build_closure24(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build_closure25: function InvoiceEditDetailsState_build_closure25(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build_closure26: function InvoiceEditDetailsState_build_closure26(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure8: function InvoiceEditDetailsState_build__closure8(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure27: function InvoiceEditDetailsState_build_closure27(t0, t1, t2, t3) { var _ = this; _.state = t0; _.invoice = t1; _.viewModel = t2; _.context = t3; }, InvoiceEditDetailsState_build__closure6: function InvoiceEditDetailsState_build__closure6(t0) { this.projectId = t0; }, InvoiceEditDetailsState_build__closure7: function InvoiceEditDetailsState_build__closure7(t0) { this.projectId = t0; }, InvoiceEditDetailsState_build_closure28: function InvoiceEditDetailsState_build_closure28(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure5: function InvoiceEditDetailsState_build__closure5(t0) { this.client = t0; }, InvoiceEditDetailsState_build_closure30: function InvoiceEditDetailsState_build_closure30(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure3: function InvoiceEditDetailsState_build__closure3(t0) { this.vendor = t0; }, InvoiceEditDetailsState_build_closure29: function InvoiceEditDetailsState_build_closure29(t0) { this.store = t0; }, InvoiceEditDetailsState_build__closure4: function InvoiceEditDetailsState_build__closure4(t0) { this.name = t0; }, InvoiceEditDetailsState_build_closure31: function InvoiceEditDetailsState_build_closure31(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure2: function InvoiceEditDetailsState_build__closure2(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure32: function InvoiceEditDetailsState_build_closure32(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure1: function InvoiceEditDetailsState_build__closure1(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure33: function InvoiceEditDetailsState_build_closure33(t0, t1) { this.viewModel = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure0: function InvoiceEditDetailsState_build__closure0(t0) { this.value = t0; }, InvoiceEditDetailsState_build_closure34: function InvoiceEditDetailsState_build_closure34(t0, t1) { this.context = t0; this.invoice = t1; }, InvoiceEditDetailsState_build__closure: function InvoiceEditDetailsState_build__closure(t0) { this.invoice = t0; }, InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; return new A.InvoiceEditDetailsVM(t1, t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t2.invoiceUIState.editing, new A.InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure(store), new A.InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure0(store, t1), null, new A.InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure1(t1, store), null); }, InvoiceEditDetailsScreen: function InvoiceEditDetailsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, InvoiceEditDetailsScreen_build_closure0: function InvoiceEditDetailsScreen_build_closure0() { }, InvoiceEditDetailsScreen_build_closure: function InvoiceEditDetailsScreen_build_closure(t0) { this.$this = t0; }, EntityEditDetailsVM: function EntityEditDetailsVM() { }, InvoiceEditDetailsVM: function InvoiceEditDetailsVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.onChanged = t3; _.onClientChanged = t4; _.onVendorChanged = t5; _.onAddClientPressed = t6; _.onAddVendorPressed = t7; }, InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure: function InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure(t0) { this.store = t0; }, InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure0: function InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure1: function InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore__closure: function InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore__closure(t0) { this.store = t0; }, InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore__closure0: function InvoiceEditDetailsVM_InvoiceEditDetailsVM$fromStore__closure0(t0) { this.store = t0; }, InvoiceEditFooter: function InvoiceEditFooter(t0, t1) { this.invoice = t0; this.key = t1; }, InvoiceEditFooter_build_closure: function InvoiceEditFooter_build_closure(t0) { this.store = t0; }, InvoiceEditItems: function InvoiceEditItems(t0, t1, t2) { this.viewModel = t0; this.entityViewModel = t1; this.key = t2; }, _InvoiceEditItemsState: function _InvoiceEditItemsState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _InvoiceEditItemsState__showInvoiceItemEditor_closure: function _InvoiceEditItemsState__showInvoiceItemEditor_closure(t0, t1) { this.$this = t0; this.lineItemIndex = t1; }, _InvoiceEditItemsState_build_closure: function _InvoiceEditItemsState_build_closure(t0, t1, t2) { this.$this = t0; this.itemIndex = t1; this.context = t2; }, _InvoiceEditItemsState_build_closure0: function _InvoiceEditItemsState_build_closure0(t0, t1, t2) { this.$this = t0; this.i = t1; this.context = t2; }, ItemEditDetails: function ItemEditDetails(t0, t1, t2, t3, t4) { var _ = this; _.index = t0; _.invoiceItem = t1; _.viewModel = t2; _.entityViewModel = t3; _.key = t4; }, ItemEditDetailsState: function ItemEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._invoice_edit_items$_productKeyController = t0; _._invoice_edit_items$_notesController = t1; _._invoice_edit_items$_costController = t2; _._qtyController = t3; _._discountController = t4; _._invoice_edit_items$_custom1Controller = t5; _._invoice_edit_items$_custom2Controller = t6; _._invoice_edit_items$_custom3Controller = t7; _._invoice_edit_items$_custom4Controller = t8; _._invoice_edit_items$_taxCategoryId = _._invoice_edit_items$_taxRate3 = _._invoice_edit_items$_taxRate2 = _._invoice_edit_items$_taxRate1 = null; _._invoice_edit_items$_controllers = t9; _._invoice_edit_items$_debouncer = t10; _._widget = null; _._debugLifecycleState = t11; _._framework$_element = null; }, ItemEditDetailsState_didChangeDependencies_closure: function ItemEditDetailsState_didChangeDependencies_closure(t0) { this.$this = t0; }, ItemEditDetailsState_dispose_closure: function ItemEditDetailsState_dispose_closure(t0) { this.$this = t0; }, ItemEditDetailsState__onTextChanged_closure: function ItemEditDetailsState__onTextChanged_closure(t0) { this.$this = t0; }, ItemEditDetailsState__onChanged_closure: function ItemEditDetailsState__onChanged_closure(t0) { this.$this = t0; }, ItemEditDetailsState__onChanged_closure0: function ItemEditDetailsState__onChanged_closure0(t0) { this.$this = t0; }, ItemEditDetailsState_build_closure: function ItemEditDetailsState_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, ItemEditDetailsState_build__closure3: function ItemEditDetailsState_build__closure3(t0, t1) { this.$this = t0; this.context = t1; }, ItemEditDetailsState_build_closure0: function ItemEditDetailsState_build_closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, ItemEditDetailsState_build_closure2: function ItemEditDetailsState_build_closure2(t0) { this.$this = t0; }, ItemEditDetailsState_build__closure2: function ItemEditDetailsState_build__closure2(t0, t1) { this.$this = t0; this.value = t1; }, ItemEditDetailsState_build_closure1: function ItemEditDetailsState_build_closure1(t0) { this.localization = t0; }, ItemEditDetailsState_build_closure3: function ItemEditDetailsState_build_closure3(t0) { this.$this = t0; }, ItemEditDetailsState_build__closure1: function ItemEditDetailsState_build__closure1(t0, t1) { this.$this = t0; this.taxRate = t1; }, ItemEditDetailsState_build_closure4: function ItemEditDetailsState_build_closure4(t0) { this.$this = t0; }, ItemEditDetailsState_build__closure0: function ItemEditDetailsState_build__closure0(t0, t1) { this.$this = t0; this.taxRate = t1; }, ItemEditDetailsState_build_closure5: function ItemEditDetailsState_build_closure5(t0) { this.$this = t0; }, ItemEditDetailsState_build__closure: function ItemEditDetailsState_build__closure(t0, t1) { this.$this = t0; this.taxRate = t1; }, InvoiceEditItemsDesktop: function InvoiceEditItemsDesktop(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.entityViewModel = t1; _.isTasks = t2; _.key = t3; }, _InvoiceEditItemsDesktopState: function _InvoiceEditItemsDesktopState(t0, t1, t2) { var _ = this; _._invoice_edit_items_desktop$_debouncer = t0; _._isReordering = false; _._invoice_edit_items_desktop$_updatedAt = null; _._autocompleteFocusIndex = -1; _._invoice_edit_items_desktop$_columns = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _InvoiceEditItemsDesktopState__updateColumns_closure: function _InvoiceEditItemsDesktopState__updateColumns_closure(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState__updateColumns_closure0: function _InvoiceEditItemsDesktopState__updateColumns_closure0() { }, _InvoiceEditItemsDesktopState__updateColumns_closure1: function _InvoiceEditItemsDesktopState__updateColumns_closure1() { }, _InvoiceEditItemsDesktopState__updateColumns_closure2: function _InvoiceEditItemsDesktopState__updateColumns_closure2() { }, _InvoiceEditItemsDesktopState__updateColumns_closure3: function _InvoiceEditItemsDesktopState__updateColumns_closure3() { }, _InvoiceEditItemsDesktopState__updateTable_closure: function _InvoiceEditItemsDesktopState__updateTable_closure(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState__onChanged_closure: function _InvoiceEditItemsDesktopState__onChanged_closure(t0, t1, t2) { this.viewModel = t0; this.lineItem = t1; this.index = t2; }, _InvoiceEditItemsDesktopState__onFocusChange_closure: function _InvoiceEditItemsDesktopState__onFocusChange_closure() { }, _InvoiceEditItemsDesktopState_build_closure: function _InvoiceEditItemsDesktopState_build_closure(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build_closure0: function _InvoiceEditItemsDesktopState_build_closure0() { }, _InvoiceEditItemsDesktopState_build_closure1: function _InvoiceEditItemsDesktopState_build_closure1(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure35: function _InvoiceEditItemsDesktopState_build__closure35(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build_closure2: function _InvoiceEditItemsDesktopState_build_closure2(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.lineItems = t1; _.localization = t2; _.invoice = t3; _.precision = t4; }, _InvoiceEditItemsDesktopState_build__closure33: function _InvoiceEditItemsDesktopState_build__closure33(t0, t1, t2, t3) { var _ = this; _.item = t0; _.localization = t1; _.context = t2; _.invoice = t3; }, _InvoiceEditItemsDesktopState_build__closure34: function _InvoiceEditItemsDesktopState_build__closure34() { }, _InvoiceEditItemsDesktopState_build_closure3: function _InvoiceEditItemsDesktopState_build_closure3(t0, t1) { this.lineItems = t0; this.viewModel = t1; }, _InvoiceEditItemsDesktopState_build_closure4: function _InvoiceEditItemsDesktopState_build_closure4() { }, _InvoiceEditItemsDesktopState_build_closure5: function _InvoiceEditItemsDesktopState_build_closure5(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure32: function _InvoiceEditItemsDesktopState_build__closure32(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build_closure6: function _InvoiceEditItemsDesktopState_build_closure6(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.$this = t0; _.index = t1; _.lineItems = t2; _.productIds = t3; _.productState = t4; _.company = t5; _.state = t6; _.invoice = t7; _.viewModel = t8; _.theme = t9; _.customField1 = t10; _.customField2 = t11; _.customField3 = t12; _.customField4 = t13; _.localization = t14; _.context = t15; }, _InvoiceEditItemsDesktopState_build__closure5: function _InvoiceEditItemsDesktopState_build__closure5(t0, t1) { this.$this = t0; this.index = t1; }, _InvoiceEditItemsDesktopState_build__closure3: function _InvoiceEditItemsDesktopState_build__closure3(t0, t1, t2, t3, t4) { var _ = this; _.productIds = t0; _.productState = t1; _.company = t2; _.lineItems = t3; _.index = t4; }, _InvoiceEditItemsDesktopState_build___closure13: function _InvoiceEditItemsDesktopState_build___closure13(t0) { this.productState = t0; }, _InvoiceEditItemsDesktopState_build___closure14: function _InvoiceEditItemsDesktopState_build___closure14(t0, t1) { this.textEditingValue = t0; this.company = t1; }, _InvoiceEditItemsDesktopState_build__closure0: function _InvoiceEditItemsDesktopState_build__closure0() { }, _InvoiceEditItemsDesktopState_build__closure2: function _InvoiceEditItemsDesktopState_build__closure2(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.$this = t0; _.lineItems = t1; _.index = t2; _.state = t3; _.invoice = t4; _.company = t5; _.viewModel = t6; }, _InvoiceEditItemsDesktopState_build___closure15: function _InvoiceEditItemsDesktopState_build___closure15(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.product = t1; _.item = t2; _.viewModel = t3; _.company = t4; }, _InvoiceEditItemsDesktopState_build___closure16: function _InvoiceEditItemsDesktopState_build___closure16(t0) { this.product = t0; }, _InvoiceEditItemsDesktopState_build__closure1: function _InvoiceEditItemsDesktopState_build__closure1(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure18: function _InvoiceEditItemsDesktopState_build___closure18(t0) { this.onFieldSubmitted = t0; }, _InvoiceEditItemsDesktopState_build___closure17: function _InvoiceEditItemsDesktopState_build___closure17(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build____closure2: function _InvoiceEditItemsDesktopState_build____closure2(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure4: function _InvoiceEditItemsDesktopState_build__closure4(t0, t1, t2, t3) { var _ = this; _.theme = t0; _.state = t1; _.invoice = t2; _.company = t3; }, _InvoiceEditItemsDesktopState_build___closure12: function _InvoiceEditItemsDesktopState_build___closure12(t0, t1, t2, t3, t4, t5) { var _ = this; _.options = t0; _.highlightedIndex = t1; _.state = t2; _.onSelected = t3; _.invoice = t4; _.company = t5; }, _InvoiceEditItemsDesktopState_build____closure: function _InvoiceEditItemsDesktopState_build____closure(t0) { this.onSelected = t0; }, _InvoiceEditItemsDesktopState_build____closure1: function _InvoiceEditItemsDesktopState_build____closure1(t0) { this.state = t0; }, _InvoiceEditItemsDesktopState_build____closure0: function _InvoiceEditItemsDesktopState_build____closure0(t0, t1, t2) { this.invoice = t0; this.company = t1; this.context = t2; }, _InvoiceEditItemsDesktopState_build__closure7: function _InvoiceEditItemsDesktopState_build__closure7(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure6: function _InvoiceEditItemsDesktopState_build__closure6(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure11: function _InvoiceEditItemsDesktopState_build___closure11(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure9: function _InvoiceEditItemsDesktopState_build__closure9(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure8: function _InvoiceEditItemsDesktopState_build__closure8(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure10: function _InvoiceEditItemsDesktopState_build___closure10(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure11: function _InvoiceEditItemsDesktopState_build__closure11(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure10: function _InvoiceEditItemsDesktopState_build__closure10(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure9: function _InvoiceEditItemsDesktopState_build___closure9(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure13: function _InvoiceEditItemsDesktopState_build__closure13(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure12: function _InvoiceEditItemsDesktopState_build__closure12(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure8: function _InvoiceEditItemsDesktopState_build___closure8(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure15: function _InvoiceEditItemsDesktopState_build__closure15(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure14: function _InvoiceEditItemsDesktopState_build__closure14(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure7: function _InvoiceEditItemsDesktopState_build___closure7(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure18: function _InvoiceEditItemsDesktopState_build__closure18(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure17: function _InvoiceEditItemsDesktopState_build__closure17(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure6: function _InvoiceEditItemsDesktopState_build___closure6(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure16: function _InvoiceEditItemsDesktopState_build__closure16(t0) { this.localization = t0; }, _InvoiceEditItemsDesktopState_build__closure20: function _InvoiceEditItemsDesktopState_build__closure20(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure19: function _InvoiceEditItemsDesktopState_build__closure19(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure5: function _InvoiceEditItemsDesktopState_build___closure5(t0) { this.taxRate = t0; }, _InvoiceEditItemsDesktopState_build__closure21: function _InvoiceEditItemsDesktopState_build__closure21(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure4: function _InvoiceEditItemsDesktopState_build___closure4() { }, _InvoiceEditItemsDesktopState_build__closure23: function _InvoiceEditItemsDesktopState_build__closure23(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure22: function _InvoiceEditItemsDesktopState_build__closure22(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure3: function _InvoiceEditItemsDesktopState_build___closure3(t0) { this.taxRate = t0; }, _InvoiceEditItemsDesktopState_build__closure25: function _InvoiceEditItemsDesktopState_build__closure25(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure24: function _InvoiceEditItemsDesktopState_build__closure24(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure2: function _InvoiceEditItemsDesktopState_build___closure2(t0) { this.taxRate = t0; }, _InvoiceEditItemsDesktopState_build__closure27: function _InvoiceEditItemsDesktopState_build__closure27(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure26: function _InvoiceEditItemsDesktopState_build__closure26(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure1: function _InvoiceEditItemsDesktopState_build___closure1(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure29: function _InvoiceEditItemsDesktopState_build__closure29(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure28: function _InvoiceEditItemsDesktopState_build__closure28(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure0: function _InvoiceEditItemsDesktopState_build___closure0(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build__closure31: function _InvoiceEditItemsDesktopState_build__closure31(t0) { this.$this = t0; }, _InvoiceEditItemsDesktopState_build__closure30: function _InvoiceEditItemsDesktopState_build__closure30(t0, t1, t2) { this.$this = t0; this.lineItems = t1; this.index = t2; }, _InvoiceEditItemsDesktopState_build___closure: function _InvoiceEditItemsDesktopState_build___closure(t0) { this.value = t0; }, _InvoiceEditItemsDesktopState_build_closure7: function _InvoiceEditItemsDesktopState_build_closure7(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.includedLineItems = t1; _.lineItems = t2; _.index = t3; _.localization = t4; }, _InvoiceEditItemsDesktopState_build__closure: function _InvoiceEditItemsDesktopState_build__closure(t0) { this.options = t0; }, _InvoiceEditItemsDesktopState_build_closure8: function _InvoiceEditItemsDesktopState_build_closure8(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.localization = t1; _.lineItems = t2; _.index = t3; _.viewModel = t4; }, TableHeader: function TableHeader(t0, t1, t2, t3) { var _ = this; _.label = t0; _.isNumeric = t1; _.isFirst = t2; _.key = t3; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore(store, isTasks) { var t2, t3, t4, invoice, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.invoiceUIState; invoice = t4.editing; return new A.InvoiceEditItemsVM(t1, t2._list$_list[t3.selectedCompanyIndex].userCompany.company, invoice, t4.editingItemIndex, new A.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure(store, isTasks), new A.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure0(store, invoice), new A.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure1(store), new A.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure2(store), new A.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure3(store, isTasks), new A.InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure4(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, t8, t9) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.invoiceItemIndex = t3; _.addLineItem = t4; _.cloneLineItem = t5; _.onRemoveInvoiceItemPressed = t6; _.clearSelectedInvoiceItem = t7; _.onChangedInvoiceItem = t8; _.onMovedInvoiceItem = t9; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure(t0, t1) { this.store = t0; this.isTasks = t1; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore__closure0: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore__closure0(t0) { this.isTasks = t0; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure0: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure0(t0, t1) { this.store = t0; this.invoice = t1; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure1: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure1(t0) { this.store = t0; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure2: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure2(t0) { this.store = t0; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure3: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure3(t0, t1) { this.store = t0; this.isTasks = t1; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore__closure: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore__closure(t0) { this.isTasks = t0; }, InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure4: function InvoiceEditItemsVM_InvoiceEditItemsVM$fromStore_closure4(t0) { this.store = t0; }, InvoiceEditNotes: function InvoiceEditNotes(t0, t1) { this.viewModel = t0; this.key = t1; }, InvoiceEditNotesState: function InvoiceEditNotesState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._invoice_edit_notes$_publicNotesController = t0; _._invoice_edit_notes$_privateNotesController = t1; _._invoice_edit_notes$_termsController = t2; _._invoice_edit_notes$_footerController = t3; _._invoice_edit_notes$_controllers = t4; _._invoice_edit_notes$_debouncer = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; }, InvoiceEditNotesState_didChangeDependencies_closure: function InvoiceEditNotesState_didChangeDependencies_closure(t0) { this.$this = t0; }, InvoiceEditNotesState_didChangeDependencies_closure0: function InvoiceEditNotesState_didChangeDependencies_closure0(t0) { this.$this = t0; }, InvoiceEditNotesState_dispose_closure: function InvoiceEditNotesState_dispose_closure(t0) { this.$this = t0; }, InvoiceEditNotesState__onChanged_closure: function InvoiceEditNotesState__onChanged_closure(t0) { this.$this = t0; }, InvoiceEditNotesState__onChanged_closure0: function InvoiceEditNotesState__onChanged_closure0(t0, t1) { this.$this = t0; this.invoice = t1; }, InvoiceEditNotesVM_InvoiceEditNotesVM$fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.InvoiceEditNotesVM(t1, t1.uiState.invoiceUIState.editing, new A.InvoiceEditNotesVM_InvoiceEditNotesVM$fromStore_closure(store)); }, InvoiceEditNotesScreen: function InvoiceEditNotesScreen(t0) { this.key = t0; }, InvoiceEditNotesScreen_build_closure0: function InvoiceEditNotesScreen_build_closure0() { }, InvoiceEditNotesScreen_build_closure: function InvoiceEditNotesScreen_build_closure() { }, EntityEditNotesVM: function EntityEditNotesVM() { }, InvoiceEditNotesVM: function InvoiceEditNotesVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.onChanged = t2; }, InvoiceEditNotesVM_InvoiceEditNotesVM$fromStore_closure: function InvoiceEditNotesVM_InvoiceEditNotesVM$fromStore_closure(t0) { this.store = t0; }, InvoiceEditPDF: function InvoiceEditPDF(t0, t1) { this.viewModel = t0; this.key = t1; }, InvoiceEditPDFState: function InvoiceEditPDFState(t0) { var _ = this; _._invoice_edit_pdf$_isLoading = false; _._widget = _._invoice_edit_pdf$_response = _._invoice_edit_pdf$_pdfString = null; _._debugLifecycleState = t0; _._framework$_element = null; }, InvoiceEditPDFState_didChangeDependencies_closure: function InvoiceEditPDFState_didChangeDependencies_closure(t0) { this.$this = t0; }, InvoiceEditPDFState_didChangeDependencies_closure0: function InvoiceEditPDFState_didChangeDependencies_closure0(t0, t1) { this.$this = t0; this.state = t1; }, InvoiceEditPDFState_didChangeDependencies__closure0: function InvoiceEditPDFState_didChangeDependencies__closure0(t0, t1, t2) { this.$this = t0; this.response = t1; this.state = t2; }, InvoiceEditPDFState_didChangeDependencies_closure1: function InvoiceEditPDFState_didChangeDependencies_closure1(t0) { this.$this = t0; }, InvoiceEditPDFState_didChangeDependencies__closure: function InvoiceEditPDFState_didChangeDependencies__closure(t0) { this.$this = t0; }, InvoiceEditPDFState_build_closure: function InvoiceEditPDFState_build_closure(t0) { this.$this = t0; }, InvoiceEditPDFScreen: function InvoiceEditPDFScreen(t0) { this.key = t0; }, InvoiceEditPDFScreen_build_closure0: function InvoiceEditPDFScreen_build_closure0() { }, InvoiceEditPDFScreen_build_closure: function InvoiceEditPDFScreen_build_closure() { }, EntityEditPDFVM: function EntityEditPDFVM() { }, InvoiceEditPDFVM: function InvoiceEditPDFVM(t0, t1) { this.state = t0; this.invoice = t1; }, InvoiceEditVM_InvoiceEditVM$fromStore(store) { var t2, t3, invoice, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.invoiceUIState; invoice = t3.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].invoiceState.map._map$_map.$index(0, invoice.id); return new A.InvoiceEditVM(t1, invoice, t3.editingItemIndex, new A.InvoiceEditVM_InvoiceEditVM$fromStore_closure(store), new A.InvoiceEditVM_InvoiceEditVM$fromStore_closure0(t1, store, invoice), new A.InvoiceEditVM_InvoiceEditVM$fromStore_closure1(t1, store), new A.InvoiceEditVM_InvoiceEditVM$fromStore_closure2(store, invoice)); }, InvoiceEditScreen: function InvoiceEditScreen(t0) { this.key = t0; }, InvoiceEditScreen_build_closure0: function InvoiceEditScreen_build_closure0() { }, InvoiceEditScreen_build_closure: function InvoiceEditScreen_build_closure() { }, AbstractInvoiceEditVM: function AbstractInvoiceEditVM() { }, InvoiceEditVM: function InvoiceEditVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.invoice = t1; _.invoiceItemIndex = t2; _.onSavePressed = t3; _.onItemsAdded = t4; _.onCancelPressed = t5; _.onUploadDocuments = t6; }, InvoiceEditVM_InvoiceEditVM$fromStore_closure: function InvoiceEditVM_InvoiceEditVM$fromStore_closure(t0) { this.store = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore__closure2: function InvoiceEditVM_InvoiceEditVM$fromStore__closure2(t0, t1) { this.store = t0; this.action = t1; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure1: function InvoiceEditVM_InvoiceEditVM$fromStore___closure1(t0) { this.localization = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure2: function InvoiceEditVM_InvoiceEditVM$fromStore___closure2(t0) { this.localization = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure3: function InvoiceEditVM_InvoiceEditVM$fromStore___closure3(t0) { this.localization = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure4: function InvoiceEditVM_InvoiceEditVM$fromStore___closure4(t0, t1, t2, t3, t4, t5) { var _ = this; _.invoice = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; _.action = t5; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure5: function InvoiceEditVM_InvoiceEditVM$fromStore___closure5() { }, InvoiceEditVM_InvoiceEditVM$fromStore____closure: function InvoiceEditVM_InvoiceEditVM$fromStore____closure(t0) { this.error = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore_closure0: function InvoiceEditVM_InvoiceEditVM$fromStore_closure0(t0, t1, t2) { this.state = t0; this.store = t1; this.invoice = t2; }, InvoiceEditVM_InvoiceEditVM$fromStore__closure1: function InvoiceEditVM_InvoiceEditVM$fromStore__closure1(t0, t1, t2) { this.clientId = t0; this.projectId = t1; this.client = t2; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure0: function InvoiceEditVM_InvoiceEditVM$fromStore___closure0() { }, InvoiceEditVM_InvoiceEditVM$fromStore_closure1: function InvoiceEditVM_InvoiceEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, InvoiceEditVM_InvoiceEditVM$fromStore_closure2: function InvoiceEditVM_InvoiceEditVM$fromStore_closure2(t0, t1) { this.store = t0; this.invoice = t1; }, InvoiceEditVM_InvoiceEditVM$fromStore__closure: function InvoiceEditVM_InvoiceEditVM$fromStore__closure(t0) { this.context = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore__closure0: function InvoiceEditVM_InvoiceEditVM$fromStore__closure0(t0) { this.context = t0; }, InvoiceEditVM_InvoiceEditVM$fromStore___closure: function InvoiceEditVM_InvoiceEditVM$fromStore___closure(t0) { this.error = t0; }, InvoiceItemSelector: function InvoiceItemSelector(t0, t1, t2, t3, t4, t5) { var _ = this; _.invoice = t0; _.onItemsSelected = t1; _.clientId = t2; _.excluded = t3; _.showTasksAndExpenses = t4; _.key = t5; }, _InvoiceItemSelectorState: function _InvoiceItemSelectorState(t0, t1, t2, t3, t4) { var _ = this; _._filterClientId = _._invoice_item_selector$_filter = null; _.___InvoiceItemSelectorState__tabController_A = $; _._selected = t0; _._invoice_item_selector$_textController = t1; _.SingleTickerProviderStateMixin__ticker = t2; _.SingleTickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _InvoiceItemSelectorState__onItemsSelected_closure: function _InvoiceItemSelectorState__onItemsSelected_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.items = t2; _.company = t3; _.state = t4; _.context = t5; }, _InvoiceItemSelectorState__toggleEntity_closure: function _InvoiceItemSelectorState__toggleEntity_closure(t0, t1) { this.$this = t0; this.entity = t1; }, _InvoiceItemSelectorState__updateClientId_closure: function _InvoiceItemSelectorState__updateClientId_closure() { }, _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, t3) { var _ = this; _.$this = t0; _.products = t1; _.state = t2; _.company = t3; }, _InvoiceItemSelectorState_build__productList_closure: function _InvoiceItemSelectorState_build__productList_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.products = t1; _.state = t2; _.company = t3; }, _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() { }, InvoiceTaxDetails: function InvoiceTaxDetails(t0, t1) { this.invoice = t0; this.key = t1; }, InvoiceTaxDetails_build_closure: function InvoiceTaxDetails_build_closure(t0) { this.context = t0; }, EmailInvoiceVM_EmailInvoiceVM$fromStore(store, invoice) { var t2, t3, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = invoice.clientId; t3 = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].clientState.map._map$_map.$index(0, t2); t2 = t3 == null ? A.ClientEntity_ClientEntity(_null, t2, _null, _null) : t3; return new A.EmailInvoiceVM(t1, invoice, t2, _null, new A.EmailInvoiceVM_EmailInvoiceVM$fromStore_closure(invoice, store)); }, InvoiceEmailScreen: function InvoiceEmailScreen(t0) { this.key = t0; }, InvoiceEmailScreen_build_closure1: function InvoiceEmailScreen_build_closure1() { }, InvoiceEmailScreen_build_closure0: function InvoiceEmailScreen_build_closure0() { }, InvoiceEmailScreen_build_closure: function InvoiceEmailScreen_build_closure() { }, EmailEntityVM: function EmailEntityVM() { }, EmailInvoiceVM: function EmailInvoiceVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.invoice = t1; _.client = t2; _.vendor = t3; _.onSendPressed = t4; }, EmailInvoiceVM_EmailInvoiceVM$fromStore_closure: function EmailInvoiceVM_EmailInvoiceVM$fromStore_closure(t0, t1) { this.invoice = t0; this.store = t1; }, EmailInvoiceVM_EmailInvoiceVM$fromStore__closure: function EmailInvoiceVM_EmailInvoiceVM$fromStore__closure(t0) { this.invoice = t0; }, InvoiceListItem: function InvoiceListItem(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.invoice = t0; _.filter = t1; _.showCheckbox = t2; _.isChecked = t3; _.onTap = t4; _.showSelected = t5; _.key = t6; }, InvoiceListItem_build_closure: function InvoiceListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._box_0 = t0; _.$this = t1; _.state = t2; _.client = t3; _.localization = t4; _.textStyle = t5; _.filterMatch = t6; _.textColor = t7; _.statusLabel = t8; _.statusColor = t9; }, InvoiceListItem_build__closure2: function InvoiceListItem_build__closure2(t0) { this.$this = t0; }, InvoiceListItem_build__closure1: function InvoiceListItem_build__closure1(t0) { this.$this = t0; }, InvoiceListItem_build__closure: function InvoiceListItem_build__closure() { }, InvoiceListItem_build__closure0: function InvoiceListItem_build__closure0(t0) { this.$this = t0; }, InvoiceListItem_build__closure5: function InvoiceListItem_build__closure5(t0) { this.$this = t0; }, InvoiceListItem_build__closure4: function InvoiceListItem_build__closure4(t0) { this.$this = t0; }, InvoiceListItem_build__closure3: function InvoiceListItem_build__closure3() { }, InvoiceListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredInvoiceList(); t3 = t1.getUISelection$1(B.EntityType_invoice); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.invoiceState; t5 = t5.invoiceUIState.listUIState; t7 = t2.call$10(t3, t8.map, t8.list, t7.clientState.map, t7.vendorState.map, t7.paymentState.map, t7.projectState.map, t5, t7.userState.map, t7.userCompany.company.settings.recurringNumberPrefix); t6 = t4[t6]; t4 = t6.invoiceState; t8 = t6.clientState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_invoice); t2 = t6 == null ? A._setArrayType(["status", "number", "client", "amount", "balance", "date", "due_date"], type$.JSArray_String) : t6; return new A.InvoiceListVM(t1, t7, t4.map, t8.map, t5.filter, new A.InvoiceListVM_fromStore_closure(new A.InvoiceListVM_fromStore__handleRefresh(store)), t2, new A.InvoiceListVM_fromStore_closure0(store), new A.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; }, _loadPDF(context, invoice, isDeliveryNote, activityId, designId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Response), $async$returnValue, credentials, invitation, url, t1; var $async$_loadPDF = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); credentials = t1.get$credentials(0); invitation = B.JSArray_methods.get$first(invoice.invitations._list$_list); if ((activityId == null ? "" : activityId).length !== 0) url = credentials.url + "/activities/download_entity/" + A.S(activityId); else url = isDeliveryNote ? credentials.url + "/invoices/" + invoice.id + "/delivery_note" : invitation.link + "/download?t=" + Date.now(); $async$goto = 3; return A._asyncAwait(new A.WebClient().$get$3$rawResponse(0, url, t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.token.token, true), $async$_loadPDF); case 3: // returning from await. $async$returnValue = $async$result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_loadPDF, $async$completer); }, InvoicePdfView: function InvoicePdfView(t0, t1, t2) { this.viewModel = t0; this.showAppBar = t1; this.key = t2; }, _InvoicePdfViewState: function _InvoicePdfViewState(t0) { var _ = this; _._invoice_pdf$_isLoading = true; _._isDeliveryNote = false; _._widget = _._invoice_pdf$_response = _._invoice_pdf$_activityId = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _InvoicePdfViewState_loadPdf_closure: function _InvoicePdfViewState_loadPdf_closure(t0) { this.$this = t0; }, _InvoicePdfViewState_loadPdf_closure0: function _InvoicePdfViewState_loadPdf_closure0(t0) { this.$this = t0; }, _InvoicePdfViewState_loadPdf__closure1: function _InvoicePdfViewState_loadPdf__closure1(t0, t1) { this.$this = t0; this.response = t1; }, _InvoicePdfViewState_loadPdf_closure1: function _InvoicePdfViewState_loadPdf_closure1(t0) { this.$this = t0; }, _InvoicePdfViewState_loadPdf__closure: function _InvoicePdfViewState_loadPdf__closure(t0) { this.$this = t0; }, _InvoicePdfViewState_loadPdf__closure0: function _InvoicePdfViewState_loadPdf__closure0(t0) { this.error = t0; }, _InvoicePdfViewState_build_closure0: function _InvoicePdfViewState_build_closure0(t0) { this.$this = t0; }, _InvoicePdfViewState_build__closure0: function _InvoicePdfViewState_build__closure0(t0, t1) { this.$this = t0; this.activityId = t1; }, _InvoicePdfViewState_build_closure: function _InvoicePdfViewState_build_closure(t0, t1) { this.context = t0; this.invoice = t1; }, _InvoicePdfViewState_build_closure1: function _InvoicePdfViewState_build_closure1(t0) { this.$this = t0; }, _InvoicePdfViewState_build__closure: function _InvoicePdfViewState_build__closure(t0) { this.$this = t0; }, _InvoicePdfViewState_build_closure2: function _InvoicePdfViewState_build_closure2(t0) { this.invoice = t0; }, _InvoicePdfViewState_build_closure3: function _InvoicePdfViewState_build_closure3(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.localization = t2; _.client = t3; }, _InvoicePdfViewState_build_closure4: function _InvoicePdfViewState_build_closure4(t0) { this.invoice = t0; }, _InvoicePdfViewState_build_closure5: function _InvoicePdfViewState_build_closure5(t0) { this.$this = 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; }, InvoicePresenter: function InvoicePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, InvoicePresenter_getField_closure: function InvoicePresenter_getField_closure(t0) { this.contact = t0; }, InvoiceScreen: function InvoiceScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, InvoiceScreen_build_closure: function InvoiceScreen_build_closure(t0) { this.localization = t0; }, InvoiceScreen_build_closure0: function InvoiceScreen_build_closure0(t0) { this.localization = t0; }, InvoiceScreen_build_closure1: function InvoiceScreen_build_closure1(t0) { this.localization = t0; }, InvoiceScreen_build_closure2: function InvoiceScreen_build_closure2(t0) { this.localization = t0; }, InvoiceScreen_build_closure3: function InvoiceScreen_build_closure3(t0) { this.localization = t0; }, InvoiceScreen_build_closure4: function InvoiceScreen_build_closure4(t0) { this.localization = t0; }, InvoiceScreen_build_closure5: function InvoiceScreen_build_closure5(t0) { this.localization = t0; }, InvoiceScreen_build_closure6: function InvoiceScreen_build_closure6(t0) { this.localization = t0; }, InvoiceScreen_build_closure7: function InvoiceScreen_build_closure7(t0) { this.localization = t0; }, InvoiceScreen_build_closure21: function InvoiceScreen_build_closure21(t0) { this.store = t0; }, InvoiceScreen_build_closure17: function InvoiceScreen_build_closure17(t0) { this.store = t0; }, InvoiceScreen_build_closure19: function InvoiceScreen_build_closure19(t0) { this.store = t0; }, InvoiceScreen_build_closure18: function InvoiceScreen_build_closure18(t0) { this.store = t0; }, InvoiceScreen_build_closure20: function InvoiceScreen_build_closure20(t0) { this.store = t0; }, InvoiceScreen_build_closure13: function InvoiceScreen_build_closure13(t0) { this.store = t0; }, InvoiceScreen_build_closure14: function InvoiceScreen_build_closure14(t0) { this.store = t0; }, InvoiceScreen_build_closure15: function InvoiceScreen_build_closure15(t0) { this.store = t0; }, InvoiceScreen_build_closure9: function InvoiceScreen_build_closure9(t0) { this.store = t0; }, InvoiceScreen_build_closure10: function InvoiceScreen_build_closure10(t0) { this.store = t0; }, InvoiceScreen_build_closure11: function InvoiceScreen_build_closure11(t0) { this.store = t0; }, InvoiceScreen_build_closure12: function InvoiceScreen_build_closure12(t0) { this.store = t0; }, InvoiceScreen_build_closure8: function InvoiceScreen_build_closure8(t0) { this.store = t0; }, InvoiceScreen_build_closure16: function InvoiceScreen_build_closure16(t0) { this.context = t0; }, InvoiceScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredInvoiceList(); t3 = t1.getUISelection$1(B.EntityType_invoice); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.invoiceState; return new A.InvoiceScreenVM(t2.call$10(t3, t5.map, t5.list, t4.clientState.map, t4.vendorState.map, t4.paymentState.map, t4.projectState.map, t1.invoiceUIState.listUIState, t4.userState.map, t4.userCompany.company.settings.recurringNumberPrefix)); }, InvoiceScreenBuilder: function InvoiceScreenBuilder(t0) { this.key = t0; }, InvoiceScreenBuilder_build_closure: function InvoiceScreenBuilder_build_closure() { }, InvoiceScreenVM: function InvoiceScreenVM(t0) { this.invoiceList = t0; }, InvoiceView: function InvoiceView(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.tabIndex = t2; _.key = t3; }, _InvoiceViewState: function _InvoiceViewState(t0, t1, t2) { var _ = this; _._invoice_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _InvoiceViewState_build_closure: function _InvoiceViewState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.viewModel = t2; _.company = t3; _.invoice = t4; }, _InvoiceViewState_build__closure5: function _InvoiceViewState_build__closure5(t0, t1) { this.viewModel = t0; this.context = t1; }, _InvoiceViewState_build__closure: function _InvoiceViewState_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _InvoiceViewState_build__closure0: function _InvoiceViewState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _InvoiceViewState_build__closure1: function _InvoiceViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, _InvoiceViewState_build__closure2: function _InvoiceViewState_build__closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, _InvoiceViewState_build__closure3: function _InvoiceViewState_build__closure3(t0, t1) { this.viewModel = t0; this.context = t1; }, _InvoiceViewState_build__closure4: function _InvoiceViewState_build__closure4(t0, t1) { this.viewModel = t0; this.context = t1; }, __InvoiceViewState_State_SingleTickerProviderStateMixin: function __InvoiceViewState_State_SingleTickerProviderStateMixin() { }, InvoiceViewActivity: function InvoiceViewActivity(t0, t1) { this.viewModel = t0; this.key = t1; }, _InvoiceViewActivityState: function _InvoiceViewActivityState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _InvoiceViewActivityState_build_closure0: function _InvoiceViewActivityState_build_closure0() { }, _InvoiceViewActivityState_build_closure: function _InvoiceViewActivityState_build_closure(t0) { this.activities = t0; }, InvoiceViewContacts: function InvoiceViewContacts(t0, t1) { this.viewModel = t0; this.key = t1; }, InvoiceViewContacts_build_closure: function InvoiceViewContacts_build_closure(t0) { this.$this = t0; }, _InvitationListTile: function _InvitationListTile(t0, t1, t2) { this.invitation = t0; this.viewModel = t1; this.key = t2; }, _InvitationListTile_build_closure: function _InvitationListTile_build_closure(t0) { this.$this = t0; }, _InvitationListTile_build_closure0: function _InvitationListTile_build_closure0() { }, _InvitationListTile_build_closure1: function _InvitationListTile_build_closure1(t0) { this.$this = t0; }, _InvitationListTile_build_closure2: function _InvitationListTile_build_closure2() { }, InvoiceViewDocuments: function InvoiceViewDocuments(t0, t1, t2) { this.viewModel = t0; this.invoice = t1; this.key = t2; }, InvoiceViewDocuments_build_closure: function InvoiceViewDocuments_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, InvoiceViewDocuments_build_closure0: function InvoiceViewDocuments_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, InvoiceViewDocuments_build_closure1: function InvoiceViewDocuments_build_closure1(t0, t1) { this.$this = t0; this.store = t1; }, 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() { }, _InvoiceViewHistoryState_build_closure2: function _InvoiceViewHistoryState_build_closure2(t0, t1, t2, t3) { var _ = this; _.activityList = t0; _.viewModel = t1; _.localization = t2; _.invoice = t3; }, _InvoiceViewHistoryState_build__closure: function _InvoiceViewHistoryState_build__closure(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.context = t1; _.invoice = t2; _.history = t3; }, _InvoiceViewHistoryState_build_closure3: function _InvoiceViewHistoryState_build_closure3() { }, InvoiceOverview: function InvoiceOverview(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, InvoiceOverview_build_closure: function InvoiceOverview_build_closure(t0, t1, t2) { this.invoice = t0; this.paymentMap = t1; this.creditMap = t2; }, InvoiceOverview_build__closure0: function InvoiceOverview_build__closure0(t0, t1, t2) { this.invoice = t0; this.paymentMap = t1; this.payment = t2; }, InvoiceOverview_build__closure1: function InvoiceOverview_build__closure1(t0, t1, t2) { this.invoice = t0; this.creditMap = t1; this.payment = t2; }, InvoiceOverview_build_closure0: function InvoiceOverview_build_closure0(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.invoice = t2; _.client = t3; _.widgets = t4; }, InvoiceOverview_build_closure1: function InvoiceOverview_build_closure1(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.invoice = t2; _.client = t3; _.widgets = t4; }, InvoiceOverview_build_closure2: function InvoiceOverview_build_closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.widgets = t1; _.invoice = t2; _.userCompany = t3; }, InvoiceOverview_build__closure: function InvoiceOverview_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.invoiceItem = t2; _.userCompany = t3; }, InvoiceOverview_build___closure: function InvoiceOverview_build___closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.userCompany = t1; _.invoice = t2; _.context = t3; _.invoiceItem = t4; }, InvoiceOverview_build_surchargeRow: function InvoiceOverview_build_surchargeRow(t0, t1) { this.context = t0; this.invoice = t1; }, InvoiceOverview_build_closure3: function InvoiceOverview_build_closure3(t0, t1) { this.widgets = t0; this.surchargeRow = t1; }, 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; }, InvoiceViewVM_InvoiceViewVM$fromStore(store) { var t2, t3, t4, t5, invoice, client, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].invoiceState; t3 = t3.invoiceUIState.selectedId; t3.toString; invoice = t5.$get$1(0, t3); client = t2[t4].clientState.$get$1(0, invoice.clientId); t4 = t2[t4].userCompany; invoice.get$isNew(); return new A.InvoiceViewVM(t1, t4.company, invoice, client, new A.InvoiceViewVM_InvoiceViewVM$fromStore_closure(invoice), new A.InvoiceViewVM_InvoiceViewVM$fromStore_closure0(new A.InvoiceViewVM_InvoiceViewVM$fromStore__handleRefresh(store, invoice)), new A.InvoiceViewVM_InvoiceViewVM$fromStore_closure1(store, invoice), new A.InvoiceViewVM_InvoiceViewVM$fromStore_closure2(), new A.InvoiceViewVM_InvoiceViewVM$fromStore_closure3(store)); }, InvoiceViewScreen: function InvoiceViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, InvoiceViewScreen_build_closure0: function InvoiceViewScreen_build_closure0() { }, InvoiceViewScreen_build_closure: function InvoiceViewScreen_build_closure(t0) { this.$this = t0; }, AbstractInvoiceViewVM: function AbstractInvoiceViewVM() { }, InvoiceViewVM: function InvoiceViewVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.client = t3; _.onEditPressed = t4; _.onRefreshed = t5; _.onUploadDocuments = t6; _.onViewExpense = t7; _.onViewPdf = t8; }, InvoiceViewVM_InvoiceViewVM$fromStore__handleRefresh: function InvoiceViewVM_InvoiceViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.invoice = t1; }, InvoiceViewVM_InvoiceViewVM$fromStore_closure: function InvoiceViewVM_InvoiceViewVM$fromStore_closure(t0) { this.invoice = t0; }, InvoiceViewVM_InvoiceViewVM$fromStore_closure0: function InvoiceViewVM_InvoiceViewVM$fromStore_closure0(t0) { this._handleRefresh = t0; }, InvoiceViewVM_InvoiceViewVM$fromStore_closure1: function InvoiceViewVM_InvoiceViewVM$fromStore_closure1(t0, t1) { this.store = t0; this.invoice = t1; }, InvoiceViewVM_InvoiceViewVM$fromStore__closure: function InvoiceViewVM_InvoiceViewVM$fromStore__closure(t0) { this.context = t0; }, InvoiceViewVM_InvoiceViewVM$fromStore__closure0: function InvoiceViewVM_InvoiceViewVM$fromStore__closure0(t0) { this.context = t0; }, InvoiceViewVM_InvoiceViewVM$fromStore___closure: function InvoiceViewVM_InvoiceViewVM$fromStore___closure(t0) { this.error = t0; }, InvoiceViewVM_InvoiceViewVM$fromStore_closure2: function InvoiceViewVM_InvoiceViewVM$fromStore_closure2() { }, InvoiceViewVM_InvoiceViewVM$fromStore_closure3: function InvoiceViewVM_InvoiceViewVM$fromStore_closure3(t0) { this.store = t0; }, PaymentEdit: function PaymentEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _PaymentEditState: function _PaymentEditState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._payment_edit$_amountController = t0; _._numberController = t1; _._transactionReferenceController = t2; _._privateNotesController = t3; _._payment_edit$_custom1Controller = t4; _._payment_edit$_custom2Controller = t5; _._payment_edit$_custom3Controller = t6; _._payment_edit$_custom4Controller = t7; _._exchangeRateController = t8; _._payment_edit$_controllers = t9; _._payment_edit$_debouncer = t10; _._showConvertCurrency = false; _._convertedAmount = 0; _._widget = null; _._debugLifecycleState = t11; _._framework$_element = null; }, _PaymentEditState_didChangeDependencies_closure: function _PaymentEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _PaymentEditState_didChangeDependencies_closure0: function _PaymentEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _PaymentEditState_dispose_closure: function _PaymentEditState_dispose_closure(t0) { this.$this = t0; }, _PaymentEditState__onChanged_closure: function _PaymentEditState__onChanged_closure(t0) { this.$this = t0; }, _PaymentEditState__onChanged_closure0: function _PaymentEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.payment = t1; }, _PaymentEditState_convertCurrency_closure: function _PaymentEditState_convertCurrency_closure(t0, t1) { this._box_0 = t0; this.currency = t1; }, _PaymentEditState_build_closure: function _PaymentEditState_build_closure() { }, _PaymentEditState_build_closure0: function _PaymentEditState_build_closure0() { }, _PaymentEditState_build_closure1: function _PaymentEditState_build_closure1(t0) { this._box_0 = t0; }, _PaymentEditState_build_closure2: function _PaymentEditState_build_closure2(t0) { this._box_0 = t0; }, _PaymentEditState_build_closure4: function _PaymentEditState_build_closure4(t0) { this.context = t0; }, _PaymentEditState_build_closure3: function _PaymentEditState_build_closure3(t0, t1) { this.viewModel = t0; this.payment = t1; }, _PaymentEditState_build__closure5: function _PaymentEditState_build__closure5(t0) { this.client = t0; }, _PaymentEditState_build_closure5: function _PaymentEditState_build_closure5(t0) { this.$this = t0; }, _PaymentEditState_build_closure6: function _PaymentEditState_build_closure6(t0) { this.localization = t0; }, _PaymentEditState_build_closure8: function _PaymentEditState_build_closure8(t0) { this.context = t0; }, _PaymentEditState_build_closure7: function _PaymentEditState_build_closure7(t0, t1) { this.viewModel = t0; this.payment = t1; }, _PaymentEditState_build__closure4: function _PaymentEditState_build__closure4(t0) { this.date = t0; }, _PaymentEditState_build_closure9: function _PaymentEditState_build_closure9(t0, t1) { this.viewModel = t0; this.payment = t1; }, _PaymentEditState_build__closure3: function _PaymentEditState_build__closure3(t0) { this.paymentType = t0; }, _PaymentEditState_build_closure10: function _PaymentEditState_build_closure10(t0, t1) { this.viewModel = t0; this.payment = t1; }, _PaymentEditState_build__closure2: function _PaymentEditState_build__closure2(t0) { this.value = t0; }, _PaymentEditState_build_closure11: function _PaymentEditState_build_closure11(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.payment = t2; _.state = t3; }, _PaymentEditState_build__closure0: function _PaymentEditState_build__closure0() { }, _PaymentEditState_build__closure1: function _PaymentEditState_build__closure1(t0, t1) { this.$this = t0; this.value = t1; }, _PaymentEditState_build_closure12: function _PaymentEditState_build_closure12(t0) { this.$this = t0; }, _PaymentEditState_build_closure14: function _PaymentEditState_build_closure14(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.payment = t2; _.context = t3; _.viewModel = t4; }, _PaymentEditState_build__closure: function _PaymentEditState_build__closure(t0) { this.exchangeRate = t0; }, _PaymentEditState_build_closure13: function _PaymentEditState_build_closure13(t0) { this.$this = t0; }, _PaymentEditState_build_closure15: function _PaymentEditState_build_closure15(t0) { this.context = t0; }, _PaymentEditState_build_closure16: function _PaymentEditState_build_closure16(t0, t1) { this.$this = t0; this.context = t1; }, _PaymentEditState_build_closure17: function _PaymentEditState_build_closure17(t0) { this.viewModel = t0; }, PaymentableEditor: function PaymentableEditor(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.viewModel = t0; _.paymentable = t1; _.index = t2; _.entityType = t3; _.limit = t4; _.onSavePressed = t5; _.key = t6; }, _PaymentableEditorState: function _PaymentableEditorState(t0, t1, t2) { var _ = this; _._payment_edit$_amountController = t0; _._payment_edit$_creditId = _._payment_edit$_invoiceId = null; _._payment_edit$_controllers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _PaymentableEditorState_didChangeDependencies_closure: function _PaymentableEditorState_didChangeDependencies_closure(t0) { this.$this = t0; }, _PaymentableEditorState_didChangeDependencies_closure0: function _PaymentableEditorState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _PaymentableEditorState_dispose_closure0: function _PaymentableEditorState_dispose_closure0(t0) { this.$this = t0; }, _PaymentableEditorState__onChanged_closure: function _PaymentableEditorState__onChanged_closure(t0) { this.$this = t0; }, _PaymentableEditorState__onChanged_closure0: function _PaymentableEditorState__onChanged_closure0(t0) { this.$this = t0; }, _PaymentableEditorState__onChanged_closure1: function _PaymentableEditorState__onChanged_closure1(t0) { this._box_0 = t0; }, _PaymentableEditorState__onChanged_closure2: function _PaymentableEditorState__onChanged_closure2(t0, t1) { this._box_0 = t0; this.$this = t1; }, _PaymentableEditorState__onChanged_closure3: function _PaymentableEditorState__onChanged_closure3(t0) { this._box_0 = t0; }, _PaymentableEditorState__onChanged_closure4: function _PaymentableEditorState__onChanged_closure4(t0, t1) { this._box_0 = t0; this.$this = t1; }, _PaymentableEditorState__onChanged_closure5: function _PaymentableEditorState__onChanged_closure5(t0) { this.clientId = t0; }, _PaymentableEditorState_build_closure: function _PaymentableEditorState_build_closure() { }, _PaymentableEditorState_build_closure0: function _PaymentableEditorState_build_closure0() { }, _PaymentableEditorState_build_closure3: function _PaymentableEditorState_build_closure3(t0) { this.localization = t0; }, _PaymentableEditorState_build_closure2: function _PaymentableEditorState_build_closure2(t0) { this.context = t0; }, _PaymentableEditorState_build_closure1: function _PaymentableEditorState_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _PaymentableEditorState_build_closure6: function _PaymentableEditorState_build_closure6(t0) { this.localization = t0; }, _PaymentableEditorState_build_closure5: function _PaymentableEditorState_build_closure5(t0) { this.context = t0; }, _PaymentableEditorState_build_closure4: function _PaymentableEditorState_build_closure4(t0, t1) { this.$this = t0; this.context = t1; }, _PaymentableEditorState_build_closure7: function _PaymentableEditorState_build_closure7(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.payment = t2; }, _PaymentableEditorState_build__closure: function _PaymentableEditorState_build__closure(t0) { this.$this = t0; }, _PaymentableEditorState_build__closure0: function _PaymentableEditorState_build__closure0(t0) { this.$this = t0; }, PaymentEditFooter: function PaymentEditFooter(t0, t1) { this.payment = t0; this.key = t1; }, PaymentEditFooter_build_closure: function PaymentEditFooter_build_closure(t0) { this._box_0 = t0; }, PaymentEditFooter_build_closure0: function PaymentEditFooter_build_closure0(t0) { this._box_0 = t0; }, PaymentEditVM_PaymentEditVM$fromStore(store) { var t2, payment, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; payment = t2.paymentUIState.editing; payment.get$isNew(); t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].paymentState.map._map$_map.$index(0, payment.id); return new A.PaymentEditVM(t1, payment, new A.PaymentEditVM_PaymentEditVM$fromStore_closure(store), new A.PaymentEditVM_PaymentEditVM$fromStore_closure0(store), new A.PaymentEditVM_PaymentEditVM$fromStore_closure1(store, t1), t1.staticState); }, PaymentEditScreen: function PaymentEditScreen(t0) { this.key = t0; }, PaymentEditScreen_build_closure0: function PaymentEditScreen_build_closure0() { }, PaymentEditScreen_build_closure: function PaymentEditScreen_build_closure() { }, PaymentEditVM: function PaymentEditVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.payment = t1; _.onChanged = t2; _.onSavePressed = t3; _.onCancelPressed = t4; _.staticState = t5; }, PaymentEditVM_PaymentEditVM$fromStore_closure: function PaymentEditVM_PaymentEditVM$fromStore_closure(t0) { this.store = t0; }, PaymentEditVM_PaymentEditVM$fromStore_closure1: function PaymentEditVM_PaymentEditVM$fromStore_closure1(t0, t1) { this.store = t0; this.state = t1; }, PaymentEditVM_PaymentEditVM$fromStore_closure0: function PaymentEditVM_PaymentEditVM$fromStore_closure0(t0) { this.store = t0; }, PaymentEditVM_PaymentEditVM$fromStore__closure: function PaymentEditVM_PaymentEditVM$fromStore__closure(t0) { this.store = t0; }, PaymentEditVM_PaymentEditVM$fromStore___closure: function PaymentEditVM_PaymentEditVM$fromStore___closure(t0, t1) { this._box_0 = t0; this.currency = t1; }, PaymentEditVM_PaymentEditVM$fromStore___closure0: function PaymentEditVM_PaymentEditVM$fromStore___closure0(t0, t1) { this._box_0 = t0; this.currency = t1; }, PaymentEditVM_PaymentEditVM$fromStore___closure1: function PaymentEditVM_PaymentEditVM$fromStore___closure1(t0) { this.localization = t0; }, PaymentEditVM_PaymentEditVM$fromStore___closure2: function PaymentEditVM_PaymentEditVM$fromStore___closure2(t0) { this.localization = t0; }, PaymentEditVM_PaymentEditVM$fromStore___closure3: function PaymentEditVM_PaymentEditVM$fromStore___closure3(t0, t1, t2, t3, t4) { var _ = this; _.payment = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, PaymentEditVM_PaymentEditVM$fromStore___closure4: function PaymentEditVM_PaymentEditVM$fromStore___closure4() { }, PaymentEditVM_PaymentEditVM$fromStore____closure: function PaymentEditVM_PaymentEditVM$fromStore____closure(t0) { this.error = t0; }, PaymentListItem: function PaymentListItem(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.payment = t0; _.filter = t1; _.showCheckbox = t2; _.isChecked = t3; _.onTap = t4; _.showSelected = t5; _.key = t6; }, PaymentListItem_build_closure: function PaymentListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._box_0 = t0; _.$this = t1; _.state = t2; _.client = t3; _.textStyle = t4; _.filterMatch = t5; _.textColor = t6; _.mobileSubtitle = t7; _.localization = t8; }, PaymentListItem_build__closure2: function PaymentListItem_build__closure2(t0) { this.$this = t0; }, PaymentListItem_build__closure1: function PaymentListItem_build__closure1(t0) { this.$this = t0; }, 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) { this.$this = t0; }, PaymentListItem_build__closure4: function PaymentListItem_build__closure4(t0) { this.$this = t0; }, PaymentListItem_build__closure3: function PaymentListItem_build__closure3() { }, PaymentListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t9, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].userCompany; t6 = $.$get$memoizedFilteredPaymentList(); t7 = t1.getUISelection$1(B.EntityType_payment); t8 = t2[t4]; t9 = t8.paymentState; t3 = t3.paymentUIState.listUIState; t8 = t6.call$8(t7, t9.map, t9.list, t8.invoiceState.map, t8.clientState.map, t8.userState.map, t1.staticState.paymentTypeMap, t3); t4 = t2[t4].userCompany.settings.getTableColumns$1(B.EntityType_payment); t2 = t4 == null ? A._setArrayType(["status", "number", "client", "amount", "invoice_number", "date", "type", "transaction_reference"], type$.JSArray_String) : t4; return new A.PaymentListVM(t1, t5.user, t8, t3.filter, new A.PaymentListVM_fromStore_closure(new A.PaymentListVM_fromStore__handleRefresh(store)), t2, new A.PaymentListVM_fromStore_closure0(store), new A.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; }, PaymentPresenter: function PaymentPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, PaymentPresenter_getField_closure: function PaymentPresenter_getField_closure(t0) { this.state = t0; }, PaymentPresenter_getField_closure0: function PaymentPresenter_getField_closure0(t0) { this.payment = t0; }, PaymentPresenter_getField_closure1: function PaymentPresenter_getField_closure1(t0) { this.state = t0; }, PaymentScreen: function PaymentScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, PaymentScreen_build_closure: function PaymentScreen_build_closure(t0) { this.localization = t0; }, PaymentScreen_build_closure0: function PaymentScreen_build_closure0(t0) { this.localization = t0; }, PaymentScreen_build_closure1: function PaymentScreen_build_closure1(t0) { this.localization = t0; }, PaymentScreen_build_closure2: function PaymentScreen_build_closure2(t0) { this.localization = t0; }, PaymentScreen_build_closure3: function PaymentScreen_build_closure3(t0) { this.localization = t0; }, PaymentScreen_build_closure4: function PaymentScreen_build_closure4(t0) { this.localization = t0; }, PaymentScreen_build_closure5: function PaymentScreen_build_closure5(t0) { this.localization = t0; }, PaymentScreen_build_closure6: function PaymentScreen_build_closure6(t0) { this.localization = t0; }, PaymentScreen_build_closure21: function PaymentScreen_build_closure21(t0) { this.store = t0; }, PaymentScreen_build_closure17: function PaymentScreen_build_closure17(t0) { this.store = t0; }, PaymentScreen_build_closure19: function PaymentScreen_build_closure19(t0) { this.store = t0; }, PaymentScreen_build_closure18: function PaymentScreen_build_closure18(t0) { this.store = t0; }, PaymentScreen_build_closure20: function PaymentScreen_build_closure20(t0) { this.store = t0; }, PaymentScreen_build_closure7: function PaymentScreen_build_closure7(t0, t1) { this.store = t0; this.state = t1; }, PaymentScreen_build_closure13: function PaymentScreen_build_closure13(t0) { this.store = t0; }, PaymentScreen_build_closure9: function PaymentScreen_build_closure9(t0) { this.store = t0; }, PaymentScreen_build_closure10: function PaymentScreen_build_closure10(t0) { this.store = t0; }, PaymentScreen_build_closure11: function PaymentScreen_build_closure11(t0) { this.store = t0; }, PaymentScreen_build_closure12: function PaymentScreen_build_closure12(t0) { this.store = t0; }, PaymentScreen_build_closure14: function PaymentScreen_build_closure14(t0) { this.store = t0; }, PaymentScreen_build_closure15: function PaymentScreen_build_closure15(t0) { this.store = t0; }, PaymentScreen_build_closure8: function PaymentScreen_build_closure8(t0) { this.store = t0; }, PaymentScreen_build_closure16: function PaymentScreen_build_closure16(t0) { this.context = t0; }, PaymentScreenVM_fromStore(store) { var t2, t3, t4, t5, t6, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredPaymentList(); t3 = t1.getUISelection$1(B.EntityType_payment); t4 = t1.userCompanyStates; t5 = t1.uiState; t4 = t4._list$_list[t5.selectedCompanyIndex]; t6 = t4.paymentState; return new A.PaymentScreenVM(t2.call$8(t3, t6.map, t6.list, t4.invoiceState.map, t4.clientState.map, t4.userState.map, t1.staticState.paymentTypeMap, t5.paymentUIState.listUIState)); }, PaymentScreenBuilder: function PaymentScreenBuilder(t0) { this.key = t0; }, PaymentScreenBuilder_build_closure: function PaymentScreenBuilder_build_closure() { }, PaymentScreenVM: function PaymentScreenVM(t0) { this.paymentList = 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_closure8: function _PaymentableEditorState_build_closure8() { }, _PaymentableEditorState_build_closure10: function _PaymentableEditorState_build_closure10(t0) { this.context = t0; }, _PaymentableEditorState_build_closure9: function _PaymentableEditorState_build_closure9(t0) { this.$this = t0; }, _PaymentableEditorState_build__closure2: function _PaymentableEditorState_build__closure2(t0, t1) { this.$this = t0; this.invoice = t1; }, _PaymentableEditorState_build_closure11: function _PaymentableEditorState_build_closure11(t0, t1) { this.hasMultipleInvoices = t0; this.localization = t1; }, _PaymentableEditorState_build_closure12: function _PaymentableEditorState_build_closure12(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(store) { var t2, payment, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; payment = t2.paymentUIState.editing; payment.get$isNew(); t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].paymentState.map._map$_map.$index(0, payment.id); return new A.PaymentRefundVM(t1, payment, new A.PaymentRefundVM_PaymentRefundVM$fromStore_closure(store), new A.PaymentRefundVM_PaymentRefundVM$fromStore_closure0(store, payment), new A.PaymentRefundVM_PaymentRefundVM$fromStore_closure1(store, t1)); }, 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; }, PaymentView: function PaymentView(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.tabIndex = t2; _.key = t3; }, _PaymentViewState: function _PaymentViewState(t0, t1, t2) { var _ = this; _._payment_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _PaymentViewState_build_closure: function _PaymentViewState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.company = t1; _.viewModel = t2; _.payment = t3; _.state = t4; }, _PaymentViewState_build__closure: function _PaymentViewState_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _PaymentViewState_build__closure0: function _PaymentViewState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _PaymentViewState_build__closure1: function _PaymentViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, __PaymentViewState_State_SingleTickerProviderStateMixin: function __PaymentViewState_State_SingleTickerProviderStateMixin() { }, PaymentViewDocuments: function PaymentViewDocuments(t0, t1) { this.viewModel = t0; this.key = t1; }, PaymentViewDocuments_build_closure: function PaymentViewDocuments_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, PaymentViewDocuments_build_closure0: function PaymentViewDocuments_build_closure0(t0, t1) { this.store = t0; this.payment = t1; }, PaymentOverview: function PaymentOverview(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _PaymentOverviewState: function _PaymentOverviewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _PaymentOverviewState_build_closure: function _PaymentOverviewState_build_closure(t0) { this.companyGatewayLink = t0; }, _PaymentOverviewState_build_closure0: function _PaymentOverviewState_build_closure0() { }, _PaymentOverviewState_build_closure1: function _PaymentOverviewState_build_closure1() { }, PaymentViewVM_PaymentViewVM$fromStore(store) { var t2, t3, t4, payment, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.paymentUIState.selectedId; payment = t2._list$_list[t3.selectedCompanyIndex].paymentState.map._map$_map.$index(0, t4); if (payment == null) payment = A.PaymentEntity_PaymentEntity(null, t4, null); payment.get$isNew(); return new A.PaymentViewVM(t1, payment, new A.PaymentViewVM_PaymentViewVM$fromStore_closure(new A.PaymentViewVM_PaymentViewVM$fromStore__handleRefresh(store, payment)), new A.PaymentViewVM_PaymentViewVM$fromStore_closure0(store, payment)); }, PaymentViewScreen: function PaymentViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, PaymentViewScreen_build_closure0: function PaymentViewScreen_build_closure0() { }, PaymentViewScreen_build_closure: function PaymentViewScreen_build_closure(t0) { this.$this = t0; }, PaymentViewVM: function PaymentViewVM(t0, t1, t2, t3) { var _ = this; _.state = t0; _.payment = t1; _.onRefreshed = t2; _.onUploadDocuments = t3; }, PaymentViewVM_PaymentViewVM$fromStore__handleRefresh: function PaymentViewVM_PaymentViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.payment = t1; }, PaymentViewVM_PaymentViewVM$fromStore_closure: function PaymentViewVM_PaymentViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, PaymentViewVM_PaymentViewVM$fromStore_closure0: function PaymentViewVM_PaymentViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.payment = t1; }, PaymentViewVM_PaymentViewVM$fromStore__closure: function PaymentViewVM_PaymentViewVM$fromStore__closure(t0) { this.context = t0; }, PaymentViewVM_PaymentViewVM$fromStore__closure0: function PaymentViewVM_PaymentViewVM$fromStore__closure0(t0) { this.context = t0; }, PaymentViewVM_PaymentViewVM$fromStore___closure: function PaymentViewVM_PaymentViewVM$fromStore___closure(t0) { this.error = t0; }, PaymentTermEdit: function PaymentTermEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _PaymentTermEditState: function _PaymentTermEditState(t0, t1, t2, t3) { var _ = this; _._payment_term_edit$_debouncer = t0; _._payment_term_edit$_controllers = t1; _._numDaysController = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _PaymentTermEditState_didChangeDependencies_closure: function _PaymentTermEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _PaymentTermEditState_didChangeDependencies_closure0: function _PaymentTermEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _PaymentTermEditState_dispose_closure: function _PaymentTermEditState_dispose_closure(t0) { this.$this = t0; }, _PaymentTermEditState__onChanged_closure: function _PaymentTermEditState__onChanged_closure(t0) { this.$this = t0; }, _PaymentTermEditState__onChanged_closure0: function _PaymentTermEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.paymentTerm = t1; }, _PaymentTermEditState_build_closure0: function _PaymentTermEditState_build_closure0(t0) { this.viewModel = t0; }, _PaymentTermEditState_build_closure1: function _PaymentTermEditState_build_closure1(t0) { this.$this = t0; }, _PaymentTermEditState_build_closure: function _PaymentTermEditState_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, _PaymentTermEditState_build__closure0: function _PaymentTermEditState_build__closure0(t0) { this.localization = t0; }, _PaymentTermEditState_build__closure: function _PaymentTermEditState_build__closure(t0) { this.$this = t0; }, PaymentTermEditVM_PaymentTermEditVM$fromStore(store) { var t2, paymentTerm, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; paymentTerm = t2.paymentTermUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].paymentTermState.map._map$_map.$index(0, paymentTerm.id); return new A.PaymentTermEditVM(paymentTerm, new A.PaymentTermEditVM_PaymentTermEditVM$fromStore_closure(store), new A.PaymentTermEditVM_PaymentTermEditVM$fromStore_closure0(store, t1), new A.PaymentTermEditVM_PaymentTermEditVM$fromStore_closure1(store, t1), t1); }, 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) { var _ = this; _.paymentTerm = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, 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; }, PaymentTermListItem: function PaymentTermListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.paymentTerm = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, PaymentTermListItem_build_closure1: function PaymentTermListItem_build_closure1(t0) { this.$this = t0; }, PaymentTermListItem_build_closure0: function PaymentTermListItem_build_closure0(t0) { this.$this = t0; }, PaymentTermListItem_build_closure: function PaymentTermListItem_build_closure(t0) { this.$this = t0; }, PaymentTermListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredPaymentTermList(); t3 = t1.getUISelection$1(B.EntityType_paymentTerm); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].paymentTermState; t5 = t5.paymentTermUIState.listUIState; return new A.PaymentTermListVM(t1, t2.call$4(t3, t7.map, t7.list, t5), t4[t6].paymentTermState.map, t5.filter, new A.PaymentTermListVM_fromStore_closure(new A.PaymentTermListVM_fromStore__handleRefresh(store)), new A.PaymentTermListVM_fromStore_closure0(store), new A.PaymentTermListVM_fromStore_closure1(store)); }, PaymentTermListBuilder: function PaymentTermListBuilder(t0) { this.key = t0; }, PaymentTermListBuilder_build_closure: function PaymentTermListBuilder_build_closure() { }, PaymentTermListBuilder_build__closure: function PaymentTermListBuilder_build__closure(t0) { this.viewModel = t0; }, PaymentTermListVM: function PaymentTermListVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.paymentTermList = t1; _.paymentTermMap = t2; _.filter = t3; _.onRefreshed = t4; _.onSortColumn = t5; _.onClearMultielsect = t6; }, PaymentTermListVM_fromStore__handleRefresh: function PaymentTermListVM_fromStore__handleRefresh(t0) { this.store = t0; }, PaymentTermListVM_fromStore_closure: function PaymentTermListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, PaymentTermListVM_fromStore_closure0: function PaymentTermListVM_fromStore_closure0(t0) { this.store = t0; }, PaymentTermListVM_fromStore_closure1: function PaymentTermListVM_fromStore_closure1(t0) { this.store = t0; }, PaymentTermScreen: function PaymentTermScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, PaymentTermScreen_build_closure10: function PaymentTermScreen_build_closure10(t0) { this.store = t0; }, PaymentTermScreen_build_closure7: function PaymentTermScreen_build_closure7(t0) { this.store = t0; }, PaymentTermScreen_build_closure8: function PaymentTermScreen_build_closure8(t0) { this.store = t0; }, PaymentTermScreen_build_closure9: function PaymentTermScreen_build_closure9(t0) { this.store = t0; }, PaymentTermScreen_build_closure4: function PaymentTermScreen_build_closure4(t0) { this.store = t0; }, PaymentTermScreen_build_closure5: function PaymentTermScreen_build_closure5(t0) { this.store = t0; }, PaymentTermScreen_build_closure: function PaymentTermScreen_build_closure(t0) { this.store = t0; }, PaymentTermScreen_build_closure0: function PaymentTermScreen_build_closure0(t0) { this.store = t0; }, PaymentTermScreen_build_closure1: function PaymentTermScreen_build_closure1(t0) { this.store = t0; }, PaymentTermScreen_build_closure2: function PaymentTermScreen_build_closure2(t0) { this.store = t0; }, PaymentTermScreen_build_closure3: function PaymentTermScreen_build_closure3(t0) { this.store = t0; }, PaymentTermScreen_build_closure6: function PaymentTermScreen_build_closure6(t0) { this.context = t0; }, PaymentTermScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredPaymentTermList(); t3 = t1.getUISelection$1(B.EntityType_paymentTerm); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].paymentTermState; return new A.PaymentTermScreenVM(t2.call$4(t3, t4.map, t4.list, t1.paymentTermUIState.listUIState)); }, PaymentTermScreenBuilder: function PaymentTermScreenBuilder(t0) { this.key = t0; }, PaymentTermScreenBuilder_build_closure: function PaymentTermScreenBuilder_build_closure() { }, PaymentTermScreenVM: function PaymentTermScreenVM(t0) { this.paymentTermList = t0; }, PaymentTermView: function PaymentTermView(t0, t1) { this.viewModel = t0; this.key = t1; }, _PaymentTermViewState: function _PaymentTermViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _PaymentTermViewState_build_closure: function _PaymentTermViewState_build_closure(t0) { this.viewModel = t0; }, PaymentTermViewVM_PaymentTermViewVM$fromStore(store) { var t2, t3, t4, paymentTerm, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.paymentTermUIState.selectedId; paymentTerm = t2._list$_list[t3.selectedCompanyIndex].paymentTermState.map._map$_map.$index(0, t4); if (paymentTerm == null) paymentTerm = A.PaymentTermEntity_PaymentTermEntity(t4, null); paymentTerm.get$isNew(); return new A.PaymentTermViewVM(t1, paymentTerm, new A.PaymentTermViewVM_PaymentTermViewVM$fromStore_closure(store)); }, PaymentTermViewScreen: function PaymentTermViewScreen(t0) { this.key = t0; }, PaymentTermViewScreen_build_closure0: function PaymentTermViewScreen_build_closure0() { }, PaymentTermViewScreen_build_closure: function PaymentTermViewScreen_build_closure() { }, PaymentTermViewVM: function PaymentTermViewVM(t0, t1, t2) { this.state = t0; this.paymentTerm = t1; this.onBackPressed = t2; }, PaymentTermViewVM_PaymentTermViewVM$fromStore_closure: function PaymentTermViewVM_PaymentTermViewVM$fromStore_closure(t0) { this.store = t0; }, ProductEdit: function ProductEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _ProductEditState: function _ProductEditState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._product_edit$_focusNode = t0; _._productKeyController = t1; _._notesController = t2; _._priceController = t3; _._quantityController = t4; _._costController = t5; _._product_edit$_custom1Controller = t6; _._product_edit$_custom2Controller = t7; _._product_edit$_custom3Controller = t8; _._product_edit$_custom4Controller = t9; _._stockQuantityController = t10; _._notificationThresholdController = t11; _._imageUrlController = t12; _._maxQuantityController = t13; _._product_edit$_controllers = t14; _._product_edit$_debouncer = t15; _._widget = null; _._debugLifecycleState = t16; _._framework$_element = null; }, _ProductEditState_didChangeDependencies_closure: function _ProductEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ProductEditState_didChangeDependencies_closure0: function _ProductEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _ProductEditState_dispose_closure: function _ProductEditState_dispose_closure(t0) { this.$this = t0; }, _ProductEditState__onChanged_closure: function _ProductEditState__onChanged_closure(t0) { this.$this = t0; }, _ProductEditState__onChanged_closure0: function _ProductEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.product = t1; }, _ProductEditState_build_closure6: function _ProductEditState_build_closure6(t0) { this.viewModel = t0; }, _ProductEditState_build_closure: function _ProductEditState_build_closure(t0) { this.localization = t0; }, _ProductEditState_build_closure1: function _ProductEditState_build_closure1(t0, t1) { this.viewModel = t0; this.product = t1; }, _ProductEditState_build__closure3: function _ProductEditState_build__closure3(t0) { this.taxCategoryId = t0; }, _ProductEditState_build_closure0: function _ProductEditState_build_closure0(t0) { this.localization = t0; }, _ProductEditState_build_closure2: function _ProductEditState_build_closure2(t0, t1) { this.viewModel = t0; this.product = t1; }, _ProductEditState_build__closure2: function _ProductEditState_build__closure2(t0) { this.taxRate = t0; }, _ProductEditState_build_closure3: function _ProductEditState_build_closure3(t0, t1) { this.viewModel = t0; this.product = t1; }, _ProductEditState_build__closure1: function _ProductEditState_build__closure1(t0) { this.taxRate = t0; }, _ProductEditState_build_closure4: function _ProductEditState_build_closure4(t0, t1) { this.viewModel = t0; this.product = t1; }, _ProductEditState_build__closure0: function _ProductEditState_build__closure0(t0) { this.taxRate = t0; }, _ProductEditState_build_closure5: function _ProductEditState_build_closure5(t0, t1) { this.viewModel = t0; this.product = t1; }, _ProductEditState_build__closure: function _ProductEditState_build__closure(t0) { this.value = t0; }, ProductEditVM_ProductEditVM$fromStore(store) { var t2, product, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; product = t2.productUIState.editing; t2 = t2.selectedCompanyIndex; t3 = t1.userCompanyStates._list$_list; t4 = t3[t2].userCompany; product.get$isNew(); t3[t2].productState.map._map$_map.$index(0, product.id); return new A.ProductEditVM(t1, t4.company, product, new A.ProductEditVM_ProductEditVM$fromStore_closure(store), new A.ProductEditVM_ProductEditVM$fromStore_closure0(store, t1), new A.ProductEditVM_ProductEditVM$fromStore_closure1(store, t1)); }, 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; }, ProductListItem$(filter, isChecked, isDismissible, onCheckboxChanged, onTap, product, showCost) { return new A.ProductListItem(onTap, onCheckboxChanged, isChecked, isDismissible, product, filter, showCost, null); }, ProductListItem: function ProductListItem(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.onTap = t0; _.onCheckboxChanged = t1; _.isChecked = t2; _.isDismissible = t3; _.product = t4; _.filter = t5; _.showCost = t6; _.key = t7; }, 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) { this.$this = t0; }, ProductListItem_build__closure1: function ProductListItem_build__closure1(t0) { this.$this = t0; }, 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) { this.$this = t0; }, ProductListItem_build__closure4: function ProductListItem_build__closure4(t0) { this.$this = t0; }, ProductListItem_build__closure3: function ProductListItem_build__closure3(t0) { this.$this = t0; }, ProductListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredProductList(); t3 = t1.getUISelection$1(B.EntityType_product); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.productState; t5 = t5.productUIState.listUIState; t7 = t2.call$5(t3, t8.map, t8.list, t5, t7.userState.map); t8 = t4[t6]; t3 = t8.productState; t8 = t8.userCompany.settings.getTableColumns$1(B.EntityType_product); t2 = t8 == null ? A.ProductPresenter_getDefaultTableFields(t4[t6].userCompany) : t8; return new A.ProductListVM(t1, t7, t3.map, t5.filter, new A.ProductListVM_fromStore_closure(new A.ProductListVM_fromStore__handleRefresh(store)), t2, new A.ProductListVM_fromStore_closure0(store), new A.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; }, ProductPresenter_getDefaultTableFields(userCompany) { var company = userCompany.company, t1 = A._setArrayType(["product_key", "description"], type$.JSArray_String); if (company.enableProductCost) t1.push("cost"); t1.push("price"); if (company.enableProductQuantity) t1.push("quantity"); return t1; }, ProductPresenter: function ProductPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, ProductScreen: function ProductScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ProductScreen_build_closure11: function ProductScreen_build_closure11(t0) { this.store = t0; }, ProductScreen_build_closure8: function ProductScreen_build_closure8(t0) { this.store = t0; }, ProductScreen_build_closure9: function ProductScreen_build_closure9(t0) { this.store = t0; }, ProductScreen_build_closure10: function ProductScreen_build_closure10(t0) { this.store = t0; }, ProductScreen_build_closure: function ProductScreen_build_closure(t0, t1) { this.store = t0; this.state = t1; }, ProductScreen_build_closure5: function ProductScreen_build_closure5(t0) { this.store = t0; }, ProductScreen_build_closure1: function ProductScreen_build_closure1(t0) { this.store = t0; }, ProductScreen_build_closure2: function ProductScreen_build_closure2(t0) { this.store = t0; }, ProductScreen_build_closure3: function ProductScreen_build_closure3(t0) { this.store = t0; }, ProductScreen_build_closure4: function ProductScreen_build_closure4(t0) { this.store = t0; }, ProductScreen_build_closure6: function ProductScreen_build_closure6(t0) { this.store = t0; }, ProductScreen_build_closure0: function ProductScreen_build_closure0(t0) { this.store = t0; }, ProductScreen_build_closure7: function ProductScreen_build_closure7(t0) { this.context = t0; }, ProductScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredProductList(); t3 = t1.getUISelection$1(B.EntityType_product); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.productState; return new A.ProductScreenVM(t2.call$5(t3, t5.map, t5.list, t1.productUIState.listUIState, t4.userState.map)); }, ProductScreenBuilder: function ProductScreenBuilder(t0) { this.key = t0; }, ProductScreenBuilder_build_closure: function ProductScreenBuilder_build_closure() { }, ProductScreenVM: function ProductScreenVM(t0) { this.productList = t0; }, ProductView: function ProductView(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.tabIndex = t2; _.key = t3; }, _ProductViewState: function _ProductViewState(t0, t1, t2) { var _ = this; _._product_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ProductViewState_build_closure: function _ProductViewState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.company = t1; _.viewModel = t2; _.product = t3; }, _ProductViewState_build__closure: function _ProductViewState_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _ProductViewState_build__closure0: function _ProductViewState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _ProductViewState_build__closure1: function _ProductViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, __ProductViewState_State_SingleTickerProviderStateMixin: function __ProductViewState_State_SingleTickerProviderStateMixin() { }, ProductViewDocuments: function ProductViewDocuments(t0, t1) { this.viewModel = t0; this.key = t1; }, ProductViewDocuments_build_closure: function ProductViewDocuments_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, ProductViewDocuments_build_closure0: function ProductViewDocuments_build_closure0(t0, t1) { this.store = t0; this.product = t1; }, ProductOverview: function ProductOverview(t0, t1) { this.viewModel = t0; this.key = t1; }, _ProductOverviewState: function _ProductOverviewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, ProductViewVM_ProductViewVM$fromStore(store) { var t2, t3, t4, product, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.productUIState.selectedId; product = t2[t4].productState.map._map$_map.$index(0, t3); if (product == null) product = A.ProductEntity_ProductEntity(t3, null); product.get$isNew(); return new A.ProductViewVM(t1, product, t2[t4].userCompany.company, new A.ProductViewVM_ProductViewVM$fromStore_closure(new A.ProductViewVM_ProductViewVM$fromStore__handleRefresh(store, product)), new A.ProductViewVM_ProductViewVM$fromStore_closure0(store, product)); }, ProductViewScreen: function ProductViewScreen(t0) { this.key = t0; }, ProductViewScreen_build_closure0: function ProductViewScreen_build_closure0() { }, ProductViewScreen_build_closure: function ProductViewScreen_build_closure(t0) { this.$this = t0; }, ProductViewVM: function ProductViewVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.product = t1; _.company = t2; _.onRefreshed = t3; _.onUploadDocuments = t4; }, ProductViewVM_ProductViewVM$fromStore__handleRefresh: function ProductViewVM_ProductViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.product = t1; }, ProductViewVM_ProductViewVM$fromStore_closure: function ProductViewVM_ProductViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, ProductViewVM_ProductViewVM$fromStore_closure0: function ProductViewVM_ProductViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.product = t1; }, ProductViewVM_ProductViewVM$fromStore__closure: function ProductViewVM_ProductViewVM$fromStore__closure(t0) { this.context = t0; }, ProductViewVM_ProductViewVM$fromStore__closure0: function ProductViewVM_ProductViewVM$fromStore__closure0(t0) { this.context = t0; }, ProductViewVM_ProductViewVM$fromStore___closure: function ProductViewVM_ProductViewVM$fromStore___closure(t0) { this.error = t0; }, ProjectEdit: function ProjectEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _ProjectEditState: function _ProjectEditState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _._project_edit$_debouncer = t0; _._project_edit$_numberController = t1; _._project_edit$_nameController = t2; _._dueDateController = t3; _._hoursController = t4; _._project_edit$_taskRateController = t5; _._project_edit$_privateNotesController = t6; _._project_edit$_publicNotesController = t7; _._project_edit$_custom1Controller = t8; _._project_edit$_custom2Controller = t9; _._project_edit$_custom3Controller = t10; _._project_edit$_custom4Controller = t11; _._project_edit$_controllers = t12; _._widget = null; _._debugLifecycleState = t13; _._framework$_element = null; }, _ProjectEditState_didChangeDependencies_closure: function _ProjectEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ProjectEditState_didChangeDependencies_closure0: function _ProjectEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _ProjectEditState_dispose_closure: function _ProjectEditState_dispose_closure(t0) { this.$this = t0; }, _ProjectEditState__onChanged_closure: function _ProjectEditState__onChanged_closure(t0) { this.$this = t0; }, _ProjectEditState__onChanged_closure0: function _ProjectEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.project = t1; }, _ProjectEditState_build_closure0: function _ProjectEditState_build_closure0(t0) { this.viewModel = t0; }, _ProjectEditState_build_closure: function _ProjectEditState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.project = t1; _.localization = t2; _.state = t3; _.viewModel = t4; }, _ProjectEditState_build__closure: function _ProjectEditState_build__closure(t0) { this.localization = t0; }, _ProjectEditState_build__closure2: function _ProjectEditState_build__closure2(t0) { this.localization = t0; }, _ProjectEditState_build__closure1: function _ProjectEditState_build__closure1(t0, t1) { this.viewModel = t0; this.project = t1; }, _ProjectEditState_build___closure1: function _ProjectEditState_build___closure1(t0) { this.client = t0; }, _ProjectEditState_build__closure0: function _ProjectEditState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _ProjectEditState_build__closure4: function _ProjectEditState_build__closure4(t0, t1) { this.viewModel = t0; this.project = t1; }, _ProjectEditState_build___closure: function _ProjectEditState_build___closure(t0) { this.userId = t0; }, _ProjectEditState_build__closure3: function _ProjectEditState_build__closure3(t0, t1) { this.viewModel = t0; this.project = t1; }, _ProjectEditState_build___closure0: function _ProjectEditState_build___closure0(t0) { this.date = t0; }, ProjectEditVM_ProjectEditVM$fromStore(store) { var t2, project, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; project = t2.projectUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].projectState.map._map$_map.$index(0, project.id); return new A.ProjectEditVM(project, new A.ProjectEditVM_ProjectEditVM$fromStore_closure(store), new A.ProjectEditVM_ProjectEditVM$fromStore_closure0(store, t1), new A.ProjectEditVM_ProjectEditVM$fromStore_closure1(t1, store), t1, new A.ProjectEditVM_ProjectEditVM$fromStore_closure2(store)); }, ProjectEditScreen: function ProjectEditScreen(t0) { this.key = t0; }, ProjectEditScreen_build_closure0: function ProjectEditScreen_build_closure0() { }, ProjectEditScreen_build_closure: function ProjectEditScreen_build_closure() { }, ProjectEditVM: function ProjectEditVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.project = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; _.onAddClientPressed = t5; }, ProjectEditVM_ProjectEditVM$fromStore_closure: function ProjectEditVM_ProjectEditVM$fromStore_closure(t0) { this.store = t0; }, ProjectEditVM_ProjectEditVM$fromStore_closure1: function ProjectEditVM_ProjectEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, ProjectEditVM_ProjectEditVM$fromStore_closure2: function ProjectEditVM_ProjectEditVM$fromStore_closure2(t0) { this.store = t0; }, ProjectEditVM_ProjectEditVM$fromStore__closure: function ProjectEditVM_ProjectEditVM$fromStore__closure(t0) { this.store = t0; }, ProjectEditVM_ProjectEditVM$fromStore__closure0: function ProjectEditVM_ProjectEditVM$fromStore__closure0(t0) { this.store = t0; }, ProjectEditVM_ProjectEditVM$fromStore_closure0: function ProjectEditVM_ProjectEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, ProjectEditVM_ProjectEditVM$fromStore__closure1: function ProjectEditVM_ProjectEditVM$fromStore__closure1(t0, t1) { this.store = t0; this.state = t1; }, ProjectEditVM_ProjectEditVM$fromStore___closure: function ProjectEditVM_ProjectEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.project = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, ProjectEditVM_ProjectEditVM$fromStore___closure0: function ProjectEditVM_ProjectEditVM$fromStore___closure0() { }, ProjectEditVM_ProjectEditVM$fromStore____closure: function ProjectEditVM_ProjectEditVM$fromStore____closure(t0) { this.error = t0; }, ProjectListItem: function ProjectListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.project = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, ProjectListItem_build_closure: function ProjectListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.$this = t0; _.showCheckbox = t1; _.listUIState = t2; _.state = t3; _.client = t4; _.textStyle = t5; _.subtitle = t6; _.textColor = t7; _.filterMatch = t8; }, ProjectListItem_build__closure2: function ProjectListItem_build__closure2(t0) { this.$this = t0; }, ProjectListItem_build__closure1: function ProjectListItem_build__closure1(t0) { this.$this = t0; }, ProjectListItem_build__closure: function ProjectListItem_build__closure(t0) { this.$this = t0; }, ProjectListItem_build__closure0: function ProjectListItem_build__closure0(t0) { this.$this = t0; }, ProjectListItem_build__closure5: function ProjectListItem_build__closure5(t0) { this.$this = t0; }, ProjectListItem_build__closure4: function ProjectListItem_build__closure4(t0) { this.$this = t0; }, ProjectListItem_build__closure3: function ProjectListItem_build__closure3(t0) { this.$this = t0; }, ProjectListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredProjectList(); t3 = t1.getUISelection$1(B.EntityType_project); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.projectState; t5 = t5.projectUIState.listUIState; t7 = t2.call$6(t3, t8.map, t8.list, t5, t7.clientState.map, t7.userState.map); t6 = t4[t6]; t4 = t6.projectState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_project); t2 = t6 == null ? A._setArrayType(["name", "client", "task_rate", "due_date", "total_hours", "budgeted_hours", "public_notes", "private_notes", "entity_state"], type$.JSArray_String) : t6; return new A.ProjectListVM(t1, t7, t4.map, t5.filter, new A.ProjectListVM_fromStore_closure(new A.ProjectListVM_fromStore__handleRefresh(store)), t2, new A.ProjectListVM_fromStore_closure0(store), new A.ProjectListVM_fromStore_closure1(store)); }, ProjectListBuilder: function ProjectListBuilder(t0) { this.key = t0; }, ProjectListBuilder_build_closure: function ProjectListBuilder_build_closure() { }, ProjectListBuilder_build__closure: function ProjectListBuilder_build__closure(t0) { this.viewModel = t0; }, ProjectListVM: function ProjectListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.projectList = t1; _.projectMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, ProjectListVM_fromStore__handleRefresh: function ProjectListVM_fromStore__handleRefresh(t0) { this.store = t0; }, ProjectListVM_fromStore_closure: function ProjectListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, ProjectListVM_fromStore_closure0: function ProjectListVM_fromStore_closure0(t0) { this.store = t0; }, ProjectListVM_fromStore_closure1: function ProjectListVM_fromStore_closure1(t0) { this.store = t0; }, ProjectPresenter: function ProjectPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, ProjectScreen: function ProjectScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ProjectScreen_build_closure10: function ProjectScreen_build_closure10(t0) { this.store = t0; }, ProjectScreen_build_closure7: function ProjectScreen_build_closure7(t0) { this.store = t0; }, ProjectScreen_build_closure8: function ProjectScreen_build_closure8(t0) { this.store = t0; }, ProjectScreen_build_closure9: function ProjectScreen_build_closure9(t0) { this.store = t0; }, ProjectScreen_build_closure4: function ProjectScreen_build_closure4(t0) { this.store = t0; }, ProjectScreen_build_closure0: function ProjectScreen_build_closure0(t0) { this.store = t0; }, ProjectScreen_build_closure1: function ProjectScreen_build_closure1(t0) { this.store = t0; }, ProjectScreen_build_closure2: function ProjectScreen_build_closure2(t0) { this.store = t0; }, ProjectScreen_build_closure3: function ProjectScreen_build_closure3(t0) { this.store = t0; }, ProjectScreen_build_closure5: function ProjectScreen_build_closure5(t0) { this.store = t0; }, ProjectScreen_build_closure: function ProjectScreen_build_closure(t0) { this.store = t0; }, ProjectScreen_build_closure6: function ProjectScreen_build_closure6(t0) { this.context = t0; }, ProjectScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredProjectList(); t3 = t1.getUISelection$1(B.EntityType_project); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.projectState; return new A.ProjectScreenVM(t2.call$6(t3, t5.map, t5.list, t1.projectUIState.listUIState, t4.clientState.map, t4.userState.map)); }, ProjectScreenBuilder: function ProjectScreenBuilder(t0) { this.key = t0; }, ProjectScreenBuilder_build_closure: function ProjectScreenBuilder_build_closure() { }, ProjectScreenVM: function ProjectScreenVM(t0) { this.projectList = t0; }, ProjectView: function ProjectView(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.tabIndex = t2; _.key = t3; }, _ProjectViewState: function _ProjectViewState(t0, t1, t2) { var _ = this; _._project_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ProjectViewState_build_closure: function _ProjectViewState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.company = t1; _.viewModel = t2; _.project = t3; }, _ProjectViewState_build__closure: function _ProjectViewState_build__closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _ProjectViewState_build__closure0: function _ProjectViewState_build__closure0(t0, t1) { this.viewModel = t0; this.context = t1; }, _ProjectViewState_build__closure1: function _ProjectViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, __ProjectViewState_State_SingleTickerProviderStateMixin: function __ProjectViewState_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.store = t0; this.project = t1; }, 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; }, ProjectViewVM_ProjectViewVM$fromStore(store) { var t2, t3, t4, project, client, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.projectUIState.selectedId; project = t2[t4].projectState.map._map$_map.$index(0, t3); if (project == null) project = A.ProjectEntity_ProjectEntity(_null, t3, _null, _null); t3 = project.clientId; client = t2[t4].clientState.map._map$_map.$index(0, t3); if (client == null) client = A.ClientEntity_ClientEntity(_null, t3, _null, _null); t2 = t2[t4].userCompany; project.get$isNew(); return new A.ProjectViewVM(t1, project, client, t2.company, new A.ProjectViewVM_ProjectViewVM$fromStore_closure(new A.ProjectViewVM_ProjectViewVM$fromStore__handleRefresh(store, project)), new A.ProjectViewVM_ProjectViewVM$fromStore_closure0(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) { var _ = this; _.state = t0; _.project = t1; _.client = t2; _.company = t3; _.onRefreshed = t4; _.onUploadDocuments = t5; }, ProjectViewVM_ProjectViewVM$fromStore__handleRefresh: function ProjectViewVM_ProjectViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.project = t1; }, ProjectViewVM_ProjectViewVM$fromStore_closure: function ProjectViewVM_ProjectViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, ProjectViewVM_ProjectViewVM$fromStore_closure0: function ProjectViewVM_ProjectViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.project = t1; }, ProjectViewVM_ProjectViewVM$fromStore__closure: function ProjectViewVM_ProjectViewVM$fromStore__closure(t0) { this.context = t0; }, ProjectViewVM_ProjectViewVM$fromStore__closure0: function ProjectViewVM_ProjectViewVM$fromStore__closure0(t0) { this.context = t0; }, ProjectViewVM_ProjectViewVM$fromStore___closure: function ProjectViewVM_ProjectViewVM$fromStore___closure(t0) { this.error = t0; }, PurchaseOrderEdit: function PurchaseOrderEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _PurchaseOrderEditState: function _PurchaseOrderEditState(t0, t1, t2) { var _ = this; _._purchase_order_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _PurchaseOrderEditState_build_closure1: function _PurchaseOrderEditState_build_closure1(t0) { this.viewModel = t0; }, _PurchaseOrderEditState_build_closure2: function _PurchaseOrderEditState_build_closure2(t0) { this.$this = t0; }, _PurchaseOrderEditState_build_closure0: function _PurchaseOrderEditState_build_closure0(t0) { this.$this = t0; }, _PurchaseOrderEditState_build_closure: function _PurchaseOrderEditState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.invoice = t2; _.viewModel = t3; _.isFullscreen = t4; }, _PurchaseOrderEditState_build__closure: function _PurchaseOrderEditState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.viewModel = t2; _.isFullscreen = t3; }, _PurchaseOrderEditState_build___closure0: function _PurchaseOrderEditState_build___closure0() { }, _PurchaseOrderEditState_build___closure1: function _PurchaseOrderEditState_build___closure1(t0) { this.viewModel = t0; }, _PurchaseOrderEditState_build___closure: function _PurchaseOrderEditState_build___closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.isFullscreen = t2; }, __PurchaseOrderEditState_State_SingleTickerProviderStateMixin: function __PurchaseOrderEditState_State_SingleTickerProviderStateMixin() { }, PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; return new A.PurchaseOrderEditDetailsVM(t1, t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t2.purchaseOrderUIState.editing, new A.PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure(store), null, new A.PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure0(store), null, new A.PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure1(t1, store)); }, PurchaseOrderEditDetailsScreen: function PurchaseOrderEditDetailsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, PurchaseOrderEditDetailsScreen_build_closure0: function PurchaseOrderEditDetailsScreen_build_closure0() { }, PurchaseOrderEditDetailsScreen_build_closure: function PurchaseOrderEditDetailsScreen_build_closure(t0) { this.$this = t0; }, PurchaseOrderEditDetailsVM: function PurchaseOrderEditDetailsVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.onChanged = t3; _.onClientChanged = t4; _.onVendorChanged = t5; _.onAddClientPressed = t6; _.onAddVendorPressed = t7; }, PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure: function PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure(t0) { this.store = t0; }, PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure0: function PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure0(t0) { this.store = t0; }, PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure1: function PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore__closure: function PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore__closure(t0) { this.store = t0; }, PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore__closure0: function PurchaseOrderEditDetailsVM_PurchaseOrderEditDetailsVM$fromStore__closure0(t0) { this.store = t0; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore(store) { var t2, t3, t4, purchaseOrder, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.purchaseOrderUIState; purchaseOrder = t4.editing; return new A.PurchaseOrderEditItemsVM(t1, t2._list$_list[t3.selectedCompanyIndex].userCompany.company, purchaseOrder, t4.editingItemIndex, new A.PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure(store), new A.PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure0(store, purchaseOrder), new A.PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure1(store), new A.PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure2(store), new A.PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure3(store), new A.PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure4(store)); }, PurchaseOrderEditItemsScreen: function PurchaseOrderEditItemsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, PurchaseOrderEditItemsScreen_build_closure0: function PurchaseOrderEditItemsScreen_build_closure0() { }, PurchaseOrderEditItemsScreen_build_closure: function PurchaseOrderEditItemsScreen_build_closure(t0) { this.$this = t0; }, PurchaseOrderEditItemsVM: function PurchaseOrderEditItemsVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.invoiceItemIndex = t3; _.addLineItem = t4; _.cloneLineItem = t5; _.onRemoveInvoiceItemPressed = t6; _.clearSelectedInvoiceItem = t7; _.onChangedInvoiceItem = t8; _.onMovedInvoiceItem = t9; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure1: function PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure1(t0) { this.store = t0; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure2: function PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure2(t0) { this.store = t0; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure3: function PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure3(t0) { this.store = t0; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure4: function PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure4(t0) { this.store = t0; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure: function PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure(t0) { this.store = t0; }, PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure0: function PurchaseOrderEditItemsVM_PurchaseOrderEditItemsVM$fromStore_closure0(t0, t1) { this.store = t0; this.purchaseOrder = t1; }, PurchaseOrderEditNotesVM_PurchaseOrderEditNotesVM$fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.PurchaseOrderEditNotesVM(t1, t1.uiState.purchaseOrderUIState.editing, new A.PurchaseOrderEditNotesVM_PurchaseOrderEditNotesVM$fromStore_closure(store)); }, PurchaseOrderEditNotesScreen: function PurchaseOrderEditNotesScreen(t0) { this.key = t0; }, PurchaseOrderEditNotesScreen_build_closure0: function PurchaseOrderEditNotesScreen_build_closure0() { }, PurchaseOrderEditNotesScreen_build_closure: function PurchaseOrderEditNotesScreen_build_closure() { }, PurchaseOrderEditNotesVM: function PurchaseOrderEditNotesVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.onChanged = t2; }, PurchaseOrderEditNotesVM_PurchaseOrderEditNotesVM$fromStore_closure: function PurchaseOrderEditNotesVM_PurchaseOrderEditNotesVM$fromStore_closure(t0) { this.store = t0; }, PurchaseOrderEditPDFScreen: function PurchaseOrderEditPDFScreen(t0) { this.key = t0; }, PurchaseOrderEditPDFScreen_build_closure0: function PurchaseOrderEditPDFScreen_build_closure0() { }, PurchaseOrderEditPDFScreen_build_closure: function PurchaseOrderEditPDFScreen_build_closure() { }, PurchaseOrderEditPDFVM: function PurchaseOrderEditPDFVM(t0, t1) { this.state = t0; this.invoice = t1; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore(store) { var t2, t3, purchaseOrder, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.purchaseOrderUIState; purchaseOrder = t3.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].purchaseOrderState.map._map$_map.$index(0, purchaseOrder.id); return new A.PurchaseOrderEditVM(t1, purchaseOrder, t3.editingItemIndex, new A.PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure(store, t1), new A.PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure0(store, purchaseOrder), new A.PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure1(t1, store), new A.PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure2(store, purchaseOrder)); }, PurchaseOrderEditScreen: function PurchaseOrderEditScreen(t0) { this.key = t0; }, PurchaseOrderEditScreen_build_closure0: function PurchaseOrderEditScreen_build_closure0() { }, PurchaseOrderEditScreen_build_closure: function PurchaseOrderEditScreen_build_closure() { }, PurchaseOrderEditVM: function PurchaseOrderEditVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.invoice = t1; _.invoiceItemIndex = t2; _.onSavePressed = t3; _.onItemsAdded = t4; _.onCancelPressed = t5; _.onUploadDocuments = t6; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure(t0, t1) { this.store = t0; this.state = t1; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore__closure1: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore__closure1(t0, t1, t2) { this.store = t0; this.action = t1; this.state = t2; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure0: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure0(t0) { this.localization = t0; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure1: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure1(t0, t1, t2, t3, t4, t5) { var _ = this; _.purchaseOrder = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; _.action = t5; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure2: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure2() { }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore____closure: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore____closure(t0) { this.error = t0; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure0: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.purchaseOrder = t1; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure1: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure2: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore_closure2(t0, t1) { this.store = t0; this.purchaseOrder = t1; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore__closure: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore__closure(t0) { this.context = t0; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore__closure0: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore__closure0(t0) { this.context = t0; }, PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure: function PurchaseOrderEditVM_PurchaseOrderEditVM$fromStore___closure(t0) { this.error = t0; }, EmailPurchaseOrderVM_EmailPurchaseOrderVM$fromStore(store, purchaseOrder) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list; return new A.EmailPurchaseOrderVM(t1, purchaseOrder, t2[t3].clientState.map._map$_map.$index(0, purchaseOrder.clientId), t2[t3].vendorState.map._map$_map.$index(0, purchaseOrder.vendorId), new A.EmailPurchaseOrderVM_EmailPurchaseOrderVM$fromStore_closure(purchaseOrder, store)); }, PurchaseOrderEmailScreen: function PurchaseOrderEmailScreen(t0) { this.key = t0; }, PurchaseOrderEmailScreen_build_closure1: function PurchaseOrderEmailScreen_build_closure1() { }, PurchaseOrderEmailScreen_build_closure0: function PurchaseOrderEmailScreen_build_closure0() { }, PurchaseOrderEmailScreen_build_closure: function PurchaseOrderEmailScreen_build_closure() { }, EmailPurchaseOrderVM: function EmailPurchaseOrderVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.invoice = t1; _.client = t2; _.vendor = t3; _.onSendPressed = t4; }, EmailPurchaseOrderVM_EmailPurchaseOrderVM$fromStore_closure: function EmailPurchaseOrderVM_EmailPurchaseOrderVM$fromStore_closure(t0, t1) { this.purchaseOrder = t0; this.store = t1; }, EmailPurchaseOrderVM_EmailPurchaseOrderVM$fromStore__closure: function EmailPurchaseOrderVM_EmailPurchaseOrderVM$fromStore__closure(t0) { this.purchaseOrder = t0; }, PurchaseOrderListItem: function PurchaseOrderListItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.user = t0; _.purchaseOrder = t1; _.vendor = t2; _.filter = t3; _.isChecked = t4; _.key = t5; }, PurchaseOrderListItem_build_closure: function PurchaseOrderListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._box_0 = t0; _.$this = t1; _.showCheckbox = t2; _.listUIState = t3; _.state = t4; _.localization = t5; _.textStyle = t6; _.filterMatch = t7; _.textColor = t8; }, PurchaseOrderListItem_build__closure2: function PurchaseOrderListItem_build__closure2(t0) { this.$this = t0; }, PurchaseOrderListItem_build__closure1: function PurchaseOrderListItem_build__closure1(t0) { this.$this = t0; }, PurchaseOrderListItem_build__closure: function PurchaseOrderListItem_build__closure(t0) { this.$this = t0; }, PurchaseOrderListItem_build__closure0: function PurchaseOrderListItem_build__closure0(t0) { this.$this = t0; }, PurchaseOrderListItem_build__closure5: function PurchaseOrderListItem_build__closure5(t0) { this.$this = t0; }, PurchaseOrderListItem_build__closure4: function PurchaseOrderListItem_build__closure4(t0) { this.$this = t0; }, PurchaseOrderListItem_build__closure3: function PurchaseOrderListItem_build__closure3(t0) { this.$this = t0; }, PurchaseOrderListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredPurchaseOrderList(); t3 = t1.getUISelection$1(B.EntityType_purchaseOrder); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.purchaseOrderState; t5 = t5.purchaseOrderUIState.listUIState; t7 = t2.call$7(t3, t8.map, t8.list, t7.clientState.map, t7.vendorState.map, t5, t7.userState.map); t6 = t4[t6]; t4 = t6.purchaseOrderState; t8 = t6.clientState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_purchaseOrder); t2 = t6 == null ? A._setArrayType(["status", "number", "vendor", "expense", "amount", "date", "due_date"], type$.JSArray_String) : t6; return new A.PurchaseOrderListVM(t1, t7, t4.map, t8.map, t5.filter, new A.PurchaseOrderListVM_fromStore_closure(new A.PurchaseOrderListVM_fromStore__handleRefresh(store)), t2, new A.PurchaseOrderListVM_fromStore_closure0(store), new A.PurchaseOrderListVM_fromStore_closure1(store)); }, PurchaseOrderListBuilder: function PurchaseOrderListBuilder(t0) { this.key = t0; }, PurchaseOrderListBuilder_build_closure: function PurchaseOrderListBuilder_build_closure() { }, PurchaseOrderListBuilder_build__closure: function PurchaseOrderListBuilder_build__closure(t0) { this.viewModel = t0; }, PurchaseOrderListVM: function PurchaseOrderListVM(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; }, PurchaseOrderListVM_fromStore__handleRefresh: function PurchaseOrderListVM_fromStore__handleRefresh(t0) { this.store = t0; }, PurchaseOrderListVM_fromStore_closure: function PurchaseOrderListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, PurchaseOrderListVM_fromStore_closure0: function PurchaseOrderListVM_fromStore_closure0(t0) { this.store = t0; }, PurchaseOrderListVM_fromStore_closure1: function PurchaseOrderListVM_fromStore_closure1(t0) { this.store = t0; }, PurchaseOrderPdfScreen: function PurchaseOrderPdfScreen(t0, t1) { this.showAppBar = t0; this.key = t1; }, PurchaseOrderPdfScreen_build_closure0: function PurchaseOrderPdfScreen_build_closure0() { }, PurchaseOrderPdfScreen_build_closure: function PurchaseOrderPdfScreen_build_closure(t0) { this.$this = t0; }, PurchaseOrderPdfVM: function PurchaseOrderPdfVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.activityId = t2; }, PurchaseOrderPresenter: function PurchaseOrderPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, PurchaseOrderPresenter_getField_closure: function PurchaseOrderPresenter_getField_closure(t0) { this.contact = t0; }, PurchaseOrderScreen: function PurchaseOrderScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, PurchaseOrderScreen_build_closure: function PurchaseOrderScreen_build_closure(t0) { this.localization = t0; }, PurchaseOrderScreen_build_closure0: function PurchaseOrderScreen_build_closure0(t0) { this.localization = t0; }, PurchaseOrderScreen_build_closure1: function PurchaseOrderScreen_build_closure1(t0) { this.localization = t0; }, PurchaseOrderScreen_build_closure2: function PurchaseOrderScreen_build_closure2(t0) { this.localization = t0; }, PurchaseOrderScreen_build_closure3: function PurchaseOrderScreen_build_closure3(t0) { this.localization = t0; }, PurchaseOrderScreen_build_closure17: function PurchaseOrderScreen_build_closure17(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure13: function PurchaseOrderScreen_build_closure13(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure15: function PurchaseOrderScreen_build_closure15(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure14: function PurchaseOrderScreen_build_closure14(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure16: function PurchaseOrderScreen_build_closure16(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure9: function PurchaseOrderScreen_build_closure9(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure10: function PurchaseOrderScreen_build_closure10(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure11: function PurchaseOrderScreen_build_closure11(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure4: function PurchaseOrderScreen_build_closure4(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure5: function PurchaseOrderScreen_build_closure5(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure6: function PurchaseOrderScreen_build_closure6(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure7: function PurchaseOrderScreen_build_closure7(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure8: function PurchaseOrderScreen_build_closure8(t0) { this.store = t0; }, PurchaseOrderScreen_build_closure12: function PurchaseOrderScreen_build_closure12(t0) { this.context = t0; }, PurchaseOrderScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredPurchaseOrderList(); t3 = t1.getUISelection$1(B.EntityType_purchaseOrder); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.purchaseOrderState; return new A.PurchaseOrderScreenVM(t2.call$7(t3, t5.map, t5.list, t4.clientState.map, t4.vendorState.map, t1.purchaseOrderUIState.listUIState, t4.userState.map)); }, PurchaseOrderScreenBuilder: function PurchaseOrderScreenBuilder(t0) { this.key = t0; }, PurchaseOrderScreenBuilder_build_closure: function PurchaseOrderScreenBuilder_build_closure() { }, PurchaseOrderScreenVM: function PurchaseOrderScreenVM(t0) { this.purchaseOrderList = t0; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore(store) { var t2, t3, t4, purchaseOrder, t5, client, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.purchaseOrderUIState.selectedId; purchaseOrder = t2[t4].purchaseOrderState.map._map$_map.$index(0, t3); if (purchaseOrder == null) purchaseOrder = A.InvoiceEntity_InvoiceEntity(_null, _null, t3, _null, _null, _null); t3 = store.__Store__state_A; t5 = purchaseOrder.clientId; client = t3.userCompanyStates._list$_list[t3.uiState.selectedCompanyIndex].clientState.map._map$_map.$index(0, t5); if (client == null) client = A.ClientEntity_ClientEntity(_null, t5, _null, _null); t2 = t2[t4].userCompany; purchaseOrder.get$isNew(); return new A.PurchaseOrderViewVM(t1, t2.company, purchaseOrder, client, new A.PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure(purchaseOrder), new A.PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure0(new A.PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__handleRefresh(store, purchaseOrder)), new A.PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure1(store, purchaseOrder), _null, new A.PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure2(store)); }, PurchaseOrderViewScreen: function PurchaseOrderViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, PurchaseOrderViewScreen_build_closure0: function PurchaseOrderViewScreen_build_closure0() { }, PurchaseOrderViewScreen_build_closure: function PurchaseOrderViewScreen_build_closure(t0) { this.$this = t0; }, PurchaseOrderViewVM: function PurchaseOrderViewVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.client = t3; _.onEditPressed = t4; _.onRefreshed = t5; _.onUploadDocuments = t6; _.onViewExpense = t7; _.onViewPdf = t8; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__handleRefresh: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.purchaseOrder = t1; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure(t0) { this.purchaseOrder = t0; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure0: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure0(t0) { this._handleRefresh = t0; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure1: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure1(t0, t1) { this.store = t0; this.purchaseOrder = t1; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__closure: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__closure(t0) { this.context = t0; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__closure0: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore__closure0(t0) { this.context = t0; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore___closure: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore___closure(t0) { this.error = t0; }, PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure2: function PurchaseOrderViewVM_PurchaseOrderViewVM$fromStore_closure2(t0) { this.store = t0; }, QuoteEdit: function QuoteEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _QuoteEditState: function _QuoteEditState(t0, t1, t2) { var _ = this; _._quote_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _QuoteEditState_build_closure1: function _QuoteEditState_build_closure1(t0) { this.viewModel = t0; }, _QuoteEditState_build_closure2: function _QuoteEditState_build_closure2(t0) { this.$this = t0; }, _QuoteEditState_build_closure0: function _QuoteEditState_build_closure0(t0) { this.$this = t0; }, _QuoteEditState_build_closure: function _QuoteEditState_build_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.invoice = t2; _.viewModel = t3; _.isFullscreen = t4; }, _QuoteEditState_build__closure: function _QuoteEditState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.invoice = t1; _.viewModel = t2; _.isFullscreen = t3; }, _QuoteEditState_build___closure0: function _QuoteEditState_build___closure0() { }, _QuoteEditState_build___closure1: function _QuoteEditState_build___closure1(t0) { this.viewModel = t0; }, _QuoteEditState_build___closure: function _QuoteEditState_build___closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.isFullscreen = t2; }, __QuoteEditState_State_SingleTickerProviderStateMixin: function __QuoteEditState_State_SingleTickerProviderStateMixin() { }, QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; return new A.QuoteEditDetailsVM(t1, t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t2.quoteUIState.editing, new A.QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure(store), new A.QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure0(store, t1), null, new A.QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure1(store), null); }, QuoteEditDetailsScreen: function QuoteEditDetailsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, QuoteEditDetailsScreen_build_closure0: function QuoteEditDetailsScreen_build_closure0() { }, QuoteEditDetailsScreen_build_closure: function QuoteEditDetailsScreen_build_closure(t0) { this.$this = t0; }, QuoteEditDetailsVM: function QuoteEditDetailsVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.onChanged = t3; _.onClientChanged = t4; _.onVendorChanged = t5; _.onAddClientPressed = t6; _.onAddVendorPressed = t7; }, QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure: function QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure(t0) { this.store = t0; }, QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure0: function QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure1: function QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore_closure1(t0) { this.store = t0; }, QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore__closure: function QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore__closure(t0) { this.store = t0; }, QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore__closure0: function QuoteEditDetailsVM_QuoteEditDetailsVM$fromStore__closure0(t0) { this.store = t0; }, QuoteEditItemsVM_QuoteEditItemsVM$fromStore(store, isTasks) { var t2, t3, t4, quote, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.quoteUIState; quote = t4.editing; return new A.QuoteEditItemsVM(t1, t2._list$_list[t3.selectedCompanyIndex].userCompany.company, quote, t4.editingItemIndex, new A.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure(store), new A.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure0(store, quote), new A.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure1(store), new A.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure2(store), new A.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure3(store, isTasks), new A.QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure4(store)); }, QuoteEditItemsScreen: function QuoteEditItemsScreen(t0, t1, t2) { this.viewModel = t0; this.isTasks = t1; this.key = t2; }, QuoteEditItemsScreen_build_closure0: function QuoteEditItemsScreen_build_closure0(t0) { this.$this = t0; }, QuoteEditItemsScreen_build_closure: function QuoteEditItemsScreen_build_closure(t0) { this.$this = t0; }, QuoteEditItemsVM: function QuoteEditItemsVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.invoiceItemIndex = t3; _.addLineItem = t4; _.cloneLineItem = t5; _.onRemoveInvoiceItemPressed = t6; _.clearSelectedInvoiceItem = t7; _.onChangedInvoiceItem = t8; _.onMovedInvoiceItem = t9; }, 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; }, QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure3: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure3(t0, t1) { this.store = t0; this.isTasks = t1; }, QuoteEditItemsVM_QuoteEditItemsVM$fromStore__closure: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore__closure(t0) { this.isTasks = t0; }, QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure4: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure4(t0) { this.store = t0; }, QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure(t0) { this.store = t0; }, QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure0: function QuoteEditItemsVM_QuoteEditItemsVM$fromStore_closure0(t0, t1) { this.store = t0; this.quote = t1; }, QuoteEditNotesVM_QuoteEditNotesVM$fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.QuoteEditNotesVM(t1, t1.uiState.quoteUIState.editing, new A.QuoteEditNotesVM_QuoteEditNotesVM$fromStore_closure(store)); }, QuoteEditNotesScreen: function QuoteEditNotesScreen(t0) { this.key = t0; }, QuoteEditNotesScreen_build_closure0: function QuoteEditNotesScreen_build_closure0() { }, QuoteEditNotesScreen_build_closure: function QuoteEditNotesScreen_build_closure() { }, QuoteEditNotesVM: function QuoteEditNotesVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.onChanged = t2; }, QuoteEditNotesVM_QuoteEditNotesVM$fromStore_closure: function QuoteEditNotesVM_QuoteEditNotesVM$fromStore_closure(t0) { this.store = t0; }, 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) { this.state = t0; this.invoice = t1; }, QuoteEditVM_QuoteEditVM$fromStore(store) { var t2, t3, quote, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.quoteUIState; quote = t3.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].quoteState.map._map$_map.$index(0, quote.id); return new A.QuoteEditVM(t1, quote, t3.editingItemIndex, new A.QuoteEditVM_QuoteEditVM$fromStore_closure(store, t1), new A.QuoteEditVM_QuoteEditVM$fromStore_closure0(store, quote), new A.QuoteEditVM_QuoteEditVM$fromStore_closure1(t1, store), new A.QuoteEditVM_QuoteEditVM$fromStore_closure2(store, quote)); }, QuoteEditScreen: function QuoteEditScreen(t0) { this.key = t0; }, QuoteEditScreen_build_closure0: function QuoteEditScreen_build_closure0() { }, QuoteEditScreen_build_closure: function QuoteEditScreen_build_closure() { }, QuoteEditVM: function QuoteEditVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.invoice = t1; _.invoiceItemIndex = t2; _.onSavePressed = t3; _.onItemsAdded = t4; _.onCancelPressed = t5; _.onUploadDocuments = t6; }, QuoteEditVM_QuoteEditVM$fromStore_closure: function QuoteEditVM_QuoteEditVM$fromStore_closure(t0, t1) { this.store = t0; this.state = t1; }, QuoteEditVM_QuoteEditVM$fromStore__closure1: function QuoteEditVM_QuoteEditVM$fromStore__closure1(t0, t1, t2) { this.store = t0; this.action = t1; this.state = t2; }, QuoteEditVM_QuoteEditVM$fromStore___closure0: function QuoteEditVM_QuoteEditVM$fromStore___closure0(t0) { this.localization = t0; }, QuoteEditVM_QuoteEditVM$fromStore___closure1: function QuoteEditVM_QuoteEditVM$fromStore___closure1(t0, t1, t2, t3, t4, t5) { var _ = this; _.quote = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; _.action = t5; }, QuoteEditVM_QuoteEditVM$fromStore___closure2: function QuoteEditVM_QuoteEditVM$fromStore___closure2() { }, QuoteEditVM_QuoteEditVM$fromStore____closure: function QuoteEditVM_QuoteEditVM$fromStore____closure(t0) { this.error = t0; }, QuoteEditVM_QuoteEditVM$fromStore_closure0: function QuoteEditVM_QuoteEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.quote = t1; }, QuoteEditVM_QuoteEditVM$fromStore_closure1: function QuoteEditVM_QuoteEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, QuoteEditVM_QuoteEditVM$fromStore_closure2: function QuoteEditVM_QuoteEditVM$fromStore_closure2(t0, t1) { this.store = t0; this.quote = t1; }, QuoteEditVM_QuoteEditVM$fromStore__closure: function QuoteEditVM_QuoteEditVM$fromStore__closure(t0) { this.context = t0; }, QuoteEditVM_QuoteEditVM$fromStore__closure0: function QuoteEditVM_QuoteEditVM$fromStore__closure0(t0) { this.context = t0; }, QuoteEditVM_QuoteEditVM$fromStore___closure: function QuoteEditVM_QuoteEditVM$fromStore___closure(t0) { this.error = t0; }, EmailQuoteVM_EmailQuoteVM$fromStore(store, quote) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list; return new A.EmailQuoteVM(t1, quote, t2[t3].clientState.map._map$_map.$index(0, quote.clientId), t2[t3].vendorState.map._map$_map.$index(0, quote.vendorId), new A.EmailQuoteVM_EmailQuoteVM$fromStore_closure(quote, store)); }, QuoteEmailScreen: function QuoteEmailScreen(t0) { this.key = t0; }, QuoteEmailScreen_build_closure1: function QuoteEmailScreen_build_closure1() { }, QuoteEmailScreen_build_closure0: function QuoteEmailScreen_build_closure0() { }, QuoteEmailScreen_build_closure: function QuoteEmailScreen_build_closure() { }, EmailQuoteVM: function EmailQuoteVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.invoice = t1; _.client = t2; _.vendor = t3; _.onSendPressed = t4; }, EmailQuoteVM_EmailQuoteVM$fromStore_closure: function EmailQuoteVM_EmailQuoteVM$fromStore_closure(t0, t1) { this.quote = t0; this.store = t1; }, EmailQuoteVM_EmailQuoteVM$fromStore__closure: function EmailQuoteVM_EmailQuoteVM$fromStore__closure(t0) { this.quote = t0; }, 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) { this.$this = t0; }, QuoteListItem_build__closure1: function QuoteListItem_build__closure1(t0) { this.$this = t0; }, 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) { this.$this = t0; }, QuoteListItem_build__closure4: function QuoteListItem_build__closure4(t0) { this.$this = t0; }, QuoteListItem_build__closure3: function QuoteListItem_build__closure3() { }, QuoteListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredQuoteList(); t3 = t1.getUISelection$1(B.EntityType_quote); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.quoteState; t5 = t5.quoteUIState.listUIState; t7 = t2.call$7(t3, t8.map, t8.list, t7.clientState.map, t7.vendorState.map, t5, t7.userState.map); t6 = t4[t6]; t4 = t6.quoteState; t8 = t6.clientState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_quote); t2 = t6 == null ? A._setArrayType(["status", "number", "client", "amount", "date", "valid_until"], type$.JSArray_String) : t6; return new A.QuoteListVM(t1, t7, t4.map, t8.map, t5.filter, new A.QuoteListVM_fromStore_closure(new A.QuoteListVM_fromStore__handleRefresh(store)), t2, new A.QuoteListVM_fromStore_closure0(store), new A.QuoteListVM_fromStore_closure1(store)); }, QuoteListBuilder: function QuoteListBuilder(t0) { this.key = t0; }, QuoteListBuilder_build_closure: function QuoteListBuilder_build_closure() { }, QuoteListBuilder_build__closure: function QuoteListBuilder_build__closure(t0) { this.viewModel = t0; }, QuoteListVM: function QuoteListVM(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; }, QuoteListVM_fromStore__handleRefresh: function QuoteListVM_fromStore__handleRefresh(t0) { this.store = t0; }, QuoteListVM_fromStore_closure: function QuoteListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, QuoteListVM_fromStore_closure0: function QuoteListVM_fromStore_closure0(t0) { this.store = t0; }, QuoteListVM_fromStore_closure1: function QuoteListVM_fromStore_closure1(t0) { this.store = t0; }, QuotePdfScreen: function QuotePdfScreen(t0, t1) { this.showAppBar = t0; this.key = t1; }, QuotePdfScreen_build_closure0: function QuotePdfScreen_build_closure0() { }, QuotePdfScreen_build_closure: function QuotePdfScreen_build_closure(t0) { this.$this = t0; }, QuotePdfVM: function QuotePdfVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.activityId = t2; }, QuotePresenter: function QuotePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, QuotePresenter_getField_closure: function QuotePresenter_getField_closure(t0) { this.contact = t0; }, QuoteScreen: function QuoteScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, QuoteScreen_build_closure: function QuoteScreen_build_closure(t0) { this.localization = t0; }, QuoteScreen_build_closure0: function QuoteScreen_build_closure0(t0) { this.localization = t0; }, QuoteScreen_build_closure1: function QuoteScreen_build_closure1(t0) { this.localization = t0; }, QuoteScreen_build_closure2: function QuoteScreen_build_closure2(t0) { this.localization = t0; }, QuoteScreen_build_closure3: function QuoteScreen_build_closure3(t0) { this.localization = t0; }, QuoteScreen_build_closure4: function QuoteScreen_build_closure4(t0) { this.localization = t0; }, QuoteScreen_build_closure5: function QuoteScreen_build_closure5(t0) { this.localization = t0; }, QuoteScreen_build_closure19: function QuoteScreen_build_closure19(t0) { this.store = t0; }, QuoteScreen_build_closure15: function QuoteScreen_build_closure15(t0) { this.store = t0; }, QuoteScreen_build_closure17: function QuoteScreen_build_closure17(t0) { this.store = t0; }, QuoteScreen_build_closure16: function QuoteScreen_build_closure16(t0) { this.store = t0; }, QuoteScreen_build_closure18: function QuoteScreen_build_closure18(t0) { this.store = t0; }, QuoteScreen_build_closure11: function QuoteScreen_build_closure11(t0) { this.store = t0; }, QuoteScreen_build_closure7: function QuoteScreen_build_closure7(t0) { this.store = t0; }, QuoteScreen_build_closure8: function QuoteScreen_build_closure8(t0) { this.store = t0; }, QuoteScreen_build_closure9: function QuoteScreen_build_closure9(t0) { this.store = t0; }, QuoteScreen_build_closure10: function QuoteScreen_build_closure10(t0) { this.store = t0; }, QuoteScreen_build_closure12: function QuoteScreen_build_closure12(t0) { this.store = t0; }, QuoteScreen_build_closure13: function QuoteScreen_build_closure13(t0) { this.store = t0; }, QuoteScreen_build_closure6: function QuoteScreen_build_closure6(t0) { this.store = t0; }, QuoteScreen_build_closure14: function QuoteScreen_build_closure14(t0) { this.context = t0; }, QuoteScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredQuoteList(); t3 = t1.getUISelection$1(B.EntityType_quote); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.quoteState; return new A.QuoteScreenVM(t2.call$7(t3, t5.map, t5.list, t4.clientState.map, t4.vendorState.map, t1.quoteUIState.listUIState, t4.userState.map)); }, QuoteScreenBuilder: function QuoteScreenBuilder(t0) { this.key = t0; }, QuoteScreenBuilder_build_closure: function QuoteScreenBuilder_build_closure() { }, QuoteScreenVM: function QuoteScreenVM(t0) { this.quoteList = t0; }, QuoteViewVM_QuoteViewVM$fromStore(store) { var t2, t3, t4, quote, t5, client, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.quoteUIState.selectedId; quote = t2[t4].quoteState.map._map$_map.$index(0, t3); if (quote == null) quote = A.InvoiceEntity_InvoiceEntity(_null, _null, t3, _null, _null, _null); t3 = store.__Store__state_A; t5 = quote.clientId; client = t3.userCompanyStates._list$_list[t3.uiState.selectedCompanyIndex].clientState.map._map$_map.$index(0, t5); if (client == null) client = A.ClientEntity_ClientEntity(_null, t5, _null, _null); t2 = t2[t4].userCompany; quote.get$isNew(); return new A.QuoteViewVM(t1, t2.company, quote, client, new A.QuoteViewVM_QuoteViewVM$fromStore_closure(quote), new A.QuoteViewVM_QuoteViewVM$fromStore_closure0(new A.QuoteViewVM_QuoteViewVM$fromStore__handleRefresh(store, quote)), new A.QuoteViewVM_QuoteViewVM$fromStore_closure1(store, quote), _null, new A.QuoteViewVM_QuoteViewVM$fromStore_closure2(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) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.client = t3; _.onEditPressed = t4; _.onRefreshed = t5; _.onUploadDocuments = t6; _.onViewExpense = t7; _.onViewPdf = t8; }, 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__closure: function QuoteViewVM_QuoteViewVM$fromStore__closure(t0) { this.context = t0; }, QuoteViewVM_QuoteViewVM$fromStore__closure0: function QuoteViewVM_QuoteViewVM$fromStore__closure0(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) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore(store) { var t2, recurringExpense, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; recurringExpense = t2.recurringExpenseUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].recurringExpenseState.map._map$_map.$index(0, recurringExpense.id); return new A.RecurringExpenseEditVM(recurringExpense, new A.RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure(store), new A.RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure0(store, t1), new A.RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure1(t1, store), t1, new A.RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure2(store), new A.RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure3(store), new A.RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure4(store, recurringExpense)); }, RecurringExpenseEditScreen: function RecurringExpenseEditScreen(t0) { this.key = t0; }, RecurringExpenseEditScreen_build_closure0: function RecurringExpenseEditScreen_build_closure0() { }, RecurringExpenseEditScreen_build_closure: function RecurringExpenseEditScreen_build_closure() { }, RecurringExpenseEditVM: function RecurringExpenseEditVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.expense = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; _.onAddClientPressed = t5; _.onAddVendorPressed = t6; _.onUploadDocument = t7; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure2: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure2(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure3: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure3(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure4: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure4(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure3: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure3(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure1: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure1(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure2: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure2(t0) { this.store = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure1: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure0: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure5: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure5(t0, t1, t2, t3) { var _ = this; _.store = t0; _.context = t1; _.action = t2; _.state = t3; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore___closure0: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore___closure0(t0, t1, t2, t3, t4, t5) { var _ = this; _.recurringExpense = t0; _.localization = t1; _.state = t2; _.store = t3; _.context = t4; _.action = t5; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore___closure1: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore___closure1(t0) { this.context = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore____closure: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore____closure(t0) { this.error = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure4: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore_closure4(t0, t1) { this.store = t0; this.recurringExpense = t1; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure(t0) { this.context = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure0: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore__closure0(t0) { this.context = t0; }, RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore___closure: function RecurringExpenseEditVM_RecurringExpenseEditVM$fromStore___closure(t0) { this.error = 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; _.textColor = t7; _.filterMatch = t8; }, RecurringExpenseListItem_build__closure2: function RecurringExpenseListItem_build__closure2(t0) { this.$this = t0; }, RecurringExpenseListItem_build__closure1: function RecurringExpenseListItem_build__closure1(t0) { this.$this = t0; }, 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) { this.$this = t0; }, RecurringExpenseListItem_build__closure4: function RecurringExpenseListItem_build__closure4(t0) { this.$this = t0; }, RecurringExpenseListItem_build__closure3: function RecurringExpenseListItem_build__closure3(t0) { this.$this = t0; }, RecurringExpenseListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredRecurringExpenseList(); t3 = t1.getUISelection$1(B.EntityType_recurringExpense); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t5 = t5.recurringExpenseUIState.listUIState; t7 = t2.call$9(t3, t7.recurringExpenseState.map, t7.clientState.map, t7.vendorState.map, t7.userState.map, t5, t7.invoiceState.map, t7.expenseCategoryState.map, t1.staticState); t6 = t4[t6]; t4 = t6.recurringExpenseState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_recurringExpense); t2 = t6 == null ? A._setArrayType(["status", "number", "vendor", "client", "frequency", "next_send_date", "amount", "public_notes", "entity_state"], type$.JSArray_String) : t6; return new A.RecurringExpenseListVM(t1, t7, t4.map, t5.filter, new A.RecurringExpenseListVM_fromStore_closure(new A.RecurringExpenseListVM_fromStore__handleRefresh(store)), t2, new A.RecurringExpenseListVM_fromStore_closure0(store), new A.RecurringExpenseListVM_fromStore_closure1(store)); }, RecurringExpenseListBuilder: function RecurringExpenseListBuilder(t0) { this.key = t0; }, RecurringExpenseListBuilder_build_closure: function RecurringExpenseListBuilder_build_closure() { }, RecurringExpenseListBuilder_build__closure: function RecurringExpenseListBuilder_build__closure(t0) { this.viewModel = t0; }, RecurringExpenseListVM: function RecurringExpenseListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.recurringExpenseList = t1; _.recurringExpenseMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, RecurringExpenseListVM_fromStore__handleRefresh: function RecurringExpenseListVM_fromStore__handleRefresh(t0) { this.store = t0; }, RecurringExpenseListVM_fromStore_closure: function RecurringExpenseListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, RecurringExpenseListVM_fromStore_closure0: function RecurringExpenseListVM_fromStore_closure0(t0) { this.store = t0; }, RecurringExpenseListVM_fromStore_closure1: function RecurringExpenseListVM_fromStore_closure1(t0) { this.store = t0; }, RecurringExpensePresenter: function RecurringExpensePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, RecurringExpenseScreen: function RecurringExpenseScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, RecurringExpenseScreen_build_closure: function RecurringExpenseScreen_build_closure(t0) { this.localization = t0; }, RecurringExpenseScreen_build_closure0: function RecurringExpenseScreen_build_closure0(t0) { this.localization = t0; }, RecurringExpenseScreen_build_closure1: function RecurringExpenseScreen_build_closure1(t0) { this.localization = t0; }, RecurringExpenseScreen_build_closure2: function RecurringExpenseScreen_build_closure2(t0) { this.localization = t0; }, RecurringExpenseScreen_build_closure3: function RecurringExpenseScreen_build_closure3(t0) { this.localization = t0; }, RecurringExpenseScreen_build_closure17: function RecurringExpenseScreen_build_closure17(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure13: function RecurringExpenseScreen_build_closure13(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure14: function RecurringExpenseScreen_build_closure14(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure15: function RecurringExpenseScreen_build_closure15(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure16: function RecurringExpenseScreen_build_closure16(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure9: function RecurringExpenseScreen_build_closure9(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure11: function RecurringExpenseScreen_build_closure11(t0) { this.store = t0; }, RecurringExpenseScreen_build_closure10: function RecurringExpenseScreen_build_closure10(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_closure6: function RecurringExpenseScreen_build_closure6(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_closure12: function RecurringExpenseScreen_build_closure12(t0) { this.context = t0; }, RecurringExpenseScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredRecurringExpenseList(); t3 = t1.getUISelection$1(B.EntityType_recurringExpense); t4 = t1.userCompanyStates; t5 = t1.uiState; t4 = t4._list$_list[t5.selectedCompanyIndex]; return new A.RecurringExpenseScreenVM(t2.call$9(t3, t4.recurringExpenseState.map, t4.clientState.map, t4.vendorState.map, t4.userState.map, t5.recurringExpenseUIState.listUIState, t4.invoiceState.map, t4.expenseCategoryState.map, t1.staticState)); }, RecurringExpenseScreenBuilder: function RecurringExpenseScreenBuilder(t0) { this.key = t0; }, RecurringExpenseScreenBuilder_build_closure: function RecurringExpenseScreenBuilder_build_closure() { }, RecurringExpenseScreenVM: function RecurringExpenseScreenVM(t0) { this.recurringExpenseList = t0; }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore(store) { var t2, t3, t4, recurringExpense, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.recurringExpenseUIState.selectedId; recurringExpense = t2[t4].recurringExpenseState.map._map$_map.$index(0, t3); if (recurringExpense == null) recurringExpense = A.ExpenseEntity_ExpenseEntity(_null, _null, t3, _null, _null, _null, _null); t2 = t2[t4].userCompany; recurringExpense.get$isNew(); return new A.RecurringExpenseViewVM(t1, recurringExpense, t2.company, new A.RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore_closure(new A.RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__handleRefresh(store, recurringExpense)), new A.RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore_closure0(store, recurringExpense)); }, RecurringExpenseViewScreen: function RecurringExpenseViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, RecurringExpenseViewScreen_build_closure0: function RecurringExpenseViewScreen_build_closure0() { }, RecurringExpenseViewScreen_build_closure: function RecurringExpenseViewScreen_build_closure(t0) { this.$this = t0; }, RecurringExpenseViewVM: function RecurringExpenseViewVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.expense = t1; _.company = t2; _.onRefreshed = t3; _.onUploadDocuments = t4; }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__handleRefresh: function RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.recurringExpense = t1; }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore_closure: function RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore_closure0: function RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.recurringExpense = t1; }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__closure: function RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__closure(t0) { this.context = t0; }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__closure0: function RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore__closure0() { }, RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore___closure: function RecurringExpenseViewVM_RecurringExpenseViewVM$fromStore___closure(t0) { this.error = t0; }, RecurringInvoiceEdit: function RecurringInvoiceEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _RecurringInvoiceEditState: function _RecurringInvoiceEditState(t0, t1, t2) { var _ = this; _._recurring_invoice_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._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___closure0: function _RecurringInvoiceEditState_build___closure0() { }, _RecurringInvoiceEditState_build___closure1: function _RecurringInvoiceEditState_build___closure1(t0) { this.viewModel = t0; }, _RecurringInvoiceEditState_build___closure: function _RecurringInvoiceEditState_build___closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.isFullscreen = t2; }, __RecurringInvoiceEditState_State_SingleTickerProviderStateMixin: function __RecurringInvoiceEditState_State_SingleTickerProviderStateMixin() { }, RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; return new A.RecurringInvoiceEditDetailsVM(t1, t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t2.recurringInvoiceUIState.editing, new A.RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure(store), new A.RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure0(store, t1), null, new A.RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure1(store), null); }, RecurringInvoiceEditDetailsScreen: function RecurringInvoiceEditDetailsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, RecurringInvoiceEditDetailsScreen_build_closure0: function RecurringInvoiceEditDetailsScreen_build_closure0() { }, RecurringInvoiceEditDetailsScreen_build_closure: function RecurringInvoiceEditDetailsScreen_build_closure(t0) { this.$this = t0; }, RecurringInvoiceEditDetailsVM: function RecurringInvoiceEditDetailsVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.onChanged = t3; _.onClientChanged = t4; _.onVendorChanged = t5; _.onAddClientPressed = t6; _.onAddVendorPressed = t7; }, RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure: function RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure(t0) { this.store = t0; }, RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure0: function RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure1: function RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore_closure1(t0) { this.store = t0; }, RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore__closure: function RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore__closure(t0) { this.store = t0; }, RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore__closure0: function RecurringInvoiceEditDetailsVM_RecurringInvoiceEditDetailsVM$fromStore__closure0(t0) { this.store = t0; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore(store, isTasks) { var t2, t3, t4, invoice, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.recurringInvoiceUIState; invoice = t4.editing; return new A.RecurringInvoiceEditItemsVM(t1, t2._list$_list[t3.selectedCompanyIndex].userCompany.company, invoice, t4.editingItemIndex, new A.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure(store), new A.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure0(store, invoice), new A.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure1(store), new A.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure2(store), new A.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure3(store, isTasks), new A.RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure4(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, t8, t9) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.invoiceItemIndex = t3; _.addLineItem = t4; _.cloneLineItem = t5; _.onRemoveInvoiceItemPressed = t6; _.clearSelectedInvoiceItem = t7; _.onChangedInvoiceItem = t8; _.onMovedInvoiceItem = t9; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure1: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure1(t0) { this.store = t0; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure2: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure2(t0) { this.store = t0; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure3: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure3(t0, t1) { this.store = t0; this.isTasks = t1; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore__closure: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore__closure(t0) { this.isTasks = t0; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure4: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure4(t0) { this.store = t0; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure(t0) { this.store = t0; }, RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure0: function RecurringInvoiceEditItemsVM_RecurringInvoiceEditItemsVM$fromStore_closure0(t0, t1) { this.store = t0; this.invoice = t1; }, RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.RecurringInvoiceEditNotesVM(t1, t1.uiState.recurringInvoiceUIState.editing, new A.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) { this.state = t0; this.invoice = t1; this.onChanged = t2; }, RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore_closure: function RecurringInvoiceEditNotesVM_RecurringInvoiceEditNotesVM$fromStore_closure(t0) { this.store = t0; }, RecurringInvoiceEditPDFScreen: function RecurringInvoiceEditPDFScreen(t0) { this.key = t0; }, RecurringInvoiceEditPDFScreen_build_closure0: function RecurringInvoiceEditPDFScreen_build_closure0() { }, RecurringInvoiceEditPDFScreen_build_closure: function RecurringInvoiceEditPDFScreen_build_closure() { }, RecurringInvoiceEditPDFVM: function RecurringInvoiceEditPDFVM(t0, t1) { this.state = t0; this.invoice = t1; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore(store) { var t2, t3, recurringInvoice, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.recurringInvoiceUIState; recurringInvoice = t3.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].recurringInvoiceState.map._map$_map.$index(0, recurringInvoice.id); return new A.RecurringInvoiceEditVM(t1, recurringInvoice, t3.editingItemIndex, new A.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure(store, t1), new A.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure0(store, recurringInvoice), new A.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure1(t1, store), new A.RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure2(store, recurringInvoice)); }, 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; _.invoice = t1; _.invoiceItemIndex = t2; _.onSavePressed = t3; _.onItemsAdded = t4; _.onCancelPressed = t5; _.onUploadDocuments = t6; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure(t0, t1) { this.store = t0; this.state = t1; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure1: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure1(t0, t1, t2) { this.store = t0; this.action = t1; this.state = t2; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure0: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure0(t0) { this.localization = t0; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure1: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure1(t0, t1, t2, t3, t4, t5) { var _ = this; _.recurringInvoice = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; _.action = t5; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure2: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure2() { }, 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; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure2: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore_closure2(t0, t1) { this.store = t0; this.recurringInvoice = t1; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure(t0) { this.context = t0; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure0: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore__closure0(t0) { this.context = t0; }, RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure: function RecurringInvoiceEditVM_RecurringInvoiceEditVM$fromStore___closure(t0) { this.error = t0; }, RecurringInvoiceListItem: function RecurringInvoiceListItem(t0, t1, t2) { this.invoice = t0; this.filter = t1; this.key = t2; }, RecurringInvoiceListItem_build_closure: function RecurringInvoiceListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { 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; _.statusLabel = t11; _.statusColor = t12; }, RecurringInvoiceListItem_build__closure2: function RecurringInvoiceListItem_build__closure2(t0) { this.$this = t0; }, RecurringInvoiceListItem_build__closure1: function RecurringInvoiceListItem_build__closure1(t0) { this.$this = t0; }, RecurringInvoiceListItem_build__closure: function RecurringInvoiceListItem_build__closure() { }, RecurringInvoiceListItem_build__closure0: function RecurringInvoiceListItem_build__closure0(t0) { this.$this = t0; }, RecurringInvoiceListItem_build__closure5: function RecurringInvoiceListItem_build__closure5(t0) { this.$this = t0; }, RecurringInvoiceListItem_build__closure4: function RecurringInvoiceListItem_build__closure4(t0) { this.$this = t0; }, RecurringInvoiceListItem_build__closure3: function RecurringInvoiceListItem_build__closure3() { }, RecurringInvoiceListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredRecurringInvoiceList(); t3 = t1.getUISelection$1(B.EntityType_recurringInvoice); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.recurringInvoiceState; t5 = t5.recurringInvoiceUIState.listUIState; t7 = t2.call$7(t3, t8.map, t7.clientState.map, t7.vendorState.map, t8.list, t5, t7.userState.map); t6 = t4[t6]; t4 = t6.recurringInvoiceState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_recurringInvoice); t2 = t6 == null ? A._setArrayType(["status", "number", "client", "amount", "remaining_cycles", "next_send_date", "frequency", "due_date_days", "auto_bill"], type$.JSArray_String) : t6; return new A.RecurringInvoiceListVM(t1, t7, t4.map, t5.filter, new A.RecurringInvoiceListVM_fromStore_closure(new A.RecurringInvoiceListVM_fromStore__handleRefresh(store)), t2, new A.RecurringInvoiceListVM_fromStore_closure0(store), new A.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; }, RecurringInvoicePdfScreen: function RecurringInvoicePdfScreen(t0) { this.key = t0; }, RecurringInvoicePdfScreen_build_closure0: function RecurringInvoicePdfScreen_build_closure0() { }, RecurringInvoicePdfScreen_build_closure: function RecurringInvoicePdfScreen_build_closure(t0) { this.$this = t0; }, RecurringInvoicePdfVM: function RecurringInvoicePdfVM(t0, t1, t2) { this.state = t0; this.invoice = t1; this.activityId = t2; }, RecurringInvoicePresenter: function RecurringInvoicePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, RecurringInvoiceScreen: function RecurringInvoiceScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, RecurringInvoiceScreen_build_closure: function RecurringInvoiceScreen_build_closure(t0) { this.localization = t0; }, RecurringInvoiceScreen_build_closure0: function RecurringInvoiceScreen_build_closure0(t0) { this.localization = t0; }, RecurringInvoiceScreen_build_closure1: function RecurringInvoiceScreen_build_closure1(t0) { this.localization = t0; }, RecurringInvoiceScreen_build_closure2: function RecurringInvoiceScreen_build_closure2(t0) { this.localization = t0; }, RecurringInvoiceScreen_build_closure3: function RecurringInvoiceScreen_build_closure3(t0) { this.localization = t0; }, RecurringInvoiceScreen_build_closure17: function RecurringInvoiceScreen_build_closure17(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure13: function RecurringInvoiceScreen_build_closure13(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure14: function RecurringInvoiceScreen_build_closure14(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure15: function RecurringInvoiceScreen_build_closure15(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure16: function RecurringInvoiceScreen_build_closure16(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure9: function RecurringInvoiceScreen_build_closure9(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure11: function RecurringInvoiceScreen_build_closure11(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure10: function RecurringInvoiceScreen_build_closure10(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure4: function RecurringInvoiceScreen_build_closure4(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure5: function RecurringInvoiceScreen_build_closure5(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure6: function RecurringInvoiceScreen_build_closure6(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure7: function RecurringInvoiceScreen_build_closure7(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure8: function RecurringInvoiceScreen_build_closure8(t0) { this.store = t0; }, RecurringInvoiceScreen_build_closure12: function RecurringInvoiceScreen_build_closure12(t0) { this.context = t0; }, RecurringInvoiceScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredRecurringInvoiceList(); t3 = t1.getUISelection$1(B.EntityType_recurringInvoice); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.recurringInvoiceState; return new A.RecurringInvoiceScreenVM(t2.call$7(t3, t5.map, t4.clientState.map, t4.vendorState.map, t5.list, t1.recurringInvoiceUIState.listUIState, t4.userState.map)); }, RecurringInvoiceScreenBuilder: function RecurringInvoiceScreenBuilder(t0) { this.key = t0; }, RecurringInvoiceScreenBuilder_build_closure: function RecurringInvoiceScreenBuilder_build_closure() { }, RecurringInvoiceScreenVM: function RecurringInvoiceScreenVM(t0) { this.recurringInvoiceList = t0; }, RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore(store) { var t2, t3, t4, invoice, t5, client, _null = null, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.recurringInvoiceUIState.selectedId; invoice = t2[t4].recurringInvoiceState.map._map$_map.$index(0, t3); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, t3, _null, _null, _null); t3 = store.__Store__state_A; t5 = invoice.clientId; client = t3.userCompanyStates._list$_list[t3.uiState.selectedCompanyIndex].clientState.map._map$_map.$index(0, t5); if (client == null) client = A.ClientEntity_ClientEntity(_null, t5, _null, _null); t2 = t2[t4].userCompany; invoice.get$isNew(); return new A.RecurringInvoiceViewVM(t1, t2.company, invoice, client, new A.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure(invoice), new A.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure0(new A.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__handleRefresh(store, invoice)), new A.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure1(store, invoice), _null, new A.RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore_closure2(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) { var _ = this; _.state = t0; _.company = t1; _.invoice = t2; _.client = t3; _.onEditPressed = t4; _.onRefreshed = t5; _.onUploadDocuments = t6; _.onViewExpense = t7; _.onViewPdf = t8; }, 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__closure: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure(t0) { this.context = t0; }, RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure0: function RecurringInvoiceViewVM_RecurringInvoiceViewVM$fromStore__closure0(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) { this.store = t0; }, clientReport(userCompany, reportsUIState, clientMap, userMap, groupMap, staticState) { var clientReportSettings, defaultColumns, t2, t3, columns, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, currencyId, t17, t18, t19, t20, t21, t22, contact, t23, row, t24, currencyId0, exchangeRate, t25, value, t26, t27, value0, value1, t28, t29, t30, value2, t31, value3, t32, value4, t33, value5, t34, value6, t35, t36, t37, t38, t39, t40, t41, value7, value8, value9, value10, t42, t43, t44, value11, value12, value13, value14, t45, value15, value16, value17, value18, value19, t46, value20, value21, value22, value23, value24, t47, t48, t49, t50, t51, t52, value25, value26, value27, t53, value28, value29, t54, t55, t56, t57, skip, t58, value30, t59, t60, scope, currencyId1, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "client")) { t1 = t1.$index(0, "client"); t1.toString; clientReportSettings = t1; } else clientReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_ClientReportFields; defaultColumns = A._setArrayType([B.ClientReportFields_1, B.ClientReportFields_45, B.ClientReportFields_40, B.ClientReportFields_41, B.ClientReportFields_4, B.ClientReportFields_29, B.ClientReportFields_32, B.ClientReportFields_16, B.ClientReportFields_54], t1); t2 = clientReportSettings.columns._list$_list; t3 = type$.ClientReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.clientReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,ClientReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = clientMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = userCompany.company, t10 = userMap._map$_map, t11 = staticState.countryMap._map$_map, t12 = staticState.sizeMap._map$_map, t13 = staticState.industryMap._map$_map, t14 = staticState.currencyMap, t15 = t14._map$_map, t16 = groupMap._map$_map, currencyId = t9.settings.currencyId, t17 = type$.JSArray_ReportElement, t18 = clientMap._map$_map, t19 = !t9.reportIncludeDeleted, t20 = staticState.languageMap._map$_map, t21 = currencyId == null; t2.moveNext$0();) { t22 = t18.$index(0, t2.__js_helper$_current); t22.toString; contact = t22.get$primaryContact(); t23 = t22.isDeleted; t23.toString; if (t23 && t19) continue; row = A._setArrayType([], t17); t24 = t22.settings; currencyId0 = t24.currencyId; exchangeRate = A.getExchangeRate(t14, currencyId0, t21 ? "1" : currencyId); for (t25 = new J.ArrayIterator(t3, t3.length, t5), value = t22.id, t26 = t22.archivedAt > 0, t27 = t22.classification, value0 = t22.isTaxExempt, value1 = t22.routingId, t28 = t22.documents._list$_list, t29 = t22.createdAt, t30 = t22.updatedAt, value2 = t22.paidToDate, t31 = value2 * exchangeRate, value3 = t22.paymentBalance, t32 = value3 * exchangeRate, value4 = t22.creditBalance, t33 = value4 * exchangeRate, value5 = t22.balance, t34 = value5 * exchangeRate, value6 = value5 + value2, t35 = value6 * exchangeRate, t36 = contact.lastLogin, t37 = t22.lastLogin, t38 = contact.customValue4, t39 = contact.customValue3, t40 = contact.customValue2, t41 = contact.customValue1, value7 = contact.phone, value8 = contact.email, value9 = contact.lastName, value10 = contact.firstName, t42 = value10 + " " + value9, t43 = t22.createdUserId, t44 = t22.assignedUserId, value11 = t22.vatNumber, value12 = t22.idNumber, value13 = t22.number, value14 = t22.phone, t45 = t22.shippingCountryId, value15 = t22.shippingPostalCode, value16 = t22.shippingState, value17 = t22.shippingCity, value18 = t22.shippingAddress2, value19 = t22.shippingAddress1, t46 = t22.countryId, value20 = t22.postalCode, value21 = t22.state, value22 = t22.city, value23 = t22.address2, value24 = t22.address1, t47 = t22.customValue4, t48 = t22.customValue3, t49 = t22.customValue2, t50 = t22.customValue1, t51 = t22.sizeId, t52 = t22.industryId, value25 = t22.publicNotes, value26 = t22.privateNotes, t24 = t24.languageId, value27 = t22.website, t53 = t22.groupId, value28 = t22.displayName, value29 = !t23, t23 = t29 * 1000, t29 = t29 === 0, t54 = t30 * 1000, t30 = t30 === 0, t55 = t36 * 1000, t36 = t36 === 0, t56 = t37 * 1000, t37 = t37 === 0, t57 = t24 == null, skip = false; t25.moveNext$0();) { t58 = t25.__interceptors$_current; if (t58 == null) t58 = t6._as(t58); switch (t58.index) { case 0: value30 = value; break; case 1: value30 = value28; break; case 2: t59 = t16.$index(0, t53); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 3: value30 = value27; break; case 4: t59 = t15.$index(0, currencyId0); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 5: t59 = t20.$index(0, t57 ? "1" : t24); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 6: value30 = value26; break; case 7: value30 = value25; break; case 8: t59 = t13.$index(0, t52); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 9: t59 = t12.$index(0, t51); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 23: value30 = A.presentCustomField(t9, "client1", t50); break; case 24: value30 = A.presentCustomField(t9, "client2", t49); break; case 25: value30 = A.presentCustomField(t9, "client3", t48); break; case 26: value30 = A.presentCustomField(t9, "client4", t47); break; case 10: value30 = value24; break; case 11: value30 = value23; break; case 12: value30 = value22; break; case 13: value30 = value21; break; case 14: value30 = value20; break; case 16: t59 = t11.$index(0, t46); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 17: value30 = value19; break; case 18: value30 = value18; break; case 19: value30 = value17; break; case 20: value30 = value16; break; case 21: value30 = value15; break; case 22: t59 = t11.$index(0, t45); value30 = t59 == null ? _null : t59.name; if (value30 == null) value30 = ""; break; case 15: value30 = value14; break; case 39: value30 = value13; break; case 40: value30 = value12; break; case 41: value30 = value11; break; case 28: t59 = t10.$index(0, t44); if (t59 == null) value30 = _null; else { t60 = B.JSString_methods.trim$0(t59.firstName + " " + t59.lastName); t59 = t60.length !== 0 ? t60 : t59.email; value30 = t59; } if (value30 == null) value30 = ""; break; case 27: t59 = t10.$index(0, t43); if (t59 == null) value30 = _null; else { t60 = B.JSString_methods.trim$0(t59.firstName + " " + t59.lastName); t59 = t60.length !== 0 ? t60 : t59.email; value30 = t59; } if (value30 == null) value30 = ""; break; case 42: value30 = B.JSString_methods.trim$0(t42); break; case 43: value30 = value10; break; case 44: value30 = value9; break; case 45: value30 = value8; break; case 46: value30 = value7; break; case 47: value30 = A.presentCustomField(t9, "contact1", t41); break; case 48: value30 = A.presentCustomField(t9, "contact2", t40); break; case 49: value30 = A.presentCustomField(t9, "contact3", t39); break; case 50: value30 = A.presentCustomField(t9, "contact4", t38); break; case 51: if (t37) value30 = ""; else { t59 = new A.DateTime(t56, true); t59.DateTime$_withValue$2$isUtc(t56, true); value30 = t59.toIso8601String$0(); } break; case 52: if (t36) value30 = ""; else { t59 = new A.DateTime(t55, true); t59.DateTime$_withValue$2$isUtc(t55, true); value30 = t59.toIso8601String$0(); } break; case 33: value30 = value6; break; case 29: value30 = value5; break; case 30: value30 = value4; break; case 31: value30 = value3; break; case 32: value30 = value2; break; case 38: value30 = A.round(t35, 2); break; case 34: value30 = A.round(t34, 2); break; case 36: value30 = A.round(t33, 2); break; case 35: value30 = A.round(t32, 2); break; case 37: value30 = A.round(t31, 2); break; case 53: value30 = !(t26 && value29) && value29; break; case 55: if (t30) value30 = ""; else { t59 = new A.DateTime(t54, true); t59.DateTime$_withValue$2$isUtc(t54, true); value30 = t59.toIso8601String$0(); } break; case 54: if (t29) value30 = ""; else { t59 = new A.DateTime(t23, true); t59.DateTime$_withValue$2$isUtc(t23, true); value30 = t59.toIso8601String$0(); } break; case 56: value30 = t28.length; break; case 57: value30 = value1; break; case 58: value30 = value0; break; case 59: t59 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t59).dependOnInheritedWidgetOfExactType$1$0(t8); value30 = (scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD))).lookup$1(t27); break; case 60: t59 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t59).dependOnInheritedWidgetOfExactType$1$0(t8); t59 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t59.toString; if (t22.get$isActive()) t60 = "active"; else t60 = t26 && value29 ? "archived" : "deleted"; value30 = t59.lookup$1(t60); break; default: value30 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t58), _null, reportsUIState, userCompany, value30)) skip = true; t59 = J.getInterceptor$(value30); if (t59.get$runtimeType(value30) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value30, t22.get$entityType(), value)); else if (t58 === B.ClientReportFields_56) row.push(new A.ReportIntValue(value30, t22.get$entityType(), value)); else if (t59.get$runtimeType(value30) === B.Type_double_K1J || t59.get$runtimeType(value30) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.ClientReportFields_34, B.ClientReportFields_36, B.ClientReportFields_37, B.ClientReportFields_38], t1), t58)) currencyId1 = t21 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value30, _null, currencyId1, t22.get$entityType(), value)); } else row.push(new A.ReportStringValue(A.S(value30), t22.get$entityType(), value)); } if (!skip) { data.push(row); entities.push(t22); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.clientReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.clientReport_closure1(clientReportSettings, selectedColumns)); t1 = type$.MappedListIterable_ClientReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_uhc, new A.clientReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.clientReport_closure3(), t1), true, t3), data, entities, true); }, ClientReportFields: function ClientReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedClientReport_closure: function memoizedClientReport_closure() { }, clientReport_closure: function clientReport_closure() { }, clientReport_closure0: function clientReport_closure0() { }, clientReport_closure1: function clientReport_closure1(t0, t1) { this.clientReportSettings = t0; this.selectedColumns = t1; }, clientReport_closure2: function clientReport_closure2() { }, clientReport_closure3: function clientReport_closure3() { }, contactReport(userCompany, reportsUIState, clientMap, userMap, staticState) { var clientReportSettings, defaultColumns, t2, t3, columns, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, currencyId, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, value, value0, value1, value2, t29, t30, value3, value4, value5, value6, t31, value7, value8, value9, value10, value11, t32, value12, value13, value14, value15, value16, t33, t34, t35, t36, t37, t38, value17, value18, t39, t40, currencyId0, value19, value20, value21, t41, t42, row, exchangeRate, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, value22, value23, value24, value25, t54, value26, skip, t55, value27, t56, t57, scope, currencyId1, selectedColumns, _null = null, _s14_ = "client_contact", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s14_)) { t1 = t1.$index(0, _s14_); t1.toString; clientReportSettings = t1; } else clientReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_ContactReportFields; defaultColumns = A._setArrayType([B.ContactReportFields_1, B.ContactReportFields_42, B.ContactReportFields_37, B.ContactReportFields_38, B.ContactReportFields_3, B.ContactReportFields_28, B.ContactReportFields_30, B.ContactReportFields_15, B.ContactReportFields_50], t1); t2 = clientReportSettings.columns._list$_list; t3 = type$.ContactReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.contactReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,ContactReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = clientMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = userCompany.company, t10 = userMap._map$_map, t11 = staticState.countryMap._map$_map, t12 = staticState.sizeMap._map$_map, t13 = staticState.industryMap._map$_map, t14 = staticState.currencyMap, t15 = t14._map$_map, currencyId = t9.settings.currencyId, t16 = type$.JSArray_ReportElement, t17 = clientMap._map$_map, t18 = !t9.reportIncludeDeleted, t19 = staticState.languageMap._map$_map, t20 = currencyId == null; t2.moveNext$0();) { t21 = t17.$index(0, t2.__js_helper$_current); t21.toString; t22 = t21.isDeleted; t22.toString; if (t22 && t18) continue; for (t23 = t21.contacts._list$_list, t24 = A._arrayInstanceType(t23), t23 = new J.ArrayIterator(t23, t23.length, t24._eval$1("ArrayIterator<1>")), t25 = t21.id, t26 = t21.archivedAt > 0, t27 = t21.createdAt, t28 = t21.updatedAt, value = t21.paidToDate, value0 = t21.creditBalance, value1 = t21.balance, value2 = value1 + value, t29 = t21.createdUserId, t30 = t21.assignedUserId, value3 = t21.vatNumber, value4 = t21.idNumber, value5 = t21.number, value6 = t21.phone, t31 = t21.shippingCountryId, value7 = t21.shippingPostalCode, value8 = t21.shippingState, value9 = t21.shippingCity, value10 = t21.shippingAddress2, value11 = t21.shippingAddress1, t32 = t21.countryId, value12 = t21.postalCode, value13 = t21.state, value14 = t21.city, value15 = t21.address2, value16 = t21.address1, t33 = t21.customValue4, t34 = t21.customValue3, t35 = t21.customValue2, t36 = t21.customValue1, t37 = t21.sizeId, t38 = t21.industryId, value17 = t21.publicNotes, value18 = t21.privateNotes, t39 = t21.settings, t40 = t39.languageId, currencyId0 = t39.currencyId, value19 = t21.website, value20 = t21.displayName, t24 = t24._precomputed1, value21 = !t22, t22 = t27 * 1000, t27 = t27 === 0, t39 = t28 * 1000, t28 = t28 === 0, t41 = t40 == null; t23.moveNext$0();) { t42 = t23.__interceptors$_current; if (t42 == null) t42 = t24._as(t42); row = A._setArrayType([], t16); exchangeRate = A.getExchangeRate(t14, currencyId0, t20 ? "1" : currencyId); for (t43 = new J.ArrayIterator(t3, t3.length, t5), t44 = t42.isPrimary, t45 = value * exchangeRate, t46 = value0 * exchangeRate, t47 = value1 * exchangeRate, t48 = value2 * exchangeRate, t49 = t42.lastLogin, t50 = t42.customValue4, t51 = t42.customValue3, t52 = t42.customValue2, t53 = t42.customValue1, value22 = t42.phone, value23 = t42.email, value24 = t42.lastName, value25 = t42.firstName, t54 = value25 + " " + value24, value26 = t42.id, t42 = t49 * 1000, t49 = t49 === 0, skip = false; t43.moveNext$0();) { t55 = t43.__interceptors$_current; if (t55 == null) t55 = t6._as(t55); switch (t55.index) { case 0: value27 = value26; break; case 1: value27 = value20; break; case 2: value27 = value19; break; case 3: t56 = t15.$index(0, currencyId0); value27 = t56 == null ? _null : t56.name; if (value27 == null) value27 = ""; break; case 4: t56 = t19.$index(0, t41 ? "1" : t40); value27 = t56 == null ? _null : t56.name; if (value27 == null) value27 = ""; break; case 5: value27 = value18; break; case 6: value27 = value17; break; case 7: t56 = t13.$index(0, t38); value27 = t56 == null ? _null : t56.name; if (value27 == null) value27 = ""; break; case 8: t56 = t12.$index(0, t37); value27 = t56 == null ? _null : t56.name; if (value27 == null) value27 = ""; break; case 22: value27 = A.presentCustomField(t9, "client1", t36); break; case 23: value27 = A.presentCustomField(t9, "client2", t35); break; case 24: value27 = A.presentCustomField(t9, "client3", t34); break; case 25: value27 = A.presentCustomField(t9, "client4", t33); break; case 9: value27 = value16; break; case 10: value27 = value15; break; case 11: value27 = value14; break; case 12: value27 = value13; break; case 13: value27 = value12; break; case 15: t56 = t11.$index(0, t32); value27 = t56 == null ? _null : t56.name; if (value27 == null) value27 = ""; break; case 16: value27 = value11; break; case 17: value27 = value10; break; case 18: value27 = value9; break; case 19: value27 = value8; break; case 20: value27 = value7; break; case 21: t56 = t11.$index(0, t31); value27 = t56 == null ? _null : t56.name; if (value27 == null) value27 = ""; break; case 14: value27 = value6; break; case 36: value27 = value5; break; case 37: value27 = value4; break; case 38: value27 = value3; break; case 27: t56 = t10.$index(0, t30); if (t56 == null) value27 = _null; else { t57 = B.JSString_methods.trim$0(t56.firstName + " " + t56.lastName); t56 = t57.length !== 0 ? t57 : t56.email; value27 = t56; } if (value27 == null) value27 = ""; break; case 26: t56 = t10.$index(0, t29); if (t56 == null) value27 = _null; else { t57 = B.JSString_methods.trim$0(t56.firstName + " " + t56.lastName); t56 = t57.length !== 0 ? t57 : t56.email; value27 = t56; } if (value27 == null) value27 = ""; break; case 39: value27 = B.JSString_methods.trim$0(t54); break; case 40: value27 = value25; break; case 41: value27 = value24; break; case 42: value27 = value23; break; case 43: value27 = value22; break; case 44: value27 = A.presentCustomField(t9, "contact1", t53); break; case 45: value27 = A.presentCustomField(t9, "contact2", t52); break; case 46: value27 = A.presentCustomField(t9, "contact3", t51); break; case 47: value27 = A.presentCustomField(t9, "contact4", t50); break; case 48: if (t49) value27 = ""; else { t56 = new A.DateTime(t42, true); t56.DateTime$_withValue$2$isUtc(t42, true); value27 = t56.toIso8601String$0(); } break; case 31: value27 = t44 ? value2 : 0; break; case 28: value27 = t44 ? value1 : 0; break; case 29: value27 = t44 ? value0 : 0; break; case 30: value27 = t44 ? value : 0; break; case 35: value27 = t44 ? A.round(t48, 2) : 0; break; case 32: value27 = t44 ? A.round(t47, 2) : 0; break; case 33: value27 = t44 ? A.round(t46, 2) : 0; break; case 34: value27 = t44 ? A.round(t45, 2) : 0; break; case 49: value27 = !(t26 && value21) && value21; break; case 51: if (t28) value27 = ""; else { t56 = new A.DateTime(t39, true); t56.DateTime$_withValue$2$isUtc(t39, true); value27 = t56.toIso8601String$0(); } break; case 50: if (t27) value27 = ""; else { t56 = new A.DateTime(t22, true); t56.DateTime$_withValue$2$isUtc(t22, true); value27 = t56.toIso8601String$0(); } break; case 52: t56 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t56).dependOnInheritedWidgetOfExactType$1$0(t8); t56 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t56.toString; if (t21.get$isActive()) t57 = "active"; else t57 = t26 && value21 ? "archived" : "deleted"; value27 = t56.lookup$1(t57); break; default: value27 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t55), _null, reportsUIState, userCompany, value27)) skip = true; t56 = J.getInterceptor$(value27); if (t56.get$runtimeType(value27) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value27, t21.get$entityType(), t25)); else if (t56.get$runtimeType(value27) === B.Type_double_K1J || t56.get$runtimeType(value27) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.ContactReportFields_32, B.ContactReportFields_33, B.ContactReportFields_34, B.ContactReportFields_35], t1), t55)) currencyId1 = t20 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value27, _null, currencyId1, t21.get$entityType(), t25)); } else row.push(new A.ReportStringValue(A.S(value27), t21.get$entityType(), t25)); } if (!skip) data.push(row); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.contactReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.contactReport_closure1(clientReportSettings, selectedColumns)); t1 = type$.MappedListIterable_ContactReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_yzJ1, new A.contactReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.contactReport_closure3(), t1), true, t3), data, _null, true); }, ContactReportFields: function ContactReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedContactReport_closure: function memoizedContactReport_closure() { }, contactReport_closure: function contactReport_closure() { }, contactReport_closure0: function contactReport_closure0() { }, contactReport_closure1: function contactReport_closure1(t0, t1) { this.clientReportSettings = t0; this.selectedColumns = t1; }, contactReport_closure2: function contactReport_closure2() { }, contactReport_closure3: function contactReport_closure3() { }, lineItemReport1(userCompany, reportsUIState, productMap, creditMap, clientMap, staticState) { var lineItemReportSettings, defaultColumns, t2, columns, productKeyMap, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, credit, client, t16, t17, precision, t18, t19, t20, t21, t22, value, value0, t23, value1, value2, value3, value4, t24, t25, row, t26, value5, value6, value7, value8, value9, value10, value11, cost, t27, value12, value13, skip, t28, productId, value14, cost0, t29, scope, t30, selectedColumns, _null = null, _s11_ = "credit_item", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s11_)) { t1 = t1.$index(0, _s11_); t1.toString; lineItemReportSettings = t1; } else lineItemReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.CreditItemReportFields_13, B.CreditItemReportFields_14, B.CreditItemReportFields_0, B.CreditItemReportFields_4, B.CreditItemReportFields_2], type$.JSArray_CreditItemReportFields); t1 = lineItemReportSettings.columns._list$_list; t2 = type$.CreditItemReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.lineItemReport_closure11(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,CreditItemReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); t1 = type$.String; productKeyMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = productMap._map$_map, t2 = t1.get$entries(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2).value; productKeyMap.$indexSet(0, t3.productKey, t3.id); } for (t2 = creditMap._map$_map, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.currencyMap._map$_map, t10 = userCompany.company, t11 = t10.settings.currencyId, t12 = type$.JSArray_ReportElement, t13 = !t10.reportIncludeDrafts, t14 = clientMap._map$_map, t10 = !t10.reportIncludeDeleted, t15 = t11 == null; t2.moveNext$0();) { credit = t2.get$current(t2).value; client = t14.$index(0, credit.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t16 = client.settings.currencyId; t17 = t9.$index(0, t16); precision = t17 == null ? _null : t17.precision; if (precision == null) precision = 2; t17 = credit.isDeleted; t17.toString; if (!(t17 && t10)) { t18 = client.isDeleted; t18.toString; } else t18 = true; if (t18) continue; if (t13 && credit.statusId === "1") continue; for (t18 = credit.lineItems._list$_list, t19 = A._arrayInstanceType(t18), t18 = new J.ArrayIterator(t18, t18.length, t19._eval$1("ArrayIterator<1>")), t20 = credit.id, t21 = credit.entityType, t22 = credit.archivedAt > 0, value = client.idNumber, value0 = client.number, t23 = credit.usesInclusiveTaxes, value1 = credit.dueDate, value2 = client.displayName, value3 = credit.date, value4 = credit.number, t24 = credit.exchangeRate, t19 = t19._precomputed1, t17 = !t17; t18.moveNext$0();) { t25 = t18.__interceptors$_current; if (t25 == null) t25 = t19._as(t25); row = A._setArrayType([], t12); for (t26 = new J.ArrayIterator(t3, t3.length, t5), value5 = t25.productKey, value6 = t25.discount, value7 = t25.notes, value8 = t25.customValue4, value9 = t25.customValue3, value10 = t25.customValue2, value11 = t25.customValue1, cost = t25.productCost, t27 = cost !== 0, value12 = t25.quantity, value13 = t25.cost, skip = false; t26.moveNext$0();) { t28 = t26.__interceptors$_current; if (t28 == null) t28 = t6._as(t28); productId = productKeyMap.$index(0, value5); switch (t28.index) { case 2: value14 = value13; break; case 4: value14 = value12; break; case 3: if (t27) value14 = cost; else value14 = productId == null ? 0 : t1.$index(0, productId).cost; break; case 5: case 6: if (t27) cost0 = cost; else cost0 = productId == null ? 0 : t1.$index(0, productId).cost; value14 = (t25.total$2(0, credit, precision) - t25.taxAmount$2(credit, precision)) / t24 - cost0; if (t28 === B.CreditItemReportFields_6 && cost0 !== 0) value14 = A.S(A.round(value14 / cost0 * 100, 2)) + "%"; break; case 9: value14 = value11; break; case 10: value14 = value10; break; case 11: value14 = value9; break; case 12: value14 = value8; break; case 1: value14 = value7; break; case 7: value14 = t23 ? t25.total$2(0, credit, precision) : t25.total$2(0, credit, precision) + t25.taxAmount$2(credit, precision); break; case 0: value14 = value5; break; case 8: value14 = value6; break; case 13: value14 = value4; break; case 14: value14 = value3; break; case 15: value14 = value2; break; case 16: value14 = client.get$primaryContact().email; break; case 19: value14 = value1; break; case 20: value14 = t25.get$hasTaxes(); break; case 21: value14 = t25.get$taxRates(); break; case 22: value14 = t25.get$taxNames(); break; case 23: value14 = t25.taxAmount$2(credit, precision); break; case 24: value14 = t23 ? t25.total$2(0, credit, precision) - t25.taxAmount$2(credit, precision) : t25.total$2(0, credit, precision); break; case 25: t29 = t9.$index(0, t16); value14 = t29 == null ? _null : t29.name; if (value14 == null) value14 = ""; break; case 17: value14 = value0; break; case 18: value14 = value; break; case 26: t29 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t29).dependOnInheritedWidgetOfExactType$1$0(t8); t29 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t29.toString; if (credit.get$isActive()) t30 = "active"; else t30 = t22 && t17 ? "archived" : "deleted"; value14 = t29.lookup$1(t30); break; default: value14 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t28), _null, reportsUIState, userCompany, value14)) skip = true; t29 = J.getInterceptor$(value14); if (t29.get$runtimeType(value14) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value14, t21, t20)); else if (t29.get$runtimeType(value14) === B.Type_double_K1J || t29.get$runtimeType(value14) === B.Type_int_tHn) { if (t28 === B.CreditItemReportFields_4) t28 = _null; else if (t28 === B.CreditItemReportFields_5 || t28 === B.CreditItemReportFields_3) t28 = t15 ? "1" : t11; else t28 = t16; row.push(new A.ReportNumberValue(value14, _null, t28, t21, t20)); } else row.push(new A.ReportStringValue(value14, t21, t20)); } if (!skip) data.push(row); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.lineItemReport_closure12(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.lineItemReport_closure13(lineItemReportSettings, selectedColumns)); t1 = type$.MappedIterable_CreditItemReportFields_String; t3 = type$.MappedListIterable_CreditItemReportFields_String; return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedIterable(new A.WhereIterable(B.List_eEX, new A.lineItemReport_closure14(userCompany), type$.WhereIterable_CreditItemReportFields), new A.lineItemReport_closure15(), t1), true, t1._eval$1("Iterable.E")), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.lineItemReport_closure16(), t3), true, t3._eval$1("ListIterable.E")), data, _null, true); }, CreditItemReportFields: function CreditItemReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedCreditItemReport_closure: function memoizedCreditItemReport_closure() { }, lineItemReport_closure11: function lineItemReport_closure11() { }, lineItemReport_closure12: function lineItemReport_closure12() { }, lineItemReport_closure13: function lineItemReport_closure13(t0, t1) { this.lineItemReportSettings = t0; this.selectedColumns = t1; }, lineItemReport_closure14: function lineItemReport_closure14(t0) { this.userCompany = t0; }, lineItemReport_closure15: function lineItemReport_closure15() { }, lineItemReport_closure16: function lineItemReport_closure16() { }, creditReport(userCompany, reportsUIState, creditMap, clientMap, userMap, staticState) { var creditReportSettings, defaultColumns, t2, t3, columns, t4, t5, t6, t7, t8, t9, t10, t11, t12, currencyId, t13, t14, t15, t16, t17, t18, t19, client, t20, contact, t21, row, value, t22, t23, value0, value1, t24, value2, value3, value4, value5, value6, value7, t25, value8, value9, t26, t27, currencyId0, value10, value11, value12, value13, value14, value15, value16, value17, value18, value19, t28, value20, value21, value22, t29, value23, value24, value25, value26, t30, t31, t32, t33, value27, value28, value29, value30, value31, value32, value33, value34, value35, value36, value37, value38, value39, value40, value41, t34, t35, t36, t37, skip, t38, value42, t39, t40, scope, currencyId1, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "credit")) { t1 = t1.$index(0, "credit"); t1.toString; creditReportSettings = t1; } else creditReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_CreditReportFields; defaultColumns = A._setArrayType([B.CreditReportFields_20, B.CreditReportFields_1, B.CreditReportFields_2, B.CreditReportFields_23, B.CreditReportFields_24, B.CreditReportFields_5], t1); t2 = creditReportSettings.columns._list$_list; t3 = type$.CreditReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.creditReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,CreditReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = creditMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.countryMap._map$_map, t10 = userMap._map$_map, t11 = staticState.currencyMap._map$_map, t12 = userCompany.company, currencyId = t12.settings.currencyId, t13 = type$.JSArray_ReportElement, t14 = !t12.reportIncludeDrafts, t15 = creditMap._map$_map, t16 = clientMap._map$_map, t17 = !t12.reportIncludeDeleted, t18 = currencyId == null; t2.moveNext$0();) { t19 = t15.$index(0, t2.__js_helper$_current); t19.toString; client = t16.$index(0, t19.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t20 = t19.invitations._list$_list; if (t20.length === 0) continue; contact = client.getContact$1(B.JSArray_methods.get$first(t20).clientContactId); t20 = t19.isDeleted; t20.toString; if (!(t20 && t17)) { t21 = client.isDeleted; t21.toString; } else t21 = true; if (t21) continue; if (t14 && t19.statusId === "1") continue; row = A._setArrayType([], t13); for (t21 = new J.ArrayIterator(t3, t3.length, t5), value = t19.id, t22 = t19.entityType, t23 = t19.archivedAt > 0, value0 = client.idNumber, value1 = client.number, t24 = client.shippingCountryId, value2 = client.shippingPostalCode, value3 = client.shippingState, value4 = client.shippingCity, value5 = client.state, value6 = client.website, value7 = contact.phone, t25 = contact.firstName + " " + contact.lastName, value8 = contact.email, value9 = client.phone, t26 = t19.createdUserId, t27 = t19.assignedUserId, currencyId0 = client.settings.currencyId, value10 = client.city, value11 = t19.privateNotes, value12 = t19.publicNotes, value13 = t19.taxRate1, value14 = t19.taxName1, value15 = t19.taxRate2, value16 = t19.taxName2, value17 = client.vatNumber, value18 = client.postalCode, value19 = t19.exchangeRate, t28 = client.countryId, value20 = t19.amount, value21 = t19.taxAmount, value22 = value20 - value21, t29 = t19.createdAt, value23 = t19.customSurcharge4, value24 = t19.customSurcharge3, value25 = t19.customSurcharge2, value26 = t19.customSurcharge1, t30 = t19.customValue4, t31 = t19.customValue3, t32 = t19.customValue2, t33 = t19.customValue1, value27 = t19.autoBill, value28 = t19.partialDueDate, value29 = t19.partial, value30 = t19.dueDate, value31 = t19.date, value32 = t19.poNumber, value33 = t19.discount, value34 = t19.number, value35 = client.shippingAddress2, value36 = client.shippingAddress1, value37 = client.address2, value38 = client.address1, value39 = client.balance, value40 = client.displayName, value41 = t19.balance, t34 = value41 / value19, t35 = value20 / value19, t36 = !t20, t37 = t29 * 1000, t29 = t29 === 0, skip = false; t21.moveNext$0();) { t38 = t21.__interceptors$_current; if (t38 == null) t38 = t6._as(t38); switch (t38.index) { case 0: value42 = value; break; case 1: value42 = value20; break; case 2: value42 = value41; break; case 3: value42 = A.round(t35, 2); break; case 4: value42 = A.round(t34, 2); break; case 5: value42 = value40; break; case 8: value42 = value39; break; case 9: value42 = value38; break; case 10: value42 = value37; break; case 12: value42 = value36; break; case 13: value42 = value35; break; case 19: value42 = B.Map_kig78.$index(0, t19.get$calculatedStatusId()); if (value42 == null) value42 = ""; break; case 20: value42 = value34; break; case 21: value42 = value33; break; case 22: value42 = value32; break; case 23: value42 = value31; break; case 24: value42 = value30; break; case 25: value42 = value29; break; case 26: value42 = value28; break; case 27: value42 = value27; break; case 28: value42 = A.presentCustomField(t12, "invoice1", t33); break; case 29: value42 = A.presentCustomField(t12, "invoice2", t32); break; case 30: value42 = A.presentCustomField(t12, "invoice3", t31); break; case 31: value42 = A.presentCustomField(t12, "invoice4", t30); break; case 32: value42 = value26; break; case 33: value42 = value25; break; case 34: value42 = value24; break; case 35: value42 = value23; break; case 36: if (t29) value42 = ""; else { t39 = new A.DateTime(t37, true); t39.DateTime$_withValue$2$isUtc(t37, true); value42 = t39.toIso8601String$0(); } break; case 37: if (t29) value42 = ""; else { t39 = new A.DateTime(t37, true); t39.DateTime$_withValue$2$isUtc(t37, true); value42 = t39.toIso8601String$0(); } break; case 38: value42 = t20; break; case 39: value42 = value21; break; case 40: value42 = value22; break; case 41: value42 = t19.get$netBalance(); break; case 11: t39 = t9.$index(0, t28); value42 = t39 == null ? _null : t39.name; if (value42 == null) value42 = ""; break; case 42: value42 = value19; break; case 47: value42 = value18; break; case 45: value42 = value17; break; case 52: value42 = value14; break; case 49: value42 = value13; break; case 53: value42 = value16; break; case 50: value42 = value15; break; case 54: value42 = value14; break; case 51: value42 = value13; break; case 43: value42 = value12; break; case 44: value42 = value11; break; case 46: value42 = value10; break; case 55: t39 = t11.$index(0, currencyId0); value42 = t39 == null ? _null : t39.name; if (value42 == null) value42 = ""; break; case 56: value42 = t19.get$isViewed(); break; case 57: t39 = t10.$index(0, t27); if (t39 == null) value42 = _null; else { t40 = B.JSString_methods.trim$0(t39.firstName + " " + t39.lastName); t39 = t40.length !== 0 ? t40 : t39.email; value42 = t39; } if (value42 == null) value42 = ""; break; case 58: t39 = t10.$index(0, t26); if (t39 == null) value42 = _null; else { t40 = B.JSString_methods.trim$0(t39.firstName + " " + t39.lastName); t39 = t40.length !== 0 ? t40 : t39.email; value42 = t39; } if (value42 == null) value42 = ""; break; case 59: value42 = value9; break; case 60: value42 = value8; break; case 62: value42 = B.JSString_methods.trim$0(t25); break; case 61: value42 = value7; break; case 48: value42 = value6; break; case 14: value42 = value5; break; case 15: value42 = value4; break; case 16: value42 = value3; break; case 17: value42 = value2; break; case 18: t39 = t9.$index(0, t24); value42 = t39 == null ? _null : t39.name; if (value42 == null) value42 = ""; break; case 6: value42 = value1; break; case 7: value42 = value0; break; case 63: t39 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t39).dependOnInheritedWidgetOfExactType$1$0(t8); t39 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t39.toString; if (t19.get$isActive()) t40 = "active"; else t40 = t23 && t36 ? "archived" : "deleted"; value42 = t39.lookup$1(t40); break; default: value42 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t38), _null, reportsUIState, userCompany, value42)) skip = true; t39 = J.getInterceptor$(value42); if (t39.get$runtimeType(value42) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value42, t22, value)); else if (t39.get$runtimeType(value42) === B.Type_double_K1J || t39.get$runtimeType(value42) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.CreditReportFields_3, B.CreditReportFields_4], t1), t38)) currencyId1 = t18 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value42, _null, currencyId1, t22, value)); } else row.push(new A.ReportStringValue(value42, t22, value)); } if (!skip) { data.push(row); entities.push(t19); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.creditReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.creditReport_closure1(creditReportSettings, selectedColumns)); t1 = type$.MappedListIterable_CreditReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_IjT, new A.creditReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.creditReport_closure3(), t1), true, t3), data, entities, true); }, CreditReportFields: function CreditReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedCreditReport_closure: function memoizedCreditReport_closure() { }, creditReport_closure: function creditReport_closure() { }, creditReport_closure0: function creditReport_closure0() { }, creditReport_closure1: function creditReport_closure1(t0, t1) { this.creditReportSettings = t0; this.selectedColumns = t1; }, creditReport_closure2: function creditReport_closure2() { }, creditReport_closure3: function creditReport_closure3() { }, documentReport(userCompany, reportsUIState, documentMap, userMap) { var t2, t3, documentReportSettings, defaultColumns, t4, selectedColumns, _s8_ = "document", t1 = {}, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity); t1.columns = null; t2 = A.AppLocalization_createLocale(A.defaultLocale())._rawToString$1("_"); t3 = userCompany.settings.reportSettings._map$_map; if (t3.containsKey$1(0, _s8_)) { t3 = t3.$index(0, _s8_); t3.toString; documentReportSettings = t3; } else documentReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(null, null); defaultColumns = A._setArrayType([B.DocumentReportFields_5, B.DocumentReportFields_0, B.DocumentReportFields_4, B.DocumentReportFields_1, B.DocumentReportFields_2, B.DocumentReportFields_3, B.DocumentReportFields_9], type$.JSArray_DocumentReportFields); t3 = documentReportSettings.columns._list$_list; t4 = type$.DocumentReportFields; if (t3.length !== 0) { t3 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t3, new A.documentReport_closure(), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,DocumentReportFields?>")), t4); t1.columns = A.BuiltList_BuiltList$from(A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")), t4); } else t1.columns = A.BuiltList_BuiltList$from(defaultColumns, t4); documentMap.get$values(0).forEach$1(0, new A.documentReport_closure0(t1, userMap, userCompany, reportsUIState, new A.AppLocalization(t2), data, entities)); t1 = t1.columns._list$_list; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t1, new A.documentReport_closure1(), t2), true, t2._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.documentReport_closure2(documentReportSettings, selectedColumns)); t2 = type$.MappedListIterable_DocumentReportFields_String; t1 = t2._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_27O, new A.documentReport_closure3(), t2), true, t1), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.documentReport_closure4(), t2), true, t1), data, entities, false); }, DocumentReportFields: function DocumentReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedDocumentReport_closure: function memoizedDocumentReport_closure() { }, documentReport_closure: function documentReport_closure() { }, documentReport_closure0: function documentReport_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.userMap = t1; _.userCompany = t2; _.reportsUIState = t3; _.localization = t4; _.data = t5; _.entities = t6; }, documentReport_closure1: function documentReport_closure1() { }, documentReport_closure2: function documentReport_closure2(t0, t1) { this.documentReportSettings = t0; this.selectedColumns = t1; }, documentReport_closure3: function documentReport_closure3() { }, documentReport_closure4: function documentReport_closure4() { }, expenseReport(userCompany, reportsUIState, expenseMap, expenseCategoryMap, invoiceMap, clientMap, vendorMap, projectMap, userMap, staticState) { var expenseReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, client, t21, invoice, vendor, project, t22, row, t23, value, t24, t25, t26, t27, t28, value0, t29, t30, t31, value1, value2, t32, t33, t34, t35, t36, t37, t38, value3, value4, t39, value5, t40, t41, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, t42, value17, value18, t43, value19, value20, t44, t45, t46, skip, t47, value21, t48, t49, scope, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "expense")) { t1 = t1.$index(0, "expense"); t1.toString; expenseReportSettings = t1; } else expenseReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.ExpenseReportFields_2, B.ExpenseReportFields_5, B.ExpenseReportFields_13, B.ExpenseReportFields_19, B.ExpenseReportFields_22, B.ExpenseReportFields_28, B.ExpenseReportFields_7], type$.JSArray_ExpenseReportFields); t1 = expenseReportSettings.columns._list$_list; t2 = type$.ExpenseReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.expenseReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ExpenseReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = expenseMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = columns._list$_list, t3 = A._arrayInstanceType(t2), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = userMap._map$_map, t9 = expenseCategoryMap._map$_map, t10 = userCompany.company, t11 = staticState.paymentTypeMap._map$_map, t12 = staticState.currencyMap._map$_map, t13 = type$.JSArray_ReportElement, t14 = projectMap._map$_map, t15 = vendorMap._map$_map, t16 = invoiceMap._map$_map, t17 = expenseMap._map$_map, t18 = clientMap._map$_map, t19 = !t10.reportIncludeDeleted; t1.moveNext$0();) { t20 = t17.$index(0, t1.__js_helper$_current); t20.toString; client = t18.$index(0, t20.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t21 = t20.invoiceId; invoice = t16.$index(0, t21); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); vendor = t15.$index(0, t20.vendorId); if (vendor == null) vendor = A.VendorEntity_VendorEntity(_null, _null, _null); project = t14.$index(0, t20.projectId); if (project == null) project = A.ProjectEntity_ProjectEntity(_null, _null, _null, _null); t22 = t20.isDeleted; t22.toString; if (t22 && t19) continue; row = A._setArrayType([], t13); for (t23 = new J.ArrayIterator(t2, t2.length, t4), value = t20.id, t24 = t20.entityType, t25 = t21 != null, t26 = t20.archivedAt > 0, t27 = t20.exchangeRate, t28 = t27 === 0, value0 = t20.amount, t29 = t20.usesInclusiveTaxes, t30 = t20.createdAt, t31 = t20.updatedAt, value1 = t20.privateNotes, value2 = t20.publicNotes, t32 = t20.createdUserId, t33 = t20.assignedUserId, t34 = t20.categoryId, t35 = t20.customValue4, t36 = t20.customValue3, t37 = t20.customValue2, t38 = t20.customValue1, value3 = project.name, value4 = vendor.displayName, t39 = value4.length !== 0, value5 = invoice.date, t40 = invoice.id, t41 = t40.length !== 0, value6 = invoice.amount, value7 = invoice.number, value8 = client.shippingAddress2, value9 = client.shippingAddress1, value10 = client.address2, value11 = client.address1, value12 = client.balance, value13 = client.displayName, value14 = t20.taxRate3, value15 = t20.taxRate2, value16 = t20.taxRate1, t42 = t20.paymentTypeId, value17 = t20.paymentDate, value18 = t20.date, t43 = t20.currencyId, value19 = t20.transactionReference, value20 = t20.number, t44 = t20.invoiceCurrencyId, t22 = !t22, t45 = t30 * 1000, t30 = t30 === 0, t46 = t31 * 1000, t31 = t31 === 0, skip = false; t23.moveNext$0();) { t47 = t23.__interceptors$_current; if (t47 == null) t47 = t5._as(t47); switch (t47.index) { case 0: value21 = value; break; case 1: value21 = value20; break; case 2: value21 = t29 ? value0 : value0 + (t20.get$calculateTaxAmount1() + t20.get$calculateTaxAmount2() + t20.get$calculateTaxAmount3()); break; case 3: value21 = t29 ? value0 - (t20.get$calculateTaxAmount1() + t20.get$calculateTaxAmount2() + t20.get$calculateTaxAmount3()) : value0; break; case 4: value21 = t20.get$calculateTaxAmount1() + t20.get$calculateTaxAmount2() + t20.get$calculateTaxAmount3(); break; case 5: value21 = value19; break; case 6: t48 = t12.$index(0, t43); value21 = t48 == null ? _null : t48.name; if (value21 == null) value21 = ""; break; case 7: value21 = value18; break; case 8: value21 = value17; break; case 9: t48 = t11.$index(0, t42); value21 = t48 == null ? _null : t48.name; if (value21 == null) value21 = ""; break; case 10: value21 = value16; break; case 11: value21 = value15; break; case 12: value21 = value14; break; case 13: value21 = value13; break; case 14: value21 = value12; break; case 15: value21 = value11; break; case 16: value21 = value10; break; case 17: value21 = value9; break; case 18: value21 = value8; break; case 19: value21 = value7; break; case 20: value21 = value6; break; case 21: if (t41) { t48 = A.Primitives_parseInt(t40, _null); t48 = (t48 == null ? 0 : t48) < 0; } else t48 = true; value21 = t48 ? "" : value5; break; case 22: value21 = t39 ? value4 : vendor.get$calculateDisplayName(); break; case 23: value21 = value3; break; case 24: value21 = A.presentCustomField(t10, "expense1", t38); break; case 25: value21 = A.presentCustomField(t10, "expense2", t37); break; case 26: value21 = A.presentCustomField(t10, "expense3", t36); break; case 27: value21 = A.presentCustomField(t10, "expense4", t35); break; case 28: t48 = t9.$index(0, t34); value21 = t48 == null ? _null : t48.name; if (value21 == null) value21 = ""; break; case 29: t48 = t8.$index(0, t33); if (t48 == null) value21 = _null; else { t49 = B.JSString_methods.trim$0(t48.firstName + " " + t48.lastName); t48 = t49.length !== 0 ? t49 : t48.email; value21 = t48; } if (value21 == null) value21 = ""; break; case 30: t48 = t8.$index(0, t32); if (t48 == null) value21 = _null; else { t49 = B.JSString_methods.trim$0(t48.firstName + " " + t48.lastName); t48 = t49.length !== 0 ? t49 : t48.email; value21 = t48; } if (value21 == null) value21 = ""; break; case 31: value21 = value2; break; case 32: value21 = value1; break; case 33: value21 = t20.get$calculateTaxAmount1(); break; case 34: value21 = t20.get$calculateTaxAmount2(); break; case 35: value21 = t20.get$calculateTaxAmount3(); break; case 37: if (t31) value21 = ""; else { t48 = new A.DateTime(t46, true); t48.DateTime$_withValue$2$isUtc(t46, true); value21 = t48.toIso8601String$0(); } break; case 36: if (t30) value21 = ""; else { t48 = new A.DateTime(t45, true); t48.DateTime$_withValue$2$isUtc(t45, true); value21 = t48.toIso8601String$0(); } break; case 38: t48 = t29 ? value0 : value0 + (t20.get$calculateTaxAmount1() + t20.get$calculateTaxAmount2() + t20.get$calculateTaxAmount3()); value21 = A.round(t48 * (t28 ? 1 : t27), 2); break; case 39: value21 = B.Map_yryx3.$index(0, t20.get$calculatedStatusId()); break; case 40: t48 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t48).dependOnInheritedWidgetOfExactType$1$0(t7); t48 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t48.toString; if (t20.get$isActive()) t49 = "active"; else t49 = t26 && t22 ? "archived" : "deleted"; value21 = t48.lookup$1(t49); break; case 41: value21 = t25 && t21.length !== 0; break; default: value21 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t47), _null, reportsUIState, userCompany, value21)) skip = true; t48 = J.getInterceptor$(value21); if (t48.get$runtimeType(value21) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value21, t24, value)); else if (t47 === B.ExpenseReportFields_38) row.push(new A.ReportNumberValue(value21, _null, t44, t24, value)); else if (t48.get$runtimeType(value21) === B.Type_double_K1J || t48.get$runtimeType(value21) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value21, _null, t43, t24, value)); else row.push(new A.ReportStringValue(value21, t24, value)); } if (!skip) { data.push(row); entities.push(t20); } } t1 = t3._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t2, new A.expenseReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.expenseReport_closure1(expenseReportSettings, selectedColumns)); t1 = type$.MappedListIterable_ExpenseReportFields_String; t2 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_OJ5, new A.expenseReport_closure2(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.expenseReport_closure3(), t1), true, t2), data, entities, true); }, ExpenseReportFields: function ExpenseReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedExpenseReport_closure: function memoizedExpenseReport_closure() { }, expenseReport_closure: function expenseReport_closure() { }, expenseReport_closure0: function expenseReport_closure0() { }, expenseReport_closure1: function expenseReport_closure1(t0, t1) { this.expenseReportSettings = t0; this.selectedColumns = t1; }, expenseReport_closure2: function expenseReport_closure2() { }, expenseReport_closure3: function expenseReport_closure3() { }, lineItemReport2(userCompany, reportsUIState, productMap, invoiceMap, clientMap, staticState) { var lineItemReportSettings, defaultColumns, t2, columns, productKeyMap, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, invoice, client, t16, t17, precision, t18, t19, t20, t21, t22, value, value0, t23, value1, value2, value3, value4, t24, t25, row, t26, value5, value6, value7, value8, value9, value10, value11, cost, t27, value12, value13, skip, t28, productId, value14, cost0, t29, scope, t30, selectedColumns, _null = null, _s12_ = "invoice_item", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s12_)) { t1 = t1.$index(0, _s12_); t1.toString; lineItemReportSettings = t1; } else lineItemReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.InvoiceItemReportFields_13, B.InvoiceItemReportFields_14, B.InvoiceItemReportFields_0, B.InvoiceItemReportFields_4, B.InvoiceItemReportFields_2], type$.JSArray_InvoiceItemReportFields); t1 = lineItemReportSettings.columns._list$_list; t2 = type$.InvoiceItemReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.lineItemReport_closure17(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InvoiceItemReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); t1 = type$.String; productKeyMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = productMap._map$_map, t2 = t1.get$entries(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2).value; productKeyMap.$indexSet(0, t3.productKey, t3.id); } for (t2 = invoiceMap._map$_map, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.currencyMap._map$_map, t10 = userCompany.company, t11 = t10.settings.currencyId, t12 = type$.JSArray_ReportElement, t13 = !t10.reportIncludeDrafts, t14 = clientMap._map$_map, t10 = !t10.reportIncludeDeleted, t15 = t11 == null; t2.moveNext$0();) { invoice = t2.get$current(t2).value; client = t14.$index(0, invoice.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t16 = client.settings.currencyId; t17 = t9.$index(0, t16); precision = t17 == null ? _null : t17.precision; if (precision == null) precision = 2; t17 = invoice.isDeleted; t17.toString; if (!(t17 && t10)) { t18 = client.isDeleted; t18.toString; } else t18 = true; if (t18) continue; if (t13 && invoice.statusId === "1") continue; for (t18 = invoice.lineItems._list$_list, t19 = A._arrayInstanceType(t18), t18 = new J.ArrayIterator(t18, t18.length, t19._eval$1("ArrayIterator<1>")), t20 = invoice.id, t21 = invoice.entityType, t22 = invoice.archivedAt > 0, value = client.idNumber, value0 = client.number, t23 = invoice.usesInclusiveTaxes, value1 = invoice.dueDate, value2 = client.displayName, value3 = invoice.date, value4 = invoice.number, t24 = invoice.exchangeRate, t19 = t19._precomputed1, t17 = !t17; t18.moveNext$0();) { t25 = t18.__interceptors$_current; if (t25 == null) t25 = t19._as(t25); row = A._setArrayType([], t12); for (t26 = new J.ArrayIterator(t3, t3.length, t5), value5 = t25.productKey, value6 = t25.discount, value7 = t25.notes, value8 = t25.customValue4, value9 = t25.customValue3, value10 = t25.customValue2, value11 = t25.customValue1, cost = t25.productCost, t27 = cost !== 0, value12 = t25.quantity, value13 = t25.cost, skip = false; t26.moveNext$0();) { t28 = t26.__interceptors$_current; if (t28 == null) t28 = t6._as(t28); productId = productKeyMap.$index(0, value5); switch (t28.index) { case 2: value14 = value13; break; case 4: value14 = value12; break; case 3: if (t27) value14 = cost; else value14 = productId == null ? 0 : t1.$index(0, productId).cost; break; case 5: case 6: if (t27) cost0 = cost; else cost0 = productId == null ? 0 : t1.$index(0, productId).cost; value14 = (t25.total$2(0, invoice, precision) - t25.taxAmount$2(invoice, precision)) / t24 - cost0; if (t28 === B.InvoiceItemReportFields_6 && cost0 !== 0) value14 = A.S(A.round(value14 / cost0 * 100, 2)) + "%"; break; case 9: value14 = value11; break; case 10: value14 = value10; break; case 11: value14 = value9; break; case 12: value14 = value8; break; case 1: value14 = value7; break; case 7: value14 = t23 ? t25.total$2(0, invoice, precision) : t25.total$2(0, invoice, precision) + t25.taxAmount$2(invoice, precision); break; case 0: value14 = value5; break; case 8: value14 = value6; break; case 13: value14 = value4; break; case 14: value14 = value3; break; case 15: value14 = value2; break; case 16: value14 = client.get$primaryContact().email; break; case 19: value14 = value1; break; case 20: value14 = t25.get$hasTaxes(); break; case 21: value14 = t25.get$taxRates(); break; case 22: value14 = t25.get$taxNames(); break; case 23: value14 = t25.taxAmount$2(invoice, precision); break; case 24: value14 = t23 ? t25.total$2(0, invoice, precision) - t25.taxAmount$2(invoice, precision) : t25.total$2(0, invoice, precision); break; case 25: t29 = t9.$index(0, t16); value14 = t29 == null ? _null : t29.name; if (value14 == null) value14 = ""; break; case 17: value14 = value0; break; case 18: value14 = value; break; case 26: t29 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t29).dependOnInheritedWidgetOfExactType$1$0(t8); t29 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t29.toString; if (invoice.get$isActive()) t30 = "active"; else t30 = t22 && t17 ? "archived" : "deleted"; value14 = t29.lookup$1(t30); break; default: value14 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t28), _null, reportsUIState, userCompany, value14)) skip = true; t29 = J.getInterceptor$(value14); if (t29.get$runtimeType(value14) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value14, t21, t20)); else if (t29.get$runtimeType(value14) === B.Type_double_K1J || t29.get$runtimeType(value14) === B.Type_int_tHn) { if (t28 === B.InvoiceItemReportFields_4) t28 = _null; else if (t28 === B.InvoiceItemReportFields_5 || t28 === B.InvoiceItemReportFields_3) t28 = t15 ? "1" : t11; else t28 = t16; row.push(new A.ReportNumberValue(value14, _null, t28, t21, t20)); } else row.push(new A.ReportStringValue(value14, t21, t20)); } if (!skip) data.push(row); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.lineItemReport_closure18(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.lineItemReport_closure19(lineItemReportSettings, selectedColumns)); t1 = type$.MappedIterable_InvoiceItemReportFields_String; t3 = type$.MappedListIterable_InvoiceItemReportFields_String; return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedIterable(new A.WhereIterable(B.List_OLZ, new A.lineItemReport_closure20(userCompany), type$.WhereIterable_InvoiceItemReportFields), new A.lineItemReport_closure21(), t1), true, t1._eval$1("Iterable.E")), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.lineItemReport_closure22(), t3), true, t3._eval$1("ListIterable.E")), data, _null, true); }, InvoiceItemReportFields: function InvoiceItemReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedInvoiceItemReport_closure: function memoizedInvoiceItemReport_closure() { }, lineItemReport_closure17: function lineItemReport_closure17() { }, lineItemReport_closure18: function lineItemReport_closure18() { }, lineItemReport_closure19: function lineItemReport_closure19(t0, t1) { this.lineItemReportSettings = t0; this.selectedColumns = t1; }, lineItemReport_closure20: function lineItemReport_closure20(t0) { this.userCompany = t0; }, lineItemReport_closure21: function lineItemReport_closure21() { }, lineItemReport_closure22: function lineItemReport_closure22() { }, invoiceReport(userCompany, reportsUIState, invoiceMap, clientMap, userMap, vendorMap, projectMap, paymentMap, staticState) { var invoiceReportSettings, defaultColumns, t2, t3, columns, lastPaymentMap, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, currencyId, t15, t16, t17, t18, t19, t20, t21, client, t22, contact, t23, row, value, t24, t25, value0, t26, t27, value1, value2, value3, t28, value4, value5, value6, value7, value8, value9, t29, value10, value11, t30, t31, t32, t33, currencyId0, value12, value13, value14, value15, value16, value17, value18, value19, value20, t34, value21, t35, t36, value22, value23, value24, t37, value25, value26, value27, value28, t38, t39, t40, t41, value29, value30, value31, value32, value33, value34, value35, value36, value37, value38, value39, value40, value41, value42, value43, value44, value45, value46, t42, t43, t44, skip, t45, value47, t46, t47, scope, currencyId1, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "invoice")) { t1 = t1.$index(0, "invoice"); t1.toString; invoiceReportSettings = t1; } else invoiceReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_InvoiceReportFields; defaultColumns = A._setArrayType([B.InvoiceReportFields_23, B.InvoiceReportFields_5, B.InvoiceReportFields_1, B.InvoiceReportFields_2, B.InvoiceReportFields_26, B.InvoiceReportFields_27, B.InvoiceReportFields_28], t1); t2 = invoiceReportSettings.columns._list$_list; t3 = type$.InvoiceReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.invoiceReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,InvoiceReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); lastPaymentMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, type$.nullable_PaymentEntity); t2 = columns._list$_list; if (B.JSArray_methods.contains$1(t2, B.InvoiceReportFields_31)) paymentMap._map$_map.forEach$1(0, new A.invoiceReport_closure0(lastPaymentMap)); for (t3 = invoiceMap.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = A._arrayInstanceType(t2), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.countryMap._map$_map, t10 = vendorMap._map$_map, t11 = projectMap._map$_map, t12 = userMap._map$_map, t13 = staticState.currencyMap._map$_map, t14 = userCompany.company, currencyId = t14.settings.currencyId, t15 = type$.JSArray_ReportElement, t16 = !t14.reportIncludeDrafts, t17 = invoiceMap._map$_map, t18 = clientMap._map$_map, t19 = !t14.reportIncludeDeleted, t20 = currencyId == null; t3.moveNext$0();) { t21 = t17.$index(0, t3.__js_helper$_current); t21.toString; client = t18.$index(0, t21.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t22 = t21.invitations._list$_list; if (t22.length === 0) continue; contact = client.getContact$1(B.JSArray_methods.get$first(t22).clientContactId); t22 = t21.isDeleted; t22.toString; if (!(t22 && t19)) { t23 = client.isDeleted; t23.toString; } else t23 = true; if (t23) continue; if (t16 && t21.statusId === "1") continue; row = A._setArrayType([], t15); for (t23 = new J.ArrayIterator(t2, t2.length, t5), value = t21.id, t24 = t21.entityType, t25 = t21.archivedAt > 0, value0 = t21.balance, t26 = t24 === B.EntityType_invoice, t27 = t21.statusId, value1 = t27 === "4", value2 = client.idNumber, value3 = client.number, t28 = client.shippingCountryId, value4 = client.shippingPostalCode, value5 = client.shippingState, value6 = client.shippingCity, value7 = client.state, value8 = client.website, value9 = contact.phone, t29 = contact.firstName + " " + contact.lastName, value10 = contact.email, value11 = client.phone, t30 = t21.vendorId, t31 = t21.projectId, t32 = t21.createdUserId, t33 = t21.assignedUserId, currencyId0 = client.settings.currencyId, value12 = client.city, value13 = t21.privateNotes, value14 = t21.publicNotes, value15 = t21.taxRate1, value16 = t21.taxName1, value17 = t21.taxRate2, value18 = t21.taxName2, value19 = client.vatNumber, value20 = client.postalCode, t34 = client.countryId, value21 = t21.exchangeRate, t35 = t27 === "5", t36 = t24 === B.EntityType_purchaseOrder, value22 = t21.amount, value23 = t21.taxAmount, value24 = value22 - value23, t37 = t21.createdAt, value25 = t21.customSurcharge4, value26 = t21.customSurcharge3, value27 = t21.customSurcharge2, value28 = t21.customSurcharge1, t38 = t21.customValue4, t39 = t21.customValue3, t40 = t21.customValue2, t41 = t21.customValue1, value29 = t21.autoBill, value30 = t21.partialDueDate, value31 = t21.partial, value32 = t21.dueDate, value33 = t21.reminderLastSent, value34 = t21.reminder3Sent, value35 = t21.reminder2Sent, value36 = t21.reminder1Sent, value37 = t21.date, value38 = t21.poNumber, value39 = t21.discount, value40 = t21.number, value41 = client.shippingAddress2, value42 = client.shippingAddress1, value43 = client.address2, value44 = client.address1, value45 = client.balance, value46 = client.displayName, t27 = t27 !== "1", t42 = value22 / value21, t43 = !t22, t44 = t37 * 1000, t37 = t37 === 0, skip = false; t23.moveNext$0();) { t45 = t23.__interceptors$_current; if (t45 == null) t45 = t6._as(t45); switch (t45.index) { case 0: value47 = value; break; case 1: value47 = value22; break; case 2: if (!(t26 && t35)) t46 = t36 && t35; else t46 = true; if (t46) value47 = 0; else value47 = t27 ? value0 : value22; break; case 3: value47 = A.round(t42, 2); break; case 4: if (!(t26 && t35)) t46 = t36 && t35; else t46 = true; if (t46) value47 = 0; else value47 = A.round((t27 ? value0 : value22) / value21, 2); break; case 5: value47 = value46; break; case 8: value47 = value45; break; case 9: value47 = value44; break; case 10: value47 = value43; break; case 15: value47 = value42; break; case 16: value47 = value41; break; case 22: value47 = B.Map_jN6XU.$index(0, t21.get$calculatedStatusId()); if (value47 == null) value47 = ""; break; case 23: value47 = value40; break; case 24: value47 = value39; break; case 25: value47 = value38; break; case 26: value47 = value37; break; case 49: value47 = value36; break; case 50: value47 = value35; break; case 51: value47 = value34; break; case 52: value47 = value33; break; case 28: value47 = t26 && value1 ? -1 : t21.get$age(); break; case 27: value47 = value32; break; case 29: value47 = value31; break; case 30: value47 = value30; break; case 31: if (t26 && value1) { t46 = lastPaymentMap.$index(0, value); value47 = t46 == null ? _null : t46.date; } else value47 = _null; break; case 32: value47 = value29; break; case 33: value47 = A.presentCustomField(t14, "invoice1", t41); break; case 34: value47 = A.presentCustomField(t14, "invoice2", t40); break; case 35: value47 = A.presentCustomField(t14, "invoice3", t39); break; case 36: value47 = A.presentCustomField(t14, "invoice4", t38); break; case 37: value47 = t21.get$hasExpenses(); break; case 38: value47 = t21.get$hasTasks(); break; case 39: value47 = value28; break; case 40: value47 = value27; break; case 41: value47 = value26; break; case 42: value47 = value25; break; case 43: if (t37) value47 = ""; else { t46 = new A.DateTime(t44, true); t46.DateTime$_withValue$2$isUtc(t44, true); value47 = t46.toIso8601String$0(); } break; case 44: if (t37) value47 = ""; else { t46 = new A.DateTime(t44, true); t46.DateTime$_withValue$2$isUtc(t44, true); value47 = t46.toIso8601String$0(); } break; case 45: value47 = t22; break; case 46: if (!(t26 && t35)) t46 = t36 && t35; else t46 = true; value47 = t46 ? 0 : value23; break; case 47: if (!(t26 && t35)) t46 = t36 && t35; else t46 = true; value47 = t46 ? 0 : value24; break; case 48: if (!(t26 && t35)) t46 = t36 && t35; else t46 = true; value47 = t46 ? 0 : t21.get$netBalanceOrAmount(); break; case 53: value47 = value21; break; case 14: t46 = t9.$index(0, t34); value47 = t46 == null ? _null : t46.name; if (value47 == null) value47 = ""; break; case 13: value47 = value20; break; case 11: value47 = value19; break; case 60: value47 = value16; break; case 57: value47 = value15; break; case 61: value47 = value18; break; case 58: value47 = value17; break; case 62: value47 = value16; break; case 59: value47 = value15; break; case 54: value47 = value14; break; case 55: value47 = value13; break; case 12: value47 = value12; break; case 63: t46 = t13.$index(0, currencyId0); value47 = t46 == null ? _null : t46.name; if (value47 == null) value47 = ""; break; case 64: value47 = t21.get$isViewed(); break; case 65: t46 = t12.$index(0, t33); if (t46 == null) value47 = _null; else { t47 = B.JSString_methods.trim$0(t46.firstName + " " + t46.lastName); t46 = t47.length !== 0 ? t47 : t46.email; value47 = t46; } if (value47 == null) value47 = ""; break; case 66: t46 = t12.$index(0, t32); if (t46 == null) value47 = _null; else { t47 = B.JSString_methods.trim$0(t46.firstName + " " + t46.lastName); t46 = t47.length !== 0 ? t47 : t46.email; value47 = t46; } if (value47 == null) value47 = ""; break; case 67: t46 = t11.$index(0, t31); value47 = (t46 == null ? A.ProjectEntity_ProjectEntity(_null, _null, _null, _null) : t46).name; break; case 68: t46 = t10.$index(0, t30); value47 = (t46 == null ? A.VendorEntity_VendorEntity(_null, _null, _null) : t46).name; break; case 69: value47 = t26 && value1; break; case 70: value47 = value11; break; case 71: value47 = value10; break; case 73: value47 = B.JSString_methods.trim$0(t29); break; case 72: value47 = value9; break; case 56: value47 = value8; break; case 17: value47 = value7; break; case 18: value47 = value6; break; case 19: value47 = value5; break; case 20: value47 = value4; break; case 21: t46 = t9.$index(0, t28); value47 = t46 == null ? _null : t46.name; if (value47 == null) value47 = ""; break; case 6: value47 = value3; break; case 7: value47 = value2; break; case 74: value47 = t26 && value1 || t21.get$age() >= 30 ? 0 : value0; break; case 75: value47 = t26 && value1 || t21.get$age() < 30 || t21.get$age() >= 60 ? 0 : value0; break; case 76: value47 = t26 && value1 || t21.get$age() < 60 || t21.get$age() >= 90 ? 0 : value0; break; case 77: value47 = t26 && value1 || t21.get$age() < 90 || t21.get$age() >= 120 ? 0 : value0; break; case 78: value47 = t26 && value1 || t21.get$age() < 120 ? 0 : value0; break; case 79: t46 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t46).dependOnInheritedWidgetOfExactType$1$0(t8); t46 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t46.toString; if (t21.get$isActive()) t47 = "active"; else t47 = t25 && t43 ? "archived" : "deleted"; value47 = t46.lookup$1(t47); break; default: value47 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t45), _null, reportsUIState, userCompany, value47)) skip = true; t46 = J.getInterceptor$(value47); if (t46.get$runtimeType(value47) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value47, t24, value)); else if (t45 === B.InvoiceReportFields_28) row.push(new A.ReportAgeValue(value47, currencyId0, t24, value)); else if (t46.get$runtimeType(value47) === B.Type_double_K1J || t46.get$runtimeType(value47) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.InvoiceReportFields_3, B.InvoiceReportFields_4], t1), t45)) currencyId1 = t20 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value47, _null, currencyId1, t24, value)); } else row.push(new A.ReportStringValue(value47, t24, value)); } if (!skip) { data.push(row); entities.push(t21); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t2, new A.invoiceReport_closure1(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.invoiceReport_closure2(invoiceReportSettings, selectedColumns)); t1 = type$.MappedListIterable_InvoiceReportFields_String; t2 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_KDB, new A.invoiceReport_closure3(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.invoiceReport_closure4(), t1), true, t2), data, entities, true); }, InvoiceReportFields: function InvoiceReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedInvoiceReport_closure: function memoizedInvoiceReport_closure() { }, invoiceReport_closure: function invoiceReport_closure() { }, invoiceReport_closure0: function invoiceReport_closure0(t0) { this.lastPaymentMap = t0; }, invoiceReport__closure: function invoiceReport__closure(t0, t1) { this.lastPaymentMap = t0; this.payment = t1; }, invoiceReport_closure1: function invoiceReport_closure1() { }, invoiceReport_closure2: function invoiceReport_closure2(t0, t1) { this.invoiceReportSettings = t0; this.selectedColumns = t1; }, invoiceReport_closure3: function invoiceReport_closure3() { }, invoiceReport_closure4: function invoiceReport_closure4() { }, taxReport(userCompany, reportsUIState, taxRateMap, invoiceMap, creditMap, clientMap, paymentMap, userMap, staticState) { var taxRateReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, invoice, t11, client, t12, precision, taxes, t13, t14, value, value0, value1, value2, value3, value4, t15, row, t16, taxName, taxRate, skip, t17, value5, t18, _null = null, _s11_ = "invoice_tax", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s11_)) { t1 = t1.$index(0, _s11_); t1.toString; taxRateReportSettings = t1; } else taxRateReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.TaxRateReportFields_60, B.TaxRateReportFields_80, B.TaxRateReportFields_90, B.TaxRateReportFields_3, B.TaxRateReportFields_50, B.TaxRateReportFields_20], type$.JSArray_TaxRateReportFields); t1 = taxRateReportSettings.columns._list$_list; t2 = type$.TaxRateReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.taxReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,TaxRateReportFields0?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = invoiceMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = !userCompany.company.reportIncludeDrafts, t3 = invoiceMap._map$_map, t4 = columns._list$_list, t5 = A._arrayInstanceType(t4), t6 = t5._eval$1("ArrayIterator<1>"), t7 = t5._precomputed1, t8 = staticState.currencyMap._map$_map, t9 = type$.JSArray_ReportElement, t10 = clientMap._map$_map; t1.moveNext$0();) { invoice = t3.$index(0, t1.__js_helper$_current); if (t2 && invoice.statusId === "1") continue; t11 = invoice.isDeleted; t11.toString; if (!t11 && invoice.statusId !== "1") { client = t10.$index(0, invoice.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t11 = client.settings.currencyId; t12 = t8.$index(0, t11); precision = t12 == null ? _null : t12.precision; taxes = invoice.getTaxes$1(precision == null ? 2 : precision); for (t12 = new A.LinkedHashMapKeyIterator(taxes, taxes._modifications, A._instanceType(taxes)._eval$1("LinkedHashMapKeyIterator<1>")), t12._cell = taxes._first, t13 = invoice.id, t14 = invoice.entityType, value = client.number, value0 = invoice.amount, value1 = value0 - invoice.taxAmount, value2 = invoice.date, value3 = invoice.number, value4 = client.displayName; t12.moveNext$0();) { t15 = t12.__js_helper$_current; row = A._setArrayType([], t9); t16 = taxes.$index(0, t15); t16.toString; taxName = J.$index$asx(t16, "name"); t16 = taxes.$index(0, t15); t16.toString; taxRate = J.$index$asx(t16, "rate"); for (t16 = new J.ArrayIterator(t4, t4.length, t6), skip = false; t16.moveNext$0();) { t17 = t16.__interceptors$_current; if (t17 == null) t17 = t7._as(t17); switch (t17.index) { case 0: value5 = value4; break; case 2: value5 = value3; break; case 5: value5 = value2; break; case 3: value5 = value0; break; case 4: value5 = value1; break; case 6: value5 = taxName; break; case 7: value5 = taxRate; break; case 8: t18 = taxes.$index(0, t15); t18.toString; value5 = J.$index$asx(t18, "amount"); if (value5 == null) value5 = 0; break; case 9: t18 = taxes.$index(0, t15); t18.toString; value5 = J.$index$asx(t18, "paid"); if (value5 == null) value5 = 0; break; case 10: t18 = t8.$index(0, t11); value5 = t18 == null ? _null : t18.name; if (value5 == null) { t18 = t8.$index(0, t11); value5 = t18 == null ? _null : t18.name; } break; case 1: value5 = value; break; default: value5 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t17), _null, reportsUIState, userCompany, value5)) skip = true; t17 = J.getInterceptor$(value5); if (t17.get$runtimeType(value5) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value5, t14, t13)); else if (t17.get$runtimeType(value5) === B.Type_double_K1J || t17.get$runtimeType(value5) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value5, _null, t11, t14, t13)); else row.push(new A.ReportStringValue(value5, t14, t13)); } if (!skip) data.push(row); } } } for (t1 = creditMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = creditMap._map$_map; t1.moveNext$0();) { t3 = t2.$index(0, t1.__js_helper$_current); t3.toString; t11 = t3.isDeleted; t11.toString; if (!t11 && t3.statusId !== "1") { t11 = t3.clientId; client = t10.$index(0, t11); if (client == null) client = A.ClientEntity_ClientEntity(_null, t11, _null, _null); t11 = client.settings.currencyId; t12 = t8.$index(0, t11); precision = t12 == null ? _null : t12.precision; taxes = t3.getTaxes$1(precision == null ? 2 : precision); for (t12 = new A.LinkedHashMapKeyIterator(taxes, taxes._modifications, A._instanceType(taxes)._eval$1("LinkedHashMapKeyIterator<1>")), t12._cell = taxes._first, t13 = t3.id, t14 = t3.entityType, value = client.number, t15 = t3.amount, value0 = (t15 - t3.taxAmount) * -1, value1 = t15 * -1, value2 = t3.date, value3 = t3.number, value4 = client.displayName; t12.moveNext$0();) { t3 = t12.__js_helper$_current; row = A._setArrayType([], t9); t15 = taxes.$index(0, t3); t15.toString; taxName = J.$index$asx(t15, "name"); t15 = taxes.$index(0, t3); t15.toString; taxRate = J.$index$asx(t15, "rate"); for (t15 = new J.ArrayIterator(t4, t4.length, t6), skip = false; t15.moveNext$0();) { t16 = t15.__interceptors$_current; if (t16 == null) t16 = t7._as(t16); switch (t16.index) { case 0: value5 = value4; break; case 2: value5 = value3; break; case 5: value5 = value2; break; case 3: value5 = value1; break; case 4: value5 = value0; break; case 6: value5 = taxName; break; case 7: value5 = taxRate; break; case 8: t17 = taxes.$index(0, t3); t17.toString; t17 = J.$index$asx(t17, "amount"); value5 = J.$mul$ns(t17 == null ? 0 : t17, -1); break; case 9: t17 = taxes.$index(0, t3); t17.toString; t17 = J.$index$asx(t17, "paid"); value5 = J.$mul$ns(t17 == null ? 0 : t17, -1); break; case 10: t17 = t8.$index(0, t11); value5 = t17 == null ? _null : t17.name; if (value5 == null) { t17 = t8.$index(0, t11); value5 = t17 == null ? _null : t17.name; } break; case 1: value5 = value; break; default: value5 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t16), _null, reportsUIState, userCompany, value5)) skip = true; t16 = J.getInterceptor$(value5); if (t16.get$runtimeType(value5) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value5, t14, t13)); else if (t16.get$runtimeType(value5) === B.Type_double_K1J || t16.get$runtimeType(value5) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value5, _null, t11, t14, t13)); else row.push(new A.ReportStringValue(value5, t14, t13)); } if (!skip) data.push(row); } } } t1 = t5._eval$1("MappedListIterable<1,String>"); t2 = t1._eval$1("ListIterable.E"); B.JSArray_methods.sort$1(data, new A.taxReport_closure0(taxRateReportSettings, A.List_List$of(new A.MappedListIterable(t4, new A.taxReport_closure1(), t1), true, t2))); t3 = type$.MappedListIterable_TaxRateReportFields_String; t5 = t3._eval$1("ListIterable.E"); t6 = A.List_List$of(new A.MappedListIterable(B.List_8SG, new A.taxReport_closure2(), t3), true, t5); return new A.ReportResult(A.List_List$of(new A.MappedListIterable(t4, new A.taxReport_closure3(), t1), true, t2), t6, A.List_List$of(new A.MappedListIterable(defaultColumns, new A.taxReport_closure4(), t3), true, t5), data, _null, true); }, TaxRateReportFields0: function TaxRateReportFields0(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedInvoiceTaxReport_closure: function memoizedInvoiceTaxReport_closure() { }, taxReport_closure: function taxReport_closure() { }, taxReport_closure1: function taxReport_closure1() { }, taxReport_closure0: function taxReport_closure0(t0, t1) { this.taxRateReportSettings = t0; this.selectedColumns = t1; }, taxReport_closure2: function taxReport_closure2() { }, taxReport_closure3: function taxReport_closure3() { }, taxReport_closure4: function taxReport_closure4() { }, paymentReport(userCompany, reportsUIState, paymentMap, clientMap, userMap, invoiceMap, creditMap, staticState) { var paymentReportSettings, defaultColumns, t2, columns, paymentInvoiceMap, paymentCreditMap, t3, t4, t5, t6, payment, t7, t8, t9, _i, invoice, t10, credit, t11, t12, t13, t14, t15, client, t16, t17, row, value, value0, value1, t18, value2, t19, t20, t21, t22, value3, value4, value5, value6, value7, t23, value8, t24, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18, t25, value19, t26, t27, skip, t28, value20, t29, scope, t30, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "payment")) { t1 = t1.$index(0, "payment"); t1.toString; paymentReportSettings = t1; } else paymentReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.PaymentReportFields_1, B.PaymentReportFields_2, B.PaymentReportFields_3, B.PaymentReportFields_21, B.PaymentReportFields_20], type$.JSArray_PaymentReportFields); t1 = paymentReportSettings.columns._list$_list; t2 = type$.PaymentReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.paymentReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,PaymentReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); t1 = type$.String; t2 = type$.List_String; paymentInvoiceMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); paymentCreditMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); t1 = columns._list$_list; if (B.JSArray_methods.contains$1(t1, B.PaymentReportFields_29)) for (t2 = paymentMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = invoiceMap._map$_map, t4 = !userCompany.company.reportIncludeDeleted, t5 = type$.JSArray_String, t6 = paymentMap._map$_map; t2.moveNext$0();) { payment = t6.$index(0, t2.__js_helper$_current); if (payment == null) payment = A.PaymentEntity_PaymentEntity(_null, _null, _null); t7 = payment.id; paymentInvoiceMap.$indexSet(0, t7, A._setArrayType([], t5)); t8 = payment.isDeleted; t8.toString; if (t8 && t4) continue; for (t8 = payment.get$invoicePaymentables(), t9 = t8.length, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) { invoice = t3.$index(0, t8[_i].invoiceId); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); t10 = invoice.isDeleted; t10.toString; if (t10 && t4) continue; paymentInvoiceMap.$index(0, t7).push(invoice.number); } } if (B.JSArray_methods.contains$1(t1, B.PaymentReportFields_30)) for (t2 = paymentMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = creditMap._map$_map, t4 = !userCompany.company.reportIncludeDeleted, t5 = type$.JSArray_String, t6 = paymentMap._map$_map; t2.moveNext$0();) { payment = t6.$index(0, t2.__js_helper$_current); if (payment == null) payment = A.PaymentEntity_PaymentEntity(_null, _null, _null); t7 = payment.id; paymentCreditMap.$indexSet(0, t7, A._setArrayType([], t5)); t8 = payment.isDeleted; t8.toString; if (t8 && t4) continue; for (t8 = payment.get$creditPaymentables(), t9 = t8.length, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) { credit = t3.$index(0, t8[_i].invoiceId); if (credit == null) credit = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); t10 = credit.isDeleted; t10.toString; if (t10 && t4) continue; paymentCreditMap.$index(0, t7).push(credit.number); } } for (t2 = paymentMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = A._arrayInstanceType(t1), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = type$.JSArray_String, t9 = userCompany.company, t10 = staticState.countryMap._map$_map, t11 = staticState.paymentTypeMap._map$_map, t12 = type$.JSArray_ReportElement, t13 = clientMap._map$_map, t14 = paymentMap._map$_map, t15 = !t9.reportIncludeDeleted; t2.moveNext$0();) { payment = t14.$index(0, t2.__js_helper$_current); if (payment == null) payment = A.PaymentEntity_PaymentEntity(_null, _null, _null); client = t13.$index(0, payment.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t16 = payment.isDeleted; t16.toString; if (!(t16 && t15)) { t17 = client.isDeleted; t17.toString; } else t17 = true; if (t17) continue; row = A._setArrayType([], t12); for (t17 = new J.ArrayIterator(t1, t1.length, t4), value = payment.id, value0 = payment.applied, value1 = payment.refunded, t18 = payment.archivedAt > 0, value2 = payment.exchangeRate, t19 = payment.customValue4, t20 = payment.customValue3, t21 = payment.customValue2, t22 = payment.customValue1, value3 = payment.date, value4 = payment.transactionReference, value5 = client.number, value6 = client.vatNumber, value7 = client.postalCode, t23 = client.countryId, value8 = client.city, t24 = client.shippingCountryId, value9 = client.shippingPostalCode, value10 = client.shippingState, value11 = client.shippingCity, value12 = client.state, value13 = client.shippingAddress2, value14 = client.shippingAddress1, value15 = client.address2, value16 = client.address1, value17 = client.balance, value18 = client.displayName, t25 = payment.typeId, value19 = payment.number, t26 = client.settings.currencyId, t27 = payment.exchangeCurrencyId, t16 = !t16, skip = false; t17.moveNext$0();) { t28 = t17.__interceptors$_current; if (t28 == null) t28 = t5._as(t28); switch (t28.index) { case 0: value20 = value; break; case 1: value20 = value19; break; case 22: t29 = t11.$index(0, t25); value20 = t29 == null ? _null : t29.name; if (value20 == null) value20 = ""; break; case 2: value20 = payment.get$completedAmount(); break; case 3: value20 = value18; break; case 6: value20 = value17; break; case 7: value20 = value16; break; case 8: value20 = value15; break; case 13: value20 = value14; break; case 14: value20 = value13; break; case 15: value20 = value12; break; case 16: value20 = value11; break; case 17: value20 = value10; break; case 18: value20 = value9; break; case 19: t29 = t10.$index(0, t24); value20 = t29 == null ? _null : t29.name; if (value20 == null) value20 = ""; break; case 10: value20 = value8; break; case 12: t29 = t10.$index(0, t23); value20 = t29 == null ? _null : t29.name; if (value20 == null) value20 = ""; break; case 11: value20 = value7; break; case 9: value20 = value6; break; case 4: value20 = value5; break; case 5: value20 = client.get$primaryContact().email; break; case 20: value20 = value4; break; case 21: value20 = value3; break; case 23: value20 = A.presentCustomField(t9, "payment1", t22); break; case 24: value20 = A.presentCustomField(t9, "payment2", t21); break; case 25: value20 = A.presentCustomField(t9, "payment3", t20); break; case 26: value20 = A.presentCustomField(t9, "payment4", t19); break; case 27: value20 = value2; break; case 28: value20 = A.round(payment.get$completedAmount() * value2, 2); break; case 29: t29 = paymentInvoiceMap.$index(0, value); value20 = B.JSArray_methods.join$1(t29 == null ? A._setArrayType([], t8) : t29, ", "); break; case 30: t29 = paymentCreditMap.$index(0, value); value20 = B.JSArray_methods.join$1(t29 == null ? A._setArrayType([], t8) : t29, ", "); break; case 31: t29 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t29).dependOnInheritedWidgetOfExactType$1$0(t7); t29 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t29.toString; if (payment.get$isActive()) t30 = "active"; else t30 = t18 && t16 ? "archived" : "deleted"; value20 = t29.lookup$1(t30); break; case 32: value20 = value1; break; case 33: value20 = value0; break; case 34: value20 = B.Map_5urTj.$index(0, payment.get$calculatedStatusId()); if (value20 == null) value20 = ""; break; default: value20 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t28), _null, reportsUIState, userCompany, value20)) skip = true; t29 = J.getInterceptor$(value20); if (t29.get$runtimeType(value20) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value20, payment.get$entityType(), value)); else if (t28 === B.PaymentReportFields_28) row.push(new A.ReportNumberValue(value20, _null, t27, payment.get$entityType(), value)); else if (t29.get$runtimeType(value20) === B.Type_double_K1J || t29.get$runtimeType(value20) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value20, _null, t26, payment.get$entityType(), value)); else row.push(new A.ReportStringValue(value20, payment.get$entityType(), value)); } if (!skip) { data.push(row); entities.push(payment); } } t2 = t3._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t1, new A.paymentReport_closure0(), t2), true, t2._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.paymentReport_closure1(paymentReportSettings, selectedColumns)); t2 = type$.MappedListIterable_PaymentReportFields_String; t1 = t2._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_AC4, new A.paymentReport_closure2(), t2), true, t1), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.paymentReport_closure3(), t2), true, t1), data, entities, true); }, PaymentReportFields: function PaymentReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedPaymentReport_closure: function memoizedPaymentReport_closure() { }, paymentReport_closure: function paymentReport_closure() { }, paymentReport_closure0: function paymentReport_closure0() { }, paymentReport_closure1: function paymentReport_closure1(t0, t1) { this.paymentReportSettings = t0; this.selectedColumns = t1; }, paymentReport_closure2: function paymentReport_closure2() { }, paymentReport_closure3: function paymentReport_closure3() { }, paymentTaxReport(userCompany, reportsUIState, taxRateMap, invoiceMap, creditMap, clientMap, paymentMap, userMap, staticState) { var taxRateReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, payment, t12, t13, t14, precision, t15, value, value0, value1, t16, invoice, multiplier, taxes, t17, t18, value2, t19, value3, value4, value5, value6, t20, row, t21, taxName, taxRate, skip, t22, value7, t23, _null = null, _s11_ = "payment_tax", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s11_)) { t1 = t1.$index(0, _s11_); t1.toString; taxRateReportSettings = t1; } else taxRateReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.TaxRateReportFields_6, B.TaxRateReportFields_8, B.TaxRateReportFields_9, B.TaxRateReportFields_2, B.TaxRateReportFields_4, B.TaxRateReportFields_1, B.TaxRateReportFields_5], type$.JSArray_TaxRateReportFields_2); t1 = taxRateReportSettings.columns._list$_list; t2 = type$.TaxRateReportFields_2; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.paymentTaxReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,TaxRateReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = paymentMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = paymentMap._map$_map, t3 = creditMap._map$_map, t4 = invoiceMap._map$_map, t5 = columns._list$_list, t6 = A._arrayInstanceType(t5), t7 = t6._eval$1("ArrayIterator<1>"), t8 = t6._precomputed1, t9 = staticState.currencyMap._map$_map, t10 = type$.JSArray_ReportElement, t11 = clientMap._map$_map; t1.moveNext$0();) { payment = t2.$index(0, t1.__js_helper$_current); if (payment == null) payment = A.PaymentEntity_PaymentEntity(_null, _null, _null); t12 = payment.isDeleted; t12.toString; if (!t12) { t12 = t11.$index(0, payment.clientId); t12.toString; t13 = t12.settings.currencyId; t14 = t9.$index(0, t13); precision = t14 == null ? _null : t14.precision; if (precision == null) precision = 2; for (t14 = payment.paymentables._list$_list, t15 = A._arrayInstanceType(t14), t14 = new J.ArrayIterator(t14, t14.length, t15._eval$1("ArrayIterator<1>")), t15 = t15._precomputed1, value = payment.transactionReference, value0 = payment.date, value1 = t12.displayName; t14.moveNext$0();) { t12 = t14.__interceptors$_current; if (t12 == null) t12 = t15._as(t12); t16 = t12.invoiceId; if (((t16 == null ? "" : t16).length === 0 ? B.EntityType_credit : B.EntityType_invoice) === B.EntityType_invoice) { invoice = t4.$index(0, t16); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); multiplier = 1; } else { invoice = t3.$index(0, t12.creditId); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); multiplier = -1; } if (invoice.statusId !== "1") { t16 = invoice.isDeleted; t16.toString; t16 = !t16; } else t16 = false; if (t16) { taxes = invoice.getTaxes$1(precision); for (t16 = new A.LinkedHashMapKeyIterator(taxes, taxes._modifications, A._instanceType(taxes)._eval$1("LinkedHashMapKeyIterator<1>")), t16._cell = taxes._first, t17 = invoice.id, t18 = invoice.entityType, t12 = t12.amount, value2 = t12 * multiplier, t19 = invoice.amount, value3 = t19 * t12 / t19 * multiplier, value4 = t19 - invoice.taxAmount, value5 = invoice.date, value6 = invoice.number; t16.moveNext$0();) { t20 = t16.__js_helper$_current; row = A._setArrayType([], t10); t21 = taxes.$index(0, t20); t21.toString; taxName = J.$index$asx(t21, "name"); t21 = taxes.$index(0, t20); t21.toString; taxRate = J.$index$asx(t21, "rate"); for (t21 = new J.ArrayIterator(t5, t5.length, t7), skip = false; t21.moveNext$0();) { t22 = t21.__interceptors$_current; if (t22 == null) t22 = t8._as(t22); switch (t22.index) { case 0: value7 = value1; break; case 1: value7 = value6; break; case 4: value7 = value5; break; case 5: value7 = value0; break; case 3: value7 = value4; break; case 2: value7 = value3; break; case 6: value7 = taxName; break; case 7: value7 = taxRate; break; case 8: t23 = taxes.$index(0, t20); t23.toString; t23 = J.$index$asx(t23, "amount"); value7 = J.$mul$ns(J.$div$n(J.$mul$ns(t23 == null ? 0 : t23, t12), t19), multiplier); break; case 9: t23 = taxes.$index(0, t20); t23.toString; t23 = J.$index$asx(t23, "paid"); value7 = J.$mul$ns(J.$div$n(J.$mul$ns(t23 == null ? 0 : t23, t12), t19), multiplier); break; case 10: value7 = value2; break; case 11: t23 = t9.$index(0, t13); value7 = t23 == null ? _null : t23.name; if (value7 == null) { t23 = t9.$index(0, t13); value7 = t23 == null ? _null : t23.name; } break; case 12: value7 = value; break; default: value7 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t22), _null, reportsUIState, userCompany, value7)) skip = true; t22 = J.getInterceptor$(value7); if (t22.get$runtimeType(value7) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value7, t18, t17)); else if (t22.get$runtimeType(value7) === B.Type_double_K1J || t22.get$runtimeType(value7) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value7, _null, t13, t18, t17)); else row.push(new A.ReportStringValue(value7, t18, t17)); } if (!skip) data.push(row); } } } } } t1 = t6._eval$1("MappedListIterable<1,String>"); t2 = t1._eval$1("ListIterable.E"); B.JSArray_methods.sort$1(data, new A.paymentTaxReport_closure0(taxRateReportSettings, A.List_List$of(new A.MappedListIterable(t5, new A.paymentTaxReport_closure1(), t1), true, t2))); t3 = type$.MappedListIterable_TaxRateReportFields_String_2; t4 = t3._eval$1("ListIterable.E"); t6 = A.List_List$of(new A.MappedListIterable(B.List_LHW, new A.paymentTaxReport_closure2(), t3), true, t4); return new A.ReportResult(A.List_List$of(new A.MappedListIterable(t5, new A.paymentTaxReport_closure3(), t1), true, t2), t6, A.List_List$of(new A.MappedListIterable(defaultColumns, new A.paymentTaxReport_closure4(), t3), true, t4), data, _null, true); }, TaxRateReportFields: function TaxRateReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedPaymentTaxReport_closure: function memoizedPaymentTaxReport_closure() { }, paymentTaxReport_closure: function paymentTaxReport_closure() { }, paymentTaxReport_closure1: function paymentTaxReport_closure1() { }, paymentTaxReport_closure0: function paymentTaxReport_closure0(t0, t1) { this.taxRateReportSettings = t0; this.selectedColumns = t1; }, paymentTaxReport_closure2: function paymentTaxReport_closure2() { }, paymentTaxReport_closure3: function paymentTaxReport_closure3() { }, paymentTaxReport_closure4: function paymentTaxReport_closure4() { }, productReport(userCompany, reportsUIState, productMap, vendorMap, userMap, staticState) { var productReportSettings, defaultColumns, t2, t3, columns, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, row, t17, value, t18, t19, t20, value0, t21, t22, t23, t24, value1, value2, value3, value4, value5, value6, value7, value8, t25, t26, skip, t27, value9, t28, scope, t29, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "product")) { t1 = t1.$index(0, "product"); t1.toString; productReportSettings = t1; } else productReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_ProductReportFields; defaultColumns = A._setArrayType([B.ProductReportFields_1, B.ProductReportFields_2, B.ProductReportFields_4, B.ProductReportFields_5, B.ProductReportFields_15], t1); t2 = productReportSettings.columns._list$_list; t3 = type$.ProductReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.productReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,ProductReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = productMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = userCompany.company, t10 = t9.settings.currencyId, t11 = type$.JSArray_ReportElement, t12 = productMap._map$_map, t13 = !t9.reportIncludeDeleted, t14 = t10 == null; t2.moveNext$0();) { t15 = t12.$index(0, t2.__js_helper$_current); t15.toString; t16 = t15.isDeleted; t16.toString; if (t16 && t13) continue; row = A._setArrayType([], t11); for (t17 = new J.ArrayIterator(t3, t3.length, t5), value = t15.id, t18 = t15.archivedAt > 0, t19 = t15.createdAt, t20 = t15.updatedAt, value0 = t15.stockQuantity, t21 = t15.customValue4, t22 = t15.customValue3, t23 = t15.customValue2, t24 = t15.customValue1, value1 = t15.taxRate3, value2 = t15.taxRate2, value3 = t15.taxRate1, value4 = t15.quantity, value5 = t15.notes, value6 = t15.cost, value7 = t15.price, value8 = t15.productKey, t16 = !t16, t25 = t19 * 1000, t19 = t19 === 0, t26 = t20 * 1000, t20 = t20 === 0, skip = false; t17.moveNext$0();) { t27 = t17.__interceptors$_current; if (t27 == null) t27 = t6._as(t27); switch (t27.index) { case 0: value9 = value; break; case 1: value9 = value8; break; case 2: value9 = value7; break; case 4: value9 = value6; break; case 3: value9 = value5; break; case 5: value9 = value4; break; case 6: value9 = value3; break; case 7: value9 = value2; break; case 8: value9 = value1; break; case 9: value9 = A.presentCustomField(t9, "product1", t24); break; case 10: value9 = A.presentCustomField(t9, "product2", t23); break; case 11: value9 = A.presentCustomField(t9, "product3", t22); break; case 12: value9 = A.presentCustomField(t9, "product4", t21); break; case 13: value9 = value0; break; case 14: value9 = A.productNotificationThreshold(t9, t15); break; case 16: if (t20) value9 = ""; else { t28 = new A.DateTime(t26, true); t28.DateTime$_withValue$2$isUtc(t26, true); value9 = t28.toIso8601String$0(); } break; case 15: if (t19) value9 = ""; else { t28 = new A.DateTime(t25, true); t28.DateTime$_withValue$2$isUtc(t25, true); value9 = t28.toIso8601String$0(); } break; case 17: t28 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t28).dependOnInheritedWidgetOfExactType$1$0(t8); t28 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t28.toString; if (t15.get$isActive()) t29 = "active"; else t29 = t18 && t16 ? "archived" : "deleted"; value9 = t28.lookup$1(t29); break; default: value9 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t27), _null, reportsUIState, userCompany, value9)) skip = true; t28 = J.getInterceptor$(value9); if (t28.get$runtimeType(value9) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value9, t15.get$entityType(), value)); else if (B.JSArray_methods.contains$1(A._setArrayType([B.ProductReportFields_5, B.ProductReportFields_13], t1), t27)) { t27 = t14 ? "1" : t10; row.push(new A.ReportNumberValue(value9, B.FormatNumberType_3, t27, t15.get$entityType(), value)); } else if (t27 === B.ProductReportFields_14) row.push(new A.ReportIntValue(value9, t15.get$entityType(), value)); else if (t28.get$runtimeType(value9) === B.Type_double_K1J || t28.get$runtimeType(value9) === B.Type_int_tHn) { t27 = t14 ? "1" : t10; row.push(new A.ReportNumberValue(value9, _null, t27, t15.get$entityType(), value)); } else row.push(new A.ReportStringValue(value9, t15.get$entityType(), value)); } if (!skip) { data.push(row); entities.push(t15); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.productReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.productReport_closure1(productReportSettings, selectedColumns)); t1 = type$.MappedListIterable_ProductReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_1Rr, new A.productReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.productReport_closure3(), t1), true, t3), data, entities, true); }, ProductReportFields: function ProductReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedProductReport_closure: function memoizedProductReport_closure() { }, productReport_closure: function productReport_closure() { }, productReport_closure0: function productReport_closure0() { }, productReport_closure1: function productReport_closure1(t0, t1) { this.productReportSettings = t0; this.selectedColumns = t1; }, productReport_closure2: function productReport_closure2() { }, productReport_closure3: function productReport_closure3() { }, profitAndLossReport(userCompany, reportsUIState, clientMap, paymentMap, expenseMap, expenseCategoryMap, vendorMap, userMap, staticState) { var profitAndLossReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, client, vendor, t17, t18, skip, row, t19, t20, t21, t22, value, t23, value0, t24, value1, value2, value3, value4, value5, t25, t26, value6, value7, value8, value9, value10, t27, t28, scope, value11, t29, t30, t31, t32, value12, t33, _null = null, _s15_ = "profit_and_loss", _s8_ = "archived", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s15_)) { t1 = t1.$index(0, _s15_); t1.toString; profitAndLossReportSettings = t1; } else profitAndLossReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.ProfitAndLossReportFields_12, B.ProfitAndLossReportFields_14, B.ProfitAndLossReportFields_15, B.ProfitAndLossReportFields_16, B.ProfitAndLossReportFields_0, B.ProfitAndLossReportFields_6, B.ProfitAndLossReportFields_17], type$.JSArray_ProfitAndLossReportFields); t1 = profitAndLossReportSettings.columns._list$_list; t2 = type$.ProfitAndLossReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.profitAndLossReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ProfitAndLossReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = paymentMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = columns._list$_list, t3 = A._arrayInstanceType(t2), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = staticState.currencyMap._map$_map, t9 = staticState.countryMap._map$_map, t10 = userCompany.company.settings.currencyId, t11 = type$.JSArray_ReportElement, t12 = vendorMap._map$_map, t13 = paymentMap._map$_map, t14 = clientMap._map$_map, t15 = t10 == null; t1.moveNext$0();) { t16 = t13.$index(0, t1.__js_helper$_current); t16.toString; client = t14.$index(0, t16.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); vendor = t12.$index(0, t16.vendorId); if (vendor == null) vendor = A.VendorEntity_VendorEntity(_null, _null, _null); t17 = t16.isDeleted; t17.toString; t17 = !t17; if (t17) { t18 = client.isDeleted; t18.toString; skip = t18; } else skip = true; row = A._setArrayType([], t11); for (t18 = new J.ArrayIterator(t2, t2.length, t4), t19 = t16.id, t20 = t16.exchangeRate, t21 = t20 === 0, t22 = t16.archivedAt > 0, value = t16.transactionReference, t23 = client.settings.currencyId, value0 = t16.date, t24 = vendor.countryId, value1 = vendor.state, value2 = vendor.city, value3 = vendor.address2, value4 = vendor.address1, value5 = vendor.displayName, t25 = value5.length !== 0, t26 = client.countryId, value6 = client.state, value7 = client.city, value8 = client.address2, value9 = client.address1, value10 = client.displayName; t18.moveNext$0();) { t27 = t18.__interceptors$_current; if (t27 == null) t27 = t5._as(t27); switch (t27.index) { case 12: t28 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t28).dependOnInheritedWidgetOfExactType$1$0(t7); t28 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t28.toString; t28 = $.$get$LocalizationsProvider__localizedValues().$index(0, t28.localeCode); t28.toString; t28 = J.$index$asx(t28, "payment"); t28.toString; value11 = t28; break; case 0: value11 = value10; break; case 1: value11 = value9; break; case 2: value11 = value8; break; case 3: value11 = value7; break; case 4: value11 = value6; break; case 5: t28 = t9.$index(0, t26); value11 = t28 == null ? _null : t28.name; if (value11 == null) value11 = ""; break; case 6: value11 = t25 ? value5 : vendor.get$calculateDisplayName(); break; case 7: value11 = value4; break; case 8: value11 = value3; break; case 9: value11 = value2; break; case 10: value11 = value1; break; case 11: t28 = t9.$index(0, t24); value11 = t28 == null ? _null : t28.name; if (value11 == null) value11 = ""; break; case 13: value11 = t16.get$completedAmount(); break; case 14: value11 = t16.get$completedAmount(); break; case 15: value11 = 0; break; case 16: value11 = t16.get$completedAmount(); break; case 17: value11 = value0; break; case 18: value11 = ""; break; case 19: value11 = t8.$index(0, t23).name; break; case 20: value11 = value; break; case 21: t28 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t28).dependOnInheritedWidgetOfExactType$1$0(t7); t28 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t28.toString; if (t16.get$isActive()) t29 = "active"; else t29 = t22 && t17 ? _s8_ : "deleted"; value11 = t28.lookup$1(t29); break; case 22: t28 = t16.get$completedAmount(); value11 = t28 * (t21 ? 1 : t20); break; default: value11 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t27), _null, reportsUIState, userCompany, value11)) skip = true; t28 = J.getInterceptor$(value11); if (t28.get$runtimeType(value11) === B.Type_EntityType_6qb) { t27 = t16.get$entityType(); row.push(new A.ReportEntityTypeValue(t16.get$entityType(), t27, t19)); } else if (t28.get$runtimeType(value11) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value11, t16.get$entityType(), t19)); else if (t27 === B.ProfitAndLossReportFields_22) { t27 = t15 ? "1" : t10; row.push(new A.ReportNumberValue(value11, _null, t27, t16.get$entityType(), t19)); } else if (t28.get$runtimeType(value11) === B.Type_double_K1J || t28.get$runtimeType(value11) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value11, _null, t23, t16.get$entityType(), t19)); else row.push(new A.ReportStringValue(value11, t16.get$entityType(), t19)); } if (!skip) data.push(row); } for (t1 = expenseMap.get$keys(0), t13 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t13, t13._modifications, t1.$ti._precomputed1), t13 = expenseCategoryMap._map$_map, t16 = expenseMap._map$_map; t1.moveNext$0();) { t17 = t16.$index(0, t1.__js_helper$_current); t17.toString; client = t14.$index(0, t17.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); vendor = t12.$index(0, t17.vendorId); if (vendor == null) vendor = A.VendorEntity_VendorEntity(_null, _null, _null); t18 = t17.isDeleted; t18.toString; t18 = !t18; if (t18) skip = client.isDeleted === true; else skip = true; row = A._setArrayType([], t11); for (t19 = new J.ArrayIterator(t2, t2.length, t4), t20 = t17.id, t21 = t17.entityType, t22 = t17.exchangeRate, t23 = t22 === 0, value = t17.amount, t24 = t17.usesInclusiveTaxes, t25 = t17.archivedAt > 0, value0 = t17.transactionReference, t26 = t17.currencyId, t27 = t17.categoryId, value1 = t17.date, t28 = vendor.countryId, value2 = vendor.state, value3 = vendor.city, value4 = vendor.address2, value5 = vendor.address1, value6 = vendor.displayName, t29 = value6.length !== 0, t30 = client.countryId, value7 = client.state, value8 = client.city, value9 = client.address2, value10 = client.address1, value11 = client.displayName; t19.moveNext$0();) { t31 = t19.__interceptors$_current; if (t31 == null) t31 = t5._as(t31); switch (t31.index) { case 12: t32 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t32).dependOnInheritedWidgetOfExactType$1$0(t7); t32 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t32.toString; t32 = $.$get$LocalizationsProvider__localizedValues().$index(0, t32.localeCode); t32.toString; t32 = J.$index$asx(t32, "expense"); t32.toString; value12 = t32; break; case 0: value12 = value11; break; case 1: value12 = value10; break; case 2: value12 = value9; break; case 3: value12 = value8; break; case 4: value12 = value7; break; case 5: t32 = t9.$index(0, t30); value12 = t32 == null ? _null : t32.name; if (value12 == null) value12 = ""; break; case 6: value12 = t29 ? value6 : vendor.get$calculateDisplayName(); break; case 7: value12 = value5; break; case 8: value12 = value4; break; case 9: value12 = value3; break; case 10: value12 = value2; break; case 11: value12 = t9.$index(0, t28); break; case 13: value12 = -(t24 ? value : value + (t17.get$calculateTaxAmount1() + t17.get$calculateTaxAmount2() + t17.get$calculateTaxAmount3())); break; case 14: value12 = 0; break; case 15: value12 = t24 ? value : value + (t17.get$calculateTaxAmount1() + t17.get$calculateTaxAmount2() + t17.get$calculateTaxAmount3()); break; case 16: value12 = -(t24 ? value : value + (t17.get$calculateTaxAmount1() + t17.get$calculateTaxAmount2() + t17.get$calculateTaxAmount3())); break; case 17: value12 = value1; break; case 18: t32 = t13.$index(0, t27); value12 = t32 == null ? _null : t32.name; if (value12 == null) value12 = ""; break; case 19: value12 = t8.$index(0, t26).name; break; case 20: value12 = value0; break; case 21: t32 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t32).dependOnInheritedWidgetOfExactType$1$0(t7); t32 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t32.toString; if (t17.get$isActive()) t33 = "active"; else t33 = t25 && t18 ? _s8_ : "deleted"; value12 = t32.lookup$1(t33); break; case 22: t32 = t24 ? value : value + (t17.get$calculateTaxAmount1() + t17.get$calculateTaxAmount2() + t17.get$calculateTaxAmount3()); value12 = -(t32 * (t23 ? 1 : t22)); break; default: value12 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t31), _null, reportsUIState, userCompany, value12)) skip = true; t32 = J.getInterceptor$(value12); if (t32.get$runtimeType(value12) === B.Type_EntityType_6qb) row.push(new A.ReportEntityTypeValue(t21, t21, t20)); else if (t32.get$runtimeType(value12) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value12, t21, t20)); else if (t31 === B.ProfitAndLossReportFields_22) row.push(new A.ReportNumberValue(value12, _null, t15 ? "1" : t10, t21, t20)); else if (t32.get$runtimeType(value12) === B.Type_double_K1J || t32.get$runtimeType(value12) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value12, _null, t26, t21, t20)); else row.push(new A.ReportStringValue(value12, t21, t20)); } if (!skip) data.push(row); } t1 = t3._eval$1("MappedListIterable<1,String>"); t3 = t1._eval$1("ListIterable.E"); B.JSArray_methods.sort$1(data, new A.profitAndLossReport_closure0(profitAndLossReportSettings, A.List_List$of(new A.MappedListIterable(t2, new A.profitAndLossReport_closure1(), t1), true, t3))); t4 = type$.MappedListIterable_ProfitAndLossReportFields_String; t5 = t4._eval$1("ListIterable.E"); t6 = A.List_List$of(new A.MappedListIterable(B.List_P50, new A.profitAndLossReport_closure2(), t4), true, t5); return new A.ReportResult(A.List_List$of(new A.MappedListIterable(t2, new A.profitAndLossReport_closure3(), t1), true, t3), t6, A.List_List$of(new A.MappedListIterable(defaultColumns, new A.profitAndLossReport_closure4(), t4), true, t5), data, _null, true); }, ProfitAndLossReportFields: function ProfitAndLossReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedProfitAndLossReport_closure: function memoizedProfitAndLossReport_closure() { }, profitAndLossReport_closure: function profitAndLossReport_closure() { }, profitAndLossReport_closure1: function profitAndLossReport_closure1() { }, profitAndLossReport_closure0: function profitAndLossReport_closure0(t0, t1) { this.profitAndLossReportSettings = t0; this.selectedColumns = t1; }, profitAndLossReport_closure2: function profitAndLossReport_closure2() { }, profitAndLossReport_closure3: function profitAndLossReport_closure3() { }, profitAndLossReport_closure4: function profitAndLossReport_closure4() { }, lineItemReport(userCompany, reportsUIState, productMap, purchaseOrderMap, clientMap, vendorMap, staticState) { var lineItemReportSettings, defaultColumns, t2, columns, productKeyMap, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, invoice, client, vendor, t15, t16, precision, t17, t18, t19, t20, t21, value, value0, t22, value1, value2, value3, value4, value5, t23, t24, row, t25, value6, value7, value8, value9, value10, value11, value12, value13, t26, value14, value15, skip, t27, productId, value16, t28, t29, t30, scope, selectedColumns, _null = null, _s19_ = "purchase_order_item", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s19_)) { t1 = t1.$index(0, _s19_); t1.toString; lineItemReportSettings = t1; } else lineItemReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.PurchaseOrderItemReportFields_12, B.PurchaseOrderItemReportFields_13, B.PurchaseOrderItemReportFields_0, B.PurchaseOrderItemReportFields_4, B.PurchaseOrderItemReportFields_2], type$.JSArray_PurchaseOrderItemReportFields); t1 = lineItemReportSettings.columns._list$_list; t2 = type$.PurchaseOrderItemReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.lineItemReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,PurchaseOrderItemReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); t1 = type$.String; productKeyMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = productMap._map$_map, t2 = t1.get$entries(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2).value; productKeyMap.$indexSet(0, t3.productKey, t3.id); } for (t2 = purchaseOrderMap._map$_map, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.currencyMap._map$_map, t10 = type$.JSArray_ReportElement, t11 = userCompany.company, t12 = !t11.reportIncludeDrafts, t13 = vendorMap._map$_map, t14 = clientMap._map$_map, t11 = !t11.reportIncludeDeleted; t2.moveNext$0();) { invoice = t2.get$current(t2).value; client = t14.$index(0, invoice.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); vendor = t13.$index(0, invoice.vendorId); if (vendor == null) vendor = A.VendorEntity_VendorEntity(_null, _null, _null); t15 = client.settings.currencyId; t16 = t9.$index(0, t15); precision = t16 == null ? _null : t16.precision; if (precision == null) precision = 2; t16 = invoice.isDeleted; t16.toString; if (!(t16 && t11)) { t17 = client.isDeleted; t17.toString; } else t17 = true; if (t17) continue; if (t12 && invoice.statusId === "1") continue; for (t17 = invoice.lineItems._list$_list, t18 = A._arrayInstanceType(t17), t17 = new J.ArrayIterator(t17, t17.length, t18._eval$1("ArrayIterator<1>")), t19 = invoice.id, t20 = invoice.entityType, t21 = invoice.archivedAt > 0, value = client.idNumber, value0 = client.number, t22 = invoice.usesInclusiveTaxes, value1 = invoice.dueDate, value2 = vendor.name, value3 = client.displayName, value4 = invoice.date, value5 = invoice.number, t23 = vendor.currencyId, t18 = t18._precomputed1, t16 = !t16; t17.moveNext$0();) { t24 = t17.__interceptors$_current; if (t24 == null) t24 = t18._as(t24); row = A._setArrayType([], t10); for (t25 = new J.ArrayIterator(t3, t3.length, t5), value6 = t24.productKey, value7 = t24.discount, value8 = t24.notes, value9 = t24.customValue4, value10 = t24.customValue3, value11 = t24.customValue2, value12 = t24.customValue1, value13 = t24.productCost, t26 = value13 !== 0, value14 = t24.quantity, value15 = t24.cost, skip = false; t25.moveNext$0();) { t27 = t25.__interceptors$_current; if (t27 == null) t27 = t6._as(t27); productId = productKeyMap.$index(0, value6); switch (t27.index) { case 2: value16 = value15; break; case 4: value16 = value14; break; case 3: if (t26) value16 = value13; else value16 = productId == null ? 0 : t1.$index(0, productId).cost; break; case 5: t28 = t24.total$2(0, invoice, precision); t29 = t24.taxAmount$2(invoice, precision); t30 = productId == null ? 0 : t1.$index(0, productId).cost; value16 = t28 - t29 - t30; break; case 8: value16 = value12; break; case 9: value16 = value11; break; case 10: value16 = value10; break; case 11: value16 = value9; break; case 1: value16 = value8; break; case 6: value16 = t22 ? t24.total$2(0, invoice, precision) : t24.total$2(0, invoice, precision) + t24.taxAmount$2(invoice, precision); break; case 0: value16 = value6; break; case 7: value16 = value7; break; case 12: value16 = value5; break; case 13: value16 = value4; break; case 14: value16 = value3; break; case 15: value16 = client.get$primaryContact().email; break; case 18: value16 = value2; break; case 19: value16 = vendor.get$primaryContact().email; break; case 20: value16 = value1; break; case 21: value16 = t24.get$hasTaxes(); break; case 22: value16 = t24.get$taxRates(); break; case 23: value16 = t24.get$taxNames(); break; case 24: value16 = t24.taxAmount$2(invoice, precision); break; case 25: value16 = t22 ? t24.total$2(0, invoice, precision) - t24.taxAmount$2(invoice, precision) : t24.total$2(0, invoice, precision); break; case 26: t28 = t9.$index(0, t15); value16 = t28 == null ? _null : t28.name; if (value16 == null) value16 = ""; break; case 16: value16 = value0; break; case 17: value16 = value; break; case 27: t28 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t28).dependOnInheritedWidgetOfExactType$1$0(t8); t28 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t28.toString; if (invoice.get$isActive()) t29 = "active"; else t29 = t21 && t16 ? "archived" : "deleted"; value16 = t28.lookup$1(t29); break; default: value16 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t27), _null, reportsUIState, userCompany, value16)) skip = true; t28 = J.getInterceptor$(value16); if (t28.get$runtimeType(value16) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value16, t20, t19)); else if (t28.get$runtimeType(value16) === B.Type_double_K1J || t28.get$runtimeType(value16) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value16, _null, t27 === B.PurchaseOrderItemReportFields_4 ? _null : t23, t20, t19)); else row.push(new A.ReportStringValue(value16, t20, t19)); } if (!skip) data.push(row); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.lineItemReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.lineItemReport_closure1(lineItemReportSettings, selectedColumns)); t1 = type$.MappedIterable_PurchaseOrderItemReportFields_String; t3 = type$.MappedListIterable_PurchaseOrderItemReportFields_String; return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedIterable(new A.WhereIterable(B.List_ahs, new A.lineItemReport_closure2(userCompany), type$.WhereIterable_PurchaseOrderItemReportFields), new A.lineItemReport_closure3(), t1), true, t1._eval$1("Iterable.E")), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.lineItemReport_closure4(), t3), true, t3._eval$1("ListIterable.E")), data, _null, true); }, PurchaseOrderItemReportFields: function PurchaseOrderItemReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedPurchaseOrderItemReport_closure: function memoizedPurchaseOrderItemReport_closure() { }, lineItemReport_closure: function lineItemReport_closure() { }, lineItemReport_closure0: function lineItemReport_closure0() { }, lineItemReport_closure1: function lineItemReport_closure1(t0, t1) { this.lineItemReportSettings = t0; this.selectedColumns = t1; }, lineItemReport_closure2: function lineItemReport_closure2(t0) { this.userCompany = t0; }, lineItemReport_closure3: function lineItemReport_closure3() { }, lineItemReport_closure4: function lineItemReport_closure4() { }, purchaseOrderReport(userCompany, reportsUIState, purchaseOrderMap, clientMap, vendorMap, userMap, staticState) { var purchaseOrderReportSettings, defaultColumns, t2, t3, columns, t4, t5, t6, t7, t8, t9, t10, currencyId, t11, t12, t13, t14, t15, t16, t17, t18, t19, vendor, t20, contact, t21, row, t22, t23, value, t24, value0, value1, value2, value3, t25, value4, value5, t26, t27, value6, value7, value8, value9, value10, value11, value12, value13, value14, t28, value15, value16, value17, value18, value19, value20, value21, value22, value23, t29, t30, t31, t32, value24, value25, value26, value27, value28, value29, value30, value31, value32, value33, value34, t33, currencyId0, t34, skip, t35, value35, t36, t37, scope, currencyId1, selectedColumns, _null = null, _s14_ = "purchase_order", data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s14_)) { t1 = t1.$index(0, _s14_); t1.toString; purchaseOrderReportSettings = t1; } else purchaseOrderReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_PurchaseOrderReportFields; defaultColumns = A._setArrayType([B.PurchaseOrderReportFields_10, B.PurchaseOrderReportFields_3, B.PurchaseOrderReportFields_1, B.PurchaseOrderReportFields_13, B.PurchaseOrderReportFields_15], t1); t2 = purchaseOrderReportSettings.columns._list$_list; t3 = type$.PurchaseOrderReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.purchaseOrderReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,PurchaseOrderReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = purchaseOrderMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = userMap._map$_map, t10 = userCompany.company, currencyId = t10.settings.currencyId, t11 = staticState.countryMap._map$_map, t12 = type$.JSArray_ReportElement, t13 = !t10.reportIncludeDrafts, t14 = purchaseOrderMap._map$_map, t15 = vendorMap._map$_map, t16 = !t10.reportIncludeDeleted, t17 = staticState.currencyMap._map$_map, t18 = currencyId == null; t2.moveNext$0();) { t19 = t14.$index(0, t2.__js_helper$_current); t19.toString; vendor = t15.$index(0, t19.vendorId); if (vendor == null) vendor = A.VendorEntity_VendorEntity(_null, _null, _null); t20 = t19.invitations._list$_list; if (t20.length === 0) continue; contact = vendor.getContact$1(B.JSArray_methods.get$first(t20).vendorContactId); t20 = t19.isDeleted; t20.toString; if (!(t20 && t16)) { t21 = vendor.isDeleted; t21.toString; } else t21 = true; if (t21) continue; if (t13 && t19.statusId === "1") continue; row = A._setArrayType([], t12); for (t21 = new J.ArrayIterator(t3, t3.length, t5), t22 = t19.id, t23 = t19.entityType, value = t19.archivedAt, t24 = value > 0, value0 = vendor.number, value1 = vendor.state, value2 = vendor.website, value3 = contact.phone, t25 = contact.firstName + " " + contact.lastName, value4 = contact.email, value5 = vendor.phone, t26 = t19.createdUserId, t27 = t19.assignedUserId, value6 = vendor.city, value7 = t19.privateNotes, value8 = t19.publicNotes, value9 = t19.taxRate1, value10 = t19.taxName1, value11 = t19.taxRate2, value12 = t19.taxName2, value13 = vendor.vatNumber, value14 = vendor.postalCode, t28 = vendor.countryId, value15 = t19.exchangeRate, value16 = t19.amount, value17 = t19.taxAmount, value18 = value16 - value17, value19 = t19.updatedAt, value20 = t19.customSurcharge4, value21 = t19.customSurcharge3, value22 = t19.customSurcharge2, value23 = t19.customSurcharge1, t29 = t19.customValue4, t30 = t19.customValue3, t31 = t19.customValue2, t32 = t19.customValue1, value24 = t19.autoBill, value25 = t19.partial, value26 = t19.dueDate, value27 = t19.date, value28 = t19.partialDueDate, value29 = t19.poNumber, value30 = t19.discount, value31 = vendor.address2, value32 = vendor.address1, value33 = vendor.name, value34 = t19.number, t33 = value16 / value15, currencyId0 = vendor.currencyId, t34 = !t20, skip = false; t21.moveNext$0();) { t35 = t21.__interceptors$_current; if (t35 == null) t35 = t6._as(t35); switch (t35.index) { case 0: value35 = value16; break; case 1: value35 = value16; break; case 2: value35 = A.round(t33, 2); break; case 10: value35 = value34; break; case 3: value35 = value33; break; case 5: value35 = value32; break; case 6: value35 = value31; break; case 9: value35 = B.Map_7AXXh.$index(0, t19.get$calculatedStatusId()); if (value35 == null) value35 = ""; break; case 11: value35 = value30; break; case 12: value35 = value29; break; case 14: value35 = value28; break; case 13: value35 = value27; break; case 15: value35 = value26; break; case 16: value35 = value25; break; case 17: value35 = value24; break; case 18: value35 = A.presentCustomField(t10, "invoice1", t32); break; case 19: value35 = A.presentCustomField(t10, "invoice2", t31); break; case 20: value35 = A.presentCustomField(t10, "invoice3", t30); break; case 21: value35 = A.presentCustomField(t10, "invoice4", t29); break; case 22: value35 = value23; break; case 23: value35 = value22; break; case 24: value35 = value21; break; case 25: value35 = value20; break; case 26: value35 = value19; break; case 27: value35 = value; break; case 28: value35 = t20; break; case 29: value35 = t19.get$isApproved(); break; case 30: value35 = value17; break; case 31: value35 = value18; break; case 32: value35 = value15; break; case 8: t36 = t11.$index(0, t28); value35 = t36 == null ? _null : t36.name; if (value35 == null) value35 = ""; break; case 37: value35 = value14; break; case 35: value35 = value13; break; case 42: value35 = value10; break; case 39: value35 = value9; break; case 43: value35 = value12; break; case 40: value35 = value11; break; case 44: value35 = value10; break; case 41: value35 = value9; break; case 33: value35 = value8; break; case 34: value35 = value7; break; case 36: value35 = value6; break; case 45: t36 = t17.$index(0, t18 ? "1" : currencyId); value35 = t36 == null ? _null : t36.name; if (value35 == null) value35 = ""; break; case 46: value35 = t19.get$isViewed(); break; case 47: t36 = t9.$index(0, t27); if (t36 == null) value35 = _null; else { t37 = B.JSString_methods.trim$0(t36.firstName + " " + t36.lastName); t36 = t37.length !== 0 ? t37 : t36.email; value35 = t36; } if (value35 == null) value35 = ""; break; case 48: t36 = t9.$index(0, t26); if (t36 == null) value35 = _null; else { t37 = B.JSString_methods.trim$0(t36.firstName + " " + t36.lastName); t36 = t37.length !== 0 ? t37 : t36.email; value35 = t36; } if (value35 == null) value35 = ""; break; case 49: value35 = value5; break; case 50: value35 = value4; break; case 52: value35 = B.JSString_methods.trim$0(t25); break; case 51: value35 = value3; break; case 38: value35 = value2; break; case 7: value35 = value1; break; case 4: value35 = value0; break; case 53: t36 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t36).dependOnInheritedWidgetOfExactType$1$0(t8); t36 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t36.toString; if (t19.get$isActive()) t37 = "active"; else t37 = t24 && t34 ? "archived" : "deleted"; value35 = t36.lookup$1(t37); break; default: value35 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t35), _null, reportsUIState, userCompany, value35)) skip = true; t36 = J.getInterceptor$(value35); if (t36.get$runtimeType(value35) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value35, t23, t22)); else if (t36.get$runtimeType(value35) === B.Type_double_K1J || t36.get$runtimeType(value35) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.PurchaseOrderReportFields_2], t1), t35)) currencyId1 = t18 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value35, _null, currencyId1, t23, t22)); } else row.push(new A.ReportStringValue(value35, t23, t22)); } if (!skip) { data.push(row); entities.push(t19); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.purchaseOrderReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.purchaseOrderReport_closure1(purchaseOrderReportSettings, selectedColumns)); t1 = type$.MappedListIterable_PurchaseOrderReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_ccv, new A.purchaseOrderReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.purchaseOrderReport_closure3(), t1), true, t3), data, entities, true); }, PurchaseOrderReportFields: function PurchaseOrderReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedPurchaseOrderReport_closure: function memoizedPurchaseOrderReport_closure() { }, purchaseOrderReport_closure: function purchaseOrderReport_closure() { }, purchaseOrderReport_closure0: function purchaseOrderReport_closure0() { }, purchaseOrderReport_closure1: function purchaseOrderReport_closure1(t0, t1) { this.purchaseOrderReportSettings = t0; this.selectedColumns = t1; }, purchaseOrderReport_closure2: function purchaseOrderReport_closure2() { }, purchaseOrderReport_closure3: function purchaseOrderReport_closure3() { }, lineItemReport0(userCompany, reportsUIState, productMap, invoiceMap, clientMap, staticState) { var lineItemReportSettings, defaultColumns, t2, columns, productKeyMap, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, invoice, client, t16, t17, precision, t18, t19, t20, t21, t22, value, value0, t23, value1, value2, value3, value4, t24, t25, row, t26, value5, value6, value7, value8, value9, value10, value11, cost, t27, value12, value13, skip, t28, productId, value14, cost0, t29, scope, t30, selectedColumns, _null = null, _s10_ = "quote_item", data = A._setArrayType([], type$.JSArray_List_ReportElement), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s10_)) { t1 = t1.$index(0, _s10_); t1.toString; lineItemReportSettings = t1; } else lineItemReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.QuoteItemReportFields_13, B.QuoteItemReportFields_14, B.QuoteItemReportFields_0, B.QuoteItemReportFields_4, B.QuoteItemReportFields_2], type$.JSArray_QuoteItemReportFields); t1 = lineItemReportSettings.columns._list$_list; t2 = type$.QuoteItemReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.lineItemReport_closure5(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,QuoteItemReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); t1 = type$.String; productKeyMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = productMap._map$_map, t2 = t1.get$entries(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2).value; productKeyMap.$indexSet(0, t3.productKey, t3.id); } for (t2 = invoiceMap._map$_map, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.currencyMap._map$_map, t10 = userCompany.company, t11 = t10.settings.currencyId, t12 = type$.JSArray_ReportElement, t13 = !t10.reportIncludeDrafts, t14 = clientMap._map$_map, t10 = !t10.reportIncludeDeleted, t15 = t11 == null; t2.moveNext$0();) { invoice = t2.get$current(t2).value; client = t14.$index(0, invoice.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t16 = client.settings.currencyId; t17 = t9.$index(0, t16); precision = t17 == null ? _null : t17.precision; if (precision == null) precision = 2; t17 = invoice.isDeleted; t17.toString; if (!(t17 && t10)) { t18 = client.isDeleted; t18.toString; } else t18 = true; if (t18) continue; if (t13 && invoice.statusId === "1") continue; for (t18 = invoice.lineItems._list$_list, t19 = A._arrayInstanceType(t18), t18 = new J.ArrayIterator(t18, t18.length, t19._eval$1("ArrayIterator<1>")), t20 = invoice.id, t21 = invoice.entityType, t22 = invoice.archivedAt > 0, value = client.idNumber, value0 = client.number, t23 = invoice.usesInclusiveTaxes, value1 = invoice.dueDate, value2 = client.displayName, value3 = invoice.date, value4 = invoice.number, t24 = invoice.exchangeRate, t19 = t19._precomputed1, t17 = !t17; t18.moveNext$0();) { t25 = t18.__interceptors$_current; if (t25 == null) t25 = t19._as(t25); row = A._setArrayType([], t12); for (t26 = new J.ArrayIterator(t3, t3.length, t5), value5 = t25.productKey, value6 = t25.discount, value7 = t25.notes, value8 = t25.customValue4, value9 = t25.customValue3, value10 = t25.customValue2, value11 = t25.customValue1, cost = t25.productCost, t27 = cost !== 0, value12 = t25.quantity, value13 = t25.cost, skip = false; t26.moveNext$0();) { t28 = t26.__interceptors$_current; if (t28 == null) t28 = t6._as(t28); productId = productKeyMap.$index(0, value5); switch (t28.index) { case 2: value14 = value13; break; case 4: value14 = value12; break; case 3: value14 = productId == null ? 0 : t1.$index(0, productId).cost; break; case 5: case 6: if (t27) cost0 = cost; else cost0 = productId == null ? 0 : t1.$index(0, productId).cost; value14 = (t25.total$2(0, invoice, precision) - t25.taxAmount$2(invoice, precision)) / t24 - cost0; if (t28 === B.QuoteItemReportFields_6 && cost0 !== 0) value14 = A.S(A.round(value14 / cost0 * 100, 2)) + "%"; break; case 9: value14 = value11; break; case 10: value14 = value10; break; case 11: value14 = value9; break; case 12: value14 = value8; break; case 1: value14 = value7; break; case 7: value14 = t23 ? t25.total$2(0, invoice, precision) : t25.total$2(0, invoice, precision) + t25.taxAmount$2(invoice, precision); break; case 0: value14 = value5; break; case 8: value14 = value6; break; case 13: value14 = value4; break; case 14: value14 = value3; break; case 15: value14 = value2; break; case 16: value14 = client.get$primaryContact().email; break; case 19: value14 = value1; break; case 20: value14 = t25.get$hasTaxes(); break; case 21: value14 = t25.get$taxRates(); break; case 22: value14 = t25.get$taxNames(); break; case 23: value14 = t25.taxAmount$2(invoice, precision); break; case 24: value14 = t23 ? t25.total$2(0, invoice, precision) - t25.taxAmount$2(invoice, precision) : t25.total$2(0, invoice, precision); break; case 25: t29 = t9.$index(0, t16); value14 = t29 == null ? _null : t29.name; if (value14 == null) value14 = ""; break; case 17: value14 = value0; break; case 18: value14 = value; break; case 26: t29 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t29).dependOnInheritedWidgetOfExactType$1$0(t8); t29 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t29.toString; if (invoice.get$isActive()) t30 = "active"; else t30 = t22 && t17 ? "archived" : "deleted"; value14 = t29.lookup$1(t30); break; default: value14 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t28), _null, reportsUIState, userCompany, value14)) skip = true; t29 = J.getInterceptor$(value14); if (t29.get$runtimeType(value14) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value14, t21, t20)); else if (t29.get$runtimeType(value14) === B.Type_double_K1J || t29.get$runtimeType(value14) === B.Type_int_tHn) { if (t28 === B.QuoteItemReportFields_4) t28 = _null; else if (t28 === B.QuoteItemReportFields_5 || t28 === B.QuoteItemReportFields_3) t28 = t15 ? "1" : t11; else t28 = t16; row.push(new A.ReportNumberValue(value14, _null, t28, t21, t20)); } else row.push(new A.ReportStringValue(value14, t21, t20)); } if (!skip) data.push(row); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.lineItemReport_closure6(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.lineItemReport_closure7(lineItemReportSettings, selectedColumns)); t1 = type$.MappedIterable_QuoteItemReportFields_String; t3 = type$.MappedListIterable_QuoteItemReportFields_String; return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedIterable(new A.WhereIterable(B.List_nRX, new A.lineItemReport_closure8(userCompany), type$.WhereIterable_QuoteItemReportFields), new A.lineItemReport_closure9(), t1), true, t1._eval$1("Iterable.E")), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.lineItemReport_closure10(), t3), true, t3._eval$1("ListIterable.E")), data, _null, true); }, QuoteItemReportFields: function QuoteItemReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedQuoteItemReport_closure: function memoizedQuoteItemReport_closure() { }, lineItemReport_closure5: function lineItemReport_closure5() { }, lineItemReport_closure6: function lineItemReport_closure6() { }, lineItemReport_closure7: function lineItemReport_closure7(t0, t1) { this.lineItemReportSettings = t0; this.selectedColumns = t1; }, lineItemReport_closure8: function lineItemReport_closure8(t0) { this.userCompany = t0; }, lineItemReport_closure9: function lineItemReport_closure9() { }, lineItemReport_closure10: function lineItemReport_closure10() { }, quoteReport(userCompany, reportsUIState, quoteMap, clientMap, vendorMap, userMap, staticState) { var quoteReportSettings, defaultColumns, t2, t3, columns, t4, t5, t6, t7, t8, t9, t10, t11, t12, currencyId, t13, t14, t15, t16, t17, t18, t19, client, t20, contact, t21, row, t22, t23, value, t24, value0, value1, t25, value2, value3, value4, value5, value6, value7, t26, value8, value9, t27, t28, currencyId0, value10, value11, value12, value13, value14, value15, value16, value17, value18, t29, value19, value20, value21, value22, value23, value24, value25, value26, value27, t30, t31, t32, t33, value28, value29, value30, value31, value32, value33, value34, value35, value36, value37, value38, value39, value40, value41, t34, t35, skip, t36, value42, t37, t38, scope, currencyId1, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "quote")) { t1 = t1.$index(0, "quote"); t1.toString; quoteReportSettings = t1; } else quoteReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t1 = type$.JSArray_QuoteReportFields; defaultColumns = A._setArrayType([B.QuoteReportFields_18, B.QuoteReportFields_3, B.QuoteReportFields_1, B.QuoteReportFields_21, B.QuoteReportFields_23], t1); t2 = quoteReportSettings.columns._list$_list; t3 = type$.QuoteReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.quoteReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,QuoteReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = quoteMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = staticState.countryMap._map$_map, t10 = userMap._map$_map, t11 = staticState.currencyMap._map$_map, t12 = userCompany.company, currencyId = t12.settings.currencyId, t13 = type$.JSArray_ReportElement, t14 = !t12.reportIncludeDrafts, t15 = quoteMap._map$_map, t16 = clientMap._map$_map, t17 = !t12.reportIncludeDeleted, t18 = currencyId == null; t2.moveNext$0();) { t19 = t15.$index(0, t2.__js_helper$_current); t19.toString; client = t16.$index(0, t19.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t20 = t19.invitations._list$_list; if (t20.length === 0) continue; contact = client.getContact$1(B.JSArray_methods.get$first(t20).clientContactId); t20 = t19.isDeleted; t20.toString; if (!(t20 && t17)) { t21 = client.isDeleted; t21.toString; } else t21 = true; if (t21) continue; if (t14 && t19.statusId === "1") continue; row = A._setArrayType([], t13); for (t21 = new J.ArrayIterator(t3, t3.length, t5), t22 = t19.id, t23 = t19.entityType, value = t19.archivedAt, t24 = value > 0, value0 = client.idNumber, value1 = client.number, t25 = client.shippingCountryId, value2 = client.shippingPostalCode, value3 = client.shippingState, value4 = client.shippingCity, value5 = client.state, value6 = client.website, value7 = contact.phone, t26 = contact.firstName + " " + contact.lastName, value8 = contact.email, value9 = client.phone, t27 = t19.createdUserId, t28 = t19.assignedUserId, currencyId0 = client.settings.currencyId, value10 = client.city, value11 = t19.privateNotes, value12 = t19.publicNotes, value13 = t19.taxRate1, value14 = t19.taxName1, value15 = t19.taxRate2, value16 = t19.taxName2, value17 = client.vatNumber, value18 = client.postalCode, t29 = client.countryId, value19 = t19.exchangeRate, value20 = t19.amount, value21 = t19.taxAmount, value22 = value20 - value21, value23 = t19.updatedAt, value24 = t19.customSurcharge4, value25 = t19.customSurcharge3, value26 = t19.customSurcharge2, value27 = t19.customSurcharge1, t30 = t19.customValue4, t31 = t19.customValue3, t32 = t19.customValue2, t33 = t19.customValue1, value28 = t19.autoBill, value29 = t19.partial, value30 = t19.dueDate, value31 = t19.date, value32 = t19.partialDueDate, value33 = t19.poNumber, value34 = t19.discount, value35 = client.shippingAddress2, value36 = client.shippingAddress1, value37 = client.address2, value38 = client.address1, value39 = client.balance, value40 = client.displayName, value41 = t19.number, t34 = value20 / value19, t35 = !t20, skip = false; t21.moveNext$0();) { t36 = t21.__interceptors$_current; if (t36 == null) t36 = t6._as(t36); switch (t36.index) { case 0: value42 = value20; break; case 1: value42 = value20; break; case 2: value42 = A.round(t34, 2); break; case 18: value42 = value41; break; case 3: value42 = value40; break; case 6: value42 = value39; break; case 7: value42 = value38; break; case 8: value42 = value37; break; case 11: value42 = value36; break; case 12: value42 = value35; break; case 17: value42 = B.Map_9QXBb.$index(0, t19.get$calculatedStatusId()); if (value42 == null) value42 = ""; break; case 19: value42 = value34; break; case 20: value42 = value33; break; case 22: value42 = value32; break; case 21: value42 = value31; break; case 23: value42 = value30; break; case 24: value42 = value29; break; case 25: value42 = value28; break; case 26: value42 = A.presentCustomField(t12, "invoice1", t33); break; case 27: value42 = A.presentCustomField(t12, "invoice2", t32); break; case 28: value42 = A.presentCustomField(t12, "invoice3", t31); break; case 29: value42 = A.presentCustomField(t12, "invoice4", t30); break; case 30: value42 = value27; break; case 31: value42 = value26; break; case 32: value42 = value25; break; case 33: value42 = value24; break; case 34: value42 = value23; break; case 35: value42 = value; break; case 36: value42 = t20; break; case 37: value42 = t19.get$isApproved(); break; case 38: value42 = value21; break; case 39: value42 = value22; break; case 40: value42 = value19; break; case 10: t37 = t9.$index(0, t29); value42 = t37 == null ? _null : t37.name; if (value42 == null) value42 = ""; break; case 45: value42 = value18; break; case 43: value42 = value17; break; case 50: value42 = value14; break; case 47: value42 = value13; break; case 51: value42 = value16; break; case 48: value42 = value15; break; case 52: value42 = value14; break; case 49: value42 = value13; break; case 41: value42 = value12; break; case 42: value42 = value11; break; case 44: value42 = value10; break; case 53: t37 = t11.$index(0, currencyId0); value42 = t37 == null ? _null : t37.name; if (value42 == null) value42 = ""; break; case 54: value42 = t19.get$isViewed(); break; case 55: t37 = t10.$index(0, t28); if (t37 == null) value42 = _null; else { t38 = B.JSString_methods.trim$0(t37.firstName + " " + t37.lastName); t37 = t38.length !== 0 ? t38 : t37.email; value42 = t37; } if (value42 == null) value42 = ""; break; case 56: t37 = t10.$index(0, t27); if (t37 == null) value42 = _null; else { t38 = B.JSString_methods.trim$0(t37.firstName + " " + t37.lastName); t37 = t38.length !== 0 ? t38 : t37.email; value42 = t37; } if (value42 == null) value42 = ""; break; case 57: value42 = value9; break; case 58: value42 = value8; break; case 60: value42 = B.JSString_methods.trim$0(t26); break; case 59: value42 = value7; break; case 46: value42 = value6; break; case 9: value42 = value5; break; case 13: value42 = value4; break; case 14: value42 = value3; break; case 15: value42 = value2; break; case 16: t37 = t9.$index(0, t25); value42 = t37 == null ? _null : t37.name; if (value42 == null) value42 = ""; break; case 4: value42 = value1; break; case 5: value42 = value0; break; case 61: t37 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t37).dependOnInheritedWidgetOfExactType$1$0(t8); t37 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t37.toString; if (t19.get$isActive()) t38 = "active"; else t38 = t24 && t35 ? "archived" : "deleted"; value42 = t37.lookup$1(t38); break; default: value42 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t36), _null, reportsUIState, userCompany, value42)) skip = true; t37 = J.getInterceptor$(value42); if (t37.get$runtimeType(value42) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value42, t23, t22)); else if (t37.get$runtimeType(value42) === B.Type_double_K1J || t37.get$runtimeType(value42) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.QuoteReportFields_2], t1), t36)) currencyId1 = t18 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value42, _null, currencyId1, t23, t22)); } else row.push(new A.ReportStringValue(value42, t23, t22)); } if (!skip) { data.push(row); entities.push(t19); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.quoteReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.quoteReport_closure1(quoteReportSettings, selectedColumns)); t1 = type$.MappedListIterable_QuoteReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_Poc, new A.quoteReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.quoteReport_closure3(), t1), true, t3), data, entities, true); }, QuoteReportFields: function QuoteReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedQuoteReport_closure: function memoizedQuoteReport_closure() { }, quoteReport_closure: function quoteReport_closure() { }, quoteReport_closure0: function quoteReport_closure0() { }, quoteReport_closure1: function quoteReport_closure1(t0, t1) { this.quoteReportSettings = t0; this.selectedColumns = t1; }, quoteReport_closure2: function quoteReport_closure2() { }, quoteReport_closure3: function quoteReport_closure3() { }, recurringExpenseReport(userCompany, reportsUIState, expenseMap, expenseCategoryMap, invoiceMap, clientMap, vendorMap, userMap, staticState) { var t2, expenseReportSettings, defaultColumns, t3, columns, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, client, vendor, t19, row, t20, value, t21, t22, t23, value0, value1, t24, value2, value3, t25, t26, t27, value4, value5, value6, value7, value8, t28, value9, value10, value11, value12, value13, value14, value15, value16, value17, t29, value18, value19, t30, value20, value21, t31, skip, t32, value22, t33, t34, scope, selectedColumns, _null = null, _s17_ = "recurring_expense", data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.Localizations_of(t1, B.Type_AppLocalization_KyD, type$.AppLocalization); t2 = userCompany.settings.reportSettings._map$_map; if (t2.containsKey$1(0, _s17_)) { t2 = t2.$index(0, _s17_); t2.toString; expenseReportSettings = t2; } else expenseReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.RecurringExpenseReportFields_1, B.RecurringExpenseReportFields_4, B.RecurringExpenseReportFields_12, B.RecurringExpenseReportFields_18, B.RecurringExpenseReportFields_23, B.RecurringExpenseReportFields_28, B.RecurringExpenseReportFields_29, B.RecurringExpenseReportFields_30], type$.JSArray_RecurringExpenseReportFields); t2 = expenseReportSettings.columns._list$_list; t3 = type$.RecurringExpenseReportFields; if (t2.length !== 0) { t2 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t2, new A.recurringExpenseReport_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,RecurringExpenseReportFields?>")), t3); columns = A.BuiltList_BuiltList$from(A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")), t3); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t3); for (t2 = expenseMap.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = columns._list$_list, t4 = A._arrayInstanceType(t3), t5 = t4._eval$1("ArrayIterator<1>"), t6 = t4._precomputed1, t7 = type$.nullable_AppLocalization, t8 = type$._LocalizationsScope, t9 = userMap._map$_map, t10 = expenseCategoryMap._map$_map, t11 = staticState.paymentTypeMap._map$_map, t12 = staticState.currencyMap._map$_map, t13 = type$.JSArray_ReportElement, t14 = vendorMap._map$_map, t15 = expenseMap._map$_map, t16 = clientMap._map$_map, t17 = !userCompany.company.reportIncludeDeleted; t2.moveNext$0();) { t18 = t15.$index(0, t2.__js_helper$_current); t18.toString; client = t16.$index(0, t18.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); vendor = t14.$index(0, t18.vendorId); if (vendor == null) vendor = A.VendorEntity_VendorEntity(_null, _null, _null); t19 = t18.isDeleted; t19.toString; if (t19 && t17) continue; row = A._setArrayType([], t13); for (t20 = new J.ArrayIterator(t3, t3.length, t5), value = t18.id, t21 = t18.entityType, t22 = t18.archivedAt > 0, t23 = t18.remainingCycles, value0 = "" + t23, t23 = t23 === -1, value1 = t18.nextSendDate, t24 = t18.frequencyId, value2 = t18.privateNotes, value3 = t18.publicNotes, t25 = t18.createdUserId, t26 = t18.assignedUserId, t27 = t18.categoryId, value4 = t18.customValue4, value5 = t18.customValue3, value6 = t18.customValue2, value7 = t18.customValue1, value8 = vendor.displayName, t28 = value8.length !== 0, value9 = client.shippingAddress2, value10 = client.shippingAddress1, value11 = client.address2, value12 = client.address1, value13 = client.balance, value14 = client.displayName, value15 = t18.taxRate3, value16 = t18.taxRate2, value17 = t18.taxRate1, t29 = t18.paymentTypeId, value18 = t18.paymentDate, value19 = t18.date, t30 = t18.currencyId, value20 = t18.transactionReference, value21 = t18.amount, t31 = t18.usesInclusiveTaxes, t19 = !t19, skip = false; t20.moveNext$0();) { t32 = t20.__interceptors$_current; if (t32 == null) t32 = t6._as(t32); switch (t32.index) { case 0: value22 = value; break; case 1: value22 = t31 ? value21 : value21 + (t18.get$calculateTaxAmount1() + t18.get$calculateTaxAmount2() + t18.get$calculateTaxAmount3()); break; case 2: value22 = t31 ? value21 - (t18.get$calculateTaxAmount1() + t18.get$calculateTaxAmount2() + t18.get$calculateTaxAmount3()) : value21; break; case 3: value22 = t18.get$calculateTaxAmount1() + t18.get$calculateTaxAmount2() + t18.get$calculateTaxAmount3(); break; case 4: value22 = value20; break; case 5: t33 = t12.$index(0, t30); value22 = t33 == null ? _null : t33.name; if (value22 == null) value22 = ""; break; case 6: value22 = value19; break; case 7: value22 = value18; break; case 8: t33 = t11.$index(0, t29); value22 = t33 == null ? _null : t33.name; if (value22 == null) value22 = ""; break; case 9: value22 = value17; break; case 10: value22 = value16; break; case 11: value22 = value15; break; case 12: value22 = value14; break; case 13: value22 = value13; break; case 14: value22 = value12; break; case 15: value22 = value11; break; case 16: value22 = value10; break; case 17: value22 = value9; break; case 18: value22 = t28 ? value8 : vendor.get$calculateDisplayName(); break; case 19: value22 = value7; break; case 20: value22 = value6; break; case 21: value22 = value5; break; case 22: value22 = value4; break; case 23: t33 = t10.$index(0, t27); value22 = t33 == null ? _null : t33.name; if (value22 == null) value22 = ""; break; case 24: t33 = t9.$index(0, t26); if (t33 == null) value22 = _null; else { t34 = B.JSString_methods.trim$0(t33.firstName + " " + t33.lastName); t33 = t34.length !== 0 ? t34 : t33.email; value22 = t33; } if (value22 == null) value22 = ""; break; case 25: t33 = t9.$index(0, t25); if (t33 == null) value22 = _null; else { t34 = B.JSString_methods.trim$0(t33.firstName + " " + t33.lastName); t33 = t34.length !== 0 ? t34 : t33.email; value22 = t33; } if (value22 == null) value22 = ""; break; case 26: value22 = value3; break; case 27: value22 = value2; break; case 28: t1.toString; value22 = t1.lookup$1(B.Map_mGn4d.$index(0, t24)); break; case 29: value22 = value1; break; case 30: if (t23) { t1.toString; t33 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t33.toString; t33 = J.$index$asx(t33, "endless"); t33.toString; value22 = t33; } else value22 = value0; break; case 31: t33 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t33).dependOnInheritedWidgetOfExactType$1$0(t8); t33 = scope == null ? _null : t7._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t33.toString; if (t18.get$isActive()) t34 = "active"; else t34 = t22 && t19 ? "archived" : "deleted"; value22 = t33.lookup$1(t34); break; default: value22 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t32), _null, reportsUIState, userCompany, value22)) skip = true; t32 = J.getInterceptor$(value22); if (t32.get$runtimeType(value22) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value22, t21, value)); else if (t32.get$runtimeType(value22) === B.Type_double_K1J || t32.get$runtimeType(value22) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value22, _null, t30, t21, value)); else row.push(new A.ReportStringValue(value22, t21, value)); } if (!skip) { data.push(row); entities.push(t18); } } t1 = t4._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t3, new A.recurringExpenseReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.recurringExpenseReport_closure1(expenseReportSettings, selectedColumns)); t1 = type$.MappedListIterable_RecurringExpenseReportFields_String; t3 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_Ecu0, new A.recurringExpenseReport_closure2(), t1), true, t3), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.recurringExpenseReport_closure3(), t1), true, t3), data, entities, true); }, RecurringExpenseReportFields: function RecurringExpenseReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedRecurringExpenseReport_closure: function memoizedRecurringExpenseReport_closure() { }, recurringExpenseReport_closure: function recurringExpenseReport_closure() { }, recurringExpenseReport_closure0: function recurringExpenseReport_closure0() { }, recurringExpenseReport_closure1: function recurringExpenseReport_closure1(t0, t1) { this.expenseReportSettings = t0; this.selectedColumns = t1; }, recurringExpenseReport_closure2: function recurringExpenseReport_closure2() { }, recurringExpenseReport_closure3: function recurringExpenseReport_closure3() { }, recurringInvoiceReport(userCompany, reportsUIState, invoiceMap, clientMap, userMap, vendorMap, projectMap, staticState) { var t2, invoiceReportSettings, defaultColumns, t3, t4, columns, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, currencyId, t16, t17, t18, t19, t20, t21, client, t22, contact, t23, row, value, t24, t25, t26, t27, t28, t29, t30, value0, value1, t31, value2, value3, value4, t32, t33, value5, value6, value7, value8, value9, value10, t34, value11, value12, t35, value13, t36, t37, t38, t39, currencyId0, value14, value15, value16, value17, value18, value19, value20, value21, value22, t40, value23, value24, value25, value26, t41, value27, value28, value29, value30, value31, value32, value33, value34, value35, value36, value37, value38, value39, value40, value41, value42, value43, value44, value45, value46, value47, value48, t42, t43, t44, skip, t45, value49, t46, t47, scope, currencyId1, selectedColumns, _null = null, _s17_ = "recurring_invoice", _s14_ = "due_on_receipt", data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.Localizations_of(t1, B.Type_AppLocalization_KyD, type$.AppLocalization); t2 = userCompany.settings.reportSettings._map$_map; if (t2.containsKey$1(0, _s17_)) { t2 = t2.$index(0, _s17_); t2.toString; invoiceReportSettings = t2; } else invoiceReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); t2 = type$.JSArray_RecurringInvoiceReportFields; defaultColumns = A._setArrayType([B.RecurringInvoiceReportFields_21, B.RecurringInvoiceReportFields_3, B.RecurringInvoiceReportFields_1, B.RecurringInvoiceReportFields_65, B.RecurringInvoiceReportFields_66, B.RecurringInvoiceReportFields_67], t2); t3 = invoiceReportSettings.columns._list$_list; t4 = type$.RecurringInvoiceReportFields; if (t3.length !== 0) { t3 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t3, new A.recurringInvoiceReport_closure(), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,RecurringInvoiceReportFields?>")), t4); columns = A.BuiltList_BuiltList$from(A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")), t4); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t4); for (t3 = invoiceMap.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = columns._list$_list, t5 = A._arrayInstanceType(t4), t6 = t5._eval$1("ArrayIterator<1>"), t7 = t5._precomputed1, t8 = type$.nullable_AppLocalization, t9 = type$._LocalizationsScope, t10 = staticState.countryMap._map$_map, t11 = vendorMap._map$_map, t12 = projectMap._map$_map, t13 = userMap._map$_map, t14 = staticState.currencyMap._map$_map, t15 = userCompany.company, currencyId = t15.settings.currencyId, t16 = type$.JSArray_ReportElement, t17 = !t15.reportIncludeDrafts, t18 = invoiceMap._map$_map, t19 = clientMap._map$_map, t15 = !t15.reportIncludeDeleted, t20 = currencyId == null; t3.moveNext$0();) { t21 = t18.$index(0, t3.__js_helper$_current); t21.toString; client = t19.$index(0, t21.clientId); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t22 = t21.invitations._list$_list; if (t22.length === 0) continue; contact = client.getContact$1(B.JSArray_methods.get$first(t22).clientContactId); t22 = t21.isDeleted; t22.toString; if (!(t22 && t15)) { t23 = client.isDeleted; t23.toString; } else t23 = true; if (t23) continue; if (t17 && t21.statusId === "1") continue; row = A._setArrayType([], t16); for (t23 = new J.ArrayIterator(t4, t4.length, t6), value = t21.id, t24 = t21.entityType, t25 = t21.archivedAt > 0, t26 = t21.dueDateDays, t27 = A.S(t26), t28 = t26 === "31", t29 = t26 === "1", t30 = t26 === "on_receipt", t26 = t26 === "terms", value0 = client.idNumber, value1 = client.number, t31 = t21.remainingCycles, value2 = A.S(t31), t31 = t31 === -1, value3 = t21.lastSentDate, value4 = t21.nextSendDate, t32 = t21.frequencyId, t33 = client.shippingCountryId, value5 = client.shippingPostalCode, value6 = client.shippingState, value7 = client.shippingCity, value8 = client.state, value9 = client.website, value10 = contact.phone, t34 = contact.firstName + " " + contact.lastName, value11 = contact.email, value12 = client.phone, t35 = t24 === B.EntityType_invoice, value13 = t21.statusId === "4", t36 = t21.vendorId, t37 = t21.projectId, t38 = t21.createdUserId, t39 = t21.assignedUserId, currencyId0 = client.settings.currencyId, value14 = client.city, value15 = t21.privateNotes, value16 = t21.publicNotes, value17 = t21.taxRate1, value18 = t21.taxName1, value19 = t21.taxRate2, value20 = t21.taxName2, value21 = client.vatNumber, value22 = client.postalCode, t40 = client.countryId, value23 = t21.exchangeRate, value24 = t21.amount, value25 = t21.taxAmount, value26 = value24 - value25, t41 = t21.createdAt, value27 = t21.customSurcharge4, value28 = t21.customSurcharge3, value29 = t21.customSurcharge2, value30 = t21.customSurcharge1, value31 = t21.customValue4, value32 = t21.customValue3, value33 = t21.customValue2, value34 = t21.customValue1, value35 = t21.autoBill, value36 = t21.reminderLastSent, value37 = t21.reminder3Sent, value38 = t21.reminder2Sent, value39 = t21.reminder1Sent, value40 = t21.poNumber, value41 = t21.discount, value42 = t21.number, value43 = client.shippingAddress2, value44 = client.shippingAddress1, value45 = client.address2, value46 = client.address1, value47 = client.balance, value48 = client.displayName, t42 = value24 / value23, t43 = !t22, t44 = t41 * 1000, t41 = t41 === 0, skip = false; t23.moveNext$0();) { t45 = t23.__interceptors$_current; if (t45 == null) t45 = t7._as(t45); switch (t45.index) { case 0: value49 = value; break; case 1: value49 = value24; break; case 2: value49 = A.round(t42, 2); break; case 3: value49 = value48; break; case 6: value49 = value47; break; case 7: value49 = value46; break; case 8: value49 = value45; break; case 13: value49 = value44; break; case 14: value49 = value43; break; case 20: value49 = B.Map_5euww.$index(0, t21.get$calculatedStatusId()); if (value49 == null) value49 = ""; break; case 21: value49 = value42; break; case 22: value49 = value41; break; case 23: value49 = value40; break; case 41: value49 = value39; break; case 42: value49 = value38; break; case 43: value49 = value37; break; case 44: value49 = value36; break; case 24: value49 = value35; break; case 25: value49 = value34; break; case 26: value49 = value33; break; case 27: value49 = value32; break; case 28: value49 = value31; break; case 29: value49 = t21.get$hasExpenses(); break; case 30: value49 = t21.get$hasTasks(); break; case 31: value49 = value30; break; case 32: value49 = value29; break; case 33: value49 = value28; break; case 34: value49 = value27; break; case 35: if (t41) value49 = ""; else { t46 = new A.DateTime(t44, true); t46.DateTime$_withValue$2$isUtc(t44, true); value49 = t46.toIso8601String$0(); } break; case 36: if (t41) value49 = ""; else { t46 = new A.DateTime(t44, true); t46.DateTime$_withValue$2$isUtc(t44, true); value49 = t46.toIso8601String$0(); } break; case 37: value49 = t22; break; case 38: value49 = value25; break; case 39: value49 = value26; break; case 40: value49 = t21.get$netBalanceOrAmount(); break; case 45: value49 = value23; break; case 12: t46 = t10.$index(0, t40); value49 = t46 == null ? _null : t46.name; if (value49 == null) value49 = ""; break; case 11: value49 = value22; break; case 9: value49 = value21; break; case 52: value49 = value18; break; case 49: value49 = value17; break; case 53: value49 = value20; break; case 50: value49 = value19; break; case 54: value49 = value18; break; case 51: value49 = value17; break; case 46: value49 = value16; break; case 47: value49 = value15; break; case 10: value49 = value14; break; case 55: t46 = t14.$index(0, currencyId0); value49 = t46 == null ? _null : t46.name; if (value49 == null) value49 = ""; break; case 56: t46 = t13.$index(0, t39); if (t46 == null) value49 = _null; else { t47 = B.JSString_methods.trim$0(t46.firstName + " " + t46.lastName); t46 = t47.length !== 0 ? t47 : t46.email; value49 = t46; } if (value49 == null) value49 = ""; break; case 57: t46 = t13.$index(0, t38); if (t46 == null) value49 = _null; else { t47 = B.JSString_methods.trim$0(t46.firstName + " " + t46.lastName); t46 = t47.length !== 0 ? t47 : t46.email; value49 = t46; } if (value49 == null) value49 = ""; break; case 58: t46 = t12.$index(0, t37); value49 = (t46 == null ? A.ProjectEntity_ProjectEntity(_null, _null, _null, _null) : t46).name; break; case 59: t46 = t11.$index(0, t36); value49 = (t46 == null ? A.VendorEntity_VendorEntity(_null, _null, _null) : t46).name; break; case 60: value49 = t35 && value13; break; case 61: value49 = value12; break; case 62: value49 = value11; break; case 64: value49 = B.JSString_methods.trim$0(t34); break; case 63: value49 = value10; break; case 48: value49 = value9; break; case 15: value49 = value8; break; case 16: value49 = value7; break; case 17: value49 = value6; break; case 18: value49 = value5; break; case 19: t46 = t10.$index(0, t33); value49 = t46 == null ? _null : t46.name; if (value49 == null) value49 = ""; break; case 65: t1.toString; value49 = t1.lookup$1(B.Map_mGn4d.$index(0, t32)); break; case 66: case 69: value49 = value4; break; case 70: value49 = value3; break; case 67: if (t31) { t1.toString; t46 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t46.toString; t46 = J.$index$asx(t46, "endless"); t46.toString; value49 = t46; } else value49 = value2; break; case 4: value49 = value1; break; case 5: value49 = value0; break; case 68: if (t26) { t1.toString; t46 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t46.toString; t46 = J.$index$asx(t46, "use_payment_terms"); t46.toString; value49 = t46; } else if (t30) { t1.toString; t46 = $.$get$LocalizationsProvider__localizedValues(); t47 = t46.$index(0, t1.localeCode); t47.toString; t47 = J.$index$asx(t47, _s14_); if (t47 == null) { t46 = t46.$index(0, "en"); t46.toString; t46 = J.$index$asx(t46, _s14_); t46.toString; value49 = t46; } else value49 = t47; } else if (t29) { t1.toString; t46 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t46.toString; t46 = J.$index$asx(t46, "first_day_of_the_month"); t46.toString; value49 = t46; } else if (t28) { t1.toString; t46 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t46.toString; t46 = J.$index$asx(t46, "last_day_of_the_month"); t46.toString; value49 = t46; } else { t1.toString; t46 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t46.toString; t46 = J.$index$asx(t46, "day_count"); t46.toString; value49 = A.stringReplaceFirstUnchecked(t46, ":count", t27, 0); } break; case 71: t46 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t46).dependOnInheritedWidgetOfExactType$1$0(t9); t46 = scope == null ? _null : t8._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t46.toString; if (t21.get$isActive()) t47 = "active"; else t47 = t25 && t43 ? "archived" : "deleted"; value49 = t46.lookup$1(t47); break; default: value49 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t45), _null, reportsUIState, userCompany, value49)) skip = true; t46 = J.getInterceptor$(value49); if (t46.get$runtimeType(value49) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value49, t24, value)); else if (t46.get$runtimeType(value49) === B.Type_double_K1J || t46.get$runtimeType(value49) === B.Type_int_tHn) { if (B.JSArray_methods.contains$1(A._setArrayType([B.RecurringInvoiceReportFields_2], t2), t45)) currencyId1 = t20 ? "1" : currencyId; else currencyId1 = currencyId0; row.push(new A.ReportNumberValue(value49, _null, currencyId1, t24, value)); } else row.push(new A.ReportStringValue(value49, t24, value)); } if (!skip) { data.push(row); entities.push(t21); } } t1 = t5._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t4, new A.recurringInvoiceReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.recurringInvoiceReport_closure1(invoiceReportSettings, selectedColumns)); t1 = type$.MappedListIterable_RecurringInvoiceReportFields_String; t4 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_sKB, new A.recurringInvoiceReport_closure2(), t1), true, t4), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.recurringInvoiceReport_closure3(), t1), true, t4), data, entities, true); }, RecurringInvoiceReportFields: function RecurringInvoiceReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedRecurringInvoiceReport_closure: function memoizedRecurringInvoiceReport_closure() { }, recurringInvoiceReport_closure: function recurringInvoiceReport_closure() { }, recurringInvoiceReport_closure0: function recurringInvoiceReport_closure0() { }, recurringInvoiceReport_closure1: function recurringInvoiceReport_closure1(t0, t1) { this.invoiceReportSettings = t0; this.selectedColumns = t1; }, recurringInvoiceReport_closure2: function recurringInvoiceReport_closure2() { }, recurringInvoiceReport_closure3: function recurringInvoiceReport_closure3() { }, ReportCharts: function ReportCharts(t0, t1) { this.viewModel = t0; this.key = t1; }, ReportCharts_build_closure: function ReportCharts_build_closure(t0) { this.state = t0; }, ReportCharts_build_closure1: function ReportCharts_build_closure1(t0, t1) { this.columnType = t0; this.localization = t1; }, ReportCharts_build_closure2: function ReportCharts_build_closure2() { }, ReportCharts_build_closure0: function ReportCharts_build_closure0(t0, t1) { this.$this = t0; this.reportState = t1; }, ReportCharts_build_closure3: function ReportCharts_build_closure3() { }, ReportCharts_build_closure4: function ReportCharts_build_closure4() { }, ReportCharts_build_closure5: function ReportCharts_build_closure5(t0) { this.state = t0; }, ReportCharts_build_closure7: function ReportCharts_build_closure7() { }, ReportCharts_build_closure8: function ReportCharts_build_closure8() { }, ReportCharts_build_closure6: function ReportCharts_build_closure6(t0, t1) { this.$this = t0; this.reportState = t1; }, canTotalColumn(column) { if (B.JSArray_methods.contains$1(A._setArrayType(["notification_threshold", "age"], type$.JSArray_String), column)) return false; if (B.JSString_methods.contains$1(column, "_rate")) return false; return true; }, getReportColumnType(column, context) { var t1, company; column = A.toSnakeCase(column); t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); company = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.company; if (B.JSString_methods.startsWith$1(column, "surcharge")) return B.ReportColumnType_3; else if (column === "duration") return B.ReportColumnType_6; else if (company.getCustomFieldLabel$1(column).length !== 0) return new A.getReportColumnType_convertCustomFieldType().call$1(company.getCustomFieldType$1(column)); else if (A.EntityPresenter_isFieldNumeric(column)) return B.ReportColumnType_3; else { t1 = type$.JSArray_String; if (B.JSArray_methods.contains$1(A._setArrayType(["updated_at", "created_at", "start_time", "end_time"], t1), column)) return B.ReportColumnType_1; else if (B.JSString_methods.contains$1(column, "_date") && column !== "paid_to_date" || B.JSArray_methods.contains$1(A._setArrayType(["date", "valid_until"], t1), column)) return B.ReportColumnType_2; else if (column === "age") return B.ReportColumnType_5; else if (B.JSString_methods.startsWith$1(column, "is_")) return B.ReportColumnType_4; else return B.ReportColumnType_0; } }, ReportResult_matchField(column, localization, reportsUIState, userCompany, value) { var min, t2, boolFilter, t1 = reportsUIState.filters._map$_map; if (t1.containsKey$1(0, column)) { t1 = t1.$index(0, column); t1.toString; if (t1.length !== 0) if (column === "age") { min = B.Map_EiihW.$index(0, t1); if (t1 === "age_group_paid") return J.$eq$(value, -1); else if (t1 === "age_group_120") return J.$gt$n(value, min); else { min.toString; t1 = J.getInterceptor$n(value); if (t1.$lt(value, min) || t1.$ge(value, min + 30)) return false; } } else { t2 = J.getInterceptor$(value); if (t2.get$runtimeType(value) === B.Type_int_tHn || t2.get$runtimeType(value) === B.Type_double_K1J) { if (!A.ReportResult_matchAmount(value, t1)) return false; } else if (t2.get$runtimeType(value) === B.Type_bool_lhE || t1 === "true" || t1 === "false") { if (t1.toLowerCase() === "yes") boolFilter = "true"; else if (t1.toLowerCase() === "no") boolFilter = "false"; else boolFilter = t1; if (t2.get$runtimeType(value) === B.Type_String_k8F) if (J.$eq$(t2.toLowerCase$0(value), "yes")) value = "true"; else if (J.$eq$(t2.toLowerCase$0(value), "no")) value = "false"; if (boolFilter !== A.S(value)) return false; } else if (t2.get$runtimeType(value) === B.Type_EntityType_6qb) return t1.toLowerCase() === A.S(value).toLowerCase(); else if (A.isValidDate(value)) { if (!A.ReportResult_matchDateTime(t1, reportsUIState, userCompany, value)) return false; } else if (!A.ReportResult_matchString(t1, value)) return false; } } return true; }, ReportResult_matchString(filter, value) { var t1; filter = B.JSString_methods.trim$0(filter); if (filter.length === 0) return true; t1 = value == null ? "" : value; value = t1.toLowerCase(); filter = filter.toLowerCase(); if (filter === "null" && value.length === 0) return true; if (B.JSString_methods.contains$1(value, filter)) return true; t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; if (B.JSString_methods.contains$1(A.Localizations_of(t1, B.Type_AppLocalization_KyD, type$.AppLocalization).lookup$1(value).toLowerCase(), filter)) return true; return false; }, ReportResult_matchAmount(amount, filter) { var max, parts = (A.stringReplaceAllUnchecked(filter, ",", "-") + "-").split("-"), t1 = A.parseDouble(parts[0], false); t1.toString; max = parts.length > 1 ? A.parseDouble(parts[1], false) : 0; if (!(amount < t1)) { max.toString; t1 = max > 0 && amount > max; } else t1 = true; if (t1) return false; return true; }, ReportResult_matchDateTime(filter, reportsUIState, userCompany, value) { var exception, t1, t2, t3, startDate, endDate, dateRange = B.DateRange_last30Days; try { dateRange = A._$valueOf0(filter); } catch (exception) { } t1 = userCompany.company; t2 = reportsUIState.customStartDate; t3 = reportsUIState.customEndDate; startDate = A.calculateStartDate(t1, t3, t2, dateRange, 0); endDate = A.calculateEndDate(t1, t3, t2, dateRange, 0); value = B.JSArray_methods.get$first(value.split("T")); if (dateRange === B.DateRange_custom) { t1 = t2.length !== 0; if (t1 && t3.length !== 0) { startDate.toString; if (B.JSString_methods.compareTo$1(startDate, value) <= 0) { endDate.toString; t1 = B.JSString_methods.compareTo$1(endDate, value) >= 0; } else t1 = false; if (!t1) return false; } else if (t1) { startDate.toString; if (B.JSString_methods.compareTo$1(startDate, value) > 0) return false; } else if (t3.length !== 0) { endDate.toString; if (B.JSString_methods.compareTo$1(endDate, value) < 0) return false; } } else { startDate.toString; if (B.JSString_methods.compareTo$1(startDate, value) <= 0) { endDate.toString; t1 = B.JSString_methods.compareTo$1(endDate, value) >= 0; } else t1 = false; if (!t1) return false; } return true; }, sortReportTableRows(rowA, rowB, reportSettings, columns) { var index, valueA, valueB, t1 = reportSettings.sortColumn; if (t1.length === 0) return 0; index = B.JSArray_methods.indexOf$1(columns, t1); if (index === -1) return 0; else { t1 = J.getInterceptor$asx(rowA); if (t1.get$length(rowA) <= index || J.get$length$asx(rowB) <= index) return 0; } valueA = J.get$value$x(t1.$index(rowA, index)); valueB = J.get$value$x(J.$index$asx(rowB, index)); if (A._isBool(valueA)) if (reportSettings.sortAscending) return valueA ? 1 : -1; else return valueA ? -1 : 1; if (reportSettings.sortAscending) return J.compareTo$1$ns(valueA, valueB); else return J.compareTo$1$ns(valueB, valueA); }, ReportsScreen: function ReportsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ReportsScreen_build_closure: function ReportsScreen_build_closure(t0) { this.localization = t0; }, ReportsScreen_build__closure5: function ReportsScreen_build__closure5(t0) { this.context = t0; }, ReportsScreen_build_closure0: function ReportsScreen_build_closure0(t0, t1) { this.reportsState = t0; this.context = t1; }, ReportsScreen_build_closure1: function ReportsScreen_build_closure1() { }, ReportsScreen_build_closure3: function ReportsScreen_build_closure3(t0) { this.$this = t0; }, ReportsScreen_build_closure2: function ReportsScreen_build_closure2(t0) { this.localization = t0; }, ReportsScreen_build_closure6: function ReportsScreen_build_closure6(t0) { this.$this = t0; }, ReportsScreen_build_closure4: function ReportsScreen_build_closure4(t0) { this.context = t0; }, ReportsScreen_build_closure5: function ReportsScreen_build_closure5(t0, t1) { this.state = t0; this.localization = t1; }, ReportsScreen_build_closure7: function ReportsScreen_build_closure7(t0) { this.$this = t0; }, ReportsScreen_build_closure8: function ReportsScreen_build_closure8(t0, t1) { this.context = t0; this.reportState = t1; }, ReportsScreen_build_closure9: function ReportsScreen_build_closure9(t0) { this.context = t0; }, ReportsScreen_build_closure11: function ReportsScreen_build_closure11(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.reportState = t2; _.filterColumns = t3; }, ReportsScreen_build__closure4: function ReportsScreen_build__closure4(t0, t1, t2) { this.value = t0; this.filterColumns = t1; this.reportState = t2; }, ReportsScreen_build_closure10: function ReportsScreen_build_closure10(t0) { this.localization = t0; }, ReportsScreen_build_closure12: function ReportsScreen_build_closure12(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.reportState = t2; _.dateField = t3; _.dateColumns = t4; }, ReportsScreen_build__closure3: function ReportsScreen_build__closure3(t0, t1, t2) { this.dateField = t0; this.dateColumns = t1; this.value = t2; }, ReportsScreen_build_closure13: function ReportsScreen_build_closure13() { }, ReportsScreen_build_closure14: function ReportsScreen_build_closure14(t0) { this.localization = t0; }, ReportsScreen_build_closure15: function ReportsScreen_build_closure15(t0) { this.$this = t0; }, ReportsScreen_build_closure16: function ReportsScreen_build_closure16(t0) { this.$this = t0; }, ReportsScreen_build_closure19: function ReportsScreen_build_closure19(t0) { this.$this = t0; }, ReportsScreen_build_closure17: function ReportsScreen_build_closure17(t0) { this.context = t0; }, ReportsScreen_build_closure18: function ReportsScreen_build_closure18(t0) { this.localization = t0; }, ReportsScreen_build_closure29: function ReportsScreen_build_closure29(t0) { this.store = t0; }, ReportsScreen_build_closure20: function ReportsScreen_build_closure20(t0, t1, t2) { this.$this = t0; this.localization = t1; this.reportResult = t2; }, ReportsScreen_build__closure2: function ReportsScreen_build__closure2(t0, t1, t2) { this.$this = t0; this.context = t1; this.reportResult = t2; }, ReportsScreen_build___closure0: function ReportsScreen_build___closure0(t0, t1) { this.$this = t0; this.context = t1; }, ReportsScreen_build_closure21: function ReportsScreen_build_closure21(t0, t1) { this.$this = t0; this.context = t1; }, ReportsScreen_build_closure22: function ReportsScreen_build_closure22(t0, t1) { this.$this = t0; this.context = t1; }, ReportsScreen_build_closure23: function ReportsScreen_build_closure23(t0, t1, t2, t3) { var _ = this; _.cappedEntities = t0; _.reportResult = t1; _.localization = t2; _.firstEntity = t3; }, ReportsScreen_build__closure1: function ReportsScreen_build__closure1(t0, t1) { this.entities = t0; this.action = t1; }, ReportsScreen_build_closure24: function ReportsScreen_build_closure24(t0, t1, t2) { this.state = t0; this.localization = t1; this.store = t2; }, ReportsScreen_build__closure0: function ReportsScreen_build__closure0(t0, t1, t2) { this.context = t0; this.state = t1; this.store = t2; }, ReportsScreen_build_closure25: function ReportsScreen_build_closure25() { }, ReportsScreen_build_closure27: function ReportsScreen_build_closure27(t0, t1, t2) { this.$this = t0; this.localization = t1; this.reportResult = t2; }, ReportsScreen_build__closure: function ReportsScreen_build__closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.reportResult = t2; }, ReportsScreen_build___closure: function ReportsScreen_build___closure(t0, t1) { this.$this = t0; this.context = t1; }, ReportsScreen_build_closure26: function ReportsScreen_build_closure26(t0, t1) { this.$this = t0; this.context = t1; }, ReportsScreen_build_closure28: function ReportsScreen_build_closure28(t0, t1) { this.$this = t0; this.context = t1; }, ReportDataTable: function ReportDataTable(t0, t1) { this.viewModel = t0; this.key = t1; }, _ReportDataTableState: function _ReportDataTableState(t0, t1, t2) { var _ = this; _._textEditingControllers = t0; _._textEditingFocusNodes = t1; _.___ReportDataTableState_dataTableSource_A = $; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ReportDataTableState_initState_closure: function _ReportDataTableState_initState_closure(t0, t1) { this.$this = t0; this.viewModel = t1; }, _ReportDataTableState_initState__closure: function _ReportDataTableState_initState__closure(t0, t1) { this.column = t0; this.value = t1; }, _ReportDataTableState_didChangeDependencies_closure: function _ReportDataTableState_didChangeDependencies_closure(t0, t1, t2) { this.$this = t0; this.column = t1; this.textEditingController = t2; }, _ReportDataTableState__onChanged_closure: function _ReportDataTableState__onChanged_closure(t0, t1) { this.column = t0; this.value = t1; }, _ReportDataTableState_dispose_closure: function _ReportDataTableState_dispose_closure(t0) { this.$this = t0; }, _ReportDataTableState_dispose__closure: function _ReportDataTableState_dispose__closure(t0, t1) { this.$this = t0; this.i = t1; }, _ReportDataTableState_build_closure: function _ReportDataTableState_build_closure(t0, t1) { this.$this = t0; this.sortedColumns = t1; }, TotalsDataTable: function TotalsDataTable(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.reportSettings = t1; _.reportResult = t2; _.key = t3; }, TotalsDataTable_build_closure: function TotalsDataTable_build_closure(t0) { this.$this = t0; }, ReportColumnType: function ReportColumnType(t0, t1) { this.index = t0; this._core$_name = t1; }, getReportColumnType_convertCustomFieldType: function getReportColumnType_convertCustomFieldType() { }, ReportDataTableSource: function ReportDataTableSource(t0, t1, t2, t3, t4, t5) { var _ = this; _.viewModel = t0; _.context = t1; _.textEditingControllers = t2; _.textEditingFocusNodes = t3; _.onFilterChanged = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ReportDataTableSource_getRow_closure: function ReportDataTableSource_getRow_closure(t0) { this.$this = t0; }, ReportResult: function ReportResult(t0, t1, t2, t3, t4, t5) { var _ = this; _.columns = t0; _.allColumns = t1; _.defaultColumns = t2; _.data = t3; _.entities = t4; _.showTotals = t5; }, ReportResult_tableColumns_closure: function ReportResult_tableColumns_closure(t0, t1) { this.store = t0; this.reportState = t1; }, ReportResult_tableFilters_closure: function ReportResult_tableFilters_closure(t0, t1, t2) { this.textEditingControllers = t0; this.column = t1; this.onFilterChanged = t2; }, ReportResult_tableFilters_closure0: function ReportResult_tableFilters_closure0(t0, t1, t2) { this.textEditingControllers = t0; this.column = t1; this.onFilterChanged = t2; }, ReportResult_tableFilters_closure1: function ReportResult_tableFilters_closure1(t0) { this.localization = t0; }, ReportResult_tableFilters_closure2: function ReportResult_tableFilters_closure2(t0, t1, t2) { this.textEditingControllers = t0; this.column = t1; this.onFilterChanged = t2; }, ReportResult_tableFilters_closure3: function ReportResult_tableFilters_closure3(t0, t1, t2) { this.textEditingControllers = t0; this.column = t1; this.onFilterChanged = t2; }, ReportResult_tableFilters_closure4: function ReportResult_tableFilters_closure4() { }, ReportResult_tableFilters_closure5: function ReportResult_tableFilters_closure5(t0) { this.localization = t0; }, ReportResult_tableFilters_closure9: function ReportResult_tableFilters_closure9(t0, t1, t2) { this.$this = t0; this.column = t1; this.context = t2; }, ReportResult_tableFilters__closure: function ReportResult_tableFilters__closure(t0, t1, t2, t3) { var _ = this; _.index = t0; _.context = t1; _.column = t2; _.filter = t3; }, ReportResult_tableFilters__closure0: function ReportResult_tableFilters__closure0(t0, t1, t2) { this.index = t0; this.context = t1; this.column = t2; }, ReportResult_tableFilters_closure8: function ReportResult_tableFilters_closure8(t0, t1, t2, t3) { var _ = this; _.textEditingControllers = t0; _.column = t1; _.onFilterChanged = t2; _.textEditingFocusNodes = t3; }, ReportResult_tableFilters__closure1: function ReportResult_tableFilters__closure1(t0) { this.textEditingController = t0; }, ReportResult_tableFilters_closure6: function ReportResult_tableFilters_closure6(t0, t1, t2, t3) { var _ = this; _.textEditingControllers = t0; _.column = t1; _.onFilterChanged = t2; _.textEditingFocusNodes = t3; }, ReportResult_tableFilters__closure3: function ReportResult_tableFilters__closure3(t0, t1, t2, t3) { var _ = this; _.textEditingControllers = t0; _.column = t1; _.onFilterChanged = t2; _.textEditingFocusNodes = t3; }, ReportResult_tableFilters__closure4: function ReportResult_tableFilters__closure4(t0) { this.onFieldSubmitted = t0; }, ReportResult_tableFilters_closure7: function ReportResult_tableFilters_closure7(t0, t1) { this.theme = t0; this.store = t1; }, ReportResult_tableFilters__closure2: function ReportResult_tableFilters__closure2(t0, t1, t2, t3) { var _ = this; _.highlightedIndex = t0; _.store = t1; _.options = t2; _.onSelected = t3; }, ReportResult_tableFilters___closure: function ReportResult_tableFilters___closure(t0, t1, t2) { this.onSelected = t0; this.options = t1; this.index = t2; }, ReportResult_tableRow_closure: function ReportResult_tableRow_closure(t0) { this.cell = t0; }, ReportResult_tableRow_closure0: function ReportResult_tableRow_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.group = t0; _.column = t1; _.groupBy = t2; _.context = t3; _.reportState = t4; _.localization = t5; _.store = t6; }, ReportResult_tableRow__closure: function ReportResult_tableRow__closure(t0, t1) { this._box_0 = t0; this.column = t1; }, ReportResult_totalColumns_closure: function ReportResult_totalColumns_closure() { }, ReportResult_totalColumns_closure0: function ReportResult_totalColumns_closure0() { }, ReportResult_totalRows_closure: function ReportResult_totalRows_closure(t0, t1, t2) { this.reportSettings = t0; this.state = t1; this.totals = t2; }, ReportResult_totalRows__closure0: function ReportResult_totalRows__closure0() { }, ReportResult_totalRows_closure0: function ReportResult_totalRows_closure0(t0, t1) { this._box_0 = t0; this.totals = t1; }, ReportResult_totalRows_closure1: function ReportResult_totalRows_closure1() { }, ReportResult_totalRows_closure2: function ReportResult_totalRows_closure2(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.totals = t1; _.store = t2; _.context = t3; _.rows = t4; }, ReportResult_totalRows__closure: function ReportResult_totalRows__closure(t0, t1, t2, t3) { var _ = this; _.values = t0; _.context = t1; _.currencyId = t2; _.cells = t3; }, ReportElement: function ReportElement() { }, ReportStringValue: function ReportStringValue(t0, t1, t2) { this.value = t0; this.entityType = t1; this.entityId = t2; }, ReportEntityTypeValue: function ReportEntityTypeValue(t0, t1, t2) { this.value = t0; this.entityType = t1; this.entityId = t2; }, ReportAgeValue: function ReportAgeValue(t0, t1, t2, t3) { var _ = this; _.value = t0; _.currencyId = t1; _.entityType = t2; _.entityId = t3; }, ReportDurationValue: function ReportDurationValue(t0, t1, t2, t3) { var _ = this; _.value = t0; _.currencyId = t1; _.entityType = t2; _.entityId = t3; }, ReportIntValue: function ReportIntValue(t0, t1, t2) { this.value = t0; this.entityType = t1; this.entityId = t2; }, ReportNumberValue: function ReportNumberValue(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.formatNumberType = t1; _.currencyId = t2; _.entityType = t3; _.entityId = t4; }, ReportBoolValue: function ReportBoolValue(t0, t1, t2) { this.value = t0; this.entityType = t1; this.entityId = t2; }, ReportsScreenVM_fromStore(store) { var t2, t3, report, t4, t5, reportSettings, t6, groupTotals, _box_1 = {}, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.reportsUIState; report = t3.report; t2 = t2.selectedCompanyIndex; t4 = t1.userCompanyStates._list$_list; t5 = t4[t2].userCompany.settings.reportSettings._map$_map; reportSettings = t5.containsKey$1(0, report) ? t5.$index(0, report) : A.ReportSettingsEntity_ReportSettingsEntity(null, null); t5 = _box_1.reportResult = null; switch (report) { case "invoice": t5 = $.$get$memoizedInvoiceReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$9(t6.userCompany, t3, t6.invoiceState.map, t6.clientState.map, t6.userState.map, t6.vendorState.map, t6.projectState.map, t6.paymentState.map, t1.staticState); t5 = t6; break; case "recurring_invoice": t5 = $.$get$memoizedRecurringInvoiceReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$8(t6.userCompany, t3, t6.recurringInvoiceState.map, t6.clientState.map, t6.userState.map, t6.vendorState.map, t6.projectState.map, t1.staticState); t5 = t6; break; case "document": t5 = $.$get$memoizedDocumentReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$4(t6.userCompany, t3, t6.documentState.map, t6.userState.map); t5 = t6; break; case "expense": t5 = $.$get$memoizedExpenseReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$10(t6.userCompany, t3, t6.expenseState.map, t6.expenseCategoryState.map, t6.invoiceState.map, t6.clientState.map, t6.vendorState.map, t6.projectState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "recurring_expense": t5 = $.$get$memoizedRecurringExpenseReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$9(t6.userCompany, t3, t6.recurringExpenseState.map, t6.expenseCategoryState.map, t6.invoiceState.map, t6.clientState.map, t6.vendorState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "payment": t5 = $.$get$memoizedPaymentReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$8(t6.userCompany, t3, t6.paymentState.map, t6.clientState.map, t6.userState.map, t6.invoiceState.map, t6.creditState.map, t1.staticState); t5 = t6; break; case "product": t5 = $.$get$memoizedProductReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.productState.map, t6.vendorState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "task": t5 = $.$get$memoizedTaskReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$10(t6.userCompany, t3, t6.taskState.map, t6.invoiceState.map, t6.groupState.map, t6.clientState.map, t6.taskStatusState.map, t6.userState.map, t6.projectState.map, t1.staticState); t5 = t6; break; case "task_item": t5 = $.$get$memoizedTaskItemReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$10(t6.userCompany, t3, t6.taskState.map, t6.invoiceState.map, t6.groupState.map, t6.clientState.map, t6.taskStatusState.map, t6.userState.map, t6.projectState.map, t1.staticState); t5 = t6; break; case "quote": t5 = $.$get$memoizedQuoteReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$7(t6.userCompany, t3, t6.quoteState.map, t6.clientState.map, t6.vendorState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "invoice_tax": t5 = $.$get$memoizedInvoiceTaxReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$9(t6.userCompany, t3, t6.taxRateState.map, t6.invoiceState.map, t6.creditState.map, t6.clientState.map, t6.paymentState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "payment_tax": t5 = $.$get$memoizedPaymentTaxReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$9(t6.userCompany, t3, t6.taxRateState.map, t6.invoiceState.map, t6.creditState.map, t6.clientState.map, t6.paymentState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "credit": t5 = $.$get$memoizedCreditReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.creditState.map, t6.clientState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "profit_and_loss": t5 = $.$get$memoizedProfitAndLossReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$9(t6.userCompany, t3, t6.clientState.map, t6.paymentState.map, t6.expenseState.map, t6.expenseCategoryState.map, t6.vendorState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "invoice_item": t5 = $.$get$memoizedInvoiceItemReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.productState.map, t6.invoiceState.map, t6.clientState.map, t1.staticState); t5 = t6; break; case "credit_item": t5 = $.$get$memoizedCreditItemReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.productState.map, t6.creditState.map, t6.clientState.map, t1.staticState); t5 = t6; break; case "quote_item": t5 = $.$get$memoizedQuoteItemReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.productState.map, t6.quoteState.map, t6.clientState.map, t1.staticState); t5 = t6; break; case "client_contact": t5 = $.$get$memoizedContactReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$5(t6.userCompany, t3, t6.clientState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "purchase_order": t5 = $.$get$memoizedPurchaseOrderReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$7(t6.userCompany, t3, t6.purchaseOrderState.map, t6.clientState.map, t6.vendorState.map, t6.userState.map, t1.staticState); t5 = t6; break; case "purchase_order_item": t5 = $.$get$memoizedPurchaseOrderItemReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$7(t6.userCompany, t3, t6.productState.map, t6.purchaseOrderState.map, t6.clientState.map, t6.vendorState.map, t1.staticState); t5 = t6; break; case "client": t5 = $.$get$memoizedClientReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.clientState.map, t6.userState.map, t6.groupState.map, t1.staticState); t5 = t6; break; case "vendor": t5 = $.$get$memoizedVendorReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$6(t6.userCompany, t3, t6.vendorState.map, t6.userState.map, t6.groupState.map, t1.staticState); t5 = t6; break; case "transaction": t5 = $.$get$memoizedTransactionReport(); t6 = t4[t2]; t6 = _box_1.reportResult = t5.call$10(t6.userCompany, t3, t6.transactionState.map, t6.vendorState.map, t6.expenseState.map, t6.expenseCategoryState.map, t6.invoiceState.map, t6.bankAccountState.map, t6.paymentState.map, t1.staticState); t5 = t6; break; } groupTotals = $.$get$memoizeedGroupTotals().call$5(t5, t3, reportSettings, t1.staticState.currencyMap, t4[t2].userCompany.company); return new A.ReportsScreenVM(t1, t5, t3, groupTotals, new A.ReportsScreenVM_fromStore_closure(t1, reportSettings, store), new A.ReportsScreenVM_fromStore_closure0(_box_1, t1, groupTotals), new A.ReportsScreenVM_fromStore_closure1(report), new A.ReportsScreenVM_fromStore_closure2(store, report), new A.ReportsScreenVM_fromStore_closure3(store, t1), new A.ReportsScreenVM_fromStore_closure4(store, t1), new A.ReportsScreenVM_fromStore_closure5(t1, store)); }, calculateReportTotals(company, currencyMap, reportResult, reportSettings, reportState) { var groupCurrencies, line, shouldConverCurrencies, i, row, columnIndex, groupCell, group, j, cell, column, currencyId, t3, t4, t5, t6, t7, t8, t9, t10, age, date, parts, intValue, t11, t12, t13, cellValue, rows, sortedColumns, t1 = type$.nullable_String, totals = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_nullable_String_and_nullable_double), data = reportResult.data, columns = reportResult.columns, t2 = reportState.group; if (t2.length === 0) return new A.GroupTotals(null, null); groupCurrencies = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_nullable_String_and_nullable_String); for (line = "## ERROR: colum not found - " + t2, shouldConverCurrencies = false, i = 0; i < data.length; ++i) { row = data[i]; columnIndex = B.JSArray_methods.indexOf$1(columns, t2); if (columnIndex === -1) { A.printString(line); continue; } groupCell = row[columnIndex]; group = groupCell.get$stringValue(groupCell); if (!groupCurrencies.containsKey$1(0, group)) groupCurrencies.$indexSet(0, group, A.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); for (j = 0; j < row.length; ++j) { cell = row[j]; column = columns[j]; if (cell instanceof A.ReportNumberValue) { currencyId = groupCurrencies.$index(0, group).$index(0, column); if (currencyId == null) currencyId = ""; if (currencyId.length !== 0 && currencyId !== cell.currencyId) { shouldConverCurrencies = true; break; } groupCurrencies.$index(0, group).$indexSet(0, column, cell.currencyId); } } } for (t3 = currencyMap._map$_map, t4 = reportState.subgroup, t5 = t4 === "week", t6 = t4 === "quarter", t7 = t4 === "month", t4 = t4 === "year", t8 = type$.nullable_double, i = 0; i < data.length; ++i) { row = data[i]; columnIndex = B.JSArray_methods.indexOf$1(columns, t2); if (columnIndex === -1) { A.printString(line); continue; } groupCell = row[columnIndex]; group = groupCell.get$stringValue(groupCell); if (groupCell instanceof A.ReportAgeValue) { t9 = groupCell.value; t10 = t9 === -1; if (t10) age = 0; else { t9.toString; age = t9; } if (t10) group = "age_group_paid"; else if (age < 30) group = "age_group_0"; else if (age < 60) group = "age_group_30"; else if (age < 90) group = "age_group_60"; else group = age < 120 ? "age_group_90" : "age_group_120"; } else if (group.length !== 0 && A.isValidDate(group)) { date = A.DateTime_tryParse(group); group = B.JSArray_methods.get$first((date == null ? new A.DateTime(Date.now(), false) : date).toIso8601String$0().split("T")); if (t4) group = B.JSString_methods.substring$2(group, 0, 4) + "-01-01"; else if (t7) group = B.JSString_methods.substring$2(group, 0, 7) + "-01"; else if (t6) { parts = group.split("-"); t9 = parts[1]; t10 = A.RegExp_RegExp("[^0-9\\.\\-]", true, false, false, false); intValue = A.Primitives_parseInt(A.stringReplaceAllUnchecked(t9, t10, ""), null); if (intValue == null) intValue = 0; group = J.$add$ansx(parts[0], "-"); if (intValue <= 3) group += "01-01"; else if (intValue <= 6) group += "04-01"; else group = intValue <= 9 ? group + "07-01" : group + "10-01"; } else if (t5) { date = A.DateTime_parse(group); t9 = B.JSInt_methods.$mod(A.Primitives_getWeekday(date), 7); t9 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date), A.Primitives_getDay(date) - t9, 0, 0, 0, 0, false); if (!A._isInt(t9)) A.throwExpression(A.argumentErrorValue(t9)); group = B.JSArray_methods.get$first(new A.DateTime(t9, false).toIso8601String$0().split("T")); } } if (!totals.containsKey$1(0, group)) totals.$indexSet(0, group, A.LinkedHashMap_LinkedHashMap$_literal(["count", 0], t1, t8)); for (j = 0; j < row.length; ++j) { cell = row[j]; column = columns[j]; if (column === t2) { t9 = totals.$index(0, group); t9.toString; t10 = totals.$index(0, group).$index(0, "count"); t10.toString; t9.$indexSet(0, "count", t10 + 1); } t9 = cell instanceof A.ReportNumberValue; if (t9 || cell instanceof A.ReportAgeValue || cell instanceof A.ReportDurationValue) { if (!totals.$index(0, group).containsKey$1(0, column)) totals.$index(0, group).$indexSet(0, column, 0); if (t9 && cell.currencyId != null) { t10 = totals.$index(0, group); t10.toString; if (shouldConverCurrencies) { t11 = company.settings.currencyId; if (t11 == null) t11 = "1"; } else t11 = cell.currencyId; t10.$indexSet(0, column + "_currency_id", A.parseDouble(t11, false)); } if (t9) { t9 = cell.currencyId; if (t9 != null) { t10 = company.settings.currencyId; t9 = t9 !== (t10 == null ? "1" : t10) && shouldConverCurrencies; } else t9 = false; } else t9 = false; if (t9) { t9 = cell.value; t9.toString; t10 = company.settings.currencyId; t11 = t10 == null; t12 = t3.$index(0, t11 ? "1" : t10); t12.toString; t13 = cell.currencyId; cellValue = A.round(t9 * A.getExchangeRate(currencyMap, t13, t11 ? "1" : t10), t12.precision); t9 = totals.$index(0, group); t9.toString; t10 = totals.$index(0, group).$index(0, column); t10.toString; t9.$indexSet(0, column, t10 + cellValue); } else { t9 = totals.$index(0, group); t9.toString; t10 = totals.$index(0, group).$index(0, column); t10.toString; t11 = cell.get$doubleValue(); t11.toString; t9.$indexSet(0, column, t10 + t11); } } } } t1 = totals.$ti._eval$1("LinkedHashMapKeyIterable<1>"); rows = A.List_List$of(new A.LinkedHashMapKeyIterable(totals, t1), true, t1._eval$1("Iterable.E")); sortedColumns = reportResult.sortedColumns$1(reportState); t1 = reportSettings.sortColumn; B.JSArray_methods.sort$1(rows, new A.calculateReportTotals_closure(totals, B.JSArray_methods.contains$1(sortedColumns, t1) ? B.JSArray_methods.indexOf$1(sortedColumns, t1) : 0, columns, sortedColumns, reportSettings)); return new A.GroupTotals(totals, rows); }, ReportsScreenBuilder: function ReportsScreenBuilder(t0) { this.key = t0; }, ReportsScreenBuilder_build_closure: function ReportsScreenBuilder_build_closure() { }, ReportsScreenVM: function ReportsScreenVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.state = t0; _.reportResult = t1; _.reportState = t2; _.groupTotals = t3; _.onReportColumnsChanged = t4; _.onExportPressed = t5; _.onSchedulePressed = t6; _.onReportFiltersChanged = t7; _.onReportSorted = t8; _.onReportTotalsSorted = t9; _.onSettingsChanged = t10; }, ReportsScreenVM_fromStore_closure3: function ReportsScreenVM_fromStore_closure3(t0, t1) { this.store = t0; this.state = t1; }, ReportsScreenVM_fromStore_closure4: function ReportsScreenVM_fromStore_closure4(t0, t1) { this.store = t0; this.state = t1; }, ReportsScreenVM_fromStore_closure2: function ReportsScreenVM_fromStore_closure2(t0, t1) { this.store = t0; this.report = t1; }, ReportsScreenVM_fromStore_closure: function ReportsScreenVM_fromStore_closure(t0, t1, t2) { this.state = t0; this.reportSettings = t1; this.store = t2; }, ReportsScreenVM_fromStore__closure7: function ReportsScreenVM_fromStore__closure7(t0, t1, t2) { this.state = t0; this.reportSettings = t1; this.columns = t2; }, ReportsScreenVM_fromStore___closure0: function ReportsScreenVM_fromStore___closure0(t0) { this.columns = t0; }, ReportsScreenVM_fromStore__closure8: function ReportsScreenVM_fromStore__closure8(t0) { this.settings = t0; }, ReportsScreenVM_fromStore__closure9: function ReportsScreenVM_fromStore__closure9(t0) { this.userCompany = t0; }, ReportsScreenVM_fromStore_closure5: function ReportsScreenVM_fromStore_closure5(t0, t1) { this.state = t0; this.store = t1; }, ReportsScreenVM_fromStore__closure: function ReportsScreenVM_fromStore__closure(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.store = t1; _.report = t2; _.group = t3; _.selectedGroup = t4; _.subgroup = t5; _.chart = t6; _.customStartDate = t7; _.customEndDate = t8; }, ReportsScreenVM_fromStore_closure1: function ReportsScreenVM_fromStore_closure1(t0) { this.report = t0; }, ReportsScreenVM_fromStore__closure0: function ReportsScreenVM_fromStore__closure0(t0) { this.report = t0; }, ReportsScreenVM_fromStore_closure0: function ReportsScreenVM_fromStore_closure0(t0, t1, t2) { this._box_1 = t0; this.state = t1; this.groupTotals = t2; }, ReportsScreenVM_fromStore__closure1: function ReportsScreenVM_fromStore__closure1(t0, t1) { this._box_0 = t0; this.localization = t1; }, ReportsScreenVM_fromStore__closure2: function ReportsScreenVM_fromStore__closure2(t0, t1, t2) { this._box_0 = t0; this._box_1 = t1; this.context = t2; }, ReportsScreenVM_fromStore__closure3: function ReportsScreenVM_fromStore__closure3(t0) { this.context = t0; }, ReportsScreenVM_fromStore__closure4: function ReportsScreenVM_fromStore__closure4() { }, ReportsScreenVM_fromStore__closure5: function ReportsScreenVM_fromStore__closure5(t0, t1) { this._box_0 = t0; this.localization = t1; }, ReportsScreenVM_fromStore__closure6: function ReportsScreenVM_fromStore__closure6(t0, t1, t2) { this._box_0 = t0; this.groupTotals = t1; this.columns = t2; }, ReportsScreenVM_fromStore___closure: function ReportsScreenVM_fromStore___closure(t0, t1) { this._box_0 = t0; this.row = t1; }, GroupTotals: function GroupTotals(t0, t1) { this.totals = t0; this.rows = t1; }, memoizeedGroupTotals_closure: function memoizeedGroupTotals_closure() { }, calculateReportTotals_closure: function calculateReportTotals_closure(t0, t1, t2, t3, t4) { var _ = this; _.totals = t0; _.index = t1; _.columns = t2; _.sortedColumns = t3; _.reportSettings = t4; }, taskItemReport(userCompany, reportsUIState, taskMap, invoiceMap, groupMap, clientMap, taskStatusMap, userMap, projectMap, staticState) { var taskReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, client, t20, invoice, t21, project, group, t22, t23, t24, value, value0, t25, t26, t27, t28, t29, t30, t31, value1, value2, value3, value4, value5, value6, t32, t33, value7, value8, value9, value10, value11, t34, _i, taskItem, row, t35, t36, t37, value12, t38, t39, skip, t40, value13, timestamp, t41, t42, scope, selectedColumns, _null = null, _s9_ = "task_item", data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s9_)) { t1 = t1.$index(0, _s9_); t1.toString; taskReportSettings = t1; } else taskReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.TaskItemReportFields_0, B.TaskItemReportFields_4, B.TaskItemReportFields_5, B.TaskItemReportFields_6, B.TaskItemReportFields_7, B.TaskItemReportFields_13, B.TaskItemReportFields_12, B.TaskItemReportFields_9, B.TaskItemReportFields_23], type$.JSArray_TaskItemReportFields); t1 = taskReportSettings.columns._list$_list; t2 = type$.TaskItemReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.taskItemReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,TaskItemReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = taskMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = columns._list$_list, t3 = A._arrayInstanceType(t2), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = userCompany.company, t9 = userMap._map$_map, t10 = taskStatusMap._map$_map, t11 = clientMap._map$_map, t12 = projectMap._map$_map, t13 = type$.JSArray_ReportElement, t14 = groupMap._map$_map, t15 = invoiceMap._map$_map, t16 = taskMap._map$_map, t17 = !t8.reportIncludeDeleted; t1.moveNext$0();) { t18 = t16.$index(0, t1.__js_helper$_current); t18.toString; t19 = t18.clientId; client = t11.$index(0, t19); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t20 = t18.invoiceId; invoice = t15.$index(0, t20); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); t21 = t18.projectId; project = t12.$index(0, t21); if (project == null) project = A.ProjectEntity_ProjectEntity(_null, _null, _null, _null); group = t14.$index(0, client.groupId); if (group == null) group = A.GroupEntity_GroupEntity(_null, _null); t22 = t18.isDeleted; t22.toString; if (!(t22 && t17)) { t23 = client.isDeleted; t23.toString; } else t23 = true; if (t23) continue; for (t23 = t18.getTaskTimes$0(), t24 = t23.length, value = t18.id, value0 = t20.length !== 0, t20 = t18.archivedAt > 0, t25 = t18.createdUserId, t26 = t18.assignedUserId, t27 = t18.statusId, t28 = t18.customValue4, t29 = t18.customValue3, t30 = t18.customValue2, t31 = t18.customValue1, value1 = client.shippingAddress2, value2 = client.shippingAddress1, value3 = client.address2, value4 = client.address1, value5 = client.balance, value6 = invoice.dueDate, t32 = invoice.id, t33 = t32.length !== 0, value7 = invoice.date, value8 = invoice.number, value9 = t18.description, value10 = t18.rate, value11 = t18.number, t34 = client.settings.currencyId, t22 = !t22, _i = 0; _i < t23.length; t23.length === t24 || (0, A.throwConcurrentModificationError)(t23), ++_i) { taskItem = t23[_i]; row = A._setArrayType([], t13); for (t35 = new J.ArrayIterator(t2, t2.length, t4), t36 = taskItem.startDate, t37 = taskItem.endDate, value12 = taskItem.description, t38 = t37 == null, t39 = t36 == null, skip = false; t35.moveNext$0();) { t40 = t35.__interceptors$_current; if (t40 == null) t40 = t5._as(t40); switch (t40.index) { case 1: value13 = value; break; case 0: value13 = value11; break; case 2: value13 = value10; break; case 3: value13 = A.taskRateSelector(client, t8, group, project, t18); break; case 4: if (t39) value13 = ""; else { timestamp = B.JSNumber_methods.floor$0(t36._value / 1000); if (timestamp > 0) if (timestamp === 0) value13 = ""; else { t41 = timestamp * 1000; t42 = new A.DateTime(t41, true); t42.DateTime$_withValue$2$isUtc(t41, true); t42 = t42.toIso8601String$0(); value13 = t42; } else value13 = ""; } break; case 5: if (t38) value13 = ""; else { timestamp = B.JSNumber_methods.floor$0(t37._value / 1000); if (timestamp > 0) if (timestamp === 0) value13 = ""; else { t41 = timestamp * 1000; t42 = new A.DateTime(t41, true); t42.DateTime$_withValue$2$isUtc(t41, true); t42 = t42.toIso8601String$0(); value13 = t42; } else value13 = ""; } break; case 7: value13 = value9; break; case 8: value13 = value12; break; case 9: value13 = value8; break; case 10: if (t33) { t41 = A.Primitives_parseInt(t32, _null); t41 = (t41 == null ? 0 : t41) < 0; } else t41 = true; value13 = t41 ? "" : value7; break; case 11: if (t33) { t41 = A.Primitives_parseInt(t32, _null); t41 = (t41 == null ? 0 : t41) < 0; } else t41 = true; value13 = t41 ? "" : value6; break; case 6: t41 = t38 ? new A.DateTime(Date.now(), false) : t37; value13 = B.JSInt_methods._tdivFast$1(1000 * (t41._value - t36._value), 1000000); break; case 12: t41 = t12.$index(0, t21); value13 = t41 == null ? _null : t41.name; if (value13 == null) value13 = ""; break; case 13: t41 = t11.$index(0, t19); value13 = t41 == null ? _null : t41.displayName; if (value13 == null) value13 = ""; break; case 14: value13 = value5; break; case 15: value13 = value4; break; case 16: value13 = value3; break; case 17: value13 = value2; break; case 18: value13 = value1; break; case 19: value13 = A.presentCustomField(t8, "task1", t31); break; case 20: value13 = A.presentCustomField(t8, "task2", t30); break; case 21: value13 = A.presentCustomField(t8, "task3", t29); break; case 22: value13 = A.presentCustomField(t8, "task4", t28); break; case 23: t41 = t10.$index(0, t27); value13 = t41 == null ? _null : t41.name; if (value13 == null) value13 = ""; break; case 24: t41 = t9.$index(0, t26); if (t41 == null) value13 = _null; else { t42 = B.JSString_methods.trim$0(t41.firstName + " " + t41.lastName); t41 = t42.length !== 0 ? t42 : t41.email; value13 = t41; } if (value13 == null) value13 = ""; break; case 25: t41 = t9.$index(0, t25); if (t41 == null) value13 = _null; else { t42 = B.JSString_methods.trim$0(t41.firstName + " " + t41.lastName); t41 = t42.length !== 0 ? t42 : t41.email; value13 = t41; } if (value13 == null) value13 = ""; break; case 26: t41 = A.taskRateSelector(client, t8, group, project, t18); t41.toString; t42 = t38 ? new A.DateTime(Date.now(), false) : t37; value13 = t41 * A.round(B.JSInt_methods._tdivFast$1(1000 * (t42._value - t36._value), 1000000) / 3600, 3); break; case 27: t41 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t41).dependOnInheritedWidgetOfExactType$1$0(t7); t41 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t41.toString; if (t18.get$isActive()) t42 = "active"; else t42 = t20 && t22 ? "archived" : "deleted"; value13 = t41.lookup$1(t42); break; case 28: value13 = value0; break; default: value13 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t40), _null, reportsUIState, userCompany, value13)) skip = true; if (t40 === B.TaskItemReportFields_6) row.push(new A.ReportDurationValue(value13, t34, t18.get$entityType(), value)); else { t40 = J.getInterceptor$(value13); if (t40.get$runtimeType(value13) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value13, t18.get$entityType(), value)); else if (t40.get$runtimeType(value13) === B.Type_double_K1J || t40.get$runtimeType(value13) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value13, _null, t34, t18.get$entityType(), value)); else row.push(new A.ReportStringValue(value13, t18.get$entityType(), value)); } } if (!skip) { data.push(row); entities.push(t18); } } } t1 = t3._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t2, new A.taskItemReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.taskItemReport_closure1(taskReportSettings, selectedColumns)); t1 = type$.MappedListIterable_TaskItemReportFields_String; t2 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_ahs0, new A.taskItemReport_closure2(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.taskItemReport_closure3(), t1), true, t2), data, entities, true); }, TaskItemReportFields: function TaskItemReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedTaskItemReport_closure: function memoizedTaskItemReport_closure() { }, taskItemReport_closure: function taskItemReport_closure() { }, taskItemReport_closure0: function taskItemReport_closure0() { }, taskItemReport_closure1: function taskItemReport_closure1(t0, t1) { this.taskReportSettings = t0; this.selectedColumns = t1; }, taskItemReport_closure2: function taskItemReport_closure2() { }, taskItemReport_closure3: function taskItemReport_closure3() { }, taskReport(userCompany, reportsUIState, taskMap, invoiceMap, groupMap, clientMap, taskStatusMap, userMap, projectMap, staticState) { var taskReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, client, t20, invoice, t21, project, group, t22, t23, row, value, value0, t24, t25, t26, t27, t28, t29, t30, value1, value2, value3, value4, value5, value6, t31, t32, value7, value8, value9, value10, value11, value12, t33, skip, t34, value13, timestamp, t35, t36, t37, scope, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "task")) { t1 = t1.$index(0, "task"); t1.toString; taskReportSettings = t1; } else taskReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.TaskReportFields_4, B.TaskReportFields_5, B.TaskReportFields_6, B.TaskReportFields_7, B.TaskReportFields_13, B.TaskReportFields_12, B.TaskReportFields_8, B.TaskReportFields_23], type$.JSArray_TaskReportFields); t1 = taskReportSettings.columns._list$_list; t2 = type$.TaskReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.taskReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,TaskReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = taskMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = columns._list$_list, t3 = A._arrayInstanceType(t2), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = userCompany.company, t9 = userMap._map$_map, t10 = taskStatusMap._map$_map, t11 = clientMap._map$_map, t12 = projectMap._map$_map, t13 = type$.JSArray_ReportElement, t14 = groupMap._map$_map, t15 = invoiceMap._map$_map, t16 = taskMap._map$_map, t17 = !t8.reportIncludeDeleted; t1.moveNext$0();) { t18 = t16.$index(0, t1.__js_helper$_current); t18.toString; t19 = t18.clientId; client = t11.$index(0, t19); if (client == null) client = A.ClientEntity_ClientEntity(_null, _null, _null, _null); t20 = t18.invoiceId; invoice = t15.$index(0, t20); if (invoice == null) invoice = A.InvoiceEntity_InvoiceEntity(_null, _null, _null, _null, _null, _null); t21 = t18.projectId; project = t12.$index(0, t21); if (project == null) project = A.ProjectEntity_ProjectEntity(_null, _null, _null, _null); group = t14.$index(0, client.groupId); if (group == null) group = A.GroupEntity_GroupEntity(_null, _null); t22 = t18.isDeleted; t22.toString; if (!(t22 && t17)) { t23 = client.isDeleted; t23.toString; } else t23 = true; if (t23) continue; row = A._setArrayType([], t13); for (t23 = new J.ArrayIterator(t2, t2.length, t4), value = t18.id, value0 = t20.length !== 0, t20 = t18.archivedAt > 0, t24 = t18.createdUserId, t25 = t18.assignedUserId, t26 = t18.statusId, t27 = t18.customValue4, t28 = t18.customValue3, t29 = t18.customValue2, t30 = t18.customValue1, value1 = client.shippingAddress2, value2 = client.shippingAddress1, value3 = client.address2, value4 = client.address1, value5 = client.balance, value6 = invoice.dueDate, t31 = invoice.id, t32 = t31.length !== 0, value7 = invoice.date, value8 = invoice.amount, value9 = invoice.number, value10 = t18.description, value11 = t18.rate, value12 = t18.number, t33 = client.settings.currencyId, t22 = !t22, skip = false; t23.moveNext$0();) { t34 = t23.__interceptors$_current; if (t34 == null) t34 = t5._as(t34); switch (t34.index) { case 1: value13 = value; break; case 0: value13 = value12; break; case 2: value13 = value11; break; case 3: value13 = A.taskRateSelector(client, t8, group, project, t18); break; case 4: timestamp = t18.get$startTimestamp(); t35 = timestamp == null; if ((t35 ? 0 : timestamp) > 0) if ((t35 ? 0 : timestamp) === 0) value13 = ""; else { t36 = (t35 ? 0 : timestamp) * 1000; t37 = new A.DateTime(t36, true); t37.DateTime$_withValue$2$isUtc(t36, true); t37 = t37.toIso8601String$0(); value13 = t37; } else value13 = ""; break; case 5: timestamp = t18.get$endTimestamp(); t35 = timestamp == null; if ((t35 ? 0 : timestamp) > 0) if ((t35 ? 0 : timestamp) === 0) value13 = ""; else { t36 = (t35 ? 0 : timestamp) * 1000; t37 = new A.DateTime(t36, true); t37.DateTime$_withValue$2$isUtc(t36, true); t37 = t37.toIso8601String$0(); value13 = t37; } else value13 = ""; break; case 7: value13 = value10; break; case 8: value13 = value9; break; case 9: value13 = value8; break; case 10: if (t32) { t35 = A.Primitives_parseInt(t31, _null); t35 = (t35 == null ? 0 : t35) < 0; } else t35 = true; value13 = t35 ? "" : value7; break; case 11: if (t32) { t35 = A.Primitives_parseInt(t31, _null); t35 = (t35 == null ? 0 : t35) < 0; } else t35 = true; value13 = t35 ? "" : value6; break; case 6: value13 = B.JSInt_methods._tdivFast$1(t18.calculateDuration$0()._duration, 1000000); break; case 12: t35 = t12.$index(0, t21); value13 = t35 == null ? _null : t35.name; if (value13 == null) value13 = ""; break; case 13: t35 = t11.$index(0, t19); value13 = t35 == null ? _null : t35.displayName; if (value13 == null) value13 = ""; break; case 14: value13 = value5; break; case 15: value13 = value4; break; case 16: value13 = value3; break; case 17: value13 = value2; break; case 18: value13 = value1; break; case 19: value13 = A.presentCustomField(t8, "task1", t30); break; case 20: value13 = A.presentCustomField(t8, "task2", t29); break; case 21: value13 = A.presentCustomField(t8, "task3", t28); break; case 22: value13 = A.presentCustomField(t8, "task4", t27); break; case 23: t35 = t10.$index(0, t26); value13 = t35 == null ? _null : t35.name; if (value13 == null) value13 = ""; break; case 24: t35 = t9.$index(0, t25); if (t35 == null) value13 = _null; else { t36 = B.JSString_methods.trim$0(t35.firstName + " " + t35.lastName); t35 = t36.length !== 0 ? t36 : t35.email; value13 = t35; } if (value13 == null) value13 = ""; break; case 25: t35 = t9.$index(0, t24); if (t35 == null) value13 = _null; else { t36 = B.JSString_methods.trim$0(t35.firstName + " " + t35.lastName); t35 = t36.length !== 0 ? t36 : t35.email; value13 = t35; } if (value13 == null) value13 = ""; break; case 26: t35 = A.taskRateSelector(client, t8, group, project, t18); t35.toString; value13 = t35 * A.round(B.JSInt_methods._tdivFast$1(t18.calculateDuration$0()._duration, 1000000) / 3600, 3); break; case 27: t35 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t35).dependOnInheritedWidgetOfExactType$1$0(t7); t35 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t35.toString; if (t18.get$isActive()) t36 = "active"; else t36 = t20 && t22 ? "archived" : "deleted"; value13 = t35.lookup$1(t36); break; case 28: value13 = value0; break; default: value13 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t34), _null, reportsUIState, userCompany, value13)) skip = true; if (t34 === B.TaskReportFields_6) row.push(new A.ReportDurationValue(value13, t33, t18.get$entityType(), value)); else { t34 = J.getInterceptor$(value13); if (t34.get$runtimeType(value13) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value13, t18.get$entityType(), value)); else if (t34.get$runtimeType(value13) === B.Type_double_K1J || t34.get$runtimeType(value13) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value13, _null, t33, t18.get$entityType(), value)); else row.push(new A.ReportStringValue(value13, t18.get$entityType(), value)); } } if (!skip) { data.push(row); entities.push(t18); } } t1 = t3._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t2, new A.taskReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.taskReport_closure1(taskReportSettings, selectedColumns)); t1 = type$.MappedListIterable_TaskReportFields_String; t2 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_CFh, new A.taskReport_closure2(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.taskReport_closure3(), t1), true, t2), data, entities, true); }, TaskReportFields: function TaskReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedTaskReport_closure: function memoizedTaskReport_closure() { }, taskReport_closure: function taskReport_closure() { }, taskReport_closure0: function taskReport_closure0() { }, taskReport_closure1: function taskReport_closure1(t0, t1) { this.taskReportSettings = t0; this.selectedColumns = t1; }, taskReport_closure2: function taskReport_closure2() { }, taskReport_closure3: function taskReport_closure3() { }, transactionReport(userCompany, reportsUIState, transactionMap, vendorMap, expenseMap, categoryMap, invoiceMap, bankAccountMap, paymentMap, staticState) { var transactionReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, row, t19, value, value0, value1, t20, t21, t22, t23, t24, value2, t25, t26, t27, t28, t29, value3, t30, t31, value4, t32, t33, t34, t35, skip, t36, value5, t37, scope, t38, selectedColumns, _null = null, _s11_ = "transaction", data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, _s11_)) { t1 = t1.$index(0, _s11_); t1.toString; transactionReportSettings = t1; } else transactionReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.TransactionReportFields_12, B.TransactionReportFields_4, B.TransactionReportFields_5, B.TransactionReportFields_2, B.TransactionReportFields_3, B.TransactionReportFields_10, B.TransactionReportFields_11], type$.JSArray_TransactionReportFields); t1 = transactionReportSettings.columns._list$_list; t2 = type$.TransactionReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.transactionReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,TransactionReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = transactionMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = columns._list$_list, t3 = A._arrayInstanceType(t2), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = type$.JSArray_String, t9 = type$.MappedListIterable_String_String, t10 = paymentMap._map$_map, t11 = bankAccountMap._map$_map, t12 = vendorMap._map$_map, t13 = categoryMap._map$_map, t14 = type$.JSArray_ReportElement, t15 = transactionMap._map$_map, t16 = !userCompany.company.reportIncludeDeleted; t1.moveNext$0();) { t17 = t15.$index(0, t1.__js_helper$_current); t17.toString; t18 = t17.isDeleted; t18.toString; if (t18 && t16) continue; row = A._setArrayType([], t14); for (t19 = new J.ArrayIterator(t2, t2.length, t4), value = t17.id, value0 = t17.participant, value1 = t17.participantName, t20 = t17.archivedAt > 0, t21 = t17.createdAt, t22 = t17.updatedAt, t23 = t17.invoiceIds, t24 = t17.expenseId, value2 = t17.category, t25 = t17.paymentId, t26 = t17.bankAccountId, t27 = t17.statusId, t28 = t17.vendorId, t29 = t17.description, value3 = t17.date, t30 = t17.categoryId, t31 = t17.baseType === "CREDIT", value4 = t17.amount, t32 = !t31, t33 = t17.currencyId, t18 = !t18, t34 = t21 * 1000, t21 = t21 === 0, t35 = t22 * 1000, t22 = t22 === 0, skip = false; t19.moveNext$0();) { t36 = t19.__interceptors$_current; if (t36 == null) t36 = t5._as(t36); switch (t36.index) { case 0: value5 = value; break; case 13: t37 = t11.$index(0, t26); t37 = t37 == null ? _null : t37.type; value5 = A.toTitleCase(t37 == null ? "" : t37); break; case 1: value5 = value4; break; case 5: value5 = t32 ? value4 : 0; break; case 4: value5 = t31 ? value4 : 0; break; case 7: t37 = t13.$index(0, t30); value5 = t37 == null ? _null : t37.name; if (value5 == null) value5 = ""; break; case 2: value5 = value3; break; case 3: value5 = A.stringReplaceAllUnchecked(t29, "\\n", " "); break; case 6: t37 = t12.$index(0, t28); value5 = t37 == null ? _null : t37.name; if (value5 == null) value5 = ""; break; case 12: value5 = B.Map_2VQL6.$index(0, t27); break; case 9: t37 = t11.$index(0, t26); value5 = t37 == null ? _null : t37.name; if (value5 == null) value5 = ""; break; case 8: t37 = t10.$index(0, t25); value5 = t37 == null ? _null : t37.number; if (value5 == null) value5 = ""; break; case 14: value5 = value2; break; case 11: value5 = new A.MappedListIterable(A._setArrayType(t24.split(","), t8), new A.transactionReport_closure0(expenseMap), t9).join$1(0, ", "); break; case 10: value5 = new A.MappedListIterable(A._setArrayType(t23.split(","), t8), new A.transactionReport_closure1(invoiceMap), t9).super$Iterable$where(0, new A.transactionReport_closure2()).join$1(0, ", "); break; case 16: if (t22) value5 = ""; else { t37 = new A.DateTime(t35, true); t37.DateTime$_withValue$2$isUtc(t35, true); value5 = t37.toIso8601String$0(); } break; case 15: if (t21) value5 = ""; else { t37 = new A.DateTime(t34, true); t37.DateTime$_withValue$2$isUtc(t34, true); value5 = t37.toIso8601String$0(); } break; case 17: t37 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t37).dependOnInheritedWidgetOfExactType$1$0(t7); t37 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t37.toString; if (t17.get$isActive()) t38 = "active"; else t38 = t20 && t18 ? "archived" : "deleted"; value5 = t37.lookup$1(t38); break; case 19: value5 = value1; break; case 18: value5 = value0; break; default: value5 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t36), _null, reportsUIState, userCompany, value5)) skip = true; t36 = J.getInterceptor$(value5); if (t36.get$runtimeType(value5) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value5, t17.get$entityType(), value)); else if (t36.get$runtimeType(value5) === B.Type_double_K1J || t36.get$runtimeType(value5) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value5, _null, t33, t17.get$entityType(), value)); else row.push(new A.ReportStringValue(value5, t17.get$entityType(), value)); } if (!skip) { data.push(row); entities.push(t17); } } t1 = t3._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t2, new A.transactionReport_closure3(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.transactionReport_closure4(transactionReportSettings, selectedColumns)); t1 = type$.MappedListIterable_TransactionReportFields_String; t2 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_yfz, new A.transactionReport_closure5(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.transactionReport_closure6(), t1), true, t2), data, entities, true); }, TransactionReportFields: function TransactionReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedTransactionReport_closure: function memoizedTransactionReport_closure() { }, transactionReport_closure: function transactionReport_closure() { }, transactionReport_closure0: function transactionReport_closure0(t0) { this.expenseMap = t0; }, transactionReport_closure1: function transactionReport_closure1(t0) { this.invoiceMap = t0; }, transactionReport_closure2: function transactionReport_closure2() { }, transactionReport_closure3: function transactionReport_closure3() { }, transactionReport_closure4: function transactionReport_closure4(t0, t1) { this.transactionReportSettings = t0; this.selectedColumns = t1; }, transactionReport_closure5: function transactionReport_closure5() { }, transactionReport_closure6: function transactionReport_closure6() { }, vendorReport(userCompany, reportsUIState, vendorMap, userMap, groupMap, staticState) { var vendorReportSettings, defaultColumns, t2, columns, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, contact, t20, row, t21, t22, value, value0, t23, t24, value1, t25, t26, t27, t28, t29, t30, t31, t32, value2, value3, value4, value5, t33, t34, t35, value6, value7, value8, value9, t36, value10, value11, value12, value13, value14, t37, t38, t39, t40, value15, value16, t41, value17, value18, value19, t42, t43, skip, t44, value20, t45, t46, scope, selectedColumns, _null = null, data = A._setArrayType([], type$.JSArray_List_ReportElement), entities = A._setArrayType([], type$.JSArray_BaseEntity), t1 = userCompany.settings.reportSettings._map$_map; if (t1.containsKey$1(0, "vendor")) { t1 = t1.$index(0, "vendor"); t1.toString; vendorReportSettings = t1; } else vendorReportSettings = A.ReportSettingsEntity_ReportSettingsEntity(_null, _null); defaultColumns = A._setArrayType([B.VendorReportFields_1, B.VendorReportFields_26, B.VendorReportFields_21, B.VendorReportFields_22, B.VendorReportFields_3, B.VendorReportFields_13, B.VendorReportFields_33], type$.JSArray_VendorReportFields); t1 = vendorReportSettings.columns._list$_list; t2 = type$.VendorReportFields; if (t1.length !== 0) { t1 = A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new A.vendorReport_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,VendorReportFields?>")), t2); columns = A.BuiltList_BuiltList$from(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), t2); } else columns = A.BuiltList_BuiltList$from(defaultColumns, t2); for (t1 = vendorMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = columns._list$_list, t3 = A._arrayInstanceType(t2), t4 = t3._eval$1("ArrayIterator<1>"), t5 = t3._precomputed1, t6 = type$.nullable_AppLocalization, t7 = type$._LocalizationsScope, t8 = userCompany.company, t9 = userMap._map$_map, t10 = staticState.countryMap._map$_map, t11 = staticState.languageMap._map$_map, t12 = staticState.currencyMap, t13 = t12._map$_map, t14 = type$.JSArray_ReportElement, t15 = t8.settings.currencyId, t16 = vendorMap._map$_map, t17 = !t8.reportIncludeDeleted, t18 = t15 == null; t1.moveNext$0();) { t19 = t16.$index(0, t1.__js_helper$_current); t19.toString; contact = t19.get$primaryContact(); t20 = t19.isDeleted; t20.toString; if (t20 && t17) continue; row = A._setArrayType([], t14); t21 = t19.currencyId; A.getExchangeRate(t12, t21, t18 ? "1" : t15); for (t22 = new J.ArrayIterator(t2, t2.length, t4), value = t19.id, value0 = t19.isTaxExempt, t23 = t19.archivedAt > 0, t24 = t19.classification, value1 = t19.routingId, t25 = t19.documents._list$_list, t26 = t19.createdAt, t27 = t19.updatedAt, t28 = t19.lastLogin, t29 = contact.customValue4, t30 = contact.customValue3, t31 = contact.customValue2, t32 = contact.customValue1, value2 = contact.phone, value3 = contact.email, value4 = contact.lastName, value5 = contact.firstName, t33 = value5 + " " + value4, t34 = t19.createdUserId, t35 = t19.assignedUserId, value6 = t19.vatNumber, value7 = t19.idNumber, value8 = t19.number, value9 = t19.phone, t36 = t19.countryId, value10 = t19.postalCode, value11 = t19.state, value12 = t19.city, value13 = t19.address2, value14 = t19.address1, t37 = t19.customValue4, t38 = t19.customValue3, t39 = t19.customValue2, t40 = t19.customValue1, value15 = t19.publicNotes, value16 = t19.privateNotes, t41 = t19.languageId, value17 = t19.website, value18 = t19.name, value19 = !t20, t20 = t26 * 1000, t26 = t26 === 0, t42 = t27 * 1000, t27 = t27 === 0, t43 = t28 * 1000, t28 = t28 === 0, skip = false; t22.moveNext$0();) { t44 = t22.__interceptors$_current; if (t44 == null) t44 = t5._as(t44); switch (t44.index) { case 0: value20 = value; break; case 1: value20 = value18; break; case 2: value20 = value17; break; case 3: t45 = t13.$index(0, t21); value20 = t45 == null ? _null : t45.name; if (value20 == null) value20 = ""; break; case 4: t45 = t11.$index(0, t41); value20 = t45 == null ? _null : t45.name; if (value20 == null) value20 = ""; break; case 5: value20 = value16; break; case 6: value20 = value15; break; case 14: value20 = A.presentCustomField(t8, "vendor1", t40); break; case 15: value20 = A.presentCustomField(t8, "vendor2", t39); break; case 16: value20 = A.presentCustomField(t8, "vendor3", t38); break; case 17: value20 = A.presentCustomField(t8, "vendor4", t37); break; case 7: value20 = value14; break; case 8: value20 = value13; break; case 9: value20 = value12; break; case 10: value20 = value11; break; case 11: value20 = value10; break; case 13: t45 = t10.$index(0, t36); value20 = t45 == null ? _null : t45.name; if (value20 == null) value20 = ""; break; case 12: value20 = value9; break; case 20: value20 = value8; break; case 21: value20 = value7; break; case 22: value20 = value6; break; case 19: t45 = t9.$index(0, t35); if (t45 == null) value20 = _null; else { t46 = B.JSString_methods.trim$0(t45.firstName + " " + t45.lastName); t45 = t46.length !== 0 ? t46 : t45.email; value20 = t45; } if (value20 == null) value20 = ""; break; case 18: t45 = t9.$index(0, t34); if (t45 == null) value20 = _null; else { t46 = B.JSString_methods.trim$0(t45.firstName + " " + t45.lastName); t45 = t46.length !== 0 ? t46 : t45.email; value20 = t45; } if (value20 == null) value20 = ""; break; case 23: value20 = B.JSString_methods.trim$0(t33); break; case 24: value20 = value5; break; case 25: value20 = value4; break; case 26: value20 = value3; break; case 27: value20 = value2; break; case 28: value20 = A.presentCustomField(t8, "vendor_contact1", t32); break; case 29: value20 = A.presentCustomField(t8, "vendor_contact2", t31); break; case 30: value20 = A.presentCustomField(t8, "vendor_contact3", t30); break; case 31: value20 = A.presentCustomField(t8, "vendor_contact4", t29); break; case 36: if (t28) value20 = ""; else { t45 = new A.DateTime(t43, true); t45.DateTime$_withValue$2$isUtc(t43, true); value20 = t45.toIso8601String$0(); } break; case 32: value20 = !(t23 && value19) && value19; break; case 34: if (t27) value20 = ""; else { t45 = new A.DateTime(t42, true); t45.DateTime$_withValue$2$isUtc(t42, true); value20 = t45.toIso8601String$0(); } break; case 33: if (t26) value20 = ""; else { t45 = new A.DateTime(t20, true); t45.DateTime$_withValue$2$isUtc(t20, true); value20 = t45.toIso8601String$0(); } break; case 35: value20 = t25.length; break; case 37: value20 = value1; break; case 38: t45 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t45).dependOnInheritedWidgetOfExactType$1$0(t7); value20 = (scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD))).lookup$1(t24); break; case 39: t45 = $.$get$navigatorKey(); scope = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t45).dependOnInheritedWidgetOfExactType$1$0(t7); t45 = scope == null ? _null : t6._as(J.$index$asx(scope.localizationsState._typeToResources, B.Type_AppLocalization_KyD)); t45.toString; if (t19.get$isActive()) t46 = "active"; else t46 = t23 && value19 ? "archived" : "deleted"; value20 = t45.lookup$1(t46); break; case 40: value20 = value0; break; default: value20 = ""; } if (!A.ReportResult_matchField(A.EnumUtils_parse(t44), _null, reportsUIState, userCompany, value20)) skip = true; t45 = J.getInterceptor$(value20); if (t45.get$runtimeType(value20) === B.Type_bool_lhE) row.push(new A.ReportBoolValue(value20, t19.get$entityType(), value)); else if (t44 === B.VendorReportFields_35) row.push(new A.ReportIntValue(value20, t19.get$entityType(), value)); else if (t45.get$runtimeType(value20) === B.Type_double_K1J || t45.get$runtimeType(value20) === B.Type_int_tHn) row.push(new A.ReportNumberValue(value20, _null, t21, t19.get$entityType(), value)); else row.push(new A.ReportStringValue(A.S(value20), t19.get$entityType(), value)); } if (!skip) { data.push(row); entities.push(t19); } } t1 = t3._eval$1("MappedListIterable<1,String>"); selectedColumns = A.List_List$of(new A.MappedListIterable(t2, new A.vendorReport_closure0(), t1), true, t1._eval$1("ListIterable.E")); B.JSArray_methods.sort$1(data, new A.vendorReport_closure1(vendorReportSettings, selectedColumns)); t1 = type$.MappedListIterable_VendorReportFields_String; t2 = t1._eval$1("ListIterable.E"); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_UJv, new A.vendorReport_closure2(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.vendorReport_closure3(), t1), true, t2), data, entities, true); }, VendorReportFields: function VendorReportFields(t0, t1) { this.index = t0; this._core$_name = t1; }, memoizedVendorReport_closure: function memoizedVendorReport_closure() { }, vendorReport_closure: function vendorReport_closure() { }, vendorReport_closure0: function vendorReport_closure0() { }, vendorReport_closure1: function vendorReport_closure1(t0, t1) { this.vendorReportSettings = t0; this.selectedColumns = t1; }, vendorReport_closure2: function vendorReport_closure2() { }, vendorReport_closure3: function vendorReport_closure3() { }, ScheduleEdit: function ScheduleEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _ScheduleEditState: function _ScheduleEditState(t0, t1, t2) { var _ = this; _._schedule_edit$_debouncer = t0; _._clientClearedAt = ""; _._schedule_edit$_controllers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ScheduleEditState_didChangeDependencies_closure: function _ScheduleEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ScheduleEditState_didChangeDependencies_closure0: function _ScheduleEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _ScheduleEditState_dispose_closure: function _ScheduleEditState_dispose_closure(t0) { this.$this = t0; }, _ScheduleEditState__onChanged_closure: function _ScheduleEditState__onChanged_closure(t0) { this.$this = t0; }, _ScheduleEditState__onChanged__closure: function _ScheduleEditState__onChanged__closure() { }, _ScheduleEditState_build_closure0: function _ScheduleEditState_build_closure0(t0) { this.viewModel = t0; }, _ScheduleEditState_build_closure1: function _ScheduleEditState_build_closure1(t0) { this.$this = t0; }, _ScheduleEditState_build_closure: function _ScheduleEditState_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.$this = t0; _.schedule = t1; _.localization = t2; _.viewModel = t3; _.parameters = t4; _.state = t5; _.invoiceIds = t6; _.quoteIds = t7; _.creditIds = t8; _.purchaseOrderIds = t9; }, _ScheduleEditState_build__closure1: function _ScheduleEditState_build__closure1(t0, t1) { this.schedule = t0; this.viewModel = t1; }, _ScheduleEditState_build___closure17: function _ScheduleEditState_build___closure17(t0) { this.value = t0; }, _ScheduleEditState_build__closure: function _ScheduleEditState_build__closure() { }, _ScheduleEditState_build__closure0: function _ScheduleEditState_build__closure0(t0) { this.localization = t0; }, _ScheduleEditState_build__closure2: function _ScheduleEditState_build__closure2(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure16: function _ScheduleEditState_build___closure16(t0) { this.date = t0; }, _ScheduleEditState_build__closure3: function _ScheduleEditState_build__closure3(t0) { this.localization = t0; }, _ScheduleEditState_build__closure5: function _ScheduleEditState_build__closure5(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure15: function _ScheduleEditState_build___closure15(t0, t1) { this.value = t0; this.schedule = t1; }, _ScheduleEditState_build__closure4: function _ScheduleEditState_build__closure4(t0) { this.localization = t0; }, _ScheduleEditState_build__closure7: function _ScheduleEditState_build__closure7(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure14: function _ScheduleEditState_build___closure14(t0) { this.value = t0; }, _ScheduleEditState_build__closure6: function _ScheduleEditState_build__closure6() { }, _ScheduleEditState_build__closure9: function _ScheduleEditState_build__closure9(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.schedule = t2; }, _ScheduleEditState_build___closure13: function _ScheduleEditState_build___closure13(t0, t1, t2) { this.viewModel = t0; this.schedule = t1; this.value = t2; }, _ScheduleEditState_build____closure: function _ScheduleEditState_build____closure(t0) { this.value = t0; }, _ScheduleEditState_build__closure8: function _ScheduleEditState_build__closure8(t0) { this.localization = t0; }, _ScheduleEditState_build__closure12: function _ScheduleEditState_build__closure12(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure12: function _ScheduleEditState_build___closure12(t0) { this.value = t0; }, _ScheduleEditState_build__closure10: function _ScheduleEditState_build__closure10() { }, _ScheduleEditState_build__closure11: function _ScheduleEditState_build__closure11(t0) { this.localization = t0; }, _ScheduleEditState_build__closure15: function _ScheduleEditState_build__closure15(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure11: function _ScheduleEditState_build___closure11(t0) { this.value = t0; }, _ScheduleEditState_build__closure13: function _ScheduleEditState_build__closure13() { }, _ScheduleEditState_build__closure14: function _ScheduleEditState_build__closure14(t0) { this.localization = t0; }, _ScheduleEditState_build__closure17: function _ScheduleEditState_build__closure17(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure10: function _ScheduleEditState_build___closure10(t0) { this.value = t0; }, _ScheduleEditState_build__closure16: function _ScheduleEditState_build__closure16(t0) { this.localization = t0; }, _ScheduleEditState_build__closure18: function _ScheduleEditState_build__closure18(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure9: function _ScheduleEditState_build___closure9(t0) { this.value = t0; }, _ScheduleEditState_build__closure19: function _ScheduleEditState_build__closure19(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure8: function _ScheduleEditState_build___closure8(t0) { this.value = t0; }, _ScheduleEditState_build__closure20: function _ScheduleEditState_build__closure20(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure7: function _ScheduleEditState_build___closure7(t0) { this.value = t0; }, _ScheduleEditState_build__closure21: function _ScheduleEditState_build__closure21(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.parameters = t1; _.viewModel = t2; _.schedule = t3; }, _ScheduleEditState_build___closure5: function _ScheduleEditState_build___closure5(t0) { this.value = t0; }, _ScheduleEditState_build___closure6: function _ScheduleEditState_build___closure6(t0) { this.$this = t0; }, _ScheduleEditState_build__closure22: function _ScheduleEditState_build__closure22(t0, t1, t2) { this.viewModel = t0; this.schedule = t1; this.clientId = t2; }, _ScheduleEditState_build___closure4: function _ScheduleEditState_build___closure4(t0) { this.clientId = t0; }, _ScheduleEditState_build__closure24: function _ScheduleEditState_build__closure24(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure3: function _ScheduleEditState_build___closure3(t0) { this.value = t0; }, _ScheduleEditState_build__closure23: function _ScheduleEditState_build__closure23(t0) { this.localization = t0; }, _ScheduleEditState_build__closure25: function _ScheduleEditState_build__closure25(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure2: function _ScheduleEditState_build___closure2(t0) { this.value = t0; }, _ScheduleEditState_build__closure26: function _ScheduleEditState_build__closure26(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure1: function _ScheduleEditState_build___closure1(t0) { this.value = t0; }, _ScheduleEditState_build__closure27: function _ScheduleEditState_build__closure27(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure0: function _ScheduleEditState_build___closure0(t0) { this.value = t0; }, _ScheduleEditState_build__closure28: function _ScheduleEditState_build__closure28(t0, t1) { this.viewModel = t0; this.schedule = t1; }, _ScheduleEditState_build___closure: function _ScheduleEditState_build___closure(t0) { this.value = t0; }, ScheduleEditVM_ScheduleEditVM$fromStore(store) { var t2, schedule, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; schedule = t2.scheduleUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].scheduleState.map._map$_map.$index(0, schedule.id); return new A.ScheduleEditVM(schedule, new A.ScheduleEditVM_ScheduleEditVM$fromStore_closure(store), new A.ScheduleEditVM_ScheduleEditVM$fromStore_closure0(store, t1), new A.ScheduleEditVM_ScheduleEditVM$fromStore_closure1(t1, store), t1); }, ScheduleEditScreen: function ScheduleEditScreen(t0) { this.key = t0; }, ScheduleEditScreen_build_closure0: function ScheduleEditScreen_build_closure0() { }, ScheduleEditScreen_build_closure: function ScheduleEditScreen_build_closure() { }, ScheduleEditVM: function ScheduleEditVM(t0, t1, t2, t3, t4) { var _ = this; _.schedule = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, ScheduleEditVM_ScheduleEditVM$fromStore_closure: function ScheduleEditVM_ScheduleEditVM$fromStore_closure(t0) { this.store = t0; }, ScheduleEditVM_ScheduleEditVM$fromStore_closure1: function ScheduleEditVM_ScheduleEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, ScheduleEditVM_ScheduleEditVM$fromStore_closure0: function ScheduleEditVM_ScheduleEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, ScheduleEditVM_ScheduleEditVM$fromStore__closure: function ScheduleEditVM_ScheduleEditVM$fromStore__closure(t0, t1, t2) { this.store = t0; this.context = t1; this.state = t2; }, ScheduleEditVM_ScheduleEditVM$fromStore___closure: function ScheduleEditVM_ScheduleEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.schedule = t0; _.localization = t1; _.state = t2; _.store = t3; _.context = t4; }, ScheduleEditVM_ScheduleEditVM$fromStore___closure0: function ScheduleEditVM_ScheduleEditVM$fromStore___closure0(t0) { this.context = t0; }, ScheduleEditVM_ScheduleEditVM$fromStore____closure: function ScheduleEditVM_ScheduleEditVM$fromStore____closure(t0) { this.error = t0; }, ScheduleListItem: function ScheduleListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.schedule = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, ScheduleListItem_build_closure1: function ScheduleListItem_build_closure1(t0) { this.$this = t0; }, ScheduleListItem_build_closure0: function ScheduleListItem_build_closure0(t0) { this.$this = t0; }, ScheduleListItem_build_closure: function ScheduleListItem_build_closure(t0) { this.$this = t0; }, ScheduleListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredScheduleList(); t3 = t1.getUISelection$1(B.EntityType_schedule); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].scheduleState; t5 = t5.scheduleUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.scheduleState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_schedule); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.ScheduleListVM(t1, t7, t4.map, t5.filter, new A.ScheduleListVM_fromStore_closure(new A.ScheduleListVM_fromStore__handleRefresh(store)), t2, new A.ScheduleListVM_fromStore_closure0(store), new A.ScheduleListVM_fromStore_closure1(store)); }, ScheduleListBuilder: function ScheduleListBuilder(t0) { this.key = t0; }, ScheduleListBuilder_build_closure: function ScheduleListBuilder_build_closure() { }, ScheduleListBuilder_build__closure: function ScheduleListBuilder_build__closure(t0) { this.viewModel = t0; }, ScheduleListVM: function ScheduleListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.scheduleList = t1; _.scheduleMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, ScheduleListVM_fromStore__handleRefresh: function ScheduleListVM_fromStore__handleRefresh(t0) { this.store = t0; }, ScheduleListVM_fromStore_closure: function ScheduleListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, ScheduleListVM_fromStore_closure0: function ScheduleListVM_fromStore_closure0(t0) { this.store = t0; }, ScheduleListVM_fromStore_closure1: function ScheduleListVM_fromStore_closure1(t0) { this.store = t0; }, SchedulePresenter: function SchedulePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, ScheduleScreen: function ScheduleScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, ScheduleScreen_build_closure10: function ScheduleScreen_build_closure10(t0) { this.store = t0; }, ScheduleScreen_build_closure7: function ScheduleScreen_build_closure7(t0) { this.store = t0; }, ScheduleScreen_build_closure8: function ScheduleScreen_build_closure8(t0) { this.store = t0; }, ScheduleScreen_build_closure9: function ScheduleScreen_build_closure9(t0) { this.store = t0; }, ScheduleScreen_build_closure4: function ScheduleScreen_build_closure4(t0) { this.store = t0; }, ScheduleScreen_build_closure5: function ScheduleScreen_build_closure5(t0) { this.store = t0; }, ScheduleScreen_build_closure: function ScheduleScreen_build_closure(t0) { this.store = t0; }, ScheduleScreen_build_closure0: function ScheduleScreen_build_closure0(t0) { this.store = t0; }, ScheduleScreen_build_closure1: function ScheduleScreen_build_closure1(t0) { this.store = t0; }, ScheduleScreen_build_closure2: function ScheduleScreen_build_closure2(t0) { this.store = t0; }, ScheduleScreen_build_closure3: function ScheduleScreen_build_closure3(t0) { this.store = t0; }, ScheduleScreen_build_closure6: function ScheduleScreen_build_closure6(t0) { this.context = t0; }, ScheduleScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredScheduleList(); t3 = t1.getUISelection$1(B.EntityType_schedule); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].scheduleState; return new A.ScheduleScreenVM(t2.call$4(t3, t4.map, t4.list, t1.scheduleUIState.listUIState)); }, ScheduleScreenBuilder: function ScheduleScreenBuilder(t0) { this.key = t0; }, ScheduleScreenBuilder_build_closure: function ScheduleScreenBuilder_build_closure() { }, ScheduleScreenVM: function ScheduleScreenVM(t0) { this.scheduleList = t0; }, ScheduleView: function ScheduleView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _ScheduleViewState: function _ScheduleViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _ScheduleViewState_build_closure: function _ScheduleViewState_build_closure(t0) { this.viewModel = t0; }, ScheduleViewVM_ScheduleViewVM$fromStore(store) { var t2, t3, t4, schedule, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.scheduleUIState.selectedId; schedule = t2._list$_list[t3.selectedCompanyIndex].scheduleState.map._map$_map.$index(0, t4); if (schedule == null) schedule = A.ScheduleEntity_ScheduleEntity("email_statement", t4, null); schedule.get$isNew(); return new A.ScheduleViewVM(t1, schedule, new A.ScheduleViewVM_ScheduleViewVM$fromStore_closure(store)); }, ScheduleViewScreen: function ScheduleViewScreen(t0) { this.key = t0; }, ScheduleViewScreen_build_closure0: function ScheduleViewScreen_build_closure0() { }, ScheduleViewScreen_build_closure: function ScheduleViewScreen_build_closure(t0) { this.$this = t0; }, ScheduleViewVM: function ScheduleViewVM(t0, t1, t2) { this.state = t0; this.schedule = t1; this.onBackPressed = t2; }, ScheduleViewVM_ScheduleViewVM$fromStore_closure: function ScheduleViewVM_ScheduleViewVM$fromStore_closure(t0) { this.store = t0; }, AccountManagement: function AccountManagement(t0, t1) { this.viewModel = t0; this.key = t1; }, _AccountManagementState: function _AccountManagementState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._account_management$_controller = _._account_management$_focusNode = null; _._account_management$_debouncer = t0; _._trackingIdController = t1; _._account_management$_matomoUrl = t2; _._account_management$_matomoId = t3; _._account_management$_controllers = t4; _.SingleTickerProviderStateMixin__ticker = t5; _.SingleTickerProviderStateMixin__tickerModeNotifier = t6; _._widget = null; _._debugLifecycleState = t7; _._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; }, _AccountManagementState_build_closure3: function _AccountManagementState_build_closure3(t0, t1) { this.user = t0; this.localization = t1; }, _AccountManagementState_build_closure4: function _AccountManagementState_build_closure4() { }, _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() { }, _AccountOverview_build_closure1: function _AccountOverview_build_closure1(t0, t1) { this.$this = t0; this.company = t1; }, _AccountOverview_build__closure6: function _AccountOverview_build__closure6(t0) { this.value = t0; }, _AccountOverview_build_closure2: function _AccountOverview_build_closure2(t0, t1) { this.$this = t0; this.company = t1; }, _AccountOverview_build__closure5: function _AccountOverview_build__closure5(t0) { this.value = t0; }, _AccountOverview_build_closure3: function _AccountOverview_build_closure3(t0, t1) { this.$this = t0; this.company = t1; }, _AccountOverview_build__closure4: function _AccountOverview_build__closure4(t0) { this.value = t0; }, _AccountOverview_build_closure4: function _AccountOverview_build_closure4(t0, t1) { this.$this = t0; this.company = t1; }, _AccountOverview_build__closure3: function _AccountOverview_build__closure3(t0) { this.value = t0; }, _AccountOverview_build_closure5: function _AccountOverview_build_closure5(t0, t1) { this.$this = t0; this.company = t1; }, _AccountOverview_build__closure2: function _AccountOverview_build__closure2(t0) { this.value = t0; }, _AccountOverview_build_closure6: function _AccountOverview_build_closure6() { }, _AccountOverview_build_closure7: function _AccountOverview_build_closure7(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_closure8: function _AccountOverview_build_closure8(t0) { this.store = t0; }, _AccountOverview_build_closure9: function _AccountOverview_build_closure9(t0) { this.store = t0; }, _AccountOverview_build_closure10: function _AccountOverview_build_closure10() { }, _AccountOverview_build_closure11: function _AccountOverview_build_closure11() { }, _AccountOverview_build_closure12: function _AccountOverview_build_closure12(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_closure13: function _AccountOverview_build_closure13(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.$this = t0; _.companies = t1; _.localization = t2; _.company = t3; _._getDataStats = t4; _.context = t5; _.state = t6; }, _AccountOverview_build__closure: function _AccountOverview_build__closure(t0, t1, t2) { this.$this = t0; this.state = t1; this.context = t2; }, _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() { }, AccountManagementVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.AccountManagementVM(t1, new A.AccountManagementVM_fromStore_closure(store), t1.uiState.settingsUIState.company, new A.AccountManagementVM_fromStore_closure0(store), new A.AccountManagementVM_fromStore_closure1(store), new A.AccountManagementVM_fromStore_closure2(t1, store), new A.AccountManagementVM_fromStore_closure3(store), new A.AccountManagementVM_fromStore_closure4(store)); }, AccountManagementScreen: function AccountManagementScreen(t0) { this.key = t0; }, AccountManagementScreen_build_closure: function AccountManagementScreen_build_closure() { }, AccountManagementVM: function AccountManagementVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.onSetPrimaryCompany = t3; _.onCompanyChanged = t4; _.onCompanyDelete = t5; _.onPurgeData = t6; _.onAppliedLicense = t7; }, AccountManagementVM_fromStore_closure1: function AccountManagementVM_fromStore_closure1(t0) { this.store = t0; }, AccountManagementVM_fromStore_closure2: function AccountManagementVM_fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, AccountManagementVM_fromStore__closure: function AccountManagementVM_fromStore__closure() { }, AccountManagementVM_fromStore__closure0: function AccountManagementVM_fromStore__closure0(t0, t1) { this.store = t0; this.companyLength = t1; }, AccountManagementVM_fromStore___closure0: function AccountManagementVM_fromStore___closure0(t0, t1) { this.store = t0; this.context = t1; }, AccountManagementVM_fromStore__closure1: function AccountManagementVM_fromStore__closure1() { }, AccountManagementVM_fromStore___closure: function AccountManagementVM_fromStore___closure(t0) { this.error = t0; }, AccountManagementVM_fromStore_closure: function AccountManagementVM_fromStore_closure(t0) { this.store = t0; }, AccountManagementVM_fromStore__closure2: function AccountManagementVM_fromStore__closure2(t0, t1) { this.store = t0; this.context = t1; }, AccountManagementVM_fromStore_closure3: function AccountManagementVM_fromStore_closure3(t0) { this.store = t0; }, AccountManagementVM_fromStore_closure4: function AccountManagementVM_fromStore_closure4(t0) { this.store = t0; }, AccountManagementVM_fromStore_closure0: function AccountManagementVM_fromStore_closure0(t0) { this.store = 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, t18, t19) { var _ = this; _._client_portal$_focusNode = t0; _._client_portal$_controller = null; _._client_portal$_webClient = t1; _._isSubdomainUnique = true; _._isCheckingSubdomain = false; _._subdomainDebouncer = t2; _._client_portal$_debouncer = t3; _._subdomainController = t4; _._portalDomainController = t5; _._customCssController = t6; _._customJavaScriptController = t7; _._customHeaderController = t8; _._customFooterController = t9; _._client_portal$_customMessageDashboard = t10; _._client_portal$_customMessageUnpaidInvoice = t11; _._client_portal$_customMessagePaidInvoice = t12; _._client_portal$_customMessageUnapprovedQuote = t13; _._termsController = t14; _._privacyController = t15; _._client_portal$_controllers = t16; _.SingleTickerProviderStateMixin__ticker = t17; _.SingleTickerProviderStateMixin__tickerModeNotifier = t18; _._widget = null; _._debugLifecycleState = t19; _._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, t1, t2) { this.isFiltered = t0; this.portalDomain = t1; this.subdomain = t2; }, _ClientPortalState__onChanged__closure0: function _ClientPortalState__onChanged__closure0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.isFiltered = t0; _.customMessageDashboard = t1; _.customMessageUnpaidInvoice = t2; _.customMessagePaidInvoice = t3; _.customMessageUnapprovedQuote = t4; _.clientPortalTerms = t5; _.clientPortalPrivacy = t6; _.clientPortalCustomJs = t7; _.clientPortalCustomCss = t8; _.clientPortalCustomHeader = t9; _.clientPortalCustomFooter = t10; }, _ClientPortalState_build_closure24: function _ClientPortalState_build_closure24(t0) { this.$this = t0; }, _ClientPortalState_build_closure: function _ClientPortalState_build_closure(t0) { this.viewModel = t0; }, _ClientPortalState_build__closure16: function _ClientPortalState_build__closure16(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.loginUrl = t0; this.localization = t1; }, _ClientPortalState_build_closure5: function _ClientPortalState_build_closure5(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure15: function _ClientPortalState_build__closure15(t0) { this.value = t0; }, _ClientPortalState_build_closure6: function _ClientPortalState_build_closure6(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure14: function _ClientPortalState_build__closure14(t0) { this.value = t0; }, _ClientPortalState_build_closure7: function _ClientPortalState_build_closure7(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure13: function _ClientPortalState_build__closure13(t0) { this.value = t0; }, _ClientPortalState_build_closure8: function _ClientPortalState_build_closure8(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure12: function _ClientPortalState_build__closure12(t0) { this.value = t0; }, _ClientPortalState_build_closure9: function _ClientPortalState_build_closure9(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure11: function _ClientPortalState_build__closure11(t0) { this.value = t0; }, _ClientPortalState_build_closure10: function _ClientPortalState_build_closure10(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure10: function _ClientPortalState_build__closure10(t0) { this.value = t0; }, _ClientPortalState_build_closure11: function _ClientPortalState_build_closure11(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure9: function _ClientPortalState_build__closure9(t0) { this.value = t0; }, _ClientPortalState_build_closure12: function _ClientPortalState_build_closure12(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure8: function _ClientPortalState_build__closure8(t0) { this.value = t0; }, _ClientPortalState_build_closure13: function _ClientPortalState_build_closure13(t0, t1) { this.company = t0; this.localization = t1; }, _ClientPortalState_build_closure14: function _ClientPortalState_build_closure14(t0, t1) { this.viewModel = t0; this.company = t1; }, _ClientPortalState_build__closure7: function _ClientPortalState_build__closure7(t0) { this.value = t0; }, _ClientPortalState_build_closure15: function _ClientPortalState_build_closure15(t0, t1) { this.registrationUrl = t0; this.localization = t1; }, _ClientPortalState_build_closure16: function _ClientPortalState_build_closure16(t0, t1, t2) { this.localization = t0; this.company = t1; this.viewModel = t2; }, _ClientPortalState_build__closure6: function _ClientPortalState_build__closure6(t0, t1, t2) { this.company = t0; this.field = t1; this.viewModel = t2; }, _ClientPortalState_build___closure: function _ClientPortalState_build___closure(t0, t1, t2) { this.index = t0; this.field = t1; this.value = t2; }, _ClientPortalState_build____closure: function _ClientPortalState_build____closure(t0) { this.value = t0; }, _ClientPortalState_build_closure17: function _ClientPortalState_build_closure17(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure5: function _ClientPortalState_build__closure5(t0) { this.value = t0; }, _ClientPortalState_build_closure18: function _ClientPortalState_build_closure18(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure4: function _ClientPortalState_build__closure4(t0) { this.value = t0; }, _ClientPortalState_build_closure19: function _ClientPortalState_build_closure19(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure3: function _ClientPortalState_build__closure3(t0) { this.value = t0; }, _ClientPortalState_build_closure20: function _ClientPortalState_build_closure20(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure2: function _ClientPortalState_build__closure2(t0) { this.value = t0; }, _ClientPortalState_build_closure21: function _ClientPortalState_build_closure21(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure1: function _ClientPortalState_build__closure1(t0) { this.value = t0; }, _ClientPortalState_build_closure22: function _ClientPortalState_build_closure22(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ClientPortalState_build__closure0: function _ClientPortalState_build__closure0(t0) { this.value = t0; }, _ClientPortalState_build_closure23: function _ClientPortalState_build_closure23(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() { }, ClientPortalVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.ClientPortalVM(t1, t2.company, t2.get$settings(), new A.ClientPortalVM_fromStore_closure(t1, store), new A.ClientPortalVM_fromStore_closure0(store), new A.ClientPortalVM_fromStore_closure1(store)); }, ClientPortalScreen: function ClientPortalScreen(t0) { this.key = t0; }, ClientPortalScreen_build_closure: function ClientPortalScreen_build_closure() { }, ClientPortalVM: function ClientPortalVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.company = t1; _.settings = t2; _.onSavePressed = t3; _.onCompanyChanged = t4; _.onSettingsChanged = t5; }, ClientPortalVM_fromStore_closure1: function ClientPortalVM_fromStore_closure1(t0) { this.store = t0; }, ClientPortalVM_fromStore_closure0: function ClientPortalVM_fromStore_closure0(t0) { this.store = t0; }, ClientPortalVM_fromStore_closure: function ClientPortalVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, ClientPortalVM_fromStore__closure: function ClientPortalVM_fromStore__closure(t0, t1, t2) { this.store = t0; this.context = t1; this.state = t2; }, ClientPortalVM_fromStore___closure: function ClientPortalVM_fromStore___closure() { }, CompanyDetails: function CompanyDetails(t0, t1) { this.viewModel = t0; this.key = t1; }, _CompanyDetailsState: function _CompanyDetailsState(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; _._company_details$_focusNode = t0; _._company_details$_controller = null; _._company_details$_debouncer = t1; _._company_details$_nameController = t2; _._idNumberController = t3; _._vatNumberController = t4; _._company_details$_emailController = t5; _._websiteController = t6; _._company_details$_phoneController = t7; _._address1Controller = t8; _._address2Controller = t9; _._cityController = t10; _._stateController = t11; _._postalCodeController = t12; _._company_details$_custom1Controller = t13; _._company_details$_custom2Controller = t14; _._company_details$_custom3Controller = t15; _._company_details$_custom4Controller = t16; _._invoiceTermsController = t17; _._invoiceFooterController = t18; _._quoteTermsController = t19; _._quoteFooterController = t20; _._creditTermsController = t21; _._creditFooterController = t22; _._purchaseOrderTermsController = t23; _._purchaseOrderFooterController = t24; _._qrIbanController = t25; _._besrIdController = t26; _._company_details$_controllers = t27; _.SingleTickerProviderStateMixin__ticker = t28; _.SingleTickerProviderStateMixin__tickerModeNotifier = t29; _._widget = null; _._debugLifecycleState = t30; _._framework$_element = null; }, _CompanyDetailsState_didChangeDependencies_closure: function _CompanyDetailsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _CompanyDetailsState_didChangeDependencies_closure0: function _CompanyDetailsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _CompanyDetailsState_dispose_closure: function _CompanyDetailsState_dispose_closure(t0) { this.$this = t0; }, _CompanyDetailsState__onSettingsChanged_closure: function _CompanyDetailsState__onSettingsChanged_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; _.isFiltered = t0; _.name = t1; _.idNumber = t2; _.vatNumber = t3; _.phone = t4; _.email = t5; _.website = t6; _.address1 = t7; _.address2 = t8; _.city = t9; _.state = t10; _.postalCode = t11; _.customValue1 = t12; _.customValue2 = t13; _.customValue3 = t14; _.customValue4 = t15; _.defaultInvoiceFooter = t16; _.defaultInvoiceTerms = t17; _.defaultQuoteFooter = t18; _.defaultQuoteTerms = t19; _.defaultCreditFooter = t20; _.defaultCreditTerms = t21; _.defaultPurchaseOrderFooter = t22; _.defaultPurchaseOrderTerms = t23; _.qrIban = t24; _.besrId = t25; }, _CompanyDetailsState__onSettingsChanged_closure0: function _CompanyDetailsState__onSettingsChanged_closure0(t0, t1) { this.$this = t0; this.settings = t1; }, _CompanyDetailsState_build_closure0: function _CompanyDetailsState_build_closure0(t0, t1) { this.viewModel = t0; this.settings = t1; }, _CompanyDetailsState_build__closure8: function _CompanyDetailsState_build__closure8(t0) { this.value = t0; }, _CompanyDetailsState_build_closure: function _CompanyDetailsState_build_closure(t0) { this.localization = t0; }, _CompanyDetailsState_build_closure1: function _CompanyDetailsState_build_closure1(t0) { this.state = t0; }, _CompanyDetailsState_build_closure2: function _CompanyDetailsState_build_closure2(t0, t1) { this.viewModel = t0; this.company = t1; }, _CompanyDetailsState_build__closure7: function _CompanyDetailsState_build__closure7(t0) { this.sizeId = t0; }, _CompanyDetailsState_build_closure3: function _CompanyDetailsState_build_closure3(t0, t1) { this.viewModel = t0; this.company = t1; }, _CompanyDetailsState_build__closure6: function _CompanyDetailsState_build__closure6(t0) { this.industry = t0; }, _CompanyDetailsState_build_closure4: function _CompanyDetailsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _CompanyDetailsState_build__closure5: function _CompanyDetailsState_build__closure5(t0) { this.country = t0; }, _CompanyDetailsState_build_closure5: function _CompanyDetailsState_build_closure5(t0, t1, t2, t3) { var _ = this; _.settings = t0; _.localization = t1; _.state = t2; _.viewModel = t3; }, _CompanyDetailsState_build__closure3: function _CompanyDetailsState_build__closure3(t0, t1, t2, t3) { var _ = this; _.state = t0; _.localization = t1; _.context = t2; _.viewModel = t3; }, _CompanyDetailsState_build___closure: function _CompanyDetailsState_build___closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _CompanyDetailsState_build__closure4: function _CompanyDetailsState_build__closure4(t0, t1, t2) { this.state = t0; this.localization = t1; this.viewModel = t2; }, _CompanyDetailsState_build_closure6: function _CompanyDetailsState_build_closure6(t0, t1) { this.viewModel = t0; this.settings = t1; }, _CompanyDetailsState_build__closure2: function _CompanyDetailsState_build__closure2(t0) { this.value = t0; }, _CompanyDetailsState_build_closure7: function _CompanyDetailsState_build_closure7(t0, t1) { this.viewModel = t0; this.settings = t1; }, _CompanyDetailsState_build__closure1: function _CompanyDetailsState_build__closure1(t0) { this.value = t0; }, _CompanyDetailsState_build_closure8: function _CompanyDetailsState_build_closure8(t0, t1) { this.viewModel = t0; this.settings = t1; }, _CompanyDetailsState_build__closure0: function _CompanyDetailsState_build__closure0(t0) { this.value = t0; }, _CompanyDetailsState_build_closure9: function _CompanyDetailsState_build_closure9(t0, t1) { this.viewModel = t0; this.settings = t1; }, _CompanyDetailsState_build__closure: function _CompanyDetailsState_build__closure(t0) { this.value = t0; }, _CompanyDetailsState_build_closure10: function _CompanyDetailsState_build_closure10(t0, t1) { this.viewModel = t0; this.context = t1; }, _CompanyDetailsState_build_closure11: function _CompanyDetailsState_build_closure11(t0) { this.store = t0; }, __CompanyDetailsState_State_SingleTickerProviderStateMixin: function __CompanyDetailsState_State_SingleTickerProviderStateMixin() { }, CompanyDetailsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.CompanyDetailsVM(t1, t2.company, t2.get$settings(), new A.CompanyDetailsVM_fromStore_closure(store), new A.CompanyDetailsVM_fromStore_closure0(store), new A.CompanyDetailsVM_fromStore_closure1(store), new A.CompanyDetailsVM_fromStore_closure2(t1, store), new A.CompanyDetailsVM_fromStore_closure3(t1, store), new A.CompanyDetailsVM_fromStore_closure4(store)); }, CompanyDetailsScreen: function CompanyDetailsScreen(t0) { this.key = t0; }, CompanyDetailsScreen_build_closure: function CompanyDetailsScreen_build_closure() { }, CompanyDetailsVM: function CompanyDetailsVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.company = t1; _.settings = t2; _.onSettingsChanged = t3; _.onCompanyChanged = t4; _.onSavePressed = t5; _.onUploadLogo = t6; _.onDeleteLogo = t7; _.onUploadDocuments = t8; }, CompanyDetailsVM_fromStore_closure: function CompanyDetailsVM_fromStore_closure(t0) { this.store = t0; }, CompanyDetailsVM_fromStore_closure0: function CompanyDetailsVM_fromStore_closure0(t0) { this.store = t0; }, CompanyDetailsVM_fromStore_closure3: function CompanyDetailsVM_fromStore_closure3(t0, t1) { this.state = t0; this.store = t1; }, CompanyDetailsVM_fromStore__closure1: function CompanyDetailsVM_fromStore__closure1() { }, CompanyDetailsVM_fromStore__closure2: function CompanyDetailsVM_fromStore__closure2() { }, CompanyDetailsVM_fromStore__closure3: function CompanyDetailsVM_fromStore__closure3() { }, CompanyDetailsVM_fromStore_closure1: function CompanyDetailsVM_fromStore_closure1(t0) { this.store = t0; }, CompanyDetailsVM_fromStore__closure4: function CompanyDetailsVM_fromStore__closure4(t0, t1) { this.store = t0; this.context = t1; }, CompanyDetailsVM_fromStore_closure2: function CompanyDetailsVM_fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, CompanyDetailsVM_fromStore_closure4: function CompanyDetailsVM_fromStore_closure4(t0) { this.store = t0; }, CompanyDetailsVM_fromStore__closure: function CompanyDetailsVM_fromStore__closure(t0) { this.context = t0; }, CompanyDetailsVM_fromStore__closure0: function CompanyDetailsVM_fromStore__closure0(t0) { this.context = t0; }, CompanyDetailsVM_fromStore___closure: function CompanyDetailsVM_fromStore___closure(t0) { this.error = t0; }, CreditCardsAndBanks: function CreditCardsAndBanks(t0) { this.key = t0; }, _CreditCardsAndBanksState: function _CreditCardsAndBanksState(t0, t1, t2, t3, t4) { var _ = this; _.___CreditCardsAndBanksState__controller_A = $; _._credit_cards_and_banks$_nameController = t0; _._credit_cards_and_banks$_controllers = t1; _.SingleTickerProviderStateMixin__ticker = t2; _.SingleTickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _CreditCardsAndBanksState_dispose_closure: function _CreditCardsAndBanksState_dispose_closure(t0) { this.$this = t0; }, _CreditCardsAndBanksState_didChangeDependencies_closure: function _CreditCardsAndBanksState_didChangeDependencies_closure(t0) { this.$this = t0; }, _CreditCardsAndBanksState_didChangeDependencies_closure0: function _CreditCardsAndBanksState_didChangeDependencies_closure0(t0) { this.$this = t0; }, __CreditCardsAndBanksState_State_SingleTickerProviderStateMixin: function __CreditCardsAndBanksState_State_SingleTickerProviderStateMixin() { }, CreditCardsAndBanksVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.CreditCardsAndBanksVM(t1); }, CreditCardsAndBanksScreen: function CreditCardsAndBanksScreen(t0) { this.key = t0; }, CreditCardsAndBanksScreen_build_closure: function CreditCardsAndBanksScreen_build_closure() { }, CreditCardsAndBanksVM: function CreditCardsAndBanksVM(t0) { this.state = t0; }, CustomFields: function CustomFields(t0, t1) { this.viewModel = t0; this.key = t1; }, _CustomFieldsState: function _CustomFieldsState(t0, t1, t2) { var _ = this; _._custom_fields$_controller = _._custom_fields$_focusNode = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._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() { }, CustomFieldsVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.CustomFieldsVM(t1, new A.CustomFieldsVM_fromStore_closure(t1, store), t1.uiState.settingsUIState.company, new A.CustomFieldsVM_fromStore_closure0(store)); }, CustomFieldsScreen: function CustomFieldsScreen(t0) { this.key = t0; }, CustomFieldsScreen_build_closure: function CustomFieldsScreen_build_closure() { }, CustomFieldsVM: function CustomFieldsVM(t0, t1, t2, t3) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.onCompanyChanged = t3; }, CustomFieldsVM_fromStore_closure0: function CustomFieldsVM_fromStore_closure0(t0) { this.store = t0; }, CustomFieldsVM_fromStore_closure: function CustomFieldsVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, CustomFieldsVM_fromStore__closure: function CustomFieldsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, DataVisualizations: function DataVisualizations(t0) { this.key = t0; }, _DataVisualizationsState: function _DataVisualizationsState(t0, t1, t2) { var _ = this; _._data_visualizations$_firstNameController = t0; _._data_visualizations$_controllers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _DataVisualizationsState_dispose_closure: function _DataVisualizationsState_dispose_closure(t0) { this.$this = t0; }, _DataVisualizationsState_didChangeDependencies_closure: function _DataVisualizationsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _DataVisualizationsState_didChangeDependencies_closure0: function _DataVisualizationsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, DataVisualizationsVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.DataVisualizationsVM(t1); }, DataVisualizationsScreen: function DataVisualizationsScreen(t0) { this.key = t0; }, DataVisualizationsScreen_build_closure: function DataVisualizationsScreen_build_closure() { }, DataVisualizationsVM: function DataVisualizationsVM(t0) { this.state = t0; }, DeviceSettings: function DeviceSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _DeviceSettingsState: function _DeviceSettingsState(t0, t1, t2, t3, t4, t5) { var _ = this; _._device_settings$_formKey = t0; _._device_settings$_focusNode = _._device_settings$_controller = null; _._downloadsFolderController = t1; _._device_settings$_controllers = t2; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _DeviceSettingsState_didChangeDependencies_closure: function _DeviceSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _DeviceSettingsState_didChangeDependencies_closure0: function _DeviceSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _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(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure5: function _DeviceSettingsState_build_closure5(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) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure8: function _DeviceSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure9: function _DeviceSettingsState_build_closure9(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_closure10: function _DeviceSettingsState_build_closure10(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure11: function _DeviceSettingsState_build_closure11(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure12: function _DeviceSettingsState_build_closure12(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure13: function _DeviceSettingsState_build_closure13(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure14: function _DeviceSettingsState_build_closure14(t0, t1, t2) { this.localization = t0; this.state = t1; this.viewModel = t2; }, _DeviceSettingsState_build__closure6: function _DeviceSettingsState_build__closure6(t0, t1) { this.state = t0; this.localization = t1; }, _DeviceSettingsState_build__closure5: function _DeviceSettingsState_build__closure5(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure15: function _DeviceSettingsState_build_closure15(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_closure16: function _DeviceSettingsState_build_closure16(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure17: function _DeviceSettingsState_build_closure17() { }, _DeviceSettingsState_build_closure18: function _DeviceSettingsState_build_closure18(t0, t1) { this.viewModel = t0; this.context = t1; }, _DeviceSettingsState_build_closure19: function _DeviceSettingsState_build_closure19(t0, t1, t2) { this.viewModel = t0; this.context = t1; this.prefState = t2; }, _DeviceSettingsState_build__closure2: function _DeviceSettingsState_build__closure2() { }, _DeviceSettingsState_build__closure3: function _DeviceSettingsState_build__closure3() { }, _DeviceSettingsState_build_closure20: function _DeviceSettingsState_build_closure20(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_closure21: function _DeviceSettingsState_build_closure21(t0, t1) { this.prefState = t0; this.localization = t1; }, _DeviceSettingsState_build__closure0: function _DeviceSettingsState_build__closure0(t0) { this.prefState = t0; }, _DeviceSettingsState_build_closure22: function _DeviceSettingsState_build_closure22(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() { }, DeviceSettingsVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.DeviceSettingsVM(t1, new A.DeviceSettingsVM_fromStore_closure(), new A.DeviceSettingsVM_fromStore_closure0(store), new A.DeviceSettingsVM_fromStore_closure1(store), new A.DeviceSettingsVM_fromStore_closure2(store), new A.DeviceSettingsVM_fromStore_closure3(store), new A.DeviceSettingsVM_fromStore_closure4(store), new A.DeviceSettingsVM_fromStore_closure5(store), new A.DeviceSettingsVM_fromStore_closure6(store), new A.DeviceSettingsVM_fromStore_closure7(store), new A.DeviceSettingsVM_fromStore_closure8(store), new A.DeviceSettingsVM_fromStore_closure9(store), new A.DeviceSettingsVM_fromStore_closure10(store), new A.DeviceSettingsVM_fromStore_closure11(store), new A.DeviceSettingsVM_fromStore_closure12(store), new A.DeviceSettingsVM_fromStore_closure13(store), new A.DeviceSettingsVM_fromStore_closure14(store), new A.DeviceSettingsVM_fromStore_closure15(store), new A.DeviceSettingsVM_fromStore_closure16(store), new A.DeviceSettingsVM_fromStore_closure17(store), new A.DeviceSettingsVM_fromStore_closure18(store), new A.DeviceSettingsVM_fromStore_closure19(store), A.Future_Future(new A.DeviceSettingsVM_fromStore_closure20(), type$.bool)); }, DeviceSettingsScreen: function DeviceSettingsScreen(t0) { this.key = t0; }, DeviceSettingsScreen_build_closure: function DeviceSettingsScreen_build_closure() { }, DeviceSettingsVM: function DeviceSettingsVM(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; _.state = t0; _.onRefreshTap = t1; _.onLogoutTap = t2; _.onDarkModeChanged = t3; _.onCustomColorsChanged = t4; _.onLayoutChanged = t5; _.onMenuModeChanged = t6; _.onHistoryModeChanged = t7; _.onColorThemeChanged = t8; _.onLongPressSelectionIsDefault = t9; _.onTapSelectedChanged = t10; _.onEditAfterSavingChanged = t11; _.onRequireAuthenticationChanged = t12; _.onPersistDataChanged = t13; _.onShowPdfChanged = t14; _.onEnableNativeBrowserChanged = t15; _.onShowPdfSideBySideChanged = t16; _.onEnableTouchEventsChanged = t17; _.onEnableTooltipsChanged = t18; _.onEnableFlexibleSearchChanged = t19; _.onTextScaleFactorChanged = t20; _.onDownloadsFolderChanged = t21; _.authenticationSupported = t22; }, DeviceSettingsVM_fromStore_closure: function DeviceSettingsVM_fromStore_closure() { }, DeviceSettingsVM_fromStore_closure0: function DeviceSettingsVM_fromStore_closure0(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure1: function DeviceSettingsVM_fromStore_closure1(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure7: function DeviceSettingsVM_fromStore_closure7(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure4: function DeviceSettingsVM_fromStore_closure4(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure5: function DeviceSettingsVM_fromStore_closure5(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure8: function DeviceSettingsVM_fromStore_closure8(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure19: function DeviceSettingsVM_fromStore_closure19(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure15: function DeviceSettingsVM_fromStore_closure15(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure12: function DeviceSettingsVM_fromStore_closure12(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure13: function DeviceSettingsVM_fromStore_closure13(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure14: function DeviceSettingsVM_fromStore_closure14(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure18: function DeviceSettingsVM_fromStore_closure18(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure16: function DeviceSettingsVM_fromStore_closure16(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure17: function DeviceSettingsVM_fromStore_closure17(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure6: function DeviceSettingsVM_fromStore_closure6(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure9: function DeviceSettingsVM_fromStore_closure9(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure3: function DeviceSettingsVM_fromStore_closure3(t0) { this.store = t0; }, DeviceSettingsVM_fromStore__closure: function DeviceSettingsVM_fromStore__closure(t0, t1) { this.value = t0; this.store = t1; }, DeviceSettingsVM_fromStore_closure10: function DeviceSettingsVM_fromStore_closure10(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure20: function DeviceSettingsVM_fromStore_closure20() { }, DeviceSettingsVM_fromStore_closure2: function DeviceSettingsVM_fromStore_closure2(t0) { this.store = t0; }, DeviceSettingsVM_fromStore_closure11: function DeviceSettingsVM_fromStore_closure11(t0) { this.store = t0; }, EInvoiceSettings: function EInvoiceSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _EInvoiceSettingsState: function _EInvoiceSettingsState(t0, t1, t2) { var _ = this; _._e_invoice_settings$_focusNode = null; _._eInvoiceCertificatePassphraseController = t0; _._controllers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _EInvoiceSettingsState_dispose_closure: function _EInvoiceSettingsState_dispose_closure(t0) { this.$this = t0; }, _EInvoiceSettingsState_didChangeDependencies_closure: function _EInvoiceSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _EInvoiceSettingsState_didChangeDependencies_closure0: function _EInvoiceSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _EInvoiceSettingsState__onChanged_closure: function _EInvoiceSettingsState__onChanged_closure(t0, t1) { this.isFiltered = t0; this.eInvoiceCertificatePassphrase = t1; }, _EInvoiceSettingsState_build_closure: function _EInvoiceSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EInvoiceSettingsState_build__closure2: function _EInvoiceSettingsState_build__closure2(t0) { this.value = t0; }, _EInvoiceSettingsState_build_closure0: function _EInvoiceSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EInvoiceSettingsState_build__closure1: function _EInvoiceSettingsState_build__closure1(t0) { this.value = t0; }, _EInvoiceSettingsState_build_closure2: function _EInvoiceSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EInvoiceSettingsState_build__closure0: function _EInvoiceSettingsState_build__closure0(t0) { this.value = t0; }, _EInvoiceSettingsState_build_closure1: function _EInvoiceSettingsState_build_closure1() { }, _EInvoiceSettingsState_build_closure4: function _EInvoiceSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EInvoiceSettingsState_build__closure: function _EInvoiceSettingsState_build__closure(t0) { this.value = t0; }, _EInvoiceSettingsState_build_closure3: function _EInvoiceSettingsState_build_closure3() { }, _EInvoiceSettingsState_build_closure5: function _EInvoiceSettingsState_build_closure5(t0) { this.viewModel = t0; }, EInvoiceSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.EInvoiceSettingsVM(t1, new A.EInvoiceSettingsVM_fromStore_closure(t1, store), t2.company, t2.get$settings(), new A.EInvoiceSettingsVM_fromStore_closure0(store), new A.EInvoiceSettingsVM_fromStore_closure1(store), new A.EInvoiceSettingsVM_fromStore_closure2(store, t1)); }, EInvoiceSettingsScreen: function EInvoiceSettingsScreen(t0) { this.key = t0; }, EInvoiceSettingsScreen_build_closure: function EInvoiceSettingsScreen_build_closure() { }, EInvoiceSettingsVM: function EInvoiceSettingsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.settings = t3; _.onSettingsChanged = t4; _.onCompanyChanged = t5; _.onEInvoiceCertificateSelected = t6; }, EInvoiceSettingsVM_fromStore_closure1: function EInvoiceSettingsVM_fromStore_closure1(t0) { this.store = t0; }, EInvoiceSettingsVM_fromStore_closure0: function EInvoiceSettingsVM_fromStore_closure0(t0) { this.store = t0; }, EInvoiceSettingsVM_fromStore_closure: function EInvoiceSettingsVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, EInvoiceSettingsVM_fromStore__closure: function EInvoiceSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, EInvoiceSettingsVM_fromStore_closure2: function EInvoiceSettingsVM_fromStore_closure2(t0, t1) { this.store = t0; this.state = t1; }, EmailSettings: function EmailSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _EmailSettingsState: function _EmailSettingsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _._email_settings$_focusNode = null; _._fromNameController = t0; _._replyToEmailController = t1; _._replyToNameController = t2; _._bccEmailController = t3; _._emailStyleCustomController = t4; _._emailSignatureController = t5; _._postmarkSecretController = t6; _._brevoSecretController = t7; _._mailgunSecretController = t8; _._mailgunDomainController = t9; _._customSendingEmailController = t10; _._smtpHostController = t11; _._smtpPortController = t12; _._smtpUsernameController = t13; _._smtpPasswordController = t14; _._smtpLocalDomainController = t15; _._email_settings$_controllers = t16; _._widget = null; _._debugLifecycleState = t17; _._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, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.isFiltered = t0; _.emailFromName = t1; _.replyToEmail = t2; _.replyToName = t3; _.bccEmail = t4; _.emailStyleCustom = t5; _.emailSignature = t6; _.postmarkSecret = t7; _.brevoSecret = t8; _.mailgunSecret = t9; _.mailgunDomain = t10; _.customSendingEmail = t11; }, _EmailSettingsState__onChanged_closure0: function _EmailSettingsState__onChanged_closure0(t0) { this.$this = t0; }, _EmailSettingsState_build_closure: function _EmailSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure11: function _EmailSettingsState_build__closure11(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__closure10: function _EmailSettingsState_build__closure10(t0) { this.userId = t0; }, _EmailSettingsState_build_closure2: function _EmailSettingsState_build_closure2() { }, _EmailSettingsState_build_closure3: function _EmailSettingsState_build_closure3(t0) { this.context = t0; }, _EmailSettingsState_build_closure4: function _EmailSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure9: function _EmailSettingsState_build__closure9(t0) { this.userId = t0; }, _EmailSettingsState_build_closure5: function _EmailSettingsState_build_closure5() { }, _EmailSettingsState_build_closure6: function _EmailSettingsState_build_closure6(t0) { this.localization = t0; }, _EmailSettingsState_build_closure7: function _EmailSettingsState_build_closure7(t0) { this.localization = t0; }, _EmailSettingsState_build_closure8: function _EmailSettingsState_build_closure8(t0) { this.localization = t0; }, _EmailSettingsState_build_closure10: function _EmailSettingsState_build_closure10(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure8: function _EmailSettingsState_build__closure8(t0) { this.value = t0; }, _EmailSettingsState_build_closure9: function _EmailSettingsState_build_closure9() { }, _EmailSettingsState_build_closure11: function _EmailSettingsState_build_closure11(t0) { this.localization = t0; }, _EmailSettingsState_build_closure12: function _EmailSettingsState_build_closure12(t0) { this.localization = t0; }, _EmailSettingsState_build_closure13: function _EmailSettingsState_build_closure13(t0) { this.localization = t0; }, _EmailSettingsState_build_closure14: function _EmailSettingsState_build_closure14(t0) { this.viewModel = t0; }, _EmailSettingsState_build__closure7: function _EmailSettingsState_build__closure7(t0) { this.value = t0; }, _EmailSettingsState_build_closure15: function _EmailSettingsState_build_closure15(t0) { this.localization = t0; }, _EmailSettingsState_build_closure16: function _EmailSettingsState_build_closure16(t0) { this.localization = t0; }, _EmailSettingsState_build_closure17: function _EmailSettingsState_build_closure17(t0) { this.viewModel = t0; }, _EmailSettingsState_build__closure6: function _EmailSettingsState_build__closure6(t0) { this.value = t0; }, _EmailSettingsState_build_closure18: function _EmailSettingsState_build_closure18(t0, t1, t2, t3) { var _ = this; _.state = t0; _.viewModel = t1; _.context = t2; _.localization = t3; }, _EmailSettingsState_build_closure20: function _EmailSettingsState_build_closure20(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure5: function _EmailSettingsState_build__closure5(t0) { this.value = t0; }, _EmailSettingsState_build_closure19: function _EmailSettingsState_build_closure19(t0) { this.viewModel = t0; }, _EmailSettingsState_build_closure21: function _EmailSettingsState_build_closure21(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure4: function _EmailSettingsState_build__closure4(t0) { this.value = t0; }, _EmailSettingsState_build_closure22: function _EmailSettingsState_build_closure22(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure3: function _EmailSettingsState_build__closure3(t0) { this.value = t0; }, _EmailSettingsState_build_closure23: function _EmailSettingsState_build_closure23(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure2: function _EmailSettingsState_build__closure2(t0) { this.value = t0; }, _EmailSettingsState_build_closure24: function _EmailSettingsState_build_closure24(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure1: function _EmailSettingsState_build__closure1(t0) { this.value = t0; }, _EmailSettingsState_build_closure25: function _EmailSettingsState_build_closure25(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure0: function _EmailSettingsState_build__closure0(t0) { this.value = t0; }, _EmailSettingsState_build_closure26: function _EmailSettingsState_build_closure26(t0, t1) { this.viewModel = t0; this.settings = t1; }, _EmailSettingsState_build__closure: function _EmailSettingsState_build__closure(t0) { this.value = t0; }, EmailSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.EmailSettingsVM(t1, new A.EmailSettingsVM_fromStore_closure(t1, store), t2.company, t2.get$settings(), new A.EmailSettingsVM_fromStore_closure0(store), new A.EmailSettingsVM_fromStore_closure1(store)); }, EmailSettingsScreen: function EmailSettingsScreen(t0) { this.key = t0; }, EmailSettingsScreen_build_closure: function EmailSettingsScreen_build_closure() { }, EmailSettingsVM: function EmailSettingsVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.settings = t3; _.onSettingsChanged = t4; _.onCompanyChanged = t5; }, EmailSettingsVM_fromStore_closure1: function EmailSettingsVM_fromStore_closure1(t0) { this.store = t0; }, EmailSettingsVM_fromStore_closure0: function EmailSettingsVM_fromStore_closure0(t0) { this.store = t0; }, EmailSettingsVM_fromStore_closure: function EmailSettingsVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, EmailSettingsVM_fromStore__closure: function EmailSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, ExpenseSettings: function ExpenseSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _ExpenseSettingsState: function _ExpenseSettingsState(t0) { var _ = this; _._widget = _._expense_settings$_focusNode = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ExpenseSettingsState_build_closure: function _ExpenseSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure6: function _ExpenseSettingsState_build__closure6(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure0: function _ExpenseSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure5: function _ExpenseSettingsState_build__closure5(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure1: function _ExpenseSettingsState_build_closure1(t0, t1) { this.viewModel = t0; this.settings = t1; }, _ExpenseSettingsState_build__closure4: function _ExpenseSettingsState_build__closure4(t0) { this.paymentType = t0; }, _ExpenseSettingsState_build_closure2: function _ExpenseSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure3: function _ExpenseSettingsState_build__closure3(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure3: function _ExpenseSettingsState_build_closure3(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure2: function _ExpenseSettingsState_build__closure2(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure4: function _ExpenseSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure1: function _ExpenseSettingsState_build__closure1(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure5: function _ExpenseSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure0: function _ExpenseSettingsState_build__closure0(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure6: function _ExpenseSettingsState_build_closure6(t0, t1) { this.viewModel = t0; this.company = t1; }, _ExpenseSettingsState_build__closure: function _ExpenseSettingsState_build__closure(t0) { this.value = t0; }, _ExpenseSettingsState_build_closure7: function _ExpenseSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.context = t1; }, ExpenseSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.ExpenseSettingsVM(t1, new A.ExpenseSettingsVM_fromStore_closure(store), t2.company, t2.get$settings(), new A.ExpenseSettingsVM_fromStore_closure0(store), new A.ExpenseSettingsVM_fromStore_closure1(store), new A.ExpenseSettingsVM_fromStore_closure2(store)); }, ExpenseSettingsScreen: function ExpenseSettingsScreen(t0) { this.key = t0; }, ExpenseSettingsScreen_build_closure: function ExpenseSettingsScreen_build_closure() { }, ExpenseSettingsVM: function ExpenseSettingsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.settings = t3; _.onCompanyChanged = t4; _.onSettingsChanged = t5; _.onConfigureCategoriesPressed = t6; }, ExpenseSettingsVM_fromStore_closure0: function ExpenseSettingsVM_fromStore_closure0(t0) { this.store = t0; }, ExpenseSettingsVM_fromStore_closure1: function ExpenseSettingsVM_fromStore_closure1(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_closure2: function ExpenseSettingsVM_fromStore_closure2(t0) { this.store = t0; }, GeneratedNumbers: function GeneratedNumbers(t0, t1) { this.viewModel = t0; this.key = t1; }, _GeneratedNumbersState: function _GeneratedNumbersState(t0, t1, t2, t3, t4, t5) { var _ = this; _._generated_numbers$_controller = _._generated_numbers$_focusNode = null; _._recurringPrefixController = t0; _._generated_numbers$_controllers = t1; _._generated_numbers$_debouncer = t2; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _GeneratedNumbersState_initState_closure: function _GeneratedNumbersState_initState_closure(t0, t1) { this._box_0 = t0; this.company = t1; }, _GeneratedNumbersState_dispose_closure: function _GeneratedNumbersState_dispose_closure(t0) { this.$this = t0; }, _GeneratedNumbersState_didChangeDependencies_closure: function _GeneratedNumbersState_didChangeDependencies_closure(t0) { this.$this = t0; }, _GeneratedNumbersState_didChangeDependencies_closure0: function _GeneratedNumbersState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _GeneratedNumbersState__onChanged_closure: function _GeneratedNumbersState__onChanged_closure(t0) { this.$this = t0; }, _GeneratedNumbersState__onChanged__closure: function _GeneratedNumbersState__onChanged__closure(t0) { this.$this = t0; }, _GeneratedNumbersState__onSavePressed_closure: function _GeneratedNumbersState__onSavePressed_closure(t0) { this._box_0 = t0; }, _GeneratedNumbersState__onSavePressed_closure0: function _GeneratedNumbersState__onSavePressed_closure0() { }, _GeneratedNumbersState_build_closure0: function _GeneratedNumbersState_build_closure0(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure16: function _GeneratedNumbersState_build__closure16(t0) { this.value = t0; }, _GeneratedNumbersState_build_closure: function _GeneratedNumbersState_build_closure() { }, _GeneratedNumbersState_build_closure1: function _GeneratedNumbersState_build_closure1(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure15: function _GeneratedNumbersState_build__closure15(t0) { this.value = t0; }, _GeneratedNumbersState_build_closure3: function _GeneratedNumbersState_build_closure3(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure14: function _GeneratedNumbersState_build__closure14(t0) { this.value = t0; }, _GeneratedNumbersState_build_closure2: function _GeneratedNumbersState_build_closure2(t0) { this.localization = t0; }, _GeneratedNumbersState_build_closure4: function _GeneratedNumbersState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure13: function _GeneratedNumbersState_build__closure13(t0) { this.value = t0; }, _GeneratedNumbersState_build_closure5: function _GeneratedNumbersState_build_closure5(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure12: function _GeneratedNumbersState_build__closure12(t0) { this.value = t0; }, _GeneratedNumbersState_build_closure6: function _GeneratedNumbersState_build_closure6(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure11: function _GeneratedNumbersState_build__closure11(t0) { this.value = t0; }, _GeneratedNumbersState_build_closure7: function _GeneratedNumbersState_build_closure7(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure10: function _GeneratedNumbersState_build__closure10(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure8: function _GeneratedNumbersState_build_closure8(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure9: function _GeneratedNumbersState_build__closure9(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure9: function _GeneratedNumbersState_build_closure9(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure8: function _GeneratedNumbersState_build__closure8(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure10: function _GeneratedNumbersState_build_closure10(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure7: function _GeneratedNumbersState_build__closure7(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure11: function _GeneratedNumbersState_build_closure11(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure6: function _GeneratedNumbersState_build__closure6(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure12: function _GeneratedNumbersState_build_closure12(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure5: function _GeneratedNumbersState_build__closure5(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure13: function _GeneratedNumbersState_build_closure13(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure4: function _GeneratedNumbersState_build__closure4(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure14: function _GeneratedNumbersState_build_closure14(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure3: function _GeneratedNumbersState_build__closure3(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure15: function _GeneratedNumbersState_build_closure15(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure2: function _GeneratedNumbersState_build__closure2(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure16: function _GeneratedNumbersState_build_closure16(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure1: function _GeneratedNumbersState_build__closure1(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure17: function _GeneratedNumbersState_build_closure17(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure0: function _GeneratedNumbersState_build__closure0(t0, t1) { this.counter = t0; this.pattern = t1; }, _GeneratedNumbersState_build_closure18: function _GeneratedNumbersState_build_closure18(t0, t1) { this.viewModel = t0; this.settings = t1; }, _GeneratedNumbersState_build__closure: function _GeneratedNumbersState_build__closure(t0, t1) { this.counter = t0; this.pattern = t1; }, EntityNumberSettings: function EntityNumberSettings(t0, t1, t2, t3, t4, t5) { var _ = this; _.counterValue = t0; _.patternValue = t1; _.onChanged = t2; _.showVendorFields = t3; _.showClientFields = t4; _.key = t5; }, _EntityNumberSettingsState: function _EntityNumberSettingsState(t0, t1, t2, t3, t4) { var _ = this; _._counterController = t0; _._patternController = t1; _._generated_numbers$_controllers = t2; _._generated_numbers$_debouncer = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _EntityNumberSettingsState_dispose_closure: function _EntityNumberSettingsState_dispose_closure(t0) { this.$this = t0; }, _EntityNumberSettingsState_didChangeDependencies_closure: function _EntityNumberSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _EntityNumberSettingsState_didChangeDependencies_closure0: function _EntityNumberSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _EntityNumberSettingsState__onChanged_closure: function _EntityNumberSettingsState__onChanged_closure(t0) { this.$this = t0; }, _EntityNumberSettingsState_build_closure: function _EntityNumberSettingsState_build_closure() { }, _EntityNumberSettingsState_build_closure0: function _EntityNumberSettingsState_build_closure0(t0) { this.$this = t0; }, HelpPanel: function HelpPanel(t0, t1, t2, t3) { var _ = this; _.showVendorFields = t0; _.showClientFields = t1; _.onFieldPressed = t2; _.key = t3; }, HelpPanel_build_closure: function HelpPanel_build_closure(t0) { this.$this = t0; }, HelpPanel_build_closure0: function HelpPanel_build_closure0(t0) { this.$this = t0; }, HelpPanel_build_closure1: function HelpPanel_build_closure1() { }, HelpPanel_build_closure2: function HelpPanel_build_closure2(t0) { this.$this = t0; }, HelpPanel_build__closure: function HelpPanel_build__closure(t0, t1) { this.$this = t0; this.field = t1; }, __GeneratedNumbersState_State_SingleTickerProviderStateMixin: function __GeneratedNumbersState_State_SingleTickerProviderStateMixin() { }, GeneratedNumbersVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.GeneratedNumbersVM(t1, new A.GeneratedNumbersVM_fromStore_closure(t1, store), t1.uiState.settingsUIState.get$settings(), new A.GeneratedNumbersVM_fromStore_closure0(store)); }, GeneratedNumbersScreen: function GeneratedNumbersScreen(t0) { this.key = t0; }, GeneratedNumbersScreen_build_closure: function GeneratedNumbersScreen_build_closure() { }, GeneratedNumbersVM: function GeneratedNumbersVM(t0, t1, t2, t3) { var _ = this; _.state = t0; _.onSavePressed = t1; _.settings = t2; _.onSettingsChanged = t3; }, GeneratedNumbersVM_fromStore_closure0: function GeneratedNumbersVM_fromStore_closure0(t0) { this.store = t0; }, GeneratedNumbersVM_fromStore_closure: function GeneratedNumbersVM_fromStore_closure(t0, t1) { this.state = t0; this.store = t1; }, GeneratedNumbersVM_fromStore__closure: function GeneratedNumbersVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, ImportExport: function ImportExport(t0, t1) { this.viewModel = t0; this.key = t1; }, _ImportExportState: function _ImportExportState(t0, t1, t2, t3, t4, t5) { var _ = this; _._import_export$_response = _._import_export$_focusNode = _._import_export$_controller = null; _._importFormat = t0; _._exportFormat = t1; _._exportType = t2; _._exportEndDate = _._exportStartDate = _._exportDateRange = _._exportDate = ""; _._isExporting = _._exportDocuments = false; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _ImportExportState_build_closure0: function _ImportExportState_build_closure0(t0, t1) { this.$this = t0; this.localization = t1; }, _ImportExportState_build__closure11: function _ImportExportState_build__closure11(t0, t1) { this.$this = t0; this.response = t1; }, _ImportExportState_build_closure: function _ImportExportState_build_closure(t0) { this.$this = t0; }, _ImportExportState_build__closure12: function _ImportExportState_build__closure12(t0, t1) { this.$this = t0; this.importType = t1; }, _ImportExportState_build_closure1: function _ImportExportState_build_closure1(t0) { this.$this = t0; }, _ImportExportState_build__closure10: function _ImportExportState_build__closure10(t0) { this.$this = t0; }, _ImportExportState_build_closure3: function _ImportExportState_build_closure3(t0) { this.$this = t0; }, _ImportExportState_build__closure9: function _ImportExportState_build__closure9(t0, t1) { this.$this = t0; this.value = t1; }, _ImportExportState_build_closure2: function _ImportExportState_build_closure2(t0) { this.localization = t0; }, _ImportExportState_build_closure5: function _ImportExportState_build_closure5(t0) { this.$this = t0; }, _ImportExportState_build__closure8: function _ImportExportState_build__closure8(t0, t1) { this.$this = t0; this.value = t1; }, _ImportExportState_build_closure4: function _ImportExportState_build_closure4(t0) { this.localization = t0; }, _ImportExportState_build_closure7: function _ImportExportState_build_closure7(t0) { this.$this = t0; }, _ImportExportState_build__closure7: function _ImportExportState_build__closure7(t0, t1) { this.$this = t0; this.value = t1; }, _ImportExportState_build_closure6: function _ImportExportState_build_closure6(t0) { this.localization = t0; }, _ImportExportState_build_closure9: function _ImportExportState_build_closure9(t0) { this.$this = t0; }, _ImportExportState_build__closure6: function _ImportExportState_build__closure6(t0, t1) { this.$this = t0; this.value = t1; }, _ImportExportState_build_closure8: function _ImportExportState_build_closure8(t0) { this.localization = t0; }, _ImportExportState_build_closure10: function _ImportExportState_build_closure10(t0) { this.$this = t0; }, _ImportExportState_build__closure5: function _ImportExportState_build__closure5(t0, t1) { this.$this = t0; this.date = t1; }, _ImportExportState_build_closure11: function _ImportExportState_build_closure11(t0) { this.$this = t0; }, _ImportExportState_build__closure4: function _ImportExportState_build__closure4(t0, t1) { this.$this = t0; this.date = t1; }, _ImportExportState_build_closure12: function _ImportExportState_build_closure12(t0) { this.$this = t0; }, _ImportExportState_build__closure3: function _ImportExportState_build__closure3(t0, t1) { this.$this = t0; this.value = t1; }, _ImportExportState_build_closure13: function _ImportExportState_build_closure13(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.localization = t1; }, _ImportExportState_build___closure0: function _ImportExportState_build___closure0(t0) { this.$this = t0; }, _ImportExportState_build__closure2: function _ImportExportState_build__closure2(t0) { this.$this = t0; }, _ImportExportState_build___closure: function _ImportExportState_build___closure(t0) { this.$this = t0; }, _ImportExportState_build_closure14: function _ImportExportState_build_closure14(t0) { this.$this = t0; }, _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.multipartFiles = 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 = _._import_export$_bankAccountId = null; _._debugLifecycleState = t1; _._framework$_element = null; }, __FileMapperState_build_closure: function __FileMapperState_build_closure(t0) { this.$this = t0; }, __FileMapperState_build__closure5: function __FileMapperState_build__closure5(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__closure4: function __FileMapperState_build__closure4(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__closure3: function __FileMapperState_build__closure3(t0, t1) { this.$this = t0; this.bankAccount = t1; }, __FileMapperState_build_closure4: function __FileMapperState_build_closure4(t0) { this.store = t0; }, __FileMapperState_build__closure2: function __FileMapperState_build__closure2(t0) { this.name = t0; }, __FileMapperState_build_closure2: function __FileMapperState_build_closure2(t0, t1) { this.$this = t0; this.localization = t1; }, __FileMapperState_build_closure3: function __FileMapperState_build_closure3() { }, __FileMapperState_build_closure5: function __FileMapperState_build_closure5(t0) { this.$this = t0; }, __FileMapperState_build_closure6: function __FileMapperState_build_closure6(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) { this.$this = t0; }, __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_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_closure1: function _FieldMapper_build_closure1(t0) { this.$this = t0; }, _FieldMapper_build_closure0: function _FieldMapper_build_closure0(t0) { this.localization = t0; }, __ImportExportState_State_SingleTickerProviderStateMixin: function __ImportExportState_State_SingleTickerProviderStateMixin() { }, ImportExportVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.ImportExportVM(t1); }, ImportExportScreen: function ImportExportScreen(t0) { this.key = t0; }, ImportExportScreen_build_closure: function ImportExportScreen_build_closure() { }, ImportExportVM: function ImportExportVM(t0) { this.state = t0; }, InvoiceDesign: function InvoiceDesign(t0, t1) { this.viewModel = t0; this.key = t1; }, _InvoiceDesignState: function _InvoiceDesignState(t0, t1, t2, t3, t4, t5) { var _ = this; _._invoice_design$_focusNode = _._invoice_design$_controller = null; _._logoSizeController = t0; _._invoice_design$_controllers = t1; _._invoice_design$_debouncer = t2; _._updateAllPurchaseOrderDesigns = _._updateAllCreditDesigns = _._updateAllQuoteDesigns = _._updateAllInvoiceDesigns = _._wasPurchaseOrderDesignChanged = _._wasCreditDesignChanged = _._wasQuoteDesignChanged = _._wasInvoiceDesignChanged = false; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _InvoiceDesignState_initState_closure: function _InvoiceDesignState_initState_closure(t0, t1) { this._box_0 = t0; this.state = t1; }, _InvoiceDesignState_didChangeDependencies_closure: function _InvoiceDesignState_didChangeDependencies_closure(t0) { this.$this = t0; }, _InvoiceDesignState_didChangeDependencies_closure0: function _InvoiceDesignState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _InvoiceDesignState__onChanged_closure: function _InvoiceDesignState__onChanged_closure(t0, t1) { this.logoSize = t0; this.viewModel = t1; }, _InvoiceDesignState__onChanged_closure0: function _InvoiceDesignState__onChanged_closure0(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_dispose_closure: function _InvoiceDesignState_dispose_closure(t0) { this.$this = t0; }, _InvoiceDesignState_build_closure76: function _InvoiceDesignState_build_closure76(t0, t1) { this.$this = t0; this.viewModel = t1; }, _InvoiceDesignState_build_closure: function _InvoiceDesignState_build_closure() { }, _InvoiceDesignState_build_closure0: function _InvoiceDesignState_build_closure0(t0, t1) { this.state = t0; this.store = t1; }, _InvoiceDesignState_build_closure1: function _InvoiceDesignState_build_closure1(t0) { this.context = t0; }, _InvoiceDesignState_build_closure2: function _InvoiceDesignState_build_closure2(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _InvoiceDesignState_build__closure28: function _InvoiceDesignState_build__closure28(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure29: function _InvoiceDesignState_build__closure29(t0) { this.value = t0; }, _InvoiceDesignState_build_closure3: function _InvoiceDesignState_build_closure3(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure27: function _InvoiceDesignState_build__closure27(t0, t1) { this.$this = t0; this.value = t1; }, _InvoiceDesignState_build_closure4: function _InvoiceDesignState_build_closure4(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _InvoiceDesignState_build__closure25: function _InvoiceDesignState_build__closure25(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure26: function _InvoiceDesignState_build__closure26(t0) { this.value = t0; }, _InvoiceDesignState_build_closure5: function _InvoiceDesignState_build_closure5(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure24: function _InvoiceDesignState_build__closure24(t0, t1) { this.$this = t0; this.value = t1; }, _InvoiceDesignState_build_closure6: function _InvoiceDesignState_build_closure6(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _InvoiceDesignState_build__closure22: function _InvoiceDesignState_build__closure22(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure23: function _InvoiceDesignState_build__closure23(t0) { this.value = t0; }, _InvoiceDesignState_build_closure7: function _InvoiceDesignState_build_closure7(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure21: function _InvoiceDesignState_build__closure21(t0, t1) { this.$this = t0; this.value = t1; }, _InvoiceDesignState_build_closure8: function _InvoiceDesignState_build_closure8(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _InvoiceDesignState_build__closure19: function _InvoiceDesignState_build__closure19(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure20: function _InvoiceDesignState_build__closure20(t0) { this.value = t0; }, _InvoiceDesignState_build_closure9: function _InvoiceDesignState_build_closure9(t0) { this.$this = t0; }, _InvoiceDesignState_build__closure18: function _InvoiceDesignState_build__closure18(t0, t1) { this.$this = t0; this.value = t1; }, _InvoiceDesignState_build_closure10: function _InvoiceDesignState_build_closure10(t0, t1) { this.store = t0; this.state = t1; }, _InvoiceDesignState_build_closure11: function _InvoiceDesignState_build_closure11(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure17: function _InvoiceDesignState_build__closure17(t0) { this.value = t0; }, _InvoiceDesignState_build_closure12: function _InvoiceDesignState_build_closure12(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure16: function _InvoiceDesignState_build__closure16(t0) { this.value = t0; }, _InvoiceDesignState_build_closure13: function _InvoiceDesignState_build_closure13(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure15: function _InvoiceDesignState_build__closure15(t0) { this.value = t0; }, _InvoiceDesignState_build_closure14: function _InvoiceDesignState_build_closure14(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure14: function _InvoiceDesignState_build__closure14(t0) { this.value = t0; }, _InvoiceDesignState_build_closure16: function _InvoiceDesignState_build_closure16(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure13: function _InvoiceDesignState_build__closure13(t0) { this.value = t0; }, _InvoiceDesignState_build_closure15: function _InvoiceDesignState_build_closure15(t0) { this.localization = t0; }, _InvoiceDesignState_build_closure18: function _InvoiceDesignState_build_closure18(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure12: function _InvoiceDesignState_build__closure12(t0) { this.value = t0; }, _InvoiceDesignState_build_closure17: function _InvoiceDesignState_build_closure17(t0) { this.localization = t0; }, _InvoiceDesignState_build_closure20: function _InvoiceDesignState_build_closure20(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure11: function _InvoiceDesignState_build__closure11(t0) { this.value = t0; }, _InvoiceDesignState_build_closure19: function _InvoiceDesignState_build_closure19() { }, _InvoiceDesignState_build_closure21: function _InvoiceDesignState_build_closure21(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.settings = t2; _.localization = t3; }, _InvoiceDesignState_build__closure10: function _InvoiceDesignState_build__closure10(t0, t1, t2) { this.$this = t0; this.value = t1; this.localization = t2; }, _InvoiceDesignState_build_closure22: function _InvoiceDesignState_build_closure22(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure9: function _InvoiceDesignState_build__closure9(t0) { this.font = t0; }, _InvoiceDesignState_build_closure23: function _InvoiceDesignState_build_closure23(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure8: function _InvoiceDesignState_build__closure8(t0) { this.font = t0; }, _InvoiceDesignState_build_closure24: function _InvoiceDesignState_build_closure24(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure7: function _InvoiceDesignState_build__closure7(t0) { this.value = t0; }, _InvoiceDesignState_build_closure25: function _InvoiceDesignState_build_closure25(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure6: function _InvoiceDesignState_build__closure6(t0) { this.value = t0; }, _InvoiceDesignState_build_closure26: function _InvoiceDesignState_build_closure26(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure5: function _InvoiceDesignState_build__closure5(t0) { this.value = t0; }, _InvoiceDesignState_build_closure27: function _InvoiceDesignState_build_closure27(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure4: function _InvoiceDesignState_build__closure4(t0) { this.value = t0; }, _InvoiceDesignState_build_closure28: function _InvoiceDesignState_build_closure28(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure3: function _InvoiceDesignState_build__closure3(t0) { this.value = t0; }, _InvoiceDesignState_build_closure29: function _InvoiceDesignState_build_closure29(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure2: function _InvoiceDesignState_build__closure2(t0) { this.value = t0; }, _InvoiceDesignState_build_closure30: function _InvoiceDesignState_build_closure30(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure1: function _InvoiceDesignState_build__closure1(t0) { this.value = t0; }, _InvoiceDesignState_build_closure31: function _InvoiceDesignState_build_closure31(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure0: function _InvoiceDesignState_build__closure0(t0) { this.value = t0; }, _InvoiceDesignState_build_closure32: function _InvoiceDesignState_build_closure32() { }, _InvoiceDesignState_build_closure33: function _InvoiceDesignState_build_closure33() { }, _InvoiceDesignState_build_closure34: function _InvoiceDesignState_build_closure34() { }, _InvoiceDesignState_build_closure35: function _InvoiceDesignState_build_closure35() { }, _InvoiceDesignState_build_closure36: function _InvoiceDesignState_build_closure36(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure37: function _InvoiceDesignState_build_closure37() { }, _InvoiceDesignState_build_closure38: function _InvoiceDesignState_build_closure38() { }, _InvoiceDesignState_build_closure39: function _InvoiceDesignState_build_closure39(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure40: function _InvoiceDesignState_build_closure40() { }, _InvoiceDesignState_build_closure41: function _InvoiceDesignState_build_closure41() { }, _InvoiceDesignState_build_closure42: function _InvoiceDesignState_build_closure42(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure43: function _InvoiceDesignState_build_closure43() { }, _InvoiceDesignState_build_closure44: function _InvoiceDesignState_build_closure44() { }, _InvoiceDesignState_build_closure45: function _InvoiceDesignState_build_closure45() { }, _InvoiceDesignState_build_closure46: function _InvoiceDesignState_build_closure46(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure47: function _InvoiceDesignState_build_closure47() { }, _InvoiceDesignState_build_closure48: function _InvoiceDesignState_build_closure48() { }, _InvoiceDesignState_build_closure49: function _InvoiceDesignState_build_closure49() { }, _InvoiceDesignState_build_closure50: function _InvoiceDesignState_build_closure50(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure51: function _InvoiceDesignState_build_closure51() { }, _InvoiceDesignState_build_closure52: function _InvoiceDesignState_build_closure52() { }, _InvoiceDesignState_build_closure53: function _InvoiceDesignState_build_closure53() { }, _InvoiceDesignState_build_closure54: function _InvoiceDesignState_build_closure54(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure55: function _InvoiceDesignState_build_closure55() { }, _InvoiceDesignState_build_closure56: function _InvoiceDesignState_build_closure56() { }, _InvoiceDesignState_build_closure57: function _InvoiceDesignState_build_closure57() { }, _InvoiceDesignState_build_closure58: function _InvoiceDesignState_build_closure58() { }, _InvoiceDesignState_build_closure59: function _InvoiceDesignState_build_closure59(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure60: function _InvoiceDesignState_build_closure60() { }, _InvoiceDesignState_build_closure61: function _InvoiceDesignState_build_closure61() { }, _InvoiceDesignState_build_closure62: function _InvoiceDesignState_build_closure62(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure63: function _InvoiceDesignState_build_closure63() { }, _InvoiceDesignState_build_closure64: function _InvoiceDesignState_build_closure64() { }, _InvoiceDesignState_build_closure65: function _InvoiceDesignState_build_closure65(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure66: function _InvoiceDesignState_build_closure66(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build__closure: function _InvoiceDesignState_build__closure(t0) { this.value = t0; }, _InvoiceDesignState_build_closure67: function _InvoiceDesignState_build_closure67() { }, _InvoiceDesignState_build_closure68: function _InvoiceDesignState_build_closure68() { }, _InvoiceDesignState_build_closure69: function _InvoiceDesignState_build_closure69(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure70: function _InvoiceDesignState_build_closure70() { }, _InvoiceDesignState_build_closure71: function _InvoiceDesignState_build_closure71() { }, _InvoiceDesignState_build_closure72: function _InvoiceDesignState_build_closure72(t0, t1) { this.viewModel = t0; this.settings = t1; }, _InvoiceDesignState_build_closure73: function _InvoiceDesignState_build_closure73() { }, _InvoiceDesignState_build_closure74: function _InvoiceDesignState_build_closure74() { }, _InvoiceDesignState_build_closure75: function _InvoiceDesignState_build_closure75(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PdfPreview: function _PdfPreview(t0, t1, t2, t3) { var _ = this; _.settings = t0; _.entityType = t1; _.state = t2; _.key = t3; }, _PdfPreviewState: function _PdfPreviewState(t0) { var _ = this; _.response = null; _.isLoading = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _PdfPreviewState__loadPdf_closure: function _PdfPreviewState__loadPdf_closure(t0) { this.$this = t0; }, _PdfPreviewState__loadPdf_closure0: function _PdfPreviewState__loadPdf_closure0() { }, _PdfPreviewState__loadPdf_closure1: function _PdfPreviewState__loadPdf_closure1(t0) { this.$this = t0; }, _PdfPreviewState_build_closure: function _PdfPreviewState_build_closure(t0) { this.$this = t0; }, __InvoiceDesignState_State_SingleTickerProviderStateMixin: function __InvoiceDesignState_State_SingleTickerProviderStateMixin() { }, InvoiceDesignVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.InvoiceDesignVM(t1, t2.get$settings(), t2.company, new A.InvoiceDesignVM_fromStore_closure(store, t1), new A.InvoiceDesignVM_fromStore_closure0(t1, store)); }, InvoiceDesignScreen: function InvoiceDesignScreen(t0) { this.key = t0; }, InvoiceDesignScreen_build_closure: function InvoiceDesignScreen_build_closure() { }, InvoiceDesignVM: function InvoiceDesignVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.settings = t1; _.company = t2; _.onSettingsChanged = t3; _.onSavePressed = t4; }, InvoiceDesignVM_fromStore_closure: function InvoiceDesignVM_fromStore_closure(t0, t1) { this.store = t0; this.state = t1; }, InvoiceDesignVM_fromStore_closure0: function InvoiceDesignVM_fromStore_closure0(t0, t1) { this.state = t0; this.store = t1; }, InvoiceDesignVM_fromStore__closure: function InvoiceDesignVM_fromStore__closure(t0, t1, t2, t3) { var _ = this; _.store = t0; _.context = t1; _.state = t2; _.entityTypes = t3; }, InvoiceDesignVM_fromStore___closure: function InvoiceDesignVM_fromStore___closure(t0, t1, t2) { this.state = t0; this.store = t1; this.entityTypes = t2; }, InvoiceDesignVM_fromStore____closure1: function InvoiceDesignVM_fromStore____closure1(t0, t1, t2, t3) { var _ = this; _.webClient = t0; _.url = t1; _.credentials = t2; _.settings = t3; }, InvoiceDesignVM_fromStore_____closure3: function InvoiceDesignVM_fromStore_____closure3() { }, InvoiceDesignVM_fromStore_____closure4: function InvoiceDesignVM_fromStore_____closure4() { }, InvoiceDesignVM_fromStore___closure0: function InvoiceDesignVM_fromStore___closure0(t0, t1, t2, t3) { var _ = this; _.state = t0; _.store = t1; _.entityTypes = t2; _.settingsUIState = t3; }, InvoiceDesignVM_fromStore____closure0: function InvoiceDesignVM_fromStore____closure0(t0, t1, t2, t3, t4) { var _ = this; _.webClient = t0; _.url = t1; _.credentials = t2; _.settings = t3; _.settingsUIState = t4; }, InvoiceDesignVM_fromStore_____closure1: function InvoiceDesignVM_fromStore_____closure1() { }, InvoiceDesignVM_fromStore_____closure2: function InvoiceDesignVM_fromStore_____closure2() { }, InvoiceDesignVM_fromStore___closure1: function InvoiceDesignVM_fromStore___closure1(t0, t1, t2, t3) { var _ = this; _.state = t0; _.store = t1; _.entityTypes = t2; _.settingsUIState = t3; }, InvoiceDesignVM_fromStore____closure: function InvoiceDesignVM_fromStore____closure(t0, t1, t2, t3, t4) { var _ = this; _.webClient = t0; _.url = t1; _.credentials = t2; _.settings = t3; _.settingsUIState = t4; }, InvoiceDesignVM_fromStore_____closure: function InvoiceDesignVM_fromStore_____closure() { }, InvoiceDesignVM_fromStore_____closure0: function InvoiceDesignVM_fromStore_____closure0() { }, LocalizationSettings: function LocalizationSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _LocalizationSettingsState: function _LocalizationSettingsState(t0, t1, t2, t3, t4) { var _ = this; _._localization_settings$_firstNameController = t0; _._localization_settings$_focusNode = _._localization_settings$_controller = null; _._localization_settings$_controllers = t1; _.SingleTickerProviderStateMixin__ticker = t2; _.SingleTickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _LocalizationSettingsState_dispose_closure: function _LocalizationSettingsState_dispose_closure(t0) { this.$this = t0; }, _LocalizationSettingsState_didChangeDependencies_closure: function _LocalizationSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _LocalizationSettingsState_didChangeDependencies_closure0: function _LocalizationSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _LocalizationSettingsState_build_closure: function _LocalizationSettingsState_build_closure(t0) { this.translations = t0; }, _LocalizationSettingsState_build_closure0: function _LocalizationSettingsState_build_closure0(t0) { this.localization = t0; }, _LocalizationSettingsState_build_closure1: function _LocalizationSettingsState_build_closure1(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure14: function _LocalizationSettingsState_build__closure14(t0) { this.currency = t0; }, _LocalizationSettingsState_build_closure2: function _LocalizationSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure13: function _LocalizationSettingsState_build__closure13(t0) { this.value = t0; }, _LocalizationSettingsState_build_closure3: function _LocalizationSettingsState_build_closure3(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure12: function _LocalizationSettingsState_build__closure12(t0) { this.language = t0; }, _LocalizationSettingsState_build_closure4: function _LocalizationSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure11: function _LocalizationSettingsState_build__closure11(t0) { this.timezone = t0; }, _LocalizationSettingsState_build_closure5: function _LocalizationSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure10: function _LocalizationSettingsState_build__closure10(t0) { this.dateFormat = t0; }, _LocalizationSettingsState_build_closure6: function _LocalizationSettingsState_build_closure6(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure9: function _LocalizationSettingsState_build__closure9(t0) { this.value = t0; }, _LocalizationSettingsState_build_closure7: function _LocalizationSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure8: function _LocalizationSettingsState_build__closure8(t0) { this.value = t0; }, _LocalizationSettingsState_build_closure8: function _LocalizationSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.company = t1; }, _LocalizationSettingsState_build__closure7: function _LocalizationSettingsState_build__closure7(t0) { this.value = t0; }, _LocalizationSettingsState_build_closure10: function _LocalizationSettingsState_build_closure10(t0, t1) { this.viewModel = t0; this.company = t1; }, _LocalizationSettingsState_build__closure6: function _LocalizationSettingsState_build__closure6(t0) { this.value = t0; }, _LocalizationSettingsState_build_closure9: function _LocalizationSettingsState_build_closure9(t0) { this.localization = t0; }, _LocalizationSettingsState_build_closure11: function _LocalizationSettingsState_build_closure11(t0) { this.localization = t0; }, _LocalizationSettingsState_build_closure12: function _LocalizationSettingsState_build_closure12(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build__closure5: function _LocalizationSettingsState_build__closure5(t0) { this.value = t0; }, _LocalizationSettingsState_build_closure13: function _LocalizationSettingsState_build_closure13(t0, t1, t2, t3) { var _ = this; _.context = t0; _.viewModel = t1; _.settings = t2; _.localization = t3; }, _LocalizationSettingsState_build__closure3: function _LocalizationSettingsState_build__closure3(t0, t1) { this.viewModel = t0; this.settings = t1; }, _LocalizationSettingsState_build___closure: function _LocalizationSettingsState_build___closure(t0) { this.value = t0; }, _LocalizationSettingsState_build__closure4: function _LocalizationSettingsState_build__closure4() { }, _LocalizationSettingsState_build_closure14: function _LocalizationSettingsState_build_closure14(t0, t1, t2, t3) { var _ = this; _.context = t0; _.state = t1; _.viewModel = t2; _.settings = t3; }, _LocalizationSettingsState_build__closure1: function _LocalizationSettingsState_build__closure1() { }, _LocalizationSettingsState_build__closure2: function _LocalizationSettingsState_build__closure2(t0) { this.key = t0; }, _LocalizationSettingsState_build_closure15: function _LocalizationSettingsState_build_closure15(t0, t1, t2) { this.viewModel = t0; this.settings = t1; this.key = t2; }, _LocalizationSettingsState_build__closure0: function _LocalizationSettingsState_build__closure0(t0, t1) { this.key = t0; this.value = t1; }, _LocalizationSettingsState_build_closure16: function _LocalizationSettingsState_build_closure16(t0, t1, t2) { this.viewModel = t0; this.settings = t1; this.key = t2; }, _LocalizationSettingsState_build__closure: function _LocalizationSettingsState_build__closure(t0) { this.key = t0; }, _AddCompanyDialog: function _AddCompanyDialog(t0) { this.key = t0; }, _AddCompanyDialogState: function _AddCompanyDialogState(t0) { var _ = this; _._widget = _._localization_settings$_countryId = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AddCompanyDialogState_build_closure: function _AddCompanyDialogState_build_closure(t0) { this.context = t0; }, _AddCompanyDialogState_build_closure0: function _AddCompanyDialogState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _AddCompanyDialogState_build_closure1: function _AddCompanyDialogState_build_closure1(t0) { this.$this = t0; }, __LocalizationSettingsState_State_SingleTickerProviderStateMixin: function __LocalizationSettingsState_State_SingleTickerProviderStateMixin() { }, LocalizationSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.LocalizationSettingsVM(t1, t2.company, new A.LocalizationSettingsVM_fromStore_closure(store), t2.get$settings(), new A.LocalizationSettingsVM_fromStore_closure0(store), new A.LocalizationSettingsVM_fromStore_closure1(store)); }, LocalizationScreen: function LocalizationScreen(t0) { this.key = t0; }, LocalizationScreen_build_closure: function LocalizationScreen_build_closure() { }, LocalizationSettingsVM: function LocalizationSettingsVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.company = t1; _.onCompanyChanged = t2; _.settings = t3; _.onSettingsChanged = t4; _.onSavePressed = t5; }, LocalizationSettingsVM_fromStore_closure0: function LocalizationSettingsVM_fromStore_closure0(t0) { this.store = t0; }, LocalizationSettingsVM_fromStore_closure: function LocalizationSettingsVM_fromStore_closure(t0) { this.store = t0; }, LocalizationSettingsVM_fromStore_closure1: function LocalizationSettingsVM_fromStore_closure1(t0) { this.store = t0; }, LocalizationSettingsVM_fromStore__closure: function LocalizationSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, LocalizationSettingsVM_fromStore___closure: function LocalizationSettingsVM_fromStore___closure(t0, t1) { this.appBuilder = t0; this.store = t1; }, LocalizationSettingsVM_fromStore____closure: function LocalizationSettingsVM_fromStore____closure(t0) { this.appBuilder = t0; }, PaymentSettings: function PaymentSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _PaymentSettingsState: function _PaymentSettingsState(t0, t1, t2, t3, t4, t5) { var _ = this; _._payment_settings$_controller = _._payment_settings$_focusNode = null; _._minimumUnderPaymentAmountController = t0; _._minimumPaymentAmountController = t1; _._payment_settings$_controllers = t2; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _PaymentSettingsState_didChangeDependencies_closure: function _PaymentSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _PaymentSettingsState_didChangeDependencies_closure0: function _PaymentSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _PaymentSettingsState__onChanged_closure: function _PaymentSettingsState__onChanged_closure(t0) { this.$this = t0; }, _PaymentSettingsState_build_closure: function _PaymentSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure17: function _PaymentSettingsState_build__closure17(t0) { this.value = t0; }, _PaymentSettingsState_build_closure2: function _PaymentSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure15: function _PaymentSettingsState_build__closure15(t0) { this.value = t0; }, _PaymentSettingsState_build_closure0: function _PaymentSettingsState_build_closure0(t0) { this.localization = t0; }, _PaymentSettingsState_build__closure16: function _PaymentSettingsState_build__closure16(t0) { this.localization = t0; }, _PaymentSettingsState_build_closure1: function _PaymentSettingsState_build_closure1() { }, _PaymentSettingsState_build_closure3: function _PaymentSettingsState_build_closure3(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure14: function _PaymentSettingsState_build__closure14(t0) { this.value = t0; }, _PaymentSettingsState_build_closure4: function _PaymentSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure13: function _PaymentSettingsState_build__closure13(t0) { this.value = t0; }, _PaymentSettingsState_build_closure5: function _PaymentSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure12: function _PaymentSettingsState_build__closure12(t0) { this.value = t0; }, _PaymentSettingsState_build_closure12: function _PaymentSettingsState_build_closure12(t0, t1) { this.viewModel = t0; this.context = t1; }, _PaymentSettingsState_build_closure6: function _PaymentSettingsState_build_closure6(t0, t1) { this.viewModel = t0; this.company = t1; }, _PaymentSettingsState_build__closure11: function _PaymentSettingsState_build__closure11(t0) { this.value = t0; }, _PaymentSettingsState_build_closure7: function _PaymentSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure10: function _PaymentSettingsState_build__closure10(t0) { this.value = t0; }, _PaymentSettingsState_build_closure8: function _PaymentSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure9: function _PaymentSettingsState_build__closure9(t0) { this.value = t0; }, _PaymentSettingsState_build_closure9: function _PaymentSettingsState_build_closure9(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure8: function _PaymentSettingsState_build__closure8(t0) { this.value = t0; }, _PaymentSettingsState_build_closure10: function _PaymentSettingsState_build_closure10(t0, t1) { this.viewModel = t0; this.company = t1; }, _PaymentSettingsState_build__closure7: function _PaymentSettingsState_build__closure7(t0) { this.value = t0; }, _PaymentSettingsState_build_closure11: function _PaymentSettingsState_build_closure11(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure6: function _PaymentSettingsState_build__closure6(t0) { this.value = t0; }, _PaymentSettingsState_build_closure13: function _PaymentSettingsState_build_closure13(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure5: function _PaymentSettingsState_build__closure5(t0) { this.paymentType = t0; }, _PaymentSettingsState_build_closure14: function _PaymentSettingsState_build_closure14(t0, t1) { this.state = t0; this.localization = t1; }, _PaymentSettingsState_build_closure15: function _PaymentSettingsState_build_closure15(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure4: function _PaymentSettingsState_build__closure4(t0) { this.numDays = t0; }, _PaymentSettingsState_build_closure16: function _PaymentSettingsState_build_closure16(t0, t1) { this.state = t0; this.localization = t1; }, _PaymentSettingsState_build_closure17: function _PaymentSettingsState_build_closure17(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure3: function _PaymentSettingsState_build__closure3(t0) { this.numDays = t0; }, _PaymentSettingsState_build_closure18: function _PaymentSettingsState_build_closure18(t0, t1) { this.viewModel = t0; this.context = t1; }, _PaymentSettingsState_build_closure19: function _PaymentSettingsState_build_closure19(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure2: function _PaymentSettingsState_build__closure2(t0) { this.value = t0; }, _PaymentSettingsState_build_closure20: function _PaymentSettingsState_build_closure20(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure1: function _PaymentSettingsState_build__closure1(t0) { this.value = t0; }, _PaymentSettingsState_build_closure21: function _PaymentSettingsState_build_closure21(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure0: function _PaymentSettingsState_build__closure0(t0) { this.value = t0; }, _PaymentSettingsState_build_closure22: function _PaymentSettingsState_build_closure22(t0, t1) { this.viewModel = t0; this.settings = t1; }, _PaymentSettingsState_build__closure: function _PaymentSettingsState_build__closure(t0) { this.value = t0; }, __PaymentSettingsState_State_SingleTickerProviderStateMixin: function __PaymentSettingsState_State_SingleTickerProviderStateMixin() { }, PaymentSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.PaymentSettingsVM(t1, t2.company, t2.get$settings(), new A.PaymentSettingsVM_fromStore_closure(store), new A.PaymentSettingsVM_fromStore_closure0(store), new A.PaymentSettingsVM_fromStore_closure1(store), new A.PaymentSettingsVM_fromStore_closure2(t1, store), new A.PaymentSettingsVM_fromStore_closure3(store)); }, PaymentsSettingsScreen: function PaymentsSettingsScreen(t0) { this.key = t0; }, PaymentsSettingsScreen_build_closure: function PaymentsSettingsScreen_build_closure() { }, PaymentSettingsVM: function PaymentSettingsVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.company = t1; _.settings = t2; _.onSavePressed = t3; _.onCompanyChanged = t4; _.onSettingsChanged = t5; _.onConfigurePaymentTermsPressed = t6; _.onConfigureGatewaysPressed = t7; }, PaymentSettingsVM_fromStore_closure0: function PaymentSettingsVM_fromStore_closure0(t0) { this.store = t0; }, PaymentSettingsVM_fromStore_closure1: function PaymentSettingsVM_fromStore_closure1(t0) { this.store = t0; }, PaymentSettingsVM_fromStore_closure: function PaymentSettingsVM_fromStore_closure(t0) { this.store = t0; }, PaymentSettingsVM_fromStore__closure: function PaymentSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, PaymentSettingsVM_fromStore_closure2: function PaymentSettingsVM_fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, PaymentSettingsVM_fromStore_closure3: function PaymentSettingsVM_fromStore_closure3(t0) { this.store = t0; }, ProductSettings: function ProductSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _ProductSettingsState: function _ProductSettingsState(t0, t1, t2, t3) { var _ = this; _._product_settings$_focusNode = null; _._product_settings$_debouncer = t0; _._stockThresholdController = t1; _._product_settings$_controllers = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _ProductSettingsState_didChangeDependencies_closure: function _ProductSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ProductSettingsState_didChangeDependencies_closure0: function _ProductSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _ProductSettingsState_dispose_closure: function _ProductSettingsState_dispose_closure(t0) { this.$this = t0; }, _ProductSettingsState__onChanged_closure: function _ProductSettingsState__onChanged_closure(t0) { this.$this = t0; }, _ProductSettingsState__onChanged_closure0: function _ProductSettingsState__onChanged_closure0(t0, t1) { this.$this = t0; this.company = t1; }, _ProductSettingsState_build_closure: function _ProductSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure9: function _ProductSettingsState_build__closure9(t0) { this.value = t0; }, _ProductSettingsState_build_closure0: function _ProductSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure8: function _ProductSettingsState_build__closure8(t0) { this.value = t0; }, _ProductSettingsState_build_closure1: function _ProductSettingsState_build_closure1(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure7: function _ProductSettingsState_build__closure7(t0) { this.value = t0; }, _ProductSettingsState_build_closure2: function _ProductSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure6: function _ProductSettingsState_build__closure6(t0) { this.value = t0; }, _ProductSettingsState_build_closure3: function _ProductSettingsState_build_closure3(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure5: function _ProductSettingsState_build__closure5(t0) { this.value = t0; }, _ProductSettingsState_build_closure4: function _ProductSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure4: function _ProductSettingsState_build__closure4(t0) { this.value = t0; }, _ProductSettingsState_build_closure5: function _ProductSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure3: function _ProductSettingsState_build__closure3(t0) { this.value = t0; }, _ProductSettingsState_build_closure6: function _ProductSettingsState_build_closure6(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure2: function _ProductSettingsState_build__closure2(t0) { this.value = t0; }, _ProductSettingsState_build_closure7: function _ProductSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure1: function _ProductSettingsState_build__closure1(t0) { this.value = t0; }, _ProductSettingsState_build_closure8: function _ProductSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure0: function _ProductSettingsState_build__closure0(t0) { this.value = t0; }, _ProductSettingsState_build_closure9: function _ProductSettingsState_build_closure9(t0, t1) { this.viewModel = t0; this.company = t1; }, _ProductSettingsState_build__closure: function _ProductSettingsState_build__closure(t0) { this.value = t0; }, ProductSettingsVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.ProductSettingsVM(t1, new A.ProductSettingsVM_fromStore_closure(store), t1.uiState.settingsUIState.company, new A.ProductSettingsVM_fromStore_closure0(store)); }, ProductSettingsScreen: function ProductSettingsScreen(t0) { this.key = t0; }, ProductSettingsScreen_build_closure: function ProductSettingsScreen_build_closure() { }, ProductSettingsVM: function ProductSettingsVM(t0, t1, t2, t3) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.onCompanyChanged = t3; }, ProductSettingsVM_fromStore_closure0: function ProductSettingsVM_fromStore_closure0(t0) { this.store = t0; }, ProductSettingsVM_fromStore_closure: function ProductSettingsVM_fromStore_closure(t0) { this.store = t0; }, ProductSettingsVM_fromStore__closure: function ProductSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, SettingsList: function SettingsList(t0, t1) { this.viewModel = t0; this.key = t1; }, _SettingsListState: function _SettingsListState(t0) { var _ = this; _._widget = _._settings_list$_scrollController = null; _._debugLifecycleState = t0; _._framework$_element = null; }, SettingsListTile: function SettingsListTile(t0, t1, t2) { this.section = t0; this.viewModel = t1; this.key = t2; }, _SettingsListTileState: function _SettingsListTileState(t0) { var _ = this; _._settings_list$_isHovered = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SettingsListTileState_build_closure0: function _SettingsListTileState_build_closure0(t0) { this.$this = t0; }, _SettingsListTileState_build__closure0: function _SettingsListTileState_build__closure0(t0) { this.$this = t0; }, _SettingsListTileState_build_closure1: function _SettingsListTileState_build_closure1(t0) { this.$this = t0; }, _SettingsListTileState_build__closure: function _SettingsListTileState_build__closure(t0) { this.$this = t0; }, _SettingsListTileState_build_closure: function _SettingsListTileState_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, SettingsSearch: function SettingsSearch(t0, t1, t2) { this.viewModel = t0; this.filter = t1; this.key = t2; }, SettingsSearch_build_closure: function SettingsSearch_build_closure() { }, SettingsSearch_build_closure0: function SettingsSearch_build_closure0() { }, SettingsSearch_build_closure1: function SettingsSearch_build_closure1(t0, t1, t2) { this.$this = t0; this.context = t1; this.parts = t2; }, SettingsSearch_build_closure2: function SettingsSearch_build_closure2(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.section = t2; _.i = t3; }, SettingsListVM_fromStore(store) { var settingsUIState, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); settingsUIState = t1.uiState.settingsUIState; return new A.SettingsListVM(t1, new A.SettingsListVM_fromStore_closure(store, t1), new A.SettingsListVM_fromStore_closure0(settingsUIState), new A.SettingsListVM_fromStore_closure1(settingsUIState), new A.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; }, SettingsScreen: function SettingsScreen(t0) { this.key = t0; }, SettingsScreen_build_closure: function SettingsScreen_build_closure(t0) { this.store = t0; }, SettingsScreenVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.SettingsScreenVM(t1); }, SettingsScreenBuilder: function SettingsScreenBuilder(t0) { this.key = t0; }, SettingsScreenBuilder_build_closure: function SettingsScreenBuilder_build_closure() { }, SettingsScreenVM: function SettingsScreenVM(t0) { this.state = t0; }, SettingsWizard: function SettingsWizard(t0, t1, t2) { this.user = t0; this.company = t1; this.key = t2; }, _SettingsWizardState: function _SettingsWizardState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._settings_wizard$_focusNode = t0; _._settings_wizard$_debouncer = t1; _._hasCheckedSubdomain = _._settings_wizard$_isCheckingSubdomain = _._settings_wizard$_isSubdomainUnique = _._showLogo = _._settings_wizard$_isSaving = false; _._settings_wizard$_languageId = _._settings_wizard$_currencyId = "1"; _._settings_wizard$_nameController = t2; _._settings_wizard$_firstNameController = t3; _._settings_wizard$_lastNameController = t4; _._settings_wizard$_subdomainController = t5; _._settings_wizard$_webClient = t6; _._settings_wizard$_controllers = t7; _._widget = null; _._debugLifecycleState = t8; _._framework$_element = null; }, _SettingsWizardState_dispose_closure: function _SettingsWizardState_dispose_closure() { }, _SettingsWizardState__validateSubdomain_closure: function _SettingsWizardState__validateSubdomain_closure(t0) { this.$this = t0; }, _SettingsWizardState__validateSubdomain__closure: function _SettingsWizardState__validateSubdomain__closure(t0) { this.$this = t0; }, _SettingsWizardState__validateSubdomain__closure0: function _SettingsWizardState__validateSubdomain__closure0(t0) { this.$this = t0; }, _SettingsWizardState__validateSubdomain__closure1: function _SettingsWizardState__validateSubdomain__closure1(t0) { this.$this = t0; }, _SettingsWizardState__validateSubdomain___closure0: function _SettingsWizardState__validateSubdomain___closure0(t0) { this.$this = t0; }, _SettingsWizardState__validateSubdomain__closure2: function _SettingsWizardState__validateSubdomain__closure2(t0) { this.$this = t0; }, _SettingsWizardState__validateSubdomain___closure: function _SettingsWizardState__validateSubdomain___closure(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed_closure: function _SettingsWizardState__onSavePressed_closure(t0, t1, t2) { this.$this = t0; this.store = t1; this.state = t2; }, _SettingsWizardState__onSavePressed__closure: function _SettingsWizardState__onSavePressed__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.localization = t1; _.store = t2; _.state = t3; }, _SettingsWizardState__onSavePressed___closure0: function _SettingsWizardState__onSavePressed___closure0(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed____closure0: function _SettingsWizardState__onSavePressed____closure0(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed___closure1: function _SettingsWizardState__onSavePressed___closure1(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed____closure: function _SettingsWizardState__onSavePressed____closure(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed___closure2: function _SettingsWizardState__onSavePressed___closure2(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed__closure0: function _SettingsWizardState__onSavePressed__closure0(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed___closure: function _SettingsWizardState__onSavePressed___closure(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed__closure1: function _SettingsWizardState__onSavePressed__closure1(t0) { this.$this = t0; }, _SettingsWizardState__onSavePressed__closure2: function _SettingsWizardState__onSavePressed__closure2(t0) { this.$this = t0; }, _SettingsWizardState_build_closure: function _SettingsWizardState_build_closure(t0) { this.localization = t0; }, _SettingsWizardState_build_closure0: function _SettingsWizardState_build_closure0(t0) { this.localization = t0; }, _SettingsWizardState_build_closure1: function _SettingsWizardState_build_closure1(t0) { this.localization = t0; }, _SettingsWizardState_build_closure2: function _SettingsWizardState_build_closure2(t0) { this.$this = t0; }, _SettingsWizardState_build__closure1: function _SettingsWizardState_build__closure1(t0, t1) { this.$this = t0; this.currency = t1; }, _SettingsWizardState_build_closure3: function _SettingsWizardState_build_closure3(t0) { this.localization = t0; }, _SettingsWizardState_build_closure4: function _SettingsWizardState_build_closure4(t0, t1, t2) { this.$this = t0; this.store = t1; this.context = t2; }, _SettingsWizardState_build__closure0: function _SettingsWizardState_build__closure0(t0, t1) { this.$this = t0; this.language = t1; }, _SettingsWizardState_build_closure5: function _SettingsWizardState_build_closure5(t0) { this.localization = t0; }, _SettingsWizardState_build_closure6: function _SettingsWizardState_build_closure6(t0, t1, t2) { this.localization = t0; this.state = t1; this.store = t2; }, _SettingsWizardState_build__closure: function _SettingsWizardState_build__closure(t0, t1) { this.store = t0; this.context = t1; }, _SettingsWizardState_build_closure8: function _SettingsWizardState_build_closure8(t0, t1) { this.$this = t0; this.localization = t1; }, _SettingsWizardState_build_closure7: function _SettingsWizardState_build_closure7(t0) { this.$this = t0; }, _SettingsWizardState_build_closure9: function _SettingsWizardState_build_closure9(t0) { this.context = t0; }, _SettingsWizardState_build_closure10: function _SettingsWizardState_build_closure10(t0, t1) { this.store = t0; this.context = t1; }, TaskSettings: function TaskSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskSettingsState: function _TaskSettingsState(t0, t1, t2) { var _ = this; _._task_settings$_focusNode = null; _._taskRateController = t0; _._taskRoundToNearestController = t1; _.___TaskSettingsState__controllers_A = $; _._showCustomTaskRounding = false; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _TaskSettingsState_didChangeDependencies_closure: function _TaskSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _TaskSettingsState_didChangeDependencies_closure0: function _TaskSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _TaskSettingsState_dispose_closure: function _TaskSettingsState_dispose_closure(t0) { this.$this = t0; }, _TaskSettingsState__onChanged_closure: function _TaskSettingsState__onChanged_closure(t0, t1, t2) { this.$this = t0; this.state = t1; this.seconds = t2; }, _TaskSettingsState_build_closure: function _TaskSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure17: function _TaskSettingsState_build__closure17(t0) { this.value = t0; }, _TaskSettingsState_build_closure0: function _TaskSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure16: function _TaskSettingsState_build__closure16(t0) { this.value = t0; }, _TaskSettingsState_build_closure1: function _TaskSettingsState_build_closure1(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaskSettingsState_build__closure15: function _TaskSettingsState_build__closure15(t0) { this.value = t0; }, _TaskSettingsState_build_closure2: function _TaskSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaskSettingsState_build__closure14: function _TaskSettingsState_build__closure14(t0) { this.value = t0; }, _TaskSettingsState_build_closure3: function _TaskSettingsState_build_closure3(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaskSettingsState_build__closure13: function _TaskSettingsState_build__closure13(t0) { this.value = t0; }, _TaskSettingsState_build_closure4: function _TaskSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaskSettingsState_build__closure12: function _TaskSettingsState_build__closure12(t0) { this.value = t0; }, _TaskSettingsState_build_closure6: function _TaskSettingsState_build_closure6(t0, t1, t2) { this.$this = t0; this.settings = t1; this.viewModel = t2; }, _TaskSettingsState_build__closure10: function _TaskSettingsState_build__closure10(t0) { this.value = t0; }, _TaskSettingsState_build__closure11: function _TaskSettingsState_build__closure11(t0, t1, t2) { this.$this = t0; this.updated = t1; this.settings = t2; }, _TaskSettingsState_build_closure5: function _TaskSettingsState_build_closure5(t0) { this.localization = t0; }, _TaskSettingsState_build_closure7: function _TaskSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.context = t1; }, _TaskSettingsState_build_closure8: function _TaskSettingsState_build_closure8(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure9: function _TaskSettingsState_build__closure9(t0) { this.value = t0; }, _TaskSettingsState_build_closure9: function _TaskSettingsState_build_closure9(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure8: function _TaskSettingsState_build__closure8(t0) { this.value = t0; }, _TaskSettingsState_build_closure10: function _TaskSettingsState_build_closure10(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure7: function _TaskSettingsState_build__closure7(t0) { this.value = t0; }, _TaskSettingsState_build_closure11: function _TaskSettingsState_build_closure11(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure6: function _TaskSettingsState_build__closure6(t0) { this.value = t0; }, _TaskSettingsState_build_closure12: function _TaskSettingsState_build_closure12(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure5: function _TaskSettingsState_build__closure5(t0) { this.value = t0; }, _TaskSettingsState_build_closure13: function _TaskSettingsState_build_closure13(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure4: function _TaskSettingsState_build__closure4(t0) { this.value = t0; }, _TaskSettingsState_build_closure14: function _TaskSettingsState_build_closure14(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure3: function _TaskSettingsState_build__closure3(t0) { this.value = t0; }, _TaskSettingsState_build_closure15: function _TaskSettingsState_build_closure15(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure2: function _TaskSettingsState_build__closure2(t0) { this.value = t0; }, _TaskSettingsState_build_closure16: function _TaskSettingsState_build_closure16(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaskSettingsState_build__closure1: function _TaskSettingsState_build__closure1(t0) { this.value = t0; }, _TaskSettingsState_build_closure17: function _TaskSettingsState_build_closure17(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaskSettingsState_build__closure0: function _TaskSettingsState_build__closure0(t0) { this.value = t0; }, _TaskSettingsState_build_closure18: function _TaskSettingsState_build_closure18(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaskSettingsState_build__closure: function _TaskSettingsState_build__closure(t0) { this.value = t0; }, _TaskSettingsState_build_closure19: function _TaskSettingsState_build_closure19(t0) { this.localization = t0; }, TaskSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.TaskSettingsVM(t1, new A.TaskSettingsVM_fromStore_closure(store), t2.company, t2.get$settings(), new A.TaskSettingsVM_fromStore_closure0(store), new A.TaskSettingsVM_fromStore_closure1(store), new A.TaskSettingsVM_fromStore_closure2(store)); }, TaskSettingsScreen: function TaskSettingsScreen(t0) { this.key = t0; }, TaskSettingsScreen_build_closure: function TaskSettingsScreen_build_closure() { }, TaskSettingsVM: function TaskSettingsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.onSavePressed = t1; _.company = t2; _.settings = t3; _.onCompanyChanged = t4; _.onSettingsChanged = t5; _.onConfigureStatusesPressed = t6; }, TaskSettingsVM_fromStore_closure0: function TaskSettingsVM_fromStore_closure0(t0) { this.store = t0; }, TaskSettingsVM_fromStore_closure1: function TaskSettingsVM_fromStore_closure1(t0) { this.store = t0; }, TaskSettingsVM_fromStore_closure: function TaskSettingsVM_fromStore_closure(t0) { this.store = t0; }, TaskSettingsVM_fromStore__closure: function TaskSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, TaskSettingsVM_fromStore_closure2: function TaskSettingsVM_fromStore_closure2(t0) { this.store = t0; }, TaxSettings: function TaxSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaxSettingsState: function _TaxSettingsState(t0, t1) { var _ = this; _._tax_settings$_focusNode = null; _._showDetails = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _TaxSettingsState_build_closure: function _TaxSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaxSettingsState_build__closure11: function _TaxSettingsState_build__closure11(t0) { this.value = t0; }, _TaxSettingsState_build_closure0: function _TaxSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaxSettingsState_build__closure10: function _TaxSettingsState_build__closure10(t0) { this.value = t0; }, _TaxSettingsState_build_closure1: function _TaxSettingsState_build_closure1(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaxSettingsState_build__closure9: function _TaxSettingsState_build__closure9(t0) { this.value = t0; }, _TaxSettingsState_build_closure2: function _TaxSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaxSettingsState_build__closure8: function _TaxSettingsState_build__closure8(t0) { this.value = t0; }, _TaxSettingsState_build_closure3: function _TaxSettingsState_build_closure3(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaxSettingsState_build__closure7: function _TaxSettingsState_build__closure7(t0) { this.taxRate = t0; }, _TaxSettingsState_build_closure4: function _TaxSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaxSettingsState_build__closure6: function _TaxSettingsState_build__closure6(t0) { this.taxRate = t0; }, _TaxSettingsState_build_closure5: function _TaxSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.settings = t1; }, _TaxSettingsState_build__closure5: function _TaxSettingsState_build__closure5(t0) { this.taxRate = t0; }, _TaxSettingsState_build_closure6: function _TaxSettingsState_build_closure6(t0, t1) { this.viewModel = t0; this.context = t1; }, _TaxSettingsState_build_closure7: function _TaxSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaxSettingsState_build__closure4: function _TaxSettingsState_build__closure4(t0) { this.value = t0; }, _TaxSettingsState_build_closure9: function _TaxSettingsState_build_closure9(t0, t1) { this.viewModel = t0; this.company = t1; }, _TaxSettingsState_build__closure3: function _TaxSettingsState_build__closure3(t0) { this.value = t0; }, _TaxSettingsState_build_closure8: function _TaxSettingsState_build_closure8(t0, t1) { this._box_0 = t0; this.countryMap = t1; }, _TaxSettingsState_build_closure10: function _TaxSettingsState_build_closure10(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.$this = t0; _.taxConfig = t1; _.countryMap = t2; _.viewModel = t3; _.company = t4; _.localization = t5; _.context = t6; }, _TaxSettingsState_build__closure0: function _TaxSettingsState_build__closure0(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.company = t1; _.region = t2; _.taxDataRegion = t3; }, _TaxSettingsState_build___closure2: function _TaxSettingsState_build___closure2(t0, t1, t2) { this.region = t0; this.taxDataRegion = t1; this.value = t2; }, _TaxSettingsState_build____closure1: function _TaxSettingsState_build____closure1(t0) { this.value = t0; }, _TaxSettingsState_build__closure: function _TaxSettingsState_build__closure(t0) { this.taxDataRegion = t0; }, _TaxSettingsState_build__closure1: function _TaxSettingsState_build__closure1(t0, t1) { this.$this = t0; this.region = t1; }, _TaxSettingsState_build___closure1: function _TaxSettingsState_build___closure1(t0, t1) { this.$this = t0; this.region = t1; }, _TaxSettingsState_build__closure2: function _TaxSettingsState_build__closure2(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.taxDataRegion = t0; _.region = t1; _.countryMap = t2; _.context = t3; _.viewModel = t4; _.company = t5; _.taxConfig = t6; _.localization = t7; }, _TaxSettingsState_build___closure: function _TaxSettingsState_build___closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.viewModel = t0; _.company = t1; _.taxConfig = t2; _.region = t3; _.taxDataRegion = t4; _.subregion = t5; _.taxDataSubregion = t6; }, _TaxSettingsState_build____closure0: function _TaxSettingsState_build____closure0(t0, t1, t2, t3, t4, t5) { var _ = this; _.taxConfig = t0; _.region = t1; _.taxDataRegion = t2; _.subregion = t3; _.taxDataSubregion = t4; _.value = t5; }, _TaxSettingsState_build_____closure: function _TaxSettingsState_build_____closure(t0, t1, t2, t3, t4) { var _ = this; _.region = t0; _.taxDataRegion = t1; _.subregion = t2; _.taxDataSubregion = t3; _.value = t4; }, _TaxSettingsState_build______closure: function _TaxSettingsState_build______closure(t0, t1, t2) { this.subregion = t0; this.taxDataSubregion = t1; this.value = t2; }, _TaxSettingsState_build_______closure: function _TaxSettingsState_build_______closure(t0) { this.value = t0; }, _TaxSettingsState_build___closure0: function _TaxSettingsState_build___closure0(t0, t1, t2, t3, t4) { var _ = this; _.context = t0; _.viewModel = t1; _.taxDataSubregion = t2; _.region = t3; _.subregion = t4; }, _TaxSettingsState_build____closure: function _TaxSettingsState_build____closure(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.taxDataSubregion = t1; _.region = t2; _.subregion = t3; }, 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; }, _EditSubregionDialog: function _EditSubregionDialog(t0, t1, t2, t3, t4) { var _ = this; _.subregionConfig = t0; _.viewModel = t1; _.region = t2; _.subregion = t3; _.key = t4; }, __EditSubregionDialogState: function __EditSubregionDialogState(t0) { var _ = this; _._tax_settings$_taxName = ""; _._tax_settings$_reducedTaxRate = _._tax_settings$_taxRate = 0; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __EditSubregionDialogState__onDone_closure: function __EditSubregionDialogState__onDone_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.taxConfig = t1; _.taxConfigRegion = t2; _.taxConfigSubregion = t3; }, __EditSubregionDialogState__onDone__closure: function __EditSubregionDialogState__onDone__closure(t0, t1, t2) { this.$this = t0; this.taxConfigRegion = t1; this.taxConfigSubregion = t2; }, __EditSubregionDialogState__onDone___closure: function __EditSubregionDialogState__onDone___closure(t0, t1) { this.$this = t0; this.taxConfigSubregion = t1; }, __EditSubregionDialogState__onDone____closure: function __EditSubregionDialogState__onDone____closure(t0) { this.$this = t0; }, __EditSubregionDialogState_build_closure: function __EditSubregionDialogState_build_closure(t0) { this.context = t0; }, __EditSubregionDialogState_build_closure0: function __EditSubregionDialogState_build_closure0(t0) { this.$this = t0; }, __EditSubregionDialogState_build_closure1: function __EditSubregionDialogState_build_closure1(t0) { this.$this = t0; }, __EditSubregionDialogState_build_closure2: function __EditSubregionDialogState_build_closure2(t0) { this.$this = t0; }, __EditSubregionDialogState_build_closure3: function __EditSubregionDialogState_build_closure3(t0) { this.$this = t0; }, __EditSubregionDialogState_build_closure4: function __EditSubregionDialogState_build_closure4(t0) { this.$this = t0; }, __EditSubregionDialogState_build_closure5: function __EditSubregionDialogState_build_closure5(t0) { this.$this = t0; }, TaxSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.TaxSettingsVM(t1, new A.TaxSettingsVM_fromStore_closure(store), t2.get$settings(), new A.TaxSettingsVM_fromStore_closure0(store), t2.company, new A.TaxSettingsVM_fromStore_closure1(store), new A.TaxSettingsVM_fromStore_closure2(store)); }, TaxSettingsScreen: function TaxSettingsScreen(t0) { this.key = t0; }, TaxSettingsScreen_build_closure: function TaxSettingsScreen_build_closure() { }, TaxSettingsVM: function TaxSettingsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.onSavePressed = t1; _.settings = t2; _.onSettingsChanged = t3; _.company = t4; _.onCompanyChanged = t5; _.onConfigureRatesPressed = t6; }, TaxSettingsVM_fromStore_closure0: function TaxSettingsVM_fromStore_closure0(t0) { this.store = t0; }, TaxSettingsVM_fromStore_closure1: function TaxSettingsVM_fromStore_closure1(t0) { this.store = t0; }, TaxSettingsVM_fromStore_closure: function TaxSettingsVM_fromStore_closure(t0) { this.store = t0; }, TaxSettingsVM_fromStore__closure: function TaxSettingsVM_fromStore__closure(t0, t1) { this.store = t0; this.context = t1; }, TaxSettingsVM_fromStore_closure2: function TaxSettingsVM_fromStore_closure2(t0) { this.store = t0; }, TemplatesAndReminders: function TemplatesAndReminders(t0, t1) { this.viewModel = t0; this.key = t1; }, _TemplatesAndRemindersState: function _TemplatesAndRemindersState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._templates_and_reminders$_debouncer = t0; _._templates_and_reminders$_selectedTemplate = null; _._templates_and_reminders$_selectedIndex = 0; _._bodyMarkdown = ""; _._lastBody = _._lastSubject = null; _._defaultBody = _._defaultSubject = _._emailPreview = _._bodyPreview = _._subjectPreview = ""; _._templates_and_reminders$_isLoading = false; _._templates_and_reminders$_controller = _._templates_and_reminders$_focusNode = null; _._updateReminders = false; _._subjectController = t1; _._templates_and_reminders$_bodyController = t2; _._templates_and_reminders$_controllers = t3; _.SingleTickerProviderStateMixin__ticker = t4; _.SingleTickerProviderStateMixin__tickerModeNotifier = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; }, _TemplatesAndRemindersState_initState_closure: function _TemplatesAndRemindersState_initState_closure(t0) { this.$this = t0; }, _TemplatesAndRemindersState_dispose_closure: function _TemplatesAndRemindersState_dispose_closure(t0) { this.$this = t0; }, _TemplatesAndRemindersState__loadTemplate_closure: function _TemplatesAndRemindersState__loadTemplate_closure(t0, t1, t2) { this.$this = t0; this.template = t1; this.state = t2; }, _TemplatesAndRemindersState__onTextChanged_closure: function _TemplatesAndRemindersState__onTextChanged_closure(t0) { this.$this = t0; }, _TemplatesAndRemindersState__onChanged_closure: function _TemplatesAndRemindersState__onChanged_closure(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure0: function _TemplatesAndRemindersState__onChanged_closure0(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure1: function _TemplatesAndRemindersState__onChanged_closure1(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure2: function _TemplatesAndRemindersState__onChanged_closure2(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure3: function _TemplatesAndRemindersState__onChanged_closure3(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure4: function _TemplatesAndRemindersState__onChanged_closure4(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure5: function _TemplatesAndRemindersState__onChanged_closure5(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure6: function _TemplatesAndRemindersState__onChanged_closure6(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure7: function _TemplatesAndRemindersState__onChanged_closure7(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure8: function _TemplatesAndRemindersState__onChanged_closure8(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure9: function _TemplatesAndRemindersState__onChanged_closure9(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure10: function _TemplatesAndRemindersState__onChanged_closure10(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure11: function _TemplatesAndRemindersState__onChanged_closure11(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure12: function _TemplatesAndRemindersState__onChanged_closure12(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure13: function _TemplatesAndRemindersState__onChanged_closure13(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onChanged_closure14: function _TemplatesAndRemindersState__onChanged_closure14(t0) { this._box_0 = t0; }, _TemplatesAndRemindersState__onTabChanged_closure: function _TemplatesAndRemindersState__onTabChanged_closure(t0) { this.$this = t0; }, _TemplatesAndRemindersState__renderTemplate_closure: function _TemplatesAndRemindersState__renderTemplate_closure(t0) { this.$this = t0; }, _TemplatesAndRemindersState__renderTemplate_closure0: function _TemplatesAndRemindersState__renderTemplate_closure0(t0) { this.$this = t0; }, _TemplatesAndRemindersState__renderTemplate__closure: function _TemplatesAndRemindersState__renderTemplate__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.subject = t1; _.body = t2; _.email = t3; }, _TemplatesAndRemindersState_build_closure11: function _TemplatesAndRemindersState_build_closure11(t0, t1) { this.$this = t0; this.viewModel = t1; }, _TemplatesAndRemindersState_build_closure1: function _TemplatesAndRemindersState_build_closure1(t0, t1) { this.$this = t0; this.viewModel = t1; }, _TemplatesAndRemindersState_build__closure5: function _TemplatesAndRemindersState_build__closure5(t0, t1, t2) { this.$this = t0; this.value = t1; this.viewModel = t2; }, _TemplatesAndRemindersState_build_closure: function _TemplatesAndRemindersState_build_closure(t0) { this.company = t0; }, _TemplatesAndRemindersState_build_closure0: function _TemplatesAndRemindersState_build_closure0(t0) { this.localization = t0; }, _TemplatesAndRemindersState_build_closure2: function _TemplatesAndRemindersState_build_closure2(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _TemplatesAndRemindersState_build__closure4: function _TemplatesAndRemindersState_build__closure4(t0, t1, t2, t3, t4) { var _ = this; _.enabled = t0; _.days = t1; _.schedule = t2; _.feeAmount = t3; _.feePercent = t4; }, _TemplatesAndRemindersState_build_closure3: function _TemplatesAndRemindersState_build_closure3(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _TemplatesAndRemindersState_build__closure3: function _TemplatesAndRemindersState_build__closure3(t0, t1, t2, t3, t4) { var _ = this; _.enabled = t0; _.days = t1; _.schedule = t2; _.feeAmount = t3; _.feePercent = t4; }, _TemplatesAndRemindersState_build_closure4: function _TemplatesAndRemindersState_build_closure4(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _TemplatesAndRemindersState_build__closure2: function _TemplatesAndRemindersState_build__closure2(t0, t1, t2, t3, t4) { var _ = this; _.enabled = t0; _.days = t1; _.schedule = t2; _.feeAmount = t3; _.feePercent = t4; }, _TemplatesAndRemindersState_build_closure5: function _TemplatesAndRemindersState_build_closure5(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _TemplatesAndRemindersState_build__closure1: function _TemplatesAndRemindersState_build__closure1(t0, t1, t2, t3, t4) { var _ = this; _.enabled = t0; _.days = t1; _.schedule = t2; _.feeAmount = t3; _.feePercent = t4; }, _TemplatesAndRemindersState_build_closure6: function _TemplatesAndRemindersState_build_closure6(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _TemplatesAndRemindersState_build__closure0: function _TemplatesAndRemindersState_build__closure0(t0) { this.value = t0; }, _TemplatesAndRemindersState_build_closure8: function _TemplatesAndRemindersState_build_closure8(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.settings = t2; }, _TemplatesAndRemindersState_build__closure: function _TemplatesAndRemindersState_build__closure(t0) { this.value = t0; }, _TemplatesAndRemindersState_build_closure7: function _TemplatesAndRemindersState_build_closure7(t0) { this.localization = t0; }, _TemplatesAndRemindersState_build_closure9: function _TemplatesAndRemindersState_build_closure9() { }, _TemplatesAndRemindersState_build_closure10: function _TemplatesAndRemindersState_build_closure10(t0) { this.$this = t0; }, ReminderSettings: function ReminderSettings(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.viewModel = t0; _.enabled = t1; _.numDays = t2; _.feeAmount = t3; _.feePercent = t4; _.schedule = t5; _.isQuote = t6; _.onChanged = t7; _.key = t8; }, _ReminderSettingsState: function _ReminderSettingsState(t0, t1, t2, t3, t4, t5) { var _ = this; _._daysController = t0; _._feeAmountController = t1; _._feePercentController = t2; _._schedule = _._templates_and_reminders$_enabled = null; _._templates_and_reminders$_controllers = t3; _._templates_and_reminders$_debouncer = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _ReminderSettingsState_dispose_closure: function _ReminderSettingsState_dispose_closure(t0) { this.$this = t0; }, _ReminderSettingsState_didChangeDependencies_closure: function _ReminderSettingsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ReminderSettingsState_didChangeDependencies_closure0: function _ReminderSettingsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _ReminderSettingsState__onTextChanged_closure: function _ReminderSettingsState__onTextChanged_closure(t0) { this.$this = t0; }, _ReminderSettingsState_build_closure: function _ReminderSettingsState_build_closure(t0) { this.$this = t0; }, _ReminderSettingsState_build_closure0: function _ReminderSettingsState_build_closure0(t0) { this.$this = t0; }, EmailPreview: function EmailPreview(t0, t1, t2, t3) { var _ = this; _.subject = t0; _.body = t1; _.isLoading = t2; _.key = t3; }, __TemplatesAndRemindersState_State_SingleTickerProviderStateMixin: function __TemplatesAndRemindersState_State_SingleTickerProviderStateMixin() { }, TemplatesAndRemindersVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.TemplatesAndRemindersVM(t1, t2.get$settings(), t2.selectedTemplate, new A.TemplatesAndRemindersVM_fromStore_closure(store), new A.TemplatesAndRemindersVM_fromStore_closure0(store), new A.TemplatesAndRemindersVM_fromStore_closure1(t1, store)); }, TemplatesAndRemindersScreen: function TemplatesAndRemindersScreen(t0) { this.key = t0; }, TemplatesAndRemindersScreen_build_closure: function TemplatesAndRemindersScreen_build_closure() { }, TemplatesAndRemindersVM: function TemplatesAndRemindersVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.settings = t1; _.selectedTemplate = t2; _.onTemplateChanged = t3; _.onSettingsChanged = t4; _.onSavePressed = t5; }, TemplatesAndRemindersVM_fromStore_closure0: function TemplatesAndRemindersVM_fromStore_closure0(t0) { this.store = t0; }, TemplatesAndRemindersVM_fromStore_closure: function TemplatesAndRemindersVM_fromStore_closure(t0) { this.store = t0; }, TemplatesAndRemindersVM_fromStore_closure1: function TemplatesAndRemindersVM_fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, TemplatesAndRemindersVM_fromStore__closure: function TemplatesAndRemindersVM_fromStore__closure(t0, t1, t2, t3) { var _ = this; _.updateReminders = t0; _.state = t1; _.store = t2; _.context = t3; }, TemplatesAndRemindersVM_fromStore___closure: function TemplatesAndRemindersVM_fromStore___closure(t0, t1, t2) { this.updateReminders = t0; this.state = t1; this.store = t2; }, TemplatesAndRemindersVM_fromStore____closure: function TemplatesAndRemindersVM_fromStore____closure(t0) { this.store = t0; }, TemplatesAndRemindersVM_fromStore_____closure: function TemplatesAndRemindersVM_fromStore_____closure(t0) { this.store = t0; }, TemplatesAndRemindersVM_fromStore____closure0: function TemplatesAndRemindersVM_fromStore____closure0(t0) { this.store = t0; }, TemplatesAndRemindersVM_fromStore___closure0: function TemplatesAndRemindersVM_fromStore___closure0(t0) { this.callback = t0; }, TemplatesAndRemindersVM_fromStore___closure1: function TemplatesAndRemindersVM_fromStore___closure1(t0) { this.callback = t0; }, TemplatesAndRemindersVM_fromStore___closure2: function TemplatesAndRemindersVM_fromStore___closure2(t0) { this.callback = t0; }, UserDetails: function UserDetails(t0, t1) { this.viewModel = t0; this.key = t1; }, _UserDetailsState: function _UserDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._user_details$_focusNode = t0; _._user_details$_controller = null; _._user_details$_firstNameController = t1; _._user_details$_lastNameController = t2; _._user_details$_phoneController = t3; _._user_details$_emailController = t4; _._passwordController = t5; _._user_details$_controllers = t6; _._user_details$_debouncer = t7; _.___UserDetailsState__microsoftClientId_A = $; _.SingleTickerProviderStateMixin__ticker = t8; _.SingleTickerProviderStateMixin__tickerModeNotifier = t9; _._widget = null; _._debugLifecycleState = t10; _._framework$_element = null; }, _UserDetailsState_dispose_closure: function _UserDetailsState_dispose_closure(t0) { this.$this = t0; }, _UserDetailsState_didChangeDependencies_closure: function _UserDetailsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _UserDetailsState_didChangeDependencies_closure0: function _UserDetailsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _UserDetailsState__onChanged_closure: function _UserDetailsState__onChanged_closure(t0) { this.$this = t0; }, _UserDetailsState__onChanged_closure0: function _UserDetailsState__onChanged_closure0(t0, t1) { this.$this = t0; this.user = t1; }, _UserDetailsState_build_closure: function _UserDetailsState_build_closure(t0, t1, t2, t3) { var _ = this; _.state = t0; _.localization = t1; _.viewModel = t2; _.context = t3; }, _UserDetailsState_build_closure0: function _UserDetailsState_build_closure0(t0, t1, t2, t3) { var _ = this; _.state = t0; _.localization = t1; _.viewModel = t2; _.context = t3; }, _UserDetailsState_build_closure1: function _UserDetailsState_build_closure1(t0, t1, t2, t3) { var _ = this; _.state = t0; _.localization = t1; _.viewModel = t2; _.context = t3; }, _UserDetailsState_build_closure2: function _UserDetailsState_build_closure2(t0, t1, t2, t3) { var _ = this; _.state = t0; _.localization = t1; _.viewModel = t2; _.context = t3; }, _UserDetailsState_build_closure3: function _UserDetailsState_build_closure3(t0, t1, t2, t3) { var _ = this; _.state = t0; _.localization = t1; _.viewModel = t2; _.context = t3; }, _UserDetailsState_build_closure4: function _UserDetailsState_build_closure4(t0) { this.localization = t0; }, _UserDetailsState_build_closure5: function _UserDetailsState_build_closure5(t0) { this.localization = t0; }, _UserDetailsState_build_closure6: function _UserDetailsState_build_closure6(t0) { this.localization = t0; }, _UserDetailsState_build_closure7: function _UserDetailsState_build_closure7(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.localization = t1; _.viewModel = t2; _.context = t3; _.user = t4; }, _UserDetailsState_build__closure8: function _UserDetailsState_build__closure8() { }, _UserDetailsState_build__closure9: function _UserDetailsState_build__closure9(t0) { this.viewModel = t0; }, _UserDetailsState_build__closure10: function _UserDetailsState_build__closure10(t0) { this.viewModel = t0; }, _UserDetailsState_build_closure8: function _UserDetailsState_build_closure8(t0, t1) { this.$this = t0; this.user = t1; }, _UserDetailsState_build__closure7: function _UserDetailsState_build__closure7(t0) { this.value = t0; }, _UserDetailsState_build_closure9: function _UserDetailsState_build_closure9(t0, t1) { this.viewModel = t0; this.user = t1; }, _UserDetailsState_build__closure6: function _UserDetailsState_build__closure6(t0) { this.language = t0; }, _UserDetailsState_build_closure11: function _UserDetailsState_build_closure11(t0, t1) { this.$this = t0; this.user = t1; }, _UserDetailsState_build__closure5: function _UserDetailsState_build__closure5(t0) { this.value = t0; }, _UserDetailsState_build_closure10: function _UserDetailsState_build_closure10() { }, _UserDetailsState_build_closure12: function _UserDetailsState_build_closure12(t0, t1) { this.$this = t0; this.user = t1; }, _UserDetailsState_build__closure4: function _UserDetailsState_build__closure4(t0) { this.value = t0; }, _UserDetailsState_build_closure13: function _UserDetailsState_build_closure13(t0, t1) { this.$this = t0; this.user = t1; }, _UserDetailsState_build__closure3: function _UserDetailsState_build__closure3(t0) { this.value = t0; }, _UserDetailsState_build_closure14: function _UserDetailsState_build_closure14(t0, t1) { this.$this = t0; this.user = t1; }, _UserDetailsState_build__closure0: function _UserDetailsState_build__closure0() { }, _UserDetailsState_build__closure1: function _UserDetailsState_build__closure1() { }, _UserDetailsState_build__closure2: function _UserDetailsState_build__closure2(t0) { this._box_0 = t0; }, _UserDetailsState_build_closure15: function _UserDetailsState_build_closure15(t0, t1) { this.viewModel = t0; this.user = t1; }, _UserDetailsState_build__closure: function _UserDetailsState_build__closure(t0, t1) { this.channel = t0; this.options = t1; }, _EnableTwoFactor: function _EnableTwoFactor(t0, t1) { this.state = t0; this.key = t1; }, _EnableTwoFactorState: function _EnableTwoFactorState(t0, t1, t2) { var _ = this; _._user_details$_secret = null; _.___EnableTwoFactorState__qrCode_A = $; _._oneTimePassword = null; _._user_details$_isLoading = true; _._user_details$_webClient = t0; _._user_details$_focusNode = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _EnableTwoFactorState_initState_closure: function _EnableTwoFactorState_initState_closure(t0) { this.$this = t0; }, _EnableTwoFactorState_initState__closure: function _EnableTwoFactorState_initState__closure(t0, t1) { this.$this = t0; this.response = t1; }, _EnableTwoFactorState_initState_closure0: function _EnableTwoFactorState_initState_closure0(t0) { this.$this = t0; }, _EnableTwoFactorState__onSavePressed_closure: function _EnableTwoFactorState__onSavePressed_closure(t0, t1) { this.$this = t0; this.isValid = t1; }, _EnableTwoFactorState__onSavePressed_closure0: function _EnableTwoFactorState__onSavePressed_closure0(t0) { this.$this = t0; }, _EnableTwoFactorState__onSavePressed_closure1: function _EnableTwoFactorState__onSavePressed_closure1(t0) { this.$this = t0; }, _EnableTwoFactorState__onSavePressed__closure0: function _EnableTwoFactorState__onSavePressed__closure0(t0) { this.$this = t0; }, _EnableTwoFactorState__onSavePressed_closure2: function _EnableTwoFactorState__onSavePressed_closure2(t0) { this.$this = t0; }, _EnableTwoFactorState__onSavePressed__closure: function _EnableTwoFactorState__onSavePressed__closure(t0) { this.$this = t0; }, _EnableTwoFactorState_build_closure: function _EnableTwoFactorState_build_closure(t0) { this.$this = t0; }, _EnableTwoFactorState_build_closure1: function _EnableTwoFactorState_build_closure1(t0) { this.context = t0; }, _EnableTwoFactorState_build_closure0: function _EnableTwoFactorState_build_closure0(t0) { this.$this = t0; }, _EnableTwoFactorState_build_closure2: function _EnableTwoFactorState_build_closure2() { }, _EnableTwoFactorState_build_closure3: function _EnableTwoFactorState_build_closure3(t0) { this.context = t0; }, _EnableTwoFactorState_build_closure4: function _EnableTwoFactorState_build_closure4(t0) { this.$this = t0; }, __UserDetailsState_State_SingleTickerProviderStateMixin: function __UserDetailsState_State_SingleTickerProviderStateMixin() { }, UserDetailsVM_fromStore(store) { var t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); return new A.UserDetailsVM(t1, t1.uiState.settingsUIState.user, new A.UserDetailsVM_fromStore_closure(store), new A.UserDetailsVM_fromStore_closure0(t1, store), new A.UserDetailsVM_fromStore_closure1(store), new A.UserDetailsVM_fromStore_closure2(t1, store), new A.UserDetailsVM_fromStore_closure3(store), new A.UserDetailsVM_fromStore_closure4(t1, store), new A.UserDetailsVM_fromStore_closure5(store, t1), new A.UserDetailsVM_fromStore_closure6(store, t1), new A.UserDetailsVM_fromStore_closure7(store), new A.UserDetailsVM_fromStore_closure8(t1, store)); }, UserDetailsScreen: function UserDetailsScreen(t0) { this.key = t0; }, UserDetailsScreen_build_closure: function UserDetailsScreen_build_closure() { }, UserDetailsVM: function UserDetailsVM(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.state = t0; _.user = t1; _.onChanged = t2; _.onSavePressed = t3; _.onConnectGooglePressed = t4; _.onDisconnectGooglePressed = t5; _.onConnectMicrosoftPressed = t6; _.onDisconnectMicrosoftPressed = t7; _.onDisconnectMicrosoftEmailPressed = t8; _.onDisconnectGmailPressed = t9; _.onDisableTwoFactorPressed = t10; _.onDisconnectApplePressed = t11; }, UserDetailsVM_fromStore_closure: function UserDetailsVM_fromStore_closure(t0) { this.store = t0; }, UserDetailsVM_fromStore_closure5: function UserDetailsVM_fromStore_closure5(t0, t1) { this.store = t0; this.state = t1; }, UserDetailsVM_fromStore__closure2: function UserDetailsVM_fromStore__closure2(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore___closure2: function UserDetailsVM_fromStore___closure2(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore_closure6: function UserDetailsVM_fromStore_closure6(t0, t1) { this.store = t0; this.state = t1; }, UserDetailsVM_fromStore__closure1: function UserDetailsVM_fromStore__closure1(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore___closure1: function UserDetailsVM_fromStore___closure1(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore_closure7: function UserDetailsVM_fromStore_closure7(t0) { this.store = t0; }, UserDetailsVM_fromStore__closure0: function UserDetailsVM_fromStore__closure0(t0, t1, t2) { this.context = t0; this.store = t1; this.completer = t2; }, UserDetailsVM_fromStore___closure0: function UserDetailsVM_fromStore___closure0(t0, t1) { this.store = t0; this.completer = t1; }, UserDetailsVM_fromStore_closure2: function UserDetailsVM_fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, UserDetailsVM_fromStore__closure5: function UserDetailsVM_fromStore__closure5(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore___closure6: function UserDetailsVM_fromStore___closure6(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore____closure: function UserDetailsVM_fromStore____closure() { }, UserDetailsVM_fromStore_closure1: function UserDetailsVM_fromStore_closure1(t0) { this.store = t0; }, UserDetailsVM_fromStore__closure6: function UserDetailsVM_fromStore__closure6(t0, t1, t2) { this.context = t0; this.store = t1; this.completer = t2; }, UserDetailsVM_fromStore___closure7: function UserDetailsVM_fromStore___closure7(t0, t1, t2, t3) { var _ = this; _.context = t0; _.store = t1; _.password = t2; _.completer = t3; }, UserDetailsVM_fromStore_closure4: function UserDetailsVM_fromStore_closure4(t0, t1) { this.state = t0; this.store = t1; }, UserDetailsVM_fromStore__closure3: function UserDetailsVM_fromStore__closure3(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore___closure3: function UserDetailsVM_fromStore___closure3(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore_closure8: function UserDetailsVM_fromStore_closure8(t0, t1) { this.state = t0; this.store = t1; }, UserDetailsVM_fromStore__closure: function UserDetailsVM_fromStore__closure(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore___closure: function UserDetailsVM_fromStore___closure(t0, t1, t2) { this.context = t0; this.store = t1; this.state = t2; }, UserDetailsVM_fromStore_closure3: function UserDetailsVM_fromStore_closure3(t0) { this.store = t0; }, UserDetailsVM_fromStore__closure4: function UserDetailsVM_fromStore__closure4(t0, t1) { this.store = t0; this.completer = t1; }, UserDetailsVM_fromStore___closure4: function UserDetailsVM_fromStore___closure4(t0, t1, t2) { this.store = t0; this.password = t1; this.completer = t2; }, UserDetailsVM_fromStore___closure5: function UserDetailsVM_fromStore___closure5() { }, UserDetailsVM_fromStore_closure0: function UserDetailsVM_fromStore_closure0(t0, t1) { this.state = t0; this.store = t1; }, UserDetailsVM_fromStore__closure7: function UserDetailsVM_fromStore__closure7(t0, t1, t2) { this.context = t0; this.state = t1; this.store = t2; }, UserDetailsVM_fromStore___closure8: function UserDetailsVM_fromStore___closure8(t0, t1, t2, t3, t4) { var _ = this; _.store = t0; _.origUserSettings = t1; _.localization = t2; _.origUser = t3; _.appBuilder = t4; }, UserDetailsVM_fromStore____closure1: function UserDetailsVM_fromStore____closure1() { }, UserDetailsVM_fromStore____closure2: function UserDetailsVM_fromStore____closure2(t0) { this.appBuilder = t0; }, UserDetailsVM_fromStore___closure9: function UserDetailsVM_fromStore___closure9(t0, t1, t2) { this.context = t0; this.store = t1; this.completer = t2; }, UserDetailsVM_fromStore____closure0: function UserDetailsVM_fromStore____closure0(t0, t1) { this.store = t0; this.completer = t1; }, WorkflowSettings: function WorkflowSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, _WorkflowSettingsState: function _WorkflowSettingsState(t0, t1, t2) { var _ = this; _._workflow_settings$_controller = _._workflow_settings$_focusNode = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _WorkflowSettingsState_build_closure: function _WorkflowSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.settings = t1; }, _WorkflowSettingsState_build__closure6: function _WorkflowSettingsState_build__closure6(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure0: function _WorkflowSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.company = t1; }, _WorkflowSettingsState_build__closure5: function _WorkflowSettingsState_build__closure5(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure1: function _WorkflowSettingsState_build_closure1(t0, t1) { this.viewModel = t0; this.settings = t1; }, _WorkflowSettingsState_build__closure4: function _WorkflowSettingsState_build__closure4(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure2: function _WorkflowSettingsState_build_closure2(t0, t1) { this.viewModel = t0; this.settings = t1; }, _WorkflowSettingsState_build__closure3: function _WorkflowSettingsState_build__closure3(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure4: function _WorkflowSettingsState_build_closure4(t0, t1) { this.viewModel = t0; this.settings = t1; }, _WorkflowSettingsState_build__closure2: function _WorkflowSettingsState_build__closure2(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure3: function _WorkflowSettingsState_build_closure3(t0) { this.localization = t0; }, _WorkflowSettingsState_build_closure5: function _WorkflowSettingsState_build_closure5(t0, t1) { this.viewModel = t0; this.settings = t1; }, _WorkflowSettingsState_build__closure1: function _WorkflowSettingsState_build__closure1(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure6: function _WorkflowSettingsState_build_closure6(t0, t1) { this.viewModel = t0; this.settings = t1; }, _WorkflowSettingsState_build__closure0: function _WorkflowSettingsState_build__closure0(t0) { this.value = t0; }, _WorkflowSettingsState_build_closure7: function _WorkflowSettingsState_build_closure7(t0, t1) { this.viewModel = t0; this.company = t1; }, _WorkflowSettingsState_build__closure: function _WorkflowSettingsState_build__closure(t0) { this.value = t0; }, __WorkflowSettingsState_State_SingleTickerProviderStateMixin: function __WorkflowSettingsState_State_SingleTickerProviderStateMixin() { }, WorkflowSettingsVM_fromStore(store) { var t2, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState.settingsUIState; return new A.WorkflowSettingsVM(t1, t2.company, new A.WorkflowSettingsVM_fromStore_closure(store), t2.get$settings(), new A.WorkflowSettingsVM_fromStore_closure0(store), new A.WorkflowSettingsVM_fromStore_closure1(store)); }, WorkflowSettingsScreen: function WorkflowSettingsScreen(t0) { this.key = t0; }, WorkflowSettingsScreen_build_closure: function WorkflowSettingsScreen_build_closure() { }, WorkflowSettingsVM: function WorkflowSettingsVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.company = t1; _.onSavePressed = t2; _.settings = t3; _.onSettingsChanged = t4; _.onCompanyChanged = t5; }, WorkflowSettingsVM_fromStore_closure0: function WorkflowSettingsVM_fromStore_closure0(t0) { this.store = t0; }, WorkflowSettingsVM_fromStore_closure1: function WorkflowSettingsVM_fromStore_closure1(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; }, 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, t12) { 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; _.SingleTickerProviderStateMixin__tickerModeNotifier = t11; _._widget = null; _._debugLifecycleState = t12; _._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_closure35: function _SubscriptionEditState_build_closure35(t0) { this.viewModel = t0; }, _SubscriptionEditState_build_closure: function _SubscriptionEditState_build_closure(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure31: function _SubscriptionEditState_build__closure31(t0) { this.groupId = t0; }, _SubscriptionEditState_build_closure0: function _SubscriptionEditState_build_closure0(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure30: function _SubscriptionEditState_build__closure30(t0) { this.userId = t0; }, _SubscriptionEditState_build_closure1: function _SubscriptionEditState_build_closure1(t0, t1, t2) { this.subscription = t0; this.viewModel = t1; this.context = t2; }, _SubscriptionEditState_build__closure28: function _SubscriptionEditState_build__closure28(t0, t1) { this.parts = t0; this.value = t1; }, _SubscriptionEditState_build___closure7: function _SubscriptionEditState_build___closure7() { }, _SubscriptionEditState_build__closure29: function _SubscriptionEditState_build__closure29(t0) { this.context = t0; }, _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__closure27: function _SubscriptionEditState_build__closure27(t0, t1, t2) { this.subscription = t0; this.productId = t1; this.viewModel = t2; }, _SubscriptionEditState_build___closure6: function _SubscriptionEditState_build___closure6(t0) { this.parts = t0; }, _SubscriptionEditState_build_closure4: function _SubscriptionEditState_build_closure4(t0, t1, t2) { this.subscription = t0; this.viewModel = t1; this.context = t2; }, _SubscriptionEditState_build__closure25: function _SubscriptionEditState_build__closure25(t0, t1) { this.parts = t0; this.value = t1; }, _SubscriptionEditState_build___closure5: function _SubscriptionEditState_build___closure5() { }, _SubscriptionEditState_build__closure26: function _SubscriptionEditState_build__closure26(t0) { this.context = t0; }, _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__closure24: function _SubscriptionEditState_build__closure24(t0, t1, t2) { this.subscription = t0; this.productId = t1; this.viewModel = t2; }, _SubscriptionEditState_build___closure4: function _SubscriptionEditState_build___closure4(t0) { this.parts = t0; }, _SubscriptionEditState_build_closure7: function _SubscriptionEditState_build_closure7(t0, t1, t2) { this.subscription = t0; this.viewModel = t1; this.context = t2; }, _SubscriptionEditState_build__closure22: function _SubscriptionEditState_build__closure22(t0, t1) { this.parts = t0; this.value = t1; }, _SubscriptionEditState_build___closure3: function _SubscriptionEditState_build___closure3() { }, _SubscriptionEditState_build__closure23: function _SubscriptionEditState_build__closure23(t0) { this.context = t0; }, _SubscriptionEditState_build_closure8: function _SubscriptionEditState_build_closure8() { }, _SubscriptionEditState_build_closure9: function _SubscriptionEditState_build_closure9(t0, t1, t2) { this.state = t0; this.subscription = t1; this.viewModel = t2; }, _SubscriptionEditState_build__closure21: function _SubscriptionEditState_build__closure21(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_closure10: function _SubscriptionEditState_build_closure10(t0, t1, t2) { this.subscription = t0; this.viewModel = t1; this.context = t2; }, _SubscriptionEditState_build__closure19: function _SubscriptionEditState_build__closure19(t0, t1) { this.parts = t0; this.value = t1; }, _SubscriptionEditState_build___closure1: function _SubscriptionEditState_build___closure1() { }, _SubscriptionEditState_build__closure20: function _SubscriptionEditState_build__closure20(t0) { this.context = t0; }, _SubscriptionEditState_build_closure11: function _SubscriptionEditState_build_closure11() { }, _SubscriptionEditState_build_closure12: function _SubscriptionEditState_build_closure12(t0, t1, t2) { this.state = t0; this.subscription = t1; this.viewModel = t2; }, _SubscriptionEditState_build__closure18: function _SubscriptionEditState_build__closure18(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_closure14: function _SubscriptionEditState_build_closure14(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure17: function _SubscriptionEditState_build__closure17(t0) { this.value = t0; }, _SubscriptionEditState_build_closure13: function _SubscriptionEditState_build_closure13(t0) { this.localization = t0; }, _SubscriptionEditState_build_closure16: function _SubscriptionEditState_build_closure16(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure16: function _SubscriptionEditState_build__closure16(t0) { this.value = t0; }, _SubscriptionEditState_build_closure15: function _SubscriptionEditState_build_closure15() { }, _SubscriptionEditState_build_closure18: function _SubscriptionEditState_build_closure18(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure15: function _SubscriptionEditState_build__closure15(t0) { this.value = t0; }, _SubscriptionEditState_build_closure19: function _SubscriptionEditState_build_closure19(t0) { this.localization = t0; }, _SubscriptionEditState_build__closure14: function _SubscriptionEditState_build__closure14(t0) { this.localization = t0; }, _SubscriptionEditState_build_closure17: function _SubscriptionEditState_build_closure17() { }, _SubscriptionEditState_build_closure20: function _SubscriptionEditState_build_closure20(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure13: function _SubscriptionEditState_build__closure13(t0) { this.value = t0; }, _SubscriptionEditState_build_closure21: function _SubscriptionEditState_build_closure21(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure12: function _SubscriptionEditState_build__closure12(t0) { this.value = t0; }, _SubscriptionEditState_build_closure22: function _SubscriptionEditState_build_closure22(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure11: function _SubscriptionEditState_build__closure11(t0) { this.value = t0; }, _SubscriptionEditState_build_closure23: function _SubscriptionEditState_build_closure23(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure10: function _SubscriptionEditState_build__closure10(t0) { this.value = t0; }, _SubscriptionEditState_build_closure24: function _SubscriptionEditState_build_closure24(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure9: function _SubscriptionEditState_build__closure9(t0) { this.value = t0; }, _SubscriptionEditState_build_closure25: function _SubscriptionEditState_build_closure25(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure8: function _SubscriptionEditState_build__closure8(t0) { this.value = t0; }, _SubscriptionEditState_build_closure26: function _SubscriptionEditState_build_closure26(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure7: function _SubscriptionEditState_build__closure7(t0) { this.value = t0; }, _SubscriptionEditState_build_closure27: function _SubscriptionEditState_build_closure27(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure6: function _SubscriptionEditState_build__closure6(t0) { this.value = t0; }, _SubscriptionEditState_build_closure28: function _SubscriptionEditState_build_closure28(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure5: function _SubscriptionEditState_build__closure5(t0) { this.value = t0; }, _SubscriptionEditState_build_closure29: function _SubscriptionEditState_build_closure29(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure4: function _SubscriptionEditState_build__closure4(t0) { this.value = t0; }, _SubscriptionEditState_build_closure30: function _SubscriptionEditState_build_closure30(t0, t1) { this.viewModel = t0; this.subscription = t1; }, _SubscriptionEditState_build__closure3: function _SubscriptionEditState_build__closure3(t0) { this.value = t0; }, _SubscriptionEditState_build_closure31: function _SubscriptionEditState_build_closure31(t0) { this.$this = t0; }, _SubscriptionEditState_build__closure2: function _SubscriptionEditState_build__closure2() { }, _SubscriptionEditState_build_closure32: function _SubscriptionEditState_build_closure32(t0) { this.$this = t0; }, _SubscriptionEditState_build__closure1: function _SubscriptionEditState_build__closure1() { }, _SubscriptionEditState_build_closure33: function _SubscriptionEditState_build_closure33(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_closure34: function _SubscriptionEditState_build_closure34(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() { }, SubscriptionEditVM_SubscriptionEditVM$fromStore(store) { var t2, subscription, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; subscription = t2.subscriptionUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].subscriptionState.map._map$_map.$index(0, subscription.id); return new A.SubscriptionEditVM(subscription, new A.SubscriptionEditVM_SubscriptionEditVM$fromStore_closure(store), new A.SubscriptionEditVM_SubscriptionEditVM$fromStore_closure0(t1, store), new A.SubscriptionEditVM_SubscriptionEditVM$fromStore_closure1(t1, store), t1); }, 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) { var _ = this; _.subscription = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, 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.state = t0; this.store = 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; }, 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) { this.$this = t0; }, SubscriptionListItem_build_closure0: function SubscriptionListItem_build_closure0(t0) { this.$this = t0; }, SubscriptionListItem_build_closure: function SubscriptionListItem_build_closure(t0) { this.$this = t0; }, SubscriptionListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredSubscriptionList(); t3 = t1.getUISelection$1(B.EntityType_paymentLink); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].subscriptionState; t5 = t5.subscriptionUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.subscriptionState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_paymentLink); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.SubscriptionListVM(t1, t7, t4.map, t5.filter, new A.SubscriptionListVM_fromStore_closure(new A.SubscriptionListVM_fromStore__handleRefresh(store)), t2, new A.SubscriptionListVM_fromStore_closure0(store), new A.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; }, SubscriptionPresenter: function SubscriptionPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, SubscriptionScreen: function SubscriptionScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, SubscriptionScreen_build_closure10: function SubscriptionScreen_build_closure10(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_closure9: function SubscriptionScreen_build_closure9(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; }, SubscriptionScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredSubscriptionList(); t3 = t1.getUISelection$1(B.EntityType_paymentLink); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].subscriptionState; return new A.SubscriptionScreenVM(t2.call$4(t3, t4.map, t4.list, t1.subscriptionUIState.listUIState)); }, SubscriptionScreenBuilder: function SubscriptionScreenBuilder(t0) { this.key = t0; }, SubscriptionScreenBuilder_build_closure: function SubscriptionScreenBuilder_build_closure() { }, SubscriptionScreenVM: function SubscriptionScreenVM(t0) { this.subscriptionList = t0; }, SubscriptionView: function SubscriptionView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _SubscriptionViewState: function _SubscriptionViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _SubscriptionViewState_build_closure1: function _SubscriptionViewState_build_closure1(t0) { this.viewModel = t0; }, _SubscriptionViewState_build_closure0: function _SubscriptionViewState_build_closure0(t0, t1) { this.subscription = t0; this.localization = t1; }, _SubscriptionViewState_build_closure: function _SubscriptionViewState_build_closure(t0) { this.subscription = t0; }, SubscriptionViewVM_SubscriptionViewVM$fromStore(store) { var t2, t3, t4, subscription, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.subscriptionUIState.selectedId; subscription = t2._list$_list[t3.selectedCompanyIndex].subscriptionState.map._map$_map.$index(0, t4); if (subscription == null) subscription = A.SubscriptionEntity_SubscriptionEntity(t4, null); subscription.get$isNew(); return new A.SubscriptionViewVM(t1, subscription, new A.SubscriptionViewVM_SubscriptionViewVM$fromStore_closure(store)); }, SubscriptionViewScreen: function SubscriptionViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, SubscriptionViewScreen_build_closure0: function SubscriptionViewScreen_build_closure0() { }, SubscriptionViewScreen_build_closure: function SubscriptionViewScreen_build_closure(t0) { this.$this = t0; }, SubscriptionViewVM: function SubscriptionViewVM(t0, t1, t2) { this.state = t0; this.subscription = t1; this.onBackPressed = t2; }, SubscriptionViewVM_SubscriptionViewVM$fromStore_closure: function SubscriptionViewVM_SubscriptionViewVM$fromStore_closure(t0) { this.store = t0; }, UpdateDialog: function UpdateDialog(t0) { this.key = t0; }, UpdateState: function UpdateState(t0, t1) { this.index = t0; this._core$_name = t1; }, _UpdateDialogState: function _UpdateDialogState(t0, t1) { var _ = this; _.updateState = t0; _._widget = _.phpVersion = _.updateResponse = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _UpdateDialogState_initState_closure: function _UpdateDialogState_initState_closure(t0) { this.$this = t0; }, _UpdateDialogState_initState__closure: function _UpdateDialogState_initState__closure(t0, t1) { this.$this = t0; this.data = t1; }, _UpdateDialogState_build_closure: function _UpdateDialogState_build_closure(t0) { this.localization = t0; }, _UpdateDialogState_build_closure0: function _UpdateDialogState_build_closure0(t0) { this.context = t0; }, _UpdateDialogState_build_closure1: function _UpdateDialogState_build_closure1() { }, _UpdateDialogState_build_closure2: function _UpdateDialogState_build_closure2(t0) { this.account = t0; }, _UpdateDialogState_build_closure3: function _UpdateDialogState_build_closure3(t0, t1) { this.$this = t0; this.context = t1; }, _UpdateDialogState_build_closure4: function _UpdateDialogState_build_closure4(t0, t1) { this.context = t0; this.store = t1; }, _UpdateDialogState_updateApp_closure: function _UpdateDialogState_updateApp_closure(t0, t1) { this.$this = t0; this.state = t1; }, _UpdateDialogState_updateApp__closure: function _UpdateDialogState_updateApp__closure(t0) { this.$this = t0; }, _UpdateDialogState_updateApp__closure0: function _UpdateDialogState_updateApp__closure0(t0) { this.$this = t0; }, _UpdateDialogState_updateApp___closure0: function _UpdateDialogState_updateApp___closure0(t0, t1) { this.$this = t0; this.response = t1; }, _UpdateDialogState_updateApp__closure1: function _UpdateDialogState_updateApp__closure1(t0) { this.$this = t0; }, _UpdateDialogState_updateApp___closure: function _UpdateDialogState_updateApp___closure(t0) { this.$this = t0; }, TaskEdit: function TaskEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskEditState: function _TaskEditState(t0, t1, t2) { var _ = this; _._task_edit$_controller = null; _._task_edit$_updatedAt = 0; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _TaskEditState_build_closure1: function _TaskEditState_build_closure1(t0) { this.viewModel = t0; }, _TaskEditState_build_closure2: function _TaskEditState_build_closure2(t0) { this.$this = t0; }, _TaskEditState_build_closure0: function _TaskEditState_build_closure0(t0) { this.$this = t0; }, _TaskEditState_build_closure: function _TaskEditState_build_closure(t0, t1) { this.$this = t0; this.viewModel = t1; }, _TaskEditState_build__closure: function _TaskEditState_build__closure(t0) { this.$this = t0; }, _BottomBar: function _BottomBar(t0, t1) { this.task = t0; this.key = t1; }, _BottomBar_build_closure: function _BottomBar_build_closure(t0) { this.store = t0; }, _BottomBar_build_closure0: function _BottomBar_build_closure0(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.context = t1; _.useSidebarEditor = t2; _.localization = t3; _.state = t4; }, __TaskEditState_State_SingleTickerProviderStateMixin: function __TaskEditState_State_SingleTickerProviderStateMixin() { }, 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__closure10: function _TaskEditDesktopState_build__closure10(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.store = t0; this.viewModel = t1; this.task = t2; }, _TaskEditDesktopState_build__closure9: function _TaskEditDesktopState_build__closure9(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__closure8: function _TaskEditDesktopState_build__closure8(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__closure7: function _TaskEditDesktopState_build__closure7(t0) { this.taskStatus = t0; }, _TaskEditDesktopState_build_closure7: function _TaskEditDesktopState_build_closure7(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.$this = t0; _.taskTimes = t1; _.settings = t2; _.localization = t3; _.showEndDate = t4; _.viewModel = t5; _.overlapping = t6; _.context = t7; }, _TaskEditDesktopState_build__closure: function _TaskEditDesktopState_build__closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.taskTimes = t1; _.index = t2; _.showEndDate = t3; _.viewModel = t4; }, _TaskEditDesktopState_build___closure6: function _TaskEditDesktopState_build___closure6(t0) { this.$this = t0; }, _TaskEditDesktopState_build__closure0: function _TaskEditDesktopState_build__closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.taskTimes = t1; _.index = t2; _.viewModel = t3; }, _TaskEditDesktopState_build___closure5: function _TaskEditDesktopState_build___closure5(t0) { this.$this = t0; }, _TaskEditDesktopState_build__closure1: function _TaskEditDesktopState_build__closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.taskTimes = t1; _.index = t2; _.viewModel = t3; }, _TaskEditDesktopState_build___closure4: function _TaskEditDesktopState_build___closure4(t0) { this.$this = t0; }, _TaskEditDesktopState_build__closure2: function _TaskEditDesktopState_build__closure2(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__closure3: function _TaskEditDesktopState_build__closure3(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__closure4: function _TaskEditDesktopState_build__closure4(t0, t1, t2) { this.viewModel = t0; this.taskTime = t1; this.index = t2; }, _TaskEditDesktopState_build___closure1: function _TaskEditDesktopState_build___closure1(t0) { this.value = t0; }, _TaskEditDesktopState_build__closure5: function _TaskEditDesktopState_build__closure5(t0, t1, t2) { this.viewModel = t0; this.taskTime = t1; this.index = t2; }, _TaskEditDesktopState_build___closure0: function _TaskEditDesktopState_build___closure0(t0) { this.taskTime = t0; }, _TaskEditDesktopState_build__closure6: function _TaskEditDesktopState_build__closure6(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.context = t1; _.viewModel = t2; _.index = t3; }, _TaskEditDesktopState_build___closure: function _TaskEditDesktopState_build___closure(t0, t1, t2) { this.$this = t0; this.viewModel = t1; this.index = t2; }, _TaskEditDesktopState_build____closure: function _TaskEditDesktopState_build____closure(t0) { this.$this = t0; }, TaskEditDetails: function TaskEditDetails(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskEditDetailsState: function _TaskEditDetailsState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._task_edit_details$_numberController = t0; _._task_edit_details$_rateController = t1; _._task_edit_details$_descriptionController = t2; _._task_edit_details$_custom1Controller = t3; _._task_edit_details$_custom2Controller = t4; _._task_edit_details$_custom3Controller = t5; _._task_edit_details$_custom4Controller = t6; _._task_edit_details$_debouncer = t7; _._task_edit_details$_controllers = t8; _._widget = null; _._debugLifecycleState = t9; _._framework$_element = null; }, _TaskEditDetailsState_didChangeDependencies_closure: function _TaskEditDetailsState_didChangeDependencies_closure(t0) { this.$this = t0; }, _TaskEditDetailsState_didChangeDependencies_closure0: function _TaskEditDetailsState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _TaskEditDetailsState_dispose_closure: function _TaskEditDetailsState_dispose_closure(t0) { this.$this = t0; }, _TaskEditDetailsState__onChanged_closure: function _TaskEditDetailsState__onChanged_closure(t0) { this.$this = t0; }, _TaskEditDetailsState__onChanged_closure0: function _TaskEditDetailsState__onChanged_closure0(t0, t1) { this.$this = t0; this.task = t1; }, _TaskEditDetailsState_build_closure0: function _TaskEditDetailsState_build_closure0(t0, t1) { this.viewModel = t0; this.task = t1; }, _TaskEditDetailsState_build__closure2: function _TaskEditDetailsState_build__closure2(t0) { this.client = t0; }, _TaskEditDetailsState_build_closure: function _TaskEditDetailsState_build_closure(t0, t1) { this.viewModel = t0; this.context = t1; }, _TaskEditDetailsState_build_closure1: function _TaskEditDetailsState_build_closure1(t0, t1, t2) { this.store = t0; this.viewModel = t1; this.task = t2; }, _TaskEditDetailsState_build__closure1: function _TaskEditDetailsState_build__closure1(t0, t1) { this.project = t0; this.task = t1; }, _TaskEditDetailsState_build_closure2: function _TaskEditDetailsState_build_closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, _TaskEditDetailsState_build_closure3: function _TaskEditDetailsState_build_closure3(t0, t1) { this.viewModel = t0; this.task = t1; }, _TaskEditDetailsState_build__closure0: function _TaskEditDetailsState_build__closure0(t0) { this.userId = t0; }, _TaskEditDetailsState_build_closure4: function _TaskEditDetailsState_build_closure4(t0, t1, t2) { this.state = t0; this.viewModel = t1; this.task = t2; }, _TaskEditDetailsState_build__closure: function _TaskEditDetailsState_build__closure(t0) { this.taskStatus = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore(store) { var t2, task, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; task = t2.taskUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].taskState.map._map$_map.$index(0, task.id); return new A.TaskEditDetailsVM(task, new A.TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure(store), t1, new A.TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure0(store), new A.TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure1(task, store), new A.TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure2(task, store), new A.TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure3(store)); }, TaskEditDetailsScreen: function TaskEditDetailsScreen(t0) { this.key = t0; }, TaskEditDetailsScreen_build_closure0: function TaskEditDetailsScreen_build_closure0() { }, TaskEditDetailsScreen_build_closure: function TaskEditDetailsScreen_build_closure() { }, TaskEditDetailsVM: function TaskEditDetailsVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.task = t0; _.onChanged = t1; _.state = t2; _.onAddClientPressed = t3; _.onAddProjectPressed = t4; _.onUpdatedTaskTime = t5; _.onRemoveTaskTime = t6; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure(t0) { this.store = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure0: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure0(t0) { this.store = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure2: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure2(t0) { this.store = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure3: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure3(t0) { this.store = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure2: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure2(t0, t1) { this.task = t0; this.store = t1; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure3: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure3(t0) { this.store = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure1: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore_closure1(t0, t1) { this.task = t0; this.store = t1; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure(t0) { this.task = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure0: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure0(t0) { this.store = t0; }, TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure1: function TaskEditDetailsVM_TaskEditDetailsVM$fromStore__closure1(t0) { this.store = t0; }, TaskEditTimes: function TaskEditTimes(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskEditTimesState: function _TaskEditTimesState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _TaskEditTimesState__showTaskTimeEditor_closure: function _TaskEditTimesState__showTaskTimeEditor_closure(t0) { this.taskTime = t0; }, _TaskEditTimesState__showTaskTimeEditor_closure0: function _TaskEditTimesState__showTaskTimeEditor_closure0(t0, t1, t2) { this.viewModel = t0; this.taskTime = t1; this.taskTimes = t2; }, _TaskEditTimesState__showTaskTimeEditor__closure: function _TaskEditTimesState__showTaskTimeEditor__closure(t0) { this.taskTime = t0; }, _TaskEditTimesState_build_closure: function _TaskEditTimesState_build_closure(t0, t1, t2) { this.$this = t0; this.taskTime = t1; this.context = t2; }, _TaskEditTimesState_build_closure0: function _TaskEditTimesState_build_closure0(t0, t1) { this.$this = t0; this.taskTime = t1; }, TimeEditDetails: function TimeEditDetails(t0, t1, t2, t3) { var _ = this; _.index = t0; _.taskTime = t1; _.viewModel = t2; _.key = t3; }, TimeEditDetailsState: function TimeEditDetailsState(t0, t1) { var _ = this; _._taskTime = t0; _._durationUpdateAt = _._endTimeUpdatedAt = _._endDateUpdatedAt = _._startTimeUpdatedAt = _._startDateUpdatedAt = 0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, TimeEditDetailsState_build_closure: function TimeEditDetailsState_build_closure(t0, t1, t2) { this.$this = t0; this.showEndDate = t1; this.viewModel = t2; }, TimeEditDetailsState_build__closure6: function TimeEditDetailsState_build__closure6(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.date = t1; _.showEndDate = t2; _.viewModel = t3; }, TimeEditDetailsState_build_closure0: function TimeEditDetailsState_build_closure0(t0, t1) { this.$this = t0; this.viewModel = t1; }, TimeEditDetailsState_build__closure5: function TimeEditDetailsState_build__closure5(t0, t1, t2) { this.$this = t0; this.timeOfDay = t1; this.viewModel = t2; }, TimeEditDetailsState_build_closure1: function TimeEditDetailsState_build_closure1(t0, t1) { this.$this = t0; this.viewModel = t1; }, TimeEditDetailsState_build__closure4: function TimeEditDetailsState_build__closure4(t0, t1, t2) { this.$this = t0; this.date = t1; this.viewModel = t2; }, TimeEditDetailsState_build_closure2: function TimeEditDetailsState_build_closure2(t0, t1) { this.$this = t0; this.viewModel = t1; }, TimeEditDetailsState_build__closure3: function TimeEditDetailsState_build__closure3(t0, t1, t2) { this.$this = t0; this.timeOfDay = t1; this.viewModel = t2; }, TimeEditDetailsState_build_closure3: function TimeEditDetailsState_build_closure3(t0, t1) { this.$this = t0; this.viewModel = t1; }, TimeEditDetailsState_build__closure2: function TimeEditDetailsState_build__closure2(t0, t1, t2) { this.$this = t0; this.duration = t1; this.viewModel = t2; }, TimeEditDetailsState_build_closure4: function TimeEditDetailsState_build_closure4(t0, t1) { this.$this = t0; this.viewModel = t1; }, TimeEditDetailsState_build__closure1: function TimeEditDetailsState_build__closure1(t0) { this.value = t0; }, TimeEditDetailsState_build_closure5: function TimeEditDetailsState_build_closure5(t0, t1) { this.$this = t0; this.viewModel = t1; }, TimeEditDetailsState_build__closure: function TimeEditDetailsState_build__closure(t0) { this.value = t0; }, TimeEditDetailsState_build__closure0: function TimeEditDetailsState_build__closure0() { }, TimeEditDetailsState_build_closure6: function TimeEditDetailsState_build_closure6(t0, t1) { this.$this = t0; this.context = t1; }, TimeEditDetailsState_build_closure7: function TimeEditDetailsState_build_closure7(t0, t1) { this.$this = t0; this.context = t1; }, TaskEditTimesVM_TaskEditTimesVM$fromStore(store) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.taskUIState; return new A.TaskEditTimesVM(t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t3.editing, t3.editingTimeIndex, new A.TaskEditTimesVM_TaskEditTimesVM$fromStore_closure(store), new A.TaskEditTimesVM_TaskEditTimesVM$fromStore_closure0(store), new A.TaskEditTimesVM_TaskEditTimesVM$fromStore_closure1(store), new A.TaskEditTimesVM_TaskEditTimesVM$fromStore_closure2(store)); }, TaskEditTimesScreen: function TaskEditTimesScreen(t0) { this.key = t0; }, TaskEditTimesScreen_build_closure0: function TaskEditTimesScreen_build_closure0() { }, TaskEditTimesScreen_build_closure: function TaskEditTimesScreen_build_closure() { }, TaskEditTimesVM: function TaskEditTimesVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.company = t0; _.task = t1; _.taskTimeIndex = t2; _.onRemoveTaskTimePressed = t3; _.onDoneTaskTimePressed = t4; _.onUpdatedTaskTime = t5; _.clearSelectedTaskTime = t6; }, TaskEditTimesVM_TaskEditTimesVM$fromStore_closure: function TaskEditTimesVM_TaskEditTimesVM$fromStore_closure(t0) { this.store = t0; }, TaskEditTimesVM_TaskEditTimesVM$fromStore_closure0: function TaskEditTimesVM_TaskEditTimesVM$fromStore_closure0(t0) { this.store = t0; }, TaskEditTimesVM_TaskEditTimesVM$fromStore_closure1: function TaskEditTimesVM_TaskEditTimesVM$fromStore_closure1(t0) { this.store = t0; }, TaskEditTimesVM_TaskEditTimesVM$fromStore_closure2: function TaskEditTimesVM_TaskEditTimesVM$fromStore_closure2(t0) { this.store = t0; }, TaskEditVM_TaskEditVM$fromStore(store) { var t2, t3, task, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.taskUIState; task = t3.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].taskState.map._map$_map.$index(0, task.id); return new A.TaskEditVM(task, t3.editingTimeIndex, new A.TaskEditVM_TaskEditVM$fromStore_closure(store, t1), new A.TaskEditVM_TaskEditVM$fromStore_closure0(store, t1), new A.TaskEditVM_TaskEditVM$fromStore_closure1(task, store), t1); }, TaskEditScreen: function TaskEditScreen(t0) { this.key = t0; }, TaskEditScreen_build_closure0: function TaskEditScreen_build_closure0() { }, TaskEditScreen_build_closure: function TaskEditScreen_build_closure() { }, TaskEditVM: function TaskEditVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.task = t0; _.taskTimeIndex = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.onFabPressed = t4; _.state = t5; }, TaskEditVM_TaskEditVM$fromStore_closure0: function TaskEditVM_TaskEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, TaskEditVM_TaskEditVM$fromStore_closure1: function TaskEditVM_TaskEditVM$fromStore_closure1(t0, t1) { this.task = t0; this.store = t1; }, TaskEditVM_TaskEditVM$fromStore__closure: function TaskEditVM_TaskEditVM$fromStore__closure() { }, TaskEditVM_TaskEditVM$fromStore_closure: function TaskEditVM_TaskEditVM$fromStore_closure(t0, t1) { this.store = t0; this.state = t1; }, TaskEditVM_TaskEditVM$fromStore__closure0: function TaskEditVM_TaskEditVM$fromStore__closure0(t0, t1, t2) { this.store = t0; this.state = t1; this.action = t2; }, TaskEditVM_TaskEditVM$fromStore___closure: function TaskEditVM_TaskEditVM$fromStore___closure(t0) { this.localization = t0; }, TaskEditVM_TaskEditVM$fromStore___closure0: function TaskEditVM_TaskEditVM$fromStore___closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.task = t0; _.localization = t1; _.origTask = t2; _.store = t3; _.state = t4; _.navigator = t5; _.action = t6; }, TaskEditVM_TaskEditVM$fromStore___closure1: function TaskEditVM_TaskEditVM$fromStore___closure1() { }, TaskEditVM_TaskEditVM$fromStore____closure: function TaskEditVM_TaskEditVM$fromStore____closure(t0) { this.error = t0; }, KanbanTaskCard$(isCorrectOrder, isDragging, isSaving, isSelected, onCancelPressed, onSavePressed, task) { return new A.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) { this.$this = t0; this.localization = t1; }, _KanbanTaskCardState_build__closure4: function _KanbanTaskCardState_build__closure4(t0) { this.$this = t0; }, _KanbanTaskCardState_build___closure: function _KanbanTaskCardState_build___closure(t0) { this.$this = t0; }, _KanbanTaskCardState_build_closure10: function _KanbanTaskCardState_build_closure10(t0, t1) { this.$this = t0; this.state = t1; }, _KanbanTaskCardState_build__closure: function _KanbanTaskCardState_build__closure(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) { this.task = t0; }, _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) { this.startLabel = t0; this.task = t1; this.localization = t2; }, _KanbanTaskCardState_build_closure8: function _KanbanTaskCardState_build_closure8(t0) { this.$this = t0; }, _KanbanTaskCardState_build__closure1: function _KanbanTaskCardState_build__closure1(t0) { this.$this = t0; }, 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; }, 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, t1) { this.$this = t0; this.state = t1; }, KanbanViewState__initBoard_closure0: function KanbanViewState__initBoard_closure0(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; }, KanbanVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedKanbanTaskList(); t3 = t1.getUISelection$1(B.EntityType_task); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.taskState; t5 = t5.taskUIState.listUIState; t8 = t2.call$9(t3, t8.map, t7.clientState.map, t7.userState.map, t7.projectState.map, t7.invoiceState.map, t7.taskStatusState.map, t8.list, t5); t7 = $.$get$memoizedFilteredTaskList(); t3 = t1.getUISelection$1(B.EntityType_task); t6 = t4[t6]; t4 = t6.taskState; return new A.KanbanVM(t1, t8, t7.call$9(t3, t4.map, t6.clientState.map, t6.userState.map, t6.projectState.map, t6.invoiceState.map, t6.taskStatusState.map, t4.list, t5), new A.KanbanVM_fromStore_closure(store), new A.KanbanVM_fromStore_closure0(t1, store), new A.KanbanVM_fromStore_closure1(t1, 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; }, TaskListItem$(filter, isChecked, isDismissible, onCheckboxChanged, onTap, showCheckbox, task) { return new A.TaskListItem(onCheckboxChanged, onTap, task, filter, showCheckbox, isDismissible, isChecked, null); }, TaskListItem: function TaskListItem(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.onCheckboxChanged = t0; _.onTap = t1; _.task = t2; _.filter = t3; _.showCheckbox = t4; _.isDismissible = t5; _.isChecked = t6; _.key = t7; }, TaskListItem_build_closure1: function TaskListItem_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, TaskListItem_build_closure: function TaskListItem_build_closure(t0) { this.$this = t0; }, TaskListItem_build_closure0: function TaskListItem_build_closure0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _._box_0 = t0; _.$this = t1; _.showCheckbox = t2; _.listUIState = t3; _.isChecked = t4; _.state = t5; _.textStyle = t6; _.textColor = t7; _.duration = t8; _.startStopButton = t9; _.filterMatch = t10; _.statusLabel = t11; _.statusColor = t12; }, TaskListItem_build__closure2: function TaskListItem_build__closure2(t0) { this.$this = t0; }, TaskListItem_build__closure1: function TaskListItem_build__closure1(t0) { this.$this = t0; }, TaskListItem_build__closure: function TaskListItem_build__closure(t0) { this.$this = t0; }, TaskListItem_build__closure0: function TaskListItem_build__closure0(t0) { this.$this = t0; }, TaskListItem_build__closure5: function TaskListItem_build__closure5(t0) { this.$this = t0; }, TaskListItem_build__closure4: function TaskListItem_build__closure4(t0) { this.$this = t0; }, TaskListItem_build__closure3: function TaskListItem_build__closure3(t0) { this.$this = t0; }, TaskListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t9, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].userCompany; t6 = $.$get$memoizedFilteredTaskList(); t7 = t1.getUISelection$1(B.EntityType_task); t8 = t2[t4]; t9 = t8.taskState; t3 = t3.taskUIState.listUIState; t9 = t6.call$9(t7, t9.map, t8.clientState.map, t8.userState.map, t8.projectState.map, t8.invoiceState.map, t8.taskStatusState.map, t9.list, t3); t4 = t2[t4]; t2 = t4.taskState; t4 = t4.userCompany.settings.getTableColumns$1(B.EntityType_task); if (t4 == null) t4 = A._setArrayType(["status", "number", "client", "project", "description", "duration", "entity_state"], type$.JSArray_String); return new A.TaskListVM(t1, t5.user, t9, t2.map, t3.filter, new A.TaskListVM_fromStore_closure(new A.TaskListVM_fromStore__handleRefresh(store)), t4, new A.TaskListVM_fromStore_closure0(store), new A.TaskListVM_fromStore_closure1(store)); }, TaskListBuilder: function TaskListBuilder(t0) { this.key = t0; }, TaskListBuilder_build_closure: function TaskListBuilder_build_closure() { }, TaskListBuilder_build__closure: function TaskListBuilder_build__closure(t0) { this.viewModel = t0; }, TaskListVM: function TaskListVM(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.state = t0; _.user = t1; _.taskList = t2; _.taskMap = t3; _.filter = t4; _.onRefreshed = t5; _.tableColumns = t6; _.onSortColumn = t7; _.onClearMultielsect = t8; }, TaskListVM_fromStore__handleRefresh: function TaskListVM_fromStore__handleRefresh(t0) { this.store = t0; }, TaskListVM_fromStore_closure0: function TaskListVM_fromStore_closure0(t0) { this.store = t0; }, TaskListVM_fromStore_closure: function TaskListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, TaskListVM_fromStore_closure1: function TaskListVM_fromStore_closure1(t0) { this.store = t0; }, TaskPresenter: function TaskPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, TaskPresenter_getField_closure: function TaskPresenter_getField_closure() { }, TaskPresenter_getField_closure0: function TaskPresenter_getField_closure0(t0, t1) { this.context = t0; this.notes = t1; }, TaskScreen: function TaskScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, TaskScreen_build_closure: function TaskScreen_build_closure(t0) { this.localization = t0; }, TaskScreen_build_closure0: function TaskScreen_build_closure0(t0) { this.localization = t0; }, TaskScreen_build_closure1: function TaskScreen_build_closure1(t0) { this.localization = t0; }, TaskScreen_build_closure2: function TaskScreen_build_closure2(t0, t1) { this.statusId = t0; this.state = t1; }, TaskScreen_build_closure21: function TaskScreen_build_closure21(t0) { this.store = t0; }, TaskScreen_build_closure17: function TaskScreen_build_closure17(t0) { this.store = t0; }, TaskScreen_build_closure19: function TaskScreen_build_closure19(t0) { this.store = t0; }, TaskScreen_build_closure18: function TaskScreen_build_closure18(t0) { this.store = t0; }, TaskScreen_build_closure20: function TaskScreen_build_closure20(t0) { this.store = t0; }, TaskScreen_build_closure3: function TaskScreen_build_closure3(t0, t1, t2) { this.context = t0; this.state = t1; this.store = t2; }, TaskScreen_build_closure4: function TaskScreen_build_closure4() { }, TaskScreen_build_closure5: function TaskScreen_build_closure5() { }, TaskScreen_build_closure6: function TaskScreen_build_closure6(t0) { this.store = t0; }, TaskScreen_build_closure7: function TaskScreen_build_closure7(t0, t1) { this.store = t0; this.state = t1; }, TaskScreen_build_closure13: function TaskScreen_build_closure13(t0) { this.store = t0; }, TaskScreen_build_closure15: function TaskScreen_build_closure15(t0) { this.store = t0; }, TaskScreen_build_closure9: function TaskScreen_build_closure9(t0) { this.store = t0; }, TaskScreen_build_closure10: function TaskScreen_build_closure10(t0) { this.store = t0; }, TaskScreen_build_closure11: function TaskScreen_build_closure11(t0) { this.store = t0; }, TaskScreen_build_closure12: function TaskScreen_build_closure12(t0) { this.store = t0; }, TaskScreen_build_closure14: function TaskScreen_build_closure14(t0) { this.store = t0; }, TaskScreen_build_closure8: function TaskScreen_build_closure8(t0) { this.store = t0; }, TaskScreen_build_closure16: function TaskScreen_build_closure16(t0) { this.context = t0; }, TaskScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTaskList(); t3 = t1.getUISelection$1(B.EntityType_task); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.taskState; return new A.TaskScreenVM(t2.call$9(t3, t5.map, t4.clientState.map, t4.userState.map, t4.projectState.map, t4.invoiceState.map, t4.taskStatusState.map, t5.list, t1.taskUIState.listUIState)); }, TaskScreenBuilder: function TaskScreenBuilder(t0) { this.key = t0; }, TaskScreenBuilder_build_closure: function TaskScreenBuilder_build_closure() { }, TaskScreenVM: function TaskScreenVM(t0) { this.taskList = t0; }, TaskTimeListTile: function TaskTimeListTile(t0, t1, t2, t3, t4) { var _ = this; _.onTap = t0; _.task = t1; _.taskTime = t2; _.isValid = t3; _.key = t4; }, TaskTimeListTile_build_closure0: function TaskTimeListTile_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, TaskTimeListTile_build_closure: function TaskTimeListTile_build_closure(t0) { this.$this = t0; }, TaskView: function TaskView(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.tabIndex = t2; _.key = t3; }, _TaskViewState: function _TaskViewState(t0, t1, t2) { var _ = this; _._task_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _TaskViewState_build_closure: function _TaskViewState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.company = t1; _.viewModel = t2; _.task = t3; }, _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_build__closure1: function _TaskViewState_build__closure1(t0, t1) { this.viewModel = t0; this.context = t1; }, __TaskViewState_State_SingleTickerProviderStateMixin: function __TaskViewState_State_SingleTickerProviderStateMixin() { }, TaskViewDocuments: function TaskViewDocuments(t0, t1) { this.viewModel = t0; this.key = t1; }, TaskViewDocuments_build_closure: function TaskViewDocuments_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, TaskViewDocuments_build_closure0: function TaskViewDocuments_build_closure0(t0, t1) { this.store = t0; this.task = t1; }, 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; }, TaskViewVM_TaskViewVM$fromStore(store) { var t2, t3, t4, t5, task, client, project, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].taskState; t3 = t3.taskUIState.selectedId; t3.toString; task = t5.$get$1(0, t3); client = t2[t4].clientState.map._map$_map.$index(0, task.clientId); project = t2[t4].projectState.map._map$_map.$index(0, task.projectId); t4 = t2[t4].userCompany; task.get$isNew(); return new A.TaskViewVM(t1, task, client, project, t4.company, new A.TaskViewVM_TaskViewVM$fromStore_closure(task), new A.TaskViewVM_TaskViewVM$fromStore_closure0(new A.TaskViewVM_TaskViewVM$fromStore__handleRefresh(store, task)), new A.TaskViewVM_TaskViewVM$fromStore_closure1(store, task)); }, TaskViewScreen: function TaskViewScreen(t0) { this.key = t0; }, TaskViewScreen_build_closure0: function TaskViewScreen_build_closure0() { }, TaskViewScreen_build_closure: function TaskViewScreen_build_closure(t0) { this.$this = t0; }, TaskViewVM: function TaskViewVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.task = t1; _.client = t2; _.project = t3; _.company = t4; _.onEditPressed = t5; _.onRefreshed = t6; _.onUploadDocuments = t7; }, TaskViewVM_TaskViewVM$fromStore__handleRefresh: function TaskViewVM_TaskViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.task = t1; }, TaskViewVM_TaskViewVM$fromStore_closure: function TaskViewVM_TaskViewVM$fromStore_closure(t0) { this.task = t0; }, TaskViewVM_TaskViewVM$fromStore_closure0: function TaskViewVM_TaskViewVM$fromStore_closure0(t0) { this._handleRefresh = t0; }, TaskViewVM_TaskViewVM$fromStore_closure1: function TaskViewVM_TaskViewVM$fromStore_closure1(t0, t1) { this.store = t0; this.task = t1; }, TaskViewVM_TaskViewVM$fromStore__closure: function TaskViewVM_TaskViewVM$fromStore__closure(t0) { this.context = t0; }, TaskViewVM_TaskViewVM$fromStore__closure0: function TaskViewVM_TaskViewVM$fromStore__closure0(t0) { this.context = t0; }, TaskViewVM_TaskViewVM$fromStore___closure: function TaskViewVM_TaskViewVM$fromStore___closure(t0) { this.error = t0; }, TaskStatusEdit: function TaskStatusEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskStatusEditState: function _TaskStatusEditState(t0, t1, t2, t3) { var _ = this; _._task_status_edit$_debouncer = t0; _._task_status_edit$_nameController = t1; _._task_status_edit$_controllers = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _TaskStatusEditState_didChangeDependencies_closure: function _TaskStatusEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _TaskStatusEditState_didChangeDependencies_closure0: function _TaskStatusEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _TaskStatusEditState_dispose_closure: function _TaskStatusEditState_dispose_closure(t0) { this.$this = t0; }, _TaskStatusEditState__onChanged_closure: function _TaskStatusEditState__onChanged_closure(t0) { this.$this = t0; }, _TaskStatusEditState__onChanged_closure0: function _TaskStatusEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.taskStatus = t1; }, _TaskStatusEditState_build_closure0: function _TaskStatusEditState_build_closure0(t0) { this.viewModel = t0; }, _TaskStatusEditState_build_closure: function _TaskStatusEditState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.localization = t1; _.taskStatus = t2; _.viewModel = t3; }, _TaskStatusEditState_build__closure: function _TaskStatusEditState_build__closure(t0) { this.localization = t0; }, _TaskStatusEditState_build__closure0: function _TaskStatusEditState_build__closure0(t0, t1) { this.viewModel = t0; this.taskStatus = t1; }, _TaskStatusEditState_build___closure: function _TaskStatusEditState_build___closure(t0) { this.value = t0; }, TaskStatusEditVM_TaskStatusEditVM$fromStore(store) { var t2, taskStatus, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; taskStatus = t2.taskStatusUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].taskStatusState.map._map$_map.$index(0, taskStatus.id); return new A.TaskStatusEditVM(taskStatus, new A.TaskStatusEditVM_TaskStatusEditVM$fromStore_closure(store), new A.TaskStatusEditVM_TaskStatusEditVM$fromStore_closure0(store, t1), new A.TaskStatusEditVM_TaskStatusEditVM$fromStore_closure1(store, t1), t1); }, 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) { var _ = this; _.taskStatus = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, 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; }, TaskStatusList: function TaskStatusList(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskStatusListState: function _TaskStatusListState(t0) { var _ = this; _._widget = _._task_status_list$_controller = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _TaskStatusListState_build_closure1: function _TaskStatusListState_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _TaskStatusListState_build_closure0: function _TaskStatusListState_build_closure0(t0) { this.$this = t0; }, _TaskStatusListState_build_closure: function _TaskStatusListState_build_closure(t0, t1, t2, t3) { var _ = this; _.viewModel = t0; _.state = t1; _.isInMultiselect = t2; _.listUIState = t3; }, 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) { this.$this = t0; }, TaskStatusListItem_build_closure0: function TaskStatusListItem_build_closure0(t0) { this.$this = t0; }, TaskStatusListItem_build_closure: function TaskStatusListItem_build_closure(t0) { this.$this = t0; }, TaskStatusListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, taskStatusIds, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTaskStatusList(); t3 = t1.getUISelection$1(B.EntityType_taskStatus); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].taskStatusState; t5 = t5.taskStatusUIState.listUIState; taskStatusIds = t2.call$4(t3, t7.map, t7.list, t5); return new A.TaskStatusListVM(t1, taskStatusIds, t4[t6].taskStatusState.map, t5.filter, new A.TaskStatusListVM_fromStore_closure(new A.TaskStatusListVM_fromStore__handleRefresh(store)), new A.TaskStatusListVM_fromStore_closure0(taskStatusIds, t1, store)); }, TaskStatusListBuilder: function TaskStatusListBuilder(t0) { this.key = t0; }, TaskStatusListBuilder_build_closure: function TaskStatusListBuilder_build_closure() { }, TaskStatusListVM: function TaskStatusListVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.taskStatusList = t1; _.taskStatusMap = t2; _.filter = t3; _.onRefreshed = t4; _.onSortChanged = t5; }, TaskStatusListVM_fromStore__handleRefresh: function TaskStatusListVM_fromStore__handleRefresh(t0) { this.store = t0; }, TaskStatusListVM_fromStore_closure: function TaskStatusListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, TaskStatusListVM_fromStore_closure0: function TaskStatusListVM_fromStore_closure0(t0, t1, t2) { this.taskStatusIds = t0; this.state = t1; this.store = t2; }, TaskStatusListVM_fromStore__closure: function TaskStatusListVM_fromStore__closure(t0) { this.newIndex = t0; }, TaskStatusScreen: function TaskStatusScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, TaskStatusScreen_build_closure11: function TaskStatusScreen_build_closure11(t0) { this.store = t0; }, TaskStatusScreen_build_closure8: function TaskStatusScreen_build_closure8(t0) { this.store = t0; }, TaskStatusScreen_build_closure9: function TaskStatusScreen_build_closure9(t0) { this.store = t0; }, TaskStatusScreen_build_closure10: function TaskStatusScreen_build_closure10(t0) { this.store = t0; }, TaskStatusScreen_build_closure: function TaskStatusScreen_build_closure(t0, t1, t2) { this.$this = t0; this.listUIState = t1; this.store = t2; }, TaskStatusScreen_build__closure: function TaskStatusScreen_build__closure(t0) { this.$this = t0; }, TaskStatusScreen_build__closure0: function TaskStatusScreen_build__closure0(t0) { this.store = t0; }, TaskStatusScreen_build_closure5: function TaskStatusScreen_build_closure5(t0) { this.store = t0; }, TaskStatusScreen_build_closure6: function TaskStatusScreen_build_closure6(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_closure4: function TaskStatusScreen_build_closure4(t0) { this.store = t0; }, TaskStatusScreen_build_closure7: function TaskStatusScreen_build_closure7(t0) { this.context = t0; }, TaskStatusScreenVM_fromStore(store) { var t2, t3, t4, t5, t6, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].taskStatusState; t6 = $.$get$memoizedFilteredTaskStatusList(); t1 = t1.getUISelection$1(B.EntityType_taskStatus); t4 = t2[t4].taskStatusState; t3 = t3.taskStatusUIState.listUIState; return new A.TaskStatusScreenVM(t3.selectedIds != null, t6.call$4(t1, t4.map, t4.list, t3), t5.map); }, TaskStatusScreenBuilder: function TaskStatusScreenBuilder(t0) { this.key = t0; }, TaskStatusScreenBuilder_build_closure: function TaskStatusScreenBuilder_build_closure() { }, TaskStatusScreenVM: function TaskStatusScreenVM(t0, t1, t2) { this.isInMultiselect = t0; this.taskStatusList = t1; this.taskStatusMap = t2; }, TaskStatusView: function TaskStatusView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _TaskStatusViewState: function _TaskStatusViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _TaskStatusViewState_build_closure: function _TaskStatusViewState_build_closure(t0) { this.viewModel = t0; }, TaskStatusViewVM_TaskStatusViewVM$fromStore(store) { var t2, t3, t4, taskStatus, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.taskStatusUIState.selectedId; taskStatus = t2._list$_list[t3.selectedCompanyIndex].taskStatusState.map._map$_map.$index(0, t4); if (taskStatus == null) taskStatus = A.TaskStatusEntity_TaskStatusEntity(t4, null); taskStatus.get$isNew(); return new A.TaskStatusViewVM(t1, taskStatus, new A.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) { this.state = t0; this.taskStatus = t1; this.onBackPressed = t2; }, TaskStatusViewVM_TaskStatusViewVM$fromStore_closure: function TaskStatusViewVM_TaskStatusViewVM$fromStore_closure(t0) { this.store = t0; }, TaxRateEdit: function TaxRateEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaxRateEditState: function _TaxRateEditState(t0, t1, t2, t3, t4) { var _ = this; _._tax_rate_edit$_nameController = t0; _._rateController = t1; _._tax_rate_edit$_controllers = t2; _._tax_rate_edit$_debouncer = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _TaxRateEditState_didChangeDependencies_closure: function _TaxRateEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _TaxRateEditState_didChangeDependencies_closure0: function _TaxRateEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _TaxRateEditState_dispose_closure: function _TaxRateEditState_dispose_closure(t0) { this.$this = t0; }, _TaxRateEditState__onChanged_closure: function _TaxRateEditState__onChanged_closure(t0) { this.$this = t0; }, _TaxRateEditState__onChanged_closure0: function _TaxRateEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.taxRate = t1; }, _TaxRateEditState_build_closure: function _TaxRateEditState_build_closure(t0) { this.localization = t0; }, TaxRateEditVM_TaxRateEditVM$fromStore(store) { var t2, taxRate, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; taxRate = t2.taxRateUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].taxRateState.map._map$_map.$index(0, taxRate.id); return new A.TaxRateEditVM(taxRate, new A.TaxRateEditVM_TaxRateEditVM$fromStore_closure(store), new A.TaxRateEditVM_TaxRateEditVM$fromStore_closure0(store, t1), new A.TaxRateEditVM_TaxRateEditVM$fromStore_closure1(store, t1), t1); }, 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) { var _ = this; _.taxRate = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, 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; }, TaxRateListItem: function TaxRateListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.taxRate = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, TaxRateListItem_build_closure1: function TaxRateListItem_build_closure1(t0) { this.$this = t0; }, TaxRateListItem_build_closure0: function TaxRateListItem_build_closure0(t0) { this.$this = t0; }, TaxRateListItem_build_closure: function TaxRateListItem_build_closure(t0) { this.$this = t0; }, TaxRateListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t5 = t2[t4].userCompany; t6 = $.$get$memoizedFilteredTaxRateList(); t7 = t1.getUISelection$1(B.EntityType_taxRate); t8 = t2[t4].taxRateState; t3 = t3.taxRateUIState.listUIState; return new A.TaxRateListVM(t1, t5, t6.call$4(t7, t8.map, t8.list, t3), t2[t4].taxRateState.map, t3.filter, new A.TaxRateListVM_fromStore_closure(new A.TaxRateListVM_fromStore__handleRefresh(store)), new A.TaxRateListVM_fromStore_closure0(store), new A.TaxRateListVM_fromStore_closure1(store)); }, TaxRateListBuilder: function TaxRateListBuilder(t0) { this.key = t0; }, TaxRateListBuilder_build_closure: function TaxRateListBuilder_build_closure() { }, TaxRateListBuilder_build__closure: function TaxRateListBuilder_build__closure(t0) { this.viewModel = t0; }, TaxRateListVM: function TaxRateListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.userCompany = t1; _.taxRateList = t2; _.taxRateMap = t3; _.filter = t4; _.onRefreshed = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, TaxRateListVM_fromStore__handleRefresh: function TaxRateListVM_fromStore__handleRefresh(t0) { this.store = t0; }, TaxRateListVM_fromStore_closure: function TaxRateListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, TaxRateListVM_fromStore_closure0: function TaxRateListVM_fromStore_closure0(t0) { this.store = t0; }, TaxRateListVM_fromStore_closure1: function TaxRateListVM_fromStore_closure1(t0) { this.store = t0; }, TaxRateSettingsScreen: function TaxRateSettingsScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, TaxRateSettingsScreen_build_closure6: function TaxRateSettingsScreen_build_closure6(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_closure5: function TaxRateSettingsScreen_build_closure5(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; }, TaxRateScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTaxRateList(); t3 = t1.getUISelection$1(B.EntityType_taxRate); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].taxRateState; return new A.TaxRateScreenVM(t2.call$4(t3, t4.map, t4.list, t1.taxRateUIState.listUIState)); }, TaxRateScreenBuilder: function TaxRateScreenBuilder(t0) { this.key = t0; }, TaxRateScreenBuilder_build_closure: function TaxRateScreenBuilder_build_closure() { }, TaxRateScreenVM: function TaxRateScreenVM(t0) { this.taxRateList = t0; }, TaxRateView: function TaxRateView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _TaxRateViewState: function _TaxRateViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _TaxRateViewState_build_closure: function _TaxRateViewState_build_closure(t0) { this.viewModel = t0; }, TaxRateViewVM_TaxRateViewVM$fromStore(store) { var t2, t3, t4, taxRate, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.taxRateUIState.selectedId; taxRate = t2._list$_list[t3.selectedCompanyIndex].taxRateState.map._map$_map.$index(0, t4); if (taxRate == null) taxRate = A.TaxRateEntity_TaxRateEntity(t4, null, null, null); taxRate.get$isNew(); return new A.TaxRateViewVM(t1, taxRate, new A.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) { this.state = t0; this.taxRate = t1; this.onBackPressed = t2; }, TaxRateViewVM_TaxRateViewVM$fromStore_closure: function TaxRateViewVM_TaxRateViewVM$fromStore_closure(t0) { this.store = 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; _._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_closure: function _TokenEditState_build_closure(t0, t1) { this.$this = t0; this.localization = t1; }, _TokenEditState_build__closure: function _TokenEditState_build__closure(t0) { this.localization = t0; }, TokenEditVM_TokenEditVM$fromStore(store) { var t2, token, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; token = t2.tokenUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].tokenState.map._map$_map.$index(0, token.id); return new A.TokenEditVM(token, new A.TokenEditVM_TokenEditVM$fromStore_closure(store), new A.TokenEditVM_TokenEditVM$fromStore_closure0(store, t1), new A.TokenEditVM_TokenEditVM$fromStore_closure1(t1, store), t1); }, 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) { var _ = this; _.token = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, 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; }, TokenListItem: function TokenListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.token = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, TokenListItem_build_closure1: function TokenListItem_build_closure1(t0) { this.$this = t0; }, TokenListItem_build_closure0: function TokenListItem_build_closure0(t0) { this.$this = t0; }, TokenListItem_build_closure: function TokenListItem_build_closure(t0) { this.$this = t0; }, TokenListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTokenList(); t3 = t1.getUISelection$1(B.EntityType_token); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].tokenState; t5 = t5.tokenUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.tokenState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_token); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.TokenListVM(t1, t7, t4.map, t5.filter, new A.TokenListVM_fromStore_closure(new A.TokenListVM_fromStore__handleRefresh(store)), t2, new A.TokenListVM_fromStore_closure0(store), new A.TokenListVM_fromStore_closure1(store)); }, TokenListBuilder: function TokenListBuilder(t0) { this.key = t0; }, TokenListBuilder_build_closure: function TokenListBuilder_build_closure() { }, TokenListBuilder_build__closure: function TokenListBuilder_build__closure(t0) { this.viewModel = t0; }, TokenListVM: function TokenListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.tokenList = t1; _.tokenMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, TokenListVM_fromStore__handleRefresh: function TokenListVM_fromStore__handleRefresh(t0) { this.store = t0; }, TokenListVM_fromStore_closure: function TokenListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, TokenListVM_fromStore_closure0: function TokenListVM_fromStore_closure0(t0) { this.store = t0; }, TokenListVM_fromStore_closure1: function TokenListVM_fromStore_closure1(t0) { this.store = t0; }, TokenPresenter: function TokenPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, TokenScreen: function TokenScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, TokenScreen_build_closure10: function TokenScreen_build_closure10(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_closure9: function TokenScreen_build_closure9(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; }, TokenScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTokenList(); t3 = t1.getUISelection$1(B.EntityType_token); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].tokenState; return new A.TokenScreenVM(t2.call$4(t3, t4.map, t4.list, t1.tokenUIState.listUIState)); }, TokenScreenBuilder: function TokenScreenBuilder(t0) { this.key = t0; }, TokenScreenBuilder_build_closure: function TokenScreenBuilder_build_closure() { }, TokenScreenVM: function TokenScreenVM(t0) { this.tokenList = 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; }, TokenViewVM_TokenViewVM$fromStore(store) { var t2, t3, t4, token, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.tokenUIState.selectedId; token = t2._list$_list[t3.selectedCompanyIndex].tokenState.map._map$_map.$index(0, t4); if (token == null) token = A.TokenEntity_TokenEntity(t4, null); token.get$isNew(); return new A.TokenViewVM(t1, token, new A.TokenViewVM_TokenViewVM$fromStore_closure(store)); }, TokenViewScreen: function TokenViewScreen(t0) { this.key = t0; }, TokenViewScreen_build_closure0: function TokenViewScreen_build_closure0() { }, TokenViewScreen_build_closure: function TokenViewScreen_build_closure(t0) { this.$this = t0; }, TokenViewVM: function TokenViewVM(t0, t1, t2) { this.state = t0; this.token = t1; this.onBackPressed = t2; }, TokenViewVM_TokenViewVM$fromStore_closure: function TokenViewVM_TokenViewVM$fromStore_closure(t0) { this.store = t0; }, TransactionEdit: function TransactionEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _TransactionEditState: function _TransactionEditState(t0, t1, t2, t3, t4) { var _ = this; _._transaction_edit$_debouncer = t0; _._descriptionController = t1; _._transaction_edit$_amountController = t2; _._transaction_edit$_controllers = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _TransactionEditState_didChangeDependencies_closure: function _TransactionEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _TransactionEditState_didChangeDependencies_closure0: function _TransactionEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _TransactionEditState_dispose_closure: function _TransactionEditState_dispose_closure(t0) { this.$this = t0; }, _TransactionEditState__onChanged_closure: function _TransactionEditState__onChanged_closure(t0) { this.$this = t0; }, _TransactionEditState__onChanged__closure: function _TransactionEditState__onChanged__closure(t0) { this.$this = t0; }, _TransactionEditState_build_closure0: function _TransactionEditState_build_closure0(t0) { this.viewModel = t0; }, _TransactionEditState_build_closure1: function _TransactionEditState_build_closure1(t0) { this.$this = t0; }, _TransactionEditState_build_closure: function _TransactionEditState_build_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.localization = t1; _.transaction = t2; _.viewModel = t3; _.state = t4; _.store = t5; }, _TransactionEditState_build__closure: function _TransactionEditState_build__closure(t0, t1) { this.viewModel = t0; this.transaction = t1; }, _TransactionEditState_build___closure3: function _TransactionEditState_build___closure3(t0) { this.value = t0; }, _TransactionEditState_build__closure0: function _TransactionEditState_build__closure0(t0, t1) { this.viewModel = t0; this.transaction = t1; }, _TransactionEditState_build___closure2: function _TransactionEditState_build___closure2(t0) { this.date = t0; }, _TransactionEditState_build__closure1: function _TransactionEditState_build__closure1(t0) { this.$this = t0; }, _TransactionEditState_build__closure2: function _TransactionEditState_build__closure2(t0) { this.localization = t0; }, _TransactionEditState_build__closure3: function _TransactionEditState_build__closure3(t0) { this.viewModel = t0; }, _TransactionEditState_build___closure1: function _TransactionEditState_build___closure1(t0) { this.currency = t0; }, _TransactionEditState_build__closure6: function _TransactionEditState_build__closure6(t0, t1) { this.viewModel = t0; this.transaction = t1; }, _TransactionEditState_build___closure: function _TransactionEditState_build___closure(t0) { this.bankAccount = t0; }, _TransactionEditState_build__closure4: function _TransactionEditState_build__closure4(t0, t1) { this.viewModel = t0; this.context = t1; }, _TransactionEditState_build__closure5: function _TransactionEditState_build__closure5(t0) { this.store = t0; }, _TransactionEditState_build___closure0: function _TransactionEditState_build___closure0(t0) { this.name = t0; }, _TransactionEditState_build__closure8: function _TransactionEditState_build__closure8(t0, t1) { this.transaction = t0; this.localization = t1; }, _TransactionEditState_build__closure7: function _TransactionEditState_build__closure7() { }, TransactionEditVM_TransactionEditVM$fromStore(store) { var t2, transaction, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; transaction = t2.transactionUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].transactionState.map._map$_map.$index(0, transaction.id); return new A.TransactionEditVM(transaction, new A.TransactionEditVM_TransactionEditVM$fromStore_closure(store), new A.TransactionEditVM_TransactionEditVM$fromStore_closure0(store, t1), new A.TransactionEditVM_TransactionEditVM$fromStore_closure1(t1, store), t1, new A.TransactionEditVM_TransactionEditVM$fromStore_closure2(t1, store)); }, TransactionEditScreen: function TransactionEditScreen(t0) { this.key = t0; }, TransactionEditScreen_build_closure0: function TransactionEditScreen_build_closure0() { }, TransactionEditScreen_build_closure: function TransactionEditScreen_build_closure() { }, TransactionEditVM: function TransactionEditVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.transaction = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; _.onAddBankAccountPressed = t5; }, TransactionEditVM_TransactionEditVM$fromStore_closure: function TransactionEditVM_TransactionEditVM$fromStore_closure(t0) { this.store = t0; }, TransactionEditVM_TransactionEditVM$fromStore_closure1: function TransactionEditVM_TransactionEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, TransactionEditVM_TransactionEditVM$fromStore_closure0: function TransactionEditVM_TransactionEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, TransactionEditVM_TransactionEditVM$fromStore__closure1: function TransactionEditVM_TransactionEditVM$fromStore__closure1(t0, t1, t2) { this.store = t0; this.context = t1; this.state = t2; }, TransactionEditVM_TransactionEditVM$fromStore___closure: function TransactionEditVM_TransactionEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.transaction = t0; _.localization = t1; _.state = t2; _.store = t3; _.context = t4; }, TransactionEditVM_TransactionEditVM$fromStore___closure0: function TransactionEditVM_TransactionEditVM$fromStore___closure0(t0) { this.context = t0; }, TransactionEditVM_TransactionEditVM$fromStore____closure: function TransactionEditVM_TransactionEditVM$fromStore____closure(t0) { this.error = t0; }, TransactionEditVM_TransactionEditVM$fromStore_closure2: function TransactionEditVM_TransactionEditVM$fromStore_closure2(t0, t1) { this.state = t0; this.store = t1; }, TransactionEditVM_TransactionEditVM$fromStore__closure: function TransactionEditVM_TransactionEditVM$fromStore__closure(t0) { this.store = t0; }, TransactionEditVM_TransactionEditVM$fromStore__closure0: function TransactionEditVM_TransactionEditVM$fromStore__closure0(t0) { this.store = t0; }, TransactionListItem: function TransactionListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.transaction = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, TransactionListItem_build_closure: function TransactionListItem_build_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.$this = t0; _.showCheckbox = t1; _.listUIState = t2; _.state = t3; _.textStyle = t4; _.textColor = t5; _.filterMatch = t6; _.localization = t7; }, TransactionListItem_build__closure2: function TransactionListItem_build__closure2(t0) { this.$this = t0; }, TransactionListItem_build__closure1: function TransactionListItem_build__closure1(t0) { this.$this = t0; }, TransactionListItem_build__closure: function TransactionListItem_build__closure(t0) { this.$this = t0; }, TransactionListItem_build__closure0: function TransactionListItem_build__closure0(t0) { this.$this = t0; }, TransactionListItem_build__closure5: function TransactionListItem_build__closure5(t0) { this.$this = t0; }, TransactionListItem_build__closure4: function TransactionListItem_build__closure4(t0) { this.$this = t0; }, TransactionListItem_build__closure3: function TransactionListItem_build__closure3(t0) { this.$this = t0; }, TransactionListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTransactionList(); t3 = t1.getUISelection$1(B.EntityType_transaction); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.transactionState; t5 = t5.transactionUIState.listUIState; t7 = t2.call$9(t3, t8.map, t8.list, t7.invoiceState.map, t7.vendorState.map, t7.expenseState.map, t7.expenseCategoryState.map, t7.bankAccountState.map, t5); t6 = t4[t6]; t4 = t6.transactionState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_transaction); t2 = t6 == null ? A._setArrayType(["status", "deposit", "withdrawal", "date", "description", "invoices", "expense"], type$.JSArray_String) : t6; return new A.TransactionListVM(t1, t7, t4.map, t5.filter, new A.TransactionListVM_fromStore_closure(new A.TransactionListVM_fromStore__handleRefresh(store)), t2, new A.TransactionListVM_fromStore_closure0(store), new A.TransactionListVM_fromStore_closure1(store)); }, TransactionListBuilder: function TransactionListBuilder(t0) { this.key = t0; }, TransactionListBuilder_build_closure: function TransactionListBuilder_build_closure() { }, TransactionListBuilder_build__closure: function TransactionListBuilder_build__closure(t0) { this.viewModel = t0; }, TransactionListVM: function TransactionListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.transactionList = t1; _.transactionMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, TransactionListVM_fromStore__handleRefresh: function TransactionListVM_fromStore__handleRefresh(t0) { this.store = t0; }, TransactionListVM_fromStore_closure: function TransactionListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, TransactionListVM_fromStore_closure0: function TransactionListVM_fromStore_closure0(t0) { this.store = t0; }, TransactionListVM_fromStore_closure1: function TransactionListVM_fromStore_closure1(t0) { this.store = t0; }, TransactionPresenter: function TransactionPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, TransactionPresenter_getField_closure: function TransactionPresenter_getField_closure(t0) { this.state = t0; }, TransactionPresenter_getField_closure0: function TransactionPresenter_getField_closure0(t0) { this.transaction = t0; }, TransactionPresenter_getField_closure1: function TransactionPresenter_getField_closure1(t0) { this.state = t0; }, TransactionPresenter_getField_closure2: function TransactionPresenter_getField_closure2(t0) { this.transaction = t0; }, TransactionScreen: function TransactionScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, TransactionScreen_build_closure: function TransactionScreen_build_closure(t0) { this.localization = t0; }, TransactionScreen_build_closure0: function TransactionScreen_build_closure0(t0) { this.localization = t0; }, TransactionScreen_build_closure1: function TransactionScreen_build_closure1(t0) { this.localization = t0; }, TransactionScreen_build_closure2: function TransactionScreen_build_closure2(t0) { this.localization = t0; }, TransactionScreen_build_closure3: function TransactionScreen_build_closure3(t0) { this.localization = t0; }, TransactionScreen_build_closure17: function TransactionScreen_build_closure17(t0) { this.store = t0; }, TransactionScreen_build_closure13: function TransactionScreen_build_closure13(t0) { this.store = t0; }, TransactionScreen_build_closure15: function TransactionScreen_build_closure15(t0) { this.store = t0; }, TransactionScreen_build_closure14: function TransactionScreen_build_closure14(t0) { this.store = t0; }, TransactionScreen_build_closure16: function TransactionScreen_build_closure16(t0) { this.store = t0; }, TransactionScreen_build_closure4: function TransactionScreen_build_closure4(t0, t1) { this.store = t0; this.state = t1; }, TransactionScreen_build_closure10: function TransactionScreen_build_closure10(t0) { this.store = t0; }, TransactionScreen_build_closure11: function TransactionScreen_build_closure11(t0) { this.store = t0; }, TransactionScreen_build_closure5: function TransactionScreen_build_closure5(t0) { this.store = t0; }, TransactionScreen_build_closure6: function TransactionScreen_build_closure6(t0) { this.store = t0; }, TransactionScreen_build_closure7: function TransactionScreen_build_closure7(t0) { this.store = t0; }, TransactionScreen_build_closure8: function TransactionScreen_build_closure8(t0) { this.store = t0; }, TransactionScreen_build_closure9: function TransactionScreen_build_closure9(t0) { this.store = t0; }, TransactionScreen_build_closure12: function TransactionScreen_build_closure12(t0) { this.context = t0; }, TransactionScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTransactionList(); t3 = t1.getUISelection$1(B.EntityType_transaction); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.transactionState; return new A.TransactionScreenVM(t2.call$9(t3, t5.map, t5.list, t4.invoiceState.map, t4.vendorState.map, t4.expenseState.map, t4.expenseCategoryState.map, t4.bankAccountState.map, t1.transactionUIState.listUIState)); }, TransactionScreenBuilder: function TransactionScreenBuilder(t0) { this.key = t0; }, TransactionScreenBuilder_build_closure: function TransactionScreenBuilder_build_closure() { }, TransactionScreenVM: function TransactionScreenVM(t0) { this.transactionList = t0; }, TransactionView: function TransactionView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _TransactionViewState: function _TransactionViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _TransactionViewState_build_closure: function _TransactionViewState_build_closure() { }, _TransactionViewState_build_closure0: function _TransactionViewState_build_closure0(t0) { this.state = t0; }, _TransactionViewState_build_closure1: function _TransactionViewState_build_closure1() { }, _MatchDeposits: function _MatchDeposits(t0, t1) { this.viewModel = t0; this.key = t1; }, _MatchDepositsState: function _MatchDepositsState(t0, t1, t2) { var _ = this; _._invoiceScrollController = t0; _._paymentScrollController = t1; _._transaction_view$_focusNode = _._paymentFilterController = _._invoiceFilterController = null; _.___MatchDepositsState__payments_A = _.___MatchDepositsState__selectedInvoices_A = _.___MatchDepositsState__invoices_A = $; _._selectedPayment = null; _._showFilter = _._matchExisting = false; _._endDate = _._startDate = _._maxAmount = _._minAmount = ""; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _MatchDepositsState_initState_closure: function _MatchDepositsState_initState_closure(t0) { this.state = t0; }, _MatchDepositsState_updateInvoiceList_closure: function _MatchDepositsState_updateInvoiceList_closure(t0, t1) { this.$this = t0; this.state = t1; }, _MatchDepositsState_updateInvoiceList_closure0: function _MatchDepositsState_updateInvoiceList_closure0() { }, _MatchDepositsState_updatePaymentList_closure: function _MatchDepositsState_updatePaymentList_closure(t0, t1) { this.$this = t0; this.state = t1; }, _MatchDepositsState_updatePaymentList_closure0: function _MatchDepositsState_updatePaymentList_closure0() { }, _MatchDepositsState_build_closure: function _MatchDepositsState_build_closure(t0, t1) { this.state = t0; this.totalSelected = t1; }, _MatchDepositsState_build_closure0: function _MatchDepositsState_build_closure0(t0, t1) { this.totalSelected = t0; this.context = t1; }, _MatchDepositsState_build_closure1: function _MatchDepositsState_build_closure1(t0) { this.$this = t0; }, _MatchDepositsState_build__closure12: function _MatchDepositsState_build__closure12(t0, t1) { this.$this = t0; this.value = t1; }, _MatchDepositsState_build_closure2: function _MatchDepositsState_build_closure2(t0) { this.$this = t0; }, _MatchDepositsState_build__closure11: function _MatchDepositsState_build__closure11(t0) { this.$this = t0; }, _MatchDepositsState_build_closure3: function _MatchDepositsState_build_closure3(t0) { this.$this = t0; }, _MatchDepositsState_build__closure10: function _MatchDepositsState_build__closure10(t0) { this.$this = t0; }, _MatchDepositsState_build_closure4: function _MatchDepositsState_build_closure4(t0) { this.$this = t0; }, _MatchDepositsState_build__closure9: function _MatchDepositsState_build__closure9(t0) { this.$this = t0; }, _MatchDepositsState_build_closure5: function _MatchDepositsState_build_closure5(t0) { this.$this = t0; }, _MatchDepositsState_build__closure8: function _MatchDepositsState_build__closure8(t0) { this.$this = t0; }, _MatchDepositsState_build_closure6: function _MatchDepositsState_build_closure6(t0) { this.$this = t0; }, _MatchDepositsState_build__closure7: function _MatchDepositsState_build__closure7(t0) { this.$this = t0; }, _MatchDepositsState_build_closure7: function _MatchDepositsState_build_closure7(t0) { this.$this = t0; }, _MatchDepositsState_build__closure6: function _MatchDepositsState_build__closure6(t0) { this.$this = t0; }, _MatchDepositsState_build_closure8: function _MatchDepositsState_build_closure8(t0) { this.$this = t0; }, _MatchDepositsState_build__closure5: function _MatchDepositsState_build__closure5(t0, t1) { this.$this = t0; this.value = t1; }, _MatchDepositsState_build_closure9: function _MatchDepositsState_build_closure9(t0) { this.$this = t0; }, _MatchDepositsState_build__closure4: function _MatchDepositsState_build__closure4(t0, t1) { this.$this = t0; this.value = t1; }, _MatchDepositsState_build_closure10: function _MatchDepositsState_build_closure10(t0) { this.$this = t0; }, _MatchDepositsState_build__closure3: function _MatchDepositsState_build__closure3(t0, t1) { this.$this = t0; this.date = t1; }, _MatchDepositsState_build_closure11: function _MatchDepositsState_build_closure11(t0) { this.$this = t0; }, _MatchDepositsState_build__closure2: function _MatchDepositsState_build__closure2(t0, t1) { this.$this = t0; this.date = t1; }, _MatchDepositsState_build_closure13: function _MatchDepositsState_build_closure13() { }, _MatchDepositsState_build_closure12: function _MatchDepositsState_build_closure12(t0) { this.$this = t0; }, _MatchDepositsState_build__closure1: function _MatchDepositsState_build__closure1(t0, t1) { this.$this = t0; this.payment = t1; }, _MatchDepositsState_build___closure0: function _MatchDepositsState_build___closure0(t0, t1) { this.$this = t0; this.payment = t1; }, _MatchDepositsState_build_closure15: function _MatchDepositsState_build_closure15() { }, _MatchDepositsState_build_closure14: function _MatchDepositsState_build_closure14(t0) { this.$this = t0; }, _MatchDepositsState_build__closure0: function _MatchDepositsState_build__closure0(t0, t1) { this.$this = t0; this.invoice = t1; }, _MatchDepositsState_build___closure: function _MatchDepositsState_build___closure(t0, t1) { this.$this = t0; this.invoice = t1; }, _MatchDepositsState_build_closure16: function _MatchDepositsState_build_closure16(t0, t1) { this.$this = t0; this.context = t1; }, _MatchDepositsState_build_closure17: function _MatchDepositsState_build_closure17(t0, t1) { this.$this = t0; this.context = t1; }, _MatchDepositsState_build__closure: function _MatchDepositsState_build__closure() { }, _MatchWithdrawals: function _MatchWithdrawals(t0, t1) { this.viewModel = t0; this.key = t1; }, _MatchWithdrawalsState: function _MatchWithdrawalsState(t0, t1, t2, t3) { var _ = this; _._vendorScrollController = t0; _._categoryScrollController = t1; _._expenseScrollController = t2; _._showFilter = _._matchExisting = false; _._endDate = _._startDate = _._maxAmount = _._minAmount = ""; _._expenseFocusNode = _._categoryFocusNode = _._vendorFocusNode = _._expenseFilterController = _._categoryFilterController = _._vendorFilterController = null; _.___MatchWithdrawalsState__expenses_A = _.___MatchWithdrawalsState__categories_A = _.___MatchWithdrawalsState__vendors_A = $; _._selectedCategory = _._selectedVendor = null; _.___MatchWithdrawalsState__selectedExpenses_A = $; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _MatchWithdrawalsState_updateCategoryList_closure: function _MatchWithdrawalsState_updateCategoryList_closure(t0) { this.$this = t0; }, _MatchWithdrawalsState_updateCategoryList_closure0: function _MatchWithdrawalsState_updateCategoryList_closure0() { }, _MatchWithdrawalsState_updateVendorList_closure: function _MatchWithdrawalsState_updateVendorList_closure(t0) { this.$this = t0; }, _MatchWithdrawalsState_updateVendorList_closure0: function _MatchWithdrawalsState_updateVendorList_closure0() { }, _MatchWithdrawalsState_updateExpenseList_closure: function _MatchWithdrawalsState_updateExpenseList_closure(t0, t1) { this.$this = t0; this.state = t1; }, _MatchWithdrawalsState_updateExpenseList_closure0: function _MatchWithdrawalsState_updateExpenseList_closure0() { }, _MatchWithdrawalsState_build_closure: function _MatchWithdrawalsState_build_closure(t0) { this.totalSelected = t0; }, _MatchWithdrawalsState_build_closure0: function _MatchWithdrawalsState_build_closure0(t0, t1) { this.totalSelected = t0; this.context = t1; }, _MatchWithdrawalsState_build_closure1: function _MatchWithdrawalsState_build_closure1(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure18: function _MatchWithdrawalsState_build__closure18(t0, t1) { this.$this = t0; this.value = t1; }, _MatchWithdrawalsState_build_closure2: function _MatchWithdrawalsState_build_closure2(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure17: function _MatchWithdrawalsState_build__closure17(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure3: function _MatchWithdrawalsState_build_closure3(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure16: function _MatchWithdrawalsState_build__closure16(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure4: function _MatchWithdrawalsState_build_closure4(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure15: function _MatchWithdrawalsState_build__closure15(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure5: function _MatchWithdrawalsState_build_closure5(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure14: function _MatchWithdrawalsState_build__closure14(t0, t1) { this.$this = t0; this.value = t1; }, _MatchWithdrawalsState_build_closure6: function _MatchWithdrawalsState_build_closure6(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure13: function _MatchWithdrawalsState_build__closure13(t0, t1) { this.$this = t0; this.value = t1; }, _MatchWithdrawalsState_build_closure7: function _MatchWithdrawalsState_build_closure7(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure12: function _MatchWithdrawalsState_build__closure12(t0, t1) { this.$this = t0; this.date = t1; }, _MatchWithdrawalsState_build_closure8: function _MatchWithdrawalsState_build_closure8(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure11: function _MatchWithdrawalsState_build__closure11(t0, t1) { this.$this = t0; this.date = t1; }, _MatchWithdrawalsState_build_closure10: function _MatchWithdrawalsState_build_closure10() { }, _MatchWithdrawalsState_build_closure9: function _MatchWithdrawalsState_build_closure9(t0, t1, t2) { this.$this = t0; this.store = t1; this.transaction = t2; }, _MatchWithdrawalsState_build__closure10: function _MatchWithdrawalsState_build__closure10(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.expense = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build___closure3: function _MatchWithdrawalsState_build___closure3(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.expense = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build____closure1: function _MatchWithdrawalsState_build____closure1(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_____closure: function _MatchWithdrawalsState_build_____closure() { }, _MatchWithdrawalsState_build_closure11: function _MatchWithdrawalsState_build_closure11(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure9: function _MatchWithdrawalsState_build__closure9(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure12: function _MatchWithdrawalsState_build_closure12(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure8: function _MatchWithdrawalsState_build__closure8(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure13: function _MatchWithdrawalsState_build_closure13(t0, t1, t2, t3) { var _ = this; _.localization = t0; _.viewModel = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build__closure6: function _MatchWithdrawalsState_build__closure6(t0) { this.store = t0; }, _MatchWithdrawalsState_build__closure7: function _MatchWithdrawalsState_build__closure7(t0, t1) { this.store = t0; this.transaction = t1; }, _MatchWithdrawalsState_build___closure2: function _MatchWithdrawalsState_build___closure2(t0) { this.vendor = t0; }, _MatchWithdrawalsState_build_closure15: function _MatchWithdrawalsState_build_closure15() { }, _MatchWithdrawalsState_build_closure14: function _MatchWithdrawalsState_build_closure14(t0, t1, t2) { this.$this = t0; this.store = t1; this.transaction = t2; }, _MatchWithdrawalsState_build__closure5: function _MatchWithdrawalsState_build__closure5(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.vendor = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build___closure1: function _MatchWithdrawalsState_build___closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.vendor = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build____closure0: function _MatchWithdrawalsState_build____closure0(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure16: function _MatchWithdrawalsState_build_closure16(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure4: function _MatchWithdrawalsState_build__closure4(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure17: function _MatchWithdrawalsState_build_closure17(t0) { this.$this = t0; }, _MatchWithdrawalsState_build__closure3: function _MatchWithdrawalsState_build__closure3(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure18: function _MatchWithdrawalsState_build_closure18(t0, t1, t2, t3) { var _ = this; _.localization = t0; _.viewModel = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build__closure1: function _MatchWithdrawalsState_build__closure1(t0) { this.store = t0; }, _MatchWithdrawalsState_build__closure2: function _MatchWithdrawalsState_build__closure2(t0, t1) { this.store = t0; this.transaction = t1; }, _MatchWithdrawalsState_build___closure0: function _MatchWithdrawalsState_build___closure0(t0) { this.category = t0; }, _MatchWithdrawalsState_build_closure20: function _MatchWithdrawalsState_build_closure20() { }, _MatchWithdrawalsState_build_closure19: function _MatchWithdrawalsState_build_closure19(t0, t1, t2) { this.$this = t0; this.store = t1; this.transaction = t2; }, _MatchWithdrawalsState_build__closure0: function _MatchWithdrawalsState_build__closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.category = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build___closure: function _MatchWithdrawalsState_build___closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.category = t1; _.store = t2; _.transaction = t3; }, _MatchWithdrawalsState_build____closure: function _MatchWithdrawalsState_build____closure(t0) { this.$this = t0; }, _MatchWithdrawalsState_build_closure21: function _MatchWithdrawalsState_build_closure21(t0, t1) { this.$this = t0; this.context = t1; }, _MatchWithdrawalsState_build__closure: function _MatchWithdrawalsState_build__closure() { }, _MatchWithdrawalsState_build_closure22: function _MatchWithdrawalsState_build_closure22(t0, t1) { this.$this = t0; this.context = t1; }, TransactionViewVM_TransactionViewVM$fromStore(store) { var transactions, t3, t4, t5, transactionIds, t1 = {}, t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); transactions = A._setArrayType([], type$.JSArray_TransactionEntity); t3 = type$.JSArray_String; t1.transactionIds = A._setArrayType([], t3); t4 = t2.uiState.transactionUIState; t5 = t4.listUIState.selectedIds; if (t5 != null) t3 = t1.transactionIds = new A.CopyOnWriteList(true, t5._list$_list, t5.$ti._eval$1("CopyOnWriteList<1>")); else { t4 = t4.selectedId; if (t4 != null) { transactionIds = A._setArrayType([t4], t3); t1.transactionIds = transactionIds; t3 = transactionIds; } else { transactionIds = A._setArrayType([], t3); t1.transactionIds = transactionIds; t3 = transactionIds; } } J.forEach$1$ax(t3, new A.TransactionViewVM_TransactionViewVM$fromStore_closure(transactions, t2)); return new A.TransactionViewVM(t2, transactions, new A.TransactionViewVM_TransactionViewVM$fromStore_closure0(t1, store), new A.TransactionViewVM_TransactionViewVM$fromStore_closure1(t1, store, t2), new A.TransactionViewVM_TransactionViewVM$fromStore_closure2(t1, store), new A.TransactionViewVM_TransactionViewVM$fromStore_closure3(t1, store)); }, TransactionViewScreen: function TransactionViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, TransactionViewScreen_build_closure0: function TransactionViewScreen_build_closure0() { }, TransactionViewScreen_build_closure: function TransactionViewScreen_build_closure(t0) { this.$this = t0; }, TransactionViewScreen_build__closure: function TransactionViewScreen_build__closure() { }, TransactionViewVM: function TransactionViewVM(t0, t1, t2, t3, t4, t5) { var _ = this; _.state = t0; _.transactions = t1; _.onConvertToPayment = t2; _.onConvertToExpense = t3; _.onLinkToPayment = t4; _.onLinkToExpense = t5; }, TransactionViewVM_TransactionViewVM$fromStore_closure: function TransactionViewVM_TransactionViewVM$fromStore_closure(t0, t1) { this.transactions = t0; this.state = t1; }, TransactionViewVM_TransactionViewVM$fromStore_closure2: function TransactionViewVM_TransactionViewVM$fromStore_closure2(t0, t1) { this._box_0 = t0; this.store = t1; }, TransactionViewVM_TransactionViewVM$fromStore_closure3: function TransactionViewVM_TransactionViewVM$fromStore_closure3(t0, t1) { this._box_0 = t0; this.store = t1; }, TransactionViewVM_TransactionViewVM$fromStore_closure0: function TransactionViewVM_TransactionViewVM$fromStore_closure0(t0, t1) { this._box_0 = t0; this.store = t1; }, TransactionViewVM_TransactionViewVM$fromStore_closure1: function TransactionViewVM_TransactionViewVM$fromStore_closure1(t0, t1, t2) { this._box_0 = t0; this.store = t1; this.state = t2; }, TransactionViewVM_TransactionViewVM$fromStore__closure: function TransactionViewVM_TransactionViewVM$fromStore__closure(t0, t1) { this.state = t0; this.store = t1; }, TransactionRuleEdit: function TransactionRuleEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _TransactionRuleEditState: function _TransactionRuleEditState(t0, t1, t2, t3) { var _ = this; _._transaction_rule_edit$_debouncer = t0; _._nameController = t1; _._transaction_rule_edit$_controllers = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _TransactionRuleEditState_didChangeDependencies_closure: function _TransactionRuleEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _TransactionRuleEditState_didChangeDependencies_closure0: function _TransactionRuleEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _TransactionRuleEditState_dispose_closure: function _TransactionRuleEditState_dispose_closure(t0) { this.$this = t0; }, _TransactionRuleEditState__onChanged_closure: function _TransactionRuleEditState__onChanged_closure(t0) { this.$this = t0; }, _TransactionRuleEditState__onChanged__closure: function _TransactionRuleEditState__onChanged__closure(t0) { this.$this = t0; }, _TransactionRuleEditState_build_closure0: function _TransactionRuleEditState_build_closure0(t0) { this.viewModel = t0; }, _TransactionRuleEditState_build_closure1: function _TransactionRuleEditState_build_closure1(t0) { this.$this = t0; }, _TransactionRuleEditState_build_closure: function _TransactionRuleEditState_build_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.$this = t0; _.localization = t1; _.transactionRule = t2; _.viewModel = t3; _.textStyle = t4; _.state = t5; _.store = t6; }, _TransactionRuleEditState_build__closure: function _TransactionRuleEditState_build__closure(t0) { this.$this = t0; }, _TransactionRuleEditState_build__closure0: function _TransactionRuleEditState_build__closure0(t0) { this.localization = t0; }, _TransactionRuleEditState_build__closure1: function _TransactionRuleEditState_build__closure1(t0, t1) { this.viewModel = t0; this.transactionRule = t1; }, _TransactionRuleEditState_build___closure9: function _TransactionRuleEditState_build___closure9(t0) { this.value = t0; }, _TransactionRuleEditState_build__closure2: function _TransactionRuleEditState_build__closure2(t0, t1) { this.viewModel = t0; this.transactionRule = t1; }, _TransactionRuleEditState_build___closure8: function _TransactionRuleEditState_build___closure8(t0) { this.value = t0; }, _TransactionRuleEditState_build__closure3: function _TransactionRuleEditState_build__closure3(t0, t1, t2, t3) { var _ = this; _.context = t0; _.rule = t1; _.transactionRule = t2; _.viewModel = t3; }, _TransactionRuleEditState_build___closure6: function _TransactionRuleEditState_build___closure6(t0, t1) { this.rule = t0; this.transactionRule = t1; }, _TransactionRuleEditState_build___closure7: function _TransactionRuleEditState_build___closure7(t0, t1) { this.index = t0; this.updatedRule = t1; }, _TransactionRuleEditState_build__closure4: function _TransactionRuleEditState_build__closure4(t0, t1, t2) { this.viewModel = t0; this.transactionRule = t1; this.rule = t2; }, _TransactionRuleEditState_build___closure5: function _TransactionRuleEditState_build___closure5(t0) { this.rule = t0; }, _TransactionRuleEditState_build__closure5: function _TransactionRuleEditState_build__closure5(t0, t1, t2) { this.context = t0; this.transactionRule = t1; this.viewModel = t2; }, _TransactionRuleEditState_build___closure3: function _TransactionRuleEditState_build___closure3(t0) { this.transactionRule = t0; }, _TransactionRuleEditState_build___closure4: function _TransactionRuleEditState_build___closure4(t0) { this.rule = t0; }, _TransactionRuleEditState_build__closure7: function _TransactionRuleEditState_build__closure7(t0, t1) { this.viewModel = t0; this.transactionRule = t1; }, _TransactionRuleEditState_build___closure1: function _TransactionRuleEditState_build___closure1(t0) { this.vendor = t0; }, _TransactionRuleEditState_build__closure6: function _TransactionRuleEditState_build__closure6(t0) { this.store = t0; }, _TransactionRuleEditState_build___closure2: function _TransactionRuleEditState_build___closure2(t0) { this.name = t0; }, _TransactionRuleEditState_build__closure9: function _TransactionRuleEditState_build__closure9(t0, t1) { this.viewModel = t0; this.transactionRule = t1; }, _TransactionRuleEditState_build___closure: function _TransactionRuleEditState_build___closure(t0) { this.category = t0; }, _TransactionRuleEditState_build__closure8: function _TransactionRuleEditState_build__closure8(t0) { this.store = t0; }, _TransactionRuleEditState_build___closure0: function _TransactionRuleEditState_build___closure0(t0) { this.name = t0; }, _RuleCriteria: function _RuleCriteria(t0, t1, t2) { this.criteria = t0; this.type = t1; this.key = t2; }, __RuleCriteriaState: function __RuleCriteriaState(t0) { var _ = this; _._widget = _._criteria = null; _._debugLifecycleState = t0; _._framework$_element = null; }, __RuleCriteriaState_build_closure: function __RuleCriteriaState_build_closure(t0) { this.$this = t0; }, __RuleCriteriaState_build__closure2: function __RuleCriteriaState_build__closure2(t0, t1) { this.$this = t0; this.value = t1; }, __RuleCriteriaState_build___closure2: function __RuleCriteriaState_build___closure2(t0) { this.value = t0; }, __RuleCriteriaState_build_closure0: function __RuleCriteriaState_build_closure0(t0) { this.$this = t0; }, __RuleCriteriaState_build__closure1: function __RuleCriteriaState_build__closure1(t0, t1) { this.$this = t0; this.value = t1; }, __RuleCriteriaState_build___closure1: function __RuleCriteriaState_build___closure1(t0) { this.value = t0; }, __RuleCriteriaState_build_closure1: function __RuleCriteriaState_build_closure1(t0) { this.$this = t0; }, __RuleCriteriaState_build__closure0: function __RuleCriteriaState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, __RuleCriteriaState_build___closure0: function __RuleCriteriaState_build___closure0(t0) { this.value = t0; }, __RuleCriteriaState_build_closure2: function __RuleCriteriaState_build_closure2(t0) { this.$this = t0; }, __RuleCriteriaState_build_closure3: function __RuleCriteriaState_build_closure3(t0) { this.localization = t0; }, __RuleCriteriaState_build_closure4: function __RuleCriteriaState_build_closure4(t0) { this.$this = t0; }, __RuleCriteriaState_build__closure: function __RuleCriteriaState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, __RuleCriteriaState_build___closure: function __RuleCriteriaState_build___closure(t0) { this.value = t0; }, __RuleCriteriaState_build_closure5: function __RuleCriteriaState_build_closure5(t0) { this.context = t0; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore(store) { var t2, transactionRule, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; transactionRule = t2.transactionRuleUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].transactionRuleState.map._map$_map.$index(0, transactionRule.id); return new A.TransactionRuleEditVM(transactionRule, new A.TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure(store), new A.TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure0(store, t1), new A.TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure1(t1, store), t1); }, TransactionRuleEditScreen: function TransactionRuleEditScreen(t0) { this.key = t0; }, TransactionRuleEditScreen_build_closure0: function TransactionRuleEditScreen_build_closure0() { }, TransactionRuleEditScreen_build_closure: function TransactionRuleEditScreen_build_closure() { }, TransactionRuleEditVM: function TransactionRuleEditVM(t0, t1, t2, t3, t4) { var _ = this; _.transactionRule = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure(t0) { this.store = t0; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure1: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure0: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore__closure: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore__closure(t0, t1, t2) { this.store = t0; this.context = t1; this.state = t2; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore___closure: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.transactionRule = t0; _.localization = t1; _.state = t2; _.store = t3; _.context = t4; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore___closure0: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore___closure0(t0) { this.context = t0; }, TransactionRuleEditVM_TransactionRuleEditVM$fromStore____closure: function TransactionRuleEditVM_TransactionRuleEditVM$fromStore____closure(t0) { this.error = t0; }, TransactionRuleListItem: function TransactionRuleListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.transactionRule = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, TransactionRuleListItem_build_closure1: function TransactionRuleListItem_build_closure1(t0) { this.$this = t0; }, TransactionRuleListItem_build_closure0: function TransactionRuleListItem_build_closure0(t0) { this.$this = t0; }, TransactionRuleListItem_build_closure: function TransactionRuleListItem_build_closure(t0) { this.$this = t0; }, TransactionRuleListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTransactionRuleList(); t3 = t1.getUISelection$1(B.EntityType_transactionRule); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].transactionRuleState; t5 = t5.transactionRuleUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.transactionRuleState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_transactionRule); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.TransactionRuleListVM(t1, t7, t4.map, t5.filter, new A.TransactionRuleListVM_fromStore_closure(new A.TransactionRuleListVM_fromStore__handleRefresh(store)), t2, new A.TransactionRuleListVM_fromStore_closure0(store), new A.TransactionRuleListVM_fromStore_closure1(store)); }, TransactionRuleListBuilder: function TransactionRuleListBuilder(t0) { this.key = t0; }, TransactionRuleListBuilder_build_closure: function TransactionRuleListBuilder_build_closure() { }, TransactionRuleListBuilder_build__closure: function TransactionRuleListBuilder_build__closure(t0) { this.viewModel = t0; }, TransactionRuleListVM: function TransactionRuleListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.transactionRuleList = t1; _.transactionRuleMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, TransactionRuleListVM_fromStore__handleRefresh: function TransactionRuleListVM_fromStore__handleRefresh(t0) { this.store = t0; }, TransactionRuleListVM_fromStore_closure: function TransactionRuleListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, TransactionRuleListVM_fromStore_closure0: function TransactionRuleListVM_fromStore_closure0(t0) { this.store = t0; }, TransactionRuleListVM_fromStore_closure1: function TransactionRuleListVM_fromStore_closure1(t0) { this.store = t0; }, TransactionRulePresenter: function TransactionRulePresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, TransactionRuleScreen: function TransactionRuleScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, TransactionRuleScreen_build_closure10: function TransactionRuleScreen_build_closure10(t0) { this.store = t0; }, TransactionRuleScreen_build_closure7: function TransactionRuleScreen_build_closure7(t0) { this.store = t0; }, TransactionRuleScreen_build_closure8: function TransactionRuleScreen_build_closure8(t0) { this.store = t0; }, TransactionRuleScreen_build_closure9: function TransactionRuleScreen_build_closure9(t0) { this.store = t0; }, TransactionRuleScreen_build_closure4: function TransactionRuleScreen_build_closure4(t0) { this.store = t0; }, TransactionRuleScreen_build_closure5: function TransactionRuleScreen_build_closure5(t0) { this.store = t0; }, TransactionRuleScreen_build_closure: function TransactionRuleScreen_build_closure(t0) { this.store = t0; }, TransactionRuleScreen_build_closure0: function TransactionRuleScreen_build_closure0(t0) { this.store = t0; }, TransactionRuleScreen_build_closure1: function TransactionRuleScreen_build_closure1(t0) { this.store = t0; }, TransactionRuleScreen_build_closure2: function TransactionRuleScreen_build_closure2(t0) { this.store = t0; }, TransactionRuleScreen_build_closure3: function TransactionRuleScreen_build_closure3(t0) { this.store = t0; }, TransactionRuleScreen_build_closure6: function TransactionRuleScreen_build_closure6(t0) { this.context = t0; }, TransactionRuleScreenVM_fromStore(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredTransactionRuleList(); t3 = t1.getUISelection$1(B.EntityType_transactionRule); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].transactionRuleState; return new A.TransactionRuleScreenVM(t2.call$4(t3, t4.map, t4.list, t1.transactionRuleUIState.listUIState)); }, TransactionRuleScreenBuilder: function TransactionRuleScreenBuilder(t0) { this.key = t0; }, TransactionRuleScreenBuilder_build_closure: function TransactionRuleScreenBuilder_build_closure() { }, TransactionRuleScreenVM: function TransactionRuleScreenVM(t0) { this.transactionRuleList = t0; }, TransactionRuleView: function TransactionRuleView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _TransactionRuleViewState: function _TransactionRuleViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _TransactionRuleViewState_build_closure: function _TransactionRuleViewState_build_closure(t0) { this.viewModel = t0; }, TransactionRuleViewVM_TransactionRuleViewVM$fromStore(store) { var t2, t3, t4, transactionRule, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.transactionRuleUIState.selectedId; transactionRule = t2._list$_list[t3.selectedCompanyIndex].transactionRuleState.map._map$_map.$index(0, t4); if (transactionRule == null) transactionRule = A.TransactionRuleEntity_TransactionRuleEntity(t4, null); transactionRule.get$isNew(); return new A.TransactionRuleViewVM(t1, transactionRule, new A.TransactionRuleViewVM_TransactionRuleViewVM$fromStore_closure(store)); }, TransactionRuleViewScreen: function TransactionRuleViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, TransactionRuleViewScreen_build_closure0: function TransactionRuleViewScreen_build_closure0() { }, TransactionRuleViewScreen_build_closure: function TransactionRuleViewScreen_build_closure(t0) { this.$this = t0; }, TransactionRuleViewVM: function TransactionRuleViewVM(t0, t1, t2) { this.state = t0; this.transactionRule = t1; this.onBackPressed = t2; }, TransactionRuleViewVM_TransactionRuleViewVM$fromStore_closure: function TransactionRuleViewVM_TransactionRuleViewVM$fromStore_closure(t0) { this.store = t0; }, UserEdit: function UserEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _UserEditState: function _UserEditState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _._user_edit$_debouncer = t0; _._user_edit$_focusNode = t1; _._user_edit$_controller = null; _._firstNameController = t2; _._lastNameController = t3; _._phoneController = t4; _._emailController = t5; _._custom1Controller = t6; _._custom2Controller = t7; _._custom3Controller = t8; _._custom4Controller = t9; _._user_edit$_controllers = t10; _.SingleTickerProviderStateMixin__ticker = t11; _.SingleTickerProviderStateMixin__tickerModeNotifier = t12; _._widget = null; _._debugLifecycleState = t13; _._framework$_element = null; }, _UserEditState_didChangeDependencies_closure: function _UserEditState_didChangeDependencies_closure(t0) { this.$this = t0; }, _UserEditState_didChangeDependencies_closure0: function _UserEditState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _UserEditState_dispose_closure: function _UserEditState_dispose_closure(t0) { this.$this = t0; }, _UserEditState__onChanged_closure: function _UserEditState__onChanged_closure(t0) { this.$this = t0; }, _UserEditState__onChanged_closure0: function _UserEditState__onChanged_closure0(t0, t1) { this.$this = t0; this.user = t1; }, _UserEditState__togglePermission_closure: function _UserEditState__togglePermission_closure() { }, _UserEditState__togglePermission_closure0: function _UserEditState__togglePermission_closure0(t0) { this.permissionsString = t0; }, _UserEditState_build_closure16: function _UserEditState_build_closure16(t0) { this.viewModel = t0; }, _UserEditState_build_closure: function _UserEditState_build_closure(t0) { this.localization = t0; }, _UserEditState_build_closure0: function _UserEditState_build_closure0(t0) { this.localization = t0; }, _UserEditState_build_closure1: function _UserEditState_build_closure1(t0) { this.localization = t0; }, _UserEditState_build_closure2: function _UserEditState_build_closure2(t0, t1) { this.viewModel = t0; this.user = t1; }, _UserEditState_build__closure14: function _UserEditState_build__closure14(t0, t1) { this.channel = t0; this.options = t1; }, _UserEditState_build_closure3: function _UserEditState_build_closure3(t0, t1) { this.viewModel = t0; this.user = t1; }, _UserEditState_build__closure13: function _UserEditState_build__closure13(t0) { this.value = t0; }, _UserEditState_build_closure4: function _UserEditState_build_closure4(t0, t1, t2) { this.userCompany = t0; this.viewModel = t1; this.user = t2; }, _UserEditState_build__closure11: function _UserEditState_build__closure11() { }, _UserEditState_build__closure12: function _UserEditState_build__closure12(t0) { this.permissions = t0; }, _UserEditState_build_closure5: function _UserEditState_build_closure5(t0, t1, t2) { this.userCompany = t0; this.viewModel = t1; this.user = t2; }, _UserEditState_build__closure9: function _UserEditState_build__closure9() { }, _UserEditState_build__closure10: function _UserEditState_build__closure10(t0) { this.permissions = t0; }, _UserEditState_build_closure6: function _UserEditState_build_closure6(t0, t1, t2) { this.userCompany = t0; this.viewModel = t1; this.user = t2; }, _UserEditState_build__closure7: function _UserEditState_build__closure7() { }, _UserEditState_build__closure8: function _UserEditState_build__closure8(t0) { this.permissions = t0; }, _UserEditState_build_closure7: function _UserEditState_build_closure7(t0) { this.$this = t0; }, _UserEditState_build__closure6: function _UserEditState_build__closure6(t0) { this.$this = t0; }, _UserEditState_build___closure0: function _UserEditState_build___closure0(t0) { this.$this = t0; }, _UserEditState_build_closure8: function _UserEditState_build_closure8(t0) { this.$this = t0; }, _UserEditState_build_closure9: function _UserEditState_build_closure9(t0) { this.$this = t0; }, _UserEditState_build_closure10: function _UserEditState_build_closure10(t0) { this.$this = t0; }, _UserEditState_build_closure11: function _UserEditState_build_closure11(t0) { this.$this = t0; }, _UserEditState_build_closure12: function _UserEditState_build_closure12(t0) { this.$this = t0; }, _UserEditState_build_closure13: function _UserEditState_build_closure13(t0) { this.$this = t0; }, _UserEditState_build_closure14: function _UserEditState_build_closure14(t0) { this.state = t0; }, _UserEditState_build_closure15: function _UserEditState_build_closure15(t0, t1, t2) { this.$this = t0; this.localization = t1; this.userCompany = t2; }, _UserEditState_build__closure: function _UserEditState_build__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.createPermission = t1; _.viewPermission = t2; _.editPermission = t3; }, _UserEditState_build___closure: function _UserEditState_build___closure(t0, t1, t2) { this.$this = t0; this.viewPermission = t1; this.editPermission = t2; }, _UserEditState_build____closure: function _UserEditState_build____closure(t0, t1) { this.$this = t0; this.editPermission = t1; }, _UserEditState_build__closure1: function _UserEditState_build__closure1(t0, t1) { this.$this = t0; this.createPermission = t1; }, _UserEditState_build__closure0: function _UserEditState_build__closure0(t0, t1) { this.$this = t0; this.createPermission = t1; }, _UserEditState_build__closure3: function _UserEditState_build__closure3(t0, t1) { this.$this = t0; this.viewPermission = t1; }, _UserEditState_build__closure2: function _UserEditState_build__closure2(t0, t1) { this.$this = t0; this.viewPermission = t1; }, _UserEditState_build__closure5: function _UserEditState_build__closure5(t0, t1) { this.$this = t0; this.editPermission = t1; }, _UserEditState_build__closure4: function _UserEditState_build__closure4(t0, t1) { this.$this = t0; this.editPermission = t1; }, _PermissionCheckbox: function _PermissionCheckbox(t0, t1, t2, t3, t4) { var _ = this; _.userCompany = t0; _.permission = t1; _.onChanged = t2; _.checkAll = t3; _.key = t4; }, __UserEditState_State_SingleTickerProviderStateMixin: function __UserEditState_State_SingleTickerProviderStateMixin() { }, UserEditVM_UserEditVM$fromStore(store) { var t2, user, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; user = t2.userUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userState.map._map$_map.$index(0, user.id); return new A.UserEditVM(user, new A.UserEditVM_UserEditVM$fromStore_closure(store), new A.UserEditVM_UserEditVM$fromStore_closure0(store, t1), new A.UserEditVM_UserEditVM$fromStore_closure1(store, t1), t1); }, 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) { var _ = this; _.user = t0; _.onUserChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, 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; }, UserListItem: function UserListItem(t0, t1, t2, t3) { var _ = this; _.user = t0; _.onLongPress = t1; _.filter = t2; _.key = t3; }, UserListItem_build_closure1: function UserListItem_build_closure1(t0) { this.$this = t0; }, UserListItem_build_closure0: function UserListItem_build_closure0(t0) { this.$this = t0; }, UserListItem_build_closure: function UserListItem_build_closure(t0) { this.$this = t0; }, UserListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredUserList(); t3 = t1.getUISelection$1(B.EntityType_user); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.userState; t5 = t5.userUIState.listUIState; return new A.UserListVM(t1, t2.call$5(t3, t8.map, t8.list, t5, t7.userCompany.user.id), t4[t6].userState.map, t5.filter, new A.UserListVM_fromStore_closure(new A.UserListVM_fromStore__handleRefresh(store)), new A.UserListVM_fromStore_closure0(store), new A.UserListVM_fromStore_closure1(store)); }, UserListBuilder: function UserListBuilder(t0) { this.key = t0; }, UserListBuilder_build_closure: function UserListBuilder_build_closure() { }, UserListBuilder_build__closure: function UserListBuilder_build__closure(t0) { this.viewModel = t0; }, UserListBuilder_build__closure_showDialog: function UserListBuilder_build__closure_showDialog(t0) { this.user = t0; }, UserListBuilder_build___closure: function UserListBuilder_build___closure(t0) { this.showDialog = t0; }, UserListVM: function UserListVM(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.state = t0; _.userList = t1; _.userMap = t2; _.filter = t3; _.onRefreshed = t4; _.onSortColumn = t5; _.onClearMultielsect = t6; }, UserListVM_fromStore__handleRefresh: function UserListVM_fromStore__handleRefresh(t0) { this.store = t0; }, UserListVM_fromStore_closure: function UserListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, UserListVM_fromStore_closure0: function UserListVM_fromStore_closure0(t0) { this.store = t0; }, UserListVM_fromStore_closure1: function UserListVM_fromStore_closure1(t0) { this.store = t0; }, UserScreen: function UserScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, UserScreen_build_closure10: function UserScreen_build_closure10(t0) { this.store = t0; }, UserScreen_build_closure7: function UserScreen_build_closure7(t0) { this.store = t0; }, UserScreen_build_closure8: function UserScreen_build_closure8(t0) { this.store = t0; }, UserScreen_build_closure9: function UserScreen_build_closure9(t0) { this.store = t0; }, UserScreen_build_closure4: function UserScreen_build_closure4(t0) { this.store = t0; }, UserScreen_build_closure0: function UserScreen_build_closure0(t0) { this.store = t0; }, UserScreen_build_closure1: function UserScreen_build_closure1(t0) { this.store = t0; }, UserScreen_build_closure2: function UserScreen_build_closure2(t0) { this.store = t0; }, UserScreen_build_closure3: function UserScreen_build_closure3(t0) { this.store = t0; }, UserScreen_build_closure5: function UserScreen_build_closure5(t0) { this.store = t0; }, UserScreen_build_closure: function UserScreen_build_closure(t0) { this.store = t0; }, UserScreen_build_closure6: function UserScreen_build_closure6(t0) { this.context = t0; }, UserScreenVM_fromStore(store) { var t2, t3, t4, t5, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredUserList(); t3 = t1.getUISelection$1(B.EntityType_user); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex]; t5 = t4.userState; return new A.UserScreenVM(t2.call$5(t3, t5.map, t5.list, t1.userUIState.listUIState, t4.userCompany.user.id)); }, UserScreenBuilder: function UserScreenBuilder(t0) { this.key = t0; }, UserScreenBuilder_build_closure: function UserScreenBuilder_build_closure() { }, UserScreenVM: function UserScreenVM(t0) { this.userList = t0; }, UserView: function UserView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, UserView_build_closure: function UserView_build_closure(t0) { this.$this = t0; }, UserViewVM_UserViewVM$fromStore(store) { var t2, t3, t4, user, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.userUIState.selectedId; user = t2._list$_list[t3.selectedCompanyIndex].userState.map._map$_map.$index(0, t4); if (user == null) user = A.UserEntity_UserEntity(t4, null, null); user.get$isNew(); return new A.UserViewVM(t1, user, new A.UserViewVM_UserViewVM$fromStore_closure(store)); }, UserViewScreen: function UserViewScreen(t0, t1) { this.isFilter = t0; this.key = t1; }, UserViewScreen_build_closure0: function UserViewScreen_build_closure0() { }, UserViewScreen_build_closure: function UserViewScreen_build_closure(t0) { this.$this = t0; }, UserViewVM: function UserViewVM(t0, t1, t2) { this.state = t0; this.user = t1; this.onBackPressed = t2; }, UserViewVM_UserViewVM$fromStore_closure: function UserViewVM_UserViewVM$fromStore_closure(t0) { this.store = t0; }, VendorEdit: function VendorEdit(t0, t1) { this.viewModel = t0; this.key = t1; }, _VendorEditState: function _VendorEditState(t0, t1, t2) { var _ = this; _._vendor_edit$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _VendorEditState_build_closure: function _VendorEditState_build_closure(t0) { this.viewModel = t0; }, _VendorEditState_build_closure0: function _VendorEditState_build_closure0(t0) { this.viewModel = t0; }, __VendorEditState_State_SingleTickerProviderStateMixin: function __VendorEditState_State_SingleTickerProviderStateMixin() { }, VendorEditAddress: function VendorEditAddress(t0, t1) { this.viewModel = t0; this.key = t1; }, VendorEditAddressState: function VendorEditAddressState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._vendor_edit_address$_address1Controller = t0; _._vendor_edit_address$_address2Controller = t1; _._vendor_edit_address$_cityController = t2; _._vendor_edit_address$_stateController = t3; _._vendor_edit_address$_postalCodeController = t4; _._vendor_edit_address$_controllers = t5; _._vendor_edit_address$_debouncer = t6; _._widget = null; _._debugLifecycleState = t7; _._framework$_element = null; }, VendorEditAddressState_didChangeDependencies_closure: function VendorEditAddressState_didChangeDependencies_closure(t0) { this.$this = t0; }, VendorEditAddressState_didChangeDependencies_closure0: function VendorEditAddressState_didChangeDependencies_closure0(t0) { this.$this = t0; }, VendorEditAddressState_dispose_closure: function VendorEditAddressState_dispose_closure(t0) { this.$this = t0; }, VendorEditAddressState__onChanged_closure: function VendorEditAddressState__onChanged_closure(t0) { this.$this = t0; }, VendorEditAddressState__onChanged_closure0: function VendorEditAddressState__onChanged_closure0(t0, t1) { this.$this = t0; this.vendor = t1; }, VendorEditAddressState_build_closure: function VendorEditAddressState_build_closure(t0, t1) { this.viewModel = t0; this.vendor = t1; }, VendorEditAddressState_build__closure: function VendorEditAddressState_build__closure(t0) { this.country = 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, t7, t8, t9, t10, t11) { var _ = this; _._vendor_edit_contacts$_firstNameController = t0; _._vendor_edit_contacts$_lastNameController = t1; _._vendor_edit_contacts$_emailController = t2; _._vendor_edit_contacts$_passwordController = t3; _._vendor_edit_contacts$_phoneController = t4; _._vendor_edit_contacts$_custom1Controller = t5; _._vendor_edit_contacts$_custom2Controller = t6; _._vendor_edit_contacts$_custom3Controller = t7; _._vendor_edit_contacts$_custom4Controller = t8; _._vendor_edit_contacts$_debouncer = t9; _._vendor_edit_contacts$_controllers = t10; _._widget = _._contact = null; _._debugLifecycleState = t11; _._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_closure4: function VendorContactEditDetailsState_build_closure4(t0) { this.localization = t0; }, VendorContactEditDetailsState_build_closure3: function VendorContactEditDetailsState_build_closure3(t0) { this.$this = t0; }, VendorContactEditDetailsState_build_closure5: function VendorContactEditDetailsState_build_closure5(t0) { this.$this = t0; }, VendorContactEditDetailsState_build_closure6: function VendorContactEditDetailsState_build_closure6(t0) { this.$this = t0; }, VendorContactEditDetailsState_build_closure7: function VendorContactEditDetailsState_build_closure7(t0) { this.$this = t0; }, VendorContactEditDetailsState_build_closure8: function VendorContactEditDetailsState_build_closure8(t0) { this.$this = t0; }, VendorContactEditDetailsState_build_closure9: function VendorContactEditDetailsState_build_closure9(t0) { this.$this = t0; }, VendorContactEditDetailsState_build_closure10: function VendorContactEditDetailsState_build_closure10(t0, t1) { this.$this = t0; this.viewModel = t1; }, VendorContactEditDetailsState_build__closure0: function VendorContactEditDetailsState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, VendorContactEditDetailsState_build___closure: function VendorContactEditDetailsState_build___closure(t0) { this.value = t0; }, VendorContactEditDetailsState_build__closure1: function VendorContactEditDetailsState_build__closure1(t0) { this.value = t0; }, VendorContactEditDetailsState_build_closure11: function VendorContactEditDetailsState_build_closure11(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_closure12: function VendorContactEditDetailsState_build_closure12(t0, t1) { this.viewModel = t0; this.context = t1; }, VendorEditContactsVM_VendorEditContactsVM$fromStore(store) { var t2, t3, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; t3 = t2.vendorUIState; return new A.VendorEditContactsVM(t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].userCompany.company, t3.editing, t3.editingContact, new A.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure(store), new A.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure0(store), new A.VendorEditContactsVM_VendorEditContactsVM$fromStore_closure1(store), new A.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; }, VendorEditDesktop: function VendorEditDesktop(t0, t1) { this.viewModel = t0; this.key = t1; }, 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; _.__VendorEditDetailsState__controllers_A = $; _._widget = 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__closure1: function VendorEditDetailsState_build__closure1(t0) { this.userId = t0; }, VendorEditDetailsState_build_closure2: function VendorEditDetailsState_build_closure2(t0, t1) { this.viewModel = t0; this.vendor = t1; }, VendorEditDetailsState_build__closure0: function VendorEditDetailsState_build__closure0(t0) { this.value = t0; }, VendorEditDetailsState_build_closure1: function VendorEditDetailsState_build_closure1(t0) { this.localization = t0; }, VendorEditDetailsState_build_closure3: function VendorEditDetailsState_build_closure3(t0, t1) { this.viewModel = t0; this.vendor = t1; }, VendorEditDetailsState_build__closure: function VendorEditDetailsState_build__closure(t0) { this.value = t0; }, VendorEditFooter: function VendorEditFooter(t0, t1) { this.vendor = t0; this.key = t1; }, VendorEditFooter_build_closure: function VendorEditFooter_build_closure(t0) { this.store = t0; }, 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; _.__VendorEditNotesState__controllers_A = $; _._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; }, VendorEditSettings: function VendorEditSettings(t0, t1) { this.viewModel = t0; this.key = t1; }, VendorEditSettingsState: function VendorEditSettingsState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, VendorEditSettingsState_build_closure: function VendorEditSettingsState_build_closure(t0, t1) { this.viewModel = t0; this.vendor = t1; }, VendorEditSettingsState_build__closure0: function VendorEditSettingsState_build__closure0(t0) { this.currency = t0; }, VendorEditSettingsState_build_closure0: function VendorEditSettingsState_build_closure0(t0, t1) { this.viewModel = t0; this.vendor = t1; }, VendorEditSettingsState_build__closure: function VendorEditSettingsState_build__closure(t0) { this.language = t0; }, VendorEditVM_VendorEditVM$fromStore(store) { var t2, vendor, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; vendor = t2.vendorUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].vendorState.map._map$_map.$index(0, vendor.id); return new A.VendorEditVM(vendor, new A.VendorEditVM_VendorEditVM$fromStore_closure(store), new A.VendorEditVM_VendorEditVM$fromStore_closure0(store, t1), new A.VendorEditVM_VendorEditVM$fromStore_closure1(t1, store), t1); }, VendorEditScreen: function VendorEditScreen(t0) { this.key = t0; }, VendorEditScreen_build_closure0: function VendorEditScreen_build_closure0() { }, VendorEditScreen_build_closure: function VendorEditScreen_build_closure() { }, VendorEditVM: function VendorEditVM(t0, t1, t2, t3, t4) { var _ = this; _.vendor = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, VendorEditVM_VendorEditVM$fromStore_closure: function VendorEditVM_VendorEditVM$fromStore_closure(t0) { this.store = t0; }, VendorEditVM_VendorEditVM$fromStore_closure1: function VendorEditVM_VendorEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, VendorEditVM_VendorEditVM$fromStore_closure0: function VendorEditVM_VendorEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, VendorEditVM_VendorEditVM$fromStore__closure: function VendorEditVM_VendorEditVM$fromStore__closure(t0, t1) { this.store = t0; this.state = t1; }, VendorEditVM_VendorEditVM$fromStore___closure: function VendorEditVM_VendorEditVM$fromStore___closure(t0) { this.localization = t0; }, VendorEditVM_VendorEditVM$fromStore___closure0: function VendorEditVM_VendorEditVM$fromStore___closure0(t0, t1, t2, t3, t4) { var _ = this; _.vendor = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, VendorEditVM_VendorEditVM$fromStore___closure1: function VendorEditVM_VendorEditVM$fromStore___closure1() { }, VendorEditVM_VendorEditVM$fromStore____closure: function VendorEditVM_VendorEditVM$fromStore____closure(t0) { this.error = t0; }, VendorListItem$(filter, isChecked, onTap, showCheck, vendor) { return new A.VendorListItem(onTap, vendor, filter, isChecked, showCheck, null); }, VendorListItem: function VendorListItem(t0, t1, t2, t3, t4, t5) { var _ = this; _.onTap = t0; _.vendor = t1; _.filter = t2; _.isChecked = t3; _.showCheck = t4; _.key = t5; }, VendorListItem_build_closure: function VendorListItem_build_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.state = t1; _.textStyle = t2; _.documents = t3; _.filterMatch = t4; _.textColor = t5; }, VendorListItem_build__closure2: function VendorListItem_build__closure2(t0) { this.$this = t0; }, VendorListItem_build__closure1: function VendorListItem_build__closure1(t0) { this.$this = t0; }, VendorListItem_build__closure: function VendorListItem_build__closure() { }, VendorListItem_build__closure0: function VendorListItem_build__closure0(t0) { this.$this = t0; }, VendorListItem_build__closure5: function VendorListItem_build__closure5(t0) { this.$this = t0; }, VendorListItem_build__closure4: function VendorListItem_build__closure4(t0) { this.$this = t0; }, VendorListItem_build__closure3: function VendorListItem_build__closure3() { }, VendorListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t8, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredVendorList(); t3 = t1.getUISelection$1(B.EntityType_vendor); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6]; t8 = t7.vendorState; t5 = t5.vendorUIState.listUIState; t7 = t2.call$6(t3, t8.map, t8.list, t5, t7.userState.map, t1.staticState); t6 = t4[t6]; t4 = t6.vendorState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_vendor); t2 = t6 == null ? A._setArrayType(["number", "name", "city", "phone", "state", "contact_email", "last_login_at"], type$.JSArray_String) : t6; return new A.VendorListVM(t1, t7, t4.map, t5.filter, new A.VendorListVM_fromStore_closure(new A.VendorListVM_fromStore__handleRefresh(store)), t2, new A.VendorListVM_fromStore_closure0(store), new A.VendorListVM_fromStore_closure1(store)); }, VendorListBuilder: function VendorListBuilder(t0) { this.key = t0; }, VendorListBuilder_build_closure: function VendorListBuilder_build_closure() { }, VendorListBuilder_build__closure: function VendorListBuilder_build__closure(t0) { this.viewModel = t0; }, VendorListVM: function VendorListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.vendorList = t1; _.vendorMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, VendorListVM_fromStore__handleRefresh: function VendorListVM_fromStore__handleRefresh(t0) { this.store = t0; }, VendorListVM_fromStore_closure: function VendorListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, VendorListVM_fromStore_closure0: function VendorListVM_fromStore_closure0(t0) { this.store = t0; }, VendorListVM_fromStore_closure1: function VendorListVM_fromStore_closure1(t0) { this.store = t0; }, VendorPresenter: function VendorPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, VendorPresenter_getField_closure: function VendorPresenter_getField_closure() { }, VendorPresenter_getField_closure0: function VendorPresenter_getField_closure0(t0) { this.vendor = t0; }, VendorScreen: function VendorScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, VendorScreen_build_closure10: function VendorScreen_build_closure10(t0) { this.store = t0; }, VendorScreen_build_closure7: function VendorScreen_build_closure7(t0) { this.store = t0; }, VendorScreen_build_closure8: function VendorScreen_build_closure8(t0) { this.store = t0; }, VendorScreen_build_closure9: function VendorScreen_build_closure9(t0) { this.store = t0; }, VendorScreen_build_closure4: function VendorScreen_build_closure4(t0) { this.store = t0; }, VendorScreen_build_closure0: function VendorScreen_build_closure0(t0) { this.store = t0; }, VendorScreen_build_closure1: function VendorScreen_build_closure1(t0) { this.store = t0; }, VendorScreen_build_closure2: function VendorScreen_build_closure2(t0) { this.store = t0; }, VendorScreen_build_closure3: function VendorScreen_build_closure3(t0) { this.store = t0; }, VendorScreen_build_closure5: function VendorScreen_build_closure5(t0) { this.store = t0; }, VendorScreen_build_closure: function VendorScreen_build_closure(t0) { this.store = t0; }, VendorScreen_build_closure6: function VendorScreen_build_closure6(t0) { this.context = t0; }, VendorScreenVM_fromStore(store) { var t2, t3, t4, t5, t6, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredVendorList(); t3 = t1.getUISelection$1(B.EntityType_vendor); t4 = t1.userCompanyStates; t5 = t1.uiState; t4 = t4._list$_list[t5.selectedCompanyIndex]; t6 = t4.vendorState; return new A.VendorScreenVM(t2.call$6(t3, t6.map, t6.list, t5.vendorUIState.listUIState, t4.userState.map, t1.staticState)); }, VendorScreenBuilder: function VendorScreenBuilder(t0) { this.key = t0; }, VendorScreenBuilder_build_closure: function VendorScreenBuilder_build_closure() { }, VendorScreenVM: function VendorScreenVM(t0) { this.vendorList = t0; }, VendorView: function VendorView(t0, t1, t2, t3, t4) { var _ = this; _.viewModel = t0; _.isFilter = t1; _.isTopFilter = t2; _.tabIndex = t3; _.key = t4; }, _VendorViewState: function _VendorViewState(t0, t1, t2) { var _ = this; _._vendor_view$_controller = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _VendorViewState_build_closure: function _VendorViewState_build_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.viewModel = t1; _.company = t2; _.vendor = t3; }, _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__closure2: function _VendorViewState_build__closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, __VendorViewState_State_SingleTickerProviderStateMixin: function __VendorViewState_State_SingleTickerProviderStateMixin() { }, VendorViewActivity: function VendorViewActivity(t0, t1) { this.viewModel = t0; this.key = t1; }, _VendorViewActivityState: function _VendorViewActivityState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _VendorViewActivityState_build_closure0: function _VendorViewActivityState_build_closure0() { }, _VendorViewActivityState_build_closure: function _VendorViewActivityState_build_closure(t0) { this.activities = 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, t4) { var _ = this; _.$this = t0; _.vendor = t1; _.company = t2; _.localization = t3; _.context = t4; }, _VendorViewDetailsState_build__buildDetailsList_closure: function _VendorViewDetailsState_build__buildDetailsList_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.company = t1; _.listTiles = t2; _.localization = t3; _.context = t4; }, _VendorViewDetailsState_build__buildDetailsList__closure1: function _VendorViewDetailsState_build__buildDetailsList__closure1(t0, t1, t2) { this.$this = t0; this.contact = t1; this.context = t2; }, _VendorViewDetailsState_build__buildDetailsList___closure0: function _VendorViewDetailsState_build__buildDetailsList___closure0(t0, t1, t2) { this.$this = t0; this.contact = t1; this.context = 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, t3) { var _ = this; _.$this = t0; _.context = t1; _.state = t2; _.vendor = t3; }, VendorViewDocuments: function VendorViewDocuments(t0, t1) { this.viewModel = t0; this.key = t1; }, VendorViewDocuments_build_closure: function VendorViewDocuments_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, VendorViewDocuments_build_closure0: function VendorViewDocuments_build_closure0(t0, t1) { this.store = t0; this.vendor = t1; }, VendorViewFullwidth: function VendorViewFullwidth(t0, t1) { this.viewModel = t0; this.key = t1; }, _VendorViewFullwidthState: function _VendorViewFullwidthState(t0, t1, t2) { var _ = this; _._scrollController3 = _._scrollController2 = _._scrollController1 = null; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _VendorViewFullwidthState_build_closure: function _VendorViewFullwidthState_build_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.$this = t0; _.localization = t1; _.vendor = t2; _.state = t3; _.company = t4; _.billingAddress = t5; _.showStanding = t6; _.hasMultipleContacts = t7; _.documents = t8; _.viewModel = t9; }, _VendorViewFullwidthState_build__closure: function _VendorViewFullwidthState_build__closure(t0) { this.vendor = t0; }, _VendorViewFullwidthState_build__closure0: function _VendorViewFullwidthState_build__closure0(t0) { this.billingAddress = t0; }, _VendorViewFullwidthState_build__closure1: function _VendorViewFullwidthState_build__closure1(t0, t1) { this.context = t0; this.company = t1; }, _VendorViewFullwidthState_build__closure2: function _VendorViewFullwidthState_build__closure2(t0, t1) { this.viewModel = t0; this.context = t1; }, _VendorViewFullwidthState_build__closure3: function _VendorViewFullwidthState_build__closure3(t0, t1) { this.viewModel = t0; this.context = t1; }, __VendorViewFullwidthState_State_TickerProviderStateMixin: function __VendorViewFullwidthState_State_TickerProviderStateMixin() { }, VendorOverview: function VendorOverview(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, VendorViewVM_VendorViewVM$fromStore(store) { var t2, t3, t4, vendor, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.selectedCompanyIndex; t2 = t2._list$_list; t3 = t3.vendorUIState.selectedId; vendor = t2[t4].vendorState.map._map$_map.$index(0, t3); if (vendor == null) vendor = A.VendorEntity_VendorEntity(t3, null, null); t2 = t2[t4].userCompany; vendor.get$isNew(); return new A.VendorViewVM(t1, vendor, t2.company, new A.VendorViewVM_VendorViewVM$fromStore_closure(new A.VendorViewVM_VendorViewVM$fromStore__handleRefresh(store, vendor)), new A.VendorViewVM_VendorViewVM$fromStore_closure0(store, vendor)); }, VendorViewScreen: function VendorViewScreen(t0, t1, t2) { this.isFilter = t0; this.isTopFilter = t1; this.key = t2; }, VendorViewScreen_build_closure0: function VendorViewScreen_build_closure0() { }, VendorViewScreen_build_closure: function VendorViewScreen_build_closure(t0) { this.$this = t0; }, VendorViewVM: function VendorViewVM(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.vendor = t1; _.company = t2; _.onRefreshed = t3; _.onUploadDocuments = t4; }, VendorViewVM_VendorViewVM$fromStore__handleRefresh: function VendorViewVM_VendorViewVM$fromStore__handleRefresh(t0, t1) { this.store = t0; this.vendor = t1; }, VendorViewVM_VendorViewVM$fromStore_closure: function VendorViewVM_VendorViewVM$fromStore_closure(t0) { this._handleRefresh = t0; }, VendorViewVM_VendorViewVM$fromStore_closure0: function VendorViewVM_VendorViewVM$fromStore_closure0(t0, t1) { this.store = t0; this.vendor = t1; }, VendorViewVM_VendorViewVM$fromStore__closure: function VendorViewVM_VendorViewVM$fromStore__closure(t0) { this.context = t0; }, VendorViewVM_VendorViewVM$fromStore__closure0: function VendorViewVM_VendorViewVM$fromStore__closure0(t0) { this.context = t0; }, VendorViewVM_VendorViewVM$fromStore___closure: function VendorViewVM_VendorViewVM$fromStore___closure(t0) { this.error = t0; }, 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_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__closure1: function _WebhookEditState_build__closure1(t0, t1) { this.viewModel = t0; this.webhook = t1; }, _WebhookEditState_build___closure4: function _WebhookEditState_build___closure4(t0) { this.value = t0; }, _WebhookEditState_build__closure0: function _WebhookEditState_build__closure0(t0) { this.localization = t0; }, _WebhookEditState_build__closure2: function _WebhookEditState_build__closure2(t0, t1) { this.viewModel = t0; this.webhook = t1; }, _WebhookEditState_build___closure3: function _WebhookEditState_build___closure3(t0) { this.value = t0; }, _WebhookEditState_build__closure3: function _WebhookEditState_build__closure3(t0) { this.$this = t0; }, _WebhookEditState_build___closure2: function _WebhookEditState_build___closure2() { }, _WebhookEditState_build__closure4: function _WebhookEditState_build__closure4(t0) { this.$this = t0; }, _WebhookEditState_build___closure1: function _WebhookEditState_build___closure1() { }, _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; }, WebhookEditVM_WebhookEditVM$fromStore(store) { var t2, webhook, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.uiState; webhook = t2.webhookUIState.editing; t1.userCompanyStates._list$_list[t2.selectedCompanyIndex].webhookState.map._map$_map.$index(0, webhook.id); return new A.WebhookEditVM(webhook, new A.WebhookEditVM_WebhookEditVM$fromStore_closure(store), new A.WebhookEditVM_WebhookEditVM$fromStore_closure0(store, t1), new A.WebhookEditVM_WebhookEditVM$fromStore_closure1(t1, store), t1); }, WebhookEditScreen: function WebhookEditScreen(t0) { this.key = t0; }, WebhookEditScreen_build_closure0: function WebhookEditScreen_build_closure0() { }, WebhookEditScreen_build_closure: function WebhookEditScreen_build_closure() { }, WebhookEditVM: function WebhookEditVM(t0, t1, t2, t3, t4) { var _ = this; _.webhook = t0; _.onChanged = t1; _.onSavePressed = t2; _.onCancelPressed = t3; _.state = t4; }, WebhookEditVM_WebhookEditVM$fromStore_closure: function WebhookEditVM_WebhookEditVM$fromStore_closure(t0) { this.store = t0; }, WebhookEditVM_WebhookEditVM$fromStore_closure1: function WebhookEditVM_WebhookEditVM$fromStore_closure1(t0, t1) { this.state = t0; this.store = t1; }, WebhookEditVM_WebhookEditVM$fromStore_closure0: function WebhookEditVM_WebhookEditVM$fromStore_closure0(t0, t1) { this.store = t0; this.state = t1; }, WebhookEditVM_WebhookEditVM$fromStore__closure: function WebhookEditVM_WebhookEditVM$fromStore__closure(t0, t1) { this.store = t0; this.state = t1; }, WebhookEditVM_WebhookEditVM$fromStore___closure: function WebhookEditVM_WebhookEditVM$fromStore___closure(t0, t1, t2, t3, t4) { var _ = this; _.webhook = t0; _.localization = t1; _.state = t2; _.store = t3; _.navigator = t4; }, WebhookEditVM_WebhookEditVM$fromStore___closure0: function WebhookEditVM_WebhookEditVM$fromStore___closure0() { }, WebhookEditVM_WebhookEditVM$fromStore____closure: function WebhookEditVM_WebhookEditVM$fromStore____closure(t0) { this.error = t0; }, WebhookView: function WebhookView(t0, t1, t2) { this.viewModel = t0; this.isFilter = t1; this.key = t2; }, _WebhookViewState: function _WebhookViewState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _WebhookViewState_build_closure: function _WebhookViewState_build_closure(t0) { this.viewModel = t0; }, TargetListTile: function TargetListTile(t0, t1) { this.webhook = t0; this.key = t1; }, TargetListTile_build_closure: function TargetListTile_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, WebhookViewVM_WebhookViewVM$fromStore(store) { var t2, t3, t4, webhook, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState; t4 = t3.webhookUIState.selectedId; webhook = t2._list$_list[t3.selectedCompanyIndex].webhookState.map._map$_map.$index(0, t4); if (webhook == null) webhook = A.WebhookEntity_WebhookEntity(t4, null); webhook.get$isNew(); return new A.WebhookViewVM(t1, webhook, new A.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) { this.state = t0; this.webhook = t1; this.onBackPressed = t2; }, WebhookViewVM_WebhookViewVM$fromStore_closure: function WebhookViewVM_WebhookViewVM$fromStore_closure(t0) { this.store = t0; }, WebhookListItem: function WebhookListItem(t0, t1, t2, t3, t4) { var _ = this; _.user = t0; _.webhook = t1; _.filter = t2; _.isChecked = t3; _.key = t4; }, WebhookListItem_build_closure1: function WebhookListItem_build_closure1(t0) { this.$this = t0; }, WebhookListItem_build_closure0: function WebhookListItem_build_closure0(t0) { this.$this = t0; }, WebhookListItem_build_closure: function WebhookListItem_build_closure(t0) { this.$this = t0; }, WebhookListVM_fromStore(store) { var t2, t3, t4, t5, t6, t7, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredWebhookList(); t3 = t1.getUISelection$1(B.EntityType_webhook); t4 = t1.userCompanyStates; t5 = t1.uiState; t6 = t5.selectedCompanyIndex; t4 = t4._list$_list; t7 = t4[t6].webhookState; t5 = t5.webhookUIState.listUIState; t7 = t2.call$4(t3, t7.map, t7.list, t5); t6 = t4[t6]; t4 = t6.webhookState; t6 = t6.userCompany.settings.getTableColumns$1(B.EntityType_webhook); t2 = t6 == null ? A._setArrayType([], type$.JSArray_String) : t6; return new A.WebhookListVM(t1, t7, t4.map, t5.filter, new A.WebhookListVM_fromStore_closure(new A.WebhookListVM_fromStore__handleRefresh(store)), t2, new A.WebhookListVM_fromStore_closure0(store), new A.WebhookListVM_fromStore_closure1(store)); }, WebhookListBuilder: function WebhookListBuilder(t0) { this.key = t0; }, WebhookListBuilder_build_closure: function WebhookListBuilder_build_closure() { }, WebhookListBuilder_build__closure: function WebhookListBuilder_build__closure(t0) { this.viewModel = t0; }, WebhookListVM: function WebhookListVM(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.state = t0; _.webhookList = t1; _.webhookMap = t2; _.filter = t3; _.onRefreshed = t4; _.tableColumns = t5; _.onSortColumn = t6; _.onClearMultielsect = t7; }, WebhookListVM_fromStore__handleRefresh: function WebhookListVM_fromStore__handleRefresh(t0) { this.store = t0; }, WebhookListVM_fromStore_closure: function WebhookListVM_fromStore_closure(t0) { this._handleRefresh = t0; }, WebhookListVM_fromStore_closure0: function WebhookListVM_fromStore_closure0(t0) { this.store = t0; }, WebhookListVM_fromStore_closure1: function WebhookListVM_fromStore_closure1(t0) { this.store = t0; }, WebhookPresenter: function WebhookPresenter() { this.__EntityPresenter_context_A = this.__EntityPresenter_entity_A = $; }, WebhookScreen: function WebhookScreen(t0, t1) { this.viewModel = t0; this.key = t1; }, WebhookScreen_build_closure10: function WebhookScreen_build_closure10(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_closure9: function WebhookScreen_build_closure9(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(store) { var t2, t3, t4, t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $.$get$memoizedFilteredWebhookList(); t3 = t1.getUISelection$1(B.EntityType_webhook); t4 = t1.userCompanyStates; t1 = t1.uiState; t4 = t4._list$_list[t1.selectedCompanyIndex].webhookState; return new A.WebhookScreenVM(t2.call$4(t3, t4.map, t4.list, t1.webhookUIState.listUIState)); }, WebhookScreenBuilder: function WebhookScreenBuilder(t0) { this.key = t0; }, WebhookScreenBuilder_build_closure: function WebhookScreenBuilder_build_closure() { }, WebhookScreenVM: function WebhookScreenVM(t0) { this.webhookList = t0; }, snackBarCompleter(message, callback, shouldPop, $T) { var t2, $navigator, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); $navigator = A.Navigator_of(t1, false); t2.then$1$1(0, new A.snackBarCompleter_closure(shouldPop, $navigator, message, callback, $T), type$.Null).catchError$1(new A.snackBarCompleter_closure0(shouldPop, $navigator)); return new A._AsyncCompleter(t2, $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) { this.milliseconds = t0; }, Debouncer_run_closure: function Debouncer_run_closure(t0) { this.action = t0; }, SimpleDebouncer: function SimpleDebouncer(t0) { this.milliseconds = t0; }, SimpleDebouncer_run_closure: function SimpleDebouncer_run_closure(t0) { this.action = t0; }, PersistDebouncer: function PersistDebouncer() { }, PersistDebouncer_run_closure: function PersistDebouncer_run_closure(t0) { this.action = t0; }, loadDesign(context, design, isDraftMode, isPurchaseOrder, onComplete) { var credentials, url, request, t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); credentials = t1.get$credentials(0); url = credentials.url + "/preview"; if (isDraftMode) url += "?html=true"; request = A._$DesignPreviewRequest$_(design, "", B.EntityType_invoice); new A.WebClient().post$4$data$rawResponse(url, credentials.token, B.C_JsonCodec.encode$1($.$get$serializers().serializeWith$2($.$get$_$designPreviewRequestSerializer(), request)), true).then$1$1(0, new A.loadDesign_closure(onComplete), type$.Null).catchError$1(new A.loadDesign_closure0(onComplete)); }, loadDesign_closure: function loadDesign_closure(t0) { this.onComplete = t0; }, loadDesign_closure0: function loadDesign_closure0(t0) { this.onComplete = t0; }, showRefreshDataDialog(context, includeStatic) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t2, store, t1; var $async$showRefreshDataDialog = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start store = A.StoreProvider_of(context, type$.AppState); t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "refresh_complete"); t1.toString; t1 = A.snackBarCompleter(t1, null, true, type$.Null); t2 = store.__Store__dispatchers_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2[0].call$1(new A.RefreshData(t1, true, includeStatic, false)); $async$goto = 2; return A._asyncAwait(A.showDialog(null, null, false, null, new A.showRefreshDataDialog_closure(), context, null, true, type$.AlertDialog), $async$showRefreshDataDialog); case 2: // returning from await. t1 = $.$get$navigatorKey(); $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).findAncestorStateOfType$1$0(type$.AppBuilderState).rebuild$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$showRefreshDataDialog, $async$completer); }, showErrorDialog(clearErrorOnDismiss, message) { var _null = null, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(_null, _null, true, _null, new A.showErrorDialog_closure(message, clearErrorOnDismiss), t1, _null, true, type$.ErrorDialog); }, showMessageDialog(message, secondaryActions) { var _null = null, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.showDialog(_null, _null, true, _null, new A.showMessageDialog_closure(message, secondaryActions, _null), t1, _null, true, type$.MessageDialog); }, confirmCallback(askForReason, callback, context, message, skip, typeToConfirm) { var t1, t2, t3, title, $content, _null = null, _s12_ = "are_you_sure"; if (skip) { callback.call$1(_null); return; } context.toString; t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t2 = message == null; if (t2) { t1.toString; t3 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t3.toString; t3 = J.$index$asx(t3, _s12_); t3.toString; title = t3; } else title = message; if (t2) $content = _null; else { t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t2.toString; t2 = J.$index$asx(t2, _s12_); t2.toString; $content = t2; } A.showDialog(_null, _null, true, _null, new A.confirmCallback_closure(typeToConfirm, callback, t1, title, askForReason, $content), context, _null, true, type$.AlertDialog); }, passwordCallback(alwaysRequire, callback, context, skipOAuth) { var state, user, error, t2, t3, exception, _null = null, _s21_ = "please_set_a_password", _s12_ = "set_password", store = A.StoreProvider_of(context, type$.AppState), t1 = store.__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); state = t1; t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization); t2 = state; user = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany.user; t2 = state; A.print("## Confirm password: " + alwaysRequire + ", " + user.hasPassword + ", " + state.get$hasRecentlyEnteredPassword() + ", " + user.oauthProvider + ", " + t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany.company.oauthPasswordRequired); if (alwaysRequire && !user.hasPassword) { t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t1.localeCode; t3 = t2.$index(0, t1); t3.toString; t3 = J.$index$asx(t3, _s21_); if (t3 == null) { t3 = t2.$index(0, "en"); t3.toString; t3 = J.$index$asx(t3, _s21_); t3.toString; } t1 = t2.$index(0, t1); t1.toString; t1 = J.$index$asx(t1, _s12_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s12_); t1.toString; } A.showMessageDialog(t3, A._setArrayType([A.TextButton$(false, A.Text$(t1.toUpperCase(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, new A.passwordCallback_closure(store, context), _null)], type$.JSArray_TextButton)); A.print("## 1"); return; } if (state.get$hasRecentlyEnteredPassword() && !alwaysRequire) { callback.call$2(_null, _null); A.print("## 2"); return; } if (user.oauthProvider.length !== 0) if (!skipOAuth) if (user.oauthProvider !== "apple") { user.toString; user.toString; t1 = false; } else t1 = true; else t1 = true; else t1 = true; if (t1) { A.showDialog(_null, _null, false, _null, new A.passwordCallback_closure0(callback), context, _null, true, type$.Null); return; } try { if (user.oauthProvider === "google") A.GoogleOAuth_signIn(new A.passwordCallback_closure1(alwaysRequire, state, user, callback, context), true); else if (user.oauthProvider === "microsoft") A.WebUtils_microsoftLogin(new A.passwordCallback_closure2(alwaysRequire, state, user, callback, context), new A.passwordCallback_closure3()); } catch (exception) { error = A.unwrapException(exception); A.showErrorDialog(false, A.S(error)); } A.print("## 8"); }, fieldCallback(callback, context, field, maxLength, secondaryActions, title, value) { var _null = null; A.showDialog(_null, _null, false, _null, new A.fieldCallback_closure(callback, field, title, value, maxLength, secondaryActions), context, _null, true, type$.AlertDialog); }, cloneToDialog(invoice) { var t2, t3, _null = null, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t2 = A.Localizations_of(t1, B.Type_AppLocalization_KyD, type$.AppLocalization); t3 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t3 === $ && A.throwUnnamedLateFieldNI(); A.showDialog(_null, _null, true, _null, new A.cloneToDialog_closure(t2, t3.userCompanyStates._list$_list[t3.uiState.selectedCompanyIndex].userCompany, invoice), t1, _null, true, type$.AlertDialog); }, changeTaskStatusDialog(context, task) { var t3, t4, _null = null, t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization), store = A.StoreProvider_of(context, type$.AppState), t2 = store.__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = $.$get$memoizedSortedActiveTaskStatusIds(); t4 = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].taskStatusState; t4 = J.where$1$ax(t3.call$2(t4.list, t4.map), new A.changeTaskStatusDialog_closure(task)); A.showDialog(_null, _null, true, _null, new A.changeTaskStatusDialog_closure0(t1, A.List_List$of(t4, true, t4.$ti._eval$1("Iterable.E")), t2, store, task), context, _null, true, type$.AlertDialog); }, addToInvoiceDialog(clientId, context, items) { var invoices, _null = null, _s17_ = "no_invoices_found", t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization), t2 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].invoiceState.map.get$values(0); invoices = new A.WhereIterable(t2, new A.addToInvoiceDialog_closure(clientId), A._instanceType(t2)._eval$1("WhereIterable<Iterable.E>")); if (!invoices.get$iterator(0).moveNext$0()) { t1.toString; t2 = $.$get$LocalizationsProvider__localizedValues(); t1 = t2.$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, _s17_); if (t1 == null) { t1 = t2.$index(0, "en"); t1.toString; t1 = J.$index$asx(t1, _s17_); t1.toString; } A.showMessageDialog(t1, _null); return; } A.showDialog(_null, _null, true, _null, new A.addToInvoiceDialog_closure0(t1, invoices, items), context, _null, true, type$.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, t2) { this.message = t0; this.secondaryActions = t1; this.onDismiss = t2; }, 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, t1) { this.store = t0; this.context = t1; }, passwordCallback_closure0: function passwordCallback_closure0(t0) { this.callback = t0; }, passwordCallback_closure1: function passwordCallback_closure1(t0, t1, t2, t3, t4) { var _ = this; _.alwaysRequire = t0; _.state = t1; _.user = t2; _.callback = t3; _.context = t4; }, passwordCallback__closure0: function passwordCallback__closure0(t0, t1) { this.callback = t0; this.idToken = t1; }, passwordCallback_closure2: function passwordCallback_closure2(t0, t1, t2, t3, t4) { var _ = this; _.alwaysRequire = t0; _.state = t1; _.user = t2; _.callback = t3; _.context = t4; }, passwordCallback__closure: function passwordCallback__closure(t0, t1) { this.callback = t0; this.idToken = t1; }, passwordCallback_closure3: function passwordCallback_closure3() { }, 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, t5) { var _ = this; _.callback = t0; _.field = t1; _.title = t2; _.value = t3; _.maxLength = t4; _.secondaryActions = t5; }, FieldConfirmation: function FieldConfirmation(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.callback = t0; _.title = t1; _.field = t2; _.value = t3; _.maxLength = t4; _.secondaryActions = t5; _.key = t6; }, _FieldConfirmationState: function _FieldConfirmationState(t0) { var _ = this; _._widget = _._dialogs$_field = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _FieldConfirmationState_build_closure: function _FieldConfirmationState_build_closure(t0) { this.$this = t0; }, _FieldConfirmationState_build_closure0: function _FieldConfirmationState_build_closure0(t0) { this.$this = t0; }, _FieldConfirmationState_build_closure1: function _FieldConfirmationState_build_closure1(t0) { this.context = t0; }, _FieldConfirmationState_build_closure2: function _FieldConfirmationState_build_closure2(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.context = t0; this.invoice = t1; }, cloneToDialog__closure0: function cloneToDialog__closure0(t0, t1) { this.context = t0; this.invoice = t1; }, cloneToDialog__closure1: function cloneToDialog__closure1(t0, t1) { this.context = t0; this.invoice = t1; }, cloneToDialog__closure2: function cloneToDialog__closure2(t0, t1) { this.context = t0; this.invoice = t1; }, cloneToDialog__closure3: function cloneToDialog__closure3(t0, t1) { this.context = t0; this.invoice = t1; }, cloneToDialog__closure4: function cloneToDialog__closure4(t0) { this.context = t0; }, changeTaskStatusDialog_closure: function changeTaskStatusDialog_closure(t0) { this.task = t0; }, changeTaskStatusDialog_closure0: function changeTaskStatusDialog_closure0(t0, t1, t2, t3, t4) { var _ = this; _.localization = t0; _.statusIds = t1; _.state = t2; _.store = t3; _.task = t4; }, changeTaskStatusDialog__closure: function changeTaskStatusDialog__closure(t0, t1, t2, t3, t4) { var _ = this; _.state = t0; _.store = t1; _.task = t2; _.localization = t3; _.context = t4; }, changeTaskStatusDialog___closure: function changeTaskStatusDialog___closure(t0, t1, t2, t3, t4) { var _ = this; _.store = t0; _.task = t1; _.statusId = t2; _.localization = t3; _.context = t4; }, changeTaskStatusDialog____closure: function changeTaskStatusDialog____closure(t0) { this.statusId = t0; }, changeTaskStatusDialog__closure0: function changeTaskStatusDialog__closure0(t0) { this.context = t0; }, addToInvoiceDialog_closure: function addToInvoiceDialog_closure(t0) { this.clientId = t0; }, addToInvoiceDialog_closure0: function addToInvoiceDialog_closure0(t0, t1, t2) { this.localization = t0; this.invoices = t1; this.items = t2; }, addToInvoiceDialog__closure: function addToInvoiceDialog__closure(t0, t1) { this.context = t0; this.items = t1; }, addToInvoiceDialog___closure: function addToInvoiceDialog___closure(t0, t1, t2) { this.context = t0; this.invoice = t1; this.items = t2; }, addToInvoiceDialog____closure: function addToInvoiceDialog____closure(t0) { this.items = t0; }, BulkUpdateDialog: function BulkUpdateDialog(t0, t1, t2) { this.entityType = t0; this.entities = t1; this.key = t2; }, _BulkUpdateDialogState: function _BulkUpdateDialogState(t0) { var _ = this; _._dialogs$_isLoading = false; _._widget = _._dialogs$_value = _._dialogs$_field = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _BulkUpdateDialogState_build_closure: function _BulkUpdateDialogState_build_closure() { }, _BulkUpdateDialogState_build_closure2: function _BulkUpdateDialogState_build_closure2(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure9: function _BulkUpdateDialogState_build__closure9(t0, t1) { this.$this = t0; this.value = t1; }, _BulkUpdateDialogState_build_closure0: function _BulkUpdateDialogState_build_closure0(t0) { this.company = t0; }, _BulkUpdateDialogState_build_closure1: function _BulkUpdateDialogState_build_closure1(t0, t1) { this.company = t0; this.localization = t1; }, _BulkUpdateDialogState_build_closure3: function _BulkUpdateDialogState_build_closure3(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure8: function _BulkUpdateDialogState_build__closure8(t0, t1) { this.$this = t0; this.value = t1; }, _BulkUpdateDialogState_build_closure4: function _BulkUpdateDialogState_build_closure4(t0) { this.state = t0; }, _BulkUpdateDialogState_build_closure5: function _BulkUpdateDialogState_build_closure5(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure7: function _BulkUpdateDialogState_build__closure7(t0, t1) { this.$this = t0; this.size = t1; }, _BulkUpdateDialogState_build_closure6: function _BulkUpdateDialogState_build_closure6(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure6: function _BulkUpdateDialogState_build__closure6(t0, t1) { this.$this = t0; this.industry = t1; }, _BulkUpdateDialogState_build_closure7: function _BulkUpdateDialogState_build_closure7(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure5: function _BulkUpdateDialogState_build__closure5(t0, t1) { this.$this = t0; this.country = t1; }, _BulkUpdateDialogState_build_closure8: function _BulkUpdateDialogState_build_closure8(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure4: function _BulkUpdateDialogState_build__closure4(t0, t1) { this.$this = t0; this.value = t1; }, _BulkUpdateDialogState_build_closure9: function _BulkUpdateDialogState_build_closure9(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure3: function _BulkUpdateDialogState_build__closure3(t0, t1) { this.$this = t0; this.value = t1; }, _BulkUpdateDialogState_build_closure10: function _BulkUpdateDialogState_build_closure10(t0) { this.context = t0; }, _BulkUpdateDialogState_build_closure11: function _BulkUpdateDialogState_build_closure11(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.state = t1; _.localization = t2; _.store = t3; }, _BulkUpdateDialogState_build__closure: function _BulkUpdateDialogState_build__closure() { }, _BulkUpdateDialogState_build__closure0: function _BulkUpdateDialogState_build__closure0(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure1: function _BulkUpdateDialogState_build__closure1(t0, t1, t2) { this.$this = t0; this.localization = t1; this.store = t2; }, _BulkUpdateDialogState_build___closure0: function _BulkUpdateDialogState_build___closure0(t0) { this.$this = t0; }, _BulkUpdateDialogState_build__closure2: function _BulkUpdateDialogState_build__closure2(t0) { this.$this = t0; }, _BulkUpdateDialogState_build___closure: function _BulkUpdateDialogState_build___closure(t0) { this.$this = t0; }, RunTemplateDialog: function RunTemplateDialog(t0, t1, t2) { this.entityType = t0; this.entities = t1; this.key = t2; }, _RunTemplateDialogState: function _RunTemplateDialogState(t0) { var _ = this; _._dialogs$_designId = ""; _._dialogs$_isLoading = _._dialogs$_sendEmail = false; _._widget = _._dialogs$_data = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _RunTemplateDialogState_build_closure: function _RunTemplateDialogState_build_closure(t0) { this.context = t0; }, _RunTemplateDialogState_build_closure0: function _RunTemplateDialogState_build_closure0(t0, t1) { this.$this = t0; this.state = t1; }, _RunTemplateDialogState_build_closure1: function _RunTemplateDialogState_build_closure1(t0, t1, t2) { this.$this = t0; this.state = t1; this.localization = t2; }, _RunTemplateDialogState_build__closure1: function _RunTemplateDialogState_build__closure1() { }, _RunTemplateDialogState_build__closure2: function _RunTemplateDialogState_build__closure2(t0) { this.$this = t0; }, _RunTemplateDialogState_build__closure3: function _RunTemplateDialogState_build__closure3(t0, t1) { this.$this = t0; this.localization = t1; }, _RunTemplateDialogState_build___closure0: function _RunTemplateDialogState_build___closure0(t0) { this.$this = t0; }, _RunTemplateDialogState_build___closure1: function _RunTemplateDialogState_build___closure1(t0) { this.$this = t0; }, _RunTemplateDialogState_build__closure4: function _RunTemplateDialogState_build__closure4(t0) { this.$this = t0; }, _RunTemplateDialogState_build___closure: function _RunTemplateDialogState_build___closure(t0) { this.$this = t0; }, _RunTemplateDialogState_build_closure2: function _RunTemplateDialogState_build_closure2(t0) { this.$this = t0; }, _RunTemplateDialogState_build_closure3: function _RunTemplateDialogState_build_closure3() { }, _RunTemplateDialogState_build_closure4: function _RunTemplateDialogState_build_closure4(t0) { this.$this = t0; }, _RunTemplateDialogState_build__closure0: function _RunTemplateDialogState_build__closure0(t0, t1) { this.$this = t0; this.design = t1; }, _RunTemplateDialogState_build_closure5: function _RunTemplateDialogState_build_closure5(t0) { this.$this = t0; }, _RunTemplateDialogState_build__closure: function _RunTemplateDialogState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, AddCommentDialog: function AddCommentDialog(t0, t1, t2) { this.entityId = t0; this.entityType = t1; this.key = t2; }, _AddCommentDialogState: function _AddCommentDialogState(t0) { var _ = this; _._comment = ""; _._dialogs$_isLoading = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AddCommentDialogState_build_closure: function _AddCommentDialogState_build_closure(t0) { this.context = t0; }, _AddCommentDialogState_build_closure0: function _AddCommentDialogState_build_closure0(t0, t1, t2) { this.$this = t0; this.state = t1; this.localization = t2; }, _AddCommentDialogState_build__closure0: function _AddCommentDialogState_build__closure0(t0) { this.$this = t0; }, _AddCommentDialogState_build__closure1: function _AddCommentDialogState_build__closure1(t0) { this.localization = t0; }, _AddCommentDialogState_build__closure2: function _AddCommentDialogState_build__closure2(t0) { this.$this = t0; }, _AddCommentDialogState_build___closure: function _AddCommentDialogState_build___closure(t0) { this.$this = t0; }, _AddCommentDialogState_build_closure1: function _AddCommentDialogState_build_closure1(t0) { this.$this = t0; }, _AddCommentDialogState_build__closure: function _AddCommentDialogState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, EnumUtils_parse(enumItem) { if (enumItem == null) return ""; return J.toString$0$(enumItem).split(".")[1]; }, EnumUtils_fromString(enumValues, value, $T) { return A.IterableExtension_singleWhereOrNull(enumValues, new A.EnumUtils_fromString_closure(value, $T)); }, EnumUtils_fromString_closure: function EnumUtils_fromString_closure(t0, t1) { this.value = t0; this.T = t1; }, round(value, precision) { var fac, result; if (value == null || isNaN(value)) return 0; fac = A._asInt(Math.pow(10, precision)); result = value * fac; return B.JSNumber_methods.round$0(B.JSString_methods.contains$1(A.S(result), "999999") ? result + 0.000001 : result) / fac; }, parseInt(value, zeroIsNull) { var t1 = A.RegExp_RegExp("[^0-9\\.\\-]", true, false, false, false), intValue = A.Primitives_parseInt(A.stringReplaceAllUnchecked(value, t1, ""), null); if (intValue == null) intValue = 0; return intValue === 0 && zeroIsNull ? null : intValue; }, parseDouble(value, zeroIsNull) { var doubleValue, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.company.useCommaAsDecimalPlace) { value.toString; t1 = B.JSString_methods.contains$1(value, ","); } else t1 = false; if (t1) { value = A.stringReplaceAllUnchecked(value, ".", ""); value = A.stringReplaceAllUnchecked(value, ",", "."); } value.toString; t1 = A.RegExp_RegExp("[^0-9\\.\\-]", true, false, false, false); doubleValue = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(value, t1, "")); if (doubleValue == null) doubleValue = 0; return doubleValue === 0 && zeroIsNull ? null : doubleValue; }, formatSize(size) { return size > 1000000 ? "" + B.JSNumber_methods.toInt$0(A.round(size / 1000000, 1)) + " MB" : "" + B.JSNumber_methods.toInt$0(A.round(size / 1000, 0)) + " KB"; }, formatNumber(value, context, clientId, currencyId, formatNumberType, roundToPrecision, showCurrencyCode, vendorId, zeroIsNull) { var t1, t2, t3, t4, company, client, vendor, t5, t6, group, countryId, currency, companyCurrency, country, thousandSeparator, decimalSeparator, swapCurrencySymbol, thousandSeparator0, decimalSeparator0, formatter, formatted, prefix, _null = null, _s6_ = "custom", _s11_ = "#,##0.#####"; if (zeroIsNull && value === 0) return _null; else { if (value != null) t1 = value === 0 && B.JSArray_methods.contains$1(A._setArrayType([B.FormatNumberType_4, B.FormatNumberType_5], type$.JSArray_FormatNumberType), formatNumberType); else t1 = true; if (t1) return ""; } if (formatNumberType === B.FormatNumberType_6) return A.formatDuration(A.Duration$(0, 0, 0, 0, 0, J.toInt$0$n(value)), true); context.toString; t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates; t3 = t1.uiState.selectedCompanyIndex; t2 = t2._list$_list; t4 = t2[t3]; company = t4.userCompany.company; client = t4.clientState.map._map$_map.$index(0, clientId); vendor = t2[t3].vendorState.map._map$_map.$index(0, vendorId); t4 = t2[t3].groupState; t5 = client == null; t6 = t5 ? _null : client.groupId; group = t4.map._map$_map.$index(0, t6); t4 = t5 ? _null : client.countryId; if ((t4 == null ? "" : t4).length !== 0 && client.get$hasNameSet()) countryId = client.countryId; else { t4 = vendor == null ? _null : vendor.countryId; countryId = (t4 == null ? "" : t4).length !== 0 && vendor.get$hasNameSet() ? vendor.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 (vendor != null && vendor.currencyId.length !== 0) currencyId = vendor.currencyId; else if (group != null && group.get$hasCurrency()) currencyId = group.settings.currencyId; else { currencyId = company.settings.currencyId; if (currencyId == null) currencyId = "1"; } t1 = t1.staticState; t4 = t1.currencyMap._map$_map; currency = t4.$index(0, currencyId); t5 = company.settings; t6 = t5.currencyId; companyCurrency = t4.$index(0, t6 == null ? "1" : t6); country = t1.countryMap._map$_map.$index(0, countryId); if (country == null) country = A.CountryEntity_CountryEntity(); if (currency == null) return ""; if (formatNumberType === B.FormatNumberType_0 && roundToPrecision) value = A.round(value, currency.precision); thousandSeparator = currency.thousandSeparator; decimalSeparator = currency.decimalSeparator; swapCurrencySymbol = companyCurrency.swapCurrencySymbol; if (currency.id === "3") { swapCurrencySymbol = country.swapCurrencySymbol; thousandSeparator0 = country.thousandSeparator; if (thousandSeparator0.length !== 0) thousandSeparator = thousandSeparator0; decimalSeparator0 = country.decimalSeparator; if (decimalSeparator0.length !== 0) decimalSeparator = decimalSeparator0; } if (B.JSArray_methods.contains$1(A._setArrayType([B.FormatNumberType_4, B.FormatNumberType_5], type$.JSArray_FormatNumberType), formatNumberType)) { decimalSeparator = t2[t3].userCompany.company.useCommaAsDecimalPlace ? "," : "."; thousandSeparator = ""; } $.$get$numberFormatSymbols().$indexSet(0, _s6_, A.NumberSymbols$("", "", decimalSeparator, "", "", thousandSeparator, "", "-", _s6_, "", "", "", "", "+", "", "0")); formatter = A._Cell$named("formatter"); if (formatNumberType === B.FormatNumberType_2) return A.NumberFormat_NumberFormat("#,##0", _s6_).format$1(value); else if (formatNumberType === B.FormatNumberType_3) return A.NumberFormat_NumberFormat(_s11_, _s6_).format$1(value); else if (formatNumberType === B.FormatNumberType_5) return A.NumberFormat_NumberFormat("#.#####", _s6_).format$1(value); else if (formatNumberType === B.FormatNumberType_4) { t1 = currency.precision; if (t1 === 0) return A.NumberFormat_NumberFormat("#.#####", _s6_).format$1(value); else if (t1 === 1) return A.NumberFormat_NumberFormat("#.0####", _s6_).format$1(value); else if (t1 === 2) return A.NumberFormat_NumberFormat("#.00###", _s6_).format$1(value); else if (t1 === 3) return A.NumberFormat_NumberFormat("#.000##", _s6_).format$1(value); formatted = _null; } else { if (formatNumberType === B.FormatNumberType_1) formatter.__late_helper$_value = A.NumberFormat_NumberFormat(_s11_, _s6_); else { t1 = currency.precision; if (t1 === 0) formatter.__late_helper$_value = A.NumberFormat_NumberFormat(_s11_, _s6_); else if (t1 === 1) formatter.__late_helper$_value = A.NumberFormat_NumberFormat("#,##0.0####", _s6_); else if (t1 === 2) formatter.__late_helper$_value = A.NumberFormat_NumberFormat("#,##0.00###", _s6_); else formatter.__late_helper$_value = A.NumberFormat_NumberFormat("#,##0.000##", _s6_); } t1 = formatter._readLocal$0(); formatted = t1.format$1(value < 0 ? value * -1 : value); if (formatted === "-0.00") formatted = "0.00"; else if (formatted === "-0,00") formatted = "0,00"; } prefix = value < 0 ? "-" : ""; if (formatNumberType === B.FormatNumberType_1) return prefix + A.S(formatted) + "%"; else { t1 = showCurrencyCode == null ? t5.showCurrencyCode : showCurrencyCode; if (t1 === true || currency.symbol.length === 0) return prefix + A.S(formatted) + " " + currency.code; else { t1 = A.S(formatted); t2 = currency.symbol; if (swapCurrencySymbol) return prefix + t1 + " " + B.JSString_methods.trim$0(t2); else return prefix + t2 + t1; } } }, formatURL(url) { if (B.JSString_methods.startsWith$1(url, "http")) return url; return "http://" + url; }, formatAddress(appState, delimiter, isShipping, object) { var address2, city, state, postalCode, countryId, str, t1, 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 = ""; countryId = isShipping ? object.get$shippingCountryId() : object.get$countryId(); if (countryId == null) countryId = ""; 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 + " "; if (postalCode.length !== 0) str += postalCode; if (countryId.length !== 0 && countryId !== appState.userCompanyStates._list$_list[appState.uiState.selectedCompanyIndex].userCompany.company.settings.countryId) { if (str.length !== 0) str += delimiter; t1 = appState.staticState.countryMap._map$_map.$index(0, countryId); t1 = t1 == null ? null : t1.name; str += t1 == null ? "" : t1; } return str; }, convertDateTimeToSqlDate(date) { return B.JSArray_methods.get$first((date == null ? new A.DateTime(Date.now(), false) : date).toIso8601String$0().split("T")); }, convertSqlDateToDateTime(date) { var t2, t3, parts = (date == null ? A.convertDateTimeToSqlDate(null) : date).split("-"), t1 = A.parseInt(parts[0], false); t1.toString; t2 = A.parseInt(parts[1], false); t2.toString; t3 = A.parseInt(parts[2], false); t3.toString; t1 = A.Primitives_valueFromDecomposedDate(t1, t2, t3, 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, true); }, convertTimestampToDate(timestamp) { return A.DateTime$fromMillisecondsSinceEpoch((timestamp == null ? 0 : timestamp) * 1000, true); }, convertTimestampToDateString(timestamp) { return (timestamp == null ? 0 : timestamp) === 0 ? "" : A.convertTimestampToDate(timestamp).toIso8601String$0(); }, formatDuration(duration, showSeconds) { var parts, time = J.toString$0$(duration).split(".")[0]; if (showSeconds) return time; else { parts = time.split(":"); return A.S(parts[0]) + ":" + A.S(parts[1]); } }, parseDate(value, context) { var t1, t2, t3, dateFormatId; if (value.length === 0) return ""; t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany; t3 = t1.staticState; dateFormatId = t2.company.settings.dateFormatId; dateFormatId = (dateFormatId == null ? "" : dateFormatId).length !== 0 ? dateFormatId : "5"; return A.convertDateTimeToSqlDate(A.DateFormat$(t3.dateFormatMap._map$_map.$index(0, dateFormatId).format, A.localeSelector(t1, false))._date_format$_parse$3$strict$utc(value, false, false)); }, parseTime(value, context) { var t1, enableMilitaryTime, format; if (value.length === 0) return null; t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); enableMilitaryTime = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.company.settings.enableMilitaryTime; if (B.JSString_methods.allMatches$1(":", value).get$length(0) >= 2) { enableMilitaryTime.toString; format = enableMilitaryTime ? "H:mm:ss" : "h:mm:ss a"; } else { enableMilitaryTime.toString; format = enableMilitaryTime ? "H:mm" : "h:mm a"; } return A.DateFormat$("y-M-D " + format, A.localeSelector(t1, false))._date_format$_parse$3$strict$utc("2000-01-01 " + value, false, false); }, formatDate(value, context, showDate, showSeconds, showTime) { var t1, company, t2, format, t3, dateFormatId, formatter, parsed, formattedValue, _s9_ = "h:mm:ss a"; if (value == null || value.length === 0) return ""; context.toString; t1 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); company = t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.company; if (showTime) { if (!showDate) if (showSeconds) { t2 = company.settings.enableMilitaryTime; t2.toString; format = t2 ? "H:mm:ss" : _s9_; } else { t2 = company.settings.enableMilitaryTime; t2.toString; format = t2 ? "H:mm" : "h:mm a"; } else { t2 = t1.staticState; t3 = company.settings; dateFormatId = t3.dateFormatId; dateFormatId = (dateFormatId == null ? "" : dateFormatId).length !== 0 ? dateFormatId : "5"; format = t2.dateFormatMap._map$_map.$index(0, dateFormatId).format; if (showSeconds) { t2 = t3.enableMilitaryTime; t2.toString; t2 = t2 ? "H:mm:ss" : _s9_; } else { t2 = t3.enableMilitaryTime; t2.toString; t2 = t2 ? "H:mm" : "h:mm a"; } format += " " + t2; } formatter = A.DateFormat$(format, A.localeSelector(t1, false)); parsed = A.DateTime_tryParse(J.endsWith$1$s(value, "Z") ? value : value + "Z"); formattedValue = parsed == null ? "" : formatter.format$1(parsed.toLocal$0()); } else { formatter = A.DateFormat$(t1.staticState.dateFormatMap._map$_map.$index(0, company.settings.dateFormatId).format, A.localeSelector(t1, false)); parsed = A.DateTime_tryParse(value); formattedValue = parsed == null ? "" : formatter.format$1(parsed); } return B.JSString_methods.replaceFirst$2(formattedValue, "..", "."); }, formatApiUrl(url) { url = A.cleanApiUrl(url); if (url.length === 0) return ""; return url + "/api/v1"; }, cleanApiUrl(url) { return B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(B.JSString_methods.trim$0(url == null ? "" : url), A.RegExp_RegExp("/api/v1", true, false, false, false), ""), A.RegExp_RegExp("/$", true, false, false, false), ""); }, formatCustomValue(context, field, value) { var t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.AppLocalization), t2 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); switch (t2.userCompanyStates._list$_list[t2.uiState.selectedCompanyIndex].userCompany.company.getCustomFieldType$1(field)) { case "switch": if (value === "yes") { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "yes"); t1.toString; } else { t1.toString; t1 = $.$get$LocalizationsProvider__localizedValues().$index(0, t1.localeCode); t1.toString; t1 = J.$index$asx(t1, "no"); t1.toString; } return t1; case "date": return A.formatDate(value, context, true, true, false); default: return value; } }, FormatNumberType: function FormatNumberType(t0, t1) { this.index = t0; this._core$_name = t1; }, LocaleCodeAware: function LocaleCodeAware() { }, LocalizationsProvider: function LocalizationsProvider() { }, AppLocalization_createLocale(locale) { var parts, t1; if (!B.JSArray_methods.contains$1(B.List_y0E, locale)) return new A.Locale("en", null); parts = locale.split("_"); t1 = parts[0]; return new A.Locale(t1, parts.length > 1 ? parts[1] : null); }, AppLocalization: function AppLocalization(t0) { this.localeCode = t0; }, AppLocalizationsDelegate: function AppLocalizationsDelegate() { }, _AppLocalization_LocaleCodeAware_LocalizationsProvider: function _AppLocalization_LocaleCodeAware_LocalizationsProvider() { }, deserializeMarkdownToDocument(markdown) { var t1, _i, t2, markdownNodes = A.BlockParser$(B.C_LineSplitter.convert$1(markdown), A.Document$0(A._setArrayType([B.C__EmptyParagraphSyntax], type$.JSArray_BlockSyntax))).parseLines$0(), nodeVisitor = new A._MarkdownToDocument(A._setArrayType([], type$.JSArray_DocumentNode), A._setArrayType([], type$.JSArray_ListItemType)); for (t1 = markdownNodes.length, _i = 0; _i < markdownNodes.length; markdownNodes.length === t1 || (0, A.throwConcurrentModificationError)(markdownNodes), ++_i) J.accept$1$x(markdownNodes[_i], nodeVisitor); t1 = type$.String; t2 = A._setArrayType([], type$.JSArray_of_void_Function_DocumentChangeLog); t1 = new A.MutableDocument(nodeVisitor._markdown$_content, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.DocumentNode), t2); t1._refreshNodeIdCaches$0(); return t1; }, serializeDocumentToMarkdown(doc) { var t1, t2, isFirstLine, i, node, _length, _list, index, indent, symbol, t3, serializer, nodeBelow, blockType, t4, buffer = new A.StringBuffer(""); for (t1 = doc._editor$_nodes, t2 = type$.JSArray_String, isFirstLine = true, i = 0; i < t1.length; ++i) { node = B.JSArray_methods.elementAt$1(t1, i); if (!isFirstLine) buffer._contents += "\n"; else isFirstLine = false; if (node instanceof A.ImageNode) buffer._contents += ""; else if (node instanceof A.HorizontalRuleNode) buffer._contents += "---"; else if (node instanceof A.ListItemNode) { _length = node._list_items$_indent + 1; if (_length < 0) A.throwExpression(A.ArgumentError$("Length must be a non-negative integer: " + _length, null)); _list = A._setArrayType(new Array(_length), t2); for (index = 0; index < _length; ++index) _list[index] = " "; indent = B.JSArray_methods.join$1(_list, ""); symbol = node.type === B.ListItemType_1 ? "*" : "1."; t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += indent + symbol + " " + J.toString$0$(serializer._markdown$_buffer); nodeBelow = i < t1.length - 1 ? B.JSArray_methods.elementAt$1(t1, i + 1) : null; if (nodeBelow != null && !(nodeBelow instanceof A.ListItemNode)) buffer._contents = t3 + "\n"; } else if (node instanceof A.ParagraphNode) { blockType = node._metadata.$index(0, "blockType"); if (blockType.$eq(0, B.NamedAttribution_header1)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "# " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_header2)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "## " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_header3)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "### " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_header4)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "#### " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_header5)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "##### " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_header6)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "###### " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_blockquote)) { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += "> " + J.toString$0$(serializer._markdown$_buffer); } else if (blockType.$eq(0, B.NamedAttribution_code)) { t3 = buffer._contents += "```\n"; t4 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t4.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t4.visitAttributions$1(serializer); t3 += J.toString$0$(serializer._markdown$_buffer) + "\n"; buffer._contents = t3; t3 += "```"; buffer._contents = t3; } else { t3 = node._text$_text; serializer = new A.AttributedTextMarkdownSerializer(); serializer.__AttributedTextMarkdownSerializer__fullText_A = t3.text; serializer._markdown$_buffer = new A.StringBuffer(""); serializer.__AttributedTextMarkdownSerializer__bufferCursor_A = 0; t3.visitAttributions$1(serializer); t3 = buffer._contents += J.toString$0$(serializer._markdown$_buffer); } if (i !== t1.length - 1) buffer._contents = t3 + "\n"; } } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, AttributedTextMarkdownSerializer__sortAndSerializeAttributions(attributions, $event) { var t1, t2, buffer = new A.StringBuffer(""); for (t1 = J.get$iterator$ax($event === B.AttributionVisitEvent_0 ? B.List_Toh : new A.ReversedListIterable(B.List_Toh, type$.ReversedListIterable_NamedAttribution)); t1.moveNext$0();) { t2 = t1.get$current(t1); if (attributions.contains$1(0, t2)) buffer._contents += A.AttributedTextMarkdownSerializer__encodeMarkdownStyle(t2); } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, AttributedTextMarkdownSerializer__encodeMarkdownStyle(attribution) { if (attribution.$eq(0, B.NamedAttribution_code)) return "`"; else if (attribution.$eq(0, B.NamedAttribution_bold)) return "**"; else if (attribution.$eq(0, B.NamedAttribution_italics)) return "*"; else if (attribution.$eq(0, B.NamedAttribution_strikethrough)) return "~"; else return ""; }, AttributedTextMarkdownSerializer__encodeLinkMarker(attributions, $event) { var linkAttribution, linkAttributions = new A.WhereIterable(attributions, new A.AttributedTextMarkdownSerializer__encodeLinkMarker_closure(), A._instanceType(attributions)._eval$1("WhereIterable<SetBase.E>")); if (!linkAttributions.get$isEmpty(0)) { linkAttribution = type$.LinkAttribution._as(linkAttributions.get$first(0)); if ($event === B.AttributionVisitEvent_0) return "["; else return "](" + linkAttribution.url.toString$0(0) + ")"; } return ""; }, _MarkdownToDocument: function _MarkdownToDocument(t0, t1) { this._markdown$_content = t0; this._listItemTypeStack = t1; }, _InlineMarkdownToDocument: function _InlineMarkdownToDocument(t0) { this._imageAltText = this._markdown$_imageUrl = null; this._textStack = t0; }, AttributedTextMarkdownSerializer: function AttributedTextMarkdownSerializer() { this.__AttributedTextMarkdownSerializer__fullText_A = $; this._markdown$_buffer = null; this.__AttributedTextMarkdownSerializer__bufferCursor_A = $; }, AttributedTextMarkdownSerializer__encodeLinkMarker_closure: function AttributedTextMarkdownSerializer__encodeLinkMarker_closure() { }, _EmptyParagraphSyntax: function _EmptyParagraphSyntax() { }, GoogleOAuth_signIn(callback, isSilent) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, account; var $async$GoogleOAuth_signIn = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = isSilent ? 3 : 5; break; case 3: // then $async$goto = 6; return A._asyncAwait($.$get$_googleSignIn().signInSilently$0(), $async$GoogleOAuth_signIn); case 6: // returning from await. // goto join $async$goto = 4; break; case 5: // else $async$result = null; case 4: // join account = $async$result; $async$goto = account == null ? 7 : 8; break; case 7: // then $async$goto = 9; return A._asyncAwait($.$get$_googleSignIn().signIn$0(0), $async$GoogleOAuth_signIn); case 9: // returning from await. account = $async$result; case 8: // join if (account != null) { account.get$authentication().then$1$1(0, new A.GoogleOAuth_signIn_closure(callback), type$.Null); $async$returnValue = true; // goto return $async$goto = 1; break; } else { A.print("## ERROR: sign in failed"); $async$returnValue = false; // goto return $async$goto = 1; break; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$GoogleOAuth_signIn, $async$completer); }, GoogleOAuth_signUp(callback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, account; var $async$GoogleOAuth_signUp = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait($.$get$_googleSignIn().signIn$0(0), $async$GoogleOAuth_signUp); case 3: // returning from await. account = $async$result; if (account != null) { account.get$authentication().then$1$1(0, new A.GoogleOAuth_signUp_closure(callback), type$.Null); $async$returnValue = true; // goto return $async$goto = 1; break; } else { A.print("## ERROR: sign up failed"); $async$returnValue = false; // goto return $async$goto = 1; break; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$GoogleOAuth_signUp, $async$completer); }, GoogleOAuth_signOut() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_GoogleSignInAccount), $async$returnValue, t1, t2; var $async$GoogleOAuth_signOut = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$_googleSignIn(); t2 = $.$get$GoogleSignInPlatform__instance(); $async$goto = 3; return A._asyncAwait(t1._addMethodCall$1(t2.get$signOut(t2)), $async$GoogleOAuth_signOut); case 3: // returning from await. $async$returnValue = $async$result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$GoogleOAuth_signOut, $async$completer); }, GoogleOAuth_disconnect() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_GoogleSignInAccount), $async$returnValue, t1, t2; var $async$GoogleOAuth_disconnect = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$_googleSignIn(); t2 = $.$get$GoogleSignInPlatform__instance(); $async$goto = 3; return A._asyncAwait(t1._addMethodCall$1(t2.get$disconnect(t2)), $async$GoogleOAuth_disconnect); case 3: // returning from await. $async$returnValue = $async$result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$GoogleOAuth_disconnect, $async$completer); }, GoogleOAuth_signIn_closure: function GoogleOAuth_signIn_closure(t0) { this.callback = t0; }, GoogleOAuth_signUp_closure: function GoogleOAuth_signUp_closure(t0) { this.callback = t0; }, supportsInlineBrowser() { A.isMacOS(); A.isWindows(); A.isLinux(); var t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.get$isHosted() && !t1.userCompanyStates._list$_list[t1.uiState.selectedCompanyIndex].userCompany.account.accountSmsVerified) return false; return true; }, supportsLatestFeatures(version) { var t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; A.StoreProvider_of(t1, type$.AppState).__Store__state_A === $ && A.throwUnnamedLateFieldNI(); return true; }, supportsInAppPurchase() { var t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (!t1.get$isHosted()) return false; A.isIOS(); A.isAndroid(); A.isMacOS(); return false; }, initiatePurchase() { var t2, t3, t4, t5, _null = null, t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t2 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = t2.userCompanyStates; t4 = t2.uiState.selectedCompanyIndex; t3 = t3._list$_list; t5 = t3[t4].userCompany; if (A.supportsInAppPurchase()) if (t5.account.hasIapPlan) { A.isIOS(); A.isAndroid(); t1 = t3[t4]; A.launchUrl(A.Uri_parse(t1.userCompany.ninjaPortalUrl, 0, _null)); } else if (!t2.get$isHosted() || t3[t4].userCompany.account.plan === "enterprise" || t3[t4].userCompany.account.plan === "pro") A.launchUrl(A.Uri_parse(t3[t4].userCompany.ninjaPortalUrl, 0, _null)); else A.showDialog(_null, _null, true, _null, new A.initiatePurchase_closure(), t1, _null, true, type$.void); else A.launchUrl(A.Uri_parse(t3[t4].userCompany.ninjaPortalUrl, 0, _null)); }, isApple() { return false; }, isMacOS() { return false; }, isWindows() { return false; }, isLinux() { return false; }, isAndroid() { return false; }, isIOS() { return false; }, getPlatformLetter() { return "C"; }, getPlatformName() { return "Web"; }, getNativePlatform() { var userAgent, t1 = window.document.documentElement; t1.toString; userAgent = t1.getAttribute("data-" + new A._DataAttributeMap(new A._ElementAttributeMap(t1))._toHyphenedName$1("user-agent")); if (userAgent == null) userAgent = ""; userAgent = userAgent.toLowerCase(); if (B.JSString_methods.contains$1(userAgent, "ipad") || B.JSString_methods.contains$1(userAgent, "ipod") || B.JSString_methods.contains$1(userAgent, "iphone")) return "iPhone"; else if (B.JSString_methods.contains$1(userAgent, "android")) return "Android"; else if (B.JSString_methods.contains$1(userAgent, "win")) return "Windows"; else if (B.JSString_methods.contains$1(userAgent, "mac")) return "macOS"; else if (B.JSString_methods.contains$1(userAgent, "linux")) return "Linux"; else return ""; }, getNativeAppUrl(platform) { switch (platform) { case "Android": return string$.https_pl; case "iPhone": return string$.https_aa; case "Windows": return string$.https_am; case "macOS": return "https://apps.apple.com/app/id1503970375"; case "Linux": return "https://snapcraft.io/invoiceninja"; } return ""; }, getNativeAppIcon(platform) { switch (platform) { case "Android": return B.IconData_57477_MaterialIcons_null_false; case "iPhone": case "macOS": return B._MdiIconData_7T10; case "Windows": return B._MdiIconData_jVE1; case "Linux": return B._MdiIconData_ifn; } return null; }, getRateAppURL(context) { return "https://www.capterra.com/p/145215/Invoice-Ninja"; }, calculateLayout(context) { if (A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size._dx < 700) return B.AppLayout_mobile; else return B.AppLayout_desktop; }, initiatePurchase_closure: function initiatePurchase_closure() { }, toSnakeCase(value) { if ((value == null ? "" : value).length === 0) return ""; value.toString; return A.stringReplaceAllFuncUnchecked(value, A.RegExp_RegExp("[A-Z]", true, false, false, false), new A.toSnakeCase_closure(), null); }, toCamelCase(subject) { var _firstWord, t1, t2, _splittedString = A._setArrayType(subject.split("_"), type$.JSArray_String); if (_splittedString.length === 0) return ""; _firstWord = _splittedString[0].toLowerCase(); t1 = B.JSArray_methods.sublist$1(_splittedString, 1); t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>"); return _firstWord + B.JSArray_methods.join$1(A.List_List$of(new A.MappedListIterable(t1, new A.toCamelCase_closure(), t2), true, t2._eval$1("ListIterable.E")), ""); }, toSpaceCase(value) { if (value.length === 0) return ""; return A.stringReplaceAllFuncUnchecked(value, A.RegExp_RegExp("[A-Z]", true, false, false, false), new A.toSpaceCase_closure(), null); }, toTitleCase(text) { var t1 = text.length; if (t1 === 0) return ""; if (t1 <= 1) return text.toUpperCase(); return new A.MappedListIterable(A._setArrayType(A.toSpaceCase(text).split(" "), type$.JSArray_String), new A.toTitleCase_closure(), type$.MappedListIterable_String_String).join$1(0, " "); }, isValidDate(input) { var exception; try { A.DateTime_parse(input); return true; } catch (exception) { return false; } }, matchesStrings(haystacks, needle) { var t1 = {}; if (needle == null || needle.length === 0) return true; t1.isMatch = false; B.JSArray_methods.forEach$1(haystacks, new A.matchesStrings_closure(t1, needle)); return t1.isMatch; }, matchesString(haystack, needle) { var t2, parts, t1 = {}; if (needle == null || needle.length === 0) return true; t2 = $.$get$navigatorKey(); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2); t2.toString; t2 = A.StoreProvider_of(t2, type$.AppState).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2.prefState.enableFlexibleSearch) { t1.regExp = ""; new A.Runes(needle.toLowerCase()).forEach$1(0, new A.matchesString_closure(t1)); t1 = A.RegExp_RegExp(t1.regExp, true, false, false, false); t2 = haystack.toLowerCase(); return t1._nativeRegExp.test(t2); } else if (J.contains$1$asx(needle, " ")) { parts = A._setArrayType(needle.toLowerCase().split(" "), type$.JSArray_String); t1.isMatch = true; B.JSArray_methods.forEach$1(parts, new A.matchesString_closure0(t1, haystack)); return t1.isMatch; } else return B.JSString_methods.contains$1(haystack.toLowerCase(), needle.toLowerCase()); }, matchesStringsValue(haystacks, needle) { var t1 = {}; t1.needle = needle; if (needle == null || needle.length === 0) return null; t1.needle = J.trim$0$s(needle); t1.match = null; B.JSArray_methods.forEach$1(haystacks, new A.matchesStringsValue_closure(t1)); return t1.match; }, matchesStringValue(haystack, needle) { if (needle == null || needle.length === 0) return null; if (B.JSString_methods.contains$1(haystack.toLowerCase(), needle.toLowerCase())) return haystack; else return null; }, untrimUrl(url) { if (B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://")) return url; return "https://" + url; }, trimUrl(url) { url = B.JSString_methods.replaceFirst$2(B.JSString_methods.replaceFirst$2(url, "http://", ""), "https://", ""); return B.JSString_methods.startsWith$1(url, "www.") ? B.JSString_methods.replaceFirst$2(url, "www.", "") : url; }, getRandomString() { return A.String_String$fromCharCodes(A.Iterable_Iterable$generate(32, new A.getRandomString_closure(), type$.int), 0, null); }, toSnakeCase_closure: function toSnakeCase_closure() { }, toCamelCase_closure: function toCamelCase_closure() { }, toSpaceCase_closure: function toSpaceCase_closure() { }, toTitleCase_closure: function toTitleCase_closure() { }, matchesStrings_closure: function matchesStrings_closure(t0, t1) { this._box_0 = t0; this.needle = t1; }, matchesString_closure: function matchesString_closure(t0) { this._box_0 = t0; }, matchesString_closure0: function matchesString_closure0(t0, t1) { this._box_0 = t0; this.haystack = t1; }, matchesStringsValue_closure: function matchesStringsValue_closure(t0) { this._box_0 = t0; }, getRandomString_closure: function getRandomString_closure() { }, ExampleEditor: function ExampleEditor(t0, t1, t2) { this.value = t0; this.onChanged = t1; this.key = t2; }, _ExampleEditorState: function _ExampleEditorState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._viewportKey = t0; _._docLayoutKey = t1; _.___ExampleEditorState__doc_A = $; _._docChangeSignal = t2; _.___ExampleEditorState__scrollController_A = _.___ExampleEditorState__editorFocusNode_A = _.___ExampleEditorState__docOps_A = _.___ExampleEditorState__docEditor_A = _.___ExampleEditorState__composer_A = $; _._selectionLayerLinks = t3; _._brightness = t4; _._textFormatBarOverlayController = t5; _._textSelectionAnchor = t6; _._imageFormatBarOverlayController = t7; _._imageSelectionAnchor = t8; _._super_editor$_overlayController = t9; _.___ExampleEditorState__iosControlsController_F = $; _._widget = null; _._debugLifecycleState = t10; _._framework$_element = null; }, _ExampleEditorState_initState_closure: function _ExampleEditorState_initState_closure(t0) { this.$this = t0; }, _ExampleEditorState__showEditorToolbar_closure: function _ExampleEditorState__showEditorToolbar_closure(t0) { this.$this = t0; }, _ExampleEditorState__showImageToolbar_closure: function _ExampleEditorState__showImageToolbar_closure(t0) { this.$this = t0; }, _ExampleEditorState_build_closure: function _ExampleEditorState_build_closure() { }, _ExampleEditorState_build_closure0: function _ExampleEditorState_build_closure0(t0) { this.$this = t0; }, _ExampleEditorState__buildMountedToolbar_closure: function _ExampleEditorState__buildMountedToolbar_closure(t0) { this.$this = t0; }, _ExampleEditorState__buildImageToolbar_closure: function _ExampleEditorState__buildImageToolbar_closure(t0) { this.$this = t0; }, _darkModeStyles_closure: function _darkModeStyles_closure() { }, _darkModeStyles_closure0: function _darkModeStyles_closure0() { }, _darkModeStyles_closure1: function _darkModeStyles_closure1() { }, SuperEditorDemoTextItemSelector: function SuperEditorDemoTextItemSelector(t0, t1, t2, t3, t4, t5) { var _ = this; _.parentFocusNode = t0; _.boundaryKey = t1; _.id = t2; _.items = t3; _.onSelected = t4; _.key = t5; }, _SuperEditorDemoTextItemSelectorState: function _SuperEditorDemoTextItemSelectorState(t0, t1, t2) { var _ = this; _._super_editor_item_selector$_popoverController = t0; _._popoverFocusNode = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _SuperEditorDemoTextItemSelectorState_build_closure: function _SuperEditorDemoTextItemSelectorState_build_closure(t0) { this.$this = t0; }, _SuperEditorDemoTextItemSelectorState_build__closure: function _SuperEditorDemoTextItemSelectorState_build__closure(t0) { this.$this = t0; }, _SuperEditorDemoTextItemSelectorState__buildButton_closure: function _SuperEditorDemoTextItemSelectorState__buildButton_closure(t0) { this.$this = t0; }, SuperEditorDemoTextItem: function SuperEditorDemoTextItem(t0, t1) { this.id = t0; this.label = t1; }, SuperEditorPopoverButton: function SuperEditorPopoverButton(t0, t1, t2, t3) { var _ = this; _.padding = t0; _.onTap = t1; _.child = t2; _.key = t3; }, EditorToolbar: function EditorToolbar(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.editorViewportKey = t0; _.anchor = t1; _.editorFocusNode = t2; _.editor = t3; _.document = t4; _.composer = t5; _.closeToolbar = t6; _.key = t7; }, _EditorToolbarState: function _EditorToolbarState(t0) { var _ = this; _.___EditorToolbarState__screenBoundary_A = _.___EditorToolbarState__toolbarAligner_F = $; _._showUrlField = false; _.___EditorToolbarState__urlFocusNode_A = _.___EditorToolbarState__popoverFocusNode_A = $; _._widget = _._urlController = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _EditorToolbarState__getSelectedLinkSpans_closure: function _EditorToolbarState__getSelectedLinkSpans_closure() { }, _EditorToolbarState__onLinkPressed_closure: function _EditorToolbarState__onLinkPressed_closure() { }, _EditorToolbarState__onLinkPressed_closure0: function _EditorToolbarState__onLinkPressed_closure0(t0) { this.$this = t0; }, _EditorToolbarState__applyLink_closure: function _EditorToolbarState__applyLink_closure(t0) { this.$this = t0; }, _EditorToolbarState__onBlockTypeSelected_closure: function _EditorToolbarState__onBlockTypeSelected_closure(t0, t1) { this.$this = t0; this.selectedItem = t1; }, _EditorToolbarState__onBlockTypeSelected__closure: function _EditorToolbarState__onBlockTypeSelected__closure(t0) { this.selectedItem = t0; }, _EditorToolbarState__buildBlockTypeSelector_closure: function _EditorToolbarState__buildBlockTypeSelector_closure(t0) { this.$this = t0; }, _EditorToolbarState__buildUrlField_closure0: function _EditorToolbarState__buildUrlField_closure0() { }, _EditorToolbarState__buildUrlField_closure: function _EditorToolbarState__buildUrlField_closure() { }, _EditorToolbarState__buildUrlField_closure1: function _EditorToolbarState__buildUrlField_closure1(t0) { this.$this = t0; }, _EditorToolbarState__buildUrlField__closure: function _EditorToolbarState__buildUrlField__closure(t0) { this.$this = t0; }, _TextType: function _TextType(t0, t1) { this.index = t0; this._core$_name = t1; }, ImageFormatToolbar: function ImageFormatToolbar(t0, t1, t2, t3) { var _ = this; _.anchor = t0; _.composer = t1; _.setWidth = t2; _.key = t3; }, _ImageFormatToolbarState: function _ImageFormatToolbarState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _ImageFormatToolbarState_build_closure: function _ImageFormatToolbarState_build_closure(t0) { this.$this = t0; }, _PositionedToolbar: function _PositionedToolbar(t0, t1, t2, t3) { var _ = this; _.anchor = t0; _.composer = t1; _.child = t2; _.key = t3; }, _PositionedToolbar_build_closure: function _PositionedToolbar_build_closure(t0) { this.$this = t0; }, SingleLineAttributedTextEditingController: function SingleLineAttributedTextEditingController(t0, t1, t2, t3, t4, t5) { var _ = this; _.onSubmit = t0; _._attributed_text_editing_controller$_selection = t1; _._composingAttributions = t2; _._composingRegion = t3; _._attributed_text_editing_controller$_text = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, loadEmailTemplate(body, context, invoice, onComplete, subject, template) { var t2, credentials, t3, t1 = {}; t1.subject = subject; t1.body = body; t2 = A.StoreProvider_of(context, type$.AppState).__Store__state_A; t2 === $ && A.throwUnnamedLateFieldNI(); credentials = t2.get$credentials(0); template = "email_template_" + template; if (template === "email_template_quote_reminder1") template = "email_quote_template_reminder1"; t2 = invoice == null; t3 = t2 ? null : invoice.entityType; t3 = A.S(t3 == null ? "" : t3); t2 = t2 ? null : invoice.id; new A.WebClient().post$3$data(credentials.url + "/templates", credentials.token, B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["entity", t3, "entity_id", t2 == null ? "" : t2, "template", template, "subject", subject, "body", body], type$.String, type$.nullable_String))).then$1$1(0, new A.loadEmailTemplate_closure(onComplete), type$.Null).catchError$1(new A.loadEmailTemplate_closure0(t1, onComplete)); }, loadEmailTemplate_closure: function loadEmailTemplate_closure(t0) { this.onComplete = t0; }, loadEmailTemplate_closure0: function loadEmailTemplate_closure0(t0, t1) { this._box_0 = t0; this.onComplete = t1; }, WebUtils_apiUrl() { var url, t1 = window.location.href; t1.toString; if (B.JSString_methods.contains$1(t1, "?")) url = t1.split("?")[0]; else url = t1; return A.formatApiUrl(B.JSString_methods.contains$1(url, "#") ? url.split("#")[0] : url); }, WebUtils_registerWebView(html) { var t1; $.$get$platformViewRegistry(); t1 = html == null ? "" : html; $.$get$PlatformViewManager_instance().registerFactory$3$isVisible(t1, new A.WebUtils_registerWebView_closure(html), true); }, WebUtils_warnChanges(store) { var t1 = window; t1.toString; A._EventStreamSubscription$(t1, "beforeunload", new A.WebUtils_warnChanges_closure(store), false, type$.BeforeUnloadEvent); }, WebUtils_microsoftLogin(succesCallback, failureCallback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), clientId, t2, publicClientApp, value, t1; var $async$WebUtils_microsoftLogin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$navigatorKey(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (!t1.get$isHosted()) { t1 = window.document.documentElement; t1.toString; clientId = t1.getAttribute("data-" + new A._DataAttributeMap(new A._ElementAttributeMap(t1))._toHyphenedName$1("microsoft-client-id")); if (clientId == null) clientId = ""; } else clientId = "1023b9ce-5b09-4f04-98f8-e1ed85a72332"; t1 = A.Configuration$(null); t2 = A.BrowserAuthOptions$(null); t2.redirectUri = A.cleanApiUrl(A.WebUtils_apiUrl()); t2.clientId = clientId; t1.auth = t2; publicClientApp = A.PublicClientApplication_PublicClientApplication(new A.Configuration(t1)); t1 = A.PopupRequest$(null); value = A._setArrayType(["user.read"], type$.JSArray_String); value = A.jsify(value); t1.scopes = value; publicClientApp.loginPopup$1(0, new A.PopupRequest(t1)).then$1$1(0, new A.WebUtils_microsoftLogin_closure(succesCallback), type$.Null).catchError$1(new A.WebUtils_microsoftLogin_closure0(failureCallback)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$WebUtils_microsoftLogin, $async$completer); }, WebUtils_registerWebView_closure: function WebUtils_registerWebView_closure(t0) { this.html = t0; }, WebUtils_warnChanges_closure: function WebUtils_warnChanges_closure(t0) { this.store = t0; }, WebUtils_microsoftLogin_closure: function WebUtils_microsoftLogin_closure(t0) { this.succesCallback = t0; }, WebUtils_microsoftLogin_closure0: function WebUtils_microsoftLogin_closure0(t0) { this.failureCallback = t0; }, linkify(text, options) { var _i, t1 = type$.JSArray_LinkifyElement, list = A._setArrayType([new A.TextElement0(text, text)], t1); if (text.length === 0) return A._setArrayType([], t1); for (_i = 0; _i < 2; ++_i) list = B.List_UrlLinkifier_EmailLinkifier[_i].parse$2(0, list, options); return list; }, LinkifyElement: function LinkifyElement() { }, LinkableElement: function LinkableElement() { }, TextElement0: function TextElement0(t0, t1) { this.text = t0; this.originText = t1; }, Linkifier: function Linkifier() { }, LinkifyOptions: function LinkifyOptions(t0, t1) { this.humanize = t0; this.looseUrl = t1; }, EmailLinkifier: function EmailLinkifier() { }, EmailElement: function EmailElement(t0, t1, t2, t3) { var _ = this; _.emailAddress = t0; _.url = t1; _.text = t2; _.originText = t3; }, UrlLinkifier: function UrlLinkifier() { }, UrlElement: function UrlElement(t0, t1, t2) { this.url = t0; this.text = t1; this.originText = t2; }, LocalAuthentication: function LocalAuthentication() { }, AndroidAuthMessages: function AndroidAuthMessages() { }, IOSAuthMessages: function IOSAuthMessages() { }, DefaultLocalAuthPlatform: function DefaultLocalAuthPlatform() { }, LocalAuthPlatform: function LocalAuthPlatform() { }, AuthMessages: function AuthMessages() { }, AuthenticationOptions: function AuthenticationOptions(t0) { this.biometricOnly = t0; }, WindowsAuthMessages: function WindowsAuthMessages() { }, Level: function Level(t0, t1) { this.name = t0; this.value = t1; }, LogRecord: function LogRecord(t0, t1, t2) { this.level = t0; this.message = t1; this.loggerName = t2; }, Logger_Logger($name) { return $.Logger__loggers.putIfAbsent$2(0, $name, new A.Logger_Logger_closure($name)); }, Logger: function Logger(t0, t1, t2) { var _ = this; _.name = t0; _.parent = t1; _._level = null; _._logger$_children = t2; _._logger$_controller = null; }, Logger_Logger_closure: function Logger_Logger_closure(t0) { this.name = t0; }, Element1: function Element1(t0, t1, t2) { this.tag = t0; this.children = t1; this.attributes = t2; }, Element_textContent_closure: function Element_textContent_closure() { }, Text1: function Text1(t0) { this.text = t0; }, UnparsedContent: function UnparsedContent(t0) { this.textContent = t0; }, BlockParser$(lines, $document) { var t1 = type$.JSArray_BlockSyntax, t2 = A._setArrayType([], t1); t1 = A._setArrayType([B.C_EmptyBlockSyntax, B.C_BlockTagBlockHtmlSyntax, new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<pre(?:\\s|>|$)", true, false, false, false), A.RegExp_RegExp("</pre>", true, false, false, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<script(?:\\s|>|$)", true, false, false, false), A.RegExp_RegExp("</script>", true, false, false, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<style(?:\\s|>|$)", true, false, false, false), A.RegExp_RegExp("</style>", true, false, false, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<!--", true, false, false, false), A.RegExp_RegExp("-->", true, false, false, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<\\?", true, false, false, false), A.RegExp_RegExp("\\?>", true, false, false, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<![A-Z]", true, false, false, false), A.RegExp_RegExp(">", true, false, false, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<!\\[CDATA\\[", true, false, false, false), A.RegExp_RegExp("\\]\\]>", true, false, false, false)), B.C_OtherTagBlockHtmlSyntax, B.C_SetextHeaderSyntax, B.C_HeaderSyntax, B.C_CodeBlockSyntax, B.C_BlockquoteSyntax, B.C_HorizontalRuleSyntax, B.C_UnorderedListSyntax, B.C_OrderedListSyntax, B.C_ParagraphSyntax], t1); B.JSArray_methods.addAll$1(t2, $document._blockSyntaxes); B.JSArray_methods.addAll$1(t2, t1); return new A.BlockParser(lines, $document, t2, t1); }, BlockSyntax_isAtBlockEnd(parser) { if (parser._pos >= parser.lines.length) return true; return B.JSArray_methods.any$1(parser.blockSyntaxes, new A.BlockSyntax_isAtBlockEnd_closure(parser)); }, ListSyntax__expandedTabLength(input) { var t1, t2, $length, t3; for (t1 = new A.CodeUnits(input), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), $length = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; $length += (t3 == null ? t2._as(t3) : t3) === 9 ? 4 - B.JSInt_methods.$mod($length, 4) : 1; } return $length; }, BlockParser: function BlockParser(t0, t1, t2, t3) { var _ = this; _.lines = t0; _.document = t1; _.blockSyntaxes = t2; _._pos = 0; _.encounteredBlankLine = false; _.standardBlockSyntaxes = t3; }, BlockSyntax: function BlockSyntax() { }, BlockSyntax_isAtBlockEnd_closure: function BlockSyntax_isAtBlockEnd_closure(t0) { this.parser = t0; }, EmptyBlockSyntax: function EmptyBlockSyntax() { }, SetextHeaderSyntax: function SetextHeaderSyntax() { }, HeaderSyntax: function HeaderSyntax() { }, BlockquoteSyntax: function BlockquoteSyntax() { }, BlockquoteSyntax_parseChildLines_closure: function BlockquoteSyntax_parseChildLines_closure(t0) { this.parser = t0; }, CodeBlockSyntax: function CodeBlockSyntax() { }, FencedCodeBlockSyntax: function FencedCodeBlockSyntax() { }, HorizontalRuleSyntax: function HorizontalRuleSyntax() { }, BlockHtmlSyntax: function BlockHtmlSyntax() { }, BlockTagBlockHtmlSyntax: function BlockTagBlockHtmlSyntax() { }, OtherTagBlockHtmlSyntax: function OtherTagBlockHtmlSyntax() { }, LongBlockHtmlSyntax: function LongBlockHtmlSyntax(t0, t1) { this.pattern = t0; this._endPattern = t1; }, ListItem: function ListItem(t0) { this.lines = t0; }, ListSyntax: function ListSyntax() { }, ListSyntax_parse_endItem: function ListSyntax_parse_endItem(t0, t1) { this._box_0 = t0; this.items = t1; }, ListSyntax_parse_tryMatch: function ListSyntax_parse_tryMatch(t0, t1) { this.match = t0; this.parser = t1; }, UnorderedListSyntax: function UnorderedListSyntax() { }, OrderedListSyntax: function OrderedListSyntax() { }, ParagraphSyntax: function ParagraphSyntax() { }, ParagraphSyntax__extractReflinkDefinitions_lineStartsReflinkDefinition: function ParagraphSyntax__extractReflinkDefinitions_lineStartsReflinkDefinition(t0) { this.lines = t0; }, ParagraphSyntax__parseReflinkDefinition_closure: function ParagraphSyntax__parseReflinkDefinition_closure(t0, t1) { this._box_0 = t0; this.destination = t1; }, Document$0(blockSyntaxes) { var t3, t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.BlockSyntax), t2 = A.LinkedHashSet_LinkedHashSet$_empty(type$.InlineSyntax); t1.addAll$1(0, blockSyntaxes == null ? A._setArrayType([], type$.JSArray_BlockSyntax) : blockSyntaxes); t3 = A._setArrayType([], type$.JSArray_InlineSyntax); t2.addAll$1(0, t3); t3 = $.$get$ExtensionSet_commonMark(); t1.addAll$1(0, t3.blockSyntaxes); t2.addAll$1(0, t3.inlineSyntaxes); return new A.Document0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.LinkReference), t1, t2, false); }, Document0: function Document0(t0, t1, t2, t3) { var _ = this; _.linkReferences = t0; _._blockSyntaxes = t1; _._inlineSyntaxes = t2; _.hasCustomInlineSyntaxes = t3; }, LinkReference: function LinkReference(t0, t1) { this.destination = t0; this.title = t1; }, ExtensionSet: function ExtensionSet(t0, t1) { this.blockSyntaxes = t0; this.inlineSyntaxes = t1; }, TextSyntax$(pattern, startCharacter, sub) { return new A.TextSyntax(sub, A.RegExp_RegExp(pattern, true, false, true, false), startCharacter); }, DelimiterRun_tryParse(parser, runStart, runEnd, allowIntraWord, node, syntax) { var leftFlanking, rightFlanking, t3, _s4_ = " \t\r\n", preceding = runStart === 0 ? "\n" : B.JSString_methods.substring$2(parser.source, runStart - 1, runStart), t1 = $.$get$DelimiterRun_punctuation()._nativeRegExp, precededByPunctuation = t1.test(preceding), t2 = parser.source, following = runEnd === t2.length ? "\n" : B.JSString_methods.substring$2(t2, runEnd, runEnd + 1), followedByPunctuation = t1.test(following); t1 = B.JSString_methods.contains$1(_s4_, following); if (t1) leftFlanking = false; else leftFlanking = !followedByPunctuation || B.JSString_methods.contains$1(_s4_, preceding) || precededByPunctuation || false; if (B.JSString_methods.contains$1(_s4_, preceding)) rightFlanking = false; else rightFlanking = !precededByPunctuation || t1 || followedByPunctuation || false; if (!leftFlanking && !rightFlanking) return null; t1 = t2.charCodeAt(runStart); if (leftFlanking) if (t1 !== 42) if (rightFlanking) t2 = precededByPunctuation; else t2 = true; else t2 = true; else t2 = false; if (rightFlanking) if (t1 !== 42) if (leftFlanking) t3 = followedByPunctuation; else t3 = true; else t3 = true; else t3 = false; return new A.DelimiterRun(node, t1, syntax, t2, t3); }, TagSyntax$(pattern, requiresDelimiterRun, startCharacter) { return new A.TagSyntax(requiresDelimiterRun, A.RegExp_RegExp(pattern, true, false, true, false), startCharacter); }, LinkSyntax$(linkResolver, pattern, startCharacter) { return new A.LinkSyntax(new A.LinkSyntax_closure(), false, A.RegExp_RegExp(pattern, true, false, true, false), startCharacter); }, ImageSyntax$(linkResolver) { return new A.ImageSyntax(new A.LinkSyntax_closure(), false, A.RegExp_RegExp("!\\[", true, false, true, false), 33); }, InlineParser: function InlineParser(t0, t1, t2, t3, t4) { var _ = this; _.source = t0; _.document = t1; _.syntaxes = t2; _.start = _.pos = 0; _._delimiterStack = t3; _._inline_parser$_tree = t4; }, InlineParser_parse_closure: function InlineParser_parse_closure(t0) { this.$this = t0; }, InlineParser__linkOrImage_closure: function InlineParser__linkOrImage_closure() { }, InlineParser__linkOrImage_closure0: function InlineParser__linkOrImage_closure0() { }, InlineParser__linkOrImage_closure1: function InlineParser__linkOrImage_closure1(t0) { this.delimiter = t0; }, InlineParser__linkOrImage_closure2: function InlineParser__linkOrImage_closure2(t0, t1, t2) { this.$this = t0; this.index = t1; this.nodeIndex = t2; }, InlineParser__processEmphasis_closure: function InlineParser__processEmphasis_closure(t0) { this.bottomIndex = t0; }, InlineParser__processEmphasis_closure0: function InlineParser__processEmphasis_closure0(t0, t1) { this.$this = t0; this.closer = t1; }, InlineParser__processEmphasis_closure1: function InlineParser__processEmphasis_closure1(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.openerTextNodeIndex = t2; }, InlineSyntax: function InlineSyntax() { }, LineBreakSyntax: function LineBreakSyntax(t0, t1) { this.pattern = t0; this._startCharacter = t1; }, TextSyntax: function TextSyntax(t0, t1, t2) { this.substitute = t0; this.pattern = t1; this._startCharacter = t2; }, EscapeSyntax: function EscapeSyntax(t0, t1) { this.pattern = t0; this._startCharacter = t1; }, InlineHtmlSyntax: function InlineHtmlSyntax(t0, t1, t2) { this.substitute = t0; this.pattern = t1; this._startCharacter = t2; }, EmailAutolinkSyntax: function EmailAutolinkSyntax(t0, t1) { this.pattern = t0; this._startCharacter = t1; }, AutolinkSyntax: function AutolinkSyntax(t0, t1) { this.pattern = t0; this._startCharacter = t1; }, SimpleDelimiter: function SimpleDelimiter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.node = t0; _.char = t1; _.length = t2; _.isActive = true; _.canOpen = t3; _.canClose = t4; _.syntax = t5; _.endPos = t6; }, DelimiterRun: function DelimiterRun(t0, t1, t2, t3, t4) { var _ = this; _.node = t0; _.char = t1; _.syntax = t2; _.canOpen = t3; _.canClose = t4; }, TagSyntax: function TagSyntax(t0, t1, t2) { this.requiresDelimiterRun = t0; this.pattern = t1; this._startCharacter = t2; }, LinkSyntax: function LinkSyntax(t0, t1, t2, t3) { var _ = this; _.linkResolver = t0; _.requiresDelimiterRun = t1; _.pattern = t2; _._startCharacter = t3; }, LinkSyntax_closure: function LinkSyntax_closure() { }, ImageSyntax: function ImageSyntax(t0, t1, t2, t3) { var _ = this; _.linkResolver = t0; _.requiresDelimiterRun = t1; _.pattern = t2; _._startCharacter = t3; }, ImageSyntax__createNode_closure: function ImageSyntax__createNode_closure() { }, CodeSyntax: function CodeSyntax(t0, t1) { this.pattern = t0; this._startCharacter = t1; }, InlineLink: function InlineLink(t0, t1) { this.destination = t0; this.title = t1; }, _MdiIconData: function _MdiIconData(t0, t1, t2, t3) { var _ = this; _.codePoint = t0; _.fontFamily = t1; _.fontPackage = t2; _.matchTextDirection = t3; }, memo1(func, $A, $R) { var t1 = {}, prevArg = A._Cell$named("prevArg"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo1_closure(t1, prevArg, prevResult, func, $A, $R); }, memo2(func, $A, $B, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo2_closure(t1, prevArgA, prevArgB, prevResult, func, $A, $B, $R); }, memo3(func, $A, $B, $C, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo3_closure(t1, prevArgA, prevArgB, prevArgC, prevResult, func, $A, $B, $C, $R); }, memo4(func, $A, $B, $C, $D, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo4_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevResult, func, $A, $B, $C, $D, $R); }, memo5(func, $A, $B, $C, $D, $E, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevArgE = A._Cell$named("prevArgE"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo5_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevArgE, prevResult, func, $A, $B, $C, $D, $E, $R); }, memo6(func, $A, $B, $C, $D, $E, $F, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevArgE = A._Cell$named("prevArgE"), prevArgF = A._Cell$named("prevArgF"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo6_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevArgE, prevArgF, prevResult, func, $A, $B, $C, $D, $E, $F, $R); }, memo7(func, $A, $B, $C, $D, $E, $F, $G, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevArgE = A._Cell$named("prevArgE"), prevArgF = A._Cell$named("prevArgF"), prevArgG = A._Cell$named("prevArgG"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo7_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevArgE, prevArgF, prevArgG, prevResult, func, $A, $B, $C, $D, $E, $F, $G, $R); }, memo8(func, $A, $B, $C, $D, $E, $F, $G, $H, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevArgE = A._Cell$named("prevArgE"), prevArgF = A._Cell$named("prevArgF"), prevArgG = A._Cell$named("prevArgG"), prevArgH = A._Cell$named("prevArgH"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo8_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevArgE, prevArgF, prevArgG, prevArgH, prevResult, func, $A, $B, $C, $D, $E, $F, $G, $H, $R); }, memo9(func, $A, $B, $C, $D, $E, $F, $G, $H, I, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevArgE = A._Cell$named("prevArgE"), prevArgF = A._Cell$named("prevArgF"), prevArgG = A._Cell$named("prevArgG"), prevArgH = A._Cell$named("prevArgH"), prevArgI = A._Cell$named("prevArgI"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo9_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevArgE, prevArgF, prevArgG, prevArgH, prevArgI, prevResult, func, $A, $B, $C, $D, $E, $F, $G, $H, I, $R); }, memo10(func, $A, $B, $C, $D, $E, $F, $G, $H, I, $J, $R) { var t1 = {}, prevArgA = A._Cell$named("prevArgA"), prevArgB = A._Cell$named("prevArgB"), prevArgC = A._Cell$named("prevArgC"), prevArgD = A._Cell$named("prevArgD"), prevArgE = A._Cell$named("prevArgE"), prevArgF = A._Cell$named("prevArgF"), prevArgG = A._Cell$named("prevArgG"), prevArgH = A._Cell$named("prevArgH"), prevArgI = A._Cell$named("prevArgI"), prevArgJ = A._Cell$named("prevArgJ"), prevResult = A._Cell$named("prevResult"); t1.isInitial = true; return new A.memo10_closure(t1, prevArgA, prevArgB, prevArgC, prevArgD, prevArgE, prevArgF, prevArgG, prevArgH, prevArgI, prevArgJ, prevResult, func, $A, $B, $C, $D, $E, $F, $G, $H, I, $J, $R); }, memo1_closure: function memo1_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.prevArg = t1; _.prevResult = t2; _.func = t3; _.A = t4; _.R = t5; }, memo2_closure: function memo2_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevResult = t3; _.func = t4; _.A = t5; _.B = t6; _.R = t7; }, memo3_closure: function memo3_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevResult = t4; _.func = t5; _.A = t6; _.B = t7; _.C = t8; _.R = t9; }, memo4_closure: function memo4_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevResult = t5; _.func = t6; _.A = t7; _.B = t8; _.C = t9; _.D = t10; _.R = t11; }, memo5_closure: function memo5_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevArgE = t5; _.prevResult = t6; _.func = t7; _.A = t8; _.B = t9; _.C = t10; _.D = t11; _.E = t12; _.R = t13; }, memo6_closure: function memo6_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevArgE = t5; _.prevArgF = t6; _.prevResult = t7; _.func = t8; _.A = t9; _.B = t10; _.C = t11; _.D = t12; _.E = t13; _.F = t14; _.R = t15; }, memo7_closure: function memo7_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevArgE = t5; _.prevArgF = t6; _.prevArgG = t7; _.prevResult = t8; _.func = t9; _.A = t10; _.B = t11; _.C = t12; _.D = t13; _.E = t14; _.F = t15; _.G = t16; _.R = t17; }, 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) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevArgE = t5; _.prevArgF = t6; _.prevArgG = t7; _.prevArgH = t8; _.prevResult = t9; _.func = t10; _.A = t11; _.B = t12; _.C = t13; _.D = t14; _.E = t15; _.F = t16; _.G = t17; _.H = t18; _.R = t19; }, 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) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevArgE = t5; _.prevArgF = t6; _.prevArgG = t7; _.prevArgH = t8; _.prevArgI = t9; _.prevResult = t10; _.func = t11; _.A = t12; _.B = t13; _.C = t14; _.D = t15; _.E = t16; _.F = t17; _.G = t18; _.H = t19; _.I = t20; _.R = t21; }, 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) { var _ = this; _._box_0 = t0; _.prevArgA = t1; _.prevArgB = t2; _.prevArgC = t3; _.prevArgD = t4; _.prevArgE = t5; _.prevArgF = t6; _.prevArgG = t7; _.prevArgH = t8; _.prevArgI = t9; _.prevArgJ = t10; _.prevResult = t11; _.func = t12; _.A = t13; _.B = t14; _.C = t15; _.D = t16; _.E = t17; _.F = t18; _.G = t19; _.H = t20; _.I = t21; _.J = t22; _.R = t23; }, PublicClientApplication_PublicClientApplication(configuration) { var ex, t1, exception; try { t1 = new msal.PublicClientApplication(configuration._jsObject); return new A.PublicClientApplication(t1); } catch (exception) { t1 = A.unwrapException(exception); if (type$.JsError._is(t1)) { ex = t1; throw A.wrapException(A.convertJsError(ex)); } else throw exception; } }, _callJsMethod($function) { var ex, t1, exception; try { t1 = $function.call$0(); return t1; } catch (exception) { t1 = A.unwrapException(exception); if (type$.JsError._is(t1)) { ex = t1; throw A.wrapException(A.convertJsError(ex)); } else throw exception; } }, _convertMsalPromise(promise, $T) { return A._convertMsalPromise$body(promise, $T, $T); }, _convertMsalPromise$body(promise, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$handler = 2, $async$currentError, ex, t1, exception, $async$exception; var $async$_convertMsalPromise = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; $async$goto = 7; return A._asyncAwait(A.promiseToFuture(promise, $T), $async$_convertMsalPromise); case 7: // returning from await. t1 = $async$result; $async$returnValue = t1; // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (type$.JsError._is(t1)) { ex = t1; throw A.wrapException(A.convertJsError(ex)); } else throw $async$exception; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_convertMsalPromise, $async$completer); }, AuthenticationResult: function AuthenticationResult(t0) { this._jsObject = t0; }, Configuration: function Configuration(t0) { this._jsObject = t0; }, BrowserAuthOptions0: function BrowserAuthOptions0(t0) { this._jsObject = t0; }, PublicClientApplication: function PublicClientApplication(t0) { this._jsObject = t0; }, PublicClientApplication_loginPopup_closure: function PublicClientApplication_loginPopup_closure(t0, t1) { this.$this = t0; this.request = t1; }, PopupRequest: function PopupRequest(t0) { this._jsObject = t0; }, CommonAuthorizationUrlRequest: function CommonAuthorizationUrlRequest() { }, convertJsError(jsError) { var t1 = J.getInterceptor$x(jsError); if (J.$eq$(t1.get$name(jsError), "BrowserConfigurationAuthError")) return new A.BrowserConfigurationAuthException(jsError, jsError); else if (J.$eq$(t1.get$name(jsError), "BrowserAuthError")) return new A.BrowserAuthException(jsError, jsError); else if (J.$eq$(t1.get$name(jsError), "ClientConfigurationError")) return new A.ClientConfigurationException(jsError, jsError); else if (J.$eq$(t1.get$name(jsError), "InteractionRequiredAuthError")) return new A.InteractionRequiredAuthException(jsError, jsError); else if (J.$eq$(t1.get$name(jsError), "ServerError")) return new A.ServerException(jsError, jsError); else if (J.$eq$(t1.get$name(jsError), "ClientAuthError")) return new A.ClientAuthException(jsError, jsError); else return new A.AuthException(jsError, jsError); }, MsalJsException: function MsalJsException() { }, AuthException: function AuthException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, ClientAuthException: function ClientAuthException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, ClientConfigurationException: function ClientConfigurationException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, InteractionRequiredAuthException: function InteractionRequiredAuthException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, ServerException: function ServerException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, BrowserAuthException: function BrowserAuthException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, BrowserConfigurationAuthException: function BrowserConfigurationAuthException(t0, t1) { this._exceptions$_jsObject = t0; this._baseJsObject = t1; }, Configuration$(receiver) { return new A.Configuration0(); }, BrowserAuthOptions$(receiver) { return new A.BrowserAuthOptions(); }, PopupRequest$(receiver) { return new A.PopupRequest0(); }, AccountInfo: function AccountInfo() { }, AuthenticationResult0: function AuthenticationResult0() { }, Configuration0: function Configuration0() { }, BrowserAuthOptions: function BrowserAuthOptions() { }, CacheOptions: function CacheOptions() { }, BrowserSystemOptions: function BrowserSystemOptions() { }, LoggerOptions: function LoggerOptions() { }, AuthError: function AuthError() { }, EventMessage: function EventMessage() { }, Logger1: function Logger1() { }, NavigationOptions: function NavigationOptions() { }, NetworkRequestOptions: function NetworkRequestOptions() { }, NetworkResponse: function NetworkResponse() { }, PublicClientApplication0: function PublicClientApplication0() { }, SsoSilentRequest: function SsoSilentRequest() { }, EndSessionRequest: function EndSessionRequest() { }, EndSessionPopupRequest: function EndSessionPopupRequest() { }, SilentRequest: function SilentRequest() { }, RedirectRequest: function RedirectRequest() { }, PopupRequest0: function PopupRequest0() { }, CommonSilentFlowRequest: function CommonSilentFlowRequest() { }, CommonAuthorizationUrlRequest0: function CommonAuthorizationUrlRequest0() { }, CommonEndSessionRequest: function CommonEndSessionRequest() { }, JsError: function JsError() { }, Promise1: function Promise1() { }, Array: function Array() { }, Object0: function Object0() { }, Reflect: function Reflect() { }, OverflowViewParentData: function OverflowViewParentData(t0, t1, t2) { var _ = this; _.offstage = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, OverflowViewLayoutBehavior: function OverflowViewLayoutBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, RenderOverflowView: function RenderOverflowView(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._overflow_view$_direction = t0; _._overflow_view$_spacing = t1; _._overflow_view$_layoutBehavior = t2; _._isHorizontal = t3; _._hasOverflow = false; _.ContainerRenderObjectMixin__childCount = t4; _.ContainerRenderObjectMixin__firstChild = t5; _.ContainerRenderObjectMixin__lastChild = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderOverflowView_resetOffstage_closure: function RenderOverflowView_resetOffstage_closure() { }, RenderOverflowView_performFixedLayout_getChildOffset: function RenderOverflowView_performFixedLayout_getChildOffset(t0, t1) { this.$this = t0; this.childStride = t1; }, RenderOverflowView_performFlexibleLayout_closure: function RenderOverflowView_performFlexibleLayout_closure(t0) { this.$this = t0; }, RenderOverflowView_visitOnlyOnStageChildren_closure: function RenderOverflowView_visitOnlyOnStageChildren_closure(t0) { this.visitor = t0; }, RenderOverflowView_paint_paintChild: function RenderOverflowView_paint_paintChild(t0, t1, t2) { this.$this = t0; this.context = t1; this.offset = t2; }, RenderOverflowView_paint_defaultPaint: function RenderOverflowView_paint_defaultPaint(t0, t1) { this.$this = t0; this.paintChild = t1; }, RenderOverflowView_hitTestChildren_closure: function RenderOverflowView_hitTestChildren_closure(t0, t1) { this.result = t0; this.position = t1; }, RenderOverflowView_hitTestChildren__closure: function RenderOverflowView_hitTestChildren__closure(t0, t1, t2) { this.position = t0; this.childParentData = t1; this.child = t2; }, _RenderOverflowView_RenderBox_ContainerRenderObjectMixin: function _RenderOverflowView_RenderBox_ContainerRenderObjectMixin() { }, _RenderOverflowView_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderOverflowView_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, OverflowView$flexible(builder, children, spacing) { var t1 = A.List_List$of(children, true, type$.Widget); t1.push(new A.ValueLayoutBuilder(new A.OverflowView$_all_closure(builder), null, type$.ValueLayoutBuilder_int)); return new A.OverflowView(B.Axis_0, spacing, B.OverflowViewLayoutBehavior_1, t1, null); }, OverflowView: function OverflowView(t0, t1, t2, t3, t4) { var _ = this; _.direction = t0; _.spacing = t1; _._layoutBehavior = t2; _.children = t3; _.key = t4; }, OverflowView$_all_closure: function OverflowView$_all_closure(t0) { this.builder = t0; }, _OverflowViewElement: function _OverflowViewElement(t0, t1, t2) { var _ = this; _.__MultiChildRenderObjectElement__children_A = $; _._forgottenChildren = t0; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, CupertinoPopoverToolbarAligner: function CupertinoPopoverToolbarAligner(t0) { this._cupertino_popover_aligners$_boundsKey = t0; }, CupertinoPopoverMenu: function CupertinoPopoverMenu(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.focalPoint = t0; _.allowHorizontalArrow = t1; _.arrowBaseWidth = t2; _.arrowLength = t3; _.borderRadius = t4; _.padding = t5; _.backgroundColor = t6; _.elevation = t7; _.shadowColor = t8; _.extendAndClipContentOverArrow = t9; _.child = t10; _.key = t11; }, RenderPopover: function RenderPopover(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _._cupertino_popover_menu$_borderRadius = t0; _._arrowBaseWidth = t1; _._arrowLength = t2; _._focalPoint = t3; _._cupertino_popover_menu$_padding = t4; _._screenSize = t5; _._cupertino_popover_menu$_backgroundColor = t6; _._cupertino_popover_menu$_elevation = t7; _._cupertino_popover_menu$_shadowColor = t8; _._allowHorizontalArrow = t9; _._extendAndClipContentOverArrow = t10; _._reservedSizeForArrow = t11; _._backgroundShapeOffset = t12; _._backgroundShapePath = null; _._contentOffset = t13; _._cupertino_popover_menu$_showDebugPaint = t14; _.__RenderPopover__backgroundPaint_A = t15; _._clipPathLayer = t16; _.RenderObjectWithChildMixin__child = t17; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t18; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderPopover_paint_closure: function RenderPopover_paint_closure(t0) { this.$this = t0; }, RenderPopover_hitTestChildren_closure: function RenderPopover_hitTestChildren_closure(t0, t1) { this.$this = t0; this.position = t1; }, ArrowDirection: function ArrowDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, _IosToolbarMenuContent$(children, controller, height, nextButton, pages, previousButton) { var t1 = A._setArrayType([previousButton], type$.JSArray_Widget); B.JSArray_methods.addAll$1(t1, children); t1.push(nextButton); return new A._IosToolbarMenuContent(pages, controller, height, t1, null); }, CupertinoPopoverToolbar: function CupertinoPopoverToolbar(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.focalPoint = t0; _.backgroundColor = t1; _.height = t2; _.elevation = t3; _.activeButtonTextColor = t4; _.inactiveButtonTextColor = t5; _.children = t6; _.key = t7; }, _CupertinoPopoverToolbarState: function _CupertinoPopoverToolbarState(t0, t1) { var _ = this; _._cupertino_toolbar$_controller = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _CupertinoPopoverToolbarState__buildContent_closure: function _CupertinoPopoverToolbarState__buildContent_closure(t0) { this.$this = t0; }, _MenuPageController: function _MenuPageController(t0) { var _ = this; _._maxPages = _._currentPage = 1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _IosToolbarMenuContent: function _IosToolbarMenuContent(t0, t1, t2, t3, t4) { var _ = this; _._pages = t0; _.controller = t1; _.height = t2; _.children = t3; _.key = t4; }, _IosPagerParentData: function _IosPagerParentData(t0, t1, t2) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.offset = t2; }, _RenderIosPagedMenu: function _RenderIosPagedMenu(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._linePaint = t0; _._cupertino_toolbar$_controller = t1; _._autoPaginated = t2; _._cupertino_toolbar$_height = t3; _._pages = t4; _._hasMultiplePages = false; _.ContainerRenderObjectMixin__childCount = t5; _.ContainerRenderObjectMixin__firstChild = t6; _.ContainerRenderObjectMixin__lastChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderIosPagedMenu__hitTestChild_closure: function _RenderIosPagedMenu__hitTestChild_closure(t0, t1, t2) { this.position = t0; this.childParentData = t1; this.child = t2; }, _RenderIosPagedMenu__scheduleUpdateControllerPageCount_closure: function _RenderIosPagedMenu__scheduleUpdateControllerPageCount_closure(t0) { this.$this = t0; }, _MenuPageInfo: function _MenuPageInfo(t0, t1) { this.startingIndex = t0; this.endingIndex = t1; }, __RenderIosPagedMenu_RenderBox_ContainerRenderObjectMixin: function __RenderIosPagedMenu_RenderBox_ContainerRenderObjectMixin() { }, __RenderIosPagedMenu_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function __RenderIosPagedMenu_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, LeaderMenuFocalPoint: function LeaderMenuFocalPoint(t0) { this._menu_with_pointer_follower$_link = t0; }, _PopoverScaffoldState_closePopoverOnTapOutside(controller) { controller.close$0(0); }, PopoverScaffold: function PopoverScaffold(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.controller = t0; _.buttonBuilder = t1; _.popoverBuilder = t2; _.popoverFocusNode = t3; _.parentFocusNode = t4; _.boundaryKey = t5; _.key = t6; }, _PopoverScaffoldState: function _PopoverScaffoldState(t0, t1, t2, t3) { var _ = this; _._popovers$_overlayController = t0; _._popoverLink = t1; _._scaffoldFocusNode = t2; _.___PopoverScaffoldState__screenBoundary_A = _.___PopoverScaffoldState__screenSize_A = $; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _PopoverScaffoldState__onPopoverControllerChanged_closure: function _PopoverScaffoldState__onPopoverControllerChanged_closure(t0) { this.$this = t0; }, _PopoverScaffoldState__buildPopover_closure: function _PopoverScaffoldState__buildPopover_closure(t0) { this.$this = t0; }, PopoverController: function PopoverController(t0) { var _ = this; _._shouldShow = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, PopoverGeometry: function PopoverGeometry() { }, DropdownListPopoverAligner: function DropdownListPopoverAligner() { }, disabledMacIntents_closure0: function disabledMacIntents_closure0() { }, _PreventPrioritizedIntentsFromBubblingUp0: function _PreventPrioritizedIntentsFromBubblingUp0(t0, t1) { this.intentFilter = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, RoundedRectanglePopoverAppearance: function RoundedRectanglePopoverAppearance(t0, t1) { this.child = t0; this.key = t1; }, _RoundedRectanglePopoverAppearanceState: function _RoundedRectanglePopoverAppearanceState(t0, t1, t2) { var _ = this; _.___RoundedRectanglePopoverAppearanceState__containerFadeInAnimation_F = _.___RoundedRectanglePopoverAppearanceState__animationController_F = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _PopoverController_Object_ChangeNotifier: function _PopoverController_Object_ChangeNotifier() { }, __RoundedRectanglePopoverAppearanceState_State_SingleTickerProviderStateMixin: function __RoundedRectanglePopoverAppearanceState_State_SingleTickerProviderStateMixin() { }, PackageInfoPlusWebPlugin: function PackageInfoPlusWebPlugin() { }, PackageInfoPlatform: function PackageInfoPlatform() { }, _parseUri(uri) { return uri; }, _validateArgList(method, args) { var numArgs, i, numArgs0, message, t1, t2, t3, t4; for (numArgs = args.length, i = 1; i < numArgs; ++i) { if (args[i] == null || args[i - 1] != null) continue; for (; numArgs >= 1; numArgs = numArgs0) { numArgs0 = numArgs - 1; if (args[numArgs0] != null) break; } message = new A.StringBuffer(""); t1 = "" + (method + "("); message._contents = t1; t2 = A._arrayInstanceType(args); t3 = t2._eval$1("SubListIterable<1>"); t4 = new A.SubListIterable(args, 0, numArgs, t3); t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1); t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", "); message._contents = t3; message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not."); throw A.wrapException(A.ArgumentError$(message.toString$0(0), null)); } }, Context: function Context(t0, t1) { this.style = t0; this._context$_current = t1; }, Context_joinAll_closure: function Context_joinAll_closure() { }, Context_split_closure: function Context_split_closure() { }, _validateArgList_closure: function _validateArgList_closure() { }, InternalStyle: function InternalStyle() { }, ParsedPath_ParsedPath$parse(path, style) { var t1, parts, separators, start, i, root = style.getRoot$1(path), isRootRelative = style.isRootRelative$1(path); if (root != null) path = B.JSString_methods.substring$1(path, root.length); t1 = type$.JSArray_String; parts = A._setArrayType([], t1); separators = A._setArrayType([], t1); t1 = path.length; if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) { separators.push(path[0]); start = 1; } else { separators.push(""); start = 0; } for (i = start; i < t1; ++i) if (style.isSeparator$1(path.charCodeAt(i))) { parts.push(B.JSString_methods.substring$2(path, start, i)); separators.push(path[i]); start = i + 1; } if (start < t1) { parts.push(B.JSString_methods.substring$1(path, start)); separators.push(""); } return new A.ParsedPath(style, root, isRootRelative, parts, separators); }, ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) { var _ = this; _.style = t0; _.root = t1; _.isRootRelative = t2; _.parts = t3; _.separators = t4; }, PathException$(message) { return new A.PathException(message); }, PathException: function PathException(t0) { this.message = t0; }, Style__getPlatformStyle() { var t1, _null = null; if (A.Uri_base().get$scheme() !== "file") return $.$get$Style_url(); t1 = A.Uri_base(); if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/")) return $.$get$Style_url(); if (A._Uri__Uri(_null, _null, "a/b", _null, _null).toFilePath$0() === "a\\b") return $.$get$Style_windows(); return $.$get$Style_posix(); }, Style: function Style() { }, PosixStyle: function PosixStyle(t0, t1, t2) { this.separatorPattern = t0; this.needsSeparatorPattern = t1; this.rootPattern = t2; }, UrlStyle: function UrlStyle(t0, t1, t2, t3) { var _ = this; _.separatorPattern = t0; _.needsSeparatorPattern = t1; _.rootPattern = t2; _.relativeRootPattern = t3; }, WindowsStyle: function WindowsStyle(t0, t1, t2, t3) { var _ = this; _.separatorPattern = t0; _.needsSeparatorPattern = t1; _.rootPattern = t2; _.relativeRootPattern = t3; }, getApplicationDocumentsDirectory() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Directory), $async$returnValue, path; var $async$getApplicationDocumentsDirectory = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $.$get$PathProviderPlatform__instance(); $async$goto = 3; return A._asyncAwait(B.MethodChannel_OTL._invokeMethod$1$3$arguments$missingOk("getApplicationDocumentsDirectory", null, false, type$.String), $async$getApplicationDocumentsDirectory); case 3: // returning from await. path = $async$result; if (path == null) throw A.wrapException(new A.MissingPlatformDirectoryException("Unable to get application documents directory")); $async$returnValue = A.Directory_Directory(path); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getApplicationDocumentsDirectory, $async$completer); }, MissingPlatformDirectoryException: function MissingPlatformDirectoryException(t0) { this.message = t0; }, PathProviderPlatform: function PathProviderPlatform() { }, MethodChannelPathProvider: function MethodChannelPathProvider() { }, PdfPageFormat$(width, height, marginAll, marginBottom, marginLeft, marginRight, marginTop) { var t1 = marginAll == null, t2 = t1 ? marginTop : marginAll, t3 = t1 ? marginBottom : marginAll, t4 = t1 ? marginLeft : marginAll; return new A.PdfPageFormat(width, height, t2, t3, t4, t1 ? marginRight : marginAll); }, PdfPageFormat: function PdfPageFormat(t0, t1, t2, t3, t4, t5) { var _ = this; _.width = t0; _.height = t1; _.marginTop = t2; _.marginBottom = t3; _.marginLeft = t4; _.marginRight = t5; }, PdfRasterBase: function PdfRasterBase(t0, t1, t2) { this.width = t0; this.height = t1; this.pixels = t2; }, WebPermissionHandler: function WebPermissionHandler(t0) { this._webDelegate = t0; }, WebDelegate: function WebDelegate(t0, t1) { this._devices = t0; this._geolocation = t1; }, PermissionHandlerPlatform: function PermissionHandlerPlatform() { }, MethodChannelPermissionHandler: function MethodChannelPermissionHandler() { }, PinchZoom$(child) { return new A.PinchZoom(child, null); }, PinchZoom: function PinchZoom(t0, t1) { this.child = t0; this.key = t1; }, _PinchZoomState: function _PinchZoomState(t0, t1, t2, t3) { var _ = this; _._pinch_zoom_widget$_transformationController = t0; _.___PinchZoomState__controllerReset_A = _.___PinchZoomState__animationReset_A = $; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _PinchZoomState_build_closure0: function _PinchZoomState_build_closure0(t0) { this.$this = t0; }, _PinchZoomState_build_closure: function _PinchZoomState_build_closure(t0) { this.$this = t0; }, __PinchZoomState_State_SingleTickerProviderStateMixin: function __PinchZoomState_State_SingleTickerProviderStateMixin() { }, Pinput__defaultContextMenuBuilder(context, editableTextState) { return A.AdaptiveTextSelectionToolbar$editableText(editableTextState); }, PinTheme: function PinTheme() { }, Pinput: function Pinput(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.length = t0; _.androidSmsAutofillMethod = t1; _.onCompleted = t2; _.autofocus = t3; _.showCursor = t4; _.validator = t5; _.key = t6; }, _PinputState: function _PinputState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.___PinputState_forcePressEnabled_A = $; _.editableTextKey = t0; _.___PinputState__gestureDetectorBuilder_F = _.___PinputState__recentControllerValue_A = $; _._pinput$_focusNode = _._pinput$_controller = null; _._pinput$_isHovering = false; _._smartAuth = _._validatorErrorText = null; _.RestorationMixin__bucket = t1; _.RestorationMixin__properties = t2; _.RestorationMixin__debugPropertiesWaitingForReregistration = t3; _.RestorationMixin__firstRestorePending = t4; _.RestorationMixin__currentParent = t5; _._widget = null; _._debugLifecycleState = t6; _._framework$_element = null; }, _PinputState__handleHover_closure: function _PinputState__handleHover_closure(t0, t1) { this.$this = t0; this.hovering = t1; }, _PinputState__validator_closure: function _PinputState__validator_closure(t0, t1) { this.$this = t0; this.res = t1; }, _PinputState__buildPinput_closure: function _PinputState__buildPinput_closure(t0) { this.$this = t0; }, _PinputState__buildPinput_closure0: function _PinputState__buildPinput_closure0(t0) { this.$this = t0; }, _PinputState__buildPinput_closure1: function _PinputState__buildPinput_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, _PinputState__buildPinput__closure0: function _PinputState__buildPinput__closure0(t0) { this.$this = t0; }, _PinputState__buildPinput__closure1: function _PinputState__buildPinput__closure1(t0) { this.$this = t0; }, _PinputState__buildPinput__closure: function _PinputState__buildPinput__closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _PinputState__buildEditable_closure: function _PinputState__buildEditable_closure(t0, t1) { this.$this = t0; this.field = t1; }, _PinputState__buildEditable_closure0: function _PinputState__buildEditable_closure0(t0) { this.$this = t0; }, _PinputState__buildFields_onlyFields: function _PinputState__buildFields_onlyFields(t0) { this.$this = t0; }, _PinputState__buildFields_onlyFields_closure: function _PinputState__buildFields_onlyFields_closure(t0) { this.$this = t0; }, _PinputState__buildFields_closure: function _PinputState__buildFields_closure(t0, t1) { this.$this = t0; this.onlyFields = t1; }, PinputAutovalidateMode: function PinputAutovalidateMode(t0, t1) { this.index = t0; this._core$_name = t1; }, AndroidSmsAutofillMethod: function AndroidSmsAutofillMethod(t0, t1) { this.index = t0; this._core$_name = t1; }, PinAnimationType: function PinAnimationType(t0, t1) { this.index = t0; this._core$_name = t1; }, HapticFeedbackType: function HapticFeedbackType(t0, t1) { this.index = t0; this._core$_name = t1; }, _PinputUtilsMixin: function _PinputUtilsMixin() { }, _PinItem: function _PinItem(t0, t1, t2) { this.state = t0; this.index = t1; this.key = t2; }, _PinputSelectionGestureDetectorBuilder: function _PinputSelectionGestureDetectorBuilder(t0, t1) { var _ = this; _._pinput$_state = t0; _.delegate = t1; _._shouldShowSelectionToolbar = true; _._isShiftPressed = false; _._dragStartViewportOffset = _._dragStartScrollOffset = 0; _._dragBeganOnPreviousSelection = _._dragStartSelection = null; _._longPressStartedWithoutFocus = false; }, _PinputFormField: function _PinputFormField(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.onSaved = t0; _.validator = t1; _.builder = t2; _.initialValue = t3; _.enabled = t4; _.autovalidateMode = t5; _.restorationId = t6; _.key = t7; }, _SeparatedRaw: function _SeparatedRaw(t0, t1, t2, t3) { var _ = this; _.children = t0; _.mainAxisAlignment = t1; _.separatorBuilder = t2; _.key = t3; }, _SeparatedRaw_build_closure: function _SeparatedRaw_build_closure(t0) { this.$this = t0; }, _PinputCursor: function _PinputCursor(t0, t1, t2) { this.cursor = t0; this.textStyle = t1; this.key = t2; }, _PinputAnimatedCursor: function _PinputAnimatedCursor(t0, t1, t2) { this.cursor = t0; this.textStyle = t1; this.key = t2; }, _PinputAnimatedCursorState: function _PinputAnimatedCursorState(t0, t1, t2) { var _ = this; _.___PinputAnimatedCursorState__animationController_F = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _PinputAnimatedCursorState__startCursorAnimation_closure: function _PinputAnimatedCursorState__startCursorAnimation_closure(t0) { this.$this = t0; }, __PinputState_State_RestorationMixin_dispose_closure: function __PinputState_State_RestorationMixin_dispose_closure() { }, __PinputAnimatedCursorState_State_SingleTickerProviderStateMixin: function __PinputAnimatedCursorState_State_SingleTickerProviderStateMixin() { }, __PinputState_State_RestorationMixin: function __PinputState_State_RestorationMixin() { }, __PinputState_State_RestorationMixin_WidgetsBindingObserver: function __PinputState_State_RestorationMixin_WidgetsBindingObserver() { }, __PinputState_State_RestorationMixin_WidgetsBindingObserver__PinputUtilsMixin: function __PinputState_State_RestorationMixin_WidgetsBindingObserver__PinputUtilsMixin() { }, LocalPlatform: function LocalPlatform() { }, Platform: function Platform() { }, PlatformInterface__verify(instance, token, preventConstObject) { var t1; if (preventConstObject) { t1 = $.$get$PlatformInterface__instanceTokens(); A.Expando__checkType(instance); t1 = t1._jsWeakMap.get(instance) === B.C_Object; } else t1 = false; if (t1) throw A.wrapException(A.AssertionError$("`const Object()` cannot be used as the token.")); t1 = $.$get$PlatformInterface__instanceTokens(); A.Expando__checkType(instance); if (token !== t1._jsWeakMap.get(instance)) throw A.wrapException(A.AssertionError$("Platform interfaces must not be implemented with `implements`")); }, PlatformInterface: function PlatformInterface() { }, _registerFactory(debug) { var viewType = debug ? "__webPointerInterceptorViewType__debug__" : "__webPointerInterceptorViewType__"; $.$get$platformViewRegistry(); $.$get$PlatformViewManager_instance().registerFactory$3$isVisible(viewType, new A._registerFactory_closure(debug), false); }, PointerInterceptor$(child) { if (!$.PointerInterceptor__registered) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; } return new A.PointerInterceptor(child, null); }, _registerFactory_closure: function _registerFactory_closure(t0) { this.debug = t0; }, PointerInterceptor: function PointerInterceptor(t0, t1) { this.child = t0; this.key = t1; }, PrintingPlugin: function PrintingPlugin(t0) { this._printing_web$_loading = t0; this.__PrintingPlugin__pdfJsUrlBase_A = $; }, PrintingPlugin_layoutPdf_closure: function PrintingPlugin_layoutPdf_closure() { }, PrintingPlugin_layoutPdf_closure0: function PrintingPlugin_layoutPdf_closure0(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.frame = t2; _.isSafari = t3; _.stopWatch = t4; _.completer = t5; _.result = t6; }, PrintingPlugin_layoutPdf__closure: function PrintingPlugin_layoutPdf__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.stopWatch = t1; _.completer = t2; _.result = t3; }, PrintingPlugin_raster_closure: function PrintingPlugin_raster_closure() { }, PrintingPlugin_raster_closure0: function PrintingPlugin_raster_closure0(t0, t1, t2) { this.data = t0; this.r = t1; this.completer = t2; }, _WebPdfRaster: function _WebPdfRaster(t0, t1, t2, t3) { var _ = this; _.png = t0; _._printing_web$_pixels = null; _.width = t1; _.height = t2; _.pixels = t3; }, PrintingPlatform: function PrintingPlatform() { }, MethodChannelPrinting__handleMethod($call) { return A.MethodChannelPrinting__handleMethod$body($call); }, MethodChannelPrinting__handleMethod$body($call) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, job, format, bytes, e, s, t1, t2, t3, t4, t5, t6, t7, exception, completed, error, $async$exception; var $async$MethodChannelPrinting__handleMethod = A._wrapJsFunctionForAsync(function($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 case 3: // switch switch ($call.method) { case "onLayout": // goto case $async$goto = 5; break; case "onCompleted": // goto case $async$goto = 6; break; case "onHtmlRendered": // goto case $async$goto = 7; break; case "onHtmlError": // goto case $async$goto = 8; break; case "onPageRasterized": // goto case $async$goto = 9; break; case "onPageRasterEnd": // goto case $async$goto = 10; break; default: // goto after switch $async$goto = 4; break; } break; case 5: // case t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); job = $.$get$MethodChannelPrinting__printJobs()._printJobs.$index(0, t2.$index(t1, "job")); if (job == null) { // goto return $async$goto = 1; break; } t3 = t2.$index(t1, "width"); t4 = t2.$index(t1, "height"); t5 = t2.$index(t1, "marginLeft"); t6 = t2.$index(t1, "marginTop"); t7 = t2.$index(t1, "marginRight"); format = A.PdfPageFormat$(t3, t4, null, t2.$index(t1, "marginBottom"), t5, t7, t6); bytes = null; $async$handler = 12; t1 = job.onLayout.call$1(format); $async$goto = 15; return A._asyncAwait(type$.Future_Uint8List._is(t1) ? t1 : A._Future$value(t1, type$.Uint8List), $async$MethodChannelPrinting__handleMethod); case 15: // returning from await. bytes = $async$result; $async$handler = 2; // goto after finally $async$goto = 14; break; case 12: // catch $async$handler = 11; $async$exception = $async$currentError; e = A.unwrapException($async$exception); s = A.getTraceFromException($async$exception); t1 = A.ErrorDescription$("while generating a PDF"); A.FlutterError_reportError(new A.FlutterErrorDetails(e, s, "printing", t1, new A.MethodChannelPrinting__handleMethod_closure(), null, false)); if (job.useFFI) { $async$returnValue = A.setErrorFfi(job, J.toString$0$(e)); // goto return $async$goto = 1; break; } throw $async$exception; // goto after finally $async$goto = 14; break; case 11: // uncaught // goto rethrow $async$goto = 2; break; case 14: // after finally if (job.useFFI) { $async$returnValue = A.setDocumentFfi(job, bytes); // goto return $async$goto = 1; break; } $async$returnValue = new Uint8Array(A._ensureNativeList(bytes)); // goto return $async$goto = 1; break; case 6: // case t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); completed = t2.$index(t1, "completed"); error = t2.$index(t1, "error"); job = $.$get$MethodChannelPrinting__printJobs()._printJobs.$index(0, t2.$index(t1, "job")); if (job != null) { t1 = completed === false && error != null; t2 = job.onCompleted; if (t1) t2.completeError$1(error); else t2.complete$1(0, completed); } // goto after switch $async$goto = 4; break; case 7: // case t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); job = $.$get$MethodChannelPrinting__printJobs()._printJobs.$index(0, t2.$index(t1, "job")); if (job != null) { t3 = job.onHtmlRendered; t3.toString; t3.complete$1(0, t2.$index(t1, "doc")); } // goto after switch $async$goto = 4; break; case 8: // case t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); job = $.$get$MethodChannelPrinting__printJobs()._printJobs.$index(0, t2.$index(t1, "job")); if (job != null) { t3 = job.onHtmlRendered; t3.toString; t3.completeError$1(t2.$index(t1, "error")); } // goto after switch $async$goto = 4; break; case 9: // case t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); job = $.$get$MethodChannelPrinting__printJobs()._printJobs.$index(0, t2.$index(t1, "job")); if (job != null) { t3 = t2.$index(t1, "width"); t4 = t2.$index(t1, "height"); t1 = t2.$index(t1, "image"); job.onPageRasterized.add$1(0, new A.PdfRaster(t3, t4, t1)); } // goto after switch $async$goto = 4; break; case 10: // case t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); t3 = $.$get$MethodChannelPrinting__printJobs()._printJobs; job = t3.$index(0, t2.$index(t1, "job")); $async$goto = job != null ? 16 : 17; break; case 16: // then error = t2.$index(t1, "error"); if (error != null) job.onPageRasterized.addError$1(error); $async$goto = 18; return A._asyncAwait(job.onPageRasterized.close$0(0), $async$MethodChannelPrinting__handleMethod); case 18: // returning from await. t3.remove$1(0, job.index); case 17: // join // goto after switch $async$goto = 4; break; case 4: // after switch case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$MethodChannelPrinting__handleMethod, $async$completer); }, MethodChannelPrinting: function MethodChannelPrinting() { }, MethodChannelPrinting__handleMethod_closure: function MethodChannelPrinting__handleMethod_closure() { }, Mutex: function Mutex(t0) { this._waiting = t0; this._mutex$_locked = false; }, Settings$(receiver) { return new A.Settings(); }, PdfJs: function PdfJs() { }, Settings: function Settings() { }, PdfJsDocLoader: function PdfJsDocLoader() { }, PdfJsDoc: function PdfJsDoc() { }, PdfJsPage: function PdfJsPage() { }, PdfJsViewport: function PdfJsViewport() { }, PdfJsRender: function PdfJsRender() { }, PdfActionBarTheme: function PdfActionBarTheme() { }, _PdfActionBarTheme_Object_Diagnosticable: function _PdfActionBarTheme_Object_Diagnosticable() { }, PdfPreviewActionBounds: function PdfPreviewActionBounds() { }, PdfPreviewAction: function PdfPreviewAction(t0, t1, t2) { this.icon = t0; this.onPressed = t1; this.key = t2; }, PdfPreviewAction_build_closure: function PdfPreviewAction_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, PdfPrintAction: function PdfPrintAction(t0, t1, t2, t3, t4, t5) { var _ = this; _.icon = t0; _.jobName = t1; _.dynamicLayout = t2; _.onPrinted = t3; _.onPrintError = t4; _.key = t5; }, PdfShareAction: function PdfShareAction(t0, t1, t2, t3, t4) { var _ = this; _.icon = t0; _.filename = t1; _.onShared = t2; _.PdfPreviewActionBounds_childKey = t3; _.key = t4; }, _PdfShareAction_StatelessWidget_PdfPreviewActionBounds: function _PdfShareAction_StatelessWidget_PdfPreviewActionBounds() { }, PdfPreviewData$(buildDocument, initialPageFormat, onComputeActualPageFormat, pageFormats) { var t2, t1 = new A.PdfPreviewData(buildDocument, onComputeActualPageFormat, $.$get$ChangeNotifier__emptyListeners()); if (initialPageFormat == null) { t2 = pageFormats.$index(0, t1.get$localPageFormat()); if (t2 == null) t2 = J.get$first$ax(pageFormats.get$values(pageFormats)); } else t2 = initialPageFormat; t1.__PdfPreviewData__pageFormat_A = t2; return t1; }, PdfPreviewData: function PdfPreviewData(t0, t1, t2) { var _ = this; _.__PdfPreviewData__pageFormat_A = $; _.buildDocument = t0; _._onComputeActualPageFormat = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, PdfPreviewController: function PdfPreviewController(t0, t1, t2, t3) { var _ = this; _.data = t0; _.notifier = t1; _.child = t2; _.key = t3; }, PdfPreviewCustom: function PdfPreviewCustom(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.pageFormat = t0; _.build = t1; _.maxPageWidth = t2; _.onError = t3; _.scrollViewDecoration = t4; _.pdfPreviewPageDecoration = t5; _.pages = t6; _.previewPageMargin = t7; _.padding = t8; _.shouldRepaint = t9; _.loadingWidget = t10; _.dpi = t11; _.pagesBuilder = t12; _.enableScrollToPage = t13; _.onZoomChanged = t14; _.key = t15; }, PdfPreviewCustomState: function PdfPreviewCustomState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.listView = t0; _._pageGlobalKeys = t1; _.infoLoaded = false; _.updatePosition = _.preview = null; _.scrollController = t2; _.transformationController = t3; _._mouseCursor = t4; _.PdfPreviewRaster_pages = t5; _.PdfPreviewRaster_info = t6; _.PdfPreviewRaster_error = t7; _.PdfPreviewRaster_dpi = t8; _.PdfPreviewRaster__rastering = t9; _.PdfPreviewRaster__previewUpdate = t10; _._widget = null; _._debugLifecycleState = t11; _._framework$_element = null; }, PdfPreviewCustomState_didChangeDependencies_closure: function PdfPreviewCustomState_didChangeDependencies_closure(t0) { this.$this = t0; }, PdfPreviewCustomState_didChangeDependencies__closure: function PdfPreviewCustomState_didChangeDependencies__closure(t0, t1) { this.$this = t0; this.printingInfo = t1; }, PdfPreviewCustomState__createPreview_pageWidget: function PdfPreviewCustomState__createPreview_pageWidget(t0) { this.$this = t0; }, PdfPreviewCustomState__createPreview_pageWidget_closure: function PdfPreviewCustomState__createPreview_pageWidget_closure(t0, t1) { this.$this = t0; this.index = t1; }, PdfPreviewCustomState__createPreview_pageWidget__closure: function PdfPreviewCustomState__createPreview_pageWidget__closure(t0, t1) { this.$this = t0; this.index = t1; }, PdfPreviewCustomState__createPreview_closure: function PdfPreviewCustomState__createPreview_closure(t0) { this.pageWidget = t0; }, PdfPreviewCustomState__zoomPreview_closure0: function PdfPreviewCustomState__zoomPreview_closure0(t0) { this.$this = t0; }, PdfPreviewCustomState__zoomPreview__closure: function PdfPreviewCustomState__zoomPreview__closure(t0) { this.$this = t0; }, PdfPreviewCustomState__zoomPreview_closure1: function PdfPreviewCustomState__zoomPreview_closure1(t0) { this.$this = t0; }, PdfPreviewCustomState__zoomPreview_closure2: function PdfPreviewCustomState__zoomPreview_closure2(t0) { this.$this = t0; }, PdfPreviewCustomState__zoomPreview_closure: function PdfPreviewCustomState__zoomPreview_closure(t0) { this.$this = t0; }, PdfPreviewCustomState__updateCursor_closure: function PdfPreviewCustomState__updateCursor_closure(t0, t1) { this.$this = t0; this.mouseCursor = t1; }, PdfPreviewCustomState_build_closure: function PdfPreviewCustomState_build_closure(t0) { this.$this = t0; }, _PdfPreviewCustomState_State_PdfPreviewRaster: function _PdfPreviewCustomState_State_PdfPreviewRaster() { }, PdfPreviewPageData: function PdfPreviewPageData(t0, t1, t2) { this.image = t0; this.width = t1; this.height = t2; }, PdfPreviewPage: function PdfPreviewPage(t0, t1, t2, t3) { var _ = this; _.pageData = t0; _.pdfPreviewPageDecoration = t1; _.pageMargin = t2; _.key = t3; }, PdfPreview$(allowPrinting, allowSharing, build, canChangeOrientation, canChangePageFormat, canDebug, maxPageWidth, pages, pdfFileName) { return new A.PdfPreview(build, allowPrinting, allowSharing, maxPageWidth, false, false, false, pdfFileName, pages, null); }, PdfPreview: function PdfPreview(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.build = t0; _.allowPrinting = t1; _.allowSharing = t2; _.maxPageWidth = t3; _.canChangePageFormat = t4; _.canChangeOrientation = t5; _.canDebug = t6; _.pdfFileName = t7; _.pages = t8; _.key = t9; }, PdfPreviewState: function PdfPreviewState(t0, t1) { var _ = this; _.previewWidget = t0; _.__PdfPreviewState_previewData_A = $; _.info = null; _.infoLoaded = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, PdfPreviewState_initState_closure: function PdfPreviewState_initState_closure(t0) { this.$this = t0; }, PdfPreviewState_initState__closure: function PdfPreviewState_initState__closure() { }, PdfPreviewState_didChangeDependencies_closure: function PdfPreviewState_didChangeDependencies_closure(t0) { this.$this = t0; }, PdfPreviewState_didChangeDependencies__closure: function PdfPreviewState_didChangeDependencies__closure(t0, t1) { this.$this = t0; this.printingInfo = t1; }, PdfPreviewState_build_closure: function PdfPreviewState_build_closure(t0) { this.$this = t0; }, PdfPreviewRaster: function PdfPreviewRaster() { }, PdfPreviewRaster_raster_closure: function PdfPreviewRaster_raster_closure(t0) { this.$this = t0; }, PdfPreviewRaster__raster_closure: function PdfPreviewRaster__raster_closure(t0, t1) { this.$this = t0; this.exception = t1; }, PdfPreviewRaster__raster_closure0: function PdfPreviewRaster__raster_closure0(t0) { this.$this = t0; }, PdfPreviewRaster__raster_closure1: function PdfPreviewRaster__raster_closure1() { }, PdfPreviewRaster__raster_closure2: function PdfPreviewRaster__raster_closure2() { }, PdfPreviewRaster__raster_closure3: function PdfPreviewRaster__raster_closure3(t0, t1) { this.$this = t0; this.exception = t1; }, PrintJob: function PrintJob(t0, t1, t2, t3, t4, t5) { var _ = this; _.onLayout = t0; _.onHtmlRendered = t1; _.onCompleted = t2; _.onPageRasterized = t3; _.index = t4; _.useFFI = t5; }, PrintJobs: function PrintJobs(t0) { this._printJobs = t0; }, PrintingInfo: function PrintingInfo(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.directPrint = t0; _.dynamicLayout = t1; _.canPrint = t2; _.canConvertHtml = t3; _.canListPrinters = t4; _.canShare = t5; _.canRaster = t6; }, PdfRaster: function PdfRaster(t0, t1, t2) { this.width = t0; this.height = t1; this.pixels = t2; }, PdfRaster_toImage_closure: function PdfRaster_toImage_closure(t0) { this.comp = t0; }, QrBitBuffer: function QrBitBuffer(t0) { this._bit_buffer$_buffer = t0; this._bit_buffer$_length = 0; }, _QrBitBuffer_Object_ListMixin: function _QrBitBuffer_Object_ListMixin() { }, QrByte: function QrByte(t0) { this._byte$_data = t0; }, InputTooLongException: function InputTooLongException(t0) { this.message = t0; }, QrPolynomial_QrPolynomial(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 A.QrPolynomial(values); }, QrPolynomial: function QrPolynomial(t0) { this._polynomial$_values = t0; }, QrCode$(typeNumber, errorCorrectLevel) { var t1 = A._setArrayType([], type$.JSArray_QrDatum); A.RangeError_checkValueInInterval(typeNumber, 1, 40, "typeNumber"); A.IndexError_check(errorCorrectLevel, 4, B.List_1_0_3_2, null, "errorCorrectLevel"); return new A.QrCode(typeNumber, errorCorrectLevel, typeNumber * 4 + 17, t1); }, QrCode__calculateTypeNumberFromData(errorCorrectLevel, dataList) { var t1, typeNumber, rsBlocks, buffer, t2, totalDataCount, i, data; for (t1 = type$.JSArray_int, typeNumber = 1; typeNumber < 40; ++typeNumber) { rsBlocks = A.QrRsBlock_getRSBlocks(typeNumber, errorCorrectLevel); buffer = new A.QrBitBuffer(A._setArrayType([], 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, A._lengthInBits(4, typeNumber)); data.write$1(0, buffer); } if (buffer._bit_buffer$_length <= totalDataCount * 8) break; } return typeNumber; }, _createData(typeNumber, errorCorrectLevel, dataList) { var i, data, t1, totalDataCount, totalByteCount, count, count0, rsBlocks = A.QrRsBlock_getRSBlocks(typeNumber, errorCorrectLevel), buffer = new A.QrBitBuffer(A._setArrayType([], 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, A._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 A.wrapException(new A.InputTooLongException("Input too long. " + t1 + " > " + totalByteCount)); if (t1 + 4 <= totalByteCount) buffer.put$2(0, 0, 4); for (; B.JSInt_methods.$mod(buffer._bit_buffer$_length, 8) !== 0;) buffer.putBit$1(false); for (count = 0; true; count = count0) { if (buffer._bit_buffer$_length >= totalByteCount) break; count0 = count + 1; buffer.put$2(0, (count & 1) === 0 ? 236 : 17, 8); } return A._createBytes(buffer, rsBlocks); }, _createBytes(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 = A.List_List$filled(rsBlocks.length, null, false, t1), ecData = A.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 = A._errorCorrectPolynomial(ecCount); t2 = rsPoly._polynomial$_values.length - 1; modPoly = A.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 = A._setArrayType([], 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; }, _lengthInBits(mode, type) { var _null = null; 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 A.wrapException(A.ArgumentError$("mode:" + mode, _null)); } else if (type < 27) switch (mode) { case 1: return 12; case 2: return 11; case 4: return 16; case 8: return 10; default: throw A.wrapException(A.ArgumentError$("mode:" + mode, _null)); } else if (type < 41) switch (mode) { case 1: return 14; case 2: return 13; case 4: return 16; case 8: return 12; default: throw A.wrapException(A.ArgumentError$("mode:" + mode, _null)); } else throw A.wrapException(A.ArgumentError$("type:" + type, _null)); }, _errorCorrectPolynomial(errorCorrectLength) { var i, t1 = type$.JSArray_int, a = A.QrPolynomial_QrPolynomial(A._setArrayType([1], t1), 0); for (i = 0; i < errorCorrectLength; ++i) a = a.multiply$1(0, A.QrPolynomial_QrPolynomial(A._setArrayType([1, A.gexp(i)], t1), 0)); return a; }, QrCode: function QrCode(t0, t1, t2, t3) { var _ = this; _.typeNumber = t0; _.errorCorrectLevel = t1; _.moduleCount = t2; _._dataCache = null; _._dataList = t3; }, QrImage_QrImage(qrCode) { var t1, t2, t3, t4, t5, minLostPoint, bestImage, i, testImage, t6, lostPoint; for (t1 = type$.JSArray_List_nullable_bool, t2 = qrCode.moduleCount, t3 = qrCode.typeNumber, t4 = qrCode.errorCorrectLevel, t5 = qrCode._dataList, minLostPoint = 0, bestImage = null, i = 0; i < 8; ++i) { testImage = new A.QrImage(t2, t3, t4, i, A._setArrayType([], t1)); t6 = qrCode._dataCache; testImage._makeImpl$3(i, t6 == null ? qrCode._dataCache = A._createData(t3, t4, t5) : t6, true); lostPoint = A._lostPoint(testImage); if (i === 0 || minLostPoint > lostPoint) { bestImage = testImage; minLostPoint = lostPoint; } } t5 = bestImage.maskPattern; t1 = new A.QrImage(t2, t3, t4, t5, A._setArrayType([], t1)); t1._makeImpl$3(t5, qrCode.get$dataCache(), false); return t1; }, _mask(maskPattern, i, j) { var t1; switch (maskPattern) { case 0: return (i + j & 1) === 0; case 1: return (i & 1) === 0; case 2: return B.JSInt_methods.$mod(j, 3) === 0; case 3: return B.JSInt_methods.$mod(i + j, 3) === 0; case 4: return (B.JSInt_methods._tdivFast$1(i, 2) + B.JSInt_methods._tdivFast$1(j, 3) & 1) === 0; case 5: t1 = i * j; return B.JSInt_methods.$mod(t1, 2) + B.JSInt_methods.$mod(t1, 3) === 0; case 6: t1 = i * j; return (B.JSInt_methods.$mod(t1, 2) + B.JSInt_methods.$mod(t1, 3) & 1) === 0; case 7: return (B.JSInt_methods.$mod(i * j, 3) + B.JSInt_methods.$mod(i + j, 2) & 1) === 0; default: throw A.wrapException(A.ArgumentError$("bad maskPattern:" + maskPattern, null)); } }, _lostPoint(qrImage) { var lostPoint, row, col, dark, sameCount, r, t1, t2, c, t3, row0, count, darkCount, moduleCount = qrImage.moduleCount; for (lostPoint = 0, row = 0; row < moduleCount; ++row) for (col = 0; col < moduleCount; ++col) { dark = qrImage.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 === qrImage.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 = qrImage.isDark$2(row, col) ? 1 : 0; if (qrImage.isDark$2(row0, col)) ++count; ++col; if (qrImage.isDark$2(row, col)) ++count; if (qrImage.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 (qrImage.isDark$2(row, col) && !qrImage.isDark$2(row, col + 1) && qrImage.isDark$2(row, col + 2) && qrImage.isDark$2(row, col + 3) && qrImage.isDark$2(row, col + 4) && !qrImage.isDark$2(row, col + 5) && qrImage.isDark$2(row, col + 6)) lostPoint += 40; for (col = 0; col < moduleCount; ++col) for (row = 0; row < t1; ++row) if (qrImage.isDark$2(row, col) && !qrImage.isDark$2(row + 1, col) && qrImage.isDark$2(row + 2, col) && qrImage.isDark$2(row + 3, col) && qrImage.isDark$2(row + 4, col) && !qrImage.isDark$2(row + 5, col) && qrImage.isDark$2(row + 6, col)) lostPoint += 40; for (col = 0, darkCount = 0; col < moduleCount; ++col) for (row = 0; row < moduleCount; ++row) if (qrImage.isDark$2(row, col)) ++darkCount; return lostPoint + Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5 * 10; }, QrImage: function QrImage(t0, t1, t2, t3, t4) { var _ = this; _.moduleCount = t0; _.typeNumber = t1; _.errorCorrectLevel = t2; _.maskPattern = t3; _._modules = t4; }, QrRsBlock_getRSBlocks(typeNumber, errorCorrectLevel) { var i, t1, count, totalCount, dataCount, j, rsBlock = A._getRsBlockTable(typeNumber, errorCorrectLevel), $length = rsBlock.length / 3 | 0, list = A._setArrayType([], 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 A.QrRsBlock(totalCount, dataCount)); } return list; }, _getRsBlockTable(typeNumber, errorCorrectLevel) { switch (errorCorrectLevel) { case 1: return B.List_SJm[(typeNumber - 1) * 4]; case 0: return B.List_SJm[(typeNumber - 1) * 4 + 1]; case 3: return B.List_SJm[(typeNumber - 1) * 4 + 2]; case 2: return B.List_SJm[(typeNumber - 1) * 4 + 3]; default: throw A.wrapException(A.ArgumentError$("bad rs block @ typeNumber: " + typeNumber + "/errorCorrectLevel:" + errorCorrectLevel, null)); } }, QrRsBlock: function QrRsBlock(t0, t1) { this.totalCount = t0; this.dataCount = t1; }, PaintCache: function PaintCache(t0, t1) { this._pixelPaints = t0; this._keyedPaints = t1; }, QrImageView: function QrImageView(t0, t1, t2, t3, t4) { var _ = this; _._qr_image_view$_data = t0; _.backgroundColor = t1; _.version = t2; _.size = t3; _.key = t4; }, _QrImageViewState: function _QrImageViewState(t0) { var _ = this; _._qr = null; _.___QrImageViewState_streamListener_A = _.___QrImageViewState__validationResult_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _QrImageViewState_build_closure: function _QrImageViewState_build_closure(t0) { this.$this = t0; }, _QrContentView: function _QrContentView(t0, t1, t2, t3, t4, t5) { var _ = this; _.edgeLength = t0; _.backgroundColor = t1; _.padding = t2; _.child = t3; _.semanticsLabel = t4; _.key = t5; }, QrPainter: function QrPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.version = t0; _.errorCorrectionLevel = t1; _.gapless = t2; _.embeddedImage = t3; _.embeddedImageStyle = t4; _.eyeStyle = t5; _.dataModuleStyle = t6; _._qr_painter$_qr = t7; _.__QrPainter__calcVersion_F = _.__QrPainter__qrImage_A = $; _._paintCache = t8; _.color = t9; _._repaint = t10; }, _PaintMetrics: function _PaintMetrics(t0, t1, t2) { var _ = this; _.moduleCount = t0; _.containerSize = t1; _.gapSize = t2; _.___PaintMetrics__inset_F = _.___PaintMetrics__innerContentSize_F = _.___PaintMetrics__pixelSize_F = $; }, QrCodeElement: function QrCodeElement(t0, t1) { this.index = t0; this._core$_name = t1; }, FinderPatternPosition: function FinderPatternPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, QrEyeShape: function QrEyeShape(t0, t1) { this.index = t0; this._core$_name = t1; }, QrDataModuleShape: function QrDataModuleShape(t0, t1) { this.index = t0; this._core$_name = t1; }, QrEyeStyle: function QrEyeStyle() { }, QrDataModuleStyle: function QrDataModuleStyle() { }, QrValidator_validate(data, errorCorrectionLevel, version) { var title, ex, t1, t2, exception, qrCode = A._Cell$named("qrCode"); try { if (version !== -1) { qrCode.set$finalLocalValue(A.QrCode$(version, errorCorrectionLevel)); t1 = qrCode._readLocal$0(); t2 = B.C_Utf8Encoder.convert$1(data); t1._dataList.push(new A.QrByte(t2)); t1._dataCache = null; } else { t1 = A.QrCode$(A.QrCode__calculateTypeNumberFromData(errorCorrectionLevel, A._setArrayType([new A.QrByte(B.C_Utf8Encoder.convert$1(data))], type$.JSArray_QrDatum)), errorCorrectionLevel); t1._dataList.push(new A.QrByte(B.C_Utf8Encoder.convert$1(data))); t1._dataCache = null; qrCode.set$finalLocalValue(t1); } t1 = qrCode._readLocal$0(); return new A.QrValidationResult(B.QrValidationStatus_0, t1, null); } catch (exception) { t1 = A.unwrapException(exception); if (t1 instanceof A.InputTooLongException) { title = t1; return new A.QrValidationResult(B.QrValidationStatus_1, null, title); } else if (type$.Exception._is(t1)) { ex = t1; return new A.QrValidationResult(B.QrValidationStatus_2, null, ex); } else throw exception; } }, QrValidationResult: function QrValidationResult(t0, t1, t2) { this.status = t0; this.qrCode = t1; this.error = t2; }, QrValidationStatus: function QrValidationStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, MiddlewareClass: function MiddlewareClass() { }, Store: function Store(t0, t1, t2) { var _ = this; _.reducer = t0; _._changeController = t1; _.__Store__dispatchers_F = _.__Store__state_A = $; _.$ti = t2; }, Store__createReduceAndNotify_closure: function Store__createReduceAndNotify_closure(t0, t1) { this.$this = t0; this.distinct = t1; }, Store__createDispatchers_closure: function Store__createDispatchers_closure(t0, t1, t2) { this.$this = t0; this.nextMiddleware = t1; this.next = t2; }, TypedReducer$(reducer, State, Action) { return new A.TypedReducer(reducer, State._eval$1("@<0>")._bind$1(Action)._eval$1("TypedReducer<1,2>")); }, combineReducers(reducers, State) { return new A.combineReducers_closure(reducers, State); }, TypedReducer: function TypedReducer(t0, t1) { this.reducer = t0; this.$ti = t1; }, TypedMiddleware: function TypedMiddleware(t0, t1) { this.middleware = t0; this.$ti = t1; }, combineReducers_closure: function combineReducers_closure(t0, t1) { this.reducers = t0; this.State = t1; }, 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; }, ButtonState: function ButtonState(t0, t1) { this.index = t0; this._core$_name = t1; }, 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, t3) { var _ = this; _.__RoundedLoadingButtonState__borderAnimation_A = _.__RoundedLoadingButtonState__bounceAnimation_A = _.__RoundedLoadingButtonState__squeezeAnimation_A = _.__RoundedLoadingButtonState__checkButtonController_A = _.__RoundedLoadingButtonState__borderController_A = _.__RoundedLoadingButtonState__buttonController_A = $; _._rounded_loading_button$_state = t0; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._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() { }, RoundedLoadingButtonState_initState_closure3: function RoundedLoadingButtonState_initState_closure3(t0) { this.$this = t0; }, RoundedLoadingButtonController: function RoundedLoadingButtonController(t0) { this._resetListener = this._startListener = null; this._rounded_loading_button$_state = t0; }, _RoundedLoadingButtonState_State_TickerProviderStateMixin: function _RoundedLoadingButtonState_State_TickerProviderStateMixin() { }, DeferStream$(streamFactory, reusable, $T) { return new A.DeferStream(streamFactory, true, $T._eval$1("DeferStream<0>")); }, DeferStream: function DeferStream(t0, t1, t2) { this._factory = t0; this._isReusable = t1; this.$ti = t2; }, _MissingCase: function _MissingCase(t0, t1) { this.index = t0; this._core$_name = t1; }, ValueStreamError: function ValueStreamError(t0) { this._missingCase = t0; }, BehaviorSubject_BehaviorSubject$seeded(seedValue, $T) { var controller = new A._AsyncBroadcastStreamController(null, null, $T._eval$1("_AsyncBroadcastStreamController<0>")), wrapper = new A._Wrapper(seedValue, $T._eval$1("_Wrapper<0>")); return new A.BehaviorSubject(wrapper, controller, A.DeferStream$(A.BehaviorSubject__deferStream(wrapper, controller, false, $T), true, $T), $T._eval$1("BehaviorSubject<0>")); }, BehaviorSubject__deferStream(wrapper, controller, sync, $T) { return new A.BehaviorSubject__deferStream_closure(wrapper, controller, $T); }, BehaviorSubject: function BehaviorSubject(t0, t1, t2, t3) { var _ = this; _._wrapper = t0; _._subject$_controller = t1; _._isAddingStreamItems = false; _._stream = t2; _.$ti = t3; }, BehaviorSubject__deferStream_closure: function BehaviorSubject__deferStream_closure(t0, t1, t2) { this.wrapper = t0; this.controller = t1; this.T = t2; }, _Wrapper: function _Wrapper(t0, t1) { var _ = this; _.isValue = true; _.value = t0; _.errorAndStackTrace = null; _.$ti = t1; }, _BehaviorSubjectStream: function _BehaviorSubjectStream(t0, t1) { this._behavior_subject$_subject = t0; this.$ti = t1; }, Subject: function Subject() { }, Subject_addStream_complete: function Subject_addStream_complete(t0, t1) { this.$this = t0; this.completer = t1; }, _SubjectStream: function _SubjectStream(t0, t1) { this._subject$_subject = t0; this.$ti = t1; }, _StartWithStreamSink: function _StartWithStreamSink(t0, t1) { this._startValue = t0; this._forwarding_sink$_sink = null; this.$ti = t1; }, StartWithStreamTransformer: function StartWithStreamTransformer(t0, t1) { this.startValue = t0; this.$ti = t1; }, StartWithStreamTransformer_bind_closure: function StartWithStreamTransformer_bind_closure(t0) { this.$this = t0; }, _StartWithErrorStreamSink: function _StartWithErrorStreamSink(t0, t1, t2) { var _ = this; _._e = t0; _._st = t1; _._forwarding_sink$_sink = null; _.$ti = t2; }, StartWithErrorStreamTransformer: function StartWithErrorStreamTransformer(t0, t1, t2) { this.error = t0; this.stackTrace = t1; this.$ti = t2; }, StartWithErrorStreamTransformer_bind_closure: function StartWithErrorStreamTransformer_bind_closure(t0) { this.$this = t0; }, _Empty: function _Empty() { }, ErrorAndStackTrace: function ErrorAndStackTrace(t0, t1) { this.error = t0; this.stackTrace = t1; }, ForwardingSink: function ForwardingSink() { }, forwardStream(stream, sinkFactory, $T, $R) { var t1; if (stream.get$isBroadcast()) t1 = A._forwardMulti(stream, sinkFactory, $T, $R); else t1 = A._forward(stream, sinkFactory, $T, $R); return t1; }, _forwardMulti(stream, sinkFactory, $T, $R) { return new A._MultiStream(true, new A._forwardMulti_closure(sinkFactory, stream, $R), $R._eval$1("_MultiStream<0>")); }, _forward(stream, sinkFactory, $T, $R) { var controller, sink, _null = null, t1 = {}; if (stream.get$isBroadcast()) controller = new A._SyncBroadcastStreamController(_null, _null, $R._eval$1("_SyncBroadcastStreamController<0>")); else controller = A.StreamController_StreamController(_null, _null, _null, true, $R); t1.subscription = null; t1.cancelled = false; sink = A._InitializedCell$named("sink", new A._forward_closure(sinkFactory, $T, $R)); controller.set$onListen(new A._forward_closure0(t1, stream, sink, controller)); controller.set$onCancel(0, new A._forward_closure1(t1, sink)); return controller.get$stream(controller); }, _forwardMulti_closure: function _forwardMulti_closure(t0, t1, t2) { this.sinkFactory = t0; this.stream = t1; this.R = t2; }, _forwardMulti_closure_listenToUpstream: function _forwardMulti_closure_listenToUpstream(t0, t1, t2) { this._box_0 = t0; this.stream = t1; this.sink = t2; }, _forwardMulti__closure: function _forwardMulti__closure(t0, t1) { this._box_0 = t0; this.sink = t1; }, _forward_closure: function _forward_closure(t0, t1, t2) { this.sinkFactory = t0; this.T = t1; this.R = t2; }, _forward_closure0: function _forward_closure0(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.stream = t1; _.sink = t2; _.controller = t3; }, _forward_closure_listenToUpstream: function _forward_closure_listenToUpstream(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.stream = t1; _.sink = t2; _.controller = t3; }, _forward__listenToUpstream_closure: function _forward__listenToUpstream_closure(t0, t1) { this._box_0 = t0; this.sink = t1; }, _forward__listenToUpstream_closure0: function _forward__listenToUpstream_closure0(t0, t1) { this._box_0 = t0; this.sink = t1; }, _forward_closure1: function _forward_closure1(t0, t1) { this._box_0 = t0; this.sink = t1; }, _MultiControllerSink: function _MultiControllerSink(t0, t1) { this.controller = t0; this.$ti = t1; }, WebEnvironmentVariables: function WebEnvironmentVariables() { }, EnvironmentVariables: function EnvironmentVariables() { }, HubAdapter: function HubAdapter() { }, NoOpClient: function NoOpClient() { }, NoOpHub: function NoOpHub(t0) { this._options = t0; }, NoOpSentrySpan: function NoOpSentrySpan() { }, PlatformChecker__isWebWithWasmSupport() { return true; }, PlatformChecker: function PlatformChecker() { }, Breadcrumb: function Breadcrumb() { }, SdkVersion: function SdkVersion(t0, t1, t2, t3) { var _ = this; _.name = t0; _.version = t1; _._integrations = t2; _._packages = t3; }, SdkVersion_toJson_closure: function SdkVersion_toJson_closure() { }, SentryId: function SentryId(t0) { this._sentry_id$_id = t0; }, SentryLevel: function SentryLevel(t0) { this.name = t0; }, SpanId: function SpanId(t0) { this._span_id$_id = t0; }, SpanStatus: function SpanStatus(t0, t1, t2) { this._span_status$_value = t0; this._minHttpStatusCode = t1; this._maxHttpStatusCode = t2; }, noOpLogger(level, message, exception, logger, stackTrace) { }, SentryOptions: function SentryOptions(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.httpClient = t0; _._eventProcessors = t1; _._sentry_options$_integrations = t2; _.diagnosticLevel = t3; _.ignoreErrors = t4; _.ignoreTransactions = t5; _._inAppExcludes = t6; _._inAppIncludes = t7; _.transport = t8; _.__SentryOptions_sdk_A = $; _.platformChecker = t9; _.environmentVariables = t10; _._scopeObservers = t11; _._ignoredExceptionsForType = t12; _.tracePropagationTargets = t13; _.idleTimeout = t14; _._causeExtractorsByType = t15; _._stackTraceExtractorsByType = t16; _._exceptionTypeIdentifiers = t17; _.spotlight = t18; _._performanceCollectors = t19; }, SentrySpanContext: function SentrySpanContext() { }, ISentrySpan: function ISentrySpan() { }, SentryTransactionContext: function SentryTransactionContext(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.name = t0; _.__SentrySpanContext_traceId_F = t1; _.__SentrySpanContext_spanId_F = t2; _.parentSpanId = t3; _.operation = t4; _.description = t5; _.origin = t6; }, Spotlight: function Spotlight(t0) { this.enabled = t0; }, NoOpTransport: function NoOpTransport() { }, SentryFlutterWeb: function SentryFlutterWeb() { }, DefaultFrameCallbackHandler: function DefaultFrameCallbackHandler() { }, RouteObserverBreadcrumb__formatArgs(args) { if (args == null) return null; if (type$.Map_String_dynamic._is(args)) return J.map$2$1$ax(args, new A.RouteObserverBreadcrumb__formatArgs_closure(), type$.String, type$.dynamic); return J.toString$0$(args); }, SentryNavigatorObserver: function SentryNavigatorObserver(t0, t1, t2, t3, t4) { var _ = this; _._hub = t0; _._native = t1; _._ignoreRoutes = t2; _._transaction = _._timeToDisplayTracker = null; _._completedDisplayTracking = t3; _._routes$_listeners = t4; }, RouteObserverBreadcrumb: function RouteObserverBreadcrumb(t0, t1, t2, t3, t4) { var _ = this; _.category = t0; _.data = t1; _.level = t2; _.type = t3; _.timestamp = t4; }, RouteObserverBreadcrumb__formatArgs_closure: function RouteObserverBreadcrumb__formatArgs_closure() { }, ttidEndTimestampProvider_closure: function ttidEndTimestampProvider_closure() { }, TimeToInitialDisplayTracker: function TimeToInitialDisplayTracker(t0, t1) { this._frameCallbackHandler = t0; this._determineEndtimeTimeout = t1; }, SharePlusWebPlugin: function SharePlusWebPlugin() { }, SharePlatform: function SharePlatform() { }, SharedPreferences_getInstance() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.SharedPreferences), $async$returnValue, $async$handler = 2, $async$currentError, completer, preferencesMap, e, sharedPrefsFuture, exception, $async$exception; var $async$SharedPreferences_getInstance = A._wrapJsFunctionForAsync(function($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 $async$goto = $.SharedPreferences__completer == null ? 3 : 4; break; case 3: // then completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_SharedPreferences), type$._AsyncCompleter_SharedPreferences); $.SharedPreferences__completer = completer; $async$handler = 6; $async$goto = 9; return A._asyncAwait(A.SharedPreferences__getSharedPreferencesMap(), $async$SharedPreferences_getInstance); case 9: // returning from await. preferencesMap = $async$result; J.complete$1$z(completer, new A.SharedPreferences(preferencesMap)); $async$handler = 2; // goto after finally $async$goto = 8; break; case 6: // catch $async$handler = 5; $async$exception = $async$currentError; e = A.unwrapException($async$exception); completer.completeError$1(e); sharedPrefsFuture = completer.future; $.SharedPreferences__completer = null; $async$returnValue = sharedPrefsFuture; // goto return $async$goto = 1; break; // goto after finally $async$goto = 8; break; case 5: // uncaught // goto rethrow $async$goto = 2; break; case 8: // after finally case 4: // join $async$returnValue = $.SharedPreferences__completer.future; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$SharedPreferences_getInstance, $async$completer); }, SharedPreferences__getSharedPreferencesMap() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_Object), $async$returnValue, preferencesMap, t3, t1, t2, fromSystem, $async$temp1, $async$temp2; var $async$SharedPreferences__getSharedPreferencesMap = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = type$.String; t2 = type$.Object; fromSystem = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); $async$temp1 = J; $async$temp2 = fromSystem; $async$goto = 3; return A._asyncAwait($.$get$SharedPreferencesStorePlatform__instance().getAll$0(0), $async$SharedPreferences__getSharedPreferencesMap); case 3: // returning from await. $async$temp1.addAll$1$ax($async$temp2, $async$result); preferencesMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); for (t1 = fromSystem, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A.instanceType(t1)._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; t3 = B.JSString_methods.substring$1(t2, 8); t2 = J.$index$asx(fromSystem, t2); t2.toString; preferencesMap.$indexSet(0, t3, t2); } $async$returnValue = preferencesMap; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SharedPreferences__getSharedPreferencesMap, $async$completer); }, SharedPreferences: function SharedPreferences(t0) { this._preferenceCache = t0; }, MethodChannelSharedPreferencesStore: function MethodChannelSharedPreferencesStore() { }, SharedPreferencesStorePlatform: function SharedPreferencesStorePlatform() { }, PreferencesFilter: function PreferencesFilter(t0, t1) { this.prefix = t0; this.allowList = t1; }, GetAllParameters: function GetAllParameters(t0) { this.filter = t0; }, SharedPreferencesPlugin: function SharedPreferencesPlugin() { }, SharedPreferencesPlugin__getFilteredKeys_closure: function SharedPreferencesPlugin__getFilteredKeys_closure(t0, t1) { this.prefix = t0; this.allowList = t1; }, AppleLogoPainter: function AppleLogoPainter(t0, t1) { this.color = t0; this._repaint = t1; }, SignInWithAppleButton: function SignInWithAppleButton(t0, t1) { this.onPressed = t0; this.key = t1; }, SignInWithAppleButtonStyle: function SignInWithAppleButtonStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, IconAlignment: function IconAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, parseAuthorizationCredentialAppleID(response) { var authorizationCode, t1 = J.getInterceptor$asx(response); if (J.$eq$(t1.$index(response, "type"), "appleid")) { authorizationCode = A._asStringQ(t1.$index(response, "authorizationCode")); if (authorizationCode == null) throw A.wrapException(B.SignInWithAppleAuthorizationException_gsm); return new A.AuthorizationCredentialAppleID(A._asStringQ(t1.$index(response, "userIdentifier")), A._asStringQ(t1.$index(response, "givenName")), A._asStringQ(t1.$index(response, "familyName")), A._asStringQ(t1.$index(response, "email")), authorizationCode, A._asStringQ(t1.$index(response, "identityToken")), A._asStringQ(t1.$index(response, "state"))); } else throw A.wrapException(A.Exception_Exception("Unsupported result type " + A.S(t1.$index(response, "type")))); }, AuthorizationCredentialAppleID: function AuthorizationCredentialAppleID(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.userIdentifier = t0; _.givenName = t1; _.familyName = t2; _.email = t3; _.authorizationCode = t4; _.identityToken = t5; _.state = t6; }, AppleIDAuthorizationScopes: function AppleIDAuthorizationScopes(t0, t1) { this.index = t0; this._core$_name = t1; }, AppleIDAuthorizationRequest: function AppleIDAuthorizationRequest(t0, t1, t2) { this.scopes = t0; this.nonce = t1; this.state = t2; }, SignInWithAppleException_SignInWithAppleException$fromPlatformException(exception) { var _s19_ = "no message provided", t1 = exception.code, t2 = exception.message; switch (t1) { case "not-supported": return new A.SignInWithAppleNotSupportedException(t2 == null ? _s19_ : t2); case "authorization-error/unknown": return new A.SignInWithAppleAuthorizationException(B.AuthorizationErrorCode_5, t2 == null ? _s19_ : t2); case "authorization-error/canceled": return new A.SignInWithAppleAuthorizationException(B.AuthorizationErrorCode_0, t2 == null ? _s19_ : t2); case "authorization-error/invalidResponse": return new A.SignInWithAppleAuthorizationException(B.AuthorizationErrorCode_2, t2 == null ? _s19_ : t2); case "authorization-error/notHandled": return new A.SignInWithAppleAuthorizationException(B.AuthorizationErrorCode_3, t2 == null ? _s19_ : t2); case "authorization-error/notInteractive": return new A.SignInWithAppleAuthorizationException(B.AuthorizationErrorCode_4, t2 == null ? _s19_ : t2); case "authorization-error/failed": return new A.SignInWithAppleAuthorizationException(B.AuthorizationErrorCode_1, t2 == null ? _s19_ : t2); case "credentials-error": return new A.SignInWithAppleCredentialsException(t2 == null ? _s19_ : t2); default: return new A.UnknownSignInWithAppleException(t1, t2, exception.details, null); } }, SignInWithAppleCredentialsException$(message) { return new A.SignInWithAppleCredentialsException(message); }, UnknownSignInWithAppleException: function UnknownSignInWithAppleException(t0, t1, t2, t3) { var _ = this; _.code = t0; _.message = t1; _.details = t2; _.stacktrace = t3; }, SignInWithAppleNotSupportedException: function SignInWithAppleNotSupportedException(t0) { this.message = t0; }, AuthorizationErrorCode: function AuthorizationErrorCode(t0, t1) { this.index = t0; this._core$_name = t1; }, SignInWithAppleAuthorizationException: function SignInWithAppleAuthorizationException(t0, t1) { this.code = t0; this.message = t1; }, SignInWithAppleCredentialsException: function SignInWithAppleCredentialsException(t0) { this.message = t0; }, MethodChannelSignInWithApple: function MethodChannelSignInWithApple() { }, MethodChannelSignInWithApple__signInWithAppleAndroid_closure: function MethodChannelSignInWithApple__signInWithAppleAndroid_closure() { }, SignInWithApplePlatform: function SignInWithApplePlatform() { }, WebAuthenticationOptions: function WebAuthenticationOptions(t0, t1) { this.clientId = t0; this.redirectUri = t1; }, SignInWithApplePlugin: function SignInWithApplePlugin() { }, SignInWithAppleInitOptions: function SignInWithAppleInitOptions() { }, SignInResponseI: function SignInResponseI() { }, AuthorizationI: function AuthorizationI() { }, UserI: function UserI() { }, NameI: function NameI() { }, SourceFile$fromString(text, url) { var t1 = new A.CodeUnits(text), t2 = A._setArrayType([0], type$.JSArray_int); t2 = new A.SourceFile(url, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1)))); t2.SourceFile$decoded$2$url(t1, url); return t2; }, SourceFile$decoded(decodedChars, url) { var t1 = A._setArrayType([0], type$.JSArray_int); t1 = new A.SourceFile(url, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars)))); t1.SourceFile$decoded$2$url(decodedChars, url); return t1; }, FileLocation$_(file, offset) { if (offset < 0) A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + ".")); else if (offset > file._decodedChars.length) A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(0) + ".")); return new A.FileLocation(file, offset); }, _FileSpan$(file, _start, _end) { if (_end < _start) A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null)); else if (_end > file._decodedChars.length) A.throwExpression(A.RangeError$("End " + _end + string$.x20must_ + file.get$length(0) + ".")); else if (_start < 0) A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + ".")); return new A._FileSpan(file, _start, _end); }, 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; }, Highlighter$(span, color) { var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, true)], type$.JSArray__Highlight)), t2 = new A.Highlighter_closure(color).call$0(), t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1), t4 = A.Highlighter__contiguous(t1) ? 0 : 3, t5 = A._arrayInstanceType(t1); return new A.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new A.MappedListIterable(t1, new A.Highlighter$__closure(), t5._eval$1("MappedListIterable<1,int>")).reduce$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, new A.Highlighter$__closure0(), t5._eval$1("MappedListIterable<1,Object?>"))), new A.StringBuffer("")); }, Highlighter__contiguous(lines) { var i, thisLine, nextLine; for (i = 0; i < lines.length - 1;) { thisLine = lines[i]; ++i; nextLine = lines[i]; if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url)) return false; } return true; }, Highlighter__collateLines(highlights) { var t1, t2, t3, highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object); for (t1 = highlightsByUrl.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0()); } t1 = highlightsByUrl.get$entries(highlightsByUrl); t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>"); return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E")); }, _Highlight$(span, primary) { var t1 = new A._Highlight_closure(span).call$0(); return new A._Highlight(t1, true, null); }, _Highlight__normalizeNewlines(span) { var t1, endOffset, i, t2, t3, t4, text = span.get$text(span); if (!B.JSString_methods.contains$1(text, "\r\n")) return span; t1 = span.get$end(span); endOffset = t1.get$offset(t1); for (t1 = text.length - 1, i = 0; i < t1; ++i) if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10) --endOffset; t1 = span.get$start(span); t2 = span.get$sourceUrl(); t3 = span.get$end(span); t3 = t3.get$line(t3); t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2); t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n"); t4 = span.get$context(span); return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n")); }, _Highlight__normalizeTrailingNewline(span) { var context, text, start, end, t1, t2, t3; if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n")) return span; if (B.JSString_methods.endsWith$1(span.get$text(span), "\n\n")) return span; context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1); text = span.get$text(span); start = span.get$start(span); end = span.get$end(span); if (B.JSString_methods.endsWith$1(span.get$text(span), "\n")) { t1 = A.findLineStart(span.get$context(span), span.get$text(span), span.get$start(span).get$column()); t1.toString; t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length; } else t1 = false; if (t1) { text = B.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); if (text.length === 0) end = start; else { t1 = span.get$end(span); t1 = t1.get$offset(t1); t2 = span.get$sourceUrl(); t3 = span.get$end(span); t3 = t3.get$line(t3); end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2); t1 = span.get$start(span); t1 = t1.get$offset(t1); t2 = span.get$end(span); start = t1 === t2.get$offset(t2) ? end : span.get$start(span); } } return A.SourceSpanWithContext$(start, end, text, context); }, _Highlight__normalizeEndOfLine(span) { var t1, t2, text, t3, t4; if (span.get$end(span).get$column() !== 0) return span; t1 = span.get$end(span); t1 = t1.get$line(t1); t2 = span.get$start(span); if (t1 === t2.get$line(t2)) return span; text = B.JSString_methods.substring$2(span.get$text(span), 0, span.get$text(span).length - 1); t1 = span.get$start(span); t2 = span.get$end(span); t2 = t2.get$offset(t2); t3 = span.get$sourceUrl(); t4 = span.get$end(span); t4 = t4.get$line(t4); t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3); return A.SourceSpanWithContext$(t1, t3, text, B.JSString_methods.endsWith$1(span.get$context(span), "\n") ? B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1) : span.get$context(span)); }, _Highlight__lastLineLength(text) { var t1 = text.length; if (t1 === 0) return 0; else if (text.charCodeAt(t1 - 1) === 10) return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1; else return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1; }, Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._lines = t0; _._highlighter$_primaryColor = t1; _._highlighter$_secondaryColor = t2; _._paddingBeforeSidebar = t3; _._maxMultilineSpans = t4; _._multipleFiles = t5; _._highlighter$_buffer = t6; }, Highlighter_closure: function Highlighter_closure(t0) { this.color = t0; }, Highlighter$__closure: function Highlighter$__closure() { }, Highlighter$___closure: function Highlighter$___closure() { }, Highlighter$__closure0: function Highlighter$__closure0() { }, Highlighter__collateLines_closure: function Highlighter__collateLines_closure() { }, Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() { }, Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() { }, Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) { this.line = t0; }, Highlighter_highlight_closure: function Highlighter_highlight_closure() { }, Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) { this.$this = t0; }, Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) { this.$this = t0; this.startLine = t1; this.line = t2; }, Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) { this.$this = t0; this.highlight = t1; }, Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) { this.$this = t0; }, Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.current = t2; _.startLine = t3; _.line = t4; _.highlight = t5; _.endLine = t6; }, Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) { this.$this = t0; this.vertical = t1; }, Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.text = t1; _.startColumn = t2; _.endColumn = t3; }, Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) { this.$this = t0; this.line = t1; this.highlight = t2; }, Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) { this.$this = t0; this.line = t1; this.highlight = t2; }, Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.coversWholeLine = t1; _.line = t2; _.highlight = t3; }, Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.end = t2; }, _Highlight: function _Highlight(t0, t1, t2) { this.span = t0; this.isPrimary = t1; this.label = t2; }, _Highlight_closure: function _Highlight_closure(t0) { this.span = t0; }, _Line: function _Line(t0, t1, t2, t3) { var _ = this; _.text = t0; _.number = t1; _.url = t2; _.highlights = t3; }, SourceLocation$(offset, column, line, sourceUrl) { if (offset < 0) A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + ".")); else if (line < 0) A.throwExpression(A.RangeError$("Line may not be negative, was " + line + ".")); else if (column < 0) A.throwExpression(A.RangeError$("Column may not be negative, was " + column + ".")); return new A.SourceLocation(sourceUrl, offset, line, column); }, SourceLocation: function SourceLocation(t0, t1, t2, t3) { var _ = this; _.sourceUrl = t0; _.offset = t1; _.line = t2; _.column = t3; }, SourceLocationMixin: function SourceLocationMixin() { }, SourceSpanBase: function SourceSpanBase() { }, SourceSpanFormatException$(message, span, source) { return new A.SourceSpanFormatException(source, message, span); }, SourceSpanException: function SourceSpanException() { }, SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) { this.source = t0; this._span_exception$_message = t1; this._span = t2; }, SourceSpanMixin: function SourceSpanMixin() { }, SourceSpanWithContext$(start, end, text, _context) { var t1 = new A.SourceSpanWithContext(_context, start, end, text); t1.SourceSpanBase$3(start, end, text); if (!B.JSString_methods.contains$1(_context, text)) A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null)); if (A.findLineStart(_context, text, start.get$column()) == null) A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null)); return t1; }, SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) { var _ = this; _._span_with_context$_context = t0; _.start = t1; _.end = t2; _.text = t3; }, _Rebuild: function _Rebuild(t0, t1, t2) { this._injected = t0; this._injectedList = t1; this.$ti = t2; }, addToContextSet(ctx) { $._contextSet.push(ctx); return new A.addToContextSet_closure(ctx); }, addToActiveReactiveModels(inj) { $.injectedModels.add$1(0, inj); return new A.addToActiveReactiveModels_closure(inj); }, OnBuilder$(builder, debugPrintWhenRebuild, key, listenTo, listenToMany, shouldRebuild, sideEffects, watch, $T) { return new A.OnBuilder(new A.OnBuilder_closure(listenTo, listenToMany), sideEffects, new A.OnBuilder_closure0(builder, $T), A._setArrayType([], type$.JSArray_of_void_Function), shouldRebuild, key, $T._eval$1("OnBuilder<0>")); }, MyElement$(widget) { var t1 = widget.createState$0(), t2 = new A.MyElement(t1, widget, B._ElementLifecycle_0); t1._framework$_element = t2; t1._widget = widget; return t2; }, InjectedImp$(autoDisposeWhenNotUsed, creator, debugPrintWhenNotifiedPreMessageGlobal, dependsOn, initialState, sideEffectsGlobal, stateInterceptor, toDebugString, watch, $T) { var t1 = $T._eval$1("InjectedImp<0>"), t2 = type$.JSArray_of_void_Function_ReactiveModelImp_dynamic; t1 = new A.InjectedImp(sideEffectsGlobal, debugPrintWhenNotifiedPreMessageGlobal, toDebugString, dependsOn, watch, A.LinkedHashSet_LinkedHashSet$_empty(t1), A._setArrayType([null], type$.JSArray_of_nullable_dynamic_Function), creator, initialState, true, stateInterceptor, null, A._setArrayType([], t2), A._setArrayType([], t2), A._setArrayType([], t2), A._setArrayType([], type$.JSArray_of_void_Function), t1); t1.resetDefaultState$0(); t1.InjectedImp$9$autoDisposeWhenNotUsed$creator$debugPrintWhenNotifiedPreMessageGlobal$dependsOn$initialState$sideEffectsGlobal$stateInterceptor$toDebugString$watch(true, creator, debugPrintWhenNotifiedPreMessageGlobal, dependsOn, initialState, sideEffectsGlobal, stateInterceptor, toDebugString, watch, $T); return t1; }, SnapState$none(data, debugName, infoMessage, toDebugString, $T) { return new A.SnapState(B.StateStatus_0, data, null, null, debugName, toDebugString, infoMessage, true, $T._eval$1("SnapState<0>")); }, addToContextSet_closure: function addToContextSet_closure(t0) { this.ctx = t0; }, addToActiveReactiveModels_closure: function addToActiveReactiveModels_closure(t0) { this.inj = t0; }, OnBuilder: function OnBuilder(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.observers = t0; _.sideEffects = t1; _._rm$_builder = t2; _.cleaners = t3; _.shouldRebuild = t4; _.key = t5; _.$ti = t6; }, OnBuilder_closure: function OnBuilder_closure(t0, t1) { this.listenTo = t0; this.listenToMany = t1; }, OnBuilder_closure0: function OnBuilder_closure0(t0, t1) { this.builder = t0; this.T = t1; }, MyStatefulWidget: function MyStatefulWidget() { }, _MyStatefulWidgetState: function _MyStatefulWidgetState(t0, t1, t2) { var _ = this; _.rm = _.snap = null; _.disposers = t0; _.cachedAddToObs = null; _.__ExtendedState_removeFromContextSet_A = _.___MyStatefulWidgetState_models_AI = $; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; _.$ti = t2; }, _MyStatefulWidgetState_initState_closure: function _MyStatefulWidgetState_initState_closure(t0) { this.$this = t0; }, _MyStatefulWidgetState_initState__closure: function _MyStatefulWidgetState_initState__closure(t0, t1) { this.$this = t0; this.model = t1; }, IStatefulWidget: function IStatefulWidget() { }, MyElement: function MyElement(t0, t1, t2) { var _ = this; _._framework$_state = t0; _._didChangeDependencies = false; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, ExtendedState: function ExtendedState() { }, InjectedImp: function InjectedImp(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.sideEffectsGlobal = t0; _.debugPrintWhenNotifiedPreMessageGlobal = t1; _.toDebugString = t2; _.dependsOn = t3; _.watch = t4; _.__InjectedImp__cachedWatch_A = _.__InjectedImp_creatorUpdatable_A = $; _.inheritedInjects = t5; _.cachedCreatorMocks = t6; _.creator = t7; _.initialState = t8; _.autoDisposeWhenNotUsed = t9; _.stateInterceptorGlobal = t10; _.__ReactiveModelImp_isWaitingToInitialize_A = _.__ReactiveModelImp__dependentDebounceTimer_A = _.__ReactiveModelImp_completer_A = _.__ReactiveModelImp_removeFromReactiveModel_A = _.__ReactiveModelImp_isInitialized_A = _.__ReactiveModelImp__snapState_A = $; _.subscription = null; _.IObservable_customStatus = t11; _.IObservable__listeners = t12; _.IObservable__listenersForSideEffects = t13; _.IObservable__dependentListeners = t14; _.IObservable__cleaners = t15; _.$ti = t16; }, InjectedImp_closure: function InjectedImp_closure(t0, t1) { this.$this = t0; this.creator = t1; }, IObservable: function IObservable() { }, IObservable_addObserver_closure: function IObservable_addObserver_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.isSideEffects = t1; _.listener = t2; _.shouldAutoClean = t3; }, IObservable_addCleaner_closure: function IObservable_addCleaner_closure(t0, t1) { this.$this = t0; this.listener = t1; }, ReactiveModel: function ReactiveModel() { }, ReactiveModelImp: function ReactiveModelImp() { }, ReactiveModelImp_setStateNullable_closure: function ReactiveModelImp_setStateNullable_closure(t0) { this.$this = t0; }, ReactiveModelImp_setStateNullable_closure0: function ReactiveModelImp_setStateNullable_closure0(t0) { this.$this = t0; }, ReactiveModelImp_setStateNullable_closure1: function ReactiveModelImp_setStateNullable_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.mutator = t1; _.middleSetState = t2; _.stackTrace = t3; }, ReactiveModelImp_initialize_closure: function ReactiveModelImp_initialize_closure(t0, t1) { this.$this = t0; this.creator = t1; }, ReactiveModelImp__handleAsyncState_closure: function ReactiveModelImp__handleAsyncState_closure(t0, t1, t2) { this.$this = t0; this.middleSetState = t1; this.stackTrace = t2; }, ReactiveModelImp__handleAsyncState__closure0: function ReactiveModelImp__handleAsyncState__closure0(t0, t1) { this.$this = t0; this.event = t1; }, ReactiveModelImp__handleAsyncState_closure1: function ReactiveModelImp__handleAsyncState_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.middleSetState = t1; _.mutator = t2; _.stackTrace = t3; }, ReactiveModelImp__handleAsyncState__closure: function ReactiveModelImp__handleAsyncState__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.mutator = t1; _.middleSetState = t2; _.stackTrace = t3; }, ReactiveModelImp__handleAsyncState_closure0: function ReactiveModelImp__handleAsyncState_closure0(t0) { this.$this = t0; }, StateStatus: function StateStatus(t0, t1) { this.index = t0; this._core$_name = t1; }, SnapState: function SnapState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.status = t0; _.data = t1; _.snapError = t2; _.oldSnapState = t3; _._debugName = t4; _._toDebugString = t5; _._infoMessage = t6; _._isImmutable = t7; _.$ti = t8; }, SnapError: function SnapError(t0, t1, t2) { this.error = t0; this.stackTrace = t1; this.refresher = t2; }, _ReactiveModel_Object_IObservable: function _ReactiveModel_Object_IObservable() { }, StringScannerException: function StringScannerException(t0, t1, t2) { this.source = t0; this._span_exception$_message = t1; this._span = t2; }, StringScanner: function StringScanner(t0, t1) { var _ = this; _.sourceUrl = t0; _.string = t1; _._string_scanner$_position = 0; _._lastMatchPosition = _._lastMatch = null; }, DocumentChangeLog: function DocumentChangeLog() { }, NodeInsertedEvent: function NodeInsertedEvent(t0, t1) { this.nodeId = t0; this.insertionIndex = t1; }, NodeRemovedEvent: function NodeRemovedEvent(t0) { this.nodeId = t0; }, NodeChangeEvent: function NodeChangeEvent(t0) { this.nodeId = t0; }, DocumentPosition: function DocumentPosition(t0, t1) { this.nodeId = t0; this.nodePosition = t1; }, DocumentNode: function DocumentNode() { }, MutableDocumentComposer$() { var _null = null, t1 = $.$get$ChangeNotifier__emptyListeners(); t1 = new A.MutableDocumentComposer(new A.PausableValueNotifier(_null, t1, type$.PausableValueNotifier_nullable_DocumentSelection), new A.PausableValueNotifier(_null, t1, type$.PausableValueNotifier_nullable_DocumentRange), new A.PausableValueNotifier(false, t1, type$.PausableValueNotifier_bool), new A.ComposerPreferences(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution), t1), t1); t1.DocumentComposer$2$imeConfiguration$initialSelection(_null, _null); return t1; }, DocumentComposer: function DocumentComposer() { }, DocumentComposer_closure: function DocumentComposer_closure(t0) { this.$this = t0; }, MutableDocumentComposer: function MutableDocumentComposer(t0, t1, t2, t3, t4) { var _ = this; _._didChangeSelectionDuringTransaction = _._isInTransaction = false; _._latestSelectionChange = null; _.__DocumentComposer__streamController_A = $; _._selectionNotifier = t0; _._document_composer$_composingRegion = t1; _._isInInteractionMode = t2; _._preferences = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ComposerPreferences: function ComposerPreferences(t0, t1) { var _ = this; _._currentAttributions = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ClearSelectionRequest: function ClearSelectionRequest() { }, ChangeSelectionRequest: function ChangeSelectionRequest(t0, t1, t2) { this.newSelection = t0; this.changeType = t1; this.reason = t2; }, ChangeSelectionCommand: function ChangeSelectionCommand(t0, t1, t2) { this.newSelection = t0; this.changeType = t1; this.reason = t2; }, SelectionChangeEvent: function SelectionChangeEvent(t0, t1, t2) { this.oldSelection = t0; this.newSelection = t1; this.changeType = t2; }, ComposingRegionChangeEvent: function ComposingRegionChangeEvent(t0) { this.newComposingRegion = t0; }, DocumentSelectionChange: function DocumentSelectionChange(t0, t1) { this.selection = t0; this.reason = t1; }, SelectionChangeType: function SelectionChangeType(t0, t1) { this.index = t0; this._core$_name = t1; }, ChangeComposingRegionRequest: function ChangeComposingRegionRequest(t0) { this.composingRegion = t0; }, ChangeComposingRegionCommand: function ChangeComposingRegionCommand(t0) { this.composingRegion = t0; }, ClearComposingRegionRequest: function ClearComposingRegionRequest() { }, ChangeInteractionModeRequest: function ChangeInteractionModeRequest(t0) { this.isInteractionModeDesired = t0; }, ChangeInteractionModeCommand: function ChangeInteractionModeCommand(t0) { this.isInteractionModeDesired = t0; }, _ComposerPreferences_Object_ChangeNotifier: function _ComposerPreferences_Object_ChangeNotifier() { }, _DocumentComposer_Object_ChangeNotifier: function _DocumentComposer_Object_ChangeNotifier() { }, DebugPaintConfig: function DebugPaintConfig() { }, DocumentGestureMode: function DocumentGestureMode(t0, t1) { this.index = t0; this._core$_name = t1; }, DocumentLayoutEditable: function DocumentLayoutEditable(t0) { this._documentLayoutResolver = t0; }, DocumentComponent: function DocumentComponent() { }, ProxyDocumentComponent: function ProxyDocumentComponent() { }, MovementModifier: function MovementModifier(t0) { this.id = t0; }, DocumentSelection$collapsed(position) { return new A.DocumentSelection(position, position, position, position); }, InspectDocumentAffinity_getAffinityBetween(_this, base, extent) { var baseIndex, extentNode, extentIndex, affinity, _s30_ = "No such position in document: ", t1 = _this._nodesById, baseNode = t1.$index(0, base.nodeId); if (baseNode == null) throw A.wrapException(A.Exception_Exception(_s30_ + base.toString$0(0))); baseIndex = _this.getNodeIndexById$1(baseNode.get$id(baseNode)); extentNode = t1.$index(0, extent.nodeId); if (extentNode == null) throw A.wrapException(A.Exception_Exception(_s30_ + extent.toString$0(0))); extentIndex = _this.getNodeIndexById$1(extentNode.get$id(extentNode)); affinity = A._Cell$named("affinity"); if (extentIndex > baseIndex) affinity.__late_helper$_value = B.TextAffinity_1; else if (extentIndex < baseIndex) affinity.__late_helper$_value = B.TextAffinity_0; else { t1 = base.nodePosition; affinity.__late_helper$_value = t1.$eq(0, extentNode.selectUpstreamPosition$2(t1, extent.nodePosition)) ? B.TextAffinity_1 : B.TextAffinity_0; } return affinity._readLocal$0(); }, InspectDocumentRange_getRangeBetween(_this, position1, position2) { var affinity = A._InitializedCell$named("affinity", new A.InspectDocumentRange_getRangeBetween_closure(_this, position1, position2)), t1 = affinity._read$0() === B.TextAffinity_1 ? position1 : position2; return new A.DocumentRange(t1, affinity._read$0() === B.TextAffinity_1 ? position2 : position1); }, InspectDocumentSelection_selectUpstreamPosition(_this, docPosition1, docPosition2) { var t1 = _this._nodesById, docPosition1Node = t1.$index(0, docPosition1.nodeId), docPosition1NodeIndex = _this.getNodeIndexById$1(docPosition1Node.get$id(docPosition1Node)), docPosition2Node = t1.$index(0, docPosition2.nodeId), docPosition2NodeIndex = _this.getNodeIndexById$1(docPosition2Node.get$id(docPosition2Node)); if (docPosition1NodeIndex < docPosition2NodeIndex) return docPosition1; else if (docPosition2NodeIndex < docPosition1NodeIndex) return docPosition2; t1 = docPosition1.nodePosition; return docPosition1Node.selectUpstreamPosition$2(t1, docPosition2.nodePosition).$eq(0, t1) ? docPosition1 : docPosition2; }, InspectDocumentSelection_doesSelectionContainPosition(_this, selection, position) { var downstreamPosition, t1, baseNode, baseNodeIndex, downstreamPosition0, extentNode, extentNodeIndex, upstreamNode, upstreamNodeIndex, downstreamNode, downstreamNodeIndex, positionNodeIndex, upstreamPosition, downstreamCap, upstreamCap; if (selection.get$isCollapsed(0)) return false; downstreamPosition = selection.base; t1 = _this._nodesById; baseNode = t1.$index(0, downstreamPosition.nodeId); baseNodeIndex = _this.getNodeIndexById$1(baseNode.get$id(baseNode)); downstreamPosition0 = selection.extent; extentNode = t1.$index(0, downstreamPosition0.nodeId); extentNodeIndex = _this.getNodeIndexById$1(extentNode.get$id(extentNode)); t1 = baseNodeIndex < extentNodeIndex; upstreamNode = t1 ? baseNode : extentNode; upstreamNodeIndex = t1 ? baseNodeIndex : extentNodeIndex; downstreamNode = t1 ? extentNode : baseNode; downstreamNodeIndex = t1 ? extentNodeIndex : baseNodeIndex; positionNodeIndex = _this.getNodeIndexById$1(position.nodeId); if (upstreamNodeIndex < positionNodeIndex && positionNodeIndex < downstreamNodeIndex) return true; if (positionNodeIndex === upstreamNodeIndex) { upstreamPosition = A.InspectDocumentSelection_selectUpstreamPosition(_this, downstreamPosition, downstreamPosition0); if (upstreamPosition.$eq(0, downstreamPosition)) downstreamPosition = downstreamPosition0; downstreamCap = upstreamNodeIndex === downstreamNodeIndex ? downstreamPosition.nodePosition : upstreamNode.get$endPosition(); t1 = position.nodePosition; return upstreamNode.selectDownstreamPosition$2(upstreamPosition.nodePosition, t1).$eq(0, upstreamNode.selectUpstreamPosition$2(t1, downstreamCap)); } if (positionNodeIndex === downstreamNodeIndex) { upstreamPosition = A.InspectDocumentSelection_selectUpstreamPosition(_this, downstreamPosition, downstreamPosition0); if (upstreamPosition.$eq(0, downstreamPosition)) downstreamPosition = downstreamPosition0; upstreamCap = downstreamNodeIndex === upstreamNodeIndex ? upstreamPosition.nodePosition : downstreamNode.get$beginningPosition(); t1 = position.nodePosition; return downstreamNode.selectDownstreamPosition$2(upstreamCap, t1).$eq(0, downstreamNode.selectUpstreamPosition$2(t1, downstreamPosition.nodePosition)); } return false; }, DocumentSelection: function DocumentSelection(t0, t1, t2, t3) { var _ = this; _.base = t0; _.extent = t1; _.start = t2; _.end = t3; }, DocumentRange: function DocumentRange(t0, t1) { this.start = t0; this.end = t1; }, InspectDocumentRange_getRangeBetween_closure: function InspectDocumentRange_getRangeBetween_closure(t0, t1, t2) { this._this = t0; this.position1 = t1; this.position2 = t2; }, SuperEditorContext: function SuperEditorContext(t0, t1, t2, t3, t4, t5) { var _ = this; _.editor = t0; _.document = t1; _._getDocumentLayout = t2; _.composer = t3; _.scroller = t4; _.commonOps = t5; }, Editor: function Editor(t0, t1, t2) { var _ = this; _.requestHandlers = t0; _.__Editor__commandExecutor_F = _.__Editor_context_F = $; _.reactionPipeline = t1; _._changeListeners = t2; _._activeChangeList = null; _._activeCommandCount = 0; }, _DocumentEditorCommandExecutor: function _DocumentEditorCommandExecutor(t0, t1, t2) { this._editor$_context = t0; this._commandsBeingProcessed = t1; this._changeList = t2; }, EditCommand: function EditCommand() { }, EditContext: function EditContext(t0) { this._resources = t0; }, EditorCommandQueue: function EditorCommandQueue(t0, t1) { this._activeCommand = null; this._activeCommandExpansionQueue = t0; this._commandBacklog = t1; }, DocumentEdit: function DocumentEdit(t0) { this.change = t0; }, MutableDocument: function MutableDocument(t0, t1, t2, t3) { var _ = this; _._editor$_nodes = t0; _._nodeIndicesById = t1; _._nodesById = t2; _._editor$_listeners = t3; }, MutableDocument_onTransactionEnd_closure: function MutableDocument_onTransactionEnd_closure() { }, Stylesheet$(documentPadding, inlineTextStyler, rules, selectedTextColorStrategy) { return new A.Stylesheet(documentPadding, inlineTextStyler, selectedTextColorStrategy, rules); }, StyleRule$(selector, styler) { return new A.StyleRule(selector, styler); }, BlockSelector$_(blockType, followingBlockType, indexMatcher, precedingBlockType) { return new A.BlockSelector(blockType, precedingBlockType, followingBlockType, indexMatcher); }, Stylesheet: function Stylesheet(t0, t1, t2, t3) { var _ = this; _.documentPadding = t0; _.inlineTextStyler = t1; _.selectedTextColorStrategy = t2; _.rules = t3; }, StyleRule: function StyleRule(t0, t1) { this.selector = t0; this.styler = t1; }, BlockSelector: function BlockSelector(t0, t1, t2, t3) { var _ = this; _._blockType = t0; _._precedingBlockType = t1; _._followingBlockType = t2; _._indexMatcher = t3; }, _LastBlockMatcher: function _LastBlockMatcher() { }, CascadingPadding: function CascadingPadding(t0, t1, t2, t3) { var _ = this; _.left = t0; _.right = t1; _.top = t2; _.bottom = t3; }, SelectionStyles: function SelectionStyles(t0) { this.selectionColor = t0; }, ColorAttribution: function ColorAttribution() { }, LinkAttribution: function LinkAttribution(t0) { this.url = t0; }, BlockquoteComponentViewModel$(backgroundColor, borderRadius, composingRegion, highlightWhenEmpty, maxWidth, nodeId, padding, selection, selectionColor, showComposingUnderline, text, textAlignment, textDirection, textStyleBuilder) { return new A.BlockquoteComponentViewModel(text, textStyleBuilder, textDirection, textAlignment, selection, selectionColor, highlightWhenEmpty, composingRegion, showComposingUnderline, backgroundColor, borderRadius, nodeId, maxWidth, padding); }, BlockquoteComponentBuilder: function BlockquoteComponentBuilder() { }, BlockquoteComponentViewModel: function BlockquoteComponentViewModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.text = t0; _.textStyleBuilder = t1; _.textDirection = t2; _.textAlignment = t3; _.selection = t4; _.selectionColor = t5; _.highlightWhenEmpty = t6; _.composingRegion = t7; _.showComposingUnderline = t8; _.backgroundColor = t9; _.borderRadius = t10; _.nodeId = t11; _.maxWidth = t12; _.padding = t13; }, BlockquoteComponent: function BlockquoteComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.textKey = t0; _.text = t1; _.styleBuilder = t2; _.textSelection = t3; _.selectionColor = t4; _.backgroundColor = t5; _.borderRadius = t6; _.highlightWhenEmpty = t7; _.composingRegion = t8; _.showComposingUnderline = t9; _.key = t10; }, _BlockquoteComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure: function _BlockquoteComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure(t0) { this.styles = t0; }, _BlockquoteComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel: function _BlockquoteComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel() { }, BlockNode: function BlockNode() { }, BoxComponent: function BoxComponent(t0, t1) { this.child = t0; this.key = t1; }, _BoxComponentState: function _BoxComponentState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, SelectableBox: function SelectableBox(t0, t1, t2, t3) { var _ = this; _.selection = t0; _.selectionColor = t1; _.child = t2; _.key = t3; }, DeleteUpstreamAtBeginningOfBlockNodeCommand: function DeleteUpstreamAtBeginningOfBlockNodeCommand(t0) { this.node = t0; }, __BoxComponentState_State_DocumentComponent: function __BoxComponentState_State_DocumentComponent() { }, CommonEditorOperations_getDocumentPositionAfterExpandedDeletion($document, selection) { var baseNodeIndex, extentPosition, extentNode, extentNodeIndex, t2, topNodePosition, t3, bottomNodePosition, newSelectionPosition, basePosition = selection.base, t1 = $document._nodesById, baseNode = t1.$index(0, basePosition.nodeId); if (baseNode == null) throw A.wrapException(A.Exception_Exception(string$.Failed_b)); baseNodeIndex = $document.getNodeIndexById$1(baseNode.get$id(baseNode)); extentPosition = selection.extent; extentNode = t1.$index(0, extentPosition.nodeId); if (extentNode == null) throw A.wrapException(A.Exception_Exception(string$.Failed_e)); extentNodeIndex = $document.getNodeIndexById$1(extentNode.get$id(extentNode)); t1 = $document.getNodeAt$1(Math.min(baseNodeIndex, extentNodeIndex)); t1.toString; t2 = baseNodeIndex < extentNodeIndex; topNodePosition = t2 ? basePosition.nodePosition : extentPosition.nodePosition; t3 = $document.getNodeAt$1(Math.max(baseNodeIndex, extentNodeIndex)); t3.toString; bottomNodePosition = t2 ? extentPosition.nodePosition : basePosition.nodePosition; if (baseNodeIndex !== extentNodeIndex) if (topNodePosition.$eq(0, t1.get$beginningPosition()) && bottomNodePosition.$eq(0, t3.get$endPosition())) newSelectionPosition = new A.DocumentPosition(t1.get$id(t1), B.TextNodePosition_0_TextAffinity_1); else if (topNodePosition.$eq(0, t1.get$beginningPosition())) newSelectionPosition = new A.DocumentPosition(t3.get$id(t3), t3.get$beginningPosition()); else if (bottomNodePosition.$eq(0, t3.get$endPosition())) newSelectionPosition = new A.DocumentPosition(t1.get$id(t1), topNodePosition); else newSelectionPosition = baseNodeIndex <= extentNodeIndex ? basePosition : extentPosition; else { t1 = basePosition.nodePosition; if (t1 instanceof A.UpstreamDownstreamNodePosition) newSelectionPosition = new A.DocumentPosition(baseNode.get$id(baseNode), B.TextNodePosition_0_TextAffinity_1); else if (t1 instanceof A.TextNodePosition) { t2 = type$.TextNodePosition._as(extentPosition.nodePosition); newSelectionPosition = new A.DocumentPosition(baseNode.get$id(baseNode), new A.TextNodePosition(Math.min(t1.offset, t2.offset), B.TextAffinity_1)); } else throw A.wrapException(A.Exception_Exception("Unknown selection position type: " + basePosition.toString$0(0) + ", for node: " + baseNode.toString$0(0) + ", within document selection: " + selection.toString$0(0))); } return newSelectionPosition; }, CommonEditorOperations: function CommonEditorOperations(t0, t1, t2, t3) { var _ = this; _.document = t0; _.editor = t1; _.composer = t2; _.documentLayoutResolver = t3; }, PasteEditorRequest: function PasteEditorRequest(t0, t1, t2) { this.content = t0; this.pastePosition = t1; this.composer = t2; }, PasteEditorCommand: function PasteEditorCommand(t0, t1, t2) { this._common_editor_operations$_content = t0; this._pastePosition = t1; this._composer = t2; }, PasteEditorCommand__convertLinesToParagraphs_closure: function PasteEditorCommand__convertLinesToParagraphs_closure() { }, DeleteUpstreamCharacterRequest: function DeleteUpstreamCharacterRequest() { }, DeleteUpstreamCharacterCommand: function DeleteUpstreamCharacterCommand() { }, UpdateComposerTextStylesReaction: function UpdateComposerTextStylesReaction(t0) { this._stylesToExtend = t0; this._previousSelectionExtent = null; }, UpdateComposerTextStylesReaction_react_closure: function UpdateComposerTextStylesReaction_react_closure() { }, UpdateComposerTextStylesReaction__updateComposerStylesAtCaret_closure: function UpdateComposerTextStylesReaction__updateComposerStylesAtCaret_closure(t0) { this.$this = t0; }, UpdateComposerTextStylesReaction__updateComposerStylesAtCaret_closure0: function UpdateComposerTextStylesReaction__updateComposerStylesAtCaret_closure0() { }, SuperEditorDebugVisuals_maybeOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.SuperEditorDebugVisuals); return t1 == null ? null : t1.config; }, SuperEditorDebugVisuals: function SuperEditorDebugVisuals(t0, t1, t2) { this.config = t0; this.child = t1; this.key = t2; }, SuperEditorDebugVisualsConfig: function SuperEditorDebugVisualsConfig() { }, SuperEditorFocusDebugVisuals: function SuperEditorFocusDebugVisuals(t0, t1, t2) { this.focusNode = t0; this.child = t1; this.key = t2; }, SuperEditorImeDebugVisuals: function SuperEditorImeDebugVisuals(t0, t1, t2) { this.imeConnection = t0; this.child = t1; this.key = t2; }, createDefaultDocumentEditor(composer, $document) { var t1 = A.LinkedHashMap_LinkedHashMap$_literal(["document", $document, "composer", composer], type$.String, type$.Editable), t2 = A.List_List$from($.$get$defaultRequestHandlers(), true, type$.nullable_EditCommand_Function_EditRequest), t3 = A.List_List$from($.$get$defaultEditorReactions(), true, type$.EditReaction), t4 = A._setArrayType([], type$.JSArray_EditListener), editor = new A.Editor(t2, t3, t4); t1 = new A.EditContext(t1); editor.__Editor_context_F = t1; t2 = type$.JSArray_EditCommand; editor.__Editor__commandExecutor_F = new A._DocumentEditorCommandExecutor(t1, new A.EditorCommandQueue(A._setArrayType([], t2), A._setArrayType([], t2)), A._setArrayType([], type$.JSArray_EditEvent)); return editor; }, defaultRequestHandlers_closure: function defaultRequestHandlers_closure() { }, defaultRequestHandlers_closure0: function defaultRequestHandlers_closure0() { }, defaultRequestHandlers_closure1: function defaultRequestHandlers_closure1() { }, defaultRequestHandlers_closure2: function defaultRequestHandlers_closure2() { }, defaultRequestHandlers_closure3: function defaultRequestHandlers_closure3() { }, defaultRequestHandlers_closure4: function defaultRequestHandlers_closure4() { }, defaultRequestHandlers_closure5: function defaultRequestHandlers_closure5() { }, defaultRequestHandlers_closure6: function defaultRequestHandlers_closure6() { }, defaultRequestHandlers_closure7: function defaultRequestHandlers_closure7() { }, defaultRequestHandlers_closure8: function defaultRequestHandlers_closure8() { }, defaultRequestHandlers_closure9: function defaultRequestHandlers_closure9() { }, defaultRequestHandlers_closure10: function defaultRequestHandlers_closure10() { }, defaultRequestHandlers_closure11: function defaultRequestHandlers_closure11() { }, defaultRequestHandlers_closure12: function defaultRequestHandlers_closure12() { }, defaultRequestHandlers_closure13: function defaultRequestHandlers_closure13() { }, defaultRequestHandlers_closure14: function defaultRequestHandlers_closure14() { }, defaultRequestHandlers_closure15: function defaultRequestHandlers_closure15() { }, defaultRequestHandlers_closure16: function defaultRequestHandlers_closure16() { }, defaultRequestHandlers_closure17: function defaultRequestHandlers_closure17() { }, defaultRequestHandlers_closure18: function defaultRequestHandlers_closure18() { }, defaultRequestHandlers_closure19: function defaultRequestHandlers_closure19() { }, defaultRequestHandlers_closure20: function defaultRequestHandlers_closure20() { }, defaultRequestHandlers_closure21: function defaultRequestHandlers_closure21() { }, defaultRequestHandlers_closure22: function defaultRequestHandlers_closure22() { }, defaultRequestHandlers_closure23: function defaultRequestHandlers_closure23() { }, defaultRequestHandlers_closure24: function defaultRequestHandlers_closure24() { }, defaultRequestHandlers_closure25: function defaultRequestHandlers_closure25() { }, defaultRequestHandlers_closure26: function defaultRequestHandlers_closure26() { }, defaultRequestHandlers_closure27: function defaultRequestHandlers_closure27() { }, defaultRequestHandlers_closure28: function defaultRequestHandlers_closure28() { }, defaultRequestHandlers_closure29: function defaultRequestHandlers_closure29() { }, defaultRequestHandlers_closure30: function defaultRequestHandlers_closure30() { }, defaultRequestHandlers_closure31: function defaultRequestHandlers_closure31() { }, defaultRequestHandlers_closure32: function defaultRequestHandlers_closure32() { }, defaultRequestHandlers_closure33: function defaultRequestHandlers_closure33() { }, defaultRequestHandlers_closure34: function defaultRequestHandlers_closure34() { }, defaultRequestHandlers_closure35: function defaultRequestHandlers_closure35() { }, defaultRequestHandlers_closure36: function defaultRequestHandlers_closure36() { }, defaultRequestHandlers_closure37: function defaultRequestHandlers_closure37() { }, defaultRequestHandlers_closure38: function defaultRequestHandlers_closure38() { }, defaultRequestHandlers_closure39: function defaultRequestHandlers_closure39() { }, defaultRequestHandlers_closure40: function defaultRequestHandlers_closure40() { }, defaultRequestHandlers_closure41: function defaultRequestHandlers_closure41() { }, defaultRequestHandlers_closure42: function defaultRequestHandlers_closure42() { }, HeaderConversionReaction__getHeaderAttributionForLevel(level) { switch (level) { case 1: return B.NamedAttribution_header1; case 2: return B.NamedAttribution_header2; case 3: return B.NamedAttribution_header3; case 4: return B.NamedAttribution_header4; case 5: return B.NamedAttribution_header5; case 6: return B.NamedAttribution_header6; default: throw A.wrapException(A.Exception_Exception("Tried to match a header pattern level (" + level + ") to a header attribution, but there's no attribution for that level.")); } }, EditInspector_didTypeSpace($document, edits) { var selectionEvent, edit, textInsertionEvent, t1 = edits.length; if (t1 < 2) return false; selectionEvent = edits[t1 - 1]; if (!(selectionEvent instanceof A.SelectionChangeEvent)) return false; edit = edits[t1 - 2]; if (!(edit instanceof A.DocumentEdit)) return false; textInsertionEvent = edit.change; if (!(textInsertionEvent instanceof A.TextInsertionEvent)) return false; if (textInsertionEvent.text.text !== " ") return false; t1 = textInsertionEvent.nodeId; if (selectionEvent.newSelection.extent.nodeId !== t1) return false; t1 = $document._nodesById.$index(0, t1); t1.toString; if (!(t1 instanceof A.TextNode)) return false; return true; }, EditInspector_didTypeSpaceAtEndOfNode($document, edits) { var selectionEvent, edit, textInsertionEvent, t2, t1 = edits.length; if (t1 < 2) return false; selectionEvent = edits[t1 - 1]; if (!(selectionEvent instanceof A.SelectionChangeEvent)) return false; edit = edits[t1 - 2]; if (!(edit instanceof A.DocumentEdit)) return false; textInsertionEvent = edit.change; if (!(textInsertionEvent instanceof A.TextInsertionEvent)) return false; if (textInsertionEvent.text.text !== " ") return false; if (selectionEvent.oldSelection == null || selectionEvent.newSelection == null) return false; t1 = selectionEvent.newSelection.extent; t2 = textInsertionEvent.nodeId; if (t1.nodeId !== t2) return false; t2 = $document._nodesById.$index(0, t2); t2.toString; if (!(t2 instanceof A.TextNode)) return false; if (type$.TextNodePosition._as(t1.nodePosition).offset !== t2._text$_text.text.length) return false; return true; }, HeaderConversionReaction: function HeaderConversionReaction() { this.__HeaderConversionReaction__headerRegExp_F = $; }, HeaderConversionReaction_onPrefixMatched_closure: function HeaderConversionReaction_onPrefixMatched_closure(t0) { this.prefixLength = t0; }, UnorderedListItemConversionReaction: function UnorderedListItemConversionReaction() { }, OrderedListItemConversionReaction: function OrderedListItemConversionReaction() { }, BlockquoteConversionReaction: function BlockquoteConversionReaction() { }, HorizontalRuleConversionReaction: function HorizontalRuleConversionReaction() { }, ParagraphPrefixConversionReaction: function ParagraphPrefixConversionReaction() { }, ImageUrlConversionReaction: function ImageUrlConversionReaction() { }, ImageUrlConversionReaction_react_closure: function ImageUrlConversionReaction_react_closure() { }, ImageUrlConversionReaction_react_closure0: function ImageUrlConversionReaction_react_closure0() { }, ImageUrlConversionReaction_react_closure1: function ImageUrlConversionReaction_react_closure1() { }, ImageUrlConversionReaction_react_closure2: function ImageUrlConversionReaction_react_closure2(t0, t1, t2, t3, t4) { var _ = this; _.document = t0; _.previousNode = t1; _.originalText = t2; _.url = t3; _.requestDispatcher = t4; }, LinkifyReaction: function LinkifyReaction() { }, LinkifyReaction__extractUpstreamWordAndLinkify_closure: function LinkifyReaction__extractUpstreamWordAndLinkify_closure() { }, LinkifyReaction__extractUpstreamWordAndLinkify_closure0: function LinkifyReaction__extractUpstreamWordAndLinkify_closure0() { }, LinkifyReaction__moveOffsetByWord_closure: function LinkifyReaction__moveOffsetByWord_closure(t0) { this._box_0 = t0; }, LinkifyReaction__moveOffsetByWord_closure0: function LinkifyReaction__moveOffsetByWord_closure0() { }, LinkifyReaction__moveOffsetByWord_closure1: function LinkifyReaction__moveOffsetByWord_closure1() { }, LinkifyReaction__tryUpdateLinkAttribution_closure: function LinkifyReaction__tryUpdateLinkAttribution_closure() { }, LinkifyReaction__tryUpdateLinkAttribution_closure0: function LinkifyReaction__tryUpdateLinkAttribution_closure0() { }, LinkifyReaction__tryUpdateLinkAttribution_closure1: function LinkifyReaction__tryUpdateLinkAttribution_closure1() { }, LinkUpdatePolicy: function LinkUpdatePolicy(t0, t1) { this.index = t0; this._core$_name = t1; }, DashConversionReaction: function DashConversionReaction() { }, CaretDocumentOverlay: function CaretDocumentOverlay(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.composer = t0; _.caretStyle = t1; _.platformOverride = t2; _.displayOnAllPlatforms = t3; _.displayCaretWithExpandedSelection = t4; _.blinkTimingMode = t5; _.key = t6; }, CaretDocumentOverlayState: function CaretDocumentOverlayState(t0, t1, t2) { var _ = this; _.__CaretDocumentOverlayState__blinkController_F = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = _._layoutData = null; _._debugLifecycleState = t2; _._framework$_element = null; }, CaretDocumentOverlayState__onSelectionChange_closure: function CaretDocumentOverlayState__onSelectionChange_closure() { }, CaretDocumentOverlayState_doBuild_closure: function CaretDocumentOverlayState_doBuild_closure(t0) { this.$this = t0; }, _CaretDocumentOverlayState_DocumentLayoutLayerState_SingleTickerProviderStateMixin: function _CaretDocumentOverlayState_DocumentLayoutLayerState_SingleTickerProviderStateMixin() { }, EditorSelectionAndFocusPolicy: function EditorSelectionAndFocusPolicy(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.isDocumentLayoutAvailable = t0; _.focusNode = t1; _.editor = t2; _.document = t3; _.selection = t4; _.getDocumentLayout = t5; _.placeCaretAtEndOfDocumentOnGainFocus = t6; _.restorePreviousSelectionOnGainFocus = t7; _.clearSelectionWhenEditorLosesFocus = t8; _.child = t9; _.key = t10; }, _EditorSelectionAndFocusPolicyState: function _EditorSelectionAndFocusPolicyState(t0) { var _ = this; _._wasFocused = false; _._widget = _._previousSelection = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _EditorSelectionAndFocusPolicyState__onFocusChange_closure: function _EditorSelectionAndFocusPolicyState__onFocusChange_closure(t0) { this.$this = t0; }, DocumentMouseInteractor: function DocumentMouseInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.focusNode = t0; _.editor = t1; _.document = t2; _.getDocumentLayout = t3; _.selectionChanges = t4; _.selectionNotifier = t5; _.contentTapHandler = t6; _.autoScroller = t7; _.showDebugPaint = t8; _.key = t9; }, _DocumentMouseInteractorState: function _DocumentMouseInteractorState(t0, t1, t2, t3, t4) { var _ = this; _.___DocumentMouseInteractorState__focusNode_A = $; _._document_gestures_mouse$_previousSelection = null; _._document_gestures_mouse$_selectionType = t0; _._dragEndGlobal = _._dragSelectionBase = _._dragStartGlobal = null; _._expandSelectionDuringDrag = false; _._document_gestures_mouse$_panGestureDevice = _._wordSelectionDownstream = _._wordSelectionUpstream = null; _.___DocumentMouseInteractorState__selectionSubscription_A = $; _._document_gestures_mouse$_mouseCursor = t1; _._lastHoverOffset = null; _.SingleTickerProviderStateMixin__ticker = t2; _.SingleTickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _DocumentMouseInteractorState__onSelectionChange_closure: function _DocumentMouseInteractorState__onSelectionChange_closure(t0) { this.$this = t0; }, _DocumentMouseInteractorState__onPanUpdate_closure: function _DocumentMouseInteractorState__onPanUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, _DocumentMouseInteractorState__onDragEnd_closure: function _DocumentMouseInteractorState__onDragEnd_closure(t0) { this.$this = t0; }, _DocumentMouseInteractorState__buildCursorStyle_closure: function _DocumentMouseInteractorState__buildCursorStyle_closure(t0) { this.$this = t0; }, _DocumentMouseInteractorState__buildCursorStyle__closure: function _DocumentMouseInteractorState__buildCursorStyle__closure(t0) { this.$this = t0; }, _DocumentMouseInteractorState__buildGestureInput_closure: function _DocumentMouseInteractorState__buildGestureInput_closure() { }, _DocumentMouseInteractorState__buildGestureInput_closure0: function _DocumentMouseInteractorState__buildGestureInput_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _DocumentMouseInteractorState__buildGestureInput_closure1: function _DocumentMouseInteractorState__buildGestureInput_closure1() { }, _DocumentMouseInteractorState__buildGestureInput_closure2: function _DocumentMouseInteractorState__buildGestureInput_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, __DocumentMouseInteractorState_State_SingleTickerProviderStateMixin: function __DocumentMouseInteractorState_State_SingleTickerProviderStateMixin() { }, SuperEditorAndroidControlsScope_rootOf(context) { var data = A.SuperEditorAndroidControlsScope_maybeRootOf(context); if (data == null) throw A.wrapException(A.Exception_Exception("Tried to depend upon the root SuperEditorAndroidControlsScope but no such ancestor widget exists.")); return data; }, SuperEditorAndroidControlsScope_maybeRootOf(context) { var t2, t1 = {}; t1.root = null; context.visitAncestorElements$1(new A.SuperEditorAndroidControlsScope_maybeRootOf_closure(t1)); t2 = t1.root; if (t2 == null) return null; context.dependOnInheritedElement$1(t2); t1 = t1.root._widget; t1.toString; return type$.SuperEditorAndroidControlsScope._as(t1).controller; }, SuperEditorAndroidControlsScope_maybeNearestOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.SuperEditorAndroidControlsScope); return t1 == null ? null : t1.controller; }, SuperEditorAndroidControlsScope: function SuperEditorAndroidControlsScope(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, SuperEditorAndroidControlsScope_maybeRootOf_closure: function SuperEditorAndroidControlsScope_maybeRootOf_closure(t0) { this._box_0 = t0; }, SuperEditorAndroidControlsController: function SuperEditorAndroidControlsController(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._document_gestures_touch_android$_shouldCaretBlink = t0; _.caretJumpToOpaqueSignal = t1; _.collapsedHandleFocalPoint = t2; _._document_gestures_touch_android$_shouldShowCollapsedHandle = t3; _._collapsedHandleAutoHideCountdown = null; _.upstreamHandleFocalPoint = t4; _.downstreamHandleFocalPoint = t5; _._shouldShowExpandedHandles = t6; _._document_gestures_touch_android$_shouldShowMagnifier = t7; _.magnifierFocalPoint = t8; _._document_gestures_touch_android$_shouldShowToolbar = t9; _.toolbarFocalPoint = t10; }, SuperEditorAndroidControlsController_startCollapsedHandleAutoHideCountdown_closure: function SuperEditorAndroidControlsController_startCollapsedHandleAutoHideCountdown_closure(t0) { this.$this = t0; }, SuperEditorAndroidToolbarFocalPointDocumentLayerBuilder: function SuperEditorAndroidToolbarFocalPointDocumentLayerBuilder() { }, SuperEditorAndroidHandlesDocumentLayerBuilder: function SuperEditorAndroidHandlesDocumentLayerBuilder() { }, AndroidDocumentTouchInteractor: function AndroidDocumentTouchInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.focusNode = t0; _.editor = t1; _.document = t2; _.getDocumentLayout = t3; _.selection = t4; _.contentTapHandler = t5; _.scrollController = t6; _.dragHandleAutoScroller = t7; _.key = t8; }, _AndroidDocumentTouchInteractorState: function _AndroidDocumentTouchInteractorState(t0, t1, t2, t3) { var _ = this; _._document_gestures_touch_android$_controlsController = null; _._document_gestures_touch_android$_isScrolling = false; _._document_gestures_touch_android$_scrollingDrag = _._document_gestures_touch_android$_globalDragOffset = _._document_gestures_touch_android$_dragStartScrollOffset = _._document_gestures_touch_android$_startDragPositionOffset = _._document_gestures_touch_android$_dragStartInDoc = _._document_gestures_touch_android$_globalStartDragOffset = _._document_gestures_touch_android$_globalTapDownOffset = _._document_gestures_touch_android$_activeScrollPosition = _._document_gestures_touch_android$_ancestorScrollPosition = null; _._magnifierGlobalOffset = t0; _._document_gestures_touch_android$_longPressStrategy = _._document_gestures_touch_android$_tapDownLongPressTimer = null; _._document_gestures_touch_android$_wasScrollingOnTapDown = _._isCaretDragInProgress = false; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _AndroidDocumentTouchInteractorState_initState_closure: function _AndroidDocumentTouchInteractorState_initState_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState_initState_closure0: function _AndroidDocumentTouchInteractorState_initState_closure0(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState_didChangeDependencies_closure: function _AndroidDocumentTouchInteractorState_didChangeDependencies_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState_didChangeMetrics_closure: function _AndroidDocumentTouchInteractorState_didChangeMetrics_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState_didChangeMetrics__closure: function _AndroidDocumentTouchInteractorState_didChangeMetrics__closure() { }, _AndroidDocumentTouchInteractorState__configureScrollController_closure: function _AndroidDocumentTouchInteractorState__configureScrollController_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState__onScrollActivityChange_closure: function _AndroidDocumentTouchInteractorState__onScrollActivityChange_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState__onDocumentChange_closure: function _AndroidDocumentTouchInteractorState__onDocumentChange_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState__onPanStart_closure: function _AndroidDocumentTouchInteractorState__onPanStart_closure(t0) { this.$this = t0; }, _AndroidDocumentTouchInteractorState_build_closure: function _AndroidDocumentTouchInteractorState_build_closure() { }, _AndroidDocumentTouchInteractorState_build_closure0: function _AndroidDocumentTouchInteractorState_build_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _AndroidDocumentTouchInteractorState_build_closure1: function _AndroidDocumentTouchInteractorState_build_closure1() { }, _AndroidDocumentTouchInteractorState_build_closure2: function _AndroidDocumentTouchInteractorState_build_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, SuperEditorAndroidControlsOverlayManager: function SuperEditorAndroidControlsOverlayManager(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.tapRegionGroupId = t0; _.document = t1; _.getDocumentLayout = t2; _.selection = t3; _.setSelection = t4; _.scrollChangeSignal = t5; _.dragHandleAutoScroller = t6; _.defaultToolbarBuilder = t7; _.child = t8; _.key = t9; }, SuperEditorAndroidControlsOverlayManagerState: function SuperEditorAndroidControlsOverlayManagerState(t0, t1, t2, t3) { var _ = this; _._document_gestures_touch_android$_overlayController = t0; _._document_gestures_touch_android$_controlsController = null; _.__SuperEditorAndroidControlsOverlayManagerState__toolbarAligner_A = $; _._document_gestures_touch_android$_dragHandleType = _._dragHandleSelectionBound = null; _._dragHandleSelectionGlobalFocalPoint = t1; _._document_gestures_touch_android$_magnifierFocalPoint = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle_closure: function SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle_closure(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure2: function SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure2() { }, SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure1: function SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure1(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure0: function SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure0(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure: function SuperEditorAndroidControlsOverlayManagerState__buildCollapsedHandle__closure(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles_closure: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles_closure(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure6: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure6() { }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure5: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure5(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure4: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure4(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure3: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure3(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles_closure0: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles_closure0(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure2: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure2() { }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure1: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure1(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure0: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure0(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure: function SuperEditorAndroidControlsOverlayManagerState__buildExpandedHandles__closure(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildToolbar_closure: function SuperEditorAndroidControlsOverlayManagerState__buildToolbar_closure() { }, SuperEditorAndroidControlsOverlayManagerState__buildMagnifierFocalPoint_closure: function SuperEditorAndroidControlsOverlayManagerState__buildMagnifierFocalPoint_closure(t0) { this.$this = t0; }, SuperEditorAndroidControlsOverlayManagerState__buildMagnifier_closure: function SuperEditorAndroidControlsOverlayManagerState__buildMagnifier_closure() { }, SelectionBound: function SelectionBound(t0, t1) { this.index = t0; this._core$_name = t1; }, __AndroidDocumentTouchInteractorState_State_WidgetsBindingObserver: function __AndroidDocumentTouchInteractorState_State_WidgetsBindingObserver() { }, __AndroidDocumentTouchInteractorState_State_WidgetsBindingObserver_SingleTickerProviderStateMixin: function __AndroidDocumentTouchInteractorState_State_WidgetsBindingObserver_SingleTickerProviderStateMixin() { }, SuperEditorIosControlsScope_rootOf(context) { var data = A.SuperEditorIosControlsScope_maybeRootOf(context); if (data == null) throw A.wrapException(A.Exception_Exception("Tried to depend upon the root SuperEditorIosControlsScope but no such ancestor widget exists.")); return data; }, SuperEditorIosControlsScope_maybeRootOf(context) { var t2, t1 = {}; t1.root = null; context.visitAncestorElements$1(new A.SuperEditorIosControlsScope_maybeRootOf_closure(t1)); t2 = t1.root; if (t2 == null) return null; context.dependOnInheritedElement$1(t2); t1 = t1.root._widget; t1.toString; return type$.SuperEditorIosControlsScope._as(t1).controller; }, SuperEditorIosControlsController$() { var t1 = $.$get$ChangeNotifier__emptyListeners(), t2 = type$.ValueNotifier_bool, t3 = type$.void_Function; return new A.SuperEditorIosControlsController(new A.ValueNotifier(true, t1, t2), new A.FloatingCursorController0(new A.ValueNotifier(false, t1, t2), new A.ValueNotifier(false, t1, t2), new A.ValueNotifier(null, t1, type$.ValueNotifier_nullable_Rect), A.LinkedHashSet_LinkedHashSet$_empty(type$.FloatingCursorListener)), new A.ValueNotifier(false, t1, t2), new A.LeaderLink(A.LinkedHashSet_LinkedHashSet$_empty(t3), t1), new A.ValueNotifier(false, t1, t2), new A.LeaderLink(A.LinkedHashSet_LinkedHashSet$_empty(t3), t1)); }, SuperEditorIosControlsScope: function SuperEditorIosControlsScope(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, SuperEditorIosControlsScope_maybeRootOf_closure: function SuperEditorIosControlsScope_maybeRootOf_closure(t0) { this._box_0 = t0; }, SuperEditorIosControlsController: function SuperEditorIosControlsController(t0, t1, t2, t3, t4, t5) { var _ = this; _._shouldCaretBlink = t0; _.__SuperEditorIosControlsController_floatingCursorController_F = t1; _._shouldShowMagnifier = t2; _.magnifierFocalPoint = t3; _._shouldShowToolbar = t4; _.toolbarFocalPoint = t5; }, IosDocumentTouchInteractor: function IosDocumentTouchInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.focusNode = t0; _.editor = t1; _.document = t2; _.getDocumentLayout = t3; _.selection = t4; _.contentTapHandler = t5; _.scrollController = t6; _.dragHandleAutoScroller = t7; _.key = t8; }, _IosDocumentTouchInteractorState: function _IosDocumentTouchInteractorState(t0, t1, t2, t3) { var _ = this; _._isScrolling = false; _._controlsController = _._activeScrollPosition = _._document_gestures_touch_ios$_ancestorScrollPosition = null; _.___IosDocumentTouchInteractorState__floatingCursorListener_A = $; _._document_gestures_touch_ios$_globalDragOffset = _._document_gestures_touch_ios$_dragStartScrollOffset = _._startDragPositionOffset = _._dragStartInDoc = _._globalStartDragOffset = null; _._magnifierOffset = t0; _._longPressStrategy = _._globalTapDownOffset = _._tapDownLongPressTimer = _._scrollingDrag = _._dragHandleType = _._dragMode = _._dragEndInInteractor = null; _._wasScrollingOnTapDown = false; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _IosDocumentTouchInteractorState_initState_closure: function _IosDocumentTouchInteractorState_initState_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState_initState_closure0: function _IosDocumentTouchInteractorState_initState_closure0(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState_didChangeDependencies_closure: function _IosDocumentTouchInteractorState_didChangeDependencies_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState_didChangeDependencies__closure: function _IosDocumentTouchInteractorState_didChangeDependencies__closure(t0, t1) { this.$this = t0; this.newScrollPosition = t1; }, _IosDocumentTouchInteractorState_didChangeMetrics_closure: function _IosDocumentTouchInteractorState_didChangeMetrics_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState__configureScrollController_closure: function _IosDocumentTouchInteractorState__configureScrollController_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState__onScrollActivityChange_closure: function _IosDocumentTouchInteractorState__onScrollActivityChange_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState__onDocumentChange_closure: function _IosDocumentTouchInteractorState__onDocumentChange_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState__startDragScrolling_closure: function _IosDocumentTouchInteractorState__startDragScrolling_closure(t0) { this.$this = t0; }, _IosDocumentTouchInteractorState_build_closure: function _IosDocumentTouchInteractorState_build_closure() { }, _IosDocumentTouchInteractorState_build_closure0: function _IosDocumentTouchInteractorState_build_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _IosDocumentTouchInteractorState_build_closure1: function _IosDocumentTouchInteractorState_build_closure1() { }, _IosDocumentTouchInteractorState_build_closure2: function _IosDocumentTouchInteractorState_build_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _IosDocumentTouchInteractorState_build_closure3: function _IosDocumentTouchInteractorState_build_closure3() { }, _IosDocumentTouchInteractorState_build_closure4: function _IosDocumentTouchInteractorState_build_closure4(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _IosDocumentTouchInteractorState__buildMagnifierFocalPoint_closure: function _IosDocumentTouchInteractorState__buildMagnifierFocalPoint_closure(t0) { this.$this = t0; }, DragMode: function DragMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SuperEditorIosToolbarOverlayManager: function SuperEditorIosToolbarOverlayManager(t0, t1, t2, t3) { var _ = this; _.tapRegionGroupId = t0; _.defaultToolbarBuilder = t1; _.child = t2; _.key = t3; }, SuperEditorIosToolbarOverlayManagerState: function SuperEditorIosToolbarOverlayManagerState(t0, t1) { var _ = this; _._overlayPortalController = t0; _._widget = _._controlsController = null; _._debugLifecycleState = t1; _._framework$_element = null; }, SuperEditorIosMagnifierOverlayManager: function SuperEditorIosMagnifierOverlayManager(t0, t1) { this.child = t0; this.key = t1; }, SuperEditorIosMagnifierOverlayManagerState: function SuperEditorIosMagnifierOverlayManagerState(t0, t1) { var _ = this; _._overlayPortalController = t0; _._widget = _._controlsController = null; _._debugLifecycleState = t1; _._framework$_element = null; }, SuperEditorIosMagnifierOverlayManagerState__buildMagnifier_closure: function SuperEditorIosMagnifierOverlayManagerState__buildMagnifier_closure() { }, EditorFloatingCursor: function EditorFloatingCursor(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editor = t0; _.document = t1; _.getDocumentLayout = t2; _.selection = t3; _.scrollChangeSignal = t4; _.child = t5; _.key = t6; }, _EditorFloatingCursorState: function _EditorFloatingCursorState(t0) { var _ = this; _._controlsContext = null; _.___EditorFloatingCursorState__floatingCursorListener_A = $; _._floatingCursorFocalPointInDocument = _._floatingCursorFocalPointInViewport = _._initialFloatingCursorOffsetInViewport = null; _._document_gestures_touch_ios$_floatingCursorHeight = 20; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _EditorFloatingCursorState__buildFloatingCursor_closure: function _EditorFloatingCursorState__buildFloatingCursor_closure() { }, __IosDocumentTouchInteractorState_State_WidgetsBindingObserver: function __IosDocumentTouchInteractorState_State_WidgetsBindingObserver() { }, __IosDocumentTouchInteractorState_State_WidgetsBindingObserver_SingleTickerProviderStateMixin: function __IosDocumentTouchInteractorState_State_WidgetsBindingObserver_SingleTickerProviderStateMixin() { }, SuperEditorHardwareKeyHandler: function SuperEditorHardwareKeyHandler(t0, t1, t2, t3, t4, t5) { var _ = this; _.focusNode = t0; _.editContext = t1; _.keyboardActions = t2; _.autofocus = t3; _.child = t4; _.key = t5; }, _SuperEditorHardwareKeyHandlerState: function _SuperEditorHardwareKeyHandlerState(t0) { var _ = this; _.___SuperEditorHardwareKeyHandlerState__focusNode_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, TextDeltasDocumentEditor: function TextDeltasDocumentEditor(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.editor = t0; _.document = t1; _.selection = t2; _.composingRegion = t3; _.composerPreferences = t4; _.commonOps = t5; _.onPerformAction = t6; _.__TextDeltasDocumentEditor__previousImeValue_A = _.__TextDeltasDocumentEditor__serializedDoc_A = $; _._nextImeValue = null; }, DocumentImeInputClient: function DocumentImeInputClient(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.selection = t0; _.composingRegion = t1; _.textDeltasDocumentEditor = t2; _.imeConnection = t3; _.onPerformSelector = t4; _.__DocumentImeInputClient_floatingCursorController_A = null; _._isFloatingCursorVisible = false; _._currentTextEditingValue = t5; _._platformTextEditingValue = t6; _._isSendingToIme = _._isApplyingDeltas = false; _.client = t7; }, DocumentImeInputClient_updateEditingValueWithDeltas_closure: function DocumentImeInputClient_updateEditingValueWithDeltas_closure() { }, _DocumentImeInputClient_TextInputConnectionDecorator_TextInputClient: function _DocumentImeInputClient_TextInputConnectionDecorator_TextInputClient() { }, _DocumentImeInputClient_TextInputConnectionDecorator_TextInputClient_DeltaTextInputClient: function _DocumentImeInputClient_TextInputConnectionDecorator_TextInputClient_DeltaTextInputClient() { }, ImeFocusPolicy: function ImeFocusPolicy(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.focusNode = t0; _.imeConnection = t1; _.imeClientFactory = t2; _.imeConfiguration = t3; _.openImeOnPrimaryFocusGain = t4; _.closeImeOnPrimaryFocusLost = t5; _.openImeOnNonPrimaryFocusGain = t6; _.closeImeOnNonPrimaryFocusLost = t7; _.child = t8; _.key = t9; }, _ImeFocusPolicyState: function _ImeFocusPolicyState(t0) { var _ = this; _.___ImeFocusPolicyState__focusNode_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ImeFocusPolicyState__onFocusChange_closure: function _ImeFocusPolicyState__onFocusChange_closure(t0) { this.$this = t0; }, DocumentSelectionOpenAndCloseImePolicy: function DocumentSelectionOpenAndCloseImePolicy(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.focusNode = t0; _.editor = t1; _.selection = t2; _.imeConnection = t3; _.imeClientFactory = t4; _.imeConfiguration = t5; _.openKeyboardOnSelectionChange = t6; _.closeKeyboardOnSelectionLost = t7; _.clearSelectionWhenEditorLosesFocus = t8; _.clearSelectionWhenImeConnectionCloses = t9; _.child = t10; _.key = t11; }, _DocumentSelectionOpenAndCloseImePolicyState: function _DocumentSelectionOpenAndCloseImePolicyState(t0) { var _ = this; _._wasAttached = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DocumentSelectionOpenAndCloseImePolicyState_didUpdateWidget_closure: function _DocumentSelectionOpenAndCloseImePolicyState_didUpdateWidget_closure(t0) { this.$this = t0; }, _DocumentSelectionOpenAndCloseImePolicyState__onSelectionChange_closure: function _DocumentSelectionOpenAndCloseImePolicyState__onSelectionChange_closure(t0) { this.$this = t0; }, DocumentImeSerializer$(_doc, selection, composingRegion, _prependedCharacterPolicy) { var t1 = type$.TextRange, t2 = type$.String; t1 = new A.DocumentImeSerializer(_doc, selection, composingRegion, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t2, t1), A._setArrayType([], type$.JSArray_DocumentNode), _prependedCharacterPolicy); t1._document_serialization$_serialize$0(); return t1; }, DocumentImeSerializer: function DocumentImeSerializer(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._doc = t0; _.selection = t1; _.composingRegion = t2; _.imeRangesToDocTextNodes = t3; _.docTextNodesToImeRanges = t4; _.selectedNodes = t5; _.__DocumentImeSerializer_imeText_A = $; _._prependedCharacterPolicy = t6; _._prependedPlaceholder = ""; }, PrependedCharacterPolicy: function PrependedCharacterPolicy(t0, t1) { this.index = t0; this._core$_name = t1; }, TextInputConnectionDecorator: function TextInputConnectionDecorator() { }, DeltaTextInputClientDecorator: function DeltaTextInputClientDecorator() { this._ime_decoration$_client = null; }, _DeltaTextInputClientDecorator_Object_DeltaTextInputClient: function _DeltaTextInputClientDecorator_Object_DeltaTextInputClient() { }, _DeltaTextInputClientDecorator_Object_DeltaTextInputClient_TextInputClient: function _DeltaTextInputClientDecorator_Object_DeltaTextInputClient_TextInputClient() { }, SoftwareKeyboardOpener: function SoftwareKeyboardOpener(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, _SoftwareKeyboardOpenerState: function _SoftwareKeyboardOpenerState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _SoftwareKeyboardOpenerState_dispose_closure: function _SoftwareKeyboardOpenerState_dispose_closure(t0) { this.$this = t0; }, KeyboardEditingToolbar: function KeyboardEditingToolbar(t0, t1, t2, t3, t4) { var _ = this; _.editor = t0; _.document = t1; _.composer = t2; _.commonOps = t3; _.key = t4; }, _KeyboardEditingToolbarState: function _KeyboardEditingToolbarState(t0, t1) { var _ = this; _.___KeyboardEditingToolbarState__toolbarOps_A = $; _._portalController = t0; _._toolbarHeight = 0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _KeyboardEditingToolbarState_initState_closure: function _KeyboardEditingToolbarState_initState_closure(t0) { this.$this = t0; }, _KeyboardEditingToolbarState__onToolbarLayout_closure: function _KeyboardEditingToolbarState__onToolbarLayout_closure(t0, t1) { this.$this = t0; this.toolbarHeight = t1; }, _KeyboardEditingToolbarState__buildToolbarOverlay_closure: function _KeyboardEditingToolbarState__buildToolbarOverlay_closure(t0) { this.$this = t0; }, _KeyboardEditingToolbarState__buildToolbarOverlay__closure: function _KeyboardEditingToolbarState__buildToolbarOverlay__closure(t0) { this.$this = t0; }, _KeyboardEditingToolbarState__buildToolbar_closure: function _KeyboardEditingToolbarState__buildToolbar_closure(t0, t1) { this.$this = t0; this.selection = t1; }, _KeyboardEditingToolbarState__buildToolbar__closure: function _KeyboardEditingToolbarState__buildToolbar__closure(t0, t1) { this.$this = t0; this.selection = t1; }, KeyboardHeightBuilder: function KeyboardHeightBuilder(t0, t1) { this.builder = t0; this.key = t1; }, _KeyboardHeightBuilderState: function _KeyboardHeightBuilderState(t0) { var _ = this; _._keyboardHeight = 0; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _KeyboardHeightBuilderState_didChangeMetrics_closure: function _KeyboardHeightBuilderState_didChangeMetrics_closure(t0, t1) { this.$this = t0; this.keyboardHeight = t1; }, KeyboardEditingToolbarOperations: function KeyboardEditingToolbarOperations(t0, t1, t2, t3) { var _ = this; _.editor = t0; _.document = t1; _.composer = t2; _.commonOps = t3; }, __KeyboardEditingToolbarState_State_WidgetsBindingObserver: function __KeyboardEditingToolbarState_State_WidgetsBindingObserver() { }, __KeyboardHeightBuilderState_State_WidgetsBindingObserver: function __KeyboardHeightBuilderState_State_WidgetsBindingObserver() { }, moveLeft(context) { context.commonOps.moveCaretUpstream$0(); }, moveRight(context) { context.commonOps.moveCaretDownstream$0(); }, moveUp(context) { context.commonOps.moveCaretUp$0(); }, moveDown(context) { context.commonOps.moveCaretDown$0(); }, moveWordLeft(context) { context.commonOps.moveCaretUpstream$1$movementModifier(B.MovementModifier_word); }, moveWordRight(context) { context.commonOps.moveCaretDownstream$1$movementModifier(B.MovementModifier_word); }, moveToLeftEndOfLine(context) { context.commonOps.moveCaretUpstream$1$movementModifier(B.MovementModifier_line); }, moveToRightEndOfLine(context) { context.commonOps.moveCaretDownstream$1$movementModifier(B.MovementModifier_line); }, moveToBeginningOfParagraph(context) { context.commonOps.moveCaretUpstream$1$movementModifier(B.MovementModifier_paragraph); }, moveToEndOfParagraph(context) { context.commonOps.moveCaretDownstream$1$movementModifier(B.MovementModifier_paragraph); }, moveToBeginningOfDocument(context) { context.commonOps.moveSelectionToBeginningOfDocument$1$expand(false); }, moveToEndOfDocument(context) { context.commonOps.moveSelectionToEndOfDocument$1$expand(false); }, moveLeftAndModifySelection(context) { context.commonOps.moveCaretUpstream$1$expand(true); }, moveRightAndModifySelection(context) { context.commonOps.moveCaretDownstream$1$expand(true); }, moveUpAndModifySelection(context) { context.commonOps.moveCaretUp$1$expand(true); }, moveDownAndModifySelection(context) { context.commonOps.moveCaretDown$1$expand(true); }, moveWordLeftAndModifySelection(context) { context.commonOps.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_word); }, moveWordRightAndModifySelection(context) { context.commonOps.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_word); }, moveToLeftEndOfLineAndModifySelection(context) { context.commonOps.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_line); }, moveParagraphBackwardAndModifySelection(context) { context.commonOps.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_paragraph); }, moveParagraphForwardAndModifySelection(context) { context.commonOps.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_paragraph); }, moveToBeginningOfDocumentAndModifySelection(context) { context.commonOps.moveSelectionToBeginningOfDocument$1$expand(true); }, moveToEndOfDocumentAndModifySelection(context) { context.commonOps.moveSelectionToEndOfDocument$1$expand(true); }, moveToRightEndOfLineAndModifySelection(context) { context.commonOps.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_line); }, indentListItem(context) { context.commonOps.indentListItem$0(); }, unIndentListItem(context) { context.commonOps.unindentListItem$0(); }, insertNewLine(context) { return; }, deleteWordBackward(context) { var t1 = context.commonOps; if (t1.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_word)) t1.deleteSelection$0(); }, deleteWordForward(context) { var t1 = context.commonOps; if (t1.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_word)) t1.deleteSelection$0(); }, deleteToBeginningOfLine(context) { var t1 = context.commonOps; if (t1.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_line)) t1.deleteSelection$0(); }, deleteToEndOfLine(context) { var t1 = context.commonOps; if (t1.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_line)) t1.deleteSelection$0(); }, deleteBackward(context) { return; }, deleteForward(context) { return; }, scrollToBeginningOfDocument(context) { var t1 = context.scroller._document_scroller$_scrollPosition, t2 = t1._minScrollExtent; t2.toString; t1.animateTo$3$curve$duration(t2, B.C__DecelerateCurve, B.Duration_150000); }, scrollToEndOfDocument(context) { var t1 = context.scroller._document_scroller$_scrollPosition, t2 = t1._maxScrollExtent; t2.toString; t1.animateTo$3$curve$duration(t2, B.C__DecelerateCurve, B.Duration_150000); }, scrollPageUp(context) { var t3, t4, t1 = context.scroller._document_scroller$_scrollPosition, t2 = t1._pixels; t2.toString; t3 = t1._viewportDimension; t3.toString; t4 = t1._minScrollExtent; t4.toString; t1.animateTo$3$curve$duration(Math.max(t2 - t3, t4), B.C__DecelerateCurve, B.Duration_150000); }, scrollPageDown(context) { var t3, t4, t1 = context.scroller._document_scroller$_scrollPosition, t2 = t1._pixels; t2.toString; t3 = t1._viewportDimension; t3.toString; t4 = t1._maxScrollExtent; t4.toString; t1.animateTo$3$curve$duration(Math.min(t2 + t3, t4), B.C__DecelerateCurve, B.Duration_150000); }, SuperEditorImeInteractor: function SuperEditorImeInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.focusNode = t0; _.autofocus = t1; _.editContext = t2; _.clearSelectionWhenEditorLosesFocus = t3; _.clearSelectionWhenImeConnectionCloses = t4; _.softwareKeyboardController = t5; _.imePolicies = t6; _.imeConfiguration = t7; _.imeOverrides = t8; _.hardwareKeyboardActions = t9; _.selectorHandlers = t10; _.child = t11; _.key = t12; }, SuperEditorImeInteractorState: function SuperEditorImeInteractorState(t0, t1, t2) { var _ = this; _.__SuperEditorImeInteractorState__focusNode_A = $; _._supereditor_ime_interactor$_controlsController = null; _._imeConnection = t0; _.__SuperEditorImeInteractorState__imeClient_A = _.__SuperEditorImeInteractorState__documentImeClient_A = _.__SuperEditorImeInteractorState__textInputConfiguration_A = $; _._documentImeConnection = t1; _.__SuperEditorImeInteractorState__textDeltasDocumentEditor_A = $; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, SuperEditorImeInteractorState__createTextDeltasDocumentEditor_closure: function SuperEditorImeInteractorState__createTextDeltasDocumentEditor_closure(t0) { this.$this = t0; }, SuperEditorImeInteractorState__reportVisualInformationToIme_closure: function SuperEditorImeInteractorState__reportVisualInformationToIme_closure(t0) { this.$this = t0; }, SuperEditorImeInteractorState_build_closure: function SuperEditorImeInteractorState_build_closure(t0) { this.$this = t0; }, SuperEditorImeInteractorState_build_closure0: function SuperEditorImeInteractorState_build_closure0(t0) { this.$this = t0; }, SuperEditorImePolicies: function SuperEditorImePolicies() { }, SuperEditorImeConfiguration: function SuperEditorImeConfiguration(t0) { this.keyboardBrightness = t0; }, DocumentScrollable: function DocumentScrollable(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.autoScroller = t0; _.scrollController = t1; _.scroller = t2; _.scrollingMinimapId = t3; _.showDebugPaint = t4; _.child = t5; _.key = t6; }, _DocumentScrollableState: function _DocumentScrollableState(t0, t1, t2) { var _ = this; _.___DocumentScrollableState__scrollController_A = $; _._debugInstrumentation = _._ancestorScrollPosition = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _DocumentScrollableState_initState_closure: function _DocumentScrollableState_initState_closure(t0) { this.$this = t0; }, _DocumentScrollableState_initState__closure: function _DocumentScrollableState_initState__closure(t0) { this.$this = t0; }, _DocumentScrollableState_initState__closure0: function _DocumentScrollableState_initState__closure0(t0) { this.$this = t0; }, _DocumentScrollableState_didUpdateWidget_closure: function _DocumentScrollableState_didUpdateWidget_closure(t0) { this.$this = t0; }, _DocumentScrollableState_didUpdateWidget_closure0: function _DocumentScrollableState_didUpdateWidget_closure0(t0) { this.$this = t0; }, AutoScrollController: function AutoScrollController(t0) { var _ = this; _._getScrollPosition = _._getViewport = _._document_scrollable$_ticker = null; _._isAutoScrollingEnabled = false; _._autoScrollGlobalRegion = _._autoScrollingStartOffset = null; _.ChangeNotifier__count = _._deltaWhileAutoScrolling = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AutoScrollController_Object_ChangeNotifier: function _AutoScrollController_Object_ChangeNotifier() { }, __DocumentScrollableState_State_SingleTickerProviderStateMixin: function __DocumentScrollableState_State_SingleTickerProviderStateMixin() { }, HorizontalRuleNode$(id) { var t1 = new A.HorizontalRuleNode(id, $.$get$ChangeNotifier__emptyListeners(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); t1.putMetadataValue$2("blockType", B.NamedAttribution_horizontalRule); return t1; }, HorizontalRuleNode: function HorizontalRuleNode(t0, t1, t2) { var _ = this; _.id = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _._metadata = t2; }, HorizontalRuleComponentBuilder: function HorizontalRuleComponentBuilder() { }, HorizontalRuleComponentViewModel: function HorizontalRuleComponentViewModel(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.selection = t0; _.selectionColor = t1; _.caret = t2; _.caretColor = t3; _.nodeId = t4; _.maxWidth = t5; _.padding = t6; }, HorizontalRuleComponent: function HorizontalRuleComponent(t0, t1, t2, t3) { var _ = this; _.componentKey = t0; _.selectionColor = t1; _.selection = t2; _.key = t3; }, _HorizontalRuleNode_BlockNode_ChangeNotifier: function _HorizontalRuleNode_BlockNode_ChangeNotifier() { }, ImageNode$(altText, id, imageUrl) { var t1 = new A.ImageNode(id, imageUrl, altText, $.$get$ChangeNotifier__emptyListeners(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); t1.set$metadata(0, null); t1.putMetadataValue$2("blockType", B.NamedAttribution_image); return t1; }, ImageNode: function ImageNode(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _._image0$_imageUrl = t1; _._altText = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _._metadata = t4; }, ImageComponentBuilder: function ImageComponentBuilder() { }, ImageComponentViewModel: function ImageComponentViewModel(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.imageUrl = t0; _.expectedSize = t1; _.selection = t2; _.selectionColor = t3; _.nodeId = t4; _.maxWidth = t5; _.padding = t6; }, ImageComponent: function ImageComponent(t0, t1, t2, t3, t4, t5) { var _ = this; _.componentKey = t0; _.imageUrl = t1; _.expectedSize = t2; _.selectionColor = t3; _.selection = t4; _.key = t5; }, ImageComponent_build_closure: function ImageComponent_build_closure(t0) { this.$this = t0; }, _ImageNode_BlockNode_ChangeNotifier: function _ImageNode_BlockNode_ChangeNotifier() { }, SingleColumnDocumentLayout: function SingleColumnDocumentLayout(t0, t1, t2, t3) { var _ = this; _.presenter = t0; _.componentBuilders = t1; _.onBuildScheduled = t2; _.key = t3; }, _SingleColumnDocumentLayoutState: function _SingleColumnDocumentLayoutState(t0, t1, t2, t3) { var _ = this; _._nodeIdsToComponentKeys = t0; _._componentKeysToNodeIds = t1; _._topToBottomComponentKeys = t2; _.___SingleColumnDocumentLayoutState__presenterListener_A = $; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _SingleColumnDocumentLayoutState__onViewModelChange_closure: function _SingleColumnDocumentLayoutState__onViewModelChange_closure() { }, _SingleColumnDocumentLayoutState__getNodeIdsBetween_closure: function _SingleColumnDocumentLayoutState__getNodeIdsBetween_closure(t0) { this.$this = t0; }, _SingleColumnDocumentLayoutState__buildDocComponents_closure: function _SingleColumnDocumentLayoutState__buildDocComponents_closure(t0, t1) { this.$this = t0; this.componentKey = t1; }, _SingleColumnDocumentLayoutState__buildDocComponents_closure0: function _SingleColumnDocumentLayoutState__buildDocComponents_closure0() { }, _PresenterComponentBuilder: function _PresenterComponentBuilder(t0, t1, t2, t3) { var _ = this; _.presenter = t0; _.watchNode = t1; _.builder = t2; _.key = t3; }, _PresenterComponentBuilderState: function _PresenterComponentBuilderState(t0) { var _ = this; _.___PresenterComponentBuilderState__presenterListener_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _PresenterComponentBuilderState__onViewModelChange_closure: function _PresenterComponentBuilderState__onViewModelChange_closure() { }, _Component: function _Component(t0, t1, t2, t3) { var _ = this; _.componentBuilders = t0; _.componentKey = t1; _.componentViewModel = t2; _.key = t3; }, noStyleBuilder(attributions) { return B.TextStyle_SVP1; }, SingleColumnLayoutViewModel$(componentViewModels, padding) { var t1 = new A.SingleColumnLayoutViewModel(padding, componentViewModels, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.SingleColumnLayoutComponentViewModel)); t1.SingleColumnLayoutViewModel$2$componentViewModels$padding(componentViewModels, padding); return t1; }, SingleColumnDocumentComponentContext: function SingleColumnDocumentComponentContext(t0, t1) { this.context = t0; this.componentKey = t1; }, SingleColumnLayoutPresenter: function SingleColumnLayoutPresenter(t0, t1, t2, t3, t4) { var _ = this; _._document = t0; _._componentBuilders = t1; _._pipeline = t2; _._phaseViewModels = t3; _._earliestDirtyPhase = 0; _.__SingleColumnLayoutPresenter__viewModel_A = $; _.__presenter$_listeners = t4; }, SingleColumnLayoutPresenter__assemblePipeline_closure: function SingleColumnLayoutPresenter__assemblePipeline_closure(t0, t1) { this.$this = t0; this.i = t1; }, SingleColumnLayoutPresenterChangeListener: function SingleColumnLayoutPresenterChangeListener(t0, t1) { this.__presenter$_onPresenterMarkedDirty = t0; this.__presenter$_onViewModelChange = t1; }, SingleColumnLayoutStylePhase: function SingleColumnLayoutStylePhase() { }, SingleColumnLayoutViewModel: function SingleColumnLayoutViewModel(t0, t1, t2) { this.padding = t0; this._componentViewModels = t1; this._viewModelsByNodeId = t2; }, SingleColumnLayoutComponentViewModel: function SingleColumnLayoutComponentViewModel() { }, SingleColumnLayoutComposingRegionStyler: function SingleColumnLayoutComposingRegionStyler(t0, t1, t2) { var _ = this; _.__styler_composing_region$_document = t0; _.__styler_composing_region$_composingRegion = t1; _._showComposingRegionUnderline = t2; _._dirtyCallback = null; }, SingleColumnLayoutComposingRegionStyler__computeNodeSelection_closure: function SingleColumnLayoutComposingRegionStyler__computeNodeSelection_closure(t0) { this.node = t0; }, _DocumentNodeSelection: function _DocumentNodeSelection(t0, t1, t2) { this.nodeId = t0; this.nodeSelection = t1; this.$ti = t2; }, SingleColumnLayoutComponentStyles_SingleColumnLayoutComponentStyles$fromMetadata(node) { var _s18_ = "singleColumnLayout", t1 = node._metadata, t2 = t1.$index(0, _s18_); t2 = t2 == null ? null : J.$index$asx(t2, "width"); t1 = t1.$index(0, _s18_); return new A.SingleColumnLayoutComponentStyles(t2, t1 == null ? null : J.$index$asx(t1, "padding")); }, SingleColumnLayoutCustomComponentStyler: function SingleColumnLayoutCustomComponentStyler() { this._dirtyCallback = null; }, SingleColumnLayoutComponentStyles: function SingleColumnLayoutComponentStyles(t0, t1) { this.width = t0; this.padding = t1; }, SingleColumnStylesheetStyler: function SingleColumnStylesheetStyler(t0) { this._stylesheet = t0; this._dirtyCallback = null; }, SingleColumnLayoutSelectionStyler: function SingleColumnLayoutSelectionStyler(t0, t1, t2, t3) { var _ = this; _.__styler_user_selection$_document = t0; _.__styler_user_selection$_selection = t1; _._selectionStyles = t2; _._selectedTextColorStrategy = t3; _._shouldDocumentShowCaret = false; _._dirtyCallback = null; }, SingleColumnLayoutSelectionStyler__computeNodeSelection_closure: function SingleColumnLayoutSelectionStyler__computeNodeSelection_closure(t0) { this.node = t0; }, DocumentNodeSelection: function DocumentNodeSelection(t0, t1, t2, t3, t4) { var _ = this; _.nodeId = t0; _.nodeSelection = t1; _.isExtent = t2; _.highlightWhenEmpty = t3; _.$ti = t4; }, ListItemNode$ordered(id, indent, text) { var t1 = new A.ListItemNode(B.ListItemType_0, indent, id, text, $.$get$ChangeNotifier__emptyListeners(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); t1.TextNode$3$id$metadata$text(id, null, text); t1.putMetadataValue$2("blockType", B.NamedAttribution_listItem); return t1; }, ListItemNode$unordered(id, indent, text) { var t1 = new A.ListItemNode(B.ListItemType_1, indent, id, text, $.$get$ChangeNotifier__emptyListeners(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); t1.TextNode$3$id$metadata$text(id, null, text); t1.putMetadataValue$2("blockType", B.NamedAttribution_listItem); return t1; }, ListItemNode$(id, indent, itemType, text) { var _s9_ = "blockType", t1 = type$.String, t2 = type$.dynamic, t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), t4 = new A.ListItemNode(itemType, indent, id, text, $.$get$ChangeNotifier__emptyListeners(), t3); t4.TextNode$3$id$metadata$text(id, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), text); if (t3.$index(0, _s9_) == null) t4.putMetadataValue$2(_s9_, B.NamedAttribution_listItem); return t4; }, ListItemComponentViewModel$(composingRegion, indent, maxWidth, nodeId, ordinalValue, padding, selection, selectionColor, showComposingUnderline, text, textDirection, textStyleBuilder, type) { return new A.ListItemComponentViewModel(type, ordinalValue, indent, text, textStyleBuilder, textDirection, B.TextAlign_0, selection, selectionColor, composingRegion, showComposingUnderline, nodeId, maxWidth, padding); }, _defaultUnorderedListItemDotBuilder(context, component) { var _null = null; return new A.Align(B.Alignment_1_0, _null, _null, A.Container$(_null, _null, B.Clip_0, _null, _null, new A.BoxDecoration(component.styleBuilder.call$1(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution)).color, _null, _null, _null, _null, _null, B.BoxShape_1), _null, 4, _null, B.EdgeInsets_0_0_10_0, _null, _null, _null, 4), _null); }, _defaultIndentCalculator(textStyle, indent) { var t1 = textStyle.fontSize; t1.toString; return t1 * 0.6 * 4 * (indent + 1); }, _defaultOrderedListItemNumeralBuilder(context, component) { var _null = null; return A.OverflowBox$(B.Alignment_0_0, new A.Align(B.Alignment_1_0, _null, _null, new A.Padding(B.EdgeInsets_0_0_5_0, A.Text$("" + component.listIndex + ".", _null, _null, _null, _null, _null, component.styleBuilder.call$1(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution)).copyWith$0(), B.TextAlign_1, _null, _null), _null), _null), 1 / 0, 1 / 0, _null, _null); }, tabToIndentListItem(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967305)) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851)) return B.ExecutionInstruction_0; return editContext.commonOps.indentListItem$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, shiftTabToUnIndentListItem(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967305)) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851))) return B.ExecutionInstruction_0; return editContext.commonOps.unindentListItem$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, backspaceToUnIndentListItem(editContext, keyEvent) { var t1, t2; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!t2.get$isCollapsed(0)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!(editContext.document._nodesById.$index(0, t2.extent.nodeId) instanceof A.ListItemNode)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (type$.TextPosition._as(t1.extent.nodePosition).offset > 0) return B.ExecutionInstruction_0; return editContext.commonOps.unindentListItem$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, ListItemNode: function ListItemNode(t0, t1, t2, t3, t4, t5) { var _ = this; _.type = t0; _._list_items$_indent = t1; _.id = t2; _._text$_text = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _._metadata = t5; }, ListItemType: function ListItemType(t0, t1) { this.index = t0; this._core$_name = t1; }, ListItemComponentBuilder: function ListItemComponentBuilder() { }, ListItemComponentViewModel: function ListItemComponentViewModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.type = t0; _.ordinalValue = t1; _.indent = t2; _.text = t3; _.textStyleBuilder = t4; _.textDirection = t5; _.textAlignment = t6; _.selection = t7; _.selectionColor = t8; _.highlightWhenEmpty = false; _.composingRegion = t9; _.showComposingUnderline = t10; _.nodeId = t11; _.maxWidth = t12; _.padding = t13; }, UnorderedListItemComponent: function UnorderedListItemComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.componentKey = t0; _.text = t1; _.styleBuilder = t2; _.indent = t3; _.textSelection = t4; _.selectionColor = t5; _.highlightWhenEmpty = t6; _.composingRegion = t7; _.showComposingUnderline = t8; _.key = t9; }, _UnorderedListItemComponentState: function _UnorderedListItemComponentState(t0, t1) { var _ = this; _._innerTextComponentKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, OrderedListItemComponent: function OrderedListItemComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.componentKey = t0; _.listIndex = t1; _.text = t2; _.styleBuilder = t3; _.indent = t4; _.textSelection = t5; _.selectionColor = t6; _.highlightWhenEmpty = t7; _.composingRegion = t8; _.showComposingUnderline = t9; _.key = t10; }, _OrderedListItemComponentState: function _OrderedListItemComponentState(t0, t1) { var _ = this; _._innerTextComponentKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, IndentListItemRequest: function IndentListItemRequest(t0) { this.nodeId = t0; }, IndentListItemCommand: function IndentListItemCommand(t0) { this.nodeId = t0; }, UnIndentListItemRequest: function UnIndentListItemRequest(t0) { this.nodeId = t0; }, UnIndentListItemCommand: function UnIndentListItemCommand(t0) { this.nodeId = t0; }, ConvertListItemToParagraphRequest: function ConvertListItemToParagraphRequest(t0, t1) { this.nodeId = t0; this.paragraphMetadata = t1; }, ConvertListItemToParagraphCommand: function ConvertListItemToParagraphCommand(t0, t1) { this.nodeId = t0; this.paragraphMetadata = t1; }, ConvertParagraphToListItemRequest: function ConvertParagraphToListItemRequest(t0, t1) { this.nodeId = t0; this.type = t1; }, ConvertParagraphToListItemCommand: function ConvertParagraphToListItemCommand(t0, t1) { this.nodeId = t0; this.type = t1; }, ChangeListItemTypeRequest: function ChangeListItemTypeRequest(t0, t1) { this.nodeId = t0; this.newType = t1; }, ChangeListItemTypeCommand: function ChangeListItemTypeCommand(t0, t1) { this.nodeId = t0; this.newType = t1; }, SplitListItemRequest: function SplitListItemRequest(t0, t1, t2) { this.nodeId = t0; this.splitPosition = t1; this.newNodeId = t2; }, SplitListItemCommand: function SplitListItemCommand(t0, t1, t2) { this.nodeId = t0; this.splitPosition = t1; this.newNodeId = t2; }, SplitListItemIntention: function SplitListItemIntention(t0) { this._isStart = t0; }, _ListItemComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure: function _ListItemComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure(t0) { this.styles = t0; }, _ListItemComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel: function _ListItemComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel() { }, InsertNodeAtIndexRequest: function InsertNodeAtIndexRequest(t0, t1) { this.nodeIndex = t0; this.newNode = t1; }, InsertNodeAtIndexCommand: function InsertNodeAtIndexCommand(t0, t1) { this.nodeIndex = t0; this.newNode = t1; }, InsertNodeBeforeNodeRequest: function InsertNodeBeforeNodeRequest(t0, t1) { this.existingNodeId = t0; this.newNode = t1; }, InsertNodeBeforeNodeCommand: function InsertNodeBeforeNodeCommand(t0, t1) { this.existingNodeId = t0; this.newNode = t1; }, InsertNodeAfterNodeRequest: function InsertNodeAfterNodeRequest(t0, t1) { this.existingNodeId = t0; this.newNode = t1; }, InsertNodeAfterNodeCommand: function InsertNodeAfterNodeCommand(t0, t1) { this.existingNodeId = t0; this.newNode = t1; }, ReplaceNodeRequest: function ReplaceNodeRequest(t0, t1) { this.existingNodeId = t0; this.newNode = t1; }, ReplaceNodeCommand: function ReplaceNodeCommand(t0, t1) { this.existingNodeId = t0; this.newNode = t1; }, ReplaceNodeWithEmptyParagraphWithCaretRequest: function ReplaceNodeWithEmptyParagraphWithCaretRequest(t0) { this.nodeId = t0; }, ReplaceNodeWithEmptyParagraphWithCaretCommand: function ReplaceNodeWithEmptyParagraphWithCaretCommand(t0) { this.nodeId = t0; }, DeleteContentRequest: function DeleteContentRequest(t0) { this.documentRange = t0; }, DeleteContentCommand: function DeleteContentCommand(t0) { this.documentRange = t0; }, DeleteUpstreamAtBeginningOfNodeRequest: function DeleteUpstreamAtBeginningOfNodeRequest(t0) { this.node = t0; }, DeleteNodeRequest: function DeleteNodeRequest(t0) { this.nodeId = t0; }, DeleteNodeCommand: function DeleteNodeCommand(t0) { this.nodeId = t0; }, ParagraphNode$(id, metadata, text) { var _s9_ = "blockType", t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic), t2 = new A.ParagraphNode(id, text, $.$get$ChangeNotifier__emptyListeners(), t1); t2.TextNode$3$id$metadata$text(id, metadata, text); if (t1.$index(0, _s9_) == null) t2.putMetadataValue$2(_s9_, B.NamedAttribution_paragraph); return t2; }, ParagraphComponentViewModel$(blockType, composingRegion, highlightWhenEmpty, maxWidth, nodeId, padding, selection, selectionColor, showComposingUnderline, text, textAlignment, textDirection, textStyleBuilder) { return new A.ParagraphComponentViewModel(blockType, text, textStyleBuilder, textDirection, textAlignment, selection, selectionColor, highlightWhenEmpty, composingRegion, showComposingUnderline, nodeId, maxWidth, padding); }, defaultAttributionsToExtendToNewParagraph(attribution) { return $.$get$_defaultAttributionsToExtend().contains$1(0, attribution); }, anyCharacterToInsertInParagraph(editContext, keyEvent) { var character, t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849))) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = true; if (t1) return B.ExecutionInstruction_0; character = keyEvent.character; if (character == null || character === "") return B.ExecutionInstruction_0; character.toString; if (A.LogicalKeyboardKey_isControlCharacter(character) || A.IsArrowKeyExtension_get_isArrowKeyPressed(keyEvent)) return B.ExecutionInstruction_0; if (A.isKeyEventCharacterBlacklisted(character) && character !== "Tab") return B.ExecutionInstruction_0; if (character === "Tab") character = " "; return editContext.commonOps.insertCharacter$1(character) ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, backspaceToClearParagraphBlockType(editContext, keyEvent) { var t1, t2, textPosition; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!t2.get$isCollapsed(0)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!(editContext.document._nodesById.$index(0, t2.extent.nodeId) instanceof A.ParagraphNode)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); textPosition = t1.extent.nodePosition; if (!(textPosition instanceof A.TextNodePosition) || textPosition.offset > 0) return B.ExecutionInstruction_0; return editContext.commonOps.convertToParagraph$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, enterToInsertBlockNewline(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967309) && !t1.$eq(0, B.LogicalKeyboardKey_8589935117)) return B.ExecutionInstruction_0; return editContext.commonOps.insertBlockLevelNewline$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, doNothingWithEnterOnWeb(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967309) && !t1.$eq(0, B.LogicalKeyboardKey_8589935117)) return B.ExecutionInstruction_0; return B.ExecutionInstruction_1; }, doNothingWithBackspaceOnWeb(editContext, keyEvent) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; return B.ExecutionInstruction_1; }, doNothingWithDeleteOnWeb(editContext, keyEvent) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967423)) return B.ExecutionInstruction_0; return B.ExecutionInstruction_1; }, ParagraphNode: function ParagraphNode(t0, t1, t2, t3) { var _ = this; _.id = t0; _._text$_text = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _._metadata = t3; }, ParagraphComponentBuilder: function ParagraphComponentBuilder() { }, ParagraphComponentViewModel: function ParagraphComponentViewModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.blockType = t0; _.text = t1; _.textStyleBuilder = t2; _.textDirection = t3; _.textAlignment = t4; _.selection = t5; _.selectionColor = t6; _.highlightWhenEmpty = t7; _.composingRegion = t8; _.showComposingUnderline = t9; _.nodeId = t10; _.maxWidth = t11; _.padding = t12; }, ChangeParagraphBlockTypeRequest: function ChangeParagraphBlockTypeRequest(t0, t1) { this.nodeId = t0; this.blockType = t1; }, ChangeParagraphBlockTypeCommand: function ChangeParagraphBlockTypeCommand(t0, t1) { this.nodeId = t0; this.blockType = t1; }, CombineParagraphsRequest: function CombineParagraphsRequest(t0, t1) { this.firstNodeId = t0; this.secondNodeId = t1; }, CombineParagraphsCommand: function CombineParagraphsCommand(t0, t1) { this.firstNodeId = t0; this.secondNodeId = t1; }, SplitParagraphRequest: function SplitParagraphRequest(t0, t1, t2, t3) { var _ = this; _.nodeId = t0; _.splitPosition = t1; _.newNodeId = t2; _.replicateExistingMetadata = t3; }, SplitParagraphCommand: function SplitParagraphCommand(t0, t1, t2, t3, t4) { var _ = this; _.nodeId = t0; _.splitPosition = t1; _.newNodeId = t2; _.replicateExistingMetadata = t3; _.attributionsToExtendToNewParagraph = t4; }, SplitParagraphCommand_execute_closure: function SplitParagraphCommand_execute_closure() { }, DeleteUpstreamAtBeginningOfParagraphCommand: function DeleteUpstreamAtBeginningOfParagraphCommand(t0) { this.node = t0; }, Intention: function Intention() { }, SplitParagraphIntention: function SplitParagraphIntention(t0) { this._isStart = t0; }, SubmitParagraphIntention: function SubmitParagraphIntention(t0) { this._isStart = t0; }, _ParagraphComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure: function _ParagraphComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure(t0) { this.styles = t0; }, _ParagraphComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel: function _ParagraphComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel() { }, UpstreamDownstreamNodePosition: function UpstreamDownstreamNodePosition(t0) { this.affinity = t0; }, UpstreamDownstreamNodeSelection: function UpstreamDownstreamNodeSelection(t0, t1) { this.base = t0; this.extent = t1; }, defaultIosEditorToolbarBuilder(context, floatingToolbarKey, focalPoint, editorOps, editorControlsController) { return B.SizedBox_null_null_null_null; }, defaultInlineTextStyler(attributions, existingStyle) { return existingStyle.merge$1(A.defaultStyleBuilder(attributions)); }, defaultStyleBuilder(attributions) { var t1, t2, newStyle, t3; for (t1 = attributions.get$iterator(attributions), t2 = type$.JSArray_TextDecoration, newStyle = B.TextStyle_SVP; t1.moveNext$0();) { t3 = t1.get$current(t1); if (t3.$eq(0, B.NamedAttribution_bold)) newStyle = newStyle.copyWith$1$fontWeight(B.FontWeight_6_700); else if (t3.$eq(0, B.NamedAttribution_italics)) newStyle = newStyle.copyWith$1$fontStyle(B.FontStyle_1); else if (t3.$eq(0, B.NamedAttribution_underline)) { t3 = newStyle.decoration; newStyle = newStyle.copyWith$1$decoration(t3 == null ? B.TextDecoration_1 : A.TextDecoration_TextDecoration$combine(A._setArrayType([B.TextDecoration_1, t3], t2))); } else if (t3.$eq(0, B.NamedAttribution_strikethrough)) { t3 = newStyle.decoration; newStyle = newStyle.copyWith$1$decoration(t3 == null ? B.TextDecoration_4 : A.TextDecoration_TextDecoration$combine(A._setArrayType([B.TextDecoration_4, t3], t2))); } else if (t3 instanceof A.ColorAttribution) newStyle = newStyle.copyWith$1$color(t3.color); else if (t3 instanceof A.LinkAttribution) newStyle = newStyle.copyWith$2$color$decoration(B.MaterialColor_Map_JNVmp_4278430196, B.TextDecoration_1); } return newStyle; }, superEditorLaunchLinkTapHandlerFactory(editContext) { var t1 = editContext.composer, t2 = new A.SuperEditorLaunchLinkTapHandler(editContext.document, t1, $.$get$ChangeNotifier__emptyListeners()); t1._isInInteractionMode.addListener$1(0, t2.get$notifyListeners()); return t2; }, SuperEditor: function SuperEditor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.focusNode = t0; _.scrollController = t1; _.documentLayoutKey = t2; _.stylesheet = t3; _.selectionStyles = t4; _.inputSource = t5; _.gestureMode = t6; _.selectionLayerLinks = t7; _.editor = t8; _.document = t9; _.documentOverlayBuilders = t10; _.composer = t11; _.componentBuilders = t12; _.keyboardActions = t13; _.key = t14; }, SuperEditorState: function SuperEditorState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.__SuperEditorState__docLayoutKey_A = $; _._documentLayoutLink = t0; _._docLayoutPresenter = null; _.__SuperEditorState__focusNode_A = _.__SuperEditorState__docLayoutSelectionStyler_A = _.__SuperEditorState__docLayoutPerComponentBlockStyler_A = _.__SuperEditorState__docStylesheetStyler_A = $; _._primaryFocusListener = t1; _.__SuperEditorState__composer_A = $; _._scroller = null; _.__SuperEditorState__autoScrollController_A = _.__SuperEditorState__scrollController_A = $; _._scrollChangeSignal = t2; _.__SuperEditorState_editContext_A = $; _._contentTapDelegate = null; _._dragHandleAutoScroller = t3; _._iosControlsContextKey = t4; _._iosControlsController = t5; _._androidControlsContextKey = t6; _._androidControlsController = t7; _.__SuperEditorState__selectionLinks_A = $; _._widget = null; _._debugLifecycleState = t8; _._framework$_element = null; }, SuperEditorState_initState_closure: function SuperEditorState_initState_closure(t0) { this.$this = t0; }, SuperEditorState_didUpdateWidget_closure: function SuperEditorState_didUpdateWidget_closure(t0) { this.$this = t0; }, SuperEditorState__createEditContext_closure: function SuperEditorState__createEditContext_closure(t0) { this.$this = t0; }, SuperEditorState__createEditContext_closure0: function SuperEditorState__createEditContext_closure0(t0) { this.$this = t0; }, SuperEditorState_build_closure: function SuperEditorState_build_closure(t0) { this.$this = t0; }, SuperEditorState_build__closure2: function SuperEditorState_build__closure2(t0) { this.$this = t0; }, SuperEditorState_build__closure3: function SuperEditorState_build__closure3(t0) { this.$this = t0; }, SuperEditorState_build__closure: function SuperEditorState_build__closure(t0, t1) { this.$this = t0; this.underlayBuilder = t1; }, SuperEditorState_build__closure0: function SuperEditorState_build__closure0(t0) { this.$this = t0; }, SuperEditorState_build__closure1: function SuperEditorState_build__closure1(t0, t1) { this.$this = t0; this.overlayBuilder = t1; }, SuperEditorState__buildPlatformSpecificViewportDecorations_closure: function SuperEditorState__buildPlatformSpecificViewportDecorations_closure(t0, t1) { this.$this = t0; this.context = t1; }, SuperEditorState__buildPlatformSpecificViewportDecorations_closure0: function SuperEditorState__buildPlatformSpecificViewportDecorations_closure0(t0) { this.$this = t0; }, SuperEditorState__buildPlatformSpecificViewportDecorations_closure1: function SuperEditorState__buildPlatformSpecificViewportDecorations_closure1(t0) { this.$this = t0; }, SuperEditorState__buildPlatformSpecificViewportDecorations_closure2: function SuperEditorState__buildPlatformSpecificViewportDecorations_closure2(t0) { this.$this = t0; }, SuperEditorState__buildPlatformSpecificViewportDecorations_closure3: function SuperEditorState__buildPlatformSpecificViewportDecorations_closure3(t0, t1) { this.$this = t0; this.context = t1; }, SuperEditorState__buildGestureInteractor_closure: function SuperEditorState__buildGestureInteractor_closure(t0) { this.$this = t0; }, SuperEditorState__buildGestureInteractor_closure0: function SuperEditorState__buildGestureInteractor_closure0(t0) { this.$this = t0; }, SuperEditorState__buildGestureInteractor_closure1: function SuperEditorState__buildGestureInteractor_closure1(t0) { this.$this = t0; }, DefaultAndroidEditorToolbar: function DefaultAndroidEditorToolbar(t0, t1, t2, t3, t4) { var _ = this; _.floatingToolbarKey = t0; _.editorOps = t1; _.editorControlsController = t2; _.selectionNotifier = t3; _.key = t4; }, DefaultAndroidEditorToolbar_build_closure: function DefaultAndroidEditorToolbar_build_closure(t0) { this.$this = t0; }, _SelectionLeadersDocumentLayerBuilder: function _SelectionLeadersDocumentLayerBuilder(t0, t1) { this.links = t0; this.showDebugLeaderBounds = t1; }, SuperEditorSelectionPolicies: function SuperEditorSelectionPolicies() { }, DefaultCaretOverlayBuilder: function DefaultCaretOverlayBuilder(t0) { this.caretStyle = t0; }, defaultStylesheet_closure: function defaultStylesheet_closure() { }, defaultStylesheet_closure0: function defaultStylesheet_closure0() { }, defaultStylesheet_closure1: function defaultStylesheet_closure1() { }, defaultStylesheet_closure2: function defaultStylesheet_closure2() { }, defaultStylesheet_closure3: function defaultStylesheet_closure3() { }, defaultStylesheet_closure4: function defaultStylesheet_closure4() { }, defaultStylesheet_closure5: function defaultStylesheet_closure5() { }, defaultStylesheet_closure6: function defaultStylesheet_closure6() { }, defaultStylesheet_closure7: function defaultStylesheet_closure7() { }, defaultStylesheet_closure8: function defaultStylesheet_closure8() { }, defaultStylesheet_closure9: function defaultStylesheet_closure9() { }, SuperEditorLaunchLinkTapHandler: function SuperEditorLaunchLinkTapHandler(t0, t1, t2) { var _ = this; _.document = t0; _.composer = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, TaskNode$(id, isComplete, text) { var t1 = new A.TaskNode(false, id, text, $.$get$ChangeNotifier__emptyListeners(), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); t1.TextNode$3$id$metadata$text(id, null, text); t1.putMetadataValue$2("blockType", B.NamedAttribution_task); return t1; }, TaskComponentViewModel$(composingRegion, highlightWhenEmpty, isComplete, maxWidth, nodeId, padding, selection, selectionColor, setComplete, showComposingUnderline, text, textDirection, textStyleBuilder) { return new A.TaskComponentViewModel(isComplete, setComplete, text, textStyleBuilder, textDirection, B.TextAlign_0, selection, selectionColor, highlightWhenEmpty, composingRegion, showComposingUnderline, nodeId, maxWidth, padding); }, enterToInsertNewTask(editContext, keyEvent) { var t1, node; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967309) && !t1.$eq(0, B.LogicalKeyboardKey_8589935117)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null || !t1.get$isCollapsed(0)) return B.ExecutionInstruction_0; t1 = t1.extent; node = editContext.document._nodesById.$index(0, t1.nodeId); if (!(node instanceof A.TaskNode)) return B.ExecutionInstruction_0; t1 = type$.TextNodePosition._as(t1.nodePosition); editContext.editor.execute$1(A._setArrayType([new A.SplitExistingTaskRequest(node.id, t1.offset, null)], type$.JSArray_EditRequest)); return B.ExecutionInstruction_2; }, backspaceToConvertTaskToParagraph(editContext, keyEvent) { var t1, t2, node; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!t2.get$isCollapsed(0)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); node = editContext.document._nodesById.$index(0, t2.extent.nodeId); if (!(node instanceof A.TaskNode)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (type$.TextPosition._as(t1.extent.nodePosition).offset > 0) return B.ExecutionInstruction_0; editContext.editor.execute$1(A._setArrayType([new A.DeleteUpstreamAtBeginningOfNodeRequest(node)], type$.JSArray_EditRequest)); return B.ExecutionInstruction_2; }, TaskNode: function TaskNode(t0, t1, t2, t3, t4) { var _ = this; _._isComplete = t0; _.id = t1; _._text$_text = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _._metadata = t4; }, taskStyles_closure: function taskStyles_closure() { }, TaskComponentBuilder: function TaskComponentBuilder(t0) { this._editor = t0; }, TaskComponentBuilder_createViewModel_closure: function TaskComponentBuilder_createViewModel_closure(t0, t1) { this.$this = t0; this.node = t1; }, TaskComponentViewModel: function TaskComponentViewModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.isComplete = t0; _.setComplete = t1; _.text = t2; _.textStyleBuilder = t3; _.textDirection = t4; _.textAlignment = t5; _.selection = t6; _.selectionColor = t7; _.highlightWhenEmpty = t8; _.composingRegion = t9; _.showComposingUnderline = t10; _.nodeId = t11; _.maxWidth = t12; _.padding = t13; }, TaskComponent: function TaskComponent(t0, t1) { this.viewModel = t0; this.key = t1; }, _TaskComponentState: function _TaskComponentState(t0, t1) { var _ = this; _._tasks$_textKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _TaskComponentState_build_closure: function _TaskComponentState_build_closure(t0) { this.$this = t0; }, ChangeTaskCompletionRequest: function ChangeTaskCompletionRequest(t0, t1) { this.nodeId = t0; this.isComplete = t1; }, ChangeTaskCompletionCommand: function ChangeTaskCompletionCommand(t0, t1) { this.nodeId = t0; this.isComplete = t1; }, ConvertTaskToParagraphCommand: function ConvertTaskToParagraphCommand(t0, t1) { this.nodeId = t0; this.paragraphMetadata = t1; }, SplitExistingTaskRequest: function SplitExistingTaskRequest(t0, t1, t2) { this.existingNodeId = t0; this.splitOffset = t1; this.newNodeId = t2; }, SplitExistingTaskCommand: function SplitExistingTaskCommand(t0, t1) { this.splitOffset = t0; this.newNodeId = t1; }, SplitTaskIntention: function SplitTaskIntention(t0) { this._isStart = t0; }, _TaskComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure: function _TaskComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel_applyStyles_closure(t0) { this.styles = t0; }, _TaskComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel: function _TaskComponentViewModel_SingleColumnLayoutComponentViewModel_TextComponentViewModel() { }, __TaskComponentState_State_ProxyDocumentComponent: function __TaskComponentState_State_ProxyDocumentComponent() { }, __TaskComponentState_State_ProxyDocumentComponent_ProxyTextComposable: function __TaskComponentState_State_ProxyDocumentComponent_ProxyTextComposable() { }, DocumentSelectionWithText_doesSelectedTextContainAttributions(_this, selection, attributions) { var nodeRange, t3, t4, t5, t6, _i, textNode, baseOffset, extentOffset, t7, startOffset, endOffset, t1 = selection.base, t2 = selection.extent, nodes = _this.getNodesInside$2(t1, t2); if (nodes.length === 0) return false; nodeRange = A.InspectDocumentRange_getRangeBetween(_this, t1, t2); for (t3 = nodes.length, t4 = nodeRange.end.nodePosition, t5 = type$.TextPosition, t6 = nodeRange.start.nodePosition, t1 = t1.nodePosition, t2 = t2.nodePosition, _i = 0; _i < nodes.length; nodes.length === t3 || (0, A.throwConcurrentModificationError)(nodes), ++_i) { textNode = nodes[_i]; if (!(textNode instanceof A.TextNode)) continue; if (textNode.$eq(0, B.JSArray_methods.get$first(nodes)) && textNode.$eq(0, B.JSArray_methods.get$last(nodes))) { baseOffset = t5._as(t1).offset; extentOffset = t5._as(t2).offset; t7 = baseOffset < extentOffset; startOffset = t7 ? baseOffset : extentOffset; endOffset = (t7 ? extentOffset : baseOffset) - 1; } else if (textNode.$eq(0, B.JSArray_methods.get$first(nodes))) { startOffset = t5._as(t6).offset; endOffset = Math.max(textNode._text$_text.text.length - 1, 0); } else { endOffset = textNode.$eq(0, B.JSArray_methods.get$last(nodes)) ? t5._as(t4).offset - 1 : Math.max(textNode._text$_text.text.length - 1, 0); startOffset = 0; } if (textNode._text$_text.spans.hasAttributionsWithin$3$attributions$end$start(attributions, endOffset, startOffset)) return true; } return false; }, Words_calculateAllWordBoundaries(_this) { var t1, offset, textSelection, textSelections = A._setArrayType([], type$.JSArray_TextRange); for (t1 = _this.length, offset = 0; offset < t1;) { if (_this[offset] === " ") { ++offset; continue; } textSelection = A.expandPositionToWord(_this, new A.TextPosition(offset, B.TextAffinity_1)); textSelections.push(textSelection); offset += textSelection.end - textSelection.start + 1; } return textSelections; }, TextNodeSelection$fromTextSelection(textSelection) { var t1 = textSelection.baseOffset, t2 = textSelection.extentOffset, t3 = t1 < t2, t4 = t3 ? t1 : t2; t3 = t3 ? t2 : t1; return new A.TextNodeSelection(t1, t2, textSelection.affinity, textSelection.isDirectional, t4, t3); }, TextNodeSelection$(affinity, baseOffset, extentOffset) { var t1 = baseOffset < extentOffset, t2 = t1 ? baseOffset : extentOffset; return new A.TextNodeSelection(baseOffset, extentOffset, affinity, false, t2, t1 ? extentOffset : baseOffset); }, TextComponent$(composingRegion, highlightWhenEmpty, key, metadata, selectionColor, showComposingUnderline, showDebugPaint, text, textAlign, textDirection, textScaler, textSelection, textStyleBuilder) { return new A.TextComponent(text, textAlign, textDirection, textScaler, textStyleBuilder, metadata, textSelection, selectionColor, highlightWhenEmpty, composingRegion, key); }, anyCharacterToInsertInTextContent(editContext, keyEvent) { var t1, t2, character; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849))) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = true; if (t1) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!t2.get$isCollapsed(0)) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1.toString; if (!A._isTextEntryNode(editContext.document, t1)) return B.ExecutionInstruction_0; t1 = keyEvent.character; if (t1 == null || t1 === "") return B.ExecutionInstruction_0; t1.toString; if (A.LogicalKeyboardKey_isControlCharacter(t1) || A.IsArrowKeyExtension_get_isArrowKeyPressed(keyEvent)) return B.ExecutionInstruction_0; if (A.isKeyEventCharacterBlacklisted(t1) && t1 !== "Tab") return B.ExecutionInstruction_0; if (t1 === "Tab") character = " "; else character = t1; return editContext.commonOps.insertCharacter$1(character) ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, _deleteExpandedSelection(composer, context, $document, executor) { var t2, basePosition, t3, baseNode, baseNodeIndex, extentPosition, extentNode, extentNodeIndex, t4, topNodePosition, t5, bottomNodePosition, newSelectionPosition, t1 = composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); basePosition = t2.base; t3 = $document._nodesById; baseNode = t3.$index(0, basePosition.nodeId); if (baseNode == null) A.throwExpression(A.Exception_Exception(string$.Failed_b)); baseNodeIndex = $document.getNodeIndexById$1(baseNode.get$id(baseNode)); extentPosition = t2.extent; extentNode = t3.$index(0, extentPosition.nodeId); if (extentNode == null) A.throwExpression(A.Exception_Exception(string$.Failed_e)); extentNodeIndex = $document.getNodeIndexById$1(extentNode.get$id(extentNode)); t3 = $document.getNodeAt$1(Math.min(baseNodeIndex, extentNodeIndex)); t3.toString; t4 = baseNodeIndex < extentNodeIndex; topNodePosition = t4 ? basePosition.nodePosition : extentPosition.nodePosition; t5 = $document.getNodeAt$1(Math.max(baseNodeIndex, extentNodeIndex)); t5.toString; bottomNodePosition = t4 ? extentPosition.nodePosition : basePosition.nodePosition; if (baseNodeIndex !== extentNodeIndex) if (topNodePosition.$eq(0, t3.get$beginningPosition()) && bottomNodePosition.$eq(0, t5.get$endPosition())) newSelectionPosition = new A.DocumentPosition(baseNode.get$id(baseNode), B.TextNodePosition_0_TextAffinity_1); else if (topNodePosition.$eq(0, t3.get$beginningPosition())) newSelectionPosition = new A.DocumentPosition(t5.get$id(t5), t5.get$beginningPosition()); else if (bottomNodePosition.$eq(0, t5.get$endPosition())) newSelectionPosition = new A.DocumentPosition(t3.get$id(t3), topNodePosition); else newSelectionPosition = baseNodeIndex <= extentNodeIndex ? basePosition : extentPosition; else { t3 = basePosition.nodePosition; if (t3 instanceof A.UpstreamDownstreamNodePosition) newSelectionPosition = new A.DocumentPosition(baseNode.get$id(baseNode), B.TextNodePosition_0_TextAffinity_1); else if (t3 instanceof A.TextNodePosition) { t2 = type$.TextNodePosition._as(extentPosition.nodePosition); newSelectionPosition = new A.DocumentPosition(baseNode.get$id(baseNode), new A.TextNodePosition(Math.min(t3.offset, t2.offset), B.TextAffinity_1)); } else { A.throwExpression(A.Exception_Exception("Unknown selection position type: " + basePosition.toString$0(0) + ", for node: " + baseNode.toString$0(0) + ", within document selection: " + t2.toString$0(0))); newSelectionPosition = null; } } if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1.toString; executor.executeCommand$1(new A.DeleteContentCommand(t1)); executor.executeCommand$1(new A.ChangeSelectionCommand(A.DocumentSelection$collapsed(newSelectionPosition), B.SelectionChangeType_8, "userInteraction")); }, _insertBlockLevelNewline(composer, context, $document, executor) { var t2, t3, t4, newNodeId, currentExtentPosition, _null = null, t1 = composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); t3 = $document._nodesById; t2 = t3.$index(0, t2.base.nodeId); t2.toString; if (t1._pausable_value_notifier$_isPaused) { t4 = t1.__PausableValueNotifier__currentValueDuringPause_A; t4 === $ && A.throwUnnamedLateFieldNI(); } else t4 = A.ValueNotifier.prototype.get$value.call(t1, 0); t4 = t3.$index(0, t4.extent.nodeId); t4.toString; if (t2.get$id(t2) !== t4.get$id(t4)) return; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!t2.get$isCollapsed(0)) A._deleteExpandedSelection(composer, context, $document, executor); newNodeId = B.C_Uuid.v4$0(); if (t4 instanceof A.ListItemNode) { if (t4._text$_text.text.length === 0) { A._convertToParagraph(composer, context, $document, executor); return; } if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); executor.executeCommand$1(new A.SplitListItemCommand(t4.id, type$.TextNodePosition._as(t1.extent.nodePosition), newNodeId)); } else if (t4 instanceof A.ParagraphNode) { if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); currentExtentPosition = type$.TextNodePosition._as(t1.extent.nodePosition); executor.executeCommand$1(new A.SplitParagraphCommand(t4.id, currentExtentPosition, newNodeId, currentExtentPosition.offset !== t4._text$_text.text.length, A.paragraph0__defaultAttributionsToExtendToNewParagraph$closure())); } else { if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2.extent.nodePosition instanceof A.UpstreamDownstreamNodePosition) { if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (type$.UpstreamDownstreamNodePosition._as(t1.extent.nodePosition).affinity === B.TextAffinity_1) executor.executeCommand$1(new A.InsertNodeAfterNodeCommand(t4.get$id(t4), A.ParagraphNode$(newNodeId, _null, A.AttributedText$("", _null)))); else executor.executeCommand$1(new A.InsertNodeAfterNodeCommand(t4.get$id(t4), A.ParagraphNode$(newNodeId, _null, A.AttributedText$("", _null)))); } else return; } executor.executeCommand$1(new A.ChangeSelectionCommand(A.DocumentSelection$collapsed(new A.DocumentPosition(newNodeId, B.TextNodePosition_0_TextAffinity_1)), B.SelectionChangeType_6, "userInteraction")); }, _insertCharacterInTextComposable(character, composer, context, $document, executor, ignoreComposerAttributions) { var t2, t1 = composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (!t2.get$isCollapsed(0)) return; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); t2.toString; if (!A._isTextEntryNode($document, t2)) return; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1 = t1.extent; executor.executeCommand$1(new A.InsertTextCommand(t1, character, composer._preferences._currentAttributions)); }, _convertToParagraph(composer, context, $document, executor) { var t2, t3, t1 = composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); t3 = $document._nodesById; t2 = t3.$index(0, t2.base.nodeId); t2.toString; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1 = t3.$index(0, t1.extent.nodeId); t1.toString; if (t2.get$id(t2) !== t1.get$id(t1)) return; if (!(t1 instanceof A.TextNode)) return; if (t1 instanceof A.ParagraphNode && t1._metadata.$index(0, "blockType") != null) return; executor.executeCommand$1(new A.ConvertTextNodeToParagraphCommand(t1.id, null)); }, deleteDownstreamContentWithDelete(editContext, keyEvent) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967423)) return B.ExecutionInstruction_0; return editContext.commonOps.deleteDownstream$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, shiftEnterToInsertNewlineInBlock(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967309) && !t1.$eq(0, B.LogicalKeyboardKey_8589935117)) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851))) return B.ExecutionInstruction_0; return editContext.commonOps.insertPlainText$1("\n") ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, _isTextEntryNode($document, selection) { return $document._nodesById.$index(0, selection.extent.nodeId) instanceof A.TextNode; }, TextNode: function TextNode() { }, TextNodeSelection: function TextNodeSelection(t0, t1, t2, t3, t4, t5) { var _ = this; _.baseOffset = t0; _.extentOffset = t1; _.affinity = t2; _.isDirectional = t3; _.start = t4; _.end = t5; }, TextNodePosition: function TextNodePosition(t0, t1) { this.offset = t0; this.affinity = t1; }, TextComponentViewModel: function TextComponentViewModel() { }, TextComponent: function TextComponent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.text = t0; _.textAlign = t1; _.textDirection = t2; _.textScaler = t3; _.textStyleBuilder = t4; _.metadata = t5; _.textSelection = t6; _.selectionColor = t7; _.highlightWhenEmpty = t8; _.composingRegion = t9; _.key = t10; }, TextComponentState: function TextComponentState(t0, t1) { var _ = this; _._text$_textKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, TextComponentState_build_closure: function TextComponentState_build_closure(t0) { this.$this = t0; }, ProxyTextDocumentComponent: function ProxyTextDocumentComponent(t0, t1, t2) { this.textComponentKey = t0; this.child = t1; this.key = t2; }, _ProxyTextDocumentComponentState: function _ProxyTextDocumentComponentState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, ToggleTextAttributionsRequest: function ToggleTextAttributionsRequest(t0, t1) { this.documentRange = t0; this.attributions = t1; }, ToggleTextAttributionsCommand: function ToggleTextAttributionsCommand(t0, t1) { this.documentRange = t0; this.attributions = t1; }, ToggleTextAttributionsCommand_execute_closure: function ToggleTextAttributionsCommand_execute_closure(t0) { this.selectionRange = t0; }, AttributionChangeEvent: function AttributionChangeEvent(t0, t1, t2, t3) { var _ = this; _.change = t0; _.range = t1; _.attributions = t2; _.nodeId = t3; }, AttributionChange: function AttributionChange(t0, t1) { this.index = t0; this._core$_name = t1; }, InsertTextRequest: function InsertTextRequest(t0, t1, t2) { this.documentPosition = t0; this.textToInsert = t1; this.attributions = t2; }, InsertTextCommand: function InsertTextCommand(t0, t1, t2) { this.documentPosition = t0; this.textToInsert = t1; this.attributions = t2; }, TextInsertionEvent: function TextInsertionEvent(t0, t1, t2) { this.offset = t0; this.text = t1; this.nodeId = t2; }, TextDeletedEvent: function TextDeletedEvent(t0, t1, t2) { this.offset = t0; this.deletedText = t1; this.nodeId = t2; }, ConvertTextNodeToParagraphRequest: function ConvertTextNodeToParagraphRequest(t0, t1) { this.nodeId = t0; this.newMetadata = t1; }, ConvertTextNodeToParagraphCommand: function ConvertTextNodeToParagraphCommand(t0, t1) { this.nodeId = t0; this.newMetadata = t1; }, InsertAttributedTextCommand: function InsertAttributedTextCommand(t0, t1) { this.documentPosition = t0; this.textToInsert = t1; }, InsertCharacterAtCaretRequest: function InsertCharacterAtCaretRequest() { }, InsertCharacterAtCaretCommand: function InsertCharacterAtCaretCommand(t0, t1) { this.character = t0; this.ignoreComposerAttributions = t1; }, _TextComponentState_State_DocumentComponent: function _TextComponentState_State_DocumentComponent() { }, _TextNode_DocumentNode_ChangeNotifier: function _TextNode_DocumentNode_ChangeNotifier() { }, __ProxyTextDocumentComponentState_State_ProxyDocumentComponent: function __ProxyTextDocumentComponentState_State_ProxyDocumentComponent() { }, __ProxyTextDocumentComponentState_State_ProxyDocumentComponent_ProxyTextComposable: function __ProxyTextDocumentComponentState_State_ProxyDocumentComponent_ProxyTextComposable() { }, UnknownComponentBuilder: function UnknownComponentBuilder() { }, SelectionType: function SelectionType(t0, t1) { this.index = t0; this._core$_name = t1; }, Logger$(scope) { return new A.Logger0(scope); }, Logger0: function Logger0(t0) { this.__logging$_scope = t0; }, AutoScroller$(vsync) { var t1 = new A.AutoScroller(); t1.__AutoScroller__ticker_A = vsync.createTicker$1(t1.get$__scrolling$_onTick()); return t1; }, AutoScroller: function AutoScroller() { var _ = this; _.__scrolling$_scrollPosition = null; _._scrollSpeedPercent = 0; _._scrollDownOnTick = _._scrollUpOnTick = false; _.__AutoScroller__ticker_A = $; }, ComputeTextSpan_computeTextSpan(_this, styleBuilder) { var t3, collapsedSpans, textSpans, _null = null, t1 = $.$get$attributionsLog0(), t2 = _this.text.length; t1.log$4(B.Level_FINE_500, "text length: " + t2, _null, _null); t1.log$4(B.Level_FINE_500, "attributions used to compute spans:", _null, _null); t3 = _this.spans; t1.log$4(B.Level_FINE_500, t3.toString$0(0), _null, _null); if (t2 === 0) { t1.log$4(B.Level_FINE_500, "text is empty. Returning empty TextSpan.", _null, _null); return A.TextSpan$(_null, _null, styleBuilder.call$1(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution)), ""); } collapsedSpans = t3.collapseSpans$1$contentLength(t2); t1 = A._arrayInstanceType(collapsedSpans)._eval$1("MappedListIterable<1,TextSpan>"); textSpans = A.List_List$of(new A.MappedListIterable(collapsedSpans, new A.ComputeTextSpan_computeTextSpan_closure(_this, styleBuilder), t1), true, t1._eval$1("ListIterable.E")); return textSpans.length === 1 ? B.JSArray_methods.get$first(textSpans) : A.TextSpan$(textSpans, _null, styleBuilder.call$1(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution)), _null); }, ComputeTextSpan_computeTextSpan_closure: function ComputeTextSpan_computeTextSpan_closure(t0, t1) { this._this = t0; this.styleBuilder = t1; }, ProxyTextComposable: function ProxyTextComposable() { }, ContentLayersElement__globalOnBuildScheduled() { var t1, t2, listener; $.ContentLayersElement__realOnBuildScheduled.call$0(); for (t1 = A._LinkedHashSetIterator$($.ContentLayersElement__onBuildListeners, $.ContentLayersElement__onBuildListeners._collection$_modifications, A._instanceType($.ContentLayersElement__onBuildListeners)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { listener = t1._collection$_current; (listener == null ? t2._as(listener) : listener).call$0(); } }, ContentLayerStatefulElement$(widget) { var t1 = widget.createState$0(), t2 = new A.ContentLayerStatefulElement(t1, widget, B._ElementLifecycle_0); t1._framework$_element = t2; t1._widget = widget; return t2; }, _extension_0_findAncestorContentLayers(_this) { var t1 = {}; t1.contentLayersElement = null; _this.visitAncestorElements$1(new A._extension_0_findAncestorContentLayers_closure(t1)); return t1.contentLayersElement; }, ContentLayers: function ContentLayers(t0, t1, t2, t3) { var _ = this; _.underlays = t0; _.content = t1; _.overlays = t2; _.key = t3; }, ContentLayersElement: function ContentLayersElement(t0, t1, t2, t3) { var _ = this; _._underlays = t0; _._content = null; _._content_layers$_overlays = t1; _._slot = _._notificationTree = _._framework$_parent = _._ancestorRenderObjectElement = _._renderObject = null; _.__Element__depth_A = $; _._widget = t2; _._framework$_owner = null; _._lifecycleState = t3; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, ContentLayersElement__onBuildScheduled_closure: function ContentLayersElement__onBuildScheduled_closure(t0) { this.$this = t0; }, ContentLayersElement__isSubtreeDirty_closure: function ContentLayersElement__isSubtreeDirty_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, ContentLayersElement_buildLayers_closure: function ContentLayersElement_buildLayers_closure(t0) { this.$this = t0; }, RenderContentLayers: function RenderContentLayers(t0, t1, t2, t3) { var _ = this; _._content_layers$_element = t0; _._underlays = t1; _._content = null; _._content_layers$_overlays = t2; _._contentNeedsLayout = true; _._runningLayout = false; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, RenderContentLayers_attach_closure: function RenderContentLayers_attach_closure(t0) { this.owner = t0; }, RenderContentLayers_detach_closure: function RenderContentLayers_detach_closure() { }, RenderContentLayers_performLayout_closure: function RenderContentLayers_performLayout_closure(t0) { this.$this = t0; }, _UnderlaySlot: function _UnderlaySlot(t0) { this.index = t0; }, _OverlaySlot: function _OverlaySlot(t0) { this.index = t0; }, _IndexedSlot: function _IndexedSlot() { }, _NullElement1: function _NullElement1(t0, t1) { var _ = this; _._slot = _._notificationTree = _._framework$_parent = null; _.__Element__depth_A = $; _._widget = t0; _._framework$_owner = null; _._lifecycleState = t1; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _NullWidget5: function _NullWidget5(t0) { this.key = t0; }, ContentLayerProxyWidget: function ContentLayerProxyWidget(t0) { this.key = t0; }, ContentLayerStatelessWidget: function ContentLayerStatelessWidget() { }, ContentLayerStatefulWidget: function ContentLayerStatefulWidget() { }, ContentLayerStatefulElement: function ContentLayerStatefulElement(t0, t1, t2) { var _ = this; _._content_layers$_isActive = false; _._framework$_state = t0; _._didChangeDependencies = false; _._slot = _._notificationTree = _._framework$_parent = _._framework$_child = null; _.__Element__depth_A = $; _._widget = t1; _._framework$_owner = null; _._lifecycleState = t2; _._dependencies = _._inheritedElements = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugBuiltOnce = _._inDirtyList = false; }, _extension_0_findAncestorContentLayers_closure: function _extension_0_findAncestorContentLayers_closure(t0) { this._box_0 = t0; }, ContentLayerState: function ContentLayerState() { }, AxisOffset: function AxisOffset(t0, t1) { this.leading = t0; this.trailing = t1; }, ContentTapDelegate: function ContentTapDelegate() { }, TapHandlingInstruction: function TapHandlingInstruction(t0, t1) { this.index = t0; this._core$_name = t1; }, _ContentTapDelegate_Object_ChangeNotifier: function _ContentTapDelegate_Object_ChangeNotifier() { }, DocumentLayoutLayerStatefulWidget: function DocumentLayoutLayerStatefulWidget() { }, DocumentLayoutLayerState: function DocumentLayoutLayerState() { }, DocumentScaffold: function DocumentScaffold(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.documentLayoutLink = t0; _.documentLayoutKey = t1; _.gestureBuilder = t2; _.scrollController = t3; _.autoScrollController = t4; _.scroller = t5; _.presenter = t6; _.componentBuilders = t7; _.underlays = t8; _.overlays = t9; _.debugPaint = t10; _.key = t11; _.$ti = t12; }, _DocumentScaffoldState: function _DocumentScaffoldState(t0, t1) { var _ = this; _._contentConstraints = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _DocumentScaffoldState__buildDocumentLayout_closure: function _DocumentScaffoldState__buildDocumentLayout_closure(t0) { this.$this = t0; }, DocumentScroller: function DocumentScroller(t0) { this._document_scroller$_scrollPosition = null; this._scrollChangeListeners = t0; }, SelectionLayerLinks$() { var t1 = new A.SelectionLayerLinks(), t2 = type$.void_Function, t3 = $.$get$ChangeNotifier__emptyListeners(); t1.__SelectionLayerLinks_caretLink_F = new A.LeaderLink(A.LinkedHashSet_LinkedHashSet$_empty(t2), t3); t1.__SelectionLayerLinks_upstreamLink_F = new A.LeaderLink(A.LinkedHashSet_LinkedHashSet$_empty(t2), t3); t1.__SelectionLayerLinks_downstreamLink_F = new A.LeaderLink(A.LinkedHashSet_LinkedHashSet$_empty(t2), t3); t1.__SelectionLayerLinks_expandedSelectionBoundsLink_F = new A.LeaderLink(A.LinkedHashSet_LinkedHashSet$_empty(t2), t3); return t1; }, SelectionLeadersDocumentLayer: function SelectionLeadersDocumentLayer(t0, t1, t2, t3, t4) { var _ = this; _.document = t0; _.selection = t1; _.links = t2; _.showDebugLeaderBounds = t3; _.key = t4; }, _SelectionLeadersDocumentLayerState: function _SelectionLeadersDocumentLayerState(t0, t1, t2) { var _ = this; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = _._layoutData = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _SelectionLeadersDocumentLayerState__onSelectionChange_closure: function _SelectionLeadersDocumentLayerState__onSelectionChange_closure() { }, DocumentSelectionLayout: function DocumentSelectionLayout(t0, t1, t2, t3) { var _ = this; _.caret = t0; _.upstream = t1; _.downstream = t2; _.expandedSelectionBounds = t3; }, SelectionLayerLinks: function SelectionLayerLinks() { var _ = this; _.__SelectionLayerLinks_expandedSelectionBoundsLink_F = _.__SelectionLayerLinks_downstreamLink_F = _.__SelectionLayerLinks_upstreamLink_F = _.__SelectionLayerLinks_caretLink_F = $; }, __SelectionLeadersDocumentLayerState_DocumentLayoutLayerState_SingleTickerProviderStateMixin: function __SelectionLeadersDocumentLayerState_DocumentLayoutLayerState_SingleTickerProviderStateMixin() { }, CupertinoScrollbarWithCustomPhysics: function CupertinoScrollbarWithCustomPhysics(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.thicknessWhileDragging = t0; _.radiusWhileDragging = t1; _.child = t2; _.controller = t3; _.physics = t4; _.thumbVisibility = t5; _.radius = t6; _.thickness = t7; _.trackVisibility = t8; _.fadeDuration = t9; _.timeToFade = t10; _.pressDuration = t11; _.notificationPredicate = t12; _.interactive = t13; _.scrollbarOrientation = t14; _.key = t15; }, _CupertinoScrollbarState0: function _CupertinoScrollbarState0(t0, t1, t2, t3) { var _ = this; _._cupertino_scrollbar$___CupertinoScrollbarState__thicknessAnimationController_A = $; _._cupertino_scrollbar$_pressStartAxisPosition = 0; _._scrollbar1$_fadeoutTimer = _._scrollbar1$_cachedController = _._scrollbar1$_startDragThumbOffset = _._scrollbar1$_lastDragUpdateOffset = _._scrollbar1$_startDragScrollbarAxisOffset = null; _.__RawScrollbarWithCustomPhysicsState__fadeoutOpacityAnimation_A = _.__RawScrollbarWithCustomPhysicsState__fadeoutAnimationController_A = $; _._scrollbar1$_scrollbarPainterKey = t0; _._isHoveringThumb = _._scrollbar1$_thumbDragging = _._scrollbar1$_hoverIsActive = false; _.__RawScrollbarWithCustomPhysicsState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _CupertinoScrollbarState_initState_closure0: function _CupertinoScrollbarState_initState_closure0(t0) { this.$this = t0; }, _CupertinoScrollbarState_handleThumbPress_closure0: function _CupertinoScrollbarState_handleThumbPress_closure0() { }, Scheduler_runAsSoonAsPossible(_this, action, debugLabel) { var _null = null, t1 = $.$get$schedulerLog(); t1.log$4(B.Level_INFO_800, "Running action as soon as possible: '" + debugLabel + "'.", _null, _null); if (_this.SchedulerBinding__schedulerPhase === B.SchedulerPhase_3) { t1.log$4(B.Level_INFO_800, "Scheduling another frame to run '" + debugLabel + "' because Flutter is building widgets right now.", _null, _null); _this.SchedulerBinding__postFrameCallbacks.push(new A.Scheduler_runAsSoonAsPossible_closure(debugLabel, action)); } else { t1.log$4(B.Level_INFO_800, "Flutter isn't building widgets right now. Running '" + debugLabel + "' immediately.", _null, _null); action.call$0(); } }, Frames_setStateAsSoonAsPossible(_this, stateChange) { var t1 = $.WidgetsBinding__instance; t1.toString; A.Scheduler_runAsSoonAsPossible(t1, new A.Frames_setStateAsSoonAsPossible_closure(_this, stateChange), "anonymous action"); }, Frames_onNextFrame(_this, work) { $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.Frames_onNextFrame_closure(_this, work)); }, Frames_scheduleBuildAfterBuild(_this, stateChange) { A.Frames_onNextFrame(_this, new A.Frames_scheduleBuildAfterBuild_closure(_this, stateChange)); }, Scheduler_runAsSoonAsPossible_closure: function Scheduler_runAsSoonAsPossible_closure(t0, t1) { this.debugLabel = t0; this.action = t1; }, Frames_setStateAsSoonAsPossible_closure: function Frames_setStateAsSoonAsPossible_closure(t0, t1) { this._this = t0; this.stateChange = t1; }, Frames_setStateAsSoonAsPossible__closure: function Frames_setStateAsSoonAsPossible__closure(t0) { this.stateChange = t0; }, Frames_onNextFrame_closure: function Frames_onNextFrame_closure(t0, t1) { this._this = t0; this.work = t1; }, Frames_scheduleBuildAfterBuild_closure: function Frames_scheduleBuildAfterBuild_closure(t0, t1) { this._this = t0; this.stateChange = t1; }, Frames_scheduleBuildAfterBuild__closure: function Frames_scheduleBuildAfterBuild__closure(t0) { this.stateChange = t0; }, ScrollbarWithCustomPhysics$(child, controller, physics) { return new A.ScrollbarWithCustomPhysics(child, controller, physics, null); }, ScrollbarWithCustomPhysics: function ScrollbarWithCustomPhysics(t0, t1, t2, t3) { var _ = this; _.child = t0; _.controller = t1; _.physics = t2; _.key = t3; }, _MaterialScrollbar0: function _MaterialScrollbar0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.showTrackOnHover = t0; _.child = t1; _.controller = t2; _.physics = t3; _.thumbVisibility = t4; _.radius = t5; _.thickness = t6; _.trackVisibility = t7; _.fadeDuration = t8; _.timeToFade = t9; _.pressDuration = t10; _.notificationPredicate = t11; _.interactive = t12; _.scrollbarOrientation = t13; _.key = t14; }, _MaterialScrollbarState0: function _MaterialScrollbarState0(t0, t1, t2, t3) { var _ = this; _._material_scrollbar$___MaterialScrollbarState__hoverAnimationController_A = $; _._material_scrollbar$_hoverIsActive = _._material_scrollbar$_dragIsActive = false; _._material_scrollbar$___MaterialScrollbarState__useAndroidScrollbar_A = _._material_scrollbar$___MaterialScrollbarState__scrollbarTheme_A = _._material_scrollbar$___MaterialScrollbarState__colorScheme_A = $; _._scrollbar1$_fadeoutTimer = _._scrollbar1$_cachedController = _._scrollbar1$_startDragThumbOffset = _._scrollbar1$_lastDragUpdateOffset = _._scrollbar1$_startDragScrollbarAxisOffset = null; _.__RawScrollbarWithCustomPhysicsState__fadeoutOpacityAnimation_A = _.__RawScrollbarWithCustomPhysicsState__fadeoutAnimationController_A = $; _._scrollbar1$_scrollbarPainterKey = t0; _._isHoveringThumb = _._scrollbar1$_thumbDragging = _._scrollbar1$_hoverIsActive = false; _.__RawScrollbarWithCustomPhysicsState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _MaterialScrollbarState__trackVisibility_closure0: function _MaterialScrollbarState__trackVisibility_closure0(t0) { this.$this = t0; }, _MaterialScrollbarState__thumbColor_closure0: function _MaterialScrollbarState__thumbColor_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.dragColor = t1; _.hoverColor = t2; _.idleColor = t3; }, _MaterialScrollbarState__trackColor_closure0: function _MaterialScrollbarState__trackColor_closure0(t0, t1, t2) { this.$this = t0; this.brightness = t1; this.onSurface = t2; }, _MaterialScrollbarState__trackBorderColor_closure0: function _MaterialScrollbarState__trackBorderColor_closure0(t0, t1, t2) { this.$this = t0; this.brightness = t1; this.onSurface = t2; }, _MaterialScrollbarState__thickness_closure0: function _MaterialScrollbarState__thickness_closure0(t0) { this.$this = t0; }, _MaterialScrollbarState_initState_closure0: function _MaterialScrollbarState_initState_closure0(t0) { this.$this = t0; }, _MaterialScrollbarState_handleThumbPressStart_closure0: function _MaterialScrollbarState_handleThumbPressStart_closure0(t0) { this.$this = t0; }, _MaterialScrollbarState_handleThumbPressEnd_closure0: function _MaterialScrollbarState_handleThumbPressEnd_closure0(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHover_closure1: function _MaterialScrollbarState_handleHover_closure1(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHover_closure2: function _MaterialScrollbarState_handleHover_closure2(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHoverExit_closure0: function _MaterialScrollbarState_handleHoverExit_closure0(t0) { this.$this = t0; }, GroupedOverlayPortalController__show(controller) { var t1, t2, _i; if ($.GroupedOverlayPortalController__isReworkingOrder) return; if (controller.get$isShowing()) return; t1 = $.$get$GroupedOverlayPortalController__visibleControllers(); if (t1._locate$1(controller) < 0) t1.add$1(0, controller); $.GroupedOverlayPortalController__isReworkingOrder = true; for (t2 = t1._toUnorderedList$0(), B.JSArray_methods.sort$1(t2, t1.comparison), t1 = t2.length, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) J.show$0$z(t2[_i]); $.GroupedOverlayPortalController__isReworkingOrder = false; }, GroupedOverlayPortalController__hide(controller) { if ($.GroupedOverlayPortalController__isReworkingOrder) return; $.GroupedOverlayPortalController__isReworkingOrder = true; $.$get$GroupedOverlayPortalController__visibleControllers().remove$1(0, controller); controller.hide$0(); $.GroupedOverlayPortalController__isReworkingOrder = false; }, GroupedOverlayPortalController: function GroupedOverlayPortalController(t0, t1) { var _ = this; _.displayPriority = t0; _._zOrderIndex = _._attachTarget = null; _._overlay$_debugLabel = t1; }, GroupedOverlayPortalController__visibleControllers_closure: function GroupedOverlayPortalController__visibleControllers_closure() { }, OverlayGroupPriority: function OverlayGroupPriority() { }, RawScrollbarWithCustomPhysicsState$($T) { return new A.RawScrollbarWithCustomPhysicsState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, null, B._StateLifecycle_0, $T._eval$1("RawScrollbarWithCustomPhysicsState<0>")); }, _getLocalOffset0(scrollbarPainterKey, position) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, scrollbarPainterKey).get$renderObject(); t1.toString; return type$.RenderBox._as(t1).globalToLocal$1(position); }, RawScrollbarWithCustomPhysics: function RawScrollbarWithCustomPhysics() { }, RawScrollbarWithCustomPhysicsState: function RawScrollbarWithCustomPhysicsState(t0, t1, t2, t3, t4) { var _ = this; _._scrollbar1$_fadeoutTimer = _._scrollbar1$_cachedController = _._scrollbar1$_startDragThumbOffset = _._scrollbar1$_lastDragUpdateOffset = _._scrollbar1$_startDragScrollbarAxisOffset = null; _.__RawScrollbarWithCustomPhysicsState__fadeoutOpacityAnimation_A = _.__RawScrollbarWithCustomPhysicsState__fadeoutAnimationController_A = $; _._scrollbar1$_scrollbarPainterKey = t0; _._isHoveringThumb = _._scrollbar1$_thumbDragging = _._scrollbar1$_hoverIsActive = false; _.__RawScrollbarWithCustomPhysicsState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; _.$ti = t4; }, RawScrollbarWithCustomPhysicsState__maybeStartFadeoutTimer_closure: function RawScrollbarWithCustomPhysicsState__maybeStartFadeoutTimer_closure(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures_closure: function RawScrollbarWithCustomPhysicsState__gestures_closure(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures_closure0: function RawScrollbarWithCustomPhysicsState__gestures_closure0(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures__closure: function RawScrollbarWithCustomPhysicsState__gestures__closure(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures__closure0: function RawScrollbarWithCustomPhysicsState__gestures__closure0(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures__closure1: function RawScrollbarWithCustomPhysicsState__gestures__closure1(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures_closure1: function RawScrollbarWithCustomPhysicsState__gestures_closure1(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState__gestures_closure2: function RawScrollbarWithCustomPhysicsState__gestures_closure2(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState_handleHover_closure: function RawScrollbarWithCustomPhysicsState_handleHover_closure(t0, t1) { this.$this = t0; this.event = t1; }, RawScrollbarWithCustomPhysicsState_handleHoverExit_closure: function RawScrollbarWithCustomPhysicsState_handleHoverExit_closure(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState_build_closure: function RawScrollbarWithCustomPhysicsState_build_closure(t0) { this.$this = t0; }, RawScrollbarWithCustomPhysicsState_build_closure0: function RawScrollbarWithCustomPhysicsState_build_closure0(t0) { this.$this = t0; }, ScrollbarPainter0: function ScrollbarPainter0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._scrollbar1$_color = t0; _._scrollbar1$_trackColor = t1; _._scrollbar1$_trackBorderColor = t2; _._scrollbar1$_trackRadius = t3; _._scrollbar1$_textDirection = null; _._scrollbar1$_thickness = t4; _.fadeoutOpacityAnimation = t5; _._scrollbar1$_mainAxisMargin = t6; _._scrollbar1$_crossAxisMargin = t7; _._scrollbar1$_radius = t8; _._scrollbar1$_shape = t9; _._scrollbar1$_padding = t10; _._scrollbar1$_minLength = t11; _._scrollbar1$_minOverscrollLength = t12; _._scrollbar1$_scrollbarOrientation = t13; _._scrollbar1$_ignorePointer = false; _._scrollbar1$_thumbRect = _._scrollbar1$_trackRect = null; _._scrollbar1$__ScrollbarPainter__thumbExtent_A = _._scrollbar1$__ScrollbarPainter__thumbOffset_A = $; _._scrollbar1$_lastAxisDirection = _._scrollbar1$_lastMetrics = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t14; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ScrollbarPainter_update_needPaint0: function ScrollbarPainter_update_needPaint0() { }, _ThumbPressGestureRecognizer0: function _ThumbPressGestureRecognizer0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._scrollbar1$_customPaintKey = t0; _._longPressAccepted = false; _._velocityTracker = _.onTertiaryLongPressEnd = _.onTertiaryLongPressUp = _.onTertiaryLongPressMoveUpdate = _.onTertiaryLongPressStart = _.onTertiaryLongPress = _.onTertiaryLongPressCancel = _.onTertiaryLongPressDown = _.onSecondaryLongPressEnd = _.onSecondaryLongPressUp = _.onSecondaryLongPressMoveUpdate = _.onSecondaryLongPressStart = _.onSecondaryLongPress = _.onSecondaryLongPressCancel = _.onSecondaryLongPressDown = _.onLongPressEnd = _.onLongPressUp = _.onLongPressMoveUpdate = _.onLongPressStart = _.onLongPress = _.onLongPressCancel = _.onLongPressDown = _._initialButtons = _._longPressOrigin = null; _.deadline = t1; _.postAcceptSlopTolerance = t2; _._recognizer$_state = t3; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t4; _._trackedPointers = t5; _._team = null; _.debugOwner = t6; _.gestureSettings = null; _.supportedDevices = t7; _._allowedButtonsFilter = t8; _._pointerToKind = t9; }, _TrackTapGestureRecognizer0: function _TrackTapGestureRecognizer0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._scrollbar1$_customPaintKey = t0; _.onTertiaryTapCancel = _.onTertiaryTapUp = _.onTertiaryTapDown = _.onSecondaryTapCancel = _.onSecondaryTapUp = _.onSecondaryTapDown = _.onSecondaryTap = _.onTapCancel = _.onTap = _.onTapUp = _.onTapDown = null; _._wonArenaForPrimaryPointer = _._sentTapDown = false; _._up = _._down = null; _.deadline = t1; _.postAcceptSlopTolerance = t2; _._recognizer$_state = t3; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t4; _._trackedPointers = t5; _._team = null; _.debugOwner = t6; _.gestureSettings = null; _.supportedDevices = t7; _._allowedButtonsFilter = t8; _._pointerToKind = t9; }, _RawScrollbarWithCustomPhysicsState_State_TickerProviderStateMixin: function _RawScrollbarWithCustomPhysicsState_State_TickerProviderStateMixin() { }, NonReparentingFocus: function NonReparentingFocus(t0, t1, t2, t3) { var _ = this; _.focusNode = t0; _.onKeyEvent = t1; _.child = t2; _.key = t3; }, _NonReparentingFocusState: function _NonReparentingFocusState(t0) { var _ = this; _.___NonReparentingFocusState__keyboardFocusAttachment_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, FocusWithCustomParent: function FocusWithCustomParent(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.focusNode = t1; _.parentFocusNode = t2; _._focus$_onKeyEvent = t3; _.key = t4; }, _FocusWithCustomParentState: function _FocusWithCustomParentState(t0) { var _ = this; _._focus$_internalNode = null; _.___FocusWithCustomParentState__descendantsWereTraversable_A = _.___FocusWithCustomParentState__descendantsWereFocusable_A = _.___FocusWithCustomParentState__couldRequestFocus_A = _.___FocusWithCustomParentState__hadPrimaryFocus_A = $; _._focus$_didAutofocus = false; _.___FocusWithCustomParentState__focusAttachment_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _FocusWithCustomParentState__handleFocusChanged_closure: function _FocusWithCustomParentState__handleFocusChanged_closure(t0, t1) { this.$this = t0; this.hasPrimaryFocus = t1; }, _FocusWithCustomParentState__handleFocusChanged_closure0: function _FocusWithCustomParentState__handleFocusChanged_closure0(t0, t1) { this.$this = t0; this.canRequestFocus = t1; }, _FocusWithCustomParentState__handleFocusChanged_closure1: function _FocusWithCustomParentState__handleFocusChanged_closure1(t0, t1) { this.$this = t0; this.descendantsAreFocusable = t1; }, _FocusWithCustomParentState__handleFocusChanged_closure2: function _FocusWithCustomParentState__handleFocusChanged_closure2(t0, t1) { this.$this = t0; this.descendantsAreTraversable = t1; }, _FocusMarker: function _FocusMarker(t0, t1, t2) { this.notifier = t0; this.child = t1; this.key = t2; }, isKeyEventCharacterBlacklisted(character) { var t1; if (character == null) return false; if (character.length > 1) { t1 = new A.CodeUnits(character); t1 = t1.get$first(t1); t1 = 65 <= t1 && t1 <= 90 && A._isAllAlphaNumeric(new A.CodeUnits(character)); } else t1 = false; return t1; }, _isAllAlphaNumeric(codeUnits) { var t1, t2, t3; for (t1 = A._instanceType(codeUnits), t2 = new A.ListIterator(codeUnits, codeUnits.get$length(0), t1._eval$1("ListIterator<ListBase.E>")), t1 = t1._eval$1("ListBase.E"); t2.moveNext$0();) { t3 = t2.__internal$_current; if (t3 == null) t3 = t1._as(t3); if (!(t3 >= 65 && t3 <= 90)) if (!(t3 >= 97 && t3 <= 122)) t3 = t3 >= 48 && t3 <= 57 || t3 === 32; else t3 = true; else t3 = true; if (!t3) return false; } return true; }, ExecutionInstruction: function ExecutionInstruction(t0, t1) { this.index = t0; this._core$_name = t1; }, UrlLauncher: function UrlLauncher() { }, MultiListenableBuilder: function MultiListenableBuilder(t0, t1, t2) { this.listenables = t0; this.builder = t1; this.key = t2; }, _MultiListenableBuilderState: function _MultiListenableBuilderState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _MultiListenableBuilderState__onListenableChange_closure: function _MultiListenableBuilderState__onListenableChange_closure() { }, TapSequenceGestureRecognizer$() { var t1 = type$.int; return new A.TapSequenceGestureRecognizer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._TapTracker_2), null, null, A.recognizer_GestureRecognizer__defaultButtonAcceptBehavior$closure(), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, TapSequenceGestureRecognizer: function TapSequenceGestureRecognizer(t0, t1, t2, t3, t4) { var _ = this; _._secondTapUpDetails = _._secondTapDownDetails = _._secondTap = _._firstTapUpDetails = _._firstTapDownDetails = _._multi_tap_gesture$_firstTap = _._tapTimer = _.onTripleTap = _.onTripleTapUp = _.onTripleTapDown = _.onDoubleTap = _.onDoubleTapUp = _.onDoubleTapDown = _.onTapUp = _.onTapDown = null; _._multi_tap_gesture$_trackers = t0; _.debugOwner = t1; _.gestureSettings = null; _.supportedDevices = t2; _._allowedButtonsFilter = t3; _._pointerToKind = t4; }, TapSequenceGestureRecognizer_addAllowedPointer_closure: function TapSequenceGestureRecognizer_addAllowedPointer_closure(t0, t1) { this.$this = t0; this.details = t1; }, TapSequenceGestureRecognizer_addAllowedPointer_closure0: function TapSequenceGestureRecognizer_addAllowedPointer_closure0(t0) { this.$this = t0; }, TapSequenceGestureRecognizer_addAllowedPointer_closure1: function TapSequenceGestureRecognizer_addAllowedPointer_closure1(t0) { this.$this = t0; }, TapSequenceGestureRecognizer__checkUp_closure: function TapSequenceGestureRecognizer__checkUp_closure(t0) { this.$this = t0; }, TapSequenceGestureRecognizer__checkUp_closure0: function TapSequenceGestureRecognizer__checkUp_closure0(t0) { this.$this = t0; }, TapSequenceGestureRecognizer__checkUp_closure1: function TapSequenceGestureRecognizer__checkUp_closure1(t0, t1) { this.$this = t0; this.details = t1; }, _TapTracker0: function _TapTracker0(t0, t1, t2, t3, t4) { var _ = this; _.pointer = t0; _.entry = t1; _._multi_tap_gesture$_initialGlobalPosition = t2; _.initialButtons = t3; _._tapMinTimeCountdown = t4; _._multi_tap_gesture$_isTrackingPointer = false; }, _CountdownZoned0: function _CountdownZoned0() { this._multi_tap_gesture$_timeout = false; }, PausableValueNotifier: function PausableValueNotifier(t0, t1, t2) { var _ = this; _._pausable_value_notifier$_isPaused = false; _.__PausableValueNotifier__currentValueDuringPause_A = $; _._change_notifier$_value = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; _.$ti = t2; }, AndroidToolbarFocalPointDocumentLayer: function AndroidToolbarFocalPointDocumentLayer(t0, t1, t2, t3, t4) { var _ = this; _.document = t0; _.selection = t1; _.toolbarFocalPointLink = t2; _.showDebugLeaderBounds = t3; _.key = t4; }, _AndroidToolbarFocalPointDocumentLayerState: function _AndroidToolbarFocalPointDocumentLayerState(t0) { var _ = this; _._widget = _._layoutData = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AndroidToolbarFocalPointDocumentLayerState__onSelectionChange_closure: function _AndroidToolbarFocalPointDocumentLayerState__onSelectionChange_closure() { }, AndroidHandlesDocumentLayer: function AndroidHandlesDocumentLayer(t0, t1, t2, t3) { var _ = this; _.document = t0; _.selection = t1; _.caretColor = t2; _.key = t3; }, AndroidControlsDocumentLayerState: function AndroidControlsDocumentLayerState(t0, t1, t2) { var _ = this; _.__AndroidControlsDocumentLayerState__caretBlinkController_A = $; _._android_document_controls$_previousSelection = _._android_document_controls$_controlsController = null; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = _._layoutData = null; _._debugLifecycleState = t2; _._framework$_element = null; }, AndroidControlsDocumentLayerState__onSelectionChange_closure: function AndroidControlsDocumentLayerState__onSelectionChange_closure() { }, AndroidControlsDocumentLayerState__onShouldShowCollapsedHandleChange_closure: function AndroidControlsDocumentLayerState__onShouldShowCollapsedHandleChange_closure() { }, AndroidControlsDocumentLayerState__buildCaret_closure: function AndroidControlsDocumentLayerState__buildCaret_closure(t0) { this.$this = t0; }, _AndroidControlsDocumentLayerState_DocumentLayoutLayerState_SingleTickerProviderStateMixin: function _AndroidControlsDocumentLayerState_DocumentLayoutLayerState_SingleTickerProviderStateMixin() { }, AndroidDocumentLongPressSelectionStrategy: function AndroidDocumentLongPressSelectionStrategy(t0, t1, t2) { var _ = this; _._long_press_selection0$_document = t0; _._long_press_selection0$_docLayout = t1; _._long_press_selection0$_select = t2; _._longPressMostRecentDownstreamWordBoundary = _._longPressMostRecentUpstreamWordBoundary = _._longPressSelectionDirection = _._longPressMostRecentBoundaryNodeId = _._long_press_selection0$_longPressInitialSelection = null; _._isSelectingByCharacter = false; _._longPressMostRecentTouchDocumentPosition = null; _._longPressCharacterSelectionXOffset = 0; }, AndroidFollowingMagnifier: function AndroidFollowingMagnifier(t0, t1, t2) { this.layerLink = t0; this.offsetFromFocalPoint = t1; this.key = t2; }, AndroidMagnifyingGlass: function AndroidMagnifyingGlass(t0, t1, t2) { this.magnificationScale = t0; this.offsetFromFocalPoint = t1; this.key = t2; }, AndroidSelectionHandle: function AndroidSelectionHandle(t0, t1, t2) { this.handleType = t0; this.color = t1; this.key = t2; }, AndroidTextEditingFloatingToolbar: function AndroidTextEditingFloatingToolbar(t0, t1, t2, t3, t4, t5) { var _ = this; _.floatingToolbarKey = t0; _.onCutPressed = t1; _.onCopyPressed = t2; _.onPastePressed = t3; _.onSelectAllPressed = t4; _.key = t5; }, IosFloatingToolbarOverlay: function IosFloatingToolbarOverlay(t0, t1, t2, t3, t4, t5) { var _ = this; _.shouldShowToolbar = t0; _.toolbarFocalPoint = t1; _.createOverlayControlsClipper = t2; _.floatingToolbarBuilder = t3; _.showDebugPaint = t4; _.key = t5; }, _IosFloatingToolbarOverlayState: function _IosFloatingToolbarOverlayState(t0, t1, t2, t3) { var _ = this; _._boundsKey = t0; _.SingleTickerProviderStateMixin__ticker = t1; _.SingleTickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _IosFloatingToolbarOverlayState_build_closure: function _IosFloatingToolbarOverlayState_build_closure(t0) { this.$this = t0; }, FloatingCursorController0: function FloatingCursorController0(t0, t1, t2, t3) { var _ = this; _.isActive = t0; _.isNearText = t1; _.cursorGeometryInViewport = t2; _._ios_document_controls$_offset = null; _._ios_document_controls$_listeners = t3; }, FloatingCursorListener: function FloatingCursorListener(t0, t1, t2) { this._onStart = t0; this._onMove = t1; this._onStop = t2; }, __IosFloatingToolbarOverlayState_State_SingleTickerProviderStateMixin: function __IosFloatingToolbarOverlayState_State_SingleTickerProviderStateMixin() { }, IosLongPressSelectionStrategy: function IosLongPressSelectionStrategy(t0, t1, t2) { var _ = this; _._long_press_selection$_document = t0; _._docLayout = t1; _._long_press_selection$_select = t2; _._longPressInitialSelection = null; }, IOSFollowingMagnifier$roundedRectangle(leaderLink, magnifierKey, offsetFromFocalPoint) { return new A.IOSFollowingMagnifier(magnifierKey, leaderLink, offsetFromFocalPoint, null); }, _roundedRectangleMagnifierBuilder(context, offsetFromFocalPoint, magnifierKey) { return new A.IOSRoundedRectangleMagnifyingGlass(offsetFromFocalPoint, magnifierKey); }, IOSFollowingMagnifier: function IOSFollowingMagnifier(t0, t1, t2, t3) { var _ = this; _.magnifierKey = t0; _.leaderLink = t1; _.offsetFromFocalPoint = t2; _.key = t3; }, IOSRoundedRectangleMagnifyingGlass: function IOSRoundedRectangleMagnifyingGlass(t0, t1) { this.offsetFromFocalPoint = t0; this.key = t1; }, IOSSelectionHandle: function IOSSelectionHandle(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.caretHeight = t1; _.ballRadius = t2; _.handleType = t3; _.key = t4; }, IOSTextEditingFloatingToolbar: function IOSTextEditingFloatingToolbar(t0, t1, t2, t3, t4, t5) { var _ = this; _.floatingToolbarKey = t0; _.focalPoint = t1; _.onCutPressed = t2; _.onCopyPressed = t3; _.onPastePressed = t4; _.key = t5; }, disabledMacIntents_closure: function disabledMacIntents_closure() { }, _PreventPrioritizedIntentsFromBubblingUp: function _PreventPrioritizedIntentsFromBubblingUp(t0, t1) { this.intentFilter = t0; this._actions$_listeners = t1; this._currentCallingAction = null; }, MagnifierAndToolbarController: function MagnifierAndToolbarController(t0) { var _ = this; _._shouldDisplayToolbar = _._isMagnifierVisible = false; _._screenPadding = _._toolbarBottomAnchor = _._toolbarTopAnchor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, DragHandleAutoScroller: function DragHandleAutoScroller(t0, t1, t2, t3) { var _ = this; _._mobile_documents$_autoScroller = t0; _._dragAutoScrollBoundary = t1; _._mobile_documents$_getScrollPosition = t2; _._getViewportBox = t3; }, _MagnifierAndToolbarController_Object_ChangeNotifier: function _MagnifierAndToolbarController_Object_ChangeNotifier() { }, SuperEditorPopover: function SuperEditorPopover(t0, t1, t2, t3) { var _ = this; _.popoverFocusNode = t0; _.editorFocusNode = t1; _.child = t2; _.key = t3; }, ItemSelectionList: function ItemSelectionList(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.value = t0; _.items = t1; _.itemBuilder = t2; _.onItemSelected = t3; _.onCancel = t4; _.focusNode = t5; _.key = t6; _.$ti = t7; }, ItemSelectionListState: function ItemSelectionListState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._selectable_list$_scrollableKey = t0; _.scrollController = t1; _._itemKeys = t2; _._activeIndex = null; _.SingleTickerProviderStateMixin__ticker = t3; _.SingleTickerProviderStateMixin__tickerModeNotifier = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; _.$ti = t6; }, ItemSelectionListState__activateItem_closure: function ItemSelectionListState__activateItem_closure(t0, t1) { this.$this = t0; this.animationDuration = t1; }, ItemSelectionListState__onKeyEvent_closure: function ItemSelectionListState__onKeyEvent_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, ItemSelectionListState_build_closure: function ItemSelectionListState_build_closure(t0, t1) { this.$this = t0; this.i = t1; }, _ItemSelectionListState_State_SingleTickerProviderStateMixin: function _ItemSelectionListState_State_SingleTickerProviderStateMixin() { }, SignalNotifier: function SignalNotifier(t0) { var _ = this; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, CharacterMovement_moveOffsetUpstreamByWord(_this, textOffset) { if (textOffset === 0) return null; return A.CharacterMovement__moveOffsetByWord(_this, textOffset, true); }, CharacterMovement_moveOffsetUpstreamByCharacter(_this, textOffset) { if (textOffset === 0) return null; return A.CharacterMovement__moveOffsetByCharacter(_this, textOffset, 1, true); }, CharacterMovement_moveOffsetDownstreamByWord(_this, textOffset) { if (textOffset === _this.length) return null; return A.CharacterMovement__moveOffsetByWord(_this, textOffset, false); }, CharacterMovement_moveOffsetDownstreamByCharacter(_this, textOffset) { if (textOffset === _this.length) return null; return A.CharacterMovement__moveOffsetByCharacter(_this, textOffset, 1, false); }, CharacterMovement__moveOffsetByWord(_this, textOffset, upstream) { var range, moveWhile, t1 = {}; if (textOffset < 0 || textOffset > _this.length) throw A.wrapException(A.Exception_Exception("Index '" + textOffset + "' is out of string range. Length: " + _this.length)); range = new A.StringCharacterRange((_this.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(_this)).string, 0, 0); t1.remainingOffset = textOffset; range.expandWhile$1(new A.CharacterMovement__moveOffsetByWord_closure(t1)); moveWhile = upstream ? range.get$dropBackWhile() : range.get$expandWhile(); moveWhile.call$1(new A.CharacterMovement__moveOffsetByWord_closure0()); moveWhile.call$1(new A.CharacterMovement__moveOffsetByWord_closure1()); return range.get$current(0).length; }, CharacterMovement__moveOffsetByCharacter(_this, textOffset, characterCount, upstream) { var t2, range, t1 = {}; if (textOffset < 0 || textOffset > _this.length) throw A.wrapException(A.Exception_Exception("Index '" + textOffset + "' is out of string range. Length: " + _this.length)); t2 = (_this.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(_this)).string; range = new A.StringCharacterRange(t2, 0, 0); t1.remainingOffset = textOffset; range.expandWhile$1(new A.CharacterMovement__moveOffsetByCharacter_closure(t1)); if (upstream ? range.get$current(0).length < characterCount : t2.length - range._characters_impl$_end < characterCount) return null; if (upstream) range.dropLast$1(characterCount); else range._advanceEnd$2(characterCount, range._characters_impl$_start); return range.get$current(0).length; }, CharacterMovement__moveOffsetByWord_closure: function CharacterMovement__moveOffsetByWord_closure(t0) { this._box_0 = t0; }, CharacterMovement__moveOffsetByWord_closure0: function CharacterMovement__moveOffsetByWord_closure0() { }, CharacterMovement__moveOffsetByWord_closure1: function CharacterMovement__moveOffsetByWord_closure1() { }, CharacterMovement__moveOffsetByCharacter_closure: function CharacterMovement__moveOffsetByCharacter_closure(t0) { this._box_0 = t0; }, TextInputSource: function TextInputSource(t0, t1) { this.index = t0; this._core$_name = t1; }, ToolbarPositionDelegate: function ToolbarPositionDelegate(t0, t1, t2) { this.textFieldGlobalOffset = t0; this.desiredTopAnchorInTextField = t1; this.desiredBottomAnchorInTextField = t2; }, HandleType: function HandleType(t0, t1) { this.index = t0; this._core$_name = t1; }, ToolbarConfig: function ToolbarConfig() { }, ViewportBoundsReporter: function ViewportBoundsReporter(t0, t1, t2) { this.viewportOuterConstraints = t0; this.child = t1; this.key = t2; }, RenderViewportBoundsReporter: function RenderViewportBoundsReporter(t0, t1) { var _ = this; _.__RenderViewportBoundsReporter_viewportOuterConstraints_A = $; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, ViewportBoundsReplicator: function ViewportBoundsReplicator(t0, t1, t2) { this.viewportOuterConstraints = t0; this.child = t1; this.key = t2; }, RenderViewportBoundsReplicator: function RenderViewportBoundsReplicator(t0, t1) { var _ = this; _.__RenderViewportBoundsReplicator_viewportOuterConstraints_A = $; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, AndroidEditingOverlayControls: function AndroidEditingOverlayControls(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.editingController = t0; _.textScrollController = t1; _.textFieldKey = t2; _.textContentLayerLink = t3; _.textContentKey = t4; _.tapRegionGroupId = t5; _.handleColor = t6; _.showDebugPaint = t7; _.popoverToolbarBuilder = t8; _.key = t9; }, _AndroidEditingOverlayControlsState: function _AndroidEditingOverlayControlsState(t0, t1, t2, t3) { var _ = this; _._collapsedHandleKey = t0; _.__editing_controls0$_upstreamHandleKey = t1; _.__editing_controls0$_downstreamHandleKey = t2; _.__editing_controls0$_isDraggingExtent = _.__editing_controls0$_isDraggingBase = _._isDraggingCollapsed = false; _._touchHandleOffsetFromLineOfText = _.__editing_controls0$_localDragOffset = _.__editing_controls0$_globalDragOffset = null; _._needToSyncSelectionWithHandleLocation = false; _._widget = _._collapsedHandleOffset = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _AndroidEditingOverlayControlsState_initState_closure: function _AndroidEditingOverlayControlsState_initState_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState_didUpdateWidget_closure: function _AndroidEditingOverlayControlsState_didUpdateWidget_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState__rebuildOnNextFrame_closure: function _AndroidEditingOverlayControlsState__rebuildOnNextFrame_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState__onCollapsedPanStart_closure: function _AndroidEditingOverlayControlsState__onCollapsedPanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, _AndroidEditingOverlayControlsState__onBasePanStart_closure: function _AndroidEditingOverlayControlsState__onBasePanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, _AndroidEditingOverlayControlsState__onExtentPanStart_closure: function _AndroidEditingOverlayControlsState__onExtentPanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, _AndroidEditingOverlayControlsState__onPanUpdate_closure: function _AndroidEditingOverlayControlsState__onPanUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, _AndroidEditingOverlayControlsState__updateSelectionForDragHandleAfterScrollChange_closure: function _AndroidEditingOverlayControlsState__updateSelectionForDragHandleAfterScrollChange_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState__onHandleDragEnd_closure: function _AndroidEditingOverlayControlsState__onHandleDragEnd_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState__updateOffsetForCollapsedHandle_closure: function _AndroidEditingOverlayControlsState__updateOffsetForCollapsedHandle_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState__updateOffsetForCollapsedHandle_closure0: function _AndroidEditingOverlayControlsState__updateOffsetForCollapsedHandle_closure0(t0, t1) { this.$this = t0; this.offset = t1; }, _AndroidEditingOverlayControlsState_build_closure: function _AndroidEditingOverlayControlsState_build_closure(t0) { this.$this = t0; }, _AndroidEditingOverlayControlsState__buildToolbar_closure: function _AndroidEditingOverlayControlsState__buildToolbar_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.textFieldGlobalOffset = t2; }, _AndroidEditingOverlayControlsState__buildHandle_closure: function _AndroidEditingOverlayControlsState__buildHandle_closure(t0, t1) { this.$this = t0; this.handleType = t1; }, AndroidEditingOverlayController: function AndroidEditingOverlayController(t0, t1, t2, t3) { var _ = this; _._isToolbarVisible = false; _.textController = t0; _.caretBlinkController = t1; _.__editing_controls0$_magnifierFocalPoint = t2; _._areHandlesVisible = _.__editing_controls0$_isMagnifierVisible = false; _._handleAutoHideTimer = null; _._isCollapsedHandleAutoHidden = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AndroidEditingOverlayController_Object_ChangeNotifier: function _AndroidEditingOverlayController_Object_ChangeNotifier() { }, __AndroidEditingOverlayControlsState_State_WidgetsBindingObserver: function __AndroidEditingOverlayControlsState_State_WidgetsBindingObserver() { }, AndroidTextFieldTouchInteractor: function AndroidTextFieldTouchInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.focusNode = t0; _.textController = t1; _.editingOverlayController = t2; _.textScrollController = t3; _.textKey = t4; _.getGlobalCaretRect = t5; _.showDebugPaint = t6; _.child = t7; _.key = t8; }, AndroidTextFieldTouchInteractorState: function AndroidTextFieldTouchInteractorState(t0, t1, t2, t3) { var _ = this; _.__user_interaction0$_textViewportOffsetLink = t0; _.__user_interaction0$_isDraggingCaret = false; _.__user_interaction0$_dragOffset = _.__user_interaction0$_globalDragOffset = null; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, AndroidTextFieldTouchInteractorState__onTextOrSelectionChange_closure: function AndroidTextFieldTouchInteractorState__onTextOrSelectionChange_closure(t0) { this.$this = t0; }, AndroidTextFieldTouchInteractorState__onDoubleTapDown_closure: function AndroidTextFieldTouchInteractorState__onDoubleTapDown_closure(t0, t1) { this.$this = t0; this.tapTextPosition = t1; }, AndroidTextFieldTouchInteractorState__onPanStart_closure: function AndroidTextFieldTouchInteractorState__onPanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, AndroidTextFieldTouchInteractorState__onPanUpdate_closure: function AndroidTextFieldTouchInteractorState__onPanUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, AndroidTextFieldTouchInteractorState__onHandleDragEnd_closure: function AndroidTextFieldTouchInteractorState__onHandleDragEnd_closure(t0) { this.$this = t0; }, AndroidTextFieldTouchInteractorState__onScrollChange_closure: function AndroidTextFieldTouchInteractorState__onScrollChange_closure(t0) { this.$this = t0; }, AndroidTextFieldTouchInteractorState_build_closure: function AndroidTextFieldTouchInteractorState_build_closure() { }, AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure: function AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure() { }, AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure0: function AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure1: function AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure1() { }, AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure2: function AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure3: function AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure3() { }, AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure4: function AndroidTextFieldTouchInteractorState__buildTapAndDragDetector_closure4(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _AndroidTextFieldTouchInteractorState_State_TickerProviderStateMixin: function _AndroidTextFieldTouchInteractorState_State_TickerProviderStateMixin() { }, _defaultAndroidToolbarBuilder(context, controller, config) { var t2, _null = null, t1 = controller.textController._realController.get$selection(), isSelectionExpanded = t1.start !== t1.end; t1 = isSelectionExpanded ? new A._defaultAndroidToolbarBuilder_closure(controller) : _null; t2 = isSelectionExpanded ? new A._defaultAndroidToolbarBuilder_closure0(controller) : _null; return new A.AndroidTextEditingFloatingToolbar(_null, t1, t2, new A._defaultAndroidToolbarBuilder_closure1(controller), new A._defaultAndroidToolbarBuilder_closure2(controller), _null); }, _onToolbarCutPressed(controller) { var selectedText, t1 = controller.textController._realController, selection = t1.get$selection(), t2 = selection.start, t3 = selection.end; if (t2 === t3) return; selectedText = B.JSString_methods.substring$2(t1.get$text(t1).text, t2, t3); t1.deleteSelectedText$0(); A.Clipboard_setData(new A.ClipboardData(selectedText)); }, _onToolbarPastePressed(controller) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, t1, selection, clipboardContent; var $async$_onToolbarPastePressed = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.Clipboard_getData("text/plain"), $async$_onToolbarPastePressed); case 3: // returning from await. clipboardContent = $async$result; if (clipboardContent == null || false) { // goto return $async$goto = 1; break; } t1 = controller.textController._realController; selection = t1.get$selection(); if (selection.start === selection.end) t1.insertAtCaret$2$newComposingRegion$text(null, clipboardContent.text); else t1.replaceSelectionWithUnstyledText$2$newComposingRegion$replacementText(null, clipboardContent.text); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_onToolbarPastePressed, $async$completer); }, SuperAndroidTextField: function SuperAndroidTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.focusNode = t0; _.tapRegionGroupId = t1; _.textController = t2; _.textAlign = t3; _.textStyleBuilder = t4; _.hintBehavior = t5; _.hintBuilder = t6; _.caretStyle = t7; _.blinkTimingMode = t8; _.selectionColor = t9; _.handlesColor = t10; _.minLines = t11; _.maxLines = t12; _.lineHeight = t13; _.textInputAction = t14; _.imeConfiguration = t15; _.showComposingUnderline = t16; _.padding = t17; _.key = t18; }, SuperAndroidTextFieldState: function SuperAndroidTextFieldState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._android_textfield$_textFieldKey = t0; _._android_textfield$_textFieldLayerLink = t1; _._android_textfield$_textContentLayerLink = t2; _._android_textfield$_scrollKey = t3; _._android_textfield$_textContentKey = t4; _.__SuperAndroidTextFieldState__textEditingController_A = _.__SuperAndroidTextFieldState__focusNode_A = $; _._magnifierLayerLink = t5; _.__SuperAndroidTextFieldState__textScrollController_A = _.__SuperAndroidTextFieldState__editingOverlayController_A = $; _._android_textfield$_popoverController = t6; _.__SuperAndroidTextFieldState__caretBlinkController_F = $; _._popoverRebuildSignal = t7; _.TickerProviderStateMixin__tickers = t8; _.TickerProviderStateMixin__tickerModeNotifier = t9; _._widget = null; _._debugLifecycleState = t10; _._framework$_element = null; }, SuperAndroidTextFieldState_initState_closure: function SuperAndroidTextFieldState_initState_closure(t0) { this.$this = t0; }, SuperAndroidTextFieldState_initState_closure0: function SuperAndroidTextFieldState_initState_closure0(t0) { this.$this = t0; }, SuperAndroidTextFieldState_dispose_closure: function SuperAndroidTextFieldState_dispose_closure(t0) { this.$this = t0; }, SuperAndroidTextFieldState_didChangeMetrics_closure: function SuperAndroidTextFieldState_didChangeMetrics_closure(t0) { this.$this = t0; }, SuperAndroidTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure: function SuperAndroidTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure(t0) { this.$this = t0; }, SuperAndroidTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure0: function SuperAndroidTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure0(t0) { this.$this = t0; }, SuperAndroidTextFieldState__buildTextField_closure: function SuperAndroidTextFieldState__buildTextField_closure(t0) { this.$this = t0; }, SuperAndroidTextFieldState__buildSelectableText_closure0: function SuperAndroidTextFieldState__buildSelectableText_closure0(t0) { this.$this = t0; }, SuperAndroidTextFieldState__buildSelectableText_closure: function SuperAndroidTextFieldState__buildSelectableText_closure(t0) { this.$this = t0; }, SuperAndroidTextFieldState__buildPopoverToolbar_closure: function SuperAndroidTextFieldState__buildPopoverToolbar_closure(t0) { this.$this = t0; }, _defaultAndroidToolbarBuilder_closure: function _defaultAndroidToolbarBuilder_closure(t0) { this.controller = t0; }, _defaultAndroidToolbarBuilder_closure0: function _defaultAndroidToolbarBuilder_closure0(t0) { this.controller = t0; }, _defaultAndroidToolbarBuilder_closure1: function _defaultAndroidToolbarBuilder_closure1(t0) { this.controller = t0; }, _defaultAndroidToolbarBuilder_closure2: function _defaultAndroidToolbarBuilder_closure2(t0) { this.controller = t0; }, _SuperAndroidTextFieldState_State_TickerProviderStateMixin: function _SuperAndroidTextFieldState_State_TickerProviderStateMixin() { }, _SuperAndroidTextFieldState_State_TickerProviderStateMixin_WidgetsBindingObserver: function _SuperAndroidTextFieldState_State_TickerProviderStateMixin_WidgetsBindingObserver() { }, DefaultSuperTextFieldKeyboardHandlers_copyTextWhenCmdCIsPressed(keyEvent, textFieldContext) { var t1; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_99)) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller._realController; if (t1.get$selection().extentOffset === -1) return B.TextFieldKeyboardHandlerResult_3; t1.copySelectedTextToClipboard$0(); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_pasteTextWhenCmdVIsPressed(keyEvent, textFieldContext) { var t1, t2; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_118)) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller._realController; if (t1.get$selection().extentOffset === -1) return B.TextFieldKeyboardHandlerResult_3; t2 = t1.get$selection(); if (t2.start !== t2.end) t1.deleteSelectedText$0(); t1.pasteClipboard$0(); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_selectAllTextFieldWhenCmdAIsPressed(keyEvent, textFieldContext) { var t1; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_97)) return B.TextFieldKeyboardHandlerResult_3; textFieldContext.controller._realController.selectAll$0(); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_moveCaretToStartOrEnd(keyEvent, textFieldContext) { var t2, moveLeft, t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849))) return B.TextFieldKeyboardHandlerResult_3; if (A.defaultTargetPlatform() !== B.TargetPlatform_4) return B.TextFieldKeyboardHandlerResult_3; t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_97) && !t1.$eq(0, B.LogicalKeyboardKey_101)) return B.TextFieldKeyboardHandlerResult_3; t2 = textFieldContext.controller; if (t2._realController.get$selection().extentOffset === -1) return B.TextFieldKeyboardHandlerResult_3; if (t1.$eq(0, B.LogicalKeyboardKey_97)) moveLeft = true; else { t1.$eq(0, B.LogicalKeyboardKey_101); moveLeft = false; } t2.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, moveLeft, B.MovementModifier_line, textFieldContext.getTextLayout.call$0()); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_moveUpDownLeftAndRightWithArrowKeys(keyEvent, textFieldContext) { var t2, t3, t4, movementModifier, _null = null, t1 = keyEvent.logicalKey; if (!B.JSArray_methods.contains$1(B.List_Vau, t1)) return B.TextFieldKeyboardHandlerResult_3; t2 = textFieldContext.controller; t3 = t2._realController; t4 = t3.get$composingRegion().get$isValid(); if (t4) return B.TextFieldKeyboardHandlerResult_1; if (t3.get$selection().extentOffset === -1) return B.TextFieldKeyboardHandlerResult_0; if (A.defaultTargetPlatform() === B.TargetPlatform_5) { t4 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t4._pressedKeys; t4 = t4.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t4.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t4 = false; if (t4) return B.TextFieldKeyboardHandlerResult_3; if (A.defaultTargetPlatform() === B.TargetPlatform_3) { t4 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t4._pressedKeys; if (t4.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t4.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853)) t4 = t1.$eq(0, B.LogicalKeyboardKey_4294968068) || t1.$eq(0, B.LogicalKeyboardKey_4294968065); else t4 = false; } else t4 = false; if (t4) return B.TextFieldKeyboardHandlerResult_3; if (t1.$eq(0, B.LogicalKeyboardKey_4294968066)) { $.$get$_log0().log$4(B.Level_FINER_400, "moveUpDownLeftAndRightWithArrowKeys - handling left arrow key", _null, _null); if (A.defaultTargetPlatform() === B.TargetPlatform_5 || A.defaultTargetPlatform() === B.TargetPlatform_3) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; if (t1) movementModifier = B.MovementModifier_word; else { if (A.defaultTargetPlatform() === B.TargetPlatform_4) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (t1) movementModifier = B.MovementModifier_line; else { if (A.defaultTargetPlatform() === B.TargetPlatform_4) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t1 = false; movementModifier = t1 ? B.MovementModifier_word : _null; } } t1 = textFieldContext.getTextLayout.call$0(); t3 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._pressedKeys; t2.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(t3.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t3.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851), true, movementModifier, t1); } else if (t1.$eq(0, B.LogicalKeyboardKey_4294968067)) { $.$get$_log0().log$4(B.Level_FINER_400, "moveUpDownLeftAndRightWithArrowKeys - handling right arrow key", _null, _null); if (A.defaultTargetPlatform() === B.TargetPlatform_5 || A.defaultTargetPlatform() === B.TargetPlatform_3) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; if (t1) movementModifier = B.MovementModifier_word; else { if (A.defaultTargetPlatform() === B.TargetPlatform_4) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (t1) movementModifier = B.MovementModifier_line; else { if (A.defaultTargetPlatform() === B.TargetPlatform_4) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t1 = false; movementModifier = t1 ? B.MovementModifier_word : _null; } } t1 = textFieldContext.getTextLayout.call$0(); t3 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._pressedKeys; t2.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(t3.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t3.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851), false, movementModifier, t1); } else if (t1.$eq(0, B.LogicalKeyboardKey_4294968068)) { $.$get$_log0().log$4(B.Level_FINER_400, "moveUpDownLeftAndRightWithArrowKeys - handling up arrow key", _null, _null); t1 = textFieldContext.getTextLayout.call$0(); t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t3.moveCaretVertically$3$expandSelection$moveUp$textLayout(t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851), true, t1); } else if (t1.$eq(0, B.LogicalKeyboardKey_4294968065)) { $.$get$_log0().log$4(B.Level_FINER_400, "moveUpDownLeftAndRightWithArrowKeys - handling down arrow key", _null, _null); t1 = textFieldContext.getTextLayout.call$0(); t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t3.moveCaretVertically$3$expandSelection$moveUp$textLayout(t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851), false, t1); } return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_moveToLineStartWithHome(keyEvent, textFieldContext) { var t1, t2; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.TextFieldKeyboardHandlerResult_3; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968070)) { t1 = textFieldContext.getTextLayout.call$0(); t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(t2, true, B.MovementModifier_line, t1); return B.TextFieldKeyboardHandlerResult_0; } return B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_moveToLineEndWithEnd(keyEvent, textFieldContext) { var t1, t2; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.TextFieldKeyboardHandlerResult_3; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968069)) { t1 = textFieldContext.getTextLayout.call$0(); t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(t2, false, B.MovementModifier_line, t1); return B.TextFieldKeyboardHandlerResult_0; } return B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_insertCharacterWhenKeyIsPressed(keyEvent, textFieldContext) { var t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855))) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = true; if (t1) return B.TextFieldKeyboardHandlerResult_3; t1 = keyEvent.character; if (t1 == null || t1 === "") return B.TextFieldKeyboardHandlerResult_3; t1.toString; if (A.LogicalKeyboardKey_isControlCharacter(t1)) return B.TextFieldKeyboardHandlerResult_3; if (A.isKeyEventCharacterBlacklisted(t1)) return B.TextFieldKeyboardHandlerResult_3; textFieldContext.controller._realController.insertCharacter$1(t1); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_deleteTextOnLineBeforeCaretWhenShortcutKeyAndBackspaceIsPressed(keyEvent, textFieldContext) { var t1, t2; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller._realController; if (t1.get$selection().extentOffset < 0) return B.TextFieldKeyboardHandlerResult_3; t2 = t1.get$selection(); if (t2.start !== t2.end) { t1.deleteSelection$1$newComposingRegion(null); return B.TextFieldKeyboardHandlerResult_0; } t2 = textFieldContext.getTextLayout; if (t2.call$0().getPositionAtStartOfLine$1(t1.get$selection().get$extent()).offset === t1.get$selection().extentOffset) return B.TextFieldKeyboardHandlerResult_0; t1.deleteTextOnLineBeforeCaret$1$textLayout(t2.call$0()); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_deleteTextWhenBackspaceOrDeleteIsPressed(keyEvent, textFieldContext, textLayout) { var t2, t1 = keyEvent.logicalKey, isBackspace = t1.$eq(0, B.LogicalKeyboardKey_4294967304), isDelete = t1.$eq(0, B.LogicalKeyboardKey_4294967423); if (!isBackspace && !isDelete) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller._realController; if (t1.get$selection().extentOffset < 0) return B.TextFieldKeyboardHandlerResult_3; t2 = t1.get$selection(); if (t2.start === t2.end) t1.deleteCharacter$1(isBackspace ? B.TextAffinity_0 : B.TextAffinity_1); else t1.deleteSelectedText$0(); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_deleteWordWhenAltBackSpaceIsPressedOnMac(keyEvent, textFieldContext) { var t1; if (A.defaultTargetPlatform() !== B.TargetPlatform_4) return B.TextFieldKeyboardHandlerResult_3; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853)); } else t1 = true; if (t1) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller; if (t1._realController.get$selection().extentOffset < 0) return B.TextFieldKeyboardHandlerResult_3; A.DefaultSuperTextFieldKeyboardHandlers__deleteUpstreamWord(t1, textFieldContext.getTextLayout.call$0()); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_deleteWordWhenCtlBackSpaceIsPressedOnWindowsAndLinux(keyEvent, textFieldContext) { var t1; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.TextFieldKeyboardHandlerResult_3; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)); } else t1 = true; if (t1) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller; if (t1._realController.get$selection().extentOffset < 0) return B.TextFieldKeyboardHandlerResult_3; A.DefaultSuperTextFieldKeyboardHandlers__deleteUpstreamWord(t1, textFieldContext.getTextLayout.call$0()); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers__deleteUpstreamWord(controller, textLayout) { var t1 = controller._realController, t2 = t1.get$selection(); if (t2.start !== t2.end) { t1.deleteSelectedText$0(); return; } controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, true, B.MovementModifier_word, textLayout); t1.deleteSelectedText$0(); }, DefaultSuperTextFieldKeyboardHandlers_insertNewlineWhenEnterIsPressed(keyEvent, textFieldContext, textLayout) { var t2, t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967309) && !t1.$eq(0, B.LogicalKeyboardKey_8589935117)) return B.TextFieldKeyboardHandlerResult_3; t1 = textFieldContext.controller._realController; t2 = t1.get$selection(); if (t2.start !== t2.end) return B.TextFieldKeyboardHandlerResult_3; t1.insertNewline$0(); return B.TextFieldKeyboardHandlerResult_0; }, DefaultSuperTextFieldKeyboardHandlers_sendKeyEventToMacOs(keyEvent, textFieldContext) { A.defaultTargetPlatform(); return B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_scrollOnPageUp(keyEvent, textFieldContext) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968072)) return B.TextFieldKeyboardHandlerResult_3; return A._scrollPageUp(textFieldContext) ? B.TextFieldKeyboardHandlerResult_0 : B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_scrollOnPageDown(keyEvent, textFieldContext) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968071)) return B.TextFieldKeyboardHandlerResult_3; return A._scrollPageDown(textFieldContext) ? B.TextFieldKeyboardHandlerResult_0 : B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_scrollToBeginningOfDocumentOnCtrlOrCmdAndHome(keyEvent, textFieldContext) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968070)) return B.TextFieldKeyboardHandlerResult_3; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855)); } else t1 = false; if (t1) return B.TextFieldKeyboardHandlerResult_3; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)); } else t1 = false; if (t1) return B.TextFieldKeyboardHandlerResult_3; return A._scrollToBeginningOfDocument(textFieldContext) ? B.TextFieldKeyboardHandlerResult_0 : B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_scrollToEndOfDocumentOnCtrlOrCmdAndEnd(keyEvent, textFieldContext) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968069)) return B.TextFieldKeyboardHandlerResult_3; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855)); } else t1 = false; if (t1) return B.TextFieldKeyboardHandlerResult_3; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)); } else t1 = false; if (t1) return B.TextFieldKeyboardHandlerResult_3; return A._scrollToEndOfDocument(textFieldContext) ? B.TextFieldKeyboardHandlerResult_0 : B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_scrollToBeginningOfDocumentOnHomeOnMacOrWeb(keyEvent, textFieldContext) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968070)) return B.TextFieldKeyboardHandlerResult_3; A.defaultTargetPlatform(); return A._scrollToBeginningOfDocument(textFieldContext) ? B.TextFieldKeyboardHandlerResult_0 : B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_scrollToEndOfDocumentOnEndOnMacOrWeb(keyEvent, textFieldContext) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.TextFieldKeyboardHandlerResult_3; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968069)) return B.TextFieldKeyboardHandlerResult_3; A.defaultTargetPlatform(); return A._scrollToEndOfDocument(textFieldContext) ? B.TextFieldKeyboardHandlerResult_0 : B.TextFieldKeyboardHandlerResult_3; }, DefaultSuperTextFieldKeyboardHandlers_blockControlKeys(keyEvent, textFieldContext) { var t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967323)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968072)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968071)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968070)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968069)) { t1 = t1.keyId; t1 = t1 >= 4294969345 && t1 <= 4294969367; } else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; if (t1) return B.TextFieldKeyboardHandlerResult_1; return B.TextFieldKeyboardHandlerResult_3; }, _giveUpFocus(textFieldContext) { textFieldContext.focusNode.unfocus$0(); }, _moveFocusNext(textFieldContext) { var t1 = textFieldContext.focusNode, t2 = t1._focus_manager$_context; t2.toString; A.FocusTraversalGroup_maybeOf(t2)._moveFocus$2$forward(t1, true); }, _moveCaretUpstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, true, null, textFieldContext.getTextLayout.call$0()); }, _moveCaretDownstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, false, null, textFieldContext.getTextLayout.call$0()); }, _moveCaretUp(textFieldContext) { textFieldContext.controller._realController.moveCaretVertically$3$expandSelection$moveUp$textLayout(false, true, textFieldContext.getTextLayout.call$0()); }, _moveCaretDown(textFieldContext) { textFieldContext.controller._realController.moveCaretVertically$3$expandSelection$moveUp$textLayout(false, false, textFieldContext.getTextLayout.call$0()); }, _moveWordUpstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, true, B.MovementModifier_word, textFieldContext.getTextLayout.call$0()); }, _moveWordDownstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, false, B.MovementModifier_word, textFieldContext.getTextLayout.call$0()); }, _moveLineBeginning(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, true, B.MovementModifier_line, textFieldContext.getTextLayout.call$0()); }, _moveLineEnd(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(false, false, B.MovementModifier_line, textFieldContext.getTextLayout.call$0()); }, _expandSelectionUpstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, true, null, textFieldContext.getTextLayout.call$0()); }, _expandSelectionDownstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, false, null, textFieldContext.getTextLayout.call$0()); }, _expandSelectionLineUp(textFieldContext) { textFieldContext.controller._realController.moveCaretVertically$3$expandSelection$moveUp$textLayout(true, true, textFieldContext.getTextLayout.call$0()); }, _expandSelectionLineDown(textFieldContext) { textFieldContext.controller._realController.moveCaretVertically$3$expandSelection$moveUp$textLayout(true, false, textFieldContext.getTextLayout.call$0()); }, _expandSelectionWordUpstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, true, B.MovementModifier_word, textFieldContext.getTextLayout.call$0()); }, _expandSelectionWordDownstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, false, B.MovementModifier_word, textFieldContext.getTextLayout.call$0()); }, _expandSelectionLineUpstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, true, B.MovementModifier_line, textFieldContext.getTextLayout.call$0()); }, _expandSelectionLineDownstream(textFieldContext) { textFieldContext.controller.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, false, B.MovementModifier_line, textFieldContext.getTextLayout.call$0()); }, _deleteUpstream(textFieldContext) { var t1 = textFieldContext.controller._realController, t2 = t1.get$selection(); if (t2.start === t2.end) t1.deleteCharacter$1(B.TextAffinity_0); else t1.deleteSelectedText$0(); }, _deleteDownstream(textFieldContext) { var t1 = textFieldContext.controller._realController, t2 = t1.get$selection(); if (t2.start === t2.end) t1.deleteCharacter$1(B.TextAffinity_1); else t1.deleteSelectedText$0(); }, _deleteWordUpstream(textFieldContext) { var t1 = textFieldContext.controller, t2 = t1._realController, t3 = t2.get$selection(); if (t3.start !== t3.end) { t2.deleteSelectedText$0(); return; } t1.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, true, B.MovementModifier_word, textFieldContext.getTextLayout.call$0()); t2.deleteSelectedText$0(); }, _deleteWordDownstream(textFieldContext) { var t1 = textFieldContext.controller, t2 = t1._realController, t3 = t2.get$selection(); if (t3.start !== t3.end) { t2.deleteSelectedText$0(); return; } t1.moveCaretHorizontally$4$expandSelection$moveLeft$movementModifier$textLayout(true, false, B.MovementModifier_word, textFieldContext.getTextLayout.call$0()); t2.deleteSelectedText$0(); }, _deleteToBeginningOfLine(textFieldContext) { var t1 = textFieldContext.controller._realController, t2 = t1.get$selection(); if (t2.start !== t2.end) { t1.deleteSelection$1$newComposingRegion(null); return; } t2 = textFieldContext.getTextLayout; if (t2.call$0().getPositionAtStartOfLine$1(t1.get$selection().get$extent()).offset === t1.get$selection().extentOffset) return; t1.deleteTextOnLineBeforeCaret$1$textLayout(t2.call$0()); }, _deleteToEndOfLine(textFieldContext) { var endOfLinePosition, t1 = textFieldContext.controller, t2 = t1._realController, t3 = t2.get$selection(); if (t3.start !== t3.end) { t2.deleteSelection$1$newComposingRegion(null); return; } t3 = textFieldContext.getTextLayout; if (t3.call$0().getPositionAtEndOfLine$1(t2.get$selection().get$extent()).offset === t2.get$selection().extentOffset) return; endOfLinePosition = t3.call$0().getPositionAtEndOfLine$1(t1.get$selection().get$extent()); t1.set$selection(A.TextSelection$(B.TextAffinity_1, t1.get$selection().extentOffset, endOfLinePosition.offset, false)); t2 = t1.get$selection(); if (t2.start !== t2.end) t1.deleteSelectedText$0(); }, _scrollToBeginningOfDocument(textFieldContext) { var ancestorScrollable, textFieldScroller = textFieldContext.scroller, t1 = A.ScrollableFinder_get_findAncestorScrollableWithVerticalScroll(textFieldContext.textFieldBuildContext); if (t1 == null) ancestorScrollable = null; else { t1 = t1._scrollable$_position; t1.toString; ancestorScrollable = t1; } t1 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t1.toString; if (t1 === 0 && ancestorScrollable == null) return false; t1 = textFieldScroller._text_field_scroller$_scrollController.get$position(0)._pixels; t1.toString; if (t1 > 0) { t1 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._minScrollExtent; t1.toString; textFieldScroller._text_field_scroller$_scrollController.animateTo$3$curve$duration(t1, B.C__DecelerateCurve, B.Duration_150000); return true; } if (ancestorScrollable == null) return false; t1 = ancestorScrollable._minScrollExtent; t1.toString; ancestorScrollable.animateTo$3$curve$duration(t1, B.C__DecelerateCurve, B.Duration_150000); return true; }, _scrollToEndOfDocument(textFieldContext) { var ancestorScrollable, t2, textFieldScroller = textFieldContext.scroller, t1 = A.ScrollableFinder_get_findAncestorScrollableWithVerticalScroll(textFieldContext.textFieldBuildContext); if (t1 == null) ancestorScrollable = null; else { t1 = t1._scrollable$_position; t1.toString; ancestorScrollable = t1; } t1 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t1.toString; if (t1 === 0 && ancestorScrollable == null) return false; t1 = textFieldScroller._text_field_scroller$_scrollController.get$position(0)._pixels; t1.toString; t2 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t2.toString; if (t1 < t2) { t1 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t1.toString; textFieldScroller._text_field_scroller$_scrollController.animateTo$3$curve$duration(t1, B.C__DecelerateCurve, B.Duration_150000); return true; } if (ancestorScrollable == null) return false; t1 = ancestorScrollable._maxScrollExtent; t1.toString; if (!isFinite(t1)) return false; ancestorScrollable.animateTo$3$curve$duration(t1, B.C__DecelerateCurve, B.Duration_150000); return true; }, _scrollPageUp(textFieldContext) { var ancestorScrollable, t2, t3, textFieldScroller = textFieldContext.scroller, t1 = A.ScrollableFinder_get_findAncestorScrollableWithVerticalScroll(textFieldContext.textFieldBuildContext); if (t1 == null) ancestorScrollable = null; else { t1 = t1._scrollable$_position; t1.toString; ancestorScrollable = t1; } t1 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t1.toString; if (t1 === 0 && ancestorScrollable == null) return false; t1 = textFieldScroller._text_field_scroller$_scrollController.get$position(0)._pixels; t1.toString; if (t1 > 0) { t1 = textFieldScroller._text_field_scroller$_scrollController.get$position(0)._pixels; t1.toString; t2 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._viewportDimension; t2.toString; t3 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._minScrollExtent; t3.toString; t3 = Math.max(t1 - t2, t3); textFieldScroller._text_field_scroller$_scrollController.animateTo$3$curve$duration(t3, B.C__DecelerateCurve, B.Duration_150000); return true; } if (ancestorScrollable == null) return false; t1 = ancestorScrollable._pixels; t1.toString; t2 = ancestorScrollable._viewportDimension; t2.toString; t3 = ancestorScrollable._minScrollExtent; t3.toString; ancestorScrollable.animateTo$3$curve$duration(Math.max(t1 - t2, t3), B.C__DecelerateCurve, B.Duration_150000); return true; }, _scrollPageDown(textFieldContext) { var ancestorScrollable, t2, t3, textFieldScroller = textFieldContext.scroller, t1 = A.ScrollableFinder_get_findAncestorScrollableWithVerticalScroll(textFieldContext.textFieldBuildContext); if (t1 == null) ancestorScrollable = null; else { t1 = t1._scrollable$_position; t1.toString; ancestorScrollable = t1; } t1 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t1.toString; if (t1 === 0 && ancestorScrollable == null) return false; t1 = textFieldScroller._text_field_scroller$_scrollController.get$position(0)._pixels; t1.toString; t2 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t2.toString; if (t1 < t2) { t1 = textFieldScroller._text_field_scroller$_scrollController.get$position(0)._pixels; t1.toString; t2 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._viewportDimension; t2.toString; t3 = B.JSArray_methods.get$single(textFieldScroller._text_field_scroller$_scrollController._positions)._maxScrollExtent; t3.toString; t3 = Math.min(t1 + t2, t3); textFieldScroller._text_field_scroller$_scrollController.animateTo$3$curve$duration(t3, B.C__DecelerateCurve, B.Duration_150000); return true; } if (ancestorScrollable == null) return false; t1 = ancestorScrollable._pixels; t1.toString; t2 = ancestorScrollable._viewportDimension; t2.toString; t3 = ancestorScrollable._maxScrollExtent; t3.toString; ancestorScrollable.animateTo$3$curve$duration(Math.min(t1 + t2, t3), B.C__DecelerateCurve, B.Duration_150000); return true; }, SuperDesktopTextField: function SuperDesktopTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.focusNode = t0; _.tapRegionGroupId = t1; _.textController = t2; _.textStyleBuilder = t3; _.hintBehavior = t4; _.hintBuilder = t5; _.textAlign = t6; _.selectionHighlightStyle = t7; _.caretStyle = t8; _.blinkTimingMode = t9; _.padding = t10; _.minLines = t11; _.maxLines = t12; _.inputSource = t13; _.keyboardHandlers = t14; _.selectorHandlers = t15; _.textInputAction = t16; _.imeConfiguration = t17; _.showComposingUnderline = t18; _.key = t19; }, SuperDesktopTextFieldState: function SuperDesktopTextFieldState(t0, t1, t2, t3) { var _ = this; _._desktop_textfield$_textKey = t0; _._textScrollKey = t1; _.__SuperDesktopTextFieldState__focusNode_A = $; _._desktop_textfield$_hasFocus = false; _.__SuperDesktopTextFieldState__textFieldScroller_A = _.__SuperDesktopTextFieldState__scrollController_A = _.__SuperDesktopTextFieldState__controller_A = _.__SuperDesktopTextFieldState__textFieldContext_A = $; _._viewportHeight = null; _._estimatedLineHeight = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, SuperDesktopTextFieldState__createTextFieldContext_closure: function SuperDesktopTextFieldState__createTextFieldContext_closure(t0) { this.$this = t0; }, SuperDesktopTextFieldState__onSelectionOrContentChange_closure: function SuperDesktopTextFieldState__onSelectionOrContentChange_closure(t0) { this.$this = t0; }, SuperDesktopTextFieldState__updateViewportHeight_closure: function SuperDesktopTextFieldState__updateViewportHeight_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, SuperDesktopTextFieldState_build_closure: function SuperDesktopTextFieldState_build_closure(t0) { this.$this = t0; }, SuperDesktopTextFieldState_build_closure0: function SuperDesktopTextFieldState_build_closure0(t0, t1) { this.$this = t0; this.isMultiline = t1; }, SuperDesktopTextFieldState__buildSelectableText_closure0: function SuperDesktopTextFieldState__buildSelectableText_closure0(t0) { this.$this = t0; }, SuperDesktopTextFieldState__buildSelectableText_closure: function SuperDesktopTextFieldState__buildSelectableText_closure(t0) { this.$this = t0; }, SuperTextFieldGestureInteractor: function SuperTextFieldGestureInteractor(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.focusNode = t0; _.textController = t1; _.textKey = t2; _.textScrollKey = t3; _.isMultiline = t4; _.onRightClick = t5; _.child = t6; _.key = t7; }, _SuperTextFieldGestureInteractorState: function _SuperTextFieldGestureInteractorState(t0, t1) { var _ = this; _._selectionType = t0; _._widget = _._panGestureDevice = _._dragRectInViewport = _._dragEndInText = _._dragEndInViewport = _._dragStartInText = _._dragStartInViewport = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _SuperTextFieldGestureInteractorState__onTapDown_closure: function _SuperTextFieldGestureInteractorState__onTapDown_closure(t0, t1, t2) { this.$this = t0; this.expandSelection = t1; this.tapTextPosition = t2; }, _SuperTextFieldGestureInteractorState__onDoubleTapDown_closure: function _SuperTextFieldGestureInteractorState__onDoubleTapDown_closure(t0, t1) { this.$this = t0; this.tapTextPosition = t1; }, _SuperTextFieldGestureInteractorState__onTripleTapDown_closure: function _SuperTextFieldGestureInteractorState__onTripleTapDown_closure(t0, t1) { this.$this = t0; this.tapTextPosition = t1; }, _SuperTextFieldGestureInteractorState__onPanUpdate_closure: function _SuperTextFieldGestureInteractorState__onPanUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, _SuperTextFieldGestureInteractorState__onPanEnd_closure: function _SuperTextFieldGestureInteractorState__onPanEnd_closure(t0) { this.$this = t0; }, _SuperTextFieldGestureInteractorState__onPanCancel_closure: function _SuperTextFieldGestureInteractorState__onPanCancel_closure(t0) { this.$this = t0; }, _SuperTextFieldGestureInteractorState__updateDragSelection_closure: function _SuperTextFieldGestureInteractorState__updateDragSelection_closure(t0) { this.$this = t0; }, _SuperTextFieldGestureInteractorState__clearSelection_closure: function _SuperTextFieldGestureInteractorState__clearSelection_closure(t0) { this.$this = t0; }, _SuperTextFieldGestureInteractorState_build_closure3: function _SuperTextFieldGestureInteractorState_build_closure3(t0) { this.$this = t0; }, _SuperTextFieldGestureInteractorState_build_closure: function _SuperTextFieldGestureInteractorState_build_closure() { }, _SuperTextFieldGestureInteractorState_build_closure0: function _SuperTextFieldGestureInteractorState_build_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, _SuperTextFieldGestureInteractorState_build_closure1: function _SuperTextFieldGestureInteractorState_build_closure1() { }, _SuperTextFieldGestureInteractorState_build_closure2: function _SuperTextFieldGestureInteractorState_build_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, SuperTextFieldKeyboardInteractor: function SuperTextFieldKeyboardInteractor(t0, t1, t2, t3, t4) { var _ = this; _.focusNode = t0; _.textFieldContext = t1; _.keyboardActions = t2; _.child = t3; _.key = t4; }, _SuperTextFieldKeyboardInteractorState: function _SuperTextFieldKeyboardInteractorState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, SuperTextFieldImeInteractor: function SuperTextFieldImeInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.focusNode = t0; _.textFieldContext = t1; _.isMultiline = t2; _.textKey = t3; _.selectorHandlers = t4; _.textInputAction = t5; _.imeConfiguration = t6; _.textStyleBuilder = t7; _.textAlign = t8; _.textDirection = t9; _.child = t10; _.key = t11; }, _SuperTextFieldImeInteractorState: function _SuperTextFieldImeInteractorState(t0) { var _ = this; _.___SuperTextFieldImeInteractorState__textController_A = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SuperTextFieldImeInteractorState_initState_closure: function _SuperTextFieldImeInteractorState_initState_closure(t0) { this.$this = t0; }, _SuperTextFieldImeInteractorState_didUpdateWidget_closure: function _SuperTextFieldImeInteractorState_didUpdateWidget_closure(t0) { this.$this = t0; }, _SuperTextFieldImeInteractorState__updateSelectionAndImeConnectionOnFocusChange_closure: function _SuperTextFieldImeInteractorState__updateSelectionAndImeConnectionOnFocusChange_closure(t0) { this.$this = t0; }, _SuperTextFieldImeInteractorState__updateSelectionAndImeConnectionOnFocusChange_closure0: function _SuperTextFieldImeInteractorState__updateSelectionAndImeConnectionOnFocusChange_closure0(t0) { this.$this = t0; }, _SuperTextFieldImeInteractorState__reportVisualInformationToIme_closure: function _SuperTextFieldImeInteractorState__reportVisualInformationToIme_closure(t0) { this.$this = t0; }, SuperTextFieldScrollview: function SuperTextFieldScrollview(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.textController = t0; _.textKey = t1; _.scrollController = t2; _.viewportHeight = t3; _.estimatedLineHeight = t4; _.isMultiline = t5; _.child = t6; _.key = t7; }, SuperTextFieldScrollviewState: function SuperTextFieldScrollviewState(t0, t1, t2) { var _ = this; _._scrollToEndOnTick = _._scrollToStartOnTick = false; _._scrollAmountPerFrame = 0; _.__SuperTextFieldScrollviewState__ticker_A = $; _.SingleTickerProviderStateMixin__ticker = t0; _.SingleTickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, SuperTextFieldScrollviewState_didUpdateWidget_closure: function SuperTextFieldScrollviewState_didUpdateWidget_closure(t0) { this.$this = t0; }, SuperTextFieldScrollviewState__onSelectionOrContentChange_closure: function SuperTextFieldScrollviewState__onSelectionOrContentChange_closure(t0) { this.$this = t0; }, _SelectionType: function _SelectionType(t0, t1) { this.index = t0; this._core$_name = t1; }, TextFieldKeyboardHandlerResult: function TextFieldKeyboardHandlerResult(t0, t1) { this.index = t0; this._core$_name = t1; }, _EstimatedLineHeight: function _EstimatedLineHeight() { this._lastTextScaleFactor = this._lastComputedStyle = this._lastLineHeight = null; }, _SuperTextFieldScrollviewState_State_SingleTickerProviderStateMixin: function _SuperTextFieldScrollviewState_State_SingleTickerProviderStateMixin() { }, AttributedTextEditingController$(composingRegion, selection, text) { var t1 = A.AttributedText$(null, null); t1 = new A.AttributedTextEditingController(B.TextSelection_ke5, A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution), B.TextRange_m1_m1, t1, $.$get$ChangeNotifier__emptyListeners()); t1.AttributedTextEditingController$3$composingRegion$selection$text(composingRegion, selection, text); return t1; }, AttributedTextEditingController: function AttributedTextEditingController(t0, t1, t2, t3, t4) { var _ = this; _._attributed_text_editing_controller$_selection = t0; _._composingAttributions = t1; _._composingRegion = t2; _._attributed_text_editing_controller$_text = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AttributedTextEditingController_Object_ChangeNotifier: function _AttributedTextEditingController_Object_ChangeNotifier() { }, FillWidthIfConstrained: function FillWidthIfConstrained(t0, t1) { this.child = t0; this.key = t1; }, FillWidthIfConstrained__createViewportWidthLookup_closure: function FillWidthIfConstrained__createViewportWidthLookup_closure(t0, t1) { this.$this = t0; this.context = t1; }, RenderFillWidthIfConstrained: function RenderFillWidthIfConstrained(t0, t1, t2) { var _ = this; _._findAncestorScrollableWidth = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, HintBehavior: function HintBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, MagnifyingGlass: function MagnifyingGlass(t0, t1, t2, t3, t4) { var _ = this; _.offsetFromFocalPoint = t0; _.shape = t1; _.size = t2; _.magnificationScale = t3; _.key = t4; }, OuterBoxShadow: function OuterBoxShadow(t0, t1, t2, t3, t4) { var _ = this; _.spreadRadius = t0; _.blurStyle = t1; _.color = t2; _.offset = t3; _.blurRadius = t4; }, TextFieldScroller: function TextFieldScroller() { this._text_field_scroller$_scrollController = null; }, TextScrollView$(child, key, lineHeight, maxLines, minLines, padding, perLineAutoScrollDuration, showDebugPaint, textAlign, textEditingController, textKey, textScrollController) { return new A.TextScrollView(textScrollController, textKey, textEditingController, minLines, maxLines, lineHeight, perLineAutoScrollDuration, false, textAlign, padding, child, key); }, TextScrollController$(textController, tickerProvider) { var t1 = new A.TextScrollController(textController, B.Duration_0, B.Duration_0, $.$get$ChangeNotifier__emptyListeners()); t1.__TextScrollController__ticker_A = tickerProvider.createTicker$1(t1.get$_autoScrollTick()); return t1; }, TextScrollView: function TextScrollView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.textScrollController = t0; _.textKey = t1; _.textEditingController = t2; _.minLines = t3; _.maxLines = t4; _.lineHeight = t5; _.perLineAutoScrollDuration = t6; _.showDebugPaint = t7; _.textAlign = t8; _.padding = t9; _.child = t10; _.key = t11; }, _TextScrollViewState: function _TextScrollViewState(t0, t1, t2, t3, t4) { var _ = this; _._textFieldViewportKey = t0; _._text_scrollview$_scrollController = t1; _.SingleTickerProviderStateMixin__ticker = t2; _.SingleTickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, TextScrollController: function TextScrollController(t0, t1, t2, t3) { var _ = this; _._text_scrollview$_textController = t0; _._text_scrollview$_delegate = null; _.__TextScrollController__ticker_A = $; _._scrollOffset = 0; _._userInteractionOffsetInViewport = _._autoScrollDirection = null; _._timeOfPreviousAutoScroll = t1; _._timeOfNextAutoScroll = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AutoScrollDirection: function _AutoScrollDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, _TextLinesLimiter: function _TextLinesLimiter(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.textKey = t0; _.scrollController = t1; _.minLines = t2; _.maxLines = t3; _.lineHeight = t4; _.padding = t5; _.child = t6; _.key = t7; }, _RenderTextViewport: function _RenderTextViewport(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._textKey = t0; _.___RenderTextViewport__scrollController_A = t1; _._text_scrollview$_maxLines = t2; _._text_scrollview$_minLines = t3; _._text_scrollview$_lineHeight = t4; _._text_scrollview$_padding = t5; _.RenderObjectWithChildMixin__child = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _TextScrollController_Object_ChangeNotifier: function _TextScrollController_Object_ChangeNotifier() { }, __TextScrollViewState_State_SingleTickerProviderStateMixin: function __TextScrollViewState_State_SingleTickerProviderStateMixin() { }, ImeAttributedTextEditingController$(controller, disposeClientController) { var _null = null, t1 = $.$get$ChangeNotifier__emptyListeners(), t2 = controller == null ? A.AttributedTextEditingController$(_null, _null, _null) : controller, t3 = A.AttributedText$(_null, _null); t1 = new A.ImeAttributedTextEditingController(B.Brightness_1, t2, disposeClientController, new A.ValueNotifier(_null, t1, type$.ValueNotifier_nullable_TextInputConnection), B.TextEditingValue_li8, B.TextSelection_ke5, A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution), B.TextRange_m1_m1, t3, t1); t1.AttributedTextEditingController$3$composingRegion$selection$text(_null, _null, _null); t2.addListener$1(0, t1.get$_onInnerControllerChange()); return t1; }, ImeAttributedTextEditingController: function ImeAttributedTextEditingController(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._keyboardAppearance = t0; _.onPerformSelector = null; _._realController = t1; _._disposeClientController = t2; _._onIOSFloatingCursorChange = null; _._inputConnectionNotifier = t3; _._osCurrentTextEditingValue = t4; _._latestTextEditingValueSentToPlatform = null; _._sendTextChangesToPlatform = true; _.__ime_text_editing_controller$_onPerformActionPressed = null; _._attributed_text_editing_controller$_selection = t5; _._composingAttributions = t6; _._composingRegion = t7; _._attributed_text_editing_controller$_text = t8; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t9; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _ImeAttributedTextEditingController_AttributedTextEditingController_TextInputClient: function _ImeAttributedTextEditingController_AttributedTextEditingController_TextInputClient() { }, _ImeAttributedTextEditingController_AttributedTextEditingController_TextInputClient_DeltaTextInputClient: function _ImeAttributedTextEditingController_AttributedTextEditingController_TextInputClient_DeltaTextInputClient() { }, IOSEditingControls: function IOSEditingControls(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.editingController = t0; _.textScrollController = t1; _.textFieldKey = t2; _.textContentLayerLink = t3; _.textContentKey = t4; _.tapRegionGroupId = t5; _.handleColor = t6; _.showDebugPaint = t7; _.popoverToolbarBuilder = t8; _.key = t9; }, _IOSEditingControlsState: function _IOSEditingControlsState(t0, t1, t2) { var _ = this; _._upstreamHandleKey = t0; _._downstreamHandleKey = t1; _._isDraggingExtent = _._isDraggingBase = false; _._widget = _._localDragOffset = _._globalDragOffset = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _IOSEditingControlsState__onBasePanStart_closure: function _IOSEditingControlsState__onBasePanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, _IOSEditingControlsState__onExtentPanStart_closure: function _IOSEditingControlsState__onExtentPanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, _IOSEditingControlsState__onPanUpdate_closure: function _IOSEditingControlsState__onPanUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, _IOSEditingControlsState__onHandleDragEnd_closure: function _IOSEditingControlsState__onHandleDragEnd_closure(t0) { this.$this = t0; }, _IOSEditingControlsState_build_closure: function _IOSEditingControlsState_build_closure(t0) { this.$this = t0; }, _IOSEditingControlsState__buildToolbar_closure: function _IOSEditingControlsState__buildToolbar_closure(t0) { this.$this = t0; }, IOSEditingOverlayController: function IOSEditingOverlayController(t0, t1, t2, t3, t4, t5) { var _ = this; _.textController = t0; _.caretBlinkController = t1; _.overlayController = t2; _._toolbarFocalPoint = t3; _._magnifierFocalPoint = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _IOSEditingOverlayController_Object_ChangeNotifier: function _IOSEditingOverlayController_Object_ChangeNotifier() { }, __IOSEditingControlsState_State_WidgetsBindingObserver: function __IOSEditingControlsState_State_WidgetsBindingObserver() { }, IOSFloatingCursor: function IOSFloatingCursor(t0, t1) { this.controller = t0; this.key = t1; }, IOSFloatingCursor_build_closure: function IOSFloatingCursor_build_closure(t0) { this.$this = t0; }, FloatingCursorController: function FloatingCursorController(t0, t1) { var _ = this; _.__floating_cursor$_textController = t0; _._floatingCursorCurrentOffset = _._floatingCursorStartOffset = null; _.ChangeNotifier__count = _._floatingCursorHeight = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _FloatingCursorController_Object_ChangeNotifier: function _FloatingCursorController_Object_ChangeNotifier() { }, IOSTextFieldTouchInteractor: function IOSTextFieldTouchInteractor(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.focusNode = t0; _.textController = t1; _.editingOverlayController = t2; _.textScrollController = t3; _.selectableTextKey = t4; _.getGlobalCaretRect = t5; _.showDebugPaint = t6; _.child = t7; _.key = t8; }, IOSTextFieldTouchInteractorState: function IOSTextFieldTouchInteractorState(t0, t1, t2, t3, t4) { var _ = this; _._textViewportOffsetLink = t0; _._isDraggingCaret = false; _._previousToolbarFocusSelection = _._selectionBeforeTap = _.__user_interaction$_dragOffset = _.__user_interaction$_globalDragOffset = null; _._toolbarFocusSelectionRect = t1; _.TickerProviderStateMixin__tickers = t2; _.TickerProviderStateMixin__tickerModeNotifier = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, IOSTextFieldTouchInteractorState__onTextOrSelectionChange_closure: function IOSTextFieldTouchInteractorState__onTextOrSelectionChange_closure(t0) { this.$this = t0; }, IOSTextFieldTouchInteractorState__onDoubleTapDown_closure: function IOSTextFieldTouchInteractorState__onDoubleTapDown_closure(t0, t1) { this.$this = t0; this.tapTextPosition = t1; }, IOSTextFieldTouchInteractorState__onPanStart_closure: function IOSTextFieldTouchInteractorState__onPanStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, IOSTextFieldTouchInteractorState__onPanUpdate_closure: function IOSTextFieldTouchInteractorState__onPanUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, IOSTextFieldTouchInteractorState__onHandleDragEnd_closure: function IOSTextFieldTouchInteractorState__onHandleDragEnd_closure(t0) { this.$this = t0; }, IOSTextFieldTouchInteractorState__onScrollChange_closure: function IOSTextFieldTouchInteractorState__onScrollChange_closure(t0) { this.$this = t0; }, IOSTextFieldTouchInteractorState_build_closure0: function IOSTextFieldTouchInteractorState_build_closure0() { }, IOSTextFieldTouchInteractorState_build_closure: function IOSTextFieldTouchInteractorState_build_closure() { }, IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure: function IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure() { }, IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure0: function IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure0(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure1: function IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure1() { }, IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure2: function IOSTextFieldTouchInteractorState__buildTapAndDragDetector_closure2(t0, t1) { this.$this = t0; this.gestureSettings = t1; }, IOSTextFieldTouchInteractorState__buildTrackerForToolbarFocus_closure: function IOSTextFieldTouchInteractorState__buildTrackerForToolbarFocus_closure(t0) { this.$this = t0; }, _IOSTextFieldTouchInteractorState_State_TickerProviderStateMixin: function _IOSTextFieldTouchInteractorState_State_TickerProviderStateMixin() { }, _defaultPopoverToolbarBuilder(context, controller) { return new A.IOSTextEditingFloatingToolbar(null, controller._toolbarFocalPoint, new A._defaultPopoverToolbarBuilder_closure(controller), new A._defaultPopoverToolbarBuilder_closure0(controller), new A._defaultPopoverToolbarBuilder_closure1(controller), null); }, SuperIOSTextField: function SuperIOSTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.focusNode = t0; _.tapRegionGroupId = t1; _.textController = t2; _.textAlign = t3; _.textStyleBuilder = t4; _.padding = t5; _.hintBehavior = t6; _.hintBuilder = t7; _.caretStyle = t8; _.blinkTimingMode = t9; _.selectionColor = t10; _.handlesColor = t11; _.minLines = t12; _.maxLines = t13; _.lineHeight = t14; _.textInputAction = t15; _.imeConfiguration = t16; _.showComposingUnderline = t17; _.key = t18; }, SuperIOSTextFieldState: function SuperIOSTextFieldState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._textFieldKey = t0; _._textFieldLayerLink = t1; _._textContentLayerLink = t2; _._scrollKey = t3; _._textContentKey = t4; _.__SuperIOSTextFieldState__floatingCursorController_A = _.__SuperIOSTextFieldState__textEditingController_A = _.__SuperIOSTextFieldState__focusNode_A = $; _._toolbarLeaderLink = t5; _._magnifierLeaderLink = t6; _.__SuperIOSTextFieldState__overlayController_A = _.__SuperIOSTextFieldState__textScrollController_A = _.__SuperIOSTextFieldState__editingOverlayController_A = $; _._popoverController = t7; _.__SuperIOSTextFieldState__caretBlinkController_F = $; _._overlayControlsRebuildSignal = t8; _.TickerProviderStateMixin__tickers = t9; _.TickerProviderStateMixin__tickerModeNotifier = t10; _._widget = null; _._debugLifecycleState = t11; _._framework$_element = null; }, SuperIOSTextFieldState_initState_closure: function SuperIOSTextFieldState_initState_closure(t0) { this.$this = t0; }, SuperIOSTextFieldState_initState_closure0: function SuperIOSTextFieldState_initState_closure0(t0) { this.$this = t0; }, SuperIOSTextFieldState_dispose_closure: function SuperIOSTextFieldState_dispose_closure(t0) { this.$this = t0; }, SuperIOSTextFieldState_didChangeMetrics_closure: function SuperIOSTextFieldState_didChangeMetrics_closure(t0) { this.$this = t0; }, SuperIOSTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure: function SuperIOSTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure(t0) { this.$this = t0; }, SuperIOSTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure0: function SuperIOSTextFieldState__updateSelectionAndImeConnectionOnFocusChange_closure0(t0) { this.$this = t0; }, SuperIOSTextFieldState__buildTextField_closure: function SuperIOSTextFieldState__buildTextField_closure(t0) { this.$this = t0; }, SuperIOSTextFieldState__buildSelectableText_closure0: function SuperIOSTextFieldState__buildSelectableText_closure0(t0) { this.$this = t0; }, SuperIOSTextFieldState__buildSelectableText_closure: function SuperIOSTextFieldState__buildSelectableText_closure(t0) { this.$this = t0; }, SuperIOSTextFieldState__buildOverlayIosControls_closure: function SuperIOSTextFieldState__buildOverlayIosControls_closure(t0) { this.$this = t0; }, _defaultPopoverToolbarBuilder_closure: function _defaultPopoverToolbarBuilder_closure(t0) { this.controller = t0; }, _defaultPopoverToolbarBuilder_closure0: function _defaultPopoverToolbarBuilder_closure0(t0) { this.controller = t0; }, _defaultPopoverToolbarBuilder_closure1: function _defaultPopoverToolbarBuilder_closure1(t0) { this.controller = t0; }, _SuperIOSTextFieldState_State_TickerProviderStateMixin: function _SuperIOSTextFieldState_State_TickerProviderStateMixin() { }, _SuperIOSTextFieldState_State_TickerProviderStateMixin_WidgetsBindingObserver: function _SuperIOSTextFieldState_State_TickerProviderStateMixin_WidgetsBindingObserver() { }, SuperTextField: function SuperTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.focusNode = t0; _.textController = t1; _.textStyleBuilder = t2; _.hintBehavior = t3; _.hintBuilder = t4; _.minLines = t5; _.maxLines = t6; _.inputSource = t7; _.key = t8; }, SuperTextFieldState: function SuperTextFieldState(t0, t1, t2) { var _ = this; _._platformFieldKey = t0; _.__SuperTextFieldState__controller_A = _.__SuperTextFieldState__focusNode_A = $; _._scrollShortcutOverrides = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, SuperTextFieldPlatformConfiguration: function SuperTextFieldPlatformConfiguration(t0, t1) { this.index = t0; this._core$_name = t1; }, SuperTextFieldContext: function SuperTextFieldContext(t0, t1, t2, t3, t4) { var _ = this; _.textFieldBuildContext = t0; _.focusNode = t1; _.controller = t2; _.getTextLayout = t3; _.scroller = t4; }, TextLayoutCaret$(blinkController, blinkTimingMode, position, style, textLayout) { return new A.TextLayoutCaret(textLayout, blinkController, blinkTimingMode, style, position, null); }, TextLayoutCaret: function TextLayoutCaret(t0, t1, t2, t3, t4, t5) { var _ = this; _.textLayout = t0; _.blinkController = t1; _.blinkTimingMode = t2; _.style = t3; _.position = t4; _.key = t5; }, TextLayoutCaretState: function TextLayoutCaretState(t0, t1, t2) { var _ = this; _.__TextLayoutCaretState__blinkController_A = $; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, TextLayoutCaretState_didUpdateWidget_closure: function TextLayoutCaretState_didUpdateWidget_closure(t0) { this.oldBlinkController = t0; }, CaretPainter: function CaretPainter(t0, t1, t2, t3, t4) { var _ = this; _.blinkController = t0; _._caretStyle = t1; _.offset = t2; _._caret_layer$_height = t3; _._repaint = t4; }, CaretStyle: function CaretStyle(t0, t1, t2) { this.color = t0; this.width = t1; this.borderRadius = t2; }, _TextLayoutCaretState_State_TickerProviderStateMixin: function _TextLayoutCaretState_State_TickerProviderStateMixin() { }, BlinkController$(tickerProvider) { var t1 = new A.BlinkController(B.Duration_0, $.$get$ChangeNotifier__emptyListeners()); t1._blink_controller$_ticker = tickerProvider.createTicker$1(t1.get$_blink_controller$_onTick()); return t1; }, BlinkController: function BlinkController(t0, t1) { var _ = this; _._blink_controller$_ticker = null; _._lastBlinkTime = t0; _._blink_controller$_timer = null; _._blink_controller$_isVisible = true; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, BlinkTimingMode: function BlinkTimingMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _BlinkController_Object_ChangeNotifier: function _BlinkController_Object_ChangeNotifier() { }, SuperText$(key, layerAboveBuilder, layerBeneathBuilder, richText, textAlign, textDirection, textScaler) { return new A.SuperText(richText, textAlign, layerBeneathBuilder, layerAboveBuilder, textScaler, key); }, RenderSuperTextLayout_textLayoutFrom(key) { var t2, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, key); t1 = t1 == null ? null : t1.get$renderObject(); type$.nullable_RenderSuperTextLayout._as(t1); if (t1 == null || t1._super_text$_state._super_text$_paragraph == null) return null; t1 = t1._super_text$_state; t2 = t1._widget.richText; t1 = t1._super_text$_paragraph; t1.toString; return A.RenderParagraphProseTextLayout$(t1, t2); }, SuperText: function SuperText(t0, t1, t2, t3, t4, t5) { var _ = this; _.richText = t0; _.textAlign = t1; _.layerBeneathBuilder = t2; _.layerAboveBuilder = t3; _.textScaler = t4; _.key = t5; }, SuperTextState: function SuperTextState(t0, t1) { var _ = this; _._textLayoutKey = t0; _._widget = _._super_text$_paragraph = null; _._debugLifecycleState = t1; _._framework$_element = null; }, SuperTextState_build_closure: function SuperTextState_build_closure(t0) { this.$this = t0; }, SuperTextState_build_closure0: function SuperTextState_build_closure0(t0) { this.$this = t0; }, _SuperTextLayout: function _SuperTextLayout(t0, t1, t2) { this.state = t0; this.children = t1; this.key = t2; }, _SuperTextLayoutParentData: function _SuperTextLayoutParentData(t0, t1, t2) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.offset = t2; }, RenderSuperTextLayout: function RenderSuperTextLayout(t0, t1, t2, t3, t4) { var _ = this; _._super_text$_state = t0; _.ContainerRenderObjectMixin__childCount = t1; _.ContainerRenderObjectMixin__firstChild = t2; _.ContainerRenderObjectMixin__lastChild = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, LayoutAwareRichText: function LayoutAwareRichText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.onMarkNeedsLayout = t0; _.text = t1; _.textAlign = t2; _.textDirection = t3; _.softWrap = t4; _.overflow = t5; _.textScaler = t6; _.maxLines = t7; _.locale = t8; _.strutStyle = t9; _.textWidthBasis = t10; _.textHeightBehavior = t11; _.selectionRegistrar = t12; _.selectionColor = t13; _.children = t14; _.key = t15; }, RenderLayoutAwareParagraph: function RenderLayoutAwareParagraph(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._onMarkNeedsLayout = t0; _._super_text$_needsLayout = true; _._textPainter = t1; _._registrar = _._lastSelectableFragments = _._cachedCombinedSemanticsInfos = _._cachedAttributedLabels = null; _._softWrap = t2; _._overflow = t3; _._selectionColor = t4; _._canComputeIntrinsicsCached = null; _._needsClipping = false; _._cachedChildNodes = _._semanticsInfo = _._placeholderDimensions = _._overflowShader = null; _.RelayoutWhenSystemFontsChangeMixin__hasPendingSystemFontsDidChangeCallBack = t5; _.ContainerRenderObjectMixin__childCount = t6; _.ContainerRenderObjectMixin__firstChild = t7; _.ContainerRenderObjectMixin__lastChild = t8; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._box$_size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t9; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; }, _RenderSuperTextLayout_RenderBox_ContainerRenderObjectMixin: function _RenderSuperTextLayout_RenderBox_ContainerRenderObjectMixin() { }, _RenderSuperTextLayout_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderSuperTextLayout_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _SuperTextState_ProseTextState_ProseTextBlock: function _SuperTextState_ProseTextState_ProseTextBlock() { }, paragraphExpansionFilter(text, startingPosition, affinity) { var start0, end, start = startingPosition.offset, t1 = text.length; if (start < t1 && text[start] === "\n") return A.TextSelection$collapsed(B.TextAffinity_1, start); start0 = start; while (true) { if (!(start0 > 0 && text[start0 - 1] !== "\n")) break; --start0; } end = start; while (true) { if (!(end < t1 && text[end] !== "\n")) break; ++end; } return affinity === B.TextAffinity_1 ? A.TextSelection$(B.TextAffinity_1, start0, end, false) : A.TextSelection$(B.TextAffinity_1, end, start0, false); }, RenderParagraphProseTextLayout$(renderParagraph, richText) { var t1 = new A.RenderParagraphProseTextLayout(richText, renderParagraph); t1.__RenderParagraphProseTextLayout__textLength_F = richText.toPlainText$0().length; return t1; }, ProseTextBlock: function ProseTextBlock() { }, ProseTextState: function ProseTextState() { }, RenderParagraphProseTextLayout: function RenderParagraphProseTextLayout(t0, t1) { this._richText = t0; this._renderParagraph = t1; this.__RenderParagraphProseTextLayout__textLength_F = $; }, _ProseTextState_State_ProseTextBlock: function _ProseTextState_State_ProseTextBlock() { }, TextLayoutSelectionHighlight: function TextLayoutSelectionHighlight(t0, t1, t2, t3) { var _ = this; _.textLayout = t0; _.style = t1; _.selection = t2; _.key = t3; }, TextLayoutEmptyHighlight: function TextLayoutEmptyHighlight(t0, t1, t2) { this.textLayout = t0; this.style = t1; this.key = t2; }, _EmptyHighlightPainter: function _EmptyHighlightPainter(t0, t1, t2, t3) { var _ = this; _.width = t0; _.height = t1; _.style = t2; _._repaint = t3; }, SelectionHighlightStyle: function SelectionHighlightStyle(t0) { this.color = t0; }, TextSelectionPainter: function TextSelectionPainter(t0, t1, t2, t3, t4) { var _ = this; _.textLayout = t0; _.textSelection = t1; _.selectionColor = t2; _._selectionPaint = t3; _._repaint = t4; }, TextUnderlineLayer: function TextUnderlineLayer(t0, t1, t2) { this.textLayout = t0; this.underlines = t1; this.key = t2; }, TextUnderlineLayerState: function TextUnderlineLayerState(t0, t1, t2) { var _ = this; _.TickerProviderStateMixin__tickers = t0; _.TickerProviderStateMixin__tickerModeNotifier = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, TextLayoutUnderline: function TextLayoutUnderline(t0, t1) { this.style = t0; this.range = t1; }, UnderlineStyle: function UnderlineStyle(t0) { this.color = t0; }, _UnderlinePainter: function _UnderlinePainter(t0, t1) { this._underlines = t0; this._repaint = t1; }, _PaintableUnderline: function _PaintableUnderline(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.thickness = t1; _.capType = t2; _.gap = t3; _.lines = t4; }, _TextUnderlineLayerState_State_TickerProviderStateMixin: function _TextUnderlineLayerState_State_TickerProviderStateMixin() { }, ArMessages: function ArMessages() { }, CaMessages: function CaMessages() { }, _pluralize(n, form1, form2, form3) { if (n === 1) return "" + n + " " + form1; if (n >= 2 && n <= 4) return "" + n + " " + form2; return "" + n + " " + form3; }, CsMessages: function CsMessages() { }, DaMessages: function DaMessages() { }, DeMessages: function DeMessages() { }, EnMessages: function EnMessages() { }, EnShortMessages: function EnShortMessages() { }, EsMessages: function EsMessages() { }, EsShortMessages: function EsShortMessages() { }, FaMessages: function FaMessages() { }, FrMessages: function FrMessages() { }, FrShortMessages: function FrShortMessages() { }, HuMessages: function HuMessages() { }, HuShortMessages: function HuShortMessages() { }, ItMessages: function ItMessages() { }, ItShortMessages: function ItShortMessages() { }, JaMessages: function JaMessages() { }, NbNoShortMessages: function NbNoShortMessages() { }, NbNoMessages: function NbNoMessages() { }, NlMessages: function NlMessages() { }, NlShortMessages: function NlShortMessages() { }, PlMessages: function PlMessages() { }, PtBrMessages: function PtBrMessages() { }, PtBrShortMessages: function PtBrShortMessages() { }, RoMessages: function RoMessages() { }, RoShortMessages: function RoShortMessages() { }, RuMessages: function RuMessages() { }, RuShortMessages: function RuShortMessages() { }, SvMessages: function SvMessages() { }, SvShortMessages: function SvShortMessages() { }, ThMessages: function ThMessages() { }, ThShortMessages: function ThShortMessages() { }, ZhMessages: function ZhMessages() { }, format(date, allowFromNow, locale) { var messages, t1, t2, elapsed, prefix, suffix, seconds, minutes, hours, days, months, years, result, _locale = locale == null ? "en" : locale; if ($.$get$_lookupMessagesMap().$index(0, _locale) == null) A.print("Locale [" + _locale + "] has not been added, using [en] as fallback. To add a locale use [setLocaleMessages]"); messages = $.$get$_lookupMessagesMap().$index(0, _locale); if (messages == null) messages = new A.EnMessages(); t1 = Date.now(); t1 = new A.DateTime(t1, false)._value; t2 = date._value; elapsed = t1 - t2; if (allowFromNow && elapsed < 0) { elapsed = t2 < t1 ? elapsed : Math.abs(elapsed); prefix = messages.prefixFromNow$0(); suffix = messages.suffixFromNow$0(); } else { prefix = messages.prefixAgo$0(); suffix = messages.suffixAgo$0(); } seconds = elapsed / 1000; minutes = seconds / 60; hours = minutes / 60; days = hours / 24; months = days / 30; years = days / 365; if (seconds < 45) result = messages.lessThanOneMinute$1(B.JSNumber_methods.round$0(seconds)); else if (seconds < 90) result = messages.aboutAMinute$1(B.JSNumber_methods.round$0(minutes)); else if (minutes < 45) result = messages.minutes$1(B.JSNumber_methods.round$0(minutes)); else if (minutes < 90) result = messages.aboutAnHour$1(B.JSNumber_methods.round$0(minutes)); else if (hours < 24) result = messages.hours$1(B.JSNumber_methods.round$0(hours)); else if (hours < 48) result = messages.aDay$1(B.JSNumber_methods.round$0(hours)); else if (days < 30) result = messages.days$1(B.JSNumber_methods.round$0(days)); else if (days < 60) result = messages.aboutAMonth$1(B.JSNumber_methods.round$0(days)); else if (days < 365) result = messages.months$1(B.JSNumber_methods.round$0(months)); else result = years < 2 ? messages.aboutAYear$1(B.JSNumber_methods.round$0(months)) : messages.years$1(B.JSNumber_methods.round$0(years)); return new A.WhereIterable(A._setArrayType([prefix, result, suffix], type$.JSArray_String), new A.format_closure(), type$.WhereIterable_String).join$1(0, messages.wordSeparator$0()); }, format_closure: function format_closure() { }, LaunchMode: function LaunchMode(t0, t1) { this.index = t0; this._core$_name = t1; }, WebViewConfiguration: function WebViewConfiguration() { }, BrowserConfiguration: function BrowserConfiguration() { }, MethodChannelUrlLauncher: function MethodChannelUrlLauncher() { }, MethodChannelUrlLauncher_launch_closure: function MethodChannelUrlLauncher_launch_closure() { }, PreferredLaunchMode: function PreferredLaunchMode(t0, t1) { this.index = t0; this._core$_name = t1; }, InAppWebViewConfiguration: function InAppWebViewConfiguration(t0, t1, t2) { this.enableJavaScript = t0; this.enableDomStorage = t1; this.headers = t2; }, LaunchOptions: function LaunchOptions(t0, t1, t2) { this.mode = t0; this.webViewConfiguration = t1; this.webOnlyWindowName = t2; }, UrlLauncherPlatform: function UrlLauncherPlatform() { }, UrlLauncherPlugin$() { var t2, t3, t1 = self; t1 = t1.window; t2 = $.$get$UrlLauncherPlatform__token(); t3 = new A.UrlLauncherPlugin(t1); $.$get$PlatformInterface__instanceTokens().$indexSet(0, t3, t2); t1 = t1.navigator; t3._isSafari = J.contains$1$asx(t1.userAgent, "Safari") && !J.contains$1$asx(t1.userAgent, "Chrome"); return t3; }, UrlLauncherPlugin: function UrlLauncherPlugin(t0) { this._window = t0; this._isSafari = false; }, RNG: function RNG() { }, MathRNG: function MathRNG(t0) { this._rnd = t0; }, Uuid$() { return new A.Uuid(); }, Uuid: function Uuid() { }, BoxValueConstraints$(constraints, value, $T) { return new A.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, t5) { 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; _._object$_debugDisposed = false; _.parentData = null; _._depth = 0; _.debugCreator = _._object$_parent = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._object$_owner = null; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _.__RenderObject__wasRepaintBoundary_A = $; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing_A = $; _._needsPaint = true; _._needsCompositedLayerUpdate = false; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _.$ti = t5; }, __RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin: function __RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin() { }, __RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder: function __RenderValueLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder() { }, Matrix4_tryInvert(other) { var r = new A.Matrix40(new Float64Array(16)); if (r.copyInverse$1(other) === 0) return null; return r; }, Matrix4$zero() { return new A.Matrix40(new Float64Array(16)); }, Matrix4_Matrix4$identity() { var t1 = new A.Matrix40(new Float64Array(16)); t1.setIdentity$0(); return t1; }, Matrix4_Matrix4$rotationZ(radians) { var c, s, t1 = new Float64Array(16); t1[15] = 1; c = Math.cos(radians); s = Math.sin(radians); t1[0] = c; t1[1] = s; t1[2] = 0; t1[4] = -s; t1[5] = c; t1[6] = 0; t1[8] = 0; t1[9] = 0; t1[10] = 1; t1[3] = 0; t1[7] = 0; t1[11] = 0; return new A.Matrix40(t1); }, Matrix4_Matrix4$translationValues(x, y, z) { var t1 = new A.Matrix40(new Float64Array(16)); t1.setIdentity$0(); t1.setTranslationRaw$3(x, y, z); return t1; }, Matrix4_Matrix4$diagonal3Values(x, y, z) { var t1 = new Float64Array(16); t1[15] = 1; t1[10] = z; t1[5] = y; t1[0] = x; return new A.Matrix40(t1); }, Quaternion_Quaternion$identity() { var t1 = new Float64Array(4); t1[3] = 1; return new A.Quaternion(t1); }, Matrix3: function Matrix3(t0) { this._m3storage = t0; }, Matrix40: function Matrix40(t0) { this._vector_math_64$_m4storage = t0; }, Quad: function Quad(t0, t1, t2, t3) { var _ = this; _._point0 = t0; _._point1 = t1; _._point2 = t2; _._point3 = t3; }, Quaternion: function Quaternion(t0) { this._qStorage = t0; }, Vector3: function Vector3(t0) { this._v3storage = t0; }, Vector4: function Vector4(t0) { this._v4storage = t0; }, Version_parse(versionString) { var t1, parts, major, t2, minor, patch, preReleaseString, preReleaseList, build, t3, _null = null; if (B.JSString_methods.trim$0(versionString).length === 0) throw A.wrapException(A.FormatException$("Cannot parse empty string into version", _null, _null)); t1 = $.$get$Version__versionRegex(); if (!t1._nativeRegExp.test(versionString)) throw A.wrapException(A.FormatException$("Not a properly formatted version string", _null, _null)); t1 = t1.firstMatch$1(versionString)._match; parts = t1[1].split("."); major = A.int_parse(parts[0], _null); t2 = parts.length; if (t2 > 1) { minor = A.int_parse(parts[1], _null); patch = t2 > 2 ? A.int_parse(parts[2], _null) : _null; } else { patch = _null; minor = patch; } preReleaseString = t1[3]; if (preReleaseString == null) preReleaseString = ""; t2 = type$.JSArray_String; preReleaseList = A._setArrayType([], t2); if (B.JSString_methods.trim$0(preReleaseString).length !== 0) preReleaseList = A._setArrayType(preReleaseString.split("."), t2); build = t1[5]; if (build == null) build = ""; t1 = minor == null ? 0 : minor; t2 = patch == null ? 0 : patch; t3 = new A.Version(major, t1, t2, build, preReleaseList); t3.Version$5$build$preRelease(major, t1, t2, build, preReleaseList); return t3; }, Version__compare(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 (A.List_List$from(t1, true, t2).length === 0) if (A.List_List$from(b._preRelease, true, t2).length === 0) return 0; else return 1; else { t3 = b._preRelease; if (A.List_List$from(t3, true, t2).length === 0) return -1; else { preReleaseMax = A.List_List$from(t1, true, t2).length; if (A.List_List$from(t3, true, t2).length > A.List_List$from(t1, true, t2).length) preReleaseMax = A.List_List$from(t3, true, t2).length; for (i = 0; i < preReleaseMax; ++i) { if (A.List_List$from(t3, true, t2).length <= i) return 1; else if (A.List_List$from(t1, true, t2).length <= i) return -1; if (J.$eq$(A.List_List$from(t1, true, t2)[i], A.List_List$from(t3, true, t2)[i])) continue; aNumeric = A.Version__isNumeric(A.List_List$from(t1, true, t2)[i]); bNumeric = A.Version__isNumeric(A.List_List$from(t3, true, t2)[i]); if (aNumeric && bNumeric) if (A.double_parse(A.List_List$from(t1, true, t2)[i]) > A.double_parse(A.List_List$from(t3, true, t2)[i])) return 1; else return -1; else if (bNumeric) return 1; else if (aNumeric) return -1; else { t1 = A.List_List$from(t1, true, t2)[i]; t2 = A.List_List$from(t3, true, t2)[i]; if (J.$eq$(t1, t2)) t1 = 0; else t1 = t1 < t2 ? -1 : 1; return t1; } } } } return 0; }, Version__isNumeric(s) { return A.Primitives_parseDouble(s) != null; }, Version: function Version(t0, t1, t2, t3, t4) { var _ = this; _.major = t0; _.minor = t1; _.patch = t2; _.build = t3; _._preRelease = t4; }, VsScrollbarStyle: function VsScrollbarStyle(t0, t1, t2, t3) { var _ = this; _.hoverThickness = t0; _.thickness = t1; _.radius = t2; _.color = t3; }, VsScrollbar: function VsScrollbar(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.controller = t1; _.isAlwaysShown = t2; _.showTrackOnHover = t3; _.style = t4; _.key = t5; }, _ScrollbarState: function _ScrollbarState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _MaterialScrollbar1: function _MaterialScrollbar1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.color = t0; _.showTrackOnHover = t1; _.hoverThickness = t2; _.child = t3; _.controller = t4; _.thumbVisibility = t5; _.radius = t6; _.thickness = t7; _.trackVisibility = t8; _.fadeDuration = t9; _.timeToFade = t10; _.pressDuration = t11; _.notificationPredicate = t12; _.interactive = t13; _.scrollbarOrientation = t14; _.key = t15; }, _MaterialScrollbarState1: function _MaterialScrollbarState1(t0, t1, t2, t3) { var _ = this; _._vs_scrollbar$___MaterialScrollbarState__hoverAnimationController_A = $; _._vs_scrollbar$_hoverIsActive = _._vs_scrollbar$_dragIsActive = false; _._vs_scrollbar$___MaterialScrollbarState__useAndroidScrollbar_A = _._vs_scrollbar$___MaterialScrollbarState__scrollbarTheme_A = _._vs_scrollbar$___MaterialScrollbarState__colorScheme_A = $; _._fadeoutTimer = _._cachedController = _._startDragThumbOffset = _._lastDragUpdateOffset = _._startDragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation_A = _.__RawScrollbarState__fadeoutAnimationController_A = $; _._scrollbarPainterKey = t0; _._thumbDragging = _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter_F = $; _.TickerProviderStateMixin__tickers = t1; _.TickerProviderStateMixin__tickerModeNotifier = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _MaterialScrollbarState__thumbColor_closure1: function _MaterialScrollbarState__thumbColor_closure1(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.dragColor = t1; _.hoverColor = t2; _.idleColor = t3; }, _MaterialScrollbarState__trackColor_closure1: function _MaterialScrollbarState__trackColor_closure1(t0, t1) { this.$this = t0; this.onSurface = t1; }, _MaterialScrollbarState__trackBorderColor_closure1: function _MaterialScrollbarState__trackBorderColor_closure1(t0, t1) { this.$this = t0; this.onSurface = t1; }, _MaterialScrollbarState__thickness_closure1: function _MaterialScrollbarState__thickness_closure1(t0) { this.$this = t0; }, _MaterialScrollbarState_initState_closure1: function _MaterialScrollbarState_initState_closure1(t0) { this.$this = t0; }, _MaterialScrollbarState_handleThumbPressStart_closure1: function _MaterialScrollbarState_handleThumbPressStart_closure1(t0) { this.$this = t0; }, _MaterialScrollbarState_handleThumbPressEnd_closure1: function _MaterialScrollbarState_handleThumbPressEnd_closure1(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHover_closure3: function _MaterialScrollbarState_handleHover_closure3(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHover_closure4: function _MaterialScrollbarState_handleHover_closure4(t0) { this.$this = t0; }, _MaterialScrollbarState_handleHoverExit_closure1: function _MaterialScrollbarState_handleHoverExit_closure1(t0) { this.$this = t0; }, _EventStreamSubscription$0(_target, _eventType, onData, _useCapture, $T) { var t1; if (onData == null) t1 = null; else { t1 = A._wrapZone0(new A._EventStreamSubscription_closure0(onData), type$.JSObject); t1 = t1 == null ? null : type$.JavaScriptFunction._as(A.allowInterop(t1)); } t1 = new A._EventStreamSubscription0(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription0<0>")); t1._streams$_tryResume$0(); return t1; }, _wrapZone0(callback, $T) { var t1 = $.Zone__current; if (t1 === B.C__RootZone) return callback; return t1.bindUnaryCallbackGuarded$1$1(callback, $T); }, EventStreamProvider0: function EventStreamProvider0(t0, t1) { this._streams$_eventType = t0; this.$ti = t1; }, _EventStream0: function _EventStream0(t0, t1, t2, t3) { var _ = this; _._streams$_target = t0; _._streams$_eventType = t1; _._streams$_useCapture = t2; _.$ti = t3; }, _EventStreamSubscription0: function _EventStreamSubscription0(t0, t1, t2, t3, t4) { var _ = this; _._streams$_pauseCount = 0; _._streams$_target = t0; _._streams$_eventType = t1; _._streams$_onData = t2; _._streams$_useCapture = t3; _.$ti = t4; }, _EventStreamSubscription_closure0: function _EventStreamSubscription_closure0(t0) { this.onData = t0; }, _EventStreamSubscription_onData_closure0: function _EventStreamSubscription_onData_closure0(t0) { this.handleData = t0; }, WindowListener: function WindowListener() { }, main() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$main = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(A.bootstrapEngine(new A.main_closure(), new A.main_closure0()), $async$main); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$main, $async$completer); }, main_closure0: function main_closure0() { }, main_closure: function main_closure() { }, CupertinoUserInterfaceLevel_maybeOf(context) { context.dependOnInheritedWidgetOfExactType$1$0(type$.CupertinoUserInterfaceLevel); return null; }, zoneClient() { return null; }, LinkViewController__viewFactory(viewId) { return $.LinkViewController__instances.$index(0, viewId).get$_link$_element(); }, isBrowserObject(o) { return type$.Blob._is(o) || type$.Event._is(o) || type$.KeyRange._is(o) || type$.ImageData_2._is(o) || type$.Node._is(o) || type$.Window._is(o) || type$.WorkerGlobalScope._is(o); }, printString(string) { if (typeof dartPrint == "function") { dartPrint(string); return; } if (typeof console == "object" && typeof console.log != "undefined") { console.log(string); return; } if (typeof print == "function") { print(string); return; } throw "Unable to print message: " + String(string); }, FunctionToJSExportedDartFunction_get_toJS(_this) { return type$.JavaScriptFunction._as(A.allowInterop(_this)); }, DoubleToJSNumber_get_toJS(_this) { return _this; }, JSStringToString_get_toDart(_this) { return _this; }, StringToJSString_get_toJS(_this) { return _this; }, getCrc32(array, crc) { var ip, ip0, t1 = J.getInterceptor$asx(array), len = t1.get$length(array); crc ^= 4294967295; for (ip = 0; len >= 8;) { ip0 = ip + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip)) & 255] ^ crc >>> 8; ip = ip0 + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip0)) & 255] ^ crc >>> 8; ip0 = ip + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip)) & 255] ^ crc >>> 8; ip = ip0 + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip0)) & 255] ^ crc >>> 8; ip0 = ip + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip)) & 255] ^ crc >>> 8; ip = ip0 + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip0)) & 255] ^ crc >>> 8; ip0 = ip + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip)) & 255] ^ crc >>> 8; ip = ip0 + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip0)) & 255] ^ crc >>> 8; len -= 8; } if (len > 0) do { ip0 = ip + 1; crc = B.List_oCX3[(crc ^ t1.$index(array, ip)) & 255] ^ crc >>> 8; if (--len, len > 0) { ip = ip0; continue; } else break; } while (true); return (crc ^ 4294967295) >>> 0; }, getCharacterEndBounds(text, startingCodePointIndex) { var range, t1 = text.length; if (startingCodePointIndex === t1) return t1; range = A.StringCharacterRange_StringCharacterRange$at(text, 0, startingCodePointIndex); if (range.get$current(0).length !== startingCodePointIndex) return range.get$current(0).length; range._advanceEnd$2(1, range._characters_impl$_start); return range.get$current(0).length; }, getCharacterStartBounds(text, endingCodePointIndex) { var range; if (endingCodePointIndex === 0) return 0; range = A.StringCharacterRange_StringCharacterRange$at(text, 0, endingCodePointIndex); if (range.get$current(0).length !== endingCodePointIndex) { range.dropLast$0(); return range.get$current(0).length; } range.dropLast$0(); return range.get$current(0).length; }, evaluateIterable(iterable) { return iterable; }, low(codeUnit) { var index = string$.u1ac4_____.charCodeAt(codeUnit >>> 6) + (codeUnit & 63), bit = index & 1, pair = string$.E53333.charCodeAt(index >>> 1); return pair >>> 4 & -bit | pair & 15 & bit - 1; }, high(lead, tail) { var offset = (lead & 1023) << 10 | tail & 1023, index = string$.u1ac4_____.charCodeAt(1024 + (offset >>> 9)) + (offset & 511), bit = index & 1, pair = string$.E53333.charCodeAt(index >>> 1); return pair >>> 4 & -bit | pair & 15 & bit - 1; }, PointPainter_draw(canvas, fill, paint, point, radius, stroke, strokeWidthPx) { if (fill != null) { paint.set$color(0, A.Color$fromARGB(fill.a, fill.r, fill.g, fill.b)); paint.set$style(0, B.PaintingStyle_0); canvas.drawCircle$3(new A.Offset(point.x, point.y), radius, paint); } if (stroke != null && strokeWidthPx != null && strokeWidthPx > 0) { paint.set$color(0, A.Color$fromARGB(stroke.a, stroke.r, stroke.g, stroke.b)); paint.set$strokeWidth(strokeWidthPx); paint.set$strokeJoin(B.StrokeJoin_2); paint.set$style(0, B.PaintingStyle_1); canvas.drawCircle$3(new A.Offset(point.x, point.y), radius, paint); } }, PolygonPainter_draw(canvas, clipBounds, fill, paint, points, stroke, strokeWidthPx) { var t1, t2, fillColor, point, path, _i; if (points.length === 0) return; canvas.save$0(0); t1 = clipBounds.left; t2 = clipBounds.top; canvas.clipRect$1(new A.Rect(t1, t2, t1 + clipBounds.width, t2 + clipBounds.height)); fillColor = fill != null ? A.Color$fromARGB(fill.a, fill.r, fill.g, fill.b) : null; if (points.length === 1) { point = B.JSArray_methods.get$first(points); if (fillColor != null) paint.set$color(0, fillColor); paint.set$style(0, B.PaintingStyle_0); strokeWidthPx.toString; canvas.drawCircle$3(new A.Offset(point.x, point.y), strokeWidthPx, paint); } else { if (fillColor != null) { paint.set$color(0, fillColor); paint.set$style(0, B.PaintingStyle_0); } path = $.$get$_renderer().createPath$0(); path.moveTo$2(0, B.JSArray_methods.get$first(points).x, B.JSArray_methods.get$first(points).y); for (t1 = points.length, _i = 0; _i < points.length; points.length === t1 || (0, A.throwConcurrentModificationError)(points), ++_i) { point = points[_i]; path.lineTo$2(0, point.x, point.y); } canvas.drawPath$2(path, paint); } canvas.restore$0(0); }, ColorUtil_fromDartColor(color) { return new A.Color0(color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255, color.get$value(color) >>> 24 & 255, null, null); }, systemTime() { return new A.DateTime(Date.now(), false); }, compareNatural(a, b) { var t1, t2, i, aChar, bChar; for (t1 = a.length, t2 = b.length, i = 0; i < t1; ++i) { if (i >= t2) return 1; aChar = a.charCodeAt(i); bChar = b.charCodeAt(i); if (aChar !== bChar) return A._compareNaturally(a, b, i, aChar, bChar); } if (t2 > t1) return -1; return 0; }, _compareNaturally(a, b, index, aChar, bChar) { var bIsDigit = (bChar ^ 48) <= 9; if ((aChar ^ 48) <= 9) { if (bIsDigit) return A._compareNumerically(a, b, aChar, bChar, index); else if (index > 0 && (a.charCodeAt(index - 1) ^ 48) <= 9) return 1; } else if (bIsDigit && index > 0 && (b.charCodeAt(index - 1) ^ 48) <= 9) return -1; return B.JSInt_methods.get$sign(aChar - bChar); }, _compareNumerically(a, b, aChar, bChar, index) { var result, t1, aIndex, bIndex, t2, aIsDigit, bIsDigit; if (A._isNonZeroNumberSuffix(a, index)) { result = A._compareDigitCount(a, b, index, index); if (result !== 0) return result; return B.JSInt_methods.get$sign(aChar - bChar); } if (aChar === 48) { t1 = a.length; aIndex = index; do { ++aIndex; if (aIndex === t1) return -1; aChar = a.charCodeAt(aIndex); } while (aChar === 48); if ((aChar ^ 48) > 9) return -1; bIndex = index; } else { if (bChar === 48) { t1 = b.length; bIndex = index; do { ++bIndex; if (bIndex === t1) return 1; bChar = b.charCodeAt(bIndex); } while (bChar === 48); if ((bChar ^ 48) > 9) return 1; } else bIndex = index; aIndex = index; } if (aChar !== bChar) { result = A._compareDigitCount(a, b, aIndex, bIndex); if (result !== 0) return result; return B.JSInt_methods.get$sign(aChar - bChar); } for (t1 = b.length, t2 = a.length; true;) { ++aIndex; if (aIndex < t2) { aChar = a.charCodeAt(aIndex); aIsDigit = (aChar ^ 48) <= 9; } else { aChar = 0; aIsDigit = false; } ++bIndex; if (bIndex < t1) { bChar = b.charCodeAt(bIndex); bIsDigit = (bChar ^ 48) <= 9; } else { bChar = 0; bIsDigit = false; } if (aIsDigit) { if (bIsDigit) { if (aChar === bChar) continue; break; } return 1; } else if (bIsDigit) return -1; else { t1 = aIndex - bIndex; if (t1 > 0) t1 = 1; else if (t1 < 0) t1 = -1; return t1; } } result = A._compareDigitCount(a, b, aIndex, bIndex); if (result !== 0) return result; return B.JSInt_methods.get$sign(aChar - bChar); }, _compareDigitCount(a, b, i, j) { var t1, t2, aIsDigit, bIsDigit; for (t1 = a.length, t2 = b.length; ++i, i < t1;) { aIsDigit = (a.charCodeAt(i) ^ 48) <= 9; ++j; if (j === t2) return aIsDigit ? 1 : 0; bIsDigit = (b.charCodeAt(j) ^ 48) <= 9; if (aIsDigit) { if (bIsDigit) continue; return 1; } else if (bIsDigit) return -1; else return 0; } ++j; if (j < t2 && (b.charCodeAt(j) ^ 48) <= 9) return -1; return 0; }, _isNonZeroNumberSuffix(string, index) { var char; for (; --index, index >= 0;) { char = string.charCodeAt(index); if (char !== 48) return (char ^ 48) <= 9; } return false; }, groupBy(values, key, $S, $T) { var t1, _i, element, t2, t3, map = A.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 = A._setArrayType([], t1); map.$indexSet(0, t2, t3); t2 = t3; } else t2 = t3; J.add$1$ax(t2, element); } return map; }, IterableExtension_firstWhereOrNull(_this, test) { var t1, element; for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) { element = t1.get$current(t1); if (test.call$1(element)) return element; } return null; }, IterableExtension_get_firstOrNull(_this) { var t1, iterator = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1); if (iterator.moveNext$0()) { t1 = iterator._collection$_current; return t1 == null ? iterator.$ti._precomputed1._as(t1) : t1; } return null; }, IterableExtension_lastWhereOrNull(_this, test) { var t1, result, _i, element; for (t1 = _this.length, result = null, _i = 0; _i < _this.length; _this.length === t1 || (0, A.throwConcurrentModificationError)(_this), ++_i) { element = _this[_i]; if (test.call$1(element)) result = element; } return result; }, IterableExtension_singleWhereOrNull(_this, test) { var t1, result, found, _i, element; for (t1 = _this.length, result = null, found = false, _i = 0; _i < t1; ++_i) { element = _this[_i]; if (test.call$1(element)) { if (found) return null; result = element; found = true; } } return result; }, IterableNullableExtension_whereNotNull(_this, $T) { return new A._SyncStarIterable(A.IterableNullableExtension_whereNotNull$body(_this, $T), $T._eval$1("_SyncStarIterable<0>")); }, IterableNullableExtension_whereNotNull$body($async$_this, $async$$T) { return function() { var _this = $async$_this, $T = $async$$T; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element; return function $async$IterableNullableExtension_whereNotNull($async$iterator, $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 t1 = J.get$iterator$ax(_this); case 2: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 3; break; } element = t1.get$current(t1); $async$goto = element != null ? 4 : 5; break; case 4: // then $async$goto = 6; return $async$iterator._async$_current = element, 1; case 6: // after yield case 5: // join // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return 0; case 1: // rethrow return $async$iterator._datum = $async$currentError, 3; } }; }; }, _register(base, accents) { var t1, baseUnit, t2, t3; if (base.length === 1) { t1 = new A.CodeUnits(base); baseUnit = t1.get$first(t1); for (t1 = new A.CodeUnits(accents), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); $._singleUnit.$indexSet(0, t3, baseUnit); } } else for (t1 = new A.CodeUnits(accents), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); $._multiUnit.$indexSet(0, t3, new A.CodeUnits(base)); } }, replaceCodeUnits(codeUnits) { var result, t1, t2, t3, single, multiple; A._initIfRequired(); result = A._setArrayType([], type$.JSArray_int); for (t1 = A._instanceType(codeUnits), t2 = new A.ListIterator(codeUnits, codeUnits.get$length(0), t1._eval$1("ListIterator<ListBase.E>")), t1 = t1._eval$1("ListBase.E"); t2.moveNext$0();) { t3 = t2.__internal$_current; if (t3 == null) t3 = t1._as(t3); if (t3 >= 768 && t3 <= 879) continue; single = $._singleUnit.$index(0, t3); if (single != null) { result.push(single); continue; } multiple = $._multiUnit.$index(0, t3); if (multiple != null) { B.JSArray_methods.addAll$1(result, multiple); continue; } result.push(t3); } return result; }, _initIfRequired() { if ($._initialized) return; A._register(" ", "\xa0"); A._register("A", "A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"); A._register("AA", "\ua732"); A._register("AE", "\xc6\u01fc\u01e2"); A._register("AO", "\ua734"); A._register("AU", "\ua736"); A._register("AV", "\ua738\ua73a"); A._register("AY", "\ua73c"); A._register("B", "B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"); A._register("C", "C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"); A._register("D", "D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"); A._register("DZ", "\u01f1\u01c4"); A._register("Dz", "\u01f2\u01c5"); A._register("E", "E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"); A._register("F", "F\u24bb\uff26\u1e1e\u0191\ua77b"); A._register("G", "G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"); A._register("H", "H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"); A._register("I", "I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"); A._register("J", "J\u24bf\uff2a\u0134\u0248"); A._register("K", "K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"); A._register("L", "L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"); A._register("LJ", "\u01c7"); A._register("Lj", "\u01c8"); A._register("M", "M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"); A._register("N", "N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"); A._register("NJ", "\u01ca"); A._register("Nj", "\u01cb"); A._register("O", "O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"); A._register("OI", "\u01a2"); A._register("OO", "\ua74e"); A._register("OU", "\u0222"); A._register("P", "P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"); A._register("Q", "Q\u24c6\uff31\ua756\ua758\u024a"); A._register("R", "R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"); A._register("S", "S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"); A._register("T", "T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"); A._register("Th", "\xde"); A._register("TZ", "\ua728"); A._register("U", "U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"); A._register("V", "V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"); A._register("VY", "\ua760"); A._register("W", "W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"); A._register("X", "X\u24cd\uff38\u1e8a\u1e8c"); A._register("Y", "Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"); A._register("Z", "Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"); A._register("a", "a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250\u0251"); A._register("aa", "\ua733"); A._register("ae", "\xe6\u01fd\u01e3"); A._register("ao", "\ua735"); A._register("au", "\ua737"); A._register("av", "\ua739\ua73b"); A._register("ay", "\ua73d"); A._register("b", "b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"); A._register("c", "c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"); A._register("d", "d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"); A._register("dz", "\u01f3\u01c6"); A._register("e", "e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"); A._register("f", "f\u24d5\uff46\u1e1f\u0192\ua77c"); A._register("ff", "\ufb00"); A._register("fi", "\ufb01"); A._register("fl", "\ufb02"); A._register("ffi", "\ufb03"); A._register("ffl", "\ufb04"); A._register("g", "g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"); A._register("h", "h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"); A._register("hv", "\u0195"); A._register("i", "i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"); A._register("j", "j\u24d9\uff4a\u0135\u01f0\u0249"); A._register("k", "k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"); A._register("l", "l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"); A._register("lj", "\u01c9"); A._register("m", "m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"); A._register("n", "n\xf1n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5\u0509"); A._register("nj", "\u01cc"); A._register("o", "\u07c0o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"); A._register("oe", "\u0152\u0153"); A._register("oi", "\u01a3"); A._register("ou", "\u0223"); A._register("oo", "\ua74f"); A._register("p", "p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"); A._register("q", "q\u24e0\uff51\u024b\ua757\ua759"); A._register("r", "r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"); A._register("s", "s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"); A._register("ss", "\xdf"); A._register("t", "t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"); A._register("th", "\xfe"); A._register("tz", "\ua729"); A._register("u", "u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"); A._register("v", "v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"); A._register("vy", "\ua761"); A._register("w", "w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"); A._register("x", "x\u24e7\uff58\u1e8b\u1e8d"); A._register("y", "y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"); A._register("z", "z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"); $._initialized = true; }, DialogHandler_DialogHandler(pathToExecutable) { pathToExecutable = pathToExecutable.toLowerCase(); if (B.JSString_methods.endsWith$1(pathToExecutable, "kdialog")) return new A.KDialogHandler(); else if (B.JSString_methods.endsWith$1(pathToExecutable, "qarma") || B.JSString_methods.endsWith$1(pathToExecutable, "zenity")) return new A.QarmaAndZenityHandler(); throw A.wrapException(A.UnimplementedError$("DialogHandler for executable " + pathToExecutable + " has not been implemented")); }, filePickerWithFFI() { return A.throwExpression(A.UnimplementedError$("Unsupported")); }, decodeDigit(c) { var letter, digit = c ^ 48; if (digit < 10) return digit; letter = (c | 32) - 97; if (letter >= 0) return letter + 10; else return 255; }, CupertinoTextField_inferIOSSpellCheckConfiguration(configuration) { return B.SpellCheckConfiguration_Y2F; }, compute0(callback, message, debugLabel, $M, $R) { return A.compute$body(callback, message, debugLabel, $M, $R, $R); }, compute$body(callback, message, debugLabel, $M, $R, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, t1; var $async$compute0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = A._Future$value(null, type$.Null); $async$goto = 3; return A._asyncAwait(t1, $async$compute0); case 3: // returning from await. $async$returnValue = callback.call$1(message); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$compute0, $async$completer); }, setEquals(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(a, b) { var t1, t2, index; 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$asx(a), t2 = J.getInterceptor$asx(b), index = 0; index < t1.get$length(a); ++index) if (!J.$eq$(t1.$index(a, index), t2.$index(b, index))) return false; return true; }, mapEquals(a, b) { var key, t1 = a.get$length(a), t2 = b.get$length(b); if (t1 !== t2) return false; if (a === b) return true; for (t1 = J.get$iterator$ax(a.get$keys(a)); t1.moveNext$0();) { key = t1.get$current(t1); if (!b.containsKey$1(0, key) || !J.$eq$(b.$index(0, key), a.$index(0, key))) return false; } return true; }, mergeSort(list, compare, $T) { var middle, secondLength, scratchSpace, firstTarget, end = list.length, $length = end - 0; if ($length < 2) return; if ($length < 32) { A._insertionSort(list, compare, end, 0, $T); return; } middle = B.JSInt_methods._shrOtherPositive$1($length, 1); secondLength = end - middle; scratchSpace = A.List_List$filled(secondLength, list[0], false, $T); A._mergeSort(list, compare, middle, end, scratchSpace, 0); firstTarget = end - (middle - 0); A._mergeSort(list, compare, 0, middle, list, firstTarget); A._merge(compare, list, firstTarget, end, scratchSpace, 0, secondLength, list, 0); }, _insertionSort(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 + B.JSInt_methods._shrOtherPositive$1(max - min, 1); if (compare.call$2(element, list[mid]) < 0) max = mid; else min = mid + 1; } ++pos; B.JSArray_methods.setRange$4(list, min + 1, pos, list, min); list[min] = element; } }, _movingInsertionSort(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 + B.JSInt_methods._shrOtherPositive$1(max0 - min, 1); if (compare.call$2(element, target[mid]) < 0) max0 = mid; else min = mid + 1; } B.JSArray_methods.setRange$4(target, min + 1, max + 1, target, min); target[min] = element; } }, _mergeSort(list, compare, start, end, target, targetOffset) { var middle, firstLength, targetMiddle, $length = end - start; if ($length < 32) { A._movingInsertionSort(list, compare, start, end, target, targetOffset); return; } middle = start + B.JSInt_methods._shrOtherPositive$1($length, 1); firstLength = middle - start; targetMiddle = targetOffset + firstLength; A._mergeSort(list, compare, middle, end, target, targetMiddle); A._mergeSort(list, compare, start, middle, list, middle); A._merge(compare, list, middle, middle + firstLength, target, targetMiddle, targetMiddle + (end - middle), target, targetOffset); }, _merge(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; B.JSArray_methods.setRange$4(target, targetOffset, targetOffset + (firstEnd - cursor1), firstList, cursor1); return; } cursor1 = cursor10; } targetOffset0 = targetOffset + 1; target[targetOffset] = secondElement; B.JSArray_methods.setRange$4(target, targetOffset0, targetOffset0 + (secondEnd - cursor2), secondList, cursor2); }, debugInstrumentAction(description, action, $T) { return A.debugInstrumentAction$body(description, action, $T, $T); }, debugInstrumentAction$body(description, action, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, t1; var $async$debugInstrumentAction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = action.call$0(); $async$returnValue = t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$debugInstrumentAction, $async$completer); }, debugFormatDouble(value) { if (value == null) return "null"; return B.JSNumber_methods.toStringAsFixed$1(value, 1); }, compute(callback, message, debugLabel, $M, $R) { return A.compute0(callback, message, debugLabel, $M, $R); }, debugPrintThrottled(message, wrapWidth) { var t1 = type$.JSArray_String, messageLines = A._setArrayType(message.split("\n"), t1); $.$get$_debugPrintBuffer().addAll$1(0, messageLines); if (!$._debugPrintScheduled) A._debugPrintTask(); }, _debugPrintTask() { var line, t1 = $._debugPrintScheduled = false, t2 = $.$get$_debugPrintStopwatch(); if (A.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 ? !$.$get$_debugPrintBuffer().get$isEmpty(0) : t1)) break; line = $.$get$_debugPrintBuffer().removeFirst$0(); $._debugPrintedCharacters = $._debugPrintedCharacters + line.length; A.printString(line); } if (!$.$get$_debugPrintBuffer().get$isEmpty(0)) { $._debugPrintScheduled = true; $._debugPrintedCharacters = 0; A.Timer_Timer(B.Duration_1000000, A.print___debugPrintTask$closure()); if ($._debugPrintCompleter == null) $._debugPrintCompleter = new A._AsyncCompleter(new A._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; } }, FlutterTimeline_startSync($name, $arguments) { A.Timeline_startSync($name, $arguments, null); }, PlatformAdaptiveIcons__isCupertino() { switch (A.defaultTargetPlatform().index) { case 0: case 1: case 3: case 5: return false; case 2: case 4: return true; } }, positionDependentBox(childSize, preferBelow, size, target, verticalOffset) { var y, flexibleSpace, t1 = target._dy, t2 = t1 + verticalOffset, t3 = childSize._dy, t4 = size._dy - 10, fitsBelow = t2 + t3 <= t4; t3 = t1 - verticalOffset - t3; y = (t3 >= 10 === fitsBelow ? preferBelow : fitsBelow) ? Math.min(t2, t4) : Math.max(t3, 10); t1 = childSize._dx; flexibleSpace = size._dx - t1; return new A.Offset(flexibleSpace <= 20 ? flexibleSpace / 2 : A.clampDouble(target._dx - t1 / 2, 10, flexibleSpace - 10), y); }, MatrixUtils_getAsTranslation(transform) { var values = transform._vector_math_64$_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 A.Offset(values[12], values[13]); return null; }, MatrixUtils_matrixEquals(a, b) { var t1, t2, t3; if (a == b) return true; if (a == null) { b.toString; return A.MatrixUtils_isIdentity(b); } if (b == null) return A.MatrixUtils_isIdentity(a); t1 = a._vector_math_64$_m4storage; t2 = t1[0]; t3 = b._vector_math_64$_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(a) { var t1 = a._vector_math_64$_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(transform, point) { var storage = transform._vector_math_64$_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 A.Offset(rx, ry); else return new A.Offset(rx / rw, ry / rw); }, MatrixUtils__accumulate(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 = $.$get$MatrixUtils__minMax(); t1[2] = tx; t1[0] = tx; t1[3] = ty; t1[1] = ty; } else { t1 = $.$get$MatrixUtils__minMax(); if (tx < t1[0]) t1[0] = tx; if (ty < t1[1]) t1[1] = ty; if (tx > t1[2]) t1[2] = tx; if (ty > t1[3]) t1[3] = ty; } }, MatrixUtils_transformRect(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._vector_math_64$_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; A.MatrixUtils__accumulate(storage, x, y, true, isAffine); A.MatrixUtils__accumulate(storage, t1, y, false, isAffine); A.MatrixUtils__accumulate(storage, x, t2, false, isAffine); A.MatrixUtils__accumulate(storage, t1, t2, false, isAffine); t1 = $.$get$MatrixUtils__minMax(); return new A.Rect(t1[0], t1[1], t1[2], t1[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 A.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 A.Rect(A.MatrixUtils__min4(ulx, urx, llx, lrx), A.MatrixUtils__min4(uly, ury, lly, lry), A.MatrixUtils__max4(ulx, urx, llx, lrx), A.MatrixUtils__max4(uly, ury, lly, lry)); } }, MatrixUtils__min4(a, b, c, d) { var e = a < b ? a : b, f = c < d ? c : d; return e < f ? e : f; }, MatrixUtils__max4(a, b, c, d) { var e = a > b ? a : b, f = c > d ? c : d; return e > f ? e : f; }, MatrixUtils_inverseTransformRect(transform, rect) { var transform0; if (A.MatrixUtils_isIdentity(transform)) return rect; transform0 = new A.Matrix40(new Float64Array(16)); transform0.setFrom$1(transform); transform0.copyInverse$1(transform0); return A.MatrixUtils_transformRect(transform0, rect); }, MatrixUtils_forceToPoint(offset) { var t2, t1 = new A.Matrix40(new Float64Array(16)); t1.setIdentity$0(); t2 = new A.Vector4(new Float64Array(4)); t2.setValues$4(0, 0, 0, offset._dx); t1.setRow$2(0, t2); t2 = new A.Vector4(new Float64Array(4)); t2.setValues$4(0, 0, 0, offset._dy); t1.setRow$2(1, t2); return t1; }, nearEqual(a, b, epsilon) { if (a == null || false) return a === b; return a > b - epsilon && a < b + epsilon || a === b; }, ChildLayoutHelper_dryLayoutChild(child, constraints) { return child.getDryLayout$1(constraints); }, ChildLayoutHelper_layoutChild(child, constraints) { child.layout$2$parentUsesSize(constraints, true); return child.get$size(0); }, SemanticsService_announce(message, textDirection, assertiveness) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SemanticsService_announce = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.BasicMessageChannel_QXb.send$1(0, new A.AnnounceSemanticsEvent(message, textDirection, assertiveness, "announce").toMap$0()), $async$SemanticsService_announce); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SemanticsService_announce, $async$completer); }, SemanticsService_tooltip(message) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SemanticsService_tooltip = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.BasicMessageChannel_QXb.send$1(0, new A.TooltipSemanticsEvent(message, "tooltip").toMap$0()), $async$SemanticsService_tooltip); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SemanticsService_tooltip, $async$completer); }, HapticFeedback_vibrate() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$HapticFeedback_vibrate = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$1("HapticFeedback.vibrate", type$.void), $async$HapticFeedback_vibrate); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$HapticFeedback_vibrate, $async$completer); }, HapticFeedback_lightImpact() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$HapticFeedback_lightImpact = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("HapticFeedback.vibrate", "HapticFeedbackType.lightImpact", type$.void), $async$HapticFeedback_lightImpact); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$HapticFeedback_lightImpact, $async$completer); }, HapticFeedback_mediumImpact() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$HapticFeedback_mediumImpact = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("HapticFeedback.vibrate", "HapticFeedbackType.mediumImpact", type$.void), $async$HapticFeedback_mediumImpact); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$HapticFeedback_mediumImpact, $async$completer); }, HapticFeedback_heavyImpact() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$HapticFeedback_heavyImpact = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("HapticFeedback.vibrate", "HapticFeedbackType.heavyImpact", type$.void), $async$HapticFeedback_heavyImpact); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$HapticFeedback_heavyImpact, $async$completer); }, HapticFeedback_selectionClick() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$HapticFeedback_selectionClick = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("HapticFeedback.vibrate", "HapticFeedbackType.selectionClick", type$.void), $async$HapticFeedback_selectionClick); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$HapticFeedback_selectionClick, $async$completer); }, SystemNavigator_setFrameworkHandlesBack(frameworkHandlesBack) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue; var $async$SystemNavigator_setFrameworkHandlesBack = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SystemNavigator_setFrameworkHandlesBack, $async$completer); }, SystemNavigator_pop() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SystemNavigator_pop = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("SystemNavigator.pop", null, type$.void), $async$SystemNavigator_pop); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SystemNavigator_pop, $async$completer); }, SystemNavigator_routeInformationUpdated(replace, state, uri) { return B.OptionalMethodChannel_qNA.invokeMethod$1$2("routeInformationUpdated", A.LinkedHashMap_LinkedHashMap$_literal(["uri", uri.toString$0(0), "state", state, "replace", replace], type$.String, type$.dynamic), type$.void); }, TextLayoutMetrics_isWhitespace(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; }, TextLayoutMetrics_isLineTerminator(codeUnit) { switch (codeUnit) { case 10: case 11: case 12: case 13: case 133: case 8232: case 8233: return true; default: return false; } }, debugIsWidgetLocalCreation(widget) { return false; }, getUserDataFromMap(data) { var t1, t2, t3; if (data == null) return null; t1 = J.getInterceptor$asx(data); t2 = t1.$index(data, "email"); t2.toString; A._asString(t2); t3 = t1.$index(data, "id"); t3.toString; A._asString(t3); return new A.GoogleSignInUserData(A._asStringQ(t1.$index(data, "displayName")), t2, t3, A._asStringQ(t1.$index(data, "photoUrl")), A._asStringQ(t1.$index(data, "idToken")), A._asStringQ(t1.$index(data, "serverAuthCode"))); }, injectJSLibraries(libraries) { var t3, t4, _i, library, script, loading = A._setArrayType([], type$.JSArray_Future_void), tags = A._setArrayType([], type$.JSArray_HtmlElement), t1 = document, t2 = t1.querySelector("head"); t2.toString; for (t3 = libraries.length, t4 = type$._ElementEventStreamImpl_Event, _i = 0; _i < libraries.length; libraries.length === t3 || (0, A.throwConcurrentModificationError)(libraries), ++_i) { library = libraries[_i]; script = t1.createElement("script"); script.async = true; script.defer = true; script.src = library; loading.push(new A._ElementEventStreamImpl(script, "load", false, t4).get$first(0)); tags.push(script); } J.get$children$x(t2).addAll$1(0, tags); return A.Future_wait(loading, type$.void); }, gapiUserToPluginUserData(currentUser) { var profile, t2, t3, t4, t5, _null = null, t1 = currentUser == null, isSignedIn = t1 ? _null : J.isSignedIn$0$x(currentUser); if (isSignedIn == null) isSignedIn = false; profile = t1 ? _null : J.getBasicProfile$0$x(currentUser); if (isSignedIn) t2 = (profile == null ? _null : J.getId$0$x(profile)) == null; else t2 = true; if (t2) return _null; t2 = profile == null; t3 = t2 ? _null : J.getName$0$x(profile); t4 = t2 ? _null : J.getEmail$0$x(profile); if (t4 == null) t4 = ""; t5 = t2 ? _null : J.getId$0$x(profile); if (t5 == null) t5 = ""; t2 = t2 ? _null : J.getImageUrl$0$x(profile); return new A.GoogleSignInUserData(t3, t4, t5, t2, t1 ? _null : J.get$id_token$x(J.getAuthResponse$0$x(currentUser)), _null); }, htmlSerializeEscape(text, attributeMode) { var t1, t2, result, i, ch, replace, _null = null; for (t1 = text.length, t2 = !attributeMode, result = _null, i = 0; i < t1; ++i) { ch = text[i]; switch (ch) { case "&": replace = "&"; break; case "\xa0": replace = " "; break; case '"': replace = attributeMode ? """ : _null; break; case "<": replace = t2 ? "<" : _null; break; case ">": replace = t2 ? ">" : _null; break; default: replace = _null; } if (replace != null) { if (result == null) result = new A.StringBuffer(B.JSString_methods.substring$2(text, 0, i)); result._contents += replace; } else if (result != null) result._contents += ch; } if (result != null) { t1 = result._contents; t1 = t1.charCodeAt(0) == 0 ? t1 : t1; } else t1 = text; return t1; }, isBlock(node) { var t1 = A._asElement(node); if (t1 == null) t1 = null; else { t1 = t1.localName; t1 = t1 == null ? null : t1.toLowerCase(); } return B.JSArray_methods.contains$1(B.List_ouN0, t1); }, nextSibling(node) { var siblings, i, t1 = node.parentNode; if (t1 == null) return null; siblings = t1.get$nodes(0); i = siblings.indexOf$1(siblings, node) + 1; t1 = siblings._list_proxy$_list; if (i < t1.length) return t1[i]; return null; }, previousSibling(node) { var siblings, i, t1 = node.parentNode; if (t1 == null) return null; siblings = t1.get$nodes(0); i = siblings.indexOf$1(siblings, node) - 1; if (i >= 0) return siblings._list_proxy$_list[i]; return null; }, _asElement(node) { if (!(node instanceof A.Element)) return null; return node; }, _collapseWhitespace(domNode, removeTags) { var current, t2, t3, prevText, prev, t4, t5, text, next, value, _null = null, t1 = domNode.get$nodes(0); if ((!t1.get$isEmpty(t1) ? domNode.get$nodes(0)._list_proxy$_list[0] : _null) == null || A._isPre(domNode)) return domNode; current = A._nextNode(_null, domNode); for (t1 = type$.Element_3, t2 = type$.Text, t3 = type$.JSArray_Node, prevText = _null, prev = prevText; current !== domNode;) { if (current.get$nodeType(current) === 3 || current.get$nodeType(current) === 4) { t2._as(current); t4 = J.toString$0$(current._dom$_data); current._dom$_data = t4; t5 = A.RegExp_RegExp("[ \\r\\n\\t]+", true, false, false, false); text = A.stringReplaceAllUnchecked(t4, t5, " "); if (prevText != null) { t4 = A.RegExp_RegExp(" $", true, false, false, false); t5 = J.toString$0$(prevText._dom$_data); prevText._dom$_data = t5; t4 = t4._nativeRegExp.test(t5); } else t4 = true; if (t4 && B.JSString_methods.substring$2(text, 0, 1) === " ") text = B.JSString_methods.substring$1(text, 1); if (text.length === 0) { next = A.nextSibling(current); if (next == null) next = current.parentNode; t4 = current.parentNode; if (t4 != null) { value = t4.__Node_nodes_FI; if (value === $) { t5 = A._setArrayType([], t3); t4.__Node_nodes_FI !== $ && A.throwUnnamedLateFieldADI(); value = t4.__Node_nodes_FI = new A.NodeList(t4, t5); } B.JSArray_methods.remove$1(value._list_proxy$_list, current); } current = next; continue; } current._dom$_data = text; prevText = current; } else if (current.get$nodeType(current) === 1) { t1._as(current); t4 = current.localName; if (B.JSArray_methods.contains$1(removeTags, t4.toLowerCase())) { next = A.nextSibling(current); if (next == null) next = current.parentNode; t4 = current.parentNode; if (t4 != null) { value = t4.__Node_nodes_FI; if (value === $) { t5 = A._setArrayType([], t3); t4.__Node_nodes_FI !== $ && A.throwUnnamedLateFieldADI(); value = t4.__Node_nodes_FI = new A.NodeList(t4, t5); } B.JSArray_methods.remove$1(value._list_proxy$_list, current); } current = next; continue; } t5 = A._asElement(current); if (t5 == null) t5 = _null; else { t5 = t5.localName; t5 = t5 == null ? _null : t5.toLowerCase(); } if (B.JSArray_methods.contains$1(B.List_ouN0, t5) || t4.toLowerCase() === "br") { if (prevText != null) { t4 = J.toString$0$(prevText._dom$_data); prevText._dom$_data = t4; t5 = A.RegExp_RegExp(" $", true, false, false, false); t4 = A.stringReplaceAllUnchecked(t4, t5, ""); prevText._dom$_data = t4; } prevText = _null; } else { t4 = A._asElement(current); if (t4 == null) t4 = _null; else { t4 = t4.localName; t4 = t4 == null ? _null : t4.toLowerCase(); } if (B.JSArray_methods.contains$1(B.List_b5Q, t4)) prevText = _null; } } else { next = A.nextSibling(current); if (next == null) next = current.parentNode; t4 = current.parentNode; if (t4 != null) { value = t4.__Node_nodes_FI; if (value === $) { t5 = A._setArrayType([], t3); t4.__Node_nodes_FI !== $ && A.throwUnnamedLateFieldADI(); value = t4.__Node_nodes_FI = new A.NodeList(t4, t5); } B.JSArray_methods.remove$1(value._list_proxy$_list, current); } current = next; continue; } next = A._nextNode(prev, current); prev = current; current = next; } if (prevText != null) { t1 = J.toString$0$(prevText._dom$_data); prevText._dom$_data = t1; t2 = A.RegExp_RegExp(" $", true, false, false, false); t1 = A.stringReplaceAllUnchecked(t1, t2, ""); prevText._dom$_data = t1; prevText._dom$_data = t1; if (t1.length === 0) A._remove(prevText); } return domNode; }, _isPre(node) { return node instanceof A.Element && A._asElement(node).localName.toLowerCase() === "pre"; }, _nextNode(prev, current) { var t1, parentNode; if (prev != null && prev.parentNode == current || A._isPre(current)) { current.toString; t1 = A.nextSibling(current); return t1 == null ? current.parentNode : t1; } t1 = current.get$nodes(0); t1 = !t1.get$isEmpty(t1) ? current.get$nodes(0)._list_proxy$_list[0] : null; if (t1 == null) t1 = A.nextSibling(current); if (t1 == null) { parentNode = current.parentNode; t1 = parentNode instanceof A.Element ? parentNode : null; } return t1; }, _remove(node) { var next = A.nextSibling(node); if (next == null) next = node.parentNode; node.remove$0(0); return next; }, wrapFormatException($name, value, body) { var error, error0, t1, exception; try { t1 = body.call$0(); return t1; } catch (exception) { t1 = A.unwrapException(exception); if (t1 instanceof A.SourceSpanFormatException) { error = t1; throw A.wrapException(A.SourceSpanFormatException$("Invalid " + $name + ": " + error._span_exception$_message, error._span, J.get$source$z(error))); } else if (type$.FormatException._is(t1)) { error0 = t1; throw A.wrapException(A.FormatException$("Invalid " + $name + ' "' + value + '": ' + J.get$message$x(error0), J.get$source$z(error0), J.get$offset$x(error0))); } else throw exception; } }, compositeImage(dst, src, blend, dstX, dstY) { var dy, dx, t1, yCache, y, xCache, x, _null = null, srcW = src.get$width(0), srcH = src.get$height(0), dstW = dst.get$width(0) < src.get$width(0) ? dst.get$width(0) : src.get$width(0), dstH = dst.get$height(0) < src.get$height(0) ? dst.get$height(0) : src.get$height(0); if (dst.get$hasPalette()) dst.convert$1$numChannels(dst.get$numChannels()); dy = srcH / dstH; dx = srcW / dstW; t1 = type$.int; yCache = J.JSArray_JSArray$allocateFixed(dstH, t1); for (y = 0; y < dstH; ++y) yCache[y] = B.JSNumber_methods.toInt$0(y * dy); xCache = J.JSArray_JSArray$allocateFixed(dstW, t1); for (x = 0; x < dstW; ++x) xCache[x] = B.JSNumber_methods.toInt$0(x * dx); if (blend === B.BlendMode_0) A._directComposite(src, dst, dstX, dstY, dstW, dstH, xCache, yCache, _null, B.Channel_4); else A._composite(src, dst, dstX, dstY, dstW, dstH, xCache, yCache, blend, false, _null, B.Channel_4); return dst; }, _directComposite(src, dst, dstX, dstY, dstW, dstH, xCache, yCache, mask, maskChannel) { var p, y, t1, x, t2, t3, t4; for (p = null, y = 0; y < dstH; ++y) for (t1 = dstY + y, x = 0; x < dstW; ++x) { t2 = xCache[x]; t3 = yCache[y]; t4 = src.data; p = t4 == null ? null : t4.getPixel$3(t2, t3, p); if (p == null) p = new A.PixelUndefined(); dst.setPixel$3(dstX + x, t1, p); } }, _composite(src, dst, dstX, dstY, dstW, dstH, xCache, yCache, blend, linearBlend, mask, maskChannel) { var p, y, t1, x, t2, t3, t4; for (p = null, y = 0; y < dstH; ++y) for (t1 = dstY + y, x = 0; x < dstW; ++x) { t2 = xCache[x]; t3 = yCache[y]; t4 = src.data; p = t4 == null ? null : t4.getPixel$3(t2, t3, p); if (p == null) p = new A.PixelUndefined(); A.drawPixel(dst, dstX + x, t1, p, blend, false, mask, maskChannel); } }, drawPixel(image, x, y, c, blend, linearBlend, mask, maskChannel) { var overlayR, overlayG, overlayB, t1, dst, baseR, baseG, baseB, baseA, baseOverlayAlphaProduct, t2, t3, rightHandProductR, rightHandProductG, rightHandProductB, t4, oR, oG, oB, colorChoiceR, colorChoiceG, colorChoiceB, t5, t6, invA; if (!image.isBoundsSafe$2(x, y)) return image; if (blend === B.BlendMode_0 || image.get$hasPalette()) if (image.isBoundsSafe$2(x, y)) { image.getPixel$2(x, y).$set$1(0, c); return image; } overlayR = c.get$rNormalized(); overlayG = c.get$gNormalized(); overlayB = c.get$bNormalized(); t1 = c.get$length(c) < 4 ? 1 : c.get$aNormalized(); if (t1 === 0) return image; dst = image.getPixel$2(x, y); baseR = dst.get$rNormalized(); baseG = dst.get$gNormalized(); baseB = dst.get$bNormalized(); baseA = dst.get$aNormalized(); switch (blend.index) { case 0: return image; case 1: break; case 2: overlayR = Math.max(baseR, overlayR); overlayG = Math.max(baseG, overlayG); overlayB = Math.max(baseB, overlayB); break; case 3: overlayR = 1 - (1 - overlayR) * (1 - baseR); overlayG = 1 - (1 - overlayG) * (1 - baseG); overlayB = 1 - (1 - overlayB) * (1 - baseB); break; case 4: baseOverlayAlphaProduct = t1 * baseA; t2 = 1 - baseA; t3 = 1 - t1; rightHandProductR = overlayR * t2 + baseR * t3; rightHandProductG = overlayG * t2 + baseG * t3; rightHandProductB = overlayB * t2 + baseB * t3; t3 = B.JSNumber_methods.clamp$2(t1, 0.01, 1); t2 = t1 < 0; t4 = t2 ? 0 : 1; oR = B.JSNumber_methods.clamp$2(overlayR / t3 * t4, 0, 0.99); t4 = B.JSNumber_methods.clamp$2(t1, 0.01, 1); t3 = t2 ? 0 : 1; oG = B.JSNumber_methods.clamp$2(overlayG / t4 * t3, 0, 0.99); t3 = B.JSNumber_methods.clamp$2(t1, 0.01, 1); t2 = t2 ? 0 : 1; oB = B.JSNumber_methods.clamp$2(overlayB / t3 * t2, 0, 0.99); t2 = baseR * t1; t3 = baseG * t1; t4 = baseB * t1; colorChoiceR = baseOverlayAlphaProduct < overlayR * baseA + t2 ? 0 : 1; colorChoiceG = baseOverlayAlphaProduct < overlayG * baseA + t3 ? 0 : 1; colorChoiceB = baseOverlayAlphaProduct < overlayB * baseA + t4 ? 0 : 1; overlayR = (baseOverlayAlphaProduct + rightHandProductR) * (1 - colorChoiceR) + (t2 / (1 - oR) + rightHandProductR) * colorChoiceR; overlayG = (baseOverlayAlphaProduct + rightHandProductG) * (1 - colorChoiceG) + (t3 / (1 - oG) + rightHandProductG) * colorChoiceG; overlayB = (baseOverlayAlphaProduct + rightHandProductB) * (1 - colorChoiceB) + (t4 / (1 - oB) + rightHandProductB) * colorChoiceB; break; case 5: overlayR = baseR + overlayR; overlayG = baseG + overlayG; overlayB = baseB + overlayB; break; case 6: overlayR = Math.min(baseR, overlayR); overlayG = Math.min(baseG, overlayG); overlayB = Math.min(baseB, overlayB); break; case 7: overlayR = baseR * overlayR; overlayG = baseG * overlayG; overlayB = baseB * overlayB; break; case 8: overlayR = overlayR !== 0 ? 1 - (1 - baseR) / overlayR : 0; overlayG = overlayG !== 0 ? 1 - (1 - baseG) / overlayG : 0; overlayB = overlayB !== 0 ? 1 - (1 - baseB) / overlayB : 0; break; case 9: t2 = 1 - baseA; t3 = 1 - t1; t4 = overlayR * t2; t5 = baseR * t3; overlayR = 2 * baseR < baseA ? 2 * overlayR * baseR + t4 + t5 : t1 * baseA - 2 * (baseA - baseR) * (t1 - overlayR) + t4 + t5; t4 = overlayG * t2; t5 = baseG * t3; overlayG = 2 * baseG < baseA ? 2 * overlayG * baseG + t4 + t5 : t1 * baseA - 2 * (baseA - baseG) * (t1 - overlayG) + t4 + t5; t2 = overlayB * t2; t3 = baseB * t3; overlayB = 2 * baseB < baseA ? 2 * overlayB * baseB + t2 + t3 : t1 * baseA - 2 * (baseA - baseB) * (t1 - overlayB) + t2 + t3; break; case 10: t2 = baseA === 0; if (t2) overlayR = 0; else { t3 = baseR / baseA; overlayR = baseR * (t1 * t3 + 2 * overlayR * (1 - t3)) + overlayR * (1 - baseA) + baseR * (1 - t1); } if (t2) overlayG = 0; else { t3 = baseG / baseA; overlayG = baseG * (t1 * t3 + 2 * overlayG * (1 - t3)) + overlayG * (1 - baseA) + baseG * (1 - t1); } if (t2) overlayB = 0; else { t2 = baseB / baseA; overlayB = baseB * (t1 * t2 + 2 * overlayB * (1 - t2)) + overlayB * (1 - baseA) + baseB * (1 - t1); } break; case 11: t2 = 2 * overlayR; t3 = 1 - baseA; t4 = 1 - t1; t5 = overlayR * t3; t6 = baseR * t4; overlayR = t2 < t1 ? t2 * baseR + t5 + t6 : t1 * baseA - 2 * (baseA - baseR) * (t1 - overlayR) + t5 + t6; t2 = 2 * overlayG; t5 = overlayG * t3; t6 = baseG * t4; overlayG = t2 < t1 ? t2 * baseG + t5 + t6 : t1 * baseA - 2 * (baseA - baseG) * (t1 - overlayG) + t5 + t6; t2 = 2 * overlayB; t3 = overlayB * t3; t4 = baseB * t4; overlayB = t2 < t1 ? t2 * baseB + t3 + t4 : t1 * baseA - 2 * (baseA - baseB) * (t1 - overlayB) + t3 + t4; break; case 12: overlayR = Math.abs(overlayR - baseR); overlayG = Math.abs(overlayG - baseG); overlayB = Math.abs(overlayB - baseB); break; case 13: overlayR = baseR - overlayR; overlayG = baseG - overlayG; overlayB = baseB - overlayB; break; case 14: overlayR = overlayR !== 0 ? baseR / overlayR : 0; overlayG = overlayG !== 0 ? baseG / overlayG : 0; overlayB = overlayB !== 0 ? baseB / overlayB : 0; break; } invA = 1 - t1; dst.set$rNormalized(overlayR * t1 + baseR * baseA * invA); dst.set$gNormalized(overlayG * t1 + baseG * baseA * invA); dst.set$bNormalized(overlayB * t1 + baseB * baseA * invA); dst.set$aNormalized(t1 + baseA * invA); return image; }, _convertColor(c, c2, a) { var cl, g, ci, l, v, numChannels = c2.get$length(c2), format = c2.get$format(), t1 = c.get$palette(), fromFormat = t1 == null ? null : t1.get$format(); if (fromFormat == null) fromFormat = c.get$format(); cl = c.get$length(c); if (numChannels === 1) { g = c.get$length(c) > 2 ? c.get$luminance() : c.$index(0, 0); c2.$indexSet(0, 0, A.convertFormatValue(A._isInt(c.$index(0, 0)) ? B.JSNumber_methods.floor$0(g) : g, fromFormat, format)); } else if (numChannels <= cl) for (ci = 0; ci < numChannels; ++ci) c2.$indexSet(0, ci, A.convertFormatValue(c.$index(0, ci), fromFormat, format)); else if (cl === 2) { l = A.convertFormatValue(c.$index(0, 0), fromFormat, format); if (numChannels === 3) { c2.$indexSet(0, 0, l); c2.$indexSet(0, 1, l); c2.$indexSet(0, 2, l); } else { a = A.convertFormatValue(c.$index(0, 1), fromFormat, format); c2.$indexSet(0, 0, l); c2.$indexSet(0, 1, l); c2.$indexSet(0, 2, l); c2.$indexSet(0, 3, a); } } else { for (ci = 0; ci < cl; ++ci) c2.$indexSet(0, ci, A.convertFormatValue(c.$index(0, ci), fromFormat, format)); v = cl === 1 ? c2.$index(0, 0) : 0; for (ci = cl; ci < numChannels; ++ci) c2.$indexSet(0, ci, ci === 3 ? a : v); } return c2; }, convertColor(c, alpha, format, numChannels, to) { var t2, c2, t1 = c.get$palette(), fromFormat = t1 == null ? null : t1.get$format(); if (fromFormat == null) fromFormat = c.get$format(); t1 = to == null; t2 = t1 ? null : to.get$format(); format = t2 == null ? format : t2; if (format == null) format = c.get$format(); t2 = t1 ? null : to.get$length(to); numChannels = t2 == null ? numChannels : t2; if (numChannels == null) numChannels = c.get$length(c); if (alpha == null) alpha = 0; if (format === fromFormat && numChannels === c.get$length(c)) { if (t1) return c.clone$0(0); to.$set$1(0, c); return to; } switch (format.index) { case 3: if (t1) c2 = new A.ColorUint8(new Uint8Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 0: return A._convertColor(c, t1 ? new A.ColorUint1(numChannels, 0) : to, alpha); case 1: return A._convertColor(c, t1 ? new A.ColorUint2(numChannels, 0) : to, alpha); case 2: if (t1) { t1 = numChannels < 3 ? 1 : 2; c2 = new A.ColorUint4(numChannels, new Uint8Array(t1)); } else c2 = to; return A._convertColor(c, c2, alpha); case 4: if (t1) c2 = new A.ColorUint16(new Uint16Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 5: if (t1) c2 = new A.ColorUint32(new Uint32Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 6: if (t1) c2 = new A.ColorInt8(new Int8Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 7: if (t1) c2 = new A.ColorInt16(new Int16Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 8: if (t1) c2 = new A.ColorInt32(new Int32Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 9: if (t1) c2 = new A.ColorFloat16(new Uint16Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 10: if (t1) c2 = new A.ColorFloat32(new Float32Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); case 11: if (t1) c2 = new A.ColorFloat64(new Float64Array(numChannels)); else c2 = to; return A._convertColor(c, c2, alpha); } }, getLuminance(c) { return 0.299 * c.get$r(c) + 0.587 * c.get$g() + 0.114 * c.get$b(c); }, Float16_doubleToFloat16(n) { var xI, e, m; $.$get$__float32()[0] = n; xI = $.$get$__float32ToUint32()[0]; if (n === 0) return xI >>> 16; if ($.Float16__toFloatFloat32Data == null) A.Float16__initialize(); e = J.$index$asx($.Float16____eLut._readField$0(), xI >>> 23 & 511); if (e !== 0) { m = xI & 8388607; return e + (m + 4095 + (m >>> 13 & 1) >>> 13); } return A.Float16__convert(xI); }, Float16__convert(i) { var t, t1, s = i >>> 16 & 32768, e = (i >>> 23 & 255) - 112, m = i & 8388607; if (e <= 0) { if (e < -10) return s; m |= 8388608; t = 14 - e; return (s | B.JSInt_methods.$shr(m + (B.JSInt_methods.$shl(1, t - 1) - 1) + (B.JSInt_methods._shrReceiverPositive$1(m, t) & 1), t)) >>> 0; } else if (e === 143) if (m === 0) return s | 31744; else { m = m >>> 13; t1 = m === 0 ? 1 : 0; return s | m | t1 | 31744; } else { m = m + 4095 + (m >>> 13 & 1); if ((m & 8388608) !== 0) { ++e; m = 0; } if (e > 30) return s | 31744; return (s | e << 10 | m >>> 13) >>> 0; } }, Float16__initialize() { var floatUint32Data, i, e, t2, t3, t1 = $.Float16__toFloatFloat32Data; if (t1 != null) return t1; floatUint32Data = new Uint32Array(65536); $.Float16__toFloatFloat32Data = A.NativeFloat32List_NativeFloat32List$view(floatUint32Data.buffer, 0, null); $.Float16____eLut.__late_helper$_value = new Uint16Array(512); for (t1 = $.Float16____eLut.__late_helper$_name, i = 0; i < 256; ++i) { e = (i & 255) - 112; if (e <= 0 || e >= 30) { t2 = $.Float16____eLut.__late_helper$_value; if (t2 === $.Float16____eLut) A.throwExpression(A.LateError$fieldNI(t1)); J.$indexSet$ax(t2, i, 0); t2 = $.Float16____eLut.__late_helper$_value; if (t2 === $.Float16____eLut) A.throwExpression(A.LateError$fieldNI(t1)); J.$indexSet$ax(t2, (i | 256) >>> 0, 0); } else { t2 = $.Float16____eLut.__late_helper$_value; if (t2 === $.Float16____eLut) A.throwExpression(A.LateError$fieldNI(t1)); t3 = e << 10 >>> 0; J.$indexSet$ax(t2, i, t3); t2 = $.Float16____eLut.__late_helper$_value; if (t2 === $.Float16____eLut) A.throwExpression(A.LateError$fieldNI(t1)); J.$indexSet$ax(t2, (i | 256) >>> 0, (t3 | 32768) >>> 0); } } for (i = 0; i < 65536; ++i) floatUint32Data[i] = A.Float16__halfToFloat(i); t1 = $.Float16__toFloatFloat32Data; t1.toString; return t1; }, Float16__halfToFloat(y) { var t1, s = y >>> 15 & 1, e = y >>> 10 & 31, m = y & 1023; if (e === 0) if (m === 0) return s << 31 >>> 0; else { for (; (m & 1024) === 0;) { m = m << 1; --e; } ++e; m &= 4294966271; } else if (e === 31) { t1 = s << 31; if (m === 0) return (t1 | 2139095040) >>> 0; else return (t1 | m << 13 | 2139095040) >>> 0; } return (s << 31 | e + 112 << 23 | m << 13) >>> 0; }, SKReceiptManager_retrieveReceiptData() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, t1; var $async$SKReceiptManager_retrieveReceiptData = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait($.$get$_hostApi1().retrieveReceiptData$0(), $async$SKReceiptManager_retrieveReceiptData); case 3: // returning from await. t1 = $async$result; $async$returnValue = t1 == null ? "" : t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SKReceiptManager_retrieveReceiptData, $async$completer); }, _emptySymbols() { return A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.DateSymbols); }, _emptyPatterns() { return A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Map_String_String); }, defaultLocale() { var t1 = $._defaultLocale; return t1; }, dayOfYear(month, day, leapYear) { var t1, t2; if (month === 1) return day; if (month === 2) return day + 31; t1 = B.JSNumber_methods.floor$0(30.6 * month - 91.4); t2 = leapYear ? 1 : 0; return t1 + day + 59 + t2; }, _setLoading(state, action) { return true; }, _setLoaded(state, action) { return false; }, _setSaving(state, action) { return true; }, _setSaved(state, action) { return false; }, presentCustomField(company, customFieldType, value) { if (company.getCustomFieldType$1(customFieldType) === "switch") return value === "yes"; else return value; }, convertHexStringToColor(value) { var t1, exception; value = value; if (value == null) return null; t1 = value; value = A.stringReplaceAllUnchecked(t1, "#", ""); if (J.get$length$asx(value) !== 6) return null; try { t1 = A.int_parse(value, 16); return new A.Color(t1 + 4278190080 >>> 0); } catch (exception) { return null; } }, convertColorToHexString(color) { var hex, t1, exception; try { hex = B.JSInt_methods.toRadixString$1(color.get$value(color), 16); t1 = J.substring$2$s(hex, 2, J.get$length$asx(hex)); return "#" + t1; } catch (exception) { return null; } }, addMonths(dateTime, offset) { var result, t1, newDay, r = B.JSInt_methods.$mod(offset, 12), newYear = A.Primitives_getYear(dateTime) + B.JSInt_methods._tdivFast$1(offset - r, 12), newMonth = A.Primitives_getMonth(dateTime) + r; if (newMonth > 12) { ++newYear; newMonth -= 12; } result = B.List_OLT[newMonth]; if (newMonth === 2) if (B.JSInt_methods.$mod(newYear, 400) !== 0) t1 = B.JSInt_methods.$mod(newYear, 4) === 0 && B.JSInt_methods.$mod(newYear, 100) !== 0; else t1 = true; else t1 = false; if (t1) ++result; newDay = Math.min(A.Primitives_getDay(dateTime), result); if (dateTime.isUtc) { t1 = A.Primitives_valueFromDecomposedDate(newYear, newMonth, newDay, A.Primitives_getHours(dateTime), A.Primitives_getMinutes(dateTime), A.Primitives_getSeconds(dateTime), A.Primitives_getMilliseconds(dateTime), true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, true); } else { t1 = A.Primitives_valueFromDecomposedDate(newYear, newMonth, newDay, A.Primitives_getHours(dateTime), A.Primitives_getMinutes(dateTime), A.Primitives_getSeconds(dateTime), A.Primitives_getMilliseconds(dateTime), false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, false); } }, calculateStartDate(company, customEndDate, customStartDate, dateRange, offset) { var firstDayOfMonth, firstMonthOfYear, firstDayOfYear, startDate, endDate, today = new A.DateTime(Date.now(), false), t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(today), A.Primitives_getMonth(today), 1, 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); firstDayOfMonth = new A.DateTime(t1, true); firstMonthOfYear = A.Primitives_parseInt(company.firstMonthOfYear, null); if (firstMonthOfYear == null) firstMonthOfYear = 1; t1 = firstMonthOfYear > A.Primitives_getMonth(today) ? 1 : 0; t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(today) - t1, firstMonthOfYear, 1, 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); firstDayOfYear = new A.DateTime(t1, true); switch (dateRange) { case B.DateRange_last7Days: return A.convertDateTimeToSqlDate(today.subtract$1(A.Duration$(7 * (1 + offset), 0, 0, 0, 0, 0))); case B.DateRange_last30Days: return A.convertDateTimeToSqlDate(today.subtract$1(A.Duration$(30 * (1 + offset), 0, 0, 0, 0, 0))); case B.DateRange_last365Days: return A.convertDateTimeToSqlDate(today.subtract$1(A.Duration$(365 * (1 + offset), 0, 0, 0, 0, 0))); case B.DateRange_thisMonth: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, offset * -1)); case B.DateRange_lastMonth: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, (1 + offset) * -1)); case B.DateRange_thisQuarter: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, offset * -3 + B.JSInt_methods.$mod(A.Primitives_getMonth(today) - 1, 3) * -1)); case B.DateRange_lastQuarter: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, (offset + 1) * -3 + B.JSInt_methods.$mod(A.Primitives_getMonth(today) - 1, 3) * -1)); case B.DateRange_thisYear: t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(firstDayOfYear) + offset * -1, A.Primitives_getMonth(firstDayOfYear), A.Primitives_getDay(firstDayOfYear), 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return A.convertDateTimeToSqlDate(new A.DateTime(t1, true)); case B.DateRange_lastYear: t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(firstDayOfYear) + (1 + offset) * -1, A.Primitives_getMonth(firstDayOfYear), A.Primitives_getDay(firstDayOfYear), 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return A.convertDateTimeToSqlDate(new A.DateTime(t1, true)); case B.DateRange_allTime: return null; default: if (customStartDate == null || customStartDate.length === 0) startDate = new A.DateTime(Date.now(), false); else { t1 = A.DateTime_tryParse(customStartDate); startDate = t1 == null ? new A.DateTime(Date.now(), false) : t1; } if (customEndDate == null || customEndDate.length === 0) endDate = new A.DateTime(Date.now(), false); else { t1 = A.DateTime_tryParse(customEndDate); endDate = t1 == null ? new A.DateTime(Date.now(), false) : t1; } return A.convertDateTimeToSqlDate(startDate.subtract$1(A.Duration$(B.JSInt_methods._tdivFast$1(A.Duration$(0, 0, 0, endDate._value - startDate._value, 0, 0)._duration, 864e8) * offset, 0, 0, 0, 0, 0))); } }, calculateEndDate(company, customEndDate, customStartDate, dateRange, offset) { var firstDayOfMonth, firstMonthOfYear, firstDayOfYear, startDate, endDate, today = new A.DateTime(Date.now(), false), t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(today), A.Primitives_getMonth(today), 1, 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); firstDayOfMonth = new A.DateTime(t1, true); firstMonthOfYear = A.Primitives_parseInt(company.firstMonthOfYear, null); if (firstMonthOfYear == null) firstMonthOfYear = 1; t1 = firstMonthOfYear > A.Primitives_getMonth(today) ? 1 : 0; t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(today) - t1, firstMonthOfYear, 1, 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); firstDayOfYear = new A.DateTime(t1, true); switch (dateRange) { case B.DateRange_last7Days: return A.convertDateTimeToSqlDate(today.subtract$1(A.Duration$(7 * offset + 1, 0, 0, 0, 0, 0))); case B.DateRange_last30Days: return A.convertDateTimeToSqlDate(today.subtract$1(A.Duration$(30 * offset + 1, 0, 0, 0, 0, 0))); case B.DateRange_last365Days: return A.convertDateTimeToSqlDate(today.subtract$1(A.Duration$(365 * offset + 1, 0, 0, 0, 0, 0))); case B.DateRange_thisMonth: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, (offset - 1) * -1).subtract$1(A.Duration$(1, 0, 0, 0, 0, 0))); case B.DateRange_lastMonth: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, offset * -1).subtract$1(A.Duration$(1, 0, 0, 0, 0, 0))); case B.DateRange_thisQuarter: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, offset * -3 + B.JSInt_methods.$mod(A.Primitives_getMonth(today) - 1, 3) * -1 + 3).subtract$1(A.Duration$(1, 0, 0, 0, 0, 0))); case B.DateRange_lastQuarter: return A.convertDateTimeToSqlDate(A.addMonths(firstDayOfMonth, (offset + 1) * -3 + B.JSInt_methods.$mod(A.Primitives_getMonth(today) - 1, 3) * -1 + 3).subtract$1(A.Duration$(1, 0, 0, 0, 0, 0))); case B.DateRange_thisYear: t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(firstDayOfYear) + (offset - 1) * -1, A.Primitives_getMonth(firstDayOfYear), A.Primitives_getDay(firstDayOfYear), 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return A.convertDateTimeToSqlDate(new A.DateTime(t1, true).subtract$1(A.Duration$(1, 0, 0, 0, 0, 0))); case B.DateRange_lastYear: t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(firstDayOfYear) + offset * -1, A.Primitives_getMonth(firstDayOfYear), A.Primitives_getDay(firstDayOfYear), 0, 0, 0, 0, true); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return A.convertDateTimeToSqlDate(new A.DateTime(t1, true).subtract$1(A.Duration$(1, 0, 0, 0, 0, 0))); case B.DateRange_allTime: return null; default: if (customStartDate == null || customStartDate.length === 0) startDate = new A.DateTime(Date.now(), false); else { t1 = A.DateTime_tryParse(customStartDate); startDate = t1 == null ? new A.DateTime(Date.now(), false) : t1; } if (customEndDate == null || customEndDate.length === 0) endDate = new A.DateTime(Date.now(), false); else { t1 = A.DateTime_tryParse(customEndDate); endDate = t1 == null ? new A.DateTime(Date.now(), false) : t1; } return A.convertDateTimeToSqlDate(endDate.subtract$1(A.Duration$(B.JSInt_methods._tdivFast$1(A.Duration$(0, 0, 0, endDate._value - startDate._value, 0, 0)._duration, 864e8) * offset, 0, 0, 0, 0, 0))); } }, pickFiles(allowMultiple, allowedExtensions, fileIndex, fileType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_List_MultipartFile), $async$returnValue; var $async$pickFiles = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = A._pickFiles(allowMultiple, allowedExtensions, fileIndex, fileType); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$pickFiles, $async$completer); }, _pickFiles(allowMultiple, allowedExtensions, fileIndex, fileType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_List_MultipartFile), $async$returnValue, t3, result, multipartFiles, t4, t5, t6, t7, index, file, t8, t9, t10, t11, t12, t13, lastEvent, t1, t2; var $async$_pickFiles = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$FilePicker__instance(); t2 = fileType == null ? B.FileType_5 : fileType; if (fileType === B.FileType_2) t3 = A._setArrayType([], type$.JSArray_String); else t3 = allowedExtensions == null ? A._setArrayType([], type$.JSArray_String) : allowedExtensions; $async$goto = 3; return A._asyncAwait(t1.pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData(true, allowMultiple, t3, t2, true), $async$_pickFiles); case 3: // returning from await. result = $async$result; if (result != null && J.get$isNotEmpty$asx(result.files)) { multipartFiles = A._setArrayType([], type$.JSArray_MultipartFile); for (t1 = result.files, t2 = J.getInterceptor$asx(t1), t3 = type$._AsyncStreamController_List_int, t4 = t3._eval$1("_DelayedData<1>"), t5 = type$.UnmodifiableMapView_String_String, t6 = type$.String, t7 = t3._eval$1("_ControllerStream<1>"), index = 0; index < t2.get$length(t1); ++index) { file = t2.$index(t1, index); if (allowMultiple) t8 = "documents[" + index + "]"; else { fileIndex.toString; t8 = fileIndex; } t9 = file.bytes; t9.toString; t10 = file.name; t11 = new A._AsyncStreamController(null, null, null, null, t3); t12 = t11._ensurePendingEvents$0(); t13 = new A._DelayedData(t9, t4); lastEvent = t12.lastPendingEvent; if (lastEvent == null) t12.firstPendingEvent = t12.lastPendingEvent = t13; else { lastEvent.set$next(0, t13); t12.lastPendingEvent = t13; } t11._closeUnchecked$0(); t9 = J.get$length$asx(t9); t11 = A.toByteStream(new A.ByteStream(new A._ControllerStream(t11, t7))); t12 = new A.MediaType("application".toLowerCase(), "octet-stream".toLowerCase(), new A.UnmodifiableMapView(A.LinkedHashMap_LinkedHashMap$_empty(t6, t6), t5)); multipartFiles.push(new A.MultipartFile(t8, t9, t10, t12, t11)); } $async$returnValue = multipartFiles; // goto return $async$goto = 1; break; } $async$returnValue = null; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_pickFiles, $async$completer); }, saveDownloadedFile(data, fileName, languageId, prefix) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t1, t2; var $async$saveDownloadedFile = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start if (prefix != null) { t1 = $.$get$navigatorKey(); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t2.toString; t2 = A.Localizations_of(t2, B.Type_AppLocalization_KyD, type$.AppLocalization); t2.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t1.toString; t1 = A.StoreProvider_of(t1, type$.AppState).__Store__state_A; t1 === $ && A.throwUnnamedLateFieldNI(); fileName = t2.lookup$2$overrideLocaleCode(prefix, t1.staticState.languageMap._map$_map.$index(0, languageId).locale) + "_" + fileName; } t1 = A.AnchorElement_AnchorElement("data:application/octet-stream;charset=utf-16le;base64," + B.C_Base64Codec.get$encoder().convert$1(data)); t1.setAttribute("download", fileName); t1.click(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$saveDownloadedFile, $async$completer); }, getAppDownloadDirectory() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_String), $async$returnValue; var $async$getAppDownloadDirectory = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = null; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getAppDownloadDirectory, $async$completer); }, getEntityActionIcon(entityAction) { switch (entityAction) { case B.EntityAction_edit: return B._MdiIconData_gg9; case B.EntityAction_viewStatement: case B.EntityAction_viewPdf: case B.EntityAction_bulkDownload: return B.IconData_58560_MaterialIcons_null_false; case B.EntityAction_viewDocument: return B.IconData_58548_MaterialIcons_null_false; case B.EntityAction_bulkPrint: case B.EntityAction_printPdf: return B.IconData_58602_MaterialIcons_null_false; case B.EntityAction_download: case B.EntityAction_documents: return B.IconData_57857_MaterialIcons_null_false; case B.EntityAction_clientPortal: case B.EntityAction_vendorPortal: return B.IconData_57712_MaterialIcons_null_false; case B.EntityAction_clone: case B.EntityAction_cloneToOther: case B.EntityAction_cloneToInvoice: case B.EntityAction_cloneToExpense: case B.EntityAction_cloneToQuote: case B.EntityAction_cloneToCredit: case B.EntityAction_cloneToRecurring: case B.EntityAction_cloneToPurchaseOrder: return B.IconData_57750_MaterialIcons_null_false; case B.EntityAction_markSent: return B.IconData_58608_MaterialIcons_null_false; case B.EntityAction_markPaid: return B.IconData_58497_MaterialIcons_null_false; case B.EntityAction_sendEmail: case B.EntityAction_bulkSendEmail: case B.EntityAction_resendInvite: case B.EntityAction_sendNow: return B.IconData_58737_MaterialIcons_null_true; case B.EntityAction_schedule: return B.IconData_58710_MaterialIcons_null_false; case B.EntityAction_archive: return B.IconData_57489_MaterialIcons_null_false; case B.EntityAction_delete: return B.IconData_57785_MaterialIcons_null_false; case B.EntityAction_remove: return B.IconData_58648_MaterialIcons_null_false; case B.EntityAction_restore: return B.IconData_58676_MaterialIcons_null_false; case B.EntityAction_convert: case B.EntityAction_convertMatched: case B.EntityAction_convertToInvoice: case B.EntityAction_convertToExpense: case B.EntityAction_convertToProject: case B.EntityAction_convertToPayment: return B.IconData_57744_MaterialIcons_null_false; case B.EntityAction_approve: case B.EntityAction_accept: return B.IconData_57690_MaterialIcons_null_false; case B.EntityAction_newInvoice: case B.EntityAction_newExpense: case B.EntityAction_newTask: case B.EntityAction_newClient: case B.EntityAction_newPayment: case B.EntityAction_newQuote: case B.EntityAction_newCredit: case B.EntityAction_newRecurringInvoice: case B.EntityAction_newRecurringQuote: case B.EntityAction_newRecurringExpense: case B.EntityAction_newPurchaseOrder: case B.EntityAction_invoiceTask: case B.EntityAction_invoiceExpense: case B.EntityAction_invoiceProject: case B.EntityAction_addToInvoice: return B.IconData_57424_MaterialIcons_null_false; case B.EntityAction_resume: case B.EntityAction_start: return B.IconData_58571_MaterialIcons_null_false; case B.EntityAction_stop: return B.IconData_58886_MaterialIcons_null_false; case B.EntityAction_settings: return B.IconData_58751_MaterialIcons_null_false; case B.EntityAction_refundPayment: case B.EntityAction_cancelInvoice: return B.IconData_58648_MaterialIcons_null_false; case B.EntityAction_reverse: return B.IconData_59020_MaterialIcons_null_true; case B.EntityAction_copy: return B.IconData_57744_MaterialIcons_null_false; case B.EntityAction_applyPayment: case B.EntityAction_applyCredit: return B.IconData_58497_MaterialIcons_null_false; case B.EntityAction_disconnect: return B._MdiIconData_Oe4; case B.EntityAction_reconnect: return B._MdiIconData_7T13; case B.EntityAction_purge: return B.IconData_57786_MaterialIcons_null_false; case B.EntityAction_viewInvoice: return B._MdiIconData_2C7; case B.EntityAction_viewExpense: return B._MdiIconData_jVE; case B.EntityAction_changeStatus: return B.IconData_57441_MaterialIcons_null_false; case B.EntityAction_back: return B.IconData_61224_MaterialIcons_null_false; case B.EntityAction_save: return B.IconData_57717_MaterialIcons_null_false; case B.EntityAction_addToInventory: return B.IconData_58185_MaterialIcons_null_false; case B.EntityAction_merge: return B._MdiIconData_kmg; case B.EntityAction_autoBill: return B._MdiIconData_ifn0; case B.EntityAction_updatePrices: return B._MdiIconData_YMD; case B.EntityAction_increasePrices: return B._MdiIconData_2C70; case B.EntityAction_setTaxCategory: return B._MdiIconData_qjl; case B.EntityAction_eInvoice: case B.EntityAction_eQuote: case B.EntityAction_eCredit: case B.EntityAction_ePurchaseOrder: return B._MdiIconData_aAu0; case B.EntityAction_unlink: return B._MdiIconData_2C71; case B.EntityAction_runTemplate: return B._MdiIconData_90Y2; case B.EntityAction_bulkUpdate: return B._MdiIconData_OON; case B.EntityAction_addComment: return B._MdiIconData_Gjc; case B.EntityAction_assignGroup: return B._MdiIconData_egL4; default: return null; } }, getEntityIcon(entityType) { switch (entityType) { case B.EntityType_dashboard: return B._MdiIconData_rJg; case B.EntityType_reports: return B._MdiIconData_egL2; case B.EntityType_settings: return B._MdiIconData_AmO0; case B.EntityType_product: return B._MdiIconData_7T12; case B.EntityType_project: return B._MdiIconData_2Nv0; case B.EntityType_client: return B.IconData_58502_MaterialIcons_null_false; case B.EntityType_invoice: return B._MdiIconData_2C7; case B.EntityType_recurringInvoice: case B.EntityType_recurringExpense: case B.EntityType_recurringQuote: return B._MdiIconData_90Y; case B.EntityType_payment: return B._MdiIconData_dEB; case B.EntityType_companyGateway: return B._MdiIconData_ifn0; case B.EntityType_quote: return B._MdiIconData_sUr0; case B.EntityType_vendor: return B.IconData_57627_MaterialIcons_null_false; case B.EntityType_expense: return B._MdiIconData_jVE; case B.EntityType_task: return B._MdiIconData_90Y0; case B.EntityType_group: return B._MdiIconData_I2F; case B.EntityType_user: return B.IconData_58513_MaterialIcons_null_false; case B.EntityType_credit: return B._MdiIconData_yrt; case B.EntityType_design: return B._MdiIconData_atK; case B.EntityType_paymentTerm: return B._MdiIconData_dEB0; case B.EntityType_token: return B._MdiIconData_wMy0; case B.EntityType_webhook: return B._MdiIconData_FFB; case B.EntityType_expenseCategory: case B.EntityType_taskStatus: return B._MdiIconData_yvL; case B.EntityType_paymentLink: return B._MdiIconData_egL3; case B.EntityType_purchaseOrder: return B._MdiIconData_90Y1; case B.EntityType_transaction: return B._MdiIconData_Tj8; case B.EntityType_bankAccount: return B._MdiIconData_EuK; case B.EntityType_transactionRule: return B.IconData_58696_MaterialIcons_null_false; case B.EntityType_schedule: return B.IconData_58710_MaterialIcons_null_false; case B.EntityType_document: return B.IconData_58548_MaterialIcons_null_false; case B.EntityType_company: case B.EntityType_location: return B.IconData_57627_MaterialIcons_null_false; default: return B._MdiIconData_UEg; } }, getFileTypeIcon(type) { switch (type) { case "pdf": return B._MdiIconData_MO91; case "psd": return B._MdiIconData_jVE; case "txt": return B._MdiIconData_Skt0; case "doc": case "docx": return B._MdiIconData_43h0; case "xls": case "xlsx": return B._MdiIconData_UEg1; case "ppt": case "pptt": return B._MdiIconData_MO93; default: return null; } }, getSettingIcon(section) { switch (section) { case "company_details": return B.IconData_57627_MaterialIcons_null_false; case "user_details": return B.IconData_58513_MaterialIcons_null_false; case "localization": return B.IconData_58214_MaterialIcons_null_false; case "payment_settings": case "company_gateways": return B._MdiIconData_dEB; case "tax_settings": case "tax_settings_rates": return B._MdiIconData_egL; case "import_export": return B.IconData_58168_MaterialIcons_null_false; case "device_settings": return B.IconData_58751_MaterialIcons_null_false; case "group_settings": return B._MdiIconData_I2F; case "generated_numbers": return B._MdiIconData_MO90; case "custom_fields": return B._MdiIconData_Skt; case "custom_designs": return B._MdiIconData_atK; case "invoice_design": return B._MdiIconData_EuK0; case "workflow_settings": return B._MdiIconData_IAW; case "client_portal": return B._MdiIconData_Qa6; case "email_settings": return B.IconData_58307_MaterialIcons_null_false; case "templates_and_reminders": return B._MdiIconData_CtR; case "credit_cards_and_banks": return B._MdiIconData_FFB; case "data_visualizations": return B._MdiIconData_FFB; case "user_management": return B.IconData_58502_MaterialIcons_null_false; case "account_management": return B._MdiIconData_GDY; case "product_settings": return A.getEntityIcon(B.EntityType_product); case "expense_settings": case "expense_category": return A.getEntityIcon(B.EntityType_expense); case "task_settings": case "task_status": return A.getEntityIcon(B.EntityType_task); case "payment_links": return A.getEntityIcon(B.EntityType_paymentLink); case "schedules": return A.getEntityIcon(B.EntityType_schedule); case "bank_accounts": return B._MdiIconData_EuK; case "transaction_rules": return B.IconData_58696_MaterialIcons_null_false; case "e_invoice_settings": return B._MdiIconData_14x; default: return null; } }, getActivityIcon(categoryId) { switch (categoryId) { case 2: return B.IconData_57898_MaterialIcons_null_false; case 1: return B.IconData_57759_MaterialIcons_null_false; case 4: return B.IconData_58560_MaterialIcons_null_false; case 5: return B.IconData_58729_MaterialIcons_null_false; case 3: return B._MdiIconData_FFB; default: return B._MdiIconData_UEg; } }, getExchangeRate(currencyMap, fromCurrencyId, toCurrencyId) { var t2, fromCurrency, toCurrency, baseCurrency, _s18_ = "## Error currency ", t1 = fromCurrencyId == null; if ((t1 ? "" : fromCurrencyId).length !== 0) t2 = (toCurrencyId == null ? "" : toCurrencyId).length === 0; else t2 = true; if (t2) return 1; t2 = currencyMap._map$_map; fromCurrency = t2.$index(0, fromCurrencyId); toCurrency = t2.$index(0, toCurrencyId); baseCurrency = t2.$index(0, "1"); if (t1) { A.print(_s18_ + A.S(fromCurrencyId) + " not found"); return 1; } if (toCurrencyId == null) { A.print(_s18_ + A.S(toCurrencyId) + " not found"); return 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); }, SerializationUtils_deserializeWith(list) { var t1 = J.getInterceptor$asx(list); return $.$get$serializers().deserializeWith$1$2(t1.$index(list, 0), t1.$index(list, 1), type$.dynamic); }, WidgetUtils_updateData() { A.isApple(); return; }, WidgetUtils_clearData() { A.isApple(); return; }, $enumDecode(enumValues, source) { var t1, t2; for (t1 = enumValues.get$entries(enumValues), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); if (J.$eq$(t2.value, source)) return t2.key; } t1 = A.ArgumentError$("`" + source + "` is not one of the supported values: " + J.join$1$ax(enumValues.get$values(enumValues), ", "), null); throw A.wrapException(t1); }, escapeAttribute(value) { var ch, t1 = value.length, i = 0, t2 = ""; while (true) { if (!(i < t1)) { t1 = t2; break; } ch = value.charCodeAt(i); if (ch === 92) { ++i; if (i === t1) { t1 = t2 + A.Primitives_stringFromCharCode(ch); break; } ch = value.charCodeAt(i); switch (ch) { case 34: t2 += """; break; case 33: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 91: case 92: case 93: case 94: case 95: case 96: case 123: case 124: case 125: case 126: t2 += A.Primitives_stringFromCharCode(ch); break; default: t2 = t2 + "%5C" + A.Primitives_stringFromCharCode(ch); } } else t2 = ch === 34 ? t2 + "%22" : t2 + A.Primitives_stringFromCharCode(ch); ++i; } return t1.charCodeAt(0) == 0 ? t1 : t1; }, current() { var exception, t1, path, lastIndex, uri = null; try { uri = A.Uri_base(); } catch (exception) { if (type$.Exception._is(A.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 = J.resolve$1$z(uri, ".").toString$0(0); else { path = uri.toFilePath$0(); lastIndex = path.length - 1; t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex); } return t1; }, isAlphabetic(char) { var t1; if (!(char >= 65 && char <= 90)) t1 = char >= 97 && char <= 122; else t1 = true; return t1; }, driveLetterEnd(path, index) { var t2, t3, _null = null, t1 = path.length, index0 = index + 2; if (t1 < index0) return _null; if (!A.isAlphabetic(path.charCodeAt(index))) return _null; t2 = index + 1; if (path.charCodeAt(t2) !== 58) { t3 = index + 4; if (t1 < t3) return _null; if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a") return _null; index = index0; } t2 = index + 2; if (t1 === t2) return t2; if (path.charCodeAt(t2) !== 47) return _null; return index + 3; }, setDocumentFfi(job, data) { throw A.wrapException(A.UnimplementedError$("Not using FFI")); }, setErrorFfi(job, message) { throw A.wrapException(A.UnimplementedError$("Not using FFI")); }, Printing_layoutPdf(dynamicLayout, format, $name, onLayout, usePrinterSettings) { return $.$get$PrintingPlatform__instance().layoutPdf$6(null, onLayout, $name, format, true, false); }, glog(n) { if (n < 1) throw A.wrapException(A.ArgumentError$("glog(" + n + ")", null)); return $.$get$_logTable()[n]; }, gexp(n) { for (; n < 0;) n += 255; for (; n >= 256;) n -= 255; return $.$get$_expTable()[n]; }, _createExpTable() { var i, list = new Uint8Array(256); for (i = 0; i < 8; ++i) list[i] = B.JSInt_methods._shlPositive$1(1, i); for (i = 8; i < 256; ++i) list[i] = list[i - 4] ^ list[i - 5] ^ list[i - 6] ^ list[i - 8]; return list; }, _createLogTable() { var i, list = new Uint8Array(256); for (i = 0; i < 255; ++i) list[$.$get$_expTable()[i]] = i; return list; }, bchTypeInfo(data) { var d0, d = data << 10 >>> 0; for (d0 = d; A._bchDigit(d0) - A._bchDigit(1335) >= 0;) d0 = (d0 ^ B.JSInt_methods.$shl(1335, A._bchDigit(d0) - A._bchDigit(1335))) >>> 0; return ((d | d0) ^ 21522) >>> 0; }, bchTypeNumber(data) { var d0, d = data << 12 >>> 0; for (d0 = d; A._bchDigit(d0) - A._bchDigit(7973) >= 0;) d0 = (d0 ^ B.JSInt_methods.$shl(7973, A._bchDigit(d0) - A._bchDigit(7973))) >>> 0; return (d | d0) >>> 0; }, _bchDigit(data) { var digit; for (digit = 0; data !== 0;) { ++digit; data = data >>> 1; } return digit; }, waitTwoFutures(f1, f2) { var t1; if (f1 == null) t1 = f2; else t1 = f1; return t1; }, getUtcDateTime() { return new A.DateTime(Date.now(), false).toUtc$0(); }, KeysExtension_get_keys(_this) { var i, t2, t1 = A._setArrayType([], type$.JSArray_String); for (i = 0; i < _this.length; ++i) { t2 = _this.key(i); t2.toString; t1.push(t2); } return t1; }, SignInWithApple_getAppleIDCredential(scopes, webAuthenticationOptions) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.AuthorizationCredentialAppleID), $async$returnValue; var $async$SignInWithApple_getAppleIDCredential = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $.$get$SignInWithApplePlatform__instance().getAppleIDCredential$4$nonce$scopes$state$webAuthenticationOptions(null, scopes, null, webAuthenticationOptions); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SignInWithApple_getAppleIDCredential, $async$completer); }, isAllTheSame(iter) { var firstValue, t1, t2, value; if (iter.get$length(0) === 0) return true; firstValue = iter.get$first(0); for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { value = t1.__internal$_current; if (!J.$eq$(value == null ? t2._as(value) : value, firstValue)) return false; } return true; }, replaceFirstNull(list, element) { var index = B.JSArray_methods.indexOf$1(list, null); if (index < 0) throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null)); list[index] = element; }, replaceWithNull(list, element) { var index = B.JSArray_methods.indexOf$1(list, element); if (index < 0) throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null)); list[index] = null; }, countCodeUnits(string, codeUnit) { var t1, t2, count, t3; for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; if ((t3 == null ? t2._as(t3) : t3) === codeUnit) ++count; } return count; }, findLineStart(context, text, column) { var beginningOfLine, index, lineStart; if (text.length === 0) for (beginningOfLine = 0; true;) { index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine); if (index === -1) return context.length - beginningOfLine >= column ? beginningOfLine : null; if (index - beginningOfLine >= column) return beginningOfLine; beginningOfLine = index + 1; } index = B.JSString_methods.indexOf$1(context, text); for (; index !== -1;) { lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1; if (column === index - lineStart) return lineStart; index = B.JSString_methods.indexOf$2(context, text, index + 1); } return null; }, StatesRebuilerLogger_log(m, e, s) { var errorMessage, errorMessage0, exception, t1 = e == null, t2 = $.StatesRebuilerLogger_message = "[states_rebuilder::" + (t1 ? "INFO" : "ERROR") + "]: " + m; if (!t1) { errorMessage = null; try { errorMessage0 = J.get$message$x(e); errorMessage = errorMessage0 == null ? A.S(e) : errorMessage0; } catch (exception) { errorMessage = A.S(e); } t1 = $.StatesRebuilerLogger_message = $.StatesRebuilerLogger_message + (" : " + A.S(errorMessage)); } else t1 = t2; A.print("\x1b[33m" + t1 + "\x1b[0m"); if (s != null) A.print("\x1b[31m" + s.toString$0(0) + "\x1b[0m"); }, scrollOnPageUpKeyPress(editContext, keyEvent) { var t1, t2, t3, t4; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (keyEvent.logicalKey.keyId !== 4294968072) return B.ExecutionInstruction_0; t1 = editContext.scroller._document_scroller$_scrollPosition; t2 = t1._pixels; t2.toString; t3 = t1._viewportDimension; t3.toString; t4 = t1._minScrollExtent; t4.toString; t1.animateTo$3$curve$duration(Math.max(t2 - t3, t4), B.C__DecelerateCurve, B.Duration_150000); return B.ExecutionInstruction_2; }, scrollOnPageDownKeyPress(editContext, keyEvent) { var t1, t2, t3, t4; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (keyEvent.logicalKey.keyId !== 4294968071) return B.ExecutionInstruction_0; t1 = editContext.scroller._document_scroller$_scrollPosition; t2 = t1._pixels; t2.toString; t3 = t1._viewportDimension; t3.toString; t4 = t1._maxScrollExtent; t4.toString; t1.animateTo$3$curve$duration(Math.min(t2 + t3, t4), B.C__DecelerateCurve, B.Duration_150000); return B.ExecutionInstruction_2; }, scrollOnCtrlOrCmdAndHomeKeyPress(editContext, keyEvent) { var t1, t2; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968070)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855)); } else t1 = false; if (t1) return B.ExecutionInstruction_0; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)); } else t1 = false; if (t1) return B.ExecutionInstruction_0; t1 = editContext.scroller._document_scroller$_scrollPosition; t2 = t1._minScrollExtent; t2.toString; t1.animateTo$3$curve$duration(t2, B.C__DecelerateCurve, B.Duration_150000); return B.ExecutionInstruction_2; }, scrollOnCtrlOrCmdAndEndKeyPress(editContext, keyEvent) { var t1, t2; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968069)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855)); } else t1 = false; if (t1) return B.ExecutionInstruction_0; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)); } else t1 = false; if (t1) return B.ExecutionInstruction_0; t1 = editContext.scroller._document_scroller$_scrollPosition; t2 = t1._maxScrollExtent; t2.toString; if (!isFinite(t2)) return B.ExecutionInstruction_2; t1.animateTo$3$curve$duration(t2, B.C__DecelerateCurve, B.Duration_150000); return B.ExecutionInstruction_2; }, blockControlKeys(editContext, keyEvent) { var t1 = keyEvent.logicalKey; if (!t1.$eq(0, B.LogicalKeyboardKey_4294967323)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968072)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968071)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968070)) if (!t1.$eq(0, B.LogicalKeyboardKey_4294968069)) { t1 = t1.keyId; t1 = t1 >= 4294969345 && t1 <= 4294969367; } else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; if (t1) return B.ExecutionInstruction_2; return B.ExecutionInstruction_0; }, toggleInteractionModeWhenCmdOrCtrlPressed(editContext, keyEvent) { var t1, _null = null; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (t1) { t1 = editContext.composer._isInInteractionMode; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1 = !t1; } else t1 = false; if (t1) { $.$get$editorKeyLog().log$4(B.Level_FINE_500, "Activating editor interaction mode", _null, _null); editContext.editor.execute$1(A._setArrayType([B.ChangeInteractionModeRequest_true], type$.JSArray_EditRequest)); } else { t1 = editContext.composer._isInInteractionMode; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1) { $.$get$editorKeyLog().log$4(B.Level_FINE_500, "De-activating editor interaction mode", _null, _null); editContext.editor.execute$1(A._setArrayType([B.ChangeInteractionModeRequest_false], type$.JSArray_EditRequest)); } } return B.ExecutionInstruction_0; }, doNothingWhenThereIsNoSelection(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_2; else return B.ExecutionInstruction_0; }, sendKeyEventToMacOs(editContext, keyEvent) { A.defaultTargetPlatform(); return B.ExecutionInstruction_0; }, deleteDownstreamCharacterWithCtrlDeleteOnMac(editContext, keyEvent) { var t1; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) return B.ExecutionInstruction_0; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967423)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = !(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)); } else t1 = true; if (t1) return B.ExecutionInstruction_0; return editContext.commonOps.deleteDownstream$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, pasteWhenCmdVIsPressed(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_118)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; editContext.commonOps.paste$0(); return B.ExecutionInstruction_2; }, selectAllWhenCmdAIsPressed(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_97)) return B.ExecutionInstruction_0; return editContext.commonOps.selectAll$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, copyWhenCmdCIsPressed(editContext, keyEvent) { var t1, t2; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_99)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1.get$isCollapsed(0)) return B.ExecutionInstruction_2; editContext.commonOps.copy$0(); return B.ExecutionInstruction_2; }, cutWhenCmdXIsPressed(editContext, keyEvent) { var t1, t2; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_120)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 == null) return B.ExecutionInstruction_0; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1.get$isCollapsed(0)) return B.ExecutionInstruction_2; editContext.commonOps.cut$0(); return B.ExecutionInstruction_2; }, cmdBToToggleBold(editContext, keyEvent) { var t1, t2, t3; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_98)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t2 = type$.Attribution; t3 = editContext.commonOps; if (t1.get$isCollapsed(0)) { t3.composer._preferences.toggleStyles$1(A.LinkedHashSet_LinkedHashSet$_literal([B.NamedAttribution_bold], t2)); return B.ExecutionInstruction_2; } else { t3.toggleAttributionsOnSelection$1(A.LinkedHashSet_LinkedHashSet$_literal([B.NamedAttribution_bold], t2)); return B.ExecutionInstruction_2; } }, cmdIToToggleItalics(editContext, keyEvent) { var t1, t2, t3; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_105)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t2 = type$.Attribution; t3 = editContext.commonOps; if (t1.get$isCollapsed(0)) { t3.composer._preferences.toggleStyles$1(A.LinkedHashSet_LinkedHashSet$_literal([B.NamedAttribution_italics], t2)); return B.ExecutionInstruction_2; } else { t3.toggleAttributionsOnSelection$1(A.LinkedHashSet_LinkedHashSet$_literal([B.NamedAttribution_italics], t2)); return B.ExecutionInstruction_2; } }, anyCharacterOrDestructiveKeyToDeleteSelection(editContext, keyEvent) { var t1, t2, isDestructiveKey, isCharacterKey; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 != null) { if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1 = t1.get$isCollapsed(0); } else t1 = true; if (t1) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849))) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = true; if (t1) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (t1.$eq(0, B.LogicalKeyboardKey_4294967323)) return B.ExecutionInstruction_0; t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; if (t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851)) return B.ExecutionInstruction_0; isDestructiveKey = t1.$eq(0, B.LogicalKeyboardKey_4294967304) || t1.$eq(0, B.LogicalKeyboardKey_4294967423); t1 = keyEvent.character; isCharacterKey = t1 != null && t1 !== "" && !A.isKeyEventCharacterBlacklisted(t1); if (!(isDestructiveKey || isCharacterKey)) return B.ExecutionInstruction_0; editContext.commonOps.deleteSelection$0(); if (isCharacterKey) return B.ExecutionInstruction_0; return B.ExecutionInstruction_2; }, deleteUpstreamContentWithBackspace(editContext, keyEvent) { if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; return editContext.commonOps.deleteUpstream$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, moveUpAndDownWithArrowKeys(editContext, keyEvent) { var t1, t2, didMove, t3; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!B.JSArray_methods.contains$1(B.List_muk, t1)) return B.ExecutionInstruction_0; t2 = editContext.composer._document_composer$_composingRegion; if (t2._pausable_value_notifier$_isPaused) { t2 = t2.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t2, 0); t2 = t2 != null; if (t2) return B.ExecutionInstruction_1; if (A.defaultTargetPlatform() === B.TargetPlatform_5) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t2 = false; if (t2) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_3) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t2 = false; if (t2) return B.ExecutionInstruction_0; if (t1.$eq(0, B.LogicalKeyboardKey_4294968068)) { if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t1 = false; if (t1) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); didMove = editContext.commonOps.moveCaretUpstream$2$expand$movementModifier(t1, B.MovementModifier_paragraph); } else { if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; t2 = $.ServicesBinding__instance; t3 = editContext.commonOps; if (t1) { t1 = t2.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; didMove = t3.moveSelectionToBeginningOfDocument$1$expand(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851)); } else { t1 = t2.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; didMove = t3.moveCaretUp$1$expand(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851)); } } } else { if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t1 = false; if (t1) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); didMove = editContext.commonOps.moveCaretDownstream$2$expand$movementModifier(t1, B.MovementModifier_paragraph); } else { if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; t2 = $.ServicesBinding__instance; t3 = editContext.commonOps; if (t1) { t1 = t2.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; didMove = t3.moveSelectionToEndOfDocument$1$expand(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851)); } else { t1 = t2.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; didMove = t3.moveCaretDown$1$expand(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851)); } } } return didMove ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, moveLeftAndRightWithArrowKeys(editContext, keyEvent) { var t1, t2, movementModifier, t3, didMove; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!B.JSArray_methods.contains$1(B.List_muk0, t1)) return B.ExecutionInstruction_0; t2 = editContext.composer._document_composer$_composingRegion; if (t2._pausable_value_notifier$_isPaused) { t2 = t2.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t2, 0); t2 = t2 != null; if (t2) return B.ExecutionInstruction_1; if (A.defaultTargetPlatform() === B.TargetPlatform_5) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t2 = false; if (t2) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_5 || A.defaultTargetPlatform() === B.TargetPlatform_3) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t2 = false; if (t2) movementModifier = B.MovementModifier_word; else { if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t2 = false; if (t2) movementModifier = B.MovementModifier_line; else { if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t2 = false; movementModifier = t2 ? B.MovementModifier_word : null; } } t1 = t1.$eq(0, B.LogicalKeyboardKey_4294968066); t2 = $.ServicesBinding__instance; t3 = editContext.commonOps; if (t1) { t1 = t2.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; didMove = t3.moveCaretUpstream$2$expand$movementModifier(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851), movementModifier); } else { t1 = t2.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; didMove = t3.moveCaretDownstream$2$expand$movementModifier(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851), movementModifier); } return didMove ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, doNothingWithLeftRightArrowKeysAtMiddleOfTextOnWeb(editContext, keyEvent) { var t1, t2, currentExtent, node; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (!B.JSArray_methods.contains$1(B.List_muk0, t1)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_5) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853); } else t2 = false; if (t2) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_3) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; if (t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853)) t2 = t1.$eq(0, B.LogicalKeyboardKey_4294968068) || t1.$eq(0, B.LogicalKeyboardKey_4294968065); else t2 = false; } else t2 = false; if (t2) return B.ExecutionInstruction_0; t2 = editContext.composer._selectionNotifier; if (t2._pausable_value_notifier$_isPaused) { t2 = t2.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t2, 0); currentExtent = t2.extent; node = editContext.document._nodesById.$index(0, currentExtent.nodeId); if (node == null) return B.ExecutionInstruction_0; if (!(node instanceof A.TextNode)) return B.ExecutionInstruction_0; t2 = currentExtent.nodePosition; if (!(t2 instanceof A.TextNodePosition)) return B.ExecutionInstruction_0; if (t1.$eq(0, B.LogicalKeyboardKey_4294968066) && t2.offset > 0) return B.ExecutionInstruction_1; if (t1.$eq(0, B.LogicalKeyboardKey_4294968067) && t2.offset < node._text$_text.text.length) return B.ExecutionInstruction_1; return B.ExecutionInstruction_0; }, moveToLineStartOrEndWithCtrlAOrE(editContext, keyEvent) { var t1, t2, didMove; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849))) return B.ExecutionInstruction_0; t1 = keyEvent.logicalKey; if (t1.$eq(0, B.LogicalKeyboardKey_97)) { t2 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._pressedKeys; t2 = t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t2.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); didMove = editContext.commonOps.moveCaretUpstream$2$expand$movementModifier(t2, B.MovementModifier_line); } else didMove = false; if (t1.$eq(0, B.LogicalKeyboardKey_101)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); didMove = editContext.commonOps.moveCaretDownstream$2$expand$movementModifier(t1, B.MovementModifier_line); } return didMove ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, moveToLineStartWithHome(editContext, keyEvent) { var t1, didMove; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.ExecutionInstruction_0; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968070)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); didMove = editContext.commonOps.moveCaretUpstream$2$expand$movementModifier(t1, B.MovementModifier_line); } else didMove = false; return didMove ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, moveToLineEndWithEnd(editContext, keyEvent) { var t1, didMove; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.ExecutionInstruction_0; if (keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294968069)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934850) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934851); didMove = editContext.commonOps.moveCaretDownstream$2$expand$movementModifier(t1, B.MovementModifier_line); } else didMove = false; return didMove ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; }, deleteToStartOfLineWithCmdBackspaceOnMac(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = editContext.commonOps; if (t1.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_line)) return t1.deleteSelection$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; return B.ExecutionInstruction_0; }, deleteToEndOfLineWithCmdDeleteOnMac(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934854) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934855); } else t1 = false; if (!t1) if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) { t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; t1 = t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849); } else t1 = false; else t1 = true; if (!t1 || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967423)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = editContext.commonOps; if (t1.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_line)) return t1.deleteSelection$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; return B.ExecutionInstruction_0; }, deleteWordUpstreamWithAltBackspaceOnMac(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853)) || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = editContext.commonOps; if (t1.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_word)) return t1.deleteSelection$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; return B.ExecutionInstruction_0; }, deleteWordUpstreamWithControlBackspaceOnWindowsAndLinux(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)) || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967304)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = editContext.commonOps; if (t1.moveCaretUpstream$2$expand$movementModifier(true, B.MovementModifier_word)) return t1.deleteSelection$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; return B.ExecutionInstruction_0; }, deleteWordDownstreamWithAltDeleteOnMac(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!(A.defaultTargetPlatform() === B.TargetPlatform_4 || A.defaultTargetPlatform() === B.TargetPlatform_2)) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934852) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934853)) || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967423)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = editContext.commonOps; if (t1.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_word)) return t1.deleteSelection$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; return B.ExecutionInstruction_0; }, deleteWordDownstreamWithControlDeleteOnWindowsAndLinux(editContext, keyEvent) { var t1; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (A.defaultTargetPlatform() !== B.TargetPlatform_5 && A.defaultTargetPlatform() !== B.TargetPlatform_3) return B.ExecutionInstruction_0; t1 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyboard_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._pressedKeys; if (!(t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934848) || t1.get$values(0).contains$1(0, B.LogicalKeyboardKey_8589934849)) || !keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967423)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t1 == null) return B.ExecutionInstruction_0; t1 = editContext.commonOps; if (t1.moveCaretDownstream$2$expand$movementModifier(true, B.MovementModifier_word)) return t1.deleteSelection$0() ? B.ExecutionInstruction_2 : B.ExecutionInstruction_0; return B.ExecutionInstruction_0; }, collapseSelectionWhenEscIsPressed(editContext, keyEvent) { var t1, t2; if (!(keyEvent instanceof A.KeyDownEvent) && !(keyEvent instanceof A.KeyRepeatEvent)) return B.ExecutionInstruction_0; if (!keyEvent.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967323)) return B.ExecutionInstruction_0; t1 = editContext.composer._selectionNotifier; if (t1._pausable_value_notifier$_isPaused) { t2 = t1.__PausableValueNotifier__currentValueDuringPause_A; t2 === $ && A.throwUnnamedLateFieldNI(); } else t2 = A.ValueNotifier.prototype.get$value.call(t1, 0); if (t2 != null) { if (t1._pausable_value_notifier$_isPaused) { t1 = t1.__PausableValueNotifier__currentValueDuringPause_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = A.ValueNotifier.prototype.get$value.call(t1, 0); t1 = t1.get$isCollapsed(0); } else t1 = true; if (t1) return B.ExecutionInstruction_0; editContext.commonOps.collapseSelection$0(); return B.ExecutionInstruction_2; }, getWordSelection(docLayout, docPosition) { var t2, component, nodePosition, wordNodeSelection, t3, _s16_ = "getWordSelection", t1 = $.$get$_log10(); t1.log$2(_s16_, "_getWordSelection()"); t1.log$2(_s16_, " - doc position: " + docPosition.toString$0(0)); t2 = docPosition.nodeId; component = docLayout.getComponentByNodeId$1(t2); if (!type$.TextComposable._is(component)) return null; nodePosition = docPosition.nodePosition; if (!(nodePosition instanceof A.TextNodePosition)) return null; wordNodeSelection = A.TextNodeSelection$fromTextSelection(component.getWordSelectionAt$1(new A.TextNodePosition(nodePosition.offset, B.TextAffinity_1))); t1.log$2(_s16_, " - word selection: " + wordNodeSelection.toString$0(0)); t1 = wordNodeSelection.affinity; t3 = new A.DocumentPosition(t2, new A.TextNodePosition(wordNodeSelection.baseOffset, t1)); t1 = new A.DocumentPosition(t2, new A.TextNodePosition(wordNodeSelection.extentOffset, t1)); return new A.DocumentSelection(t3, t1, t3, t1); }, expandPositionToWord(text, textPosition) { var start, start0, end, t1 = text.length; if (t1 === 0) return B.TextSelection_ke5; start = Math.min(textPosition.offset, t1); start0 = start; while (true) { if (!(start0 > 0 && text[start0 - 1] !== " ")) break; --start0; } end = start; while (true) { if (!(end < t1 && text[end] !== " ")) break; ++end; } return A.TextSelection$(B.TextAffinity_1, start0, end, false); }, getParagraphSelection(docLayout, docPosition) { var component, nodePosition, paragraphNodeSelection, t2, t3, _s21_ = "getParagraphSelection", t1 = $.$get$_log10(); t1.log$2(_s21_, "_getWordSelection()"); t1.log$2(_s21_, " - doc position: " + docPosition.toString$0(0)); t1 = docPosition.nodeId; component = docLayout.getComponentByNodeId$1(t1); if (!type$.TextComposable._is(component)) return null; nodePosition = docPosition.nodePosition; if (!(nodePosition instanceof A.TextNodePosition)) return null; paragraphNodeSelection = component.getContiguousTextSelectionAt$1(nodePosition); t2 = paragraphNodeSelection.affinity; t3 = new A.DocumentPosition(t1, new A.TextNodePosition(paragraphNodeSelection.baseOffset, t2)); t2 = new A.DocumentPosition(t1, new A.TextNodePosition(paragraphNodeSelection.extentOffset, t2)); return new A.DocumentSelection(t3, t2, t3, t2); }, getParagraphDirection(text) { var t1, t2; text = B.JSString_methods.trim$0(text); if (text.length !== 0) { t1 = $.$get$_rtlRegExp(); t2 = A.Primitives_stringFromCharCode(new A.Runes(text).get$first(0)); t1 = t1._nativeRegExp.test(t2); } else t1 = false; if (t1) return B.TextDirection_0; else return B.TextDirection_1; }, ScrollableFinder_get_findAncestorScrollableWithVerticalScroll(_this) { var direction, ancestorScrollable = A.Scrollable_maybeOf(_this, null); if (ancestorScrollable == null) return null; direction = ancestorScrollable._widget.axisDirection; if (direction === B.AxisDirection_3 || direction === B.AxisDirection_1) return null; return ancestorScrollable; }, IsArrowKeyExtension_get_isArrowKeyPressed(_this) { var t1 = _this.logicalKey; return t1.$eq(0, B.LogicalKeyboardKey_4294968068) || t1.$eq(0, B.LogicalKeyboardKey_4294968065) || t1.$eq(0, B.LogicalKeyboardKey_4294968066) || t1.$eq(0, B.LogicalKeyboardKey_4294968067); }, convertLaunchMode(mode) { switch (mode.index) { case 0: return B.PreferredLaunchMode_0; case 2: return B.PreferredLaunchMode_2; case 1: return B.PreferredLaunchMode_1; case 3: return B.PreferredLaunchMode_3; case 4: return B.PreferredLaunchMode_4; } }, launchUrl(url) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue; var $async$launchUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $.$get$UrlLauncherPlatform__instance().launchUrl$2(url.toString$0(0), new A.LaunchOptions(A.convertLaunchMode(B.LaunchMode_0), new A.InAppWebViewConfiguration(true, true, B.Map_empty6), null)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$launchUrl, $async$completer); } }, B = {}; var holders = [A, J, B]; var $ = {}; A.AlarmClock.prototype = { set$datetime(value) { var now, t1, t2, _this = this; if (J.$eq$(value, _this._datetime)) return; if (value == null) { _this._cancelTimer$0(); _this._datetime = null; return; } now = _this._timestampFunction.call$0(); t1 = value._value; t2 = now._value; if (t1 < t2) { _this._cancelTimer$0(); _this._datetime = value; return; } if (_this._timer == null) _this._timer = A.Timer_Timer(A.Duration$(0, 0, 0, t1 - t2, 0, 0), _this.get$_timerDidFire()); else if (_this._datetime._value > t1) { _this._cancelTimer$0(); _this._timer = A.Timer_Timer(A.Duration$(0, 0, 0, t1 - t2, 0, 0), _this.get$_timerDidFire()); } _this._datetime = value; }, _cancelTimer$0() { var t1 = this._timer; if (t1 != null) t1.cancel$0(0); this._timer = null; }, _timerDidFire$0() { var _this = this, now = _this._timestampFunction.call$0(), t1 = _this._datetime, t2 = now._value; t1 = t1._value; if (t2 >= t1) { _this._timer = null; t1 = _this.callback; if (t1 != null) t1.call$0(); } else _this._timer = A.Timer_Timer(A.Duration$(0, 0, 0, t1 - t2, 0, 0), _this.get$_timerDidFire()); } }; A.AppBootstrap.prototype = { autoStart$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$autoStart$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait($async$self._initializeEngine.call$0(), $async$autoStart$0); case 2: // returning from await. t1 = $async$self._runApp.call$0(); $async$goto = 3; return A._asyncAwait(type$.Future_dynamic._is(t1) ? t1 : A._Future$value(t1, type$.dynamic), $async$autoStart$0); case 3: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$autoStart$0, $async$completer); }, prepareEngineInitializer$0() { return A.FlutterEngineInitializer__staticInteropFactoryStub(new A.AppBootstrap_prepareEngineInitializer_closure(this), new A.AppBootstrap_prepareEngineInitializer_closure0(this)); }, _prepareAppRunner$0() { return A.FlutterAppRunner__staticInteropFactoryStub(new A.AppBootstrap__prepareAppRunner_closure(this)); }, _prepareFlutterApp$0() { return A.FlutterApp__staticInteropFactoryStub(new A.AppBootstrap__prepareFlutterApp_closure(this), new A.AppBootstrap__prepareFlutterApp_closure0(this)); } }; A.AppBootstrap_prepareEngineInitializer_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JavaScriptObject), $async$returnValue, $async$self = this, t1; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.$this; $async$goto = 3; return A._asyncAwait(t1.autoStart$0(), $async$call$0); case 3: // returning from await. $async$returnValue = t1._prepareFlutterApp$0(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 1450 }; A.AppBootstrap_prepareEngineInitializer_closure0.prototype = { call$1(configuration) { return this.$call$body$AppBootstrap_prepareEngineInitializer_closure(configuration); }, call$0() { return this.call$1(null); }, $call$body$AppBootstrap_prepareEngineInitializer_closure(configuration) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JavaScriptObject), $async$returnValue, $async$self = this, t1; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.$this; $async$goto = 3; return A._asyncAwait(t1._initializeEngine.call$1(configuration), $async$call$1); case 3: // returning from await. $async$returnValue = t1._prepareAppRunner$0(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 929 }; A.AppBootstrap__prepareAppRunner_closure.prototype = { call$1(params) { return this.$call$body$AppBootstrap__prepareAppRunner_closure(params); }, call$0() { return this.call$1(null); }, $call$body$AppBootstrap__prepareAppRunner_closure(params) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JavaScriptObject), $async$returnValue, $async$self = this, t1, t2; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.$this; t2 = t1._runApp.call$0(); $async$goto = 3; return A._asyncAwait(type$.Future_dynamic._is(t2) ? t2 : A._Future$value(t2, type$.dynamic), $async$call$1); case 3: // returning from await. $async$returnValue = t1._prepareFlutterApp$0(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 929 }; A.AppBootstrap__prepareFlutterApp_closure.prototype = { call$1(options) { return this.$call$body$AppBootstrap__prepareFlutterApp_closure0(options); }, $call$body$AppBootstrap__prepareFlutterApp_closure0(options) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.int), $async$returnValue, t4, view, t1, t2, t3; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.$get$EnginePlatformDispatcher__instance().get$viewManager(); t2 = t1._dispatcher; t3 = options.hostElement; t3.toString; t4 = $._nextViewId; $._nextViewId = t4 + 1; view = new A._EngineFlutterViewImpl(t4, t2, A.EmbeddingStrategy_EmbeddingStrategy$create(t3), B.ViewPadding_0_0_0_0, A.DimensionsProvider_DimensionsProvider$create(t3)); view.EngineFlutterView$_$3(t4, t2, t3); t1.registerView$2$jsViewOptions(view, options); $async$returnValue = t4; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 1495 }; A.AppBootstrap__prepareFlutterApp_closure0.prototype = { call$1(viewId) { return this.$call$body$AppBootstrap__prepareFlutterApp_closure(viewId); }, $call$body$AppBootstrap__prepareFlutterApp_closure(viewId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_JavaScriptObject), $async$returnValue; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $.$get$EnginePlatformDispatcher__instance().get$viewManager().disposeAndUnregisterView$1(viewId); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 1598 }; A.BrowserEngine.prototype = { _enumToString$0() { return "BrowserEngine." + this._core$_name; } }; A.OperatingSystem.prototype = { _enumToString$0() { return "OperatingSystem." + this._core$_name; } }; A.CanvasPool.prototype = { get$context(_) { var ctx = this._context; if (ctx == null) { this._createCanvas$0(); ctx = this._context; } ctx.toString; return ctx; }, get$contextHandle() { if (this.__engine$_canvas == null) this._createCanvas$0(); var t1 = this._contextHandle; t1.toString; return t1; }, _createCanvas$0() { var canvas0, requiresClearRect, t2, t3, t4, t5, exception, ctx, _this = this, reused = false, canvas = null, t1 = _this.__engine$_canvas; if (t1 != null) { A.DomCanvasElementExtension_set_width(t1, 0); t1 = _this.__engine$_canvas; t1.toString; A.DomCanvasElementExtension_set_height(t1, 0); _this.__engine$_canvas = null; } t1 = _this._reusablePool; if (t1 != null && t1.length !== 0) { t1.toString; canvas0 = B.JSArray_methods.removeAt$1(t1, 0); _this.__engine$_canvas = canvas0; canvas = canvas0; reused = true; requiresClearRect = true; } else { t1 = _this._widthInBitmapPixels; $.$get$EngineFlutterDisplay__instance(); t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; t3 = _this._heightInBitmapPixels; t4 = self.window.devicePixelRatio; if (t4 === 0) t4 = 1; canvas = _this._allocCanvas$2(t1, t3); t5 = canvas; _this.__engine$_canvas = t5; if (t5 == null) { A.reduceCanvasMemoryUsage(); canvas = _this._allocCanvas$2(t1, t3); } t5 = canvas.style; A.DomCSSStyleDeclarationExtension_setProperty(t5, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t5, "width", A.S(t1 / t2) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t5, "height", A.S(t3 / t4) + "px"); requiresClearRect = false; } if (!J.$eq$(_this._rootElement.lastChild, canvas)) _this._rootElement.append(canvas); try { if (reused) A.callMethod(canvas.style, "removeProperty", ["z-index"]); t1 = A.DomCanvasElementExtension_getContext(canvas, "2d", null); t1.toString; _this._context = type$.JavaScriptObject._as(t1); } catch (exception) { } t1 = _this._context; if (t1 == null) { A.reduceCanvasMemoryUsage(); t1 = A.DomCanvasElementExtension_getContext(canvas, "2d", null); t1.toString; t1 = _this._context = type$.JavaScriptObject._as(t1); } t2 = _this._density; _this._contextHandle = new A.ContextStateHandle(t1, _this, t2, B.BlendMode_3, B.StrokeCap_0, B.StrokeJoin_0); ctx = _this.get$context(0); ctx.save(); ++_this._saveContextCount; A.DomCanvasRenderingContext2DExtension_setTransform(ctx, 1, 0, 0, 1, 0, 0); if (requiresClearRect) A.callMethod(ctx, "clearRect", [0, 0, _this._widthInBitmapPixels * t2, _this._heightInBitmapPixels * t2]); $.$get$EngineFlutterDisplay__instance(); t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; t3 = self.window.devicePixelRatio; if (t3 === 0) t3 = 1; A.callMethod(ctx, "scale", [t1 * t2, t3 * t2]); _this._replayClipStack$0(); }, _allocCanvas$2(width, height) { var t1 = this._density; return A.tryCreateCanvasElement(B.JSNumber_methods.ceil$0(width * t1), B.JSNumber_methods.ceil$0(height * t1)); }, clear$0(_) { var ctx, e, exception, t1, t2, _this = this; _this.super$_SaveStackTracking$clear(0); if (_this.__engine$_canvas != null) { ctx = _this._context; if (ctx != null) try { ctx.font = ""; } catch (exception) { e = A.unwrapException(exception); if (!J.$eq$(e.name, "NS_ERROR_FAILURE")) throw exception; } } if (_this.__engine$_canvas != null) { _this._restoreContextSave$0(); _this._contextHandle.reset$0(0); t1 = _this._activeCanvasList; if (t1 == null) t1 = _this._activeCanvasList = A._setArrayType([], type$.JSArray_JavaScriptObject); t2 = _this.__engine$_canvas; t2.toString; t1.push(t2); _this._contextHandle = _this._context = null; } _this._reusablePool = _this._activeCanvasList; _this._contextHandle = _this._context = _this.__engine$_canvas = _this._activeCanvasList = null; }, _replaySingleSaveEntry$4(clipDepth, prevTransform, transform, clipStack) { var clipCount, t1, t2, clipEntry, clipTimeTransform, t3, t4, ratio, t5, path, _this = this, ctx = _this.get$context(0); if (clipStack != null) for (clipCount = clipStack.length, t1 = _this._density, t2 = type$.SurfacePath; clipDepth < clipCount; ++clipDepth) { clipEntry = clipStack[clipDepth]; clipTimeTransform = clipEntry.currentTransform; t3 = clipTimeTransform._m4storage; t4 = prevTransform._m4storage; if (t3[0] !== t4[0] || t3[1] !== t4[1] || t3[4] !== t4[4] || t3[5] !== t4[5] || t3[12] !== t4[12] || t3[13] !== t4[13]) { $.$get$EngineFlutterDisplay__instance(); t4 = self.window.devicePixelRatio; ratio = (t4 === 0 ? 1 : t4) * t1; ctx.setTransform.apply(ctx, [ratio, 0, 0, ratio, 0, 0]); ctx.transform.apply(ctx, [t3[0], t3[1], t3[4], t3[5], t3[12], t3[13]]); prevTransform = clipTimeTransform; } t3 = clipEntry.rect; if (t3 != null) { ctx.beginPath(); t4 = t3.left; t5 = t3.top; ctx.rect.apply(ctx, [t4, t5, t3.right - t4, t3.bottom - t5]); ctx.clip(); } else { t3 = clipEntry.rrect; if (t3 != null) { path = $.$get$_renderer().createPath$0(); path.addRRect$1(t3); _this._runPath$2(ctx, t2._as(path)); ctx.clip(); } else { t3 = clipEntry.path; if (t3 != null) { _this._runPath$2(ctx, t3); if (t3._fillType === B.PathFillType_0) ctx.clip(); else ctx.clip.apply(ctx, ["evenodd"]); } } } } t1 = transform._m4storage; t2 = prevTransform._m4storage; if (t1[0] !== t2[0] || t1[1] !== t2[1] || t1[4] !== t2[4] || t1[5] !== t2[5] || t1[12] !== t2[12] || t1[13] !== t2[13]) { $.$get$EngineFlutterDisplay__instance(); t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; ratio = t2 * _this._density; A.DomCanvasRenderingContext2DExtension_setTransform(ctx, ratio, 0, 0, ratio, 0, 0); A.DomCanvasRenderingContext2DExtension_transform(ctx, t1[0], t1[1], t1[4], t1[5], t1[12], t1[13]); } return clipDepth; }, _replayClipStack$0() { var clipDepth, saveStackIndex, saveEntry, prevTransform0, _this = this, ctx = _this.get$context(0), prevTransform = A.Matrix4$identity(), t1 = _this._saveStack, len = t1.length; for (clipDepth = 0, saveStackIndex = 0; saveStackIndex < len; ++saveStackIndex, prevTransform = prevTransform0) { saveEntry = t1[saveStackIndex]; prevTransform0 = saveEntry.transform; clipDepth = _this._replaySingleSaveEntry$4(clipDepth, prevTransform, prevTransform0, saveEntry.clipStack); ctx.save(); ++_this._saveContextCount; } _this._replaySingleSaveEntry$4(clipDepth, prevTransform, _this._currentTransform, _this.clipStack); }, endOfPaint$0() { var t2, _i, e, t3, t1 = this._reusablePool; if (t1 != null) { for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { e = t1[_i]; t3 = $.$get$_browserEngine(); if (t3 === B.BrowserEngine_1) { e.height = 0; e.width = 0; } e.remove(); } this._reusablePool = null; } this._restoreContextSave$0(); }, _restoreContextSave$0() { for (; this._saveContextCount !== 0;) { this._context.restore(); --this._saveContextCount; } }, translate$2(_, dx, dy) { this.super$_SaveStackTracking$translate(0, dx, dy); if (this.__engine$_canvas != null) A.callMethod(this.get$context(0), "translate", [dx, dy]); }, __engine$_clipRect$2(ctx, rect) { var t1, t2; ctx.beginPath(); t1 = rect.left; t2 = rect.top; A.callMethod(ctx, "rect", [t1, t2, rect.right - t1, rect.bottom - t2]); A.DomCanvasRenderingContext2DExtension_clip(ctx, null); }, __engine$_clipRRect$2(ctx, rrect) { var path = $.$get$_renderer().createPath$0(); path.addRRect$1(rrect); this._runPath$2(ctx, type$.SurfacePath._as(path)); A.DomCanvasRenderingContext2DExtension_clip(ctx, null); }, clipPath$1(_, path) { var ctx, _this = this; _this.super$_SaveStackTracking$clipPath(0, path); if (_this.__engine$_canvas != null) { ctx = _this.get$context(0); _this._runPath$2(ctx, path); if (path._fillType === B.PathFillType_0) A.DomCanvasRenderingContext2DExtension_clip(ctx, null); else A.DomCanvasRenderingContext2DExtension_clip(ctx, "evenodd"); } }, _runPath$2(ctx, path) { var p, t1, iter, verb, w, points, len, i, t2, t3; ctx.beginPath(); p = $.$get$CanvasPool__runBuffer(); t1 = path.pathRef; iter = new A.PathRefIterator(t1); iter.PathRefIterator$1(t1); for (; verb = iter.next$1(0, p), verb !== 6;) switch (verb) { case 0: ctx.moveTo.apply(ctx, [p[0], p[1]]); break; case 1: ctx.lineTo.apply(ctx, [p[2], p[3]]); break; case 4: ctx.bezierCurveTo.apply(ctx, [p[2], p[3], p[4], p[5], p[6], p[7]]); break; case 2: ctx.quadraticCurveTo.apply(ctx, [p[2], p[3], p[4], p[5]]); break; case 3: w = t1._conicWeights[iter._conicWeightIndex]; points = new A.Conic(p[0], p[1], p[2], p[3], p[4], p[5], w).toQuads$0(); len = points.length; for (i = 1; i < len; i += 2) { t2 = points[i]; t3 = points[i + 1]; ctx.quadraticCurveTo.apply(ctx, [t2._dx, t2._dy, t3._dx, t3._dy]); } break; case 5: ctx.closePath(); break; default: throw A.wrapException(A.UnimplementedError$("Unknown path verb " + verb)); } }, _runPathWithOffset$4(ctx, path, offsetX, offsetY) { var p, t1, iter, verb, w, points, len, i, t2, t3; ctx.beginPath(); p = $.$get$CanvasPool__runBuffer(); t1 = path.pathRef; iter = new A.PathRefIterator(t1); iter.PathRefIterator$1(t1); for (; verb = iter.next$1(0, p), verb !== 6;) switch (verb) { case 0: ctx.moveTo.apply(ctx, [p[0] + offsetX, p[1] + offsetY]); break; case 1: ctx.lineTo.apply(ctx, [p[2] + offsetX, p[3] + offsetY]); break; case 4: ctx.bezierCurveTo.apply(ctx, [p[2] + offsetX, p[3] + offsetY, p[4] + offsetX, p[5] + offsetY, p[6] + offsetX, p[7] + offsetY]); break; case 2: ctx.quadraticCurveTo.apply(ctx, [p[2] + offsetX, p[3] + offsetY, p[4] + offsetX, p[5] + offsetY]); break; case 3: w = t1._conicWeights[iter._conicWeightIndex]; points = new A.Conic(p[0], p[1], p[2], p[3], p[4], p[5], w).toQuads$0(); len = points.length; for (i = 1; i < len; i += 2) { t2 = points[i]; t3 = points[i + 1]; ctx.quadraticCurveTo.apply(ctx, [t2._dx + offsetX, t2._dy + offsetY, t3._dx + offsetX, t3._dy + offsetY]); } break; case 5: ctx.closePath(); break; default: throw A.wrapException(A.UnimplementedError$("Unknown path verb " + verb)); } }, drawPath$2(path, style) { var t2, _this = this, shaderBounds = _this.get$contextHandle()._shaderBounds, t1 = type$.SurfacePath; if (shaderBounds == null) _this._runPath$2(_this.get$context(0), t1._as(path)); else _this._runPathWithOffset$4(_this.get$context(0), t1._as(path), -shaderBounds.left, -shaderBounds.top); t1 = _this.get$contextHandle(); t2 = path._fillType; if (style === B.PaintingStyle_1) t1.context.stroke(); else { t1 = t1.context; if (t2 === B.PathFillType_0) A.DomCanvasRenderingContext2DExtension_fill(t1, null); else A.DomCanvasRenderingContext2DExtension_fill(t1, "evenodd"); } }, dispose$0() { var t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1 && this.__engine$_canvas != null) { t1 = this.__engine$_canvas; t1.toString; A.DomCanvasElementExtension_set_height(t1, 0); A.DomCanvasElementExtension_set_width(t1, 0); } this._clearActiveCanvasList$0(); }, _clearActiveCanvasList$0() { var t2, _i, c, t3, t1 = this._activeCanvasList; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { c = t1[_i]; t3 = $.$get$_browserEngine(); if (t3 === B.BrowserEngine_1) { c.height = 0; c.width = 0; } c.remove(); } this._activeCanvasList = null; } }; A.ContextStateHandle.prototype = { set$fillStyle(_, colorOrGradient) { if (colorOrGradient !== this._currentFillStyle) { this._currentFillStyle = colorOrGradient; A.DomCanvasRenderingContext2DExtension_set_fillStyle(this.context, colorOrGradient); } }, set$strokeStyle(_, colorOrGradient) { if (colorOrGradient !== this._currentStrokeStyle) { this._currentStrokeStyle = colorOrGradient; A.DomCanvasRenderingContext2DExtension_set_strokeStyle(this.context, colorOrGradient); } }, setUpPaint$2(paint, shaderBounds) { var t1, strokeCap, strokeJoin, paintStyle, colorString, maskFilter, t2, tempVector, shadowOffsetX, shadowOffsetY, _this = this, _s9_ = "translate"; _this._lastUsedPaint = paint; t1 = paint.strokeWidth; if (t1 == null) t1 = 1; if (t1 !== _this._currentLineWidth) { _this._currentLineWidth = t1; A.DomCanvasRenderingContext2DExtension_set_lineWidth(_this.context, t1); } t1 = paint.blendMode; if (t1 != _this._currentBlendMode) { _this._currentBlendMode = t1; t1 = A.blendModeToCssMixBlendMode(t1); if (t1 == null) t1 = "source-over"; _this.context.globalCompositeOperation = t1; } strokeCap = paint.strokeCap; if (strokeCap == null) strokeCap = B.StrokeCap_0; if (strokeCap !== _this._currentStrokeCap) { _this._currentStrokeCap = strokeCap; t1 = A.stringForStrokeCap(strokeCap); t1.toString; _this.context.lineCap = t1; } strokeJoin = paint.strokeJoin; if (strokeJoin == null) strokeJoin = B.StrokeJoin_0; if (strokeJoin !== _this._currentStrokeJoin) { _this._currentStrokeJoin = strokeJoin; _this.context.lineJoin = A.stringForStrokeJoin(strokeJoin); } t1 = paint.shader; if (t1 != null) { if (t1 instanceof A.GradientLinear) { paintStyle = t1.createPaintStyle$3(_this._canvasPool.get$context(0), shaderBounds, _this.density); _this.set$fillStyle(0, paintStyle); _this.set$strokeStyle(0, paintStyle); _this._shaderBounds = shaderBounds; A.callMethod(_this.context, _s9_, [shaderBounds.left, shaderBounds.top]); } } else { colorString = A.colorValueToCssString(paint.color); _this.set$fillStyle(0, colorString); _this.set$strokeStyle(0, colorString); } maskFilter = paint.maskFilter; t1 = $.$get$_browserEngine(); if (!(t1 === B.BrowserEngine_1 || false)) { if (!J.$eq$(_this._currentFilter, maskFilter)) { _this._currentFilter = maskFilter; A.DomCanvasRenderingContext2DExtension_set_filter(_this.context, A.maskFilterToCanvasFilter(maskFilter)); } } else if (maskFilter != null) { t1 = _this.context; t1.save(); t1.shadowBlur = maskFilter._sigma * 2; t2 = paint.color; A.DomCanvasRenderingContext2DExtension_set_shadowColor(t1, A.colorValueToCssString(A.Color$fromARGB(255, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255).value)); A.callMethod(t1, _s9_, [-50000, 0]); tempVector = new Float32Array(2); t2 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t2 == null) { t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; } tempVector[0] = 50000 * t2; t2 = _this._canvasPool; t2._currentTransform.transform2$1(tempVector); shadowOffsetX = tempVector[0]; shadowOffsetY = tempVector[1]; tempVector[1] = 0; tempVector[0] = 0; t2._currentTransform.transform2$1(tempVector); A.DomCanvasRenderingContext2DExtension_set_shadowOffsetX(t1, shadowOffsetX - tempVector[0]); A.DomCanvasRenderingContext2DExtension_set_shadowOffsetY(t1, shadowOffsetY - tempVector[1]); } }, tearDownPaint$0() { var _this = this, t1 = _this._lastUsedPaint; if ((t1 == null ? null : t1.maskFilter) != null) { t1 = $.$get$_browserEngine(); t1 = t1 === B.BrowserEngine_1 || false; } else t1 = false; if (t1) _this.context.restore(); t1 = _this._shaderBounds; if (t1 != null) { A.callMethod(_this.context, "translate", [-t1.left, -t1.top]); _this._shaderBounds = null; } }, paint$1(style) { var t1 = this.context; if (style === B.PaintingStyle_1) t1.stroke(); else A.DomCanvasRenderingContext2DExtension_fill(t1, null); }, reset$0(_) { var t2, _this = this, t1 = _this.context; A.DomCanvasRenderingContext2DExtension_set_fillStyle(t1, ""); t2 = t1.fillStyle; _this._currentFillStyle = t2 == null ? null : t2; A.DomCanvasRenderingContext2DExtension_set_strokeStyle(t1, ""); t2 = t1.strokeStyle; _this._currentStrokeStyle = t2 == null ? null : t2; t1.shadowBlur = 0; A.DomCanvasRenderingContext2DExtension_set_shadowColor(t1, "none"); A.DomCanvasRenderingContext2DExtension_set_shadowOffsetX(t1, 0); A.DomCanvasRenderingContext2DExtension_set_shadowOffsetY(t1, 0); t1.globalCompositeOperation = "source-over"; _this._currentBlendMode = B.BlendMode_3; A.DomCanvasRenderingContext2DExtension_set_lineWidth(t1, 1); _this._currentLineWidth = 1; t1.lineCap = "butt"; _this._currentStrokeCap = B.StrokeCap_0; t1.lineJoin = "miter"; _this._currentStrokeJoin = B.StrokeJoin_0; _this._shaderBounds = null; } }; A._SaveStackTracking.prototype = { clear$0(_) { B.JSArray_methods.clear$0(this._saveStack); this.clipStack = null; this._currentTransform = A.Matrix4$identity(); }, save$0(_) { var t1 = this._currentTransform, t2 = new A.Matrix4(new Float32Array(16)); t2.setFrom$1(t1); t1 = this.clipStack; t1 = t1 == null ? null : A.List_List$from(t1, true, type$.SaveClipEntry); this._saveStack.push(new A.SaveStackEntry(t2, t1)); }, restore$0(_) { var entry, t1 = this._saveStack; if (t1.length === 0) return; entry = t1.pop(); this._currentTransform = entry.transform; this.clipStack = entry.clipStack; }, translate$2(_, dx, dy) { this._currentTransform.translate$2(0, dx, dy); }, scale$2(_, sx, sy) { this._currentTransform.scale$2(0, sx, sy); }, rotate$1(_, radians) { this._currentTransform.rotate$2(0, B.Record3_IYz, radians); }, transform$1(_, matrix4) { this._currentTransform.multiply$1(0, new A.Matrix4(matrix4)); }, clipRect$1(rect) { var t2, t3, t1 = this.clipStack; if (t1 == null) t1 = this.clipStack = A._setArrayType([], type$.JSArray_SaveClipEntry); t2 = this._currentTransform; t3 = new A.Matrix4(new Float32Array(16)); t3.setFrom$1(t2); t1.push(new A.SaveClipEntry(rect, null, null, t3)); }, clipRRect$1(rrect) { var t2, t3, t1 = this.clipStack; if (t1 == null) t1 = this.clipStack = A._setArrayType([], type$.JSArray_SaveClipEntry); t2 = this._currentTransform; t3 = new A.Matrix4(new Float32Array(16)); t3.setFrom$1(t2); t1.push(new A.SaveClipEntry(null, rrect, null, t3)); }, clipPath$1(_, path) { var t2, t3, t1 = this.clipStack; if (t1 == null) t1 = this.clipStack = A._setArrayType([], type$.JSArray_SaveClipEntry); t2 = this._currentTransform; t3 = new A.Matrix4(new Float32Array(16)); t3.setFrom$1(t2); t1.push(new A.SaveClipEntry(null, null, path, t3)); } }; A.CkCanvas.prototype = { drawImageRect$4(image, src, dst, paint) { var t3, t4, t5, t6, filterQuality = paint.__engine$_filterQuality, t1 = this.skCanvas, t2 = image.__CkImage_box_F; if (filterQuality === B.FilterQuality_3) { t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.__CountedRef__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; A.callMethod(t1, "drawImageRectCubic", [t2, A.toSkRect(src), A.toSkRect(dst), 0.3333333333333333, 0.3333333333333333, paint.skiaObject]); } else { t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.__CountedRef__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; t3 = A.toSkRect(src); t4 = A.toSkRect(dst); t5 = A.toSkFilterMode(filterQuality); t6 = filterQuality === B.FilterQuality_2 ? $.__canvasKit._readField$0().MipmapMode.Linear : $.__canvasKit._readField$0().MipmapMode.None; A.callMethod(t1, "drawImageRectOptions", [t2, t3, t4, t5, t6, paint.skiaObject]); } }, drawPicture$1(picture) { var t1 = picture.__CkPicture__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; this.skCanvas.drawPicture(t1); }, saveLayer$2(bounds, paint) { var t1 = paint == null ? null : paint.skiaObject; A.SkCanvasExtension_saveLayer(this.skCanvas, t1, A.toSkRect(bounds), null, null); }, saveLayerWithFilter$3(bounds, filter, paint) { type$.CkManagedSkImageFilterConvertible._as(filter); filter.imageFilter$1(new A.CkCanvas_saveLayerWithFilter_closure(this, paint, bounds)); } }; A.CkCanvas_saveLayerWithFilter_closure.prototype = { call$1(filter) { A.SkCanvasExtension_saveLayer(this.$this.skCanvas, this.paint.skiaObject, A.toSkRect(this.bounds), filter, 0); }, $signature: 33 }; A._canvasKitJsUrls_closure.prototype = { call$1(filename) { var t1 = A.configuration()._configuration; if (t1 == null) t1 = null; else { t1 = t1.canvasKitBaseUrl; if (t1 == null) t1 = null; } return (t1 == null ? "https://www.gstatic.com/flutter-canvaskit/c4cd48e186460b32d44585ce3c103271ab676355/" : t1) + filename; }, $signature: 31 }; A._downloadCanvasKitJs_loadEventHandler.prototype = { call$1(_) { this.canvasKitScript.remove(); this.canvasKitLoadCompleter.complete$1(0, true); }, $signature: 33 }; A._downloadCanvasKitJs_errorEventHandler.prototype = { call$1(errorEvent) { this.canvasKitScript.remove(); this.canvasKitLoadCompleter.complete$1(0, false); }, $signature: 33 }; A.CanvasKitCanvas.prototype = { save$0(_) { B.JSNumber_methods.toInt$0(this.__engine$_canvas.skCanvas.save()); }, saveLayer$2(bounds, paint) { var t1 = type$.CkPaint, t2 = this.__engine$_canvas; if (bounds == null) { t1._as(paint); A.SkCanvasExtension_saveLayer(t2.skCanvas, paint.skiaObject, null, null, null); } else t2.saveLayer$2(bounds, t1._as(paint)); }, restore$0(_) { this.__engine$_canvas.skCanvas.restore(); }, translate$2(_, dx, dy) { A.callMethod(this.__engine$_canvas.skCanvas, "translate", [dx, dy]); }, scale$2(_, sx, sy) { var t1 = sy == null ? sx : sy; A.callMethod(this.__engine$_canvas.skCanvas, "scale", [sx, t1]); return null; }, rotate$1(_, radians) { A.callMethod(this.__engine$_canvas.skCanvas, "rotate", [radians * 180 / 3.141592653589793, 0, 0]); }, transform$1(_, matrix4) { A.callMethod(this.__engine$_canvas.skCanvas, "concat", [A.toSkM44FromFloat32(A.toMatrix32(matrix4))]); }, clipRect$3$clipOp$doAntiAlias(rect, clipOp, doAntiAlias) { A.callMethod(this.__engine$_canvas.skCanvas, "clipRect", [A.toSkRect(rect), $.$get$_skClipOps()[clipOp.index], doAntiAlias]); }, clipRect$2$doAntiAlias(rect, doAntiAlias) { return this.clipRect$3$clipOp$doAntiAlias(rect, B.ClipOp_1, doAntiAlias); }, clipRect$1(rect) { return this.clipRect$3$clipOp$doAntiAlias(rect, B.ClipOp_1, true); }, clipRRect$2$doAntiAlias(rrect, doAntiAlias) { A.callMethod(this.__engine$_canvas.skCanvas, "clipRRect", [A.toSkRRect(rrect), $.$get$_clipOpIntersect(), doAntiAlias]); }, clipRRect$1(rrect) { return this.clipRRect$2$doAntiAlias(rrect, true); }, clipPath$2$doAntiAlias(_, path, doAntiAlias) { var t1 = type$.CkPath._as(path).__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(this.__engine$_canvas.skCanvas, "clipPath", [t1, $.$get$_clipOpIntersect(), doAntiAlias]); }, clipPath$1(_, path) { return this.clipPath$2$doAntiAlias(0, path, true); }, drawLine$3(p1, p2, paint) { A.callMethod(this.__engine$_canvas.skCanvas, "drawLine", [p1._dx, p1._dy, p2._dx, p2._dy, type$.CkPaint._as(paint).skiaObject]); }, drawPaint$1(paint) { this.__engine$_canvas.skCanvas.drawPaint(type$.CkPaint._as(paint).skiaObject); }, drawRect$2(rect, paint) { type$.CkPaint._as(paint); A.callMethod(this.__engine$_canvas.skCanvas, "drawRect", [A.toSkRect(rect), paint.skiaObject]); }, drawRRect$2(rrect, paint) { type$.CkPaint._as(paint); A.callMethod(this.__engine$_canvas.skCanvas, "drawRRect", [A.toSkRRect(rrect), paint.skiaObject]); }, drawDRRect$3(outer, inner, paint) { type$.CkPaint._as(paint); A.callMethod(this.__engine$_canvas.skCanvas, "drawDRRect", [A.toSkRRect(outer), A.toSkRRect(inner), paint.skiaObject]); }, drawOval$2(rect, paint) { type$.CkPaint._as(paint); A.callMethod(this.__engine$_canvas.skCanvas, "drawOval", [A.toSkRect(rect), paint.skiaObject]); }, drawCircle$3(c, radius, paint) { A.callMethod(this.__engine$_canvas.skCanvas, "drawCircle", [c._dx, c._dy, radius, type$.CkPaint._as(paint).skiaObject]); }, drawArc$5(rect, startAngle, sweepAngle, useCenter, paint) { type$.CkPaint._as(paint); A.callMethod(this.__engine$_canvas.skCanvas, "drawArc", [A.toSkRect(rect), startAngle * 57.29577951308232, sweepAngle * 57.29577951308232, false, paint.skiaObject]); }, drawPath$2(path, paint) { var t1; type$.CkPath._as(path); type$.CkPaint._as(paint); t1 = path.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; this.__engine$_canvas.skCanvas.drawPath(t1, paint.skiaObject); }, drawImageRect$4(image, src, dst, paint) { this.__engine$_canvas.drawImageRect$4(type$.CkImage._as(image), src, dst, type$.CkPaint._as(paint)); }, drawParagraph$2(paragraph, offset) { var t1 = type$.CkParagraph._as(paragraph).__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(this.__engine$_canvas.skCanvas, "drawParagraph", [t1, offset._dx, offset._dy]); }, drawShadow$4(path, color, elevation, transparentOccluder) { var t1, flags, inAmbient, inSpot, inTonalColors, tonalColors, t2, t3; type$.CkPath._as(path); t1 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t1 == null) { t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; } flags = transparentOccluder ? 5 : 4; inAmbient = A.Color$fromARGB(B.JSNumber_methods.round$0((color.get$value(color) >>> 24 & 255) * 0.039), color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255); inSpot = A.Color$fromARGB(B.JSNumber_methods.round$0((color.get$value(color) >>> 24 & 255) * 0.25), color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255); inTonalColors = type$.JavaScriptObject._as({ambient: A.makeFreshSkColor(inAmbient), spot: A.makeFreshSkColor(inSpot)}); tonalColors = $.__canvasKit._readField$0().computeTonalColors(inTonalColors); t2 = path.__CkPath__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; t3 = new Float32Array(3); t3[2] = t1 * elevation; t1 = new Float32Array(3); t1[0] = 0; t1[1] = -1; t1[2] = 1; A.callMethod(this.__engine$_canvas.skCanvas, "drawShadow", [t2, t3, t1, 1.3333333333333333, tonalColors.ambient, tonalColors.spot, flags | 4]); } }; A.ManagedSkColorFilter.prototype = { get$hashCode(_) { var t1 = this.colorFilter; return t1.get$hashCode(t1); }, $eq(_, other) { if (other == null) return false; if (A.getRuntimeTypeOfDartObject(this) !== J.get$runtimeType$(other)) return false; return other instanceof A.ManagedSkColorFilter && other.colorFilter.$eq(0, this.colorFilter); }, toString$0(_) { return this.colorFilter.toString$0(0); } }; A.CkColorFilter.prototype = {$isCkManagedSkImageFilterConvertible: 1}; A.CkBlendModeColorFilter.prototype = { _initRawColorFilter$0() { return A.createSkColorFilterFromColorAndBlendMode(this.color, this.blendMode); }, get$hashCode(_) { return A.Object_hash(this.color, this.blendMode, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { if (other == null) return false; if (A.getRuntimeTypeOfDartObject(this) !== J.get$runtimeType$(other)) return false; return false; }, toString$0(_) { return "ColorFilter.mode(" + A.S(this.color) + ", " + this.blendMode.toString$0(0) + ")"; } }; A.CkMatrixColorFilter.prototype = { get$_normalizedMatrix() { var t1, i, result = new Float32Array(20); for (t1 = this.matrix, i = 0; i < 20; ++i) if (B.JSArray_methods.contains$1(B.List_4_9_14_19, i)) result[i] = t1[i] / 255; else result[i] = t1[i]; return result; }, _initRawColorFilter$0() { return A.callMethod($.__canvasKit._readField$0().ColorFilter, "MakeMatrix", [this.get$_normalizedMatrix()]); }, get$hashCode(_) { return A.Object_hashAll(this.matrix); }, $eq(_, other) { if (other == null) return false; return A.getRuntimeTypeOfDartObject(this) === J.get$runtimeType$(other) && other instanceof A.CkMatrixColorFilter && A.listEquals0(this.matrix, other.matrix); }, toString$0(_) { return "ColorFilter.matrix(" + A.S(this.matrix) + ")"; } }; A.CkLinearToSrgbGammaColorFilter.prototype = { _initRawColorFilter$0() { return $.__canvasKit._readField$0().ColorFilter.MakeLinearToSRGBGamma(); }, $eq(_, other) { if (other == null) return false; return A.getRuntimeTypeOfDartObject(this) === J.get$runtimeType$(other); }, get$hashCode(_) { return A.Primitives_objectHashCode(A.getRuntimeTypeOfDartObject(this)); }, toString$0(_) { return "ColorFilter.linearToSrgbGamma()"; } }; A.CkSrgbToLinearGammaColorFilter.prototype = { _initRawColorFilter$0() { return $.__canvasKit._readField$0().ColorFilter.MakeSRGBToLinearGamma(); }, $eq(_, other) { if (other == null) return false; return A.getRuntimeTypeOfDartObject(this) === J.get$runtimeType$(other); }, get$hashCode(_) { return A.Primitives_objectHashCode(A.getRuntimeTypeOfDartObject(this)); }, toString$0(_) { return "ColorFilter.srgbToLinearGamma()"; } }; A.CkComposeColorFilter.prototype = { _initRawColorFilter$0() { var t3, t1 = $.__canvasKit._readField$0().ColorFilter, t2 = this.outer.__ManagedSkColorFilter__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; t3 = this.inner.__ManagedSkColorFilter__ref_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._nativeObject; t3.toString; return t1.MakeCompose(t2, t3); }, $eq(_, other) { if (other == null) return false; if (!(other instanceof A.CkComposeColorFilter)) return false; return other.outer.$eq(0, this.outer) && other.inner.$eq(0, this.inner); }, get$hashCode(_) { return A.Object_hash(this.outer, this.inner, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "ColorFilter.compose(" + this.outer.toString$0(0) + ", " + this.inner.toString$0(0) + ")"; } }; A.DisplayCanvasFactory.prototype = { get$baseCanvas() { var result, _this = this, value = _this.__DisplayCanvasFactory_baseCanvas_FI; if (value === $) { result = _this.createCanvas.call$0(); J.initialize$0$z(result); _this.__DisplayCanvasFactory_baseCanvas_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__DisplayCanvasFactory_baseCanvas_FI = result; value = result; } return value; }, getCanvas$0() { var canvas, t1 = this._cache, t2 = this._liveCanvases; if (t1.length !== 0) { canvas = t1.pop(); t2.push(canvas); return canvas; } else { canvas = this.createCanvas.call$0(); J.initialize$0$z(canvas); t2.push(canvas); return canvas; } }, _removeFromDom$1(canvas) { canvas.get$hostElement().remove(); }, dispose$0() { var t1, t2, _i, t3; for (t1 = this._cache, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].dispose$0(); for (t2 = this._liveCanvases, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) t2[_i].dispose$0(); this.get$baseCanvas().dispose$0(); B.JSArray_methods.clear$0(t2); B.JSArray_methods.clear$0(t1); } }; A.HtmlViewEmbedder.prototype = { getOverlayCanvases$0() { var t1 = this._context.pictureRecordersCreatedDuringPreroll; return new A.MappedListIterable(t1, new A.HtmlViewEmbedder_getOverlayCanvases_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,CkCanvas>")); }, prerollCompositeEmbeddedView$2(viewId, params) { var pictureRecorder, t1, _this = this; if (!$.$get$PlatformViewManager_instance().isInvisible$1(viewId)) { pictureRecorder = new A.CkPictureRecorder(); t1 = _this.__HtmlViewEmbedder__frameSize_A; t1 === $ && A.throwUnnamedLateFieldNI(); pictureRecorder.beginRecording$1(new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy)); _this._context.pictureRecordersCreatedDuringPreroll.push(pictureRecorder); } t1 = _this._currentCompositionParams; if (J.$eq$(t1.$index(0, viewId), params)) { if (!B.JSArray_methods.contains$1(_this._activeCompositionOrder, viewId)) _this._viewsToRecomposite.add$1(0, viewId); return; } t1.$indexSet(0, viewId, params); _this._viewsToRecomposite.add$1(0, viewId); }, _compositeWithParams$2(platformViewId, params) { var currentClippingCount, _this = this, clipChain = _this._viewClipChains.putIfAbsent$2(0, platformViewId, new A.HtmlViewEmbedder__compositeWithParams_closure(platformViewId)), slot = clipChain.__engine$_slot, t1 = slot.style, t2 = params.size; A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", A.S(t2._dx) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", A.S(t2._dy) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); currentClippingCount = _this._countClips$1(params.mutators); if (currentClippingCount !== clipChain._clipCount) { clipChain._root = _this._reconstructClipViewsChain$3(currentClippingCount, slot, clipChain._root); clipChain._clipCount = currentClippingCount; } _this._applyMutators$3(params, slot, platformViewId); }, _countClips$1(mutators) { var t1, t2, clipCount, t3; for (t1 = mutators._mutators, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), clipCount = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; t3 = (t3 == null ? t2._as(t3) : t3).type; if (t3 === B.MutatorType_0 || t3 === B.MutatorType_1 || t3 === B.MutatorType_2) ++clipCount; } return clipCount; }, _reconstructClipViewsChain$3(numClips, platformView, headClipView) { var headClipViewNextSibling, headClipViewWasAttached, head, clipIndex, t1, clippingView; if (headClipView.parentNode != null) { headClipViewNextSibling = headClipView.nextSibling; headClipView.remove(); headClipViewWasAttached = true; } else { headClipViewNextSibling = null; headClipViewWasAttached = false; } head = platformView; clipIndex = 0; while (true) { if (!(!J.$eq$(head, headClipView) && clipIndex < numClips)) break; t1 = head.parentElement; t1.toString; ++clipIndex; head = t1; } for (; clipIndex < numClips; head = clippingView) { clippingView = A.DomDocumentExtension_createElement(self.document, "flt-clip"); clippingView.append(head); ++clipIndex; } head.remove(); if (headClipViewWasAttached) this.sceneHost.insertBefore(head, headClipViewNextSibling); return head; }, _cleanUpClipDefs$1(viewId) { var t2, nodesToRemove, t3, t4, t5, _i, t1 = this._svgClipDefs; if (t1.containsKey$1(0, viewId)) { t2 = this._svgPathDefs; t2.toString; t2 = A.callMethod(t2, "querySelector", ["#sk_path_defs"]); t2.toString; nodesToRemove = A._setArrayType([], type$.JSArray_JavaScriptObject); t3 = t1.$index(0, viewId); t3.toString; for (t4 = type$._DomListWrapper_JavaScriptObject, t4 = A.CastIterable_CastIterable(new A._DomListWrapper(t2.children, t4), t4._eval$1("Iterable.E"), type$.JavaScriptObject), t2 = J.get$iterator$ax(t4._source), t4 = A._instanceType(t4), t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1])._rest[1]; t2.moveNext$0();) { t5 = t4._as(t2.get$current(t2)); if (t3.contains$1(0, t5.id)) nodesToRemove.push(t5); } for (t2 = nodesToRemove.length, _i = 0; _i < nodesToRemove.length; nodesToRemove.length === t2 || (0, A.throwConcurrentModificationError)(nodesToRemove), ++_i) nodesToRemove[_i].remove(); t1 = t1.$index(0, viewId); t1.toString; J.clear$0$ax(t1); } }, _applyMutators$3(params, embeddedView, viewId) { var headTransform, t2, t3, t4, t5, head, embeddedOpacity, t6, t7, headTransform0, t8, t9, t10, skPath, path, box, clipId, scale, inverseScale, _this = this, _s26_ = "http://www.w3.org/2000/svg", t1 = params.offset; if (t1.$eq(0, B.Offset_0_0)) headTransform = A.Matrix4$identity(); else { headTransform = A.Matrix4$identity(); headTransform.setTranslationRaw$3(t1._dx, t1._dy, 0); } _this._resetAnchor$1(embeddedView); _this._cleanUpClipDefs$1(viewId); for (t1 = params.mutators._mutators, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), t3 = _this._svgClipDefs, t4 = type$.Object, t5 = type$.UniqueRef_JavaScriptObject, head = embeddedView, embeddedOpacity = 1; t1.moveNext$0();) { t6 = t1.__internal$_current; if (t6 == null) t6 = t2._as(t6); switch (t6.type.index) { case 3: t6 = t6.matrix; t6.toString; t7 = new Float32Array(16); headTransform0 = new A.Matrix4(t7); headTransform0.setFrom$1(t6); headTransform0.multiply$1(0, headTransform); t6 = head.style; t7 = A.float64ListToCssTransform(t7); t6.setProperty.apply(t6, ["transform", t7, ""]); headTransform = headTransform0; break; case 0: case 1: case 2: head = head.parentElement; t7 = head.style; t7.setProperty.apply(t7, ["clip", "", ""]); t7 = head.style; t7.setProperty.apply(t7, ["clip-path", "", ""]); headTransform = new A.Matrix4(new Float32Array(16)); headTransform.Matrix4$identity$0(); t7 = head.style; t7.setProperty.apply(t7, ["transform", "", ""]); t7 = head.style; t7.setProperty.apply(t7, ["width", "100%", ""]); t7 = head.style; t7.setProperty.apply(t7, ["height", "100%", ""]); t7 = t6.rect; if (t7 != null) { t6 = head.style; t8 = t7.top; t9 = t7.right; t10 = t7.bottom; t7 = t7.left; t6.setProperty.apply(t6, ["clip", "rect(" + A.S(t8) + "px, " + A.S(t9) + "px, " + A.S(t10) + "px, " + A.S(t7) + "px)", ""]); } else { t7 = t6.rrect; if (t7 != null) { skPath = new self.window.flutterCanvasKit.Path(); skPath.setFillType($.$get$_skFillTypes()[0]); path = new A.CkPath(B.PathFillType_0); t6 = new A.UniqueRef("Path", t5); t6._nativeObject = skPath; $.$get$nativeMemoryFinalizationRegistry(); if ($.$get$browserSupportsFinalizationRegistry()) { t8 = $.$get$_finalizationRegistry(); box = {}; box[$.$get$_jsBoxedDartObjectProperty()] = t6; A.DomFinalizationRegistryExtension_register(t8, path, box); } path.__CkPath__ref_F !== $ && A.throwUnnamedLateFieldAI(); path.__CkPath__ref_F = t6; t8 = t6._nativeObject; t8.toString; t8.addRRect.apply(t8, [A.toSkRRect(t7), false]); _this._ensureSvgPathDefs$0(); t7 = _this._svgPathDefs; t7.toString; t7 = t7.querySelector.apply(t7, ["#sk_path_defs"]); t7.toString; clipId = "svgClip" + ++_this._clipPathCount; t8 = self.document; t8 = t8.createElementNS.apply(t8, [_s26_, "clipPath"]); t8.id = clipId; t9 = self.document; t9 = t9.createElementNS.apply(t9, [_s26_, "path"]); t6 = A.jsify(t6._nativeObject.toSVGString()); t9.setAttribute.apply(t9, ["d", t6 == null ? t4._as(t6) : t6]); t8.append(t9); t7.append(t8); J.add$1$ax(t3.putIfAbsent$2(0, viewId, new A.HtmlViewEmbedder__applyMutators_closure()), clipId); t6 = head.style; t6.setProperty.apply(t6, ["clip-path", "url(#" + clipId + ")", ""]); } else { t6 = t6.path; if (t6 != null) { _this._ensureSvgPathDefs$0(); t7 = _this._svgPathDefs; t7.toString; t7 = t7.querySelector.apply(t7, ["#sk_path_defs"]); t7.toString; clipId = "svgClip" + ++_this._clipPathCount; t8 = self.document; t8 = t8.createElementNS.apply(t8, [_s26_, "clipPath"]); t8.id = clipId; t9 = self.document; t9 = t9.createElementNS.apply(t9, [_s26_, "path"]); t6 = t6.__CkPath__ref_F; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = A.jsify(t6._nativeObject.toSVGString()); t9.setAttribute.apply(t9, ["d", t6 == null ? t4._as(t6) : t6]); t8.append(t9); t7.append(t8); J.add$1$ax(t3.putIfAbsent$2(0, viewId, new A.HtmlViewEmbedder__applyMutators_closure0()), clipId); t6 = head.style; t6.setProperty.apply(t6, ["clip-path", "url(#" + clipId + ")", ""]); } } } t6 = head.style; t6.setProperty.apply(t6, ["transform-origin", "0 0 0", ""]); t6 = head.style; t6.setProperty.apply(t6, ["position", "absolute", ""]); break; case 4: t6 = t6.alpha; t6.toString; embeddedOpacity *= t6 / 255; break; } } A.DomCSSStyleDeclarationExtension_setProperty(embeddedView.style, "opacity", B.JSNumber_methods.toString$0(embeddedOpacity)); scale = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (scale == null) { t1 = self.window.devicePixelRatio; scale = t1 === 0 ? 1 : t1; } inverseScale = 1 / scale; t1 = new Float32Array(16); t1[15] = 1; t1[10] = 1; t1[5] = inverseScale; t1[0] = inverseScale; headTransform = new A.Matrix4(t1).multiplied$1(headTransform); A.DomCSSStyleDeclarationExtension_setProperty(head.style, "transform", A.float64ListToCssTransform(headTransform._m4storage)); }, _resetAnchor$1(element) { A.DomCSSStyleDeclarationExtension_setProperty(element.style, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "position", "absolute"); }, _ensureSvgPathDefs$0() { var t1, t2, _this = this; if (_this._svgPathDefs != null) return; t1 = A.DomNodeExtension_cloneNode($.$get$kSvgResourceHeader(), false); _this._svgPathDefs = t1; t2 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "defs"]); t2.id = "sk_path_defs"; t1.append(t2); t2 = _this._svgPathDefs; t2.toString; _this.sceneHost.append(t2); }, submitFrame$0(_) { return this.submitFrame$body$HtmlViewEmbedder(0); }, submitFrame$body$HtmlViewEmbedder(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, pictureRecorderIndex, _i, overlayGroup, t7, pictures, i, recorder, unusedViews, elementToInsertBefore, viewId, overlay, view, overlayElement, platformViewRoot, t1, diffResult, overlayGroups; var $async$submitFrame$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._activeCompositionOrder; diffResult = t1.length === 0 || $async$self._compositionOrder.length === 0 ? null : A.diffViewList(t1, $async$self._compositionOrder); overlayGroups = $async$self._updateOverlays$1(diffResult); if (overlayGroups != null) $async$self._activeOverlayGroups = overlayGroups; t2 = $async$self._activeOverlayGroups, t3 = t2.length, t4 = $async$self.rasterizer, t5 = $async$self._overlays, t6 = type$.JSArray_CkPicture, pictureRecorderIndex = 0, _i = 0; case 3: // for condition if (!(_i < t2.length)) { // goto after for $async$goto = 5; break; } overlayGroup = t2[_i]; t7 = t5.$index(0, B.JSArray_methods.get$last(overlayGroup.__engine$_group)); t7.toString; pictures = A._setArrayType([], t6); for (i = 0; i < overlayGroup._visibleCount; ++i) { pictures.push($async$self._context.pictureRecorders[pictureRecorderIndex].endRecording$0()); ++pictureRecorderIndex; } $async$goto = 6; return A._asyncAwait(t4.rasterizeToCanvas$2(t7, pictures), $async$submitFrame$0); case 6: // returning from await. case 4: // for update t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i; // goto for condition $async$goto = 3; break; case 5: // after for for (t2 = $async$self._context.pictureRecordersCreatedDuringPreroll, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { recorder = t2[_i]; if (recorder._skRecorder != null) recorder.endRecording$0(); } t2 = type$.JSArray_CkPictureRecorder; $async$self._context = new A.EmbedderFrameContext(A._setArrayType([], t2), A._setArrayType([], t2)); t2 = $async$self._compositionOrder; if (A.listEquals0(t2, t1)) { B.JSArray_methods.clear$0(t2); // goto return $async$goto = 1; break; } unusedViews = A.LinkedHashSet_LinkedHashSet$from(t1, type$.int); B.JSArray_methods.clear$0(t1); if (diffResult != null) { t3 = diffResult.viewsToRemove; t4 = A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"); $async$self.disposeViews$1(A.LinkedHashSet_LinkedHashSet$of(new A.WhereIterable(t3, new A.HtmlViewEmbedder_submitFrame_closure(diffResult), t4), t4._eval$1("Iterable.E"))); B.JSArray_methods.addAll$1(t1, t2); unusedViews.removeAll$1(t2); t1 = diffResult.addToBeginning; if (t1) { t3 = diffResult.viewToInsertBefore; t3.toString; elementToInsertBefore = $async$self._viewClipChains.$index(0, t3)._root; } else elementToInsertBefore = null; for (t3 = diffResult.viewsToAdd, t4 = t3.length, t6 = $async$self._viewClipChains, t7 = $async$self.sceneHost, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { viewId = t3[_i]; if (t1) { t7.insertBefore(t6.$index(0, viewId)._root, elementToInsertBefore); overlay = t5.$index(0, viewId); if (overlay != null) t7.insertBefore(overlay.get$hostElement(), elementToInsertBefore); } else { t7.append(t6.$index(0, viewId)._root); overlay = t5.$index(0, viewId); if (overlay != null) t7.append(overlay.get$hostElement()); } } for (i = 0; i < t2.length; ++i) { view = t2[i]; if (t5.$index(0, view) != null) { overlayElement = t5.$index(0, view).get$hostElement(); t1 = overlayElement.isConnected; if (t1 == null) t1 = null; t1.toString; if (!t1) if (i === t2.length - 1) t7.append(overlayElement); else t7.insertBefore(overlayElement, t6.$index(0, t2[i + 1])._root); } } } else { t3 = t4.get$displayFactory(); t4 = t3.get$_removeFromDom(); B.JSArray_methods.forEach$1(t3._cache, t4); B.JSArray_methods.forEach$1(t3._liveCanvases, t4); for (t3 = $async$self._viewClipChains, t4 = $async$self.sceneHost, i = 0; i < t2.length; ++i) { viewId = t2[i]; platformViewRoot = t3.$index(0, viewId)._root; overlay = t5.$index(0, viewId); t4.append(platformViewRoot); if (overlay != null) t4.append(overlay.get$hostElement()); t1.push(viewId); unusedViews.remove$1(0, viewId); } } B.JSArray_methods.clear$0(t2); $async$self.disposeViews$1(unusedViews); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$submitFrame$0, $async$completer); }, disposeViews$1(viewsToDispose) { var t1, t2, t3, t4, t5, t6, t7, clipChain, _this = this; for (t1 = A._LinkedHashSetIterator$(viewsToDispose, viewsToDispose._collection$_modifications, A._instanceType(viewsToDispose)._precomputed1), t2 = _this._currentCompositionParams, t3 = _this._viewsToRecomposite, t4 = _this._svgClipDefs, t5 = _this._viewClipChains, t6 = t1.$ti._precomputed1; t1.moveNext$0();) { t7 = t1._collection$_current; if (t7 == null) t7 = t6._as(t7); clipChain = t5.remove$1(0, t7); if (clipChain != null) clipChain._root.remove(); t2.remove$1(0, t7); t3.remove$1(0, t7); _this._cleanUpClipDefs$1(t7); t4.remove$1(0, t7); } }, _releaseOverlay$1(viewId) { var t2, t3, t1 = this._overlays; if (t1.$index(0, viewId) != null) { t2 = t1.$index(0, viewId); t2.toString; t3 = this.rasterizer.get$displayFactory(); t2.get$hostElement().remove(); B.JSArray_methods.remove$1(t3._liveCanvases, t2); t3._cache.push(t2); t1.remove$1(0, viewId); } }, _updateOverlays$1(diffResult) { var overlayGroups, t2, viewsNeedingOverlays, t3, t4, viewsWithOverlays, _this = this, t1 = diffResult == null; if (!t1 && diffResult.viewsToAdd.length === 0 && diffResult.viewsToRemove.length === 0) return null; overlayGroups = _this.getOverlayGroups$1(_this._compositionOrder); t2 = A._arrayInstanceType(overlayGroups)._eval$1("MappedListIterable<1,int>"); viewsNeedingOverlays = A.List_List$of(new A.MappedListIterable(overlayGroups, new A.HtmlViewEmbedder__updateOverlays_closure(), t2), true, t2._eval$1("ListIterable.E")); t2 = _this.get$_initializeOverlay(); t3 = _this._overlays; if (t1) { t1 = _this.rasterizer.get$displayFactory(); t4 = t1._liveCanvases; B.JSArray_methods.addAll$1(t1._cache, t4); B.JSArray_methods.clear$0(t4); t3.clear$0(0); B.JSArray_methods.forEach$1(viewsNeedingOverlays, t2); } else { t1 = A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"); viewsWithOverlays = A.List_List$of(new A.LinkedHashMapKeyIterable(t3, t1), true, t1._eval$1("Iterable.E")); new A.WhereIterable(viewsWithOverlays, new A.HtmlViewEmbedder__updateOverlays_closure0(viewsNeedingOverlays), A._arrayInstanceType(viewsWithOverlays)._eval$1("WhereIterable<1>")).forEach$1(0, _this.get$_releaseOverlay()); new A.WhereIterable(viewsNeedingOverlays, new A.HtmlViewEmbedder__updateOverlays_closure1(_this), A._arrayInstanceType(viewsNeedingOverlays)._eval$1("WhereIterable<1>")).forEach$1(0, t2); } return overlayGroups; }, getOverlayGroups$1(views) { var i, view, t2, viewType, result = A._setArrayType([], type$.JSArray_OverlayGroup), t1 = type$.JSArray_int, currentGroup = new A.OverlayGroup(A._setArrayType([], t1)); for (i = 0; i < views.length; ++i) { view = views[i]; t2 = $.$get$PlatformViewManager_instance(); viewType = t2._viewIdToType.$index(0, view); if (viewType != null && t2._invisibleViews.contains$1(0, viewType)) currentGroup.__engine$_group.push(view); else { t2 = currentGroup._visibleCount > 0; if (!t2 || result.length + 1 >= 7) { currentGroup.__engine$_group.push(view); ++currentGroup._visibleCount; } else { if (t2) result.push(currentGroup); t2 = A._setArrayType([], t1); currentGroup = new A.OverlayGroup(t2); t2.push(view); currentGroup._visibleCount = 1; } } } if (currentGroup._visibleCount > 0) result.push(currentGroup); return result; }, _initializeOverlay$1(viewId) { this._overlays.$indexSet(0, viewId, this.rasterizer.get$displayFactory().getCanvas$0()); }, debugCleanupSvgClipPaths$0() { var $parent, t2, child, t1 = this._svgPathDefs; if (t1 == null) $parent = null; else { t2 = type$._DomListWrapper_JavaScriptObject; t2 = A.CastIterable_CastIterable(new A._DomListWrapper(t1.children, t2), t2._eval$1("Iterable.E"), type$.JavaScriptObject); $parent = A._instanceType(t2)._rest[1]._as(J.get$single$ax(t2._source)); } if ($parent != null) for (child = $parent.lastChild; child != null; child = $parent.lastChild) $parent.removeChild(child); this._svgClipDefs.clear$0(0); }, dispose$0() { var _this = this, t1 = $.$get$PlatformViewManager_instance(), t2 = t1.__engine$_contents, t3 = A._instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>"), result = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapKeyIterable(t2, t3), t3._eval$1("Iterable.E")); result.forEach$1(0, t1.get$clearPlatformView()); t1._factories.clear$0(0); t2.clear$0(0); t1._invisibleViews.clear$0(0); t1._viewIdToType.clear$0(0); _this.disposeViews$1(result); t1 = type$.JSArray_CkPictureRecorder; _this._context = new A.EmbedderFrameContext(A._setArrayType([], t1), A._setArrayType([], t1)); t1 = _this._currentCompositionParams; t1.clear$0(0); _this.debugCleanupSvgClipPaths$0(); t1.clear$0(0); _this._viewClipChains.clear$0(0); _this._overlays.clear$0(0); _this._viewsToRecomposite.clear$0(0); B.JSArray_methods.clear$0(_this._activeCompositionOrder); B.JSArray_methods.clear$0(_this._compositionOrder); } }; A.HtmlViewEmbedder_getOverlayCanvases_closure.prototype = { call$1(r) { var t1 = r._recordingCanvas; t1.toString; return t1; }, $signature: 1795 }; A.HtmlViewEmbedder__compositeWithParams_closure.prototype = { call$0() { var t1 = A.createPlatformViewSlot(this.platformViewId); return new A.ViewClipChain(t1, t1); }, $signature: 1424 }; A.HtmlViewEmbedder__applyMutators_closure.prototype = { call$0() { return A.LinkedHashSet_LinkedHashSet$_empty(type$.String); }, $signature: 569 }; A.HtmlViewEmbedder__applyMutators_closure0.prototype = { call$0() { return A.LinkedHashSet_LinkedHashSet$_empty(type$.String); }, $signature: 569 }; A.HtmlViewEmbedder_submitFrame_closure.prototype = { call$1(view) { return !B.JSArray_methods.contains$1(this.diffResult.viewsToAdd, view); }, $signature: 147 }; A.HtmlViewEmbedder__updateOverlays_closure.prototype = { call$1(group) { return B.JSArray_methods.get$last(group.__engine$_group); }, $signature: 1564 }; A.HtmlViewEmbedder__updateOverlays_closure0.prototype = { call$1(view) { return !B.JSArray_methods.contains$1(this.viewsNeedingOverlays, view); }, $signature: 147 }; A.HtmlViewEmbedder__updateOverlays_closure1.prototype = { call$1(view) { return !this.$this._overlays.containsKey$1(0, view); }, $signature: 147 }; A.OverlayGroup.prototype = {}; A.ViewClipChain.prototype = {}; A.EmbeddedViewParams.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.EmbeddedViewParams && other.offset.$eq(0, _this.offset) && other.size.$eq(0, _this.size) && other.mutators.$eq(0, _this.mutators); }, get$hashCode(_) { return A.Object_hash(this.offset, this.size, this.mutators, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A.MutatorType.prototype = { _enumToString$0() { return "MutatorType." + this._core$_name; } }; A.Mutator.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (!(other instanceof A.Mutator)) return false; t1 = _this.type; if (t1 !== other.type) return false; switch (t1.index) { case 0: return J.$eq$(_this.rect, other.rect); case 1: return J.$eq$(_this.rrect, other.rrect); case 2: return _this.path == other.path; case 3: return _this.matrix == other.matrix; case 4: return _this.alpha == other.alpha; default: return false; } }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.type, _this.rect, _this.rrect, _this.path, _this.matrix, _this.alpha, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A.MutatorsStack.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; return other instanceof A.MutatorsStack && A.listEquals0(other._mutators, this._mutators); }, get$hashCode(_) { return A.Object_hashAll(this._mutators); }, get$iterator(_) { var t1 = this._mutators, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); t1 = new A.ReversedListIterable(t1, t2); return new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")); } }; A.EmbedderFrameContext.prototype = {}; A.ViewListDiffResult.prototype = {}; A.diffViewList_lookForwards.prototype = { call$1(index) { var t1, t2, i, t3, _null = null; for (t1 = this.active, t2 = this.next, i = 0; t3 = i + index, t3 < t1.length; ++i) { if (!J.$eq$(t1[t3], t2[i])) return _null; if (i === t2.length - 1) if (index === 0) return new A.ViewListDiffResult(B.JSArray_methods.sublist$1(t1, i + 1), B.List_empty1, false, _null); else if (t3 === t1.length - 1) return new A.ViewListDiffResult(B.JSArray_methods.sublist$2(t1, 0, index), B.List_empty1, false, _null); else return _null; } return new A.ViewListDiffResult(B.JSArray_methods.sublist$2(t1, 0, index), B.JSArray_methods.sublist$1(t2, t1.length - index), false, _null); }, $signature: 928 }; A.diffViewList_lookBackwards.prototype = { call$1(index) { var t1, t2, i, t3, _null = null; for (t1 = this.next, t2 = this.active, i = 0; t3 = index - i, t3 >= 0; ++i) { if (!J.$eq$(t2[t3], t1[t1.length - 1 - i])) return _null; if (i === t1.length - 1) { t1 = t2.length; if (index === t1 - 1) return new A.ViewListDiffResult(B.JSArray_methods.sublist$2(t2, 0, t1 - i - 1), B.List_empty1, false, _null); else if (index === i) return new A.ViewListDiffResult(B.JSArray_methods.sublist$1(t2, index + 1), B.List_empty1, false, _null); else return _null; } } return new A.ViewListDiffResult(B.JSArray_methods.sublist$1(t2, index + 1), B.JSArray_methods.sublist$2(t1, 0, t1.length - 1 - index), true, B.JSArray_methods.get$first(t2)); }, $signature: 928 }; A.SkiaFontCollection.prototype = { get$fontFallbackManager() { var t1, value = this.__SkiaFontCollection_fontFallbackManager_AI; if (value === $) { t1 = A.configuration()._configuration; if (t1 == null) t1 = null; else { t1 = t1.useColorEmoji; if (t1 == null) t1 = null; } t1 = t1 === true; value = this.__SkiaFontCollection_fontFallbackManager_AI = A.FontFallbackManager$_(new A.SkiaFallbackRegistry(this), A._setArrayType([A.NotoFont$("Noto Sans", "notosans/v32/o-0IIpQlx3QUlC5A4PNb4j5Ba_2c7A.ttf", true), A.NotoFont$("Noto Color Emoji", "notocoloremoji/v25/Yq6P-KqIXTD0t4D9z1ESnKM3-HpFab5s79iz64w.ttf", t1), A.NotoFont$("Noto Emoji", "notoemoji/v47/bMrnmSyK7YY-MEu6aWjPDs-ar6uWaGWuob-r0jwvS-FGJCMY.ttf", !t1), A.NotoFont$("Noto Music", "notomusic/v20/pe0rMIiSN5pO63htf1sxIteQB9Zra1U.ttf", true), A.NotoFont$("Noto Sans Symbols", "notosanssymbols/v41/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8gavVFRkzrbQ.ttf", true), A.NotoFont$("Noto Sans Symbols 2", "notosanssymbols2/v22/I_uyMoGduATTei9eI8daxVHDyfisHr71ypPqfX71-AI.ttf", true), A.NotoFont$("Noto Sans Adlam", "notosansadlam/v22/neIczCCpqp0s5pPusPamd81eMfjPonvqdbYxxpgufnv0TGnBZLwhuvk.ttf", true), A.NotoFont$("Noto Sans Anatolian Hieroglyphs", "notosansanatolianhieroglyphs/v16/ijw9s4roRME5LLRxjsRb8A0gKPSWq4BbDmHHu6j2pEtUJzZWXybIymc5QYo.ttf", true), A.NotoFont$("Noto Sans Arabic", "notosansarabic/v18/nwpxtLGrOAZMl5nJ_wfgRg3DrWFZWsnVBJ_sS6tlqHHFlhQ5l3sQWIHPqzCfyGyvu3CBFQLaig.ttf", true), A.NotoFont$("Noto Sans Armenian", "notosansarmenian/v42/ZgN0jOZKPa7CHqq0h37c7ReDUubm2SEdFXp7ig73qtTY5idb74R9UdM3y2nZLorxb60iYy6zF3Eg.ttf", true), A.NotoFont$("Noto Sans Avestan", "notosansavestan/v21/bWti7ejKfBziStx7lIzKOLQZKhIJkyu9SASLji8U.ttf", true), A.NotoFont$("Noto Sans Balinese", "notosansbalinese/v24/NaPwcYvSBuhTirw6IaFn6UrRDaqje-lpbbRtYf-Fwu2Ov7fdhE5Vd222PPY.ttf", true), A.NotoFont$("Noto Sans Bamum", "notosansbamum/v27/uk-0EGK3o6EruUbnwovcbBTkkklK_Ya_PBHfNGTPEddO-_gLykxEkxA.ttf", true), A.NotoFont$("Noto Sans Bassa Vah", "notosansbassavah/v17/PN_bRee-r3f7LnqsD5sax12gjZn7mBpL5YwUpA2MBdcFn4MaAc6p34gH-GD7.ttf", true), A.NotoFont$("Noto Sans Batak", "notosansbatak/v19/gok2H6TwAEdtF9N8-mdTCQvT-Zdgo4_PHuk74A.ttf", true), A.NotoFont$("Noto Sans Bengali", "notosansbengali/v20/Cn-SJsCGWQxOjaGwMQ6fIiMywrNJIky6nvd8BjzVMvJx2mcSPVFpVEqE-6KmsolLudCk8izI0lc.ttf", true), A.NotoFont$("Noto Sans Bhaiksuki", "notosansbhaiksuki/v17/UcC63EosKniBH4iELXATsSBWdvUHXxhj8rLUdU4wh9U.ttf", true), A.NotoFont$("Noto Sans Brahmi", "notosansbrahmi/v18/vEFK2-VODB8RrNDvZSUmQQIIByV18tK1W77HtMo.ttf", true), A.NotoFont$("Noto Sans Buginese", "notosansbuginese/v18/esDM30ldNv-KYGGJpKGk18phe_7Da6_gtfuEXLmNtw.ttf", true), A.NotoFont$("Noto Sans Buhid", "notosansbuhid/v22/Dxxy8jiXMW75w3OmoDXVWJD7YwzAe6tgnaFoGA.ttf", true), A.NotoFont$("Noto Sans Canadian Aboriginal", "notosanscanadianaboriginal/v22/4C_TLjTuEqPj-8J01CwaGkiZ9os0iGVkezM1mUT-j_Lmlzda6uH_nnX1bzigWLn_yAsg0q0uhQ.ttf", true), A.NotoFont$("Noto Sans Carian", "notosanscarian/v16/LDIpaoiONgYwA9Yc6f0gUILeMIOgs7ob9yGLmfI.ttf", true), A.NotoFont$("Noto Sans Caucasian Albanian", "notosanscaucasianalbanian/v16/nKKA-HM_FYFRJvXzVXaANsU0VzsAc46QGOkWytlTs-TXrYDmoVmRSZo.ttf", true), A.NotoFont$("Noto Sans Chakma", "notosanschakma/v17/Y4GQYbJ8VTEp4t3MKJSMjg5OIzhi4JjTQhYBeYo.ttf", true), A.NotoFont$("Noto Sans Cham", "notosanscham/v29/pe06MIySN5pO62Z5YkFyQb_bbuRhe6D4yip43qfcERwcv7GykboaLg.ttf", true), A.NotoFont$("Noto Sans Cherokee", "notosanscherokee/v20/KFOPCm6Yu8uF-29fiz9vQF9YWK6Z8O10cHNA0cSkZCHYWi5PDkm5rAffjl0.ttf", true), A.NotoFont$("Noto Sans Coptic", "notosanscoptic/v20/iJWfBWmUZi_OHPqn4wq6kgqumOEd78u_VG0xR4Y.ttf", true), A.NotoFont$("Noto Sans Cuneiform", "notosanscuneiform/v17/bMrrmTWK7YY-MF22aHGGd7H8PhJtvBDWgb9JlRQueeQ.ttf", true), A.NotoFont$("Noto Sans Cypriot", "notosanscypriot/v15/8AtzGta9PYqQDjyp79a6f8Cj-3a3cxIsK5MPpahF.ttf", true), A.NotoFont$("Noto Sans Deseret", "notosansdeseret/v17/MwQsbgPp1eKH6QsAVuFb9AZM6MMr2Vq9ZnJSZtQG.ttf", true), A.NotoFont$("Noto Sans Devanagari", "notosansdevanagari/v25/TuGoUUFzXI5FBtUq5a8bjKYTZjtRU6Sgv3NaV_SNmI0b8QQCQmHn6B2OHjbL_08AlXQly-AzoFoW4Ow.ttf", true), A.NotoFont$("Noto Sans Duployan", "notosansduployan/v17/gokzH7nwAEdtF9N8-mdTDx_X9JM5wsvrFsIn6WYDvA.ttf", true), A.NotoFont$("Noto Sans Egyptian Hieroglyphs", "notosansegyptianhieroglyphs/v28/vEF42-tODB8RrNDvZSUmRhcQHzx1s7y_F9-j3qSzEcbEYindSVK8xRg7iw.ttf", true), A.NotoFont$("Noto Sans Elbasan", "notosanselbasan/v16/-F6rfiZqLzI2JPCgQBnw400qp1trvHdlre4dFcFh.ttf", true), A.NotoFont$("Noto Sans Elymaic", "notosanselymaic/v15/UqyKK9YTJW5liNMhTMqe9vUFP65ZD4AjWOT0zi2V.ttf", true), A.NotoFont$("Noto Sans Georgian", "notosansgeorgian/v42/PlIaFke5O6RzLfvNNVSitxkr76PRHBC4Ytyq-Gof7PUs4S7zWn-8YDB09HFNdpvnzFj-f5WK0OQV.ttf", true), A.NotoFont$("Noto Sans Glagolitic", "notosansglagolitic/v17/1q2ZY4-BBFBst88SU_tOj4J-4yuNF_HI4ERK4Amu7nM1.ttf", true), A.NotoFont$("Noto Sans Gothic", "notosansgothic/v16/TuGKUUVzXI5FBtUq5a8bj6wRbzxTFMX40kFQRx0.ttf", true), A.NotoFont$("Noto Sans Grantha", "notosansgrantha/v17/3y976akwcCjmsU8NDyrKo3IQfQ4o-r8cFeulHc6N.ttf", true), A.NotoFont$("Noto Sans Gujarati", "notosansgujarati/v23/wlpWgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMR2Gw4VceEl7MA_ypFwPM_OdiEH0s.ttf", true), A.NotoFont$("Noto Sans Gunjala Gondi", "notosansgunjalagondi/v19/bWtX7e7KfBziStx7lIzKPrcSMwcEnCv6DW7n5g0ef3PLtymzNxYL4YDE4J4vCTxEJQ.ttf", true), A.NotoFont$("Noto Sans Gurmukhi", "notosansgurmukhi/v26/w8g9H3EvQP81sInb43inmyN9zZ7hb7ATbSWo4q8dJ74a3cVrYFQ_bogT0-gPeG1OenbxZ_trdp7h.ttf", true), A.NotoFont$("Noto Sans HK", "notosanshk/v31/nKKF-GM_FYFRJvXzVXaAPe97P1KHynJFP716qHB--oWTiYjNvVA.ttf", true), A.NotoFont$("Noto Sans Hanunoo", "notosanshanunoo/v20/f0Xs0fCv8dxkDWlZSoXOj6CphMloFsEsEpgL_ix2.ttf", true), A.NotoFont$("Noto Sans Hatran", "notosanshatran/v16/A2BBn4Ne0RgnVF3Lnko-0sOBIfL_mM83r1nwzDs.ttf", true), A.NotoFont$("Noto Sans Hebrew", "notosanshebrew/v43/or3HQ7v33eiDljA1IufXTtVf7V6RvEEdhQlk0LlGxCyaeNKYZC0sqk3xXGiXd4qtoiJltutR2g.ttf", true), A.NotoFont$("Noto Sans Imperial Aramaic", "notosansimperialaramaic/v16/a8IMNpjwKmHXpgXbMIsbTc_kvks91LlLetBr5itQrtdml3YfPNno.ttf", true), A.NotoFont$("Noto Sans Indic Siyaq Numbers", "notosansindicsiyaqnumbers/v16/6xK5dTJFKcWIu4bpRBjRZRpsIYHabOeZ8UZLubTzpXNHKx2WPOpVd5Iu.ttf", true), A.NotoFont$("Noto Sans Inscriptional Pahlavi", "notosansinscriptionalpahlavi/v16/ll8UK3GaVDuxR-TEqFPIbsR79Xxz9WEKbwsjpz7VklYlC7FCVtqVOAYK0QA.ttf", true), A.NotoFont$("Noto Sans Inscriptional Parthian", "notosansinscriptionalparthian/v16/k3k7o-IMPvpLmixcA63oYi-yStDkgXuXncL7dzfW3P4TAJ2yklBJ2jNkLlLr.ttf", true), A.NotoFont$("Noto Sans JP", "notosansjp/v52/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFBEj75vY0rw-oME.ttf", true), A.NotoFont$("Noto Sans Javanese", "notosansjavanese/v23/2V01KJkDAIA6Hp4zoSScDjV0Y-eoHAHT-Z3MngEefiidxJnkFFliZYWj4O8.ttf", true), A.NotoFont$("Noto Sans KR", "notosanskr/v36/PbyxFmXiEBPT4ITbgNA5Cgms3VYcOA-vvnIzzuoyeLTq8H4hfeE.ttf", true), A.NotoFont$("Noto Sans Kaithi", "notosanskaithi/v20/buEtppS9f8_vkXadMBJJu0tWjLwjQi0KdoZIKlo.ttf", true), A.NotoFont$("Noto Sans Kannada", "notosanskannada/v26/8vIs7xs32H97qzQKnzfeXycxXZyUmySvZWItmf1fe6TVmgop9ndpS-BqHEyGrDvNzSIMLsPKrkY.ttf", true), A.NotoFont$("Noto Sans Kayah Li", "notosanskayahli/v21/B50nF61OpWTRcGrhOVJJwOMXdca6Yecki3E06x2jVTX3WCc3CZH4EXLuKVM.ttf", true), A.NotoFont$("Noto Sans Kharoshthi", "notosanskharoshthi/v16/Fh4qPiLjKS30-P4-pGMMXCCfvkc5Vd7KE5z4rFyx5mR1.ttf", true), A.NotoFont$("Noto Sans Khmer", "notosanskhmer/v23/ijw3s5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vbVUti_Z_dWgtWYuNAJz4kAbrddiA.ttf", true), A.NotoFont$("Noto Sans Khojki", "notosanskhojki/v18/-nFnOHM29Oofr2wohFbTuPPKVWpmK_d709jy92k.ttf", true), A.NotoFont$("Noto Sans Khudawadi", "notosanskhudawadi/v21/fdNi9t6ZsWBZ2k5ltHN73zZ5hc8HANlHIjRnVVXz9MY.ttf", true), A.NotoFont$("Noto Sans Lao", "notosanslao/v30/bx6lNx2Ol_ixgdYWLm9BwxM3NW6BOkuf763Clj73CiQ_J1Djx9pidOt4ccbdf5MK3riB2w.ttf", true), A.NotoFont$("Noto Sans Lepcha", "notosanslepcha/v19/0QI7MWlB_JWgA166SKhu05TekNS32AJstqBXgd4.ttf", true), A.NotoFont$("Noto Sans Limbu", "notosanslimbu/v22/3JnlSDv90Gmq2mrzckOBBRRoNJVj0MF3OHRDnA.ttf", true), A.NotoFont$("Noto Sans Linear A", "notosanslineara/v18/oPWS_l16kP4jCuhpgEGmwJOiA18FZj22zmHQAGQicw.ttf", true), A.NotoFont$("Noto Sans Linear B", "notosanslinearb/v17/HhyJU4wt9vSgfHoORYOiXOckKNB737IV3BkFTq4EPw.ttf", true), A.NotoFont$("Noto Sans Lisu", "notosanslisu/v25/uk-3EGO3o6EruUbnwovcYhz6kh57_nqbcTdjJnHP2Vwt29IlxkVdig.ttf", true), A.NotoFont$("Noto Sans Lycian", "notosanslycian/v15/QldVNSNMqAsHtsJ7UmqxBQA9r8wA5_naCJwn00E.ttf", true), A.NotoFont$("Noto Sans Lydian", "notosanslydian/v17/c4m71mVzGN7s8FmIukZJ1v4ZlcPReUPXMoIjEQI.ttf", true), A.NotoFont$("Noto Sans Mahajani", "notosansmahajani/v19/-F6sfiVqLzI2JPCgQBnw60Agp0JrvD5Fh8ARHNh4zg.ttf", true), A.NotoFont$("Noto Sans Malayalam", "notosansmalayalam/v26/sJoi3K5XjsSdcnzn071rL37lpAOsUThnDZIfPdbeSNzVakglNM-Qw8EaeB8Nss-_RuD9BFzEr6HxEA.ttf", true), A.NotoFont$("Noto Sans Mandaic", "notosansmandaic/v16/cIfnMbdWt1w_HgCcilqhKQBo_OsMI5_A_gMk0izH.ttf", true), A.NotoFont$("Noto Sans Manichaean", "notosansmanichaean/v17/taiVGntiC4--qtsfi4Jp9-_GkPZZCcrfekqCNTtFCtdX.ttf", true), A.NotoFont$("Noto Sans Marchen", "notosansmarchen/v19/aFTO7OZ_Y282EP-WyG6QTOX_C8WZMHhPk652ZaHk.ttf", true), A.NotoFont$("Noto Sans Masaram Gondi", "notosansmasaramgondi/v17/6xK_dThFKcWIu4bpRBjRYRV7KZCbUq6n_1kPnuGe7RI9WSWX.ttf", true), A.NotoFont$("Noto Sans Math", "notosansmath/v15/7Aump_cpkSecTWaHRlH2hyV5UHkG-V048PW0.ttf", true), A.NotoFont$("Noto Sans Mayan Numerals", "notosansmayannumerals/v16/PlIuFk25O6RzLfvNNVSivR09_KqYMwvvDKYjfIiE68oo6eepYQ.ttf", true), A.NotoFont$("Noto Sans Medefaidrin", "notosansmedefaidrin/v23/WwkzxOq6Dk-wranENynkfeVsNbRZtbOIdLb1exeM4ZeuabBfmErWlT318e5A3rw.ttf", true), A.NotoFont$("Noto Sans Meetei Mayek", "notosansmeeteimayek/v15/HTxAL3QyKieByqY9eZPFweO0be7M21uSphSdhqILnmrRfJ8t_1TJ_vTW5PgeFYVa.ttf", true), A.NotoFont$("Noto Sans Meroitic", "notosansmeroitic/v17/IFS5HfRJndhE3P4b5jnZ3ITPvC6i00UDgDhTiKY9KQ.ttf", true), A.NotoFont$("Noto Sans Miao", "notosansmiao/v17/Dxxz8jmXMW75w3OmoDXVV4zyZUjgUYVslLhx.ttf", true), A.NotoFont$("Noto Sans Modi", "notosansmodi/v23/pe03MIySN5pO62Z5YkFyT7jeav5qWVAgVol-.ttf", true), A.NotoFont$("Noto Sans Mongolian", "notosansmongolian/v17/VdGCAYADGIwE0EopZx8xQfHlgEAMsrToxLsg6-av1x0.ttf", true), A.NotoFont$("Noto Sans Mro", "notosansmro/v18/qWcsB6--pZv9TqnUQMhe9b39WDzRtjkho4M.ttf", true), A.NotoFont$("Noto Sans Multani", "notosansmultani/v20/9Bty3ClF38_RfOpe1gCaZ8p30BOFO1A0pfCs5Kos.ttf", true), A.NotoFont$("Noto Sans Myanmar", "notosansmyanmar/v20/AlZq_y1ZtY3ymOryg38hOCSdOnFq0En23OU4o1AC.ttf", true), A.NotoFont$("Noto Sans NKo", "notosansnko/v6/esDX31ZdNv-KYGGJpKGk2_RpMpCMHMLBrdA.ttf", true), A.NotoFont$("Noto Sans Nabataean", "notosansnabataean/v16/IFS4HfVJndhE3P4b5jnZ34DfsjO330dNoBJ9hK8kMK4.ttf", true), A.NotoFont$("Noto Sans New Tai Lue", "notosansnewtailue/v22/H4cKBW-Pl9DZ0Xe_nHUapt7PovLXAhAnY7wqaLy-OJgU3p_pdeXAYUbghFPKzeY.ttf", true), A.NotoFont$("Noto Sans Newa", "notosansnewa/v16/7r3fqXp6utEsO9pI4f8ok8sWg8n_qN4R5lNU.ttf", true), A.NotoFont$("Noto Sans Nushu", "notosansnushu/v19/rnCw-xRQ3B7652emAbAe_Ai1IYaFWFAMArZKqQ.ttf", true), A.NotoFont$("Noto Sans Ogham", "notosansogham/v17/kmKlZqk1GBDGN0mY6k5lmEmww4hrt5laQxcoCA.ttf", true), A.NotoFont$("Noto Sans Ol Chiki", "notosansolchiki/v29/N0b92TJNOPt-eHmFZCdQbrL32r-4CvhzDzRwlxOQYuVALWk267I6gVrz5gQ.ttf", true), A.NotoFont$("Noto Sans Old Hungarian", "notosansoldhungarian/v18/E213_cD6hP3GwCJPEUssHEM0KqLaHJXg2PiIgRfjbg5nCYXt.ttf", true), A.NotoFont$("Noto Sans Old Italic", "notosansolditalic/v16/TuGOUUFzXI5FBtUq5a8bh68BJxxEVam7tWlRdRhtCC4d.ttf", true), A.NotoFont$("Noto Sans Old North Arabian", "notosansoldnortharabian/v16/esDF30BdNv-KYGGJpKGk2tNiMt7Jar6olZDyNdr81zBQmUo_xw4ABw.ttf", true), A.NotoFont$("Noto Sans Old Permic", "notosansoldpermic/v17/snf1s1q1-dF8pli1TesqcbUY4Mr-ElrwKLdXgv_dKYB5.ttf", true), A.NotoFont$("Noto Sans Old Persian", "notosansoldpersian/v16/wEOjEAbNnc5caQTFG18FHrZr9Bp6-8CmIJ_tqOlQfx9CjA.ttf", true), A.NotoFont$("Noto Sans Old Sogdian", "notosansoldsogdian/v16/3JnjSCH90Gmq2mrzckOBBhFhdrMst48aURt7neIqM-9uyg.ttf", true), A.NotoFont$("Noto Sans Old South Arabian", "notosansoldsoutharabian/v16/3qT5oiOhnSyU8TNFIdhZTice3hB_HWKsEnF--0XCHiKx1OtDT9HwTA.ttf", true), A.NotoFont$("Noto Sans Old Turkic", "notosansoldturkic/v17/yMJNMJVya43H0SUF_WmcGEQVqoEMKDKbsE2RjEw-Vyws.ttf", true), A.NotoFont$("Noto Sans Oriya", "notosansoriya/v27/AYCppXfzfccDCstK_hrjDyADv5e9748vhj3CJBLHIARtgD6TJQS0dJT5Ivj0f6_c6LhHBRe-.ttf", true), A.NotoFont$("Noto Sans Osage", "notosansosage/v18/oPWX_kB6kP4jCuhpgEGmw4mtAVtXRlaSxkrMCQ.ttf", true), A.NotoFont$("Noto Sans Osmanya", "notosansosmanya/v18/8vIS7xs32H97qzQKnzfeWzUyUpOJmz6kR47NCV5Z.ttf", true), A.NotoFont$("Noto Sans Pahawh Hmong", "notosanspahawhhmong/v18/bWtp7e_KfBziStx7lIzKKaMUOBEA3UPQDW7krzc_c48aMpM.ttf", true), A.NotoFont$("Noto Sans Palmyrene", "notosanspalmyrene/v16/ZgNPjOdKPa7CHqq0h37c_ASCWvH93SFCPnK5ZpdNtcA.ttf", true), A.NotoFont$("Noto Sans Pau Cin Hau", "notosanspaucinhau/v20/x3d-cl3IZKmUqiMg_9wBLLtzl22EayN7ehIdjEWqKMxsKw.ttf", true), A.NotoFont$("Noto Sans Phags Pa", "notosansphagspa/v15/pxiZyoo6v8ZYyWh5WuPeJzMkd4SrGChkqkSsrvNXiA.ttf", true), A.NotoFont$("Noto Sans Phoenician", "notosansphoenician/v17/jizFRF9Ksm4Bt9PvcTaEkIHiTVtxmFtS5X7Jot-p5561.ttf", true), A.NotoFont$("Noto Sans Psalter Pahlavi", "notosanspsalterpahlavi/v16/rP2Vp3K65FkAtHfwd-eISGznYihzggmsicPfud3w1G3KsUQBct4.ttf", true), A.NotoFont$("Noto Sans Rejang", "notosansrejang/v21/Ktk2AKuMeZjqPnXgyqrib7DIogqwN4O3WYZB_sU.ttf", true), A.NotoFont$("Noto Sans Runic", "notosansrunic/v17/H4c_BXWPl9DZ0Xe_nHUaus7W68WWaxpvHtgIYg.ttf", true), A.NotoFont$("Noto Sans SC", "notosanssc/v36/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaG9_FnYxNbPzS5HE.ttf", true), A.NotoFont$("Noto Sans Saurashtra", "notosanssaurashtra/v23/ea8GacQ0Wfz_XKWXe6OtoA8w8zvmYwTef9ndjhPTSIx9.ttf", true), A.NotoFont$("Noto Sans Sharada", "notosanssharada/v16/gok0H7rwAEdtF9N8-mdTGALG6p0kwoXLPOwr4H8a.ttf", true), A.NotoFont$("Noto Sans Shavian", "notosansshavian/v17/CHy5V_HZE0jxJBQlqAeCKjJvQBNF4EFQSplv2Cwg.ttf", true), A.NotoFont$("Noto Sans Siddham", "notosanssiddham/v20/OZpZg-FwqiNLe9PELUikxTWDoCCeGqndk3Ic92ZH.ttf", true), A.NotoFont$("Noto Sans Sinhala", "notosanssinhala/v26/yMJ2MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-tf5dJbC30Fu9zUwg2a5lgLpJwbQRM.ttf", true), A.NotoFont$("Noto Sans Sogdian", "notosanssogdian/v16/taiQGn5iC4--qtsfi4Jp6eHPnfxQBo--Pm6KHidM.ttf", true), A.NotoFont$("Noto Sans Sora Sompeng", "notosanssorasompeng/v24/PlIRFkO5O6RzLfvNNVSioxM2_OTrEhPyDLolKvCsHzCxWuGkYHR818DpZXJQd4Mu.ttf", true), A.NotoFont$("Noto Sans Soyombo", "notosanssoyombo/v17/RWmSoL-Y6-8q5LTtXs6MF6q7xsxgY0FrIFOcK25W.ttf", true), A.NotoFont$("Noto Sans Sundanese", "notosanssundanese/v24/FwZw7_84xUkosG2xJo2gm7nFwSLQkdymq2mkz3Gz1_b6ctxpNNHCizv7fQES.ttf", true), A.NotoFont$("Noto Sans Syloti Nagri", "notosanssylotinagri/v20/uU9eCAQZ75uhfF9UoWDRiY3q7Sf_VFV3m4dGFVfxN87gsj0.ttf", true), A.NotoFont$("Noto Sans Syriac", "notosanssyriac/v16/Ktk7AKuMeZjqPnXgyqribqzQqgW0LYiVqV7dXcP0C-VD9MaJyZfUL_FC.ttf", true), A.NotoFont$("Noto Sans TC", "notosanstc/v35/-nFuOG829Oofr2wohFbTp9ifNAn722rq0MXz76Cy_CpOtma3uNQ.ttf", true), A.NotoFont$("Noto Sans Tagalog", "notosanstagalog/v22/J7aFnoNzCnFcV9ZI-sUYuvote1R0wwEAA8jHexnL.ttf", true), A.NotoFont$("Noto Sans Tagbanwa", "notosanstagbanwa/v18/Y4GWYbB8VTEp4t3MKJSMmQdIKjRtt_nZRjQEaYpGoQ.ttf", true), A.NotoFont$("Noto Sans Tai Le", "notosanstaile/v17/vEFK2-VODB8RrNDvZSUmVxEATwR58tK1W77HtMo.ttf", true), A.NotoFont$("Noto Sans Tai Tham", "notosanstaitham/v20/kJEbBv0U4hgtwxDUw2x9q7tbjLIfbPGHBoaVSAZ3MdLJBCUbPgquyaRGKMw.ttf", true), A.NotoFont$("Noto Sans Tai Viet", "notosanstaiviet/v19/8QIUdj3HhN_lv4jf9vsE-9GMOLsaSPZr644fWsRO9w.ttf", true), A.NotoFont$("Noto Sans Takri", "notosanstakri/v23/TuGJUVpzXI5FBtUq5a8bnKIOdTwQNO_W3khJXg.ttf", true), A.NotoFont$("Noto Sans Tamil", "notosanstamil/v27/ieVc2YdFI3GCY6SyQy1KfStzYKZgzN1z4LKDbeZce-0429tBManUktuex7vGo70RqKDt_EvT.ttf", true), A.NotoFont$("Noto Sans Tamil Supplement", "notosanstamilsupplement/v21/DdTz78kEtnooLS5rXF1DaruiCd_bFp_Ph4sGcn7ax_vsAeMkeq1x.ttf", true), A.NotoFont$("Noto Sans Telugu", "notosanstelugu/v25/0FlxVOGZlE2Rrtr-HmgkMWJNjJ5_RyT8o8c7fHkeg-esVC5dzHkHIJQqrEntezbqQUbf-3v37w.ttf", true), A.NotoFont$("Noto Sans Thaana", "notosansthaana/v23/C8c14dM-vnz-s-3jaEsxlxHkBH-WZOETXfoQrfQ9Y4XrbhLhnu4-tbNu.ttf", true), A.NotoFont$("Noto Sans Thai", "notosansthai/v20/iJWnBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcd1MKVQt_So_9CdU5RtpzF-QRvzzXg.ttf", true), A.NotoFont$("Noto Sans Tifinagh", "notosanstifinagh/v20/I_uzMoCduATTei9eI8dawkHIwvmhCvbn6rnEcXfs4Q.ttf", true), A.NotoFont$("Noto Sans Tirhuta", "notosanstirhuta/v16/t5t6IQYRNJ6TWjahPR6X-M-apUyby7uGUBsTrn5P.ttf", true), A.NotoFont$("Noto Sans Ugaritic", "notosansugaritic/v16/3qTwoiqhnSyU8TNFIdhZVCwbjCpkAXXkMhoIkiazfg.ttf", true), A.NotoFont$("Noto Sans Vai", "notosansvai/v17/NaPecZTSBuhTirw6IaFn_UrURMTsDIRSfr0.ttf", true), A.NotoFont$("Noto Sans Wancho", "notosanswancho/v17/zrf-0GXXyfn6Fs0lH9P4cUubP0GBqAPopiRfKp8.ttf", true), A.NotoFont$("Noto Sans Warang Citi", "notosanswarangciti/v17/EYqtmb9SzL1YtsZSScyKDXIeOv3w-zgsNvKRpeVCCXzdgA.ttf", true), A.NotoFont$("Noto Sans Yi", "notosansyi/v19/sJoD3LFXjsSdcnzn071rO3apxVDJNVgSNg.ttf", true), A.NotoFont$("Noto Sans Zanabazar Square", "notosanszanabazarsquare/v19/Cn-jJsuGWQxOjaGwMQ6fOicyxLBEMRfDtkzl4uagQtJxOCEgN0Gc.ttf", true)], type$.JSArray_NotoFont)); } return value; }, _registerWithFontProvider$0() { var t2, t3, t4, _i, font, t5, t6, _this = this, t1 = _this._fontProvider; if (t1 != null) { t1.delete(); _this._fontProvider = null; t1 = _this.skFontCollection; if (t1 != null) t1.delete(); _this.skFontCollection = null; } _this._fontProvider = $.__canvasKit._readField$0().TypefaceFontProvider.Make(); t1 = $.__canvasKit._readField$0().FontCollection.Make(); _this.skFontCollection = t1; t1.enableFontFallback(); _this.skFontCollection.setDefaultFontManager(_this._fontProvider); t1 = _this.familyToFontMap; t1.clear$0(0); for (t2 = _this._registeredFonts, t3 = t2.length, t4 = type$.NativeUint8List, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { font = t2[_i]; t5 = _this._fontProvider; t5.toString; t6 = font.family; t5.registerFont.apply(t5, [t4._as(font.bytes), t6]); J.add$1$ax(t1.putIfAbsent$2(0, t6, new A.SkiaFontCollection__registerWithFontProvider_closure()), new self.window.flutterCanvasKit.Font(font.typeface)); } for (t2 = _this.registeredFallbackFonts, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { font = t2[_i]; t5 = _this._fontProvider; t5.toString; t6 = font.family; t5.registerFont.apply(t5, [t4._as(font.bytes), t6]); J.add$1$ax(t1.putIfAbsent$2(0, t6, new A.SkiaFontCollection__registerWithFontProvider_closure0()), new self.window.flutterCanvasKit.Font(font.typeface)); } }, loadAssetFonts$1(manifest) { return this.loadAssetFonts$body$SkiaFontCollection(manifest); }, loadAssetFonts$body$SkiaFontCollection(manifest) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.AssetFontsResult), $async$returnValue, $async$self = this, t1, t2, loadedRoboto, _i, family, t3, t4, t5, _i0, fontAsset, t6, t7, fontFailures, downloadedFonts, loadedFonts, _0_1, _0_2, unregisteredFont, bytes, skFont, t8, pendingDownloads, $async$temp1; var $async$loadAssetFonts$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start pendingDownloads = A._setArrayType([], type$.JSArray_Future_FontDownloadResult); for (t1 = manifest.families, t2 = t1.length, loadedRoboto = false, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { family = t1[_i]; t3 = family.name; if (t3 === "Roboto") loadedRoboto = true; for (t4 = family.fontAssets, t5 = t4.length, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0) { fontAsset = t4[_i0]; t6 = $._assetManager; t6.toString; t7 = fontAsset.asset; pendingDownloads.push($async$self._downloadFont$3(t7, t6.getAssetUrl$1(t7), t3)); } } if (!loadedRoboto) pendingDownloads.push($async$self._downloadFont$3("Roboto", "https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf", "Roboto")); fontFailures = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FontLoadError); downloadedFonts = A._setArrayType([], type$.JSArray_Record_2_String_and_UnregisteredFont); $async$temp1 = J; $async$goto = 3; return A._asyncAwait(A.Future_wait(pendingDownloads, type$.FontDownloadResult), $async$loadAssetFonts$1); case 3: // returning from await. t1 = $async$temp1.get$iterator$ax($async$result); case 4: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 5; break; } t2 = t1.get$current(t1); t3 = t2.font; t4 = t2.assetName; if (t3 != null) downloadedFonts.push(new A._Record_2(t4, t3)); else { t2 = t2.error; t2.toString; fontFailures.$indexSet(0, t4, t2); } // goto for condition $async$goto = 4; break; case 5: // after for t1 = $.$get$_renderer().initialize$0(0); $async$goto = 6; return A._asyncAwait(type$.Future_void._is(t1) ? t1 : A._Future$value(t1, type$.void), $async$loadAssetFonts$1); case 6: // returning from await. loadedFonts = A._setArrayType([], type$.JSArray_String); for (t1 = downloadedFonts.length, t2 = type$.NativeByteBuffer, t3 = $.__canvasKit.__late_helper$_name, t4 = $async$self._registeredFonts, t5 = type$.JSArray_int, _i = 0; _i < downloadedFonts.length; downloadedFonts.length === t1 || (0, A.throwConcurrentModificationError)(downloadedFonts), ++_i) { t6 = downloadedFonts[_i]; _0_1 = t6._0; _0_2 = t6._1; unregisteredFont = _0_2; t6 = true; if (!t6) throw A.wrapException(A.StateError$("Pattern matching error")); bytes = J.asUint8List$0$x(unregisteredFont.bytes); t6 = $.__canvasKit.__late_helper$_value; if (t6 === $.__canvasKit) A.throwExpression(A.LateError$fieldNI(t3)); t6 = t6.Typeface; t6 = t6.MakeFreeTypeFaceFromData.apply(t6, [t2._as(J.get$buffer$x(bytes))]); t7 = unregisteredFont.family; if (t6 != null) { loadedFonts.push(_0_1); skFont = new self.window.flutterCanvasKit.Font(t6); t8 = A._setArrayType([0], t5); skFont.getGlyphBounds.apply(skFont, [t8, null, null]); t4.push(new A.RegisteredFont(t7, bytes, t6)); } else { t6 = $.$get$printWarning(); t8 = unregisteredFont.url; t6.call$1("Failed to load font " + t7 + " at " + t8); $.$get$printWarning().call$1("Verify that " + t8 + " contains a valid font."); fontFailures.$indexSet(0, _0_1, new A.FontInvalidDataError(t8)); } } $async$self.registerDownloadedFonts$0(); $async$returnValue = new A.AssetFontsResult(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$loadAssetFonts$1, $async$completer); }, registerDownloadedFonts$0() { var t1, t2, t3, _i, unregisteredFont, registeredFont, makeRegisterFont = new A.SkiaFontCollection_registerDownloadedFonts_makeRegisterFont(); for (t1 = this._unregisteredFonts, t2 = t1.length, t3 = this._registeredFonts, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { unregisteredFont = t1[_i]; registeredFont = makeRegisterFont.call$3(unregisteredFont.bytes, unregisteredFont.url, unregisteredFont.family); if (registeredFont != null) t3.push(registeredFont); } B.JSArray_methods.clear$0(t1); this._registerWithFontProvider$0(); }, _downloadFont$3(assetName, url, fontFamily) { return this._downloadFont$body$SkiaFontCollection(assetName, url, fontFamily); }, _downloadFont$body$SkiaFontCollection(assetName, url, fontFamily) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.FontDownloadResult), $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, response, e, exception, fontData, $async$exception; var $async$_downloadFont$3 = A._wrapJsFunctionForAsync(function($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 fontData = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait(A.httpFetch(url), $async$_downloadFont$3); case 7: // returning from await. response = $async$result; if (!response.get$hasPayload()) { $.$get$printWarning().call$1("Font family " + fontFamily + " not found (404) at " + url); $async$returnValue = new A.FontDownloadResult(assetName, null, new A.FontNotFoundError(url)); // goto return $async$goto = 1; break; } $async$goto = 8; return A._asyncAwait(response.get$payload(0).asByteBuffer$0(), $async$_downloadFont$3); case 8: // returning from await. fontData = $async$result; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; e = A.unwrapException($async$exception); $.$get$printWarning().call$1("Failed to load font " + fontFamily + " at " + url); $.$get$printWarning().call$1(J.toString$0$(e)); $async$returnValue = new A.FontDownloadResult(assetName, null, new A.FontDownloadError(e, url)); // goto return $async$goto = 1; break; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally $async$self._downloadedFontFamilies.add$1(0, fontFamily); $async$returnValue = new A.FontDownloadResult(assetName, new A.UnregisteredFont(fontData, url, fontFamily), null); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_downloadFont$3, $async$completer); }, clear$0(_) { } }; A.SkiaFontCollection__registerWithFontProvider_closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_JavaScriptObject); }, $signature: 927 }; A.SkiaFontCollection__registerWithFontProvider_closure0.prototype = { call$0() { return A._setArrayType([], type$.JSArray_JavaScriptObject); }, $signature: 927 }; A.SkiaFontCollection_registerDownloadedFonts_makeRegisterFont.prototype = { call$3(buffer, url, family) { var bytes = J.asUint8List$0$x(buffer), t1 = A.callMethod($.__canvasKit._readField$0().Typeface, "MakeFreeTypeFaceFromData", [type$.NativeByteBuffer._as(J.get$buffer$x(bytes))]); if (t1 != null) return A.RegisteredFont$(bytes, family, t1); else { $.$get$printWarning().call$1("Failed to load font " + family + " at " + url); $.$get$printWarning().call$1("Verify that " + url + " contains a valid font."); return null; } }, $signature: 1683 }; A.RegisteredFont.prototype = {}; A.UnregisteredFont.prototype = {}; A.FontDownloadResult.prototype = {}; A.SkiaFallbackRegistry.prototype = { getMissingCodePoints$2(codeUnits, fontFamilies) { var t1, t2, _i, typefacesForFamily, codePointsSupported, testString, font, t3, t4, i, missingCodeUnits, fonts = A._setArrayType([], type$.JSArray_JavaScriptObject); for (t1 = fontFamilies.length, t2 = this.fontCollection.familyToFontMap, _i = 0; _i < fontFamilies.length; fontFamilies.length === t1 || (0, A.throwConcurrentModificationError)(fontFamilies), ++_i) { typefacesForFamily = t2.$index(0, fontFamilies[_i]); if (typefacesForFamily != null) B.JSArray_methods.addAll$1(fonts, typefacesForFamily); } t1 = codeUnits.length; codePointsSupported = A.List_List$filled(t1, false, false, type$.bool); testString = A.String_String$fromCharCodes(codeUnits, 0, null); for (t2 = fonts.length, _i = 0; _i < fonts.length; fonts.length === t2 || (0, A.throwConcurrentModificationError)(fonts), ++_i) { font = fonts[_i]; t3 = font.getGlyphIDs.apply(font, [testString]); for (t4 = t3.length, i = 0; i < t4; ++i) codePointsSupported[i] = B.JSBool_methods.$or(codePointsSupported[i], t3[i] !== 0); } missingCodeUnits = A._setArrayType([], type$.JSArray_int); for (i = 0; i < t1; ++i) if (!codePointsSupported[i]) missingCodeUnits.push(codeUnits[i]); return missingCodeUnits; }, loadFallbackFont$2(familyName, url) { return this.loadFallbackFont$body$SkiaFallbackRegistry(familyName, url); }, loadFallbackFont$body$SkiaFallbackRegistry(familyName, url) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, buffer, t1; var $async$loadFallbackFont$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.httpFetchByteBuffer(url), $async$loadFallbackFont$2); case 3: // returning from await. buffer = $async$result; t1 = $.__canvasKit._readField$0().Typeface; type$.NativeByteBuffer._as(buffer); t1 = A.callMethod(t1, "MakeFreeTypeFaceFromData", [buffer]); if (t1 == null) { $.$get$printWarning().call$1("Failed to parse fallback font " + familyName + " as a font."); // goto return $async$goto = 1; break; } $async$self.fontCollection.registeredFallbackFonts.push(A.RegisteredFont$(B.NativeByteBuffer_methods.asUint8List$0(buffer), familyName, t1)); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$loadFallbackFont$2, $async$completer); } }; A.skiaDecodeImageFromPixels_closure.prototype = { call$0() { var _this = this, t1 = $.__canvasKit._readField$0(), t2 = _this.width, t3 = _this.format === B.PixelFormat_0 ? $.__canvasKit._readField$0().ColorType.RGBA_8888 : $.__canvasKit._readField$0().ColorType.BGRA_8888; t3 = A.SkImageInfo__staticInteropFactoryStub($.__canvasKit._readField$0().AlphaType.Premul, self.window.flutterCanvasKit.ColorSpace.SRGB, t3, _this.height, t2); t1 = A.callMethod(t1, "MakeImage", [t3, type$.NativeUint8List._as(_this.pixels), 4 * t2]); if (t1 == null) { A.callMethod(self.window.console, "warn", ["Failed to create image from pixels."]); return; } return _this.callback.call$1(A.CkImage$(t1, null)); }, $signature: 0 }; A.ImageCodecException.prototype = { toString$0(_) { return "ImageCodecException: " + this.__engine$_message; }, $isException: 1 }; A.readChunked_closure.prototype = { call$1(chunk) { var _this = this, t1 = _this._box_0, cumulativeBytesLoaded = t1.cumulativeBytesLoaded + A._asInt(chunk.length); t1.cumulativeBytesLoaded = cumulativeBytesLoaded; _this.chunkCallback.call$2(cumulativeBytesLoaded, _this.contentLength); A.callMethod(_this.result, "set", [chunk, t1.position]); t1.position = t1.position + A._asInt(chunk.length); }, $signature: 924 }; A.CkImage.prototype = { _init$0() { }, dispose$0() { this._disposed = true; var t1 = this.__CkImage_box_F; t1 === $ && A.throwUnnamedLateFieldNI(); if (--t1.__engine$_refCount === 0) { t1 = t1.__CountedRef__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); } }, clone$0(_) { var t2, t1 = this.__CkImage_box_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this.videoFrame; t1 = new A.CkImage(t1, t2 == null ? null : t2.clone()); t1._init$0(); t2 = t1.__CkImage_box_F; t2 === $ && A.throwUnnamedLateFieldNI(); ++t2.__engine$_refCount; return t1; }, isCloneOf$1(other) { var t1, t2; if (other instanceof A.CkImage) { t1 = other.__CkImage_box_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__CountedRef__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t2 = this.__CkImage_box_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.__CountedRef__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; t2 = t1.isAliasOf(t2); t1 = t2; } else t1 = false; return t1; }, get$width(_) { var t1 = this.__CkImage_box_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__CountedRef__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); return B.JSNumber_methods.toInt$0(t1._nativeObject.width()); }, get$height(_) { var t1 = this.__CkImage_box_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__CountedRef__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); return B.JSNumber_methods.toInt$0(t1._nativeObject.height()); }, toByteData$1$format(format) { var t1 = this.videoFrame; if (t1 != null && A.VideoFrameExtension_get_format(t1) !== "I420" && A.VideoFrameExtension_get_format(t1) !== "I444" && A.VideoFrameExtension_get_format(t1) !== "I422") { t1.toString; return A.readPixelsFromVideoFrame(t1, format); } else return this._readPixelsFromSkImage$1(format); }, _readPixelsFromSkImage$1(format) { var t3, t4, bytes, data, t1 = format === B.ImageByteFormat_1, alphaType = t1 ? $.__canvasKit._readField$0().AlphaType.Unpremul : $.__canvasKit._readField$0().AlphaType.Premul, t2 = this.__CkImage_box_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.__CountedRef__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; t3 = $.__canvasKit._readField$0().ColorType.RGBA_8888; t4 = self.window.flutterCanvasKit.ColorSpace.SRGB; if (format === B.ImageByteFormat_0 || t1) { t1 = t2.width(); bytes = A.callMethod(t2, "readPixels", [0, 0, A.SkImageInfo__staticInteropFactoryStub(alphaType, t4, t3, t2.height(), t1)]); } else bytes = A.SkImageExtension_encodeToBytes(t2); data = bytes == null ? null : A.NativeByteData_NativeByteData$view(bytes.buffer, 0, bytes.length); t1 = type$.ByteData; if (data == null) return A.Future_Future$error("Failed to encode the image into bytes.", null, t1); else return A.Future_Future$value(data, t1); }, toString$0(_) { var t2, t1 = this.__CkImage_box_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__CountedRef__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = B.JSNumber_methods.toInt$0(t1._nativeObject.width()); t2 = this.__CkImage_box_F.__CountedRef__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); return "[" + t1 + "\xd7" + B.JSNumber_methods.toInt$0(t2._nativeObject.height()) + "]"; }, $isImage1: 1 }; A.CkImageFilter.prototype = {$isCkManagedSkImageFilterConvertible: 1}; A._CkBlurImageFilter.prototype = { imageFilter$1(borrow) { var t1 = this.___CkBlurImageFilter__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; borrow.call$1(t1); }, get$_modeString() { switch (this.tileMode.index) { case 0: return "clamp"; case 2: return "mirror"; case 1: return "repeated"; case 3: return "decal"; } }, $eq(_, other) { var _this = this; if (other == null) return false; if (A.getRuntimeTypeOfDartObject(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A._CkBlurImageFilter && other.sigmaX === _this.sigmaX && other.sigmaY === _this.sigmaY && other.tileMode === _this.tileMode; }, get$hashCode(_) { return A.Object_hash(this.sigmaX, this.sigmaY, this.tileMode, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "ImageFilter.blur(" + this.sigmaX + ", " + this.sigmaY + ", " + this.get$_modeString() + ")"; } }; A._CkMatrixImageFilter.prototype = { imageFilter$1(borrow) { var t1 = this.___CkMatrixImageFilter__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; borrow.call$1(t1); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A._CkMatrixImageFilter && other.filterQuality === this.filterQuality && A.listEquals0(other.matrix, this.matrix); }, get$hashCode(_) { return A.Object_hash(this.filterQuality, A.Object_hashAll(this.matrix), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "ImageFilter.matrix(" + A.S(this.matrix) + ", " + this.filterQuality.toString$0(0) + ")"; } }; A.CkAnimatedImage.prototype = { dispose$0() { this._disposed = true; var t1 = this.__CkAnimatedImage__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); }, get$frameCount() { return this._frameCount; }, get$repetitionCount() { return this._repetitionCount; }, getNextFrame$0() { var animatedImage, t2, t1 = this.__CkAnimatedImage__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); animatedImage = t1._nativeObject; t1 = A.Duration$(0, 0, 0, B.JSNumber_methods.toInt$0(animatedImage.currentFrameDuration()), 0, 0); t2 = A.CkImage$(animatedImage.makeImageAtCurrentFrame(), null); animatedImage.decodeNextFrame(); return A.Future_Future$value(new A.AnimatedImageFrameInfo(t1, t2), type$.FrameInfo); }, $isCodec: 1 }; A.CkBrowserImageDecoder.prototype = {}; A.Layer.prototype = { dispose$0() { } }; A.PrerollContext.prototype = { get$cullRect() { var t1, t2, cullRect, t3, clipRect; $label0$1: for (t1 = this.mutatorsStack._mutators, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), cullRect = B.Rect_aha; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); switch (t3.type.index) { case 0: t3 = t3.rect; t3.toString; clipRect = t3; break; case 1: t3 = t3.rrect; clipRect = new A.Rect(t3.left, t3.top, t3.right, t3.bottom); break; case 2: t3 = t3.path.__CkPath__ref_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._nativeObject.getBounds(); clipRect = new A.Rect(t3[0], t3[1], t3[2], t3[3]); break; default: continue $label0$1; } cullRect = cullRect.intersect$1(clipRect); } return cullRect; } }; A.PaintContext.prototype = {}; A.ContainerLayer.prototype = { preroll$2(prerollContext, matrix) { this.paintBounds = this.prerollChildren$2(prerollContext, matrix); }, prerollChildren$2(context, childMatrix) { var t1, t2, childPaintBounds, _i, layer, t3; for (t1 = this._layers, t2 = t1.length, childPaintBounds = B.Rect_0_0_0_0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { layer = t1[_i]; layer.preroll$2(context, childMatrix); if (childPaintBounds.left >= childPaintBounds.right || childPaintBounds.top >= childPaintBounds.bottom) childPaintBounds = layer.paintBounds; else { t3 = layer.paintBounds; if (!(t3.left >= t3.right || t3.top >= t3.bottom)) childPaintBounds = childPaintBounds.expandToInclude$1(t3); } } return childPaintBounds; }, paintChildren$1(context) { var t1, t2, _i, layer, t3; for (t1 = this._layers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { layer = t1[_i]; t3 = layer.paintBounds; if (!(t3.left >= t3.right || t3.top >= t3.bottom)) layer.paint$1(context); } } }; A.RootLayer.prototype = { paint$1(paintContext) { this.paintChildren$1(paintContext); } }; A.BackdropFilterEngineLayer.prototype = { preroll$2(prerollContext, matrix) { this.paintBounds = this.prerollChildren$2(prerollContext, matrix).expandToInclude$1(prerollContext.get$cullRect()); }, paint$1(paintContext) { var t1, t2, _this = this, paint = A.CkPaint$(); paint.set$blendMode(_this.__engine$_blendMode); t1 = paintContext.internalNodesCanvas; t1.saveLayerWithFilter$3(_this.paintBounds, _this.__engine$_filter, paint); t2 = paint.__CkPaint__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2.dispose$0(); _this.paintChildren$1(paintContext); t1.restore$0(0); }, $isBackdropFilterEngineLayer0: 1 }; A.ClipPathEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var childPaintBounds, clipBounds, _null = null, t1 = this.__engine$_clipPath, t2 = prerollContext.mutatorsStack._mutators; t2.push(new A.Mutator(B.MutatorType_2, _null, _null, t1, _null, _null)); childPaintBounds = this.prerollChildren$2(prerollContext, matrix); t1 = t1.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); clipBounds = A.fromSkRect(t1._nativeObject.getBounds()); if (childPaintBounds.overlaps$1(clipBounds)) this.paintBounds = childPaintBounds.intersect$1(clipBounds); t2.pop(); }, paint$1(paintContext) { var t2, _this = this, t1 = paintContext.internalNodesCanvas; t1.save$0(0); t2 = _this.__engine$_clipBehavior; t1.clipPath$2(0, _this.__engine$_clipPath, t2 !== B.Clip_1); t2 = t2 === B.Clip_3; if (t2) t1.saveLayer$2(_this.paintBounds, null); _this.paintChildren$1(paintContext); if (t2) t1.restore$0(0); t1.restore$0(0); }, $isClipPathEngineLayer0: 1 }; A.ClipRectEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var childPaintBounds, _null = null, t1 = this.__engine$_clipRect, t2 = prerollContext.mutatorsStack._mutators; t2.push(new A.Mutator(B.MutatorType_0, t1, _null, _null, _null, _null)); childPaintBounds = this.prerollChildren$2(prerollContext, matrix); if (childPaintBounds.overlaps$1(t1)) this.paintBounds = childPaintBounds.intersect$1(t1); t2.pop(); }, paint$1(paintContext) { var t2, t3, t1 = paintContext.internalNodesCanvas; t1.save$0(0); t2 = this.__engine$_clipRect; t3 = this.__engine$_clipBehavior; t1.clipRect$3(t2, B.ClipOp_1, t3 !== B.Clip_1); t3 = t3 === B.Clip_3; if (t3) t1.saveLayer$2(t2, null); this.paintChildren$1(paintContext); if (t3) t1.restore$0(0); t1.restore$0(0); }, $isClipRectEngineLayer0: 1 }; A.ClipRRectEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var childPaintBounds, t3, t4, t5, _null = null, t1 = this.__engine$_clipRRect, t2 = prerollContext.mutatorsStack._mutators; t2.push(new A.Mutator(B.MutatorType_1, _null, t1, _null, _null, _null)); childPaintBounds = this.prerollChildren$2(prerollContext, matrix); t3 = t1.left; t4 = t1.top; t5 = t1.right; t1 = t1.bottom; if (childPaintBounds.overlaps$1(new A.Rect(t3, t4, t5, t1))) this.paintBounds = childPaintBounds.intersect$1(new A.Rect(t3, t4, t5, t1)); t2.pop(); }, paint$1(paintContext) { var t2, _this = this, t1 = paintContext.internalNodesCanvas; t1.save$0(0); t2 = _this.__engine$_clipBehavior; t1.clipRRect$2(_this.__engine$_clipRRect, t2 !== B.Clip_1); t2 = t2 === B.Clip_3; if (t2) t1.saveLayer$2(_this.paintBounds, null); _this.paintChildren$1(paintContext); if (t2) t1.restore$0(0); t1.restore$0(0); }, $isClipRRectEngineLayer0: 1 }; A.OpacityEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var t1, t2, t3, t4, _this = this, _null = null, childMatrix = new A.Matrix4(new Float32Array(16)); childMatrix.setFrom$1(matrix); t1 = _this.__engine$_offset; t2 = t1._dx; t1 = t1._dy; childMatrix.translate$2(0, t2, t1); t3 = A.Matrix4$identity(); t3.setTranslationRaw$3(t2, t1, 0); t4 = prerollContext.mutatorsStack._mutators; t4.push(A.Mutator$transform(t3)); t4.push(new A.Mutator(B.MutatorType_4, _null, _null, _null, _null, _this.__engine$_alpha)); _this.super$ContainerLayer$preroll(prerollContext, childMatrix); t4.pop(); t4.pop(); _this.paintBounds = _this.paintBounds.translate$2(0, t2, t1); }, paint$1(paintContext) { var t1, t2, t3, _this = this, paint = A.CkPaint$(); paint.set$color(0, A.Color$fromARGB(_this.__engine$_alpha, 0, 0, 0)); t1 = paintContext.internalNodesCanvas; t1.save$0(0); t2 = _this.__engine$_offset; t3 = t2._dx; t2 = t2._dy; t1.translate$2(0, t3, t2); t1.saveLayer$2(_this.paintBounds.shift$1(new A.Offset(-t3, -t2)), paint); t2 = paint.__CkPaint__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2.dispose$0(); _this.paintChildren$1(paintContext); t1.restore$0(0); t1.restore$0(0); }, $isOpacityEngineLayer0: 1 }; A.TransformEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var t1 = this.__engine$_transform, childMatrix = matrix.multiplied$1(t1), t2 = prerollContext.mutatorsStack._mutators; t2.push(A.Mutator$transform(t1)); this.paintBounds = A.transformRectWithMatrix(t1, this.prerollChildren$2(prerollContext, childMatrix)); t2.pop(); }, paint$1(paintContext) { var t1 = paintContext.internalNodesCanvas; t1.save$0(0); t1.transform$1(0, this.__engine$_transform._m4storage); this.paintChildren$1(paintContext); t1.restore$0(0); }, $isTransformEngineLayer0: 1 }; A.OffsetEngineLayer.prototype = {$isOffsetEngineLayer0: 1}; A.ImageFilterEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var t1, t2, t3, childPaintBounds, _this = this, childMatrix = new A.Matrix4(new Float32Array(16)); childMatrix.setFrom$1(matrix); t1 = _this.__engine$_offset; t2 = t1._dx; t1 = t1._dy; childMatrix.translate$2(0, t2, t1); t3 = A.Matrix4$identity(); t3.setTranslationRaw$3(t2, t1, 0); t1 = prerollContext.mutatorsStack._mutators; t1.push(A.Mutator$transform(t3)); childPaintBounds = _this.prerollChildren$2(prerollContext, childMatrix); t3 = type$.CkManagedSkImageFilterConvertible._as(_this.__engine$_filter).___CkMatrixImageFilter__ref_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._nativeObject; t3.toString; new A.ImageFilterEngineLayer_preroll_closure(_this, childPaintBounds).call$1(t3); t1.pop(); }, paint$1(paintContext) { var t2, paint, _this = this, t1 = paintContext.internalNodesCanvas; t1.save$0(0); t2 = _this.__engine$_offset; t1.translate$2(0, t2._dx, t2._dy); paint = A.CkPaint$(); paint.set$imageFilter(_this.__engine$_filter); t1.saveLayer$2(_this.paintBounds, paint); t2 = paint.__CkPaint__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2.dispose$0(); _this.paintChildren$1(paintContext); t1.restore$0(0); t1.restore$0(0); }, $isImageFilterEngineLayer0: 1 }; A.ImageFilterEngineLayer_preroll_closure.prototype = { call$1(filter) { var t1 = A.callMethod(filter, "getOutputBounds", [A.toSkRect(this.childPaintBounds)]); this.$this.paintBounds = new A.Rect(t1[0], t1[1], t1[2], t1[3]); }, $signature: 33 }; A.PictureLayer.prototype = { preroll$2(prerollContext, matrix) { var t1 = this.picture.__CkPicture__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); this.paintBounds = A.fromSkRect(t1._nativeObject.cullRect()).shift$1(this.offset); }, paint$1(paintContext) { var t1, t2; B.JSNumber_methods.toInt$0(paintContext.leafNodesCanvas.skCanvas.save()); t1 = this.offset; A.callMethod(paintContext.leafNodesCanvas.skCanvas, "translate", [t1._dx, t1._dy]); t1 = paintContext.leafNodesCanvas; t2 = this.picture.__CkPicture__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; t1.skCanvas.drawPicture(t2); paintContext.leafNodesCanvas.skCanvas.restore(); } }; A.PlatformViewLayer0.prototype = { preroll$2(prerollContext, matrix) { var _this = this, t1 = _this.offset, t2 = t1._dx, t3 = t1._dy, t4 = _this.width, t5 = _this.height; _this.paintBounds = new A.Rect(t2, t3, t2 + t4, t3 + t5); t3 = prerollContext.viewEmbedder; if (t3 != null) t3.prerollCompositeEmbeddedView$2(_this.viewId, new A.EmbeddedViewParams(t1, new A.Size(t4, t5), new A.MutatorsStack(A.List_List$from(prerollContext.mutatorsStack._mutators, true, type$.Mutator)))); }, paint$1(paintContext) { var canvas, t2, overlayIndex, t3, t4, recorderToUseForRendering, _null = null, t1 = paintContext.viewEmbedder; if (t1 == null) canvas = _null; else { t2 = this.viewId; t1.rasterizer.view.get$dom().injectPlatformView$1(t2); overlayIndex = t1._context.visibleViewCount; t1._compositionOrder.push(t2); if (!$.$get$PlatformViewManager_instance().isInvisible$1(t2)) ++t1._context.visibleViewCount; if (!$.$get$PlatformViewManager_instance().isInvisible$1(t2)) { t3 = t1._context; t4 = t3.pictureRecordersCreatedDuringPreroll; if (overlayIndex < t4.length) { recorderToUseForRendering = t4[overlayIndex]; t3.pictureRecorders.push(recorderToUseForRendering); } else recorderToUseForRendering = _null; } else recorderToUseForRendering = _null; t3 = t1._viewsToRecomposite; if (t3.contains$1(0, t2)) { t4 = t1._currentCompositionParams.$index(0, t2); t4.toString; t1._compositeWithParams$2(t2, t4); t3.remove$1(0, t2); } canvas = recorderToUseForRendering == null ? _null : recorderToUseForRendering._recordingCanvas; } if (canvas != null) paintContext.leafNodesCanvas = canvas; } }; A.LayerScene.prototype = { dispose$0() { } }; A.LayerSceneBuilder.prototype = { addPicture$4$isComplexHint$willChangeHint(offset, picture, isComplexHint, willChangeHint) { var t2, t1 = this.__LayerSceneBuilder_currentLayer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = new A.PictureLayer(type$.CkPicture._as(picture), offset, B.Rect_0_0_0_0); t2.parent = t1; t1._layers.push(t2); }, addRetained$1(retainedLayer) { var t1 = this.__LayerSceneBuilder_currentLayer_A; t1 === $ && A.throwUnnamedLateFieldNI(); type$.Layer._as(retainedLayer); retainedLayer.parent = t1; t1._layers.push(retainedLayer); }, addPlatformView$4$height$offset$width(viewId, height, offset, width) { var t2, t1 = this.__LayerSceneBuilder_currentLayer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = new A.PlatformViewLayer0(viewId, offset, width, height, B.Rect_0_0_0_0); t2.parent = t1; t1._layers.push(t2); }, build$0() { return new A.LayerScene(new A.LayerTree(this.rootLayer)); }, pop$0() { var t1 = this.__LayerSceneBuilder_currentLayer_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 === this.rootLayer) return; t1 = t1.parent; t1.toString; this.__LayerSceneBuilder_currentLayer_A = t1; }, pushBackdropFilter$3$blendMode$oldLayer(filter, blendMode, oldLayer) { return this.pushLayer$1(new A.BackdropFilterEngineLayer(filter, blendMode, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushClipPath$3$clipBehavior$oldLayer(path, clipBehavior, oldLayer) { return this.pushLayer$1(new A.ClipPathEngineLayer(type$.CkPath._as(path), clipBehavior, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushClipRRect$3$clipBehavior$oldLayer(rrect, clipBehavior, oldLayer) { return this.pushLayer$1(new A.ClipRRectEngineLayer(rrect, clipBehavior, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushClipRect$3$clipBehavior$oldLayer(rect, clipBehavior, oldLayer) { return this.pushLayer$1(new A.ClipRectEngineLayer(rect, clipBehavior, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushImageFilter$3$offset$oldLayer(filter, offset, oldLayer) { return this.pushLayer$1(new A.ImageFilterEngineLayer(offset, filter, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushOffset$3$oldLayer(dx, dy, oldLayer) { var t1 = A.Matrix4$identity(); t1.setTranslationRaw$3(dx, dy, 0); return this.pushLayer$1(new A.OffsetEngineLayer(t1, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushOpacity$3$offset$oldLayer(alpha, offset, oldLayer) { return this.pushLayer$1(new A.OpacityEngineLayer(alpha, offset, A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushTransform$2$oldLayer(matrix4, oldLayer) { return this.pushLayer$1(new A.TransformEngineLayer(new A.Matrix4(A.toMatrix32(matrix4)), A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, pushLayer$1$1(layer) { var t1 = this.__LayerSceneBuilder_currentLayer_A; t1 === $ && A.throwUnnamedLateFieldNI(); layer.parent = t1; t1._layers.push(layer); return this.__LayerSceneBuilder_currentLayer_A = layer; }, pushLayer$1(layer) { return this.pushLayer$1$1(layer, type$.ContainerLayer); } }; A.LayerTree.prototype = {}; A.Frame.prototype = { raster$2$ignoreRasterCache(layerTree, ignoreRasterCache) { A.timeAction("preroll_frame", new A.Frame_raster_closure(this, layerTree, true)); A.timeAction("apply_frame", new A.Frame_raster_closure0(this, layerTree, true)); return true; } }; A.Frame_raster_closure.prototype = { call$0() { var t1 = this.layerTree.rootLayer; t1.paintBounds = t1.prerollChildren$2(new A.PrerollContext(this.$this.viewEmbedder, new A.MutatorsStack(A._setArrayType([], type$.JSArray_Mutator))), A.Matrix4$identity()); }, $signature: 0 }; A.Frame_raster_closure0.prototype = { call$0() { var t1 = this.$this, t2 = A._setArrayType([], type$.JSArray_CkCanvas), internalNodesCanvas = new A.CkNWayCanvas(t2), t3 = t1.canvas; t2.push(t3); t1 = t1.viewEmbedder; t1.getOverlayCanvases$0().forEach$1(0, internalNodesCanvas.get$addCanvas()); t2 = this.layerTree.rootLayer; if (!t2.paintBounds.get$isEmpty(0)) t2.paintChildren$1(new A.PaintContext(internalNodesCanvas, t3, t1)); }, $signature: 0 }; A.CompositorContext.prototype = {}; A.CkMaskFilter.prototype = {}; A.MultiSurfaceRasterizer.prototype = { createViewRasterizer$1(view) { return this._viewRasterizers.putIfAbsent$2(0, view, new A.MultiSurfaceRasterizer_createViewRasterizer_closure(this, view)); }, dispose$0() { var t1, t2, t3, t4, value, result; for (t1 = this._viewRasterizers, t2 = t1.get$values(0), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; if (t4 == null) t4 = t3._as(t4); value = t4.__ViewRasterizer_viewEmbedder_FI; if (value === $) { result = A.HtmlViewEmbedder$(t4.view.get$dom().sceneHost, t4); t4.__ViewRasterizer_viewEmbedder_FI !== $ && A.throwUnnamedLateFieldADI(); t4.__ViewRasterizer_viewEmbedder_FI = result; value = result; } value.dispose$0(); t4.displayFactory.dispose$0(); } t1.clear$0(0); }, setResourceCacheMaxBytes$1(bytes) { var t1, t2, t3, t4; for (t1 = this._viewRasterizers.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; t3 = (t3 == null ? t2._as(t3) : t3).displayFactory; t4 = new A.MultiSurfaceRasterizer_setResourceCacheMaxBytes_closure(bytes); t4.call$1(t3.get$baseCanvas()); B.JSArray_methods.forEach$1(t3._cache, t4); B.JSArray_methods.forEach$1(t3._liveCanvases, t4); } } }; A.MultiSurfaceRasterizer_createViewRasterizer_closure.prototype = { call$0() { return A.MultiSurfaceViewRasterizer$(this.view, this.$this); }, $signature: 2537 }; A.MultiSurfaceRasterizer_setResourceCacheMaxBytes_closure.prototype = { call$1(surface) { surface._skiaCacheBytes = this.bytes; surface._syncCacheBytes$0(); }, $signature: 2601 }; A.MultiSurfaceViewRasterizer.prototype = { prepareToDraw$0() { this.displayFactory.get$baseCanvas().createOrUpdateSurface$1(this.currentFrameSize); }, rasterizeToCanvas$2(canvas, pictures) { var t1, devicePixelRatio, t2; type$.Surface._as(canvas); canvas.createOrUpdateSurface$1(this.currentFrameSize); t1 = this.currentFrameSize; devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t2 = self.window.devicePixelRatio; devicePixelRatio = t2 === 0 ? 1 : t2; } t2 = canvas._pixelHeight; A.DomCSSStyleDeclarationExtension_setProperty(canvas._canvasElement.style, "transform", "translate(0px, " + A.S(t1._dy / devicePixelRatio - t2 / devicePixelRatio) + "px)"); t2 = canvas._surface.surface.getCanvas(); A.callMethod(t2, "clear", [A._populateSkColor($.$get$_sharedSkColor1(), B.Color_0)]); B.JSArray_methods.forEach$1(pictures, new A.CkCanvas(t2).get$drawPicture()); canvas._surface.surface.flush(); return A.Future_Future$value(null, type$.void); }, get$displayFactory() { return this.displayFactory; } }; A.MultiSurfaceViewRasterizer_displayFactory_closure.prototype = { call$0() { var t1 = A.DomDocumentExtension_createElement(self.document, "flt-canvas-container"); if ($.$get$browserSupportsOffscreenCanvas()) $.$get$_browserEngine(); return new A.Surface(false, true, t1); }, $signature: 2669 }; A.CkNWayCanvas.prototype = { addCanvas$1(canvas) { this._canvases.push(canvas); }, save$0(_) { var t1, saveCount, i; for (t1 = this._canvases, saveCount = 0, i = 0; i < t1.length; ++i) saveCount = B.JSNumber_methods.toInt$0(t1[i].skCanvas.save()); return saveCount; }, saveLayer$2(bounds, paint) { var t1, t2, i, t3, t4, t5; for (t1 = this._canvases, t2 = paint == null, i = 0; i < t1.length; ++i) { t3 = t1[i].skCanvas; t4 = t2 ? null : paint.skiaObject; t5 = A.toSkRect(bounds); t3.saveLayer.apply(t3, [t4, t5, null, null]); } }, saveLayerWithFilter$3(bounds, filter, paint) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].saveLayerWithFilter$3(bounds, filter, paint); }, restore$0(_) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].skCanvas.restore(); }, translate$2(_, dx, dy) { var t1, i, t2; for (t1 = this._canvases, i = 0; i < t1.length; ++i) { t2 = t1[i].skCanvas; t2.translate.apply(t2, [dx, dy]); } }, transform$1(_, matrix) { var t1, i, t2; for (t1 = this._canvases, i = 0; i < t1.length; ++i) { t2 = t1[i].skCanvas; t2.concat.apply(t2, [A.toSkM44FromFloat32(matrix)]); } }, clipPath$2(_, path, doAntiAlias) { var t1, i, t2, t3; for (t1 = this._canvases, i = 0; i < t1.length; ++i) { t2 = t1[i].skCanvas; t3 = path.__CkPath__ref_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._nativeObject; t3.toString; t2.clipPath.apply(t2, [t3, $.$get$_clipOpIntersect(), doAntiAlias]); } }, clipRect$3(rect, clipOp, doAntiAlias) { var t1, t2, i, t3; for (t1 = this._canvases, t2 = clipOp.index, i = 0; i < t1.length; ++i) { t3 = t1[i].skCanvas; t3.clipRect.apply(t3, [A.toSkRect(rect), $.$get$_skClipOps()[t2], doAntiAlias]); } }, clipRRect$2(rrect, doAntiAlias) { var t1, i, t2; for (t1 = this._canvases, i = 0; i < t1.length; ++i) { t2 = t1[i].skCanvas; t2.clipRRect.apply(t2, [A.toSkRRect(rrect), $.$get$_clipOpIntersect(), doAntiAlias]); } } }; A._finalizationRegistry_closure.prototype = { call$1(boxedUniq) { var t1, val = boxedUniq[$.$get$_jsBoxedDartObjectProperty()]; if (val == null) A.throwExpression("Expected a wrapped Dart object, but got a JS object or a wrapped Dart object from a separate runtime instead."); t1 = val; type$.UniqueRef_Object._as(t1); if (t1._nativeObject != null) t1.dispose$0(); }, $signature: 3068 }; A.NativeMemoryFinalizationRegistry.prototype = {}; A.UniqueRef.prototype = { UniqueRef$3(owner, nativeObject, _debugOwnerLabel, $T) { var t1, box; this._nativeObject = nativeObject; $.$get$nativeMemoryFinalizationRegistry(); if ($.$get$browserSupportsFinalizationRegistry()) { t1 = $.$get$_finalizationRegistry(); box = {}; box[$.$get$_jsBoxedDartObjectProperty()] = this; A.callMethod(t1, "register", [owner, box]); } }, dispose$0() { var object = this._nativeObject; if (!object.isDeleted()) object.delete(); this._nativeObject = null; } }; A.CountedRef.prototype = {}; A.OffscreenCanvasRasterizer.prototype = { createViewRasterizer$1(view) { return this._viewRasterizers.putIfAbsent$2(0, view, new A.OffscreenCanvasRasterizer_createViewRasterizer_closure(this, view)); }, setResourceCacheMaxBytes$1(bytes) { var t1 = this.offscreenSurface; t1._skiaCacheBytes = bytes; t1._syncCacheBytes$0(); }, dispose$0() { var t1, t2, t3, value, result; this.offscreenSurface.dispose$0(); for (t1 = this._viewRasterizers.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); value = t3.__ViewRasterizer_viewEmbedder_FI; if (value === $) { result = A.HtmlViewEmbedder$(t3.view.get$dom().sceneHost, t3); t3.__ViewRasterizer_viewEmbedder_FI !== $ && A.throwUnnamedLateFieldADI(); t3.__ViewRasterizer_viewEmbedder_FI = result; value = result; } value.dispose$0(); t3.displayFactory.dispose$0(); } } }; A.OffscreenCanvasRasterizer_createViewRasterizer_closure.prototype = { call$0() { return A.OffscreenCanvasViewRasterizer$(this.view, this.$this); }, $signature: 989 }; A.OffscreenCanvasViewRasterizer.prototype = { rasterizeToCanvas$2(canvas, pictures) { return this.rasterizeToCanvas$body$OffscreenCanvasViewRasterizer(canvas, pictures); }, rasterizeToCanvas$body$OffscreenCanvasViewRasterizer(canvas, pictures) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$rasterizeToCanvas$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait($async$self.rasterizer.offscreenSurface.rasterizeToCanvas$3($async$self.currentFrameSize, type$.RenderCanvas._as(canvas), pictures), $async$rasterizeToCanvas$2); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$rasterizeToCanvas$2, $async$completer); }, prepareToDraw$0() { this.rasterizer.offscreenSurface.createOrUpdateSurface$1(this.currentFrameSize); }, get$displayFactory() { return this.displayFactory; } }; A.OffscreenCanvasViewRasterizer_displayFactory_closure.prototype = { call$0() { var t1 = A.DomDocumentExtension_createElement(self.document, "flt-canvas-container"), t2 = A.createDomCanvasElement(null, null), t3 = new A.RenderCanvas(t1, t2), t4 = A.jsify("true"); A.callMethod(t2, "setAttribute", ["aria-hidden", t4 == null ? type$.Object._as(t4) : t4]); A.DomCSSStyleDeclarationExtension_setProperty(t2.style, "position", "absolute"); t3._updateLogicalHtmlCanvasSize$0(); t1.append(t2); return t3; }, $signature: 1379 }; A.CkPaint.prototype = { set$blendMode(value) { if (this.__engine$_blendMode === value) return; this.__engine$_blendMode = value; this.skiaObject.setBlendMode($.$get$_skBlendModes()[value.index]); }, get$style(_) { return this._style; }, set$style(_, value) { if (this._style === value) return; this._style = value; this.skiaObject.setStyle($.$get$_skPaintStyles()[value.index]); }, get$strokeWidth() { return this._strokeWidth; }, set$strokeWidth(value) { if (this._strokeWidth === value) return; this._strokeWidth = value; A.callMethod(this.skiaObject, "setStrokeWidth", [value]); }, set$strokeCap(value) { if (this._strokeCap === value) return; this._strokeCap = value; this.skiaObject.setStrokeCap($.$get$_skStrokeCaps()[value.index]); }, set$strokeJoin(value) { if (this._strokeJoin === value) return; this._strokeJoin = value; this.skiaObject.setStrokeJoin($.$get$_skStrokeJoins()[value.index]); }, set$isAntiAlias(value) { if (this._isAntiAlias === value) return; this._isAntiAlias = value; A.callMethod(this.skiaObject, "setAntiAlias", [value]); }, get$color(_) { return new A.Color(this.__engine$_color); }, set$color(_, value) { if (this.__engine$_color === value.get$value(value)) return; this.__engine$_color = value.get$value(value); A.callMethod(this.skiaObject, "setColorInt", [value.get$value(value)]); }, set$invertColors(value) { var t1, _this = this; if (value === _this.__engine$_invertColors) return; if (!value) { t1 = _this._effectiveColorFilter = _this._originalColorFilter; _this._originalColorFilter = null; } else { t1 = _this._originalColorFilter = _this._effectiveColorFilter; if (t1 == null) { t1 = $.$get$_invertColorFilter(); _this._effectiveColorFilter = t1; } else { t1 = A.ManagedSkColorFilter$(new A.CkComposeColorFilter($.$get$_invertColorFilter(), t1)); _this._effectiveColorFilter = t1; } } if (t1 == null) t1 = null; else { t1 = t1.__ManagedSkColorFilter__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; } _this.skiaObject.setColorFilter(t1); _this.__engine$_invertColors = value; }, set$shader(value) { var t1, _this = this; if (_this._shader == value) return; type$.nullable_CkShader._as(value); _this._shader = value; t1 = value == null ? null : value.getSkShader$1(_this.__engine$_filterQuality); _this.skiaObject.setShader(t1); }, set$maskFilter(value) { var t1, t2, t3, _this = this, _s10_ = "MaskFilter"; if (value.$eq(0, _this._maskFilter)) return; _this._maskFilter = value; t1 = value._sigma; if (!(isFinite(t1) && t1 > 0)) _this._ckMaskFilter = null; else { t2 = value._ui$_style; t3 = new A.CkMaskFilter(t2, t1); t1 = A.callMethod($.__canvasKit._readField$0().MaskFilter, "MakeBlur", [$.$get$_skBlurStyles()[t2.index], t1, true]); t1.toString; t2 = new A.UniqueRef(_s10_, type$.UniqueRef_JavaScriptObject); t2.UniqueRef$3(t3, t1, _s10_, type$.JavaScriptObject); t3.__CkMaskFilter__ref_F !== $ && A.throwUnnamedLateFieldAI(); t3.__CkMaskFilter__ref_F = t2; _this._ckMaskFilter = t3; } t1 = _this._ckMaskFilter; if (t1 == null) t1 = null; else { t1 = t1.__CkMaskFilter__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; } _this.skiaObject.setMaskFilter(t1); }, set$filterQuality(value) { var t1, _this = this; if (_this.__engine$_filterQuality === value) return; _this.__engine$_filterQuality = value; t1 = _this._shader; t1 = t1 == null ? null : t1.getSkShader$1(value); _this.skiaObject.setShader(t1); }, set$colorFilter(value) { var t1, _this = this; if (_this._engineColorFilter === value) return; _this._engineColorFilter = value; _this._originalColorFilter = null; t1 = A.createCkColorFilter(value); t1.toString; t1 = _this._effectiveColorFilter = A.ManagedSkColorFilter$(t1); if (_this.__engine$_invertColors) { _this._originalColorFilter = t1; t1 = _this._effectiveColorFilter = A.ManagedSkColorFilter$(new A.CkComposeColorFilter($.$get$_invertColorFilter(), t1)); } t1 = t1.__ManagedSkColorFilter__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; _this.skiaObject.setColorFilter(t1); }, set$imageFilter(value) { if (J.$eq$(this.__engine$_imageFilter, value)) return; type$.nullable_CkManagedSkImageFilterConvertible._as(value); value.imageFilter$1(new A.CkPaint_imageFilter_closure(this)); this.__engine$_imageFilter = value; }, dispose$0() { var t1 = this.__CkPaint__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); }, $isPaint: 1 }; A.CkPaint_imageFilter_closure.prototype = { call$1(skImageFilter) { this.$this.skiaObject.setImageFilter(skImageFilter); }, $signature: 33 }; A.CkPath.prototype = { get$fillType() { return this._fillType; }, set$fillType(newFillType) { var t1; if (this._fillType === newFillType) return; this._fillType = newFillType; t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t1.setFillType($.$get$_skFillTypes()[newFillType.index]); }, addArc$3(oval, startAngle, sweepAngle) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "addArc", [A.toSkRect(oval), startAngle * 57.29577951308232, sweepAngle * 57.29577951308232]); }, addOval$1(oval) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "addOval", [A.toSkRect(oval), false, 1]); }, addPath$2(_, path, offset) { var skMatrix, t2, t1 = A.Matrix4$identity(); t1.setTranslationRaw$3(offset._dx, offset._dy, 0); skMatrix = A.toSkMatrixFromFloat32(t1._m4storage); type$.CkPath._as(path); t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t2 = path.__CkPath__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; A.callMethod(t1, "addPath", [t2, skMatrix[0], skMatrix[1], skMatrix[2], skMatrix[3], skMatrix[4], skMatrix[5], skMatrix[6], skMatrix[7], skMatrix[8], false]); }, addPolygon$2(points, $close) { var encodedPoints = A.toMallocedSkPoints(points), t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "addPoly", [encodedPoints.toTypedArray(), $close]); self.window.flutterCanvasKit.Free(encodedPoints); }, addRRect$1(rrect) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "addRRect", [A.toSkRRect(rrect), false]); }, addRect$1(rect) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "addRect", [A.toSkRect(rect)]); }, arcTo$4(_, rect, startAngle, sweepAngle, forceMoveTo) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "arcToOval", [A.toSkRect(rect), startAngle * 57.29577951308232, sweepAngle * 57.29577951308232, forceMoveTo]); }, arcToPoint$3$clockwise$radius(arcEnd, clockwise, radius) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "arcToRotated", [radius.x, radius.y, 0, true, !clockwise, arcEnd._dx, arcEnd._dy]); }, arcToPoint$2$radius(arcEnd, radius) { return this.arcToPoint$3$clockwise$radius(arcEnd, true, radius); }, close$0(_) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1._nativeObject.close(); }, contains$1(_, point) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; return A.callMethod(t1, "contains", [point._dx, point._dy]); }, cubicTo$6(x1, y1, x2, y2, x3, y3) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "cubicTo", [x1, y1, x2, y2, x3, y3]); }, getBounds$0(_) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); return A.fromSkRect(t1._nativeObject.getBounds()); }, lineTo$2(_, x, y) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "lineTo", [x, y]); }, moveTo$2(_, x, y) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "moveTo", [x, y]); }, quadraticBezierTo$4(x1, y1, x2, y2) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "quadTo", [x1, y1, x2, y2]); }, relativeLineTo$2(dx, dy) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; A.callMethod(t1, "rLineTo", [dx, dy]); }, reset$0(_) { var t1; this._fillType = B.PathFillType_0; t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1._nativeObject.reset(); }, shift$1(offset) { var shiftedPath, t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); shiftedPath = t1._nativeObject.copy(); A.callMethod(shiftedPath, "transform", [1, 0, offset._dx, 0, 1, offset._dy, 0, 0, 1]); t1 = this._fillType; shiftedPath.setFillType($.$get$_skFillTypes()[t1.index]); return A.CkPath$_(shiftedPath, t1); }, get$isEmpty(_) { var t1 = this.__CkPath__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); return t1._nativeObject.isEmpty(); }, $isPath: 1 }; A.CkPicture.prototype = { dispose$0() { this._isDisposed = true; var t1 = this.__CkPicture__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); }, toImageSync$2(width, height) { var t3, skImage, imageInfo, t1 = $.CanvasKitRenderer____instance._readField$0().pictureToImageSurface.createOrUpdateSurface$1(new A.Size(width, height)).surface, t2 = t1.getCanvas(); A.callMethod(t2, "clear", [A._populateSkColor($.$get$_sharedSkColor1(), B.Color_0)]); t3 = this.__CkPicture__ref_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3._nativeObject; t3.toString; t2.drawPicture(t3); skImage = t1.makeImageSnapshot(); t1 = $.__canvasKit._readField$0().AlphaType.Premul; t3 = $.__canvasKit._readField$0().ColorType.RGBA_8888; imageInfo = A.SkImageInfo__staticInteropFactoryStub(t1, self.window.flutterCanvasKit.ColorSpace.SRGB, t3, height, width); t3 = A.callMethod(skImage, "readPixels", [0, 0, imageInfo]); t3 = A.callMethod($.__canvasKit._readField$0(), "MakeImage", [imageInfo, t3, 4 * width]); if (t3 == null) throw A.wrapException(A.StateError$("Unable to convert image pixels into SkImage.")); return A.CkImage$(t3, null); } }; A.CkPictureRecorder.prototype = { beginRecording$1(bounds) { var recorder = new self.window.flutterCanvasKit.PictureRecorder(); this._skRecorder = recorder; return this._recordingCanvas = new A.CkCanvas(A.callMethod(recorder, "beginRecording", [A.toSkRect(bounds), true])); }, endRecording$0() { var skPicture, result, t1, recorder = this._skRecorder; if (recorder == null) throw A.wrapException(A.StateError$("PictureRecorder is not recording")); skPicture = recorder.finishRecordingAsPicture(); recorder.delete(); this._skRecorder = null; result = new A.CkPicture(); t1 = new A.UniqueRef("Picture", type$.UniqueRef_JavaScriptObject); t1.UniqueRef$3(result, skPicture, "Picture", type$.JavaScriptObject); result.__CkPicture__ref_F !== $ && A.throwUnnamedLateFieldAI(); result.__CkPicture__ref_F = t1; return result; }, get$isRecording() { return this._skRecorder != null; } }; A.Rasterizer.prototype = {}; A.ViewRasterizer.prototype = { get$viewEmbedder() { var t1, t2, t3, t4, t5, t6, t7, _this = this, value = _this.__ViewRasterizer_viewEmbedder_FI; if (value === $) { t1 = _this.view.get$dom(); t2 = type$.JSArray_CkPictureRecorder; t3 = A._setArrayType([], t2); t2 = A._setArrayType([], t2); t4 = type$.int; t5 = type$.JSArray_int; t6 = A._setArrayType([], t5); t5 = A._setArrayType([], t5); t7 = A._setArrayType([], type$.JSArray_OverlayGroup); _this.__ViewRasterizer_viewEmbedder_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__ViewRasterizer_viewEmbedder_FI = new A.HtmlViewEmbedder(t1.sceneHost, _this, new A.EmbedderFrameContext(t3, t2), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.EmbeddedViewParams), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.ViewClipChain), A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.DisplayCanvas), A.LinkedHashSet_LinkedHashSet$_empty(t4), t6, t5, t7, A.LinkedHashMap_LinkedHashMap$_empty(t4, type$.Set_String)); } return value; }, draw$1(layerTree) { return this.draw$body$ViewRasterizer(layerTree); }, draw$body$ViewRasterizer(layerTree) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t2, pictureRecorder, t1, frameSize; var $async$draw$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.view; frameSize = t1.get$physicalSize(); if (frameSize.get$isEmpty(0)) { // goto return $async$goto = 1; break; } $async$self.currentFrameSize = frameSize; $async$self.prepareToDraw$0(); t2 = $async$self.get$viewEmbedder().__HtmlViewEmbedder__frameSize_A = $async$self.currentFrameSize; pictureRecorder = new A.CkPictureRecorder(); pictureRecorder.beginRecording$1(new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); A.callMethod(pictureRecorder._recordingCanvas.skCanvas, "clear", [A._populateSkColor($.$get$_sharedSkColor1(), B.Color_0)]); t2 = pictureRecorder._recordingCanvas; t2.toString; new A.Frame(t2, null, $async$self.get$viewEmbedder()).raster$2$ignoreRasterCache(layerTree, true); t1.get$dom().sceneHost.prepend($async$self.get$displayFactory().get$baseCanvas().get$hostElement()); $async$goto = 3; return A._asyncAwait($async$self.rasterizeToCanvas$2($async$self.get$displayFactory().get$baseCanvas(), A._setArrayType([pictureRecorder.endRecording$0()], type$.JSArray_CkPicture)), $async$draw$1); case 3: // returning from await. $async$goto = 4; return A._asyncAwait($async$self.get$viewEmbedder().submitFrame$0(0), $async$draw$1); case 4: // returning from await. case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$draw$1, $async$completer); }, dispose$0() { this.get$viewEmbedder().dispose$0(); this.get$displayFactory().dispose$0(); } }; A.DisplayCanvas.prototype = {}; A.RenderCanvas.prototype = { _updateLogicalHtmlCanvasSize$0() { var t1, t2, style, _this = this, devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t1 = self.window.devicePixelRatio; devicePixelRatio = t1 === 0 ? 1 : t1; } t1 = _this._pixelWidth; t2 = _this._pixelHeight; style = _this.canvasElement.style; A.DomCSSStyleDeclarationExtension_setProperty(style, "width", A.S(t1 / devicePixelRatio) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "height", A.S(t2 / devicePixelRatio) + "px"); _this._currentDevicePixelRatio = devicePixelRatio; }, _ensureSize$1(size) { var _this = this, t1 = size._dx; if (B.JSNumber_methods.ceil$0(t1) === _this._pixelWidth && B.JSNumber_methods.ceil$0(size._dy) === _this._pixelHeight) { t1 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t1 == null) { t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; } if (t1 !== _this._currentDevicePixelRatio) _this._updateLogicalHtmlCanvasSize$0(); return; } _this._pixelWidth = B.JSNumber_methods.ceil$0(t1); _this._pixelHeight = B.JSNumber_methods.ceil$0(size._dy); t1 = _this.canvasElement; A.DomCanvasElementExtension_set_width(t1, _this._pixelWidth); A.DomCanvasElementExtension_set_height(t1, _this._pixelHeight); _this._updateLogicalHtmlCanvasSize$0(); }, initialize$0(_) { }, dispose$0() { this.hostElement.remove(); }, get$hostElement() { return this.hostElement; } }; A.CanvasKitVariant.prototype = { _enumToString$0() { return "CanvasKitVariant." + this._core$_name; } }; A.CanvasKitRenderer.prototype = { get$rendererTag() { return "canvaskit"; }, get$_fontCollection() { var t1, t2, t3, t4, value = this.__CanvasKitRenderer__fontCollection_FI; if (value === $) { t1 = type$.String; t2 = A._setArrayType([], type$.JSArray_UnregisteredFont); t3 = type$.JSArray_RegisteredFont; t4 = A._setArrayType([], t3); t3 = A._setArrayType([], t3); this.__CanvasKitRenderer__fontCollection_FI !== $ && A.throwUnnamedLateFieldADI(); value = this.__CanvasKitRenderer__fontCollection_FI = new A.SkiaFontCollection(A.LinkedHashSet_LinkedHashSet$_empty(t1), t2, t4, t3, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_JavaScriptObject)); } return value; }, get$fontCollection() { var t1, t2, t3, t4, value = this.__CanvasKitRenderer__fontCollection_FI; if (value === $) { t1 = type$.String; t2 = A._setArrayType([], type$.JSArray_UnregisteredFont); t3 = type$.JSArray_RegisteredFont; t4 = A._setArrayType([], t3); t3 = A._setArrayType([], t3); this.__CanvasKitRenderer__fontCollection_FI !== $ && A.throwUnnamedLateFieldADI(); value = this.__CanvasKitRenderer__fontCollection_FI = new A.SkiaFontCollection(A.LinkedHashSet_LinkedHashSet$_empty(t1), t2, t4, t3, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_JavaScriptObject)); } return value; }, initialize$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1; var $async$initialize$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._initialized; $async$returnValue = t1 == null ? $async$self._initialized = new A.CanvasKitRenderer_initialize_closure($async$self).call$0() : t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$initialize$0, $async$completer); }, reset$1(_, embedder) { }, createPaint$0() { return A.CkPaint$(); }, createCanvas$2(recorder, cullRect) { if (recorder.get$isRecording()) A.throwExpression(A.ArgumentError$(string$.x22recor, null)); if (cullRect == null) cullRect = B.Rect_aha; return new A.CanvasKitCanvas(type$.CkPictureRecorder._as(recorder).beginRecording$1(cullRect)); }, createLinearGradient$6(_, from, to, colors, colorStops, tileMode, matrix4) { var t1 = new A.CkGradientLinear(from, to, colors, colorStops, tileMode, matrix4); t1.SimpleCkShader$0(); return t1; }, createPictureRecorder$0() { return new A.CkPictureRecorder(); }, createSceneBuilder$0() { var t1 = new A.RootLayer(A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0), t2 = new A.LayerSceneBuilder(t1); t2.__LayerSceneBuilder_currentLayer_A = t1; return t2; }, createBlurImageFilter$3$sigmaX$sigmaY$tileMode(sigmaX, sigmaY, tileMode) { var t3, t4, skImageFilter, _s16_ = "ImageFilter.blur", t1 = new A._CkBlurImageFilter(sigmaX, sigmaY, tileMode), t2 = sigmaX === 0 && sigmaY === 0; if (t2) { t2 = $.__canvasKit._readField$0().ImageFilter; t3 = A.toSkMatrixFromFloat32(A.Matrix4$identity()._m4storage); t4 = $.$get$_filterOptions().$index(0, B.FilterQuality_0); t4.toString; skImageFilter = A.callMethod(t2, "MakeMatrixTransform", [t3, t4, null]); } else skImageFilter = A.callMethod($.__canvasKit._readField$0().ImageFilter, "MakeBlur", [sigmaX, sigmaY, $.$get$_skTileModes()[tileMode.index], null]); t2 = new A.UniqueRef(_s16_, type$.UniqueRef_JavaScriptObject); t2.UniqueRef$3(t1, skImageFilter, _s16_, type$.JavaScriptObject); t1.___CkBlurImageFilter__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.___CkBlurImageFilter__ref_F = t2; return t1; }, createMatrixImageFilter$2$filterQuality(matrix4, filterQuality) { var t2, t3, t4, t5, _s18_ = "ImageFilter.matrix", t1 = new Float64Array(A._ensureNativeList(matrix4)); A.toMatrix32(matrix4); t1 = new A._CkMatrixImageFilter(t1, filterQuality); t2 = $.__canvasKit._readField$0().ImageFilter; t3 = A.toSkMatrixFromFloat64(matrix4); t4 = $.$get$_filterOptions().$index(0, filterQuality); t4.toString; t5 = new A.UniqueRef(_s18_, type$.UniqueRef_JavaScriptObject); t5.UniqueRef$3(t1, A.callMethod(t2, "MakeMatrixTransform", [t3, t4, null]), _s18_, type$.JavaScriptObject); t1.___CkMatrixImageFilter__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.___CkMatrixImageFilter__ref_F = t5; return t1; }, instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth(list, allowUpscaling, targetHeight, targetWidth) { return this.instantiateImageCodec$body$CanvasKitRenderer(list, allowUpscaling, targetHeight, targetWidth); }, instantiateImageCodec$1(list) { return this.instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth(list, true, null, null); }, instantiateImageCodec$body$CanvasKitRenderer(list, allowUpscaling, targetHeight, targetWidth) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue; var $async$instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = A.skiaInstantiateImageCodec(list, targetWidth, targetHeight); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth, $async$completer); }, instantiateImageCodecFromUrl$2$chunkCallback(uri, chunkCallback) { return A.skiaInstantiateWebImageCodec(uri.toString$0(0), chunkCallback); }, decodeImageFromPixels$9$allowUpscaling$rowBytes$targetHeight$targetWidth(pixels, width, height, format, callback, allowUpscaling, rowBytes, targetHeight, targetWidth) { return A.skiaDecodeImageFromPixels(pixels, width, height, format, callback, true, rowBytes, targetHeight, targetWidth); }, createPath$0() { return A.CkPath_CkPath(); }, createTextStyle$21$background$color$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$shadows$textBaseline$wordSpacing(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) { var t1 = type$.nullable_CkPaint; return A.CkTextStyle_CkTextStyle(t1._as(background), color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, t1._as(foreground), height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing); }, createParagraphStyle$12$ellipsis$fontFamily$fontSize$fontStyle$fontWeight$height$locale$maxLines$strutStyle$textAlign$textDirection$textHeightBehavior(ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, locale, maxLines, strutStyle, textAlign, textDirection, textHeightBehavior) { var t2, t3, skTextStyle, t1 = type$.JavaScriptObject, properties = t1._as({}); if (textAlign != null) properties.textAlign = $.$get$_skTextAligns()[textAlign.index]; if (textDirection != null) properties.textDirection = $.$get$_skTextDirections()[textDirection.index]; if (maxLines != null) properties.maxLines = maxLines; t2 = height != null; if (t2) properties.heightMultiplier = height; t3 = textHeightBehavior == null; if (!t3) properties.textHeightBehavior = $.$get$_skTextHeightBehaviors()[0]; if (ellipsis != null) properties.ellipsis = ellipsis; if (strutStyle != null) properties.strutStyle = A.CkParagraphStyle_toSkStrutStyleProperties(strutStyle, textHeightBehavior); properties.replaceTabCharacters = true; skTextStyle = t1._as({}); if (fontWeight != null || fontStyle != null) skTextStyle.fontStyle = A.toSkFontStyle(fontWeight, fontStyle); if (fontSize != null) A.SkTextStylePropertiesExtension_set_fontSize(skTextStyle, fontSize); if (t2) A.SkTextStylePropertiesExtension_set_heightMultiplier(skTextStyle, height); A.SkTextStylePropertiesExtension_set_fontFamilies(skTextStyle, A._getEffectiveFontFamilies(fontFamily, null)); properties.textStyle = skTextStyle; properties.applyRoundingHack = false; t1 = $.__canvasKit._readField$0().ParagraphStyle(properties); return new A.CkParagraphStyle(t1, fontFamily, fontSize, height, fontWeight, fontStyle, t3 ? null : textHeightBehavior.leadingDistribution); }, createStrutStyle$9$fontFamily$fontFamilyFallback$fontSize$fontStyle$fontWeight$forceStrutHeight$height$leading$leadingDistribution(fontFamily, fontFamilyFallback, fontSize, fontStyle, fontWeight, forceStrutHeight, height, leading, leadingDistribution) { return new A.CkStrutStyle(fontFamily, fontFamilyFallback, fontSize, height, leading, fontWeight, fontStyle, forceStrutHeight, leadingDistribution); }, createParagraphBuilder$1(style) { var t1, t2, t3, _null = null; type$.CkParagraphStyle._as(style); t1 = A._setArrayType([], type$.JSArray_double); t2 = A._setArrayType([], type$.JSArray_CkTextStyle); t3 = $.__canvasKit._readField$0().ParagraphBuilder.MakeFromFontCollection(style.skParagraphStyle, $.CanvasKitRenderer____instance._readField$0().get$_fontCollection().skFontCollection); t2.push(A.CkTextStyle_CkTextStyle(_null, _null, _null, _null, _null, _null, style._fontFamily, _null, _null, style.__engine$_fontSize, style._fontStyle, _null, style._fontWeight, _null, style.__engine$_height, style._leadingDistribution, _null, _null, _null, _null, _null)); return new A.CkParagraphBuilder(t3, style, t1, t2); }, renderScene$2(scene, view) { return this.renderScene$body$CanvasKitRenderer(scene, view); }, renderScene$body$CanvasKitRenderer(scene, view) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$renderScene$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start A.frameTimingsOnBuildFinish(); A.frameTimingsOnRasterStart(); t1 = $async$self._rasterizers.$index(0, view.viewId); t1.toString; $async$goto = 2; return A._asyncAwait(t1.draw$1(type$.LayerScene._as(scene).layerTree), $async$renderScene$2); case 2: // returning from await. A.frameTimingsOnRasterFinish(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$renderScene$2, $async$completer); }, _onViewCreated$1(viewId) { var view = $.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, viewId); this._rasterizers.$indexSet(0, view.viewId, this._rasterizer.createViewRasterizer$1(view)); }, _onViewDisposed$1(viewId) { var t1 = this._rasterizers; if (!t1.containsKey$1(0, viewId)) return; t1 = t1.remove$1(0, viewId); t1.toString; t1.get$viewEmbedder().dispose$0(); t1.get$displayFactory().dispose$0(); }, dispose$0() { var t2, t3, t4, value, result, t1 = this._onViewCreatedListener; if (t1 != null) t1.cancel$0(0); t1 = this._onViewDisposedListener; if (t1 != null) t1.cancel$0(0); for (t1 = this._rasterizers, t2 = t1.get$values(0), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; if (t4 == null) t4 = t3._as(t4); value = t4.__ViewRasterizer_viewEmbedder_FI; if (value === $) { result = A.HtmlViewEmbedder$(t4.view.get$dom().sceneHost, t4); t4.__ViewRasterizer_viewEmbedder_FI !== $ && A.throwUnnamedLateFieldADI(); t4.__ViewRasterizer_viewEmbedder_FI = result; value = result; } value.dispose$0(); t4.get$displayFactory().dispose$0(); } t1.clear$0(0); }, clearFragmentProgramCache$0() { $.CanvasKitRenderer__programs.clear$0(0); }, createLineMetrics$9$ascent$baseline$descent$hardBreak$height$left$lineNumber$unscaledAscent$width(ascent, baseline, descent, hardBreak, height, left, lineNumber, unscaledAscent, width) { return new A.EngineLineMetrics(hardBreak, ascent, descent, unscaledAscent, height, width, left, baseline, lineNumber); } }; A.CanvasKitRenderer_initialize_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, viewManager, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, value, view, $async$temp1; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = self.window.flutterCanvasKit != null ? 2 : 4; break; case 2: // then t1 = self.window.flutterCanvasKit; t1.toString; $.__canvasKit.__late_helper$_value = t1; // goto join $async$goto = 3; break; case 4: // else $async$temp1 = $.__canvasKit; $async$goto = 5; return A._asyncAwait(A.downloadCanvasKit(), $async$call$0); case 5: // returning from await. $async$temp1.__late_helper$_value = $async$result; self.window.flutterCanvasKit = $.__canvasKit._readField$0(); case 3: // join t1 = $.$get$EnginePlatformDispatcher__instance(); viewManager = t1.get$viewManager(); t2 = $async$self.$this; if (t2._onViewCreatedListener == null) for (t3 = viewManager._viewData.get$values(0), t4 = A._instanceType(t3), t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]), t3 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("MappedIterator<1,2>")), t4 = t4._rest[1], t5 = type$._SyncBroadcastStreamController_int, t6 = type$.int, t7 = type$.EngineFlutterView, t8 = type$.JavaScriptObject, t9 = t2._rasterizers, t10 = t2._rasterizer; t3.moveNext$0();) { t11 = t3.__internal$_current; t11 = (t11 == null ? t4._as(t11) : t11).viewId; value = t1.__EnginePlatformDispatcher_viewManager_FI; if (value === $) { value !== $ && A.throwUnnamedLateFieldADI(); value = t1.__EnginePlatformDispatcher_viewManager_FI = new A.FlutterViewManager(t1, A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), A.LinkedHashMap_LinkedHashMap$_empty(t6, t8), new A._SyncBroadcastStreamController(null, null, t5), new A._SyncBroadcastStreamController(null, null, t5)); } view = value._viewData.$index(0, t11); t9.$indexSet(0, view.viewId, t10.createViewRasterizer$1(view)); } if (t2._onViewCreatedListener == null) { t1 = viewManager._onViewCreatedController; t2._onViewCreatedListener = new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")).listen$1(0, t2.get$_onViewCreated()); } if (t2._onViewDisposedListener == null) { t1 = viewManager._onViewDisposedController; t2._onViewDisposedListener = new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")).listen$1(0, t2.get$_onViewDisposed()); } $.CanvasKitRenderer____instance.__late_helper$_value = t2; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 67 }; A.SimpleCkShader.prototype = { SimpleCkShader$0() { var t8, _this = this, _s15_ = "Gradient.linear", t1 = $.__canvasKit._readField$0().Shader, t2 = A.toSkPoint(_this.from), t3 = A.toSkPoint(_this.to), t4 = A.toFlatColors(_this.colors), t5 = A.toSkColorStops(_this.colorStops), t6 = $.$get$_skTileModes()[_this.tileMode.index], t7 = _this.matrix4; t7 = t7 != null ? A.toSkMatrixFromFloat32(t7) : null; t8 = new A.UniqueRef(_s15_, type$.UniqueRef_JavaScriptObject); t8.UniqueRef$3(_this, A.callMethod(t1, "MakeLinearGradient", [t2, t3, t4, t5, t6, t7 == null ? null : t7]), _s15_, type$.JavaScriptObject); _this.__SimpleCkShader__ref_F !== $ && A.throwUnnamedLateFieldAI(); _this.__SimpleCkShader__ref_F = t8; }, getSkShader$1(contextualQuality) { var t1 = this.__SimpleCkShader__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; return t1; }, dispose$0() { var t1 = this.__SimpleCkShader__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); }, $isCkShader: 1 }; A.CkGradientLinear.prototype = {}; A.Surface.prototype = { _syncCacheBytes$0() { var t2, t1 = this._skiaCacheBytes; if (t1 != null) { t2 = this._grContext; if (t2 != null) A.callMethod(t2, "setResourceCacheLimitBytes", [t1]); } }, rasterizeToCanvas$3(frameSize, canvas, pictures) { return this.rasterizeToCanvas$body$Surface(frameSize, canvas, pictures); }, rasterizeToCanvas$body$Surface(frameSize, canvas, pictures) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, bitmapSource, t2, jsPromise, bitmap, value, imageSource, t3, t1; var $async$rasterizeToCanvas$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._surface.surface.getCanvas(); A.callMethod(t1, "clear", [A._populateSkColor($.$get$_sharedSkColor1(), B.Color_0)]); B.JSArray_methods.forEach$1(pictures, new A.CkCanvas(t1).get$drawPicture()); $async$self._surface.surface.flush(); $async$goto = self.window.createImageBitmap != null && !A.isChrome110OrOlder() && true ? 2 : 4; break; case 2: // then if ($async$self.useOffscreenCanvas) { t1 = $async$self._offscreenCanvas; t1.toString; bitmapSource = t1; } else { t1 = $async$self._canvasElement; t1.toString; bitmapSource = t1; } t1 = $async$self._pixelHeight; t2 = B.JSNumber_methods.toInt$0(frameSize._dy); t2 = [t2, B.JSNumber_methods.toInt$0(frameSize._dx), 0, t1 - t2]; jsPromise = self.createImageBitmap(bitmapSource, t2[2], t2[3], t2[1], t2[0]); jsPromise = jsPromise; t1 = type$.JavaScriptObject; $async$goto = 5; return A._asyncAwait(A.promiseToFuture(jsPromise, t1), $async$rasterizeToCanvas$3); case 5: // returning from await. bitmap = $async$result; canvas._ensureSize$1(new A.Size(bitmap.width, bitmap.height)); value = canvas.__RenderCanvas_renderContext_FI; if (value === $) { t2 = A.DomCanvasElementExtension_getContext(canvas.canvasElement, "bitmaprenderer", null); t2.toString; t1._as(t2); canvas.__RenderCanvas_renderContext_FI !== $ && A.throwUnnamedLateFieldADI(); canvas.__RenderCanvas_renderContext_FI = t2; value = t2; } value.transferFromImageBitmap(bitmap); // goto join $async$goto = 3; break; case 4: // else if ($async$self.useOffscreenCanvas) { t1 = $async$self._offscreenCanvas; t1.toString; imageSource = t1; } else { t1 = $async$self._canvasElement; t1.toString; imageSource = t1; } t1 = $async$self._pixelHeight; canvas._ensureSize$1(frameSize); value = canvas.__RenderCanvas_renderContext2d_FI; if (value === $) { t2 = A.DomCanvasElementExtension_getContext(canvas.canvasElement, "2d", null); t2.toString; type$.JavaScriptObject._as(t2); canvas.__RenderCanvas_renderContext2d_FI !== $ && A.throwUnnamedLateFieldADI(); canvas.__RenderCanvas_renderContext2d_FI = t2; value = t2; } t2 = frameSize._dy; t3 = frameSize._dx; A.DomCanvasRenderingContext2DExtension_drawImage(value, imageSource, 0, t1 - t2, t3, t2, 0, 0, t3, t2); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$rasterizeToCanvas$3, $async$completer); }, _updateLogicalHtmlCanvasSize$0() { var t1, t2, style, _this = this, devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t1 = self.window.devicePixelRatio; devicePixelRatio = t1 === 0 ? 1 : t1; } t1 = _this._pixelWidth; t2 = _this._pixelHeight; style = _this._canvasElement.style; A.DomCSSStyleDeclarationExtension_setProperty(style, "width", A.S(t1 / devicePixelRatio) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "height", A.S(t2 / devicePixelRatio) + "px"); _this._currentDevicePixelRatio = devicePixelRatio; }, ensureSurface$0() { if (this._surface != null) return; this.createOrUpdateSurface$1(B.Size_1_1); }, createOrUpdateSurface$1(size) { var previousSurfaceSize, devicePixelRatio, t1, previousCanvasSize, newSize, t2, t3, htmlCanvas, canvas, options, glContext, gl, _this = this, _s20_ = "webglcontextrestored", _s16_ = "webglcontextlost", _s12_ = "getParameter"; if (size.get$isEmpty(0)) throw A.wrapException(A.CanvasKitError$("Cannot create surfaces of empty size.")); if (!_this._forceNewContext) { previousSurfaceSize = _this._currentSurfaceSize; if (previousSurfaceSize != null && size._dx === previousSurfaceSize._dx && size._dy === previousSurfaceSize._dy) { devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t1 = self.window.devicePixelRatio; devicePixelRatio = t1 === 0 ? 1 : t1; } if (_this.isDisplayCanvas && devicePixelRatio !== _this._currentDevicePixelRatio) _this._updateLogicalHtmlCanvasSize$0(); t1 = _this._surface; t1.toString; return t1; } previousCanvasSize = _this._currentCanvasPhysicalSize; if (previousCanvasSize != null) t1 = size._dx > previousCanvasSize._dx || size._dy > previousCanvasSize._dy; else t1 = false; if (t1) { newSize = size.$mul(0, 1.4); t1 = _this._surface; if (t1 != null) t1.dispose$0(); _this._surface = null; _this._pixelWidth = B.JSNumber_methods.ceil$0(newSize._dx); _this._pixelHeight = B.JSNumber_methods.ceil$0(newSize._dy); t1 = _this._pixelWidth; if (_this.useOffscreenCanvas) { t2 = _this._offscreenCanvas; t2.toString; A.DomOffscreenCanvasExtension_set_width(t2, t1); t1 = _this._offscreenCanvas; t1.toString; A.DomOffscreenCanvasExtension_set_height(t1, _this._pixelHeight); } else { t2 = _this._canvasElement; t2.toString; A.DomCanvasElementExtension_set_width(t2, t1); t1 = _this._canvasElement; t1.toString; A.DomCanvasElementExtension_set_height(t1, _this._pixelHeight); } _this._currentCanvasPhysicalSize = new A.Size(_this._pixelWidth, _this._pixelHeight); if (_this.isDisplayCanvas) _this._updateLogicalHtmlCanvasSize$0(); } } if (_this._forceNewContext || _this._currentCanvasPhysicalSize == null) { t1 = _this._surface; if (t1 != null) t1.dispose$0(); _this._surface = null; t1 = _this._grContext; if (t1 != null) t1.releaseResourcesAndAbandonContext(); t1 = _this._grContext; if (t1 != null) t1.delete(); _this._grContext = null; t1 = _this._offscreenCanvas; if (t1 != null) { A.DomEventTargetExtension_removeEventListener(t1, _s20_, _this._cachedContextRestoredListener, false); t1 = _this._offscreenCanvas; t1.toString; A.DomEventTargetExtension_removeEventListener(t1, _s16_, _this._cachedContextLostListener, false); _this._cachedContextLostListener = _this._cachedContextRestoredListener = _this._offscreenCanvas = null; } else { t1 = _this._canvasElement; if (t1 != null) { A.DomEventTargetExtension_removeEventListener(t1, _s20_, _this._cachedContextRestoredListener, false); t1 = _this._canvasElement; t1.toString; A.DomEventTargetExtension_removeEventListener(t1, _s16_, _this._cachedContextLostListener, false); _this._canvasElement.remove(); _this._cachedContextLostListener = _this._cachedContextRestoredListener = _this._canvasElement = null; } } _this._pixelWidth = B.JSNumber_methods.ceil$0(size._dx); t1 = _this._pixelHeight = B.JSNumber_methods.ceil$0(size._dy); t2 = _this.useOffscreenCanvas; t3 = _this._pixelWidth; if (t2) { htmlCanvas = _this._offscreenCanvas = A.callConstructor(self.OffscreenCanvas, [t3, t1]); _this._canvasElement = null; } else { canvas = _this._canvasElement = A.createDomCanvasElement(t1, t3); _this._offscreenCanvas = null; if (_this.isDisplayCanvas) { t1 = A.jsify("true"); A.callMethod(canvas, "setAttribute", ["aria-hidden", t1 == null ? type$.Object._as(t1) : t1]); A.DomCSSStyleDeclarationExtension_setProperty(_this._canvasElement.style, "position", "absolute"); t1 = _this._canvasElement; t1.toString; _this.hostElement.append(t1); _this._updateLogicalHtmlCanvasSize$0(); } htmlCanvas = canvas; } t1 = type$.JavaScriptFunction; _this._cachedContextRestoredListener = t1._as(A.allowInterop(_this.get$_contextRestoredListener())); t1 = t1._as(A.allowInterop(_this.get$_contextLostListener())); _this._cachedContextLostListener = t1; A.DomEventTargetExtension_addEventListener(htmlCanvas, _s16_, t1, false); A.DomEventTargetExtension_addEventListener(htmlCanvas, _s20_, _this._cachedContextRestoredListener, false); _this._contextLost = _this._forceNewContext = false; t1 = $._cachedWebGLVersion; if ((t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1) !== -1 && !A.configuration().get$canvasKitForceCpuOnly()) { t1 = $._cachedWebGLVersion; if (t1 == null) t1 = $._cachedWebGLVersion = A._detectWebGLVersion(); options = type$.JavaScriptObject._as({antialias: 0, majorVersion: t1}); if (t2) { t1 = $.__canvasKit._readField$0(); t3 = _this._offscreenCanvas; t3.toString; glContext = B.JSNumber_methods.toInt$0(t1.GetWebGLContext(t3, options)); } else { t1 = $.__canvasKit._readField$0(); t3 = _this._canvasElement; t3.toString; glContext = B.JSNumber_methods.toInt$0(t1.GetWebGLContext(t3, options)); } _this._glContext = glContext; if (glContext !== 0) { _this._grContext = A.callMethod($.__canvasKit._readField$0(), "MakeGrContext", [glContext]); if (_this._sampleCount === -1 || _this._stencilBits === -1) { t1 = $._cachedWebGLVersion; if (t2) { t2 = _this._offscreenCanvas; t2.toString; gl = A.DomOffscreenCanvasExtension_getGlContext(t2, t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1); } else { t2 = _this._canvasElement; t2.toString; gl = A.DomCanvasElementExtension_getGlContext(t2, t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1); } _this._sampleCount = B.JSNumber_methods.toInt$0(A.callMethod(gl, _s12_, [B.JSNumber_methods.toInt$0(gl.SAMPLES)])); _this._stencilBits = B.JSNumber_methods.toInt$0(A.callMethod(gl, _s12_, [B.JSNumber_methods.toInt$0(gl.STENCIL_BITS)])); } _this._syncCacheBytes$0(); } } _this._currentCanvasPhysicalSize = size; } _this._currentSurfaceSize = size; t1 = _this._surface; if (t1 != null) t1.dispose$0(); return _this._surface = _this._createNewSurface$1(size); }, _contextRestoredListener$1($event) { this._contextLost = false; $.$get$EnginePlatformDispatcher__instance().invokeOnMetricsChanged$0(); $event.stopPropagation(); $event.preventDefault(); }, _contextLostListener$1($event) { this._forceNewContext = this._contextLost = true; $event.preventDefault(); }, _createNewSurface$1(size) { var t2, _this = this, t1 = $._cachedWebGLVersion; if ((t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1) === -1) return _this._makeSoftwareCanvasSurface$1("WebGL support not detected"); else if (A.configuration().get$canvasKitForceCpuOnly()) return _this._makeSoftwareCanvasSurface$1("CPU rendering forced by application"); else if (_this._glContext === 0) return _this._makeSoftwareCanvasSurface$1("Failed to initialize WebGL context"); else { t1 = $.__canvasKit._readField$0(); t2 = _this._grContext; t2.toString; t2 = A.callMethod(t1, "MakeOnScreenGLSurface", [t2, Math.ceil(size._dx), Math.ceil(size._dy), self.window.flutterCanvasKit.ColorSpace.SRGB, _this._sampleCount, _this._stencilBits]); if (t2 == null) return _this._makeSoftwareCanvasSurface$1("Failed to initialize WebGL surface"); return new A.CkSurface(t2, _this._glContext); } }, _makeSoftwareCanvasSurface$1(reason) { var t1, t2, surface; if (!$.Surface__didWarnAboutWebGlInitializationFailure) { $.$get$printWarning().call$1("WARNING: Falling back to CPU-only rendering. " + reason + "."); $.Surface__didWarnAboutWebGlInitializationFailure = true; } if (this.useOffscreenCanvas) { t1 = $.__canvasKit._readField$0(); t2 = this._offscreenCanvas; t2.toString; surface = t1.MakeSWCanvasSurface(t2); } else { t1 = $.__canvasKit._readField$0(); t2 = this._canvasElement; t2.toString; surface = t1.MakeSWCanvasSurface(t2); } return new A.CkSurface(surface, null); }, initialize$0(_) { this.ensureSurface$0(); }, dispose$0() { var _this = this, t1 = _this._offscreenCanvas; if (t1 != null) A.DomEventTargetExtension_removeEventListener(t1, "webglcontextlost", _this._cachedContextLostListener, false); t1 = _this._offscreenCanvas; if (t1 != null) A.DomEventTargetExtension_removeEventListener(t1, "webglcontextrestored", _this._cachedContextRestoredListener, false); _this._cachedContextRestoredListener = _this._cachedContextLostListener = null; t1 = _this._surface; if (t1 != null) t1.dispose$0(); }, get$hostElement() { return this.hostElement; } }; A.CkSurface.prototype = { dispose$0() { if (this._isDisposed) return; this.surface.dispose(); this._isDisposed = true; } }; A.CkParagraphStyle.prototype = {}; A.CkTextStyle.prototype = { get$skTextStyle() { var result, _this = this, value = _this.__CkTextStyle_skTextStyle_FI; if (value === $) { result = new A.CkTextStyle_skTextStyle_closure(_this).call$0(); _this.__CkTextStyle_skTextStyle_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__CkTextStyle_skTextStyle_FI = result; value = result; } return value; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.CkTextStyle && J.$eq$(other.color, _this.color) && J.$eq$(other.decoration, _this.decoration) && J.$eq$(other.decorationColor, _this.decorationColor) && other.decorationStyle == _this.decorationStyle && other.fontWeight == _this.fontWeight && other.fontStyle == _this.fontStyle && other.textBaseline == _this.textBaseline && other.leadingDistribution == _this.leadingDistribution && other.fontFamily == _this.fontFamily && other.fontSize == _this.fontSize && other.letterSpacing == _this.letterSpacing && other.wordSpacing == _this.wordSpacing && other.height == _this.height && other.decorationThickness == _this.decorationThickness && other.background == _this.background && other.foreground == _this.foreground && A.listEquals0(other.shadows, _this.shadows) && A.listEquals0(other.fontFamilyFallback, _this.fontFamilyFallback) && A.listEquals0(other.fontFeatures, _this.fontFeatures) && A.listEquals0(other.fontVariations, _this.fontVariations); }, get$hashCode(_) { var _this = this, _null = null, shadows = _this.shadows, fontFeatures = _this.fontFeatures, fontVariations = _this.fontVariations, fontFamilyFallback = _this.fontFamilyFallback, t1 = fontFamilyFallback == null ? _null : A.Object_hashAll(fontFamilyFallback), t2 = shadows == null ? _null : A.Object_hashAll(shadows), t3 = fontFeatures == null ? _null : A.Object_hashAll(fontFeatures); return A.Object_hash(_this.color, _this.decoration, _this.decorationColor, _this.decorationStyle, _this.fontWeight, _this.fontStyle, _this.textBaseline, _this.leadingDistribution, _this.fontFamily, t1, _this.fontSize, _this.letterSpacing, _this.wordSpacing, _this.height, _this.locale, _this.background, _this.foreground, t2, _this.decorationThickness, A.Object_hash(t3, fontVariations == null ? _null : A.Object_hashAll(fontVariations), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue)); }, toString$0(_) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, _this = this, _s11_ = "unspecified", fontFamilyFallback = _this.fontFamilyFallback, fontFamily = _this.fontFamily, t1 = _this.color; t1 = A.S(t1 == null ? _s11_ : t1); t2 = _this.decoration; t2 = A.S(t2 == null ? _s11_ : t2); t3 = _this.decorationColor; t3 = A.S(t3 == null ? _s11_ : t3); t4 = _this.decorationStyle; t4 = A.S(t4 == null ? _s11_ : t4); t5 = _this.decorationThickness; t5 = A.S(t5 == null ? _s11_ : t5); t6 = _this.fontWeight; t6 = A.S(t6 == null ? _s11_ : t6); t7 = _this.fontStyle; t7 = A.S(t7 == null ? _s11_ : t7); t8 = _this.textBaseline; t8 = A.S(t8 == null ? _s11_ : t8); t9 = fontFamily != null && fontFamily.length !== 0 ? fontFamily : _s11_; t10 = A.S(fontFamilyFallback != null && fontFamilyFallback.length !== 0 ? fontFamilyFallback : _s11_); t11 = _this.fontSize; t11 = A.S(t11 == null ? _s11_ : t11); t12 = _this.letterSpacing; t12 = t12 != null ? A.S(t12) + "x" : _s11_; t13 = _this.wordSpacing; t13 = t13 != null ? A.S(t13) + "x" : _s11_; t14 = _this.height; t14 = t14 != null ? A.S(t14) + "x" : _s11_; t15 = _this.leadingDistribution; t15 = A.S(t15 == null ? _s11_ : t15); t16 = _this.background; t16 = A.S(t16 == null ? _s11_ : t16); t17 = _this.foreground; t17 = A.S(t17 == null ? _s11_ : t17); t18 = _this.shadows; t18 = A.S(t18 == null ? _s11_ : t18); t19 = _this.fontFeatures; t19 = A.S(t19 == null ? _s11_ : t19); t20 = _this.fontVariations; return "TextStyle(color: " + t1 + ", decoration: " + t2 + ", decorationColor: " + t3 + ", decorationStyle: " + t4 + ", decorationThickness: " + t5 + ", fontWeight: " + t6 + ", fontStyle: " + t7 + ", textBaseline: " + t8 + ", fontFamily: " + A.S(t9) + ", fontFamilyFallback: " + t10 + ", fontSize: " + t11 + ", letterSpacing: " + t12 + ", wordSpacing: " + t13 + ", height: " + t14 + ", leadingDistribution: " + t15 + ", locale: unspecified, background: " + t16 + ", foreground: " + t17 + ", shadows: " + t18 + ", fontFeatures: " + t19 + ", fontVariations: " + A.S(t20 == null ? _s11_ : t20) + ")"; } }; A.CkTextStyle_skTextStyle_closure.prototype = { call$0() { var t3, decorationValue, value, result, ckShadows, _i, shadow, ckShadow, point, skFontFeatures, fontFeature, skFontFeature, skFontVariations, fontVariation, skFontVariation, t1 = this.$this, color = t1.color, decoration = t1.decoration, decorationColor = t1.decorationColor, decorationStyle = t1.decorationStyle, decorationThickness = t1.decorationThickness, fontWeight = t1.fontWeight, fontStyle = t1.fontStyle, textBaseline = t1.textBaseline, fontSize = t1.fontSize, letterSpacing = t1.letterSpacing, wordSpacing = t1.wordSpacing, height = t1.height, background = t1.background, foreground = t1.foreground, shadows = t1.shadows, fontFeatures = t1.fontFeatures, fontVariations = t1.fontVariations, t2 = type$.JavaScriptObject, properties = t2._as({}); if (background != null) { t3 = A.makeFreshSkColor(new A.Color(background.__engine$_color)); properties.backgroundColor = t3; } if (color != null) { t3 = A.makeFreshSkColor(color); properties.color = t3; } if (decoration != null) { decorationValue = B.JSNumber_methods.toInt$0($.__canvasKit._readField$0().NoDecoration); t3 = decoration._mask; if ((t3 | 1) === t3) decorationValue = (decorationValue | B.JSNumber_methods.toInt$0($.__canvasKit._readField$0().UnderlineDecoration)) >>> 0; if ((t3 | 2) === t3) decorationValue = (decorationValue | B.JSNumber_methods.toInt$0($.__canvasKit._readField$0().OverlineDecoration)) >>> 0; if ((t3 | 4) === t3) decorationValue = (decorationValue | B.JSNumber_methods.toInt$0($.__canvasKit._readField$0().LineThroughDecoration)) >>> 0; properties.decoration = decorationValue; } if (decorationThickness != null) properties.decorationThickness = decorationThickness; if (decorationColor != null) { t3 = A.makeFreshSkColor(decorationColor); properties.decorationColor = t3; } if (decorationStyle != null) properties.decorationStyle = $.$get$_skTextDecorationStyles()[decorationStyle.index]; if (textBaseline != null) properties.textBaseline = $.$get$_skTextBaselines()[textBaseline.index]; if (fontSize != null) A.SkTextStylePropertiesExtension_set_fontSize(properties, fontSize); if (letterSpacing != null) properties.letterSpacing = letterSpacing; if (wordSpacing != null) properties.wordSpacing = wordSpacing; if (height != null) A.SkTextStylePropertiesExtension_set_heightMultiplier(properties, height); switch (t1.leadingDistribution) { case null: case void 0: break; case B.TextLeadingDistribution_1: A.SkTextStylePropertiesExtension_set_halfLeading(properties, true); break; case B.TextLeadingDistribution_0: A.SkTextStylePropertiesExtension_set_halfLeading(properties, false); break; } value = t1.__CkTextStyle_effectiveFontFamilies_FI; if (value === $) { result = A._getEffectiveFontFamilies(t1.fontFamily, t1.fontFamilyFallback); t1.__CkTextStyle_effectiveFontFamilies_FI !== $ && A.throwUnnamedLateFieldADI(); t1.__CkTextStyle_effectiveFontFamilies_FI = result; value = result; } A.SkTextStylePropertiesExtension_set_fontFamilies(properties, value); if (fontWeight != null || fontStyle != null) properties.fontStyle = A.toSkFontStyle(fontWeight, fontStyle); if (foreground != null) { t1 = A.makeFreshSkColor(new A.Color(foreground.__engine$_color)); properties.foregroundColor = t1; } if (shadows != null) { ckShadows = A._setArrayType([], type$.JSArray_JavaScriptObject); for (t1 = shadows.length, _i = 0; _i < shadows.length; shadows.length === t1 || (0, A.throwConcurrentModificationError)(shadows), ++_i) { shadow = shadows[_i]; ckShadow = t2._as({}); t3 = A.makeFreshSkColor(shadow.color); ckShadow.color = t3; t3 = shadow.offset; point = new Float32Array(2); point[0] = t3._dx; point[1] = t3._dy; ckShadow.offset = point; t3 = shadow.blurRadius; ckShadow.blurRadius = t3; ckShadows.push(ckShadow); } properties.shadows = ckShadows; } if (fontFeatures != null) { skFontFeatures = A._setArrayType([], type$.JSArray_JavaScriptObject); for (t1 = fontFeatures.length, _i = 0; _i < fontFeatures.length; fontFeatures.length === t1 || (0, A.throwConcurrentModificationError)(fontFeatures), ++_i) { fontFeature = fontFeatures[_i]; skFontFeature = t2._as({}); fontFeature.toString; skFontFeature.name = "tnum"; skFontFeature.value = 1; skFontFeatures.push(skFontFeature); } properties.fontFeatures = skFontFeatures; } if (fontVariations != null) { skFontVariations = A._setArrayType([], type$.JSArray_JavaScriptObject); for (t1 = fontVariations.length, _i = 0; _i < fontVariations.length; fontVariations.length === t1 || (0, A.throwConcurrentModificationError)(fontVariations), ++_i) { fontVariation = fontVariations[_i]; skFontVariation = t2._as({}); t3 = fontVariation.axis; skFontVariation.axis = t3; t3 = fontVariation.value; skFontVariation.value = t3; skFontVariations.push(skFontVariation); } properties.fontVariations = skFontVariations; } return $.__canvasKit._readField$0().TextStyle(properties); }, $signature: 468 }; A.CkStrutStyle.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.CkStrutStyle && other._fontFamily == _this._fontFamily && other.__engine$_fontSize == _this.__engine$_fontSize && other.__engine$_height == _this.__engine$_height && other._fontWeight == _this._fontWeight && other._fontStyle == _this._fontStyle && other._forceStrutHeight == _this._forceStrutHeight && A.listEquals0(other._fontFamilyFallback, _this._fontFamilyFallback); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this._fontFamily, _this._fontFamilyFallback, _this.__engine$_fontSize, _this.__engine$_height, _this._leading, _this._leadingDistribution, _this._fontWeight, _this._fontStyle, _this._forceStrutHeight, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A.CkParagraph.prototype = { get$alphabeticBaseline(_) { return this._alphabeticBaseline; }, get$didExceedMaxLines() { return this._didExceedMaxLines; }, get$height(_) { return this.__engine$_height; }, get$ideographicBaseline(_) { return this._ideographicBaseline; }, get$longestLine() { return this._longestLine; }, get$maxIntrinsicWidth() { return this._maxIntrinsicWidth; }, get$minIntrinsicWidth() { return this._minIntrinsicWidth; }, get$width(_) { return this.__engine$_width; }, getBoxesForPlaceholders$0() { var t1 = this.__CkParagraph__boxesForPlaceholders_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, getBoxesForRange$4$boxHeightStyle$boxWidthStyle(start, end, boxHeightStyle, boxWidthStyle) { var t1, t2, index, t3; if (start < 0 || end < 0) return B.List_empty9; t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t2 = $.$get$_skRectHeightStyles()[boxHeightStyle.index]; index = boxWidthStyle.index; t3 = $.$get$_skRectWidthStyles(); t1 = A.callMethod(t1, "getRectsForRange", [start, end, t2, t3[index < 2 ? index : 0]]); return this.skRectsToTextBoxes$1(B.JSArray_methods.cast$1$0(t1, type$.JavaScriptObject)); }, getBoxesForRange$3$boxHeightStyle(start, end, boxHeightStyle) { return this.getBoxesForRange$4$boxHeightStyle$boxWidthStyle(start, end, boxHeightStyle, B.BoxWidthStyle_0); }, skRectsToTextBoxes$1(skRects) { var t1, t2, t3, i, skRect, t4, skTextDirection, result = A._setArrayType([], type$.JSArray_TextBox); for (t1 = skRects._source, t2 = J.getInterceptor$asx(t1), t3 = skRects.$ti._rest[1], i = 0; i < t2.get$length(t1); ++i) { skRect = t3._as(t2.$index(t1, i)); t4 = skRect.rect; skTextDirection = B.JSNumber_methods.toInt$0(skRect.dir.value); result.push(new A.TextBox(t4[0], t4[1], t4[2], t4[3], B.List_TextDirection_0_TextDirection_1[skTextDirection])); } return result; }, getPositionForOffset$1(offset) { var affinity, t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t1 = A.callMethod(t1, "getGlyphPositionAtCoordinate", [offset._dx, offset._dy]); affinity = B.List_TextAffinity_0_TextAffinity_1[B.JSNumber_methods.toInt$0(t1.affinity.value)]; return new A.TextPosition(B.JSNumber_methods.toInt$0(t1.pos), affinity); }, getClosestGlyphInfoForOffset$1(offset) { var t2, list, t3, t4, t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t1 = A.callMethod(t1, "getClosestGlyphInfoAtCoordinate", [offset._dx, offset._dy]); if (t1 == null) t1 = null; else { t2 = t1.graphemeLayoutBounds; list = B.JSArray_methods.cast$1$0(t2, type$.double); t2 = list._source; t3 = J.getInterceptor$asx(t2); t4 = list.$ti._rest[1]; t1 = new A.GlyphInfo(new A.Rect(t4._as(t3.$index(t2, 0)), t4._as(t3.$index(t2, 1)), t4._as(t3.$index(t2, 2)), t4._as(t3.$index(t2, 3))), new A.TextRange(B.JSNumber_methods.toInt$0(t1.graphemeClusterTextRange.start), B.JSNumber_methods.toInt$0(t1.graphemeClusterTextRange.end)), B.List_TextDirection_0_TextDirection_1[B.JSNumber_methods.toInt$0(t1.dir.value)]); } return t1; }, getWordBoundary$1(position) { var characterPosition, t1; switch (position.affinity.index) { case 0: characterPosition = position.offset - 1; break; case 1: characterPosition = position.offset; break; default: characterPosition = null; } t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject; t1.toString; t1 = A.callMethod(t1, "getWordBoundary", [characterPosition]); return new A.TextRange(B.JSNumber_methods.toInt$0(t1.start), B.JSNumber_methods.toInt$0(t1.end)); }, layout$1(constraints) { var paragraph, e, t2, exception, _this = this, t1 = constraints.width; if (_this._lastLayoutConstraints === t1) return; _this._lastLayoutConstraints = t1; try { t2 = _this.__CkParagraph__ref_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._nativeObject; t2.toString; paragraph = t2; A.callMethod(paragraph, "layout", [t1]); _this._alphabeticBaseline = paragraph.getAlphabeticBaseline(); _this._didExceedMaxLines = paragraph.didExceedMaxLines(); _this.__engine$_height = paragraph.getHeight(); _this._ideographicBaseline = paragraph.getIdeographicBaseline(); _this._longestLine = paragraph.getLongestLine(); _this._maxIntrinsicWidth = paragraph.getMaxIntrinsicWidth(); _this._minIntrinsicWidth = paragraph.getMinIntrinsicWidth(); _this.__engine$_width = paragraph.getMaxWidth(); t1 = paragraph.getRectsForPlaceholders(); _this.__CkParagraph__boxesForPlaceholders_A = _this.skRectsToTextBoxes$1(B.JSArray_methods.cast$1$0(t1, type$.JavaScriptObject)); } catch (exception) { e = A.unwrapException(exception); $.$get$printWarning().call$1('CanvasKit threw an exception while laying out the paragraph. The font was "' + A.S(_this._paragraphStyle._fontFamily) + '". Exception:\n' + A.S(e)); throw exception; } }, getLineBoundary$1(position) { var metrics, offset, t2, t3, t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject.getLineMetrics(); metrics = B.JSArray_methods.cast$1$0(t1, type$.JavaScriptObject); offset = position.offset; for (t1 = metrics.$ti, t2 = new A.ListIterator(metrics, metrics.get$length(0), t1._eval$1("ListIterator<ListBase.E>")), t1 = t1._eval$1("ListBase.E"); t2.moveNext$0();) { t3 = t2.__internal$_current; if (t3 == null) t3 = t1._as(t3); if (offset >= t3.startIndex && offset <= t3.endIndex) return new A.TextRange(B.JSNumber_methods.toInt$0(t3.startIndex), B.JSNumber_methods.toInt$0(t3.endIndex)); } return B.TextRange_m1_m1; }, computeLineMetrics$0() { var skLineMetrics, result, t2, t3, t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1._nativeObject.getLineMetrics(); skLineMetrics = B.JSArray_methods.cast$1$0(t1, type$.JavaScriptObject); result = A._setArrayType([], type$.JSArray_LineMetrics); for (t1 = skLineMetrics.$ti, t2 = new A.ListIterator(skLineMetrics, skLineMetrics.get$length(0), t1._eval$1("ListIterator<ListBase.E>")), t1 = t1._eval$1("ListBase.E"); t2.moveNext$0();) { t3 = t2.__internal$_current; result.push(new A.CkLineMetrics(t3 == null ? t1._as(t3) : t3)); } return result; }, dispose$0() { var t1 = this.__CkParagraph__ref_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this._disposed = true; } }; A.CkLineMetrics.prototype = { get$ascent() { return this.skLineMetrics.ascent; }, get$descent() { return this.skLineMetrics.descent; }, get$unscaledAscent() { return this.skLineMetrics.ascent; }, get$hardBreak() { return this.skLineMetrics.isHardBreak; }, get$baseline() { return this.skLineMetrics.baseline; }, get$height(_) { var t1 = this.skLineMetrics; return B.JSNumber_methods.round$0(t1.ascent + t1.descent); }, get$left(_) { return this.skLineMetrics.left; }, get$width(_) { return this.skLineMetrics.width; }, get$lineNumber(_) { return B.JSNumber_methods.toInt$0(this.skLineMetrics.lineNumber); }, $isLineMetrics: 1 }; A.CkParagraphBuilder.prototype = { addPlaceholder$5$baseline$baselineOffset(width, height, alignment, baseline, baselineOffset) { var t1; ++this._placeholderCount; this._placeholderScales.push(1); t1 = baselineOffset == null ? height : baselineOffset; A.callMethod(this._paragraphBuilder, "addPlaceholder", [width, height, $.$get$_skPlaceholderAlignments()[alignment.index], $.$get$_skTextBaselines()[0], t1]); }, addPlaceholder$3(width, height, alignment) { return this.addPlaceholder$5$baseline$baselineOffset(width, height, alignment, null, null); }, addText$1(text) { var fontFamilies = A._setArrayType([], type$.JSArray_String), style = B.JSArray_methods.get$last(this._styleStack), t1 = style.fontFamily; if (t1 != null) fontFamilies.push(t1); t1 = style.fontFamilyFallback; if (t1 != null) B.JSArray_methods.addAll$1(fontFamilies, t1); $.$get$_renderer().get$fontCollection().get$fontFallbackManager().ensureFontsSupportText$2(text, fontFamilies); A.callMethod(this._paragraphBuilder, "addText", [text]); }, build$0() { var t1, t2, cache, t3, cachedResult, result, t4, t5, item, _s9_ = "Paragraph"; if ($.$get$_ckRequiresClientICU()) { t1 = this._paragraphBuilder; t2 = B.C_Utf8Codec.decode$1(0, new A.CodeUnits(t1.getText())); cache = A.SegmentationCacheExtensions_getCacheForText($.$get$segmentationCache(), t2); t3 = cache == null; cachedResult = t3 ? null : cache.$index(0, t2); if (cachedResult != null) result = cachedResult; else { t4 = A.fragmentUsingIntlSegmenter(t2, B.IntlSegmenterGranularity_1); t5 = A.fragmentUsingIntlSegmenter(t2, B.IntlSegmenterGranularity_0); result = new A._Record_3_breaks_graphemes_words(A.fragmentUsingV8LineBreaker(t2), t5, t4); } if (!t3) { t3 = cache._itemMap; item = t3.$index(0, t2); if (item == null) cache.__engine$_add$2(0, t2, result); else { t4 = item.element; if (!J.$eq$(t4._1, result)) { item.remove$0(0); cache.__engine$_add$2(0, t2, result); } else { item.remove$0(0); t5 = cache._itemQueue; t5.addFirst$1(t4); t5 = t5._sentinel._nextLink._asNonSentinelEntry$0(); t5.toString; t3.$indexSet(0, t2, t5); } } } t2 = type$.NativeUint32List; A.callMethod(t1, "setWordsUtf16", [t2._as(result._2)]); A.callMethod(t1, "setGraphemeBreaksUtf16", [t2._as(result._1)]); A.callMethod(t1, "setLineBreaksUtf16", [t2._as(result._0)]); } t1 = this._paragraphBuilder; result = t1.build(); t1.delete(); t1 = new A.CkParagraph(this._style); t2 = new A.UniqueRef(_s9_, type$.UniqueRef_JavaScriptObject); t2.UniqueRef$3(t1, result, _s9_, type$.JavaScriptObject); t1.__CkParagraph__ref_F !== $ && A.throwUnnamedLateFieldAI(); t1.__CkParagraph__ref_F = t2; return t1; }, get$placeholderCount() { return this._placeholderCount; }, pop$0() { var t1 = this._styleStack; if (t1.length <= 1) return; t1.pop(); this._paragraphBuilder.pop(); }, pushStyle$1(style) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, skStyle, foreground, background, t1 = this._styleStack, baseStyle = B.JSArray_methods.get$last(t1); type$.CkTextStyle._as(style); t2 = style.color; if (t2 == null) t2 = baseStyle.color; t3 = style.decoration; if (t3 == null) t3 = baseStyle.decoration; t4 = style.decorationColor; if (t4 == null) t4 = baseStyle.decorationColor; t5 = style.decorationStyle; if (t5 == null) t5 = baseStyle.decorationStyle; t6 = style.decorationThickness; if (t6 == null) t6 = baseStyle.decorationThickness; t7 = style.fontWeight; if (t7 == null) t7 = baseStyle.fontWeight; t8 = style.fontStyle; if (t8 == null) t8 = baseStyle.fontStyle; t9 = style.textBaseline; if (t9 == null) t9 = baseStyle.textBaseline; t10 = style.fontFamily; if (t10 == null) t10 = baseStyle.fontFamily; t11 = style.fontFamilyFallback; if (t11 == null) t11 = baseStyle.fontFamilyFallback; t12 = style.fontSize; if (t12 == null) t12 = baseStyle.fontSize; t13 = style.letterSpacing; if (t13 == null) t13 = baseStyle.letterSpacing; t14 = style.wordSpacing; if (t14 == null) t14 = baseStyle.wordSpacing; t15 = style.height; if (t15 == null) t15 = baseStyle.height; t16 = style.leadingDistribution; if (t16 == null) t16 = baseStyle.leadingDistribution; t17 = style.background; if (t17 == null) t17 = baseStyle.background; t18 = style.foreground; if (t18 == null) t18 = baseStyle.foreground; t19 = style.shadows; if (t19 == null) t19 = baseStyle.shadows; t20 = style.fontFeatures; if (t20 == null) t20 = baseStyle.fontFeatures; t21 = style.fontVariations; if (t21 == null) t21 = baseStyle.fontVariations; skStyle = A.CkTextStyle_CkTextStyle(t17, t2, t3, t4, t5, t6, t10, t11, t20, t12, t8, t21, t7, t18, t15, t16, t13, baseStyle.locale, t19, t9, t14); t1.push(skStyle); t1 = skStyle.foreground; t2 = t1 == null; if (!t2 || skStyle.background != null) { foreground = t2 ? null : t1.skiaObject; if (foreground == null) { foreground = $.$get$CkParagraphBuilder__defaultTextForeground(); t1 = skStyle.color; t1 = t1 == null ? null : t1.get$value(t1); A.callMethod(foreground, "setColorInt", [t1 == null ? 4278190080 : t1]); } t1 = skStyle.background; background = t1 == null ? null : t1.skiaObject; if (background == null) background = $.$get$CkParagraphBuilder__defaultTextBackground(); this._paragraphBuilder.pushPaintStyle(skStyle.get$skTextStyle(), foreground, background); } else this._paragraphBuilder.pushStyle(skStyle.get$skTextStyle()); } }; A._getEffectiveFontFamilies_closure.prototype = { call$1(font) { return this.fontFamily === font; }, $signature: 12 }; A.IntlSegmenterGranularity.prototype = { _enumToString$0() { return "IntlSegmenterGranularity." + this._core$_name; } }; A.CanvasKitError.prototype = { toString$0(_) { return "CanvasKitError: " + this.message; }, get$message(receiver) { return this.message; } }; A.ClipboardMessageHandler.prototype = { setDataMethodCall$2(methodCall, callback) { var t1 = {}; t1.errorEnvelopeEncoded = false; this._copyToClipboardStrategy.setData$1(0, A._asStringQ(J.$index$asx(methodCall.$arguments, "text"))).then$1$1(0, new A.ClipboardMessageHandler_setDataMethodCall_closure(t1, callback), type$.Null).catchError$1(new A.ClipboardMessageHandler_setDataMethodCall_closure0(t1, callback)); }, getDataMethodCall$1(callback) { this._pasteFromClipboardStrategy.getData$0(0).then$1$1(0, new A.ClipboardMessageHandler_getDataMethodCall_closure(callback), type$.Null).catchError$1(new A.ClipboardMessageHandler_getDataMethodCall_closure0(this, callback)); }, hasStringsMethodCall$1(callback) { this._pasteFromClipboardStrategy.getData$0(0).then$1$1(0, new A.ClipboardMessageHandler_hasStringsMethodCall_closure(callback), type$.Null).catchError$1(new A.ClipboardMessageHandler_hasStringsMethodCall_closure0(callback)); } }; A.ClipboardMessageHandler_setDataMethodCall_closure.prototype = { call$1(success) { var t1 = this.callback; if (success) { t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1([true])); } else { t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1(["copy_fail", "Clipboard.setData failed", null])); this._box_0.errorEnvelopeEncoded = true; } }, $signature: 190 }; A.ClipboardMessageHandler_setDataMethodCall_closure0.prototype = { call$1(_) { var t1; if (!this._box_0.errorEnvelopeEncoded) { t1 = this.callback; t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1(["copy_fail", "Clipboard.setData failed", null])); } }, $signature: 5 }; A.ClipboardMessageHandler_getDataMethodCall_closure.prototype = { call$1(data) { var map = A.LinkedHashMap_LinkedHashMap$_literal(["text", data], type$.String, type$.dynamic), t1 = this.callback; t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1([map])); }, $signature: 37 }; A.ClipboardMessageHandler_getDataMethodCall_closure0.prototype = { call$1(error) { var t1; if (error instanceof A.UnimplementedError) { A.Future_Future$delayed(B.Duration_0, null, type$.void).then$1$1(0, new A.ClipboardMessageHandler_getDataMethodCall__closure(this.callback), type$.Null); return; } t1 = this.callback; A.print("Could not get text from clipboard: " + A.S(error)); t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1(["paste_fail", "Clipboard.getData failed", null])); }, $signature: 5 }; A.ClipboardMessageHandler_getDataMethodCall__closure.prototype = { call$1(_) { var t1 = this.callback; if (t1 != null) t1.call$1(null); }, $signature: 109 }; A.ClipboardMessageHandler_hasStringsMethodCall_closure.prototype = { call$1(data) { var map = A.LinkedHashMap_LinkedHashMap$_literal(["value", data.length !== 0], type$.String, type$.dynamic), t1 = this.callback; t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1([map])); }, $signature: 37 }; A.ClipboardMessageHandler_hasStringsMethodCall_closure0.prototype = { call$1(error) { var map, t1; if (error instanceof A.UnimplementedError) { A.Future_Future$delayed(B.Duration_0, null, type$.void).then$1$1(0, new A.ClipboardMessageHandler_hasStringsMethodCall__closure(this.callback), type$.Null); return; } map = A.LinkedHashMap_LinkedHashMap$_literal(["value", false], type$.String, type$.dynamic); t1 = this.callback; t1.toString; t1.call$1(B.C_JSONMessageCodec.encodeMessage$1([map])); }, $signature: 5 }; A.ClipboardMessageHandler_hasStringsMethodCall__closure.prototype = { call$1(_) { var t1 = this.callback; if (t1 != null) t1.call$1(null); }, $signature: 109 }; A.ClipboardAPICopyStrategy.prototype = { setData$1(_, text) { return this.setData$body$ClipboardAPICopyStrategy(0, text); }, setData$body$ClipboardAPICopyStrategy(_, text) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$handler = 2, $async$currentError, error, t1, exception, $async$exception; var $async$setData$1 = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; t1 = self.window.navigator.clipboard; t1.toString; text.toString; $async$goto = 7; return A._asyncAwait(A.promiseToFuture(A.callMethod(t1, "writeText", [text]), type$.dynamic), $async$setData$1); case 7: // returning from await. $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print("copy is not successful " + A.S(error)); t1 = A.Future_Future$value(false, type$.bool); $async$returnValue = t1; // goto return $async$goto = 1; break; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally $async$returnValue = A.Future_Future$value(true, type$.bool); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$setData$1, $async$completer); } }; A.ClipboardAPIPasteStrategy.prototype = { getData$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue; var $async$getData$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = A.promiseToFuture(self.window.navigator.clipboard.readText(), type$.String); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getData$0, $async$completer); } }; A.ExecCommandCopyStrategy.prototype = { setData$1(_, text) { return A.Future_Future$value(this._setDataSync$1(text), type$.bool); }, _setDataSync$1(text) { var tempTextArea, result, error, exception, _s8_ = "-99999px", _s11_ = "transparent", tempElement = A.DomDocumentExtension_createElement(self.document, "textarea"), elementStyle = tempElement.style; A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "top", _s8_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "left", _s8_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "opacity", "0"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "background-color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "background", _s11_); self.document.body.append(tempElement); tempTextArea = tempElement; A.DomHTMLTextAreaElementExtension_set_value(tempTextArea, text); tempTextArea.focus(); tempTextArea.select(); result = false; try { result = A.callMethod(self.document, "execCommand", ["copy"]); if (!result) A.print("copy is not successful"); } catch (exception) { error = A.unwrapException(exception); A.print("copy is not successful " + A.S(error)); } finally { tempTextArea.remove(); } return result; } }; A.ExecCommandPasteStrategy.prototype = { getData$0(_) { return A.Future_Future$error(new A.UnimplementedError("Paste is not implemented for this browser."), null, type$.String); } }; A.FlutterConfiguration.prototype = { get$canvasKitForceCpuOnly() { var t1 = this._configuration; if (t1 == null) t1 = null; else { t1 = t1.canvasKitForceCpuOnly; if (t1 == null) t1 = null; } return t1 === true; }, get$debugShowSemanticsNodes() { var t1 = this._configuration; if (t1 == null) t1 = null; else { t1 = t1.debugShowSemanticsNodes; if (t1 == null) t1 = null; } return t1 === true; }, get$requestedRendererType() { var t1 = this._configuration; if (t1 == null) t1 = null; else { t1 = t1.renderer; if (t1 == null) t1 = null; } if (t1 == null) { t1 = self.window.flutterWebRenderer; if (t1 == null) t1 = null; } return t1; } }; A.EngineFlutterDisplay.prototype = { get$id(receiver) { return this.id; } }; A.ScreenOrientation.prototype = { setPreferredOrientation$1(orientations) { return this.setPreferredOrientation$body$ScreenOrientation(orientations); }, setPreferredOrientation$body$ScreenOrientation(orientations) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$handler = 2, $async$currentError, screenOrientation, lockType, t1, exception, $screen, $async$exception; var $async$setPreferredOrientation$1 = A._wrapJsFunctionForAsync(function($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 $screen = self.window.screen; $async$goto = $screen != null ? 3 : 4; break; case 3: // then screenOrientation = $screen.orientation; $async$goto = screenOrientation != null ? 5 : 6; break; case 5: // then t1 = J.getInterceptor$asx(orientations); $async$goto = t1.get$isEmpty(orientations) ? 7 : 9; break; case 7: // then screenOrientation.unlock(); $async$returnValue = true; // goto return $async$goto = 1; break; // goto join $async$goto = 8; break; case 9: // else lockType = A.ScreenOrientation__deviceOrientationToLockType(A._asStringQ(t1.get$first(orientations))); $async$goto = lockType != null ? 10 : 11; break; case 10: // then $async$handler = 13; $async$goto = 16; return A._asyncAwait(A.promiseToFuture(A.callMethod(screenOrientation, "lock", [lockType]), type$.dynamic), $async$setPreferredOrientation$1); case 16: // returning from await. $async$returnValue = true; // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 15; break; case 13: // catch $async$handler = 12; $async$exception = $async$currentError; t1 = A.Future_Future$value(false, type$.bool); $async$returnValue = t1; // goto return $async$goto = 1; break; // goto after finally $async$goto = 15; break; case 12: // uncaught // goto rethrow $async$goto = 2; break; case 15: // after finally case 11: // join case 8: // join case 6: // join case 4: // join $async$returnValue = false; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$setPreferredOrientation$1, $async$completer); } }; A.DomConsoleExtension_get_warn_closure.prototype = { call$1(arg) { return A.callMethod(this._this, "warn", [arg]); }, $signature: 45 }; A.DomNavigatorExtension_get_languages_closure.prototype = { call$1(any) { any.toString; return A._asString(any); }, $signature: 592 }; A.HttpFetchResponseImpl.prototype = { get$status(_) { return A._asInt(this._domResponse.status); }, get$contentLength() { var t1 = this._domResponse.headers, header = A.callMethod(t1, "get", ["Content-Length"]); if (header == null) header = null; if (header == null) return null; return A.Primitives_parseInt(header, null); }, get$hasPayload() { var t1 = this._domResponse, accepted = A._asInt(t1.status) >= 200 && A._asInt(t1.status) < 300, t2 = A._asInt(t1.status), t3 = A._asInt(t1.status), unknownRedirect = A._asInt(t1.status) > 307 && A._asInt(t1.status) < 400; return accepted || t2 === 0 || t3 === 304 || unknownRedirect; }, get$payload(_) { var _this = this; if (!_this.get$hasPayload()) throw A.wrapException(new A.HttpFetchNoPayloadError(_this.url, _this.get$status(0))); return new A.HttpFetchPayloadImpl(_this._domResponse); }, $isHttpFetchResponse: 1 }; A.HttpFetchPayloadImpl.prototype = { read$1$1(_, callback, $T) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, chunk, reader; var $async$read$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start reader = $async$self._domResponse.body.getReader(); t1 = type$.JavaScriptObject; case 2: // for condition // trivial condition $async$goto = 4; return A._asyncAwait(A.promiseToFuture(reader.read(), t1), $async$read$1$1); case 4: // returning from await. chunk = $async$result; if (chunk.done) { // goto after for $async$goto = 3; break; } callback.call$1($T._as(chunk.value)); // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$read$1$1, $async$completer); }, asByteBuffer$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ByteBuffer), $async$returnValue, $async$self = this, t1; var $async$asByteBuffer$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.promiseToFuture($async$self._domResponse.arrayBuffer(), type$.nullable_Object), $async$asByteBuffer$0); case 3: // returning from await. t1 = $async$result; t1.toString; $async$returnValue = type$.ByteBuffer._as(t1); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$asByteBuffer$0, $async$completer); } }; A.HttpFetchNoPayloadError.prototype = { toString$0(_) { return 'Flutter Web engine failed to fetch "' + this.url + '". HTTP request succeeded, but the server responded with HTTP status ' + this.status + "."; }, $isException: 1 }; A.HttpFetchError.prototype = { toString$0(_) { return 'Flutter Web engine failed to complete HTTP request to fetch "' + this.url + '": ' + A.S(this.requestError); }, $isException: 1 }; A.DomSubscription.prototype = { cancel$0(_) { return A.callMethod(this.target, "removeEventListener", [this.type, this.listener]); } }; A.DomPoint.prototype = {}; A.createDomResizeObserver_closure.prototype = { call$2(entries, observer) { this.fn.call$2(B.JSArray_methods.cast$1$0(entries, type$.JavaScriptObject), observer); }, $signature: 1876 }; A._ttPolicy_closure.prototype = { call$1(url) { var uri = A.Uri_parse(url, 0, null); if (B.Set_Vvc75.contains$1(0, B.JSArray_methods.get$last(uri.get$pathSegments()))) return uri.toString$0(0); A.callMethod(self.window.console, "error", ["URL rejected by TrustedTypes policy flutter-engine: " + url + "(download prevented)"]); return null; }, $signature: 30 }; A._DomListIterator.prototype = { moveNext$0() { var t1 = ++this.index, t2 = this.list; if (t1 > t2.length) throw A.wrapException(A.StateError$("Iterator out of bounds")); return t1 < t2.length; }, get$current(_) { return this.$ti._precomputed1._as(A.callMethod(this.list, "item", [this.index])); } }; A._DomListWrapper.prototype = { get$iterator(_) { return new A._DomListIterator(this.list, this.$ti._eval$1("_DomListIterator<1>")); }, get$length(_) { return B.JSNumber_methods.toInt$0(this.list.length); } }; A._DomTouchListIterator.prototype = { moveNext$0() { var t1 = ++this.index, t2 = this.list; if (t1 > t2.length) throw A.wrapException(A.StateError$("Iterator out of bounds")); return t1 < t2.length; }, get$current(_) { return this.$ti._precomputed1._as(A.callMethod(this.list, "item", [this.index])); } }; A._DomTouchListWrapper.prototype = { get$iterator(_) { return new A._DomTouchListIterator(this.list, this.$ti._eval$1("_DomTouchListIterator<1>")); }, get$length(_) { return B.JSNumber_methods.toInt$0(this.list.length); } }; A.DomIteratorWrapper.prototype = { get$current(_) { var t1 = this.__DomIteratorWrapper__current_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, moveNext$0() { var result = this.__engine$_iterator.next(); if (result.done) return false; this.__DomIteratorWrapper__current_A = this.$ti._precomputed1._as(result.value); return true; } }; A.FlutterViewEmbedder.prototype = { removeResource$1(element) { if (element == null) return; element.remove(); } }; A.EngineCanvas.prototype = { dispose$0() { this.clear$0(0); } }; A.SaveStackEntry.prototype = {}; A.SaveClipEntry.prototype = {}; A._SaveElementStackEntry.prototype = {}; A.SaveElementStackTracking.prototype = { clear$0(_) { B.JSArray_methods.clear$0(this.SaveElementStackTracking__saveStack); B.JSArray_methods.clear$0(this.SaveElementStackTracking__elementStack); this.SaveElementStackTracking__currentTransform = A.Matrix4$identity(); }, save$0(_) { var t2, t3, _this = this, t1 = _this.SaveElementStackTracking__elementStack; t1 = t1.length === 0 ? _this.rootElement : B.JSArray_methods.get$last(t1); t2 = _this.SaveElementStackTracking__currentTransform; t3 = new A.Matrix4(new Float32Array(16)); t3.setFrom$1(t2); _this.SaveElementStackTracking__saveStack.push(new A._SaveElementStackEntry(t1, t3)); }, restore$0(_) { var entry, t2, t3, _this = this, t1 = _this.SaveElementStackTracking__saveStack; if (t1.length === 0) return; entry = t1.pop(); _this.SaveElementStackTracking__currentTransform = entry.transform; t1 = _this.SaveElementStackTracking__elementStack; t2 = entry.savedElement; t3 = _this.rootElement; while (true) { if (!!J.$eq$(t1.length === 0 ? t3 : B.JSArray_methods.get$last(t1), t2)) break; t1.pop(); } }, translate$2(_, dx, dy) { this.SaveElementStackTracking__currentTransform.translate$2(0, dx, dy); }, scale$2(_, sx, sy) { this.SaveElementStackTracking__currentTransform.scale$2(0, sx, sy); }, rotate$1(_, radians) { this.SaveElementStackTracking__currentTransform.rotate$2(0, B.Record3_IYz, radians); }, transform$1(_, matrix4) { this.SaveElementStackTracking__currentTransform.multiply$1(0, new A.Matrix4(matrix4)); } }; A.sendFontChangeMessage_closure.prototype = { call$1(_) { $._fontChangeScheduled = false; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/system", $.$get$_fontChangeMessage(), new A.sendFontChangeMessage__closure()); }, $signature: 923 }; A.sendFontChangeMessage__closure.prototype = { call$1(_) { }, $signature: 171 }; A.FontFallbackManager.prototype = { ensureFontsSupportText$2(text, fontFamilies) { var t1, t2, t3, rune, codePoints, _this = this, runesToCheck = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); for (t1 = new A.RuneIterator(text), t2 = _this.knownCoveredCodePoints, t3 = _this.codePointsWithNoKnownFont; t1.moveNext$0();) { rune = t1._currentCodePoint; if (!(rune < 160 || t2.contains$1(0, rune) || t3.contains$1(0, rune))) runesToCheck.add$1(0, rune); } if (runesToCheck._collection$_length === 0) return; codePoints = A.List_List$of(runesToCheck, true, runesToCheck.$ti._eval$1("SetBase.E")); if (_this.registry.getMissingCodePoints$2(codePoints, fontFamilies).length !== 0) _this.addMissingCodePoints$1(codePoints); }, addMissingCodePoints$1(codePoints) { var _this = this; _this._codePointsToCheckAgainstFallbackFonts.addAll$1(0, codePoints); if (!_this._scheduledCodePointCheck) { _this._scheduledCodePointCheck = true; _this._idleFuture = A.Future_Future$delayed(B.Duration_0, new A.FontFallbackManager_addMissingCodePoints_closure(_this), type$.void); } }, _ensureFallbackFonts$0() { var t1, codePoints; this._scheduledCodePointCheck = false; t1 = this._codePointsToCheckAgainstFallbackFonts; if (t1._collection$_length === 0) return; codePoints = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); t1.clear$0(0); this.findFontsForMissingCodePoints$1(codePoints); }, findFontsForMissingCodePoints$1(codePoints) { var t2, t3, _i, codePoint, value, result, component, t4, t5, _i0, font, selectedFonts, selectedFont, _this = this, missingCodePoints = A._setArrayType([], type$.JSArray_int), requiredComponents = A._setArrayType([], type$.JSArray_FallbackFontComponent), t1 = type$.JSArray_NotoFont, candidateFonts = A._setArrayType([], t1); for (t2 = codePoints.length, t3 = type$.FallbackFontComponent, _i = 0; _i < codePoints.length; codePoints.length === t2 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) { codePoint = codePoints[_i]; value = _this.__FontFallbackManager_codePointToComponents_FI; if (value === $) { value = _this.__FontFallbackManager_fontComponents_FI; if (value === $) { result = _this._decodeFontComponents$1("1qhb2gl,1q2ql,1qh2il,4h,,1y2i,1q3c,1y,1qj2gl,1yb2g,2a2g,a,f,bac,2w,ba,1yb,2a,a1phb2gl,e,1qhbv1kl,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,f1khb2gl,1qh2u,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaabaaaaaabbaaaaaaaaaaaabaaaaaabaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaabaaaaaaaaaabaaaaaaaaaaaaaaaaaa,i,a2v,e1lhb2gl,bab,5a,p,1m,1p,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,bac1khb2gl,a1d,1n,3w,2c,4m,az,5c,2i,ba1nhb2gl,1j,1qhb2s,1t,a1phbv1kl,bab1lhb2gl,1qhb2g,2e,2m,aoo,f1khbv1kl,1k,1qj2s,2r,2v,3d,e2r,1c,1m3n,1o,1qhb1ixlr,a1e,f2q,j,1f,2k,3f,3z,4x,acaaaaaaaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaa,a1dh,a1d3e,a1g,d,q,y,1b,1qhb,2f,3g,3j,aaaaaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,af1jhb2gl,a1j,a4r,g,i2y1kk,i4j,r,u,z,1a,1qhb1ixl,1qhb2glr,1s,1z,2j,2l,2u,2z,3a,3b,3e,3o,4e,4s,4v,5f,aaaaaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaaaaaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaabaaaaaabbaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaabaaaaaaaaaabaaaaaaaaaaaaaaaaaa,af,afb,aoohp,av,a1gihbv1kl,a1phb2glg,a5e,ea,e1lhbv1kl,i1m,i4u,k,l,m,n,o,s,w,x,1qhb1c1dl,1qhb2belr,1u,1w,1x,1yb2gl,2b,2d,2g,2h,2la,2n,2p,2s,2t,3c,3dy,3h,3i,3k,3l,3p,3s,3x,3y,4d,4f,4hl,4i,4l,4o,4q,4u,4w,4y,4z,5b,5e,5g,5h,5j,5k,5l,aaa,aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,aaaaaaaaaaaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,aaafbacabaadafbfaaabbfbaaaaaaaaafaaafcacabadgaccbacabadaabaaaaaabaaaad,aaa1nhb1c1dl,aaa1nhb2gl,acaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaaaaaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaabaaaaaaaaaaaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaaaaaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaabaaaabaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaaabaaaaaaaaaaaabaaaabababaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabaaaaaabaaaaaaaabaaaaaaaaaaaaaaaaaaaabaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,acaaababaaaaaaaaabaabdaaadaaaaaabeaaaaaaaaaaaaccaaaaaacbaacabagbcabcbaaaaabaabaaaaaaabaabaaaacc,afabbbaaaaaaacbbbccaaadaaaaaabbabbbcbababaaabaaaabaacdabaaaaabaaaaababacbaaabbbaafabaaaaa,afy3m,agaccaaaaakibbhbabacaaghgpfccddacaaaabbaa,ahafkdedbacebaaaaahd1ekgbabgbb,ahbacabaadafaafaaabaafbaaaaaaaaafaaafcacabalccbacabaacaabaaaaaabaaaad,ah1hhb2gjb,ah1k,ah1k1nupk,ai,aj,aoohabmecfadjqpehabd,aoohabmo1rqbd,aoohp2zd,aooibmohni1db,aookx1i1h,aoox,aoxbahbbcl1ekeggb,avcff3gla,avdj,avn,ayae1jb1olm,ayf3m,ay1w1v,azgca1k,a1dhp,a1dibladaiak1wg,a1dibladail1wg,a1dibleail1wg,a1dwo,a1dxo2ib,a1d1x,a1d3v,a1ekhb2gl,a1i,a1j2g,a1phb1c1dl,a1phb2bel,a1s,a2c1c,a2h,a2m,a2smv,a2zn,a3c,a3g,a3j,a3n,a3ng,a3q,a3v,a3w,a4q,a4z,a5d,baba,bab1a,bab1lhbv1kl,bacz,bac2q,ba1nhbv1kl,ba2t,c,da1lhbv1kl,da1lhb2gl,e1akhb2gl,e1k,e1lhb1c1dl,e4n,fu,f2q2a,f2r,gb2ja1kie,gb2y1kk,h,ir,i1m2wk,i2y,i4jk,jz,ph3t,p4q,s1g,t,tx3ca,v,x2i1p,1d,1g,1h,1i,1l,1ns,1p1p,1qhbmpfselco,1qhb1cfselco,1qhb1cyelr,1qhb1iselco,1qhb2bel,1q2q,1r,1v,2o,2q,2wu,2y,3m,3n,3q,3r,3t,3u,3v,4a,4b,4c,4g,4j,4k,4n,4p,4r,5d,5i,5m"); _this.__FontFallbackManager_fontComponents_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__FontFallbackManager_fontComponents_FI = result; value = result; } result = A._UnicodePropertyLookup__UnicodePropertyLookup$fromPackedData("1eE6X2U1H4Ie1H4I1H2U7D2U1Hi6Y2Uc1H7Fd1H2Vb1H2Vd1H2Vd1H2V1n1HM1eE7CbVSVS1HV3HV4J1V7Z3HaV1Va4RVSbVSV4JbSwV1H1dV1HkVcYaLeYcVaLcYaVaLeYaLaYaSaVaLeYaLaYLeYaLaYaVaYaVLaYaVaSaYaVgYaLcYaLaYaLaScVpYrLSlLaSlLaS1aLa7JmSzLaS1cLcYzLYxLSnLS3hL1OLS7XhLYVL7HaSL8XhL9KYVcYkLaSsLaVa4L7E8GY1H4L4SaYVcL1OY9FaLa2MgL3KaL8D8E3KbYcLa3K2M8F8AlL1OnL7PgL9HL9GbL1OaL1OqLa1OaLaEeLcEfLELEbLp4QEf4QfLx1VfL1AbLa1AbL2YL2YL2YL2YLm3Ra1AaLa1AjLSmL2kSLS1vL8R3JaL3J6kLE1k2OaE1u2O10J2OaEb2OE2b1UgEz1UdEd1UjEdZ10FeZ3MmZ3MZEZ10DZ3NdZ4VwZ10CiZj3NiZi10G3Ma10IbZ3N4vZi4VeZm4FE2g4FaEb4F1uZ1w12AmE2f5WaEb5W2kE1a5SaE5S2lEtZEhZsE1rZ2h1J8Nr1Ja7Up1Ja7Ti8Lo1Jc1EEg1EaEa1EaEu1EEf1EE1EbEc1EaEh1EaEa1EaEc1EgE1EcEa1EEd1EaEi10Kc1Ec10Lf1EaEb1GEe1GcEa1GaEu1GEf1GEa1GEa1GEa1GaE1GEd1GcEa1GaEb1GbE1GfEc1GE1GfEi10Xf1GiEb1KEh1KEb1KEu1KEf1KEa1KEd1KaEi1KEb1KEb1KaE1KnEc1KaEi10Wa1KfEf1KEb1LEg1LaEa1LaEu1LEf1LEa1LEd1LaEh1LaEa1LaEb1LgEa1LcEa1LEd1LaEq1LiEa1DEe1DbEb1DEc1DbEa1DE1DEa1DbEa1DbEa1D2JbEf1D2Jc1DcEd1DbEb1DEc1DaE1DeE1DmEl2Jg1DdEl1PEb1PEv1PEo1PbEg1PEb1PEc1PfEa1PEb1PdEc1PaEi1PfEh1Pl1MEb1MEv1MEi1MEd1MaEh1MEb1MEc1MfEa1MfE1MEc1MaEi1MEa1MlEl2EEb2EE1x2EEb2EEe2EcEo2EaEy2EEb1NEq1NbEw1NEh1NE1NaEf1NbE1NcEe1NE1NEg1NeEi1NaEb1NkE2e6QcE1b6Q1jEa1QE1QEd1QEw1QE1QEv1QaEd1QE1QEf1QEi1QaEc1Q11aE2k3Fi10Q3g3F1k1SE1SdE1SaE1u1S9uR15yE3g3QaEe3QaE24o3P1b11KbE3j11UfEu6LhE6Lt11Ea10OhEs10NkEl4GEb4GEa4GkE3o3EaEi3EeEi3EeE2Gb5V2G5Vh2GEi2GeE3j2GfE1p2GdE2q3PiE1d2QEk2QcEk2QcE2QbEk2Q1c6MaEd6MjE1q3GcEy3GeEj3GbEa3G1e3E1a5CaEa5C2j2TE1b2TaEj2TeEi2TeEm2TaEpL2jE2w4YcE1r4YbE2k6K1y5BgEc5B2c3WbEn3WbEb3W1u11LhLfE1p1SaEb1Sg6KgE4O1J4O2W1Ja2A2X2A2X8M1Ja2Xa1J2X2Ag1J2Aa1J2Ac1J7V2W8H7Y2A1Ea2WeE7vL1O1qLE9C2mLaS2kLeYwLYL3cSaVeS1aLaEeLaE1kLaEeLaEgLELELELE1dLaE1zLEnLEmLaEeLErLaEbLEhLEL2MS8PfL7L7N6Za7Q7M7OSaV3ISLa4KV4Ma4KVLa3IVL7R8T7GSeL4S9A3ILa1V1A1Va1ALaVS7BdLSL7KaLS8S7AdL4NLSL1OL9I1O1Aa1O9EaL8Z9DeLEkLaE4RlLb9JiLElLbEhLS8USV8WjL7WcL8QLoEjO11IO9V1BaTO4T9LTjO2WnESL1ASLSbLS1Vc1ASb1ASL1ASaLd1AbLS3HL1ALaS1AaLSa1ASb1ALa1A1Vb1A6WLSd1AcLd1AuLk1BcTk1BgTLcTLaTcEc4Ue9NnOa9RcOMgOaUiObUcOaUbOUOUOUpOcWfMaOMOUiOUOaUOfUbOUOU1HUO1VaO2N10AUaOcUaOUOiUdOcUdOUdOUOUaOUbOUrObUOcUaOaUaOaUaOaUaOaUiOeUaOaUhOcU2BeOUcOUxOUcOb2NrOaUrOUoOdTb1Bc2HcTOT1BbTMTWOaNc2HaOaTcMNa1BMiT2pOM2HbMsT4TOdTsO2HaUdOfEn1BTWN2HhTa1BeOfTaNaPbNPbNcMbN1mMWbMxEjMtEs9Xa4U2w1B1W2h1B6cAiWa1IbM2NMaW2BaM1I2BcMW2BaM1I2BcMaWMW2BW7IMeWmMdWgMWjM9PbNMc1INaWaMWcT1IWMNMTaNaWNbMW1IaW9OMaNaT1CbT1CT9WT1C1WgMb1CTMbT1W1B1WdTk1CjMN1IaW1IWa1IW1Ic9Ub9Ta9Yh1B1Wa1B1CNoMaTe1CT1CTa1CTaM1INdT1CaTaNMbTa1CjTa1IdMaNaMNdM1CNMNMaNlMfTa1CdTe1CTc1CaT1CaTaM1IaMPaMaNPbNMNaMNWNMNbMWaM9MbT1CeMPiMaNgMWMaWbMNaMNcMPMPcMNaPWNjMaNpM1c1BMbPhM1ImMPmMP2kO9uM1fOa2HpOa9Q2vO2N2hO2B1pO2NmOaU9yOdMb1IeMcOgMWaNrM1bObMNcMN1cMaE1dMWE3xMOM1t2CE1t2CE1eL4k3RdEf3R1k1SE1SdE1SaE2c4HfEa4HmE4H3qE2bL1OcLa9BiLa4MeLa7SLa1OdLaS2MbL2M4NpL1rEyAE3jAkE8eAyEkAcE3Sa10ZcA11Ca11Ba10Yc11Aa5GaAg5GsA1RkA1RaAE3gAaE3sA3TcAdE1pAE1xAR1oAE1qAcE1iAkE1tAE4nA1RA1R5oAE8bAaDFaDaF1eDFcDFDFeDBiDBhDBDBvDBbDFDFgDBeDBaDaBhDFhDFBaDBbDKiDBhDBdDFeDCcDCdDFBmDKbDFbDBcDBDBsDBiDBmDKhDFDK1aDAqDBDBdDBbDaFaDBDFhDBFDBDBcDaBjDBqDaBgDBbDBFDFcDBpDBDBbDCDBaDBbDBbDBbDBbDFBDBFqDbBFeDBaDBKdDFbDBiDFbDBDBgDBDBfDBfDBbDBcDBgDbBFbDBoDBDBlDKiDBeDBnDFcDFaDFBiDBcDBDBbDaBbDBbDBaDBcDBDbIDaBeDFbDaBDBeDBbDaBaDBImDBjDBDBcDBDBaDBmDBdDBIDBeDaBDKBDaBeDIdDBaDB1bDFCgDaFaDBdDFvDFhDBgDBwDBaDKDBaDFsDBjDFdDFhDBDFbDBaDBDFaDFjDKaDBgDKBeDBkDBDFeDCDBfDFzDFcDFDBpDBlDK1aDBFjDFkDKgDBgDBcDBaDBqDKqDCaDKiDBjDBaDFaDFkDBiDBkDBlDBqDKaDBDKhDFgDBfDBaDKdDaBdDKDBeDBDBdDBaDCKoDKDC1hDBdDBaDBeDBjDBaDBaDBaDBDBaDBoDaBoDaBhDBcDKpDBeDBcDBcDCDBfDaBeDFcDFpDFpDBkDKeDBpDBeDFeDFiDaFaD6GDKDBDBhDFdDBDBFDBKcDBfDKiDCiDBFDFdDCKfDBhDFbDBgDBtDBfDBkDFbDaBcDFDKDaBbDBeDaFcDFfDaBaDBfDBaDFpDFdDBDBbDBFBgDFhDBdDBmDBbDFDBABwDBDFDBaDKBaDBjDKDFeDK1kDB2aDB1vDaKcDFfDBDBbDBFbDBdDBmDBbDBkDKsDFaBbDKdDBFqDFBgDBiDBdDBDCaDBlDIaDBDFcDaBcDBdDBfDBfDBaDBDBcDBDBgDFiDBfDBeDBfDKaDBFDKbDaBDBaDCBdDBFeDBjDaBaDBfDaBaDBcDaBfDFB2cDFCaDBcDBkDBiDFdDFDFjDBmDFeDFhDFrDbBaDBbDBeDBeDBaDBDKaDBaDBDBbDaBcDaBaDCBaDBaDaBcDBDBDaBKaDBaDaBdDBDBKDaBbDIDaBeDB2oDBbDFaBhDBmDFaDFDFcDBuDByDFaDFmDBfDBFlDCcDCgDBfDBjDaBhDBcDBrDBpDKcDKcDCjDBlDBbDBFhDIaDBcDBcDBDB1fDFsDBKiDBeDBbDBgDBKmDBeDBwDBDBfDBCBFbDBcDB1gDaBcDKoDFeDFrDFbDBcDBDBlDBaDBDBmDBzDKdDBDFiDFcDBdDBcDBjDBiDFeDBFBbDFdDBlDFeDFaDBpDB1aDBwDKeDBbDFdDBjDBbDBpDBeDFBlDBqDBbDBaDBhDFnDFeDFuDBeDaBdDFfDB1eDCvDF1oDB1mDBaDB1dDBKdDBdDKpDBdDBfDKaDKaDBFDCDBmDaBdDFbDFeDBbDFcDFdDFaDBfDB1gDKaDFfDFyDFbDCsDBDClDaBDBlDBaDFbDBdDBFDBaDBDBgDBdDFgDbBDBaDBcDcBfDBmDaBbDFBDBDFcDKbDBcDBDBfDFDBeDBcDBaDBcDBDBDBbDClDaBaDBaDBbDBcDaBfDBaDBhDaBDFiDBvDFgDBkDBcDFdDFzDBiDFbDBCfDKoDBaDBgDCFcDBDBK1mDFxDBhDFsDBdDB1eDCkDCFfDKbDBaDKoDaBbDKbDKcDKvDBDBsDFeDBcDBeDFlDKgDBlDBhDaBsDFfDKnDBKyDBeDKeDB1sDBoDFeDBeDBgDFaDBiDBiDFfDFwDBkDFhDFmDBdDKlDBpDKqDKcDBiDKeDaBeDFyDBkDBnDBdDBeDBjDBiDBkDBeDIcDBaDBDaBcDBeDBDBeDBjDBDBpDBcDBfDBuDBsDKaDBbDKDBgDFyDKrDBdDBDCqDFhDFiDBaDKiDBeDBcDFbDKfDB3qDBlDBnDBbDIbDFsDBlDKcDBbDKqDKbDBoDBgDBeDBjDBiDBFaDFvDKzDaBKBgDBaDCnDBDBaDBaDaBdDB1dDaBDBDFfDFfDFtDFzDBaDBeDBgDFgDFpDBdDFaDBaDBDBeDBnDBbDBpDBhDBbDBDBbDBbDB1cDBhDBDBeDBkDFgDBbDFlDaKCBiDBxDCDBeDBiDKwDB2lDBCpDBfDBiDBxDiE2kMaAFACFDdACaAaCAFDbAFaABDBDaADCBFADADAFCbAaCbABDFACaADACBDAaFaAFADaCBDADbADFaBDFAJcACbAaDaFbDKFCBbKbDJDAaFaKBFbKDACABAaBaABaAFaACAaKaABaAaFaABAJFdABbADAaDcAFJaDAKDABDbACaDBaAaCADaACBaADACaFbDeACFBbAFAFbAaDCaBCDFAFACaABbABaDAFAFbAaCaBaDCbAFdACaBCFCBCADFAcDBdDaBDFaBFaAFBCAFACACACbABFBaADBcADACdACdACfACaBaCaDBDaABCDCaAFBAICACgAIACaACABcAFAJcAFABbAFaAIACbFBdDBaDCDFaABDAaBaACDABAFCFACdAFBCaACeAJaADBaAIaACAIbAFJaCFdDBDcACAIaABABADFCAFAFJBFbABAFACACAFcABACbACAFaABbAJiABABFCBCFBDFDABbDaCFAKaCcABCBaAFCFADaACIJABAaBCABACBaAFaBABaCaBAFABbACJDBaDCaDACBAFAFBCDFIBACFCaAFACADcACIAbFACaDBbDFDaAIbCcABABFaCBaAIFBAFaABCBaABFaCACADCbABFCAIFCJCBCJaCbACABDIaAbCFaCACDBAFAaBAIdABaACABaAaCDABAIaAFaAFAJAaFABAIFaIBJFBAIFCBFBbACADeABDbAFfAFbAJFJBAFaAIAFBABAaBaCBABFAFgAaDADFCcACDFADFDADAbFAaBaAFJAFAFbABcAJBDBFIDAFAJaAFBCFbAFBDbAbCaACBFDCaAFaDFCbABCdABCBCACAFJBCaDcACaACDBbFDJFDFAFDaAFcAFbADBACDcAFCbABACBDADBACAaFaAFbDBAcBFDcACaAFaDADcABCbAJaACcDBDaAFIADdABCaDBDcAFBaACbACABcFDBaABCBCAaFACaADAaCIaBADACBaACFDbACBCADaBAJACFCaABCAFaDaABDaAFCJBdAIbFaDFCbFAFaCFADCABAFAFAFAFDaADFaCABFaACaADAFgAFAaFCFBFKDBaCJACAFCcABDaAJAaJDACFABACJABaACBFDbAFaAFaCFCaABACFDAaFAFaCDACAaCBFKBaAJACdACAIAFcAFCABaDcAaDAaFAFABABaADCAFACKAaDACgADbAJABbAaDAFAaDbFBbDABaDBACDABACADBABaAFBDCaABaCACBaAFCDAJCFAaFIFADFaDFCaAFAaDeAaFaBCFAFaABACADaFACeAFkAJcADFaBDBaDAFaADaBiAaCBDBDaBCABACaACDBCBAaCACaACACBABAaCABaADcACABACFBACAFABaCACDJaDBFfDKFJaBABABACACaAaCFBaABACaACBDBbABaACBFACAICaFeAaCaBCAaBDBDCDBFACABaAaCAaCaAaCABCaABDBCAaCbACeABcAFaBaCaBdDBDFDBbDBDCACaBaABaACBFaACDaACaDFaBDABCAFAFCaBACaACAaBaCbAbBAaFaBDBDKDBcDBDaBCBDCAaBaABACABACBCADCAFABACKBACACBCABFCBAaCBADBaAFDaFACABFCBACBCaDbBdDbBDbBDBDfACaADaACbAaBaCBACaABDFbADaAJADaBaAaBeACADABCbBFaDcBaDCBCBACACABABaCBCaBAaCAaBaCBbAaCAKBbAcBCBDCDCaBCBaDBCAFCbBbAbBDICAFaAFDIcACABABaAaFDCcBCbBDBDBFABDAaBACFACACcABAFCBACaACFBCFBABJCbACDBACaDcBFDBCDcCAICDeABABCABAFABABAaBDaBAbBACaAFBbCaBABDaBFCDaBaADBbCFBFDBACACFBCACABDaCaABACDBaDABCBcADCBDbAaCAbFADCBDBAaFaAFCbACBJaCJAFDBADaABACFJaDFADaABDADACcAaDdACADFDFaABCADADaCACBACFaCFJaFbADbACADBaCaDaFaDADCACAIABDaCADBABeACDBaDBDFDBbDCDACDAFdACDCJbABACABAKFCaABaCBFACcDAFBaABDaBaDACADCBaCBaCACACbABDCaFCDFDCDFaDCbBDAcBAaBFaBABDbAKDACDaABKAFaCFCcDAaCaACBCABaCDAaDBAIBAaBIACaACdACFABdABcAaCBDBDBDBFDKBADCBaAFaABIABaAaBADBABbACBaAbBCABDCDCAFaDBaDaBdABAJaABACDcAbBACDJABABDFCADCBCDBFBCaBABDFAaBAIACaABADABaCaACaJBCAaBACDCFCaBDcACAFIDBCBaACABDABIAFADaBDaFaACBABDACJFABACBFBaFABCACbACFbABcACJCBAFDaBCDaADJaAFAaCaDFDbACAaBaDAaBCABKFAFaCBAJBCFbABFaAJACDCBFAFaADAFfAFaAFBaFaAFaDBJAFBaDFABFbABDKDcAFbADaAFAFIbFACAFDCDAFeAFaBbACABACDaCAbBCbABbDBAFJACaBKaABFaABABFDABCbBbABaAbDAFCACBACBaICIACACBAIBADACBABcABAaBdADBDBaABbAFaBKcAFABbABACICABCBCaAaIAIaBACABAFcDAIBCAFBDACADaBCAICaADCaABDACADAFACIBABaFaDBDaAbBaDAaBKaAaBaCaACABKABaDAIbBCcBAbBCBIBaABCaABIABCABDaBKcDAaBaCaBCADbBADBDBDBCBKaBABaABICBDCaACBaACBADIaBADBIBCDbBaCABAaBCBeABaABADCBaABaAaBCFBDBDIaABIAICIaBaAIAIaADBACIBIAKCDbBCAbBaADAaBJCaBDIDBaADaABDbBDbBACDABADCbBCFaBAaBIDABCAaBADADADFDCbDaBAIACDABAbBDBCAbBaAFBdADcAFADKBcADCADAaBCFaABCBaABADABACFcAaCAFbAJaAFCACFBAFhABAaDdABCFBDACAFAaFcACaAFDFaDaACeADFaBAaCFABbABbACFADFaACaABeABaAKbACBCFaADAKAaDaFADAFCaAJhABAaCABAFDJCDBDCaADbABFDAFCJCaFDCAFBDaFBdAJcAaDBaAIABCABaACaADCBABDBCFJCBCFAFACaADCACBDAaCAFADICaFDBaAaCFBcD11DDaBFABABABDcABABbDaBDBABaCACABIgAbBAFAFACaADAaFDJDKaBaDFBCBCBABDaBCBAcBCBAaBDFaBJFbDBFDaACDBACbAFDACAbBFABADaBCcDaAbDCBaABaACDeACADCBACDACABaABADFBDbBCaBAcBCBDBABCBIACKBbCBCaADADAaCJKCaBDCDBFDBbFCBFBDaBAFBAFDACIBFBDFaBaCbBaCBaAFABIACBCAFaBDFDACaADCDABFBABCABADCaDAaBIACBABABCDCaBaACADaAKDbBCaDBCDADAFAFBFaAJaBAaCFKADaABbAaFcAFDAaDADBdADAJADJDaACFDaABDAFDIBCAFBaDACDCaABCbADADCAcBAaDABDADACaFDFABFbAcDACKAaBbADJBFBCABABaFDBaAFCABDaCBaABbAFDaBABbAaCBAKbACAJhAFBaADBAaBaAaBFAaDBaDbADCABAbDADCBCcADCACABDBCBABcACbDaAFDaAFaBCBcACBCJaACACaAaBbACfADABIaADFADaBFABaADaAaCaACFaAFACJABFaAFaAbCAFJIbAFaAFBAFCFADFAaCbACADaFACFCADBJACACDACAFJFAFDBaCIFABABACABaADJADcADJCABDFaACaAJADdADCaACACFBACAFBAaCcACFABeAFDFbAFaDCbADBAFABaAFKCaBcACcAFCBJFABAFAaBaAdBbADFJADFaAKBACAJCIcADBJaAIaAFBABaDAFCAFbAFAFCBAFBADCAJADABeDFDBAaBACACBACcAFACbABFaACBCeACBCBAKCBABCDBDBFBcDCbAaBaAJCaACAaDAFABCAaFBaABDABAJFcABCeABaAFBaDADCeDaCBAFcABCaAJaACKBFAFcAFDaABaCaADbAFCACFJdDfACAaBcAbBFBcACACAaBCADADACADIjACBFBaCBcDFDdACfACaBaAFAaBACaACBCbACFaCaACFBCbABJACFABbDaABFaAKaBAFBDAFCADaFBJCaABCADACbACcACIBDIAIABDbABIACaAIbACBaADIACDACaACdAFBIFbAFCbAFaDCDBACBaADdABAFbABaCDCFaBDAFDbACaACAIaBAbBABACAKAKABbCADBfACFACaDBDJBKBDBDaFaABFCABCAbCaBFCBFaBADFCbABABdACDaCaDaACADbADbAFbADKBACaFJACaACaBJADaACBIAFAJbAKABFABFDCcACAFDCbAIcADCbACaFKABCaADADaCBACaBDAcDCACBABABDABDaACACbABCaACIaBaADBFCACaACdAFDJFBFdDBDADAaBaABIaBAKCBACFBAFCaAaCDBABfAIaACjACaAFDBFJbDBcDFBcABACACbAcBCbABaACFaDACAFCACaBaAKCaBCDCFDFbDFfDFACaABCBADBCaBaCaBbACaAFBCbABAaBAaCdABFJCABAaCIaFBeDBCFbADAaCAaBaADFCaACBaAaCDaABCaABDcABABaACBADCFABACFAIBCcAaCAFcACAbCaBFDaFbDBDFDCADACBaACABCAcBCaACACFCAbBaACaBIaABABCbBACAFaAbBACbAJaCFaBDBfDABDACaBABACDACABbADaBADCBABABaACBAFAIaABaADaBACAbBABDCACaBFBfDCDBCFBcCbDABCAaCICACDFDaBABADaBABAbBACBCBcABADBaDBFDADCAdBDCcADAaBCaAJBbABFBCaACDFADACaABABACBDBaDFDaACaABACBaADADaACFaABAFABAJBaABABDBaDcACbABaCBaADACaABAaFCBDACBCACACKBAFBIFCADbBAaBDCABCBaADaCAaCaBbABCaDCbABCABFABeAFAFbADBDAFABFaABaDAJAFAJBeABDBaACFDaAaBACBDBCAIDBFDABaABaABCaBFKaBbACABACAFBADFDaACDBCBAFADbABACABFaAFABDBaAJCaAKACFCBACADBaACADeADaFKaABCACBABCDCAaFBCDaBCaACADaAFaAaDaAaBCaABACbDFbAIFaADaACBaACaABcAIACbAFDBaDKACcACbACaAaFAFACbABCbAJDCAJFaDaFcACFBaACaABJAKACBbDCFbACeACdAJCaAJbAaBaAFeACICJCFDFAaBbABaACADaACDaBbACAaFAKCABAKCDFDbBAKCAaBdAaBaAIAFBbAJaFAKcAaBCBaCaDBKJDADIdAIFAaDIBDABaAKCABAKABbAFBbAJFAFbACBAIADFaAIbAaCADaCaACABCDAFcABAIDCbADdAaDADaACAFCBAaBaACDFDFBaAaCADIACcADAFCABDCBDdAaCaFJFBaDABaACdACACAbBaABaAFCBIaCBADADaABCaACaABAFcAFaADBCaFDCDFaDFaDBDBaACaAaCbACBCaFJBCAaCaACDaCAbBCeADIcAaCaAIDFABCBaCDAaBABCbACcACBACJCDaABaCaAFfDBaDADIACDaACFbBaACBaAaDaBFaCACFCIAFaACAbBaABbACFdACABaACBaCABaAFaACBbFDaFCDFbDFDBDFbDCDICAFaCDACaABCFaCBaABACACaABCcBaFACaBaADCACaFACADdABFCaAbCBACbACACaAaDCbFBbDBDCaACBCdABFACAaCcAFADaCBaACDACFBaABaCAFAbCAaBbCBdAaDaABCbAcCACbACaACaBFCBAaCJcDbFDCFKFDCDBaDBAFBCACABCADCBABAaBAaBaCDBCAaBDCIDaBbABABaAaCaABcACACBACeAbCACABbACAFJaFCFCBDBCbDCaDCADBAFBaACBAaBaADBIaCaBIbACaBCBaACbABAaBAFBJaABcABABFBJFBfACDAaBAaFCbDaFaDBAFBAIbAJCBACFDCAaCFCaBABABACaACACBAcBaACBDCDAJaACBABACABCaACAFAFbBCAFAaBFDFDbCAaFcABAaCaBDIaACbAJAaICBACAIbCBaAICDaBABaABABACaBCADBDBDCJFBKBDFDCbDCaACBaABFCDABFBaABACaBAaBADaBCaACaACaABCbBDFaCBACFCBACBIBCaBAKaCJDFaADBCBaCaBCBDBaCDACaFDaBeAaBFDFBDCADABADaBaCFCaDIDCBCaAFaDBDbACaFBCACKaDaCaABaDACbBFDCAFaADAFBDFCaDFABDCDBAaBaCdABbADaBADBaABaABACADABCFABCBFAKABFBhADJAaFBFAFDAFCFBdADFCaACbAFADBaAFBAaBDIaDBCACABDCaDAaCDACAbBaFCAFbACFaAFABAaFAFaAFaAIDCbAbCBACAFABDbADbADaABDBFBCBCBDaCBDBaADFABFBAbDCICdBAaBCBCABDACFaBCFbAFaAaBJBCBAaBDCaBDaABbCDaBCDCcBeABaCDBdAIaDBaDBCABCbADAKaADABgABFaDBICAIACDABCABACABADaCACDaAaBhAaBaAaBADdAFcACBDCDFAfDCaACABaACACDIBaACdABaABbABDaABACBCaACbACADdAaBcADADCAaCAaCcACAFBbDBDFbDIaCaBAaBAaBbABaCBaAFKDBABACADBaABDBKCACdAIBACBCAaCaABaAIcACBABDaFgDBgDaCaACADbCABdABaADABaACBIDAaBbAaBCaBIaCAaBABbACBbAIBACdACFBaFfDaBcDbADCADBABaADaACaBACBaADCKdABCaABFcAaBCABbACBaACbAIbADACbABAaCACACbAJcAaBDCDaBCADFJFAFbDBbDFDCDJBbABAFgACICBbACAaBABABAKACACAIABIBFbAaBFCACFaACBACaAIACAaBaACaAaBCAbBACBDAaDaADBaABKCbBKFBcFDFbDBDBCDBFCBaADBCBKABACaBaABACBAaBABAKDaADFCABaAaCIaAaBAaCABbCcABCaACaACACBABbABDBAaCBCFbDBbDFDaBDCaACADBADAIBaACBCICaABaABABABCACBACBAFJBbACBCIAFBDaBABaAICAIKCcABCcABaCBAaBCABaABADaBFgDBABaACAaBaAJeACaAIADABFbBCcAKaBADaBABABbABCaAFABbAIBcADAFACAIaAJDFaDCBACABbACaABAbBaACABABCAFBAaBCBABcABFaACaAdBbDBaAaDABaAaBcAaBAKIBCADaABaACABJIFAaBFABCFABCADaBbADACABCBADAaKBABCABaAIbACaBABDbAbBCaDaABABCBDAIaCBADAcBCABIFcCABJDIABKaCaBADbBaAcBAaCIaBABaADCaABaDBaCBAaBDbABDAbBaAaDCABaDABDBABCACFaAIJbDCBIDBABIBDBDeACDACBDcACbBDBbDcBADaAbBABCBaAaCBaABDaABAbBDCfDFaDIBADeBaAaBAbBDBJACAaFABCAaBFBaDBFaDBDaABABABaAaBDBADaBDCBJcAcBADFDaBFDBDBCBIBCaADaACABABACaABJaABACDAIABCBABeAaBADADhBFbBABDAaBDaABaAIADCDBAaBADAFCaBACAbBaAIABIBDBAIBDABFACaACaBDaBaADaBAaCABACbBaABAFDAIABAFbAFBACICBDaAaBDBbABaDBbADbBDaCBDCADaAIbAIaBDBaAFCBKIAaBAaDCICBADBaADCBAaDaBCIaBABACaABFADJDFaADcAFcACAFBFbAaBaADFaCDaAKCACcACACACbAaDBAFABFBDCABFABADBCaADaCAaCbADCaBABCDaBACbBACaBAaBDBCDbBFBAcBACaBDaACACFCKAIFaDFBaDBFBACACABCFDAaBCBADABADBFCACABFBaDaCaAaBJBDIAaBJFdDCADBfACbBCDCFDCBKACBFDbBCAaDcADbACFaDABFABdACBCFBAaCACaABbCBFaAbBbAaDbBDBCACABAbDFaAbBKbCAaBFDBaCdADCaACAaBABaAFbAbBCABCACaAIACABDABFDICdAbDCBbABCDBCAICbABAcDaAICBABACaAJBaADAaBCABbACaACABDACaBAaIAbBaADACIcACBaAIDaABDFDBCABbAaCBaAaCABdABACbBbDCBJbBIKBCABIBaIaABbADACbAChABICADBaDbAIaAIACaIBAICIaBbCBABADgABbAIFCbACBfAaBCaDaBDBIABACIAKbACAIAIBDFAFCDaBDCAaCBAIaACAFABACaACaADBFCbADBAIBIAaCKABAIbBDBIDCFABCKDaAaDaABCBABbABaCABaACBAaCAaFBDAFaCAKCBCACDFCFaBCBJBaACFaBaDBbAaBACABAaCABAKABaAFCAaJaAFAaCaAaBCcAaBFaACaAFaCACDBJFDCACFbACaAFAFIABDFDdAFCAFABcADFaAaCBaAFCaFJACACAaFaCABaFaBFaAKFaACBaACaAFACaDBaADFABbDCACADBDKBAcDCdABFaACBbACACaACAFABDABCaACaBAJaADCaABAaCAbCbADBADFaDFBFCACbAcBaABABCbAaCFaDbACACADCIBFCBACDFABcCcACACaAaCaDBCDIAICaACaDCFCACBaDCFaAaFcAaFABAbBAaBJABACBDAaDCBaADaABAJACDfABCBADABdABJACJAFaACaBAaFABADIADCAKDCbACAaFCaFAaCaFDCBKCAaCbDABJCAFABDCBADFaABCADACAFbAbDAIADAFDABaABaAFADbACAFBAFABABCaABABFBaABaADAKJAKBABFeADCBIBCBFCDFDCaAFBbADCBCaABaADBDCFCDbBAaCcAIACADADFIBCaAaDCaBAaCaDADaBCFCBaACDCdAFaACABCaAbBFDCaFaDIBACBCbACbBCBDbBDACaABDADBFCJaBICbBACABABFADCBFABaAJCACBABbCDABbACAaDBCaBDADAbBAbBaFaBCDABcABAFCKaAFACABAFDCcACBACaDBABIaAIBbDABDaCKBCaDAaCIBaABAFaDBFaDBCaBaCACDbAcBaACBABABACDCaBFDaBDFaDBACADaCbBCBCJBaCaBfDaACDAFBFCaBKABbABaAaBFDFcDBCBADCaBADBIBCAaBFDcADADAaCBACBCaDFCABCBaABDbACBaADdCBFBDaBbAFAFDADaBAFCACaACBAIaAaCaAFaBDACDaBCACaBCBFaABADAaBAaBaCAIFADCaAIAaCFABDaBCFDBaDADAKCaAaBDKBDAFaCBCaFBDaBaCAaCcACBFAaBaCBDaBbACACaACDfACBaDCACBeABfABAaBADaACBCDAaDaBCaBaDFDaAFABCbAaBaFbBDaAFbABABCAaCBCaBACADaBCBDaBbACaAaBAFaABaADaBcAKdAFDABIFCbAaCBCBaADCACDADFDBCaACFbAFaADcACBDFCaDBKaBADBAFbDAKACBABFAFcACDBCaBACDcACADbAFIbDBJBDBCBCACaACKaFKAFACbACaADJaCaAaCAaBbAaFbDBFCABFaBCFDCbAFDCKCBAFABCBDAaBDbADCaABDdAJcABABACBaDBaCaACcAIDKaDCaADBAcDBaABADaACaBABCAaBJaACFaAbBCaAFaACaAbFCDCFCDFDKBAaCaADaAFaABaACFCACFABAaFaDJDABJaACBACAaBFDCBAFABACIDIABaABCbDaABADBACADBCBcAbCaACAaCBACAFDBADCDFDFCFbBaACaABbACcAJACADBcDFDKAbBCbADAFDACAaCACACABCBaFBDKDFaDBDCBFABFBABbAaCADaACACaACaAaFaAbBFcDFDCABCFACDACFBABcFIDaAFDACaAFcADBCBDKDABaFBACABAaBAIaBACABCaAaBFaDCBCACaFAbCBCBABAbCFBCADABAbCABCAaFBDFDCDCaBcABCDaCACBaACBDFBFDCFBFaACFaBbACDCABCFbBCDaADFACJCAFaCFaCaACFaAFDCaABADAaBAcCDaABCaDBCBbCAaBAFAaBCFBABFBABaFBADCABaAaDFBDCAFCABJcAaDFBFABFbAaBaFBAaCbACFDCBFAKbCAaBaCFaBbCbAFaADdADAaDKCABFBFbBABIABbABaAJAaBADABfACaABABCAaCbACeAaCBbAFDBFDaBFaAFeADABDIaABdCeACFKBFJAaCaABCBaAFBJCaACABDbADFACAIABDBABcADaJDFaACBCDABCFABCADaCDbCIADCBAaBaCKFJFAbCABaABKaABICcACbACaAFCACaABbACBCFAaCADBcACACFCaBFJaACABbABaAFAaCABaACFAFBABaCBACABDACAbBDaFDIaFDBcAcBaACaBABAKDBACfAaBFCFaBAFCaABbABACABACABaACBABeABaFBaFDABABbAICaAaBFACBaABDCFCBbABACaADBCBCIBCABCbACBaAFaDCaAFABaACAFaCaACABABCaAaFAcDBfDBlDBkDBfDBnDB1kDB1tDAIABAaFCaAaBDbADAbBIbACeAaDAaDaCABbADAFCACACaABCADACABDABbAaBIaACFDJCDcABACACACFCaBABaAKDABCaADBAaCABCBaAFKBaCAaBABCBABaAaBCABACABCDAFBFBABABACaBADaAKBbDAbBbABAKCABCABaABACABCAaBDaBcACAChAKFCAbCbAFeADBaCAaCAaDCBADAaBDAKCBABDAaCACDCFaCACAFaDAFDABIDAcDbBADBKADADAbBAaFACBCDCBFbDBFDdAFbABCDFDcAFBDcAFABaADFaBDBADBADACaACAFBDaABFAJCDbAFABADaADAIaBCFADaBcDBaACABCBADACACaBFDCaAaCbAICADaADBaACaDBaDBCFACAaCAaCJAcCaADBCACDeAFBFBbDBDaBbABaAFBCBFaBaABDADABACBDaACBFBFDBDaADFCAaDJbBFACBDaACBABeABFDcBDBFACBDIaACFCDABAaCaABCADIcADaBDaAFbAFABABaAaBFAFaDCDCFBCBACbABADCAFbBaAbBDCDABCbAaBJIACBcACACBCABaCAFBAFABABFDCFCbACDACaACBACABaABAFaABCaFCaAFABaCbAFAaCaAJCADaACACaAaFABAFCBAFAFCaACaABACaDaBDaCbABFBaDCACdACDCIaBADBFCAFADCDCaDaCBAcBaCbABCFBAFBaCABAFABJABCaADaADABcABCBaAaCFDACBDCDFaADaABICACADFDbACDABACAIAClAFACaBbACdABDbBJFbDBcDBCdABABCFaADcACACbACKCABCBCBABaABaCBbABaAIeAaCaAFaCBFfDCACaBbACFBFCJaIaBABIAaCFAFeACaACBACDBABCAaCFABaAaBaCcAaCFaCFDFfDCAaDBgDBFaDABCBACDIAaCBCFBJBFAaCBaAaBCAbBaAaCABACaACaAJADAbBaCcACFbBFbDFbDBbDdAIaBABCBaABABaCFADaABABABDBACBbAbBCDBCACAbBcABABAFCABACAaBDCDaABaADBdACBCBCBFBFBFDaBbDCBFaBDBaDAFBAaBCBAbBAaBaAaBaAbBDbBCAaCaAaBaCFBACbBCAaCaACaBaCACAaCACBAJbACbABACACAaCADFCbBFADCFBDBaDFDbBAIaCAFBCBAaBABCABAbBDFBAaCaBABABCADADBDeACcADABACFbACACbABABDABDFABFDBaDaBDaBDCaBCBAKaACACBADBCaBACaABCADaCaBACcBCBABCABbABaABAFCBaABAFACaACaBACaABAIBFaCaFDBaDBDACJCABAaBABCbAaBAaFaCABdACBFCAaCACaAbBcABABCaBDBDaBCICACBFAFACaBACaACaACAaBACADCAaBACABACABaCBCBAJACbAJbFaABDBCBcCADFbCBACcBABAFCDcAaBaDAaBbCDaABbCaBaACDCaAaBCdBFCDCABbACICaABADACaADBaABCFBaCFCBDbACACBDCIBCABCaBABAIDBABAFdBCDbCBAFBACJCBDBCaBaDaBaADADCbACaFCFaAFaAFcCBDABCBaAaBABAbBaFCKbABFBeDaBCaFcABDBCBABACBCBCDaCBDBCBaABFCbAFDCDbABCAdCdBCACBaCbABADABaFDBCFBAFBCBACACBaAFDBaAFCFBAaBaAFCdDbBaACAaFADABaAaCACcABaCaFAaCFBaDACABAKCFBAaCBAaBaABDaBCFBaCBAIDABFaACFCaAaBCDFBaDFDFACAaBCBCBABACAbBCBaACBCbABABCbBACBCFBABABAaBCFBDFDBaAeCDCaAFBCaBCBFBCAFcBaAFDaAaBDFDaBaCAaCBCBAICcBaABAaCACaBABCJaCaABDCDFBAaBFCaBCAICaBCABCAbCaBDaCACBADFACBaCAFACABDACBCBCBACFBbCBAFaCAFaCACBaCFaCBFABbAbBaCcBaCBCaABDCAaBAFACbBAbCACADCFACbABDFaADaCAFACAFaAFCcABDBACBADBACACADBCBADCDFBbACaAaBaDBABDABAcBABDBaAbCACIAaCBADCaDBCDaABDCDFCBDACBCaBCDcCbAaFAFBDBAaCACABFAFaAaBaABCaACAFAcDBCAaDaBDBACACbABCaAaBCaAaBaCDJBCADBABAFCFAIaABACBbADaFCBFcBACAFBaAbBIAaCBDCACAFJAaBCDFAaCAFCBDCDBCADCaBAaBDACIBaCABbAbCABCaDBACBACAFBACAFBCDBbCFcABADBcACADFDAFBDAaCbADJaCaBCJAbBbCKaADAaBAFDAJaFaADBADCABbAcDBjDABACAJFBABaADcBABbABCDCBCaDIABaADABAFbBFBCAFaACFDaAKADADACcAJcAaDABACAaFaAFAFBDBAaCADFBADJAFAFaBbACABCADFBCAFaCBKBaCBaACFdABDAaFADcADFACBADcADcABAaCDAaCADCAFBACcADFDCaADaCACABACFACADBDAFaAKeACABCaFCADAFBDCFBABCABaABDACABCACAFACADAFCAbCaAaBCfACDADaABDIAFaABaAIaACbABABADACbADAaCABDaCACACaAaBABaABdAaCAFBIaBABADBaACaBCBDADaBADAaBABAaBACAFCABCAaBACaABaCaABABbAFABaABDBCDBAaBCBaACDaAJFDADFAaCaBFACaACBAaCBDBKACAFACADaAaCADBCABAFACA1bDB1hDB3eDAFCFaBaCADAaBDCdACABACACDFCAICaFAFBCDBDaAFCBCDACbACDcBADaCBbACFBFDaBAKBaCFDCAFaAFBCBCaABDBACBaCeABCBDeACFaADbABgABeACJaAFAFBCFCDACABaCBDcACABdAIABCBABaABFaACIACDaCBCbACFBFBCaABaACaABAFaABCaABACaBDACA2qDAFaABCDACaABAFBaADaAcBDBDFBACDCAaDFBADBCIBACbBCBaDADaBDFCABDADBCBAaBACaBCaDaABCBCDCAFCDABCBABDCAaCDFaABaABCDBCbABaCABADABABACFBCABbAKBACACACFcDBDACBCBCaBaCABJaAaFaBaACaBABCeBbAcCaBaCaBABDaBDACDCbAFaCIDBAaBACADAaBcACAaCACaDBCAaBDABCAaCaAaCaAcBCBDaCDCFCABACACBFCACDBDBACFCABABbABABDaACaACaBCJCFDCAaBAFcBCBcACaFCJBJDFCaDBCFaBJDAFBCaFJaFBcABCDCABCaDaBDBaCBIAaBAFcBABDABaCBFCBDbBCdAFABCBCADABbACBFaBFCBcAcCBdACFDCBCAaJaAFCACAIDBAcCaAFABDbACACbACBACBFaACBCACACBaAbBCbABcAFABeDB1iDBfDaAaFACFJAFCACAcDeABCaAaCBCACDCAJCAKaACDFBaCBaABaACbAaBaDCdDCBACbADAFaAKACFAFKDAaCcACIACIcACaADAaDbAJbABFcAFaACBfABaDcFDFCACDaACbACAFaDABACDaAFCFBADbAChACDaADcADaACABaFCaADBcACDABCcACABaAIfABaAFACJIFbAaDBADbADCaDaBACaADCABADAbDBbACACACDAaDBDaABDADbADaCFABFDAbDFDBCBbCBCaAJCBaABaCaDABIABADACBCIaAaFDcBAbCBABbCBCBDBDCaBCBADCJaACACBCBABCBaABFBABCbBAaCbABABCFBaCBFJcBDCaBaCfACaBACFBaAbCFBDbBCcADCBaADAFbBDACaAIbACFBbDBaCABaCADACABACBACACaFBaFbBABAaBCABFBFBCBbACaACaACaACBFBaCACBFaACACbAFADfADaCBCaAaCFaAFCDFBdABaABCACaFCDaBAaCBCBaFCBAaCaBbCABaCDCACBbACaACACaBDAFAKDBDbCABCFaBFBCFCIBCaACaACADCBCaAIaFaACFCACABdAIbBCACFCAFCABaCABbACaFDbBbCFBaDFCaACBCACACAaBABAaBbCIBaCBDAFABaACdABDFCbBaCBaCaBCBFBFDBCAIBaAFAbCFBdCBCAaCaBCAaCACIACBADAaCDBFCBAaCDCaABbCABbCBCBACBDBCbACAaICABCBADABCBDaBCBaAFaBCABDbABFCfACbACbABaAaBFcCFaBaFBbDcBCaBCcABAaBCACDAaCACBCaAKCBCbBaABCBaCaACAFACKaCACbBCBACAFbCdBCBAFACBCaBCDACaACBaAaBCaIABaABCAaCBFaACBAbBaCFaBaFADBDaBFBACFCaAFbACaBCABCaBbACaBcABaABAFACAbDBDBDBCDaBCICaACABCbBCFaADBbCbBaCaAaBaAbCaAFBDBDFBFaDBIcBIAaBaCBbCFaABABACBCBCBFICACaBCBABABDaBaAFBADaBaFAFBAFAFaAaBDBCBaABbCbAaBABAaBDBcABCBCFAxDBaDB1cDBDBwDBxDB2aDBxDB1tDaAFcBFaADCAFBCFaAJAaCaABcADCBACDBIFCaACcAaCaABbABDBACDFBABDACcACBaDADBCaACcAaDbCcADaFABAFACbABCAFDAjDB1lDaACDBACBAaFKAKADCIaABCACFaDFbCAaCDaACABABcDBbABCABFBADAFAaDdADcAaFaDBABABFBABfAKFCaACFBCFCbABaCaADbADAaBaACaACFaAFBaFaBaACFcADBDCFaAFaADAJaAFaACDBaAaBcABACcAaDFCaBaABCeACDBaADBaDbAFbDaACADaBaABbADBDBADaCeAFBKbABABAJDADBAFCACAaBaCACBIACBAaBDaBACAFaBCDaABFDACaBCACADACaACBKbFDaAaDaACAJbAIABbAaFDAFaACFBACDBCBaAKCACFACACBCaAaBaAFaBCBADABAFbDBaFCAaCBCBaCABCAaBADADBbACaDAaCAFCBaACBFBaCBABAaCAbCFbACBAFBACaBaCADFbABaADBFBAeDaAFBbAFaAFCBaADBIAIbACaACADADgACBbAaFBCBABCADaAFAbBDAFaACADAbCDbADAJaFKDBKBCBaAIBCcACBCaAaJaCaAJCIBAaBDaCBbAaBCACaDbABbA1wDABaFBACAFAIBCDAaCBACAaBAaBACAFaACIBACDAkDaADdACDCaADCaABAJAFACFABCaDaBKbADBDCADCDaCaADADBDACcAaCABAaCFACJCFDCBJaABICABABIACAFCDaBAaCaACBaCABDAFCaABbACDbABaABAaCDCABACFaBA1wDcADCIACJDIDABACIADIBbABaACaACKDBACBaCDFDABCaAFBJADcBIbAaCAaBaACbAJABCAcBCKBAFCaADCAFDaCaBACIACACADdAaBJBCACIaACAaFaBADKACIaBCBCBbCaBCFaBABACBACBFBcAdBABeABFaBAFbAIBFABCACaABaABFBABDABaAbBaACA1gDBwDADJBFCFCABCBCFaCaABCAaCaACBaFDABFDBaDBFACACaACbAFDFCDFACICAFJACDaFACaACKCACAFBCDbABABCFCAaCaADaCIACACBABADaBABbAbFBACDaABAFcACFCaADaAbCDCDCACAFbBdABDADBACbABABDAaCFABACaDFaBCDFBFABCBaFCaFAaBaFAbCaFdBCAaBAFbCBaFCDCACcAFBFAaDCBDaCACaBDaBCJAFaAFaABCaFDFaBFCADaFBFaCADaBDAaCaAbDFCbFBABACFaBABCBFBCAFACBCABaCaBaFaCaFBFDACaFaDCDCFDCDFBCBACACaABFAFaACAFBbFbCFaBCFCaACFaCFaBAJAFaAaBAaCDbABCAaBCDFbCACACbBCACDaACBCACBbFbCAFBADFBACbFDaCDFBCaBCFCABCaA3yDbADABaFBaDFBCaABACDCcBDaBDCAaBcADFIDFDBFADBABCAIDAFCaAbBADIADABbFaBaABFaCDIbBFAFbCBaACACbFBCaBDaBCACaADbBCaBCaACaAcFKaBAaCAaBaABACaBFAaBFACBAcBCABaCBaAaBbFBDaCBFAbCAeBAaBAcBAaCABFADaCBaAaBaACAaCBACaACABFABaCcBCbBAaCaABACbBaCFaBCBCAFBAKABbCAKaACbBbAaBACIaBCcBADBCaBaCIbCaBAFaBCeA3fDADKFbACADaACACACBaCaBaABCJBbABaCaAaBCBbAbBDbABCaABbCACBDFaAaBbFACbAbBaAKCBCaDFeAFBACIDAFIcACADBDCABCAaDBFCaAaCABcACAIdAIBAFKDBbAIbDACAFCAJaCABAaCBDBFAFAbBCbBCaAaBABaCBAaBCIAFAFCAFBCBdCaBaAaBACADACaACACBCaBaCbAaCaBaAFaAIAFcCAFBCaAaBCBDFBAlDAIFbADaAaCBAaDAJFaAFAFBAmBFfDfFDFDFdBFbDB1dDoE44t6VbE2b6VhE1u5Q11m12BsE1tL3J1uL3i4ZgE7iLaEhL1oEjL1r11ZbEb8Ib8Jc8KeE2c11TgE2q6HgEk6HeEp1J2A1J8Ok1J1s5M8V5M1i6FjE6F1bRbE2y3VE10Mi3VcEa3V1d3FE2b3BhEm3BaEi3BaEc3B1e3F2n6NwEd6Nv3Z2dE2gLcE3a3Q1s3ZaEi3ZeE429qRkEvRcE1vR325aEcA3DaA1T3DaQA1X1TfQAQAaJAeQJ1ThQJAQJQ5KaJ1XJQAJ5KAgQAbQaAJAbQJbQAJeQRbQAHaQAaJAJAdQ3DJbQAQJQAQ1TAJ1XaQAJAbQaJ1TbQAaJQAcQJQAaQJbQ1T3DQ1TiQHbQJcQJQ1TQJbQAQA1XQJcQaAQ1TfQ1XfQA1XaQbAJAQa1XAaQAQAfQJQRaAcQAaQAQAaQAaQcAQAQaBaFHFQaFbQFeQbFQaFHQbFbQHQJaQHbAQaJQAbQHQHQHcQJQAQAiQHQHcQaAiQHQbH5oEdSaLkEd2OdEy1UEd1UE1UEa1UEa1UEi1U4iZpE13xZa10HoE2kZaE2aZ1mEaZ4WiZ4WaE8YlEa9SiAeEc4Pb8Bf4Pa8ClAa5FaAc5FmAErAEcAcEdZE5dZaELE2LeAa3SaA2LA3SjAa2LbA2L2fAUAUbA2La3T2L3T2eAR1cAbEeAaEeAaEeAaEbAbEfAEfAiEbMaLaEk1ZEy1ZEr1ZEa1ZEn1ZaEm1Z1gE4r1ZdEb5PcE1r5PbEh1Z2zMElMbEM1tE1sM4yE1b11GbE1v10PnE1a9ZcE1i6AhEb6Az10VdE1p11NdE1c6SE6S1i6BcEm6B1oE3a10R1u11W1c6DaEi6DeE1i6CcE1i6CcE1m10TgE1y5DjE5D5mE11x3XhEu3XiEg3X5uEe2IaE2IE1q2IEa2IbE2IaE2Iu5HEh5H1e11R1d5XgEh5X1uEr3UEa3UdEd3U1a6EbE6Ey5RdE5R2kE2c4AcEs4AaE1s4Ac1YEa1YdEg1YEb1YE1b1YaEb1YcEi1YfEh1YfE1e11P1e11M1eE1l5TcEk5ThE2a4XbEf4Xu5JaEg5Jr5IdEg5Iq4EfEc4EkEf4E3aE2t11Q2bE1x4DlE1x4DfEe4D13mE1dM4xE1m11OgE1o11X5cEv10UhE2y3OcE1c3OnE3O2m5LjE5LaEx6JfEi6JeE1z5EEq5EgE1l11HhE3q11VEs1NjEq5NE1q5N2lEf2RE2REc2REn2REj2ReE2f5OdEi5OeE1F2J1F2JEg1FaEa1FaEu1FEf1FEa1FEd1FEa2Jg1FaEa1FaEb1FaE1FeE1FdEf1FaEf1FbEd1F5hE3m5YEd5Y1cE2s6RgEi6R6iE2a6IaE1k6I1gE2p5UjEi5UeEl2GrE2e6OeEi6O18aE3d6UkE6U9uE2s12CgE3d11YlEo3P2d11S10bEh3AE1r3AEm3AiE1b3AbE1e3YaEu3YEm3Y2tEf2FEa2FE1q2FbE2FEa2FEh2FgEi2FeEe2KEa2KE1j2KEa2KEe2KfEi2K19wE5QnE1w6PlE6P35k3C3wE4f3CEd3CjE7m3C105qE41d10S155rE22j10E331zE21v4ZfE1d4CEi4CcEa4C3qE1c5AaEe5AiE2q2SiEi2SEf2SEt2SdEr2S26kE3l11J3vE2v4BcE2d4BfEp4B2lE5Z645kE15e5Z88sE4b2PdEl2PbEh2PfEi2PaEg2P190oE9k2ZiE1l2ZaE7k2ZtE2q2Z4qEsMkEs10BkE3hMhExM5dE3fOE2rOEaOaEOaEaOaEcOEkOEOEfOE2lOEcOaEgOEfOE1aOEcOEdOEObEfOE13aOaE11eOaE1wO78sEf2CEp2CaEf2CEa2CEd2C25jE2e6TdE6T59aE2w3LcEi3LcEa3L30dE2o11F12rEcOEzOEaOEOaEOEiOEcOEOEOeEOcEOEOEOEbOEaOEOaEOEOEOEOEOEaOEOaEcOEfOEcOEcOEOEiOEpOdEbOEdOEpO1yEaO10iEcMN1lMcE3uMkEnMaEnMEmMNE1jMiEl1BbE3n1BbEa1Wk1Ba1Wm1B1Wa1Bi1Rq1B2dEyPAa1RlEiA1RsA1RaAh1RAcEhAfEa1R6qElPbNdPNePNcPNaMhNhPN2lPNcPNtPNaMaNMbNaMaNfPNcPbNrPNPNPNbPdNdPlNkPNbPaMNPNMNoPNkPNhPNePNwPNPaNbPcNaPbNcPNuPNqPN1jPNkPNaPNdPNPNbPNgPcNmPNcPNcPbNbPcNhPNPbNPNMcPNbPcNaPNcPaN1oPgMbT1CNcPTwNfMaNaMfNPkMNaMcNaMNcMaPlMPNaMNgMaNhMNdMbNkMbNgMbNaMNMNcMNeMNbMNeMNtP1C2jP1uMfPNdPNbPNaPNbPNsPNcPNePaNPNhPdMNPbNbPaMbNcEcPeNbMNMaPbENaMNbPeNbE4kTkE3kMeEkNcEPnEkMcE2cMgEiMeE1mMgE1cMaEaM3kE1tPMiPM7bP3eMkEmMaEdNbPbNaPbEfNaPfExNfPfNfPEPbNbPgEaPfNdPcEhPfEhPfE5pME2bM1jEiM39zEHtEG1aEGfEGfEGxEG1bEGBEFXhEGlEHEHjEHxEaGBGbEGdERuEGeEHuEGEGhEGrER1pEHjED2hEHEGcEGEGtEGqEG1bEGpEGfEGeEHG1iEG1fEGwEaG1hEGcEGEGuEGfEaG1iEG1iEGyEGdEHtEGbEbG1nEHkEbGH1cEGeEGlEGrEGEG1nEGbEHaEGuEaGiEG1oEHyEG1fEGeEGaEaGoEG1xEG1iEGEGiEH1zEHfEG2qEGuEGjEHEGnEGeE2DdEGcEGHgEaGiEG1jEXbEGbEaGlEAfEG1jEG1dEB4lEH1fEG1gEG1bEH1nEG2yEH2iEH1iEGlEH2cEG2pEHzEG2cEHfEGkEG1uEG1iEGaEHfEQwEH2tEG1nEG2iEGrEHiEGyEG1nEGlEGiEGdEH2dEGnEH4hEGnEXgEaGlEHfEGeEGcEGuEGgEGnEGbEGjEGEGqEGrEGdEaGdEbGnEGpEGpEaGbEGoEGgEGdEGwEGaEGuEGDaEcGeEGnEGpEGtEGqEGgEaGqEHcGaEbGhEHuEGEGaEGfEGEaGuEGdEGiEGiEGtEGwEH1gEGcEaGaEdGcEGeEG1sEGvEHgEXdEGEfGoEGgEHGEGcEGcEGfEbGhEG1eEaGcEGyEcG1fEGgEGeEaGEaGhEGoEGqEHcEG1mEGaEG1aEGeEbGdEG1gEGiEcG1kEGgEaG1uEGkEGqEGdEcGaEGkEGlEGeEGuEGiEbGdEbGdEGbEGoEGnEbG2cEGjEGEGfEGaEGeEGdER1oEGeEG3bEG1lEH2eEGHpEGdEH1cEHeEHGoERyEaGeEG1kEHjEGHwEHGbEcGtEHyEXbEGhEH1uEaGvEGhEGEDEG1lEHaG1kEGoEGsEBaEGlEGyEGqEGEaGvEaHzEGkEG1cEG1vEGsEG4pEGiEGpEREG2kEF1wEGgEGdEG1iEGgEHxEG1uEG1fEHbEGEGdEbGoEGEGhEGeEbGpEbGEGfEHeEGaEGtEGRqEbGdEHsEGsEeGEaG2aEGcEeGlEGbEGpEcGaEGnEGdEaGEdG1hEGfEbGaEGjEbGcEGcEGkEGjEGaEcGqEGbEGfEbGwEdGyEHaGpEGcEcG1eEGgEbGiEbGaEGeEGdEGcEGrEGgEGrEGpEGpEGbEGaEGcEGlEG1qEHvEGvEG1kEHqEGeEGoEGdEGvEG8oEG4sEaG3xEG1pEHxEG1vEGaEGeEG4wEHvEHGkEGiEGbEHtEHvEGEHhEHcEHsEGHaEGnEGeEGmEHiEGlEG1gEGeEGnEaHaEGdEG2vEGyEGbEG1dEGkEG2dEGdEGgEH2hERlEGjEH1lEGaEG2qEGpEH2uEGbEG1yEGzEG1qEG1yEG1rEG1uEGvEGeEGH1jEG1dEGEG2oEGnEH3tEG6dEHaEGbEG5dEHnEGqEGeEG1gEG4aEGjEGxEGdEG1cE2DjEGcEGfEGaEG1eE2D1jEGfEGsEG1hEG2cEG1fEGmEG2uEHpEaGmEG2gEGpEGzEGEG3kEHbGzEGEGeEGbEGiEG2uEGjEGsEG1bEaGvEG1zEG3hEHbEaGoEG2dEHEGrEG1zEG1sEGqEGtE2DvEGbEGsEGmEFbEG8aEG3bEHuEGdEGoEGEG1jEGrEG1aEGbEGaEHgEaHxEG2fEH1hEGbEG2yEHeEHEaGoEGrEGcEGbEGkEGkERwEGqEGdEGfEGgEGcEGiEGbEGaEG2hEaGhEG1vEGfEGyEG1jEGfEGiEGaEaGqEG1nEHkEG1cEG1mEGjEX1zEGqEG1lEG1qERmEG5aEG3hEGuEGfEH2rEGoEGeEGyEGuEaGnEG1mEGcEG1bEG1gERdEG2dEG2jEGcEG1fEaGlEGaEHkEaHbEaG1eEGiEHEbGtEGtEGhEGEcG1fEGfEGbEG1cEGfEaG1eEbG1iEGlEaG1cEGhEGsEG1hER1sEH2lEGvEXbEHEaHEHcEHbEGHcEHEGlEaGbEaGbEXEG2iEGiEaHcEGHrEHhEGaEG4hEHG1xEGuEG1eEGgEXkEG1qEHGbEGaEG1cEGgEHeEDEbG1hEGkEGuEGaEG1bEbHRGbEGeEHpEGdEGvEGuEGnEGfEGeEGkEG1iEGmEGsEGgEHhEGdEHbEGkEGEGnEX1hEaHEGyEG1eEGxEGdEGqEbGnEHhEHlEH1iEHtEGaEH14wEG8dEHmEG1vEREGqEGjEG1dEG2jEG10cEGzEHvEaDbGxEGEGeEHgEbG1wEaGXGHlEH1vEXyEG1gEGoEG1kEgGtEHnEGsEGaHjEGiEGpEDgEeGfEG2yEcG1rEGdEGvEG1dEeG2cEGjEGgEGuEG1aEHcGkEG1iEGaEGgEGcEG1jEeG1eEG1lEdGlEHjEG1rEGdEbGbEGcEH1wEGvEGiEGuEHGiEGhEG1jEaGbEGhEGeEbGcEGaEGEGtEGaEG1mEbGeEGgEGoEHeEGsEGxEGEFnEDkEG1tEGiEGaEG1aEbGjEGmEGEGnEGxEGEGfEaG1hEXaERgEGqEGkEGxEGrEGxEcG1kEGhEGdEGR1cEHGbEGmEHwEaGfEGdEGjEG1uEaG1hEaGvEGrEaG1uEGaEGpEGcEGaEG1sEGzEG3gEG2zEG2zEGoEHG2eEGmEG1gEGlEH1sEG1vEG1cEGhEG3pEG3aEGoEH1eEGoEG3oEGrEH3cEAeE2DbGfEGbEbGiEGhEaGEGtEGbEaGhEeG1cEaGoEbGcEGbEGaEGdEgGcEGnEGaEGEGEbGhEdGhEGiEGhEGDaEaGbEGEGeEaGgEcGEGdEKkEGbE2DGEGjEiGrEGbEGaEGcEGaEHcGjEGfEbGhEGdEcGaEDmEGeEcGlEcGhEbGeEbGbEGeEGEDGeEGlEGaEGeEG1jEG2qEHvEGH5bEGrEGkEH5dEaG1nEGnEG1qEGkEGH6fEG1vEaGwEHhEH1mEHbEGsEGxEH1eEHxEGEG3wEG2xEG1jEGbEGoEGaEGmEGmEGhEG1tEH2dEG1bEHfEGaEQ2rEG5aEHgEG1aEG1yEaG1oEH1hEXtEGEHaG2aEHEaG1oEHbEG2sEG1rEGoEG1zEGaEGEG1oER4mER2sERyEGjEGgEHaGtEG1jEGEG1dEHjEG2iEH1yEH1gEGDaEGhEGzEcGbEBaEaGyEGaEGiEGvEHDoEGzEGdEGcEG1iEG1tEGzEG1rEHbEGpEG2xEGqEGnEGuEGfEGvEG1xEHG2aEHiEHqEGvEbG3aERfER1aEGdEGsEGEQ3dEGtEGaEG1fEG2mEGnEG1fER1xEGvEHfEXfEH4vEG2kEGeEGpEaG1lEAjEaHcEGfEH4yEGsEGlERyEHaGpEG1bEGbEGwEGcEGyEG1mEGHwEHG1pEGqEGzEaG2gEG1fEGnEGqEG3fEGfEHvEG3eEG1dEHtERcEGkEHjEHaEHzEbG1gEGtEGdEHsEBXnEH1vEGgEH1lEGoEH4nEHjEHaGwEHoEHiEHhEGfEG1cEGmERgEHbEG1cEGrEGkEaG2rEHsEG1cEG2bEcG3aEaGbEG1oEG2nEDH1zEGgEGgEXGcEHtEH2tEG3uEGtEGXcEG4cEG2aEGaEGhEXlEbG2bEG1cEGyEGbEaGbEBiEG4pEG3pEG1rEGbERgEGpEG3cEGrEG2zEDfEH1uEGHGbEG1iEGlEGrEGxEGeEH1hEG2eED1aEGxEaGvEGjER2nEG1nEGvEGnEGxEGEGgEG1xEGtEHkEH1hEGaEGsEGqEGvEA1bEH1nEHmEGkEG1lEHsEGfEG1hEHmEaGdEGlEGmEaGdEH1xEH1oEH2rEHdEGcEGgEGEGlEGcEG1lEcGfEGDwEGkEGrEaGdEGtEGkEG2aEG1nEBfEHuEaGcEG1qEHiEdGzEHdEGqEaGcEGaEGaEGlEGjEH2oEhG1kEG1gEG1pEgGeEG1rEGlEaGcEGnEGcEGEGiEG1rEHEcG1dEHgEGbEGcEGkEGbEGaEGlEG2aEgG2yEG2wEaG1dEHiEGEG1aEG1dEaGuEbHtEG2gEGeEaG1yEG1iEbG1bEGcEG1bEGbEHbEGoEGaEGXwEaGpEHiER1dEaGnEG3hEG2xEG2vEGwEGcEGdEG1kEGbEG1tEG4bEG2rEG2jEaH1gEHGoEHpEG1kEHeEG1xEGEG9bEG1sEG2gEGbEGwEaGRfEGcEGfEaHnERjEHGeEGzEbG1qEHmEHG4pEHGrEHpEaGiEGoEHjEG1jEaG2qEG5hEGvEG1qEGsEAtEG3lEG2mEGqEGiEHyEGrEH1mEG1dEGkEGbEG1tEGqEREGdEG1dEGiEX2cEaG1zEGlERbEGcEGkEG1dEbGlEG1aEG2xEHiEHgEH1lEGcEG1bEG1nEH1tEG2oEGeEHkEG1nER2jEG1hEaGpEGkEXoEGiEGgEGfEH1aEG1cEG1xEH2gEGEG1rER1vEF4bERqEG5eEA2lEBgEGeEGsEGcEaG1hEG2eEGeEHdEG1oEHEaG1nEaGiEG2dEG1eEGlEGpEGxEG1jEGkEG2uEGoEGEG2fEG1eEHcEGdEHwEG1vEGsEGoEHqEGpEGuEGiEG1oEGfEGnEGkEG2mEH1mERpEDbEHdEG2mEHqEGbEGeEGmEG3jEQ1iEG2eEaG1rEHG3lEaH1cEGjEGjEGiEGxEGtEG2gED1aEDsEaGeEGhEGyEHGlEGrEHsEGbEG7uED1hEG1kEG8pEG1jEGqEHEGXkEGlEGbEGaEHaGoEGgEaHG1cEGEaGkEGEaHGbEGzEGEGaEGEaGaEaGoEcGqEGeEGfEHeEGbEXgEGbEGkEHgGlEaGuEHnEbGtEHbG1hEGdEGcEaGHGmEHeGHGcEGpEGnEGeEGlEaGgEbGEGuEGaEDaEGEGEGqEcGdEG1gEGhEGaEaGzEGfEHGaEGmEGaEGEaGkEeGaEHdEGhEGbEGdEGqEaGdEGaEGcEGcEGgEGEGjEDfEDEDaED4lEGaEGcEGiEH1wEH1hEG2gEHwERmEGfERvEG2lEHrEAfEHfEHuEXaEG1pEaG1gEHlEGEDqEGdEaG1jEGlEGbEHiEH2fEH5oEG1wEH4wEGmEGaEGfEGzEbGmEG1hEaGeEaG1dEGaEG1pEGoEGlEGaEGpEG1pEGjEG1qE2DlERfEG6wEHoEH13xEGaEGqEGjEGgEG2rEH2jEGgEaGbEReEGEG1fER5qEGpEGfEGuEHfEGpEGiEG5gEA4gEH1mEHeEGpEG1bEH4zEG2fEA1oERzEG2wEG1fEHiEGwEGeEGgEGgEGEG1nEGtEGEbGrEGkEG1wEG1jEGdEG3oEG1iEG1iEH5oEGgEG7oEG5zEG2dEG5mEGkEHmEG1fEGzEGaEG2jEHyEGnEGmEHvEGnEHjEH1cEG1fEH1fEGbEGqEGHuEHlEHmEG1oEGkEG2xEDcEDgED1oEGuEHgEHeEG1zEGdEHsEH3cEHcEG1vEG1lEGjEGdEGcEGHcEGgEGzEGnEaGzEG2jEHEaGvEGgEaG1nEGtEG1oEGqEG3pEGjEGlERcEXEGEGbEGaEG1fEG1dEG3bEG2eEH1aEG2nEG2qEGaEH1hEG4kER9jEGcEG1jEHnEGHvEHvEGvEGoEGgER2oEGgEH11kED10xEDzED7wEH2tEDdED1fED35wEG16aED14wEaDmEaD6wED10mED3sEDjEDaEDiED5cEDjEDaED2xED5bEDfEDeEDaEDrEaD1lED4nEaDbED1xEDkED1lEaDgEbDEDED3yEaDuED2jED3iEHiEHEHeEHEHgEHoEaHcEHdEHeEHEHaEHdEHsEDaEHaEHlEHfEDbEHdEHaEHdEHlEDhEHgEDaEDhEDbEDaEHhEHaEHED5xED20eED5tEDaEDxEDeED5tED13hEDnED4fED1vED19pEaD4uED1eED2uER7hEDbED1dED4yEDjEDzED4iED2nEDdEDaED11dEDjEDaED6mED7yEDcEDgEDfEDEbDEDqEDfEaD8oEDaED4fED1fEDpER1nED8jEDcEDaEDpEDrEDaEDqED8sEDjED4eED1pED4vEDbEaDaEDeEaDEDbEDEDgEDbEDjEaDgEDcEDaEDaEDbEDaEDEDbED1yEDlEaDlED5dEDgED5rEaDeEDEDaEaDeED4wEDEDEaDmEaDfEDcEaD1kED2mEDEDgEDaEDbED3bEDjEDiED65uEA129xEH28wEQ14sEH168hEHiEHdEQaEQEQfEHaEGaEHbEQeEQfEGbEHGdEHjEQnEQiEHdEHbEQGjEJnEGcEaHjEXdEHdEQbEFuEGdEHfEXHcEHbEHcEHaEQmEQeEHfEHbEHiEHdEQH1hEHEH1iEQ1lEGH1aEGhEGrEQbEGhEHQsEH129yER75tE6G1X15fEC27566vEiP1lEyPcEP4769jEiP31vEPEiP2754sE", value, t3); _this.__FontFallbackManager_codePointToComponents_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__FontFallbackManager_codePointToComponents_FI = result; value = result; } component = value.lookup$1(codePoint); if (component.get$_activeFonts().length === 0) missingCodePoints.push(codePoint); else { if (component.coverCount === 0) requiredComponents.push(component); ++component.coverCount; } } for (t2 = requiredComponents.length, _i = 0; _i < requiredComponents.length; requiredComponents.length === t2 || (0, A.throwConcurrentModificationError)(requiredComponents), ++_i) { component = requiredComponents[_i]; for (t4 = component.get$_activeFonts(), t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) { font = t4[_i0]; if (font.coverCount === 0) candidateFonts.push(font); font.coverCount = font.coverCount + component.coverCount; font.coverComponents.push(component); } } selectedFonts = A._setArrayType([], t1); for (; candidateFonts.length !== 0;) { selectedFont = _this._selectFont$1(candidateFonts); selectedFonts.push(selectedFont); for (t1 = A.List_List$of(selectedFont.coverComponents, true, t3), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { component = t1[_i]; for (t4 = component.get$_activeFonts(), t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0) { font = t4[_i0]; font.coverCount = font.coverCount - component.coverCount; B.JSArray_methods.remove$1(font.coverComponents, component); } component.coverCount = 0; } if (!!candidateFonts.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(candidateFonts, new A.FontFallbackManager_findFontsForMissingCodePoints_closure(), true); } t1 = _this.__FontFallbackManager_downloadQueue_F; t1 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.forEach$1(selectedFonts, t1.get$add(t1)); if (missingCodePoints.length !== 0) if (t1.pendingFonts.__js_helper$_length === 0) { $.$get$printWarning().call$1("Could not find a set of Noto fonts to display all missing characters. Please add a font asset for the missing characters. See: https://flutter.dev/docs/cookbook/design/fonts"); _this.codePointsWithNoKnownFont.addAll$1(0, missingCodePoints); } }, _selectFont$1(fonts) { var t1, maxCodePointsCovered, bestFont, _i, font, t2, bestFont0, _this = this, bestFonts = A._setArrayType([], type$.JSArray_NotoFont); for (t1 = fonts.length, maxCodePointsCovered = -1, bestFont = null, _i = 0; _i < fonts.length; fonts.length === t1 || (0, A.throwConcurrentModificationError)(fonts), ++_i) { font = fonts[_i]; t2 = font.coverCount; if (t2 > maxCodePointsCovered) { B.JSArray_methods.clear$0(bestFonts); bestFonts.push(font); maxCodePointsCovered = font.coverCount; bestFont = font; } else if (t2 === maxCodePointsCovered) { bestFonts.push(font); if (font.index < bestFont.index) bestFont = font; } } if (bestFonts.length > 1) if (B.JSArray_methods.every$1(bestFonts, new A.FontFallbackManager__selectFont_closure(_this))) { t1 = self.window.navigator.language; if (t1 === "zh-Hans" || t1 === "zh-CN" || t1 === "zh-SG" || t1 === "zh-MY") { bestFont0 = _this._notoSansSC; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } else if (t1 === "zh-Hant" || t1 === "zh-TW" || t1 === "zh-MO") { bestFont0 = _this._notoSansTC; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } else if (t1 === "zh-HK") { bestFont0 = _this._notoSansHK; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } else if (t1 === "ja") { bestFont0 = _this._notoSansJP; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } else if (t1 === "ko") { bestFont0 = _this._notoSansKR; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } else { bestFont0 = _this._notoSansSC; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } } else { bestFont0 = _this._notoSymbols; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; else { bestFont0 = _this._notoSansSC; if (B.JSArray_methods.contains$1(bestFonts, bestFont0)) bestFont = bestFont0; } } bestFont.toString; return bestFont; }, _decodeFontComponents$1(data) { var t2, t3, _i, t1 = A._setArrayType([], type$.JSArray_FallbackFontComponent); for (t2 = data.split(","), t3 = t2.length, _i = 0; _i < t3; ++_i) t1.push(new A.FallbackFontComponent(this._decodeFontSet$1(t2[_i]))); return t1; }, _decodeFontSet$1(data) { var t1, t2, previousIndex, prefix, i, code, index, result = A._setArrayType([], type$.JSArray_NotoFont); for (t1 = data.length, t2 = this.fallbackFonts, previousIndex = -1, prefix = 0, i = 0; i < t1; ++i) { code = data.charCodeAt(i); if (97 <= code && code < 123) { index = previousIndex + (prefix * 26 + (code - 97)) + 1; result.push(t2[index]); previousIndex = index; prefix = 0; } else if (48 <= code && code < 58) prefix = prefix * 10 + (code - 48); else throw A.wrapException(A.StateError$("Unreachable")); } return result; } }; A.FontFallbackManager$__closure.prototype = { call$1(font) { return font.name === "Noto Sans SC"; }, $signature: 187 }; A.FontFallbackManager$__closure0.prototype = { call$1(font) { return font.name === "Noto Sans TC"; }, $signature: 187 }; A.FontFallbackManager$__closure1.prototype = { call$1(font) { return font.name === "Noto Sans HK"; }, $signature: 187 }; A.FontFallbackManager$__closure2.prototype = { call$1(font) { return font.name === "Noto Sans JP"; }, $signature: 187 }; A.FontFallbackManager$__closure3.prototype = { call$1(font) { return font.name === "Noto Sans KR"; }, $signature: 187 }; A.FontFallbackManager$__closure4.prototype = { call$1(font) { return font.name === "Noto Sans Symbols"; }, $signature: 187 }; A.FontFallbackManager_addMissingCodePoints_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.$this; t1._ensureFallbackFonts$0(); t1._scheduledCodePointCheck = false; t1 = t1.__FontFallbackManager_downloadQueue_F; t1 === $ && A.throwUnnamedLateFieldNI(); $async$goto = 2; return A._asyncAwait(t1.waitForIdle$0(), $async$call$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 19 }; A.FontFallbackManager_findFontsForMissingCodePoints_closure.prototype = { call$1(font) { return font.coverCount === 0; }, $signature: 187 }; A.FontFallbackManager__selectFont_closure.prototype = { call$1(font) { var t1 = this.$this; return font === t1._notoSansSC || font === t1._notoSansTC || font === t1._notoSansHK || font === t1._notoSansJP || font === t1._notoSansKR; }, $signature: 187 }; A._UnicodePropertyLookup.prototype = { get$length(_) { return this._boundaries.length; }, lookup$1(value) { var start, mid, t1 = this._boundaries, end = t1.length; for (start = 0; true;) { if (start === end) return this.__engine$_values[start]; mid = start + B.JSInt_methods._tdivFast$1(end - start, 2); if (value >= t1[mid]) start = mid + 1; else end = mid; } } }; A.FallbackFontDownloadQueue.prototype = { waitForIdle$0() { var t1 = this._idleCompleter; if (t1 == null) return A.Future_Future$value(null, type$.void); else return t1.future; }, add$1(_, font) { var t1, t2, _this = this; if (_this.downloadedFonts.contains$1(0, font) || _this.pendingFonts.containsKey$1(0, font.url)) return; t1 = _this.pendingFonts; t2 = t1.__js_helper$_length; t1.$indexSet(0, font.url, font); if (_this._idleCompleter == null) _this._idleCompleter = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void); if (t2 === 0) A.Timer_Timer(B.Duration_0, _this.get$startDownloads()); }, startDownloads$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, t3, t4, t5, _i, downloads, downloadedFontFamilies; var $async$startDownloads$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start downloads = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Future_void); downloadedFontFamilies = A._setArrayType([], type$.JSArray_String); for (t1 = $async$self.pendingFonts, t2 = t1.get$values(0), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t4 = type$.void, t3 = t3._rest[1]; t2.moveNext$0();) { t5 = t2.__internal$_current; if (t5 == null) t5 = t3._as(t5); downloads.$indexSet(0, t5.url, A.Future_Future(new A.FallbackFontDownloadQueue_startDownloads_closure($async$self, t5, downloadedFontFamilies), t4)); } $async$goto = 2; return A._asyncAwait(A.Future_wait(downloads.get$values(0), t4), $async$startDownloads$0); case 2: // returning from await. B.JSArray_methods.sort$0(downloadedFontFamilies); for (t2 = downloadedFontFamilies.length, t3 = $async$self.fallbackManager, t4 = t3.globalFontFallbacks, _i = 0; _i < downloadedFontFamilies.length; downloadedFontFamilies.length === t2 || (0, A.throwConcurrentModificationError)(downloadedFontFamilies), ++_i) { t5 = t1.remove$1(0, downloadedFontFamilies[_i]); t5.toString; t5 = t5.name; if (t5 === "Noto Color Emoji" || t5 === "Noto Emoji") if (B.JSArray_methods.get$first(t4) === "Roboto") B.JSArray_methods.insert$2(t4, 1, t5); else B.JSArray_methods.insert$2(t4, 0, t5); else t4.push(t5); } $async$goto = t1.__js_helper$_length === 0 ? 3 : 5; break; case 3: // then t3.registry.fontCollection.registerDownloadedFonts$0(); A.sendFontChangeMessage(); t1 = $async$self._idleCompleter; t1.toString; $async$self._idleCompleter = null; t1.complete$0(0); // goto join $async$goto = 4; break; case 5: // else $async$goto = 6; return A._asyncAwait($async$self.startDownloads$0(), $async$startDownloads$0); case 6: // returning from await. case 4: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$startDownloads$0, $async$completer); } }; A.FallbackFontDownloadQueue_startDownloads_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, url, e, t1, t2, exception, $async$exception; var $async$call$0 = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; t1 = $async$self.font; t2 = t1.url; url = "https://fonts.gstatic.com/s/" + t2; $async$goto = 7; return A._asyncAwait($async$self.$this.fallbackManager.registry.loadFallbackFont$2(t1.name, url), $async$call$0); case 7: // returning from await. $async$self.downloadedFontFamilies.push(t2); $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; e = A.unwrapException($async$exception); t1 = $async$self.font; t2 = t1.url; $async$self.$this.pendingFonts.remove$1(0, t2); $.$get$printWarning().call$1("Failed to load font " + t1.name + " at " + t2); $.$get$printWarning().call$1(J.toString$0$(e)); // goto return $async$goto = 1; break; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally $async$self.$this.downloadedFonts.add$1(0, $async$self.font); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 19 }; A.FontAsset.prototype = {}; A.FontFamily.prototype = {}; A.FontManifest.prototype = {}; A.fetchFontManifest_closure.prototype = { call$1(accumulated) { if (accumulated.length !== 1) throw A.wrapException(A.AssertionError$(string$.There_w)); this._box_0.fontManifestJson = B.JSArray_methods.get$first(accumulated); }, $signature: 3105 }; A.fetchFontManifest_closure0.prototype = { call$1(chunk) { return this.inputSink.add$1(0, chunk); }, $signature: 924 }; A.fetchFontManifest_closure1.prototype = { call$1(fontFamilyJson) { var t1, familyName; type$.Map_String_dynamic._as(fontFamilyJson); t1 = J.getInterceptor$asx(fontFamilyJson); familyName = A._asString(t1.$index(fontFamilyJson, "family")); t1 = J.map$1$1$ax(type$.List_dynamic._as(t1.$index(fontFamilyJson, "fonts")), new A.fetchFontManifest__closure(), type$.FontAsset); return new A.FontFamily(familyName, A.List_List$of(t1, true, A._instanceType(t1)._eval$1("ListIterable.E"))); }, $signature: 3135 }; A.fetchFontManifest__closure.prototype = { call$1(fontAssetJson) { var asset, t2, t3, t4, t1 = type$.String, descriptors = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = J.get$entries$x(type$.Map_String_dynamic._as(fontAssetJson)), t1 = t1.get$iterator(t1), asset = null; t1.moveNext$0();) { t2 = t1.get$current(t1); t3 = t2.key; t4 = J.$eq$(t3, "asset"); t2 = t2.value; if (t4) { A._asString(t2); asset = t2; } else descriptors.$indexSet(0, t3, A.S(t2)); } if (asset == null) throw A.wrapException(A.AssertionError$("Invalid Font manifest, missing 'asset' key on font.")); return new A.FontAsset(asset, descriptors); }, $signature: 3211 }; A.FontLoadError.prototype = {}; A.FontNotFoundError.prototype = { get$message(_) { return "Font asset not found at url " + this.url + "."; } }; A.FontDownloadError.prototype = { get$message(_) { return "Failed to download font asset at url " + this.url + " with error: " + A.S(this.error) + "."; } }; A.FontInvalidDataError.prototype = { get$message(_) { return "Invalid data for font asset at url " + this.url + "."; } }; A.AssetFontsResult.prototype = {}; A.FrameReference.prototype = { get$value(receiver) { return this.value; } }; A.CrossFrameCache.prototype = { commitFrame$0() { var t2, t3, t4, _this = this, t1 = _this._reusablePool; if (t1 != null) for (t1 = t1.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; for (t3 = J.get$iterator$ax(t3 == null ? t2._as(t3) : t3); t3.moveNext$0();) { t4 = t3.get$current(t3); t4.evictCallback.call$1(t4.value); } } _this._reusablePool = _this._cache; _this._cache = null; }, _addToCache$2(key, item) { var t2, _this = this, t1 = _this._cache; if (t1 == null) t1 = _this._cache = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, _this.$ti._eval$1("List<_CrossFrameCacheItem<1>>")); t2 = t1.$index(0, key); if (t2 == null) { t2 = A._setArrayType([], _this.$ti._eval$1("JSArray<_CrossFrameCacheItem<1>>")); t1.$indexSet(0, key, t2); t1 = t2; } else t1 = t2; t1.push(item); }, reuse$1(key) { var items, item, t1 = this._reusablePool; if (t1 == null) return null; items = t1.$index(0, key); if (items == null || items.length === 0) return null; item = (items && B.JSArray_methods).removeAt$1(items, 0); this._addToCache$2(key, item); return item.value; } }; A._CrossFrameCacheItem.prototype = { get$value(receiver) { return this.value; } }; A.PersistedBackdropFilter.prototype = { get$childContainer() { return this._childContainer; }, adoptElements$1(oldSurface) { var _this = this; _this.super$PersistedSurface$adoptElements(oldSurface); _this._childContainer = oldSurface._childContainer; _this._filterElement = oldSurface._filterElement; _this._svgFilter = oldSurface._svgFilter; oldSurface._childContainer = null; }, createElement$0(_) { var t1, _this = this, _s16_ = "transform-origin", element = _this.defaultCreateElement$1("flt-backdrop"); A.DomCSSStyleDeclarationExtension_setProperty(element.style, _s16_, "0 0 0"); t1 = A.DomDocumentExtension_createElement(self.document, "flt-backdrop-interior"); _this._childContainer = t1; A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "position", "absolute"); t1 = _this.defaultCreateElement$1("flt-backdrop-filter"); _this._filterElement = t1; A.DomCSSStyleDeclarationExtension_setProperty(t1.style, _s16_, "0 0 0"); t1 = _this._filterElement; t1.toString; element.append(t1); t1 = _this._childContainer; t1.toString; element.append(t1); return element; }, discard$0() { var _this = this; _this.super$PersistedContainerSurface$discard(); $._flutterViewEmbedder.removeResource$1(_this._svgFilter); _this._filterElement = _this._childContainer = _this._svgFilter = null; }, apply$0() { var t1, t2, r, dpr, rect, left, $top, width, height, parentSurface, activeClipBounds, filterElementStyle, _this = this, backendFilter = type$.EngineImageFilter._as(_this.filter); $._flutterViewEmbedder.removeResource$1(_this._svgFilter); _this._svgFilter = null; t1 = _this._previousTransform; t2 = _this.transform; if (t1 != t2) { t2.toString; r = new A.Matrix4(new Float32Array(16)); if (r.copyInverse$1(t2) === 0) A.throwExpression(A.ArgumentError$value(t2, "other", "Matrix cannot be inverted")); _this.__PersistedBackdropFilter__invertedTransform_A = r; _this._previousTransform = _this.transform; } $._window.toString; dpr = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (dpr == null) { t1 = self.window.devicePixelRatio; dpr = t1 === 0 ? 1 : t1; } t1 = _this.__PersistedBackdropFilter__invertedTransform_A; t1 === $ && A.throwUnnamedLateFieldNI(); rect = A.transformRectWithMatrix(t1, new A.Rect(0, 0, $._window.get$physicalSize()._dx * dpr, $._window.get$physicalSize()._dy * dpr)); left = rect.left; $top = rect.top; width = rect.right - left; height = rect.bottom - $top; parentSurface = _this.parent; for (; parentSurface != null;) { if (parentSurface.get$isClipping()) { activeClipBounds = _this._activeClipBounds = parentSurface.localClipBounds; left = activeClipBounds.left; $top = activeClipBounds.top; width = activeClipBounds.right - left; height = activeClipBounds.bottom - $top; break; } parentSurface = parentSurface.parent; } filterElementStyle = _this._filterElement.style; A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "left", A.S(left) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "top", A.S($top) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "width", A.S(width) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "height", A.S(height) + "px"); t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_2) { A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "background-color", "#000"); A.DomCSSStyleDeclarationExtension_setProperty(filterElementStyle, "opacity", "0.2"); } else { if (t1 === B.BrowserEngine_1) { t1 = _this._filterElement; t1.toString; A.setElementStyle(t1, "-webkit-backdrop-filter", backendFilter.get$filterAttribute()); } t1 = _this._filterElement; t1.toString; A.setElementStyle(t1, "backdrop-filter", backendFilter.get$filterAttribute()); } }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (!_this.filter.$eq(0, oldSurface.filter)) _this.apply$0(); else _this._checkForUpdatedAncestorClipElement$0(); }, _checkForUpdatedAncestorClipElement$0() { var parentSurface = this.parent; for (; parentSurface != null;) { if (parentSurface.get$isClipping()) { if (!J.$eq$(parentSurface.localClipBounds, this._activeClipBounds)) this.apply$0(); break; } parentSurface = parentSurface.parent; } }, retain$0() { this.super$PersistedContainerSurface$retain(); this._checkForUpdatedAncestorClipElement$0(); }, $isBackdropFilterEngineLayer0: 1 }; A.BitmapCanvas.prototype = { set$bounds(_, newValue) { var newCanvasPositionX, newCanvasPositionY, _this = this; _this._bounds = newValue; newCanvasPositionX = B.JSNumber_methods.floor$0(newValue.left) - 1; newCanvasPositionY = B.JSNumber_methods.floor$0(_this._bounds.top) - 1; if (_this._canvasPositionX !== newCanvasPositionX || _this._canvasPositionY !== newCanvasPositionY) { _this._canvasPositionX = newCanvasPositionX; _this._canvasPositionY = newCanvasPositionY; _this._updateRootElementTransform$0(); } }, _updateRootElementTransform$0() { A.DomCSSStyleDeclarationExtension_setProperty(this.rootElement.style, "transform", "translate(" + this._canvasPositionX + "px, " + this._canvasPositionY + "px)"); }, _setupInitialTransform$0() { var _this = this, t1 = _this._bounds, t2 = t1.left; t1 = t1.top; _this._canvasPool.translate$2(0, -t2 + (t2 - 1 - _this._canvasPositionX) + 1, -t1 + (t1 - 1 - _this._canvasPositionY) + 1); }, doesFitBounds$2(newBounds, newDensity) { return this.widthInBitmapPixels >= A.BitmapCanvas_widthToPhysical(newBounds.right - newBounds.left) && this.heightInBitmapPixels >= A.BitmapCanvas_heightToPhysical(newBounds.bottom - newBounds.top) && this._density === newDensity; }, dispose$0() { this._canvasPool.dispose$0(); }, clear$0(_) { var t1, len, t2, i, child, _this = this; _this._contains3dTransform = false; _this._canvasPool.clear$0(0); t1 = _this.__engine$_children; len = t1.length; for (t2 = _this.rootElement, i = 0; i < len; ++i) { child = t1[i]; if (J.$eq$(child.parentNode, t2)) child.remove(); } B.JSArray_methods.clear$0(t1); _this._childOverdraw = false; _this._cachedLastCssFont = null; _this._setupInitialTransform$0(); }, save$0(_) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$save(0); if (t1.__engine$_canvas != null) { t1.get$context(0).save(); ++t1._saveContextCount; } return this._saveCount++; }, restore$0(_) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$restore(0); if (t1.__engine$_canvas != null) { t1.get$context(0).restore(); t1.get$contextHandle().reset$0(0); --t1._saveContextCount; } --this._saveCount; this._cachedLastCssFont = null; }, translate$2(_, dx, dy) { this._canvasPool.translate$2(0, dx, dy); }, scale$2(_, sx, sy) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$scale(0, sx, sy); if (t1.__engine$_canvas != null) A.callMethod(t1.get$context(0), "scale", [sx, sy]); }, rotate$1(_, radians) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$rotate(0, radians); if (t1.__engine$_canvas != null) A.callMethod(t1.get$context(0), "rotate", [radians]); }, transform$1(_, matrix4) { var t1; if (A.transformKindOf(matrix4) === B.TransformKind_2) this._contains3dTransform = true; t1 = this._canvasPool; t1.super$_SaveStackTracking$transform(0, matrix4); if (t1.__engine$_canvas != null) A.DomCanvasRenderingContext2DExtension_transform(t1.get$context(0), matrix4[0], matrix4[1], matrix4[4], matrix4[5], matrix4[12], matrix4[13]); }, clipRect$2(rect, clipOp) { var path, t2, t1 = this._canvasPool; if (clipOp === B.ClipOp_0) { path = A.SurfacePath$(); path._fillType = B.PathFillType_1; t2 = this._bounds; path.addRectWithDirection$3(new A.Rect(0, 0, 0 + (t2.right - t2.left), 0 + (t2.bottom - t2.top)), 0, 0); path.addRectWithDirection$3(rect, 0, 0); t1.clipPath$1(0, path); } else { t1.super$_SaveStackTracking$clipRect(rect); if (t1.__engine$_canvas != null) t1.__engine$_clipRect$2(t1.get$context(0), rect); } }, clipRRect$1(rrect) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$clipRRect(rrect); if (t1.__engine$_canvas != null) t1.__engine$_clipRRect$2(t1.get$context(0), rrect); }, clipPath$1(_, path) { this._canvasPool.clipPath$1(0, path); }, _useDomForRenderingFill$1(paint) { var t1, _this = this; if (_this._preserveImageData) return false; if (!_this._renderStrategy.isInsideSvgFilterTree) if (!_this._contains3dTransform) t1 = _this._childOverdraw && _this._canvasPool.__engine$_canvas == null && paint.maskFilter == null && paint.shader == null && paint.style !== B.PaintingStyle_1; else t1 = true; else t1 = true; return t1; }, _useDomForRenderingFillAndStroke$1(paint) { var t1, _this = this; if (_this._preserveImageData) return false; t1 = _this._renderStrategy; if (!t1.isInsideSvgFilterTree) if (!_this._contains3dTransform) t1 = (_this._childOverdraw || t1.hasImageElements || t1.hasParagraphs) && _this._canvasPool.__engine$_canvas == null && paint.maskFilter == null && paint.shader == null; else t1 = true; else t1 = true; return t1; }, drawLine$3(p1, p2, paint) { var path, shaderBounds, t1, ctx, t2, t3, t4, t5, t6, t7; if (this._useDomForRenderingFill$1(paint)) { path = A.SurfacePath$(); path.moveTo$2(0, p1._dx, p1._dy); path.lineTo$2(0, p2._dx, p2._dy); this.drawPath$2(path, paint); } else { shaderBounds = paint.shader != null ? A.Rect$fromPoints(p1, p2) : null; t1 = this._canvasPool; t1.get$contextHandle().setUpPaint$2(paint, shaderBounds); ctx = t1.get$context(0); ctx.beginPath(); shaderBounds = t1.get$contextHandle()._shaderBounds; t2 = p1._dx; t3 = p1._dy; t4 = p2._dx; t5 = p2._dy; if (shaderBounds == null) { A.callMethod(ctx, "moveTo", [t2, t3]); A.callMethod(ctx, "lineTo", [t4, t5]); } else { t6 = shaderBounds.left; t7 = shaderBounds.top; A.callMethod(ctx, "moveTo", [t2 - t6, t3 - t7]); A.callMethod(ctx, "lineTo", [t4 - t6, t5 - t7]); } ctx.stroke(); t1.get$contextHandle().tearDownPaint$0(); } }, drawPaint$1(paint) { var t1, inverted, dpr, width, height, topLeft, topRight, bottomRight, bottomLeft, t2, t3, t4, t5, t6, t7, t8, shaderBounds, ctx, _this = this; if (_this._useDomForRenderingFill$1(paint)) { t1 = _this._canvasPool._currentTransform; inverted = new A.Matrix4(new Float32Array(16)); inverted.setFrom$1(t1); inverted.copyInverse$1(inverted); dpr = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (dpr == null) { t1 = self.window.devicePixelRatio; dpr = t1 === 0 ? 1 : t1; } width = $._window.get$physicalSize()._dx * dpr; height = $._window.get$physicalSize()._dy * dpr; topLeft = inverted.perspectiveTransform$3$x$y$z(0, 0, 0); topRight = inverted.perspectiveTransform$3$x$y$z(width, 0, 0); bottomRight = inverted.perspectiveTransform$3$x$y$z(width, height, 0); bottomLeft = inverted.perspectiveTransform$3$x$y$z(0, height, 0); t1 = topLeft._0; t2 = topRight._0; t3 = bottomRight._0; t4 = bottomLeft._0; t5 = topLeft._1; t6 = topRight._1; t7 = bottomRight._1; t8 = bottomLeft._1; _this.drawRect$2(new A.Rect(Math.min(t1, Math.min(t2, Math.min(t3, t4))), Math.min(t5, Math.min(t6, Math.min(t7, t8))), Math.max(t1, Math.max(t2, Math.max(t3, t4))), Math.max(t5, Math.max(t6, Math.max(t7, t8)))), paint); } else { if (paint.shader != null) { t1 = _this._bounds; shaderBounds = new A.Rect(0, 0, t1.right - t1.left, t1.bottom - t1.top); } else shaderBounds = null; t1 = _this._canvasPool; t1.get$contextHandle().setUpPaint$2(paint, shaderBounds); ctx = t1.get$context(0); ctx.beginPath(); A.callMethod(ctx, "fillRect", [-10000, -10000, 20000, 20000]); t1.get$contextHandle().tearDownPaint$0(); } }, drawRect$2(rect, paint) { var t2, shaderBounds, t3, t4, t5, t6, t1 = this._canvasPool; if (this._useDomForRenderingFillAndStroke$1(paint)) { rect = A.adjustRectForDom(rect, paint); this._drawElement$3(A.buildDrawRectElement(rect, paint, "draw-rect", t1._currentTransform), new A.Offset(rect.left, rect.top), paint); } else { t1.get$contextHandle().setUpPaint$2(paint, rect); t2 = paint.style; t1.get$context(0).beginPath(); shaderBounds = t1.get$contextHandle()._shaderBounds; t3 = rect.left; t4 = rect.top; t5 = rect.right - t3; t6 = rect.bottom - t4; if (shaderBounds == null) A.callMethod(t1.get$context(0), "rect", [t3, t4, t5, t6]); else A.callMethod(t1.get$context(0), "rect", [t3 - shaderBounds.left, t4 - shaderBounds.top, t5, t6]); t1.get$contextHandle().paint$1(t2); t1.get$contextHandle().tearDownPaint$0(); } }, _drawElement$3(element, offset, paint) { var clipElements, t3, _i, clipElement, blendMode, _this = this, t1 = _this._canvasPool, t2 = t1.clipStack; if (t2 != null) { clipElements = A._clipContent(t2, element, B.Offset_0_0, A.transformWithOffset(t1._currentTransform, offset)); for (t1 = clipElements.length, t2 = _this.rootElement, t3 = _this.__engine$_children, _i = 0; _i < clipElements.length; clipElements.length === t1 || (0, A.throwConcurrentModificationError)(clipElements), ++_i) { clipElement = clipElements[_i]; t2.append(clipElement); t3.push(clipElement); } } else { _this.rootElement.append(element); _this.__engine$_children.push(element); } blendMode = paint.blendMode; if (blendMode != null) { t1 = element.style; t2 = A.blendModeToCssMixBlendMode(blendMode); A.DomCSSStyleDeclarationExtension_setProperty(t1, "mix-blend-mode", t2 == null ? "" : t2); } _this._closeCanvas$0(); }, drawRRect$2(rrect, paint) { var rect, element, shaderBounds, left, right, $top, bottom, t0, trRadiusX, tlRadiusX, trRadiusY, tlRadiusY, blRadiusX, brRadiusX, blRadiusY, brRadiusY, _s6_ = "lineTo", t1 = rrect.left, t2 = rrect.top, t3 = rrect.right, t4 = rrect.bottom, t5 = this._canvasPool; if (this._useDomForRenderingFillAndStroke$1(paint)) { rect = A.adjustRectForDom(new A.Rect(t1, t2, t3, t4), paint); element = A.buildDrawRectElement(rect, paint, "draw-rrect", t5._currentTransform); A.applyRRectBorderRadius(element.style, rrect); this._drawElement$3(element, new A.Offset(rect.left, rect.top), paint); } else { t5.get$contextHandle().setUpPaint$2(paint, new A.Rect(t1, t2, t3, t4)); t1 = paint.style; shaderBounds = t5.get$contextHandle()._shaderBounds; t2 = t5.get$context(0); rrect = (shaderBounds == null ? rrect : rrect.shift$1(new A.Offset(-shaderBounds.left, -shaderBounds.top))).scaleRadii$0(); left = rrect.left; right = rrect.right; $top = rrect.top; bottom = rrect.bottom; if (left > right) { t0 = right; right = left; left = t0; } if ($top > bottom) { t0 = bottom; bottom = $top; $top = t0; } trRadiusX = Math.abs(rrect.trRadiusX); tlRadiusX = Math.abs(rrect.tlRadiusX); trRadiusY = Math.abs(rrect.trRadiusY); tlRadiusY = Math.abs(rrect.tlRadiusY); blRadiusX = Math.abs(rrect.blRadiusX); brRadiusX = Math.abs(rrect.brRadiusX); blRadiusY = Math.abs(rrect.blRadiusY); brRadiusY = Math.abs(rrect.brRadiusY); t2.beginPath(); A.callMethod(t2, "moveTo", [left + trRadiusX, $top]); t3 = right - trRadiusX; A.callMethod(t2, _s6_, [t3, $top]); A.drawEllipse(t2, t3, $top + trRadiusY, trRadiusX, trRadiusY, 0, 4.71238898038469, 6.283185307179586, false); t3 = bottom - brRadiusY; A.callMethod(t2, _s6_, [right, t3]); A.drawEllipse(t2, right - brRadiusX, t3, brRadiusX, brRadiusY, 0, 0, 1.5707963267948966, false); t3 = left + blRadiusX; A.callMethod(t2, _s6_, [t3, bottom]); A.drawEllipse(t2, t3, bottom - blRadiusY, blRadiusX, blRadiusY, 0, 1.5707963267948966, 3.141592653589793, false); t3 = $top + tlRadiusY; A.callMethod(t2, _s6_, [left, t3]); A.drawEllipse(t2, left + tlRadiusX, t3, tlRadiusX, tlRadiusY, 0, 3.141592653589793, 4.71238898038469, false); t5.get$contextHandle().paint$1(t1); t5.get$contextHandle().tearDownPaint$0(); } }, drawOval$2(rect, paint) { var element, t2, shaderBounds, t3, cx, cy, t1 = this._canvasPool; if (this._useDomForRenderingFill$1(paint)) { rect = A.adjustRectForDom(rect, paint); element = A.buildDrawRectElement(rect, paint, "draw-oval", t1._currentTransform); t1 = rect.left; t2 = rect.top; this._drawElement$3(element, new A.Offset(t1, t2), paint); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "border-radius", A.S((rect.right - t1) / 2) + "px / " + A.S((rect.bottom - t2) / 2) + "px"); } else { t1.get$contextHandle().setUpPaint$2(paint, rect); t2 = paint.style; t1.get$context(0).beginPath(); shaderBounds = t1.get$contextHandle()._shaderBounds; t3 = shaderBounds == null; cx = t3 ? rect.get$center()._dx : rect.get$center()._dx - shaderBounds.left; cy = t3 ? rect.get$center()._dy : rect.get$center()._dy - shaderBounds.top; A.drawEllipse(t1.get$context(0), cx, cy, (rect.right - rect.left) / 2, (rect.bottom - rect.top) / 2, 0, 0, 6.283185307179586, false); t1.get$contextHandle().paint$1(t2); t1.get$contextHandle().tearDownPaint$0(); } }, drawCircle$3(c, radius, paint) { var rect, element, t1, t2, shaderBounds, t3, cx, cy, _this = this; if (_this._useDomForRenderingFillAndStroke$1(paint)) { rect = A.adjustRectForDom(A.Rect$fromCircle(c, radius), paint); element = A.buildDrawRectElement(rect, paint, "draw-circle", _this._canvasPool._currentTransform); _this._drawElement$3(element, new A.Offset(rect.left, rect.top), paint); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "border-radius", "50%"); } else { t1 = paint.shader != null ? A.Rect$fromCircle(c, radius) : null; t2 = _this._canvasPool; t2.get$contextHandle().setUpPaint$2(paint, t1); t1 = paint.style; t2.get$context(0).beginPath(); shaderBounds = t2.get$contextHandle()._shaderBounds; t3 = shaderBounds == null; cx = c._dx; cx = t3 ? cx : cx - shaderBounds.left; cy = c._dy; cy = t3 ? cy : cy - shaderBounds.top; A.drawEllipse(t2.get$context(0), cx, cy, radius, radius, 0, 0, 6.283185307179586, false); t2.get$contextHandle().paint$1(t1); t2.get$contextHandle().tearDownPaint$0(); } }, drawPath$2(path, paint) { var t1, transform, pathAsRect, t2, pathAsRRect, root, t3, t4, style, cssColor, sigma, _this = this, _s12_ = "setAttribute"; if (_this._useDomForRenderingFill$1(paint)) { t1 = _this._canvasPool; transform = t1._currentTransform; type$.SurfacePath._as(path); pathAsRect = path.pathRef.getRect$0(); if (pathAsRect != null) { _this.drawRect$2(pathAsRect, paint); return; } t2 = path.pathRef; pathAsRRect = t2.fIsRRect ? t2._getRRect$0() : null; if (pathAsRRect != null) { _this.drawRRect$2(pathAsRRect, paint); return; } root = A.createSVGSVGElement(); t2 = A.jsify("visible"); A.callMethod(root, _s12_, ["overflow", t2 == null ? type$.Object._as(t2) : t2]); t2 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "path"]); root.append(t2); t3 = paint.style; if (t3 !== B.PaintingStyle_1) if (t3 !== B.PaintingStyle_0) { t3 = paint.strokeWidth; t3 = t3 !== 0 && t3 != null; } else t3 = false; else t3 = true; t4 = paint.color; if (t3) { t3 = A.jsify(A.colorValueToCssString(t4)); A.callMethod(t2, _s12_, ["stroke", t3 == null ? type$.Object._as(t3) : t3]); t3 = paint.strokeWidth; t3 = A.jsify(A.S(t3 == null ? 1 : t3)); A.callMethod(t2, _s12_, ["stroke-width", t3 == null ? type$.Object._as(t3) : t3]); t3 = paint.strokeCap; if (t3 != null) { t3 = A.jsify(A.S(A.stringForStrokeCap(t3))); A.callMethod(t2, _s12_, ["stroke-linecap", t3 == null ? type$.Object._as(t3) : t3]); } t3 = A.jsify("none"); A.callMethod(t2, _s12_, ["fill", t3 == null ? type$.Object._as(t3) : t3]); } else { t3 = A.jsify(A.colorValueToCssString(t4)); A.callMethod(t2, _s12_, ["fill", t3 == null ? type$.Object._as(t3) : t3]); } if (path._fillType === B.PathFillType_1) { t3 = A.jsify("evenodd"); A.callMethod(t2, _s12_, ["fill-rule", t3 == null ? type$.Object._as(t3) : t3]); } t3 = A.jsify(A.pathToSvg(path.pathRef, 0, 0)); A.callMethod(t2, _s12_, ["d", t3 == null ? type$.Object._as(t3) : t3]); if (t1.clipStack == null) { style = root.style; A.DomCSSStyleDeclarationExtension_setProperty(style, "position", "absolute"); if (!transform.isIdentity$0(0)) { A.DomCSSStyleDeclarationExtension_setProperty(style, "transform", A.float64ListToCssTransform(transform._m4storage)); A.DomCSSStyleDeclarationExtension_setProperty(style, "transform-origin", "0 0 0"); } } if (paint.maskFilter != null) { t1 = paint.style; cssColor = A.colorValueToCssString(paint.color); sigma = paint.maskFilter._sigma; t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_1 && t1 !== B.PaintingStyle_1) A.DomCSSStyleDeclarationExtension_setProperty(root.style, "box-shadow", "0px 0px " + A.S(sigma * 2) + "px " + cssColor); else A.DomCSSStyleDeclarationExtension_setProperty(root.style, "filter", "blur(" + A.S(sigma) + "px)"); } _this._drawElement$3(root, B.Offset_0_0, paint); } else { t1 = paint.shader != null ? path.getBounds$0(0) : null; t2 = _this._canvasPool; t2.get$contextHandle().setUpPaint$2(paint, t1); t1 = paint.style; if (t1 == null && paint.strokeWidth != null) t2.drawPath$2(path, B.PaintingStyle_1); else t2.drawPath$2(path, t1); t2.get$contextHandle().tearDownPaint$0(); } }, drawShadow$4(path, color, elevation, transparentOccluder) { var t2, solidColor, t3, t4, t5, t1 = this._canvasPool, shadow = A.computeShadow(path.getBounds$0(0), elevation); if (shadow != null) { t2 = (B.JSNumber_methods.round$0(0.3 * (color.get$value(color) >>> 24 & 255)) & 255) << 24 | color.get$value(color) & 16777215; solidColor = A.colorComponentsToCssString(t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255, 255); t1.get$context(0).save(); t3 = t1.get$context(0); t3.globalAlpha = (t2 >>> 24 & 255) / 255; if (transparentOccluder) { t2 = $.$get$_browserEngine(); t2 = t2 !== B.BrowserEngine_1; } else t2 = false; t3 = shadow.offset; t4 = shadow.blurWidth; t5 = t3._dx; t3 = t3._dy; if (t2) { A.callMethod(t1.get$context(0), "translate", [t5, t3]); A.DomCanvasRenderingContext2DExtension_set_filter(t1.get$context(0), A.maskFilterToCanvasFilter(new A.MaskFilter(B.BlurStyle_0, t4))); A.DomCanvasRenderingContext2DExtension_set_strokeStyle(t1.get$context(0), ""); A.DomCanvasRenderingContext2DExtension_set_fillStyle(t1.get$context(0), solidColor); } else { A.DomCanvasRenderingContext2DExtension_set_filter(t1.get$context(0), "none"); A.DomCanvasRenderingContext2DExtension_set_strokeStyle(t1.get$context(0), ""); A.DomCanvasRenderingContext2DExtension_set_fillStyle(t1.get$context(0), solidColor); t1.get$context(0).shadowBlur = t4; A.DomCanvasRenderingContext2DExtension_set_shadowColor(t1.get$context(0), solidColor); A.DomCanvasRenderingContext2DExtension_set_shadowOffsetX(t1.get$context(0), t5); A.DomCanvasRenderingContext2DExtension_set_shadowOffsetY(t1.get$context(0), t3); } t1._runPath$2(t1.get$context(0), path); A.DomCanvasRenderingContext2DExtension_fill(t1.get$context(0), null); t1.get$context(0).restore(); } }, _reuseOrCreateImage$1(htmlImage) { var t3, imageElement, newImageElement, t1 = htmlImage.imgElement, t2 = A.DomHTMLImageElementExtension_get_src(t1); t2.toString; t3 = this._elementCache; if (t3 != null) { imageElement = t3.reuse$1(t2); if (imageElement != null) return imageElement; } if (!htmlImage._didClone) { htmlImage._didClone = true; A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "position", "absolute"); } newImageElement = A.DomNodeExtension_cloneNode(t1, true); t1 = this._elementCache; if (t1 != null) t1._addToCache$2(t2, new A._CrossFrameCacheItem(newImageElement, A._engine_BitmapCanvas__onEvictElement$closure(), t1.$ti._eval$1("_CrossFrameCacheItem<1>"))); return newImageElement; }, _drawImage$3(image, p, paint) { var blendMode, colorFilter, imgElement, svgFilter, t1, t2, clipElements, t3, _i, clipElement, cssTransform, _this = this, _null = null, _s14_ = "removeProperty"; type$.HtmlImage._as(image); blendMode = paint.blendMode; colorFilter = A.createHtmlColorFilter(paint.colorFilter); if (colorFilter instanceof A.ModeHtmlColorFilter) imgElement = _this._createImageElementWithBlend$4(image, colorFilter.color, colorFilter.blendMode, paint); else if (colorFilter instanceof A.MatrixHtmlColorFilter) { svgFilter = A.svgFilterFromColorMatrix(colorFilter.matrix); t1 = svgFilter.element; _this.rootElement.append(t1); _this.__engine$_children.push(t1); imgElement = _this._reuseOrCreateImage$1(image); A.DomCSSStyleDeclarationExtension_setProperty(imgElement.style, "filter", "url(#" + svgFilter.id + ")"); } else imgElement = _this._reuseOrCreateImage$1(image); t1 = imgElement.style; t2 = A.blendModeToCssMixBlendMode(blendMode); A.DomCSSStyleDeclarationExtension_setProperty(t1, "mix-blend-mode", t2 == null ? "" : t2); if (_this._preserveImageData && true) { t1 = _this._canvasPool; t1.get$contextHandle().setUpPaint$2(paint, _null); A.DomCanvasRenderingContext2DExtension_drawImage(t1.get$context(0), imgElement, p._dx, p._dy, _null, _null, _null, _null, _null, _null); t1.get$contextHandle().tearDownPaint$0(); } else { t1 = _this._canvasPool; if (t1.clipStack != null) { t2 = imgElement.style; A.callMethod(t2, _s14_, ["width"]); A.callMethod(t2, _s14_, ["height"]); t2 = t1.clipStack; t2.toString; clipElements = A._clipContent(t2, imgElement, p, t1._currentTransform); for (t1 = clipElements.length, t2 = _this.rootElement, t3 = _this.__engine$_children, _i = 0; _i < clipElements.length; clipElements.length === t1 || (0, A.throwConcurrentModificationError)(clipElements), ++_i) { clipElement = clipElements[_i]; t2.append(clipElement); t3.push(clipElement); } } else { cssTransform = A.float64ListToCssTransform(A.transformWithOffset(t1._currentTransform, p)._m4storage); t1 = imgElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform", cssTransform); A.callMethod(t1, _s14_, ["width"]); A.callMethod(t1, _s14_, ["height"]); _this.rootElement.append(imgElement); _this.__engine$_children.push(imgElement); } } return imgElement; }, _createImageElementWithBlend$4(image, color, blendMode, paint) { var svgFilter, t1, imgElement, _this = this; switch (blendMode.index) { case 19: case 18: case 25: case 13: case 15: case 12: case 5: case 9: case 7: case 26: case 27: case 28: case 11: case 10: svgFilter = A.svgFilterFromBlendMode(color, blendMode); t1 = svgFilter.element; _this.rootElement.append(t1); _this.__engine$_children.push(t1); imgElement = _this._reuseOrCreateImage$1(image); A.DomCSSStyleDeclarationExtension_setProperty(imgElement.style, "filter", "url(#" + svgFilter.id + ")"); if (blendMode === B.BlendMode_26) A.DomCSSStyleDeclarationExtension_setProperty(imgElement.style, "background-color", A.colorValueToCssString(color.get$value(color))); return imgElement; default: return _this._createBackgroundImageWithBlend$4(image, color, blendMode, paint); } }, drawImageRect$4(image, src, dst, paint) { var t2, requiresClipping, targetLeft, targetWidth, targetTop, t3, targetTop0, imgElement, targetHeight, imageStyle, widthPx, heightPx, $constructor, _this = this, t1 = src.left; if (t1 === 0) { t2 = src.top; requiresClipping = t2 !== 0 || src.right - t1 !== image.get$width(image) || src.bottom - t2 !== image.get$height(image); } else requiresClipping = true; targetLeft = dst.left; targetWidth = dst.right - targetLeft; if (targetWidth === image.get$width(image) && dst.bottom - dst.top === image.get$height(image) && !requiresClipping && paint.colorFilter == null) _this._drawImage$3(image, new A.Offset(targetLeft, dst.top), paint); else { if (requiresClipping) { _this.save$0(0); _this.clipRect$2(dst, B.ClipOp_1); } targetTop = dst.top; if (requiresClipping) { t2 = src.right - t1; if (t2 !== image.get$width(image)) targetLeft += -t1 * (targetWidth / t2); t2 = src.top; t3 = src.bottom - t2; targetTop0 = t3 !== image.get$height(image) ? targetTop + -t2 * ((dst.bottom - targetTop) / t3) : targetTop; } else targetTop0 = targetTop; imgElement = _this._drawImage$3(image, new A.Offset(targetLeft, targetTop0), paint); targetHeight = dst.bottom - targetTop; if (requiresClipping) { targetWidth *= image.get$width(image) / (src.right - t1); targetHeight *= image.get$height(image) / (src.bottom - src.top); } imageStyle = imgElement.style; widthPx = B.JSNumber_methods.toStringAsFixed$1(targetWidth, 2) + "px"; heightPx = B.JSNumber_methods.toStringAsFixed$1(targetHeight, 2) + "px"; A.DomCSSStyleDeclarationExtension_setProperty(imageStyle, "left", "0px"); A.DomCSSStyleDeclarationExtension_setProperty(imageStyle, "top", "0px"); A.DomCSSStyleDeclarationExtension_setProperty(imageStyle, "width", widthPx); A.DomCSSStyleDeclarationExtension_setProperty(imageStyle, "height", heightPx); $constructor = globalThis.HTMLImageElement; if (!($constructor != null && imgElement instanceof $constructor)) A.DomCSSStyleDeclarationExtension_setProperty(imgElement.style, "background-size", widthPx + " " + heightPx); if (requiresClipping) _this.restore$0(0); } _this._closeCanvas$0(); }, _createBackgroundImageWithBlend$4(image, filterColor, colorFilterBlendMode, paint) { var t1, _s8_ = "absolute", _s8_0 = "position", _s16_ = "background-color", _s16_0 = "background-image", imgElement = A.DomDocumentExtension_createElement(self.document, "div"), style = imgElement.style; switch (colorFilterBlendMode.index) { case 0: case 8: A.DomCSSStyleDeclarationExtension_setProperty(style, _s8_0, _s8_); break; case 1: case 3: A.DomCSSStyleDeclarationExtension_setProperty(style, _s8_0, _s8_); A.DomCSSStyleDeclarationExtension_setProperty(style, _s16_, A.colorValueToCssString(filterColor.get$value(filterColor))); break; case 2: case 6: A.DomCSSStyleDeclarationExtension_setProperty(style, _s8_0, _s8_); A.DomCSSStyleDeclarationExtension_setProperty(style, _s16_0, "url('" + A.S(A.DomHTMLImageElementExtension_get_src(image.imgElement)) + "')"); break; default: A.DomCSSStyleDeclarationExtension_setProperty(style, _s8_0, _s8_); A.DomCSSStyleDeclarationExtension_setProperty(style, _s16_0, "url('" + A.S(A.DomHTMLImageElementExtension_get_src(image.imgElement)) + "')"); t1 = A.blendModeToCssMixBlendMode(colorFilterBlendMode); A.DomCSSStyleDeclarationExtension_setProperty(style, "background-blend-mode", t1 == null ? "" : t1); A.DomCSSStyleDeclarationExtension_setProperty(style, _s16_, A.colorValueToCssString(filterColor.get$value(filterColor))); break; } return imgElement; }, _closeCanvas$0() { var t2, t3, t1 = this._canvasPool; if (t1.__engine$_canvas != null) { t1._restoreContextSave$0(); t1._contextHandle.reset$0(0); t2 = t1._activeCanvasList; if (t2 == null) t2 = t1._activeCanvasList = A._setArrayType([], type$.JSArray_JavaScriptObject); t3 = t1.__engine$_canvas; t3.toString; t2.push(t3); t1._contextHandle = t1._context = t1.__engine$_canvas = null; } this._childOverdraw = true; this._cachedLastCssFont = null; }, drawText$5$shadows$style(text, x, y, shadows, style) { var t1, t2, _i, shadow, t3, ctx = this._canvasPool.get$context(0); if (shadows != null) { ctx.save(); for (t1 = shadows.length, t2 = style === B.PaintingStyle_1, _i = 0; _i < shadows.length; shadows.length === t1 || (0, A.throwConcurrentModificationError)(shadows), ++_i) { shadow = shadows[_i]; t3 = A.colorValueToCssString(shadow.color.value); ctx.shadowColor = t3; ctx.shadowBlur = shadow.blurRadius; t3 = shadow.offset; ctx.shadowOffsetX = t3._dx; ctx.shadowOffsetY = t3._dy; if (t2) ctx.strokeText.apply(ctx, [text, x, y]); else A.DomCanvasRenderingContext2DExtension_fillText(ctx, text, x, y); } ctx.restore(); } if (style === B.PaintingStyle_1) A.callMethod(ctx, "strokeText", [text, x, y]); else A.DomCanvasRenderingContext2DExtension_fillText(ctx, text, x, y); }, drawParagraph$2(paragraph, offset) { var value, paragraphElement, t1, t2, clipElements, t3, _i, clipElement, _this = this; if (paragraph.canDrawOnCanvas && _this._canvasPool.__engine$_canvas != null && !_this._childOverdraw && !_this._renderStrategy.isInsideSvgFilterTree) { value = paragraph.__CanvasParagraph__paintService_FI; if (value === $) { value !== $ && A.throwUnnamedLateFieldADI(); value = paragraph.__CanvasParagraph__paintService_FI = new A.TextPaintService(paragraph); } value.paint$2(_this, offset); return; } paragraphElement = A.drawParagraphElement(paragraph, offset, null); t1 = _this._canvasPool; t2 = t1.clipStack; t1 = t1._currentTransform; if (t2 != null) { clipElements = A._clipContent(t2, paragraphElement, offset, t1); for (t1 = clipElements.length, t2 = _this.rootElement, t3 = _this.__engine$_children, _i = 0; _i < clipElements.length; clipElements.length === t1 || (0, A.throwConcurrentModificationError)(clipElements), ++_i) { clipElement = clipElements[_i]; t2.append(clipElement); t3.push(clipElement); } } else { A.setElementTransform(paragraphElement, A.transformWithOffset(t1, offset)._m4storage); _this.rootElement.append(paragraphElement); } _this.__engine$_children.push(paragraphElement); t1 = paragraphElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", "0px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", "0px"); _this._closeCanvas$0(); }, endOfPaint$0() { var t1, t2, children, t3, _i, element, paintOrderElement, t4, firstChild, $constructor, _this = this; _this._canvasPool.endOfPaint$0(); t1 = _this._elementCache; if (t1 != null) t1.commitFrame$0(); if (_this._contains3dTransform) { t1 = $.$get$_browserEngine(); t1 = t1 === B.BrowserEngine_1; } else t1 = false; if (t1) { t1 = _this.rootElement; t2 = type$._DomListWrapper_JavaScriptObject; t2 = A.CastIterable_CastIterable(new A._DomListWrapper(t1.children, t2), t2._eval$1("Iterable.E"), type$.JavaScriptObject); children = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); for (t2 = children.length, t3 = _this.__engine$_children, _i = 0; _i < t2; ++_i) { element = children[_i]; paintOrderElement = A.DomDocumentExtension_createElement(self.document, "div"); t4 = paintOrderElement.style; t4.setProperty.apply(t4, ["transform", "translate3d(0,0,0)", ""]); paintOrderElement.append(element); t1.append(paintOrderElement); t3.push(paintOrderElement); } } firstChild = _this.rootElement.firstChild; if (firstChild != null) { $constructor = globalThis.HTMLElement; if ($constructor != null && firstChild instanceof $constructor) if (firstChild.tagName.toLowerCase() === "canvas") A.DomCSSStyleDeclarationExtension_setProperty(firstChild.style, "z-index", "-1"); } } }; A.SvgBlendMode.prototype = {}; A.SurfaceCanvas.prototype = { save$0(_) { var t1 = this.__engine$_canvas; t1._paintBounds.saveTransformsAndClip$0(); t1._commands.push(B.C_PaintSave); ++t1._saveCount; }, saveLayer$2(bounds, paint) { var t1 = type$.SurfacePaint, t2 = this.__engine$_canvas, t3 = t2.renderStrategy, t4 = t2._commands, t5 = t2._paintBounds; if (bounds == null) { t1._as(paint); t3.hasArbitraryPaint = true; t4.push(B.C_PaintSave); t5.saveTransformsAndClip$0(); ++t2._saveCount; } else { t1._as(paint); t3.hasArbitraryPaint = true; t4.push(B.C_PaintSave); t5.saveTransformsAndClip$0(); ++t2._saveCount; } }, restore$0(_) { var t2, clipRect, t1 = this.__engine$_canvas; if (!t1._recordingEnded && t1._saveCount > 1) { t2 = t1._paintBounds; t2._currentMatrix = t2.__engine$_transforms.pop(); clipRect = t2._clipStack.pop(); if (clipRect != null) { t2._currentClipLeft = clipRect.left; t2._currentClipTop = clipRect.top; t2._currentClipRight = clipRect.right; t2._currentClipBottom = clipRect.bottom; t2._clipRectInitialized = true; } else if (t2._clipRectInitialized) t2._clipRectInitialized = false; } t2 = t1._commands; if (t2.length !== 0 && B.JSArray_methods.get$last(t2) instanceof A.PaintSave) t2.pop(); else t2.push(B.C_PaintRestore); --t1._saveCount; }, translate$2(_, dx, dy) { var t1 = this.__engine$_canvas, t2 = t1._paintBounds; if (dx !== 0 || dy !== 0) t2._currentMatrixIsIdentity = false; t2._currentMatrix.translate$2(0, dx, dy); t1._commands.push(new A.PaintTranslate(dx, dy)); }, scale$2(_, sx, sy) { var t1 = sy == null ? sx : sy, t2 = this.__engine$_canvas, t3 = t2._paintBounds; if (sx !== 1 || t1 !== 1) t3._currentMatrixIsIdentity = false; t3._currentMatrix.scale$3(0, sx, t1, 1); t2._commands.push(new A.PaintScale(sx, t1)); return null; }, rotate$1(_, radians) { var cosAngle, sinAngle, t3, t4, t5, t6, t7, t8, t9, t10, t11, t1 = this.__engine$_canvas, t2 = t1._paintBounds; if (radians !== 0) t2._currentMatrixIsIdentity = false; t2 = t2._currentMatrix; cosAngle = Math.cos(radians); sinAngle = Math.sin(radians); t2 = t2._m4storage; t3 = t2[0]; t4 = t2[4]; t5 = t2[1]; t6 = t2[5]; t7 = t2[2]; t8 = t2[6]; t9 = t2[3]; t10 = t2[7]; t11 = -sinAngle; t2[0] = t3 * cosAngle + t4 * sinAngle; t2[1] = t5 * cosAngle + t6 * sinAngle; t2[2] = t7 * cosAngle + t8 * sinAngle; t2[3] = t9 * cosAngle + t10 * sinAngle; t2[4] = t3 * t11 + t4 * cosAngle; t2[5] = t5 * t11 + t6 * cosAngle; t2[6] = t7 * t11 + t8 * cosAngle; t2[7] = t9 * t11 + t10 * cosAngle; t1._commands.push(new A.PaintRotate(radians)); }, transform$1(_, matrix4) { var t1 = A.toMatrix32(matrix4), t2 = this.__engine$_canvas, t3 = t2._paintBounds; t3._currentMatrix.multiply$1(0, new A.Matrix4(t1)); t3._currentMatrixIsIdentity = t3._currentMatrix.isIdentity$0(0); t2._commands.push(new A.PaintTransform(t1)); }, clipRect$3$clipOp$doAntiAlias(rect, clipOp, doAntiAlias) { this.__engine$_canvas.clipRect$2(rect, clipOp); }, clipRect$2$doAntiAlias(rect, doAntiAlias) { return this.clipRect$3$clipOp$doAntiAlias(rect, B.ClipOp_1, doAntiAlias); }, clipRect$1(rect) { return this.clipRect$3$clipOp$doAntiAlias(rect, B.ClipOp_1, true); }, clipRRect$2$doAntiAlias(rrect, doAntiAlias) { var t1 = this.__engine$_canvas, command = new A.PaintClipRRect(rrect); t1._paintBounds.clipRect$2(new A.Rect(rrect.left, rrect.top, rrect.right, rrect.bottom), command); t1.renderStrategy.hasArbitraryPaint = true; t1._commands.push(command); }, clipRRect$1(rrect) { return this.clipRRect$2$doAntiAlias(rrect, true); }, clipPath$2$doAntiAlias(_, path, doAntiAlias) { var command, t1 = this.__engine$_canvas; type$.SurfacePath._as(path); command = new A.PaintClipPath(path); t1._paintBounds.clipRect$2(path.getBounds$0(0), command); t1.renderStrategy.hasArbitraryPaint = true; t1._commands.push(command); }, clipPath$1(_, path) { return this.clipPath$2$doAntiAlias(0, path, true); }, drawLine$3(p1, p2, paint) { var paintSpread, command, t2, t3, t4, t5, t1 = this.__engine$_canvas; type$.SurfacePaint._as(paint); paintSpread = Math.max(A._getPaintSpread(paint), 1); paint._frozen = true; command = new A.PaintDrawLine(p1, p2, paint._paintData); t2 = p1._dx; t3 = p2._dx; t4 = p1._dy; t5 = p2._dy; t1._paintBounds.growLTRB$5(Math.min(t2, t3) - paintSpread, Math.min(t4, t5) - paintSpread, Math.max(t2, t3) + paintSpread, Math.max(t4, t5) + paintSpread, command); t1._didDraw = t1.renderStrategy.hasArbitraryPaint = true; t1._commands.push(command); }, drawPaint$1(paint) { var command, t2, t1 = this.__engine$_canvas; type$.SurfacePaint._as(paint); paint._frozen = t1._didDraw = t1.renderStrategy.hasArbitraryPaint = true; command = new A.PaintDrawPaint(paint._paintData); t2 = t1._paintBounds; t2.grow$2(t2.maxPaintBounds, command); t1._commands.push(command); }, drawRect$2(rect, paint) { this.__engine$_canvas.drawRect$2(rect, type$.SurfacePaint._as(paint)); }, drawRRect$2(rrect, paint) { this.__engine$_canvas.drawRRect$2(rrect, type$.SurfacePaint._as(paint)); }, drawDRRect$3(outer, inner, paint) { this.__engine$_canvas.drawDRRect$3(outer, inner, type$.SurfacePaint._as(paint)); }, drawOval$2(rect, paint) { var paintSpread, command, t2, t1 = this.__engine$_canvas; type$.SurfacePaint._as(paint); t1._didDraw = t1.renderStrategy.hasArbitraryPaint = true; paintSpread = A._getPaintSpread(paint); paint._frozen = true; command = new A.PaintDrawOval(rect, paint._paintData); t2 = t1._paintBounds; if (paintSpread !== 0) t2.grow$2(rect.inflate$1(paintSpread), command); else t2.grow$2(rect, command); t1._commands.push(command); }, drawCircle$3(c, radius, paint) { var paintSpread, command, distance, t2, t3, t1 = this.__engine$_canvas; type$.SurfacePaint._as(paint); t1._didDraw = t1.renderStrategy.hasArbitraryPaint = true; paintSpread = A._getPaintSpread(paint); paint._frozen = true; command = new A.PaintDrawCircle(c, radius, paint._paintData); distance = radius + paintSpread; t2 = c._dx; t3 = c._dy; t1._paintBounds.growLTRB$5(t2 - distance, t3 - distance, t2 + distance, t3 + distance, command); t1._commands.push(command); }, drawArc$5(rect, startAngle, sweepAngle, useCenter, paint) { var forceMoveTo, path = $.$get$_renderer().createPath$0(); if (sweepAngle <= -6.283185307179586) { path.arcTo$4(0, rect, startAngle, -3.141592653589793, true); startAngle -= 3.141592653589793; path.arcTo$4(0, rect, startAngle, -3.141592653589793, false); startAngle -= 3.141592653589793; sweepAngle += 6.283185307179586; forceMoveTo = false; } else forceMoveTo = true; for (; sweepAngle >= 6.283185307179586; forceMoveTo = false) { path.arcTo$4(0, rect, startAngle, 3.141592653589793, forceMoveTo); startAngle += 3.141592653589793; path.arcTo$4(0, rect, startAngle, 3.141592653589793, false); startAngle += 3.141592653589793; sweepAngle -= 6.283185307179586; } path.arcTo$4(0, rect, startAngle, sweepAngle, forceMoveTo); this.__engine$_canvas.drawPath$2(path, type$.SurfacePaint._as(paint)); }, drawPath$2(path, paint) { this.__engine$_canvas.drawPath$2(path, type$.SurfacePaint._as(paint)); }, drawImageRect$4(image, src, dst, paint) { var t2, command, t1 = this.__engine$_canvas; type$.SurfacePaint._as(paint); t2 = t1.renderStrategy; paint._frozen = t1._didDraw = t2.hasImageElements = t2.hasArbitraryPaint = true; command = new A.PaintDrawImageRect(image, src, dst, paint._paintData); t1._paintBounds.grow$2(dst, command); t1._commands.push(command); }, drawParagraph$2(paragraph, offset) { this.__engine$_canvas.drawParagraph$2(paragraph, offset); }, drawShadow$4(path, color, elevation, transparentOccluder) { var shadowRect, command, t1 = this.__engine$_canvas; t1._didDraw = t1.renderStrategy.hasArbitraryPaint = true; shadowRect = A.computePenumbraBounds(path.getBounds$0(0), elevation); command = new A.PaintDrawShadow(type$.SurfacePath._as(path), color, elevation, transparentOccluder); t1._paintBounds.grow$2(shadowRect, command); t1._commands.push(command); } }; A._DomClip.prototype = { get$childContainer() { return this._DomClip__childContainer; }, createElement$0(_) { var element = this.defaultCreateElement$1("flt-clip"), t1 = A.DomDocumentExtension_createElement(self.document, "flt-clip-interior"); this._DomClip__childContainer = t1; A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "position", "absolute"); t1 = this._DomClip__childContainer; t1.toString; element.append(t1); return element; }, applyOverflow$2(element, clipBehaviour) { var t1; if (clipBehaviour !== B.Clip_0) { t1 = element.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "overflow", "hidden"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "z-index", "0"); } } }; A.PersistedClipRect.prototype = { recomputeTransformAndClip$0() { var _this = this; _this.transform = _this.parent.transform; if (_this.clipBehavior !== B.Clip_0) _this.localClipBounds = _this.rect; else _this.localClipBounds = null; _this.projectedClip = null; }, createElement$0(_) { var t1 = this.super$_DomClip$createElement(0), t2 = A.jsify("rect"); A.callMethod(t1, "setAttribute", ["clip-type", t2 == null ? type$.Object._as(t2) : t2]); return t1; }, apply$0() { var t4, _this = this, t1 = _this.rootElement.style, t2 = _this.rect, t3 = t2.left; A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", A.S(t3) + "px"); t4 = t2.top; A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", A.S(t4) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", A.S(t2.right - t3) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", A.S(t2.bottom - t4) + "px"); t2 = _this.rootElement; t2.toString; _this.applyOverflow$2(t2, _this.clipBehavior); t2 = _this._DomClip__childContainer.style; A.DomCSSStyleDeclarationExtension_setProperty(t2, "left", A.S(-t3) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t2, "top", A.S(-t4) + "px"); }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (!_this.rect.$eq(0, oldSurface.rect) || _this.clipBehavior !== oldSurface.clipBehavior) { _this.localClipBounds = null; _this.apply$0(); } }, get$isClipping() { return true; }, $isClipRectEngineLayer0: 1 }; A.PersistedClipRRect.prototype = { recomputeTransformAndClip$0() { var t1, _this = this; _this.transform = _this.parent.transform; if (_this.clipBehavior !== B.Clip_0) { t1 = _this.rrect; _this.localClipBounds = new A.Rect(t1.left, t1.top, t1.right, t1.bottom); } else _this.localClipBounds = null; _this.projectedClip = null; }, createElement$0(_) { var t1 = this.super$_DomClip$createElement(0), t2 = A.jsify("rrect"); A.callMethod(t1, "setAttribute", ["clip-type", t2 == null ? type$.Object._as(t2) : t2]); return t1; }, apply$0() { var t3, _this = this, style = _this.rootElement.style, t1 = _this.rrect, t2 = t1.left; A.DomCSSStyleDeclarationExtension_setProperty(style, "left", A.S(t2) + "px"); t3 = t1.top; A.DomCSSStyleDeclarationExtension_setProperty(style, "top", A.S(t3) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "width", A.S(t1.right - t2) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "height", A.S(t1.bottom - t3) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-top-left-radius", A.S(t1.tlRadiusX) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-top-right-radius", A.S(t1.trRadiusX) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-bottom-right-radius", A.S(t1.brRadiusX) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(style, "border-bottom-left-radius", A.S(t1.blRadiusX) + "px"); t1 = _this.rootElement; t1.toString; _this.applyOverflow$2(t1, _this.clipBehavior); t1 = _this._DomClip__childContainer.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", A.S(-t2) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", A.S(-t3) + "px"); }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (!_this.rrect.$eq(0, oldSurface.rrect) || _this.clipBehavior !== oldSurface.clipBehavior) { _this.localClipBounds = null; _this.apply$0(); } }, get$isClipping() { return true; }, $isClipRRectEngineLayer0: 1 }; A.PersistedClipPath.prototype = { createElement$0(_) { return this.defaultCreateElement$1("flt-clippath"); }, recomputeTransformAndClip$0() { var _this = this; _this.super$PersistedContainerSurface$recomputeTransformAndClip(); if (_this.clipBehavior !== B.Clip_0) { if (_this.localClipBounds == null) _this.localClipBounds = _this.clipPath.getBounds$0(0); } else _this.localClipBounds = null; }, apply$0() { var _this = this, t1 = _this._clipElement; if (t1 != null) t1.remove(); t1 = _this.rootElement; t1.toString; t1 = A.createSvgClipDef(t1, _this.clipPath); _this._clipElement = t1; _this.rootElement.append(t1); }, update$1(_, oldSurface) { var t1, _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (oldSurface.clipPath !== _this.clipPath) { _this.localClipBounds = null; t1 = oldSurface._clipElement; if (t1 != null) t1.remove(); _this.apply$0(); } else _this._clipElement = oldSurface._clipElement; oldSurface._clipElement = null; }, discard$0() { var t1 = this._clipElement; if (t1 != null) t1.remove(); this._clipElement = null; this.super$PersistedContainerSurface$discard(); }, get$isClipping() { return true; }, $isClipPathEngineLayer0: 1 }; A.SvgFilterBuilder.prototype = { setFeColorMatrix$2$result(matrix, result) { var t3, i, t4, t5, t1 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "feColorMatrix"]), t2 = t1.type; t2.toString; A.SVGAnimatedEnumerationExtenson_set_baseVal(t2, 1); t2 = t1.result; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, result); t2 = t1.values.baseVal; t2.toString; for (t3 = this.root, i = 0; i < 20; ++i) { t4 = t3.createSVGNumber(); t5 = matrix[i]; t4.value = t5; t2.appendItem(t4); } this.filter.append(t1); }, setFeFlood$3$floodColor$floodOpacity$result(floodColor, floodOpacity, result) { var _s12_ = "setAttribute", t1 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "feFlood"]), t2 = A.jsify(floodColor); A.callMethod(t1, _s12_, ["flood-color", t2 == null ? type$.Object._as(t2) : t2]); t2 = A.jsify(floodOpacity); A.callMethod(t1, _s12_, ["flood-opacity", t2 == null ? type$.Object._as(t2) : t2]); t2 = t1.result; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, result); this.filter.append(t1); }, setFeBlend$3$in1$in2$mode(in1, in2, mode) { var t1 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "feBlend"]), t2 = t1.in1; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, in1); t2 = t1.in2; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, in2); t2 = t1.mode; t2.toString; A.SVGAnimatedEnumerationExtenson_set_baseVal(t2, mode); this.filter.append(t1); }, setFeComposite$8$in1$in2$k1$k2$k3$k4$operator$result(in1, in2, k1, k2, k3, k4, operator, result) { var t1 = A.callMethod(self.document, "createElementNS", ["http://www.w3.org/2000/svg", "feComposite"]), t2 = t1.in1; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, in1); t2 = t1.in2; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, in2); t2 = t1.operator; t2.toString; A.SVGAnimatedEnumerationExtenson_set_baseVal(t2, operator); if (k1 != null) { t2 = t1.k1; t2.toString; A.SVGAnimatedNumberExtension_set_baseVal(t2, k1); } if (k2 != null) { t2 = t1.k2; t2.toString; A.SVGAnimatedNumberExtension_set_baseVal(t2, k2); } if (k3 != null) { t2 = t1.k3; t2.toString; A.SVGAnimatedNumberExtension_set_baseVal(t2, k3); } if (k4 != null) { t2 = t1.k4; t2.toString; A.SVGAnimatedNumberExtension_set_baseVal(t2, k4); } t2 = t1.result; t2.toString; A.SVGAnimatedStringExtension_set_baseVal(t2, result); this.filter.append(t1); }, setFeComposite$4$in1$in2$operator$result(in1, in2, operator, result) { var _null = null; return this.setFeComposite$8$in1$in2$k1$k2$k3$k4$operator$result(in1, in2, _null, _null, _null, _null, operator, result); }, build$0() { var t1 = this.root; t1.append(this.filter); return new A.SvgFilter(this.id, t1); }, get$id(receiver) { return this.id; } }; A.SvgFilter.prototype = { get$id(receiver) { return this.id; } }; A.DomCanvas.prototype = { clear$0(_) { this.super$SaveElementStackTracking$clear(0); A.removeAllChildren(this.rootElement); }, clipRect$2(rect, clipOp) { throw A.wrapException(A.UnimplementedError$(null)); }, clipRRect$1(rrect) { throw A.wrapException(A.UnimplementedError$(null)); }, clipPath$1(_, path) { throw A.wrapException(A.UnimplementedError$(null)); }, drawLine$3(p1, p2, paint) { throw A.wrapException(A.UnimplementedError$(null)); }, drawPaint$1(paint) { throw A.wrapException(A.UnimplementedError$(null)); }, drawRect$2(rect, paint) { var t1; rect = A.adjustRectForDom(rect, paint); t1 = this.SaveElementStackTracking__elementStack; t1 = t1.length === 0 ? this.rootElement : B.JSArray_methods.get$last(t1); t1.append(A.buildDrawRectElement(rect, paint, "draw-rect", this.SaveElementStackTracking__currentTransform)); }, drawRRect$2(rrect, paint) { var t1, element = A.buildDrawRectElement(A.adjustRectForDom(new A.Rect(rrect.left, rrect.top, rrect.right, rrect.bottom), paint), paint, "draw-rrect", this.SaveElementStackTracking__currentTransform); A.applyRRectBorderRadius(element.style, rrect); t1 = this.SaveElementStackTracking__elementStack; t1 = t1.length === 0 ? this.rootElement : B.JSArray_methods.get$last(t1); t1.append(element); }, drawOval$2(rect, paint) { throw A.wrapException(A.UnimplementedError$(null)); }, drawCircle$3(c, radius, paint) { throw A.wrapException(A.UnimplementedError$(null)); }, drawPath$2(path, paint) { throw A.wrapException(A.UnimplementedError$(null)); }, drawShadow$4(path, color, elevation, transparentOccluder) { throw A.wrapException(A.UnimplementedError$(null)); }, drawImageRect$4(image, src, dst, paint) { throw A.wrapException(A.UnimplementedError$(null)); }, drawParagraph$2(paragraph, offset) { var paragraphElement = A.drawParagraphElement(paragraph, offset, this.SaveElementStackTracking__currentTransform), t1 = this.SaveElementStackTracking__elementStack; t1 = t1.length === 0 ? this.rootElement : B.JSArray_methods.get$last(t1); t1.append(paragraphElement); }, endOfPaint$0() { } }; A.PersistedImageFilter.prototype = { recomputeTransformAndClip$0() { var t2, dx, dy, _this = this, t1 = _this.parent.transform; _this.transform = t1; t2 = _this.offset; dx = t2._dx; dy = t2._dy; if (dx !== 0 || dy !== 0) { t1.toString; t2 = new A.Matrix4(new Float32Array(16)); t2.setFrom$1(t1); _this.transform = t2; t2.translate$2(0, dx, dy); } _this.projectedClip = null; }, get$localTransformInverse() { var t2, t1 = this._localTransformInverse; if (t1 == null) { t1 = this.offset; t2 = A.Matrix4$identity(); t2.setTranslationRaw$3(-t1._dx, -t1._dy, 0); this._localTransformInverse = t2; t1 = t2; } return t1; }, get$childContainer() { return this._childContainer; }, adoptElements$1(oldSurface) { this.super$PersistedSurface$adoptElements(oldSurface); this._svgFilter = oldSurface._svgFilter; this._childContainer = oldSurface._childContainer; oldSurface._childContainer = oldSurface._svgFilter = null; }, discard$0() { var _this = this; _this.super$PersistedContainerSurface$discard(); $._flutterViewEmbedder.removeResource$1(_this._svgFilter); _this._childContainer = _this._svgFilter = null; }, createElement$0(_) { var _s8_ = "position", _s8_0 = "absolute", _s16_ = "transform-origin", element = this.defaultCreateElement$1("flt-image-filter"), container = this.defaultCreateElement$1("flt-image-filter-interior"); A.setElementStyle(container, _s8_, _s8_0); A.setElementStyle(container, _s16_, "0 0 0"); A.setElementStyle(element, _s8_, _s8_0); A.setElementStyle(element, _s16_, "0 0 0"); this._childContainer = container; element.appendChild(container); return element; }, apply$0() { var t1, t2, _this = this, backendFilter = type$.EngineImageFilter._as(_this.filter); $._flutterViewEmbedder.removeResource$1(_this._svgFilter); _this._svgFilter = null; A.DomCSSStyleDeclarationExtension_setProperty(_this._childContainer.style, "filter", backendFilter.get$filterAttribute()); A.DomCSSStyleDeclarationExtension_setProperty(_this._childContainer.style, "transform", backendFilter.get$transformAttribute()); t1 = _this.rootElement.style; t2 = _this.offset; A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", A.S(t2._dx) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", A.S(t2._dy) + "px"); }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (!oldSurface.filter.$eq(0, _this.filter) || !oldSurface.offset.$eq(0, _this.offset)) _this.apply$0(); }, $isImageFilterEngineLayer0: 1 }; A.PersistedOffset.prototype = { recomputeTransformAndClip$0() { var t2, t3, _this = this, t1 = _this.parent.transform; _this.transform = t1; t2 = _this.dx; if (t2 !== 0 || _this.dy !== 0) { t1.toString; t3 = new A.Matrix4(new Float32Array(16)); t3.setFrom$1(t1); _this.transform = t3; t3.translate$2(0, t2, _this.dy); } _this.projectedClip = null; }, get$localTransformInverse() { var _this = this, t1 = _this._localTransformInverse; if (t1 == null) { t1 = A.Matrix4$identity(); t1.setTranslationRaw$3(-_this.dx, -_this.dy, 0); _this._localTransformInverse = t1; } return t1; }, createElement$0(_) { var element = A.DomDocumentExtension_createElement(self.document, "flt-offset"); A.setElementStyle(element, "position", "absolute"); A.setElementStyle(element, "transform-origin", "0 0 0"); return element; }, apply$0() { A.DomCSSStyleDeclarationExtension_setProperty(this.rootElement.style, "transform", "translate(" + A.S(this.dx) + "px, " + A.S(this.dy) + "px)"); }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (oldSurface.dx !== _this.dx || oldSurface.dy !== _this.dy) _this.apply$0(); }, $isOffsetEngineLayer0: 1 }; A.PersistedOpacity.prototype = { recomputeTransformAndClip$0() { var t2, dx, dy, _this = this, t1 = _this.parent.transform; _this.transform = t1; t2 = _this.offset; dx = t2._dx; dy = t2._dy; if (dx !== 0 || dy !== 0) { t1.toString; t2 = new A.Matrix4(new Float32Array(16)); t2.setFrom$1(t1); _this.transform = t2; t2.translate$2(0, dx, dy); } _this.projectedClip = null; }, get$localTransformInverse() { var t2, t1 = this._localTransformInverse; if (t1 == null) { t1 = this.offset; t2 = A.Matrix4$identity(); t2.setTranslationRaw$3(-t1._dx, -t1._dy, 0); this._localTransformInverse = t2; t1 = t2; } return t1; }, createElement$0(_) { var element = A.DomDocumentExtension_createElement(self.document, "flt-opacity"); A.setElementStyle(element, "position", "absolute"); A.setElementStyle(element, "transform-origin", "0 0 0"); return element; }, apply$0() { var t2, t1 = this.rootElement; t1.toString; A.setElementStyle(t1, "opacity", A.S(this.alpha / 255)); t2 = this.offset; A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "transform", "translate(" + A.S(t2._dx) + "px, " + A.S(t2._dy) + "px)"); }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); if (_this.alpha !== oldSurface.alpha || !_this.offset.$eq(0, oldSurface.offset)) _this.apply$0(); }, $isOpacityEngineLayer0: 1 }; A.SurfacePaint.prototype = { set$blendMode(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.blendMode = value; }, get$style(_) { var t1 = this._paintData.style; return t1 == null ? B.PaintingStyle_0 : t1; }, set$style(_, value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.style = value; }, get$strokeWidth() { var t1 = this._paintData.strokeWidth; return t1 == null ? 0 : t1; }, set$strokeWidth(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.strokeWidth = value; }, set$strokeCap(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.strokeCap = value; }, set$strokeJoin(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.strokeJoin = value; }, set$isAntiAlias(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.isAntiAlias = value; }, get$color(_) { return new A.Color(this._paintData.color); }, set$color(_, value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.color = value.get$value(value); }, set$invertColors(value) { }, set$shader(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.shader = value; }, set$maskFilter(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.maskFilter = value; }, set$filterQuality(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.filterQuality = value; }, set$colorFilter(value) { var _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } _this._paintData.colorFilter = value; }, toString$0(_) { var t4, semicolon, t1 = "" + "Paint(", t2 = this._paintData.style, t3 = t2 == null; if ((t3 ? B.PaintingStyle_0 : t2) === B.PaintingStyle_1) { t1 += (t3 ? B.PaintingStyle_0 : t2).toString$0(0); t2 = this._paintData; t3 = t2.strokeWidth; t4 = t3 == null; if ((t4 ? 0 : t3) !== 0) t1 += " " + A.S(t4 ? 0 : t3); else t1 += " hairline"; t2 = t2.strokeCap; t3 = t2 == null; if ((t3 ? B.StrokeCap_0 : t2) !== B.StrokeCap_0) t1 += " " + (t3 ? B.StrokeCap_0 : t2).toString$0(0); semicolon = "; "; } else semicolon = ""; t2 = this._paintData; if (!t2.isAntiAlias) { t1 += semicolon + "antialias off"; semicolon = "; "; } t2 = t2.color; t1 = (t2 !== 4278190080 ? t1 + (semicolon + new A.Color(t2).toString$0(0)) : t1) + ")"; return t1.charCodeAt(0) == 0 ? t1 : t1; }, $isPaint: 1 }; A.SurfacePaintData.prototype = { clone$0(_) { var _this = this, t1 = new A.SurfacePaintData(); t1.blendMode = _this.blendMode; t1.filterQuality = _this.filterQuality; t1.maskFilter = _this.maskFilter; t1.shader = _this.shader; t1.isAntiAlias = _this.isAntiAlias; t1.color = _this.color; t1.colorFilter = _this.colorFilter; t1.strokeWidth = _this.strokeWidth; t1.style = _this.style; t1.strokeJoin = _this.strokeJoin; t1.strokeCap = _this.strokeCap; return t1; }, toString$0(_) { return this.super$Object$toString(0); } }; A.Conic.prototype = { toQuads$0() { var dst, t1, t2, t3, controlPointOffset, skipSubdivide, pointCount, hasNonFinitePoints, p, _this = this, pointList = A._setArrayType([], type$.JSArray_Offset), subdivideCount = _this._computeSubdivisionCount$1(0.25), quadCount = B.JSInt_methods._shlPositive$1(1, subdivideCount); pointList.push(new A.Offset(_this.p0x, _this.p0y)); if (subdivideCount === 5) { dst = new A._ConicPair(); _this._chop$1(dst); t1 = dst.first; t1.toString; t2 = dst.second; t2.toString; t3 = t1.p1x; if (t3 === t1.p2x && t1.p1y === t1.p2y && t2.p0x === t2.p1x && t2.p0y === t2.p1y) { controlPointOffset = new A.Offset(t3, t1.p1y); pointList.push(controlPointOffset); pointList.push(controlPointOffset); pointList.push(controlPointOffset); pointList.push(new A.Offset(t2.p2x, t2.p2y)); quadCount = 2; skipSubdivide = true; } else skipSubdivide = false; } else skipSubdivide = false; if (!skipSubdivide) A.Conic__subdivide(_this, subdivideCount, pointList); pointCount = 2 * quadCount + 1; p = 0; while (true) { if (!(p < pointCount)) { hasNonFinitePoints = false; break; } t1 = pointList[p]; if (isNaN(t1._dx) || isNaN(t1._dy)) { hasNonFinitePoints = true; break; } ++p; } if (hasNonFinitePoints) for (t1 = pointCount - 1, t2 = _this.p1x, t3 = _this.p1y, p = 1; p < t1; ++p) pointList[p] = new A.Offset(t2, t3); return pointList; }, _chop$1(pair) { var w2, scaleHalf, _this = this, t1 = _this.fW, scale = 1 / (1 + t1), newW = Math.sqrt(0.5 + t1 * 0.5), t2 = _this.p1x, t3 = t1 * t2, t4 = _this.p1y, t5 = t1 * t4, t6 = _this.p0x, t7 = _this.p2x, t8 = (t6 + 2 * t3 + t7) * scale * 0.5, t9 = _this.p0y, t10 = _this.p2y, t11 = (t9 + 2 * t5 + t10) * scale * 0.5, m = new A.Offset(t8, t11); if (isNaN(t8) || isNaN(t11)) { w2 = t1 * 2; scaleHalf = scale * 0.5; m = new A.Offset((t6 + w2 * t2 + t7) * scaleHalf, (t9 + w2 * t4 + t10) * scaleHalf); } t1 = m._dx; t2 = m._dy; pair.first = new A.Conic(t6, t9, (t6 + t3) * scale, (t9 + t5) * scale, t1, t2, newW); pair.second = new A.Conic(t1, t2, (t7 + t3) * scale, (t10 + t5) * scale, t7, t10, newW); }, chopAtYExtrema$1(dst) { var _this = this, t = _this._findYExtrema$0(); if (t == null) { dst.push(_this); return; } if (!_this._chopAt$3$cleanupMiddle(t, dst, true)) { dst.push(_this); return; } }, _findYExtrema$0() { var wP10, quadRoots, _this = this, t1 = _this.p2y, t2 = _this.p0y, p20 = t1 - t2; t1 = _this.fW; wP10 = t1 * (_this.p1y - t2); quadRoots = new A.QuadRoots(); if (quadRoots.findRoots$3(t1 * p20 - p20, p20 - 2 * wP10, wP10) === 1) return quadRoots.root0; return null; }, _chopAt$3$cleanupMiddle(t, dst, cleanupMiddle) { var chopPointX, chopPointY, t2, t3, t4, _this = this, tx0 = _this.p0x, ty0 = _this.p0y, t1 = _this.fW, tx1 = _this.p1x * t1, ty1 = _this.p1y * t1, ty2 = _this.p2y, dx0 = tx0 + (tx1 - tx0) * t, dx2 = tx1 + (_this.p2x - tx1) * t, dy0 = ty0 + (ty1 - ty0) * t, dz0 = 1 + (t1 - 1) * t, dz2 = t1 + (1 - t1) * t, dz1 = dz0 + (dz2 - dz0) * t, root = Math.sqrt(dz1); if (Math.abs(root - 0) < 0.000244140625) return false; if (Math.abs(dz0 - 0) < 0.000244140625 || Math.abs(dz1 - 0) < 0.000244140625 || Math.abs(dz2 - 0) < 0.000244140625) return false; chopPointX = (dx0 + (dx2 - dx0) * t) / dz1; chopPointY = (dy0 + (ty1 + (ty2 - ty1) * t - dy0) * t) / dz1; t1 = _this.p0x; t2 = _this.p0y; t3 = _this.p2x; t4 = _this.p2y; dst.push(new A.Conic(t1, t2, dx0 / dz0, chopPointY, chopPointX, chopPointY, dz0 / root)); dst.push(new A.Conic(chopPointX, chopPointY, dx2 / dz2, chopPointY, t3, t4, dz2 / root)); return true; }, _computeSubdivisionCount$1(tolerance) { var a, k, x, y, error, pow2, _this = this; if (tolerance < 0) return 0; a = _this.fW - 1; k = a / (4 * (2 + a)); x = k * (_this.p0x - 2 * _this.p1x + _this.p2x); y = k * (_this.p0y - 2 * _this.p1y + _this.p2y); error = Math.sqrt(x * x + y * y); for (pow2 = 0; pow2 < 5; ++pow2) { if (error <= tolerance) break; error *= 0.25; } return pow2; }, evalTangentAt$1(t) { var t1, t2, p20x, t3, p20y, cx, cy, quadC, _this = this; if (!(t === 0 && _this.p0x === _this.p1x && _this.p0y === _this.p1y)) t1 = t === 1 && _this.p1x === _this.p2x && _this.p1y === _this.p2y; else t1 = true; if (t1) return new A.Offset(_this.p2x - _this.p0x, _this.p2y - _this.p0y); t1 = _this.p2x; t2 = _this.p0x; p20x = t1 - t2; t1 = _this.p2y; t3 = _this.p0y; p20y = t1 - t3; t1 = _this.fW; cx = t1 * (_this.p1x - t2); cy = t1 * (_this.p1y - t3); quadC = A.SkQuadCoefficients$(t1 * p20x - p20x, t1 * p20y - p20y, p20x - cx - cx, p20y - cy - cy, cx, cy); return new A.Offset(quadC.evalX$1(t), quadC.evalY$1(t)); } }; A.QuadBounds.prototype = {}; A.ConicBounds.prototype = {}; A._ConicPair.prototype = {}; A.CubicBounds.prototype = {}; A.SurfacePath.prototype = { _resetFields$0() { var _this = this; _this.fLastMoveToIndex = 0; _this._fillType = B.PathFillType_0; _this._firstDirection = _this._convexityType = -1; }, _copyFields$1(source) { var _this = this; _this._fillType = source._fillType; _this.fLastMoveToIndex = source.fLastMoveToIndex; _this._convexityType = source._convexityType; _this._firstDirection = source._firstDirection; }, get$fillType() { return this._fillType; }, set$fillType(value) { this._fillType = value; }, reset$0(_) { if (this.pathRef._fVerbsLength !== 0) { this.pathRef = A.PathRef$(); this._resetFields$0(); } }, moveTo$2(_, x, y) { var _this = this, pointIndex = _this.pathRef.growForVerb$2(0, 0); _this.fLastMoveToIndex = pointIndex + 1; _this.pathRef.setPoint$3(pointIndex, x, y); _this._firstDirection = _this._convexityType = -1; }, _injectMoveToIfNeeded$0() { var t2, x, y, pointIndex, t1 = this.fLastMoveToIndex; if (t1 <= 0) { t2 = this.pathRef; if (t2._fPointsLength === 0) { x = 0; y = 0; } else { pointIndex = 2 * (-t1 - 1); t1 = t2.fPoints; x = t1[pointIndex]; y = t1[pointIndex + 1]; } this.moveTo$2(0, x, y); } }, lineTo$2(_, x, y) { var pointIndex, _this = this; if (_this.fLastMoveToIndex <= 0) _this._injectMoveToIfNeeded$0(); pointIndex = _this.pathRef.growForVerb$2(1, 0); _this.pathRef.setPoint$3(pointIndex, x, y); _this._firstDirection = _this._convexityType = -1; }, relativeLineTo$2(dx, dy) { var pointIndex, t1 = this.pathRef, pointCount = t1._fPointsLength; if (pointCount === 0) this.lineTo$2(0, dx, dy); else { pointIndex = (pointCount - 1) * 2; t1 = t1.fPoints; this.lineTo$2(0, t1[pointIndex] + dx, t1[pointIndex + 1] + dy); } }, quadraticBezierTo$4(x1, y1, x2, y2) { this._injectMoveToIfNeeded$0(); this._quadTo$4(x1, y1, x2, y2); }, _quadTo$4(x1, y1, x2, y2) { var _this = this, pointIndex = _this.pathRef.growForVerb$2(2, 0); _this.pathRef.setPoint$3(pointIndex, x1, y1); _this.pathRef.setPoint$3(pointIndex + 1, x2, y2); _this._firstDirection = _this._convexityType = -1; }, conicTo$5(x1, y1, x2, y2, w) { var pointIndex, _this = this; _this._injectMoveToIfNeeded$0(); pointIndex = _this.pathRef.growForVerb$2(3, w); _this.pathRef.setPoint$3(pointIndex, x1, y1); _this.pathRef.setPoint$3(pointIndex + 1, x2, y2); _this._firstDirection = _this._convexityType = -1; }, cubicTo$6(x1, y1, x2, y2, x3, y3) { var pointIndex, _this = this; _this._injectMoveToIfNeeded$0(); pointIndex = _this.pathRef.growForVerb$2(4, 0); _this.pathRef.setPoint$3(pointIndex, x1, y1); _this.pathRef.setPoint$3(pointIndex + 1, x2, y2); _this.pathRef.setPoint$3(pointIndex + 2, x3, y3); _this._firstDirection = _this._convexityType = -1; }, close$0(_) { var _this = this, t1 = _this.pathRef, verbCount = t1._fVerbsLength; if (verbCount !== 0 && t1._fVerbs[verbCount - 1] !== 5) t1.growForVerb$2(5, 0); t1 = _this.fLastMoveToIndex; if (t1 >= 0) _this.fLastMoveToIndex = -t1; _this._firstDirection = _this._convexityType = -1; }, addRect$1(rect) { this.addRectWithDirection$3(rect, 0, 0); }, _hasOnlyMoveTos$0() { var i, t1 = this.pathRef, verbCount = t1._fVerbsLength; for (t1 = t1._fVerbs, i = 0; i < verbCount; ++i) switch (t1[i]) { case 1: case 2: case 3: case 4: return false; } return true; }, addRectWithDirection$3(rect, direction, startIndex) { var pointIndex1, pointIndex2, pointIndex3, t1, t2, t3, t4, t5, _this = this, isRect = _this._hasOnlyMoveTos$0(), finalDirection = _this._hasOnlyMoveTos$0() ? direction : -1, pointIndex0 = _this.pathRef.growForVerb$2(0, 0); _this.fLastMoveToIndex = pointIndex0 + 1; pointIndex1 = _this.pathRef.growForVerb$2(1, 0); pointIndex2 = _this.pathRef.growForVerb$2(1, 0); pointIndex3 = _this.pathRef.growForVerb$2(1, 0); _this.pathRef.growForVerb$2(5, 0); t1 = _this.pathRef; t2 = rect.left; t3 = rect.top; t4 = rect.right; t5 = rect.bottom; if (direction === 0) { t1.setPoint$3(pointIndex0, t2, t3); _this.pathRef.setPoint$3(pointIndex1, t4, t3); _this.pathRef.setPoint$3(pointIndex2, t4, t5); _this.pathRef.setPoint$3(pointIndex3, t2, t5); } else { t1.setPoint$3(pointIndex3, t2, t5); _this.pathRef.setPoint$3(pointIndex2, t4, t5); _this.pathRef.setPoint$3(pointIndex1, t4, t3); _this.pathRef.setPoint$3(pointIndex0, t2, t3); } t1 = _this.pathRef; t1.fIsRect = isRect; t1.fRRectOrOvalIsCCW = direction === 1; t1.fRRectOrOvalStartIdx = 0; _this._firstDirection = _this._convexityType = -1; _this._firstDirection = finalDirection; }, arcTo$4(_, rect, startAngle, sweepAngle, forceMoveTo) { var lonePoint, t2, t3, stopAngle, cosStart, sinStart, cosStop, sinStop, sweep, deltaRad, stopAngle0, dir, radiusX, radiusY, px, py, x, y, quadrant, conics, i, quadPointIndex, p0, p1, p2, lastQuadrantPoint, dot, offCurveX, offCurveY, cosThetaOver2, t4, conicCount, centerX, centerY, _i, conic, firstConicPx, firstConicPy, _this = this, t1 = rect.right - rect.left; if (t1 === 0 && rect.bottom - rect.top === 0) return; if (_this.pathRef._fPointsLength === 0) forceMoveTo = true; lonePoint = A._arcIsLonePoint(rect, startAngle, sweepAngle); if (lonePoint != null) { t2 = lonePoint._dx; t3 = lonePoint._dy; if (forceMoveTo) _this.moveTo$2(0, t2, t3); else _this.lineTo$2(0, t2, t3); } stopAngle = startAngle + sweepAngle; cosStart = Math.cos(startAngle); sinStart = Math.sin(startAngle); cosStop = Math.cos(stopAngle); sinStop = Math.sin(stopAngle); if (Math.abs(cosStart - cosStop) < 0.000244140625 && Math.abs(sinStart - sinStop) < 0.000244140625) { sweep = Math.abs(sweepAngle) * 180 / 3.141592653589793; if (sweep <= 360 && sweep > 359) { deltaRad = sweepAngle < 0 ? -0.001953125 : 0.001953125; stopAngle0 = stopAngle; do { stopAngle0 -= deltaRad; cosStop = Math.cos(stopAngle0); sinStop = Math.sin(stopAngle0); } while (cosStart === cosStop && sinStart === sinStop); } } dir = sweepAngle > 0 ? 0 : 1; radiusX = t1 / 2; radiusY = (rect.bottom - rect.top) / 2; px = rect.get$center()._dx + radiusX * Math.cos(stopAngle); py = rect.get$center()._dy + radiusY * Math.sin(stopAngle); if (cosStart === cosStop && sinStart === sinStop) { if (forceMoveTo) _this.moveTo$2(0, px, py); else _this._lineToIfNotTooCloseToLastPoint$2(px, py); return; } x = cosStart * cosStop + sinStart * sinStop; y = cosStart * sinStop - sinStart * cosStop; if (Math.abs(y) <= 0.000244140625) if (x > 0) if (!(y >= 0 && dir === 0)) t1 = y <= 0 && dir === 1; else t1 = true; else t1 = false; else t1 = false; if (t1) { if (forceMoveTo) _this.moveTo$2(0, px, py); else _this._lineToIfNotTooCloseToLastPoint$2(px, py); return; } t1 = dir === 1; if (t1) y = -y; if (0 === y) quadrant = 2; else if (0 === x) quadrant = y > 0 ? 1 : 3; else { t2 = y < 0; quadrant = t2 ? 2 : 0; if (x < 0 !== t2) ++quadrant; } conics = A._setArrayType([], type$.JSArray_Conic); for (i = 0; i < quadrant; ++i) { quadPointIndex = i * 2; p0 = B.List_mVm[quadPointIndex]; p1 = B.List_mVm[quadPointIndex + 1]; p2 = B.List_mVm[quadPointIndex + 2]; conics.push(new A.Conic(p0._dx, p0._dy, p1._dx, p1._dy, p2._dx, p2._dy, 0.707106781)); } lastQuadrantPoint = B.List_mVm[quadrant * 2]; t2 = lastQuadrantPoint._dx; t3 = lastQuadrantPoint._dy; dot = x * t2 + y * t3; if (dot < 1) { offCurveX = t2 + x; offCurveY = t3 + y; cosThetaOver2 = Math.sqrt((1 + dot) / 2); t4 = cosThetaOver2 * Math.sqrt(offCurveX * offCurveX + offCurveY * offCurveY); offCurveX /= t4; offCurveY /= t4; if (!(Math.abs(offCurveX - t2) < 0.000244140625) || !(Math.abs(offCurveY - t3) < 0.000244140625)) { conics.push(new A.Conic(t2, t3, offCurveX, offCurveY, x, y, cosThetaOver2)); conicCount = quadrant + 1; } else conicCount = quadrant; } else conicCount = quadrant; centerX = rect.get$center()._dx; centerY = rect.get$center()._dy; for (t2 = conics.length, _i = 0; _i < t2; ++_i) { conic = conics[_i]; x = conic.p0x; y = conic.p0y; if (t1) y = -y; conic.p0x = (cosStart * x - sinStart * y) * radiusX + centerX; conic.p0y = (cosStart * y + sinStart * x) * radiusY + centerY; x = conic.p1x; y = conic.p1y; if (t1) y = -y; conic.p1x = (cosStart * x - sinStart * y) * radiusX + centerX; conic.p1y = (cosStart * y + sinStart * x) * radiusY + centerY; x = conic.p2x; y = conic.p2y; if (t1) y = -y; conic.p2x = (cosStart * x - sinStart * y) * radiusX + centerX; conic.p2y = (cosStart * y + sinStart * x) * radiusY + centerY; } t1 = conics[0]; firstConicPx = t1.p0x; firstConicPy = t1.p0y; if (forceMoveTo) _this.moveTo$2(0, firstConicPx, firstConicPy); else _this._lineToIfNotTooCloseToLastPoint$2(firstConicPx, firstConicPy); for (i = 0; i < conicCount; ++i) { conic = conics[i]; _this.conicTo$5(conic.p1x, conic.p1y, conic.p2x, conic.p2y, conic.fW); } _this._firstDirection = _this._convexityType = -1; }, _lineToIfNotTooCloseToLastPoint$2(px, py) { var lastPoint, t1 = this.pathRef, pointCount = t1._fPointsLength; if (pointCount !== 0) { lastPoint = t1.atPoint$1(pointCount - 1); if (!(Math.abs(px - lastPoint._dx) < 0.000244140625) || !(Math.abs(py - lastPoint._dy) < 0.000244140625)) this.lineTo$2(0, px, py); } }, arcToPoint$3$clockwise$radius(arcEnd, clockwise, radius) { var t1, pointCount, lastPointX, lastPointY, pointIndex, x, y, rx, ry, midPointX, midPointY, cosXAxisRotation, sinXAxisRotation, xPrime, yPrime, radiiScale, unitPts0x, unitPts0y, unitPts1x, unitPts1y, deltaX, deltaY, scaleFactor, centerPointX, centerPointY, theta1, thetaArc, segments, thetaWidth, t, w, expectIntegers, startTheta, i, endTheta, sinEndTheta, cosEndTheta, xStart, yStart, xEnd, yEnd, _this = this; _this._injectMoveToIfNeeded$0(); t1 = _this.pathRef; pointCount = t1._fPointsLength; if (pointCount === 0) { lastPointX = 0; lastPointY = 0; } else { pointIndex = (pointCount - 1) * 2; t1 = t1.fPoints; lastPointX = t1[pointIndex]; lastPointY = t1[pointIndex + 1]; } x = arcEnd._dx; y = arcEnd._dy; rx = Math.abs(radius.x); ry = Math.abs(radius.y); if (lastPointX === x && lastPointY === y || B.JSNumber_methods.toInt$0(rx) === 0 || B.JSNumber_methods.toInt$0(ry) === 0) if (rx === 0 || ry === 0) { _this.lineTo$2(0, x, y); return; } midPointX = (lastPointX - x) / 2; midPointY = (lastPointY - y) / 2; cosXAxisRotation = Math.cos(0); sinXAxisRotation = Math.sin(0); xPrime = cosXAxisRotation * midPointX + sinXAxisRotation * midPointY; yPrime = -sinXAxisRotation * midPointX + cosXAxisRotation * midPointY; radiiScale = xPrime * xPrime / (rx * rx) + yPrime * yPrime / (ry * ry); if (radiiScale > 1) { radiiScale = Math.sqrt(radiiScale); rx *= radiiScale; ry *= radiiScale; } unitPts0x = (lastPointX * cosXAxisRotation + lastPointY * sinXAxisRotation) / rx; unitPts0y = (lastPointY * cosXAxisRotation - lastPointX * sinXAxisRotation) / ry; unitPts1x = (x * cosXAxisRotation + y * sinXAxisRotation) / rx; unitPts1y = (y * cosXAxisRotation - x * sinXAxisRotation) / ry; deltaX = unitPts1x - unitPts0x; deltaY = unitPts1y - unitPts0y; scaleFactor = Math.sqrt(Math.max(1 / (deltaX * deltaX + deltaY * deltaY) - 0.25, 0)); t1 = !clockwise; if (t1) scaleFactor = -scaleFactor; centerPointX = (unitPts0x + unitPts1x) / 2 - deltaY * scaleFactor; centerPointY = (unitPts0y + unitPts1y) / 2 + deltaX * scaleFactor; theta1 = Math.atan2(unitPts0y - centerPointY, unitPts0x - centerPointX); thetaArc = Math.atan2(unitPts1y - centerPointY, unitPts1x - centerPointX) - theta1; if (clockwise && thetaArc < 0) thetaArc += 6.283185307179586; else if (t1 && thetaArc > 0) thetaArc -= 6.283185307179586; if (Math.abs(thetaArc) < 0.0000031415926535897933) { _this.lineTo$2(0, x, y); return; } segments = B.JSNumber_methods.ceil$0(Math.abs(thetaArc / 2.0943951023931953)); thetaWidth = thetaArc / segments; t = Math.tan(thetaWidth / 2); if (!isFinite(t)) return; w = Math.sqrt(0.5 + Math.cos(thetaWidth) * 0.5); expectIntegers = Math.abs(1.5707963267948966 - Math.abs(thetaWidth) - 0) < 0.000244140625 && B.JSNumber_methods.floor$0(rx) === rx && B.JSNumber_methods.floor$0(ry) === ry && B.JSNumber_methods.floor$0(x) === x && B.JSNumber_methods.floor$0(y) === y; for (startTheta = theta1, i = 0; i < segments; ++i, startTheta = endTheta) { endTheta = startTheta + thetaWidth; sinEndTheta = Math.sin(endTheta); if (Math.abs(sinEndTheta - 0) < 0.000244140625) sinEndTheta = 0; cosEndTheta = Math.cos(endTheta); if (Math.abs(cosEndTheta - 0) < 0.000244140625) cosEndTheta = 0; unitPts1x = cosEndTheta + centerPointX; unitPts1y = sinEndTheta + centerPointY; unitPts0x = (unitPts1x + t * sinEndTheta) * rx; unitPts0y = (unitPts1y - t * cosEndTheta) * ry; unitPts1x *= rx; unitPts1y *= ry; xStart = unitPts0x * cosXAxisRotation - unitPts0y * sinXAxisRotation; yStart = unitPts0y * cosXAxisRotation + unitPts0x * sinXAxisRotation; xEnd = unitPts1x * cosXAxisRotation - unitPts1y * sinXAxisRotation; yEnd = unitPts1y * cosXAxisRotation + unitPts1x * sinXAxisRotation; if (expectIntegers) { xStart = Math.floor(xStart + 0.5); yStart = Math.floor(yStart + 0.5); xEnd = Math.floor(xEnd + 0.5); yEnd = Math.floor(yEnd + 0.5); } _this.conicTo$5(xStart, yStart, xEnd, yEnd, w); } }, arcToPoint$2$radius(arcEnd, radius) { return this.arcToPoint$3$clockwise$radius(arcEnd, true, radius); }, addOval$1(oval) { this._addOval$3(oval, 0, 0); }, _addOval$3(oval, direction, startIndex) { var t1, _this = this, isOval = _this._hasOnlyMoveTos$0(), left = oval.left, right = oval.right, centerX = (left + right) / 2, $top = oval.top, bottom = oval.bottom, centerY = ($top + bottom) / 2; if (direction === 0) { _this.moveTo$2(0, right, centerY); _this.conicTo$5(right, bottom, centerX, bottom, 0.707106781); _this.conicTo$5(left, bottom, left, centerY, 0.707106781); _this.conicTo$5(left, $top, centerX, $top, 0.707106781); _this.conicTo$5(right, $top, right, centerY, 0.707106781); } else { _this.moveTo$2(0, right, centerY); _this.conicTo$5(right, $top, centerX, $top, 0.707106781); _this.conicTo$5(left, $top, left, centerY, 0.707106781); _this.conicTo$5(left, bottom, centerX, bottom, 0.707106781); _this.conicTo$5(right, bottom, right, centerY, 0.707106781); } _this.close$0(0); t1 = _this.pathRef; t1.fIsOval = isOval; t1.fRRectOrOvalIsCCW = direction === 1; t1.fRRectOrOvalStartIdx = 0; _this._firstDirection = _this._convexityType = -1; if (isOval) _this._firstDirection = direction; }, addArc$3(oval, startAngle, sweepAngle) { var startOver90, startOver90I, startIndex, t1; if (0 === sweepAngle) return; if (sweepAngle >= 6.283185307179586 || sweepAngle <= -6.283185307179586) { startOver90 = startAngle / 1.5707963267948966; startOver90I = Math.floor(startOver90 + 0.5); if (Math.abs(startOver90 - startOver90I - 0) < 0.000244140625) { startIndex = startOver90I + 1; if (startIndex < 0) startIndex += 4; t1 = sweepAngle > 0 ? 0 : 1; this._addOval$3(oval, t1, B.JSNumber_methods.toInt$0(startIndex)); return; } } this.arcTo$4(0, oval, startAngle, sweepAngle, true); }, addPolygon$2(points, $close) { var pointIndex, t1, t2, i, index, _this = this, pointCount = points.length; if (pointCount <= 0) return; pointIndex = _this.pathRef.growForVerb$2(0, 0); _this.fLastMoveToIndex = pointIndex + 1; t1 = _this.pathRef; t2 = points[0]; t1.setPoint$3(pointIndex, t2._dx, t2._dy); _this.pathRef.growForRepeatedVerb$2(1, pointCount - 1); for (t1 = _this.pathRef.fPoints, i = 1; i < pointCount; ++i) { t2 = points[i]; index = (pointIndex + i) * 2; t1[index] = t2._dx; t1[index + 1] = t2._dy; } if ($close) _this.close$0(0); _this._firstDirection = _this._convexityType = -1; }, addRRect$1(rrect) { var t6, width, height, tlRadiusX, trRadiusX, blRadiusX, brRadiusX, tlRadiusY, trRadiusY, blRadiusY, brRadiusY, scale, _this = this, isRRect = _this._hasOnlyMoveTos$0(), t1 = rrect.left, t2 = rrect.top, t3 = rrect.right, t4 = rrect.bottom, bounds = new A.Rect(t1, t2, t3, t4), t5 = rrect.tlRadiusX; if (t5 === 0 || rrect.tlRadiusY === 0) if (rrect.trRadiusX === 0 || rrect.trRadiusY === 0) if (rrect.blRadiusX === 0 || rrect.blRadiusY === 0) t6 = rrect.brRadiusX === 0 || rrect.brRadiusY === 0; else t6 = false; else t6 = false; else t6 = false; if (t6 || rrect.get$isEmpty(0)) _this.addRectWithDirection$3(bounds, 0, 3); else if (A.isRRectOval(rrect)) _this._addOval$3(bounds, 0, 3); else { width = t3 - t1; height = t4 - t2; tlRadiusX = Math.max(0, t5); trRadiusX = Math.max(0, rrect.trRadiusX); blRadiusX = Math.max(0, rrect.blRadiusX); brRadiusX = Math.max(0, rrect.brRadiusX); tlRadiusY = Math.max(0, rrect.tlRadiusY); trRadiusY = Math.max(0, rrect.trRadiusY); blRadiusY = Math.max(0, rrect.blRadiusY); brRadiusY = Math.max(0, rrect.brRadiusY); scale = A._computeMinScale(blRadiusY, brRadiusY, height, A._computeMinScale(tlRadiusY, trRadiusY, height, A._computeMinScale(blRadiusX, brRadiusX, width, A._computeMinScale(tlRadiusX, trRadiusX, width, 1)))); t5 = t4 - scale * blRadiusY; _this.moveTo$2(0, t1, t5); _this.lineTo$2(0, t1, t2 + scale * tlRadiusY); _this.conicTo$5(t1, t2, t1 + scale * tlRadiusX, t2, 0.707106781); _this.lineTo$2(0, t3 - scale * trRadiusX, t2); _this.conicTo$5(t3, t2, t3, t2 + scale * trRadiusY, 0.707106781); _this.lineTo$2(0, t3, t4 - scale * brRadiusY); _this.conicTo$5(t3, t4, t3 - scale * brRadiusX, t4, 0.707106781); _this.lineTo$2(0, t1 + scale * blRadiusX, t4); _this.conicTo$5(t1, t4, t1, t5, 0.707106781); _this.close$0(0); _this._firstDirection = isRRect ? 0 : -1; t1 = _this.pathRef; t1.fIsRRect = isRRect; t1.fRRectOrOvalIsCCW = false; t1.fRRectOrOvalStartIdx = 6; } }, addPath$2(_, path, offset) { this.addPathWithMode$5(path, offset._dx, offset._dy, null, 0); }, addPathWithMode$5(path, offsetX, offsetY, matrix4, mode) { var t1, t2, verbCount, pointCount, weightCount, t3, t4, source, previousPointCount, iter, outPts, listIndex, listIndex0, firstVerb, verb, point0X, t5, point0Y, t6, t7, lastPointX, lastPointY, pointIndex, index, t8, newPointCount, points, p, x, y, _this = this; type$.SurfacePath._as(path); t1 = path.pathRef; if (t1._fVerbsLength === 0) return; if (t1.$eq(0, _this.pathRef)) { t1 = A.PathRef$(); t2 = _this.pathRef; verbCount = t2._fVerbsLength; pointCount = t2._fPointsLength; weightCount = t2._conicWeightsLength; t1.fBoundsIsDirty = true; t1.fSegmentMask = 0; t1.startEdit$0(); t1._resizePoints$1(pointCount); t1._resizeVerbs$1(verbCount); t1._resizeConicWeights$1(weightCount); B.NativeUint8List_methods.setAll$2(t1._fVerbs, 0, t2._fVerbs); B.NativeFloat32List_methods.setAll$2(t1.fPoints, 0, t2.fPoints); t3 = t2._conicWeights; if (t3 == null) t1._conicWeights = null; else { t4 = t1._conicWeights; t4.toString; B.NativeFloat32List_methods.setAll$2(t4, 0, t3); } t3 = t2.fBoundsIsDirty; t1.fBoundsIsDirty = t3; if (!t3) { t1.fBounds = t2.fBounds; t1.cachedBounds = t2.cachedBounds; t1.fIsFinite = t2.fIsFinite; } t1.fSegmentMask = t2.fSegmentMask; t1.fIsOval = t2.fIsOval; t1.fIsRRect = t2.fIsRRect; t1.fIsRect = t2.fIsRect; t1.fRRectOrOvalIsCCW = t2.fRRectOrOvalIsCCW; t1.fRRectOrOvalStartIdx = t2.fRRectOrOvalStartIdx; source = new A.SurfacePath(t1, B.PathFillType_0); source._copyFields$1(_this); } else source = path; t1 = _this.pathRef; previousPointCount = t1._fPointsLength; if (mode === 0) if (matrix4 != null) t2 = matrix4[15] === 1 && matrix4[14] === 0 && matrix4[11] === 0 && matrix4[10] === 1 && matrix4[9] === 0 && matrix4[8] === 0 && matrix4[7] === 0 && matrix4[6] === 0 && matrix4[3] === 0 && matrix4[2] === 0; else t2 = true; else t2 = false; t3 = source.pathRef; if (t2) t1.append$1(0, t3); else { iter = new A.PathRefIterator(t3); iter.PathRefIterator$1(t3); outPts = new Float32Array(8); for (t1 = matrix4 == null, listIndex = 2 * (previousPointCount - 1), listIndex0 = listIndex + 1, t2 = previousPointCount === 0, firstVerb = true; verb = iter.next$1(0, outPts), verb !== 6; firstVerb = false) switch (verb) { case 0: if (t1) { t4 = outPts[0]; point0X = t4 + offsetX; } else { t4 = matrix4[0]; t5 = outPts[0]; point0X = t4 * (t5 + offsetX) + matrix4[4] * (outPts[1] + offsetY) + matrix4[12]; t4 = t5; } if (t1) { t5 = outPts[1]; point0Y = t5 + offsetY; } else { t5 = matrix4[1]; t6 = matrix4[5]; t7 = outPts[1]; point0Y = t5 * (t4 + offsetX) + t6 * (t7 + offsetY) + matrix4[13] + offsetY; t5 = t7; } if (firstVerb && _this.pathRef._fVerbsLength !== 0) { _this._injectMoveToIfNeeded$0(); if (t2) { lastPointX = 0; lastPointY = 0; } else { t4 = _this.pathRef.fPoints; lastPointX = t4[listIndex]; lastPointY = t4[listIndex0]; } if (_this.fLastMoveToIndex <= 0 || !t2 || lastPointX !== point0X || lastPointY !== point0Y) _this.lineTo$2(0, outPts[0], outPts[1]); } else { pointIndex = _this.pathRef.growForVerb$2(0, 0); _this.fLastMoveToIndex = pointIndex + 1; index = pointIndex * 2; t6 = _this.pathRef.fPoints; t6[index] = t4; t6[index + 1] = t5; _this._firstDirection = _this._convexityType = -1; } break; case 1: _this.lineTo$2(0, outPts[2], outPts[3]); break; case 2: t4 = outPts[2]; t5 = outPts[3]; t6 = outPts[4]; t7 = outPts[5]; pointIndex = _this.pathRef.growForVerb$2(2, 0); index = pointIndex * 2; t8 = _this.pathRef.fPoints; t8[index] = t4; t8[index + 1] = t5; index = (pointIndex + 1) * 2; t8[index] = t6; t8[index + 1] = t7; _this._firstDirection = _this._convexityType = -1; break; case 3: _this.conicTo$5(outPts[2], outPts[3], outPts[4], outPts[5], t3._conicWeights[iter._conicWeightIndex]); break; case 4: _this.cubicTo$6(outPts[2], outPts[3], outPts[4], outPts[5], outPts[6], outPts[7]); break; case 5: _this.close$0(0); break; } } t1 = source.fLastMoveToIndex; if (t1 >= 0) _this.fLastMoveToIndex = previousPointCount + t1; t1 = _this.pathRef; newPointCount = t1._fPointsLength; points = t1.fPoints; for (p = previousPointCount * 2, t1 = newPointCount * 2, t2 = matrix4 == null; p < t1; p += 2) { t3 = p + 1; if (t2) { points[p] = points[p] + offsetX; points[t3] = points[t3] + offsetY; } else { x = points[p]; y = points[t3]; points[p] = matrix4[0] * x + matrix4[4] * y + (matrix4[12] + offsetX); points[t3] = matrix4[1] * x + matrix4[5] * y + (matrix4[13] + offsetY); } } _this._firstDirection = _this._convexityType = -1; }, contains$1(_, point) { var bounds, x, y, t1, windings, evenOddFill, w, onCurveCount, iter, buffer, tangents, done, oldCount, t2, last, tangent, dx, dy, index, test, t3, offset, _this = this; if (_this.pathRef._fVerbsLength === 0) return false; bounds = _this.getBounds$0(0); x = point._dx; y = point._dy; if (x < bounds.left || y < bounds.top || x > bounds.right || y > bounds.bottom) return false; t1 = _this.pathRef; windings = new A.PathWinding(t1, x, y, new Float32Array(18)); windings._walkPath$0(); evenOddFill = B.PathFillType_1 === _this._fillType; w = windings._w; if ((evenOddFill ? w & 1 : w) !== 0) return true; onCurveCount = windings._onCurveCount; if (onCurveCount <= 1) return onCurveCount !== 0; t1 = (onCurveCount & 1) === 0; if (!t1 || evenOddFill) return !t1; iter = A.PathIterator$(_this.pathRef, true); buffer = new Float32Array(18); tangents = A._setArrayType([], type$.JSArray_Offset); t1 = iter.pathRef; done = false; do { oldCount = tangents.length; switch (iter.next$1(0, buffer)) { case 0: case 5: break; case 1: A.tangentLine(buffer, x, y, tangents); break; case 2: A.tangentQuad(buffer, x, y, tangents); break; case 3: t2 = iter._conicWeightIndex; A.tangentConic(buffer, x, y, t1._conicWeights[t2], tangents); break; case 4: A.tangentCubic(buffer, x, y, tangents); break; case 6: done = true; break; } t2 = tangents.length; if (t2 > oldCount) { last = t2 - 1; tangent = tangents[last]; dx = tangent._dx; dy = tangent._dy; if (Math.abs(dx * dx + dy * dy - 0) < 0.000244140625) B.JSArray_methods.removeAt$1(tangents, last); else for (index = 0; index < last; ++index) { test = tangents[index]; t2 = test._dx; t3 = test._dy; if (Math.abs(t2 * dy - t3 * dx - 0) < 0.000244140625) { t2 = dx * t2; if (t2 < 0) t2 = -1; else t2 = t2 > 0 ? 1 : 0; if (t2 <= 0) { t2 = dy * t3; if (t2 < 0) t2 = -1; else t2 = t2 > 0 ? 1 : 0; t2 = t2 <= 0; } else t2 = false; } else t2 = false; if (t2) { offset = B.JSArray_methods.removeAt$1(tangents, last); if (index !== tangents.length) tangents[index] = offset; break; } } } } while (!done); return tangents.length !== 0; }, shift$1(offset) { var t6, t1 = offset._dx, t2 = offset._dy, t3 = this.pathRef, t4 = A.PathRef__fPointsFromSource(t3, t1, t2), t5 = t3._fVerbsCapacity, verbs = new Uint8Array(t5); B.NativeUint8List_methods.setAll$2(verbs, 0, t3._fVerbs); t4 = new A.PathRef(t4, verbs); t5 = t3._conicWeightsCapacity; t4._conicWeightsCapacity = t5; t4._conicWeightsLength = t3._conicWeightsLength; t6 = t3._conicWeights; if (t6 != null) { t5 = new Float32Array(t5); t4._conicWeights = t5; B.NativeFloat32List_methods.setAll$2(t5, 0, t6); } t4._fVerbsCapacity = t3._fVerbsCapacity; t4._fVerbsLength = t3._fVerbsLength; t4._fPointsCapacity = t3._fPointsCapacity; t4._fPointsLength = t3._fPointsLength; t5 = t3.fBoundsIsDirty; t4.fBoundsIsDirty = t5; if (!t5) { t4.fBounds = t3.fBounds.translate$2(0, t1, t2); t5 = t3.cachedBounds; t4.cachedBounds = t5 == null ? null : t5.translate$2(0, t1, t2); t4.fIsFinite = t3.fIsFinite; } t4.fSegmentMask = t3.fSegmentMask; t4.fIsOval = t3.fIsOval; t4.fIsRRect = t3.fIsRRect; t4.fIsRect = t3.fIsRect; t4.fRRectOrOvalIsCCW = t3.fRRectOrOvalIsCCW; t4.fRRectOrOvalStartIdx = t3.fRRectOrOvalStartIdx; t1 = new A.SurfacePath(t4, B.PathFillType_0); t1._copyFields$1(this); return t1; }, getBounds$0(_) { var t2, iter, points, ltrbInitialized, left, $top, right, bottom, minX, maxX, minY, maxY, cubicBounds, quadBounds, conicBounds, verb, pIndex, pointIndex, x1, pointIndex0, y1, cpX, cpY, x2, y2, t3, t4, t5, denom, t10, tprime, t6, t7, extremaX, extremaY, t20, tprime2, extrema2X, extrema2Y, roots, p20x, wP10x, $B, src2w, p20y, wP10y, startX, startY, cpX1, cpY1, cpX2, cpY2, endX, endY, a, b, s, t, newBounds, _this = this, t1 = _this.pathRef; if ((t1.fIsRRect ? t1.fRRectOrOvalStartIdx : -1) === -1) t2 = (t1.fIsOval ? t1.fRRectOrOvalStartIdx : -1) !== -1; else t2 = true; if (t2) return t1.getBounds$0(0); if (!t1.fBoundsIsDirty && t1.cachedBounds != null) { t1 = t1.cachedBounds; t1.toString; return t1; } iter = new A.PathRefIterator(t1); iter.PathRefIterator$1(t1); points = _this.pathRef.fPoints; for (ltrbInitialized = false, left = 0, $top = 0, right = 0, bottom = 0, minX = 0, maxX = 0, minY = 0, maxY = 0, cubicBounds = null, quadBounds = null, conicBounds = null; verb = iter.nextIndex$0(), verb !== 6;) { pIndex = iter.iterIndex; switch (verb) { case 0: maxX = points[pIndex]; maxY = points[pIndex + 1]; minY = maxY; minX = maxX; break; case 1: maxX = points[pIndex + 2]; maxY = points[pIndex + 3]; minY = maxY; minX = maxX; break; case 2: if (quadBounds == null) quadBounds = new A.QuadBounds(); pointIndex = pIndex + 1; x1 = points[pIndex]; pointIndex0 = pointIndex + 1; y1 = points[pointIndex]; pointIndex = pointIndex0 + 1; cpX = points[pointIndex0]; pointIndex0 = pointIndex + 1; cpY = points[pointIndex]; x2 = points[pointIndex0]; y2 = points[pointIndex0 + 1]; t2 = quadBounds.minX = Math.min(x1, x2); t3 = quadBounds.minY = Math.min(y1, y2); t4 = quadBounds.maxX = Math.max(x1, x2); t5 = quadBounds.maxY = Math.max(y1, y2); denom = x1 - 2 * cpX + x2; if (Math.abs(denom) > 0.000244140625) { t10 = (x1 - cpX) / denom; if (t10 >= 0 && t10 <= 1) { tprime = 1 - t10; t6 = tprime * tprime; t7 = 2 * t10 * tprime; t10 *= t10; extremaX = t6 * x1 + t7 * cpX + t10 * x2; extremaY = t6 * y1 + t7 * cpY + t10 * y2; t2 = Math.min(t2, extremaX); quadBounds.minX = t2; t4 = Math.max(t4, extremaX); quadBounds.maxX = t4; t3 = Math.min(t3, extremaY); quadBounds.minY = t3; t5 = Math.max(t5, extremaY); quadBounds.maxY = t5; } } denom = y1 - 2 * cpY + y2; if (Math.abs(denom) > 0.000244140625) { t20 = (y1 - cpY) / denom; if (t20 >= 0 && t20 <= 1) { tprime2 = 1 - t20; t6 = tprime2 * tprime2; t7 = 2 * t20 * tprime2; t20 *= t20; extrema2X = t6 * x1 + t7 * cpX + t20 * x2; extrema2Y = t6 * y1 + t7 * cpY + t20 * y2; t2 = Math.min(t2, extrema2X); quadBounds.minX = t2; t4 = Math.max(t4, extrema2X); quadBounds.maxX = t4; t3 = Math.min(t3, extrema2Y); quadBounds.minY = t3; t5 = Math.max(t5, extrema2Y); quadBounds.maxY = t5; } maxY = t5; maxX = t4; minY = t3; minX = t2; } else { maxY = t5; maxX = t4; minY = t3; minX = t2; } break; case 3: if (conicBounds == null) conicBounds = new A.ConicBounds(); t2 = t1._conicWeights[iter._conicWeightIndex]; pointIndex = pIndex + 1; x1 = points[pIndex]; pointIndex0 = pointIndex + 1; y1 = points[pointIndex]; pointIndex = pointIndex0 + 1; cpX = points[pointIndex0]; pointIndex0 = pointIndex + 1; cpY = points[pointIndex]; x2 = points[pointIndex0]; y2 = points[pointIndex0 + 1]; conicBounds.minX = Math.min(x1, x2); conicBounds.minY = Math.min(y1, y2); conicBounds.maxX = Math.max(x1, x2); conicBounds.maxY = Math.max(y1, y2); roots = new A.QuadRoots(); p20x = x2 - x1; wP10x = t2 * (cpX - x1); if (roots.findRoots$3(t2 * p20x - p20x, p20x - 2 * wP10x, wP10x) !== 0) { t3 = roots.root0; t3.toString; if (t3 >= 0 && t3 <= 1) { $B = 2 * (t2 - 1); denom = (-$B * t3 + $B) * t3 + 1; src2w = cpX * t2; extremaX = (((x2 - 2 * src2w + x1) * t3 + 2 * (src2w - x1)) * t3 + x1) / denom; src2w = cpY * t2; extremaY = (((y2 - 2 * src2w + y1) * t3 + 2 * (src2w - y1)) * t3 + y1) / denom; conicBounds.minX = Math.min(conicBounds.minX, extremaX); conicBounds.maxX = Math.max(conicBounds.maxX, extremaX); conicBounds.minY = Math.min(conicBounds.minY, extremaY); conicBounds.maxY = Math.max(conicBounds.maxY, extremaY); } } p20y = y2 - y1; wP10y = t2 * (cpY - y1); if (roots.findRoots$3(t2 * p20y - p20y, p20y - 2 * wP10y, wP10y) !== 0) { t3 = roots.root0; t3.toString; if (t3 >= 0 && t3 <= 1) { $B = 2 * (t2 - 1); denom = (-$B * t3 + $B) * t3 + 1; src2w = cpX * t2; extrema2X = (((x2 - 2 * src2w + x1) * t3 + 2 * (src2w - x1)) * t3 + x1) / denom; src2w = cpY * t2; extrema2Y = (((y2 - 2 * src2w + y1) * t3 + 2 * (src2w - y1)) * t3 + y1) / denom; conicBounds.minX = Math.min(conicBounds.minX, extrema2X); conicBounds.maxX = Math.max(conicBounds.maxX, extrema2X); conicBounds.minY = Math.min(conicBounds.minY, extrema2Y); conicBounds.maxY = Math.max(conicBounds.maxY, extrema2Y); } } minX = conicBounds.minX; minY = conicBounds.minY; maxX = conicBounds.maxX; maxY = conicBounds.maxY; break; case 4: if (cubicBounds == null) cubicBounds = new A.CubicBounds(); pointIndex = pIndex + 1; startX = points[pIndex]; pointIndex0 = pointIndex + 1; startY = points[pointIndex]; pointIndex = pointIndex0 + 1; cpX1 = points[pointIndex0]; pointIndex0 = pointIndex + 1; cpY1 = points[pointIndex]; pointIndex = pointIndex0 + 1; cpX2 = points[pointIndex0]; pointIndex0 = pointIndex + 1; cpY2 = points[pointIndex]; endX = points[pointIndex0]; endY = points[pointIndex0 + 1]; t2 = Math.min(startX, endX); cubicBounds.minX = t2; cubicBounds.minY = Math.min(startY, endY); t3 = Math.max(startX, endX); cubicBounds.maxX = t3; cubicBounds.maxY = Math.max(startY, endY); if (!(startX < cpX1 && cpX1 < cpX2 && cpX2 < endX)) t4 = startX > cpX1 && cpX1 > cpX2 && cpX2 > endX; else t4 = true; if (!t4) { t4 = -startX; a = t4 + 3 * (cpX1 - cpX2) + endX; b = 2 * (startX - 2 * cpX1 + cpX2); s = b * b - 4 * a * (t4 + cpX1); if (s >= 0 && Math.abs(a) > 0.000244140625) { t4 = -b; t5 = 2 * a; if (s === 0) { t = t4 / t5; tprime = 1 - t; if (t >= 0 && t <= 1) { t4 = 3 * tprime; extremaX = tprime * tprime * tprime * startX + t4 * tprime * t * cpX1 + t4 * t * t * cpX2 + t * t * t * endX; cubicBounds.minX = Math.min(extremaX, t2); cubicBounds.maxX = Math.max(extremaX, t3); } } else { s = Math.sqrt(s); t = (t4 - s) / t5; tprime = 1 - t; if (t >= 0 && t <= 1) { t2 = 3 * tprime; extremaX = tprime * tprime * tprime * startX + t2 * tprime * t * cpX1 + t2 * t * t * cpX2 + t * t * t * endX; cubicBounds.minX = Math.min(extremaX, cubicBounds.minX); cubicBounds.maxX = Math.max(extremaX, cubicBounds.maxX); } t = (t4 + s) / t5; tprime = 1 - t; if (t >= 0 && t <= 1) { t2 = 3 * tprime; extremaX = tprime * tprime * tprime * startX + t2 * tprime * t * cpX1 + t2 * t * t * cpX2 + t * t * t * endX; cubicBounds.minX = Math.min(extremaX, cubicBounds.minX); cubicBounds.maxX = Math.max(extremaX, cubicBounds.maxX); } } } } if (!(startY < cpY1 && cpY1 < cpY2 && cpY2 < endY)) t2 = startY > cpY1 && cpY1 > cpY2 && cpY2 > endY; else t2 = true; if (!t2) { t2 = -startY; a = t2 + 3 * (cpY1 - cpY2) + endY; b = 2 * (startY - 2 * cpY1 + cpY2); s = b * b - 4 * a * (t2 + cpY1); if (s >= 0 && Math.abs(a) > 0.000244140625) { t2 = -b; t3 = 2 * a; if (s === 0) { t = t2 / t3; tprime = 1 - t; if (t >= 0 && t <= 1) { t2 = 3 * tprime; extremaY = tprime * tprime * tprime * startY + t2 * tprime * t * cpY1 + t2 * t * t * cpY2 + t * t * t * endY; cubicBounds.minY = Math.min(extremaY, cubicBounds.minY); cubicBounds.maxY = Math.max(extremaY, cubicBounds.maxY); } } else { s = Math.sqrt(s); t = (t2 - s) / t3; tprime = 1 - t; if (t >= 0 && t <= 1) { t4 = 3 * tprime; extremaY = tprime * tprime * tprime * startY + t4 * tprime * t * cpY1 + t4 * t * t * cpY2 + t * t * t * endY; cubicBounds.minY = Math.min(extremaY, cubicBounds.minY); cubicBounds.maxY = Math.max(extremaY, cubicBounds.maxY); } t2 = (t2 + s) / t3; tprime2 = 1 - t2; if (t2 >= 0 && t2 <= 1) { t3 = 3 * tprime2; extremaY = tprime2 * tprime2 * tprime2 * startY + t3 * tprime2 * t2 * cpY1 + t3 * t2 * t2 * cpY2 + t2 * t2 * t2 * endY; cubicBounds.minY = Math.min(extremaY, cubicBounds.minY); cubicBounds.maxY = Math.max(extremaY, cubicBounds.maxY); } } } } minX = cubicBounds.minX; minY = cubicBounds.minY; maxX = cubicBounds.maxX; maxY = cubicBounds.maxY; break; } if (!ltrbInitialized) { bottom = maxY; right = maxX; $top = minY; left = minX; ltrbInitialized = true; } else { left = Math.min(left, minX); right = Math.max(right, maxX); $top = Math.min($top, minY); bottom = Math.max(bottom, maxY); } } newBounds = ltrbInitialized ? new A.Rect(left, $top, right, bottom) : B.Rect_0_0_0_0; _this.pathRef.getBounds$0(0); return _this.pathRef.cachedBounds = newBounds; }, get$isEmpty(_) { return 0 === this.pathRef._fVerbsLength; }, toString$0(_) { return this.super$Object$toString(0); }, $isPath: 1 }; A.PathIterator.prototype = { _autoClose$1(outPts) { var _this = this, t1 = _this._lastPointX, t2 = _this._moveToX; if (t1 !== t2 || _this._lastPointY !== _this._moveToY) { if (isNaN(t1) || isNaN(_this._lastPointY) || isNaN(t2) || isNaN(_this._moveToY)) return 5; outPts[0] = t1; outPts[1] = _this._lastPointY; outPts[2] = t2; t1 = _this._moveToY; outPts[3] = t1; _this._lastPointX = t2; _this._lastPointY = t1; return 1; } else { outPts[0] = t2; outPts[1] = _this._moveToY; return 5; } }, _constructMoveTo$0() { var t1, t2, _this = this; if (_this._segmentState === 1) { _this._segmentState = 2; return new A.Offset(_this._moveToX, _this._moveToY); } t1 = _this.pathRef.fPoints; t2 = _this._pointIndex; return new A.Offset(t1[t2 - 2], t1[t2 - 1]); }, next$1(_, outPts) { var t3, verb, autoVerb, offsetX, offsetY, start, _this = this, t1 = _this._verbIndex, t2 = _this.pathRef; if (t1 === t2._fVerbsLength) { if (_this._needClose && _this._segmentState === 2) { if (1 === _this._autoClose$1(outPts)) return 1; _this._needClose = false; return 5; } return 6; } t3 = _this._verbIndex = t1 + 1; verb = t2._fVerbs[t1]; switch (verb) { case 0: if (_this._needClose) { _this._verbIndex = t3 - 1; autoVerb = _this._autoClose$1(outPts); if (autoVerb === 5) _this._needClose = false; return autoVerb; } if (t3 === _this._verbCount) return 6; t1 = t2.fPoints; t2 = _this._pointIndex; t3 = _this._pointIndex = t2 + 1; offsetX = t1[t2]; _this._pointIndex = t3 + 1; offsetY = t1[t3]; _this._moveToX = offsetX; _this._moveToY = offsetY; outPts[0] = offsetX; outPts[1] = offsetY; _this._segmentState = 1; _this._lastPointX = offsetX; _this._lastPointY = offsetY; _this._needClose = true; break; case 1: start = _this._constructMoveTo$0(); t1 = t2.fPoints; t2 = _this._pointIndex; t3 = _this._pointIndex = t2 + 1; offsetX = t1[t2]; _this._pointIndex = t3 + 1; offsetY = t1[t3]; outPts[0] = start._dx; outPts[1] = start._dy; outPts[2] = offsetX; outPts[3] = offsetY; _this._lastPointX = offsetX; _this._lastPointY = offsetY; break; case 3: ++_this._conicWeightIndex; start = _this._constructMoveTo$0(); outPts[0] = start._dx; outPts[1] = start._dy; t1 = t2.fPoints; t2 = _this._pointIndex; t3 = _this._pointIndex = t2 + 1; outPts[2] = t1[t2]; t2 = _this._pointIndex = t3 + 1; outPts[3] = t1[t3]; t3 = _this._pointIndex = t2 + 1; t2 = t1[t2]; outPts[4] = t2; _this._lastPointX = t2; _this._pointIndex = t3 + 1; t3 = t1[t3]; outPts[5] = t3; _this._lastPointY = t3; break; case 2: start = _this._constructMoveTo$0(); outPts[0] = start._dx; outPts[1] = start._dy; t1 = t2.fPoints; t2 = _this._pointIndex; t3 = _this._pointIndex = t2 + 1; outPts[2] = t1[t2]; t2 = _this._pointIndex = t3 + 1; outPts[3] = t1[t3]; t3 = _this._pointIndex = t2 + 1; t2 = t1[t2]; outPts[4] = t2; _this._lastPointX = t2; _this._pointIndex = t3 + 1; t3 = t1[t3]; outPts[5] = t3; _this._lastPointY = t3; break; case 4: start = _this._constructMoveTo$0(); outPts[0] = start._dx; outPts[1] = start._dy; t1 = t2.fPoints; t2 = _this._pointIndex; t3 = _this._pointIndex = t2 + 1; outPts[2] = t1[t2]; t2 = _this._pointIndex = t3 + 1; outPts[3] = t1[t3]; t3 = _this._pointIndex = t2 + 1; outPts[4] = t1[t2]; t2 = _this._pointIndex = t3 + 1; outPts[5] = t1[t3]; t3 = _this._pointIndex = t2 + 1; t2 = t1[t2]; outPts[6] = t2; _this._lastPointX = t2; _this._pointIndex = t3 + 1; t3 = t1[t3]; outPts[7] = t3; _this._lastPointY = t3; break; case 5: verb = _this._autoClose$1(outPts); if (verb === 1) --_this._verbIndex; else { _this._needClose = false; _this._segmentState = 0; } _this._lastPointX = _this._moveToX; _this._lastPointY = _this._moveToY; break; case 6: break; default: throw A.wrapException(A.FormatException$("Unsupport Path verb " + verb, null, null)); } return verb; } }; A.PathRef.prototype = { setPoint$3(pointIndex, x, y) { var index = pointIndex * 2, t1 = this.fPoints; t1[index] = x; t1[index + 1] = y; }, atPoint$1(index) { var t1 = this.fPoints, t2 = index * 2; return new A.Offset(t1[t2], t1[t2 + 1]); }, getRect$0() { var _this = this; if (_this.fIsRect) return new A.Rect(_this.atPoint$1(0)._dx, _this.atPoint$1(0)._dy, _this.atPoint$1(1)._dx, _this.atPoint$1(2)._dy); else return _this._fVerbsLength === 4 ? _this._detectRect$0() : null; }, getBounds$0(_) { var t1; if (this.fBoundsIsDirty) this._computeBounds$0(); t1 = this.fBounds; t1.toString; return t1; }, _detectRect$0() { var width, x2, y2, height, t1, y3, x, y, _this = this, _null = null, x0 = _this.atPoint$1(0)._dx, y0 = _this.atPoint$1(0)._dy, x1 = _this.atPoint$1(1)._dx, y1 = _this.atPoint$1(1)._dy; if (_this._fVerbs[1] !== 1 || y1 !== y0) return _null; width = x1 - x0; x2 = _this.atPoint$1(2)._dx; y2 = _this.atPoint$1(2)._dy; if (_this._fVerbs[2] !== 1 || x2 !== x1) return _null; height = y2 - y1; t1 = _this.atPoint$1(3); y3 = _this.atPoint$1(3)._dy; if (_this._fVerbs[3] !== 1 || y3 !== y2) return _null; if (x2 - t1._dx !== width || y3 - y0 !== height) return _null; x = Math.min(x0, x1); y = Math.min(y0, y2); return new A.Rect(x, y, x + Math.abs(width), y + Math.abs(height)); }, getStraightLine$0() { var t1, x0, y0, x1, y1; if (this._fVerbsLength === 2) { t1 = this._fVerbs; t1 = t1[0] !== 0 || t1[1] !== 1; } else t1 = true; if (t1) return null; t1 = this.fPoints; x0 = t1[0]; y0 = t1[1]; x1 = t1[2]; y1 = t1[3]; if (y0 === y1 || x0 === x1) return new A.Rect(x0, y0, x1, y1); return null; }, _getRRect$0() { var pts, verb, controlPx, controlPy, vector1_0x, vector1_0y, t1, t2, dx, dy, t3, _box_0 = {}, bounds = this.getBounds$0(0), radii = A._setArrayType([], type$.JSArray_Radius), iter = new A.PathRefIterator(this); iter.PathRefIterator$1(this); pts = new Float32Array(8); _box_0.verb = iter.next$1(0, pts); _box_0.cornerIndex = 0; for (; verb = _box_0.verb = iter.next$1(0, pts), verb !== 6;) if (3 === verb) { controlPx = pts[2]; controlPy = pts[3]; vector1_0x = controlPx - pts[0]; vector1_0y = controlPy - pts[1]; t1 = pts[4]; t2 = pts[5]; if (vector1_0x !== 0) { dx = Math.abs(vector1_0x); dy = Math.abs(t2 - controlPy); } else { dy = Math.abs(vector1_0y); dx = vector1_0y !== 0 ? Math.abs(t1 - controlPx) : Math.abs(vector1_0x); } radii.push(new A.Radius(dx, dy)); ++_box_0.cornerIndex; } t1 = radii[0]; t2 = radii[1]; t3 = radii[2]; return A.RRect$fromRectAndCorners(bounds, radii[3], t3, t1, t2); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A.PathRef && this.equals$1(other); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.fSegmentMask, _this.fPoints, _this._conicWeights, _this._fVerbs, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, equals$1(ref) { var pointCount, len, t1, t2, i, weightCount, verbCount, _this = this; if (_this.fSegmentMask !== ref.fSegmentMask) return false; pointCount = _this._fPointsLength; if (pointCount !== ref._fPointsLength) return false; len = pointCount * 2; for (t1 = _this.fPoints, t2 = ref.fPoints, i = 0; i < len; ++i) if (t1[i] !== t2[i]) return false; t1 = _this._conicWeights; if (t1 == null) { if (ref._conicWeights != null) return false; } else { t2 = ref._conicWeights; if (t2 == null) return false; weightCount = t1.length; if (t2.length !== weightCount) return false; for (i = 0; i < weightCount; ++i) if (t1[i] !== t2[i]) return false; } verbCount = _this._fVerbsLength; if (verbCount !== ref._fVerbsLength) return false; for (t1 = _this._fVerbs, t2 = ref._fVerbs, i = 0; i < verbCount; ++i) if (t1[i] !== t2[i]) return false; return true; }, _resizePoints$1(newLength) { var t1, newPoints, _this = this; if (newLength > _this._fPointsCapacity) { t1 = newLength + 10; _this._fPointsCapacity = t1; newPoints = new Float32Array(t1 * 2); B.NativeFloat32List_methods.setAll$2(newPoints, 0, _this.fPoints); _this.fPoints = newPoints; } _this._fPointsLength = newLength; }, _resizeVerbs$1(newLength) { var t1, newVerbs, _this = this; if (newLength > _this._fVerbsCapacity) { t1 = newLength + 8; _this._fVerbsCapacity = t1; newVerbs = new Uint8Array(t1); B.NativeUint8List_methods.setAll$2(newVerbs, 0, _this._fVerbs); _this._fVerbs = newVerbs; } _this._fVerbsLength = newLength; }, _resizeConicWeights$1(newLength) { var t1, newWeights, _this = this; if (newLength > _this._conicWeightsCapacity) { t1 = newLength + 4; _this._conicWeightsCapacity = t1; newWeights = new Float32Array(t1); t1 = _this._conicWeights; if (t1 != null) B.NativeFloat32List_methods.setAll$2(newWeights, 0, t1); _this._conicWeights = newWeights; } _this._conicWeightsLength = newLength; }, append$1(_, source) { var sourcePoints, source0, dst, t1, verbCount, newVerbCount, t2, i, weightCount, newWeightCount, _this = this, pointCount = source._fPointsLength, newPointCount = _this._fPointsLength + pointCount; _this.startEdit$0(); _this._resizePoints$1(newPointCount); sourcePoints = source.fPoints; for (source0 = pointCount * 2 - 1, dst = newPointCount * 2 - 1, t1 = _this.fPoints; source0 >= 0; --source0, --dst) t1[dst] = sourcePoints[source0]; verbCount = _this._fVerbsLength; newVerbCount = source._fVerbsLength; _this._resizeVerbs$1(verbCount + newVerbCount); for (t1 = _this._fVerbs, t2 = source._fVerbs, i = 0; i < newVerbCount; ++i) t1[verbCount + i] = t2[i]; if (source._conicWeights != null) { weightCount = _this._conicWeightsLength; newWeightCount = source._conicWeightsLength; _this._resizeConicWeights$1(weightCount + newWeightCount); t1 = source._conicWeights; t1.toString; t2 = _this._conicWeights; t2.toString; for (i = 0; i < newWeightCount; ++i) t2[weightCount + i] = t1[i]; } _this.fBoundsIsDirty = true; }, _computeBounds$0() { var t1, maxX, maxY, accum, len, minY, minX, i, x, y, _this = this, pointCount = _this._fPointsLength; _this.fBoundsIsDirty = false; _this.cachedBounds = null; if (pointCount === 0) { _this.fBounds = B.Rect_0_0_0_0; _this.fIsFinite = true; } else { t1 = _this.fPoints; maxX = t1[0]; maxY = t1[1]; accum = 0 * maxX * maxY; len = 2 * pointCount; for (minY = maxY, minX = maxX, i = 2; i < len; i += 2) { x = t1[i]; y = t1[i + 1]; accum = accum * x * y; minX = Math.min(minX, x); minY = Math.min(minY, y); maxX = Math.max(maxX, x); maxY = Math.max(maxY, y); } if (accum * 0 === 0) { _this.fBounds = new A.Rect(minX, minY, maxX, maxY); _this.fIsFinite = true; } else { _this.fBounds = B.Rect_0_0_0_0; _this.fIsFinite = false; } } }, growForVerb$2(verb, weight) { var pCnt, mask, verbCount, weightCount, ptsIndex, _this = this; switch (verb) { case 0: pCnt = 1; mask = 0; break; case 1: pCnt = 1; mask = 1; break; case 2: pCnt = 2; mask = 2; break; case 3: pCnt = 2; mask = 4; break; case 4: pCnt = 3; mask = 8; break; case 5: pCnt = 0; mask = 0; break; case 6: pCnt = 0; mask = 0; break; default: pCnt = 0; mask = 0; } _this.fSegmentMask |= mask; _this.fBoundsIsDirty = true; _this.startEdit$0(); verbCount = _this._fVerbsLength; _this._resizeVerbs$1(verbCount + 1); _this._fVerbs[verbCount] = verb; if (3 === verb) { weightCount = _this._conicWeightsLength; _this._resizeConicWeights$1(weightCount + 1); _this._conicWeights[weightCount] = weight; } ptsIndex = _this._fPointsLength; _this._resizePoints$1(ptsIndex + pCnt); return ptsIndex; }, growForRepeatedVerb$2(verb, numVbs) { var pCnt, mask, verbCount, t1, i, ptsIndex, _this = this; _this.startEdit$0(); switch (verb) { case 0: pCnt = numVbs; mask = 0; break; case 1: pCnt = numVbs; mask = 1; break; case 2: pCnt = 2 * numVbs; mask = 2; break; case 3: pCnt = 2 * numVbs; mask = 4; break; case 4: pCnt = 3 * numVbs; mask = 8; break; case 5: pCnt = 0; mask = 0; break; case 6: pCnt = 0; mask = 0; break; default: pCnt = 0; mask = 0; } _this.fSegmentMask |= mask; _this.fBoundsIsDirty = true; _this.startEdit$0(); if (3 === verb) _this._resizeConicWeights$1(_this._conicWeightsLength + numVbs); verbCount = _this._fVerbsLength; _this._resizeVerbs$1(verbCount + numVbs); for (t1 = _this._fVerbs, i = 0; i < numVbs; ++i) t1[verbCount + i] = verb; ptsIndex = _this._fPointsLength; _this._resizePoints$1(ptsIndex + pCnt); return ptsIndex; }, startEdit$0() { var _this = this; _this.fIsRect = _this.fIsRRect = _this.fIsOval = false; _this.cachedBounds = null; _this.fBoundsIsDirty = true; }, get$isEmpty(_) { return this._fVerbsLength === 0; } }; A.PathRefIterator.prototype = { PathRefIterator$1(pathRef) { var t1; this._pointIndex = 0; t1 = this.pathRef; if (t1.fBoundsIsDirty) t1._computeBounds$0(); if (!t1.fIsFinite) this._verbIndex = t1._fVerbsLength; }, nextIndex$0() { var verb, _this = this, t1 = _this._verbIndex, t2 = _this.pathRef; if (t1 === t2._fVerbsLength) return 6; t2 = t2._fVerbs; _this._verbIndex = t1 + 1; verb = t2[t1]; switch (verb) { case 0: t1 = _this._pointIndex; _this.iterIndex = t1; _this._pointIndex = t1 + 2; break; case 1: t1 = _this._pointIndex; _this.iterIndex = t1 - 2; _this._pointIndex = t1 + 2; break; case 3: ++_this._conicWeightIndex; t1 = _this._pointIndex; _this.iterIndex = t1 - 2; _this._pointIndex = t1 + 4; break; case 2: t1 = _this._pointIndex; _this.iterIndex = t1 - 2; _this._pointIndex = t1 + 4; break; case 4: t1 = _this._pointIndex; _this.iterIndex = t1 - 2; _this._pointIndex = t1 + 6; break; case 5: break; case 6: break; default: throw A.wrapException(A.FormatException$("Unsupport Path verb " + verb, null, null)); } return verb; }, next$1(_, outPts) { var t3, verb, points, pointIndex, pointIndex0, _this = this, t1 = _this._verbIndex, t2 = _this.pathRef; if (t1 === t2._fVerbsLength) return 6; t3 = t2._fVerbs; _this._verbIndex = t1 + 1; verb = t3[t1]; points = t2.fPoints; pointIndex = _this._pointIndex; switch (verb) { case 0: pointIndex0 = pointIndex + 1; outPts[0] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[1] = points[pointIndex0]; break; case 1: outPts[0] = points[pointIndex - 2]; outPts[1] = points[pointIndex - 1]; pointIndex0 = pointIndex + 1; outPts[2] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[3] = points[pointIndex0]; break; case 3: ++_this._conicWeightIndex; outPts[0] = points[pointIndex - 2]; outPts[1] = points[pointIndex - 1]; pointIndex0 = pointIndex + 1; outPts[2] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[3] = points[pointIndex0]; pointIndex0 = pointIndex + 1; outPts[4] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[5] = points[pointIndex0]; break; case 2: outPts[0] = points[pointIndex - 2]; outPts[1] = points[pointIndex - 1]; pointIndex0 = pointIndex + 1; outPts[2] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[3] = points[pointIndex0]; pointIndex0 = pointIndex + 1; outPts[4] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[5] = points[pointIndex0]; break; case 4: outPts[0] = points[pointIndex - 2]; outPts[1] = points[pointIndex - 1]; pointIndex0 = pointIndex + 1; outPts[2] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[3] = points[pointIndex0]; pointIndex0 = pointIndex + 1; outPts[4] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[5] = points[pointIndex0]; pointIndex0 = pointIndex + 1; outPts[6] = points[pointIndex]; pointIndex = pointIndex0 + 1; outPts[7] = points[pointIndex0]; break; case 5: break; case 6: break; default: throw A.wrapException(A.FormatException$("Unsupport Path verb " + verb, null, null)); } _this._pointIndex = pointIndex; return verb; } }; A.QuadRoots.prototype = { findRoots$3(a, b, c) { var t1, dr, q, res, rootCount, rootCount0, t2, _this = this; if (a === 0) { t1 = A.validUnitDivide(-c, b); _this.root0 = t1; return t1 == null ? 0 : 1; } dr = b * b - 4 * a * c; if (dr < 0) return 0; dr = Math.sqrt(dr); if (!isFinite(dr)) return 0; q = b < 0 ? -(b - dr) / 2 : -(b + dr) / 2; res = A.validUnitDivide(q, a); if (res != null) { _this.root0 = res; rootCount = 1; } else rootCount = 0; res = A.validUnitDivide(c, q); if (res != null) { rootCount0 = rootCount + 1; if (rootCount === 0) _this.root0 = res; else _this.root1 = res; rootCount = rootCount0; } if (rootCount === 2) { t1 = _this.root0; t1.toString; t2 = _this.root1; t2.toString; if (t1 > t2) { _this.root0 = t2; _this.root1 = t1; } else if (t1 === t2) return 1; } return rootCount; } }; A.SkQuadCoefficients.prototype = { evalX$1(t) { return (this.ax * t + this.bx) * t + this.cx; }, evalY$1(t) { return (this.ay * t + this.by) * t + this.cy; } }; A.PathWinding.prototype = { _walkPath$0() { var t2, t3, verb, n, winding, t4, t5, t6, t7, t8, t9, t10, isMono, conics, _this = this, t1 = _this.pathRef, iter = A.PathIterator$(t1, true); for (t2 = _this._buffer, t3 = type$.JSArray_Conic; verb = iter.next$1(0, t2), verb !== 6;) switch (verb) { case 0: case 5: break; case 1: _this._computeLineWinding$0(); break; case 2: n = !A.PathWinding__isQuadMonotonic(t2) ? A.PathWinding__chopQuadAtExtrema(t2) : 0; winding = _this._computeMonoQuadWinding$6(t2[0], t2[1], t2[2], t2[3], t2[4], t2[5]); _this._w += n > 0 ? winding + _this._computeMonoQuadWinding$6(t2[4], t2[5], t2[6], t2[7], t2[8], t2[9]) : winding; break; case 3: t4 = t1._conicWeights[iter._conicWeightIndex]; t5 = t2[0]; t6 = t2[1]; t7 = t2[2]; t8 = t2[3]; t9 = t2[4]; t10 = t2[5]; isMono = A.PathWinding__isQuadMonotonic(t2); conics = A._setArrayType([], t3); new A.Conic(t5, t6, t7, t8, t9, t10, t4).chopAtYExtrema$1(conics); _this._computeMonoConicWinding$1(conics[0]); if (!isMono && conics.length === 2) _this._computeMonoConicWinding$1(conics[1]); break; case 4: _this._computeCubicWinding$0(); break; } }, _computeLineWinding$0() { var y1, y0, dir, t2, crossProduct, _this = this, t1 = _this._buffer, x0 = t1[0], startY = t1[1], x1 = t1[2], endY = t1[3]; if (startY > endY) { y1 = startY; y0 = endY; dir = -1; } else { y1 = endY; y0 = startY; dir = 1; } t1 = _this.y; if (t1 < y0 || t1 > y1) return; t2 = _this.x; if (A.PathWinding__checkOnCurve(t2, t1, x0, startY, x1, endY)) { ++_this._onCurveCount; return; } if (t1 === y1) return; crossProduct = (x1 - x0) * (t1 - startY) - (endY - startY) * (t2 - x0); if (crossProduct === 0) { if (t2 !== x1 || t1 !== endY) ++_this._onCurveCount; dir = 0; } else if (A.SPath_scalarSignedAsInt(crossProduct) === dir) dir = 0; _this._w += dir; }, _computeMonoQuadWinding$6(x0, y0, x1, y1, x2, y2) { var y20, y00, dir, t1, t2, quadRoots, xt, t3, _this = this; if (y0 > y2) { y20 = y0; y00 = y2; dir = -1; } else { y20 = y2; y00 = y0; dir = 1; } t1 = _this.y; if (t1 < y00 || t1 > y20) return 0; t2 = _this.x; if (A.PathWinding__checkOnCurve(t2, t1, x0, y0, x2, y2)) { ++_this._onCurveCount; return 0; } if (t1 === y20) return 0; quadRoots = new A.QuadRoots(); if (0 === quadRoots.findRoots$3(y0 - 2 * y1 + y2, 2 * (y1 - y0), y0 - t1)) xt = dir === 1 ? x0 : x2; else { t3 = quadRoots.root0; t3.toString; xt = ((x2 - 2 * x1 + x0) * t3 + 2 * (x1 - x0)) * t3 + x0; } if (Math.abs(xt - t2) < 0.000244140625) if (t2 !== x2 || t1 !== y2) { ++_this._onCurveCount; return 0; } return xt < t2 ? dir : 0; }, _computeMonoConicWinding$1(conic) { var y20, y00, dir, t1, t2, t3, $B, quadRoots, xt, t4, _this = this, y0 = conic.p0y, y2 = conic.p2y; if (y0 > y2) { y20 = y0; y00 = y2; dir = -1; } else { y20 = y2; y00 = y0; dir = 1; } t1 = _this.y; if (t1 < y00 || t1 > y20) return; t2 = _this.x; if (A.PathWinding__checkOnCurve(t2, t1, conic.p0x, y0, conic.p2x, y2)) { ++_this._onCurveCount; return; } if (t1 === y20) return; t3 = conic.fW; $B = conic.p1y * t3 - t1 * t3 + t1; quadRoots = new A.QuadRoots(); if (0 === quadRoots.findRoots$3(y2 + (y0 - 2 * $B), 2 * ($B - y0), y0 - t1)) xt = dir === 1 ? conic.p0x : conic.p2x; else { t4 = quadRoots.root0; t4.toString; xt = A.Conic_evalNumerator(conic.p0x, conic.p1x, conic.p2x, t3, t4) / A.Conic_evalDenominator(t3, t4); } if (Math.abs(xt - t2) < 0.000244140625) if (t2 !== conic.p2x || t1 !== conic.p2y) { ++_this._onCurveCount; return; } t1 = _this._w; _this._w = t1 + (xt < t2 ? dir : 0); }, _computeCubicWinding$0() { var i, t1 = this._buffer, n = A.chopCubicAtYExtrema(t1, t1); for (i = 0; i <= n; ++i) this._windingMonoCubic$1(i * 3 * 2); }, _windingMonoCubic$1(bufferIndex) { var px2, px3, py3, y3, y0, dir, t2, t3, min, max, t, xt, _this = this, t1 = _this._buffer, bufferIndex0 = bufferIndex + 1, px0 = t1[bufferIndex], bufferIndex1 = bufferIndex0 + 1, py0 = t1[bufferIndex0], px1 = t1[bufferIndex1]; bufferIndex0 = bufferIndex1 + 1 + 1; px2 = t1[bufferIndex0]; bufferIndex0 = bufferIndex0 + 1 + 1; px3 = t1[bufferIndex0]; py3 = t1[bufferIndex0 + 1]; if (py0 > py3) { y3 = py0; y0 = py3; dir = -1; } else { y3 = py3; y0 = py0; dir = 1; } t2 = _this.y; if (t2 < y0 || t2 > y3) return; t3 = _this.x; if (A.PathWinding__checkOnCurve(t3, t2, px0, py0, px3, py3)) { ++_this._onCurveCount; return; } if (t2 === y3) return; min = Math.min(px0, Math.min(px1, Math.min(px2, px3))); max = Math.max(px0, Math.max(px1, Math.max(px2, px3))); if (t3 < min) return; if (t3 > max) { _this._w += dir; return; } t = A.chopMonoAtY(t1, bufferIndex, t2); if (t == null) return; xt = A.evalCubicPts(px0, px1, px2, px3, t); if (Math.abs(xt - t3) < 0.000244140625) if (t3 !== px3 || t2 !== py3) { ++_this._onCurveCount; return; } t1 = _this._w; _this._w = t1 + (xt < t3 ? dir : 0); } }; A.PaintRequest.prototype = { paintCallback$0() { return this.paintCallback.call$0(); } }; A.PersistedPicture.prototype = { createElement$0(_) { var element = this.defaultCreateElement$1("flt-picture"), t1 = A.jsify("true"); A.callMethod(element, "setAttribute", ["aria-hidden", t1 == null ? type$.Object._as(t1) : t1]); return element; }, preroll$1(prerollContext) { this.super$PersistedSurface$preroll(prerollContext); }, recomputeTransformAndClip$0() { var t2, t3, paintWidth, paintHeight, newDensity, _this = this, t1 = _this.parent.transform; _this.transform = t1; t2 = _this.dx; if (t2 !== 0 || _this.dy !== 0) { t1.toString; t3 = new A.Matrix4(new Float32Array(16)); t3.setFrom$1(t1); _this.transform = t3; t3.translate$2(0, t2, _this.dy); } t1 = _this.localPaintBounds; paintWidth = t1.right - t1.left; paintHeight = t1.bottom - t1.top; newDensity = paintWidth === 0 || paintHeight === 0 ? 1 : A._computePixelDensity(_this.transform, paintWidth, paintHeight); if (newDensity !== _this._density) { _this._density = newDensity; _this._requiresRepaint = true; } _this._computeExactCullRects$0(); }, _computeExactCullRects$0() { var clipTransform, bounds, localClipBounds, localInverse, t1, t2, _this = this, parentSurface = _this.parent; if (parentSurface.projectedClip == null) { clipTransform = A.Matrix4$identity(); for (bounds = null; parentSurface != null;) { localClipBounds = parentSurface.localClipBounds; if (localClipBounds != null) bounds = bounds == null ? A.transformRectWithMatrix(clipTransform, localClipBounds) : bounds.intersect$1(A.transformRectWithMatrix(clipTransform, localClipBounds)); localInverse = parentSurface.get$localTransformInverse(); if (localInverse != null && !localInverse.isIdentity$0(0)) clipTransform.multiply$1(0, localInverse); parentSurface = parentSurface.parent; } if (bounds != null) t1 = bounds.right - bounds.left <= 0 || bounds.bottom - bounds.top <= 0; else t1 = false; if (t1) bounds = B.Rect_0_0_0_0; t1 = _this.parent; t1.projectedClip = bounds; } else t1 = parentSurface; t1 = t1.projectedClip; t2 = _this.localPaintBounds; if (t1 == null) { _this._exactLocalCullRect = t2; t1 = t2; } else t1 = _this._exactLocalCullRect = t2.intersect$1(t1); if (t1.right - t1.left <= 0 || t1.bottom - t1.top <= 0) _this._exactGlobalCullRect = _this._exactLocalCullRect = B.Rect_0_0_0_0; }, _computeOptimalCullRect$1(oldSurface) { var oldOptimalLocalCullRect, t1, t2, t3, t4, t5, t6, t7, t8, t9, newLocalCullRect, _this = this; if (oldSurface == null || !oldSurface.picture.recordingCanvas._didDraw) { _this._optimalLocalCullRect = _this._exactLocalCullRect; _this._requiresRepaint = true; return; } oldOptimalLocalCullRect = oldSurface === _this ? _this._optimalLocalCullRect : oldSurface._optimalLocalCullRect; if (J.$eq$(_this._exactLocalCullRect, B.Rect_0_0_0_0)) { _this._optimalLocalCullRect = B.Rect_0_0_0_0; if (!J.$eq$(oldOptimalLocalCullRect, B.Rect_0_0_0_0)) _this._requiresRepaint = true; return; } oldOptimalLocalCullRect.toString; t1 = _this._exactLocalCullRect; t1.toString; if (A.rectContainsOther(oldOptimalLocalCullRect, t1)) { _this._optimalLocalCullRect = oldOptimalLocalCullRect; return; } t2 = t1.left; t3 = t1.top; t4 = t1.right; t1 = t1.bottom; t5 = t4 - t2; t6 = A.PersistedPicture__predictTrend(oldOptimalLocalCullRect.left - t2, t5); t7 = t1 - t3; t8 = A.PersistedPicture__predictTrend(oldOptimalLocalCullRect.top - t3, t7); t5 = A.PersistedPicture__predictTrend(t4 - oldOptimalLocalCullRect.right, t5); t7 = A.PersistedPicture__predictTrend(t1 - oldOptimalLocalCullRect.bottom, t7); t9 = _this.localPaintBounds; t9.toString; newLocalCullRect = new A.Rect(t2 - t6, t3 - t8, t4 + t5, t1 + t7).intersect$1(t9); _this._requiresRepaint = !J.$eq$(_this._optimalLocalCullRect, newLocalCullRect); _this._optimalLocalCullRect = newLocalCullRect; }, _applyPaint$1(oldSurface) { var domCanvas, _this = this, t1 = oldSurface == null, oldCanvas = t1 ? null : oldSurface.__engine$_canvas, t2 = _this._requiresRepaint = false, t3 = _this.picture.recordingCanvas; if (!t3._didDraw || _this._optimalLocalCullRect.get$isEmpty(0)) { A._recycleCanvas(oldCanvas); if (!t1) oldSurface.__engine$_canvas = null; t1 = _this.rootElement; if (t1 != null) A.removeAllChildren(t1); t1 = _this.__engine$_canvas; if (t1 != null ? t1 !== oldCanvas : t2) A._recycleCanvas(t1); _this.__engine$_canvas = null; return; } if (t3.renderStrategy.hasArbitraryPaint) _this._applyBitmapPaint$1(oldCanvas); else { A._recycleCanvas(_this.__engine$_canvas); t1 = _this.rootElement; t1.toString; domCanvas = _this.__engine$_canvas = new A.DomCanvas(t1, A._setArrayType([], type$.JSArray__SaveElementStackEntry), A._setArrayType([], type$.JSArray_JavaScriptObject), A.Matrix4$identity()); t1 = _this.rootElement; t1.toString; A.removeAllChildren(t1); t1 = _this._optimalLocalCullRect; t1.toString; t3.applyCommands$2(domCanvas, t1); domCanvas.endOfPaint$0(); } }, matchForUpdate$1(existingSurface) { var didRequireBitmap, requiresBitmap, oldCanvas, oldPixelCount, _this = this, t1 = existingSurface.picture, t2 = _this.picture; if (t1 === t2) return 0; t1 = t1.recordingCanvas; if (!t1._didDraw) return 1; didRequireBitmap = t1.renderStrategy.hasArbitraryPaint; requiresBitmap = t2.recordingCanvas.renderStrategy.hasArbitraryPaint; if (didRequireBitmap !== requiresBitmap) return 1; else if (!requiresBitmap) return 1; else { oldCanvas = type$.nullable_BitmapCanvas._as(existingSurface.__engine$_canvas); if (oldCanvas == null) return 1; else { t1 = _this._exactLocalCullRect; t1.toString; if (!oldCanvas.doesFitBounds$2(t1, _this._density)) return 1; else { t1 = _this._exactLocalCullRect; t1 = A.BitmapCanvas_widthToPhysical(t1.right - t1.left); t2 = _this._exactLocalCullRect; t2 = A.BitmapCanvas_heightToPhysical(t2.bottom - t2.top); oldPixelCount = oldCanvas.widthInBitmapPixels * oldCanvas.heightInBitmapPixels; if (oldPixelCount === 0) return 1; return 1 - t1 * t2 / oldPixelCount; } } } }, _applyBitmapPaint$1(oldCanvas) { var t1, t2, _this = this; if (oldCanvas instanceof A.BitmapCanvas) { t1 = _this._optimalLocalCullRect; t1.toString; if (oldCanvas.doesFitBounds$2(t1, _this._density)) { t1 = oldCanvas.__engine$_devicePixelRatio; $.$get$EngineFlutterDisplay__instance(); t2 = self.window.devicePixelRatio; t1 = t1 === (t2 === 0 ? 1 : t2); } else t1 = false; } else t1 = false; if (t1) { t1 = _this._optimalLocalCullRect; t1.toString; oldCanvas.set$bounds(0, t1); _this.__engine$_canvas = oldCanvas; oldCanvas._elementCache = _this._elementCache; oldCanvas.clear$0(0); t1 = _this.picture.recordingCanvas; t1.toString; t2 = _this._optimalLocalCullRect; t2.toString; t1.applyCommands$2(oldCanvas, t2); oldCanvas.endOfPaint$0(); } else { A._recycleCanvas(oldCanvas); t1 = _this.__engine$_canvas; if (t1 instanceof A.BitmapCanvas) t1._elementCache = null; _this.__engine$_canvas = null; t1 = $.paintQueue; t2 = _this._optimalLocalCullRect; t1.push(new A.PaintRequest(new A.Size(t2.right - t2.left, t2.bottom - t2.top), new A.PersistedPicture__applyBitmapPaint_closure(_this))); } }, _findOrCreateCanvas$1(bounds) { var boundsWidth, boundsHeight, requestedPixelCount, t3, bestRecycledCanvas, lastPixelCount, i, candidate, t4, t5, candidatePixelCount, t6, t7, fits, isSmaller, canvas, _this = this, t1 = bounds.right - bounds.left, t2 = bounds.bottom - bounds.top; for (boundsWidth = t1 + 1, boundsHeight = t2 + 1, requestedPixelCount = t1 * t2, t3 = requestedPixelCount > 1, bestRecycledCanvas = null, lastPixelCount = 1 / 0, i = 0; i < $._recycledCanvases.length; ++i) { candidate = $._recycledCanvases[i]; $.$get$EngineFlutterDisplay__instance(); t4 = self.window.devicePixelRatio; if (t4 === 0) t4 = 1; if (candidate.__engine$_devicePixelRatio !== t4) continue; t4 = candidate._bounds; t5 = t4.right - t4.left; t4 = t4.bottom - t4.top; candidatePixelCount = t5 * t4; t6 = _this._density; t7 = self.window.devicePixelRatio; if (candidate.widthInBitmapPixels >= B.JSNumber_methods.ceil$0(boundsWidth * (t7 === 0 ? 1 : t7)) + 2) { t7 = self.window.devicePixelRatio; fits = candidate.heightInBitmapPixels >= B.JSNumber_methods.ceil$0(boundsHeight * (t7 === 0 ? 1 : t7)) + 2 && candidate._density === t6; } else fits = false; isSmaller = candidatePixelCount < lastPixelCount; if (fits && isSmaller) if (!(isSmaller && t3 && candidatePixelCount / requestedPixelCount > 4)) { if (t5 === t1 && t4 === t2) { bestRecycledCanvas = candidate; break; } lastPixelCount = candidatePixelCount; bestRecycledCanvas = candidate; } } if (bestRecycledCanvas != null) { B.JSArray_methods.remove$1($._recycledCanvases, bestRecycledCanvas); bestRecycledCanvas.set$bounds(0, bounds); bestRecycledCanvas._elementCache = _this._elementCache; return bestRecycledCanvas; } canvas = A.BitmapCanvas$(bounds, _this.picture.recordingCanvas.renderStrategy, _this._density); canvas._elementCache = _this._elementCache; return canvas; }, _applyTranslate$0() { A.DomCSSStyleDeclarationExtension_setProperty(this.rootElement.style, "transform", "translate(" + A.S(this.dx) + "px, " + A.S(this.dy) + "px)"); }, apply$0() { this._applyTranslate$0(); this._applyPaint$1(null); }, build$0() { this._computeOptimalCullRect$1(null); this._requiresRepaint = true; this.super$PersistedSurface$build(); }, update$1(_, oldSurface) { var t1, densityChanged, _this = this; _this.super$PersistedSurface$update(0, oldSurface); _this._elementCache = oldSurface._elementCache; if (oldSurface !== _this) oldSurface._elementCache = null; if (_this.dx !== oldSurface.dx || _this.dy !== oldSurface.dy) _this._applyTranslate$0(); _this._computeOptimalCullRect$1(oldSurface); if (_this.picture === oldSurface.picture) { t1 = _this.__engine$_canvas; densityChanged = t1 instanceof A.BitmapCanvas && _this._density !== t1._density; if (_this._requiresRepaint || densityChanged) _this._applyPaint$1(oldSurface); else _this.__engine$_canvas = oldSurface.__engine$_canvas; } else _this._applyPaint$1(oldSurface); }, retain$0() { var _this = this; _this.super$PersistedSurface$retain(); _this._computeOptimalCullRect$1(_this); if (_this._requiresRepaint) _this._applyPaint$1(_this); }, discard$0() { A._recycleCanvas(this.__engine$_canvas); this.__engine$_canvas = null; this.super$PersistedSurface$discard(); } }; A.PersistedPicture__applyBitmapPaint_closure.prototype = { call$0() { var bitmapCanvas, t1 = this.$this, t2 = t1._optimalLocalCullRect; t2.toString; bitmapCanvas = t1.__engine$_canvas = t1._findOrCreateCanvas$1(t2); bitmapCanvas._elementCache = t1._elementCache; t2 = t1.rootElement; t2.toString; A.removeAllChildren(t2); t1.rootElement.append(bitmapCanvas.rootElement); bitmapCanvas.clear$0(0); t2 = t1.picture.recordingCanvas; t2.toString; t1 = t1._optimalLocalCullRect; t1.toString; t2.applyCommands$2(bitmapCanvas, t1); bitmapCanvas.endOfPaint$0(); }, $signature: 0 }; A.PersistedPlatformView.prototype = { createElement$0(_) { return A.createPlatformViewSlot(this.platformViewId); }, apply$0() { var _this = this, t1 = _this.rootElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform", "translate(" + A.S(_this.dx) + "px, " + A.S(_this.dy) + "px)"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", A.S(_this.width) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", A.S(_this.height) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); }, canUpdateAsMatch$1(oldSurface) { if (this.super$PersistedSurface$canUpdateAsMatch(oldSurface)) return this.platformViewId === type$.PersistedPlatformView._as(oldSurface).platformViewId; return false; }, matchForUpdate$1(existingSurface) { return existingSurface.platformViewId === this.platformViewId ? 0 : 1; }, update$1(_, oldSurface) { var _this = this; _this.super$PersistedSurface$update(0, oldSurface); if (_this.dx !== oldSurface.dx || _this.dy !== oldSurface.dy || _this.width !== oldSurface.width || _this.height !== oldSurface.height) _this.apply$0(); } }; A.RecordingCanvas.prototype = { applyCommands$2(engineCanvas, clipRect) { var len, i, len0, i0, command, e, t1, t2, len1, exception; try { t1 = this._pictureBounds; t1.toString; t1 = A.rectContainsOther(clipRect, t1); t2 = this._commands; len1 = t2.length; if (t1) { len = len1; for (i = 0; i < len; ++i) t2[i].apply$1(engineCanvas); } else { len0 = len1; for (i0 = 0; i0 < len0; ++i0) { command = t2[i0]; if (command instanceof A.DrawCommand) if (command.isInvisible$1(clipRect)) continue; command.apply$1(engineCanvas); } } } catch (exception) { e = A.unwrapException(exception); if (!J.$eq$(e.name, "NS_ERROR_FAILURE")) throw exception; } }, clipRect$2(rect, clipOp) { var command = new A.PaintClipRect(rect, clipOp); switch (clipOp.index) { case 1: this._paintBounds.clipRect$2(rect, command); break; case 0: break; } this.renderStrategy.hasArbitraryPaint = true; this._commands.push(command); }, drawRect$2(rect, paint) { var paintSpread, command, _this = this, t1 = paint._paintData; if (t1.shader != null) _this.renderStrategy.hasArbitraryPaint = true; _this._didDraw = true; paintSpread = A._getPaintSpread(paint); paint._frozen = true; command = new A.PaintDrawRect(rect, t1); t1 = _this._paintBounds; if (paintSpread !== 0) t1.grow$2(rect.inflate$1(paintSpread), command); else t1.grow$2(rect, command); _this._commands.push(command); }, drawRRect$2(rrect, paint) { var paintSpread, t2, t3, t4, t5, t6, t7, command, _this = this, t1 = paint._paintData; if (t1.shader != null || !rrect.webOnlyUniformRadii) _this.renderStrategy.hasArbitraryPaint = true; _this._didDraw = true; paintSpread = A._getPaintSpread(paint); t2 = rrect.left; t3 = rrect.right; t4 = Math.min(t2, t3); t5 = rrect.top; t6 = rrect.bottom; t7 = Math.min(t5, t6); t3 = Math.max(t2, t3); t6 = Math.max(t5, t6); paint._frozen = true; command = new A.PaintDrawRRect(rrect, t1); _this._paintBounds.growLTRB$5(t4 - paintSpread, t7 - paintSpread, t3 + paintSpread, t6 + paintSpread, command); _this._commands.push(command); }, drawDRRect$3(outer, inner, paint) { var scaledOuter, scaledInner, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, paintSpread, command, left, right, _this = this, innerRect = new A.Rect(inner.left, inner.top, inner.right, inner.bottom), t1 = outer.left, t2 = outer.top, t3 = outer.right, t4 = outer.bottom, outerRect = new A.Rect(t1, t2, t3, t4); if (outerRect.$eq(0, innerRect) || !outerRect.intersect$1(innerRect).$eq(0, innerRect)) return; scaledOuter = outer.scaleRadii$0(); scaledInner = inner.scaleRadii$0(); t5 = scaledOuter.tlRadiusX; t6 = scaledOuter.tlRadiusY; t7 = scaledOuter.trRadiusX; t8 = scaledOuter.trRadiusY; t9 = scaledOuter.blRadiusX; t10 = scaledOuter.blRadiusY; t11 = scaledOuter.brRadiusX; t12 = scaledOuter.brRadiusY; t13 = scaledInner.tlRadiusX; t14 = scaledInner.tlRadiusY; t15 = scaledInner.trRadiusX; t16 = scaledInner.trRadiusY; t17 = scaledInner.blRadiusX; t18 = scaledInner.blRadiusY; t19 = scaledInner.brRadiusX; t20 = scaledInner.brRadiusY; if (t13 * t13 + t14 * t14 > t5 * t5 + t6 * t6 || t15 * t15 + t16 * t16 > t7 * t7 + t8 * t8 || t17 * t17 + t18 * t18 > t9 * t9 + t10 * t10 || t19 * t19 + t20 * t20 > t11 * t11 + t12 * t12) return; _this._didDraw = _this.renderStrategy.hasArbitraryPaint = true; paintSpread = A._getPaintSpread(paint); paint._frozen = true; command = new A.PaintDrawDRRect(outer, inner, paint._paintData); t5 = $.$get$_renderer().createPath$0(); t5.set$fillType(B.PathFillType_1); t5.addRRect$1(outer); t5.addRRect$1(inner); t5.close$0(0); command.path = t5; left = Math.min(t1, t3); right = Math.max(t1, t3); _this._paintBounds.growLTRB$5(left - paintSpread, Math.min(t2, t4) - paintSpread, right + paintSpread, Math.max(t2, t4) + paintSpread, command); _this._commands.push(command); }, drawPath$2(path, paint) { var rect, t1, rrect, line, t2, left, t3, t4, $top, width, height, inflatedHeight, inflatedWidth, pathBounds, paintSpread, clone, command, _this = this; if (paint._paintData.shader == null) { type$.SurfacePath._as(path); rect = path.pathRef.getRect$0(); if (rect != null) { _this.drawRect$2(rect, paint); return; } t1 = path.pathRef; rrect = t1.fIsRRect ? t1._getRRect$0() : null; if (rrect != null) { _this.drawRRect$2(rrect, paint); return; } line = path.pathRef.getStraightLine$0(); if (line != null) { t1 = paint._paintData.strokeWidth; t1 = (t1 == null ? 0 : t1) === 0; } else t1 = false; if (t1) { t1 = line.left; t2 = line.right; left = Math.min(t1, t2); t3 = line.top; t4 = line.bottom; $top = Math.min(t3, t4); t1 = t2 - t1; width = Math.abs(t1); t3 = t4 - t3; height = Math.abs(t3); inflatedHeight = t3 === 0 ? 1 : height; inflatedWidth = t1 === 0 ? 1 : width; paint.set$style(0, B.PaintingStyle_0); _this.drawRect$2(new A.Rect(left, $top, left + inflatedWidth, $top + inflatedHeight), paint); return; } } type$.SurfacePath._as(path); if (path.pathRef._fVerbsLength !== 0) { _this._didDraw = _this.renderStrategy.hasArbitraryPaint = true; pathBounds = path.getBounds$0(0); paintSpread = A._getPaintSpread(paint); if (paintSpread !== 0) pathBounds = pathBounds.inflate$1(paintSpread); t1 = path.pathRef; t2 = new A.PathRef(t1.fPoints, t1._fVerbs); t2._fVerbsCapacity = t1._fVerbsCapacity; t2._fVerbsLength = t1._fVerbsLength; t2._fPointsCapacity = t1._fPointsCapacity; t2._fPointsLength = t1._fPointsLength; t2._conicWeightsCapacity = t1._conicWeightsCapacity; t2._conicWeightsLength = t1._conicWeightsLength; t2._conicWeights = t1._conicWeights; t3 = t1.fBoundsIsDirty; t2.fBoundsIsDirty = t3; if (!t3) { t2.fBounds = t1.fBounds; t2.cachedBounds = t1.cachedBounds; t2.fIsFinite = t1.fIsFinite; } t2.fSegmentMask = t1.fSegmentMask; t2.fIsOval = t1.fIsOval; t2.fIsRRect = t1.fIsRRect; t2.fIsRect = t1.fIsRect; t2.fRRectOrOvalIsCCW = t1.fRRectOrOvalIsCCW; t2.fRRectOrOvalStartIdx = t1.fRRectOrOvalStartIdx; clone = new A.SurfacePath(t2, B.PathFillType_0); clone._copyFields$1(path); paint._frozen = true; command = new A.PaintDrawPath(clone, paint._paintData); _this._paintBounds.grow$2(pathBounds, command); clone._fillType = path._fillType; _this._commands.push(command); } }, drawParagraph$2(paragraph, offset) { var t1, command, paragraphBounds, t2, _this = this; type$.CanvasParagraph._as(paragraph); if (!paragraph.isLaidOut) return; _this._didDraw = true; t1 = _this.renderStrategy; t1.hasArbitraryPaint = true; t1.hasParagraphs = true; command = new A.PaintDrawParagraph(paragraph, offset); paragraphBounds = paragraph.get$_layoutService()._paintBounds; t1 = offset._dx; t2 = offset._dy; _this._paintBounds.growLTRB$5(t1 + paragraphBounds.left, t2 + paragraphBounds.top, t1 + paragraphBounds.right, t2 + paragraphBounds.bottom, command); _this._commands.push(command); } }; A.PaintCommand.prototype = {}; A.DrawCommand.prototype = { isInvisible$1(clipRect) { var _this = this; if (_this.isClippedOut) return true; return _this.bottomBound < clipRect.top || _this.topBound > clipRect.bottom || _this.rightBound < clipRect.left || _this.leftBound > clipRect.right; } }; A.PaintSave.prototype = { apply$1(canvas) { canvas.save$0(0); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintRestore.prototype = { apply$1(canvas) { canvas.restore$0(0); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintTranslate.prototype = { apply$1(canvas) { canvas.translate$2(0, this.dx, this.dy); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintScale.prototype = { apply$1(canvas) { canvas.scale$2(0, this.sx, this.sy); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintRotate.prototype = { apply$1(canvas) { canvas.rotate$1(0, this.radians); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintTransform.prototype = { apply$1(canvas) { canvas.transform$1(0, this.matrix4); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintClipRect.prototype = { apply$1(canvas) { canvas.clipRect$2(this.rect, this.clipOp); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintClipRRect.prototype = { apply$1(canvas) { canvas.clipRRect$1(this.rrect); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintClipPath.prototype = { apply$1(canvas) { canvas.clipPath$1(0, this.path); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawLine.prototype = { apply$1(canvas) { canvas.drawLine$3(this.p1, this.p2, this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawPaint.prototype = { apply$1(canvas) { canvas.drawPaint$1(this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawRect.prototype = { apply$1(canvas) { canvas.drawRect$2(this.rect, this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawRRect.prototype = { apply$1(canvas) { canvas.drawRRect$2(this.rrect, this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawDRRect.prototype = { apply$1(canvas) { var t1 = this.paint; if (t1.style == null) t1.style = B.PaintingStyle_0; canvas.drawPath$2(this.path, t1); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawOval.prototype = { apply$1(canvas) { canvas.drawOval$2(this.rect, this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawCircle.prototype = { apply$1(canvas) { canvas.drawCircle$3(this.c, this.radius, this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawPath.prototype = { apply$1(canvas) { canvas.drawPath$2(this.path, this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawShadow.prototype = { apply$1(canvas) { var _this = this; canvas.drawShadow$4(_this.path, _this.color, _this.elevation, _this.transparentOccluder); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawImageRect.prototype = { apply$1(canvas) { var _this = this; canvas.drawImageRect$4(_this.image, _this.src, _this.dst, _this.paint); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PaintDrawParagraph.prototype = { apply$1(canvas) { canvas.drawParagraph$2(this.paragraph, this.offset); }, toString$0(_) { return this.super$Object$toString(0); } }; A._PaintBounds.prototype = { clipRect$2(rect, command) { var t1, t4, t3, t2, _this = this, left = rect.left, $top = rect.top, right = rect.right, bottom = rect.bottom; if (!_this._currentMatrixIsIdentity) { t1 = $.$get$_PaintBounds__tempRectData(); t1[0] = left; t1[1] = $top; t1[2] = right; t1[3] = bottom; A.transformLTRB(_this._currentMatrix, t1); left = t1[0]; $top = t1[1]; right = t1[2]; bottom = t1[3]; } if (!_this._clipRectInitialized) { _this._currentClipLeft = left; _this._currentClipTop = $top; _this._currentClipRight = right; _this._currentClipBottom = bottom; _this._clipRectInitialized = true; t4 = bottom; t3 = right; t2 = $top; t1 = left; } else { t1 = _this._currentClipLeft; if (left > t1) { _this._currentClipLeft = left; t1 = left; } t2 = _this._currentClipTop; if ($top > t2) { _this._currentClipTop = $top; t2 = $top; } t3 = _this._currentClipRight; if (right < t3) { _this._currentClipRight = right; t3 = right; } t4 = _this._currentClipBottom; if (bottom < t4) { _this._currentClipBottom = bottom; t4 = bottom; } } if (t1 >= t3 || t2 >= t4) command.isClippedOut = true; else { command.leftBound = t1; command.topBound = t2; command.rightBound = t3; command.bottomBound = t4; } }, grow$2(r, command) { this.growLTRB$5(r.left, r.top, r.right, r.bottom, command); }, growLTRB$5(left, $top, right, bottom, command) { var t1, transformedPointLeft, transformedPointTop, transformedPointRight, transformedPointBottom, transformedPointRight0, transformedPointLeft0, transformedPointBottom0, transformedPointTop0, _this = this; if (left === right || $top === bottom) { command.isClippedOut = true; return; } if (!_this._currentMatrixIsIdentity) { t1 = $.$get$_PaintBounds__tempRectData(); t1[0] = left; t1[1] = $top; t1[2] = right; t1[3] = bottom; A.transformLTRB(_this._currentMatrix, t1); transformedPointLeft = t1[0]; transformedPointTop = t1[1]; transformedPointRight = t1[2]; transformedPointBottom = t1[3]; } else { transformedPointBottom = bottom; transformedPointRight = right; transformedPointTop = $top; transformedPointLeft = left; } if (_this._clipRectInitialized) { transformedPointRight0 = _this._currentClipRight; if (transformedPointLeft >= transformedPointRight0) { command.isClippedOut = true; return; } transformedPointLeft0 = _this._currentClipLeft; if (transformedPointRight <= transformedPointLeft0) { command.isClippedOut = true; return; } transformedPointBottom0 = _this._currentClipBottom; if (transformedPointTop >= transformedPointBottom0) { command.isClippedOut = true; return; } transformedPointTop0 = _this._currentClipTop; if (transformedPointBottom <= transformedPointTop0) { command.isClippedOut = true; return; } if (transformedPointLeft < transformedPointLeft0) transformedPointLeft = transformedPointLeft0; if (transformedPointRight > transformedPointRight0) transformedPointRight = transformedPointRight0; if (transformedPointTop < transformedPointTop0) transformedPointTop = transformedPointTop0; if (transformedPointBottom > transformedPointBottom0) transformedPointBottom = transformedPointBottom0; } command.leftBound = transformedPointLeft; command.topBound = transformedPointTop; command.rightBound = transformedPointRight; command.bottomBound = transformedPointBottom; if (_this._didPaintInsideClipArea) { _this.__engine$_left = Math.min(Math.min(_this.__engine$_left, transformedPointLeft), transformedPointRight); _this.__engine$_right = Math.max(Math.max(_this.__engine$_right, transformedPointLeft), transformedPointRight); _this.__engine$_top = Math.min(Math.min(_this.__engine$_top, transformedPointTop), transformedPointBottom); _this.__engine$_bottom = Math.max(Math.max(_this.__engine$_bottom, transformedPointTop), transformedPointBottom); } else { _this.__engine$_left = Math.min(transformedPointLeft, transformedPointRight); _this.__engine$_right = Math.max(transformedPointLeft, transformedPointRight); _this.__engine$_top = Math.min(transformedPointTop, transformedPointBottom); _this.__engine$_bottom = Math.max(transformedPointTop, transformedPointBottom); } _this._didPaintInsideClipArea = true; }, saveTransformsAndClip$0() { var _this = this, t1 = _this._currentMatrix, t2 = new A.Matrix4(new Float32Array(16)); t2.setFrom$1(t1); _this.__engine$_transforms.push(t2); t1 = _this._clipRectInitialized ? new A.Rect(_this._currentClipLeft, _this._currentClipTop, _this._currentClipRight, _this._currentClipBottom) : null; _this._clipStack.push(t1); }, computeBounds$0() { var t1, maxLeft, maxRight, maxTop, maxBottom, t2, left, right, $top, bottom, _this = this; if (!_this._didPaintInsideClipArea) return B.Rect_0_0_0_0; t1 = _this.maxPaintBounds; maxLeft = t1.left; if (isNaN(maxLeft)) maxLeft = -1 / 0; maxRight = t1.right; if (isNaN(maxRight)) maxRight = 1 / 0; maxTop = t1.top; if (isNaN(maxTop)) maxTop = -1 / 0; maxBottom = t1.bottom; if (isNaN(maxBottom)) maxBottom = 1 / 0; t1 = _this.__engine$_left; t2 = _this.__engine$_right; left = Math.min(t1, t2); right = Math.max(t1, t2); t2 = _this.__engine$_top; t1 = _this.__engine$_bottom; $top = Math.min(t2, t1); bottom = Math.max(t2, t1); if (right < maxLeft || bottom < maxTop) return B.Rect_0_0_0_0; return new A.Rect(Math.max(left, maxLeft), Math.max($top, maxTop), Math.min(right, maxRight), Math.min(bottom, maxBottom)); }, toString$0(_) { return this.super$Object$toString(0); } }; A.RenderStrategy.prototype = {}; A._WebGlRenderer.prototype = { drawRectToGl$6(targetRect, gl, glProgram, gradient, widthInPixels, heightInPixels) { var t1, t2, t3, colorsBuffer, colors, indexBuffer, t4, _s9_ = "uniform4f", _s10_ = "bindBuffer", _s10_0 = "bufferData", _s19_ = "vertexAttribPointer", _s23_ = "enableVertexAttribArray", left = targetRect.left, $top = targetRect.top, right = targetRect.right, bottom = targetRect.bottom, vertices = new Float32Array(8); vertices[0] = left; vertices[1] = $top; vertices[2] = right; vertices[3] = $top; vertices[4] = right; vertices[5] = bottom; vertices[6] = left; vertices[7] = bottom; t1 = glProgram.program; t2 = gl.glContext; A.callMethod(t2, "uniformMatrix4fv", [gl.getUniformLocation$2(0, t1, "u_ctransform"), false, A.Matrix4$identity()._m4storage]); A.callMethod(t2, _s9_, [gl.getUniformLocation$2(0, t1, "u_scale"), 2 / widthInPixels, -2 / heightInPixels, 1, 1]); A.callMethod(t2, _s9_, [gl.getUniformLocation$2(0, t1, "u_shift"), -1, 1, 0, 0]); t3 = t2.createBuffer(); t3.toString; A.callMethod(t2, _s10_, [gl.get$kArrayBuffer(), t3]); t3 = gl.get$kStaticDraw(); A.callMethod(t2, _s10_0, [gl.get$kArrayBuffer(), vertices, t3]); t3 = gl._kFloat; A.callMethod(t2, _s19_, [0, 2, t3 == null ? gl._kFloat = t2.FLOAT : t3, false, 0, 0]); A.callMethod(t2, _s23_, [0]); colorsBuffer = t2.createBuffer(); A.callMethod(t2, _s10_, [gl.get$kArrayBuffer(), colorsBuffer]); colors = new Int32Array(A._ensureNativeList(A._setArrayType([4278255360, 4278190335, 4294967040, 4278255615], type$.JSArray_int))); t3 = gl.get$kStaticDraw(); A.callMethod(t2, _s10_0, [gl.get$kArrayBuffer(), colors, t3]); t3 = gl._kUnsignedByte; A.callMethod(t2, _s19_, [1, 4, t3 == null ? gl._kUnsignedByte = t2.UNSIGNED_BYTE : t3, true, 0, 0]); A.callMethod(t2, _s23_, [1]); indexBuffer = t2.createBuffer(); A.callMethod(t2, _s10_, [gl.get$kElementArrayBuffer(), indexBuffer]); t3 = $.$get$VertexShaders_vertexIndicesForRect(); t4 = gl.get$kStaticDraw(); A.callMethod(t2, _s10_0, [gl.get$kElementArrayBuffer(), t3, t4]); if (A.callMethod(t2, "getUniformLocation", [t1, "u_resolution"]) != null) A.callMethod(t2, "uniform2f", [gl.getUniformLocation$2(0, t1, "u_resolution"), widthInPixels, heightInPixels]); t1 = gl._kColorBufferBit; A.callMethod(t2, "clear", [t1 == null ? gl._kColorBufferBit = t2.COLOR_BUFFER_BIT : t1]); t2.viewport(0, 0, widthInPixels, heightInPixels); t1 = gl._kTriangles; if (t1 == null) t1 = gl._kTriangles = t2.TRIANGLES; t4 = gl._kUnsignedShort; if (t4 == null) t4 = gl._kUnsignedShort = t2.UNSIGNED_SHORT; A.callMethod(t2, "drawElements", [t1, t3.length, t4, 0]); } }; A.HtmlRenderer.prototype = { get$rendererTag() { return "html"; }, get$fontCollection() { var value = this.__HtmlRenderer__fontCollection_FI; if (value === $) { value !== $ && A.throwUnnamedLateFieldADI(); value = this.__HtmlRenderer__fontCollection_FI = new A.HtmlFontCollection(); } return value; }, initialize$0(_) { A.scheduleMicrotask(new A.HtmlRenderer_initialize_closure()); $.HtmlRenderer____instance.__late_helper$_value = this; }, reset$1(_, embedder) { }, createPaint$0() { return new A.SurfacePaint(new A.SurfacePaintData()); }, createCanvas$2(recorder, cullRect) { type$.EnginePictureRecorder._as(recorder); if (recorder._isRecording) A.throwExpression(A.ArgumentError$(string$.x22recor, null)); return new A.SurfaceCanvas(recorder.beginRecording$1(cullRect == null ? B.Rect_aha : cullRect)); }, createLinearGradient$6(_, from, to, colors, colorStops, tileMode, matrix4) { return new A.GradientLinear(from, to, colors, colorStops, tileMode, matrix4 == null ? null : new A.FastMatrix32(matrix4)); }, createPictureRecorder$0() { return new A.EnginePictureRecorder(); }, createSceneBuilder$0() { var t1 = A._setArrayType([], type$.JSArray_PersistedContainerSurface), t2 = $.SurfaceSceneBuilder__lastFrameScene, t3 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = t2 != null && t2.__engine$_state === B.PersistedSurfaceState_1 ? t2 : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); t2 = new A.PersistedScene(t3, t2, B.PersistedSurfaceState_0); t2.transform = A.Matrix4$identity(); t1.push(t2); return new A.SurfaceSceneBuilder(t1); }, createBlurImageFilter$3$sigmaX$sigmaY$tileMode(sigmaX, sigmaY, tileMode) { return new A._BlurEngineImageFilter(sigmaX, sigmaY, tileMode); }, createMatrixImageFilter$2$filterQuality(matrix4, filterQuality) { return new A._MatrixEngineImageFilter(new Float64Array(A._ensureNativeList(matrix4)), filterQuality); }, instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth(list, allowUpscaling, targetHeight, targetWidth) { return this.instantiateImageCodec$body$HtmlRenderer(list, allowUpscaling, targetHeight, targetWidth); }, instantiateImageCodec$1(list) { return this.instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth(list, true, null, null); }, instantiateImageCodec$body$HtmlRenderer(list, allowUpscaling, targetHeight, targetWidth) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue, blob; var $async$instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start blob = A.createDomBlob([J.get$buffer$x(list)]); $async$returnValue = new A.HtmlBlobCodec(A.callMethod(self.window.URL, "createObjectURL", [blob]), null); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$instantiateImageCodec$4$allowUpscaling$targetHeight$targetWidth, $async$completer); }, instantiateImageCodecFromUrl$2$chunkCallback(uri, chunkCallback) { return this.instantiateImageCodecFromUrl$body$HtmlRenderer(uri, chunkCallback); }, instantiateImageCodecFromUrl$body$HtmlRenderer(uri, chunkCallback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue; var $async$instantiateImageCodecFromUrl$2$chunkCallback = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = new A.HtmlCodec(uri.toString$0(0), chunkCallback); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$instantiateImageCodecFromUrl$2$chunkCallback, $async$completer); }, decodeImageFromPixels$9$allowUpscaling$rowBytes$targetHeight$targetWidth(pixels, width, height, format, callback, allowUpscaling, rowBytes, targetHeight, targetWidth) { A.createBmp(pixels, width, height, width, format).then$1$1(0, new A.HtmlRenderer_decodeImageFromPixels_executeCallback(callback), type$.void); }, createPath$0() { return A.SurfacePath$(); }, createTextStyle$21$background$color$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$shadows$textBaseline$wordSpacing(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) { return A.EngineTextStyle$only(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontVariations, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing); }, createParagraphStyle$12$ellipsis$fontFamily$fontSize$fontStyle$fontWeight$height$locale$maxLines$strutStyle$textAlign$textDirection$textHeightBehavior(ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, locale, maxLines, strutStyle, textAlign, textDirection, textHeightBehavior) { type$.nullable_EngineStrutStyle._as(strutStyle); return new A.EngineParagraphStyle(textAlign, textDirection, fontWeight, fontStyle, maxLines, fontFamily, fontSize, height, textHeightBehavior, ellipsis, locale); }, createStrutStyle$9$fontFamily$fontFamilyFallback$fontSize$fontStyle$fontWeight$forceStrutHeight$height$leading$leadingDistribution(fontFamily, fontFamilyFallback, fontSize, fontStyle, fontWeight, forceStrutHeight, height, leading, leadingDistribution) { return new A.EngineStrutStyle(fontFamily, fontFamilyFallback, fontSize, height, leading, fontWeight, fontStyle, forceStrutHeight, leadingDistribution); }, createParagraphBuilder$1(style) { type$.EngineParagraphStyle._as(style); return new A.CanvasParagraphBuilder(new A.StringBuffer(""), style, A._setArrayType([], type$.JSArray_ParagraphSpan), A._setArrayType([], type$.JSArray_StyleNode), new A.RootStyleNode(style), A._setArrayType([], type$.JSArray_double)); }, renderScene$2(scene, view) { return this.renderScene$body$HtmlRenderer(scene, view); }, renderScene$body$HtmlRenderer(scene, view) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t3, t1, t2; var $async$renderScene$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = type$.nullable_EngineFlutterWindow._as($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, 0)).get$dom(); t2 = type$.SurfaceScene._as(scene).webOnlyRootElement; t2.toString; if (!J.$eq$(t2, t1._lastSceneElement)) { t3 = t1._lastSceneElement; if (t3 != null) t3.remove(); t1._lastSceneElement = t2; t1.sceneHost.append(t2); } A.frameTimingsOnRasterFinish(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$renderScene$2, $async$completer); }, clearFragmentProgramCache$0() { }, createLineMetrics$9$ascent$baseline$descent$hardBreak$height$left$lineNumber$unscaledAscent$width(ascent, baseline, descent, hardBreak, height, left, lineNumber, unscaledAscent, width) { return new A.EngineLineMetrics(hardBreak, ascent, descent, unscaledAscent, height, width, left, baseline, lineNumber); } }; A.HtmlRenderer_initialize_closure.prototype = { call$0() { A.ensureLineLookupInitialized(); }, $signature: 0 }; A.HtmlRenderer_decodeImageFromPixels_executeCallback.prototype = { call$1(codec) { codec.getNextFrame$0().then$1$1(0, new A.HtmlRenderer_decodeImageFromPixels_executeCallback_closure(this.callback), type$.Null); }, $signature: 922 }; A.HtmlRenderer_decodeImageFromPixels_executeCallback_closure.prototype = { call$1(frameInfo) { this.callback.call$1(frameInfo.get$image(frameInfo)); }, $signature: 1081 }; A.SurfaceScene.prototype = { dispose$0() { } }; A.PersistedScene.prototype = { recomputeTransformAndClip$0() { var $screen = $._window.get$physicalSize(); this.localClipBounds = new A.Rect(0, 0, $screen._dx, $screen._dy); this.projectedClip = null; }, get$localTransformInverse() { var t1 = this._localTransformInverse; return t1 == null ? this._localTransformInverse = A.Matrix4$identity() : t1; }, createElement$0(_) { return this.defaultCreateElement$1("flt-scene"); }, apply$0() { } }; A.SurfaceSceneBuilder.prototype = { _pushSurface$1$1(surface) { var t2, t1 = surface._oldLayer.value; if (t1 != null) t1.__engine$_state = B.PersistedSurfaceState_3; t1 = this._surfaceStack; t2 = B.JSArray_methods.get$last(t1); t2.__engine$_children.push(surface); surface.parent = t2; t1.push(surface); return surface; }, _pushSurface$1(surface) { return this._pushSurface$1$1(surface, type$.PersistedContainerSurface); }, pushOffset$3$oldLayer(dx, dy, oldLayer) { var t1, t2; type$.nullable_PersistedOffset._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedOffset(dx, dy, t1, t2, B.PersistedSurfaceState_0)); }, pushTransform$2$oldLayer(matrix4, oldLayer) { var matrix, t1, t2; if (this._surfaceStack.length === 1) matrix = A.Matrix4$identity()._m4storage; else matrix = A.toMatrix32(matrix4); type$.nullable_PersistedTransform._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedTransform(matrix, t1, t2, B.PersistedSurfaceState_0)); }, pushClipRect$3$clipBehavior$oldLayer(rect, clipBehavior, oldLayer) { var t1, t2; type$.nullable_PersistedClipRect._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedClipRect(clipBehavior, rect, null, t1, t2, B.PersistedSurfaceState_0)); }, pushClipRRect$3$clipBehavior$oldLayer(rrect, clipBehavior, oldLayer) { var t1, t2; type$.nullable_PersistedSurface._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedClipRRect(rrect, clipBehavior, null, t1, t2, B.PersistedSurfaceState_0)); }, pushClipPath$3$clipBehavior$oldLayer(path, clipBehavior, oldLayer) { var t1, t2; type$.nullable_PersistedClipPath._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedClipPath(path, clipBehavior, t1, t2, B.PersistedSurfaceState_0)); }, pushOpacity$3$offset$oldLayer(alpha, offset, oldLayer) { var t1, t2; type$.nullable_PersistedOpacity._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedOpacity(alpha, offset, t1, t2, B.PersistedSurfaceState_0)); }, pushImageFilter$3$offset$oldLayer(filter, offset, oldLayer) { var t1, t2; type$.nullable_PersistedImageFilter._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedImageFilter(filter, offset, t1, t2, B.PersistedSurfaceState_0)); }, pushBackdropFilter$3$blendMode$oldLayer(filter, blendMode, oldLayer) { var t1, t2; type$.nullable_PersistedBackdropFilter._as(oldLayer); t1 = A._setArrayType([], type$.JSArray_PersistedSurface); t2 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t2 = new A.FrameReference(t2, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); return this._pushSurface$1(new A.PersistedBackdropFilter(filter, t1, t2, B.PersistedSurfaceState_0)); }, addRetained$1(retainedLayer) { var t1; type$.PersistedContainerSurface._as(retainedLayer); if (retainedLayer.__engine$_state === B.PersistedSurfaceState_1) retainedLayer.__engine$_state = B.PersistedSurfaceState_2; else retainedLayer.revive$0(); t1 = B.JSArray_methods.get$last(this._surfaceStack); t1.__engine$_children.push(retainedLayer); retainedLayer.parent = t1; }, pop$0() { this._surfaceStack.pop(); }, addPicture$4$isComplexHint$willChangeHint(offset, picture, isComplexHint, willChangeHint) { var t1, t2; type$.EnginePicture._as(picture); t1 = picture.recordingCanvas._pictureBounds; t2 = new A.FrameReference(null, type$.FrameReference_PersistedSurface); $.frameReferences.push(t2); t2 = new A.PersistedPicture(offset._dx, offset._dy, picture, t1, new A.CrossFrameCache(type$.CrossFrameCache_JavaScriptObject), t2, B.PersistedSurfaceState_0); t1 = B.JSArray_methods.get$last(this._surfaceStack); t1.__engine$_children.push(t2); t2.parent = t1; }, addPlatformView$4$height$offset$width(viewId, height, offset, width) { var t2, t1 = new A.FrameReference(null, type$.FrameReference_PersistedSurface); $.frameReferences.push(t1); t1 = new A.PersistedPlatformView(viewId, offset._dx, offset._dy, width, height, t1, B.PersistedSurfaceState_0); type$.nullable_EngineFlutterWindow._as($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, 0)).get$dom().injectPlatformView$1(viewId); t2 = B.JSArray_methods.get$last(this._surfaceStack); t2.__engine$_children.push(t1); t1.parent = t2; }, build$0() { A.frameTimingsOnBuildFinish(); A.frameTimingsOnRasterStart(); A.timeAction("preroll_frame", new A.SurfaceSceneBuilder_build_closure(this)); return A.timeAction("apply_frame", new A.SurfaceSceneBuilder_build_closure0(this)); } }; A.SurfaceSceneBuilder_build_closure.prototype = { call$0() { for (var t1 = this.$this._surfaceStack; t1.length > 1;) t1.pop(); type$.PersistedScene._as(B.JSArray_methods.get$first(t1)).preroll$1(new A.PrerollSurfaceContext()); }, $signature: 0 }; A.SurfaceSceneBuilder_build_closure0.prototype = { call$0() { var t3, t4, t1 = type$.PersistedScene, t2 = this.$this._surfaceStack; if ($.SurfaceSceneBuilder__lastFrameScene == null) t1._as(B.JSArray_methods.get$first(t2)).build$0(); else { t3 = t1._as(B.JSArray_methods.get$first(t2)); t4 = $.SurfaceSceneBuilder__lastFrameScene; t4.toString; t3.update$1(0, t4); } A.commitScene(t1._as(B.JSArray_methods.get$first(t2))); $.SurfaceSceneBuilder__lastFrameScene = t1._as(B.JSArray_methods.get$first(t2)); return new A.SurfaceScene(t1._as(B.JSArray_methods.get$first(t2)).rootElement); }, $signature: 1118 }; A.NormalizedGradient.prototype = { setupUniforms$2(gl, glProgram) { var t1, t2, t3, t4, t5, i, t6, t7, res, result, t8, t9, t10, _this = this; for (t1 = _this.thresholdCount, t2 = _this.__engine$_scale, t3 = gl.glContext, t4 = _this._bias, t5 = glProgram.program, i = 0; i < t1; ++i) { t6 = "" + i; t7 = "bias_" + t6; res = t3.getUniformLocation.apply(t3, [t5, t7]); if (res == null) { A.throwExpression(A.Exception_Exception(t7 + " not found")); result = null; } else result = res; t7 = i * 4; t8 = t7 + 1; t9 = t7 + 2; t10 = t7 + 3; t3.uniform4f.apply(t3, [result, t4[t7], t4[t8], t4[t9], t4[t10]]); t6 = "scale_" + t6; res = t3.getUniformLocation.apply(t3, [t5, t6]); if (res == null) { A.throwExpression(A.Exception_Exception(t6 + " not found")); result = null; } else result = res; t3.uniform4f.apply(t3, [result, t2[t7], t2[t8], t2[t9], t2[t10]]); } for (t1 = _this._thresholds, t2 = t1.length, i = 0; i < t2; i += 4) { t4 = "threshold_" + B.JSInt_methods._tdivFast$1(i, 4); res = t3.getUniformLocation.apply(t3, [t5, t4]); if (res == null) { A.throwExpression(A.Exception_Exception(t4 + " not found")); result = null; } else result = res; t3.uniform4f.apply(t3, [result, t1[i], t1[i + 1], t1[i + 2], t1[i + 3]]); } } }; A.NormalizedGradient_NormalizedGradient_closure.prototype = { call$1(c) { return (c.get$value(c) >>> 24 & 255) < 1; }, $signature: 1121 }; A.SharedCanvas.prototype = {}; A.EngineGradient.prototype = { dispose$0() { } }; A.GradientLinear.prototype = { createPaintStyle$3(ctx, shaderBounds, density) { var matrix4, offsetX, offsetY, t2, t3, t4, t5, centerX, centerY, gradient, _this = this, _s20_ = "createLinearGradient", t1 = _this.tileMode; if (t1 === B.TileMode_0 || t1 === B.TileMode_3) { matrix4 = _this.matrix4; offsetX = shaderBounds.left; offsetY = shaderBounds.top; t2 = _this.from; t3 = _this.to; t4 = t2._dx; t5 = t3._dx; t2 = t2._dy; t3 = t3._dy; if (matrix4 != null) { centerX = (t4 + t5) / 2 - offsetX; centerY = (t2 + t3) / 2 - offsetY; matrix4.transform$2(0, t4 - centerX, t2 - centerY); t2 = matrix4.transformedX; t4 = matrix4.transformedY; matrix4.transform$2(0, t5 - centerX, t3 - centerY); gradient = A.callMethod(ctx, _s20_, [t2 + centerX - offsetX, t4 + centerY - offsetY, matrix4.transformedX + centerX - offsetX, matrix4.transformedY + centerY - offsetY]); } else gradient = A.callMethod(ctx, _s20_, [t4 - offsetX, t2 - offsetY, t5 - offsetX, t3 - offsetY]); A._addColorStopsToCanvasGradient(gradient, _this.colors, _this.colorStops, t1 === B.TileMode_3); return gradient; } else { t1 = A.callMethod(ctx, "createPattern", [_this.createImageBitmap$3(shaderBounds, density, false), "no-repeat"]); t1.toString; return t1; } }, createImageBitmap$3(shaderBounds, density, createDataUrl) { var widthInPixels, t3, t4, heightInPixels, t5, t6, t7, gl, normalizedGradient, t8, builder, t9, t10, fragColor, method, shader, cacheKey, cachedProgram, vertexShader, fragmentShader, fromX, fromY, toX, toY, dx, dy, $length, sinVal, cosVal, isRepeated, originX, originY, originTranslation, rotationZ, storage, gradientTransform, m4, center, result, _this = this, _s18_ = "premultipliedAlpha", _s12_ = "u_resolution", _s10_ = "m_gradient", _s12_0 = "attachShader", t1 = shaderBounds.right, t2 = shaderBounds.left; t1 -= t2; widthInPixels = B.JSNumber_methods.ceil$0(t1); t3 = shaderBounds.bottom; t4 = shaderBounds.top; t3 -= t4; heightInPixels = B.JSNumber_methods.ceil$0(t3); if ($.glRenderer == null) $.glRenderer = new A._WebGlRenderer(); t5 = $.$get$_sharedCanvas(); t5._checkedOut = true; t6 = t5.__engine$_canvas; if (t6 == null) { t6 = new A.OffScreenCanvas(widthInPixels, heightInPixels); if (A.OffScreenCanvas_supported()) t6.offScreenCanvas = A.callConstructor(self.OffscreenCanvas, [widthInPixels, heightInPixels]); else { t7 = t6.canvasElement = A.createDomCanvasElement(heightInPixels, widthInPixels); t7.className = "gl-canvas"; t6._updateCanvasCssSize$1(t7); } t5.__engine$_canvas = t6; } else if (widthInPixels !== t6.width && heightInPixels !== t6.height) { t6.width = widthInPixels; t6.height = heightInPixels; t7 = t6.offScreenCanvas; if (t7 != null) { A.DomOffscreenCanvasExtension_set_width(t7, widthInPixels); t6 = t6.offScreenCanvas; t6.toString; A.DomOffscreenCanvasExtension_set_height(t6, heightInPixels); } else { t7 = t6.canvasElement; if (t7 != null) { A.DomCanvasElementExtension_set_width(t7, widthInPixels); t7 = t6.canvasElement; t7.toString; A.DomCanvasElementExtension_set_height(t7, heightInPixels); t7 = t6.canvasElement; t7.toString; t6._updateCanvasCssSize$1(t7); } } } t5 = t5.__engine$_canvas; t5.toString; if (A.OffScreenCanvas_supported()) { t5 = t5.offScreenCanvas; t5.toString; t6 = type$.String; t7 = A.DomOffscreenCanvasExtension_getContext(t5, "webgl2", A.LinkedHashMap_LinkedHashMap$_literal([_s18_, false], t6, type$.dynamic)); t7.toString; gl = new A.GlContext(t7); $.GlContext____programCache.__late_helper$_value = A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.nullable_GlProgram); gl.__engine$_canvas = t5; t5 = $.GlContext____programCache; } else { t5 = t5.canvasElement; t5.toString; t6 = $._cachedWebGLVersion; t6 = (t6 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t6) === 1 ? "webgl" : "webgl2"; t7 = type$.String; t6 = A.DomCanvasElementExtension_getContext(t5, t6, A.LinkedHashMap_LinkedHashMap$_literal([_s18_, false], t7, type$.dynamic)); t6.toString; gl = new A.GlContext(t6); $.GlContext____programCache.__late_helper$_value = A.LinkedHashMap_LinkedHashMap$_empty(t7, type$.nullable_GlProgram); gl.__engine$_canvas = t5; t5 = $.GlContext____programCache; } gl._widthInPixels = widthInPixels; gl._heightInPixels = heightInPixels; normalizedGradient = A.NormalizedGradient_NormalizedGradient(_this.colors, _this.colorStops); t6 = $.VertexShaders__baseVertexShader; if (t6 == null) { t6 = $._cachedWebGLVersion; if (t6 == null) t6 = $._cachedWebGLVersion = A._detectWebGLVersion(); t7 = A._setArrayType([], type$.JSArray_ShaderDeclaration); t8 = A._setArrayType([], type$.JSArray_ShaderMethod); builder = new A.ShaderBuilder(t7, t8, t6 === 2, false, new A.StringBuffer("")); builder.addIn$2$name(11, "position"); builder.addIn$2$name(11, "color"); builder.addUniform$2$name(14, "u_ctransform"); builder.addUniform$2$name(11, "u_scale"); builder.addUniform$2$name(11, "u_shift"); t7.push(new A.ShaderDeclaration("v_color", 11, 3)); t6 = A._setArrayType([], type$.JSArray_String); t8.push(new A.ShaderMethod("main", t6)); t6.push("gl_Position = ((u_ctransform * position) * u_scale) + u_shift;"); t6.push("v_color = color.zyxw;"); t6 = $.VertexShaders__baseVertexShader = builder.build$0(); } t7 = _this.tileMode; t8 = $._cachedWebGLVersion; if (t8 == null) t8 = $._cachedWebGLVersion = A._detectWebGLVersion(); t9 = A._setArrayType([], type$.JSArray_ShaderDeclaration); t10 = A._setArrayType([], type$.JSArray_ShaderMethod); builder = new A.ShaderBuilder(t9, t10, t8 === 2, true, new A.StringBuffer("")); builder.floatPrecision = 1; builder.addIn$2$name(11, "v_color"); builder.addUniform$2$name(9, _s12_); builder.addUniform$2$name(14, _s10_); fragColor = builder.get$fragmentColor(); t8 = A._setArrayType([], type$.JSArray_String); method = new A.ShaderMethod("main", t8); t10.push(method); t8.push("vec4 localCoord = m_gradient * vec4(gl_FragCoord.x, u_resolution.y - gl_FragCoord.y, 0, 1);"); t8.push("float st = localCoord.x;"); t8.push(fragColor.name + " = " + A._writeSharedGradientShader(builder, method, normalizedGradient, t7) + " * scale + bias;"); shader = builder.build$0(); cacheKey = t6 + "||" + shader; cachedProgram = J.$index$asx(t5._readField$0(), cacheKey); if (cachedProgram == null) { vertexShader = gl.compileShader$2(0, "VERTEX_SHADER", t6); fragmentShader = gl.compileShader$2(0, "FRAGMENT_SHADER", shader); t6 = gl.glContext; t8 = t6.createProgram(); A.callMethod(t6, _s12_0, [t8, vertexShader]); A.callMethod(t6, _s12_0, [t8, fragmentShader]); A.callMethod(t6, "linkProgram", [t8]); t9 = gl._kLinkStatus; if (!A.callMethod(t6, "getProgramParameter", [t8, t9 == null ? gl._kLinkStatus = t6.LINK_STATUS : t9])) A.throwExpression(A.Exception_Exception(A.callMethod(t6, "getProgramInfoLog", [t8]))); cachedProgram = new A.GlProgram(t8); J.$indexSet$ax(t5._readField$0(), cacheKey, cachedProgram); } t5 = gl.glContext; t6 = cachedProgram.program; A.callMethod(t5, "useProgram", [t6]); t8 = _this.from; fromX = t8._dx; fromY = t8._dy; t8 = _this.to; toX = t8._dx; toY = t8._dy; dx = toX - fromX; dy = toY - fromY; $length = Math.sqrt(dx * dx + dy * dy); t8 = $length < 11920929e-14; sinVal = t8 ? 0 : -dy / $length; cosVal = t8 ? 1 : dx / $length; isRepeated = t7 !== B.TileMode_0; originX = isRepeated ? t1 / 2 : (fromX + toX) / 2 - t2; originY = isRepeated ? t3 / 2 : (fromY + toY) / 2 - t4; originTranslation = A.Matrix4$identity(); originTranslation.setTranslationRaw$3(-originX, -originY, 0); rotationZ = A.Matrix4$identity(); storage = rotationZ._m4storage; storage[0] = cosVal; storage[1] = sinVal; storage[4] = -sinVal; storage[5] = cosVal; gradientTransform = A.Matrix4$identity(); gradientTransform.translate$1(0, 0.5); if ($length > 11920929e-14) gradientTransform.scale$1(0, 1 / $length); t1 = _this.matrix4; if (t1 != null) { m4 = new A.Matrix4(new Float32Array(16)); m4.copyInverse$1(new A.Matrix4(t1.matrix)); center = shaderBounds.get$center(); t1 = center._dx; t2 = center._dy; gradientTransform.translate$2(0, -t1, -t2); gradientTransform.multiply$1(0, m4); gradientTransform.translate$2(0, t1, t2); } gradientTransform.multiply$1(0, rotationZ); gradientTransform.multiply$1(0, originTranslation); normalizedGradient.setupUniforms$2(gl, cachedProgram); A.callMethod(t5, "uniformMatrix4fv", [gl.getUniformLocation$2(0, t6, _s10_), false, gradientTransform._m4storage]); A.callMethod(t5, "uniform2f", [gl.getUniformLocation$2(0, t6, _s12_), widthInPixels, heightInPixels]); result = new A.GradientLinear_createImageBitmap_closure(createDataUrl, shaderBounds, gl, cachedProgram, normalizedGradient, widthInPixels, heightInPixels).call$0(); $.$get$_sharedCanvas()._checkedOut = false; return result; } }; A.GradientLinear_createImageBitmap_closure.prototype = { call$0() { var t11, canvas, image, _this = this, _s10_ = "bindBuffer", t1 = $.glRenderer, t2 = _this.shaderBounds, t3 = _this.gl, t4 = _this.glProgram, t5 = _this.normalizedGradient, t6 = _this.widthInPixels, t7 = _this.heightInPixels, t8 = t2.right, t9 = t2.left, t10 = t2.bottom; t2 = t2.top; t11 = t3.glContext; if (_this.createDataUrl) { t1.drawRectToGl$6(new A.Rect(0, 0, 0 + (t8 - t9), 0 + (t10 - t2)), t3, t4, t5, t6, t7); t1 = t3._widthInPixels; canvas = A.createDomCanvasElement(t3._heightInPixels, t1); t1 = A.DomCanvasElementExtension_getContext(canvas, "2d", null); t1.toString; t3.drawImage$3(0, type$.JavaScriptObject._as(t1), 0, 0); t1 = A.callMethod(canvas, "toDataURL", ["image/png"]); A.DomCanvasElementExtension_set_width(canvas, 0); A.DomCanvasElementExtension_set_height(canvas, 0); A.callMethod(t11, _s10_, [t3.get$kArrayBuffer(), null]); A.callMethod(t11, _s10_, [t3.get$kElementArrayBuffer(), null]); return t1; } else { t1.drawRectToGl$6(new A.Rect(0, 0, 0 + (t8 - t9), 0 + (t10 - t2)), t3, t4, t5, t6, t7); image = t3.readPatternData$1(t5.isOpaque); A.callMethod(t11, _s10_, [t3.get$kArrayBuffer(), null]); A.callMethod(t11, _s10_, [t3.get$kElementArrayBuffer(), null]); image.toString; return image; } }, $signature: 1147 }; A.EngineImageFilter.prototype = { get$filterAttribute() { return ""; } }; A._BlurEngineImageFilter.prototype = { get$filterAttribute() { return "blur(" + A.S((this.sigmaX + this.sigmaY) * 0.5) + "px)"; }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A._BlurEngineImageFilter && other.tileMode === _this.tileMode && other.sigmaX === _this.sigmaX && other.sigmaY === _this.sigmaY; }, get$hashCode(_) { return A.Object_hash(this.sigmaX, this.sigmaY, this.tileMode, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "ImageFilter.blur(" + this.sigmaX + ", " + this.sigmaY + ", " + this.tileMode.toString$0(0) + ")"; } }; A._MatrixEngineImageFilter.prototype = { get$transformAttribute() { return A.float64ListToCssTransform(this.webMatrix); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A._MatrixEngineImageFilter && other.filterQuality === this.filterQuality && A.listEquals0(other.webMatrix, this.webMatrix); }, get$hashCode(_) { return A.Object_hash(A.Object_hashAll(this.webMatrix), this.filterQuality, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "ImageFilter.matrix(" + A.S(this.webMatrix) + ", " + this.filterQuality.toString$0(0) + ")"; } }; A.EngineHtmlColorFilter.prototype = {$isEngineImageFilter: 1}; A.ModeHtmlColorFilter.prototype = {}; A.MatrixHtmlColorFilter.prototype = {}; A.ShaderBuilder.prototype = { get$fragmentColor() { var t1 = this._fragmentColorDeclaration; if (t1 == null) t1 = this._fragmentColorDeclaration = new A.ShaderDeclaration(this.isWebGl2 ? "gFragColor" : "gl_FragColor", 11, 3); return t1; }, addIn$2$name(dataType, $name) { var attrib = new A.ShaderDeclaration($name, dataType, 1); this.declarations.push(attrib); return attrib; }, addUniform$2$name(dataType, $name) { var uniform = new A.ShaderDeclaration($name, dataType, 2); this.declarations.push(uniform); return uniform; }, _writeVariableDeclaration$2(sb, variable) { var t2, t3, _this = this, _s8_ = "varying ", t1 = variable.storage; switch (t1) { case 0: _this._buffer._contents += "const "; break; case 1: if (_this.isWebGl2) t2 = "in "; else t2 = _this._isFragmentShader ? _s8_ : "attribute "; _this._buffer._contents += t2; break; case 2: _this._buffer._contents += "uniform "; break; case 3: t2 = _this.isWebGl2 ? "out " : _s8_; _this._buffer._contents += t2; break; } t2 = _this._buffer; t3 = t2._contents += A.ShaderBuilder_typeToString(variable.dataType) + " " + variable.name; if (t1 === 0) t1 = t2._contents = t3 + " = "; else t1 = t3; t2._contents = t1 + ";\n"; }, build$0() { var t2, t3, _i, t4, method, _this = this, t1 = _this.isWebGl2; if (t1) _this._buffer._contents += "#version 300 es\n"; t2 = _this.floatPrecision; if (t2 != null) { if (t2 === 0) t2 = "lowp"; else t2 = t2 === 1 ? "mediump" : "highp"; _this._buffer._contents += "precision " + t2 + " float;\n"; } if (t1 && _this._fragmentColorDeclaration != null) { t1 = _this._fragmentColorDeclaration; t1.toString; _this._writeVariableDeclaration$2(_this._buffer, t1); } for (t1 = _this.declarations, t2 = t1.length, t3 = _this._buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) _this._writeVariableDeclaration$2(t3, t1[_i]); for (t1 = _this._methods, t2 = t1.length, t4 = t3.get$writeln(), _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { method = t1[_i]; t3._contents += "void " + method.name + "() {\n"; B.JSArray_methods.forEach$1(method._statements, t4); t3._contents += "}\n"; } t1 = t3._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.ShaderMethod.prototype = {}; A.ShaderDeclaration.prototype = {}; A.commitScene_closure.prototype = { call$2(a, b) { var bSize, t1 = a.canvasSize, aSize = t1._dy * t1._dx; t1 = b.canvasSize; bSize = t1._dy * t1._dx; return J.compareTo$1$ns(bSize, aSize); }, $signature: 1300 }; A.PersistedSurfaceState.prototype = { _enumToString$0() { return "PersistedSurfaceState." + this._core$_name; } }; A.PersistedSurface.prototype = { revive$0() { this.__engine$_state = B.PersistedSurfaceState_0; }, canUpdateAsMatch$1(oldSurface) { return oldSurface.__engine$_state === B.PersistedSurfaceState_1 && A.getRuntimeTypeOfDartObject(this) === A.getRuntimeTypeOfDartObject(oldSurface); }, get$childContainer() { return this.rootElement; }, build$0() { var t2, _this = this, t1 = _this.createElement$0(0); _this.rootElement = t1; t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_1) A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "z-index", "0"); _this.apply$0(); _this.__engine$_state = B.PersistedSurfaceState_1; }, adoptElements$1(oldSurface) { this.rootElement = oldSurface.rootElement; oldSurface.rootElement = null; oldSurface.__engine$_state = B.PersistedSurfaceState_4; }, update$1(_, oldSurface) { this.adoptElements$1(oldSurface); this.__engine$_state = B.PersistedSurfaceState_1; }, retain$0() { if (this.__engine$_state === B.PersistedSurfaceState_2) $.retainedSurfaces.push(this); }, discard$0() { this.rootElement.remove(); this.rootElement = null; this.__engine$_state = B.PersistedSurfaceState_4; }, dispose$0() { }, defaultCreateElement$1(tagName) { var element = A.DomDocumentExtension_createElement(self.document, tagName); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "position", "absolute"); return element; }, get$localTransformInverse() { return null; }, recomputeTransformAndClip$0() { var _this = this; _this.transform = _this.parent.transform; _this.projectedClip = _this.localClipBounds = null; }, preroll$1(prerollContext) { this.recomputeTransformAndClip$0(); }, toString$0(_) { return this.super$Object$toString(0); } }; A.PersistedLeafSurface.prototype = {}; A.PersistedContainerSurface.prototype = { preroll$1(prerollContext) { var t1, $length, i; this.super$PersistedSurface$preroll(prerollContext); t1 = this.__engine$_children; $length = t1.length; for (i = 0; i < $length; ++i) t1[i].preroll$1(prerollContext); }, recomputeTransformAndClip$0() { var _this = this; _this.transform = _this.parent.transform; _this.projectedClip = _this.localClipBounds = null; }, build$0() { var t1, len, containerElement, i, child, t2; this.super$PersistedSurface$build(); t1 = this.__engine$_children; len = t1.length; containerElement = this.get$childContainer(); for (i = 0; i < len; ++i) { child = t1[i]; if (child.__engine$_state === B.PersistedSurfaceState_2) child.retain$0(); else if (child instanceof A.PersistedContainerSurface && child._oldLayer.value != null) { t2 = child._oldLayer.value; t2.toString; child.update$1(0, t2); } else child.build$0(); containerElement.toString; t2 = child.rootElement; t2.toString; containerElement.append(t2); child.__engine$_index = i; } }, matchForUpdate$1(existingSurface) { return 1; }, update$1(_, oldSurface) { var t1, _this = this; _this.super$PersistedSurface$update(0, oldSurface); if (oldSurface.__engine$_children.length === 0) _this._updateZeroToMany$1(oldSurface); else { t1 = _this.__engine$_children.length; if (t1 === 1) _this._updateManyToOne$1(oldSurface); else if (t1 === 0) A.PersistedContainerSurface__discardActiveChildren(oldSurface); else _this._updateManyToMany$1(oldSurface); } }, get$isClipping() { return false; }, _updateZeroToMany$1(oldSurface) { var i, newChild, t2, containerElement = this.get$childContainer(), t1 = this.__engine$_children, $length = t1.length; for (i = 0; i < $length; ++i) { newChild = t1[i]; if (newChild.__engine$_state === B.PersistedSurfaceState_2) newChild.retain$0(); else if (newChild instanceof A.PersistedContainerSurface && newChild._oldLayer.value != null) { t2 = newChild._oldLayer.value; t2.toString; newChild.update$1(0, t2); } else newChild.build$0(); newChild.__engine$_index = i; containerElement.toString; t2 = newChild.rootElement; t2.toString; containerElement.append(t2); } }, _updateManyToOne$1(oldSurface) { var t1, t2, oldLayer, bestMatch, bestScore, i, candidate, score, t3, oldChild, _this = this, newChild = _this.__engine$_children[0]; newChild.__engine$_index = 0; if (newChild.__engine$_state === B.PersistedSurfaceState_2) { if (!J.$eq$(newChild.rootElement.parentElement, _this.get$childContainer())) { t1 = _this.get$childContainer(); t1.toString; t2 = newChild.rootElement; t2.toString; t1.append(t2); } newChild.retain$0(); A.PersistedContainerSurface__discardActiveChildren(oldSurface); return; } if (newChild instanceof A.PersistedContainerSurface && newChild._oldLayer.value != null) { oldLayer = newChild._oldLayer.value; if (!J.$eq$(oldLayer.rootElement.parentElement, _this.get$childContainer())) { t1 = _this.get$childContainer(); t1.toString; t2 = oldLayer.rootElement; t2.toString; t1.append(t2); } newChild.update$1(0, oldLayer); A.PersistedContainerSurface__discardActiveChildren(oldSurface); return; } for (t1 = oldSurface.__engine$_children, bestMatch = null, bestScore = 2, i = 0; i < t1.length; ++i) { candidate = t1[i]; if (!newChild.canUpdateAsMatch$1(candidate)) continue; score = newChild.matchForUpdate$1(candidate); if (score < bestScore) { bestScore = score; bestMatch = candidate; } } if (bestMatch != null) { newChild.update$1(0, bestMatch); if (!J.$eq$(newChild.rootElement.parentElement, _this.get$childContainer())) { t2 = _this.get$childContainer(); t2.toString; t3 = newChild.rootElement; t3.toString; t2.append(t3); } } else { newChild.build$0(); t2 = _this.get$childContainer(); t2.toString; t3 = newChild.rootElement; t3.toString; t2.append(t3); } for (i = 0; i < t1.length; ++i) { oldChild = t1[i]; if (oldChild !== bestMatch && oldChild.__engine$_state === B.PersistedSurfaceState_1) oldChild.discard$0(); } }, _updateManyToMany$1(oldSurface) { var t1, t2, indexMapNew, indexMapOld, requiresDomInserts, topInNew, newChild, isReparenting, matchedOldChild, oldLayer, indexInOld, backfill, _this = this, containerElement = _this.get$childContainer(), matches = _this._matchChildren$1(oldSurface); for (t1 = _this.__engine$_children, t2 = type$.JSArray_int, indexMapNew = null, indexMapOld = null, requiresDomInserts = false, topInNew = 0; topInNew < t1.length; ++topInNew) { newChild = t1[topInNew]; if (newChild.__engine$_state === B.PersistedSurfaceState_2) { isReparenting = !J.$eq$(newChild.rootElement.parentElement, containerElement); newChild.retain$0(); matchedOldChild = newChild; } else if (newChild instanceof A.PersistedContainerSurface && newChild._oldLayer.value != null) { oldLayer = newChild._oldLayer.value; isReparenting = !J.$eq$(oldLayer.rootElement.parentElement, containerElement); newChild.update$1(0, oldLayer); matchedOldChild = oldLayer; } else { matchedOldChild = matches.$index(0, newChild); if (matchedOldChild != null) { isReparenting = !J.$eq$(matchedOldChild.rootElement.parentElement, containerElement); newChild.update$1(0, matchedOldChild); } else { newChild.build$0(); isReparenting = true; } } indexInOld = matchedOldChild != null && !isReparenting ? matchedOldChild.__engine$_index : -1; if (!requiresDomInserts && indexInOld !== topInNew) { indexMapNew = A._setArrayType([], t2); indexMapOld = A._setArrayType([], t2); for (backfill = 0; backfill < topInNew; ++backfill) { indexMapNew.push(backfill); indexMapOld.push(backfill); } requiresDomInserts = true; } if (requiresDomInserts && indexInOld !== -1) { indexMapNew.push(topInNew); indexMapOld.push(indexInOld); } newChild.__engine$_index = topInNew; } if (requiresDomInserts) { indexMapOld.toString; _this._insertChildDomNodes$2(indexMapNew, indexMapOld); } A.PersistedContainerSurface__discardActiveChildren(oldSurface); }, _insertChildDomNodes$2(indexMapNew, indexMapOld) { var t1, i, containerElement, refNode, isStationary, t2, stationaryIndices = A.longestIncreasingSubsequence(indexMapOld); for (t1 = stationaryIndices.length, i = 0; i < t1; ++i) stationaryIndices[i] = indexMapNew[stationaryIndices[i]]; containerElement = this.get$childContainer(); for (t1 = this.__engine$_children, i = t1.length - 1, refNode = null; i >= 0; --i, refNode = t2) { indexMapNew.toString; isStationary = B.JSArray_methods.indexOf$1(indexMapNew, i) !== -1 && B.JSArray_methods.contains$1(stationaryIndices, i); t2 = t1[i].rootElement; t2.toString; if (!isStationary) if (refNode == null) containerElement.append(t2); else containerElement.insertBefore(t2, refNode); } }, _matchChildren$1(oldSurface) { var i, child, oldChildren, newChildCount, oldChildCount, allMatches, indexInNew, newChild, indexInOld, oldChild, result, match, matchedChild, newChildNeedsMatch, t1 = this.__engine$_children, newUnfilteredChildCount = t1.length, t2 = oldSurface.__engine$_children, oldUnfilteredChildCount = t2.length, newChildren = A._setArrayType([], type$.JSArray_PersistedSurface); for (i = 0; i < newUnfilteredChildCount; ++i) { child = t1[i]; if (child.__engine$_state === B.PersistedSurfaceState_0 && child._oldLayer.value == null) newChildren.push(child); } oldChildren = A._setArrayType([], type$.JSArray_nullable_PersistedSurface); for (i = 0; i < oldUnfilteredChildCount; ++i) { child = t2[i]; if (child.__engine$_state === B.PersistedSurfaceState_1) oldChildren.push(child); } newChildCount = newChildren.length; oldChildCount = oldChildren.length; if (newChildCount === 0 || oldChildCount === 0) return B.Map_empty9; allMatches = A._setArrayType([], type$.JSArray__PersistedSurfaceMatch); for (indexInNew = 0; indexInNew < newChildCount; ++indexInNew) { newChild = newChildren[indexInNew]; for (indexInOld = 0; indexInOld < oldChildCount; ++indexInOld) { oldChild = oldChildren[indexInOld]; if (oldChild == null || !newChild.canUpdateAsMatch$1(oldChild)) continue; allMatches.push(new A._PersistedSurfaceMatch(newChild, indexInOld, newChild.matchForUpdate$1(oldChild))); } } B.JSArray_methods.sort$1(allMatches, new A.PersistedContainerSurface__matchChildren_closure()); result = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_PersistedSurface, type$.PersistedSurface); for (i = 0; i < allMatches.length; ++i) { match = allMatches[i]; t1 = match.oldChildIndex; matchedChild = oldChildren[t1]; t2 = match.newChild; newChildNeedsMatch = result.$index(0, t2) == null; if (matchedChild != null && newChildNeedsMatch) { oldChildren[t1] = null; result.$indexSet(0, t2, matchedChild); } } return result; }, retain$0() { var t1, len, i; this.super$PersistedSurface$retain(); t1 = this.__engine$_children; len = t1.length; for (i = 0; i < len; ++i) t1[i].retain$0(); }, revive$0() { var t1, len, i; this.super$PersistedSurface$revive(); t1 = this.__engine$_children; len = t1.length; for (i = 0; i < len; ++i) t1[i].revive$0(); }, discard$0() { this.super$PersistedSurface$discard(); A.PersistedContainerSurface__discardActiveChildren(this); } }; A.PersistedContainerSurface__matchChildren_closure.prototype = { call$2(m1, m2) { return B.JSNumber_methods.compareTo$1(m1.matchQuality, m2.matchQuality); }, $signature: 1306 }; A._PersistedSurfaceMatch.prototype = { toString$0(_) { return this.super$Object$toString(0); } }; A.PrerollSurfaceContext.prototype = {}; A.PersistedTransform.prototype = { get$matrix4() { var t1 = this._matrix4; return t1 == null ? this._matrix4 = new A.Matrix4(this._matrixStorage) : t1; }, recomputeTransformAndClip$0() { var _this = this, t1 = _this.parent.transform; t1.toString; _this.transform = t1.multiplied$1(_this.get$matrix4()); _this.projectedClip = null; }, get$localTransformInverse() { var t1 = this._localTransformInverse; return t1 == null ? this._localTransformInverse = A.Matrix4_tryInvert0(this.get$matrix4()) : t1; }, createElement$0(_) { var element = A.DomDocumentExtension_createElement(self.document, "flt-transform"); A.setElementStyle(element, "position", "absolute"); A.setElementStyle(element, "transform-origin", "0 0 0"); return element; }, apply$0() { A.DomCSSStyleDeclarationExtension_setProperty(this.rootElement.style, "transform", A.float64ListToCssTransform(this._matrixStorage)); }, update$1(_, oldSurface) { var t1, t2, matrixChanged, t3, i, _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); t1 = oldSurface._matrixStorage; t2 = _this._matrixStorage; if (t1 === t2) { _this._matrix4 = oldSurface._matrix4; _this._localTransformInverse = oldSurface._localTransformInverse; return; } t3 = t2.length; i = 0; while (true) { if (!(i < t3)) { matrixChanged = false; break; } if (t2[i] !== t1[i]) { matrixChanged = true; break; } ++i; } if (matrixChanged) _this.apply$0(); else { _this._matrix4 = oldSurface._matrix4; _this._localTransformInverse = oldSurface._localTransformInverse; } }, $isTransformEngineLayer0: 1 }; A.HtmlCodec.prototype = { get$frameCount() { return 1; }, get$repetitionCount() { return 0; }, getNextFrame$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.FrameInfo), $async$returnValue, $async$self = this, imgElement, t1, completer, t2; var $async$getNextFrame$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = new A._Future($.Zone__current, type$._Future_FrameInfo); completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_FrameInfo); t2 = $async$self.chunkCallback; if (t2 != null) t2.call$2(0, 100); if ($.$get$_supportsDecode()) { imgElement = A.DomDocumentExtension_createElement(self.document, "img"); A.DomHTMLImageElementExtension_set_src(imgElement, $async$self.src); imgElement.decoding = "async"; A.promiseToFuture(imgElement.decode(), type$.nullable_Object).then$1$1(0, new A.HtmlCodec_getNextFrame_closure($async$self, imgElement, completer), type$.Null).catchError$1(new A.HtmlCodec_getNextFrame_closure0($async$self, completer)); } else $async$self._decodeUsingOnLoad$1(completer); $async$returnValue = t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getNextFrame$0, $async$completer); }, _decodeUsingOnLoad$1(completer) { var t2, loadListener, t1 = {}, imgElement = A.DomDocumentExtension_createElement(self.document, "img"), errorListener = A._Cell$named("errorListener"); t1.loadListener = null; t2 = type$.JavaScriptFunction; errorListener.__late_helper$_value = t2._as(A.allowInterop(new A.HtmlCodec__decodeUsingOnLoad_closure(t1, imgElement, errorListener, completer))); A.DomEventTargetExtension_addEventListener(imgElement, "error", errorListener._readLocal$0(), null); loadListener = t2._as(A.allowInterop(new A.HtmlCodec__decodeUsingOnLoad_closure0(t1, this, imgElement, errorListener, completer))); t1.loadListener = loadListener; A.DomEventTargetExtension_addEventListener(imgElement, "load", loadListener, null); A.DomHTMLImageElementExtension_set_src(imgElement, this.src); }, dispose$0() { }, $isCodec: 1 }; A.HtmlCodec_getNextFrame_closure.prototype = { call$1(_) { var naturalWidth, naturalHeight, t2, t1 = this.$this.chunkCallback; if (t1 != null) t1.call$2(100, 100); t1 = this.imgElement; naturalWidth = B.JSNumber_methods.toInt$0(t1.naturalWidth); naturalHeight = B.JSNumber_methods.toInt$0(t1.naturalHeight); if (naturalWidth === 0) if (naturalHeight === 0) { t2 = $.$get$_browserEngine(); t2 = t2 === B.BrowserEngine_2; } else t2 = false; else t2 = false; if (t2) { naturalWidth = 300; naturalHeight = 300; } this.completer.complete$1(0, new A.SingleFrameInfo(A.HtmlImage$(t1, naturalWidth, naturalHeight))); }, $signature: 5 }; A.HtmlCodec_getNextFrame_closure0.prototype = { call$1(e) { this.$this._decodeUsingOnLoad$1(this.completer); }, $signature: 5 }; A.HtmlCodec__decodeUsingOnLoad_closure.prototype = { call$1($event) { var _this = this, t1 = _this._box_0.loadListener; if (t1 != null) A.DomEventTargetExtension_removeEventListener(_this.imgElement, "load", t1, null); A.DomEventTargetExtension_removeEventListener(_this.imgElement, "error", _this.errorListener._readLocal$0(), null); _this.completer.completeError$1($event); }, $signature: 33 }; A.HtmlCodec__decodeUsingOnLoad_closure0.prototype = { call$1($event) { var _this = this, t1 = _this.$this.chunkCallback; if (t1 != null) t1.call$2(100, 100); t1 = _this.imgElement; A.DomEventTargetExtension_removeEventListener(t1, "load", _this._box_0.loadListener, null); A.DomEventTargetExtension_removeEventListener(t1, "error", _this.errorListener._readLocal$0(), null); _this.completer.complete$1(0, new A.SingleFrameInfo(A.HtmlImage$(t1, B.JSNumber_methods.toInt$0(t1.naturalWidth), B.JSNumber_methods.toInt$0(t1.naturalHeight)))); }, $signature: 33 }; A.HtmlBlobCodec.prototype = { dispose$0() { A.callMethod(self.window.URL, "revokeObjectURL", [this.src]); } }; A.SingleFrameInfo.prototype = { get$duration(_) { return B.Duration_0; }, $isFrameInfo: 1, get$image(receiver) { return this.image; } }; A.HtmlImage.prototype = { dispose$0() { }, clone$0(_) { return this; }, isCloneOf$1(other) { return other === this; }, toByteData$1$format(format) { var canvas, t1, t2, t3, _this = this, _null = null; switch (format.index) { case 0: case 1: canvas = A.createDomCanvasElement(_null, _null); t1 = _this.width; A.DomCanvasElementExtension_set_width(canvas, t1); t2 = _this.height; A.DomCanvasElementExtension_set_height(canvas, t2); t3 = A.DomCanvasElementExtension_getContext(canvas, "2d", _null); t3.toString; type$.JavaScriptObject._as(t3); A.DomCanvasRenderingContext2DExtension_drawImage(t3, _this.imgElement, 0, 0, _null, _null, _null, _null, _null, _null); return A.Future_Future$value(A.NativeByteData_NativeByteData$view(A.callMethod(t3, "getImageData", [0, 0, t1, t2]).data.buffer, 0, _null), type$.nullable_ByteData); default: t1 = _this.imgElement; t2 = A.DomHTMLImageElementExtension_get_src(t1); t2 = t2 == null ? _null : B.JSString_methods.startsWith$1(t2, "data:"); t3 = type$.nullable_ByteData; if (t2 === true) { t1 = A.DomHTMLImageElementExtension_get_src(t1); t1.toString; return A.Future_Future$value(A.NativeByteData_NativeByteData$view(A.UriData_UriData$fromUri(A.Uri_parse(t1, 0, _null)).contentAsBytes$0().buffer, 0, _null), t3); } else return A.Future_Future$value(_null, t3); } }, toString$0(_) { return "[" + this.width + "\xd7" + this.height + "]"; }, $isImage1: 1, get$width(receiver) { return this.width; }, get$height(receiver) { return this.height; } }; A.BrowserImageDecoder.prototype = { get$frameCount() { var t1 = this.__BrowserImageDecoder_frameCount_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, get$repetitionCount() { var t1 = this.__BrowserImageDecoder_repetitionCount_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, dispose$0() { this._isDisposed = true; var t1 = this._cachedWebDecoder; if (t1 != null) t1.close(); this._cachedWebDecoder = null; }, _getOrCreateWebDecoder$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JavaScriptObject), $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, webDecoder, rawRepetitionCount, error, t1, t2, exception, $constructor, $async$exception; var $async$_getOrCreateWebDecoder$0 = A._wrapJsFunctionForAsync(function($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 if ($async$self._cachedWebDecoder != null) { $async$self._cacheExpirationClock.set$datetime(new A.DateTime(Date.now(), false).add$1(0, $._kWebDecoderExpireDuration)); t1 = $async$self._cachedWebDecoder; t1.toString; $async$returnValue = t1; // goto return $async$goto = 1; break; } t1 = $async$self._cacheExpirationClock; t1.callback = null; $async$handler = 4; webDecoder = new self.window.ImageDecoder(type$.JavaScriptObject._as({type: $async$self.contentType, data: $async$self.dataSource, premultiplyAlpha: "premultiply", colorSpaceConversion: "default", preferAnimation: true})); t2 = type$.void; $async$goto = 7; return A._asyncAwait(A.promiseToFuture(webDecoder.tracks.ready, t2), $async$_getOrCreateWebDecoder$0); case 7: // returning from await. $async$goto = 8; return A._asyncAwait(A.promiseToFuture(webDecoder.completed, t2), $async$_getOrCreateWebDecoder$0); case 8: // returning from await. $async$self.__BrowserImageDecoder_frameCount_A = B.JSNumber_methods.toInt$0(webDecoder.tracks.selectedTrack.frameCount); rawRepetitionCount = webDecoder.tracks.selectedTrack.repetitionCount; $async$self.__BrowserImageDecoder_repetitionCount_A = J.$eq$(rawRepetitionCount, 1 / 0) ? -1 : J.toInt$0$n(rawRepetitionCount); $async$self._cachedWebDecoder = webDecoder; t1.callback = new A.BrowserImageDecoder__getOrCreateWebDecoder_closure($async$self); t1.set$datetime(new A.DateTime(Date.now(), false).add$1(0, $._kWebDecoderExpireDuration)); $async$returnValue = webDecoder; // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; error = A.unwrapException($async$exception); $constructor = globalThis.DOMException; if ($constructor != null && error instanceof $constructor) if (type$.JavaScriptObject._as(error).name === "NotSupportedError") throw A.wrapException(A.ImageCodecException$("Image file format (" + $async$self.contentType + ") is not supported by this browser's ImageDecoder API.\nImage source: " + $async$self.debugSource)); throw A.wrapException(A.ImageCodecException$("Failed to decode image using the browser's ImageDecoder API.\nImage source: " + $async$self.debugSource + "\nOriginal browser error: " + A.S(error))); // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_getOrCreateWebDecoder$0, $async$completer); }, getNextFrame$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.FrameInfo), $async$returnValue, $async$self = this, duration, t4, t5, t1, frame, t2, t3, $async$temp1; var $async$getNextFrame$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = type$.JavaScriptObject; $async$temp1 = A; $async$goto = 4; return A._asyncAwait($async$self._getOrCreateWebDecoder$0(), $async$getNextFrame$0); case 4: // returning from await. $async$goto = 3; return A._asyncAwait($async$temp1.promiseToFuture($async$result.decode(t1._as({frameIndex: $async$self._nextFrameIndex})), t1), $async$getNextFrame$0); case 3: // returning from await. frame = $async$result.image; t2 = $async$self._nextFrameIndex; t3 = $async$self.__BrowserImageDecoder_frameCount_A; t3 === $ && A.throwUnnamedLateFieldNI(); $async$self._nextFrameIndex = B.JSInt_methods.$mod(t2 + 1, t3); t3 = frame.duration; t2 = t3 == null ? null : t3; t2 = t2 == null ? null : B.JSNumber_methods.toInt$0(t2); duration = A.Duration$(0, 0, t2 == null ? 0 : t2, 0, 0, 0); t2 = $.__canvasKit._readField$0(); t3 = $.__canvasKit._readField$0().AlphaType.Premul; t4 = $.__canvasKit._readField$0().ColorType.RGBA_8888; t5 = self.window.flutterCanvasKit.ColorSpace.SRGB; t5 = A.callMethod(t2, "MakeLazyImageFromTextureSource", [frame, t1._as({width: frame.displayWidth, height: frame.displayHeight, colorType: t4, alphaType: t3, colorSpace: t5})]); if (t5 == null) A.throwExpression(A.ImageCodecException$("Failed to create image from pixel data decoded using the browser's ImageDecoder.")); $async$returnValue = new A.AnimatedImageFrameInfo(duration, A.CkImage$(t5, frame)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getNextFrame$0, $async$completer); }, $isCodec: 1 }; A.BrowserImageDecoder__cacheExpirationClock_closure.prototype = { call$0() { return new A.DateTime(Date.now(), false); }, $signature: 545 }; A.BrowserImageDecoder__getOrCreateWebDecoder_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._cachedWebDecoder; if (t2 != null) t2.close(); t1._cachedWebDecoder = null; t1._cacheExpirationClock.callback = null; }, $signature: 0 }; A.AnimatedImageFrameInfo.prototype = {$isFrameInfo: 1, get$duration(receiver) { return this.duration; }, get$image(receiver) { return this.image; } }; A.ImageFileFormat.prototype = {}; A.DebugEngineInitializationState.prototype = { _enumToString$0() { return "DebugEngineInitializationState." + this._core$_name; } }; A.initializeEngineServices_closure.prototype = { call$2(_, __) { var t1, _i; for (t1 = $._hotRestartListeners.length, _i = 0; _i < $._hotRestartListeners.length; $._hotRestartListeners.length === t1 || (0, A.throwConcurrentModificationError)($._hotRestartListeners), ++_i) $._hotRestartListeners[_i].call$0(); return A.Future_Future$value(A.ServiceExtensionResponse$result("OK"), type$.ServiceExtensionResponse); }, $signature: 919 }; A.initializeEngineServices_closure0.prototype = { call$0() { var t1 = this._box_0; if (!t1.waitingForAnimation) { t1.waitingForAnimation = true; A.callMethod(self.window, "requestAnimationFrame", [type$.JavaScriptFunction._as(A.allowInterop(new A.initializeEngineServices__closure(t1)))]); } }, $signature: 0 }; A.initializeEngineServices__closure.prototype = { call$1(highResTime) { var highResTimeMicroseconds, t1, t2, t3; A.frameTimingsOnVsync(); this._box_0.waitingForAnimation = false; highResTimeMicroseconds = B.JSNumber_methods.toInt$0(1000 * highResTime); A.frameTimingsOnBuildStart(); t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = t1._onBeginFrame; if (t2 != null) { t3 = A.Duration$(0, 0, highResTimeMicroseconds, 0, 0, 0); t1._viewsRenderedInCurrentFrame = A.LinkedHashSet_LinkedHashSet$_empty(type$.FlutterView); A.invoke1(t2, t1._onBeginFrameZone, t3); t1._viewsRenderedInCurrentFrame = null; } t2 = t1._onDrawFrame; if (t2 != null) { t1._viewsRenderedInCurrentFrame = A.LinkedHashSet_LinkedHashSet$_empty(type$.FlutterView); A.invoke(t2, t1._onDrawFrameZone); t1._viewsRenderedInCurrentFrame = null; } }, $signature: 923 }; A.initializeEngineServices_initializeRendererCallback.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $.$get$_renderer().initialize$0(0); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 19 }; A.FlutterApp__staticInteropFactoryStub_closure.prototype = { call$1(options) { return A.futureToPromise(this.addView.call$1(options), type$.Object); }, $signature: 1425 }; A.FlutterApp__staticInteropFactoryStub_closure0.prototype = { call$1(id) { return A.futureToPromise(this.removeView.call$1(id), type$.nullable_JSObject); }, $signature: 917 }; A.FlutterEngineInitializer__staticInteropFactoryStub_closure.prototype = { call$1(config) { return A.futureToPromise(this.initializeEngine.call$1(config), type$.JSObject); }, call$0() { return this.call$1(null); }, "call*": "call$1", $requiredArgCount: 0, $defaultValues() { return [null]; }, $signature: 913 }; A.FlutterEngineInitializer__staticInteropFactoryStub_closure0.prototype = { call$0() { return A.futureToPromise(this.autoStart.call$0(), type$.JSObject); }, $signature: 1501 }; A.FlutterAppRunner__staticInteropFactoryStub_closure.prototype = { call$1(args) { return A.futureToPromise(this.runApp.call$1(args), type$.JSObject); }, call$0() { return this.call$1(null); }, "call*": "call$1", $requiredArgCount: 0, $defaultValues() { return [null]; }, $signature: 913 }; A.futureToPromise_closure.prototype = { call$2(resolver, rejecter) { this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolver, this.T), new A.futureToPromise__closure0(rejecter), type$.void); }, $signature: 1539 }; A.futureToPromise__closure.prototype = { call$1(value) { return A.callMethod(this.resolver, "call", [null, value]); }, $signature() { return this.T._eval$1("~(0)"); } }; A.futureToPromise__closure0.prototype = { call$1(error) { $.$get$printWarning().call$1("Rejecting promise with error: " + A.S(error)); this.rejecter.call(null, null); }, $signature: 36 }; A._kLogicalKeyToModifierGetter_closure.prototype = { call$1($event) { return $event._event.altKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure0.prototype = { call$1($event) { return $event._event.altKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure1.prototype = { call$1($event) { return $event._event.ctrlKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure2.prototype = { call$1($event) { return $event._event.ctrlKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure3.prototype = { call$1($event) { return $event._event.shiftKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure4.prototype = { call$1($event) { return $event._event.shiftKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure5.prototype = { call$1($event) { return $event._event.metaKey; }, $signature: 208 }; A._kLogicalKeyToModifierGetter_closure6.prototype = { call$1($event) { return $event._event.metaKey; }, $signature: 208 }; A._cached_closure.prototype = { call$0() { var t1 = this._box_0, t2 = t1.cache; return t2 == null ? t1.cache = this.body.call$0() : t2; }, $signature() { return this.T._eval$1("0()"); } }; A.KeyboardBinding.prototype = { KeyboardBinding$_$0() { var _this = this; _this._addEventListener$2(0, "keydown", new A.KeyboardBinding$__closure(_this)); _this._addEventListener$2(0, "keyup", new A.KeyboardBinding$__closure0(_this)); }, get$_converter() { var t1, t2, t3, _this = this, value = _this.__KeyboardBinding__converter_FI; if (value === $) { t1 = $.$get$_operatingSystem(); t2 = type$.int; t3 = t1 === B.OperatingSystem_4 || t1 === B.OperatingSystem_0; t1 = A.KeyboardConverter__mappingFromPlatform(t1); _this.__KeyboardBinding__converter_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__KeyboardBinding__converter_FI = new A.KeyboardConverter(_this.get$_onKeyData(), t3, t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.void_Function)); } return value; }, _addEventListener$2(_, eventName, handler) { var wrappedHandler = type$.JavaScriptFunction._as(A.allowInterop(new A.KeyboardBinding__addEventListener_loggedHandler(handler))); this._listeners.$indexSet(0, eventName, wrappedHandler); A.DomEventTargetExtension_addEventListener(self.window, eventName, wrappedHandler, true); }, _onKeyData$1(data) { var t1 = {}; t1.result = null; $.$get$EnginePlatformDispatcher__instance().invokeOnKeyData$2(data, new A.KeyboardBinding__onKeyData_closure(t1)); t1 = t1.result; t1.toString; return t1; } }; A.KeyboardBinding$__closure.prototype = { call$1(domEvent) { var t1; this.$this.get$_converter().handleEvent$1(new A.FlutterHtmlKeyboardEvent(domEvent)); t1 = $.RawKeyboard__instance; if (t1 != null) t1.handleHtmlEvent$1(domEvent); }, $signature: 33 }; A.KeyboardBinding$__closure0.prototype = { call$1(domEvent) { var t1; this.$this.get$_converter().handleEvent$1(new A.FlutterHtmlKeyboardEvent(domEvent)); t1 = $.RawKeyboard__instance; if (t1 != null) t1.handleHtmlEvent$1(domEvent); }, $signature: 33 }; A.KeyboardBinding__addEventListener_loggedHandler.prototype = { call$1($event) { var t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1).receiveGlobalEvent$1($event)) this.handler.call$1($event); }, $signature: 33 }; A.KeyboardBinding__onKeyData_closure.prototype = { call$1(handled) { this._box_0.result = handled; }, $signature: 13 }; A.FlutterHtmlKeyboardEvent.prototype = {}; A.KeyboardConverter.prototype = { dispose$0() { this._disposed = true; this._pressingRecords.clear$0(0); }, _scheduleAsyncEvent$3(duration, getData, callback) { var t2, t1 = {}; t1.canceled = false; t2 = type$.void; A.Future_Future$delayed(duration, null, t2).then$1$1(0, new A.KeyboardConverter__scheduleAsyncEvent_closure(t1, this, callback, getData), t2); return new A.KeyboardConverter__scheduleAsyncEvent_closure0(t1); }, _startGuardingKey$3(physicalKey, logicalKey, currentTimeStamp) { var cancelingCallback, t1, t2, _this = this; if (!_this.onDarwin) return; cancelingCallback = _this._scheduleAsyncEvent$3(B.Duration_2000000, new A.KeyboardConverter__startGuardingKey_closure(currentTimeStamp, physicalKey, logicalKey), new A.KeyboardConverter__startGuardingKey_closure0(_this, physicalKey)); t1 = _this._keyGuards; t2 = t1.remove$1(0, physicalKey); if (t2 != null) t2.call$0(); t1.$indexSet(0, physicalKey, cancelingCallback); }, _handleEvent$1($event) { var timeStamp, t3, physicalKey, logicalKeyIsCharacter, logicalKey, isPhysicalDown, type, t4, lastLogicalRecord, nextLogicalRecord, character, _this = this, _null = null, t1 = $event._event, t2 = A.DomEventExtension_get_timeStamp(t1); t2.toString; timeStamp = A._eventTimeStampToDuration(t2); t2 = A.DomKeyboardEventExtension_get_key(t1); t2.toString; t3 = A.DomKeyboardEventExtension_get_code(t1); t3.toString; physicalKey = A.KeyboardConverter__getPhysicalCode(t3); logicalKeyIsCharacter = !(t2.length > 1 && t2.charCodeAt(0) < 127 && t2.charCodeAt(1) < 127); logicalKey = A._cached(new A.KeyboardConverter__handleEvent_closure(_this, t2, $event, logicalKeyIsCharacter, physicalKey), type$.int); if (t1.type !== "keydown") if (_this.onDarwin) { t3 = A.DomKeyboardEventExtension_get_code(t1); t3.toString; t3 = t3 === "CapsLock"; isPhysicalDown = t3; } else isPhysicalDown = false; else isPhysicalDown = true; if (_this.onDarwin) { t3 = A.DomKeyboardEventExtension_get_code(t1); t3.toString; t3 = t3 === "CapsLock"; } else t3 = false; if (t3) { _this._scheduleAsyncEvent$3(B.Duration_0, new A.KeyboardConverter__handleEvent_closure0(timeStamp, physicalKey, logicalKey), new A.KeyboardConverter__handleEvent_closure1(_this, physicalKey)); type = B.KeyEventType_0; } else if (isPhysicalDown) { t3 = _this._pressingRecords; if (t3.$index(0, physicalKey) != null) { t4 = t1.repeat; if (t4 == null) t4 = _null; if (t4 === true) type = B.KeyEventType_2; else { t4 = _this._dispatchKeyData; t4.toString; t4.call$1(new A.KeyData(timeStamp, B.KeyEventType_1, physicalKey, logicalKey.call$0(), _null, true)); t3.remove$1(0, physicalKey); type = B.KeyEventType_0; } } else type = B.KeyEventType_0; } else { if (_this._pressingRecords.$index(0, physicalKey) == null) { t1.preventDefault(); return; } type = B.KeyEventType_1; } t3 = _this._pressingRecords; lastLogicalRecord = t3.$index(0, physicalKey); switch (type.index) { case 0: nextLogicalRecord = logicalKey.call$0(); break; case 1: nextLogicalRecord = _null; break; case 2: nextLogicalRecord = lastLogicalRecord; break; default: nextLogicalRecord = _null; } t4 = nextLogicalRecord == null; if (t4) t3.remove$1(0, physicalKey); else t3.$indexSet(0, physicalKey, nextLogicalRecord); $.$get$_kLogicalKeyToModifierGetter().forEach$1(0, new A.KeyboardConverter__handleEvent_closure2(_this, logicalKey, $event, timeStamp)); if (logicalKeyIsCharacter) if (!t4) _this._startGuardingKey$3(physicalKey, logicalKey.call$0(), timeStamp); else { t3 = _this._keyGuards.remove$1(0, physicalKey); if (t3 != null) t3.call$0(); } if (logicalKeyIsCharacter) character = t2; else character = _null; t2 = lastLogicalRecord == null ? logicalKey.call$0() : lastLogicalRecord; t3 = type === B.KeyEventType_1 ? _null : character; if (_this._dispatchKeyData.call$1(new A.KeyData(timeStamp, type, physicalKey, t2, t3, false))) t1.preventDefault(); }, handleEvent$1($event) { var _this = this, t1 = {}; t1.sentAnyEvents = false; _this._dispatchKeyData = new A.KeyboardConverter_handleEvent_closure(t1, _this); try { _this._handleEvent$1($event); } finally { if (!t1.sentAnyEvents) _this._dispatchKeyData.call$1(B.KeyData_cgD); _this._dispatchKeyData = null; } }, _synthesizeModifierIfNeeded$5(physicalLeft, physicalRight, logicalLeft, type, domTimestamp) { var t2, _this = this, t1 = _this._pressingRecords, leftPressed = t1.containsKey$1(0, physicalLeft), rightPressed = t1.containsKey$1(0, physicalRight), alreadyPressed = leftPressed || rightPressed, synthesizeDown = type === B.KeyEventType_0 && !alreadyPressed, synthesizeUp = type === B.KeyEventType_1 && alreadyPressed; if (synthesizeDown) { _this.performDispatchKeyData.call$1(new A.KeyData(A._eventTimeStampToDuration(domTimestamp), B.KeyEventType_0, physicalLeft, logicalLeft, null, true)); t1.$indexSet(0, physicalLeft, logicalLeft); } if (synthesizeUp && leftPressed) { t2 = t1.$index(0, physicalLeft); t2.toString; _this._synthesizeKeyUpEvent$3(domTimestamp, physicalLeft, t2); } if (synthesizeUp && rightPressed) { t1 = t1.$index(0, physicalRight); t1.toString; _this._synthesizeKeyUpEvent$3(domTimestamp, physicalRight, t1); } }, _synthesizeKeyUpEvent$3(domTimestamp, physical, logical) { this.performDispatchKeyData.call$1(new A.KeyData(A._eventTimeStampToDuration(domTimestamp), B.KeyEventType_1, physical, logical, null, true)); this._pressingRecords.remove$1(0, physical); } }; A.KeyboardConverter__scheduleAsyncEvent_closure.prototype = { call$1(_) { var _this = this; if (!_this._box_0.canceled && !_this.$this._disposed) { _this.callback.call$0(); _this.$this.performDispatchKeyData.call$1(_this.getData.call$0()); } }, $signature: 109 }; A.KeyboardConverter__scheduleAsyncEvent_closure0.prototype = { call$0() { this._box_0.canceled = true; }, $signature: 0 }; A.KeyboardConverter__startGuardingKey_closure.prototype = { call$0() { return new A.KeyData(new A.Duration(this.currentTimeStamp._duration + 2000000), B.KeyEventType_1, this.physicalKey, this.logicalKey, null, true); }, $signature: 911 }; A.KeyboardConverter__startGuardingKey_closure0.prototype = { call$0() { this.$this._pressingRecords.remove$1(0, this.physicalKey); }, $signature: 0 }; A.KeyboardConverter__handleEvent_closure.prototype = { call$0() { var t2, result, localeLogicalKeys, t3, t4, _this = this, t1 = _this.eventKey, mappedLogicalKey = B.Map_OKwAg.$index(0, t1); if (mappedLogicalKey != null) return mappedLogicalKey; t2 = _this.event._event; if (B.Map_wskGA.containsKey$1(0, A.DomKeyboardEventExtension_get_key(t2))) { t1 = A.DomKeyboardEventExtension_get_key(t2); t1.toString; t1 = B.Map_wskGA.$index(0, t1); result = t1 == null ? null : t1[B.JSNumber_methods.toInt$0(t2.location)]; result.toString; return result; } if (_this.logicalKeyIsCharacter) { localeLogicalKeys = _this.$this._mapping.getLogicalKey$3(A.DomKeyboardEventExtension_get_code(t2), A.DomKeyboardEventExtension_get_key(t2), B.JSNumber_methods.toInt$0(t2.keyCode)); if (localeLogicalKeys != null) return localeLogicalKeys; } if (t1 === "Dead") { t1 = t2.altKey; t3 = t2.ctrlKey; t4 = t2.shiftKey; t2 = t2.metaKey; t1 = t1 ? 1073741824 : 0; t3 = t3 ? 268435456 : 0; t4 = t4 ? 536870912 : 0; t2 = t2 ? 2147483648 : 0; return _this.physicalKey + (t1 + t3 + t4 + t2) + 98784247808; } return B.JSString_methods.get$hashCode(t1) + 98784247808; }, $signature: 194 }; A.KeyboardConverter__handleEvent_closure0.prototype = { call$0() { return new A.KeyData(this.timeStamp, B.KeyEventType_1, this.physicalKey, this.logicalKey.call$0(), null, true); }, $signature: 911 }; A.KeyboardConverter__handleEvent_closure1.prototype = { call$0() { this.$this._pressingRecords.remove$1(0, this.physicalKey); }, $signature: 0 }; A.KeyboardConverter__handleEvent_closure2.prototype = { call$2(testeeLogicalKey, getModifier) { var t1, t2, _this = this; if (J.$eq$(_this.logicalKey.call$0(), testeeLogicalKey)) return; t1 = _this.$this; t2 = t1._pressingRecords; if (t2.containsValue$1(0, testeeLogicalKey) && !getModifier.call$1(_this.event)) t2.removeWhere$1(t2, new A.KeyboardConverter__handleEvent__closure(t1, testeeLogicalKey, _this.timeStamp)); }, $signature: 2028 }; A.KeyboardConverter__handleEvent__closure.prototype = { call$2(physicalKey, logicalRecord) { var t1 = this.testeeLogicalKey; if (logicalRecord !== t1) return false; this.$this._dispatchKeyData.call$1(new A.KeyData(this.timeStamp, B.KeyEventType_1, physicalKey, t1, null, true)); return true; }, $signature: 2077 }; A.KeyboardConverter_handleEvent_closure.prototype = { call$1(data) { this._box_0.sentAnyEvents = true; return this.$this.performDispatchKeyData.call$1(data); }, $signature: 458 }; A.ContextMenu.prototype = { disable$0(_) { if (!this._enabled) return; this._enabled = false; A.DomEventTargetExtension_addEventListener(this.element, "contextmenu", $.$get$preventDefaultListener(), null); }, enable$0(_) { if (this._enabled) return; this._enabled = true; A.DomEventTargetExtension_removeEventListener(this.element, "contextmenu", $.$get$preventDefaultListener(), null); } }; A.MouseCursor.prototype = {}; A.preventDefaultListener_closure.prototype = { call$1($event) { $event.preventDefault(); }, $signature: 33 }; A.BrowserHistory.prototype = { get$_unsubscribe() { var t1 = this.__BrowserHistory__unsubscribe_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, dispose$0() { var _this = this; if (_this._isDisposed || _this.get$urlStrategy() == null) return; _this._isDisposed = true; _this._unsubscribe$0(); }, exit$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$exit$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = $async$self.get$urlStrategy() != null ? 2 : 3; break; case 2: // then $async$goto = 4; return A._asyncAwait($async$self.tearDown$0(), $async$exit$0); case 4: // returning from await. $async$goto = 5; return A._asyncAwait($async$self.get$urlStrategy().go$1(0, -1), $async$exit$0); case 5: // returning from await. case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$exit$0, $async$completer); }, get$currentPath() { var t1 = this.get$urlStrategy(); t1 = t1 == null ? null : t1.getPath$0(); return t1 == null ? "/" : t1; }, get$currentState() { var t1 = this.get$urlStrategy(); return t1 == null ? null : t1.getState$0(0); }, _unsubscribe$0() { return this.get$_unsubscribe().call$0(); } }; A.MultiEntriesBrowserHistory.prototype = { MultiEntriesBrowserHistory$1$urlStrategy(urlStrategy) { var t1, _this = this, strategy = _this.urlStrategy; if (strategy == null) return; _this.__BrowserHistory__unsubscribe_A = strategy.addPopStateListener$1(_this.get$onPopState(_this)); if (!_this._hasSerialCount$1(_this.get$currentState())) { t1 = type$.dynamic; strategy.replaceState$3(0, A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", 0, "state", _this.get$currentState()], t1, t1), "flutter", _this.get$currentPath()); } _this.__MultiEntriesBrowserHistory__lastSeenSerialCount_A = _this.get$_currentSerialCount(); }, get$_currentSerialCount() { if (this._hasSerialCount$1(this.get$currentState())) { var t1 = this.get$currentState(); t1.toString; return B.JSNumber_methods.toInt$0(A._asDouble(J.$index$asx(type$.Map_dynamic_dynamic._as(t1), "serialCount"))); } return 0; }, _hasSerialCount$1(state) { return type$.Map_dynamic_dynamic._is(state) && J.$index$asx(state, "serialCount") != null; }, setRouteName$3$replace$state(routeName, replace, state) { var t2, t3, t1 = this.urlStrategy; if (t1 != null) { t2 = type$.dynamic; t3 = this.__MultiEntriesBrowserHistory__lastSeenSerialCount_A; if (replace) { t3 === $ && A.throwUnnamedLateFieldNI(); t2 = A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", t3, "state", state], t2, t2); routeName.toString; t1.replaceState$3(0, t2, "flutter", routeName); } else { t3 === $ && A.throwUnnamedLateFieldNI(); ++t3; this.__MultiEntriesBrowserHistory__lastSeenSerialCount_A = t3; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", t3, "state", state], t2, t2); routeName.toString; t1.pushState$3(0, t2, "flutter", routeName); } } }, setRouteName$1(routeName) { return this.setRouteName$3$replace$state(routeName, false, null); }, onPopState$1(_, state) { var t1, t2, t3, t4, _this = this; if (!_this._hasSerialCount$1(state)) { t1 = _this.urlStrategy; t1.toString; t2 = _this.__MultiEntriesBrowserHistory__lastSeenSerialCount_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = type$.dynamic; t1.replaceState$3(0, A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", t2 + 1, "state", state], t3, t3), "flutter", _this.get$currentPath()); } _this.__MultiEntriesBrowserHistory__lastSeenSerialCount_A = _this.get$_currentSerialCount(); t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = _this.get$currentPath(); type$.nullable_Map_dynamic_dynamic._as(state); t3 = state == null ? null : J.$index$asx(state, "state"); t4 = type$.dynamic; t1.invokeOnPlatformMessage$3("flutter/navigation", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall("pushRouteInformation", A.LinkedHashMap_LinkedHashMap$_literal(["location", t2, "state", t3], t4, t4))), new A.MultiEntriesBrowserHistory_onPopState_closure()); }, tearDown$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, backCount, t1, t2; var $async$tearDown$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$self.dispose$0(); if ($async$self._isTornDown || $async$self.urlStrategy == null) { // goto return $async$goto = 1; break; } $async$self._isTornDown = true; backCount = $async$self.get$_currentSerialCount(); $async$goto = backCount > 0 ? 3 : 4; break; case 3: // then $async$goto = 5; return A._asyncAwait($async$self.urlStrategy.go$1(0, -backCount), $async$tearDown$0); case 5: // returning from await. case 4: // join t1 = $async$self.get$currentState(); t1.toString; type$.Map_dynamic_dynamic._as(t1); t2 = $async$self.urlStrategy; t2.toString; t2.replaceState$3(0, J.$index$asx(t1, "state"), "flutter", $async$self.get$currentPath()); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$tearDown$0, $async$completer); }, get$urlStrategy() { return this.urlStrategy; } }; A.MultiEntriesBrowserHistory_onPopState_closure.prototype = { call$1(_) { }, $signature: 171 }; A.SingleEntryBrowserHistory.prototype = { SingleEntryBrowserHistory$1$urlStrategy(urlStrategy) { var path, _this = this, strategy = _this.urlStrategy; if (strategy == null) return; _this.__BrowserHistory__unsubscribe_A = strategy.addPopStateListener$1(_this.get$onPopState(_this)); path = _this.get$currentPath(); if (!A.SingleEntryBrowserHistory__isFlutterEntry(A.DomHistoryExtension_get_state(self.window.history))) { strategy.replaceState$3(0, A.LinkedHashMap_LinkedHashMap$_literal(["origin", true, "state", _this.get$currentState()], type$.String, type$.dynamic), "origin", ""); _this._setupFlutterEntry$2$path(strategy, path); } }, setRouteName$3$replace$state(routeName, replace, state) { var t1 = this.urlStrategy; if (t1 != null) this._setupFlutterEntry$3$path$replace(t1, routeName, true); }, setRouteName$1(routeName) { return this.setRouteName$3$replace$state(routeName, false, null); }, onPopState$1(_, state) { var t1, _this = this, _s18_ = "flutter/navigation"; if (A.SingleEntryBrowserHistory__isOriginEntry(state)) { t1 = _this.urlStrategy; t1.toString; _this._setupFlutterEntry$1(t1); $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3(_s18_, B.C_JSONMethodCodec.encodeMethodCall$1(B.MethodCall_popRoute_null), new A.SingleEntryBrowserHistory_onPopState_closure()); } else if (A.SingleEntryBrowserHistory__isFlutterEntry(state)) { t1 = _this._userProvidedRouteName; t1.toString; _this._userProvidedRouteName = null; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3(_s18_, B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall("pushRoute", t1)), new A.SingleEntryBrowserHistory_onPopState_closure0()); } else { _this._userProvidedRouteName = _this.get$currentPath(); _this.urlStrategy.go$1(0, -1); } }, _setupFlutterEntry$3$path$replace(strategy, path, replace) { var t1; if (path == null) path = this.get$currentPath(); t1 = this._flutterState; if (replace) strategy.replaceState$3(0, t1, "flutter", path); else strategy.pushState$3(0, t1, "flutter", path); }, _setupFlutterEntry$2$path(strategy, path) { return this._setupFlutterEntry$3$path$replace(strategy, path, false); }, _setupFlutterEntry$1(strategy) { return this._setupFlutterEntry$3$path$replace(strategy, null, false); }, tearDown$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1, t2; var $async$tearDown$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$self.dispose$0(); if ($async$self._isTornDown || $async$self.urlStrategy == null) { // goto return $async$goto = 1; break; } $async$self._isTornDown = true; t1 = $async$self.urlStrategy; $async$goto = 3; return A._asyncAwait(t1.go$1(0, -1), $async$tearDown$0); case 3: // returning from await. t2 = $async$self.get$currentState(); t2.toString; t1.replaceState$3(0, J.$index$asx(type$.Map_dynamic_dynamic._as(t2), "state"), "flutter", $async$self.get$currentPath()); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$tearDown$0, $async$completer); }, get$urlStrategy() { return this.urlStrategy; } }; A.SingleEntryBrowserHistory_onPopState_closure.prototype = { call$1(_) { }, $signature: 171 }; A.SingleEntryBrowserHistory_onPopState_closure0.prototype = { call$1(_) { }, $signature: 171 }; A.NotoFont.prototype = {}; A.FallbackFontComponent.prototype = { get$_activeFonts() { var t1, result, _this = this, value = _this.__FallbackFontComponent__activeFonts_FI; if (value === $) { t1 = _this._allFonts; result = A.List_List$unmodifiable(new A.WhereIterable(t1, new A.FallbackFontComponent__activeFonts_closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")), type$.NotoFont); _this.__FallbackFontComponent__activeFonts_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__FallbackFontComponent__activeFonts_FI = result; value = result; } return value; } }; A.FallbackFontComponent__activeFonts_closure.prototype = { call$1(font) { return font.enabled; }, $signature: 187 }; A.EnginePictureRecorder.prototype = { beginRecording$1(bounds) { var t1; this.__EnginePictureRecorder_cullRect_A = bounds; this._isRecording = true; t1 = A._setArrayType([], type$.JSArray_PaintCommand); return this.__engine$_canvas = new A.RecordingCanvas(new A._PaintBounds(bounds, A._setArrayType([], type$.JSArray_Matrix4), A._setArrayType([], type$.JSArray_nullable_Rect), A.Matrix4$identity()), t1, new A.RenderStrategy()); }, get$isRecording() { return this._isRecording; }, endRecording$0() { var t1, _this = this; if (!_this._isRecording) _this.beginRecording$1(B.Rect_aha); _this._isRecording = false; t1 = _this.__engine$_canvas; t1._pictureBounds = t1._paintBounds.computeBounds$0(); t1._recordingEnded = true; t1 = _this.__engine$_canvas; _this.__EnginePictureRecorder_cullRect_A === $ && A.throwUnnamedLateFieldNI(); return new A.EnginePicture(t1); } }; A.EnginePicture.prototype = { dispose$0() { this._disposed = true; } }; A.HighContrastSupport.prototype = { get$_onHighContrastChangeListener() { var result, _this = this, value = _this.__HighContrastSupport__onHighContrastChangeListener_FI; if (value === $) { result = type$.JavaScriptFunction._as(A.allowInterop(_this.get$_onHighContrastChange())); _this.__HighContrastSupport__onHighContrastChangeListener_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__HighContrastSupport__onHighContrastChangeListener_FI = result; value = result; } return value; }, addListener$1(_, listener) { var t1 = this._listeners; if (t1.length === 0) this._highContrastMediaQuery.addListener(this.get$_onHighContrastChangeListener()); t1.push(listener); }, removeListener$1(_, listener) { var t1 = this._listeners; B.JSArray_methods.remove$1(t1, listener); if (t1.length === 0) this._highContrastMediaQuery.removeListener(this.get$_onHighContrastChangeListener()); }, _onHighContrastChange$1($event) { var t2, t3, _i, t1 = A.DomMediaQueryListEventExtension_get_matches($event); t1.toString; for (t2 = this._listeners, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) t2[_i].call$1(t1); } }; A.EnginePlatformDispatcher.prototype = { EnginePlatformDispatcher$0() { var t1, _this = this; _this._addBrightnessMediaQueryListener$0(); $.$get$HighContrastSupport_instance().addListener$1(0, _this.get$_updateHighContrast()); _this._addFontSizeObserver$0(); _this._addLocaleChangedListener$0(); $._hotRestartListeners.push(_this.get$dispose()); _this._sendPlatformMessage$3("flutter/lifecycle", A.ByteData_ByteData$sublistView(B.C_Utf8Encoder.convert$1(B.AppLifecycleState_1._enumToString$0())), A.EnginePlatformDispatcher__zonedPlatformMessageResponseCallback(null)); t1 = _this.get$viewManager()._onViewDisposedController; new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")).listen$1(0, new A.EnginePlatformDispatcher_closure(_this)); }, dispose$0() { var t1, _this = this; _this._brightnessMediaQuery.removeListener(_this._brightnessMediaQueryListener); _this._brightnessMediaQueryListener = null; t1 = _this._fontSizeObserver; if (t1 != null) t1.disconnect(); _this._fontSizeObserver = null; t1 = _this._onLocaleChangedSubscription; if (t1 != null) t1.cancel$0(0); _this._onLocaleChangedSubscription = null; $.$get$HighContrastSupport_instance().removeListener$1(0, _this.get$_updateHighContrast()); _this.get$viewManager().dispose$0(); }, get$viewManager() { var t1, t2, _null = null, value = this.__EnginePlatformDispatcher_viewManager_FI; if (value === $) { t1 = type$.int; t2 = type$._SyncBroadcastStreamController_int; value !== $ && A.throwUnnamedLateFieldADI(); value = this.__EnginePlatformDispatcher_viewManager_FI = new A.FlutterViewManager(this, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.EngineFlutterView), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.JavaScriptObject), new A._SyncBroadcastStreamController(_null, _null, t2), new A._SyncBroadcastStreamController(_null, _null, t2)); } return value; }, get$implicitView() { return type$.nullable_EngineFlutterWindow._as(this.get$viewManager()._viewData.$index(0, 0)); }, invokeOnMetricsChanged$0() { var t1 = this._onMetricsChanged; if (t1 != null) A.invoke(t1, this._onMetricsChangedZone); }, invokeOnKeyData$2(data, callback) { var onKeyData = this._onKeyData; if (onKeyData != null) A.invoke(new A.EnginePlatformDispatcher_invokeOnKeyData_closure(callback, onKeyData, data), this._onKeyDataZone); else callback.call$1(false); }, invokeOnPlatformMessage$3($name, data, callback) { var t1; if ($name === "dev.flutter/channel-buffers") try { t1 = $.$get$channelBuffers(); data.toString; t1.handleMessage$1(data); } finally { callback.call$1(null); } else $.$get$channelBuffers().push$3($name, data, callback); }, _sendPlatformMessage$3($name, data, callback) { var decoded, cacheSizeInBytes, t1, $navigator, $arguments, label, primaryColor, statusBarColor, t2, cssValue, _0_0, _0_2, dataMap, message, assertivenessIndex, _this = this, _null = null; switch ($name) { case "flutter/skia": decoded = B.C_JSONMethodCodec.decodeMethodCall$1(data); switch (decoded.method) { case "Skia.setResourceCacheMaxBytes": if ($.$get$_renderer() instanceof A.CanvasKitRenderer) { cacheSizeInBytes = A._asInt(decoded.$arguments); $.CanvasKitRenderer____instance._readField$0()._rasterizer.setResourceCacheMaxBytes$1(cacheSizeInBytes); } _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([A._setArrayType([true], type$.JSArray_bool)])); break; } return; case "flutter/assets": _this._handleFlutterAssetsMessage$2(B.C_Utf8Codec.decode$1(0, A.NativeUint8List_NativeUint8List$view(data.buffer, 0, _null)), callback); return; case "flutter/platform": decoded = B.C_JSONMethodCodec.decodeMethodCall$1(data); switch (decoded.method) { case "SystemNavigator.pop": t1 = type$.nullable_EngineFlutterWindow; if (t1._as(_this.get$viewManager()._viewData.$index(0, 0)) != null) t1._as(_this.get$viewManager()._viewData.$index(0, 0)).get$browserHistory().exit$0().then$1$1(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure(_this, callback), type$.Null); else _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "HapticFeedback.vibrate": t1 = _this._getHapticFeedbackDuration$1(A._asStringQ(decoded.$arguments)); $navigator = self.window.navigator; if ("vibrate" in $navigator) $navigator.vibrate(t1); _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case string$.System: $arguments = type$.Map_of_String_and_nullable_Object._as(decoded.$arguments); t1 = J.getInterceptor$asx($arguments); label = A._asStringQ(t1.$index($arguments, "label")); if (label == null) label = ""; primaryColor = A._asIntQ(t1.$index($arguments, "primaryColor")); if (primaryColor == null) primaryColor = 4278190080; t1 = self.document; t1.title = label; A.setThemeColor(new A.Color(primaryColor >>> 0)); _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "SystemChrome.setSystemUIOverlayStyle": statusBarColor = A._asIntQ(J.$index$asx(type$.Map_of_String_and_nullable_Object._as(decoded.$arguments), "statusBarColor")); A.setThemeColor(statusBarColor == null ? _null : new A.Color(statusBarColor >>> 0)); _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "SystemChrome.setPreferredOrientations": B.C_ScreenOrientation.setPreferredOrientation$1(type$.List_dynamic._as(decoded.$arguments)).then$1$1(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure0(_this, callback), type$.Null); return; case "SystemSound.play": _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "Clipboard.setData": new A.ClipboardMessageHandler(A.CopyToClipboardStrategy_CopyToClipboardStrategy(), A.PasteFromClipboardStrategy_PasteFromClipboardStrategy()).setDataMethodCall$2(decoded, callback); return; case "Clipboard.getData": new A.ClipboardMessageHandler(A.CopyToClipboardStrategy_CopyToClipboardStrategy(), A.PasteFromClipboardStrategy_PasteFromClipboardStrategy()).getDataMethodCall$1(callback); return; case "Clipboard.hasStrings": new A.ClipboardMessageHandler(A.CopyToClipboardStrategy_CopyToClipboardStrategy(), A.PasteFromClipboardStrategy_PasteFromClipboardStrategy()).hasStringsMethodCall$1(callback); return; } break; case "flutter/service_worker": t1 = self.window; t2 = A.callMethod(self.document, "createEvent", ["Event"]); A.callMethod(t2, "initEvent", ["flutter-first-frame", true, true]); t1.dispatchEvent(t2); return; case "flutter/textinput": $.$get$textEditing().get$channel(0).handleTextInput$2(data, callback); return; case "flutter/contextmenu": switch (B.C_JSONMethodCodec.decodeMethodCall$1(data).method) { case "enableContextMenu": type$.nullable_EngineFlutterWindow._as(_this.get$viewManager()._viewData.$index(0, 0)).get$contextMenu().enable$0(0); _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "disableContextMenu": type$.nullable_EngineFlutterWindow._as(_this.get$viewManager()._viewData.$index(0, 0)).get$contextMenu().disable$0(0); _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; } return; case "flutter/mousecursor": decoded = B.C_StandardMethodCodec.decodeMethodCall$1(data); $arguments = type$.Map_dynamic_dynamic._as(decoded.$arguments); switch (decoded.method) { case "activateSystemCursor": t1 = A.IterableExtensions_get_firstOrNull(_this.get$viewManager()._viewData.get$values(0)); if (t1 != null) { if (t1.__EngineFlutterView_mouseCursor_FI === $) { t1.get$dom(); t1.__EngineFlutterView_mouseCursor_FI !== $ && A.throwUnnamedLateFieldADI(); t1.__EngineFlutterView_mouseCursor_FI = new A.MouseCursor(); } cssValue = B.Map_JwQic.$index(0, A._asStringQ(J.$index$asx($arguments, "kind"))); if (cssValue == null) cssValue = "default"; if (cssValue === "default") A.callMethod(self.document.body.style, "removeProperty", ["cursor"]); else A.DomCSSStyleDeclarationExtension_setProperty(self.document.body.style, "cursor", cssValue); } break; } return; case "flutter/web_test_e2e": _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([A._handleWebTestEnd2EndMessage(B.C_JSONMethodCodec, data)])); return; case "flutter/platform_views": _0_0 = B.C_StandardMethodCodec.decodeMethodCall$1(data); _0_2 = _0_0.$arguments; $arguments = _0_2; if (!true) throw A.wrapException(A.StateError$("Pattern matching error")); t1 = $.$get$PlatformViewMessageHandler_instance(); callback.toString; t1.handlePlatformViewCall$3(_0_0.method, $arguments, callback); return; case "flutter/accessibility": t1 = type$.nullable_EngineFlutterWindow._as(_this.get$viewManager()._viewData.$index(0, 0)); if (t1 != null) { t1 = t1.get$accessibilityAnnouncements(); t2 = type$.Map_dynamic_dynamic; dataMap = t2._as(J.$index$asx(t2._as(B.C_StandardMessageCodec.decodeMessage$1(data)), "data")); message = A._asStringQ(J.$index$asx(dataMap, "message")); if (message != null && message.length !== 0) { assertivenessIndex = A.JsonExtensions_tryInt(dataMap, "assertiveness"); t1.announce$2(message, B.List_Assertiveness_0_Assertiveness_1[assertivenessIndex == null ? 0 : assertivenessIndex]); } } _this.replyToPlatformMessage$2(callback, B.C_StandardMessageCodec.encodeMessage$1(true)); return; case "flutter/navigation": t1 = type$.nullable_EngineFlutterWindow; if (t1._as(_this.get$viewManager()._viewData.$index(0, 0)) != null) t1._as(_this.get$viewManager()._viewData.$index(0, 0)).handleNavigationMessage$1(data).then$1$1(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure1(_this, callback), type$.Null); else if (callback != null) callback.call$1(_null); _this._defaultRouteName = "/"; return; } t1 = $.pluginMessageCallHandler; if (t1 != null) { t1.call$3($name, data, callback); return; } _this.replyToPlatformMessage$2(callback, _null); }, _handleFlutterAssetsMessage$2(url, callback) { return this._handleFlutterAssetsMessage$body$EnginePlatformDispatcher(url, callback); }, _handleFlutterAssetsMessage$body$EnginePlatformDispatcher(url, callback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$self = this, response, assetData, error, t1, exception, $async$exception, $async$temp1; var $async$_handleFlutterAssetsMessage$2 = A._wrapJsFunctionForAsync(function($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 $async$handler = 3; t1 = $._assetManager; $async$temp1 = type$.HttpFetchResponse; $async$goto = 6; return A._asyncAwait(A.httpFetch(t1.getAssetUrl$1(url)), $async$_handleFlutterAssetsMessage$2); case 6: // returning from await. response = $async$temp1._as($async$result); $async$goto = 7; return A._asyncAwait(response.get$payload(0).asByteBuffer$0(), $async$_handleFlutterAssetsMessage$2); case 7: // returning from await. assetData = $async$result; $async$self.replyToPlatformMessage$2(callback, J.asByteData$0$x(assetData)); $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); $.$get$printWarning().call$1("Error while trying to load an asset: " + A.S(error)); $async$self.replyToPlatformMessage$2(callback, null); // goto after finally $async$goto = 5; break; case 2: // uncaught // goto rethrow $async$goto = 1; break; case 5: // after finally // implicit return return A._asyncReturn(null, $async$completer); case 1: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_handleFlutterAssetsMessage$2, $async$completer); }, _getHapticFeedbackDuration$1(type) { switch (type) { case "HapticFeedbackType.lightImpact": return 10; case "HapticFeedbackType.mediumImpact": return 20; case "HapticFeedbackType.heavyImpact": return 30; case "HapticFeedbackType.selectionClick": return 10; default: return 50; } }, scheduleFrame$0() { var t1 = $.scheduleFrameCallback; if (t1 == null) throw A.wrapException(A.Exception_Exception("scheduleFrameCallback must be initialized first.")); t1.call$0(); }, render$2(_, scene, view) { return this.render$body$EnginePlatformDispatcher(0, scene, view); }, render$body$EnginePlatformDispatcher(_, scene, view) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$render$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._viewsRenderedInCurrentFrame; t1 = t1 == null ? null : t1.add$1(0, view); $async$goto = t1 === true || $.$get$_renderer().get$rendererTag() === "html" ? 2 : 3; break; case 2: // then $async$goto = 4; return A._asyncAwait($.$get$_renderer().renderScene$2(scene, view), $async$render$2); case 4: // returning from await. case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$render$2, $async$completer); }, _addLocaleChangedListener$0() { var _this = this; if (_this._onLocaleChangedSubscription != null) return; _this.configuration = _this.configuration.copyWith$1$locales(A.EnginePlatformDispatcher_parseBrowserLanguages()); _this._onLocaleChangedSubscription = A.DomSubscription$(self.window, "languagechange", new A.EnginePlatformDispatcher__addLocaleChangedListener_closure(_this)); }, _addFontSizeObserver$0() { var t2, t3, t4, t1 = A.callConstructor(self.MutationObserver, [type$.JavaScriptFunction._as(A.allowInterop(new A.EnginePlatformDispatcher__addFontSizeObserver_closure(this)))]); this._fontSizeObserver = t1; t2 = self.document.documentElement; t2.toString; t3 = A._setArrayType(["style"], type$.JSArray_String); t4 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); t4.$indexSet(0, "attributes", true); t4.$indexSet(0, "attributeFilter", t3); t3 = A.jsify(t4); A.callMethod(t1, "observe", [t2, t3 == null ? type$.Object._as(t3) : t3]); }, _updatePlatformBrightness$1(value) { var _this = this, t1 = _this.configuration; if (t1.platformBrightness !== value) { _this.configuration = t1.copyWith$1$platformBrightness(value); A.invoke(null, null); A.invoke(_this._onPlatformBrightnessChanged, _this._onPlatformBrightnessChangedZone); } }, _updateHighContrast$1(value) { var t1 = this.configuration, t2 = t1.accessibilityFeatures; if ((t2.__engine$_index & 32) !== 0 !== value) { this.configuration = t1.copyWith$1$accessibilityFeatures(t2.copyWith$1$highContrast(value)); A.invoke(null, null); } }, _addBrightnessMediaQueryListener$0() { var t2, _this = this, t1 = _this._brightnessMediaQuery; _this._updatePlatformBrightness$1(t1.matches ? B.Brightness_0 : B.Brightness_1); t2 = type$.JavaScriptFunction._as(A.allowInterop(new A.EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure(_this))); _this._brightnessMediaQueryListener = t2; t1.addListener(t2); }, invokeOnSemanticsAction$3(nodeId, action, args) { A.invoke1(this._onSemanticsActionEvent, this._onSemanticsActionEventZone, new A.SemanticsActionEvent(action, 0, nodeId, args)); }, get$defaultRouteName() { var t1 = this._defaultRouteName; if (t1 == null) { t1 = type$.nullable_EngineFlutterWindow._as(this.get$viewManager()._viewData.$index(0, 0)); t1 = t1 == null ? null : t1.get$browserHistory().get$currentPath(); t1 = this._defaultRouteName = t1 == null ? "/" : t1; } return t1; }, replyToPlatformMessage$2(callback, data) { A.Future_Future$delayed(B.Duration_0, null, type$.void).then$1$1(0, new A.EnginePlatformDispatcher_replyToPlatformMessage_closure(callback, data), type$.Null); } }; A.EnginePlatformDispatcher_closure.prototype = { call$1(_) { this.$this.invokeOnMetricsChanged$0(); }, $signature: 61 }; A.EnginePlatformDispatcher_invokeOnKeyData_closure.prototype = { call$0() { return this.callback.call$1(this.onKeyData.call$1(this.data)); }, $signature: 0 }; A.EnginePlatformDispatcher__zonedPlatformMessageResponseCallback_closure.prototype = { call$1(data) { this.registrationZone.runUnaryGuarded$2(this.callback, data); }, $signature: 171 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure.prototype = { call$1(_) { this.$this.replyToPlatformMessage$2(this.callback, B.C_JSONMessageCodec.encodeMessage$1([true])); }, $signature: 109 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure0.prototype = { call$1(success) { this.$this.replyToPlatformMessage$2(this.callback, B.C_JSONMessageCodec.encodeMessage$1([success])); }, $signature: 190 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure1.prototype = { call$1(handled) { var t1 = this.callback; if (handled) this.$this.replyToPlatformMessage$2(t1, B.C_JSONMessageCodec.encodeMessage$1([true])); else if (t1 != null) t1.call$1(null); }, $signature: 190 }; A.EnginePlatformDispatcher__addLocaleChangedListener_closure.prototype = { call$1(_) { var t1 = this.$this; t1.configuration = t1.configuration.copyWith$1$locales(A.EnginePlatformDispatcher_parseBrowserLanguages()); A.invoke(t1._onLocaleChanged, t1._onLocaleChangedZone); }, $signature: 33 }; A.EnginePlatformDispatcher__addFontSizeObserver_closure.prototype = { call$2(mutations, _) { var mutation, t4, fontSize, newTextScaleFactor, _null = null, t1 = B.JSArray_methods.get$iterator(mutations), t2 = type$.JavaScriptObject, t3 = this.$this; for (; t1.moveNext$0();) { mutation = t1.get$current(0); mutation.toString; t2._as(mutation); t4 = mutation.type; if ((t4 == null ? _null : t4) === "attributes") { t4 = mutation.attributeName; t4 = (t4 == null ? _null : t4) === "style"; } else t4 = false; if (t4) { t4 = self.document.documentElement; t4.toString; fontSize = A.parseFontSize(t4); newTextScaleFactor = (fontSize == null ? 16 : fontSize) / 16; t4 = t3.configuration; if (t4.textScaleFactor !== newTextScaleFactor) { t3.configuration = t4.copyWith$1$textScaleFactor(newTextScaleFactor); A.invoke(_null, _null); A.invoke(t3._onTextScaleFactorChanged, t3._onTextScaleFactorChangedZone); } } } }, $signature: 2134 }; A.EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure.prototype = { call$1($event) { var t1 = A.DomMediaQueryListEventExtension_get_matches($event); t1.toString; t1 = t1 ? B.Brightness_0 : B.Brightness_1; this.$this._updatePlatformBrightness$1(t1); }, $signature: 33 }; A.EnginePlatformDispatcher_replyToPlatformMessage_closure.prototype = { call$1(_) { var t1 = this.callback; if (t1 != null) t1.call$1(this.data); }, $signature: 109 }; A.invoke2_closure.prototype = { call$0() { this.callback.call$2(this.arg1, this.arg2); }, $signature: 0 }; A.ViewConfiguration0.prototype = { toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "[view: null]"; } }; A.PlatformConfiguration.prototype = { copyWith$5$accessibilityFeatures$locales$platformBrightness$semanticsEnabled$textScaleFactor(accessibilityFeatures, locales, platformBrightness, semanticsEnabled, textScaleFactor) { var _this = this, t1 = accessibilityFeatures == null ? _this.accessibilityFeatures : accessibilityFeatures, t2 = semanticsEnabled == null ? _this.semanticsEnabled : semanticsEnabled, t3 = platformBrightness == null ? _this.platformBrightness : platformBrightness, t4 = textScaleFactor == null ? _this.textScaleFactor : textScaleFactor, t5 = locales == null ? _this.locales : locales; return new A.PlatformConfiguration(t1, false, t2, t3, t4, t5, _this.defaultRouteName, _this.systemFontFamily); }, copyWith$1$accessibilityFeatures(accessibilityFeatures) { var _null = null; return this.copyWith$5$accessibilityFeatures$locales$platformBrightness$semanticsEnabled$textScaleFactor(accessibilityFeatures, _null, _null, _null, _null); }, copyWith$1$semanticsEnabled(semanticsEnabled) { var _null = null; return this.copyWith$5$accessibilityFeatures$locales$platformBrightness$semanticsEnabled$textScaleFactor(_null, _null, _null, semanticsEnabled, _null); }, copyWith$1$locales(locales) { var _null = null; return this.copyWith$5$accessibilityFeatures$locales$platformBrightness$semanticsEnabled$textScaleFactor(_null, locales, _null, _null, _null); }, copyWith$1$textScaleFactor(textScaleFactor) { var _null = null; return this.copyWith$5$accessibilityFeatures$locales$platformBrightness$semanticsEnabled$textScaleFactor(_null, _null, _null, _null, textScaleFactor); }, copyWith$1$platformBrightness(platformBrightness) { var _null = null; return this.copyWith$5$accessibilityFeatures$locales$platformBrightness$semanticsEnabled$textScaleFactor(_null, _null, platformBrightness, _null, _null); } }; A.PlatformViewManager.prototype = { registerFactory$3$isVisible(viewType, factoryFunction, isVisible) { var t1 = this._factories; if (t1.containsKey$1(0, viewType)) return false; t1.$indexSet(0, viewType, factoryFunction); if (!isVisible) this._invisibleViews.add$1(0, viewType); return true; }, registerFactory$2(viewType, factoryFunction) { return this.registerFactory$3$isVisible(viewType, factoryFunction, true); }, renderContent$3(viewType, viewId, params) { this._viewIdToType.$indexSet(0, viewId, viewType); return this.__engine$_contents.putIfAbsent$2(0, viewId, new A.PlatformViewManager_renderContent_closure(this, viewId, "flt-pv-slot-" + viewId, viewType, params)); }, clearPlatformView$1(viewId) { var t1 = this.__engine$_contents.remove$1(0, viewId); if (t1 != null) t1.remove(); }, isInvisible$1(viewId) { var viewType = this._viewIdToType.$index(0, viewId); return viewType != null && this._invisibleViews.contains$1(0, viewType); } }; A.PlatformViewManager_renderContent_closure.prototype = { call$0() { var t2, t3, t4, $content, _this = this, _s16_ = "getPropertyValue", wrapper = A.DomDocumentExtension_createElement(self.document, "flt-platform-view"), t1 = _this.viewId; wrapper.id = "flt-pv-" + t1; t2 = A.jsify(_this.slotName); A.callMethod(wrapper, "setAttribute", ["slot", t2 == null ? type$.Object._as(t2) : t2]); t2 = _this.viewType; t3 = _this.$this._factories.$index(0, t2); t3.toString; t4 = type$.JavaScriptObject; if (type$.Object_Function_int_$named_params_nullable_Object._is(t3)) $content = t4._as(t3.call$2$params(t1, _this.params)); else { type$.Object_Function_int._as(t3); $content = t4._as(t3.call$1(t1)); } if (A.callMethod($content.style, _s16_, ["height"]).length === 0) { $.$get$printWarning().call$1("Height of Platform View type: [" + t2 + "] may not be set. Defaulting to `height: 100%`.\nSet `style.height` to any appropriate value to stop this message."); A.DomCSSStyleDeclarationExtension_setProperty($content.style, "height", "100%"); } if (A.callMethod($content.style, _s16_, ["width"]).length === 0) { $.$get$printWarning().call$1("Width of Platform View type: [" + t2 + "] may not be set. Defaulting to `width: 100%`.\nSet `style.width` to any appropriate value to stop this message."); A.DomCSSStyleDeclarationExtension_setProperty($content.style, "width", "100%"); } wrapper.append($content); return wrapper; }, $signature: 468 }; A.PlatformViewMessageHandler.prototype = { _createPlatformView$4$params$platformViewId$platformViewType(callback, params, platformViewId, platformViewType) { var t1 = this._contentManager; if (!t1._factories.containsKey$1(0, platformViewType)) { callback.call$1(B.C_StandardMethodCodec.encodeErrorEnvelope$3$code$details$message("unregistered_view_type", "If you are the author of the PlatformView, make sure `registerViewFactory` is invoked.", "A HtmlElementView widget is trying to create a platform view with an unregistered type: <" + platformViewType + ">.")); return; } if (t1.__engine$_contents.containsKey$1(0, platformViewId)) { callback.call$1(B.C_StandardMethodCodec.encodeErrorEnvelope$3$code$details$message("recreating_view", "view id: " + platformViewId, "trying to create an already created view")); return; } t1.renderContent$3(platformViewType, platformViewId, params); callback.call$1(B.C_StandardMethodCodec.encodeSuccessEnvelope$1(null)); }, handlePlatformViewCall$3(method, $arguments, callback) { var t1, t2, t3; switch (method) { case "create": type$.Map_dynamic_dynamic._as($arguments); t1 = J.getInterceptor$asx($arguments); t2 = B.JSNumber_methods.toInt$0(A._asNum(t1.$index($arguments, "id"))); t3 = A._asString(t1.$index($arguments, "viewType")); this._createPlatformView$4$params$platformViewId$platformViewType(callback, t1.$index($arguments, "params"), t2, t3); return; case "dispose": this._contentManager.clearPlatformView$1(A._asInt($arguments)); callback.call$1(B.C_StandardMethodCodec.encodeSuccessEnvelope$1(null)); return; } callback.call$1(null); } }; A.SafariPointerEventWorkaround.prototype = { workAroundMissingPointerEvents$0() { if (this._listener == null) { this._listener = type$.JavaScriptFunction._as(A.allowInterop(new A.SafariPointerEventWorkaround_workAroundMissingPointerEvents_closure())); A.DomEventTargetExtension_addEventListener(self.document, "touchstart", this._listener, null); } }, dispose$0() { if (this._listener != null) { A.DomEventTargetExtension_removeEventListener(self.document, "touchstart", this._listener, null); this._listener = null; } } }; A.SafariPointerEventWorkaround_workAroundMissingPointerEvents_closure.prototype = { call$1(_) { }, $signature: 33 }; A.PointerBinding.prototype = { dispose$0() { var t1 = this.__PointerBinding__adapter_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = this._safariWorkaround; if (t1 != null) t1.dispose$0(); }, _createAdapter$0() { if ("PointerEvent" in self.window) { var t1 = new A._PointerAdapter(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._ButtonSanitizer), this, A._setArrayType([], type$.JSArray__Listener)); t1.setup$0(); return t1; } throw A.wrapException(A.UnsupportedError$("This browser does not support pointer events which are necessary to handle interactions with Flutter Web apps.")); } }; A.ClickDebouncer.prototype = { onPointerData$2($event, data) { var t2, t3, target, _this = this, t1 = $.$get$EnginePlatformDispatcher__instance(); if (!t1.configuration.semanticsEnabled) { t2 = A._setArrayType(data.slice(0), A._arrayInstanceType(data)); A.invoke1(t1._onPointerDataPacket, t1._onPointerDataPacketZone, new A.PointerDataPacket(t2)); return; } t2 = _this.__engine$_state; if (t2 != null) { t1 = t2._0; t3 = A.DomEventExtension_get_timeStamp($event); t3.toString; t1.push(new A._Record_3_data_event_timeStamp(data, $event, A._BaseAdapter__eventTimeStampToDuration(t3))); if ($event.type === "pointerup") if (!J.$eq$($event.target, t2._1)) _this._flush$0(); } else if ($event.type === "pointerdown") { target = $event.target; if (type$.JavaScriptObject._is(target) && A.callMethod(target, "hasAttribute", ["flt-tappable"])) { t1 = A.Timer_Timer(B.Duration_200000, _this.get$_onTimerExpired()); t2 = A.DomEventExtension_get_timeStamp($event); t2.toString; _this.__engine$_state = new A._Record_3_queue_target_timer(A._setArrayType([new A._Record_3_data_event_timeStamp(data, $event, A._BaseAdapter__eventTimeStampToDuration(t2))], type$.JSArray_Record_3_List_PointerData_data_and_JavaScriptObject_event_and_Duration_timeStamp), target, t1); } else { t2 = A._setArrayType(data.slice(0), A._arrayInstanceType(data)); A.invoke1(t1._onPointerDataPacket, t1._onPointerDataPacketZone, new A.PointerDataPacket(t2)); } } else { t2 = A._setArrayType(data.slice(0), A._arrayInstanceType(data)); A.invoke1(t1._onPointerDataPacket, t1._onPointerDataPacketZone, new A.PointerDataPacket(t2)); } }, onClick$3(_, click, semanticsNodeId, isListening) { var _this = this, t1 = _this.__engine$_state; if (t1 == null) { if (isListening && _this._shouldSendClickEventToFramework$1(click)) { click.stopPropagation(); $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(semanticsNodeId, B.SemanticsAction_1_tap, null); } return; } if (isListening) { _this.__engine$_state = null; t1._2.cancel$0(0); click.stopPropagation(); $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(semanticsNodeId, B.SemanticsAction_1_tap, null); } else _this._flush$0(); }, _onTimerExpired$0() { if (this.__engine$_state == null) return; this._flush$0(); }, _shouldSendClickEventToFramework$1(click) { var t1, lastFlushedPointerUpTimeStamp = this._lastFlushedPointerUpTimeStamp; if (lastFlushedPointerUpTimeStamp == null) return true; t1 = A.DomEventExtension_get_timeStamp(click); t1.toString; return A._BaseAdapter__eventTimeStampToDuration(t1)._duration - lastFlushedPointerUpTimeStamp._duration >= 50000; }, _flush$0() { var t1, aggregateData, t2, t3, _i, queuedEvent, state = this.__engine$_state; state._2.cancel$0(0); t1 = type$.JSArray_PointerData; aggregateData = A._setArrayType([], t1); for (t2 = state._0, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { queuedEvent = t2[_i]; if (queuedEvent._1.type === "pointerup") this._lastFlushedPointerUpTimeStamp = queuedEvent._2; B.JSArray_methods.addAll$1(aggregateData, queuedEvent._0); } t1 = A._setArrayType(aggregateData.slice(0), t1); t2 = $.$get$EnginePlatformDispatcher__instance(); A.invoke1(t2._onPointerDataPacket, t2._onPointerDataPacketZone, new A.PointerDataPacket(t1)); this.__engine$_state = null; } }; A.PointerSupportDetector.prototype = { toString$0(_) { return "pointers:" + ("PointerEvent" in self.window); } }; A._Listener.prototype = {}; A._BaseAdapter.prototype = { get$__engine$_callback() { return $.$get$PointerBinding_clickDebouncer().get$onPointerData(); }, dispose$0() { var t1, t2, _i, listener, t3; for (t1 = this._listeners, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { listener = t1[_i]; t3 = listener.target; t3.removeEventListener.apply(t3, [listener.event, listener.handler]); } B.JSArray_methods.clear$0(t1); }, addEventListener$3(_, target, eventName, handler) { this._listeners.push(A._Listener__Listener$register(eventName, new A._BaseAdapter_addEventListener_loggedHandler(handler), null, target)); }, __engine$_callback$2(arg0, arg1) { return this.get$__engine$_callback().call$2(arg0, arg1); } }; A._BaseAdapter_addEventListener_loggedHandler.prototype = { call$1($event) { var t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1).receiveGlobalEvent$1($event)) this.handler.call$1($event); }, $signature: 33 }; A._WheelEventListenerMixin.prototype = { _isAcceleratedMouseWheelDelta$2(delta, wheelDelta) { if (wheelDelta == null) return false; return Math.abs(wheelDelta - -3 * delta) > 1; }, _isTrackpadEvent$1($event) { var t2, t3, t4, deltaXChange, deltaYChange, _this = this, t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_2) return false; if (_this._isAcceleratedMouseWheelDelta$2($event.deltaX, A.DomWheelEventExtension_get_wheelDeltaX($event)) || _this._isAcceleratedMouseWheelDelta$2($event.deltaY, A.DomWheelEventExtension_get_wheelDeltaY($event))) return false; if (!(B.JSNumber_methods.$mod($event.deltaX, 120) === 0 && B.JSNumber_methods.$mod($event.deltaY, 120) === 0)) { t1 = A.DomWheelEventExtension_get_wheelDeltaX($event); if (B.JSNumber_methods.$mod(t1 == null ? 1 : t1, 120) === 0) { t1 = A.DomWheelEventExtension_get_wheelDeltaY($event); t1 = B.JSNumber_methods.$mod(t1 == null ? 1 : t1, 120) === 0; } else t1 = false; } else t1 = true; if (t1) { t1 = $event.deltaX; t2 = _this._lastWheelEvent; t3 = t2 == null; t4 = t3 ? null : t2.deltaX; deltaXChange = Math.abs(t1 - (t4 == null ? 0 : t4)); t1 = $event.deltaY; t4 = t3 ? null : t2.deltaY; deltaYChange = Math.abs(t1 - (t4 == null ? 0 : t4)); if (!t3) if (!(deltaXChange === 0 && deltaYChange === 0)) t1 = !(deltaXChange < 20 && deltaYChange < 20); else t1 = true; else t1 = true; if (t1) { if (A.DomEventExtension_get_timeStamp($event) != null) t1 = (t3 ? null : A.DomEventExtension_get_timeStamp(t2)) != null; else t1 = false; if (t1) { t1 = A.DomEventExtension_get_timeStamp($event); t1.toString; t2.toString; t2 = A.DomEventExtension_get_timeStamp(t2); t2.toString; if (t1 - t2 < 50 && _this._lastWheelEventWasTrackpad) return true; } return false; } } return true; }, _convertWheelEventToPointerData$1($event) { var kind, deviceId, deltaX, deltaY, t1, probe, res, t2, data, offset, t3, t4, t5, ignoreCtrlKey, t6, t7, _this = this; if (_this._isTrackpadEvent$1($event)) { kind = B.PointerDeviceKind_4; deviceId = -2; } else { kind = B.PointerDeviceKind_1; deviceId = -1; } deltaX = $event.deltaX; deltaY = $event.deltaY; switch (B.JSNumber_methods.toInt$0($event.deltaMode)) { case 1: t1 = $._WheelEventListenerMixin__defaultScrollLineHeight; if (t1 == null) { probe = A.DomDocumentExtension_createElement(self.document, "div"); t1 = probe.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "font-size", "initial"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "display", "none"); self.document.body.append(probe); t1 = A.callMethod(A.DomWindowExtension_getComputedStyle(self.window, probe), "getPropertyValue", ["font-size"]); if (B.JSString_methods.contains$1(t1, "px")) res = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t1, "px", "")); else res = null; probe.remove(); t1 = $._WheelEventListenerMixin__defaultScrollLineHeight = res == null ? 16 : res / 4; } deltaX *= t1; deltaY *= t1; break; case 2: t1 = _this._owner.view; deltaX *= t1.get$physicalSize()._dx; deltaY *= t1.get$physicalSize()._dy; break; case 0: t1 = $.$get$_operatingSystem(); if (t1 === B.OperatingSystem_4) { t1 = $.$get$EngineFlutterDisplay__instance(); t2 = t1._debugDevicePixelRatioOverride; if (t2 == null) { t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; } deltaX *= t2; t1 = t1._debugDevicePixelRatioOverride; if (t1 == null) { t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; } deltaY *= t1; } break; default: break; } data = A._setArrayType([], type$.JSArray_PointerData); t1 = _this._owner; t2 = t1.view; offset = A.computeEventOffsetToTarget($event, t2); t3 = $.$get$_operatingSystem(); if (t3 === B.OperatingSystem_4) { t3 = t1._keyboardConverter; t4 = t3 == null; if (t4) t5 = null; else { t5 = $.$get$kPhysicalControlLeft(); t5 = t3._pressingRecords.containsKey$1(0, t5); } if (t5 !== true) { if (t4) t3 = null; else { t4 = $.$get$kPhysicalControlRight(); t4 = t3._pressingRecords.containsKey$1(0, t4); t3 = t4; } ignoreCtrlKey = t3 === true; } else ignoreCtrlKey = true; } else ignoreCtrlKey = false; t3 = $event.ctrlKey && !ignoreCtrlKey; t1 = t1._pointerDataConverter; t2 = t2.viewId; t4 = offset._dx; if (t3) { t3 = A.DomEventExtension_get_timeStamp($event); t3.toString; t3 = A._BaseAdapter__eventTimeStampToDuration(t3); t5 = $.$get$EngineFlutterDisplay__instance(); t6 = t5._debugDevicePixelRatioOverride; if (t6 == null) { t6 = self.window.devicePixelRatio; if (t6 === 0) t6 = 1; } t5 = t5._debugDevicePixelRatioOverride; if (t5 == null) { t5 = self.window.devicePixelRatio; if (t5 === 0) t5 = 1; } t7 = A.DomMouseEventExtension_get_buttons($event); t7.toString; t1.convert$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$signalKind$timeStamp$viewId(data, B.JSNumber_methods.toInt$0(t7), B.PointerChange_3, deviceId, kind, t4 * t6, offset._dy * t5, 1, 1, Math.exp(-deltaY / 200), B.PointerSignalKind_3, t3, t2); } else { t3 = A.DomEventExtension_get_timeStamp($event); t3.toString; t3 = A._BaseAdapter__eventTimeStampToDuration(t3); t5 = $.$get$EngineFlutterDisplay__instance(); t6 = t5._debugDevicePixelRatioOverride; if (t6 == null) { t6 = self.window.devicePixelRatio; if (t6 === 0) t6 = 1; } t5 = t5._debugDevicePixelRatioOverride; if (t5 == null) { t5 = self.window.devicePixelRatio; if (t5 === 0) t5 = 1; } t7 = A.DomMouseEventExtension_get_buttons($event); t7.toString; t1.convert$14$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scrollDeltaX$scrollDeltaY$signalKind$timeStamp$viewId(data, B.JSNumber_methods.toInt$0(t7), B.PointerChange_3, deviceId, kind, t4 * t6, offset._dy * t5, 1, 1, deltaX, deltaY, B.PointerSignalKind_1, t3, t2); } _this._lastWheelEvent = $event; _this._lastWheelEventWasTrackpad = kind === B.PointerDeviceKind_4; return data; } }; A._SanitizedDetails.prototype = { toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "(change: " + this.change.toString$0(0) + ", buttons: " + this.buttons + ")"; } }; A._ButtonSanitizer.prototype = { sanitizeDownEvent$2$button$buttons(button, buttons) { var t1; if (this._pressedButtons !== 0) return this.sanitizeMoveEvent$1$buttons(buttons); t1 = (buttons === 0 && button > -1 ? A.convertButtonToButtons(button) : buttons) & 1073741823; this._pressedButtons = t1; return new A._SanitizedDetails(B.PointerChange_4, t1); }, sanitizeMoveEvent$1$buttons(buttons) { var newPressedButtons = buttons & 1073741823, t1 = this._pressedButtons; if (t1 === 0 && newPressedButtons !== 0) return new A._SanitizedDetails(B.PointerChange_3, t1); this._pressedButtons = newPressedButtons; return new A._SanitizedDetails(newPressedButtons === 0 ? B.PointerChange_3 : B.PointerChange_5, newPressedButtons); }, sanitizeMissingRightClickUp$1$buttons(buttons) { if (this._pressedButtons !== 0 && (buttons & 1073741823) === 0) { this._pressedButtons = 0; return new A._SanitizedDetails(B.PointerChange_6, 0); } return null; }, sanitizeLeaveEvent$1$buttons(buttons) { if ((buttons & 1073741823) === 0) { this._pressedButtons = 0; return new A._SanitizedDetails(B.PointerChange_3, 0); } return null; }, sanitizeUpEvent$1$buttons(buttons) { var t1; if (this._pressedButtons === 0) return null; t1 = this._pressedButtons = (buttons == null ? 0 : buttons) & 1073741823; if (t1 === 0) return new A._SanitizedDetails(B.PointerChange_6, t1); else return new A._SanitizedDetails(B.PointerChange_5, t1); } }; A._PointerAdapter.prototype = { _ensureSanitizer$1(device) { return this._sanitizers.putIfAbsent$2(0, device, new A._PointerAdapter__ensureSanitizer_closure()); }, _removePointerIfUnhoverable$1($event) { if (A.DomPointerEventExtension_get_pointerType($event) === "touch") this._sanitizers.remove$1(0, A.DomPointerEventExtension_get_pointerId($event)); }, _addPointerEventListener$4$checkModifiers(target, eventName, handler, checkModifiers) { this.addEventListener$3(0, target, eventName, new A._PointerAdapter__addPointerEventListener_closure(this, checkModifiers, handler)); }, _addPointerEventListener$3(target, eventName, handler) { return this._addPointerEventListener$4$checkModifiers(target, eventName, handler, true); }, setup$0() { var t2, _this = this, t1 = _this._owner.view; _this._addPointerEventListener$3(t1.get$dom().rootElement, "pointerdown", new A._PointerAdapter_setup_closure(_this)); t2 = t1.embeddingStrategy; _this._addPointerEventListener$3(t2.get$globalEventTarget(), "pointermove", new A._PointerAdapter_setup_closure0(_this)); _this._addPointerEventListener$4$checkModifiers(t1.get$dom().rootElement, "pointerleave", new A._PointerAdapter_setup_closure1(_this), false); _this._addPointerEventListener$3(t2.get$globalEventTarget(), "pointerup", new A._PointerAdapter_setup_closure2(_this)); _this._addPointerEventListener$4$checkModifiers(t1.get$dom().rootElement, "pointercancel", new A._PointerAdapter_setup_closure3(_this), false); _this._listeners.push(A._Listener__Listener$register("wheel", new A._PointerAdapter_setup_closure4(_this), false, t1.get$dom().rootElement)); }, _convertEventsToPointerData$3$data$details$event(data, details, $event) { var kind, t2, timeStamp, pressure, t3, offset, t4, t5, t6, t7, t1 = A.DomPointerEventExtension_get_pointerType($event); t1.toString; kind = this._pointerTypeToDeviceKind$1(t1); t1 = A.DomPointerEventExtension_get_tiltX($event); t1.toString; t2 = A.DomPointerEventExtension_get_tiltY($event); t2.toString; t1 = Math.abs(t1) > Math.abs(t2) ? A.DomPointerEventExtension_get_tiltX($event) : A.DomPointerEventExtension_get_tiltY($event); t1.toString; t2 = A.DomEventExtension_get_timeStamp($event); t2.toString; timeStamp = A._BaseAdapter__eventTimeStampToDuration(t2); pressure = $event.pressure; if (pressure == null) pressure = null; t2 = this._owner; t3 = t2.view; offset = A.computeEventOffsetToTarget($event, t3); t4 = this._getPointerId$1($event); t5 = $.$get$EngineFlutterDisplay__instance(); t6 = t5._debugDevicePixelRatioOverride; if (t6 == null) { t6 = self.window.devicePixelRatio; if (t6 === 0) t6 = 1; } t5 = t5._debugDevicePixelRatioOverride; if (t5 == null) { t5 = self.window.devicePixelRatio; if (t5 === 0) t5 = 1; } t7 = pressure == null ? 0 : pressure; t2._pointerDataConverter.convert$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$signalKind$tilt$timeStamp$viewId(data, details.buttons, details.change, t4, kind, offset._dx * t6, offset._dy * t5, t7, 1, B.PointerSignalKind_0, t1 / 180 * 3.141592653589793, timeStamp, t3.viewId); }, _expandEvents$1($event) { var t1, coalescedEvents; if ("getCoalescedEvents" in $event) { t1 = $event.getCoalescedEvents(); t1 = B.JSArray_methods.cast$1$0(t1, type$.JavaScriptObject); coalescedEvents = new A.CastList(t1._source, t1.$ti._eval$1("CastList<1,JavaScriptObject>")); if (!coalescedEvents.get$isEmpty(coalescedEvents)) return coalescedEvents; } return A._setArrayType([$event], type$.JSArray_JavaScriptObject); }, _pointerTypeToDeviceKind$1(pointerType) { switch (pointerType) { case "mouse": return B.PointerDeviceKind_1; case "pen": return B.PointerDeviceKind_2; case "touch": return B.PointerDeviceKind_0; default: return B.PointerDeviceKind_5; } }, _getPointerId$1($event) { var t1 = A.DomPointerEventExtension_get_pointerType($event); t1.toString; if (this._pointerTypeToDeviceKind$1(t1) === B.PointerDeviceKind_1) t1 = -1; else { t1 = A.DomPointerEventExtension_get_pointerId($event); t1.toString; t1 = B.JSNumber_methods.toInt$0(t1); } return t1; } }; A._PointerAdapter__ensureSanitizer_closure.prototype = { call$0() { return new A._ButtonSanitizer(); }, $signature: 2139 }; A._PointerAdapter__addPointerEventListener_closure.prototype = { call$1($event) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, _s16_ = "getModifierState"; if (this.checkModifiers) { t1 = this.$this._owner._keyboardConverter; if (t1 != null) { t2 = A.callMethod($event, _s16_, ["Alt"]); t3 = A.callMethod($event, _s16_, ["Control"]); t4 = A.callMethod($event, _s16_, ["Meta"]); t5 = A.callMethod($event, _s16_, ["Shift"]); t6 = A.DomEventExtension_get_timeStamp($event); t6.toString; t7 = $.$get$_kPhysicalAltLeft(); t8 = $.$get$_kPhysicalAltRight(); t9 = $.$get$_kLogicalAltLeft(); t1._synthesizeModifierIfNeeded$5(t7, t8, t9, t2 ? B.KeyEventType_0 : B.KeyEventType_1, t6); t7 = $.$get$kPhysicalControlLeft(); t8 = $.$get$kPhysicalControlRight(); t9 = $.$get$_kLogicalControlLeft(); t1._synthesizeModifierIfNeeded$5(t7, t8, t9, t3 ? B.KeyEventType_0 : B.KeyEventType_1, t6); t2 = $.$get$_kPhysicalMetaLeft(); t7 = $.$get$_kPhysicalMetaRight(); t8 = $.$get$_kLogicalMetaLeft(); t1._synthesizeModifierIfNeeded$5(t2, t7, t8, t4 ? B.KeyEventType_0 : B.KeyEventType_1, t6); t2 = $.$get$_kPhysicalShiftLeft(); t3 = $.$get$_kPhysicalShiftRight(); t7 = $.$get$_kLogicalShiftLeft(); t1._synthesizeModifierIfNeeded$5(t2, t3, t7, t5 ? B.KeyEventType_0 : B.KeyEventType_1, t6); } } this.handler.call$1($event); }, $signature: 33 }; A._PointerAdapter_setup_closure.prototype = { call$1($event) { var up, t3, t1 = this.$this, device = t1._getPointerId$1($event), pointerData = A._setArrayType([], type$.JSArray_PointerData), sanitizer = t1._ensureSanitizer$1(device), t2 = A.DomMouseEventExtension_get_buttons($event); t2.toString; up = sanitizer.sanitizeMissingRightClickUp$1$buttons(B.JSNumber_methods.toInt$0(t2)); if (up != null) t1._convertEventsToPointerData$3$data$details$event(pointerData, up, $event); t2 = B.JSNumber_methods.toInt$0($event.button); t3 = A.DomMouseEventExtension_get_buttons($event); t3.toString; t1._convertEventsToPointerData$3$data$details$event(pointerData, sanitizer.sanitizeDownEvent$2$button$buttons(t2, B.JSNumber_methods.toInt$0(t3)), $event); t1.__engine$_callback$2($event, pointerData); }, $signature: 271 }; A._PointerAdapter_setup_closure0.prototype = { call$1($event) { var t2, t3, t4, up, t1 = this.$this, sanitizer = t1._ensureSanitizer$1(t1._getPointerId$1($event)), pointerData = A._setArrayType([], type$.JSArray_PointerData); for (t2 = J.get$iterator$ax(t1._expandEvents$1($event)); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = t3.buttons; if (t4 == null) t4 = null; t4.toString; up = sanitizer.sanitizeMissingRightClickUp$1$buttons(B.JSNumber_methods.toInt$0(t4)); if (up != null) t1._convertEventsToPointerData$3$data$details$event(pointerData, up, t3); t4 = t3.buttons; if (t4 == null) t4 = null; t4.toString; t1._convertEventsToPointerData$3$data$details$event(pointerData, sanitizer.sanitizeMoveEvent$1$buttons(B.JSNumber_methods.toInt$0(t4)), t3); } t1.__engine$_callback$2($event, pointerData); }, $signature: 271 }; A._PointerAdapter_setup_closure1.prototype = { call$1($event) { var details, t1 = this.$this, sanitizer = t1._ensureSanitizer$1(t1._getPointerId$1($event)), pointerData = A._setArrayType([], type$.JSArray_PointerData), t2 = A.DomMouseEventExtension_get_buttons($event); t2.toString; details = sanitizer.sanitizeLeaveEvent$1$buttons(B.JSNumber_methods.toInt$0(t2)); if (details != null) { t1._convertEventsToPointerData$3$data$details$event(pointerData, details, $event); t1.__engine$_callback$2($event, pointerData); } }, $signature: 271 }; A._PointerAdapter_setup_closure2.prototype = { call$1($event) { var pointerData, t3, details, t1 = this.$this, device = t1._getPointerId$1($event), t2 = t1._sanitizers; if (t2.containsKey$1(0, device)) { pointerData = A._setArrayType([], type$.JSArray_PointerData); t2 = t2.$index(0, device); t2.toString; t3 = A.DomMouseEventExtension_get_buttons($event); details = t2.sanitizeUpEvent$1$buttons(t3 == null ? null : B.JSNumber_methods.toInt$0(t3)); t1._removePointerIfUnhoverable$1($event); if (details != null) { t1._convertEventsToPointerData$3$data$details$event(pointerData, details, $event); t1.__engine$_callback$2($event, pointerData); } } }, $signature: 271 }; A._PointerAdapter_setup_closure3.prototype = { call$1($event) { var pointerData, t1 = this.$this, device = t1._getPointerId$1($event), t2 = t1._sanitizers; if (t2.containsKey$1(0, device)) { pointerData = A._setArrayType([], type$.JSArray_PointerData); t2 = t2.$index(0, device); t2.toString; t2._pressedButtons = 0; t1._removePointerIfUnhoverable$1($event); t1._convertEventsToPointerData$3$data$details$event(pointerData, new A._SanitizedDetails(B.PointerChange_0, 0), $event); t1.__engine$_callback$2($event, pointerData); } }, $signature: 271 }; A._PointerAdapter_setup_closure4.prototype = { call$1($event) { var t1 = this.$this; t1.__engine$_callback$2($event, t1._convertWheelEventToPointerData$1($event)); $event.preventDefault(); }, $signature: 33 }; A._PointerDeviceState.prototype = {}; A._GlobalPointerState.prototype = { ensurePointerDeviceState$3(device, x, y) { return this.pointers.putIfAbsent$2(0, device, new A._GlobalPointerState_ensurePointerDeviceState_closure(x, y)); } }; A._GlobalPointerState_ensurePointerDeviceState_closure.prototype = { call$0() { return new A._PointerDeviceState(this.x, this.y); }, $signature: 2538 }; A.PointerDataConverter.prototype = { _generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalX, physicalY, platformData, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scale, scrollDeltaX, scrollDeltaY, signalKind, size, tilt, timeStamp, viewId) { var t2, t3, t1 = $.$get$PointerDataConverter_globalPointerState().pointers.$index(0, device); t1.toString; t2 = t1.x; t3 = t1.y; t1.x = physicalX; t1.y = physicalY; t1 = t1._pointer; if (t1 == null) t1 = 0; return A.PointerData$(buttons, change, device, distance, distanceMax, kind, false, orientation, physicalX - t2, physicalY - t3, physicalX, physicalY, platformData, t1, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scale, scrollDeltaX, scrollDeltaY, signalKind, size, false, tilt, timeStamp, viewId); }, _locationHasChanged$3(device, physicalX, physicalY) { var t1 = $.$get$PointerDataConverter_globalPointerState().pointers.$index(0, device); t1.toString; return t1.x !== physicalX || t1.y !== physicalY; }, _synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalX, physicalY, platformData, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scale, scrollDeltaX, scrollDeltaY, size, tilt, timeStamp, viewId) { var t2, t3, t1 = $.$get$PointerDataConverter_globalPointerState().pointers.$index(0, device); t1.toString; t2 = t1.x; t3 = t1.y; t1.x = physicalX; t1.y = physicalY; t1 = t1._pointer; if (t1 == null) t1 = 0; return A.PointerData$(buttons, change, device, distance, distanceMax, kind, false, orientation, physicalX - t2, physicalY - t3, physicalX, physicalY, platformData, t1, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scale, scrollDeltaX, scrollDeltaY, B.PointerSignalKind_0, size, true, tilt, timeStamp, viewId); }, convert$16$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, scale, scrollDeltaX, scrollDeltaY, signalKind, tilt, timeStamp, viewId) { var t1, alreadyAdded, t2, t3, _this = this; if (signalKind === B.PointerSignalKind_0) switch (change.index) { case 1: $.$get$PointerDataConverter_globalPointerState().ensurePointerDeviceState$3(device, physicalX, physicalY); result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); break; case 3: t1 = $.$get$PointerDataConverter_globalPointerState(); alreadyAdded = t1.pointers.containsKey$1(0, device); t1.ensurePointerDeviceState$3(device, physicalX, physicalY); if (!alreadyAdded) result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(buttons, B.PointerChange_1, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); t1.activeButtons = buttons; break; case 4: t1 = $.$get$PointerDataConverter_globalPointerState(); alreadyAdded = t1.pointers.containsKey$1(0, device); t1.ensurePointerDeviceState$3(device, physicalX, physicalY)._pointer = $._PointerDeviceState__pointerCount = $._PointerDeviceState__pointerCount + 1; if (!alreadyAdded) result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(buttons, B.PointerChange_1, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); if (_this._locationHasChanged$3(device, physicalX, physicalY)) result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(0, B.PointerChange_3, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, 0, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); t1.activeButtons = buttons; break; case 5: result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); $.$get$PointerDataConverter_globalPointerState().activeButtons = buttons; break; case 6: case 0: t1 = $.$get$PointerDataConverter_globalPointerState(); t2 = t1.pointers; t3 = t2.$index(0, device); t3.toString; if (change === B.PointerChange_0) { physicalX = t3.x; physicalY = t3.y; } if (_this._locationHasChanged$3(device, physicalX, physicalY)) result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(t1.activeButtons, B.PointerChange_5, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); if (kind === B.PointerDeviceKind_0) { result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(0, B.PointerChange_2, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, 0, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); t2.remove$1(0, device); } break; case 2: t1 = $.$get$PointerDataConverter_globalPointerState().pointers; t2 = t1.$index(0, device); t2.toString; result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, t2.x, t2.y, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); t1.remove$1(0, device); break; case 7: case 8: case 9: break; } else switch (signalKind.index) { case 1: case 2: case 3: t1 = $.$get$PointerDataConverter_globalPointerState(); alreadyAdded = t1.pointers.containsKey$1(0, device); t1.ensurePointerDeviceState$3(device, physicalX, physicalY); if (!alreadyAdded) result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(buttons, B.PointerChange_1, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); if (_this._locationHasChanged$3(device, physicalX, physicalY)) if (buttons !== 0) result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(buttons, B.PointerChange_5, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); else result.push(_this._synthesizePointerData$25$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp$viewId(buttons, B.PointerChange_3, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp, viewId)); result.push(_this._generateCompletePointerData$26$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scale$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp$viewId(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, 0, 0, 0, 0, 0, scale, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp, viewId)); break; case 0: break; case 4: break; } }, convert$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$signalKind$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, scale, signalKind, timeStamp, viewId) { return this.convert$16$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, scale, 0, 0, signalKind, 0, timeStamp, viewId); }, convert$14$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scrollDeltaX$scrollDeltaY$signalKind$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, scrollDeltaX, scrollDeltaY, signalKind, timeStamp, viewId) { return this.convert$16$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, 1, scrollDeltaX, scrollDeltaY, signalKind, 0, timeStamp, viewId); }, convert$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$signalKind$tilt$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, signalKind, tilt, timeStamp, viewId) { return this.convert$16$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp$viewId(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, 1, 0, 0, signalKind, tilt, timeStamp, viewId); } }; A.Profiler.prototype = {}; A.RawKeyboard.prototype = { RawKeyboard$_$1(_onMacOs) { $._hotRestartListeners.push(new A.RawKeyboard$__closure(this)); }, dispose$0() { var t1, t2; for (t1 = this._keydownTimers, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); t2.moveNext$0();) t1.$index(0, t2.__js_helper$_current).cancel$0(0); t1.clear$0(0); $.RawKeyboard__instance = null; }, handleHtmlEvent$1(domEvent) { var $event, t1, t2, t3, metaState, eventData, _this = this, _s16_ = "getModifierState", $constructor = globalThis.KeyboardEvent; if (!($constructor != null && domEvent instanceof $constructor)) return; $event = new A.FlutterHtmlKeyboardEvent(domEvent); t1 = A.DomKeyboardEventExtension_get_code(domEvent); t1.toString; if (domEvent.type === "keydown" && A.DomKeyboardEventExtension_get_key(domEvent) === "Tab" && domEvent.isComposing) return; t2 = A.DomKeyboardEventExtension_get_key(domEvent); t2.toString; if (!(t2 === "Meta" || t2 === "Shift" || t2 === "Alt" || t2 === "Control") && _this._onMacOs) { t2 = _this._keydownTimers; t3 = t2.$index(0, t1); if (t3 != null) t3.cancel$0(0); if (domEvent.type === "keydown") t3 = domEvent.ctrlKey || domEvent.shiftKey || domEvent.altKey || domEvent.metaKey; else t3 = false; if (t3) t2.$indexSet(0, t1, A.Timer_Timer(B.Duration_2000000, new A.RawKeyboard_handleHtmlEvent_closure(_this, t1, $event))); else t2.remove$1(0, t1); } metaState = A.callMethod(domEvent, _s16_, ["Shift"]) ? 1 : 0; if (A.callMethod(domEvent, _s16_, ["Alt"]) || A.callMethod(domEvent, _s16_, ["AltGraph"])) metaState |= 2; if (A.callMethod(domEvent, _s16_, ["Control"])) metaState |= 4; if (A.callMethod(domEvent, _s16_, ["Meta"])) metaState |= 8; _this._lastMetaState = metaState; if (domEvent.type === "keydown") if (A.DomKeyboardEventExtension_get_key(domEvent) === "CapsLock") { t1 = metaState | 32; _this._lastMetaState = t1; } else if (A.DomKeyboardEventExtension_get_code(domEvent) === "NumLock") { t1 = metaState | 16; _this._lastMetaState = t1; } else if (A.DomKeyboardEventExtension_get_key(domEvent) === "ScrollLock") { t1 = metaState | 64; _this._lastMetaState = t1; } else { if (A.DomKeyboardEventExtension_get_key(domEvent) === "Meta") { t1 = $.$get$_operatingSystem(); t1 = t1 === B.OperatingSystem_2; } else t1 = false; if (t1) { t1 = metaState | 8; _this._lastMetaState = t1; } else t1 = metaState; } else t1 = metaState; eventData = A.LinkedHashMap_LinkedHashMap$_literal(["type", domEvent.type, "keymap", "web", "code", A.DomKeyboardEventExtension_get_code(domEvent), "key", A.DomKeyboardEventExtension_get_key(domEvent), "location", B.JSNumber_methods.toInt$0(domEvent.location), "metaState", t1, "keyCode", B.JSNumber_methods.toInt$0(domEvent.keyCode)], type$.String, type$.dynamic); $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/keyevent", B.C_JSONMessageCodec.encodeMessage$1(eventData), new A.RawKeyboard_handleHtmlEvent_closure0($event)); } }; A.RawKeyboard$__closure.prototype = { call$0() { this.$this.dispose$0(); }, $signature: 0 }; A.RawKeyboard_handleHtmlEvent_closure.prototype = { call$0() { var t2, eventData, t1 = this.$this; t1._keydownTimers.remove$1(0, this.timerKey); t2 = this.event._event; eventData = A.LinkedHashMap_LinkedHashMap$_literal(["type", "keyup", "keymap", "web", "code", A.DomKeyboardEventExtension_get_code(t2), "key", A.DomKeyboardEventExtension_get_key(t2), "location", B.JSNumber_methods.toInt$0(t2.location), "metaState", t1._lastMetaState, "keyCode", B.JSNumber_methods.toInt$0(t2.keyCode)], type$.String, type$.dynamic); $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/keyevent", B.C_JSONMessageCodec.encodeMessage$1(eventData), A._engine___noopCallback$closure()); }, $signature: 0 }; A.RawKeyboard_handleHtmlEvent_closure0.prototype = { call$1(data) { var t1; if (data == null) return; if (A._asBool(J.$index$asx(type$.Map_String_dynamic._as(B.C_JSONMessageCodec.decodeMessage$1(data)), "handled"))) { t1 = this.event._event; t1.preventDefault(); t1.stopPropagation(); } }, $signature: 171 }; A.GlProgram.prototype = {}; A.GlContext.prototype = { drawImage$3(_, context, left, $top) { var t1 = this.__engine$_canvas, t2 = this._widthInPixels, t3 = this._heightInPixels; A.callMethod(context, "drawImage", [t1, 0, 0, t2, t3, left, $top, t2, t3]); }, compileShader$2(_, shaderType, source) { var t2, t1 = this.glContext, shader = t1.createShader(t1[shaderType]); if (shader == null) throw A.wrapException(A.Exception_Exception(A._callMethodUnchecked0(t1, "getError"))); A.callMethod(t1, "shaderSource", [shader, source]); A.callMethod(t1, "compileShader", [shader]); t2 = this._kCompileStatus; if (!A.callMethod(t1, "getShaderParameter", [shader, t2 == null ? this._kCompileStatus = t1.COMPILE_STATUS : t2])) throw A.wrapException(A.Exception_Exception("Shader compilation failed: " + A.S(A.callMethod(t1, "getShaderInfoLog", [shader])))); return shader; }, dispose$0() { var loseContextExtension = this.glContext.getExtension("WEBGL_lose_context"); if (loseContextExtension != null) loseContextExtension.loseContext(); }, get$kArrayBuffer() { var t1 = this._kArrayBuffer; return t1 == null ? this._kArrayBuffer = this.glContext.ARRAY_BUFFER : t1; }, get$kElementArrayBuffer() { var t1 = this._kElementArrayBuffer; return t1 == null ? this._kElementArrayBuffer = this.glContext.ELEMENT_ARRAY_BUFFER : t1; }, get$kStaticDraw() { var t1 = this._kStaticDraw; return t1 == null ? this._kStaticDraw = this.glContext.STATIC_DRAW : t1; }, getUniformLocation$2(_, program, uniformName) { var res = A.callMethod(this.glContext, "getUniformLocation", [program, uniformName]); if (res == null) throw A.wrapException(A.Exception_Exception(uniformName + " not found")); else return res; }, readPatternData$1(isOpaque) { var t1, canvas, _this = this; if ("transferToImageBitmap" in _this.__engine$_canvas && isOpaque) { _this.__engine$_canvas.getContext("webgl2"); return _this.__engine$_canvas.transferToImageBitmap(); } else { t1 = _this._widthInPixels; canvas = A.createDomCanvasElement(_this._heightInPixels, t1); t1 = A.DomCanvasElementExtension_getContext(canvas, "2d", null); t1.toString; _this.drawImage$3(0, type$.JavaScriptObject._as(t1), 0, 0); return canvas; } } }; A.OffScreenCanvas.prototype = { _updateCanvasCssSize$1(element) { var t2, t3, t4, t5, t1 = this.width; $.$get$EngineFlutterDisplay__instance(); t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; t3 = this.height; t4 = self.window.devicePixelRatio; if (t4 === 0) t4 = 1; t5 = element.style; A.DomCSSStyleDeclarationExtension_setProperty(t5, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t5, "width", A.S(t1 / t2) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t5, "height", A.S(t3 / t4) + "px"); }, dispose$0() { this.canvasElement = this.offScreenCanvas = null; } }; A.Assertiveness.prototype = { _enumToString$0() { return "Assertiveness." + this._core$_name; } }; A.AccessibilityAnnouncements.prototype = { ariaLiveElementFor$1(assertiveness) { switch (assertiveness.index) { case 0: return this._politeElement; case 1: return this._assertiveElement; } }, announce$2(message, assertiveness) { var ariaLiveElement = this.ariaLiveElementFor$1(assertiveness), messageElement = A.DomDocumentExtension_createElement(self.document, "div"); A.DomNodeExtension_set_text(messageElement, message); ariaLiveElement.append(messageElement); A.Timer_Timer(B.Duration_300000, new A.AccessibilityAnnouncements_announce_closure(messageElement)); } }; A.AccessibilityAnnouncements_announce_closure.prototype = { call$0() { return this.messageElement.remove(); }, $signature: 0 }; A._CheckableKind.prototype = { _enumToString$0() { return "_CheckableKind." + this._core$_name; } }; A.Checkable.prototype = { update$0(_) { var t1, t2, t3, _this = this, _s12_ = "setAttribute", _s4_ = "true", _s15_ = "removeAttribute"; _this.super$PrimaryRoleManager$update(0); t1 = _this.semanticsObject; if ((t1._dirtyFields & 1) !== 0) { switch (_this.__engine$_kind.index) { case 0: t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.jsify("checkbox"); A.callMethod(t2, _s12_, ["role", t3 == null ? type$.Object._as(t3) : t3]); break; case 1: t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.jsify("radio"); A.callMethod(t2, _s12_, ["role", t3 == null ? type$.Object._as(t3) : t3]); break; case 2: t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.jsify("switch"); A.callMethod(t2, _s12_, ["role", t3 == null ? type$.Object._as(t3) : t3]); break; } t2 = t1.enabledState$0(); t3 = _this.__PrimaryRoleManager_element_F; if (t2 === B.EnabledState_2) { t3 === $ && A.throwUnnamedLateFieldNI(); t2 = A.jsify(_s4_); A.callMethod(t3, _s12_, ["aria-disabled", t2 == null ? type$.Object._as(t2) : t2]); t2 = A.jsify(_s4_); A.callMethod(t3, _s12_, ["disabled", t2 == null ? type$.Object._as(t2) : t2]); } else { t3 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t3, _s15_, ["aria-disabled"]); A.callMethod(t3, _s15_, ["disabled"]); } t1 = t1.__engine$_flags; t1 = (t1 & 2) !== 0 || (t1 & 131072) !== 0 ? _s4_ : "false"; t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify(t1); A.callMethod(t2, _s12_, ["aria-checked", t1 == null ? type$.Object._as(t1) : t1]); } }, dispose$0() { var t1, _s15_ = "removeAttribute"; this.super$PrimaryRoleManager$dispose(); t1 = this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, _s15_, ["aria-disabled"]); A.callMethod(t1, _s15_, ["disabled"]); }, focusAsRouteDefault$0() { var t1 = this._focusable; if (t1 == null) t1 = null; else { t1 = t1.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.focus(); t1 = true; } return t1 === true; } }; A.Dialog0.prototype = { Dialog$1(semanticsObject) { var _this = this, t1 = _this.semanticsObject, t2 = A.Focusable$(t1, _this); _this._focusable = t2; _this.addSecondaryRole$1(t2); _this.addSecondaryRole$1(new A.LiveRegion(B.Role_3, t1, _this)); semanticsObject.owner._oneTimePostUpdateCallbacks.push(new A.Dialog_closure(_this, semanticsObject)); }, _setDefaultFocus$0() { this.semanticsObject._visitDepthFirstInTraversalOrder$1(new A.Dialog__setDefaultFocus_closure()); }, update$0(_) { var t1, label, t2, _s12_ = "setAttribute"; this.super$PrimaryRoleManager$update(0); t1 = this.semanticsObject; if ((t1.__engine$_flags & 4096) !== 0) { label = t1.__engine$_label; t1 = label == null ? "" : label; t2 = this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify(t1); A.callMethod(t2, _s12_, ["aria-label", t1 == null ? type$.Object._as(t1) : t1]); t1 = A.jsify("dialog"); A.callMethod(t2, _s12_, ["role", t1 == null ? type$.Object._as(t1) : t1]); } }, describeBy$1(routeName) { var t1, t2, _s12_ = "setAttribute"; if ((this.semanticsObject.__engine$_flags & 4096) !== 0) return; t1 = this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.jsify("dialog"); A.callMethod(t1, _s12_, ["role", t2 == null ? type$.Object._as(t2) : t2]); t2 = routeName.semanticsObject.primaryRole.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = A.jsify(t2.id); A.callMethod(t1, _s12_, ["aria-describedby", t2 == null ? type$.Object._as(t2) : t2]); }, focusAsRouteDefault$0() { return false; } }; A.Dialog_closure.prototype = { call$0() { if (this.semanticsObject.owner._hasNodeRequestingFocus) return; this.$this._setDefaultFocus$0(); }, $signature: 0 }; A.Dialog__setDefaultFocus_closure.prototype = { call$1(node) { var roleManager = node.primaryRole; if (roleManager == null) return true; return !roleManager.focusAsRouteDefault$0(); }, $signature: 905 }; A.RouteName.prototype = { update$0(_) { var dialog, _this = this, t1 = _this.semanticsObject; if ((t1.__engine$_flags & 4096) === 0) return; if ((t1._dirtyFields & 1024) !== 0) { dialog = _this._dialog; if (dialog != null) dialog.describeBy$1(_this); else t1.owner._oneTimePostUpdateCallbacks.push(new A.RouteName_update_closure(_this)); } }, _lookUpNearestAncestorDialog$0() { var t1, t2, $parent = this.semanticsObject.__engine$_parent; while (true) { t1 = $parent != null; if (t1) { t2 = $parent.primaryRole; t2 = (t2 == null ? null : t2.role) !== B.PrimaryRole_6; } else t2 = false; if (!t2) break; $parent = $parent.__engine$_parent; } if (t1) { t1 = $parent.primaryRole; t1 = (t1 == null ? null : t1.role) === B.PrimaryRole_6; } else t1 = false; if (t1) { t1 = $parent.primaryRole; t1.toString; this._dialog = type$.Dialog._as(t1); } } }; A.RouteName_update_closure.prototype = { call$0() { var t2, t1 = this.$this; if (!t1._isDisposed) { t1._lookUpNearestAncestorDialog$0(); t2 = t1._dialog; if (t2 != null) t2.describeBy$1(t1); } }, $signature: 0 }; A.Focusable.prototype = { update$0(_) { var t2, t3, _this = this, t1 = _this.semanticsObject; if ((t1.__engine$_flags & 2097152) !== 0) { t2 = _this._focusManager; if (t2.__engine$_target == null) { t3 = _this.owner.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); t2.manage$2(t1.id, t3); } t1 = t1.__engine$_flags; if ((t1 & 32) !== 0) t1 = (t1 & 64) === 0 || (t1 & 128) !== 0; else t1 = false; t2.changeFocus$1(t1); } else _this._focusManager.stopManaging$0(); }, dispose$0() { this.super$RoleManager$dispose(); this._focusManager.stopManaging$0(); } }; A.AccessibilityFocusManager.prototype = { manage$2(semanticsNodeId, element) { var t2, t3, _this = this, previousTarget = _this.__engine$_target, t1 = previousTarget == null; if (element === (t1 ? null : previousTarget._values[2])) { t1 = previousTarget._values; if (semanticsNodeId === t1[3]) return; t2 = t1[2]; t3 = t1[1]; _this.__engine$_target = new A._Record_4_domBlurListener_domFocusListener_element_semanticsNodeId([t1[0], t3, t2, semanticsNodeId]); return; } if (!t1) _this.stopManaging$0(); t1 = type$.JavaScriptFunction; t2 = t1._as(A.allowInterop(new A.AccessibilityFocusManager_manage_closure(_this))); t2 = [t1._as(A.allowInterop(new A.AccessibilityFocusManager_manage_closure0(_this))), t2, element, semanticsNodeId]; _this.__engine$_target = new A._Record_4_domBlurListener_domFocusListener_element_semanticsNodeId(t2); A.DomElementExtension_set_tabIndex(element, 0); A.DomEventTargetExtension_addEventListener(element, "focus", t2[1], null); A.DomEventTargetExtension_addEventListener(element, "blur", t2[0], null); }, stopManaging$0() { var t1, target = this.__engine$_target; this._lastSetValue = this.__engine$_target = null; if (target == null) return; t1 = target._values; A.DomEventTargetExtension_removeEventListener(t1[2], "focus", t1[1], null); A.DomEventTargetExtension_removeEventListener(t1[2], "blur", t1[0], null); }, _setFocusFromDom$1(acquireFocus) { var t1, t2, target = this.__engine$_target; if (target == null) return; t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = target._values[3]; t1.invokeOnSemanticsAction$3(t2, acquireFocus ? B.SemanticsAction_32768_didGainAccessibilityFocus : B.SemanticsAction_65536_didLoseAccessibilityFocus, null); }, changeFocus$1(value) { var t1, _this = this, target = _this.__engine$_target; if (target == null) { _this._lastSetValue = null; return; } if (value === _this._lastSetValue) return; _this._lastSetValue = value; if (value) { t1 = _this._owner; t1._hasNodeRequestingFocus = true; } else return; t1._oneTimePostUpdateCallbacks.push(new A.AccessibilityFocusManager_changeFocus_closure(_this, target)); } }; A.AccessibilityFocusManager_manage_closure.prototype = { call$1(_) { return this.$this._setFocusFromDom$1(true); }, $signature: 33 }; A.AccessibilityFocusManager_manage_closure0.prototype = { call$1(_) { return this.$this._setFocusFromDom$1(false); }, $signature: 33 }; A.AccessibilityFocusManager_changeFocus_closure.prototype = { call$0() { var t1 = this.target; if (!J.$eq$(this.$this.__engine$_target, t1)) return; t1._values[2].focus(); }, $signature: 0 }; A.ImageRoleManager.prototype = { focusAsRouteDefault$0() { var t1 = this._focusable; if (t1 == null) t1 = null; else { t1 = t1.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.focus(); t1 = true; } return t1 === true; }, update$0(_) { var t1, t2, t3, _this = this, _s12_ = "setAttribute"; _this.super$PrimaryRoleManager$update(0); t1 = _this.semanticsObject; if (t1.get$isVisualOnly()) { t2 = t1._childrenInTraversalOrder; t2 = t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2); } else t2 = false; if (t2) { if (_this._auxiliaryImageElement == null) { _this._auxiliaryImageElement = A.DomDocumentExtension_createElement(self.document, "flt-semantics-img"); t2 = t1._childrenInTraversalOrder; if (t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2)) { t2 = _this._auxiliaryImageElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t2, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t2, "top", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t2, "left", "0"); t3 = t1.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t2, "width", A.S(t3.right - t3.left) + "px"); t1 = t1.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t2, "height", A.S(t1.bottom - t1.top) + "px"); } A.DomCSSStyleDeclarationExtension_setProperty(_this._auxiliaryImageElement.style, "font-size", "6px"); t1 = _this._auxiliaryImageElement; t1.toString; t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2.append(t1); } t1 = _this._auxiliaryImageElement; t1.toString; t2 = A.jsify("img"); A.callMethod(t1, _s12_, ["role", t2 == null ? type$.Object._as(t2) : t2]); _this._setLabel$1(_this._auxiliaryImageElement); } else if (t1.get$isVisualOnly()) { t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.jsify("img"); A.callMethod(t1, _s12_, ["role", t2 == null ? type$.Object._as(t2) : t2]); _this._setLabel$1(t1); _this._cleanUpAuxiliaryElement$0(); } else { _this._cleanUpAuxiliaryElement$0(); t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["aria-label"]); } }, _setLabel$1(element) { var t1 = this.semanticsObject.__engine$_label; if (t1 != null && t1.length !== 0) { element.toString; t1.toString; t1 = A.jsify(t1); A.callMethod(element, "setAttribute", ["aria-label", t1 == null ? type$.Object._as(t1) : t1]); } }, _cleanUpAuxiliaryElement$0() { var t1 = this._auxiliaryImageElement; if (t1 != null) { t1.remove(); this._auxiliaryImageElement = null; } }, dispose$0() { this.super$PrimaryRoleManager$dispose(); this._cleanUpAuxiliaryElement$0(); var t1 = this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["aria-label"]); } }; A.Incrementable.prototype = { Incrementable$1(semanticsObject) { var t2, t3, _this = this, t1 = _this.semanticsObject; _this.addSecondaryRole$1(new A.LiveRegion(B.Role_3, t1, _this)); _this.addSecondaryRole$1(new A.RouteName(B.Role_4, t1, _this)); _this.addSecondaryRole$1(new A.LabelAndValue(B.Role_2, t1, _this)); t1 = _this.__engine$_element; t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2.append(t1); A.DomHTMLInputElementExtension_set_type(t1, "range"); t2 = A.jsify("slider"); A.callMethod(t1, "setAttribute", ["role", t2 == null ? type$.Object._as(t2) : t2]); A.DomEventTargetExtension_addEventListener(t1, "change", type$.JavaScriptFunction._as(A.allowInterop(new A.Incrementable_closure(_this, semanticsObject))), null); t2 = new A.Incrementable_closure0(_this); _this.__Incrementable__gestureModeListener_F !== $ && A.throwUnnamedLateFieldAI(); _this.__Incrementable__gestureModeListener_F = t2; t3 = $.EngineSemantics__instance; (t3 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t3)._gestureModeListeners.push(t2); _this._focusManager.manage$2(semanticsObject.id, t1); }, focusAsRouteDefault$0() { this.__engine$_element.focus(); return true; }, update$0(_) { var t1, _this = this; _this.super$PrimaryRoleManager$update(0); t1 = $.EngineSemantics__instance; switch ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._gestureMode.index) { case 1: _this._enableBrowserGestureHandling$0(); _this._updateInputValues$0(); break; case 0: _this._disableBrowserGestureHandling$0(); break; } _this._focusManager.changeFocus$1((_this.semanticsObject.__engine$_flags & 32) !== 0); }, _enableBrowserGestureHandling$0() { var t1 = this.__engine$_element, t2 = A.DomHTMLInputElementExtension_get_disabled(t1); t2.toString; if (!t2) return; A.DomHTMLInputElementExtension_set_disabled(t1, false); }, _updateInputValues$0() { var t1, updateNeeded, surrogateTextValue, t2, t3, surrogateMaxTextValue, surrogateMinTextValue, _this = this, _s12_ = "setAttribute"; if (!_this._pendingResync) { t1 = _this.semanticsObject._dirtyFields; updateNeeded = (t1 & 4096) !== 0 || (t1 & 8192) !== 0 || (t1 & 16384) !== 0; } else updateNeeded = true; if (!updateNeeded) return; _this._pendingResync = false; surrogateTextValue = "" + _this._currentSurrogateValue; t1 = _this.__engine$_element; A.DomHTMLInputElementExtension_set_value(t1, surrogateTextValue); t2 = A.jsify(surrogateTextValue); A.callMethod(t1, _s12_, ["aria-valuenow", t2 == null ? type$.Object._as(t2) : t2]); t2 = _this.semanticsObject; t3 = t2.__engine$_value; t3.toString; t3 = A.jsify(t3); A.callMethod(t1, _s12_, ["aria-valuetext", t3 == null ? type$.Object._as(t3) : t3]); surrogateMaxTextValue = t2._increasedValue.length !== 0 ? "" + (_this._currentSurrogateValue + 1) : surrogateTextValue; t1.max = surrogateMaxTextValue; t3 = A.jsify(surrogateMaxTextValue); A.callMethod(t1, _s12_, ["aria-valuemax", t3 == null ? type$.Object._as(t3) : t3]); surrogateMinTextValue = t2._decreasedValue.length !== 0 ? "" + (_this._currentSurrogateValue - 1) : surrogateTextValue; t1.min = surrogateMinTextValue; t2 = A.jsify(surrogateMinTextValue); A.callMethod(t1, _s12_, ["aria-valuemin", t2 == null ? type$.Object._as(t2) : t2]); }, _disableBrowserGestureHandling$0() { var t1 = this.__engine$_element, t2 = A.DomHTMLInputElementExtension_get_disabled(t1); t2.toString; if (t2) return; A.DomHTMLInputElementExtension_set_disabled(t1, true); }, dispose$0() { var t1, t2, _this = this; _this.super$PrimaryRoleManager$dispose(); _this._focusManager.stopManaging$0(); t1 = $.EngineSemantics__instance; if (t1 == null) t1 = $.EngineSemantics__instance = A.EngineSemantics$_(); t2 = _this.__Incrementable__gestureModeListener_F; t2 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.remove$1(t1._gestureModeListeners, t2); _this._disableBrowserGestureHandling$0(); _this.__engine$_element.remove(); } }; A.Incrementable_closure.prototype = { call$1(_) { var newInputValue, t1 = this.$this, t2 = t1.__engine$_element, t3 = A.DomHTMLInputElementExtension_get_disabled(t2); t3.toString; if (t3) return; t1._pendingResync = true; t2 = A.DomHTMLInputElementExtension_get_value(t2); t2.toString; newInputValue = A.int_parse(t2, null); t2 = t1._currentSurrogateValue; if (newInputValue > t2) { t1._currentSurrogateValue = t2 + 1; $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(this.semanticsObject.id, B.SemanticsAction_64_increase, null); } else if (newInputValue < t2) { t1._currentSurrogateValue = t2 - 1; $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(this.semanticsObject.id, B.SemanticsAction_128_decrease, null); } }, $signature: 33 }; A.Incrementable_closure0.prototype = { call$1(mode) { this.$this.update$0(0); }, $signature: 904 }; A.LabelAndValue.prototype = { update$0(_) { var shouldDisplayValue, t1 = this.semanticsObject, t2 = t1.__engine$_value, hasValue = t2 != null && t2.length !== 0, t3 = t1.__engine$_label, hasLabel = t3 != null && t3.length !== 0, t4 = t1.__engine$_tooltip, hasTooltip = t4 != null && t4.length !== 0; if (hasValue) { t1 = t1.__engine$_actions; t1.toString; shouldDisplayValue = !((t1 & 64) !== 0 || (t1 & 128) !== 0); } else shouldDisplayValue = false; t1 = !hasLabel; if (t1 && !shouldDisplayValue && !hasTooltip) { t1 = this.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["aria-label"]); return; } if (hasTooltip) { t4 = "" + A.S(t4); t1 = !t1 || shouldDisplayValue ? t4 + "\n" : t4; } else t1 = ""; if (hasLabel) { t1 += A.S(t3); if (shouldDisplayValue) t1 += " "; } if (shouldDisplayValue) t1 += A.S(t2); t2 = this.owner.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify(t1.charCodeAt(0) == 0 ? t1 : t1); A.callMethod(t2, "setAttribute", ["aria-label", t1 == null ? type$.Object._as(t1) : t1]); }, dispose$0() { this.super$RoleManager$dispose(); var t1 = this.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["aria-label"]); } }; A.Link.prototype = { createElement$0(_) { var element = A.DomDocumentExtension_createElement(self.document, "a"), t1 = A.jsify("#"); A.callMethod(element, "setAttribute", ["href", t1 == null ? type$.Object._as(t1) : t1]); A.DomCSSStyleDeclarationExtension_setProperty(element.style, "display", "block"); return element; }, focusAsRouteDefault$0() { var t1 = this._focusable; if (t1 == null) t1 = null; else { t1 = t1.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.focus(); t1 = true; } return t1 === true; } }; A.LiveRegion.prototype = { update$0(_) { var _this = this, t1 = _this.semanticsObject, t2 = t1.__engine$_flags; if (!((t2 & 32768) !== 0 && (t2 & 8192) === 0)) return; t2 = _this._lastAnnouncement; t1 = t1.__engine$_label; if (t2 != t1) { _this._lastAnnouncement = t1; if (t1 != null && t1.length !== 0) { t1 = type$.nullable_EngineFlutterWindow._as($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, 0)).get$accessibilityAnnouncements(); t2 = _this._lastAnnouncement; t2.toString; t1.announce$2(t2, B.Assertiveness_0); } } } }; A.PlatformViewRoleManager.prototype = { update$0(_) { var t1, t2, _this = this; _this.super$PrimaryRoleManager$update(0); t1 = _this.semanticsObject; t2 = t1.__engine$_platformViewId; if (t2 !== -1) { if ((t1._dirtyFields & 8388608) !== 0) { t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.jsify("flt-pv-" + t2); A.callMethod(t1, "setAttribute", ["aria-owns", t2 == null ? type$.Object._as(t2) : t2]); } } else { t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["aria-owns"]); } }, focusAsRouteDefault$0() { return false; } }; A.Scrollable0.prototype = { _recomputeScrollPosition$0() { var t1, t2, t3, semanticsId, _this = this, _null = null; if (_this.get$_domScrollPosition() !== _this._effectiveNeutralScrollPosition) { t1 = $.EngineSemantics__instance; if (!(t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1).shouldAcceptBrowserGesture$1("scroll")) return; t1 = _this.get$_domScrollPosition(); t2 = _this._effectiveNeutralScrollPosition; _this._neutralizeDomScrollPosition$0(); t3 = _this.semanticsObject; t3.recomputePositionAndSize$0(); semanticsId = t3.id; if (t1 > t2) { t1 = t3.__engine$_actions; t1.toString; if ((t1 & 32) !== 0 || (t1 & 16) !== 0) $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(semanticsId, B.SemanticsAction_16_scrollUp, _null); else $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(semanticsId, B.SemanticsAction_4_scrollLeft, _null); } else { t1 = t3.__engine$_actions; t1.toString; if ((t1 & 32) !== 0 || (t1 & 16) !== 0) $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(semanticsId, B.SemanticsAction_32_scrollDown, _null); else $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(semanticsId, B.SemanticsAction_8_scrollRight, _null); } } }, update$0(_) { var t1, t2, t3, _this = this; _this.super$PrimaryRoleManager$update(0); _this.semanticsObject.owner._oneTimePostUpdateCallbacks.push(new A.Scrollable_update_closure(_this)); if (_this._scrollListener == null) { t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.DomCSSStyleDeclarationExtension_setProperty(t1.style, "touch-action", "none"); _this._gestureModeDidChange$0(); t2 = new A.Scrollable_update_closure0(_this); _this._gestureModeListener = t2; t3 = $.EngineSemantics__instance; (t3 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t3)._gestureModeListeners.push(t2); t2 = type$.JavaScriptFunction._as(A.allowInterop(new A.Scrollable_update_closure1(_this))); _this._scrollListener = t2; A.DomEventTargetExtension_addEventListener(t1, "scroll", t2, null); } }, get$_domScrollPosition() { var t2, t1 = this.semanticsObject.__engine$_actions; t1.toString; t1 = (t1 & 32) !== 0 || (t1 & 16) !== 0; t2 = this.__PrimaryRoleManager_element_F; if (t1) { t2 === $ && A.throwUnnamedLateFieldNI(); return B.JSNumber_methods.toInt$0(t2.scrollTop); } else { t2 === $ && A.throwUnnamedLateFieldNI(); return B.JSNumber_methods.toInt$0(t2.scrollLeft); } }, _neutralizeDomScrollPosition$0() { var t2, t3, t4, t5, _this = this, _s9_ = "transform", t1 = _this.semanticsObject, rect = t1.__engine$_rect; if (rect == null) { $.$get$printWarning().call$1("Warning! the rect attribute of semanticsObject is null"); return; } t2 = t1.__engine$_actions; t2.toString; t2 = (t2 & 32) !== 0 || (t2 & 16) !== 0; t3 = _this._scrollOverflowElement; t4 = rect.bottom - rect.top; t5 = rect.right - rect.left; if (t2) { t2 = B.JSNumber_methods.ceil$0(t4); t3 = t3.style; A.DomCSSStyleDeclarationExtension_setProperty(t3, _s9_, "translate(0px," + (t2 + 10) + "px)"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "width", "" + B.JSNumber_methods.round$0(t5) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "height", "10px"); t3 = _this.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3.scrollTop = 10; t1.verticalContainerAdjustment = _this._effectiveNeutralScrollPosition = B.JSNumber_methods.toInt$0(t3.scrollTop); t1.horizontalContainerAdjustment = 0; } else { t2 = B.JSNumber_methods.ceil$0(t5); t3 = t3.style; A.DomCSSStyleDeclarationExtension_setProperty(t3, _s9_, "translate(" + (t2 + 10) + "px,0px)"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "width", "10px"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "height", "" + B.JSNumber_methods.round$0(t4) + "px"); t4 = _this.__PrimaryRoleManager_element_F; t4 === $ && A.throwUnnamedLateFieldNI(); t4.scrollLeft = 10; t4 = B.JSNumber_methods.toInt$0(t4.scrollLeft); _this._effectiveNeutralScrollPosition = t4; t1.verticalContainerAdjustment = 0; t1.horizontalContainerAdjustment = t4; } }, _gestureModeDidChange$0() { var t2, _this = this, _s10_ = "overflow-y", _s10_0 = "overflow-x", t1 = $.EngineSemantics__instance; switch ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._gestureMode.index) { case 1: t1 = _this.semanticsObject.__engine$_actions; t1.toString; t1 = (t1 & 32) !== 0 || (t1 & 16) !== 0; t2 = _this.__PrimaryRoleManager_element_F; if (t1) { t2 === $ && A.throwUnnamedLateFieldNI(); A.DomCSSStyleDeclarationExtension_setProperty(t2.style, _s10_, "scroll"); } else { t2 === $ && A.throwUnnamedLateFieldNI(); A.DomCSSStyleDeclarationExtension_setProperty(t2.style, _s10_0, "scroll"); } break; case 0: t1 = _this.semanticsObject.__engine$_actions; t1.toString; t1 = (t1 & 32) !== 0 || (t1 & 16) !== 0; t2 = _this.__PrimaryRoleManager_element_F; if (t1) { t2 === $ && A.throwUnnamedLateFieldNI(); A.DomCSSStyleDeclarationExtension_setProperty(t2.style, _s10_, "hidden"); } else { t2 === $ && A.throwUnnamedLateFieldNI(); A.DomCSSStyleDeclarationExtension_setProperty(t2.style, _s10_0, "hidden"); } break; } }, dispose$0() { var t1, style, t2, _this = this, _s14_ = "removeProperty"; _this.super$PrimaryRoleManager$dispose(); t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); style = t1.style; A.callMethod(style, _s14_, ["overflowY"]); A.callMethod(style, _s14_, ["overflowX"]); A.callMethod(style, _s14_, ["touch-action"]); t2 = _this._scrollListener; if (t2 != null) { A.DomEventTargetExtension_removeEventListener(t1, "scroll", t2, null); _this._scrollListener = null; } t1 = _this._gestureModeListener; if (t1 != null) { t2 = $.EngineSemantics__instance; B.JSArray_methods.remove$1((t2 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t2)._gestureModeListeners, t1); _this._gestureModeListener = null; } }, focusAsRouteDefault$0() { var t1 = this._focusable; if (t1 == null) t1 = null; else { t1 = t1.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.focus(); t1 = true; } return t1 === true; } }; A.Scrollable_update_closure.prototype = { call$0() { var t1 = this.$this; t1._neutralizeDomScrollPosition$0(); t1.semanticsObject.recomputePositionAndSize$0(); }, $signature: 0 }; A.Scrollable_update_closure0.prototype = { call$1(_) { this.$this._gestureModeDidChange$0(); }, $signature: 904 }; A.Scrollable_update_closure1.prototype = { call$1(_) { this.$this._recomputeScrollPosition$0(); }, $signature: 33 }; A.EngineAccessibilityFeatures.prototype = { toString$0(_) { var features = A._setArrayType([], type$.JSArray_String), t1 = this.__engine$_index; if ((t1 & 1) !== 0) features.push("accessibleNavigation"); if ((t1 & 2) !== 0) features.push("invertColors"); if ((t1 & 4) !== 0) features.push("disableAnimations"); if ((t1 & 8) !== 0) features.push("boldText"); if ((t1 & 16) !== 0) features.push("reduceMotion"); if ((t1 & 32) !== 0) features.push("highContrast"); if ((t1 & 64) !== 0) features.push("onOffSwitchLabels"); return "AccessibilityFeatures" + A.S(features); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A.EngineAccessibilityFeatures && other.__engine$_index === this.__engine$_index; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(this.__engine$_index); }, copyWith$2$accessibleNavigation$highContrast(accessibleNavigation, highContrast) { var t1 = (accessibleNavigation == null ? (this.__engine$_index & 1) !== 0 : accessibleNavigation) ? 1 : 0, t2 = this.__engine$_index; t1 = (t2 & 2) !== 0 ? t1 | 2 : t1 & 4294967293; t1 = (t2 & 4) !== 0 ? t1 | 4 : t1 & 4294967291; t1 = (t2 & 8) !== 0 ? t1 | 8 : t1 & 4294967287; t1 = (t2 & 16) !== 0 ? t1 | 16 : t1 & 4294967279; t1 = (highContrast == null ? (t2 & 32) !== 0 : highContrast) ? t1 | 32 : t1 & 4294967263; return new A.EngineAccessibilityFeatures((t2 & 64) !== 0 ? t1 | 64 : t1 & 4294967231); }, copyWith$1$highContrast(highContrast) { return this.copyWith$2$accessibleNavigation$highContrast(null, highContrast); }, copyWith$1$accessibleNavigation(accessibleNavigation) { return this.copyWith$2$accessibleNavigation$highContrast(accessibleNavigation, null); } }; A.SemanticsUpdate.prototype = { dispose$0() { }, $isSemanticsUpdate0: 1 }; A.SemanticsNodeUpdate.prototype = { get$id(receiver) { return this.id; }, get$value(receiver) { return this.value; } }; A.PrimaryRole.prototype = { _enumToString$0() { return "PrimaryRole." + this._core$_name; } }; A.Role.prototype = { _enumToString$0() { return "Role." + this._core$_name; } }; A.PrimaryRoleManager.prototype = { PrimaryRoleManager$withBasics$2(role, semanticsObject) { var _this = this, t1 = _this.semanticsObject, t2 = A.PrimaryRoleManager__initElement(_this.createElement$0(0), t1); _this.__PrimaryRoleManager_element_F !== $ && A.throwUnnamedLateFieldAI(); _this.__PrimaryRoleManager_element_F = t2; t2 = A.Focusable$(t1, _this); _this._focusable = t2; _this.addSecondaryRole$1(t2); _this.addSecondaryRole$1(new A.LiveRegion(B.Role_3, t1, _this)); _this.addSecondaryRole$1(new A.RouteName(B.Role_4, t1, _this)); _this.addSecondaryRole$1(new A.LabelAndValue(B.Role_2, t1, _this)); _this.addSecondaryRole$1(A.Tappable$(t1, _this)); }, createElement$0(_) { return A.DomDocumentExtension_createElement(self.document, "flt-semantics"); }, addSecondaryRole$1(secondaryRoleManager) { var t1 = this._secondaryRoleManagers; (t1 == null ? this._secondaryRoleManagers = A._setArrayType([], type$.JSArray_RoleManager) : t1).push(secondaryRoleManager); }, update$0(_) { var t1, _i, secondaryRoles = this._secondaryRoleManagers; if (secondaryRoles == null) return; for (t1 = secondaryRoles.length, _i = 0; _i < secondaryRoles.length; secondaryRoles.length === t1 || (0, A.throwConcurrentModificationError)(secondaryRoles), ++_i) secondaryRoles[_i].update$0(0); }, dispose$0() { var t1 = this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["role"]); } }; A.GenericRole.prototype = { update$0(_) { var t1, t2, _this = this, _s12_ = "setAttribute"; _this.super$PrimaryRoleManager$update(0); t1 = _this.semanticsObject; t2 = t1.__engine$_label; if (!(t2 != null && t2.length !== 0)) return; t2 = t1._childrenInTraversalOrder; if (t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2)) { t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.jsify("group"); A.callMethod(t1, _s12_, ["role", t2 == null ? type$.Object._as(t2) : t2]); } else { t1 = t1.__engine$_flags; t2 = _this.__PrimaryRoleManager_element_F; if ((t1 & 512) !== 0) { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify("heading"); A.callMethod(t2, _s12_, ["role", t1 == null ? type$.Object._as(t1) : t1]); } else { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify("text"); A.callMethod(t2, _s12_, ["role", t1 == null ? type$.Object._as(t1) : t1]); } } }, focusAsRouteDefault$0() { var focusable, t2, t1 = this.semanticsObject; if ((t1.__engine$_flags & 2097152) !== 0) { focusable = this._focusable; if (focusable != null) { t1 = focusable.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.focus(); return true; } } t2 = t1._childrenInTraversalOrder; if (!(t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2))) { t1 = t1.__engine$_label; t1 = !(t1 != null && t1.length !== 0); } else t1 = true; if (t1) return false; t1 = this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.DomElementExtension_set_tabIndex(t1, -1); t1.focus(); return true; } }; A.RoleManager.prototype = { dispose$0() { this._isDisposed = true; } }; A.SemanticsObject.prototype = { get$value(_) { return this.__engine$_value; }, getOrCreateChildContainer$0() { var t1, t2, _this = this; if (_this._childContainerElement == null) { t1 = A.DomDocumentExtension_createElement(self.document, "flt-semantics-container"); _this._childContainerElement = t1; t1 = t1.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "pointer-events", "none"); t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._childContainerElement; t2.toString; t1.append(t2); } return _this._childContainerElement; }, get$isVisualOnly() { var t2, t1 = this.__engine$_flags; if ((t1 & 16384) !== 0) { t2 = this.__engine$_actions; t2.toString; t1 = (t2 & 1) === 0 && (t1 & 8) === 0; } else t1 = false; return t1; }, enabledState$0() { var t1 = this.__engine$_flags; if ((t1 & 64) !== 0) if ((t1 & 128) !== 0) return B.EnabledState_1; else return B.EnabledState_2; else return B.EnabledState_0; }, updateChildren$0() { var t1, len, t2, i, object, childCount, containerElement, childrenInRenderOrder, t3, t4, previousChildrenInRenderOrder, _i, child, previousCount, intersectionIndicesOld, minLength, newIndex, oldIndex, longestSequence, stationaryIds, refNode, _this = this, childrenInHitTestOrder = _this.__engine$_childrenInHitTestOrder; if (childrenInHitTestOrder == null || childrenInHitTestOrder.length === 0) { t1 = _this._currentChildrenInRenderOrder; if (t1 == null || t1.length === 0) { _this._currentChildrenInRenderOrder = null; return; } len = t1.length; for (t1 = _this.owner, t2 = t1._semanticsTree, i = 0; i < len; ++i) { object = t2.$index(0, _this._currentChildrenInRenderOrder[i].id); if (object != null) t1._detachments.push(object); } _this._childContainerElement.remove(); _this._currentChildrenInRenderOrder = _this._childContainerElement = null; return; } t1 = _this._childrenInTraversalOrder; t1.toString; childCount = childrenInHitTestOrder.length; containerElement = _this.getOrCreateChildContainer$0(); childrenInRenderOrder = A._setArrayType([], type$.JSArray_SemanticsObject); for (t2 = _this.owner, t3 = t2._semanticsTree, i = 0; i < childCount; ++i) { t4 = t3.$index(0, t1[i]); t4.toString; childrenInRenderOrder.push(t4); } if (childCount > 1) for (i = 0; i < childCount; ++i) { t1 = t3.$index(0, childrenInHitTestOrder[i]).primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.style; t1.setProperty.apply(t1, ["z-index", "" + (childCount - i), ""]); } previousChildrenInRenderOrder = _this._currentChildrenInRenderOrder; if (previousChildrenInRenderOrder == null || previousChildrenInRenderOrder.length === 0) { for (t1 = childrenInRenderOrder.length, _i = 0; _i < childrenInRenderOrder.length; childrenInRenderOrder.length === t1 || (0, A.throwConcurrentModificationError)(childrenInRenderOrder), ++_i) { child = childrenInRenderOrder[_i]; containerElement.toString; t3 = child.primaryRole.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); containerElement.append(t3); child.__engine$_parent = _this; t2._attachments.$indexSet(0, child.id, _this); } _this._currentChildrenInRenderOrder = childrenInRenderOrder; return; } previousCount = previousChildrenInRenderOrder.length; t1 = type$.JSArray_int; intersectionIndicesOld = A._setArrayType([], t1); minLength = Math.min(previousCount, childCount); newIndex = 0; while (true) { if (!(newIndex < minLength && previousChildrenInRenderOrder[newIndex] === childrenInRenderOrder[newIndex])) break; intersectionIndicesOld.push(newIndex); ++newIndex; } if (previousCount === childrenInRenderOrder.length && newIndex === childCount) return; for (; newIndex < childCount;) { for (oldIndex = 0; oldIndex < previousCount; ++oldIndex) if (previousChildrenInRenderOrder[oldIndex] === childrenInRenderOrder[newIndex]) { intersectionIndicesOld.push(oldIndex); break; } ++newIndex; } longestSequence = A.longestIncreasingSubsequence(intersectionIndicesOld); stationaryIds = A._setArrayType([], t1); for (t1 = longestSequence.length, i = 0; i < t1; ++i) stationaryIds.push(previousChildrenInRenderOrder[intersectionIndicesOld[longestSequence[i]]].id); for (i = 0; i < previousCount; ++i) if (!B.JSArray_methods.contains$1(intersectionIndicesOld, i)) { object = t3.$index(0, previousChildrenInRenderOrder[i].id); if (object != null) t2._detachments.push(object); } for (i = childCount - 1, refNode = null; i >= 0; --i, refNode = t1) { child = childrenInRenderOrder[i]; t1 = child.id; if (!B.JSArray_methods.contains$1(stationaryIds, t1)) { t3 = child.primaryRole; if (refNode == null) { containerElement.toString; t3 = t3.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); containerElement.append(t3); } else { containerElement.toString; t3 = t3.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); containerElement.insertBefore(t3, refNode); } child.__engine$_parent = _this; t2._attachments.$indexSet(0, t1, _this); } t1 = child.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); } _this._currentChildrenInRenderOrder = childrenInRenderOrder; }, _getPrimaryRoleIdentifier$0() { var t1, t2, _this = this; if (_this.__engine$_platformViewId !== -1) return B.PrimaryRole_7; else if ((_this.__engine$_flags & 16) !== 0) return B.PrimaryRole_3; else { t1 = _this.__engine$_actions; t1.toString; if ((t1 & 64) !== 0 || (t1 & 128) !== 0) return B.PrimaryRole_0; else if (_this.get$isVisualOnly()) return B.PrimaryRole_5; else { t1 = _this.__engine$_flags; if ((t1 & 1) !== 0 || (t1 & 65536) !== 0) return B.PrimaryRole_4; else if ((t1 & 8) !== 0) return B.PrimaryRole_2; else { t2 = _this.__engine$_actions; t2.toString; if ((t2 & 32) !== 0 || (t2 & 16) !== 0 || (t2 & 4) !== 0 || (t2 & 8) !== 0) return B.PrimaryRole_1; else if ((t1 & 2048) !== 0) return B.PrimaryRole_6; else if ((t1 & 4194304) !== 0) return B.PrimaryRole_9; else return B.PrimaryRole_8; } } } }, _createPrimaryRole$1(role) { var t1, t2, t3, _this = this; switch (role.index) { case 3: t1 = new A.TextField0(B.PrimaryRole_3, _this); t2 = A.PrimaryRoleManager__initElement(t1.createElement$0(0), _this); t1.__PrimaryRoleManager_element_F !== $ && A.throwUnnamedLateFieldAI(); t1.__PrimaryRoleManager_element_F = t2; t1._setupDomElement$0(); break; case 1: t1 = A.DomDocumentExtension_createElement(self.document, "flt-semantics-scroll-overflow"); t2 = new A.Scrollable0(t1, B.PrimaryRole_1, _this); t2.PrimaryRoleManager$withBasics$2(B.PrimaryRole_1, _this); t3 = t1.style; A.DomCSSStyleDeclarationExtension_setProperty(t3, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "pointer-events", "none"); t3 = t2.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3.append(t1); t1 = t2; break; case 0: t1 = A.Incrementable$(_this); break; case 2: t1 = new A.Button(B.PrimaryRole_2, _this); t1.PrimaryRoleManager$withBasics$2(B.PrimaryRole_2, _this); t2 = t1.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.jsify("button"); A.callMethod(t2, "setAttribute", ["role", t3 == null ? type$.Object._as(t3) : t3]); break; case 4: t1 = new A.Checkable(A._checkableKindFromSemanticsFlag(_this), B.PrimaryRole_4, _this); t1.PrimaryRoleManager$withBasics$2(B.PrimaryRole_4, _this); break; case 6: t1 = A.Dialog$0(_this); break; case 5: t1 = new A.ImageRoleManager(B.PrimaryRole_5, _this); t2 = A.PrimaryRoleManager__initElement(t1.createElement$0(0), _this); t1.__PrimaryRoleManager_element_F !== $ && A.throwUnnamedLateFieldAI(); t1.__PrimaryRoleManager_element_F = t2; t2 = A.Focusable$(_this, t1); t1._focusable = t2; t1.addSecondaryRole$1(t2); t1.addSecondaryRole$1(new A.LiveRegion(B.Role_3, _this, t1)); t1.addSecondaryRole$1(new A.RouteName(B.Role_4, _this, t1)); t1.addSecondaryRole$1(A.Tappable$(_this, t1)); break; case 7: t1 = new A.PlatformViewRoleManager(B.PrimaryRole_7, _this); t1.PrimaryRoleManager$withBasics$2(B.PrimaryRole_7, _this); break; case 9: t1 = new A.Link(B.PrimaryRole_9, _this); t1.PrimaryRoleManager$withBasics$2(B.PrimaryRole_9, _this); break; case 8: t1 = new A.GenericRole(B.PrimaryRole_8, _this); t1.PrimaryRoleManager$withBasics$2(B.PrimaryRole_8, _this); break; default: t1 = null; } return t1; }, _updateRoles$0() { var previousElement, container, $parent, _this = this, currentPrimaryRole = _this.primaryRole, roleId = _this._getPrimaryRoleIdentifier$0(), t1 = _this.primaryRole; if (t1 == null) previousElement = null; else { t1 = t1.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); previousElement = t1; } if (currentPrimaryRole != null) if (currentPrimaryRole.role === roleId) { currentPrimaryRole.update$0(0); return; } else { currentPrimaryRole.dispose$0(); currentPrimaryRole = _this.primaryRole = null; } if (currentPrimaryRole == null) { currentPrimaryRole = _this._createPrimaryRole$1(roleId); _this.primaryRole = currentPrimaryRole; currentPrimaryRole.update$0(0); } t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); if (!J.$eq$(previousElement, t1)) { container = _this._childContainerElement; if (container != null) { t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.append(container); } $parent = previousElement == null ? null : previousElement.parentElement; if ($parent != null) { t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); $parent.insertBefore(t1, previousElement); previousElement.remove(); } } }, recomputePositionAndSize$0() { var t2, containerElement, hasZeroRectOffset, transform, hasIdentityTransform, effectiveTransform, left, $top, effectiveTransformIsIdentity, t3, t4, t5, _this = this, t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.style; t2 = _this.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", A.S(t2.right - t2.left) + "px"); t2 = _this.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", A.S(t2.bottom - t2.top) + "px"); t1 = _this._childrenInTraversalOrder; containerElement = t1 != null && !B.NativeInt32List_methods.get$isEmpty(t1) ? _this.getOrCreateChildContainer$0() : null; t1 = _this.__engine$_rect; hasZeroRectOffset = t1.top === 0 && t1.left === 0; transform = _this.__engine$_transform; t1 = transform == null; hasIdentityTransform = t1 || A.transformKindOf(transform) === B.TransformKind_0; if (hasZeroRectOffset && hasIdentityTransform && _this.verticalContainerAdjustment === 0 && _this.horizontalContainerAdjustment === 0) { t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.SemanticsObject__clearSemanticElementTransform(t1); if (containerElement != null) A.SemanticsObject__clearSemanticElementTransform(containerElement); return; } effectiveTransform = A._Cell$named("effectiveTransform"); if (!hasZeroRectOffset) if (t1) { t1 = _this.__engine$_rect; left = t1.left; $top = t1.top; t1 = A.Matrix4$identity(); t1.setTranslationRaw$3(left, $top, 0); effectiveTransform.__late_helper$_value = t1; effectiveTransformIsIdentity = left === 0 && $top === 0; } else { t1 = new A.Matrix4(new Float32Array(16)); t1.setFrom$1(new A.Matrix4(transform)); t2 = _this.__engine$_rect; t1.translate$2(0, t2.left, t2.top); effectiveTransform.__late_helper$_value = t1; effectiveTransformIsIdentity = J.isIdentity$0$z(effectiveTransform._readLocal$0()); } else if (!hasIdentityTransform) { effectiveTransform.__late_helper$_value = new A.Matrix4(transform); effectiveTransformIsIdentity = false; } else effectiveTransformIsIdentity = true; t1 = _this.primaryRole; if (!effectiveTransformIsIdentity) { t1 = t1.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform", A.float64ListToCssTransform(effectiveTransform._readLocal$0()._m4storage)); } else { t1 = t1.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.SemanticsObject__clearSemanticElementTransform(t1); } if (containerElement != null) if (!hasZeroRectOffset || _this.verticalContainerAdjustment !== 0 || _this.horizontalContainerAdjustment !== 0) { t1 = _this.__engine$_rect; t2 = t1.left; t3 = _this.horizontalContainerAdjustment; t1 = t1.top; t4 = _this.verticalContainerAdjustment; t5 = containerElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t5, "top", A.S(-t1 + t4) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t5, "left", A.S(-t2 + t3) + "px"); } else A.SemanticsObject__clearSemanticElementTransform(containerElement); }, _visitDepthFirstInTraversalOrder$1(callback) { var childrenInTraversalOrder, t1, t2, _i; if (!callback.call$1(this)) return false; childrenInTraversalOrder = this._childrenInTraversalOrder; if (childrenInTraversalOrder == null) return true; for (t1 = childrenInTraversalOrder.length, t2 = this.owner._semanticsTree, _i = 0; _i < t1; ++_i) if (!t2.$index(0, childrenInTraversalOrder[_i])._visitDepthFirstInTraversalOrder$1(callback)) return false; return true; }, toString$0(_) { return this.super$Object$toString(0); }, dispose$0() { var t1, _this = this; _this._isDisposed = true; t1 = _this.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.remove(); _this.__engine$_parent = null; t1 = _this.primaryRole; if (t1 != null) t1.dispose$0(); _this.primaryRole = null; }, get$id(receiver) { return this.id; } }; A.AccessibilityMode.prototype = { _enumToString$0() { return "AccessibilityMode." + this._core$_name; } }; A.GestureMode.prototype = { _enumToString$0() { return "GestureMode." + this._core$_name; } }; A.SemanticsUpdatePhase.prototype = { _enumToString$0() { return "SemanticsUpdatePhase." + this._core$_name; } }; A.EngineSemantics.prototype = { set$semanticsEnabled(value) { var t1, t2, t3; if (this._semanticsEnabled) return; t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = t1.configuration; t1.configuration = t2.copyWith$1$accessibilityFeatures(t2.accessibilityFeatures.copyWith$1$accessibleNavigation(true)); this._semanticsEnabled = true; t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = this._semanticsEnabled; t3 = t1.configuration; if (t2 !== t3.semanticsEnabled) { t1.configuration = t3.copyWith$1$semanticsEnabled(t2); t2 = t1._onSemanticsEnabledChanged; if (t2 != null) A.invoke(t2, t1._onSemanticsEnabledChangedZone); } }, didReceiveSemanticsUpdate$0() { if (!this._semanticsEnabled) { this.semanticsHelper._semanticsEnabler.dispose$0(); this.set$semanticsEnabled(true); } }, _getGestureModeClock$0() { var _this = this, t1 = _this._gestureModeClock; if (t1 == null) { t1 = _this._gestureModeClock = new A.AlarmClock(_this._now); t1.callback = new A.EngineSemantics__getGestureModeClock_closure(_this); } return t1; }, receiveGlobalEvent$1($event) { var t1, _this = this; if (B.JSArray_methods.contains$1(B.List_CEh, $event.type)) { t1 = _this._getGestureModeClock$0(); t1.toString; t1.set$datetime(J.add$1$ax(_this._now.call$0(), B.Duration_500000)); if (_this._gestureMode !== B.GestureMode_0) { _this._gestureMode = B.GestureMode_0; _this._notifyGestureModeListeners$0(); } } return _this.semanticsHelper._semanticsEnabler.shouldEnableSemantics$1($event); }, _notifyGestureModeListeners$0() { var t1, i; for (t1 = this._gestureModeListeners, i = 0; i < t1.length; ++i) t1[i].call$1(this._gestureMode); }, shouldAcceptBrowserGesture$1(eventType) { if (B.JSArray_methods.contains$1(B.List_click_scroll, eventType)) return this._gestureMode === B.GestureMode_1; return false; } }; A.EngineSemantics__now_closure.prototype = { call$0() { return new A.DateTime(Date.now(), false); }, $signature: 545 }; A.EngineSemantics__getGestureModeClock_closure.prototype = { call$0() { var t1 = this.$this; if (t1._gestureMode === B.GestureMode_1) return; t1._gestureMode = B.GestureMode_1; t1._notifyGestureModeListeners$0(); }, $signature: 0 }; A.EngineSemanticsOwner.prototype = { EngineSemanticsOwner$1(semanticsHost) { $._hotRestartListeners.push(new A.EngineSemanticsOwner_closure(this)); }, _finalizeTree$0() { var callback, t2, t3, _i, t4, t5, _this = this, t1 = type$.SemanticsObject, removals = A.LinkedHashSet_LinkedHashSet$_empty(t1); for (t2 = _this._detachments, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) t2[_i]._visitDepthFirstInTraversalOrder$1(new A.EngineSemanticsOwner__finalizeTree_closure(_this, removals)); for (t2 = A._LinkedHashSetIterator$(removals, removals._collection$_modifications, removals.$ti._precomputed1), t3 = _this._semanticsTree, t4 = t2.$ti._precomputed1; t2.moveNext$0();) { t5 = t2._collection$_current; if (t5 == null) t5 = t4._as(t5); t3.remove$1(0, t5.id); t5.dispose$0(); } _this._detachments = A._setArrayType([], type$.JSArray_SemanticsObject); _this._attachments = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1); _this._phase = B.SemanticsUpdatePhase_2; try { t1 = _this._oneTimePostUpdateCallbacks; t2 = t1.length; if (t2 !== 0) { for (_i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { callback = t1[_i]; callback.call$0(); } _this._oneTimePostUpdateCallbacks = A._setArrayType([], type$.JSArray_of_void_Function); } } finally { _this._phase = B.SemanticsUpdatePhase_0; } _this._hasNodeRequestingFocus = false; }, updateSemantics$1(uiUpdate) { var nodeUpdates, t2, _i, t3, nodeUpdate, object, t4, _this = this, t1 = $.EngineSemantics__instance; (t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1).didReceiveSemanticsUpdate$0(); t1 = $.EngineSemantics__instance; if (!(t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._semanticsEnabled) return; _this._phase = B.SemanticsUpdatePhase_1; nodeUpdates = uiUpdate._nodeUpdates; for (t1 = nodeUpdates.length, t2 = _this._semanticsTree, _i = 0; t3 = nodeUpdates.length, _i < t3; nodeUpdates.length === t1 || (0, A.throwConcurrentModificationError)(nodeUpdates), ++_i) { nodeUpdate = nodeUpdates[_i]; t3 = nodeUpdate.id; object = t2.$index(0, t3); if (object == null) { object = new A.SemanticsObject(t3, _this); t2.$indexSet(0, t3, object); } t3 = nodeUpdate.flags; if (object.__engine$_flags !== t3) { object.__engine$_flags = t3; object._dirtyFields = (object._dirtyFields | 1) >>> 0; } t3 = nodeUpdate.value; if (object.__engine$_value !== t3) { object.__engine$_value = t3; object._dirtyFields = (object._dirtyFields | 4096) >>> 0; } t3 = nodeUpdate.valueAttributes; if (object._valueAttributes !== t3) { object._valueAttributes = t3; object._dirtyFields = (object._dirtyFields | 4096) >>> 0; } t3 = nodeUpdate.label; if (object.__engine$_label !== t3) { object.__engine$_label = t3; object._dirtyFields = (object._dirtyFields | 1024) >>> 0; } t3 = nodeUpdate.labelAttributes; if (object._labelAttributes !== t3) { object._labelAttributes = t3; object._dirtyFields = (object._dirtyFields | 1024) >>> 0; } t3 = nodeUpdate.rect; if (!J.$eq$(object.__engine$_rect, t3)) { object.__engine$_rect = t3; object._dirtyFields = (object._dirtyFields | 512) >>> 0; } t3 = nodeUpdate.transform; if (object.__engine$_transform !== t3) { object.__engine$_transform = t3; object._dirtyFields = (object._dirtyFields | 65536) >>> 0; } t3 = nodeUpdate.scrollPosition; if (object.__engine$_scrollPosition !== t3) { object.__engine$_scrollPosition = t3; object._dirtyFields = (object._dirtyFields | 64) >>> 0; } t3 = nodeUpdate.actions; if (object.__engine$_actions !== t3) { object.__engine$_actions = t3; object._dirtyFields = (object._dirtyFields | 2) >>> 0; } t3 = nodeUpdate.textSelectionBase; if (object._textSelectionBase !== t3) { object._textSelectionBase = t3; object._dirtyFields = (object._dirtyFields | 4) >>> 0; } t3 = nodeUpdate.textSelectionExtent; if (object._textSelectionExtent !== t3) { object._textSelectionExtent = t3; object._dirtyFields = (object._dirtyFields | 8) >>> 0; } t3 = nodeUpdate.scrollChildren; if (object._scrollChildren !== t3) { object._scrollChildren = t3; object._dirtyFields = (object._dirtyFields | 16) >>> 0; } t3 = nodeUpdate.scrollIndex; if (object._scrollIndex !== t3) { object._scrollIndex = t3; object._dirtyFields = (object._dirtyFields | 32) >>> 0; } t3 = nodeUpdate.scrollExtentMax; if (object.__engine$_scrollExtentMax !== t3) { object.__engine$_scrollExtentMax = t3; object._dirtyFields = (object._dirtyFields | 128) >>> 0; } t3 = nodeUpdate.scrollExtentMin; if (object.__engine$_scrollExtentMin !== t3) { object.__engine$_scrollExtentMin = t3; object._dirtyFields = (object._dirtyFields | 256) >>> 0; } t3 = nodeUpdate.hint; if (object._hint !== t3) { object._hint = t3; object._dirtyFields = (object._dirtyFields | 2048) >>> 0; } t3 = nodeUpdate.hintAttributes; if (object._hintAttributes !== t3) { object._hintAttributes = t3; object._dirtyFields = (object._dirtyFields | 2048) >>> 0; } t3 = nodeUpdate.increasedValue; if (object._increasedValue !== t3) { object._increasedValue = t3; object._dirtyFields = (object._dirtyFields | 8192) >>> 0; } t3 = nodeUpdate.increasedValueAttributes; if (object._increasedValueAttributes !== t3) { object._increasedValueAttributes = t3; object._dirtyFields = (object._dirtyFields | 8192) >>> 0; } t3 = nodeUpdate.decreasedValue; if (object._decreasedValue !== t3) { object._decreasedValue = t3; object._dirtyFields = (object._dirtyFields | 16384) >>> 0; } t3 = nodeUpdate.decreasedValueAttributes; if (object._decreasedValueAttributes !== t3) { object._decreasedValueAttributes = t3; object._dirtyFields = (object._dirtyFields | 16384) >>> 0; } t3 = nodeUpdate.tooltip; if (object.__engine$_tooltip !== t3) { object.__engine$_tooltip = t3; object._dirtyFields = (object._dirtyFields | 4194304) >>> 0; } t3 = nodeUpdate.textDirection; if (object.__engine$_textDirection != t3) { object.__engine$_textDirection = t3; object._dirtyFields = (object._dirtyFields | 32768) >>> 0; } t3 = nodeUpdate.childrenInHitTestOrder; if (object.__engine$_childrenInHitTestOrder !== t3) { object.__engine$_childrenInHitTestOrder = t3; object._dirtyFields = (object._dirtyFields | 1048576) >>> 0; } t3 = nodeUpdate.childrenInTraversalOrder; if (object._childrenInTraversalOrder !== t3) { object._childrenInTraversalOrder = t3; object._dirtyFields = (object._dirtyFields | 524288) >>> 0; } t3 = nodeUpdate.additionalActions; if (object._additionalActions !== t3) { object._additionalActions = t3; object._dirtyFields = (object._dirtyFields | 2097152) >>> 0; } t3 = nodeUpdate.platformViewId; if (object.__engine$_platformViewId !== t3) { object.__engine$_platformViewId = t3; object._dirtyFields = (object._dirtyFields | 8388608) >>> 0; } object._updateRoles$0(); t3 = object._dirtyFields; if ((t3 & 512) !== 0 || (t3 & 65536) !== 0 || (t3 & 64) !== 0) object.recomputePositionAndSize$0(); t3 = object._childrenInTraversalOrder; t3 = !(t3 != null && !B.NativeInt32List_methods.get$isEmpty(t3)) && object.__engine$_platformViewId === -1; t4 = object.primaryRole; if (t3) { t3 = t4.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3.style; t3.setProperty.apply(t3, ["pointer-events", "all", ""]); } else { t3 = t4.__PrimaryRoleManager_element_F; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3.style; t3.setProperty.apply(t3, ["pointer-events", "none", ""]); } } for (_i = 0; _i < nodeUpdates.length; nodeUpdates.length === t3 || (0, A.throwConcurrentModificationError)(nodeUpdates), ++_i) { object = t2.$index(0, nodeUpdates[_i].id); object.updateChildren$0(); object._dirtyFields = 0; } t1 = t2.$index(0, 0); t1.toString; if (_this._rootSemanticsElement == null) { t1 = t1.primaryRole.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); _this._rootSemanticsElement = t1; _this.semanticsHost.append(t1); } _this._finalizeTree$0(); }, reset$0(_) { var i, object, _this = this, t1 = _this._semanticsTree, t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"), keys = A.List_List$of(new A.LinkedHashMapKeyIterable(t1, t2), true, t2._eval$1("Iterable.E")), len = keys.length; for (i = 0; i < len; ++i) { object = t1.$index(0, keys[i]); if (object != null) _this._detachments.push(object); } _this._finalizeTree$0(); t2 = _this._rootSemanticsElement; if (t2 != null) t2.remove(); _this._rootSemanticsElement = null; t1.clear$0(0); _this._attachments.clear$0(0); B.JSArray_methods.clear$0(_this._detachments); _this._phase = B.SemanticsUpdatePhase_0; B.JSArray_methods.clear$0(_this._oneTimePostUpdateCallbacks); } }; A.EngineSemanticsOwner_closure.prototype = { call$0() { var t1 = this.$this._rootSemanticsElement; if (t1 != null) t1.remove(); }, $signature: 0 }; A.EngineSemanticsOwner__finalizeTree_closure.prototype = { call$1(node) { if (this.$this._attachments.$index(0, node.id) == null) this.removals.add$1(0, node); return true; }, $signature: 905 }; A.EnabledState.prototype = { _enumToString$0() { return "EnabledState." + this._core$_name; } }; A.SemanticsHelper.prototype = { dispose$0() { this._semanticsEnabler.dispose$0(); } }; A.SemanticsEnabler.prototype = { shouldEnableSemantics$1($event) { if (!this.get$isWaitingToEnableSemantics()) return true; else return this.tryEnableSemantics$1($event); } }; A.DesktopSemanticsEnabler.prototype = { get$isWaitingToEnableSemantics() { return this._semanticsPlaceholder != null; }, tryEnableSemantics$1($event) { var t1; if (this._semanticsPlaceholder == null) return true; t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._semanticsEnabled) return true; if (!B.Set_8Gl9.contains$1(0, $event.type)) return true; if (!J.$eq$($event.target, this._semanticsPlaceholder)) return true; t1 = $.EngineSemantics__instance; (t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1).set$semanticsEnabled(true); this.dispose$0(); return false; }, prepareAccessibilityPlaceholder$0() { var t1, _s12_ = "setAttribute", placeholder = this._semanticsPlaceholder = A.DomDocumentExtension_createElement(self.document, "flt-semantics-placeholder"); A.DomEventTargetExtension_addEventListener(placeholder, "click", type$.JavaScriptFunction._as(A.allowInterop(new A.DesktopSemanticsEnabler_prepareAccessibilityPlaceholder_closure(this))), true); t1 = A.jsify("button"); A.callMethod(placeholder, _s12_, ["role", t1 == null ? type$.Object._as(t1) : t1]); t1 = A.jsify("polite"); A.callMethod(placeholder, _s12_, ["aria-live", t1 == null ? type$.Object._as(t1) : t1]); t1 = A.jsify("0"); A.callMethod(placeholder, _s12_, ["tabindex", t1 == null ? type$.Object._as(t1) : t1]); t1 = A.jsify("Enable accessibility"); A.callMethod(placeholder, _s12_, ["aria-label", t1 == null ? type$.Object._as(t1) : t1]); t1 = placeholder.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", "-1px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", "-1px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", "1px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", "1px"); return placeholder; }, dispose$0() { var t1 = this._semanticsPlaceholder; if (t1 != null) t1.remove(); this._semanticsPlaceholder = null; } }; A.DesktopSemanticsEnabler_prepareAccessibilityPlaceholder_closure.prototype = { call$1($event) { this.$this.tryEnableSemantics$1($event); }, $signature: 33 }; A.MobileSemanticsEnabler.prototype = { get$isWaitingToEnableSemantics() { return this._semanticsPlaceholder != null; }, tryEnableSemantics$1($event) { var t1, activationPoint, activatingElementRect, t2, t3, t4, t5, t6, deltaX, deltaY, _this = this; if (_this._semanticsPlaceholder == null) return true; if (_this._schedulePlaceholderRemoval) { t1 = $.$get$_browserEngine(); if (t1 !== B.BrowserEngine_1 || $event.type === "touchend" || $event.type === "pointerup" || $event.type === "click") _this.dispose$0(); return true; } t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._semanticsEnabled) return true; if (++_this.semanticsActivationAttempts >= 20) return _this._schedulePlaceholderRemoval = true; if (!B.Set_EGZpe.contains$1(0, $event.type)) return true; if (_this.semanticsActivationTimer != null) return false; activationPoint = A._Cell$named("activationPoint"); switch ($event.type) { case "click": activationPoint.set$finalLocalValue(new A.DomPoint($event.offsetX, $event.offsetY)); break; case "touchstart": case "touchend": t1 = type$._DomTouchListWrapper_JavaScriptObject; t1 = A.CastIterable_CastIterable(new A._DomTouchListWrapper($event.changedTouches, t1), t1._eval$1("Iterable.E"), type$.JavaScriptObject); t1 = A._instanceType(t1)._rest[1]._as(J.get$first$ax(t1._source)); activationPoint.set$finalLocalValue(new A.DomPoint(t1.clientX, t1.clientY)); break; case "pointerdown": case "pointerup": activationPoint.set$finalLocalValue(new A.DomPoint($event.clientX, $event.clientY)); break; default: return true; } activatingElementRect = _this._semanticsPlaceholder.getBoundingClientRect(); t1 = activatingElementRect.left; t2 = activatingElementRect.right; t3 = activatingElementRect.left; t4 = activatingElementRect.top; t5 = activatingElementRect.bottom; t6 = activatingElementRect.top; deltaX = activationPoint._readLocal$0().x - (t1 + (t2 - t3) / 2); deltaY = activationPoint._readLocal$0().y - (t4 + (t5 - t6) / 2); if (deltaX * deltaX + deltaY * deltaY < 1 && true) { _this._schedulePlaceholderRemoval = true; _this.semanticsActivationTimer = A.Timer_Timer(B.Duration_300000, new A.MobileSemanticsEnabler_tryEnableSemantics_closure(_this)); return false; } return true; }, prepareAccessibilityPlaceholder$0() { var t1, _s12_ = "setAttribute", placeholder = this._semanticsPlaceholder = A.DomDocumentExtension_createElement(self.document, "flt-semantics-placeholder"); A.DomEventTargetExtension_addEventListener(placeholder, "click", type$.JavaScriptFunction._as(A.allowInterop(new A.MobileSemanticsEnabler_prepareAccessibilityPlaceholder_closure(this))), true); t1 = A.jsify("button"); A.callMethod(placeholder, _s12_, ["role", t1 == null ? type$.Object._as(t1) : t1]); t1 = A.jsify("Enable accessibility"); A.callMethod(placeholder, _s12_, ["aria-label", t1 == null ? type$.Object._as(t1) : t1]); t1 = placeholder.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "right", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "bottom", "0"); return placeholder; }, dispose$0() { var t1 = this._semanticsPlaceholder; if (t1 != null) t1.remove(); this.semanticsActivationTimer = this._semanticsPlaceholder = null; } }; A.MobileSemanticsEnabler_tryEnableSemantics_closure.prototype = { call$0() { this.$this.dispose$0(); var t1 = $.EngineSemantics__instance; (t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1).set$semanticsEnabled(true); }, $signature: 0 }; A.MobileSemanticsEnabler_prepareAccessibilityPlaceholder_closure.prototype = { call$1($event) { this.$this.tryEnableSemantics$1($event); }, $signature: 33 }; A.Button.prototype = { focusAsRouteDefault$0() { var t1 = this._focusable; if (t1 == null) t1 = null; else { t1 = t1.owner.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.focus(); t1 = true; } return t1 === true; }, update$0(_) { var t1, t2; this.super$PrimaryRoleManager$update(0); t1 = this.semanticsObject.enabledState$0(); t2 = this.__PrimaryRoleManager_element_F; if (t1 === B.EnabledState_2) { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify("true"); A.callMethod(t2, "setAttribute", ["aria-disabled", t1 == null ? type$.Object._as(t1) : t1]); } else { t2 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t2, "removeAttribute", ["aria-disabled"]); } } }; A.Tappable.prototype = { Tappable$2(semanticsObject, owner) { var t2, t1 = type$.JavaScriptFunction._as(A.allowInterop(new A.Tappable_closure(this, semanticsObject))); this._clickListener = t1; t2 = owner.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); A.DomEventTargetExtension_addEventListener(t2, "click", t1, null); }, update$0(_) { var t2, _this = this, wasListening = _this._isListening, t1 = _this.semanticsObject; if (t1.enabledState$0() !== B.EnabledState_2) { t1 = t1.__engine$_actions; t1.toString; t1 = (t1 & 1) !== 0; } else t1 = false; _this._isListening = t1; if (wasListening !== t1) { t2 = _this.owner.__PrimaryRoleManager_element_F; if (t1) { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A.jsify(""); A.callMethod(t2, "setAttribute", ["flt-tappable", t1 == null ? type$.Object._as(t1) : t1]); } else { t2 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t2, "removeAttribute", ["flt-tappable"]); } } }, dispose$0() { var _this = this, t1 = _this._clickListener, t2 = _this.owner.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); A.DomEventTargetExtension_removeEventListener(t2, "click", t1, null); _this._clickListener = null; _this.super$RoleManager$dispose(); } }; A.Tappable_closure.prototype = { call$1(click) { $.$get$PointerBinding_clickDebouncer().onClick$3(0, click, this.semanticsObject.id, this.$this._isListening); }, $signature: 33 }; A.SemanticsTextEditingStrategy.prototype = { enable$3$onAction$onChange(_, inputConfig, onAction, onChange) { this.inputConfig = inputConfig; this.onChange = onChange; this.onAction = onAction; }, activate$1(textField) { var t2, t3, _this = this, t1 = _this.activeTextField; if (t1 === textField) return; else if (t1 != null) _this.disable$0(0); _this.activeTextField = textField; _this.domElement = textField.editableElement; _this._syncStyle$0(); t1 = _this.inputConfig; t1.toString; t2 = _this.onChange; t2.toString; t3 = _this.onAction; t3.toString; _this.super$DefaultTextEditingStrategy$enable(0, t1, t3, t2); }, disable$0(_) { var t1, i, t2, t3, _this = this; if (!_this.isEnabled) return; _this.isEnabled = false; _this.geometry = _this.style = null; for (t1 = _this.subscriptions, i = 0; i < t1.length; ++i) { t2 = t1[i]; t3 = t2.target; t3.removeEventListener.apply(t3, [t2.type, t2.listener]); } B.JSArray_methods.clear$0(t1); _this.lastEditingState = null; t1 = _this.domElement; if (t1 != null) t1.blur(); _this._queuedStyle = _this.activeTextField = _this.domElement = null; }, addEventHandlers$0() { var t2, t3, _this = this, t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; if (t1 != null) B.JSArray_methods.addAll$1(_this.subscriptions, t1.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t1.push(A.DomSubscription$(t2, "input", t3)); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "keydown", _this.get$maybeSendAction())); t1.push(A.DomSubscription$(self.document, "selectionchange", t3)); _this.preventDefaultForMouseEvents$0(); }, initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { this.isEnabled = true; this.__DefaultTextEditingStrategy_inputConfiguration_A = inputConfig; this.applyConfiguration$1(inputConfig); }, placeElement$0() { this.__DefaultTextEditingStrategy_inputConfiguration_A === $ && A.throwUnnamedLateFieldNI(); this.domElement.focus(); }, initializeElementPlacement$0() { }, updateElementPlacement$1(textGeometry) { }, updateElementStyle$1(textStyle) { this._queuedStyle = textStyle; this._syncStyle$0(); }, _syncStyle$0() { var t1 = this._queuedStyle; if (t1 == null || this.domElement == null) return; t1.toString; this.super$DefaultTextEditingStrategy$updateElementStyle(t1); } }; A.TextField0.prototype = { focusAsRouteDefault$0() { var editableElement = this.editableElement; if (editableElement == null) return false; editableElement.focus(); return true; }, _initializeEditableElement$0() { var t3, _this = this, _s12_ = "setAttribute", t1 = _this.semanticsObject, t2 = (t1.__engine$_flags & 524288) !== 0 ? A.DomDocumentExtension_createElement(self.document, "textarea") : A.DomDocumentExtension_createElement(self.document, "input"); _this.editableElement = t2; t2.spellcheck = false; t3 = A.jsify("off"); A.callMethod(t2, _s12_, ["autocorrect", t3 == null ? type$.Object._as(t3) : t3]); t3 = A.jsify("off"); A.callMethod(t2, _s12_, ["autocomplete", t3 == null ? type$.Object._as(t3) : t3]); t3 = A.jsify("text-field"); A.callMethod(t2, _s12_, ["data-semantics-role", t3 == null ? type$.Object._as(t3) : t3]); t2 = _this.editableElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t2, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t2, "top", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t2, "left", "0"); t3 = t1.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t2, "width", A.S(t3.right - t3.left) + "px"); t1 = t1.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t2, "height", A.S(t1.bottom - t1.top) + "px"); t1 = _this.editableElement; t1.toString; t2 = _this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t2.append(t1); }, _setupDomElement$0() { var t1 = $.$get$_browserEngine(); switch (t1.index) { case 0: case 2: this._initializeForBlink$0(); break; case 1: this._initializeForWebkit$0(); break; } }, _initializeForBlink$0() { var t1, t2, _this = this; _this._initializeEditableElement$0(); t1 = _this.editableElement; t1.toString; t2 = type$.JavaScriptFunction; A.DomEventTargetExtension_addEventListener(t1, "focus", t2._as(A.allowInterop(new A.TextField__initializeForBlink_closure(_this))), null); t1 = _this.editableElement; t1.toString; A.DomEventTargetExtension_addEventListener(t1, "blur", t2._as(A.allowInterop(new A.TextField__initializeForBlink_closure0(_this))), null); }, _initializeForWebkit$0() { var t3, _s12_ = "setAttribute", t1 = {}, t2 = $.$get$_operatingSystem(); if (t2 === B.OperatingSystem_4) { this._initializeForBlink$0(); return; } t2 = this.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.jsify("textbox"); A.callMethod(t2, _s12_, ["role", t3 == null ? type$.Object._as(t3) : t3]); t3 = A.jsify("false"); A.callMethod(t2, _s12_, ["contenteditable", t3 == null ? type$.Object._as(t3) : t3]); t3 = A.jsify("0"); A.callMethod(t2, _s12_, ["tabindex", t3 == null ? type$.Object._as(t3) : t3]); t1.lastPointerDownOffsetY = t1.lastPointerDownOffsetX = null; t3 = type$.JavaScriptFunction; A.DomEventTargetExtension_addEventListener(t2, "pointerdown", t3._as(A.allowInterop(new A.TextField__initializeForWebkit_closure(t1))), true); A.DomEventTargetExtension_addEventListener(t2, "pointerup", t3._as(A.allowInterop(new A.TextField__initializeForWebkit_closure0(t1, this))), true); }, _invokeIosWorkaround$0() { var t1, _this = this; if (_this.editableElement != null) return; _this._initializeEditableElement$0(); A.DomCSSStyleDeclarationExtension_setProperty(_this.editableElement.style, "transform", "translate(-9999px, -9999px)"); t1 = _this._positionInputElementTimer; if (t1 != null) t1.cancel$0(0); _this._positionInputElementTimer = A.Timer_Timer(B.Duration_100000, new A.TextField__invokeIosWorkaround_closure(_this)); _this.editableElement.focus(); t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); A.callMethod(t1, "removeAttribute", ["role"]); t1 = _this.editableElement; t1.toString; A.DomEventTargetExtension_addEventListener(t1, "blur", type$.JavaScriptFunction._as(A.allowInterop(new A.TextField__invokeIosWorkaround_closure0(_this))), null); }, update$0(_) { var t1, t2, t3, element, _this = this; _this.super$PrimaryRoleManager$update(0); t1 = _this.editableElement; if (t1 != null) { t1 = t1.style; t2 = _this.semanticsObject; t3 = t2.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", A.S(t3.right - t3.left) + "px"); t3 = t2.__engine$_rect; A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", A.S(t3.bottom - t3.top) + "px"); if ((t2.__engine$_flags & 32) !== 0) { t1 = self.document.activeElement; t3 = _this.editableElement; t3.toString; if (!J.$eq$(t1, t3)) t2.owner._oneTimePostUpdateCallbacks.push(new A.TextField_update_closure(_this)); t1 = $.SemanticsTextEditingStrategy__instance; if (t1 != null) t1.activate$1(_this); } else { t1 = self.document.activeElement; t2 = _this.editableElement; t2.toString; if (J.$eq$(t1, t2)) { t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1) { t1 = $.$get$_operatingSystem(); t1 = t1 === B.OperatingSystem_0; } else t1 = false; if (!t1) { t1 = $.SemanticsTextEditingStrategy__instance; if (t1 != null) if (t1.activeTextField === _this) t1.disable$0(0); } _this.editableElement.blur(); } } } element = _this.editableElement; if (element == null) { t1 = _this.__PrimaryRoleManager_element_F; t1 === $ && A.throwUnnamedLateFieldNI(); element = t1; } t1 = _this.semanticsObject.__engine$_label; if (t1 != null && t1.length !== 0) { t1.toString; t1 = A.jsify(t1); A.callMethod(element, "setAttribute", ["aria-label", t1 == null ? type$.Object._as(t1) : t1]); } else A.callMethod(element, "removeAttribute", ["aria-label"]); }, dispose$0() { var t1, _this = this; _this.super$PrimaryRoleManager$dispose(); t1 = _this._positionInputElementTimer; if (t1 != null) t1.cancel$0(0); _this._positionInputElementTimer = null; t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1) { t1 = $.$get$_operatingSystem(); t1 = t1 === B.OperatingSystem_0; } else t1 = false; if (!t1) { t1 = _this.editableElement; if (t1 != null) t1.remove(); } t1 = $.SemanticsTextEditingStrategy__instance; if (t1 != null) if (t1.activeTextField === _this) t1.disable$0(0); } }; A.TextField__initializeForBlink_closure.prototype = { call$1($event) { var t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._gestureMode !== B.GestureMode_1) return; $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(this.$this.semanticsObject.id, B.SemanticsAction_32768_didGainAccessibilityFocus, null); }, $signature: 33 }; A.TextField__initializeForBlink_closure0.prototype = { call$1($event) { var t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._gestureMode !== B.GestureMode_1) return; $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(this.$this.semanticsObject.id, B.SemanticsAction_65536_didLoseAccessibilityFocus, null); }, $signature: 33 }; A.TextField__initializeForWebkit_closure.prototype = { call$1($event) { var t1 = this._box_0; t1.lastPointerDownOffsetX = $event.clientX; t1.lastPointerDownOffsetY = $event.clientY; }, $signature: 33 }; A.TextField__initializeForWebkit_closure0.prototype = { call$1($event) { var deltaX, t3, deltaY, t1 = this._box_0, t2 = t1.lastPointerDownOffsetX; if (t2 != null) { deltaX = $event.clientX - t2; t2 = $event.clientY; t3 = t1.lastPointerDownOffsetY; t3.toString; deltaY = t2 - t3; if (deltaX * deltaX + deltaY * deltaY < 324) { t2 = this.$this; $.$get$EnginePlatformDispatcher__instance().invokeOnSemanticsAction$3(t2.semanticsObject.id, B.SemanticsAction_1_tap, null); t2._invokeIosWorkaround$0(); } } t1.lastPointerDownOffsetY = t1.lastPointerDownOffsetX = null; }, $signature: 33 }; A.TextField__invokeIosWorkaround_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.editableElement; if (t2 != null) A.DomCSSStyleDeclarationExtension_setProperty(t2.style, "transform", ""); t1._positionInputElementTimer = null; }, $signature: 0 }; A.TextField__invokeIosWorkaround_closure0.prototype = { call$1($event) { var t3, t1 = this.$this, t2 = t1.__PrimaryRoleManager_element_F; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = A.jsify("textbox"); A.callMethod(t2, "setAttribute", ["role", t3 == null ? type$.Object._as(t3) : t3]); t1.editableElement.remove(); t3 = $.SemanticsTextEditingStrategy__instance; if (t3 != null) if (t3.activeTextField === t1) t3.disable$0(0); t2.focus(); t1.editableElement = null; }, $signature: 33 }; A.TextField_update_closure.prototype = { call$0() { this.$this.editableElement.focus(); }, $signature: 0 }; A._TypedDataBuffer.prototype = { get$length(_) { return this.__engine$_length; }, $index(_, index) { if (index >= this.__engine$_length) throw A.wrapException(A.IndexError$(index, this, null, null, null)); return this._buffer[index]; }, $indexSet(_, index, value) { if (index >= this.__engine$_length) throw A.wrapException(A.IndexError$(index, this, null, null, null)); this._buffer[index] = value; }, set$length(_, newLength) { var t2, i, newBuffer, _this = this, t1 = _this.__engine$_length; if (newLength < t1) for (t2 = _this._buffer, i = newLength; i < t1; ++i) t2[i] = 0; else { t1 = _this._buffer.length; if (newLength > t1) { if (t1 === 0) newBuffer = new Uint8Array(newLength); else newBuffer = _this._createBiggerBuffer$1(newLength); B.NativeUint8List_methods.setRange$3(newBuffer, 0, _this.__engine$_length, _this._buffer); _this._buffer = newBuffer; } } _this.__engine$_length = newLength; }, __engine$_add$1(_, value) { var _this = this, t1 = _this.__engine$_length; if (t1 === _this._buffer.length) _this.__engine$_grow$1(t1); _this._buffer[_this.__engine$_length++] = value; }, add$1(_, value) { var _this = this, t1 = _this.__engine$_length; if (t1 === _this._buffer.length) _this.__engine$_grow$1(t1); _this._buffer[_this.__engine$_length++] = value; }, addAll$3(_, values, start, end) { A.RangeError_checkNotNegative(start, "start"); if (end != null && start > end) throw A.wrapException(A.RangeError$range(end, start, null, "end", null)); this._addAll$3(values, start, end); }, addAll$1(_, values) { return this.addAll$3(0, values, 0, null); }, insertAll$2(_, index, values) { var end, writeIndex, skipCount, value, t2, writeIndex0, _this = this, _null = null, t1 = _this.__engine$_length; A.IndexError_check(index, t1 + 1, _this, _null, "index"); A.RangeError_checkNotNegative(0, "start"); if (index === t1) { _this._addAll$3(values, 0, _null); return; } end = type$.List_dynamic._is(values) ? J.get$length$asx(values) : _null; if (end != null) { _this._insertKnownLength$4(index, values, 0, end); return; } writeIndex = _this.__engine$_length; for (t1 = J.get$iterator$ax(values), skipCount = 0; t1.moveNext$0();) { value = t1.get$current(t1); t2 = _this._buffer; if (writeIndex === t2.length) { t2 = _this._createBiggerBuffer$1(_null); B.NativeUint8List_methods.setRange$3(t2, 0, writeIndex, _this._buffer); _this._buffer = t2; } writeIndex0 = writeIndex + 1; t2[writeIndex] = value; writeIndex = writeIndex0; } A._TypedDataBuffer__reverse(_this._buffer, index, _this.__engine$_length); A._TypedDataBuffer__reverse(_this._buffer, _this.__engine$_length, writeIndex); A._TypedDataBuffer__reverse(_this._buffer, index, writeIndex); _this.__engine$_length = writeIndex; return; }, _addAll$3(values, start, end) { var t1, i, value, _this = this; if (A._instanceType(_this)._eval$1("List<_TypedDataBuffer.E>")._is(values)) end = end == null ? J.get$length$asx(values) : end; if (end != null) { _this._insertKnownLength$4(_this.__engine$_length, values, start, end); return; } for (t1 = J.get$iterator$ax(values), i = 0; t1.moveNext$0();) { value = t1.get$current(t1); if (i >= start) _this.__engine$_add$1(0, value); ++i; } if (i < start) throw A.wrapException(A.StateError$("Too few elements")); }, _insertKnownLength$4(index, values, start, end) { var valuesLength, newLength, t2, _this = this, t1 = J.getInterceptor$asx(values); if (start > t1.get$length(values) || end > t1.get$length(values)) throw A.wrapException(A.StateError$("Too few elements")); valuesLength = end - start; newLength = _this.__engine$_length + valuesLength; _this._ensureCapacity$1(newLength); t1 = _this._buffer; t2 = index + valuesLength; B.NativeUint8List_methods.setRange$4(t1, t2, _this.__engine$_length + valuesLength, t1, index); B.NativeUint8List_methods.setRange$4(_this._buffer, index, t2, values, start); _this.__engine$_length = newLength; }, insert$2(_, index, element) { var t1, t2, newBuffer, _this = this; if (index < 0 || index > _this.__engine$_length) throw A.wrapException(A.RangeError$range(index, 0, _this.__engine$_length, null, null)); t1 = _this.__engine$_length; t2 = _this._buffer; if (t1 < t2.length) { B.NativeUint8List_methods.setRange$4(t2, index + 1, t1 + 1, t2, index); _this._buffer[index] = element; ++_this.__engine$_length; return; } newBuffer = _this._createBiggerBuffer$1(null); B.NativeUint8List_methods.setRange$3(newBuffer, 0, index, _this._buffer); B.NativeUint8List_methods.setRange$4(newBuffer, index + 1, _this.__engine$_length + 1, _this._buffer, index); newBuffer[index] = element; ++_this.__engine$_length; _this._buffer = newBuffer; }, _ensureCapacity$1(requiredCapacity) { var newBuffer, _this = this; if (requiredCapacity <= _this._buffer.length) return; newBuffer = _this._createBiggerBuffer$1(requiredCapacity); B.NativeUint8List_methods.setRange$3(newBuffer, 0, _this.__engine$_length, _this._buffer); _this._buffer = newBuffer; }, _createBiggerBuffer$1(requiredCapacity) { var newLength = this._buffer.length * 2; if (requiredCapacity != null && newLength < requiredCapacity) newLength = requiredCapacity; else if (newLength < 8) newLength = 8; return new Uint8Array(newLength); }, __engine$_grow$1($length) { var t1 = this._createBiggerBuffer$1(null); B.NativeUint8List_methods.setRange$3(t1, 0, $length, this._buffer); this._buffer = t1; }, setRange$4(_, start, end, source, skipCount) { var t1 = this.__engine$_length; if (end > t1) throw A.wrapException(A.RangeError$range(end, 0, t1, null, null)); t1 = this._buffer; if (A._instanceType(this)._eval$1("_TypedDataBuffer<_TypedDataBuffer.E>")._is(source)) B.NativeUint8List_methods.setRange$4(t1, start, end, source._buffer, skipCount); else B.NativeUint8List_methods.setRange$4(t1, start, end, source, skipCount); }, setRange$3(_, start, end, source) { return this.setRange$4(0, start, end, source, 0); } }; A._IntBuffer.prototype = {}; A.Uint8Buffer.prototype = {}; A.MethodCall.prototype = { toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "(" + this.method + ", " + A.S(this.$arguments) + ")"; } }; A.JSONMessageCodec.prototype = { encodeMessage$1(message) { return A.NativeByteData_NativeByteData$view(B.C_Utf8Encoder.convert$1(B.C_JsonCodec.encode$1(message)).buffer, 0, null); }, decodeMessage$1(message) { if (message == null) return message; return B.C_JsonCodec.decode$1(0, B.Utf8Decoder_false.convert$1(J.asUint8List$0$x(J.get$buffer$x(message)))); } }; A.JSONMethodCodec.prototype = { encodeMethodCall$1($call) { return B.C_JSONMessageCodec.encodeMessage$1(A.LinkedHashMap_LinkedHashMap$_literal(["method", $call.method, "args", $call.$arguments], type$.String, type$.dynamic)); }, decodeMethodCall$1(methodCall) { var t1, method, $arguments, _null = null, decoded = B.C_JSONMessageCodec.decodeMessage$1(methodCall); if (!type$.Map_dynamic_dynamic._is(decoded)) throw A.wrapException(A.FormatException$("Expected method call Map, got " + A.S(decoded), _null, _null)); t1 = J.getInterceptor$asx(decoded); method = t1.$index(decoded, "method"); $arguments = t1.$index(decoded, "args"); if (typeof method == "string") return new A.MethodCall(method, $arguments); throw A.wrapException(A.FormatException$("Invalid method call: " + A.S(decoded), _null, _null)); } }; A.StandardMessageCodec.prototype = { encodeMessage$1(message) { var buffer = A.WriteBuffer_WriteBuffer(); this.writeValue$2(0, buffer, true); return buffer.done$0(); }, decodeMessage$1(message) { var buffer, result; if (message == null) return null; buffer = new A.ReadBuffer(message); result = this.readValue$1(0, buffer); if (buffer.__engine$_position < message.byteLength) throw A.wrapException(B.FormatException_oCg); return result; }, writeValue$2(_, buffer, value) { var t1, t2, t3, bytes, _this = this; if (value == null) buffer._buffer.__engine$_add$1(0, 0); else if (A._isBool(value)) { t1 = value ? 1 : 2; buffer._buffer.__engine$_add$1(0, t1); } else if (typeof value == "number") { t1 = buffer._buffer; t1.__engine$_add$1(0, 6); buffer._alignTo$1(8); buffer._eightBytes.setFloat64(0, value, B.C_Endian === $.$get$Endian_host()); t1.addAll$1(0, buffer._eightBytesAsList); } else if (A._isInt(value)) { t1 = -2147483648 <= value && value <= 2147483647; t2 = buffer._buffer; t3 = buffer._eightBytes; if (t1) { t2.__engine$_add$1(0, 3); t3.setInt32(0, value, B.C_Endian === $.$get$Endian_host()); t2.addAll$3(0, buffer._eightBytesAsList, 0, 4); } else { t2.__engine$_add$1(0, 4); B.NativeByteData_methods.setInt64$3(t3, 0, value, $.$get$Endian_host()); } } else if (typeof value == "string") { t1 = buffer._buffer; t1.__engine$_add$1(0, 7); bytes = B.C_Utf8Encoder.convert$1(value); _this.writeSize$2(buffer, bytes.length); t1.addAll$1(0, bytes); } else if (type$.Uint8List._is(value)) { t1 = buffer._buffer; t1.__engine$_add$1(0, 8); _this.writeSize$2(buffer, J.get$length$asx(value)); t1.addAll$1(0, value); } else if (type$.Int32List._is(value)) { t1 = buffer._buffer; t1.__engine$_add$1(0, 9); t2 = J.getInterceptor$asx(value); _this.writeSize$2(buffer, t2.get$length(value)); buffer._alignTo$1(4); t1.addAll$1(0, J.asUint8List$2$x(t2.get$buffer(value), t2.get$offsetInBytes(value), 4 * t2.get$length(value))); } else if (value instanceof A._UnmodifiableInt64ListView) { buffer._buffer.__engine$_add$1(0, 10); _this.writeSize$2(buffer, value.get$length(0)); } else if (type$.Float64List._is(value)) { t1 = buffer._buffer; t1.__engine$_add$1(0, 11); t2 = J.getInterceptor$asx(value); _this.writeSize$2(buffer, t2.get$length(value)); buffer._alignTo$1(8); t1.addAll$1(0, J.asUint8List$2$x(t2.get$buffer(value), t2.get$offsetInBytes(value), 8 * t2.get$length(value))); } else if (type$.List_dynamic._is(value)) { buffer._buffer.__engine$_add$1(0, 12); t1 = J.getInterceptor$asx(value); _this.writeSize$2(buffer, t1.get$length(value)); for (t1 = t1.get$iterator(value); t1.moveNext$0();) _this.writeValue$2(0, buffer, t1.get$current(t1)); } else if (type$.Map_dynamic_dynamic._is(value)) { buffer._buffer.__engine$_add$1(0, 13); t1 = J.getInterceptor$asx(value); _this.writeSize$2(buffer, t1.get$length(value)); t1.forEach$1(value, new A.StandardMessageCodec_writeValue_closure(_this, buffer)); } else throw A.wrapException(A.ArgumentError$value(value, null, null)); }, readValue$1(_, buffer) { if (buffer.__engine$_position >= buffer.data.byteLength) throw A.wrapException(B.FormatException_oCg); return this.readValueOfType$2(buffer.getUint8$0(0), buffer); }, readValueOfType$2(type, buffer) { var result, value, $length, t1, list, i, t2, t3, _this = this; switch (type) { case 0: result = null; break; case 1: result = true; break; case 2: result = false; break; case 3: value = buffer.data.getInt32(buffer.__engine$_position, B.C_Endian === $.$get$Endian_host()); buffer.__engine$_position += 4; result = value; break; case 4: result = buffer.getInt64$0(0); break; case 5: $length = _this.readSize$1(buffer); result = A.int_parse(B.Utf8Decoder_false.convert$1(buffer.getUint8List$1($length)), 16); break; case 6: buffer._alignTo$1(8); value = buffer.data.getFloat64(buffer.__engine$_position, B.C_Endian === $.$get$Endian_host()); buffer.__engine$_position += 8; result = value; break; case 7: $length = _this.readSize$1(buffer); result = B.Utf8Decoder_false.convert$1(buffer.getUint8List$1($length)); break; case 8: result = buffer.getUint8List$1(_this.readSize$1(buffer)); break; case 9: $length = _this.readSize$1(buffer); buffer._alignTo$1(4); t1 = buffer.data; list = A.NativeInt32List_NativeInt32List$view(t1.buffer, t1.byteOffset + buffer.__engine$_position, $length); buffer.__engine$_position = buffer.__engine$_position + 4 * $length; result = list; break; case 10: result = buffer.getInt64List$1(_this.readSize$1(buffer)); break; case 11: $length = _this.readSize$1(buffer); buffer._alignTo$1(8); t1 = buffer.data; list = A.NativeFloat64List_NativeFloat64List$view(t1.buffer, t1.byteOffset + buffer.__engine$_position, $length); buffer.__engine$_position = buffer.__engine$_position + 8 * $length; result = list; break; case 12: $length = _this.readSize$1(buffer); result = []; for (t1 = buffer.data, i = 0; i < $length; ++i) { t2 = buffer.__engine$_position; if (t2 >= t1.byteLength) A.throwExpression(B.FormatException_oCg); buffer.__engine$_position = t2 + 1; result.push(_this.readValueOfType$2(t1.getUint8(t2), buffer)); } break; case 13: $length = _this.readSize$1(buffer); t1 = type$.dynamic; result = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = buffer.data, i = 0; i < $length; ++i) { t2 = buffer.__engine$_position; if (t2 >= t1.byteLength) A.throwExpression(B.FormatException_oCg); buffer.__engine$_position = t2 + 1; t2 = _this.readValueOfType$2(t1.getUint8(t2), buffer); t3 = buffer.__engine$_position; if (t3 >= t1.byteLength) A.throwExpression(B.FormatException_oCg); buffer.__engine$_position = t3 + 1; result.$indexSet(0, t2, _this.readValueOfType$2(t1.getUint8(t3), buffer)); } break; default: throw A.wrapException(B.FormatException_oCg); } return result; }, writeSize$2(buffer, value) { var t1, t2, t3; if (value < 254) buffer._buffer.__engine$_add$1(0, value); else { t1 = buffer._buffer; t2 = buffer._eightBytes; t3 = buffer._eightBytesAsList; if (value <= 65535) { t1.__engine$_add$1(0, 254); t2.setUint16(0, value, B.C_Endian === $.$get$Endian_host()); t1.addAll$3(0, t3, 0, 2); } else { t1.__engine$_add$1(0, 255); t2.setUint32(0, value, B.C_Endian === $.$get$Endian_host()); t1.addAll$3(0, t3, 0, 4); } } }, readSize$1(buffer) { var value = buffer.getUint8$0(0); switch (value) { case 254: value = buffer.data.getUint16(buffer.__engine$_position, B.C_Endian === $.$get$Endian_host()); buffer.__engine$_position += 2; return value; case 255: value = buffer.data.getUint32(buffer.__engine$_position, B.C_Endian === $.$get$Endian_host()); buffer.__engine$_position += 4; return value; default: return value; } } }; A.StandardMessageCodec_writeValue_closure.prototype = { call$2(key, value) { var t1 = this.$this, t2 = this.buffer; t1.writeValue$2(0, t2, key); t1.writeValue$2(0, t2, value); }, $signature: 221 }; A.StandardMethodCodec.prototype = { decodeMethodCall$1(methodCall) { var buffer, method, $arguments; methodCall.toString; buffer = new A.ReadBuffer(methodCall); method = B.C_StandardMessageCodec.readValue$1(0, buffer); $arguments = B.C_StandardMessageCodec.readValue$1(0, buffer); if (typeof method == "string" && buffer.__engine$_position >= methodCall.byteLength) return new A.MethodCall(method, $arguments); else throw A.wrapException(B.FormatException_Qi2); }, encodeSuccessEnvelope$1(result) { var buffer = A.WriteBuffer_WriteBuffer(); buffer._buffer.__engine$_add$1(0, 0); B.C_StandardMessageCodec.writeValue$2(0, buffer, result); return buffer.done$0(); }, encodeErrorEnvelope$3$code$details$message(code, details, message) { var buffer = A.WriteBuffer_WriteBuffer(); buffer._buffer.__engine$_add$1(0, 1); B.C_StandardMessageCodec.writeValue$2(0, buffer, code); B.C_StandardMessageCodec.writeValue$2(0, buffer, message); B.C_StandardMessageCodec.writeValue$2(0, buffer, details); return buffer.done$0(); } }; A.WriteBuffer.prototype = { _alignTo$1(alignment) { var t2, i, t1 = this._buffer, mod = B.JSInt_methods.$mod(t1.__engine$_length, alignment); if (mod !== 0) for (t2 = alignment - mod, i = 0; i < t2; ++i) t1.__engine$_add$1(0, 0); }, done$0() { var t1, t2; this._debugFinalized = true; t1 = this._buffer; t2 = t1._buffer; return A.NativeByteData_NativeByteData$view(t2.buffer, 0, t1.__engine$_length * t2.BYTES_PER_ELEMENT); } }; A.ReadBuffer.prototype = { getUint8$0(_) { return this.data.getUint8(this.__engine$_position++); }, getInt64$0(_) { B.NativeByteData_methods.getInt64$2(this.data, this.__engine$_position, $.$get$Endian_host()); }, getUint8List$1($length) { var t1 = this.data, list = A.NativeUint8List_NativeUint8List$view(t1.buffer, t1.byteOffset + this.__engine$_position, $length); this.__engine$_position += $length; return list; }, getInt64List$1($length) { var t1; this._alignTo$1(8); t1 = this.data; B.NativeByteBuffer_methods.asInt64List$2(t1.buffer, t1.byteOffset + this.__engine$_position, $length); }, _alignTo$1(alignment) { var t1 = this.__engine$_position, mod = B.JSInt_methods.$mod(t1, alignment); if (mod !== 0) this.__engine$_position = t1 + (alignment - mod); } }; A.SurfaceShadowData.prototype = {}; A.CanvasParagraph.prototype = { get$width(_) { return this.get$_layoutService().width; }, get$height(_) { return this.get$_layoutService().height; }, get$longestLine() { var t1 = this.get$_layoutService().longestLine; t1 = t1 == null ? null : t1.lineMetrics.width; return t1 == null ? 0 : t1; }, get$minIntrinsicWidth() { return this.get$_layoutService().minIntrinsicWidth; }, get$maxIntrinsicWidth() { return this.get$_layoutService().maxIntrinsicWidth; }, get$alphabeticBaseline(_) { return this.get$_layoutService().alphabeticBaseline; }, get$ideographicBaseline(_) { return this.get$_layoutService().ideographicBaseline; }, get$didExceedMaxLines() { return this.get$_layoutService().didExceedMaxLines; }, get$_layoutService() { var t1, _this = this, value = _this.__CanvasParagraph__layoutService_FI; if (value === $) { t1 = A._setArrayType([], type$.JSArray_ParagraphLine); _this.__CanvasParagraph__layoutService_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__CanvasParagraph__layoutService_FI = new A.TextLayoutService(_this, t1, B.Rect_0_0_0_0); } return value; }, layout$1(constraints) { var _this = this; if (constraints.$eq(0, _this._lastUsedConstraints)) return; A._Cell$named("stopwatch"); _this.get$_layoutService().performLayout$1(constraints); _this.isLaidOut = true; _this._lastUsedConstraints = constraints; _this._cachedDomElement = null; }, toDomElement$0() { var t1, domElement = this._cachedDomElement; if (domElement == null) { t1 = this._cachedDomElement = this._createDomElement$0(); return t1; } return A.DomNodeExtension_cloneNode(domElement, true); }, _createDomElement$0() { var t1, t2, i, value, t3, result, value0, t4, _i, fragment, text, spanElement, t5, t6, t7, color, strokeWidth, adaptedWidth, background, fontSize, updateDecoration, shadows, t8, textDecoration, decorationColor, fontFeatures, fontVariations, _this = this, _null = null, rootElement = A.DomDocumentExtension_createElement(self.document, "flt-paragraph"), cssStyle = rootElement.style; A.DomCSSStyleDeclarationExtension_setProperty(cssStyle, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(cssStyle, "white-space", "pre"); t1 = type$.Object; t2 = type$.JSArray_ParagraphLine; i = 0; while (true) { value = _this.__CanvasParagraph__layoutService_FI; if (value === $) { t3 = A._setArrayType([], t2); _this.__CanvasParagraph__layoutService_FI !== $ && A.throwUnnamedLateFieldADI(); result = _this.__CanvasParagraph__layoutService_FI = new A.TextLayoutService(_this, t3, B.Rect_0_0_0_0); value0 = result; value = value0; } else value0 = value; if (!(i < value.lines.length)) break; if (value0 === $) { t3 = A._setArrayType([], t2); _this.__CanvasParagraph__layoutService_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__CanvasParagraph__layoutService_FI = new A.TextLayoutService(_this, t3, B.Rect_0_0_0_0); } else value = value0; for (t3 = value.lines[i].fragments, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { fragment = t3[_i]; if (fragment.get$isPlaceholder()) continue; text = fragment.getText$1(_this); if (text.length === 0) continue; spanElement = A.DomDocumentExtension_createElement(self.document, "flt-span"); if (fragment.__engine$_textDirection === B.TextDirection_0) { t5 = A.jsify("rtl"); spanElement.setAttribute.apply(spanElement, ["dir", t5 == null ? t1._as(t5) : t5]); } t5 = fragment.span; t5 = t5.get$style(t5); cssStyle = spanElement.style; t6 = t5.foreground; t7 = t6 == null; color = t7 ? _null : t6.get$color(t6); if (color == null) color = t5.color; if ((t7 ? _null : t6.get$style(t6)) === B.PaintingStyle_1) { cssStyle.setProperty.apply(cssStyle, ["color", "transparent", ""]); strokeWidth = t7 ? _null : t6.get$strokeWidth(); if (strokeWidth != null && strokeWidth > 0) adaptedWidth = strokeWidth; else { $._window.toString; t6 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t6 == null) { t6 = self.window.devicePixelRatio; if (t6 === 0) t6 = 1; } adaptedWidth = 1 / t6; } t6 = color == null ? _null : A.colorValueToCssString(color.get$value(color)); cssStyle.setProperty.apply(cssStyle, ["-webkit-text-stroke", A.S(adaptedWidth) + "px " + A.S(t6), ""]); } else if (color != null) { t6 = A.colorValueToCssString(color.get$value(color)); cssStyle.setProperty.apply(cssStyle, ["color", t6, ""]); } t6 = t5.background; background = t6 == null ? _null : t6.get$color(t6); if (background != null) { t6 = A.colorValueToCssString(background.value); cssStyle.setProperty.apply(cssStyle, ["background-color", t6, ""]); } fontSize = t5.fontSize; if (fontSize != null) { t6 = B.JSNumber_methods.floor$0(fontSize); cssStyle.setProperty.apply(cssStyle, ["font-size", "" + t6 + "px", ""]); } t6 = t5.fontWeight; if (t6 != null) { t6 = A.fontWeightIndexToCss(t6.index); cssStyle.setProperty.apply(cssStyle, ["font-weight", t6, ""]); } t6 = t5.fontStyle; if (t6 != null) { t6 = t6 === B.FontStyle_0 ? "normal" : "italic"; cssStyle.setProperty.apply(cssStyle, ["font-style", t6, ""]); } t6 = A.canonicalizeFontFamily(t5.fontFamily); t6.toString; cssStyle.setProperty.apply(cssStyle, ["font-family", t6, ""]); t6 = t5.letterSpacing; if (t6 != null) cssStyle.setProperty.apply(cssStyle, ["letter-spacing", A.S(t6) + "px", ""]); t6 = t5.wordSpacing; if (t6 != null) cssStyle.setProperty.apply(cssStyle, ["word-spacing", A.S(t6) + "px", ""]); t6 = t5.decoration; t7 = t6 != null; updateDecoration = t7 && true; shadows = t5.shadows; if (shadows != null) { t8 = A._shadowListToCss(shadows); cssStyle.setProperty.apply(cssStyle, ["text-shadow", t8, ""]); } if (updateDecoration) if (t7) { t7 = t5.decorationStyle; t6 = t6._mask; t8 = (t6 | 1) === t6 ? "" + "underline " : ""; if ((t6 | 2) === t6) t8 += "overline "; t6 = (t6 | 4) === t6 ? t8 + "line-through " : t8; if (t7 != null) t6 += A.S(A._decorationStyleToCssString(t7)); textDecoration = t6.length === 0 ? _null : t6.charCodeAt(0) == 0 ? t6 : t6; if (textDecoration != null) { t6 = $.$get$_browserEngine(); if (t6 === B.BrowserEngine_1) { t6 = spanElement.style; t6.setProperty.apply(t6, ["-webkit-text-decoration", textDecoration, ""]); } else cssStyle.setProperty.apply(cssStyle, ["text-decoration", textDecoration, ""]); decorationColor = t5.decorationColor; if (decorationColor != null) { t6 = A.colorValueToCssString(decorationColor.get$value(decorationColor)); cssStyle.setProperty.apply(cssStyle, ["text-decoration-color", t6, ""]); } } } fontFeatures = t5.fontFeatures; if (fontFeatures != null && fontFeatures.length !== 0) { t6 = A._fontFeatureListToCss(fontFeatures); cssStyle.setProperty.apply(cssStyle, ["font-feature-settings", t6, ""]); } fontVariations = t5.fontVariations; if (fontVariations != null && fontVariations.length !== 0) { t5 = A._fontVariationListToCss(fontVariations); cssStyle.setProperty.apply(cssStyle, ["font-variation-settings", t5, ""]); } t5 = fragment.toPaintingTextBox$0(); t6 = t5.left; t7 = t5.top; t8 = spanElement.style; t8.setProperty.apply(t8, ["position", "absolute", ""]); t8.setProperty.apply(t8, ["top", A.S(t7) + "px", ""]); t8.setProperty.apply(t8, ["left", A.S(t6) + "px", ""]); t8.setProperty.apply(t8, ["width", A.S(t5.right - t6) + "px", ""]); t8.setProperty.apply(t8, ["line-height", A.S(t5.bottom - t7) + "px", ""]); t5 = self.document; spanElement.append(t5.createTextNode.apply(t5, [text])); rootElement.append(spanElement); } ++i; } return rootElement; }, getBoxesForPlaceholders$0() { return this.get$_layoutService().getBoxesForPlaceholders$0(); }, getBoxesForRange$4$boxHeightStyle$boxWidthStyle(start, end, boxHeightStyle, boxWidthStyle) { return this.get$_layoutService().getBoxesForRange$4(start, end, boxHeightStyle, boxWidthStyle); }, getBoxesForRange$3$boxHeightStyle(start, end, boxHeightStyle) { return this.getBoxesForRange$4$boxHeightStyle$boxWidthStyle(start, end, boxHeightStyle, B.BoxWidthStyle_0); }, getPositionForOffset$1(offset) { return this.get$_layoutService().getPositionForOffset$1(offset); }, getClosestGlyphInfoForOffset$1(offset) { return this.get$_layoutService().getClosestGlyphInfo$1(offset); }, getWordBoundary$1(position) { var characterPosition, t1; switch (position.affinity.index) { case 0: characterPosition = position.offset - 1; break; case 1: characterPosition = position.offset; break; default: characterPosition = null; } t1 = this.plainText; return new A.TextRange(A.WordBreaker__findBreakIndex(B._FindBreakDirection_m1_1_backward, t1, characterPosition + 1), A.WordBreaker__findBreakIndex(B._FindBreakDirection_1_0_forward, t1, characterPosition)); }, getLineBoundary$1(position) { var lineNumber, line, _this = this; if (_this.get$_layoutService().lines.length === 0) return B.TextRange_m1_m1; lineNumber = _this._findLine$3(position.offset, 0, _this.get$_layoutService().lines.length); line = lineNumber != null ? _this.get$_layoutService().lines[lineNumber] : B.JSArray_methods.get$last(_this.get$_layoutService().lines); return new A.TextRange(line.startIndex, line.endIndex - line.trailingNewlines); }, computeLineMetrics$0() { var t1 = this.get$_layoutService().lines, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,EngineLineMetrics>"); return A.List_List$of(new A.MappedListIterable(t1, new A.CanvasParagraph_computeLineMetrics_closure(), t2), true, t2._eval$1("ListIterable.E")); }, _findLine$3(codeUnitOffset, startLine, endLine) { var t1, isOutOfBounds, midIndex, _this = this; if (endLine > startLine) if (codeUnitOffset >= _this.get$_layoutService().lines[startLine].startIndex) { t1 = endLine < _this.get$_layoutService().lines.length && _this.get$_layoutService().lines[endLine].startIndex <= codeUnitOffset; isOutOfBounds = t1; } else isOutOfBounds = true; else isOutOfBounds = true; if (isOutOfBounds) return null; if (endLine === startLine + 1) return codeUnitOffset >= _this.get$_layoutService().lines[startLine].get$visibleEndIndex() ? null : startLine; midIndex = B.JSInt_methods._tdivFast$1(startLine + endLine, 2); t1 = _this._findLine$3(codeUnitOffset, midIndex, endLine); return t1 == null ? _this._findLine$3(codeUnitOffset, startLine, midIndex) : t1; }, dispose$0() { this._disposed = true; } }; A.CanvasParagraph_computeLineMetrics_closure.prototype = { call$1(line) { return line.lineMetrics; }, $signature: 2716 }; A.ParagraphSpan.prototype = { get$style(receiver) { return this.style; }, get$end(receiver) { return this.end; } }; A.PlaceholderSpan.prototype = {$isParagraphSpan: 1, get$style(receiver) { return this.style; }, get$end(receiver) { return this.end; } }; A.StyleNode.prototype = { resolveStyle$0() { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, style = _this._cachedStyle; if (style == null) { t1 = _this.get$__engine$_color(_this); t2 = _this.get$_decoration(); t3 = _this.get$_decorationColor(); t4 = _this.get$_decorationStyle(); t5 = _this.get$_decorationThickness(); t6 = _this.get$_fontWeight(_this); t7 = _this.get$_fontStyle(_this); t8 = _this.get$_textBaseline(); t9 = _this.get$_fontFamily(_this); t10 = _this.get$_fontFamilyFallback(); t11 = _this.get$_fontFeatures(); t12 = _this.get$_fontVariations(); t13 = _this.get$__engine$_fontSize(_this); t14 = _this.get$_letterSpacing(_this); t15 = _this.get$_wordSpacing(_this); t16 = _this.get$__engine$_height(_this); t17 = _this.get$_leadingDistribution(); t18 = _this.get$_locale(); t15 = _this._cachedStyle = A.EngineTextStyle$only(_this.get$_background(_this), t1, t2, t3, t4, t5, t9, t10, t11, t13, t7, t12, t6, _this.get$_foreground(), t16, t17, t14, t18, _this.get$_shadows(), t8, t15); return t15; } return style; } }; A.ChildStyleNode.prototype = { get$__engine$_color(_) { var t1 = this.style.color; if (t1 == null) if (this.get$_foreground() == null) { t1 = this.parent; t1 = t1.get$__engine$_color(t1); } else t1 = null; return t1; }, get$_decoration() { var t1 = this.style.decoration; return t1 == null ? this.parent.get$_decoration() : t1; }, get$_decorationColor() { var t1 = this.style.decorationColor; return t1 == null ? this.parent.get$_decorationColor() : t1; }, get$_decorationStyle() { var t1 = this.style.decorationStyle; return t1 == null ? this.parent.get$_decorationStyle() : t1; }, get$_decorationThickness() { var t1 = this.style.decorationThickness; return t1 == null ? this.parent.get$_decorationThickness() : t1; }, get$_fontWeight(_) { var t1 = this.style.fontWeight; if (t1 == null) { t1 = this.parent; t1 = t1.get$_fontWeight(t1); } return t1; }, get$_fontStyle(_) { var t1 = this.style.fontStyle; if (t1 == null) { t1 = this.parent; t1 = t1.get$_fontStyle(t1); } return t1; }, get$_textBaseline() { var t1 = this.style.textBaseline; return t1 == null ? this.parent.get$_textBaseline() : t1; }, get$_fontFamilyFallback() { var t1 = this.style.fontFamilyFallback; return t1 == null ? this.parent.get$_fontFamilyFallback() : t1; }, get$_fontFeatures() { var t1 = this.style.fontFeatures; return t1 == null ? this.parent.get$_fontFeatures() : t1; }, get$_fontVariations() { var t1 = this.style.fontVariations; return t1 == null ? this.parent.get$_fontVariations() : t1; }, get$__engine$_fontSize(_) { var t1 = this.style.fontSize; if (t1 == null) { t1 = this.parent; t1 = t1.get$__engine$_fontSize(t1); } return t1; }, get$_letterSpacing(_) { var t1 = this.style.letterSpacing; if (t1 == null) { t1 = this.parent; t1 = t1.get$_letterSpacing(t1); } return t1; }, get$_wordSpacing(_) { var t1 = this.style.wordSpacing; if (t1 == null) { t1 = this.parent; t1 = t1.get$_wordSpacing(t1); } return t1; }, get$__engine$_height(_) { var t1 = this.style.height; if (t1 == null) { t1 = this.parent; t1 = t1.get$__engine$_height(t1); } return t1; }, get$_leadingDistribution() { var t1 = this.style.leadingDistribution; return t1 == null ? this.parent.get$_leadingDistribution() : t1; }, get$_locale() { var t1 = this.style.locale; return t1 == null ? this.parent.get$_locale() : t1; }, get$_background(_) { var t1 = this.style.background; if (t1 == null) { t1 = this.parent; t1 = t1.get$_background(t1); } return t1; }, get$_foreground() { var t1 = this.style.foreground; return t1 == null ? this.parent.get$_foreground() : t1; }, get$_shadows() { var t1 = this.style.shadows; return t1 == null ? this.parent.get$_shadows() : t1; }, get$_fontFamily(_) { var t1 = this.style; if (t1.isFontFamilyProvided) t1 = t1.fontFamily; else { t1 = this.parent; t1 = t1.get$_fontFamily(t1); } return t1; } }; A.RootStyleNode.prototype = { get$__engine$_color(_) { return null; }, get$_decoration() { return null; }, get$_decorationColor() { return null; }, get$_decorationStyle() { return null; }, get$_decorationThickness() { return null; }, get$_fontWeight(_) { return this.paragraphStyle.fontWeight; }, get$_fontStyle(_) { return this.paragraphStyle.fontStyle; }, get$_textBaseline() { return null; }, get$_fontFamily(_) { var t1 = this.paragraphStyle.fontFamily; return t1 == null ? "sans-serif" : t1; }, get$_fontFamilyFallback() { return null; }, get$_fontFeatures() { return null; }, get$_fontVariations() { return null; }, get$__engine$_fontSize(_) { var t1 = this.paragraphStyle.fontSize; return t1 == null ? 14 : t1; }, get$_letterSpacing(_) { return null; }, get$_wordSpacing(_) { return null; }, get$__engine$_height(_) { return this.paragraphStyle.height; }, get$_leadingDistribution() { return null; }, get$_locale() { return this.paragraphStyle.locale; }, get$_background(_) { return null; }, get$_foreground() { return null; }, get$_shadows() { return null; } }; A.CanvasParagraphBuilder.prototype = { get$_currentStyleNode() { var t1 = this._styleStack, t2 = t1.length; return t2 === 0 ? this._rootStyleNode : t1[t2 - 1]; }, get$placeholderCount() { return this._placeholderCount; }, addPlaceholder$5$baseline$baselineOffset(width, height, alignment, baseline, baselineOffset) { var style, _this = this, t1 = _this._plainTextBuffer, t2 = t1._contents, t3 = t2 + $.$get$placeholderChar(); t1._contents = t3; style = _this.get$_currentStyleNode().resolveStyle$0(); _this._updateCanDrawOnCanvas$1(style); ++_this._placeholderCount; _this._placeholderScales.push(1); t1 = baselineOffset == null ? height : baselineOffset; _this._spans.push(new A.PlaceholderSpan(style, t2.length, t3.length, width, height, alignment, t1)); }, addPlaceholder$3(width, height, alignment) { return this.addPlaceholder$5$baseline$baselineOffset(width, height, alignment, null, null); }, pushStyle$1(style) { this._styleStack.push(new A.ChildStyleNode(this.get$_currentStyleNode(), type$.EngineTextStyle._as(style))); }, pop$0() { var t1 = this._styleStack; if (t1.length !== 0) t1.pop(); }, addText$1(text) { var style, _this = this, t1 = _this._plainTextBuffer, t2 = t1._contents, t3 = t2 + text; t1._contents = t3; style = _this.get$_currentStyleNode().resolveStyle$0(); _this._updateCanDrawOnCanvas$1(style); _this._spans.push(new A.ParagraphSpan(style, t2.length, t3.length)); }, _updateCanDrawOnCanvas$1(style) { var letterSpacing, decoration, t1, fontFeatures, fontVariations, _this = this; if (!_this._canDrawOnCanvas) return; letterSpacing = style.letterSpacing; if (letterSpacing != null && letterSpacing !== 0) { _this._canDrawOnCanvas = false; return; } decoration = style.decoration; if (decoration != null) { t1 = decoration._mask; t1 = B.TextDecoration_0._mask !== t1; } else t1 = false; if (t1) { _this._canDrawOnCanvas = false; return; } fontFeatures = style.fontFeatures; if (fontFeatures != null && fontFeatures.length !== 0) { _this._canDrawOnCanvas = false; return; } fontVariations = style.fontVariations; if (fontVariations != null && fontVariations.length !== 0) { _this._canDrawOnCanvas = false; return; } }, build$0() { var t2, _this = this, t1 = _this._spans; if (t1.length === 0) t1.push(new A.ParagraphSpan(_this._rootStyleNode.resolveStyle$0(), 0, 0)); t2 = _this._plainTextBuffer._contents; return new A.CanvasParagraph(t1, _this._paragraphStyle, t2.charCodeAt(0) == 0 ? t2 : t2, _this._canDrawOnCanvas); } }; A.HtmlFontCollection.prototype = { loadAssetFonts$1(manifest) { return this.loadAssetFonts$body$HtmlFontCollection(manifest); }, loadAssetFonts$body$HtmlFontCollection(manifest) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.AssetFontsResult), $async$returnValue, $async$self = this, t1, t2, _i, family, t3, t4, _i0, loadedFonts, fontFailures, _0_1, _0_2, error, asset, pendingFonts, $async$temp1; var $async$loadAssetFonts$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start pendingFonts = A._setArrayType([], type$.JSArray_Future_Record_2_String_and_nullable_FontLoadError); for (t1 = manifest.families, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { family = t1[_i]; for (t3 = family.fontAssets, t4 = t3.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) pendingFonts.push(new A.HtmlFontCollection_loadAssetFonts_closure($async$self, t3[_i0], family).call$0()); } loadedFonts = A._setArrayType([], type$.JSArray_String); fontFailures = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.FontLoadError); $async$temp1 = J; $async$goto = 3; return A._asyncAwait(A.Future_wait(pendingFonts, type$.Record_2_String_and_nullable_FontLoadError), $async$loadAssetFonts$1); case 3: // returning from await. t1 = $async$temp1.get$iterator$ax($async$result); case 4: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 5; break; } t2 = t1.get$current(t1); _0_1 = t2._0; _0_2 = t2._1; error = _0_2; asset = _0_1; t2 = true; if (!t2) throw A.wrapException(A.StateError$("Pattern matching error")); if (error == null) loadedFonts.push(asset); else fontFailures.$indexSet(0, asset, error); // goto for condition $async$goto = 4; break; case 5: // after for $async$returnValue = new A.AssetFontsResult(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$loadAssetFonts$1, $async$completer); }, get$fontFallbackManager() { return null; }, clear$0(_) { self.document.fonts.clear(); }, _loadFontAsset$3(family, asset, descriptors) { return this._loadFontAsset$body$HtmlFontCollection(family, asset, descriptors); }, _loadFontAsset$body$HtmlFontCollection(family, asset, descriptors) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_FontLoadError), $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, error0, font, t1, exception, t2, _i, fontFaces, errors, $async$exception, $async$exception1, $async$temp1, $async$temp2; var $async$_loadFontAsset$3 = A._wrapJsFunctionForAsync(function($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 fontFaces = A._setArrayType([], type$.JSArray_JavaScriptObject); errors = A._setArrayType([], type$.JSArray_FontLoadError); $async$handler = 4; t1 = $.$get$HtmlFontCollection_startWithDigit(); $async$goto = t1._nativeRegExp.test(family) || $.$get$HtmlFontCollection_notPunctuation().stringMatch$1(family) !== family ? 7 : 8; break; case 7: // then $async$temp1 = J; $async$temp2 = fontFaces; $async$goto = 9; return A._asyncAwait($async$self._loadFontFace$3("'" + family + "'", asset, descriptors), $async$_loadFontAsset$3); case 9: // returning from await. $async$temp1.add$1$ax($async$temp2, $async$result); case 8: // join $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.FontLoadError) { error = t1; J.add$1$ax(errors, error); } else throw $async$exception; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally $async$handler = 11; $async$temp1 = J; $async$temp2 = fontFaces; $async$goto = 14; return A._asyncAwait($async$self._loadFontFace$3(family, asset, descriptors), $async$_loadFontAsset$3); case 14: // returning from await. $async$temp1.add$1$ax($async$temp2, $async$result); $async$handler = 2; // goto after finally $async$goto = 13; break; case 11: // catch $async$handler = 10; $async$exception1 = $async$currentError; t1 = A.unwrapException($async$exception1); if (t1 instanceof A.FontLoadError) { error0 = t1; J.add$1$ax(errors, error0); } else throw $async$exception1; // goto after finally $async$goto = 13; break; case 10: // uncaught // goto rethrow $async$goto = 2; break; case 13: // after finally if (J.get$length$asx(fontFaces) === 0) { $async$returnValue = J.get$first$ax(errors); // goto return $async$goto = 1; break; } try { for (t1 = fontFaces, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { font = t1[_i]; self.document.fonts.add(font); } } catch (exception) { $async$returnValue = new A.FontInvalidDataError(asset); // goto return $async$goto = 1; break; } $async$returnValue = null; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_loadFontAsset$3, $async$completer); }, _loadFontFace$3(family, asset, descriptors) { return this._loadFontFace$body$HtmlFontCollection(family, asset, descriptors); }, _loadFontFace$body$HtmlFontCollection(family, asset, descriptors) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JavaScriptObject), $async$returnValue, $async$handler = 2, $async$currentError, fontFace, e, t1, exception, $async$exception; var $async$_loadFontFace$3 = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; t1 = $._assetManager; fontFace = A.createDomFontFace(family, "url(" + t1.getAssetUrl$1(asset) + ")", descriptors); $async$goto = 7; return A._asyncAwait(A.promiseToFuture(fontFace.load(), type$.JavaScriptObject), $async$_loadFontFace$3); case 7: // returning from await. t1 = $async$result; $async$returnValue = t1; // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; e = A.unwrapException($async$exception); $.$get$printWarning().call$1('Error while loading font family "' + family + '":\n' + A.S(e)); t1 = A.FontDownloadError$(asset, e); throw A.wrapException(t1); // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_loadFontFace$3, $async$completer); } }; A.HtmlFontCollection_loadAssetFonts_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_FontLoadError), $async$returnValue, $async$self = this, t1, t2, $async$temp1, $async$temp2; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.fontAsset; t2 = t1.asset; $async$temp1 = A; $async$temp2 = t2; $async$goto = 3; return A._asyncAwait($async$self.$this._loadFontAsset$3($async$self.family.name, t2, t1.descriptors), $async$call$0); case 3: // returning from await. $async$returnValue = new $async$temp1._Record_2($async$temp2, $async$result); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 2763 }; A.TextFragmenter.prototype = {}; A.TextFragment.prototype = {}; A.LayoutFragmenter.prototype = { fragment$0() { var bidiFragments, t4, spans, currentLineBreakFragment, currentBidiFragment, currentSpan, fragmentStart, t5, fragmentEnd, distanceFromLineBreak, lineBreakType, fragmentLength, moved, fragments = A._setArrayType([], type$.JSArray_LayoutFragment), t1 = this.text, t2 = A.LineBreakFragmenter_LineBreakFragmenter(t1).fragment$0(), t3 = A._arrayInstanceType(t2), lineBreakFragments = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")); lineBreakFragments.moveNext$0(); t1 = A._computeBidiFragments(t1); t2 = A._arrayInstanceType(t1); bidiFragments = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")); bidiFragments.moveNext$0(); t1 = this.paragraphSpans; t4 = A._arrayInstanceType(t1); spans = new J.ArrayIterator(t1, t1.length, t4._eval$1("ArrayIterator<1>")); spans.moveNext$0(); currentLineBreakFragment = lineBreakFragments.__interceptors$_current; if (currentLineBreakFragment == null) currentLineBreakFragment = t3._precomputed1._as(currentLineBreakFragment); currentBidiFragment = bidiFragments.__interceptors$_current; if (currentBidiFragment == null) currentBidiFragment = t2._precomputed1._as(currentBidiFragment); currentSpan = spans.__interceptors$_current; if (currentSpan == null) currentSpan = t4._precomputed1._as(currentSpan); for (t1 = t3._precomputed1, t2 = t2._precomputed1, t4 = t4._precomputed1, fragmentStart = 0; true; fragmentStart = fragmentEnd) { t3 = currentLineBreakFragment.end; t5 = currentBidiFragment.end; fragmentEnd = Math.min(t3, Math.min(t5, currentSpan.get$end(currentSpan))); distanceFromLineBreak = t3 - fragmentEnd; lineBreakType = distanceFromLineBreak === 0 ? currentLineBreakFragment.type : B.LineBreakType_1; fragmentLength = fragmentEnd - fragmentStart; fragments.push(A.LayoutFragment$(fragmentStart, fragmentEnd, lineBreakType, currentBidiFragment.textDirection, currentBidiFragment.fragmentFlow, currentSpan, A.clampInt(currentLineBreakFragment.trailingNewlines - distanceFromLineBreak, 0, fragmentLength), A.clampInt(currentLineBreakFragment.trailingSpaces - distanceFromLineBreak, 0, fragmentLength))); if (t3 === fragmentEnd) if (lineBreakFragments.moveNext$0()) { currentLineBreakFragment = lineBreakFragments.__interceptors$_current; if (currentLineBreakFragment == null) currentLineBreakFragment = t1._as(currentLineBreakFragment); moved = true; } else moved = false; else moved = false; if (t5 === fragmentEnd) if (bidiFragments.moveNext$0()) { currentBidiFragment = bidiFragments.__interceptors$_current; if (currentBidiFragment == null) currentBidiFragment = t2._as(currentBidiFragment); moved = true; } if (currentSpan.get$end(currentSpan) === fragmentEnd) if (spans.moveNext$0()) { currentSpan = spans.__interceptors$_current; if (currentSpan == null) currentSpan = t4._as(currentSpan); moved = true; } if (!moved) break; } return fragments; } }; A._CombinedFragment.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.start, _this.end, _this.type, _this.__engine$_textDirection, _this.fragmentFlow, _this.span, _this.trailingNewlines, _this.trailingSpaces, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.LayoutFragment && other.start === _this.start && other.end === _this.end && other.type === _this.type && other.__engine$_textDirection == _this.__engine$_textDirection && other.fragmentFlow === _this.fragmentFlow && other.span === _this.span && other.trailingNewlines === _this.trailingNewlines && other.trailingSpaces === _this.trailingSpaces; } }; A.LayoutFragment.prototype = { get$length(_) { return this.end - this.start; }, get$isSpaceOnly() { return this.end - this.start === this.trailingSpaces; }, get$isPlaceholder() { return this.span instanceof A.PlaceholderSpan; }, getText$1(paragraph) { return B.JSString_methods.substring$2(paragraph.plainText, this.start, this.end - this.trailingNewlines); }, split$1(_, index) { var t2, secondLength, t3, secondTrailingNewlines, t4, secondTrailingSpaces, t5, t6, t7, _this = this, t1 = _this.start; if (t1 === index) return A._setArrayType([null, _this], type$.JSArray_nullable_LayoutFragment); t2 = _this.end; if (t2 === index) return A._setArrayType([_this, null], type$.JSArray_nullable_LayoutFragment); secondLength = t2 - index; t3 = _this.trailingNewlines; secondTrailingNewlines = Math.min(t3, secondLength); t4 = _this.trailingSpaces; secondTrailingSpaces = Math.min(t4, secondLength); t5 = _this.__engine$_textDirection; t6 = _this.fragmentFlow; t7 = _this.span; return A._setArrayType([A.LayoutFragment$(t1, index, B.LineBreakType_1, t5, t6, t7, t3 - secondTrailingNewlines, t4 - secondTrailingSpaces), A.LayoutFragment$(index, t2, _this.type, t5, t6, t7, secondTrailingNewlines, secondTrailingSpaces)], type$.JSArray_LayoutFragment); }, toString$0(_) { var _this = this; return B.Type_LayoutFragment_fdh.toString$0(0) + "(" + _this.start + ", " + _this.end + ", " + _this.type.toString$0(0) + ", " + A.S(_this.__engine$_textDirection) + ")"; } }; A._FragmentMetrics.prototype = { setMetrics$5$ascent$descent$widthExcludingTrailingSpaces$widthIncludingTrailingSpaces(spanometer, ascent, descent, widthExcludingTrailingSpaces, widthIncludingTrailingSpaces) { var _this = this; _this._FragmentMetrics____FragmentMetrics__spanometer_A = spanometer; _this._FragmentMetrics____FragmentMetrics__ascent_A = ascent; _this._FragmentMetrics____FragmentMetrics__descent_A = descent; _this._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A = widthExcludingTrailingSpaces; _this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A = widthIncludingTrailingSpaces; } }; A._FragmentPosition.prototype = { get$left(_) { var t2, t3, _this = this, t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._FragmentPosition____FragmentPosition__startOffset_A; if (t1.textDirection === B.TextDirection_1) { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = t2; } else { t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t1.lineMetrics.width - (t2 + (t3 + _this._FragmentMetrics__extraWidthForJustification)); t1 = t3; } return t1; }, get$right(_) { var t2, _this = this, t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._FragmentPosition____FragmentPosition__startOffset_A; if (t1.textDirection === B.TextDirection_1) { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = _this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t2 + (t1 + _this._FragmentMetrics__extraWidthForJustification); } else { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.lineMetrics.width - t2; } return t1; }, justifyTo$1$paragraphWidth(paragraphWidth) { var t2, t3, _this = this, t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.trailingSpaces; if (_this.end > t1.endIndex - t2) return; t3 = _this.trailingSpaces; if (t3 === 0) return; _this._FragmentMetrics__extraWidthForJustification = (paragraphWidth - t1.lineMetrics.width) / (t1.spaceCount - t2) * t3; } }; A._FragmentBox.prototype = { get$_textBoxIncludingTrailingSpaces() { var t1, t2, t3, t4, t5, t6, t7, t8, _this = this, value = _this._FragmentBox____FragmentBox__textBoxIncludingTrailingSpaces_FI; if (value === $) { t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.get$left(0); t3 = _this._FragmentPosition____FragmentPosition_line_A.lineMetrics; t4 = _this._FragmentMetrics____FragmentMetrics__ascent_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = _this.get$right(0); t6 = _this._FragmentPosition____FragmentPosition_line_A; t7 = _this._FragmentMetrics____FragmentMetrics__descent_A; t7 === $ && A.throwUnnamedLateFieldNI(); t8 = _this.__engine$_textDirection; t8.toString; _this._FragmentBox____FragmentBox__textBoxIncludingTrailingSpaces_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this._FragmentBox____FragmentBox__textBoxIncludingTrailingSpaces_FI = new A.TextBox(t1.lineMetrics.left + t2, t3.baseline - t4, t3.left + t5, t6.lineMetrics.baseline + t7, t8); } return value; }, toPaintingTextBox$0() { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (_this.end > t1.endIndex - t1.trailingSpaces) { t2 = _this.__engine$_textDirection; t2.toString; t1 = t1.lineMetrics.left; if (t2 === B.TextDirection_1) { t2 = _this.get$left(0); t3 = _this._FragmentPosition____FragmentPosition_line_A.lineMetrics; t4 = _this._FragmentMetrics____FragmentMetrics__ascent_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = _this.get$right(0); t6 = _this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t6 === $ && A.throwUnnamedLateFieldNI(); t7 = _this._FragmentMetrics__extraWidthForJustification; t8 = _this._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A; t8 === $ && A.throwUnnamedLateFieldNI(); t9 = _this._FragmentPosition____FragmentPosition_line_A; t10 = _this._FragmentMetrics____FragmentMetrics__descent_A; t10 === $ && A.throwUnnamedLateFieldNI(); t11 = _this.__engine$_textDirection; t11.toString; t11 = new A.TextBox(t1 + t2, t3.baseline - t4, t3.left + t5 - (t6 + t7 - t8), t9.lineMetrics.baseline + t10, t11); t1 = t11; } else { t2 = _this.get$left(0); t3 = _this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this._FragmentMetrics__extraWidthForJustification; t5 = _this._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A; t5 === $ && A.throwUnnamedLateFieldNI(); t6 = _this._FragmentPosition____FragmentPosition_line_A.lineMetrics; t7 = _this._FragmentMetrics____FragmentMetrics__ascent_A; t7 === $ && A.throwUnnamedLateFieldNI(); t8 = _this.get$right(0); t9 = _this._FragmentPosition____FragmentPosition_line_A; t10 = _this._FragmentMetrics____FragmentMetrics__descent_A; t10 === $ && A.throwUnnamedLateFieldNI(); t11 = _this.__engine$_textDirection; t11.toString; t11 = new A.TextBox(t1 + t2 + (t3 + t4 - t5), t6.baseline - t7, t6.left + t8, t9.lineMetrics.baseline + t10, t11); t1 = t11; } return t1; } return _this.get$_textBoxIncludingTrailingSpaces(); }, toTextBox$2$end$start(end, start) { var t1, t2, before, t3, t4, after, left, right, t5, _this = this; if (start == null) start = _this.start; if (end == null) end = _this.end; t1 = _this.start; t2 = start <= t1; if (t2 && end >= _this.end - _this.trailingNewlines) return _this.get$_textBoxIncludingTrailingSpaces(); if (t2) before = 0; else { t2 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.set$currentSpan(_this.span); t2 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t3 = $.$get$textContext(); t4 = t2._currentSpan; before = A.measureSubstring(t3, t2.paragraph.plainText, t1, start, t4.get$style(t4).letterSpacing); } t1 = _this.end - _this.trailingNewlines; if (end >= t1) after = 0; else { t2 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.set$currentSpan(_this.span); t2 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t3 = $.$get$textContext(); t4 = t2._currentSpan; after = A.measureSubstring(t3, t2.paragraph.plainText, end, t1, t4.get$style(t4).letterSpacing); } t1 = _this.__engine$_textDirection; t1.toString; if (t1 === B.TextDirection_1) { left = _this.get$left(0) + before; right = _this.get$right(0) - after; } else { left = _this.get$left(0) + after; right = _this.get$right(0) - before; } t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.lineMetrics; t2 = t1.left; t1 = t1.baseline; t3 = _this._FragmentMetrics____FragmentMetrics__ascent_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this._FragmentMetrics____FragmentMetrics__descent_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = _this.__engine$_textDirection; t5.toString; return new A.TextBox(t2 + left, t1 - t3, t2 + right, t1 + t4, t5); }, toTextBox$0() { return this.toTextBox$2$end$start(null, null); }, getPositionForX$1(x) { var startIndex, endIndex, $length, t1, cutoff, t2, t3, lowWidth, t4, _this = this; x = _this._makeXDirectionAgnostic$1(x); startIndex = _this.start; endIndex = _this.end - _this.trailingNewlines; $length = endIndex - startIndex; if ($length === 0) return new A.TextPosition(startIndex, B.TextAffinity_1); if ($length === 1) { t1 = _this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t1 === $ && A.throwUnnamedLateFieldNI(); return x < t1 + _this._FragmentMetrics__extraWidthForJustification - x ? new A.TextPosition(startIndex, B.TextAffinity_1) : new A.TextPosition(endIndex, B.TextAffinity_0); } t1 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.set$currentSpan(_this.span); cutoff = _this._FragmentMetrics____FragmentMetrics__spanometer_A.forceBreak$4$allowEmpty$availableWidth(startIndex, endIndex, true, x); if (cutoff === endIndex) return new A.TextPosition(cutoff, B.TextAffinity_0); t1 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t2 = $.$get$textContext(); t3 = t1._currentSpan; lowWidth = A.measureSubstring(t2, t1.paragraph.plainText, startIndex, cutoff, t3.get$style(t3).letterSpacing); t3 = _this._FragmentMetrics____FragmentMetrics__spanometer_A; t1 = cutoff + 1; t4 = t3._currentSpan; if (x - lowWidth < A.measureSubstring(t2, t3.paragraph.plainText, startIndex, t1, t4.get$style(t4).letterSpacing) - x) return new A.TextPosition(cutoff, B.TextAffinity_1); else return new A.TextPosition(t1, B.TextAffinity_0); }, _makeXDirectionAgnostic$1(x) { var t1; if (this.__engine$_textDirection === B.TextDirection_0) { t1 = this._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1 + this._FragmentMetrics__extraWidthForJustification - x; } return x; }, get$graphemeStartIndexRange() { var result, _this = this, value = _this._FragmentBox____FragmentBox_graphemeStartIndexRange_FI; if (value === $) { result = _this._getBreaksRange$0(); _this._FragmentBox____FragmentBox_graphemeStartIndexRange_FI !== $ && A.throwUnnamedLateFieldADI(); _this._FragmentBox____FragmentBox_graphemeStartIndexRange_FI = result; value = result; } return value; }, _getBreaksRange$0() { var t3, lineGraphemeBreaks, startIndex, endIndex, _this = this, t1 = _this.end, t2 = _this.start; if (t1 === t2) return null; t3 = _this._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); lineGraphemeBreaks = t3.get$graphemeStarts(); startIndex = _this._FragmentPosition____FragmentPosition_line_A.graphemeStartIndexBefore$3(t2, 0, lineGraphemeBreaks.length); endIndex = t1 === t2 + 1 ? startIndex + 1 : _this._FragmentPosition____FragmentPosition_line_A.graphemeStartIndexBefore$3(t1 - 1, startIndex, lineGraphemeBreaks.length) + 1; if (lineGraphemeBreaks[startIndex] > t2) { t1 = startIndex + 1; t1 = endIndex === t1 ? null : new A._Record_2(t1, endIndex); } else t1 = new A._Record_2(startIndex, endIndex); return t1; }, _getClosestCharacterInRange$3(x, startIndex, endIndex) { var graphemeStartIndices, t2, fullBox, t3, _0_1, _0_2, right, left, midIndex, firstHalf, secondHalf, t4, _1_1, _1_4, _1_3, _1_10, _1_40, _1_6, _1_6_isSet, _1_4_isSet, _1_1_isSet, _1_8, _1_100, _1_10_isSet, _1_8_isSet, box, _this = this, _null = null, t1 = _this._FragmentPosition____FragmentPosition_line_A; t1 === $ && A.throwUnnamedLateFieldNI(); graphemeStartIndices = t1.get$graphemeStarts(); t1 = graphemeStartIndices[startIndex]; t2 = graphemeStartIndices[endIndex]; fullBox = _this.toTextBox$2$end$start(t2, t1); t3 = startIndex + 1; if (t3 === endIndex) return new A.GlyphInfo(new A.Rect(fullBox.left, fullBox.top, fullBox.right, fullBox.bottom), new A.TextRange(t1, t2), fullBox.direction); _0_1 = fullBox.left; _0_2 = fullBox.right; right = _0_2; t1 = true; left = _0_1; if (!t1) throw A.wrapException(A.StateError$("Pattern matching error")); if (left < x && x < right) { midIndex = B.JSInt_methods._tdivFast$1(startIndex + endIndex, 2); firstHalf = _this._getClosestCharacterInRange$3(x, startIndex, midIndex); t1 = firstHalf.graphemeClusterLayoutBounds; t2 = t1.left; if (t2 < x && x < t1.right) return firstHalf; secondHalf = _this._getClosestCharacterInRange$3(x, midIndex, endIndex); t3 = secondHalf.graphemeClusterLayoutBounds; t4 = t3.left; if (t4 < x && x < t3.right) return secondHalf; return Math.abs(x - B.JSNumber_methods.clamp$2(x, t2, t1.right)) > Math.abs(x - B.JSNumber_methods.clamp$2(x, t4, t3.right)) ? firstHalf : secondHalf; } _1_1 = fullBox.direction; _1_4 = x <= left; $label0$0: { _1_3 = B.TextDirection_1 === _1_1; t1 = _1_3; _1_10 = _1_1; if (t1) { t1 = _1_4; _1_40 = t1; _1_6 = _1_40; _1_6_isSet = true; _1_4_isSet = true; } else { _1_40 = _null; _1_6 = _1_40; _1_6_isSet = false; _1_4_isSet = false; t1 = false; } if (!t1) { t1 = _1_10; _1_1_isSet = true; _1_8 = B.TextDirection_0 === t1; t1 = _1_8; if (t1) { if (_1_4_isSet) t1 = _1_40; else { t1 = _1_4; _1_40 = t1; _1_4_isSet = true; } _1_100 = false === t1; t1 = _1_100; _1_10_isSet = true; } else { _1_100 = _null; _1_10_isSet = false; t1 = false; } _1_8_isSet = true; } else { _1_100 = _null; _1_8 = _1_100; _1_1_isSet = true; _1_8_isSet = false; _1_10_isSet = false; t1 = true; } if (t1) { t1 = new A.TextRange(graphemeStartIndices[startIndex], graphemeStartIndices[t3]); break $label0$0; } if (_1_3) if (_1_10_isSet) t1 = _1_100; else { if (_1_4_isSet) t1 = _1_40; else { t1 = _1_4; _1_40 = t1; _1_4_isSet = true; } _1_100 = false === t1; t1 = _1_100; } else t1 = false; if (!t1) { if (_1_8_isSet) t1 = _1_8; else { _1_8 = B.TextDirection_0 === (_1_1_isSet ? _1_10 : _1_1); t1 = _1_8; } if (t1) if (_1_6_isSet) t1 = _1_6; else { _1_6 = true === (_1_4_isSet ? _1_40 : _1_4); t1 = _1_6; } else t1 = false; } else t1 = true; if (t1) { t1 = new A.TextRange(graphemeStartIndices[endIndex - 1], graphemeStartIndices[endIndex]); break $label0$0; } t1 = _null; } t2 = t1.start; box = _this.toTextBox$2$end$start(t1.end, t2); return new A.GlyphInfo(new A.Rect(box.left, box.top, box.right, box.bottom), t1, box.direction); }, getClosestCharacterBox$1(x) { var _null = null, _0_0 = this.get$graphemeStartIndexRange(), _0_1 = _0_0._0, _0_2 = _0_0._1, rangeEnd = _0_2, t1 = true, rangeStart = _0_1; if (!t1) throw A.wrapException(A.StateError$("Pattern matching error")); return this._getClosestCharacterInRange$3(x, rangeStart, rangeEnd); } }; A.EllipsisFragment.prototype = { get$isSpaceOnly() { return false; }, get$isPlaceholder() { return false; }, getText$1(paragraph) { var t1 = paragraph.paragraphStyle.ellipsis; t1.toString; return t1; }, split$1(_, index) { throw A.wrapException(A.Exception_Exception("Cannot split an EllipsisFragment")); } }; A.TextLayoutService.prototype = { get$spanometer() { var value = this.__TextLayoutService_spanometer_FI; if (value === $) { value !== $ && A.throwUnnamedLateFieldADI(); value = this.__TextLayoutService_spanometer_FI = new A.Spanometer(this.paragraph); } return value; }, performLayout$1(constraints) { var t2, t3, currentLine, value, fragments, i, fragment, maxLines, boundsLeft, boundsRight, _i, line, t4, t5, longestLineWidth, left, right, runningMinIntrinsicWidth, runningMaxIntrinsicWidth, _this = this, t1 = constraints.width; _this.width = t1; _this.height = 0; _this.longestLine = null; _this.maxIntrinsicWidth = _this.minIntrinsicWidth = 0; _this.didExceedMaxLines = false; t2 = _this.lines; B.JSArray_methods.clear$0(t2); t3 = _this.paragraph; currentLine = A.LineBuilder$_(t3, _this.get$spanometer(), 0, A._setArrayType([], type$.JSArray_LayoutFragment), 0, t1); value = _this.__TextLayoutService_layoutFragmenter_FI; if (value === $) { value !== $ && A.throwUnnamedLateFieldADI(); value = _this.__TextLayoutService_layoutFragmenter_FI = new A.LayoutFragmenter(t3.spans, t3.plainText); } fragments = value.fragment$0(); B.JSArray_methods.forEach$1(fragments, _this.get$spanometer().get$measureFragment()); $label0$0: for (i = 0; i < fragments.length; ++i) { fragment = fragments[i]; currentLine._updateMetrics$1(fragment); if (fragment.type !== B.LineBreakType_1) currentLine._lastBreakableFragment = currentLine._fragments.length; B.JSArray_methods.add$1(currentLine._fragments, fragment); for (; currentLine.width > currentLine.maxWidth;) { if (currentLine.get$canHaveEllipsis()) { currentLine.insertEllipsis$0(); t2.push(currentLine.build$0()); _this.didExceedMaxLines = true; break $label0$0; } if (currentLine.get$isBreakable()) currentLine.revertToLastBreakOpportunity$0(); else currentLine.forceBreakLastFragment$0(); i += currentLine.appendZeroWidthFragments$2$startFrom(fragments, i + 1); t2.push(currentLine.build$0()); currentLine = currentLine.nextLine$0(); } t1 = currentLine._fragments; if (t1.length !== 0) { t1 = B.JSArray_methods.get$last(t1).type; t1 = t1 === B.LineBreakType_2 || t1 === B.LineBreakType_3; } else t1 = false; if (t1) { t2.push(currentLine.build$0()); currentLine = currentLine.nextLine$0(); } } t1 = t3.paragraphStyle; maxLines = t1.maxLines; if (maxLines != null && t2.length > maxLines) { _this.didExceedMaxLines = true; B.JSArray_methods.removeRange$2(t2, maxLines, t2.length); } for (t3 = t2.length, boundsLeft = 1 / 0, boundsRight = -1 / 0, _i = 0; _i < t3; ++_i) { line = t2[_i]; t4 = line.lineMetrics; _this.height = _this.height + t4.height; if (_this.alphabeticBaseline === -1) { t5 = t4.baseline; _this.alphabeticBaseline = t5; _this.ideographicBaseline = t5 * 1.1662499904632568; } t5 = _this.longestLine; longestLineWidth = t5 == null ? null : t5.lineMetrics.width; if (longestLineWidth == null) longestLineWidth = 0; t5 = t4.width; if (longestLineWidth < t5) _this.longestLine = line; left = t4.left; if (left < boundsLeft) boundsLeft = left; right = left + t5; if (right > boundsRight) boundsRight = right; } _this._paintBounds = new A.Rect(boundsLeft, 0, boundsRight, _this.height); if (t3 !== 0) if (isFinite(_this.width) && t1.textAlign === B.TextAlign_3) for (i = 0; i < t2.length - 1; ++i) for (t1 = t2[i].fragments, t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].justifyTo$1$paragraphWidth(_this.width); B.JSArray_methods.forEach$1(t2, _this.get$_positionLineFragments()); for (t1 = fragments.length, runningMinIntrinsicWidth = 0, runningMaxIntrinsicWidth = 0, _i = 0; _i < t1; ++_i) { fragment = fragments[_i]; t2 = fragment._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); runningMinIntrinsicWidth += t2; t2 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); runningMaxIntrinsicWidth += t2 + fragment._FragmentMetrics__extraWidthForJustification; switch (fragment.type.index) { case 1: break; case 0: _this.minIntrinsicWidth = Math.max(_this.minIntrinsicWidth, runningMinIntrinsicWidth); runningMinIntrinsicWidth = 0; break; case 2: case 3: _this.minIntrinsicWidth = Math.max(_this.minIntrinsicWidth, runningMinIntrinsicWidth); _this.maxIntrinsicWidth = Math.max(_this.maxIntrinsicWidth, runningMaxIntrinsicWidth); runningMinIntrinsicWidth = 0; runningMaxIntrinsicWidth = 0; break; } } }, _positionLineFragments$1(line) { var t2, sandwichStart, startOffset, sequenceStart, i, t3, _this = this, _null = null, previousDirection = _this.paragraph.paragraphStyle.textDirection, t1 = previousDirection == null, previousDirection0 = t1 ? B.TextDirection_1 : previousDirection; for (t2 = line.fragments, sandwichStart = _null, startOffset = 0, sequenceStart = 0, i = 0; t3 = t2.length, i <= t3; ++i) { if (i < t3) { t3 = t2[i].fragmentFlow; if (t3 === B.FragmentFlow_2) { sandwichStart = _null; continue; } if (t3 === B.FragmentFlow_3) { if (sandwichStart == null) sandwichStart = i; continue; } if ((t3 === B.FragmentFlow_0 ? B.TextDirection_1 : B.TextDirection_0) === previousDirection0) { sandwichStart = _null; continue; } } if (sandwichStart == null) startOffset += _this._positionFragmentRange$5$direction$end$line$start$startOffset(previousDirection0, i, line, sequenceStart, startOffset); else { startOffset += _this._positionFragmentRange$5$direction$end$line$start$startOffset(previousDirection0, sandwichStart, line, sequenceStart, startOffset); startOffset += _this._positionFragmentRange$5$direction$end$line$start$startOffset(t1 ? B.TextDirection_1 : previousDirection, i, line, sandwichStart, startOffset); } if (i < t2.length) { t3 = t2[i].__engine$_textDirection; t3.toString; previousDirection0 = t3; } sequenceStart = i; sandwichStart = _null; } }, _positionFragmentRange$5$direction$end$line$start$startOffset(direction, end, line, start, startOffset) { var i, cumulativeWidth, fragment, t2, t1 = this.paragraph.paragraphStyle.textDirection; if (direction === (t1 == null ? B.TextDirection_1 : t1)) for (t1 = line.fragments, i = start, cumulativeWidth = 0; i < end; ++i) { fragment = t1[i]; fragment._FragmentPosition____FragmentPosition__startOffset_A = startOffset + cumulativeWidth; if (fragment.__engine$_textDirection == null) fragment.__engine$_textDirection = direction; t2 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); cumulativeWidth += t2 + fragment._FragmentMetrics__extraWidthForJustification; } else for (i = end - 1, t1 = line.fragments, cumulativeWidth = 0; i >= start; --i) { fragment = t1[i]; fragment._FragmentPosition____FragmentPosition__startOffset_A = startOffset + cumulativeWidth; if (fragment.__engine$_textDirection == null) fragment.__engine$_textDirection = direction; t2 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); cumulativeWidth += t2 + fragment._FragmentMetrics__extraWidthForJustification; } return cumulativeWidth; }, getBoxesForPlaceholders$0() { var t1, t2, _i, t3, t4, _i0, fragment, boxes = A._setArrayType([], type$.JSArray_TextBox); for (t1 = this.lines, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) for (t3 = t1[_i].fragments, t4 = t3.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { fragment = t3[_i0]; if (fragment.get$isPlaceholder()) boxes.push(fragment.toTextBox$0()); } return boxes; }, getBoxesForRange$4(start, end, boxHeightStyle, boxWidthStyle) { var $length, boxes, t1, t2, _i, line, t3, t4, _i0, fragment; if (start >= end || start < 0 || end < 0) return A._setArrayType([], type$.JSArray_TextBox); $length = this.paragraph.plainText.length; if (start > $length || end > $length) return A._setArrayType([], type$.JSArray_TextBox); boxes = A._setArrayType([], type$.JSArray_TextBox); for (t1 = this.lines, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { line = t1[_i]; if (start < line.endIndex && line.startIndex < end) for (t3 = line.fragments, t4 = t3.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { fragment = t3[_i0]; if (!fragment.get$isPlaceholder() && start < fragment.end && fragment.start < end) boxes.push(fragment.toTextBox$2$end$start(end, start)); } } return boxes; }, getPositionForOffset$1(offset) { var t1, t2, dx, _i, fragment, t3, t4, t5, t6, line = this._findLineForY$1(offset._dy); if (line == null) return B.TextPosition_0_TextAffinity_1; t1 = offset._dx; t2 = line.lineMetrics.left; if (t1 <= t2) return new A.TextPosition(line.startIndex, B.TextAffinity_1); if (t1 >= t2 + line.widthWithTrailingSpaces) return new A.TextPosition(line.endIndex - line.trailingNewlines, B.TextAffinity_0); dx = t1 - t2; for (t1 = line.fragments, t2 = t1.length, _i = 0; _i < t2; ++_i) { fragment = t1[_i]; t3 = fragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = t3.textDirection === B.TextDirection_1; t5 = fragment._FragmentPosition____FragmentPosition__startOffset_A; if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t5; } else { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = t3.lineMetrics.width - (t5 + (t6 + fragment._FragmentMetrics__extraWidthForJustification)); } if (t6 <= dx) { if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = t5 + (t6 + fragment._FragmentMetrics__extraWidthForJustification); } else { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t3.lineMetrics.width - t5; } t6 = dx <= t6; } else t6 = false; if (t6) { if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t1 = t5; } else { t5 === $ && A.throwUnnamedLateFieldNI(); t1 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t3.lineMetrics.width - (t5 + (t1 + fragment._FragmentMetrics__extraWidthForJustification)); } return fragment.getPositionForX$1(dx - t1); } } return new A.TextPosition(line.startIndex, B.TextAffinity_1); }, getClosestGlyphInfo$1(offset) { var t1, t2, fragment, t3, graphemeStartIndexRangeStart, t4, closestGraphemeStartInFragment, candidate1, candidate2, distance1, _null = null, line = this._findLineForY$1(offset._dy); if (line == null) return _null; t1 = offset._dx; t2 = line.lineMetrics.left; fragment = line.closestFragmentAtOffset$1(t1 - t2); if (fragment == null) return _null; t3 = fragment.get$graphemeStartIndexRange(); graphemeStartIndexRangeStart = t3 == null ? _null : t3._0; if (graphemeStartIndexRangeStart != null) { t3 = fragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3.get$graphemeStarts()[graphemeStartIndexRangeStart] !== fragment.start; } else t3 = true; if (t3) { t3 = fragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3.lineMetrics; t4 = t3.left; if (!(t1 <= t4)) { if (!(t4 + t3.width <= t1)) switch (fragment.__engine$_textDirection.index) { case 1: t2 = t1 >= t2 + (fragment.get$left(0) + fragment.get$right(0)) / 2; break; case 0: t2 = t1 <= t2 + (fragment.get$left(0) + fragment.get$right(0)) / 2; break; default: t2 = _null; } else t2 = true; closestGraphemeStartInFragment = t2; } else closestGraphemeStartInFragment = true; } else closestGraphemeStartInFragment = true; candidate1 = fragment.getClosestCharacterBox$1(t1); if (closestGraphemeStartInFragment) return candidate1; switch (fragment.__engine$_textDirection.index) { case 1: t2 = true; break; case 0: t2 = false; break; default: t2 = _null; } t3 = fragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t2 = t3.closestFragmentTo$2(fragment, t2); candidate2 = t2 == null ? _null : t2.getClosestCharacterBox$1(t1); if (candidate2 == null) return candidate1; t2 = candidate1.graphemeClusterLayoutBounds; distance1 = Math.min(Math.abs(t2.left - t1), Math.abs(t2.right - t1)); t2 = candidate2.graphemeClusterLayoutBounds; return Math.min(Math.abs(t2.left - t1), Math.abs(t2.right - t1)) > distance1 ? candidate1 : candidate2; }, _findLineForY$1(y) { var _i, line, t3, t1 = this.lines, t2 = t1.length; if (t2 === 0) return null; for (_i = 0; _i < t2; ++_i) { line = t1[_i]; t3 = line.lineMetrics.height; if (y <= t3) return line; y -= t3; } return B.JSArray_methods.get$last(t1); } }; A.LineBuilder.prototype = { get$endIndex() { var t1 = this._fragments; if (t1.length !== 0) t1 = B.JSArray_methods.get$last(t1).end; else { t1 = this._fragmentsForNextLine; t1.toString; t1 = B.JSArray_methods.get$first(t1).start; } return t1; }, get$isBreakable() { var t1 = this._fragments; if (t1.length === 0) return false; if (B.JSArray_methods.get$last(t1).type !== B.LineBreakType_1) return this._breakCount > 1; return this._breakCount > 0; }, get$isEmpty(_) { return this._fragments.length === 0; }, get$alignOffset() { var emptySpace = this.maxWidth - this.width, t1 = this.paragraph.paragraphStyle, textAlign = t1.textAlign; switch ((textAlign == null ? B.TextAlign_4 : textAlign).index) { case 2: return emptySpace / 2; case 1: return emptySpace; case 4: t1 = t1.textDirection; return (t1 == null ? B.TextDirection_1 : t1) === B.TextDirection_0 ? emptySpace : 0; case 5: t1 = t1.textDirection; return (t1 == null ? B.TextDirection_1 : t1) === B.TextDirection_0 ? 0 : emptySpace; default: return 0; } }, get$canHaveEllipsis() { var maxLines, t1 = this.paragraph.paragraphStyle; if (t1.ellipsis == null) return false; maxLines = t1.maxLines; return maxLines == null || maxLines === this.lineNumber + 1; }, get$_canAppendEmptyFragments() { var t1 = this._fragments; if (t1.length !== 0) { t1 = B.JSArray_methods.get$last(t1).type; t1 = t1 === B.LineBreakType_2 || t1 === B.LineBreakType_3; } else t1 = false; if (t1) return false; t1 = this._fragmentsForNextLine; t1 = t1 == null ? null : t1.length !== 0; if (t1 === true) return false; return true; }, addFragment$1(fragment) { var _this = this; _this._updateMetrics$1(fragment); if (fragment.type !== B.LineBreakType_1) _this._lastBreakableFragment = _this._fragments.length; B.JSArray_methods.add$1(_this._fragments, fragment); }, _updateMetrics$1(fragment) { var t2, _this = this, t1 = fragment.trailingSpaces; _this._spaceCount = _this._spaceCount + t1; if (fragment.get$isSpaceOnly()) _this._trailingSpaces += t1; else { _this._trailingSpaces = t1; t1 = _this.widthIncludingSpace; t2 = fragment._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.width = t1 + t2; } t1 = _this.widthIncludingSpace; t2 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.widthIncludingSpace = t1 + (t2 + fragment._FragmentMetrics__extraWidthForJustification); if (fragment.get$isPlaceholder()) _this._adjustPlaceholderAscentDescent$1(fragment); if (fragment.type !== B.LineBreakType_1) ++_this._breakCount; t1 = _this.ascent; t2 = fragment._FragmentMetrics____FragmentMetrics__ascent_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.ascent = Math.max(t1, t2); t2 = _this.descent; t1 = fragment._FragmentMetrics____FragmentMetrics__descent_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.descent = Math.max(t2, t1); }, _adjustPlaceholderAscentDescent$1(fragment) { var ascent, descent, t1, t2, diff, _this = this, placeholder = type$.PlaceholderSpan._as(fragment.span); switch (placeholder.alignment.index) { case 3: ascent = _this.ascent; descent = placeholder.height - ascent; break; case 4: descent = _this.descent; ascent = placeholder.height - descent; break; case 5: t1 = _this.ascent; t2 = _this.descent; diff = placeholder.height / 2 - (t1 + t2) / 2; ascent = t1 + diff; descent = t2 + diff; break; case 1: ascent = placeholder.height; descent = 0; break; case 2: descent = placeholder.height; ascent = 0; break; case 0: ascent = placeholder.baselineOffset; descent = placeholder.height - ascent; break; default: ascent = null; descent = null; } t1 = fragment._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); fragment.setMetrics$5$ascent$descent$widthExcludingTrailingSpaces$widthIncludingTrailingSpaces(_this.spanometer, ascent, descent, t1, t2 + fragment._FragmentMetrics__extraWidthForJustification); }, _recalculateMetrics$0() { var t1, _this = this, i = _this._breakCount = _this._trailingSpaces = _this._spaceCount = _this.descent = _this.ascent = _this.widthIncludingSpace = _this.width = 0; _this._lastBreakableFragment = -1; for (t1 = _this._fragments; i < t1.length; ++i) { _this._updateMetrics$1(t1[i]); if (t1[i].type !== B.LineBreakType_1) _this._lastBreakableFragment = i; } }, forceBreakLastFragment$2$allowEmptyLine$availableWidth(allowEmptyLine, availableWidth) { var t1, allowLastFragmentToBeEmpty, lastFragment, t2, t3, t4, t5, forceBreakEnd, breakingPoint, split, first, second, _this = this; if (availableWidth == null) availableWidth = _this.maxWidth; if (_this._fragmentsForNextLine == null) _this._fragmentsForNextLine = A._setArrayType([], type$.JSArray_LayoutFragment); t1 = _this._fragments; allowLastFragmentToBeEmpty = t1.length > 1 || allowEmptyLine; lastFragment = B.JSArray_methods.get$last(t1); if (lastFragment.get$isPlaceholder()) { if (allowLastFragmentToBeEmpty) { t2 = _this._fragmentsForNextLine; t2.toString; B.JSArray_methods.insert$2(t2, 0, B.JSArray_methods.removeLast$0(t1)); _this._recalculateMetrics$0(); } return; } t2 = _this.spanometer; t2.set$currentSpan(lastFragment.span); t3 = _this.widthIncludingSpace; t4 = lastFragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = lastFragment._FragmentMetrics__extraWidthForJustification; forceBreakEnd = lastFragment.end - lastFragment.trailingNewlines; breakingPoint = t2.forceBreak$4$allowEmpty$availableWidth(lastFragment.start, forceBreakEnd, allowLastFragmentToBeEmpty, availableWidth - (t3 - (t4 + t5))); if (breakingPoint === forceBreakEnd) return; B.JSArray_methods.removeLast$0(t1); _this._recalculateMetrics$0(); split = lastFragment.split$1(0, breakingPoint); first = B.JSArray_methods.get$first(split); if (first != null) { t2.measureFragment$1(first); _this.addFragment$1(first); } second = B.JSArray_methods.get$last(split); if (second != null) { t2.measureFragment$1(second); t1 = _this._fragmentsForNextLine; t1.toString; B.JSArray_methods.insert$2(t1, 0, second); } }, forceBreakLastFragment$0() { return this.forceBreakLastFragment$2$allowEmptyLine$availableWidth(false, null); }, insertEllipsis$0() { var t2, t3, t4, t5, ellipsisWidth, t6, availableWidth, t7, t8, t9, lastFragment, ellipsisFragment, _this = this, t1 = _this.paragraph.paragraphStyle.ellipsis; t1.toString; _this._fragmentsForNextLine = A._setArrayType([], type$.JSArray_LayoutFragment); t2 = _this.spanometer; t3 = _this._fragments; t2.set$currentSpan(B.JSArray_methods.get$last(t3).span); t4 = $.$get$textContext(); t5 = t1.length; ellipsisWidth = A.measureSubstring(t4, t1, 0, t5, null); t6 = _this.maxWidth; availableWidth = Math.max(0, t6 - ellipsisWidth); while (true) { if (t3.length > 1) { t7 = _this.widthIncludingSpace; t8 = B.JSArray_methods.get$last(t3); t9 = t8._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t9 === $ && A.throwUnnamedLateFieldNI(); t8 = t7 - (t9 + t8._FragmentMetrics__extraWidthForJustification); t7 = t8; } else t7 = 0; if (!(t7 > availableWidth)) break; t7 = _this._fragmentsForNextLine; t7.toString; B.JSArray_methods.insert$2(t7, 0, B.JSArray_methods.removeLast$0(t3)); _this._recalculateMetrics$0(); t2.set$currentSpan(B.JSArray_methods.get$last(t3).span); ellipsisWidth = A.measureSubstring(t4, t1, 0, t5, null); availableWidth = t6 - ellipsisWidth; } lastFragment = B.JSArray_methods.get$last(t3); _this.forceBreakLastFragment$2$allowEmptyLine$availableWidth(true, availableWidth); t1 = _this.get$endIndex(); ellipsisFragment = new A.EllipsisFragment($, $, $, $, $, $, $, $, $, 0, B.LineBreakType_3, null, B.FragmentFlow_3, lastFragment.span, 0, 0, t1, t1); t1 = lastFragment._FragmentMetrics____FragmentMetrics__ascent_A; t1 === $ && A.throwUnnamedLateFieldNI(); t3 = lastFragment._FragmentMetrics____FragmentMetrics__descent_A; t3 === $ && A.throwUnnamedLateFieldNI(); ellipsisFragment.setMetrics$5$ascent$descent$widthExcludingTrailingSpaces$widthIncludingTrailingSpaces(t2, t1, t3, ellipsisWidth, ellipsisWidth); _this.addFragment$1(ellipsisFragment); }, revertToLastBreakOpportunity$0() { var t3, t1 = this._fragments, t2 = t1.length, i = t2 - 2; for (; t1[i].type === B.LineBreakType_1;) --i; t3 = i + 1; A.RangeError_checkValidRange(t3, t2, t2, null, null); this._fragmentsForNextLine = A.SubListIterable$(t1, t3, t2, A._arrayInstanceType(t1)._precomputed1).toList$0(0); B.JSArray_methods.removeRange$2(t1, t3, t1.length); this._recalculateMetrics$0(); }, appendZeroWidthFragments$2$startFrom(fragments, startFrom) { var t2, _this = this, t1 = _this._fragments, i = startFrom; while (true) { if (_this.get$_canAppendEmptyFragments()) if (i < fragments.length) { t2 = fragments[i]._FragmentMetrics____FragmentMetrics__widthExcludingTrailingSpaces_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2 === 0; } else t2 = false; else t2 = false; if (!t2) break; t2 = fragments[i]; _this._updateMetrics$1(t2); if (t2.type !== B.LineBreakType_1) _this._lastBreakableFragment = t1.length; B.JSArray_methods.add$1(t1, t2); ++i; } return i - startFrom; }, build$0() { var t1, t2, t3, trailingNewlines, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, line, _i, _this = this; if (_this._fragmentsForNextLine == null) { t1 = _this._fragments; t2 = _this._lastBreakableFragment + 1; t3 = t1.length; A.RangeError_checkValidRange(t2, t3, t3, null, null); _this._fragmentsForNextLine = A.SubListIterable$(t1, t2, t3, A._arrayInstanceType(t1)._precomputed1).toList$0(0); B.JSArray_methods.removeRange$2(t1, _this._lastBreakableFragment + 1, t1.length); } t1 = _this._fragments; trailingNewlines = t1.length === 0 ? 0 : B.JSArray_methods.get$last(t1).trailingNewlines; if (t1.length !== 0) t2 = B.JSArray_methods.get$first(t1).start; else { t2 = _this._fragmentsForNextLine; t2.toString; t2 = B.JSArray_methods.get$first(t2).start; } t3 = _this.get$endIndex(); t4 = _this._trailingSpaces; t5 = _this._spaceCount; if (t1.length !== 0) { t6 = B.JSArray_methods.get$last(t1).type; t6 = t6 === B.LineBreakType_2 || t6 === B.LineBreakType_3; } else t6 = false; t7 = _this.width; t8 = _this.widthIncludingSpace; t9 = _this.get$alignOffset(); t10 = _this.ascent; t11 = _this.descent; t12 = _this.paragraph; t13 = t12.paragraphStyle.textDirection; if (t13 == null) t13 = B.TextDirection_1; line = new A.ParagraphLine(new A.EngineLineMetrics(t6, t10, t11, t10, t10 + t11, t7, t9, _this.accumulatedHeight + t10, _this.lineNumber), t2, t3, trailingNewlines, t4, t5, t8, t1, t13, t12); for (t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i]._FragmentPosition____FragmentPosition_line_A = line; return line; }, nextLine$0() { var _this = this, t1 = _this.ascent, t2 = _this.descent, t3 = _this._fragmentsForNextLine; if (t3 == null) t3 = A._setArrayType([], type$.JSArray_LayoutFragment); return A.LineBuilder$_(_this.paragraph, _this.spanometer, _this.accumulatedHeight + (t1 + t2), t3, _this.lineNumber + 1, _this.maxWidth); } }; A.Spanometer.prototype = { set$currentSpan(span) { var t1, value, t2, t3, ruler, newCssFontString = span.get$style(span).get$cssFontString(); if ($._lastContextFont !== newCssFontString) { $._lastContextFont = newCssFontString; $.$get$textContext().font = newCssFontString; } if (span === this._currentSpan) return; this._currentSpan = span; t1 = span.get$style(span); value = t1.__EngineTextStyle_heightStyle_FI; if (value === $) { t2 = t1.get$effectiveFontFamily(); t3 = t1.fontSize; if (t3 == null) t3 = 14; t1.__EngineTextStyle_heightStyle_FI !== $ && A.throwUnnamedLateFieldADI(); value = t1.__EngineTextStyle_heightStyle_FI = new A.TextHeightStyle(t2, t3, t1.height, null, null); } ruler = $.Spanometer__rulers.$index(0, value); if (ruler == null) { ruler = new A.TextHeightRuler(value, $.$get$Spanometer__rulerHost(), new A.TextDimensions(A.DomDocumentExtension_createElement(self.document, "flt-paragraph"))); $.Spanometer__rulers.$indexSet(0, value, ruler); } this._currentRuler = ruler; }, measureFragment$1(fragment) { var t2, t3, t4, t5, widthExcludingTrailingSpaces, widthIncludingTrailingSpaces, value, cachedHeight, _this = this, t1 = fragment.span; if (fragment.get$isPlaceholder()) { type$.PlaceholderSpan._as(t1); t2 = t1.width; fragment.setMetrics$5$ascent$descent$widthExcludingTrailingSpaces$widthIncludingTrailingSpaces(_this, t1.height, 0, t2, t2); } else { _this.set$currentSpan(t1); t1 = fragment.start; t2 = fragment.end; t3 = $.$get$textContext(); t4 = _this.paragraph.plainText; t5 = _this._currentSpan; widthExcludingTrailingSpaces = A.measureSubstring(t3, t4, t1, t2 - fragment.trailingSpaces, t5.get$style(t5).letterSpacing); t5 = _this._currentSpan; widthIncludingTrailingSpaces = A.measureSubstring(t3, t4, t1, t2 - fragment.trailingNewlines, t5.get$style(t5).letterSpacing); t5 = _this._currentRuler.get$alphabeticBaseline(0); t2 = _this._currentRuler; value = t2.__TextHeightRuler_height_FI; if (value === $) { t1 = t2._dimensions; t3 = t1._cachedBoundingClientRect; t1 = t3 == null ? t1._cachedBoundingClientRect = t1.__engine$_element.getBoundingClientRect() : t3; cachedHeight = t1.height; t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_2 && true) ++cachedHeight; t2.__TextHeightRuler_height_FI !== $ && A.throwUnnamedLateFieldADI(); value = t2.__TextHeightRuler_height_FI = cachedHeight; } fragment.setMetrics$5$ascent$descent$widthExcludingTrailingSpaces$widthIncludingTrailingSpaces(_this, t5, value - _this._currentRuler.get$alphabeticBaseline(0), widthExcludingTrailingSpaces, widthIncludingTrailingSpaces); } }, forceBreak$4$allowEmpty$availableWidth(start, end, allowEmpty, availableWidth) { var t1, high, low, mid, t2, t3, width; if (availableWidth <= 0) return allowEmpty ? start : start + 1; for (t1 = this.paragraph.plainText, high = end, low = start; high - low > 1;) { mid = B.JSInt_methods._tdivFast$1(low + high, 2); t2 = $.$get$textContext(); t3 = this._currentSpan; width = A.measureSubstring(t2, t1, start, mid, t3.get$style(t3).letterSpacing); if (width < availableWidth) low = mid; else { low = width > availableWidth ? low : mid; high = mid; } } return low === start && !allowEmpty ? low + 1 : low; } }; A.LineBreakType.prototype = { _enumToString$0() { return "LineBreakType." + this._core$_name; } }; A.FWLineBreakFragmenter.prototype = { fragment$0() { return A._computeLineBreakFragments(this.text); } }; A.V8LineBreakFragmenter.prototype = { fragment$0() { var t1 = this.text; return A.breakLinesUsingV8BreakIterator(t1, t1, this._v8BreakIterator); } }; A.LineBreakFragment.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.start, _this.end, _this.type, _this.trailingNewlines, _this.trailingSpaces, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.LineBreakFragment && other.start === _this.start && other.end === _this.end && other.type === _this.type && other.trailingNewlines === _this.trailingNewlines && other.trailingSpaces === _this.trailingSpaces; }, toString$0(_) { return "LineBreakFragment(" + this.start + ", " + this.end + ", " + this.type.toString$0(0) + ")"; } }; A._computeLineBreakFragments_setBreak.prototype = { call$2(type, debugRuleNumber) { var _this = this, fragmentEnd = type === B.LineBreakType_3 ? _this.text.length : _this._box_0.index, t1 = _this._box_0, t2 = t1.prev1; if (t2 === B.LineCharProperty_5) ++t1.trailingSpaces; else if (t2 === B.LineCharProperty_2 || t2 === B.LineCharProperty_3 || t2 === B.LineCharProperty_4) { ++t1.trailingNewlines; ++t1.trailingSpaces; } if (type === B.LineBreakType_1) return; t2 = t1.fragmentStart; _this.fragments.push(new A.LineBreakFragment(type, t1.trailingNewlines, t1.trailingSpaces, t2, fragmentEnd)); t1.fragmentStart = t1.index; t1.trailingSpaces = t1.trailingNewlines = 0; t1.prev1 = t1.prev2 = null; }, $signature: 3045 }; A.RulerHost.prototype = { dispose$0() { this._rulerHost.remove(); } }; A.TextPaintService.prototype = { paint$2(canvas, offset) { var t1, _i, line, t2, t3, _i0, fragment, lines = this.paragraph.get$_layoutService().lines; for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i) { line = lines[_i]; for (t2 = line.fragments, t3 = t2.length, _i0 = 0; _i0 < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i0) { fragment = t2[_i0]; this._paintBackground$3(canvas, offset, fragment); this._paintText$4(canvas, offset, line, fragment); } } }, _paintBackground$3(canvas, offset, fragment) { var t1, background, rect; if (fragment.get$isPlaceholder()) return; t1 = fragment.span; background = type$.nullable_SurfacePaint._as(t1.get$style(t1).background); if (background != null) { t1 = fragment.toPaintingTextBox$0(); rect = new A.Rect(t1.left, t1.top, t1.right, t1.bottom); if (!rect.get$isEmpty(0)) { t1 = rect.shift$1(offset); background._frozen = true; canvas.drawRect$2(t1, background._paintData); } } }, _paintText$4(canvas, offset, line, fragment) { var t1, style, foreground, t2, paint, t3, t4, ctx, fragmentX, text; if (fragment.get$isPlaceholder()) return; if (fragment.get$isSpaceOnly()) return; t1 = fragment.span; style = t1.get$style(t1); foreground = style.foreground; t2 = type$.SurfacePaint; if (foreground != null) { t2._as(foreground); paint = foreground; } else { paint = t2._as($.$get$_renderer().createPaint$0()); t2 = style.color; if (t2 != null) paint.set$color(0, t2); } t2 = style.get$cssFontString(); t3 = fragment.__engine$_textDirection; t3.toString; t4 = canvas._canvasPool; ctx = t4.get$context(0); t3 = t3 === B.TextDirection_1 ? "ltr" : "rtl"; ctx.direction = t3; if (t2 !== canvas._cachedLastCssFont) { ctx.font = t2; canvas._cachedLastCssFont = t2; } paint._frozen = true; t2 = paint._paintData; t4.get$contextHandle().setUpPaint$2(t2, null); t2 = fragment.__engine$_textDirection; t2.toString; fragmentX = t2 === B.TextDirection_1 ? fragment.get$left(0) : fragment.get$right(0); t2 = line.lineMetrics; style = t1.get$style(t1); text = fragment.getText$1(this.paragraph); t1 = style.foreground; t1 = t1 == null ? null : t1.get$style(t1); canvas.drawText$5$shadows$style(text, offset._dx + t2.left + fragmentX, offset._dy + t2.baseline, style.shadows, t1); t4.get$contextHandle().tearDownPaint$0(); } }; A.EngineLineMetrics.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.hardBreak, _this.ascent, _this.descent, _this.unscaledAscent, _this.height, _this.width, _this.left, _this.baseline, _this.lineNumber, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.EngineLineMetrics && other.hardBreak === _this.hardBreak && other.ascent === _this.ascent && other.descent === _this.descent && other.unscaledAscent === _this.unscaledAscent && other.height === _this.height && other.width === _this.width && other.left === _this.left && other.baseline === _this.baseline && other.lineNumber === _this.lineNumber; }, toString$0(_) { return this.super$Object$toString(0); }, $isLineMetrics: 1, get$hardBreak() { return this.hardBreak; }, get$ascent() { return this.ascent; }, get$descent() { return this.descent; }, get$unscaledAscent() { return this.unscaledAscent; }, get$height(receiver) { return this.height; }, get$width(receiver) { return this.width; }, get$left(receiver) { return this.left; }, get$baseline() { return this.baseline; }, get$lineNumber(receiver) { return this.lineNumber; } }; A.ParagraphLine.prototype = { get$visibleEndIndex() { var _0_0, _0_1, t1, _0_6, rest, _this = this, _null = null, value = _this.__ParagraphLine_visibleEndIndex_FI; if (value === $) { _0_0 = _this.fragments; $label0$0: { _0_1 = _0_0.length; if (_0_1 <= 0) { t1 = _this.startIndex; break $label0$0; } if (_0_1 >= 1) { _0_6 = B.JSArray_methods.sublist$2(_0_0, 0, _0_1 - 1); t1 = _0_6; if (type$.List_LayoutFragment._is(t1)) { t1 = _0_0[_0_1 - 1] instanceof A.EllipsisFragment; rest = _0_6; } else { rest = _null; t1 = false; } } else { rest = _null; t1 = false; } if (!t1) if (type$.List_LayoutFragment._is(_0_0)) { rest = _0_0; t1 = true; } else t1 = false; else t1 = true; if (t1) { t1 = (rest && B.JSArray_methods).get$last(rest).end; break $label0$0; } t1 = _null; } _this.__ParagraphLine_visibleEndIndex_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__ParagraphLine_visibleEndIndex_FI = t1; } return value; }, _fallbackGraphemeStartIterable$1(lineText) { var t1, t2, precededByHighSurrogate, i, maskedCodeUnit, graphemeStarts = A._setArrayType([], type$.JSArray_int); for (t1 = lineText.length, t2 = this.startIndex, precededByHighSurrogate = false, i = 0; i < t1; ++i) { maskedCodeUnit = lineText.charCodeAt(i) & 64512; if (maskedCodeUnit !== 56320 || !precededByHighSurrogate) graphemeStarts.push(t2 + i); precededByHighSurrogate = maskedCodeUnit === 55296; } return graphemeStarts; }, _fromDomSegmenter$1(fragmentText) { var t1, t2, domSegmenter = A.createIntlSegmenter("grapheme"), graphemeStarts = A._setArrayType([], type$.JSArray_int), segments = A.DomSegmentsExtension_iterator(A.callMethod(domSegmenter, "segment", [fragmentText])); for (t1 = this.startIndex; segments.moveNext$0();) { t2 = segments.__DomIteratorWrapper__current_A; t2 === $ && A.throwUnnamedLateFieldNI(); graphemeStarts.push(B.JSNumber_methods.toInt$0(t2.index) + t1); } return graphemeStarts; }, get$graphemeStarts() { var t1, result, graphemeStarts, _this = this, value = _this.__ParagraphLine_graphemeStarts_FI; if (value === $) { t1 = _this.startIndex; if (_this.get$visibleEndIndex() === t1) result = B.List_empty1; else { t1 = B.JSString_methods.substring$2(_this.paragraph.plainText, t1, _this.get$visibleEndIndex()); graphemeStarts = self.Intl.Segmenter == null ? _this._fallbackGraphemeStartIterable$1(t1) : _this._fromDomSegmenter$1(t1); if (graphemeStarts.length !== 0) graphemeStarts.push(_this.get$visibleEndIndex()); result = graphemeStarts; } _this.__ParagraphLine_graphemeStarts_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__ParagraphLine_graphemeStarts_FI = result; } return value; }, graphemeStartIndexBefore$3(offset, start, end) { var high, low, mid, _0_0, lineGraphemeBreaks = this.get$graphemeStarts(); for (high = end, low = start; low + 2 <= high;) { mid = B.JSInt_methods._tdivFast$1(low + high, 2); _0_0 = lineGraphemeBreaks[mid] - offset; if (_0_0 > 0) { high = mid; continue; } if (_0_0 < 0) { low = mid; continue; } return mid; } return low; }, closestFragmentTo$2(targetFragment, searchLeft) { var t1, t2, closestFragment, _i, fragment, t3, t4, t5, distance, minDistance; for (t1 = this.fragments, t2 = t1.length, closestFragment = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { fragment = t1[_i]; if (fragment.start >= this.get$visibleEndIndex()) break; if (fragment.get$graphemeStartIndexRange() == null) continue; if (searchLeft) { t3 = targetFragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = targetFragment._FragmentPosition____FragmentPosition__startOffset_A; if (t3.textDirection === B.TextDirection_1) { t4 === $ && A.throwUnnamedLateFieldNI(); t3 = t4; } else { t4 === $ && A.throwUnnamedLateFieldNI(); t5 = targetFragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5 = t3.lineMetrics.width - (t4 + (t5 + targetFragment._FragmentMetrics__extraWidthForJustification)); t3 = t5; } t4 = fragment._FragmentPosition____FragmentPosition_line_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = fragment._FragmentPosition____FragmentPosition__startOffset_A; if (t4.textDirection === B.TextDirection_1) { t5 === $ && A.throwUnnamedLateFieldNI(); t4 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t5 + (t4 + fragment._FragmentMetrics__extraWidthForJustification); } else { t5 === $ && A.throwUnnamedLateFieldNI(); t4 = t4.lineMetrics.width - t5; } distance = t3 - t4; } else { t3 = fragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = fragment._FragmentPosition____FragmentPosition__startOffset_A; if (t3.textDirection === B.TextDirection_1) { t4 === $ && A.throwUnnamedLateFieldNI(); t3 = t4; } else { t4 === $ && A.throwUnnamedLateFieldNI(); t5 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5 = t3.lineMetrics.width - (t4 + (t5 + fragment._FragmentMetrics__extraWidthForJustification)); t3 = t5; } t4 = targetFragment._FragmentPosition____FragmentPosition_line_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = targetFragment._FragmentPosition____FragmentPosition__startOffset_A; if (t4.textDirection === B.TextDirection_1) { t5 === $ && A.throwUnnamedLateFieldNI(); t4 = targetFragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t5 + (t4 + targetFragment._FragmentMetrics__extraWidthForJustification); } else { t5 === $ && A.throwUnnamedLateFieldNI(); t4 = t4.lineMetrics.width - t5; } distance = t3 - t4; } minDistance = closestFragment == null ? null : closestFragment._0; $label0$1: { if (distance > 0) t3 = minDistance == null || minDistance > distance; else t3 = false; if (t3) { closestFragment = new A._Record_2_distance_fragment(distance, fragment); break $label0$1; } if (distance === 0) return fragment; continue; } } return closestFragment == null ? null : closestFragment._1; }, closestFragmentAtOffset$1(dx) { var t1, t2, closestFragment, graphemeIndex, _i, fragment, t3, t4, t5, t6, distance, minDistance, _this = this, _null = null; if (_this.get$graphemeStarts().length === 0) return _null; for (t1 = _this.fragments, t2 = t1.length, closestFragment = _null, graphemeIndex = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { fragment = t1[_i]; t3 = fragment.start; if (t3 >= _this.get$visibleEndIndex()) break; t4 = fragment.end; if (t4 - t3 === 0) continue; for (; t3 > _this.get$graphemeStarts()[graphemeIndex];) ++graphemeIndex; if (_this.get$graphemeStarts()[graphemeIndex] >= t4) continue; t3 = fragment._FragmentPosition____FragmentPosition_line_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = t3.textDirection === B.TextDirection_1; t5 = fragment._FragmentPosition____FragmentPosition__startOffset_A; if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t5; } else { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = t3.lineMetrics.width - (t5 + (t6 + fragment._FragmentMetrics__extraWidthForJustification)); } if (dx < t6) { if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t3 = t5; } else { t5 === $ && A.throwUnnamedLateFieldNI(); t4 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t3.lineMetrics.width - (t5 + (t4 + fragment._FragmentMetrics__extraWidthForJustification)); t3 = t4; } distance = t3 - dx; } else { if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = t5 + (t6 + fragment._FragmentMetrics__extraWidthForJustification); } else { t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t3.lineMetrics.width - t5; } if (dx > t6) { if (t4) { t5 === $ && A.throwUnnamedLateFieldNI(); t3 = fragment._FragmentMetrics____FragmentMetrics__widthIncludingTrailingSpaces_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t5 + (t3 + fragment._FragmentMetrics__extraWidthForJustification); } else { t5 === $ && A.throwUnnamedLateFieldNI(); t3 = t3.lineMetrics.width - t5; } distance = dx - t3; } else return fragment; } minDistance = closestFragment == null ? _null : closestFragment._0; if (minDistance == null || minDistance > distance) closestFragment = new A._Record_2_distance_fragment(distance, fragment); } return closestFragment == null ? _null : closestFragment._1; }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.lineMetrics, _this.startIndex, _this.endIndex, _this.trailingNewlines, _this.trailingSpaces, _this.spaceCount, _this.widthWithTrailingSpaces, _this.fragments, _this.textDirection, null, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.ParagraphLine && other.lineMetrics.$eq(0, _this.lineMetrics) && other.startIndex === _this.startIndex && other.endIndex === _this.endIndex && other.trailingNewlines === _this.trailingNewlines && other.trailingSpaces === _this.trailingSpaces && other.spaceCount === _this.spaceCount && other.widthWithTrailingSpaces === _this.widthWithTrailingSpaces && other.fragments === _this.fragments && other.textDirection === _this.textDirection && true; }, toString$0(_) { return B.Type_ParagraphLine_MEg.toString$0(0) + "(" + this.startIndex + ", " + this.endIndex + ", " + this.lineMetrics.toString$0(0) + ")"; } }; A.EngineParagraphStyle.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.EngineParagraphStyle && other.textAlign == _this.textAlign && other.textDirection == _this.textDirection && other.fontWeight == _this.fontWeight && other.fontStyle == _this.fontStyle && other.maxLines == _this.maxLines && other.fontFamily == _this.fontFamily && other.fontSize == _this.fontSize && other.height == _this.height && J.$eq$(other._textHeightBehavior, _this._textHeightBehavior) && other.ellipsis == _this.ellipsis && J.$eq$(other.locale, _this.locale); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.textAlign, _this.textDirection, _this.fontWeight, _this.fontStyle, _this.maxLines, _this.fontFamily, _this.fontSize, _this.height, _this._textHeightBehavior, _this.ellipsis, _this.locale, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return this.super$Object$toString(0); } }; A.EngineTextStyle.prototype = { get$effectiveFontFamily() { var fontFamily = this.fontFamily; return fontFamily.length === 0 ? "sans-serif" : fontFamily; }, get$cssFontString() { var t2, t3, t4, cssFontStyle, cssFontWeight, cssFontSize, _this = this, _s6_ = "normal", t1 = _this._cssFontString; if (t1 == null) { t1 = _this.fontStyle; t2 = _this.fontWeight; t3 = _this.fontSize; t4 = _this.get$effectiveFontFamily(); if (t1 == null) cssFontStyle = null; else { t1 = t1 === B.FontStyle_0 ? _s6_ : "italic"; cssFontStyle = t1; } if (cssFontStyle == null) cssFontStyle = _s6_; cssFontWeight = t2 == null ? null : A.fontWeightIndexToCss(t2.index); if (cssFontWeight == null) cssFontWeight = _s6_; cssFontSize = B.JSNumber_methods.floor$0(t3 == null ? 14 : t3); t1 = A.canonicalizeFontFamily(t4); t1.toString; t1 = _this._cssFontString = cssFontStyle + " " + cssFontWeight + " " + cssFontSize + "px " + t1; } return t1; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.EngineTextStyle && J.$eq$(other.color, _this.color) && J.$eq$(other.decoration, _this.decoration) && J.$eq$(other.decorationColor, _this.decorationColor) && other.decorationStyle == _this.decorationStyle && other.fontWeight == _this.fontWeight && other.fontStyle == _this.fontStyle && other.textBaseline == _this.textBaseline && other.leadingDistribution == _this.leadingDistribution && other.fontFamily === _this.fontFamily && other.fontSize == _this.fontSize && other.letterSpacing == _this.letterSpacing && other.wordSpacing == _this.wordSpacing && other.height == _this.height && other.decorationThickness == _this.decorationThickness && J.$eq$(other.locale, _this.locale) && other.background == _this.background && other.foreground == _this.foreground && A.listEquals0(other.shadows, _this.shadows) && A.listEquals0(other.fontFamilyFallback, _this.fontFamilyFallback) && A.listEquals0(other.fontFeatures, _this.fontFeatures) && A.listEquals0(other.fontVariations, _this.fontVariations); }, get$hashCode(_) { var _this = this, _null = null, shadows = _this.shadows, fontFeatures = _this.fontFeatures, fontVariations = _this.fontVariations, fontFamilyFallback = _this.fontFamilyFallback, t1 = fontFamilyFallback == null ? _null : A.Object_hashAll(fontFamilyFallback), t2 = shadows == null ? _null : A.Object_hashAll(shadows), t3 = fontFeatures == null ? _null : A.Object_hashAll(fontFeatures); return A.Object_hash(_this.color, _this.decoration, _this.decorationColor, _this.decorationStyle, _this.fontWeight, _this.fontStyle, _this.textBaseline, _this.leadingDistribution, _this.fontFamily, t1, _this.fontSize, _this.letterSpacing, _this.wordSpacing, _this.height, _this.locale, _this.background, _this.foreground, t2, _this.decorationThickness, A.Object_hash(t3, fontVariations == null ? _null : A.Object_hashAll(fontVariations), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue)); }, toString$0(_) { return this.super$Object$toString(0); } }; A.EngineStrutStyle.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.EngineStrutStyle && other._fontFamily == _this._fontFamily && other.__engine$_fontSize == _this.__engine$_fontSize && other.__engine$_height == _this.__engine$_height && other._fontWeight == _this._fontWeight && other._fontStyle == _this._fontStyle && other._forceStrutHeight == _this._forceStrutHeight && A.listEquals0(other._fontFamilyFallback, _this._fontFamilyFallback); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this._fontFamily, _this._fontFamilyFallback, _this.__engine$_fontSize, _this.__engine$_height, _this._leading, _this._leadingDistribution, _this._fontWeight, _this._fontStyle, _this._forceStrutHeight, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A.ParagraphPlaceholder.prototype = {}; A.TextHeightStyle.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.TextHeightStyle && other.get$hashCode(0) === this.get$hashCode(0); }, get$hashCode(_) { var result, _this = this, value = _this.__TextHeightStyle_hashCode_FI; if (value === $) { result = A.Object_hash(_this.fontFamily, _this.fontSize, _this.height, null, null, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); _this.__TextHeightStyle_hashCode_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__TextHeightStyle_hashCode_FI = result; value = result; } return value; } }; A.TextDimensions.prototype = {}; A.TextHeightRuler.prototype = { get$__engine$_host() { var host, t1, t2, fontFamily, t3, style, t4, height, effectiveLineHeight, _this = this, value = _this.__TextHeightRuler__host_FI; if (value === $) { host = A.DomDocumentExtension_createElement(self.document, "div"); t1 = host.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "visibility", "hidden"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "display", "flex"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "flex-direction", "row"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "align-items", "baseline"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "margin", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "border", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "padding", "0"); t1 = _this._dimensions; t2 = _this.textHeightStyle; fontFamily = t2.fontFamily; t3 = t1.__engine$_element; style = t3.style; A.DomCSSStyleDeclarationExtension_setProperty(style, "font-size", "" + B.JSNumber_methods.floor$0(t2.fontSize) + "px"); t4 = A.canonicalizeFontFamily(fontFamily); t4.toString; A.DomCSSStyleDeclarationExtension_setProperty(style, "font-family", t4); height = t2.height; if (height == null) effectiveLineHeight = fontFamily === "FlutterTest" ? 1 : null; else effectiveLineHeight = height; if (effectiveLineHeight != null) A.DomCSSStyleDeclarationExtension_setProperty(style, "line-height", B.JSNumber_methods.toString$0(effectiveLineHeight)); t1._cachedBoundingClientRect = null; A.DomCSSStyleDeclarationExtension_setProperty(t3.style, "white-space", "pre"); t1._cachedBoundingClientRect = null; A.DomNodeExtension_set_text(t3, " "); host.append(t3); t1._cachedBoundingClientRect = null; _this.rulerHost._rulerHost.append(host); _this.__TextHeightRuler__host_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__TextHeightRuler__host_FI = host; value = host; } return value; }, get$alphabeticBaseline(_) { var probe, _this = this, value = _this.__TextHeightRuler_alphabeticBaseline_FI; if (value === $) { value = _this.__TextHeightRuler__probe_FI; if (value === $) { probe = A.DomDocumentExtension_createElement(self.document, "div"); _this.get$__engine$_host().append(probe); _this.__TextHeightRuler__probe_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__TextHeightRuler__probe_FI = probe; value = probe; } value = value.getBoundingClientRect().bottom; _this.__TextHeightRuler_alphabeticBaseline_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__TextHeightRuler_alphabeticBaseline_FI = value; } return value; }, dispose$0() { this.get$__engine$_host().remove(); } }; A.FragmentFlow.prototype = { _enumToString$0() { return "FragmentFlow." + this._core$_name; } }; A.BidiFragment.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.start, _this.end, _this.textDirection, _this.fragmentFlow, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.BidiFragment && other.start === _this.start && other.end === _this.end && other.textDirection == _this.textDirection && other.fragmentFlow === _this.fragmentFlow; }, toString$0(_) { return "BidiFragment(" + this.start + ", " + this.end + ", " + A.S(this.textDirection) + ")"; } }; A._ComparisonResult.prototype = { _enumToString$0() { return "_ComparisonResult." + this._core$_name; } }; A.UnicodeRange.prototype = { compare$1(value) { if (value < this.start) return B._ComparisonResult_2; if (value > this.end) return B._ComparisonResult_1; return B._ComparisonResult_0; } }; A.UnicodePropertyLookup.prototype = { find$2(_, text, index) { var codePoint = A.getCodePoint(text, index); return codePoint == null ? this.defaultProperty : this.findForChar$1(codePoint); }, findForChar$1(char) { var t1, cacheHit, rangeIndex, result, _this = this; if (char == null) return _this.defaultProperty; t1 = _this._cache; cacheHit = t1.$index(0, char); if (cacheHit != null) return cacheHit; rangeIndex = _this._binarySearch$1(char); result = rangeIndex === -1 ? _this.defaultProperty : _this.ranges[rangeIndex].property; t1.$indexSet(0, char, result); return result; }, _binarySearch$1(value) { var min, mid, t1 = this.ranges, max = t1.length; for (min = 0; min < max;) { mid = min + B.JSInt_methods._shrOtherPositive$1(max - min, 1); switch (t1[mid].compare$1(value).index) { case 1: min = mid + 1; break; case 2: max = mid; break; case 0: return mid; } } return -1; } }; A._FindBreakDirection.prototype = { _enumToString$0() { return "_FindBreakDirection." + this._core$_name; } }; A.BrowserAutofillHints.prototype = {}; A.CompositionAwareMixin.prototype = { get$_compositionStartListener() { var result, _this = this, value = _this.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI; if (value === $) { result = type$.JavaScriptFunction._as(A.allowInterop(_this.get$_handleCompositionStart())); _this.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI !== $ && A.throwUnnamedLateFieldADI(); _this.CompositionAwareMixin___CompositionAwareMixin__compositionStartListener_FI = result; value = result; } return value; }, get$_compositionUpdateListener() { var result, _this = this, value = _this.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI; if (value === $) { result = type$.JavaScriptFunction._as(A.allowInterop(_this.get$_handleCompositionUpdate())); _this.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI !== $ && A.throwUnnamedLateFieldADI(); _this.CompositionAwareMixin___CompositionAwareMixin__compositionUpdateListener_FI = result; value = result; } return value; }, get$_compositionEndListener() { var result, _this = this, value = _this.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI; if (value === $) { result = type$.JavaScriptFunction._as(A.allowInterop(_this.get$_handleCompositionEnd())); _this.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI !== $ && A.throwUnnamedLateFieldADI(); _this.CompositionAwareMixin___CompositionAwareMixin__compositionEndListener_FI = result; value = result; } return value; }, addCompositionEventHandlers$1(domElement) { A.DomEventTargetExtension_addEventListener(domElement, "compositionstart", this.get$_compositionStartListener(), null); A.DomEventTargetExtension_addEventListener(domElement, "compositionupdate", this.get$_compositionUpdateListener(), null); A.DomEventTargetExtension_addEventListener(domElement, "compositionend", this.get$_compositionEndListener(), null); }, _handleCompositionStart$1($event) { this.CompositionAwareMixin_composingText = null; }, _handleCompositionUpdate$1($event) { var t1, $constructor = globalThis.CompositionEvent; if ($constructor != null && $event instanceof $constructor) { t1 = $event.data; this.CompositionAwareMixin_composingText = t1 == null ? null : t1; } }, _handleCompositionEnd$1($event) { this.CompositionAwareMixin_composingText = null; }, determineCompositionState$1(editingState) { var t1, t2, composingBase; if (this.CompositionAwareMixin_composingText == null || editingState.text == null) return editingState; t1 = editingState.extentOffset; t2 = this.CompositionAwareMixin_composingText.length; composingBase = t1 - t2; if (composingBase < 0) return editingState; return A.EditingState$(editingState.baseOffset, composingBase, composingBase + t2, t1, editingState.text); } }; A.EngineInputAction.prototype = { configureInputAction$1(domElement) { var t1; if (this.get$enterkeyhintAttribute() == null) return; t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_0) t1 = t1 === B.OperatingSystem_1 || this.get$enterkeyhintAttribute() == null; else t1 = true; if (t1) { t1 = this.get$enterkeyhintAttribute(); t1.toString; t1 = A.jsify(t1); A.callMethod(domElement, "setAttribute", ["enterkeyhint", t1 == null ? type$.Object._as(t1) : t1]); } } }; A.NoInputAction.prototype = { get$enterkeyhintAttribute() { return null; } }; A.EnterInputAction.prototype = { get$enterkeyhintAttribute() { return "enter"; } }; A.DoneInputAction.prototype = { get$enterkeyhintAttribute() { return "done"; } }; A.GoInputAction.prototype = { get$enterkeyhintAttribute() { return "go"; } }; A.NextInputAction.prototype = { get$enterkeyhintAttribute() { return "next"; } }; A.PreviousInputAction.prototype = { get$enterkeyhintAttribute() { return "previous"; } }; A.SearchInputAction.prototype = { get$enterkeyhintAttribute() { return "search"; } }; A.SendInputAction.prototype = { get$enterkeyhintAttribute() { return "send"; } }; A.EngineInputType.prototype = { createDomElement$0() { return A.DomDocumentExtension_createElement(self.document, "input"); }, configureInputMode$1(domElement) { var t1; if (this.get$inputmodeAttribute() == null) return; t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_0) t1 = t1 === B.OperatingSystem_1 || this.get$inputmodeAttribute() === "none"; else t1 = true; if (t1) { t1 = this.get$inputmodeAttribute(); t1.toString; t1 = A.jsify(t1); A.callMethod(domElement, "setAttribute", ["inputmode", t1 == null ? type$.Object._as(t1) : t1]); } } }; A.NoTextInputType.prototype = { get$inputmodeAttribute() { return "none"; } }; A.TextInputType0.prototype = { get$inputmodeAttribute() { return null; } }; A.NumberInputType.prototype = { get$inputmodeAttribute() { return "numeric"; } }; A.DecimalInputType.prototype = { get$inputmodeAttribute() { return "decimal"; } }; A.PhoneInputType.prototype = { get$inputmodeAttribute() { return "tel"; } }; A.EmailInputType.prototype = { get$inputmodeAttribute() { return "email"; } }; A.UrlInputType.prototype = { get$inputmodeAttribute() { return "url"; } }; A.MultilineInputType.prototype = { get$inputmodeAttribute() { return null; }, createDomElement$0() { return A.DomDocumentExtension_createElement(self.document, "textarea"); } }; A.TextCapitalization.prototype = { _enumToString$0() { return "TextCapitalization." + this._core$_name; } }; A.TextCapitalizationConfig.prototype = { setAutocapitalizeAttribute$1(domElement) { var t1, autocapitalize, $constructor, _s9_ = "sentences", _s12_ = "setAttribute"; switch (this.textCapitalization.index) { case 0: t1 = $.$get$_browserEngine(); autocapitalize = t1 === B.BrowserEngine_1 ? _s9_ : "words"; break; case 2: autocapitalize = "characters"; break; case 1: autocapitalize = _s9_; break; case 3: default: autocapitalize = "off"; break; } $constructor = globalThis.HTMLInputElement; if ($constructor != null && domElement instanceof $constructor) { t1 = A.jsify(autocapitalize); A.callMethod(domElement, _s12_, ["autocapitalize", t1 == null ? type$.Object._as(t1) : t1]); } else { $constructor = globalThis.HTMLTextAreaElement; if ($constructor != null && domElement instanceof $constructor) { t1 = A.jsify(autocapitalize); A.callMethod(domElement, _s12_, ["autocapitalize", t1 == null ? type$.Object._as(t1) : t1]); } } } }; A.EngineAutofillForm.prototype = { addInputEventListeners$0() { var t1 = this.elements, subscriptions = A._setArrayType([], type$.JSArray_DomSubscription); new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")).forEach$1(0, new A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey(this, subscriptions)); return subscriptions; } }; A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey.prototype = { call$1(key) { var t1 = this.$this, t2 = t1.elements.$index(0, key); t2.toString; this.subscriptions.push(A.DomSubscription$(t2, "input", new A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey_closure(t1, key, t2))); }, $signature: 15 }; A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey_closure.prototype = { call$1(e) { var newEditingState, t1 = this.$this.items, t2 = this.key; if (t1.$index(0, t2) == null) throw A.wrapException(A.StateError$("AutofillInfo must have a valid uniqueIdentifier.")); else { t1 = t1.$index(0, t2); t1.toString; newEditingState = A.EditingState_EditingState$fromDomElement(this.element); $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/textinput", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall(string$.TextInT, [0, A.LinkedHashMap_LinkedHashMap$_literal([t1.uniqueIdentifier, newEditingState.toFlutter$0()], type$.nullable_String, type$.dynamic)])), A._engine___emptyCallback$closure()); } }, $signature: 33 }; A.AutofillInfo.prototype = { applyToDomElement$2$focusedElement(domElement, focusedElement) { var t1, t2, _s8_ = "password", autofillHint = this.autofillHint, placeholder = this.placeholder, $constructor = globalThis.HTMLInputElement; if ($constructor != null && domElement instanceof $constructor) { if (placeholder != null) domElement.placeholder = placeholder; t1 = autofillHint == null; if (!t1) { domElement.name = autofillHint; domElement.id = autofillHint; if (B.JSString_methods.contains$1(autofillHint, _s8_)) A.DomHTMLInputElementExtension_set_type(domElement, _s8_); else A.DomHTMLInputElementExtension_set_type(domElement, "text"); } t1 = t1 ? "on" : autofillHint; domElement.autocomplete = t1; } else { $constructor = globalThis.HTMLTextAreaElement; if ($constructor != null && domElement instanceof $constructor) { if (placeholder != null) domElement.placeholder = placeholder; t1 = autofillHint == null; if (!t1) { domElement.name = autofillHint; domElement.id = autofillHint; } t2 = A.jsify(t1 ? "on" : autofillHint); A.callMethod(domElement, "setAttribute", ["autocomplete", t2 == null ? type$.Object._as(t2) : t2]); } } }, applyToDomElement$1(domElement) { return this.applyToDomElement$2$focusedElement(domElement, false); } }; A.TextEditingDeltaState.prototype = {}; A.EditingState.prototype = { get$minOffset() { return Math.min(this.baseOffset, this.extentOffset); }, get$maxOffset() { return Math.max(this.baseOffset, this.extentOffset); }, toFlutter$0() { var _this = this; return A.LinkedHashMap_LinkedHashMap$_literal(["text", _this.text, "selectionBase", _this.baseOffset, "selectionExtent", _this.extentOffset, "composingBase", _this.composingBaseOffset, "composingExtent", _this.composingExtentOffset], type$.String, type$.dynamic); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.text, _this.baseOffset, _this.extentOffset, _this.composingBaseOffset, _this.composingExtentOffset, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (A.getRuntimeTypeOfDartObject(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A.EditingState && other.text == _this.text && other.get$minOffset() === _this.get$minOffset() && other.get$maxOffset() === _this.get$maxOffset() && other.composingBaseOffset === _this.composingBaseOffset && other.composingExtentOffset === _this.composingExtentOffset; }, toString$0(_) { return this.super$Object$toString(0); }, applyToDomElement$1(domElement) { var t1, _this = this, _s17_ = "setSelectionRange", $constructor = globalThis.HTMLInputElement; if ($constructor != null && domElement instanceof $constructor) { domElement.toString; A.DomHTMLInputElementExtension_set_value(domElement, _this.text); A.callMethod(domElement, _s17_, [_this.get$minOffset(), _this.get$maxOffset()]); } else { $constructor = globalThis.HTMLTextAreaElement; if ($constructor != null && domElement instanceof $constructor) { domElement.toString; A.DomHTMLTextAreaElementExtension_set_value(domElement, _this.text); A.callMethod(domElement, _s17_, [_this.get$minOffset(), _this.get$maxOffset()]); } else { t1 = domElement == null ? null : A.DomElementExtension_get_tagName(domElement); throw A.wrapException(A.UnsupportedError$("Unsupported DOM element type: <" + A.S(t1) + "> (" + J.get$runtimeType$(domElement).toString$0(0) + ")")); } } } }; A.InputConfiguration.prototype = {}; A.GloballyPositionedTextEditingStrategy.prototype = { placeElement$0() { var t2, _this = this, t1 = _this.geometry; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.autofillGroup != null) { _this.placeForm$0(); t1 = _this.lastEditingState; if (t1 != null) t1.applyToDomElement$1(_this.domElement); _this.get$focusedFormElement().focus(); _this.domElement.focus(); } } }; A.SafariDesktopTextEditingStrategy.prototype = { placeElement$0() { var t2, _this = this, t1 = _this.geometry; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.autofillGroup != null) A.Timer_Timer(B.Duration_0, new A.SafariDesktopTextEditingStrategy_placeElement_closure(_this)); }, initializeElementPlacement$0() { if (this.geometry != null) this.placeElement$0(); this.domElement.focus(); } }; A.SafariDesktopTextEditingStrategy_placeElement_closure.prototype = { call$0() { var t2, t1 = this.$this; t1.placeForm$0(); t1.get$focusedFormElement().focus(); t1.domElement.focus(); t2 = t1.lastEditingState; if (t2 != null) { t1 = t1.domElement; t1.toString; t2.applyToDomElement$1(t1); } }, $signature: 0 }; A.DefaultTextEditingStrategy.prototype = { get$editingDeltaState() { var _null = null, t1 = this._editingDeltaState; if (t1 == null) { t1 = this.lastEditingState.text; t1.toString; t1 = this._editingDeltaState = new A.TextEditingDeltaState(t1, "", -1, -1, _null, _null, _null, _null); } return t1; }, get$focusedFormElement() { var t1 = this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; return t1 == null ? null : t1.formElement; }, initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { var t1, elementStyle, t2, _this = this, _s4_ = "none", _s11_ = "transparent"; _this.domElement = inputConfig.inputType.createDomElement$0(); _this.applyConfiguration$1(inputConfig); t1 = _this.domElement; A.callMethod(t1.classList, "add", ["flt-text-editing"]); elementStyle = t1.style; A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "forced-color-adjust", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "white-space", "pre-wrap"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "align-content", "center"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "top", "0"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "left", "0"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "padding", "0"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "opacity", "1"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "background-color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "background", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "caret-color", _s11_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "outline", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "border", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "resize", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "text-shadow", _s4_); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "overflow", "hidden"); A.DomCSSStyleDeclarationExtension_setProperty(elementStyle, "transform-origin", "0 0 0"); t2 = $.$get$_browserEngine(); if (t2 !== B.BrowserEngine_0) t2 = t2 === B.BrowserEngine_1; else t2 = true; if (t2) A.callMethod(t1.classList, "add", ["transparentTextEditing"]); t1 = _this.style; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.autofillGroup == null) { t1 = type$.nullable_EngineFlutterWindow._as($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, 0)).get$dom(); t2 = _this.domElement; t2.toString; t1.textEditingHost.append(t2); _this._appendedToForm = false; } _this.initializeElementPlacement$0(); _this.isEnabled = true; _this.onChange = onChange; _this.onAction = onAction; }, applyConfiguration$1(config) { var t1, t2, action, autofill, autocorrectValue, _this = this, _s12_ = "setAttribute"; _this.__DefaultTextEditingStrategy_inputConfiguration_A = config; t1 = _this.domElement; if (config.readOnly) { t1.toString; t2 = A.jsify("readonly"); A.callMethod(t1, _s12_, ["readonly", t2 == null ? type$.Object._as(t2) : t2]); } else { t1.toString; A.callMethod(t1, "removeAttribute", ["readonly"]); } if (config.obscureText) { t1 = _this.domElement; t1.toString; t2 = A.jsify("password"); A.callMethod(t1, _s12_, ["type", t2 == null ? type$.Object._as(t2) : t2]); } if (config.inputType === B.C_NoTextInputType) { t1 = _this.domElement; t1.toString; t2 = A.jsify("none"); A.callMethod(t1, _s12_, ["inputmode", t2 == null ? type$.Object._as(t2) : t2]); } action = A.EngineInputAction_fromName(config.inputAction); t1 = _this.domElement; t1.toString; action.configureInputAction$1(t1); autofill = config.autofill; t1 = _this.domElement; if (autofill != null) { t1.toString; autofill.applyToDomElement$2$focusedElement(t1, true); } else { t1.toString; t2 = A.jsify("off"); A.callMethod(t1, _s12_, ["autocomplete", t2 == null ? type$.Object._as(t2) : t2]); } autocorrectValue = config.autocorrect ? "on" : "off"; t1 = _this.domElement; t1.toString; t2 = A.jsify(autocorrectValue); A.callMethod(t1, _s12_, ["autocorrect", t2 == null ? type$.Object._as(t2) : t2]); }, initializeElementPlacement$0() { this.placeElement$0(); }, addEventHandlers$0() { var t2, t3, _this = this, t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; if (t1 != null) B.JSArray_methods.addAll$1(_this.subscriptions, t1.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t1.push(A.DomSubscription$(t2, "input", t3)); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "keydown", _this.get$maybeSendAction())); t1.push(A.DomSubscription$(self.document, "selectionchange", t3)); t3 = _this.domElement; t3.toString; A.DomEventTargetExtension_addEventListener(t3, "beforeinput", type$.JavaScriptFunction._as(A.allowInterop(_this.get$handleBeforeInput())), null); t3 = _this.domElement; t3.toString; _this.addCompositionEventHandlers$1(t3); t3 = _this.domElement; t3.toString; t1.push(A.DomSubscription$(t3, "blur", new A.DefaultTextEditingStrategy_addEventHandlers_closure(_this))); _this.preventDefaultForMouseEvents$0(); }, updateElementPlacement$1(textGeometry) { this.geometry = textGeometry; if (this.isEnabled) this.placeElement$0(); }, updateElementStyle$1(textStyle) { var t1; this.style = textStyle; if (this.isEnabled) { t1 = this.domElement; t1.toString; textStyle.applyToDomElement$1(t1); } }, disable$0(_) { var t1, i, t2, t3, _this = this, _null = null; _this.isEnabled = false; _this.geometry = _this.style = _this._editingDeltaState = _this.lastEditingState = null; for (t1 = _this.subscriptions, i = 0; i < t1.length; ++i) { t2 = t1[i]; t3 = t2.target; t3.removeEventListener.apply(t3, [t2.type, t2.listener]); } B.JSArray_methods.clear$0(t1); t1 = _this.domElement; t1.toString; A.DomEventTargetExtension_removeEventListener(t1, "compositionstart", _this.get$_compositionStartListener(), _null); A.DomEventTargetExtension_removeEventListener(t1, "compositionupdate", _this.get$_compositionUpdateListener(), _null); A.DomEventTargetExtension_removeEventListener(t1, "compositionend", _this.get$_compositionEndListener(), _null); if (_this._appendedToForm) { t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; t1 = (t1 == null ? _null : t1.formElement) != null; } else t1 = false; t2 = _this.domElement; if (t1) { t2.blur(); t1 = _this.domElement; t1.toString; A._styleAutofillElements(t1, true, false, true); t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; if (t1 != null) { t2 = t1.formIdentifier; t1 = t1.formElement; $.formsOnTheDom.$indexSet(0, t2, t1); A._styleAutofillElements(t1, true, false, true); } } else t2.remove(); _this.domElement = null; }, setEditingState$1(editingState) { var t1; this.lastEditingState = editingState; if (this.isEnabled) t1 = !(editingState.baseOffset >= 0 && editingState.extentOffset >= 0); else t1 = true; if (t1) return; editingState.applyToDomElement$1(this.domElement); }, placeElement$0() { this.domElement.focus(); }, placeForm$0() { var t2, t3, t1 = this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; t1.toString; t2 = this.domElement; t2.toString; if ($.$get$textEditing().get$strategy() instanceof A.SafariDesktopTextEditingStrategy) A.DomCSSStyleDeclarationExtension_setProperty(t2.style, "pointer-events", "all"); t3 = t1.formElement; t3.insertBefore(t2, t1.insertionReferenceNode); type$.nullable_EngineFlutterWindow._as($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, 0)).get$dom().textEditingHost.append(t3); this._appendedToForm = true; }, handleChange$1($event) { var newEditingState, newTextEditingDeltaState, _this = this, t1 = _this.domElement; t1.toString; newEditingState = _this.determineCompositionState$1(A.EditingState_EditingState$fromDomElement(t1)); t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.enableDeltaModel) { _this.get$editingDeltaState().composingOffset = newEditingState.composingBaseOffset; _this.get$editingDeltaState().composingExtent = newEditingState.composingExtentOffset; newTextEditingDeltaState = A.TextEditingDeltaState_inferDeltaState(newEditingState, _this.lastEditingState, _this.get$editingDeltaState()); } else newTextEditingDeltaState = null; if (!newEditingState.$eq(0, _this.lastEditingState)) { _this.lastEditingState = newEditingState; _this._editingDeltaState = newTextEditingDeltaState; _this.onChange.call$2(newEditingState, newTextEditingDeltaState); } _this._editingDeltaState = null; }, handleBeforeInput$1($event) { var t1, deltaOffset, deltaOffset0, _this = this, eventData = A._asStringQ($event.data), inputType = A._asStringQ($event.inputType); if (inputType != null) { t1 = _this.lastEditingState; deltaOffset = t1.baseOffset; deltaOffset0 = t1.extentOffset; deltaOffset = deltaOffset > deltaOffset0 ? deltaOffset : deltaOffset0; if (B.JSString_methods.contains$1(inputType, "delete")) { _this.get$editingDeltaState().deltaText = ""; _this.get$editingDeltaState().deltaEnd = deltaOffset; } else if (inputType === "insertLineBreak") { _this.get$editingDeltaState().deltaText = "\n"; _this.get$editingDeltaState().deltaStart = deltaOffset; _this.get$editingDeltaState().deltaEnd = deltaOffset; } else if (eventData != null) { _this.get$editingDeltaState().deltaText = eventData; _this.get$editingDeltaState().deltaStart = deltaOffset; _this.get$editingDeltaState().deltaEnd = deltaOffset; } } }, maybeSendAction$1(e) { var t1, t2, $constructor = globalThis.KeyboardEvent; if ($constructor != null && e instanceof $constructor) if (e.keyCode === 13) { t1 = this.onAction; t1.toString; t2 = this.__DefaultTextEditingStrategy_inputConfiguration_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.call$1(t2.inputAction); if (!(this.__DefaultTextEditingStrategy_inputConfiguration_A.inputType instanceof A.MultilineInputType)) e.preventDefault(); } }, enable$3$onAction$onChange(_, inputConfig, onAction, onChange) { var t1, _this = this; _this.initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange); _this.addEventHandlers$0(); t1 = _this.lastEditingState; if (t1 != null) _this.setEditingState$1(t1); _this.domElement.focus(); }, preventDefaultForMouseEvents$0() { var _this = this, t1 = _this.subscriptions, t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "mousedown", new A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure())); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "mouseup", new A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0())); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "mousemove", new A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1())); } }; A.DefaultTextEditingStrategy_addEventHandlers_closure.prototype = { call$1(_) { this.$this.domElement.focus(); }, $signature: 33 }; A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure.prototype = { call$1($event) { $event.preventDefault(); }, $signature: 33 }; A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0.prototype = { call$1($event) { $event.preventDefault(); }, $signature: 33 }; A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1.prototype = { call$1($event) { $event.preventDefault(); }, $signature: 33 }; A.IOSTextEditingStrategy.prototype = { initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { var t1, _this = this; _this.super$DefaultTextEditingStrategy$initializeTextEditing(inputConfig, onAction, onChange); t1 = _this.domElement; t1.toString; inputConfig.inputType.configureInputMode$1(t1); t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.autofillGroup != null) _this.placeForm$0(); t1 = _this.domElement; t1.toString; inputConfig.textCapitalization.setAutocapitalizeAttribute$1(t1); }, initializeElementPlacement$0() { A.DomCSSStyleDeclarationExtension_setProperty(this.domElement.style, "transform", "translate(-9999px, -9999px)"); this._canPosition = false; }, addEventHandlers$0() { var t2, t3, blurWatch, _this = this, t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; if (t1 != null) B.JSArray_methods.addAll$1(_this.subscriptions, t1.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t1.push(A.DomSubscription$(t2, "input", t3)); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "keydown", _this.get$maybeSendAction())); t1.push(A.DomSubscription$(self.document, "selectionchange", t3)); t3 = _this.domElement; t3.toString; A.DomEventTargetExtension_addEventListener(t3, "beforeinput", type$.JavaScriptFunction._as(A.allowInterop(_this.get$handleBeforeInput())), null); t3 = _this.domElement; t3.toString; _this.addCompositionEventHandlers$1(t3); t3 = _this.domElement; t3.toString; t1.push(A.DomSubscription$(t3, "focus", new A.IOSTextEditingStrategy_addEventHandlers_closure(_this))); _this._addTapListener$0(); blurWatch = new A.Stopwatch(); $.$get$Stopwatch__frequency(); blurWatch.start$0(0); t3 = _this.domElement; t3.toString; t1.push(A.DomSubscription$(t3, "blur", new A.IOSTextEditingStrategy_addEventHandlers_closure0(_this, blurWatch))); }, updateElementPlacement$1(textGeometry) { var _this = this; _this.geometry = textGeometry; if (_this.isEnabled && _this._canPosition) _this.placeElement$0(); }, disable$0(_) { var t1; this.super$DefaultTextEditingStrategy$disable(0); t1 = this._positionInputElementTimer; if (t1 != null) t1.cancel$0(0); this._positionInputElementTimer = null; }, _addTapListener$0() { var t1 = this.domElement; t1.toString; this.subscriptions.push(A.DomSubscription$(t1, "click", new A.IOSTextEditingStrategy__addTapListener_closure(this))); }, _schedulePlacement$0() { var t1 = this._positionInputElementTimer; if (t1 != null) t1.cancel$0(0); this._positionInputElementTimer = A.Timer_Timer(B.Duration_100000, new A.IOSTextEditingStrategy__schedulePlacement_closure(this)); }, placeElement$0() { var t1, t2; this.domElement.focus(); t1 = this.geometry; if (t1 != null) { t2 = this.domElement; t2.toString; t1.applyToDomElement$1(t2); } } }; A.IOSTextEditingStrategy_addEventHandlers_closure.prototype = { call$1(_) { this.$this._schedulePlacement$0(); }, $signature: 33 }; A.IOSTextEditingStrategy_addEventHandlers_closure0.prototype = { call$1(_) { var isFastCallback = A.Duration$(0, 0, this.blurWatch.get$elapsedMicroseconds(), 0, 0, 0)._duration < 200000, t1 = self.document.hasFocus() && isFastCallback, t2 = this.$this; if (t1) t2.domElement.focus(); else t2.owner.sendTextConnectionClosedToFrameworkIfAny$0(); }, $signature: 33 }; A.IOSTextEditingStrategy__addTapListener_closure.prototype = { call$1(_) { var t1 = this.$this; if (t1._canPosition) { t1.initializeElementPlacement$0(); t1._schedulePlacement$0(); } }, $signature: 33 }; A.IOSTextEditingStrategy__schedulePlacement_closure.prototype = { call$0() { var t1 = this.$this; t1._canPosition = true; t1.placeElement$0(); }, $signature: 0 }; A.AndroidTextEditingStrategy.prototype = { initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { var t1, t2, _this = this; _this.super$DefaultTextEditingStrategy$initializeTextEditing(inputConfig, onAction, onChange); t1 = _this.domElement; t1.toString; inputConfig.inputType.configureInputMode$1(t1); t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.autofillGroup != null) _this.placeForm$0(); else { t1 = type$.nullable_EngineFlutterWindow._as($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, 0)).get$dom(); t2 = _this.domElement; t2.toString; t1.textEditingHost.append(t2); } t1 = _this.domElement; t1.toString; inputConfig.textCapitalization.setAutocapitalizeAttribute$1(t1); }, addEventHandlers$0() { var t2, t3, _this = this, t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; if (t1 != null) B.JSArray_methods.addAll$1(_this.subscriptions, t1.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t1.push(A.DomSubscription$(t2, "input", t3)); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "keydown", _this.get$maybeSendAction())); t1.push(A.DomSubscription$(self.document, "selectionchange", t3)); t3 = _this.domElement; t3.toString; A.DomEventTargetExtension_addEventListener(t3, "beforeinput", type$.JavaScriptFunction._as(A.allowInterop(_this.get$handleBeforeInput())), null); t3 = _this.domElement; t3.toString; _this.addCompositionEventHandlers$1(t3); t3 = _this.domElement; t3.toString; t1.push(A.DomSubscription$(t3, "blur", new A.AndroidTextEditingStrategy_addEventHandlers_closure(_this))); _this.preventDefaultForMouseEvents$0(); }, placeElement$0() { var t1, t2; this.domElement.focus(); t1 = this.geometry; if (t1 != null) { t2 = this.domElement; t2.toString; t1.applyToDomElement$1(t2); } } }; A.AndroidTextEditingStrategy_addEventHandlers_closure.prototype = { call$1(_) { var t1 = this.$this; if (self.document.hasFocus()) t1.domElement.focus(); else t1.owner.sendTextConnectionClosedToFrameworkIfAny$0(); }, $signature: 33 }; A.FirefoxTextEditingStrategy.prototype = { initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { var t1; this.super$DefaultTextEditingStrategy$initializeTextEditing(inputConfig, onAction, onChange); t1 = this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.autofillGroup != null) this.placeForm$0(); }, addEventHandlers$0() { var t2, t3, _this = this, t1 = _this.__DefaultTextEditingStrategy_inputConfiguration_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.autofillGroup; if (t1 != null) B.JSArray_methods.addAll$1(_this.subscriptions, t1.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t1.push(A.DomSubscription$(t2, "input", t3)); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "keydown", _this.get$maybeSendAction())); t2 = _this.domElement; t2.toString; A.DomEventTargetExtension_addEventListener(t2, "beforeinput", type$.JavaScriptFunction._as(A.allowInterop(_this.get$handleBeforeInput())), null); t2 = _this.domElement; t2.toString; _this.addCompositionEventHandlers$1(t2); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "keyup", new A.FirefoxTextEditingStrategy_addEventHandlers_closure(_this))); t2 = _this.domElement; t2.toString; t1.push(A.DomSubscription$(t2, "select", t3)); t3 = _this.domElement; t3.toString; t1.push(A.DomSubscription$(t3, "blur", new A.FirefoxTextEditingStrategy_addEventHandlers_closure0(_this))); _this.preventDefaultForMouseEvents$0(); }, _postponeFocus$0() { A.Timer_Timer(B.Duration_0, new A.FirefoxTextEditingStrategy__postponeFocus_closure(this)); }, placeElement$0() { var t1, t2, _this = this; _this.domElement.focus(); t1 = _this.geometry; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } t1 = _this.lastEditingState; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } } }; A.FirefoxTextEditingStrategy_addEventHandlers_closure.prototype = { call$1($event) { this.$this.handleChange$1($event); }, $signature: 33 }; A.FirefoxTextEditingStrategy_addEventHandlers_closure0.prototype = { call$1(_) { this.$this._postponeFocus$0(); }, $signature: 33 }; A.FirefoxTextEditingStrategy__postponeFocus_closure.prototype = { call$0() { this.$this.domElement.focus(); }, $signature: 0 }; A.TextInputCommand.prototype = {}; A.TextInputSetClient.prototype = { run$1(textEditing) { var t1 = textEditing._clientId; if (t1 != null && t1 !== this.clientId && textEditing.isEditing) { textEditing.isEditing = false; textEditing.get$strategy().disable$0(0); } textEditing._clientId = this.clientId; textEditing.configuration = this.configuration; } }; A.TextInputUpdateConfig.prototype = { run$1(textEditing) { var t1 = textEditing.get$strategy(), t2 = textEditing.configuration; t2.toString; t1.applyConfiguration$1(t2); } }; A.TextInputSetEditingState.prototype = { run$1(textEditing) { textEditing.get$strategy().setEditingState$1(this.state); } }; A.TextInputShow.prototype = { run$1(textEditing) { if (!textEditing.isEditing) textEditing._startEditing$0(); } }; A.TextInputSetEditableSizeAndTransform.prototype = { run$1(textEditing) { textEditing.get$strategy().updateElementPlacement$1(this.geometry); } }; A.TextInputSetStyle.prototype = { run$1(textEditing) { textEditing.get$strategy().updateElementStyle$1(this.style); } }; A.TextInputClearClient.prototype = { run$1(textEditing) { if (textEditing.isEditing) { textEditing.isEditing = false; textEditing.get$strategy().disable$0(0); } } }; A.TextInputHide.prototype = { run$1(textEditing) { if (textEditing.isEditing) { textEditing.isEditing = false; textEditing.get$strategy().disable$0(0); } } }; A.TextInputSetMarkedTextRect.prototype = { run$1(textEditing) { } }; A.TextInputSetCaretRect.prototype = { run$1(textEditing) { } }; A.TextInputRequestAutofill.prototype = { run$1(textEditing) { } }; A.TextInputFinishAutofillContext.prototype = { run$1(textEditing) { textEditing.sendTextConnectionClosedToFrameworkIfAny$0(); if (this.saveForm) A.saveForms(); A.cleanForms(); } }; A.saveForms_closure.prototype = { call$2(identifier, form) { var t1 = type$._DomListWrapper_JavaScriptObject; t1 = A.CastIterable_CastIterable(new A._DomListWrapper(A.callMethod(form, "getElementsByClassName", ["submitBtn"]), t1), t1._eval$1("Iterable.E"), type$.JavaScriptObject); A._instanceType(t1)._rest[1]._as(J.get$first$ax(t1._source)).click(); }, $signature: 3071 }; A.TextEditingChannel.prototype = { handleTextInput$2(data, callback) { var t1, t2, command, textAlignIndex, textDirectionIndex, fontWeightIndex, fontWeight, t3, $call = B.C_JSONMethodCodec.decodeMethodCall$1(data); switch ($call.method) { case "TextInput.setClient": t1 = $call.$arguments; t2 = J.getInterceptor$asx(t1); command = new A.TextInputSetClient(A._asInt(t2.$index(t1, 0)), A.InputConfiguration$fromFrameworkMessage(type$.Map_String_dynamic._as(t2.$index(t1, 1)))); break; case "TextInput.updateConfig": this.implementation.configuration = A.InputConfiguration$fromFrameworkMessage(type$.Map_String_dynamic._as($call.$arguments)); command = B.C_TextInputUpdateConfig; break; case "TextInput.setEditingState": command = new A.TextInputSetEditingState(A.EditingState_EditingState$fromFrameworkMessage(type$.Map_String_dynamic._as($call.$arguments))); break; case "TextInput.show": command = B.C_TextInputShow; break; case "TextInput.setEditableSizeAndTransform": command = new A.TextInputSetEditableSizeAndTransform(A.EditableTextGeometry_EditableTextGeometry$fromFrameworkMessage(type$.Map_String_dynamic._as($call.$arguments))); break; case "TextInput.setStyle": t1 = type$.Map_String_dynamic._as($call.$arguments); t2 = J.getInterceptor$asx(t1); textAlignIndex = A._asInt(t2.$index(t1, "textAlignIndex")); textDirectionIndex = A._asInt(t2.$index(t1, "textDirectionIndex")); fontWeightIndex = A._asIntQ(t2.$index(t1, "fontWeightIndex")); fontWeight = fontWeightIndex != null ? A.fontWeightIndexToCss(fontWeightIndex) : "normal"; t3 = A._asNumQ(t2.$index(t1, "fontSize")); if (t3 == null) t3 = null; command = new A.TextInputSetStyle(new A.EditableTextStyle(t3, fontWeight, A._asStringQ(t2.$index(t1, "fontFamily")), B.List_jfs[textAlignIndex], B.List_TextDirection_0_TextDirection_1[textDirectionIndex])); break; case "TextInput.clearClient": command = B.C_TextInputClearClient; break; case "TextInput.hide": command = B.C_TextInputHide; break; case "TextInput.requestAutofill": command = B.C_TextInputRequestAutofill; break; case "TextInput.finishAutofillContext": command = new A.TextInputFinishAutofillContext(A._asBool($call.$arguments)); break; case "TextInput.setMarkedTextRect": command = B.C_TextInputSetMarkedTextRect; break; case "TextInput.setCaretRect": command = B.C_TextInputSetCaretRect; break; default: $.$get$EnginePlatformDispatcher__instance().replyToPlatformMessage$2(callback, null); return; } command.run$1(this.implementation); new A.TextEditingChannel_handleTextInput_closure(callback).call$0(); } }; A.TextEditingChannel_handleTextInput_closure.prototype = { call$0() { $.$get$EnginePlatformDispatcher__instance().replyToPlatformMessage$2(this.callback, B.C_JSONMessageCodec.encodeMessage$1([true])); }, $signature: 0 }; A.HybridTextEditing.prototype = { get$channel(_) { var value = this.__HybridTextEditing_channel_FI; if (value === $) { value !== $ && A.throwUnnamedLateFieldADI(); value = this.__HybridTextEditing_channel_FI = new A.TextEditingChannel(this); } return value; }, get$strategy() { var t1, result, t2, strategy, _this = this, _null = null, value = _this.__HybridTextEditing_strategy_FI; if (value === $) { t1 = $.EngineSemantics__instance; if ((t1 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t1)._semanticsEnabled) { t1 = A.SemanticsTextEditingStrategy_ensureInitialized(_this); result = t1; } else { t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1) { t2 = $.$get$_operatingSystem(); t2 = t2 === B.OperatingSystem_0; } else t2 = false; if (t2) strategy = new A.IOSTextEditingStrategy(_this, A._setArrayType([], type$.JSArray_DomSubscription), $, $, $, _null); else if (t1 === B.BrowserEngine_1) strategy = new A.SafariDesktopTextEditingStrategy(_this, A._setArrayType([], type$.JSArray_DomSubscription), $, $, $, _null); else { if (t1 === B.BrowserEngine_0) { t2 = $.$get$_operatingSystem(); t2 = t2 === B.OperatingSystem_1; } else t2 = false; if (t2) strategy = new A.AndroidTextEditingStrategy(_this, A._setArrayType([], type$.JSArray_DomSubscription), $, $, $, _null); else strategy = t1 === B.BrowserEngine_2 ? new A.FirefoxTextEditingStrategy(_this, A._setArrayType([], type$.JSArray_DomSubscription), $, $, $, _null) : A.GloballyPositionedTextEditingStrategy$(_this); } result = strategy; } _this.__HybridTextEditing_strategy_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__HybridTextEditing_strategy_FI = result; } return value; }, _startEditing$0() { var t1, t2, _this = this; _this.isEditing = true; t1 = _this.get$strategy(); t2 = _this.configuration; t2.toString; t1.enable$3$onAction$onChange(0, t2, new A.HybridTextEditing__startEditing_closure(_this), new A.HybridTextEditing__startEditing_closure0(_this)); }, sendTextConnectionClosedToFrameworkIfAny$0() { var t1, _this = this; if (_this.isEditing) { _this.isEditing = false; _this.get$strategy().disable$0(0); _this.get$channel(0); t1 = _this._clientId; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/textinput", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall("TextInputClient.onConnectionClosed", [t1])), A._engine___emptyCallback$closure()); } } }; A.HybridTextEditing__startEditing_closure0.prototype = { call$2(editingState, editingDeltaState) { var t2, t3, _s17_ = "flutter/textinput", t1 = this.$this; if (t1.configuration.enableDeltaModel) { t1.get$channel(0); t1 = t1._clientId; t2 = type$.String; t3 = type$.dynamic; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3(_s17_, B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall(string$.TextInD, [t1, A.LinkedHashMap_LinkedHashMap$_literal(["deltas", A._setArrayType([A.LinkedHashMap_LinkedHashMap$_literal(["oldText", editingDeltaState.oldText, "deltaText", editingDeltaState.deltaText, "deltaStart", editingDeltaState.deltaStart, "deltaEnd", editingDeltaState.deltaEnd, "selectionBase", editingDeltaState.baseOffset, "selectionExtent", editingDeltaState.extentOffset, "composingBase", editingDeltaState.composingOffset, "composingExtent", editingDeltaState.composingExtent], t2, t3)], type$.JSArray_Map_String_dynamic)], t2, t3)])), A._engine___emptyCallback$closure()); } else { t1.get$channel(0); t1 = t1._clientId; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3(_s17_, B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall("TextInputClient.updateEditingState", [t1, editingState.toFlutter$0()])), A._engine___emptyCallback$closure()); } }, $signature: 3074 }; A.HybridTextEditing__startEditing_closure.prototype = { call$1(inputAction) { var t1 = this.$this; t1.get$channel(0); t1 = t1._clientId; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/textinput", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall("TextInputClient.performAction", [t1, inputAction])), A._engine___emptyCallback$closure()); }, $signature: 101 }; A.EditableTextStyle.prototype = { applyToDomElement$1(domElement) { var _this = this, t1 = domElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "text-align", A.textAlignToCssValue(_this.textAlign, _this.textDirection)); A.DomCSSStyleDeclarationExtension_setProperty(t1, "font", _this.fontWeight + " " + A.S(_this.fontSize) + "px " + A.S(A.canonicalizeFontFamily(_this.fontFamily))); } }; A.EditableTextGeometry.prototype = { applyToDomElement$1(domElement) { var cssTransform = A.float64ListToCssTransform(this.globalTransform), t1 = domElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "width", A.S(this.width) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "height", A.S(this.height) + "px"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "transform", cssTransform); } }; A.EditableTextGeometry_EditableTextGeometry$fromFrameworkMessage_closure.prototype = { call$1(e) { return A._asNum(e); }, $signature: 3101 }; A.TransformKind.prototype = { _enumToString$0() { return "TransformKind." + this._core$_name; } }; A.bytesToHexString_closure.prototype = { call$1(byte) { return "0x" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(byte, 16), 2, "0"); }, $signature: 372 }; A.LruCache.prototype = { get$length(_) { return this._itemQueue._elementCount; }, $index(_, key) { var t1 = this._itemMap.$index(0, key); return t1 == null ? null : t1.element._1; }, __engine$_add$2(_, key, value) { var t2, t3, t4, t1 = this._itemQueue; t1.addFirst$1(new A._Record_2_key_value(key, value)); t2 = this._itemMap; t3 = t1._sentinel; t4 = t3._nextLink._asNonSentinelEntry$0(); t4.toString; t2.$indexSet(0, key, t4); if (t1._elementCount > this.maximumSize) { t2.remove$1(0, t3._previousLink.get$element()._0); t1.removeLast$0(0); } } }; A.Matrix4.prototype = { Matrix4$identity$0() { var t1 = this._m4storage; t1[15] = 1; t1[0] = 1; t1[5] = 1; t1[10] = 1; }, setFrom$1(arg) { var argStorage = arg._m4storage, t1 = this._m4storage; t1[15] = argStorage[15]; t1[14] = argStorage[14]; t1[13] = argStorage[13]; t1[12] = argStorage[12]; t1[11] = argStorage[11]; t1[10] = argStorage[10]; t1[9] = argStorage[9]; t1[8] = argStorage[8]; t1[7] = argStorage[7]; t1[6] = argStorage[6]; t1[5] = argStorage[5]; t1[4] = argStorage[4]; t1[3] = argStorage[3]; t1[2] = argStorage[2]; t1[1] = argStorage[1]; t1[0] = argStorage[0]; }, $index(_, i) { return this._m4storage[i]; }, $indexSet(_, i, v) { this._m4storage[i] = v; }, translate$2(_, x, y) { var t1 = this._m4storage, t2 = t1[0], t3 = t1[4], t4 = t1[8], t5 = t1[12], t6 = t1[1], t7 = t1[5], t8 = t1[9], t9 = t1[13], t10 = t1[2], t11 = t1[6], t12 = t1[10], t13 = t1[14], t14 = t1[3], t15 = t1[7], t16 = t1[11], t17 = t1[15]; t1[12] = t2 * x + t3 * y + t4 * 0 + t5; t1[13] = t6 * x + t7 * y + t8 * 0 + t9; t1[14] = t10 * x + t11 * y + t12 * 0 + t13; t1[15] = t14 * x + t15 * y + t16 * 0 + t17; }, translate$1(_, x) { return this.translate$2(0, x, 0); }, scale$3(_, x, y, z) { var sy = y == null ? x : y, sz = z == null ? x : z, t1 = this._m4storage; t1[15] = t1[15]; t1[0] = t1[0] * x; t1[1] = t1[1] * x; t1[2] = t1[2] * x; t1[3] = t1[3] * x; t1[4] = t1[4] * sy; t1[5] = t1[5] * sy; t1[6] = t1[6] * sy; t1[7] = t1[7] * sy; t1[8] = t1[8] * sz; t1[9] = t1[9] * sz; t1[10] = t1[10] * sz; t1[11] = t1[11] * sz; t1[12] = t1[12]; t1[13] = t1[13]; t1[14] = t1[14]; }, scale$2(_, x, y) { return this.scale$3(0, x, y, null); }, scale$1(_, x) { return this.scale$3(0, x, null, null); }, perspectiveTransform$3$x$y$z(x, y, z) { var t1 = this._m4storage, t2 = t1[0], t3 = t1[4], t4 = t1[8], t5 = t1[12], t6 = t1[1], t7 = t1[5], t8 = t1[9], t9 = t1[13], t10 = t1[2], t11 = t1[6], t12 = t1[10], t13 = t1[14], w = 1 / (t1[3] * x + t1[7] * y + t1[11] * z + t1[15]); return new A._Record_3_x78_y_z((t2 * x + t3 * y + t4 * z + t5) * w, (t6 * x + t7 * y + t8 * z + t9) * w, (t10 * x + t11 * y + t12 * z + t13) * w); }, isIdentity$0(_) { var t1 = this._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; }, rotate$2(_, axis, angle) { var m12, m13, m21, m22, m23, m31, m32, m33, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t1 = axis._0, t2 = axis._1, t3 = axis._2, len = Math.sqrt(t1 * t1 + t2 * t2 + t3 * t3), x = t1 / len, y = t2 / len, z = t3 / len, c = Math.cos(angle), s = Math.sin(angle), $C = 1 - c, m11 = x * x * $C + c; t3 = z * s; m12 = x * y * $C - t3; t2 = y * s; m13 = x * z * $C + t2; m21 = y * x * $C + t3; m22 = y * y * $C + c; t3 = x * s; m23 = y * z * $C - t3; m31 = z * x * $C - t2; m32 = z * y * $C + t3; m33 = z * z * $C + c; t3 = this._m4storage; t2 = t3[0]; t1 = t3[4]; t4 = t3[8]; t5 = t3[1]; t6 = t3[5]; t7 = t3[9]; t8 = t3[2]; t9 = t3[6]; t10 = t3[10]; t11 = t3[3]; t12 = t3[7]; t13 = t3[11]; t3[0] = t2 * m11 + t1 * m21 + t4 * m31; t3[1] = t5 * m11 + t6 * m21 + t7 * m31; t3[2] = t8 * m11 + t9 * m21 + t10 * m31; t3[3] = t11 * m11 + t12 * m21 + t13 * m31; t3[4] = t2 * m12 + t1 * m22 + t4 * m32; t3[5] = t5 * m12 + t6 * m22 + t7 * m32; t3[6] = t8 * m12 + t9 * m22 + t10 * m32; t3[7] = t11 * m12 + t12 * m22 + t13 * m32; t3[8] = t2 * m13 + t1 * m23 + t4 * m33; t3[9] = t5 * m13 + t6 * m23 + t7 * m33; t3[10] = t8 * m13 + t9 * m23 + t10 * m33; t3[11] = t11 * m13 + t12 * m23 + t13 * m33; }, setTranslationRaw$3(x, y, z) { var t1 = this._m4storage; t1[14] = z; t1[13] = y; t1[12] = x; }, copyInverse$1(arg) { var invDet, t1, t2, t3, argStorage = arg._m4storage, a00 = argStorage[0], a01 = argStorage[1], a02 = argStorage[2], a03 = argStorage[3], a10 = argStorage[4], a11 = argStorage[5], a12 = argStorage[6], a13 = argStorage[7], a20 = argStorage[8], a21 = argStorage[9], a22 = argStorage[10], a23 = argStorage[11], a30 = argStorage[12], a31 = argStorage[13], a32 = argStorage[14], a33 = argStorage[15], b00 = a00 * a11 - a01 * a10, b01 = a00 * a12 - a02 * a10, b02 = a00 * a13 - a03 * a10, b03 = a01 * a12 - a02 * a11, b04 = a01 * a13 - a03 * a11, b05 = a02 * a13 - a03 * a12, b06 = a20 * a31 - a21 * a30, b07 = a20 * a32 - a22 * a30, b08 = a20 * a33 - a23 * a30, b09 = a21 * a32 - a22 * a31, b10 = a21 * a33 - a23 * a31, b11 = a22 * a33 - a23 * a32, det = b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06; if (det === 0) { this.setFrom$1(arg); return 0; } invDet = 1 / det; t1 = this._m4storage; t1[0] = (a11 * b11 - a12 * b10 + a13 * b09) * invDet; t1[1] = (-a01 * b11 + a02 * b10 - a03 * b09) * invDet; t1[2] = (a31 * b05 - a32 * b04 + a33 * b03) * invDet; t1[3] = (-a21 * b05 + a22 * b04 - a23 * b03) * invDet; t2 = -a10; t1[4] = (t2 * b11 + a12 * b08 - a13 * b07) * invDet; t1[5] = (a00 * b11 - a02 * b08 + a03 * b07) * invDet; t3 = -a30; t1[6] = (t3 * b05 + a32 * b02 - a33 * b01) * invDet; t1[7] = (a20 * b05 - a22 * b02 + a23 * b01) * invDet; t1[8] = (a10 * b10 - a11 * b08 + a13 * b06) * invDet; t1[9] = (-a00 * b10 + a01 * b08 - a03 * b06) * invDet; t1[10] = (a30 * b04 - a31 * b02 + a33 * b00) * invDet; t1[11] = (-a20 * b04 + a21 * b02 - a23 * b00) * invDet; t1[12] = (t2 * b09 + a11 * b07 - a12 * b06) * invDet; t1[13] = (a00 * b09 - a01 * b07 + a02 * b06) * invDet; t1[14] = (t3 * b03 + a31 * b01 - a32 * b00) * invDet; t1[15] = (a20 * b03 - a21 * b01 + a22 * b00) * invDet; return det; }, multiply$1(_, arg) { var t1 = this._m4storage, m33 = t1[15], m00 = t1[0], m01 = t1[4], m02 = t1[8], m03 = t1[12], m10 = t1[1], m11 = t1[5], m12 = t1[9], m13 = t1[13], m20 = t1[2], m21 = t1[6], m22 = t1[10], m23 = t1[14], m30 = t1[3], m31 = t1[7], m32 = t1[11], argStorage = arg._m4storage, n33 = argStorage[15], n00 = argStorage[0], n01 = argStorage[4], n02 = argStorage[8], n03 = argStorage[12], n10 = argStorage[1], n11 = argStorage[5], n12 = argStorage[9], n13 = argStorage[13], n20 = argStorage[2], n21 = argStorage[6], n22 = argStorage[10], n23 = argStorage[14], n30 = argStorage[3], n31 = argStorage[7], n32 = argStorage[11]; t1[0] = m00 * n00 + m01 * n10 + m02 * n20 + m03 * n30; t1[4] = m00 * n01 + m01 * n11 + m02 * n21 + m03 * n31; t1[8] = m00 * n02 + m01 * n12 + m02 * n22 + m03 * n32; t1[12] = m00 * n03 + m01 * n13 + m02 * n23 + m03 * n33; t1[1] = m10 * n00 + m11 * n10 + m12 * n20 + m13 * n30; t1[5] = m10 * n01 + m11 * n11 + m12 * n21 + m13 * n31; t1[9] = m10 * n02 + m11 * n12 + m12 * n22 + m13 * n32; t1[13] = m10 * n03 + m11 * n13 + m12 * n23 + m13 * n33; t1[2] = m20 * n00 + m21 * n10 + m22 * n20 + m23 * n30; t1[6] = m20 * n01 + m21 * n11 + m22 * n21 + m23 * n31; t1[10] = m20 * n02 + m21 * n12 + m22 * n22 + m23 * n32; t1[14] = m20 * n03 + m21 * n13 + m22 * n23 + m23 * n33; t1[3] = m30 * n00 + m31 * n10 + m32 * n20 + m33 * n30; t1[7] = m30 * n01 + m31 * n11 + m32 * n21 + m33 * n31; t1[11] = m30 * n02 + m31 * n12 + m32 * n22 + m33 * n32; t1[15] = m30 * n03 + m31 * n13 + m32 * n23 + m33 * n33; }, multiplied$1(arg) { var t1 = new A.Matrix4(new Float32Array(16)); t1.setFrom$1(this); t1.multiply$1(0, arg); return t1; }, transform2$1(vector) { var x = vector[0], y = vector[1], t1 = this._m4storage; vector[0] = t1[0] * x + t1[4] * y + t1[12]; vector[1] = t1[1] * x + t1[5] * y + t1[13]; }, toString$0(_) { return this.super$Object$toString(0); } }; A.FastMatrix32.prototype = { transform$2(_, x, y) { var t1 = this.matrix; this.transformedX = t1[12] + t1[0] * x + t1[4] * y; this.transformedY = t1[13] + t1[1] * x + t1[5] * y; } }; A.CustomElementDimensionsProvider.prototype = { CustomElementDimensionsProvider$1(_hostElement) { var t1 = A.createDomResizeObserver(new A.CustomElementDimensionsProvider_closure(this)); this.__CustomElementDimensionsProvider__hostElementResizeObserver_A = t1; t1.observe(this._hostElement); }, _broadcastSize$1(size) { this._onResizeStreamController.add$1(0, size); }, close$0(_) { var t1; this.super$DimensionsProvider$close(0); t1 = this.__CustomElementDimensionsProvider__hostElementResizeObserver_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.disconnect(); this._onResizeStreamController.close$0(0); }, get$onResize(_) { var t1 = this._onResizeStreamController; return new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")); }, computePhysicalSize$0() { var t1, devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t1 = self.window.devicePixelRatio; devicePixelRatio = t1 === 0 ? 1 : t1; } t1 = this._hostElement; return new A.Size(t1.clientWidth * devicePixelRatio, t1.clientHeight * devicePixelRatio); }, computeKeyboardInsets$2(physicalHeight, isEditingOnMobile) { return B.ViewPadding_0_0_0_0; } }; A.CustomElementDimensionsProvider_closure.prototype = { call$2(entries, _) { new A.MappedListIterable(entries, new A.CustomElementDimensionsProvider__closure(), entries.$ti._eval$1("MappedListIterable<ListBase.E,Size>")).forEach$1(0, this.$this.get$_broadcastSize()); }, $signature: 3193 }; A.CustomElementDimensionsProvider__closure.prototype = { call$1(entry) { return new A.Size(entry.contentRect.width, entry.contentRect.height); }, $signature: 3200 }; A.DimensionsProvider.prototype = { close$0(_) { } }; A.FullPageDimensionsProvider.prototype = { _onVisualViewportResize$1($event) { this._onResizeStreamController.add$1(0, null); }, close$0(_) { var t1; this.super$DimensionsProvider$close(0); t1 = this.__FullPageDimensionsProvider__domResizeSubscription_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.cancel$0(0); this._onResizeStreamController.close$0(0); }, get$onResize(_) { var t1 = this._onResizeStreamController; return new A._BroadcastStream(t1, A._instanceType(t1)._eval$1("_BroadcastStream<1>")); }, computePhysicalSize$0() { var t1, t2, windowInnerWidth = A._Cell$named("windowInnerWidth"), windowInnerHeight = A._Cell$named("windowInnerHeight"), viewport = self.window.visualViewport, devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t1 = self.window.devicePixelRatio; devicePixelRatio = t1 === 0 ? 1 : t1; } if (viewport != null) { t1 = $.$get$_operatingSystem(); if (t1 === B.OperatingSystem_0) { t1 = self.document.documentElement.clientWidth; t2 = self.document.documentElement.clientHeight; windowInnerWidth.__late_helper$_value = t1 * devicePixelRatio; windowInnerHeight.__late_helper$_value = t2 * devicePixelRatio; } else { t1 = viewport.width; if (t1 == null) t1 = null; t1.toString; windowInnerWidth.__late_helper$_value = t1 * devicePixelRatio; t1 = A.DomVisualViewportExtension_get_height(viewport); t1.toString; windowInnerHeight.__late_helper$_value = t1 * devicePixelRatio; } } else { t1 = self.window.innerWidth; if (t1 == null) t1 = null; t1.toString; windowInnerWidth.__late_helper$_value = t1 * devicePixelRatio; t1 = A.DomWindowExtension_get_innerHeight(self.window); t1.toString; windowInnerHeight.__late_helper$_value = t1 * devicePixelRatio; } return new A.Size(windowInnerWidth._readLocal$0(), windowInnerHeight._readLocal$0()); }, computeKeyboardInsets$2(physicalHeight, isEditingOnMobile) { var t1, viewport, windowInnerHeight, devicePixelRatio = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (devicePixelRatio == null) { t1 = self.window.devicePixelRatio; devicePixelRatio = t1 === 0 ? 1 : t1; } viewport = self.window.visualViewport; windowInnerHeight = A._Cell$named("windowInnerHeight"); if (viewport != null) { t1 = $.$get$_operatingSystem(); if (t1 === B.OperatingSystem_0 && !isEditingOnMobile) windowInnerHeight.__late_helper$_value = self.document.documentElement.clientHeight * devicePixelRatio; else { t1 = A.DomVisualViewportExtension_get_height(viewport); t1.toString; windowInnerHeight.__late_helper$_value = t1 * devicePixelRatio; } } else { t1 = A.DomWindowExtension_get_innerHeight(self.window); t1.toString; windowInnerHeight.__late_helper$_value = t1 * devicePixelRatio; } return new A.ViewPadding(0, 0, 0, physicalHeight - windowInnerHeight._readLocal$0()); } }; A.DomManager.prototype = { injectPlatformView$1(platformViewId) { var t2, t1 = $.$get$PlatformViewManager_instance().__engine$_contents.$index(0, platformViewId); if (t1 == null) { A.callMethod(self.window.console, "debug", ["Failed to inject Platform View Id: " + platformViewId + ". Render seems to be happening before a `flutter/platform_views:create` platform message!"]); return; } t2 = this.platformViewsHost; if (J.$eq$(t1.parentElement, t2)) return; t2.append(t1); } }; A.CustomElementEmbeddingStrategy.prototype = { get$globalEventTarget() { var t1 = this.__CustomElementEmbeddingStrategy__rootElement_F; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, initialize$1$hostElementAttributes(_, hostElementAttributes) { var t1; hostElementAttributes.get$entries(hostElementAttributes).forEach$1(0, new A.CustomElementEmbeddingStrategy_initialize_closure(this)); t1 = A.jsify("custom-element"); if (t1 == null) t1 = type$.Object._as(t1); A.callMethod(this._hostElement, "setAttribute", ["flt-embedding", t1]); }, attachViewRoot$1(rootElement) { var t1; A.DomCSSStyleDeclarationExtension_setProperty(rootElement.style, "width", "100%"); A.DomCSSStyleDeclarationExtension_setProperty(rootElement.style, "height", "100%"); A.DomCSSStyleDeclarationExtension_setProperty(rootElement.style, "display", "block"); A.DomCSSStyleDeclarationExtension_setProperty(rootElement.style, "overflow", "hidden"); A.DomCSSStyleDeclarationExtension_setProperty(rootElement.style, "position", "relative"); this._hostElement.appendChild(rootElement); if ($.$get$_hotRestartCache() != null) { t1 = self.window.__flutterState; t1.toString; A.callMethod(t1, "push", [rootElement]); } this.__CustomElementEmbeddingStrategy__rootElement_F !== $ && A.throwUnnamedLateFieldAI(); this.__CustomElementEmbeddingStrategy__rootElement_F = rootElement; } }; A.CustomElementEmbeddingStrategy_initialize_closure.prototype = { call$1(entry) { var t1 = A.jsify(entry.value); if (t1 == null) t1 = type$.Object._as(t1); A.callMethod(this.$this._hostElement, "setAttribute", [entry.key, t1]); }, $signature: 903 }; A.FullPageEmbeddingStrategy.prototype = { get$globalEventTarget() { return self.window; }, initialize$1$hostElementAttributes(_, hostElementAttributes) { var t1, t2, _s1_ = "0", _s4_ = "none"; hostElementAttributes.get$entries(hostElementAttributes).forEach$1(0, new A.FullPageEmbeddingStrategy_initialize_closure(this)); t1 = self.document.body; t1.toString; t2 = A.jsify("full-page"); A.callMethod(t1, "setAttribute", ["flt-embedding", t2 == null ? type$.Object._as(t2) : t2]); this._applyViewportMeta$0(); t1 = self.document.body; t1.toString; A.setElementStyle(t1, "position", "fixed"); A.setElementStyle(t1, "top", _s1_); A.setElementStyle(t1, "right", _s1_); A.setElementStyle(t1, "bottom", _s1_); A.setElementStyle(t1, "left", _s1_); A.setElementStyle(t1, "overflow", "hidden"); A.setElementStyle(t1, "padding", _s1_); A.setElementStyle(t1, "margin", _s1_); A.setElementStyle(t1, "user-select", _s4_); A.setElementStyle(t1, "-webkit-user-select", _s4_); A.setElementStyle(t1, "touch-action", _s4_); }, attachViewRoot$1(rootElement) { var t1 = rootElement.style; A.DomCSSStyleDeclarationExtension_setProperty(t1, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "top", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "right", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "bottom", "0"); A.DomCSSStyleDeclarationExtension_setProperty(t1, "left", "0"); self.document.body.append(rootElement); if ($.$get$_hotRestartCache() != null) { t1 = self.window.__flutterState; t1.toString; A.callMethod(t1, "push", [rootElement]); } }, _applyViewportMeta$0() { var t2, viewportMeta, t1 = self.document.head; t1.toString; t2 = type$._DomListWrapper_JavaScriptObject; t2 = A.CastIterable_CastIterable(new A._DomListWrapper(A.callMethod(t1, "querySelectorAll", ['meta[name="viewport"]']), t2), t2._eval$1("Iterable.E"), type$.JavaScriptObject); t1 = J.get$iterator$ax(t2._source); t2 = A._instanceType(t2); t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; for (; t1.moveNext$0();) t2._as(t1.get$current(t1)).remove(); viewportMeta = A.DomDocumentExtension_createElement(self.document, "meta"); t1 = A.jsify(""); A.callMethod(viewportMeta, "setAttribute", ["flt-viewport", t1 == null ? type$.Object._as(t1) : t1]); viewportMeta.name = "viewport"; viewportMeta.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"; self.document.head.append(viewportMeta); if ($.$get$_hotRestartCache() != null) { t1 = self.window.__flutterState; t1.toString; A.callMethod(t1, "push", [viewportMeta]); } } }; A.FullPageEmbeddingStrategy_initialize_closure.prototype = { call$1(entry) { var t2, t1 = self.document.body; t1.toString; t2 = A.jsify(entry.value); if (t2 == null) t2 = type$.Object._as(t2); A.callMethod(t1, "setAttribute", [entry.key, t2]); }, $signature: 903 }; A.FlutterViewManager.prototype = { $index(_, viewId) { return this._viewData.$index(0, viewId); }, registerView$2$jsViewOptions(view, jsViewOptions) { var viewId = view.viewId; this._viewData.$indexSet(0, viewId, view); if (jsViewOptions != null) this._jsViewOptions.$indexSet(0, viewId, jsViewOptions); this._onViewCreatedController.add$1(0, viewId); return view; }, registerView$1(view) { return this.registerView$2$jsViewOptions(view, null); }, disposeAndUnregisterView$1(viewId) { var jsViewOptions, t1 = this._viewData, view = t1.$index(0, viewId); if (view == null) return null; t1.remove$1(0, viewId); jsViewOptions = this._jsViewOptions.remove$1(0, viewId); this._onViewDisposedController.add$1(0, viewId); view.dispose$0(); return jsViewOptions; }, dispose$0() { var _this = this, t1 = _this._viewData, t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); B.JSArray_methods.forEach$1(A.List_List$of(new A.LinkedHashMapKeyIterable(t1, t2), true, t2._eval$1("Iterable.E")), _this.get$disposeAndUnregisterView()); _this._onViewCreatedController.close$0(0); _this._onViewDisposedController.close$0(0); } }; A._hotRestartCache_closure.prototype = { call$0() { return null; }, $signature: 3382 }; A.EngineFlutterView.prototype = { EngineFlutterView$_$3(viewId, platformDispatcher, hostElement) { var t1, _this = this; _this.embeddingStrategy.attachViewRoot$1(_this.get$dom().rootElement); t1 = A.PointerBinding$(_this); _this.__EngineFlutterView_pointerBinding_F !== $ && A.throwUnnamedLateFieldAI(); _this.__EngineFlutterView_pointerBinding_F = t1; t1 = _this.dimensionsProvider; t1 = t1.get$onResize(t1).listen$1(0, _this.get$_didResize()); _this.__EngineFlutterView__resizeSubscription_F !== $ && A.throwUnnamedLateFieldAI(); _this.__EngineFlutterView__resizeSubscription_F = t1; $._hotRestartListeners.push(_this.get$dispose()); }, dispose$0() { var t1, _this = this; if (_this.isDisposed) return; _this.isDisposed = true; t1 = _this.__EngineFlutterView__resizeSubscription_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.cancel$0(0); _this.dimensionsProvider.close$0(0); t1 = _this.__EngineFlutterView_pointerBinding_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); _this.get$dom().rootElement.remove(); $.$get$_renderer().clearFragmentProgramCache$0(); _this.get$semantics().reset$0(0); }, get$accessibilityAnnouncements() { var t1, politeElement, assertiveElement, _this = this, value = _this.__EngineFlutterView_accessibilityAnnouncements_FI; if (value === $) { t1 = _this.get$dom().announcementsHost; politeElement = A.AccessibilityAnnouncements__createElement(B.Assertiveness_0); assertiveElement = A.AccessibilityAnnouncements__createElement(B.Assertiveness_1); t1.append(politeElement); t1.append(assertiveElement); _this.__EngineFlutterView_accessibilityAnnouncements_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__EngineFlutterView_accessibilityAnnouncements_FI = new A.AccessibilityAnnouncements(politeElement, assertiveElement); } return value; }, get$contextMenu() { var t1, _this = this, value = _this.__EngineFlutterView_contextMenu_FI; if (value === $) { t1 = _this.get$dom(); _this.__EngineFlutterView_contextMenu_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__EngineFlutterView_contextMenu_FI = new A.ContextMenu(t1.rootElement); } return value; }, get$dom() { var t1, rootElement, platformViewsHost, t2, sceneHost, textEditingHost, semanticsHost, announcementsHost, t3, _this = this, _s12_ = "flutter-view", value = _this.__EngineFlutterView_dom_FI; if (value === $) { t1 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t1 == null) { t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; } rootElement = A.DomDocumentExtension_createElement(self.document, _s12_); platformViewsHost = A.DomDocumentExtension_createElement(self.document, "flt-glass-pane"); t2 = A.jsify(A.LinkedHashMap_LinkedHashMap$_literal(["mode", "open", "delegatesFocus", false], type$.String, type$.dynamic)); t2 = A.callMethod(platformViewsHost, "attachShadow", [t2 == null ? type$.Object._as(t2) : t2]); sceneHost = A.DomDocumentExtension_createElement(self.document, "flt-scene-host"); textEditingHost = A.DomDocumentExtension_createElement(self.document, "flt-text-editing-host"); semanticsHost = A.DomDocumentExtension_createElement(self.document, "flt-semantics-host"); announcementsHost = A.DomDocumentExtension_createElement(self.document, "flt-announcement-host"); t3 = A.jsify(_this.viewId); A.callMethod(rootElement, "setAttribute", ["flt-view-id", t3 == null ? type$.Object._as(t3) : t3]); rootElement.appendChild(platformViewsHost); rootElement.appendChild(textEditingHost); rootElement.appendChild(semanticsHost); t3 = $.EngineSemantics__instance; t2.append((t3 == null ? $.EngineSemantics__instance = A.EngineSemantics$_() : t3).semanticsHelper._semanticsEnabler.prepareAccessibilityPlaceholder$0()); t2.append(sceneHost); t2.append(announcementsHost); t3 = A.configuration()._configuration; A.StyleManager_attachGlobalStyles(_s12_, rootElement, "flt-text-editing-stylesheet", t3 == null ? null : A.JsFlutterConfigurationExtension_get_nonce(t3)); t3 = A.configuration()._configuration; A.StyleManager_attachGlobalStyles("", t2, "flt-internals-stylesheet", t3 == null ? null : A.JsFlutterConfigurationExtension_get_nonce(t3)); t3 = A.configuration().get$debugShowSemanticsNodes(); A.DomCSSStyleDeclarationExtension_setProperty(sceneHost.style, "pointer-events", "none"); if (t3) A.DomCSSStyleDeclarationExtension_setProperty(sceneHost.style, "opacity", "0.3"); t3 = semanticsHost.style; A.DomCSSStyleDeclarationExtension_setProperty(t3, "position", "absolute"); A.DomCSSStyleDeclarationExtension_setProperty(t3, "transform-origin", "0 0 0"); A.DomCSSStyleDeclarationExtension_setProperty(semanticsHost.style, "transform", "scale(" + A.S(1 / t1) + ")"); _this.__EngineFlutterView_dom_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.__EngineFlutterView_dom_FI = new A.DomManager(rootElement, platformViewsHost, t2, sceneHost, textEditingHost, semanticsHost, announcementsHost); } return value; }, get$semantics() { var result, _this = this, value = _this.__EngineFlutterView_semantics_FI; if (value === $) { result = A.EngineSemanticsOwner$(_this.get$dom().semanticsHost); _this.__EngineFlutterView_semantics_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__EngineFlutterView_semantics_FI = result; value = result; } return value; }, get$physicalSize() { var t1 = this._physicalSize; return t1 == null ? this._physicalSize = this._computePhysicalSize$0() : t1; }, _computePhysicalSize$0() { var t1 = this.dimensionsProvider.computePhysicalSize$0(); return t1; }, _didResize$1(newSize) { var newPhysicalSize, _this = this, t1 = _this.get$dom(), t2 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t2 == null) { t2 = self.window.devicePixelRatio; if (t2 === 0) t2 = 1; } A.DomCSSStyleDeclarationExtension_setProperty(t1.semanticsHost.style, "transform", "scale(" + A.S(1 / t2) + ")"); newPhysicalSize = _this._computePhysicalSize$0(); t1 = $.$get$_operatingSystem(); if (!B.Set_uTMs5.contains$1(0, t1) && !_this._isRotation$1(newPhysicalSize) && $.$get$textEditing().isEditing) _this._computeOnScreenKeyboardInsets$1(true); else { _this._physicalSize = newPhysicalSize; _this._computeOnScreenKeyboardInsets$1(false); } _this.platformDispatcher.invokeOnMetricsChanged$0(); }, _isRotation$1(newPhysicalSize) { var t2, t3, t1 = this._physicalSize; if (t1 != null) { t2 = t1._dy; t3 = newPhysicalSize._dy; if (t2 !== t3 && t1._dx !== newPhysicalSize._dx) { t1 = t1._dx; if (!(t2 > t1 && t3 < newPhysicalSize._dx)) t1 = t1 > t2 && newPhysicalSize._dx < t3; else t1 = true; if (t1) return true; } } return false; }, _computeOnScreenKeyboardInsets$1(isEditingOnMobile) { this._viewInsets = this.dimensionsProvider.computeKeyboardInsets$2(this._physicalSize._dy, isEditingOnMobile); }, $isFlutterView: 1 }; A._EngineFlutterViewImpl.prototype = {}; A.EngineFlutterWindow.prototype = { dispose$0() { this.super$EngineFlutterView$dispose(); var t1 = this._browserHistory; if (t1 != null) t1.dispose$0(); }, get$browserHistory() { var t1 = this._browserHistory; if (t1 == null) { t1 = $.$get$_realDefaultUrlStrategy(); t1 = this._browserHistory = A.createHistoryForExistingState(t1); } return t1; }, _useSingleEntryBrowserHistory$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, strategy, t1; var $async$_useSingleEntryBrowserHistory$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._browserHistory; if (t1 == null) { t1 = $.$get$_realDefaultUrlStrategy(); t1 = $async$self._browserHistory = A.createHistoryForExistingState(t1); } if (t1 instanceof A.SingleEntryBrowserHistory) { // goto return $async$goto = 1; break; } strategy = t1.get$urlStrategy(); t1 = $async$self._browserHistory; t1 = t1 == null ? null : t1.tearDown$0(); $async$goto = 3; return A._asyncAwait(type$.Future_void._is(t1) ? t1 : A._Future$value(t1, type$.void), $async$_useSingleEntryBrowserHistory$0); case 3: // returning from await. $async$self._browserHistory = A.SingleEntryBrowserHistory$(strategy); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_useSingleEntryBrowserHistory$0, $async$completer); }, _useMultiEntryBrowserHistory$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, strategy, t1; var $async$_useMultiEntryBrowserHistory$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._browserHistory; if (t1 == null) { t1 = $.$get$_realDefaultUrlStrategy(); t1 = $async$self._browserHistory = A.createHistoryForExistingState(t1); } if (t1 instanceof A.MultiEntriesBrowserHistory) { // goto return $async$goto = 1; break; } strategy = t1.get$urlStrategy(); t1 = $async$self._browserHistory; t1 = t1 == null ? null : t1.tearDown$0(); $async$goto = 3; return A._asyncAwait(type$.Future_void._is(t1) ? t1 : A._Future$value(t1, type$.void), $async$_useMultiEntryBrowserHistory$0); case 3: // returning from await. $async$self._browserHistory = A.MultiEntriesBrowserHistory$(strategy); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_useMultiEntryBrowserHistory$0, $async$completer); }, _waitInTheLine$1(callback) { return this._waitInTheLine$body$EngineFlutterWindow(callback); }, _waitInTheLine$body$EngineFlutterWindow(callback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, result, currentPosition, completer; var $async$_waitInTheLine$1 = A._wrapJsFunctionForAsync(function($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 currentPosition = $async$self._endOfTheLine; completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void); $async$self._endOfTheLine = completer.future; $async$goto = 3; return A._asyncAwait(currentPosition, $async$_waitInTheLine$1); case 3: // returning from await. result = false; $async$handler = 4; $async$goto = 7; return A._asyncAwait(callback.call$0(), $async$_waitInTheLine$1); case 7: // returning from await. result = $async$result; $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; J.complete$0$z(completer); // goto the next finally handler $async$goto = $async$next.pop(); break; case 6: // after finally $async$returnValue = result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_waitInTheLine$1, $async$completer); }, handleNavigationMessage$1(data) { return this.handleNavigationMessage$body$EngineFlutterWindow(data); }, handleNavigationMessage$body$EngineFlutterWindow(data) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this; var $async$handleNavigationMessage$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $async$self._waitInTheLine$1(new A.EngineFlutterWindow_handleNavigationMessage_closure($async$self, data)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleNavigationMessage$1, $async$completer); } }; A.EngineFlutterWindow_handleNavigationMessage_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, t1, uriString, uri, t2, t3, path, decoded, $arguments; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start decoded = B.C_JSONMethodCodec.decodeMethodCall$1($async$self.data); $arguments = type$.nullable_Map_String_dynamic._as(decoded.$arguments); case 3: // switch switch (decoded.method) { case "selectMultiEntryHistory": // goto case $async$goto = 5; break; case "selectSingleEntryHistory": // goto case $async$goto = 6; break; case "routeUpdated": // goto case $async$goto = 7; break; case "routeInformationUpdated": // goto case $async$goto = 8; break; default: // goto after switch $async$goto = 4; break; } break; case 5: // case $async$goto = 9; return A._asyncAwait($async$self.$this._useMultiEntryBrowserHistory$0(), $async$call$0); case 9: // returning from await. $async$returnValue = true; // goto return $async$goto = 1; break; case 6: // case $async$goto = 10; return A._asyncAwait($async$self.$this._useSingleEntryBrowserHistory$0(), $async$call$0); case 10: // returning from await. $async$returnValue = true; // goto return $async$goto = 1; break; case 7: // case t1 = $async$self.$this; $async$goto = 11; return A._asyncAwait(t1._useSingleEntryBrowserHistory$0(), $async$call$0); case 11: // returning from await. t1 = t1.get$browserHistory(); $arguments.toString; t1.setRouteName$1(A._asStringQ(J.$index$asx($arguments, "routeName"))); $async$returnValue = true; // goto return $async$goto = 1; break; case 8: // case $arguments.toString; t1 = J.getInterceptor$asx($arguments); uriString = A._asStringQ(t1.$index($arguments, "uri")); if (uriString != null) { uri = A.Uri_parse(uriString, 0, null); t2 = uri.get$path(uri).length === 0 ? "/" : uri.get$path(uri); t3 = uri.get$queryParametersAll(); t3 = t3.get$isEmpty(t3) ? null : uri.get$queryParametersAll(); t2 = A._Uri__Uri(uri.get$fragment().length === 0 ? null : uri.get$fragment(), null, t2, t3, null).get$_text(); path = A._Uri__uriDecode(t2, 0, t2.length, B.C_Utf8Codec, false); } else { t2 = A._asStringQ(t1.$index($arguments, "location")); t2.toString; path = t2; } t2 = $async$self.$this.get$browserHistory(); t3 = t1.$index($arguments, "state"); t1 = A._asBoolQ(t1.$index($arguments, "replace")); t2.setRouteName$3$replace$state(path, t1 === true, t3); $async$returnValue = true; // goto return $async$goto = 1; break; case 4: // after switch $async$returnValue = false; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 64 }; A.ViewPadding.prototype = {}; A._DefaultTextEditingStrategy_Object_CompositionAwareMixin.prototype = {}; A._DomCanvas_EngineCanvas_SaveElementStackTracking.prototype = {}; A._LayoutFragment__CombinedFragment__FragmentMetrics.prototype = {}; A._LayoutFragment__CombinedFragment__FragmentMetrics__FragmentPosition.prototype = {}; A._LayoutFragment__CombinedFragment__FragmentMetrics__FragmentPosition__FragmentBox.prototype = {}; A._PersistedClipRRect_PersistedContainerSurface__DomClip.prototype = { adoptElements$1(oldSurface) { this.super$PersistedSurface$adoptElements(oldSurface); this._DomClip__childContainer = oldSurface._DomClip__childContainer; oldSurface._DomClip__childContainer = null; }, discard$0() { this.super$PersistedContainerSurface$discard(); this._DomClip__childContainer = null; } }; A._PersistedClipRect_PersistedContainerSurface__DomClip.prototype = { adoptElements$1(oldSurface) { this.super$PersistedSurface$adoptElements(oldSurface); this._DomClip__childContainer = oldSurface._DomClip__childContainer; oldSurface._DomClip__childContainer = null; }, discard$0() { this.super$PersistedContainerSurface$discard(); this._DomClip__childContainer = null; } }; A.__PointerAdapter__BaseAdapter__WheelEventListenerMixin.prototype = {}; A.JS_CONST.prototype = {}; J.Interceptor.prototype = { $eq(receiver, other) { return receiver === other; }, get$hashCode(receiver) { return A.Primitives_objectHashCode(receiver); }, toString$0(receiver) { return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'"; }, noSuchMethod$1(receiver, invocation) { throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation)); }, get$runtimeType(receiver) { return A.createRuntimeType(A._instanceTypeFromConstructor(this)); } }; J.JSBool.prototype = { toString$0(receiver) { return String(receiver); }, $and(receiver, other) { return other && receiver; }, $or(receiver, other) { return other || receiver; }, get$hashCode(receiver) { return receiver ? 519018 : 218159; }, get$runtimeType(receiver) { return A.createRuntimeType(type$.bool); }, $isTrustedGetRuntimeType: 1, $isbool: 1 }; J.JSNull.prototype = { $eq(receiver, other) { return null == other; }, toString$0(receiver) { return "null"; }, get$hashCode(receiver) { return 0; }, get$runtimeType(receiver) { return A.createRuntimeType(type$.Null); }, noSuchMethod$1(receiver, invocation) { return this.super$Interceptor$noSuchMethod(receiver, invocation); }, $isTrustedGetRuntimeType: 1, $isNull: 1 }; J.JavaScriptObject.prototype = {$isJSObject: 1}; J.LegacyJavaScriptObject.prototype = { get$hashCode(receiver) { return 0; }, get$runtimeType(receiver) { return B.Type_JSObject_8k0; }, toString$0(receiver) { return String(receiver); }, $isGoogleAuthInitFailureError: 1, $isGoogleAuthSignInError: 1, $isGoogleAuth: 1, $isGoogleUser: 1, $isAuthenticationResult0: 1, $isJsError: 1, $isPdfJsDoc: 1, $isPdfJsPage: 1, $isSignInResponseI: 1, get$error(obj) { return obj.error; }, get$details(obj) { return obj.details; }, get$code(obj) { return obj.code; }, isSignedIn$0(receiver) { return receiver.isSignedIn(); }, get$currentUser(obj) { return obj.currentUser; }, then$1$1(receiver, p0) { return receiver.then(p0); }, then$2(receiver, p0, p1) { return receiver.then(p0, p1); }, get$signOut(obj) { return obj.signOut; }, signOut$0(receiver) { return receiver.signOut(); }, get$disconnect(obj) { return obj.disconnect; }, disconnect$0(receiver) { return receiver.disconnect(); }, get$signIn(obj) { return obj.signIn; }, signIn$1(receiver, p0) { return receiver.signIn(p0); }, $get$0(receiver) { return receiver.get(); }, getId$0(receiver) { return receiver.getId(); }, getName$0(receiver) { return receiver.getName(); }, getImageUrl$0(receiver) { return receiver.getImageUrl(); }, getEmail$0(receiver) { return receiver.getEmail(); }, get$access_token(obj) { return obj.access_token; }, get$id_token(obj) { return obj.id_token; }, getBasicProfile$0(receiver) { return receiver.getBasicProfile(); }, getAuthResponse$0(receiver) { return receiver.getAuthResponse(); }, get$width(obj) { return obj.width; }, get$height(obj) { return obj.height; }, destroy$0(receiver) { return receiver.destroy(); }, rotate$1(receiver, p0) { return receiver.rotate(p0); }, get$name(obj) { return obj.name; }, get$idToken(obj) { return obj.idToken; }, get$accessToken(obj) { return obj.accessToken; }, get$state(obj) { return obj.state; }, state$0(receiver) { return receiver.state(); }, get$body(obj) { return obj.body; }, loginPopup$1(receiver, p0) { return receiver.loginPopup(p0); }, get$message(obj) { return obj.message; }, set$scale(obj, v) { return obj.scale = v; }, get$promise(obj) { return obj.promise; }, getPage$1(receiver, p0) { return receiver.getPage(p0); }, get$numPages(obj) { return obj.numPages; }, getViewport$1(receiver, p0) { return receiver.getViewport(p0); }, render$1(receiver, p0) { return receiver.render(p0); }, cleanup$0(receiver) { return receiver.cleanup(); }, get$authorization(obj) { return obj.authorization; }, get$user(obj) { return obj.user; }, get$email(obj) { return obj.email; }, get$firstName(obj) { return obj.firstName; }, get$lastName(obj) { return obj.lastName; } }; J.PlainJavaScriptObject.prototype = {}; J.UnknownJavaScriptObject.prototype = {}; J.JavaScriptFunction.prototype = { toString$0(receiver) { var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()]; if (dartClosure == null) return this.super$LegacyJavaScriptObject$toString(receiver); return "JavaScript function for " + J.toString$0$(dartClosure); }, $isFunction: 1 }; J.JavaScriptBigInt.prototype = { get$hashCode(receiver) { return 0; }, toString$0(receiver) { return String(receiver); } }; J.JavaScriptSymbol.prototype = { get$hashCode(receiver) { return 0; }, toString$0(receiver) { return String(receiver); } }; J.JSArray.prototype = { cast$1$0(receiver, $R) { return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); }, add$1(receiver, value) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("add")); receiver.push(value); }, removeAt$1(receiver, index) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("removeAt")); if (index < 0 || index >= receiver.length) throw A.wrapException(A.RangeError$value(index, null)); return receiver.splice(index, 1)[0]; }, insert$2(receiver, index, value) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("insert")); if (index < 0 || index > receiver.length) throw A.wrapException(A.RangeError$value(index, null)); receiver.splice(index, 0, value); }, insertAll$2(receiver, index, iterable) { var insertionLength, end; if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("insertAll")); A.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); if (!type$.EfficientLengthIterable_dynamic._is(iterable)) iterable = J.toList$0$ax(iterable); insertionLength = J.get$length$asx(iterable); receiver.length = receiver.length + insertionLength; end = index + insertionLength; this.setRange$4(receiver, end, receiver.length, receiver, index); this.setRange$3(receiver, index, end, iterable); }, setAll$2(receiver, index, iterable) { var t1, t2, index0; if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("setAll")); A.RangeError_checkValueInInterval(index, 0, receiver.length, "index"); for (t1 = J.get$iterator$ax(iterable._source), t2 = A._instanceType(iterable), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._rest[1]; t1.moveNext$0(); index = index0) { index0 = index + 1; this.$indexSet(receiver, index, t2._as(t1.get$current(t1))); } }, removeLast$0(receiver) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("removeLast")); if (receiver.length === 0) throw A.wrapException(A.diagnoseIndexError(receiver, -1)); return receiver.pop(); }, remove$1(receiver, element) { var i; if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("remove")); for (i = 0; i < receiver.length; ++i) if (J.$eq$(receiver[i], element)) { receiver.splice(i, 1); return true; } return false; }, removeWhere$1(receiver, test) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); this._removeWhere$2(receiver, test, true); }, retainWhere$1(receiver, test) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("retainWhere")); this._removeWhere$2(receiver, test, false); }, _removeWhere$2(receiver, test, removeMatching) { var i, element, t1, retained = [], end = receiver.length; for (i = 0; i < end; ++i) { element = receiver[i]; if (!test.call$1(element) === removeMatching) retained.push(element); if (receiver.length !== end) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } t1 = retained.length; if (t1 === end) return; this.set$length(receiver, t1); for (i = 0; i < retained.length; ++i) receiver[i] = retained[i]; }, where$1(receiver, f) { return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>")); }, expand$1$1(receiver, f, $T) { return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, addAll$1(receiver, collection) { var t1; if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("addAll")); if (Array.isArray(collection)) { this._addAllFromArray$1(receiver, collection); return; } for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) receiver.push(t1.get$current(t1)); }, _addAllFromArray$1(receiver, array) { var i, len = array.length; if (len === 0) return; if (receiver === array) throw A.wrapException(A.ConcurrentModificationError$(receiver)); for (i = 0; i < len; ++i) receiver.push(array[i]); }, clear$0(receiver) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("clear")); receiver.length = 0; }, forEach$1(receiver, f) { var i, end = receiver.length; for (i = 0; i < end; ++i) { f.call$1(receiver[i]); if (receiver.length !== end) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } }, map$1$1(receiver, f, $T) { return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, map$1(receiver, f) { return this.map$1$1(receiver, f, type$.dynamic); }, join$1(receiver, separator) { var i, list = A.List_List$filled(receiver.length, "", false, type$.String); for (i = 0; i < receiver.length; ++i) list[i] = A.S(receiver[i]); return list.join(separator); }, join$0(receiver) { return this.join$1(receiver, ""); }, take$1(receiver, n) { return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1); }, skip$1(receiver, n) { return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1); }, reduce$1(receiver, combine) { var value, i, $length = receiver.length; if ($length === 0) throw A.wrapException(A.IterableElementError_noElement()); value = receiver[0]; for (i = 1; i < $length; ++i) { value = combine.call$2(value, receiver[i]); if ($length !== receiver.length) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return value; }, fold$1$2(receiver, initialValue, combine) { var value, i, $length = receiver.length; for (value = initialValue, i = 0; i < $length; ++i) { value = combine.call$2(value, receiver[i]); if (receiver.length !== $length) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return value; }, firstWhere$2$orElse(receiver, test, orElse) { var i, element, end = receiver.length; for (i = 0; i < end; ++i) { element = receiver[i]; if (test.call$1(element)) return element; if (receiver.length !== end) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } if (orElse != null) return orElse.call$0(); throw A.wrapException(A.IterableElementError_noElement()); }, firstWhere$1(receiver, test) { return this.firstWhere$2$orElse(receiver, test, null); }, singleWhere$2$orElse(receiver, test, orElse) { var match, matchFound, i, element, $length = receiver.length; for (match = null, matchFound = false, i = 0; i < $length; ++i) { element = receiver[i]; if (test.call$1(element)) { if (matchFound) throw A.wrapException(A.IterableElementError_tooMany()); match = element; matchFound = true; } if ($length !== receiver.length) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } if (matchFound) return match == null ? A._arrayInstanceType(receiver)._precomputed1._as(match) : match; throw A.wrapException(A.IterableElementError_noElement()); }, singleWhere$1(receiver, test) { return this.singleWhere$2$orElse(receiver, test, null); }, elementAt$1(receiver, index) { return receiver[index]; }, sublist$2(receiver, start, end) { if (start < 0 || start > receiver.length) throw A.wrapException(A.RangeError$range(start, 0, receiver.length, "start", null)); if (end == null) end = receiver.length; else if (end < start || end > receiver.length) throw A.wrapException(A.RangeError$range(end, start, receiver.length, "end", null)); if (start === end) return A._setArrayType([], A._arrayInstanceType(receiver)); return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver)); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, getRange$2(receiver, start, end) { A.RangeError_checkValidRange(start, end, receiver.length, null, null); return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1); }, get$first(receiver) { if (receiver.length > 0) return receiver[0]; throw A.wrapException(A.IterableElementError_noElement()); }, get$last(receiver) { var t1 = receiver.length; if (t1 > 0) return receiver[t1 - 1]; throw A.wrapException(A.IterableElementError_noElement()); }, get$single(receiver) { var t1 = receiver.length; if (t1 === 1) return receiver[0]; if (t1 === 0) throw A.wrapException(A.IterableElementError_noElement()); throw A.wrapException(A.IterableElementError_tooMany()); }, removeRange$2(receiver, start, end) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("removeRange")); A.RangeError_checkValidRange(start, end, receiver.length, null, null); receiver.splice(start, end - start); }, setRange$4(receiver, start, end, iterable, skipCount) { var $length, otherList, otherStart, t1, i; if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("setRange")); A.RangeError_checkValidRange(start, end, receiver.length, null, null); $length = end - start; if ($length === 0) return; A.RangeError_checkNotNegative(skipCount, "skipCount"); if (type$.List_dynamic._is(iterable)) { otherList = iterable; otherStart = skipCount; } else { otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false); otherStart = 0; } t1 = J.getInterceptor$asx(otherList); if (otherStart + $length > t1.get$length(otherList)) throw A.wrapException(A.IterableElementError_tooFew()); if (otherStart < start) for (i = $length - 1; i >= 0; --i) receiver[start + i] = t1.$index(otherList, otherStart + i); else for (i = 0; i < $length; ++i) receiver[start + i] = t1.$index(otherList, otherStart + i); }, setRange$3(receiver, start, end, iterable) { return this.setRange$4(receiver, start, end, iterable, 0); }, replaceRange$3(receiver, start, end, replacement) { var removeLength, insertLength, insertEnd, t1, delta, newLength, _this = this; if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("replaceRange")); A.RangeError_checkValidRange(start, end, receiver.length, null, null); if (!type$.EfficientLengthIterable_dynamic._is(replacement)) replacement = J.toList$0$ax(replacement); removeLength = end - start; insertLength = J.get$length$asx(replacement); insertEnd = start + insertLength; t1 = receiver.length; if (removeLength >= insertLength) { delta = removeLength - insertLength; newLength = t1 - delta; _this.setRange$3(receiver, start, insertEnd, replacement); if (delta !== 0) { _this.setRange$4(receiver, insertEnd, newLength, receiver, end); _this.set$length(receiver, newLength); } } else { newLength = t1 + (insertLength - removeLength); receiver.length = newLength; _this.setRange$4(receiver, insertEnd, newLength, receiver, end); _this.setRange$3(receiver, start, insertEnd, replacement); } }, any$1(receiver, test) { var i, end = receiver.length; for (i = 0; i < end; ++i) { if (test.call$1(receiver[i])) return true; if (receiver.length !== end) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return false; }, every$1(receiver, test) { var i, end = receiver.length; for (i = 0; i < end; ++i) { if (!test.call$1(receiver[i])) return false; if (receiver.length !== end) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return true; }, get$reversed(receiver) { return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>")); }, sort$1(receiver, compare) { var len, a, b, undefineds, i; if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("sort")); len = receiver.length; if (len < 2) return; if (compare == null) compare = J._interceptors_JSArray__compareAny$closure(); if (len === 2) { a = receiver[0]; b = receiver[1]; if (compare.call$2(a, b) > 0) { receiver[0] = b; receiver[1] = a; } return; } if (A._arrayInstanceType(receiver)._precomputed1._is(null)) { for (undefineds = 0, i = 0; i < receiver.length; ++i) if (receiver[i] === void 0) { receiver[i] = null; ++undefineds; } } else undefineds = 0; receiver.sort(A.convertDartClosureToJS(compare, 2)); if (undefineds > 0) this._replaceSomeNullsWithUndefined$1(receiver, undefineds); }, sort$0(receiver) { return this.sort$1(receiver, null); }, _replaceSomeNullsWithUndefined$1(receiver, count) { var i0, i = receiver.length; for (; i0 = i - 1, i > 0; i = i0) if (receiver[i0] === null) { receiver[i0] = void 0; --count; if (count === 0) break; } }, indexOf$2(receiver, element, start) { var i, $length = receiver.length; if (start >= $length) return -1; for (i = start; i < $length; ++i) if (J.$eq$(receiver[i], element)) return i; return -1; }, indexOf$1(receiver, element) { return this.indexOf$2(receiver, element, 0); }, lastIndexOf$2(receiver, element, startIndex) { var t1, i, start = startIndex == null ? receiver.length - 1 : startIndex; if (start < 0) return -1; t1 = receiver.length; if (start >= t1) start = t1 - 1; for (i = start; i >= 0; --i) if (J.$eq$(receiver[i], element)) return i; return -1; }, lastIndexOf$1(receiver, element) { return this.lastIndexOf$2(receiver, element, null); }, contains$1(receiver, other) { var i; for (i = 0; i < receiver.length; ++i) if (J.$eq$(receiver[i], other)) return true; return false; }, get$isEmpty(receiver) { return receiver.length === 0; }, get$isNotEmpty(receiver) { return receiver.length !== 0; }, toString$0(receiver) { return A.Iterable_iterableToFullString(receiver, "[", "]"); }, toList$1$growable(receiver, growable) { var t1 = A._arrayInstanceType(receiver); return growable ? A._setArrayType(receiver.slice(0), t1) : J.JSArray_JSArray$markFixed(receiver.slice(0), t1._precomputed1); }, toList$0(receiver) { return this.toList$1$growable(receiver, true); }, toSet$0(receiver) { return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1); }, get$iterator(receiver) { return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); }, get$hashCode(receiver) { return A.Primitives_objectHashCode(receiver); }, get$length(receiver) { return receiver.length; }, set$length(receiver, newLength) { if (!!receiver.fixed$length) A.throwExpression(A.UnsupportedError$("set length")); if (newLength < 0) throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null)); if (newLength > receiver.length) A._arrayInstanceType(receiver)._precomputed1._as(null); receiver.length = newLength; }, $index(receiver, index) { if (!(index >= 0 && index < receiver.length)) throw A.wrapException(A.diagnoseIndexError(receiver, index)); return receiver[index]; }, $indexSet(receiver, index, value) { if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("indexed set")); if (!(index >= 0 && index < receiver.length)) throw A.wrapException(A.diagnoseIndexError(receiver, index)); receiver[index] = value; }, asMap$0(receiver) { return new A.ListMapView(receiver, A._arrayInstanceType(receiver)._eval$1("ListMapView<1>")); }, followedBy$1(receiver, other) { return A.FollowedByIterable_FollowedByIterable$firstEfficient(receiver, other, A._arrayInstanceType(receiver)._precomputed1); }, $add(receiver, other) { var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1); this.addAll$1(t1, other); return t1; }, indexWhere$2(receiver, test, start) { var i; if (start >= receiver.length) return -1; for (i = start; i < receiver.length; ++i) if (test.call$1(receiver[i])) return i; return -1; }, indexWhere$1(receiver, test) { return this.indexWhere$2(receiver, test, 0); }, lastIndexWhere$2(receiver, test, start) { var i; if (start == null) start = receiver.length - 1; if (start < 0) return -1; for (i = start; i >= 0; --i) if (test.call$1(receiver[i])) return i; return -1; }, lastIndexWhere$1(receiver, test) { return this.lastIndexWhere$2(receiver, test, null); }, set$last(receiver, element) { var t1 = receiver.length; if (t1 === 0) throw A.wrapException(A.IterableElementError_noElement()); this.$indexSet(receiver, t1 - 1, element); }, get$runtimeType(receiver) { return A.createRuntimeType(A._arrayInstanceType(receiver)); }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; J.JSUnmodifiableArray.prototype = {}; J.ArrayIterator.prototype = { get$current(_) { var t1 = this.__interceptors$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var t2, _this = this, t1 = _this._iterable, $length = t1.length; if (_this.__interceptors$_length !== $length) throw A.wrapException(A.throwConcurrentModificationError(t1)); t2 = _this._index; if (t2 >= $length) { _this.__interceptors$_current = null; return false; } _this.__interceptors$_current = t1[t2]; _this._index = t2 + 1; return true; } }; J.JSNumber.prototype = { compareTo$1(receiver, b) { var bIsNegative; if (receiver < b) return -1; else if (receiver > b) return 1; else if (receiver === b) { if (receiver === 0) { bIsNegative = this.get$isNegative(b); if (this.get$isNegative(receiver) === bIsNegative) return 0; if (this.get$isNegative(receiver)) return -1; return 1; } return 0; } else if (isNaN(receiver)) { if (isNaN(b)) return 0; return 1; } else return -1; }, get$isNegative(receiver) { return receiver === 0 ? 1 / receiver < 0 : receiver < 0; }, get$sign(receiver) { var t1; if (receiver > 0) t1 = 1; else t1 = receiver < 0 ? -1 : receiver; return t1; }, toInt$0(receiver) { var t1; if (receiver >= -2147483648 && receiver <= 2147483647) return receiver | 0; if (isFinite(receiver)) { t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); return t1 + 0; } throw A.wrapException(A.UnsupportedError$("" + receiver + ".toInt()")); }, ceil$0(receiver) { var truncated, d; if (receiver >= 0) { if (receiver <= 2147483647) { truncated = receiver | 0; return receiver === truncated ? truncated : truncated + 1; } } else if (receiver >= -2147483648) return receiver | 0; d = Math.ceil(receiver); if (isFinite(d)) return d; throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()")); }, floor$0(receiver) { var truncated, d; if (receiver >= 0) { if (receiver <= 2147483647) return receiver | 0; } else if (receiver >= -2147483648) { truncated = receiver | 0; return receiver === truncated ? truncated : truncated - 1; } d = Math.floor(receiver); if (isFinite(d)) return d; throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()")); }, round$0(receiver) { if (receiver > 0) { if (receiver !== 1 / 0) return Math.round(receiver); } else if (receiver > -1 / 0) return 0 - Math.round(0 - receiver); throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()")); }, roundToDouble$0(receiver) { if (receiver < 0) return -Math.round(-receiver); else return Math.round(receiver); }, clamp$2(receiver, lowerLimit, upperLimit) { if (this.compareTo$1(lowerLimit, upperLimit) > 0) throw A.wrapException(A.argumentErrorValue(lowerLimit)); if (this.compareTo$1(receiver, lowerLimit) < 0) return lowerLimit; if (this.compareTo$1(receiver, upperLimit) > 0) return upperLimit; return receiver; }, toDouble$0(receiver) { return receiver; }, toStringAsFixed$1(receiver, fractionDigits) { var result; if (fractionDigits > 20) throw A.wrapException(A.RangeError$range(fractionDigits, 0, 20, "fractionDigits", null)); result = receiver.toFixed(fractionDigits); if (receiver === 0 && this.get$isNegative(receiver)) return "-" + result; return result; }, toStringAsPrecision$1(receiver, precision) { var result; if (precision < 1 || precision > 21) throw A.wrapException(A.RangeError$range(precision, 1, 21, "precision", null)); result = receiver.toPrecision(precision); if (receiver === 0 && this.get$isNegative(receiver)) return "-" + result; return result; }, toRadixString$1(receiver, radix) { var result, match, exponent, t1; if (radix < 2 || radix > 36) throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null)); result = receiver.toString(radix); if (result.charCodeAt(result.length - 1) !== 41) return result; match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); if (match == null) A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result)); result = match[1]; exponent = +match[3]; t1 = match[2]; if (t1 != null) { result += t1; exponent -= t1.length; } return result + B.JSString_methods.$mul("0", exponent); }, toString$0(receiver) { if (receiver === 0 && 1 / receiver < 0) return "-0.0"; else return "" + receiver; }, get$hashCode(receiver) { var absolute, floorLog2, factor, scaled, intValue = receiver | 0; if (receiver === intValue) return intValue & 536870911; absolute = Math.abs(receiver); floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0; factor = Math.pow(2, floorLog2); scaled = absolute < 1 ? absolute / factor : factor / absolute; return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911; }, $add(receiver, other) { return receiver + other; }, $sub(receiver, other) { return receiver - other; }, $div(receiver, other) { return receiver / other; }, $mul(receiver, other) { return receiver * other; }, $mod(receiver, other) { var result = receiver % other; if (result === 0) return 0; if (result > 0) return result; if (other < 0) return result - other; else return result + other; }, $tdiv(receiver, other) { if ((receiver | 0) === receiver) if (other >= 1 || other < -1) return receiver / other | 0; return this._tdivSlow$1(receiver, other); }, _tdivFast$1(receiver, other) { return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other); }, _tdivSlow$1(receiver, other) { var quotient = receiver / other; if (quotient >= -2147483648 && quotient <= 2147483647) return quotient | 0; if (quotient > 0) { if (quotient !== 1 / 0) return Math.floor(quotient); } else if (quotient > -1 / 0) return Math.ceil(quotient); throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + A.S(other))); }, $shl(receiver, other) { if (other < 0) throw A.wrapException(A.argumentErrorValue(other)); return other > 31 ? 0 : receiver << other >>> 0; }, _shlPositive$1(receiver, other) { return other > 31 ? 0 : receiver << other >>> 0; }, $shr(receiver, other) { var t1; if (other < 0) throw A.wrapException(A.argumentErrorValue(other)); if (receiver > 0) t1 = this._shrBothPositive$1(receiver, other); else { t1 = other > 31 ? 31 : other; t1 = receiver >> t1 >>> 0; } return t1; }, _shrOtherPositive$1(receiver, other) { var t1; if (receiver > 0) t1 = this._shrBothPositive$1(receiver, other); else { t1 = other > 31 ? 31 : other; t1 = receiver >> t1 >>> 0; } return t1; }, _shrReceiverPositive$1(receiver, other) { if (0 > other) throw A.wrapException(A.argumentErrorValue(other)); return this._shrBothPositive$1(receiver, other); }, _shrBothPositive$1(receiver, other) { return other > 31 ? 0 : receiver >>> other; }, _shruOtherPositive$1(receiver, other) { if (other > 31) return 0; return receiver >>> other; }, $lt(receiver, other) { return receiver < other; }, $gt(receiver, other) { return receiver > other; }, $ge(receiver, other) { return receiver >= other; }, get$runtimeType(receiver) { return A.createRuntimeType(type$.num); }, $isComparable: 1, $isdouble: 1, $isnum: 1 }; J.JSInt.prototype = { get$sign(receiver) { var t1; if (receiver > 0) t1 = 1; else t1 = receiver < 0 ? -1 : receiver; return t1; }, get$bitLength(receiver) { var wordBits, t1 = receiver < 0 ? -receiver - 1 : receiver, nonneg = t1; for (wordBits = 32; nonneg >= 4294967296;) { nonneg = this._tdivFast$1(nonneg, 4294967296); wordBits += 32; } return wordBits - Math.clz32(nonneg); }, get$runtimeType(receiver) { return A.createRuntimeType(type$.int); }, $isTrustedGetRuntimeType: 1, $isint: 1 }; J.JSNumNotInt.prototype = { get$runtimeType(receiver) { return A.createRuntimeType(type$.double); }, $isTrustedGetRuntimeType: 1 }; J.JSString.prototype = { codeUnitAt$1(receiver, index) { if (index < 0) throw A.wrapException(A.diagnoseIndexError(receiver, index)); if (index >= receiver.length) A.throwExpression(A.diagnoseIndexError(receiver, index)); return receiver.charCodeAt(index); }, allMatches$2(receiver, string, start) { var t1 = string.length; if (start > t1) throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); return new A._StringAllMatchesIterable(string, receiver, start); }, allMatches$1(receiver, string) { return this.allMatches$2(receiver, string, 0); }, matchAsPrefix$2(receiver, string, start) { var t1, i, _null = null; if (start < 0 || start > string.length) throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null)); t1 = receiver.length; if (start + t1 > string.length) return _null; for (i = 0; i < t1; ++i) if (string.charCodeAt(start + i) !== receiver.charCodeAt(i)) return _null; return new A.StringMatch(start, string, receiver); }, $add(receiver, other) { return receiver + other; }, endsWith$1(receiver, other) { var otherLength = other.length, t1 = receiver.length; if (otherLength > t1) return false; return other === this.substring$1(receiver, t1 - otherLength); }, replaceFirst$2(receiver, from, to) { A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex"); return A.stringReplaceFirstUnchecked(receiver, from, to, 0); }, split$1(receiver, pattern) { var t1 = A._setArrayType(receiver.split(pattern), type$.JSArray_String); return t1; }, replaceRange$3(receiver, start, end, replacement) { var e = A.RangeError_checkValidRange(start, end, receiver.length, null, null); return A.stringReplaceRangeUnchecked(receiver, start, e, replacement); }, startsWith$2(receiver, pattern, index) { var endIndex; if (index < 0 || index > receiver.length) throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null)); if (typeof pattern == "string") { endIndex = index + pattern.length; if (endIndex > receiver.length) return false; return pattern === receiver.substring(index, endIndex); } return J.matchAsPrefix$2$s(pattern, receiver, index) != null; }, startsWith$1(receiver, pattern) { return this.startsWith$2(receiver, pattern, 0); }, substring$2(receiver, start, end) { return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length, null, null)); }, substring$1(receiver, start) { return this.substring$2(receiver, start, null); }, toLowerCase$0(receiver) { return receiver.toLowerCase(); }, trim$0(receiver) { var startIndex, t1, endIndex0, result = receiver.trim(), endIndex = result.length; if (endIndex === 0) return result; if (result.charCodeAt(0) === 133) { startIndex = J.JSString__skipLeadingWhitespace(result, 1); if (startIndex === endIndex) return ""; } else startIndex = 0; t1 = endIndex - 1; endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; if (startIndex === 0 && endIndex0 === endIndex) return result; return result.substring(startIndex, endIndex0); }, trimLeft$0(receiver) { var result = receiver.trimStart(); if (result.length === 0) return result; if (result.charCodeAt(0) !== 133) return result; return result.substring(J.JSString__skipLeadingWhitespace(result, 1)); }, trimRight$0(receiver) { var t1, result = receiver.trimEnd(), endIndex = result.length; if (endIndex === 0) return result; t1 = endIndex - 1; if (result.charCodeAt(t1) !== 133) return result; return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1)); }, $mul(receiver, times) { var s, result; if (0 >= times) return ""; if (times === 1 || receiver.length === 0) return receiver; if (times !== times >>> 0) throw A.wrapException(B.C_OutOfMemoryError); for (s = receiver, result = ""; true;) { if ((times & 1) === 1) result = s + result; times = times >>> 1; if (times === 0) break; s += s; } return result; }, padLeft$2(receiver, width, padding) { var delta = width - receiver.length; if (delta <= 0) return receiver; return this.$mul(padding, delta) + receiver; }, padRight$1(receiver, width) { var delta = width - receiver.length; if (delta <= 0) return receiver; return receiver + this.$mul(" ", delta); }, indexOf$2(receiver, pattern, start) { var match, t1, t2, i; if (start < 0 || start > receiver.length) throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); if (typeof pattern == "string") return receiver.indexOf(pattern, start); if (pattern instanceof A.JSSyntaxRegExp) { match = pattern._execGlobal$2(receiver, start); return match == null ? -1 : match._match.index; } for (t1 = receiver.length, t2 = J.getInterceptor$s(pattern), i = start; i <= t1; ++i) if (t2.matchAsPrefix$2(pattern, receiver, i) != null) return i; return -1; }, indexOf$1(receiver, pattern) { return this.indexOf$2(receiver, pattern, 0); }, lastIndexOf$2(receiver, pattern, start) { var t1, t2, i; if (start == null) start = receiver.length; else if (start < 0 || start > receiver.length) throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null)); if (typeof pattern == "string") { t1 = pattern.length; t2 = receiver.length; if (start + t1 > t2) start = t2 - t1; return receiver.lastIndexOf(pattern, start); } for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i) if (t1.matchAsPrefix$2(pattern, receiver, i) != null) return i; return -1; }, lastIndexOf$1(receiver, pattern) { return this.lastIndexOf$2(receiver, pattern, null); }, contains$2(receiver, other, startIndex) { var t1 = receiver.length; if (startIndex > t1) throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null)); return A.stringContainsUnchecked(receiver, other, startIndex); }, contains$1(receiver, other) { return this.contains$2(receiver, other, 0); }, get$isEmpty(receiver) { return receiver.length === 0; }, compareTo$1(receiver, other) { var t1; if (receiver === other) t1 = 0; else t1 = receiver < other ? -1 : 1; return t1; }, toString$0(receiver) { return receiver; }, get$hashCode(receiver) { var t1, hash, i; for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { hash = hash + receiver.charCodeAt(i) & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; hash ^= hash >> 6; } hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >> 11; return hash + ((hash & 16383) << 15) & 536870911; }, get$runtimeType(receiver) { return A.createRuntimeType(type$.String); }, get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (!(index >= 0 && index < receiver.length)) throw A.wrapException(A.diagnoseIndexError(receiver, index)); return receiver[index]; }, $isJSIndexable: 1, $isTrustedGetRuntimeType: 1, $isComparable: 1, $isPattern: 1, $isString: 1 }; A._CopyingBytesBuilder.prototype = { add$1(_, bytes) { var required, t1, t2, newSize, x, newBuffer, _this = this, byteCount = J.get$length$asx(bytes); if (byteCount === 0) return; required = _this.__internal$_length + byteCount; t1 = _this.__internal$_buffer; t2 = t1.length; if (t2 < required) { newSize = required * 2; if (newSize < 1024) newSize = 1024; else { x = newSize - 1; x |= B.JSInt_methods._shrOtherPositive$1(x, 1); x |= x >>> 2; x |= x >>> 4; x |= x >>> 8; newSize = ((x | x >>> 16) >>> 0) + 1; } newBuffer = new Uint8Array(newSize); B.NativeUint8List_methods.setRange$3(newBuffer, 0, t2, t1); _this.__internal$_buffer = newBuffer; t1 = newBuffer; } B.NativeUint8List_methods.setRange$3(t1, _this.__internal$_length, required, bytes); _this.__internal$_length = required; }, takeBytes$0() { var t2, buffer, _this = this, t1 = _this.__internal$_length; if (t1 === 0) return $.$get$_CopyingBytesBuilder__emptyList(); t2 = _this.__internal$_buffer; buffer = B.NativeByteBuffer_methods.asUint8List$2(t2.buffer, t2.byteOffset, t1); _this.__internal$_length = 0; _this.__internal$_buffer = $.$get$_CopyingBytesBuilder__emptyList(); return buffer; }, toBytes$0() { var t2, t1 = this.__internal$_length; if (t1 === 0) return $.$get$_CopyingBytesBuilder__emptyList(); t2 = this.__internal$_buffer; return new Uint8Array(A._ensureNativeList(B.NativeByteBuffer_methods.asUint8List$2(t2.buffer, t2.byteOffset, t1))); }, get$length(_) { return this.__internal$_length; }, get$isEmpty(_) { return this.__internal$_length === 0; } }; A._BytesBuilder.prototype = { add$1(_, bytes) { this._chunks.push(bytes); this.__internal$_length = this.__internal$_length + J.get$length$asx(bytes); }, takeBytes$0() { var t2, t3, buffer, offset, _i, chunk, _this = this, t1 = _this.__internal$_length; if (t1 === 0) return $.$get$_CopyingBytesBuilder__emptyList(); t2 = _this._chunks; t3 = t2.length; if (t3 === 1) { buffer = t2[0]; _this.__internal$_length = 0; B.JSArray_methods.clear$0(t2); return buffer; } buffer = new Uint8Array(t1); for (offset = 0, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { chunk = t2[_i]; t1 = J.getInterceptor$asx(chunk); B.NativeUint8List_methods.setRange$3(buffer, offset, offset + t1.get$length(chunk), chunk); offset += t1.get$length(chunk); } _this.__internal$_length = 0; B.JSArray_methods.clear$0(t2); return buffer; }, toBytes$0() { var buffer, t2, offset, _i, chunk, t3, t1 = this.__internal$_length; if (t1 === 0) return $.$get$_CopyingBytesBuilder__emptyList(); buffer = new Uint8Array(t1); for (t1 = this._chunks, t2 = t1.length, offset = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { chunk = t1[_i]; t3 = J.getInterceptor$asx(chunk); B.NativeUint8List_methods.setRange$3(buffer, offset, offset + t3.get$length(chunk), chunk); offset += t3.get$length(chunk); } return buffer; }, get$length(_) { return this.__internal$_length; }, get$isEmpty(_) { return this.__internal$_length === 0; } }; A._CastIterableBase.prototype = { get$iterator(_) { var t1 = A._instanceType(this); return new A.CastIterator(J.get$iterator$ax(this.get$_source()), t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastIterator<1,2>")); }, get$length(_) { return J.get$length$asx(this.get$_source()); }, get$isEmpty(_) { return J.get$isEmpty$asx(this.get$_source()); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this.get$_source()); }, skip$1(_, count) { var t1 = A._instanceType(this); return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); }, take$1(_, count) { var t1 = A._instanceType(this); return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]); }, elementAt$1(_, index) { return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index)); }, get$first(_) { return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source())); }, get$last(_) { return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source())); }, get$single(_) { return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source())); }, contains$1(_, other) { return J.contains$1$asx(this.get$_source(), other); }, toString$0(_) { return J.toString$0$(this.get$_source()); } }; A.CastIterator.prototype = { moveNext$0() { return this._source.moveNext$0(); }, get$current(_) { var t1 = this._source; return this.$ti._rest[1]._as(t1.get$current(t1)); } }; A.CastIterable.prototype = { cast$1$0(_, $R) { return A.CastIterable_CastIterable(this._source, A._instanceType(this)._precomputed1, $R); }, get$_source() { return this._source; } }; A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1}; A._CastListBase.prototype = { $index(_, index) { return this.$ti._rest[1]._as(J.$index$asx(this._source, index)); }, $indexSet(_, index, value) { J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value)); }, set$length(_, $length) { J.set$length$asx(this._source, $length); }, add$1(_, value) { J.add$1$ax(this._source, this.$ti._precomputed1._as(value)); }, addAll$1(_, values) { var t1 = this.$ti; J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1)); }, sort$1(_, compare) { var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare); J.sort$1$ax(this._source, t1); }, insert$2(_, index, element) { J.insert$2$ax(this._source, index, this.$ti._precomputed1._as(element)); }, insertAll$2(_, index, elements) { var t1 = this.$ti; J.insertAll$2$ax(this._source, index, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1)); }, setAll$2(_, index, elements) { var t1 = this.$ti; J.setAll$2$ax(this._source, index, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1)); }, remove$1(_, value) { return J.remove$1$ax(this._source, value); }, removeAt$1(_, index) { return this.$ti._rest[1]._as(J.removeAt$1$ax(this._source, index)); }, removeLast$0(_) { return this.$ti._rest[1]._as(J.removeLast$0$ax(this._source)); }, removeWhere$1(_, test) { J.removeWhere$1$ax(this._source, new A._CastListBase_removeWhere_closure(this, test)); }, retainWhere$1(_, test) { J.retainWhere$1$ax(this._source, new A._CastListBase_retainWhere_closure(this, test)); }, getRange$2(_, start, end) { var t1 = this.$ti; return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]); }, setRange$4(_, start, end, iterable, skipCount) { var t1 = this.$ti; J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount); }, setRange$3(_, start, end, iterable) { return this.setRange$4(0, start, end, iterable, 0); }, removeRange$2(_, start, end) { J.removeRange$2$ax(this._source, start, end); }, $isEfficientLengthIterable: 1, $isList: 1 }; A._CastListBase_sort_closure.prototype = { call$2(v1, v2) { var t1 = this.$this.$ti._rest[1]; return this.compare.call$2(t1._as(v1), t1._as(v2)); }, $signature() { return this.$this.$ti._eval$1("int(1,1)"); } }; A._CastListBase_removeWhere_closure.prototype = { call$1(element) { return this.test.call$1(this.$this.$ti._rest[1]._as(element)); }, $signature() { return this.$this.$ti._eval$1("bool(1)"); } }; A._CastListBase_retainWhere_closure.prototype = { call$1(element) { return this.test.call$1(this.$this.$ti._rest[1]._as(element)); }, $signature() { return this.$this.$ti._eval$1("bool(1)"); } }; A.CastList.prototype = { cast$1$0(_, $R) { return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>")); }, get$_source() { return this._source; } }; A.CastSet.prototype = { cast$1$0(_, $R) { return new A.CastSet(this._source, this._emptySet, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastSet<1,2>")); }, add$1(_, value) { return this._source.add$1(0, this.$ti._precomputed1._as(value)); }, addAll$1(_, elements) { var t1 = this.$ti; this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1)); }, remove$1(_, object) { return this._source.remove$1(0, object); }, removeWhere$1(_, test) { this._source.removeWhere$1(0, new A.CastSet_removeWhere_closure(this, test)); }, intersection$1(_, other) { var t1, _this = this; if (_this._emptySet != null) return _this._conditionalAdd$2(other, true); t1 = _this.$ti; return new A.CastSet(_this._source.intersection$1(0, other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>")); }, _conditionalAdd$2(other, otherContains) { var castElement, emptySet = this._emptySet, t1 = this.$ti, t2 = t1._rest[1], result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2); for (t2 = this._source, t2 = t2.get$iterator(t2), t1 = t1._rest[1]; t2.moveNext$0();) { castElement = t1._as(t2.get$current(t2)); if (otherContains === other.contains$1(0, castElement)) result.add$1(0, castElement); } return result; }, clear$0(_) { this._source.clear$0(0); }, _clone$0() { var emptySet = this._emptySet, t1 = this.$ti._rest[1], result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1); result.addAll$1(0, this); return result; }, toSet$0(_) { var emptySet = this._emptySet, t1 = this.$ti._rest[1], result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1); result.addAll$1(0, this); return result; }, $isEfficientLengthIterable: 1, $isSet: 1, get$_source() { return this._source; } }; A.CastSet_removeWhere_closure.prototype = { call$1(element) { return this.test.call$1(this.$this.$ti._rest[1]._as(element)); }, $signature() { return this.$this.$ti._eval$1("bool(1)"); } }; A.CastMap.prototype = { cast$2$0(_, RK, RV) { var t1 = this.$ti; return new A.CastMap(this._source, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>")); }, containsKey$1(_, key) { return J.containsKey$1$x(this._source, key); }, $index(_, key) { return this.$ti._eval$1("4?")._as(J.$index$asx(this._source, key)); }, $indexSet(_, key, value) { var t1 = this.$ti; J.$indexSet$ax(this._source, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, putIfAbsent$2(_, key, ifAbsent) { var t1 = this.$ti; return t1._rest[3]._as(J.putIfAbsent$2$x(this._source, t1._precomputed1._as(key), new A.CastMap_putIfAbsent_closure(this, ifAbsent))); }, remove$1(_, key) { return this.$ti._eval$1("4?")._as(J.remove$1$ax(this._source, key)); }, forEach$1(_, f) { J.forEach$1$ax(this._source, new A.CastMap_forEach_closure(this, f)); }, get$keys(_) { var t1 = this.$ti; return A.CastIterable_CastIterable(J.get$keys$x(this._source), t1._precomputed1, t1._rest[2]); }, get$values(_) { var t1 = this.$ti; return A.CastIterable_CastIterable(J.get$values$x(this._source), t1._rest[1], t1._rest[3]); }, get$length(_) { return J.get$length$asx(this._source); }, get$isEmpty(_) { return J.get$isEmpty$asx(this._source); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this._source); }, get$entries(_) { var t1 = J.get$entries$x(this._source); return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>")); } }; A.CastMap_putIfAbsent_closure.prototype = { call$0() { return this.$this.$ti._rest[1]._as(this.ifAbsent.call$0()); }, $signature() { return this.$this.$ti._eval$1("2()"); } }; A.CastMap_forEach_closure.prototype = { call$2(key, value) { var t1 = this.$this.$ti; this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value)); }, $signature() { return this.$this.$ti._eval$1("~(1,2)"); } }; A.CastMap_entries_closure.prototype = { call$1(e) { var t1 = this.$this.$ti, t2 = t1._rest[3]; return new A.MapEntry(t1._rest[2]._as(e.key), t2._as(e.value), t1._eval$1("@<3>")._bind$1(t2)._eval$1("MapEntry<1,2>")); }, $signature() { return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)"); } }; A.CastQueue.prototype = { cast$1$0(_, $R) { return new A.CastQueue(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); }, $isEfficientLengthIterable: 1, get$_source() { return this._source; } }; A.LateError.prototype = { toString$0(_) { return "LateInitializationError: " + this._message; } }; A.ReachabilityError.prototype = { toString$0(_) { return "ReachabilityError: " + this._message; } }; A.CodeUnits.prototype = { get$length(_) { return this._string.length; }, $index(_, i) { return this._string.charCodeAt(i); } }; A.nullFuture_closure.prototype = { call$0() { return A.Future_Future$value(null, type$.Null); }, $signature: 67 }; A.SentinelValue.prototype = { get$id() { return 0; } }; A.EfficientLengthIterable.prototype = {}; A.ListIterable.prototype = { get$iterator(_) { var _this = this; return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>")); }, forEach$1(_, action) { var i, _this = this, $length = _this.get$length(_this); for (i = 0; i < $length; ++i) { action.call$1(_this.elementAt$1(0, i)); if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } }, get$isEmpty(_) { return this.get$length(this) === 0; }, get$first(_) { if (this.get$length(this) === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.elementAt$1(0, 0); }, get$last(_) { var _this = this; if (_this.get$length(_this) === 0) throw A.wrapException(A.IterableElementError_noElement()); return _this.elementAt$1(0, _this.get$length(_this) - 1); }, get$single(_) { var _this = this; if (_this.get$length(_this) === 0) throw A.wrapException(A.IterableElementError_noElement()); if (_this.get$length(_this) > 1) throw A.wrapException(A.IterableElementError_tooMany()); return _this.elementAt$1(0, 0); }, contains$1(_, element) { var i, _this = this, $length = _this.get$length(_this); for (i = 0; i < $length; ++i) { if (J.$eq$(_this.elementAt$1(0, i), element)) return true; if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return false; }, any$1(_, test) { var i, _this = this, $length = _this.get$length(_this); for (i = 0; i < $length; ++i) { if (test.call$1(_this.elementAt$1(0, i))) return true; if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return false; }, join$1(_, separator) { var first, t1, i, _this = this, $length = _this.get$length(_this); if (separator.length !== 0) { if ($length === 0) return ""; first = A.S(_this.elementAt$1(0, 0)); if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); for (t1 = first, i = 1; i < $length; ++i) { t1 = t1 + separator + A.S(_this.elementAt$1(0, i)); if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return t1.charCodeAt(0) == 0 ? t1 : t1; } else { for (i = 0, t1 = ""; i < $length; ++i) { t1 += A.S(_this.elementAt$1(0, i)); if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return t1.charCodeAt(0) == 0 ? t1 : t1; } }, join$0(_) { return this.join$1(0, ""); }, where$1(_, test) { return this.super$Iterable$where(0, test); }, map$1$1(_, toElement, $T) { return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, map$1(_, toElement) { return this.map$1$1(0, toElement, type$.dynamic); }, reduce$1(_, combine) { var value, i, _this = this, $length = _this.get$length(_this); if ($length === 0) throw A.wrapException(A.IterableElementError_noElement()); value = _this.elementAt$1(0, 0); for (i = 1; i < $length; ++i) { value = combine.call$2(value, _this.elementAt$1(0, i)); if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return value; }, fold$1$2(_, initialValue, combine) { var value, i, _this = this, $length = _this.get$length(_this); for (value = initialValue, i = 0; i < $length; ++i) { value = combine.call$2(value, _this.elementAt$1(0, i)); if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return value; }, skip$1(_, count) { return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E")); }, take$1(_, count) { return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E")); }, toList$1$growable(_, growable) { return A.List_List$of(this, growable, A._instanceType(this)._eval$1("ListIterable.E")); }, toList$0(_) { return this.toList$1$growable(0, true); }, toSet$0(_) { var i, _this = this, result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E")); for (i = 0; i < _this.get$length(_this); ++i) result.add$1(0, _this.elementAt$1(0, i)); return result; } }; A.SubListIterable.prototype = { SubListIterable$3(_iterable, _start, _endOrLength, $E) { var endOrLength, t1 = this._start; A.RangeError_checkNotNegative(t1, "start"); endOrLength = this._endOrLength; if (endOrLength != null) { A.RangeError_checkNotNegative(endOrLength, "end"); if (t1 > endOrLength) throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null)); } }, get$_endIndex() { var $length = J.get$length$asx(this.__internal$_iterable), endOrLength = this._endOrLength; if (endOrLength == null || endOrLength > $length) return $length; return endOrLength; }, get$_startIndex() { var $length = J.get$length$asx(this.__internal$_iterable), t1 = this._start; if (t1 > $length) return $length; return t1; }, get$length(_) { var endOrLength, $length = J.get$length$asx(this.__internal$_iterable), t1 = this._start; if (t1 >= $length) return 0; endOrLength = this._endOrLength; if (endOrLength == null || endOrLength >= $length) return $length - t1; return endOrLength - t1; }, elementAt$1(_, index) { var _this = this, realIndex = _this.get$_startIndex() + index; if (index < 0 || realIndex >= _this.get$_endIndex()) throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index")); return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); }, skip$1(_, count) { var newStart, endOrLength, _this = this; A.RangeError_checkNotNegative(count, "count"); newStart = _this._start + count; endOrLength = _this._endOrLength; if (endOrLength != null && newStart >= endOrLength) return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>")); return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1); }, take$1(_, count) { var endOrLength, t1, newEnd, _this = this; A.RangeError_checkNotNegative(count, "count"); endOrLength = _this._endOrLength; t1 = _this._start; newEnd = t1 + count; if (endOrLength == null) return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1); else { if (endOrLength < newEnd) return _this; return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1); } }, toList$1$growable(_, growable) { var $length, result, i, _this = this, start = _this._start, t1 = _this.__internal$_iterable, t2 = J.getInterceptor$asx(t1), end = t2.get$length(t1), endOrLength = _this._endOrLength; if (endOrLength != null && endOrLength < end) end = endOrLength; $length = end - start; if ($length <= 0) { t1 = _this.$ti._precomputed1; return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); } result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1); for (i = 1; i < $length; ++i) { result[i] = t2.elementAt$1(t1, start + i); if (t2.get$length(t1) < end) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return result; }, toList$0(_) { return this.toList$1$growable(0, true); } }; A.ListIterator.prototype = { get$current(_) { var t1 = this.__internal$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var t3, _this = this, t1 = _this.__internal$_iterable, t2 = J.getInterceptor$asx(t1), $length = t2.get$length(t1); if (_this.__internal$_length !== $length) throw A.wrapException(A.ConcurrentModificationError$(t1)); t3 = _this.__internal$_index; if (t3 >= $length) { _this.__internal$_current = null; return false; } _this.__internal$_current = t2.elementAt$1(t1, t3); ++_this.__internal$_index; return true; } }; A.MappedIterable.prototype = { get$iterator(_) { var t1 = A._instanceType(this); return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MappedIterator<1,2>")); }, get$length(_) { return J.get$length$asx(this.__internal$_iterable); }, get$isEmpty(_) { return J.get$isEmpty$asx(this.__internal$_iterable); }, get$first(_) { return this._f.call$1(J.get$first$ax(this.__internal$_iterable)); }, get$last(_) { return this._f.call$1(J.get$last$ax(this.__internal$_iterable)); }, get$single(_) { return this._f.call$1(J.get$single$ax(this.__internal$_iterable)); }, elementAt$1(_, index) { return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index)); } }; A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; A.MappedIterator.prototype = { moveNext$0() { var _this = this, t1 = _this._iterator; if (t1.moveNext$0()) { _this.__internal$_current = _this._f.call$1(t1.get$current(t1)); return true; } _this.__internal$_current = null; return false; }, get$current(_) { var t1 = this.__internal$_current; return t1 == null ? this.$ti._rest[1]._as(t1) : t1; } }; A.MappedListIterable.prototype = { get$length(_) { return J.get$length$asx(this._source); }, elementAt$1(_, index) { return this._f.call$1(J.elementAt$1$ax(this._source, index)); } }; A.WhereIterable.prototype = { get$iterator(_) { return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("WhereIterator<1>")); }, map$1$1(_, toElement, $T) { return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>")); }, map$1(_, toElement) { return this.map$1$1(0, toElement, type$.dynamic); } }; A.WhereIterator.prototype = { moveNext$0() { var t1, t2; for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) if (t2.call$1(t1.get$current(t1))) return true; return false; }, get$current(_) { var t1 = this._iterator; return t1.get$current(t1); } }; A.ExpandIterable.prototype = { get$iterator(_) { var t1 = this.$ti; return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("ExpandIterator<1,2>")); } }; A.ExpandIterator.prototype = { get$current(_) { var t1 = this.__internal$_current; return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, moveNext$0() { var t2, t3, _this = this, t1 = _this._currentExpansion; if (t1 == null) return false; for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) { _this.__internal$_current = null; if (t2.moveNext$0()) { _this._currentExpansion = null; t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2))); _this._currentExpansion = t1; } else return false; } t1 = _this._currentExpansion; _this.__internal$_current = t1.get$current(t1); return true; } }; A.TakeIterable.prototype = { get$iterator(_) { return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>")); } }; A.EfficientLengthTakeIterable.prototype = { get$length(_) { var iterableLength = J.get$length$asx(this.__internal$_iterable), t1 = this._takeCount; if (iterableLength > t1) return t1; return iterableLength; }, $isEfficientLengthIterable: 1 }; A.TakeIterator.prototype = { moveNext$0() { if (--this._remaining >= 0) return this._iterator.moveNext$0(); this._remaining = -1; return false; }, get$current(_) { var t1; if (this._remaining < 0) { this.$ti._precomputed1._as(null); return null; } t1 = this._iterator; return t1.get$current(t1); } }; A.SkipIterable.prototype = { skip$1(_, count) { A.ArgumentError_checkNotNull(count, "count"); A.RangeError_checkNotNegative(count, "count"); return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>")); }, get$iterator(_) { return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount, A._instanceType(this)._eval$1("SkipIterator<1>")); } }; A.EfficientLengthSkipIterable.prototype = { get$length(_) { var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount; if ($length >= 0) return $length; return 0; }, skip$1(_, count) { A.ArgumentError_checkNotNull(count, "count"); A.RangeError_checkNotNegative(count, "count"); return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti); }, $isEfficientLengthIterable: 1 }; A.SkipIterator.prototype = { moveNext$0() { var t1, i; for (t1 = this._iterator, i = 0; i < this._skipCount; ++i) t1.moveNext$0(); this._skipCount = 0; return t1.moveNext$0(); }, get$current(_) { var t1 = this._iterator; return t1.get$current(t1); } }; A.SkipWhileIterable.prototype = { get$iterator(_) { return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); } }; A.SkipWhileIterator.prototype = { moveNext$0() { var t1, t2, _this = this; if (!_this._hasSkipped) { _this._hasSkipped = true; for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();) if (!t2.call$1(t1.get$current(t1))) return true; } return _this._iterator.moveNext$0(); }, get$current(_) { var t1 = this._iterator; return t1.get$current(t1); } }; A.EmptyIterable.prototype = { get$iterator(_) { return B.C_EmptyIterator; }, forEach$1(_, action) { }, get$isEmpty(_) { return true; }, get$length(_) { return 0; }, get$first(_) { throw A.wrapException(A.IterableElementError_noElement()); }, get$last(_) { throw A.wrapException(A.IterableElementError_noElement()); }, get$single(_) { throw A.wrapException(A.IterableElementError_noElement()); }, elementAt$1(_, index) { throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null)); }, contains$1(_, element) { return false; }, any$1(_, test) { return false; }, join$1(_, separator) { return ""; }, where$1(_, test) { return this; }, map$1$1(_, toElement, $T) { return new A.EmptyIterable($T._eval$1("EmptyIterable<0>")); }, map$1(_, toElement) { return this.map$1$1(0, toElement, type$.dynamic); }, skip$1(_, count) { A.RangeError_checkNotNegative(count, "count"); return this; }, take$1(_, count) { A.RangeError_checkNotNegative(count, "count"); return this; }, toList$1$growable(_, growable) { var t1 = this.$ti._precomputed1; return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); }, toList$0(_) { return this.toList$1$growable(0, true); }, toSet$0(_) { return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); } }; A.EmptyIterator.prototype = { moveNext$0() { return false; }, get$current(_) { throw A.wrapException(A.IterableElementError_noElement()); } }; A.FollowedByIterable.prototype = { get$iterator(_) { return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this.__internal$_second, A._instanceType(this)._eval$1("FollowedByIterator<1>")); }, get$length(_) { return J.get$length$asx(this.__internal$_first) + J.get$length$asx(this.__internal$_second); }, get$isEmpty(_) { return J.get$isEmpty$asx(this.__internal$_first) && J.get$isEmpty$asx(this.__internal$_second); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this.__internal$_first) || J.get$isNotEmpty$asx(this.__internal$_second); }, contains$1(_, value) { return J.contains$1$asx(this.__internal$_first, value) || J.contains$1$asx(this.__internal$_second, value); }, get$first(_) { var iterator = J.get$iterator$ax(this.__internal$_first); if (iterator.moveNext$0()) return iterator.get$current(iterator); return J.get$first$ax(this.__internal$_second); }, get$last(_) { var last, iterator = J.get$iterator$ax(this.__internal$_second); if (iterator.moveNext$0()) { last = iterator.get$current(iterator); for (; iterator.moveNext$0();) last = iterator.get$current(iterator); return last; } return J.get$last$ax(this.__internal$_first); } }; A.EfficientLengthFollowedByIterable.prototype = { elementAt$1(_, index) { var t1 = this.__internal$_first, t2 = J.getInterceptor$asx(t1), firstLength = t2.get$length(t1); if (index < firstLength) return t2.elementAt$1(t1, index); return J.elementAt$1$ax(this.__internal$_second, index - firstLength); }, get$first(_) { var t1 = this.__internal$_first, t2 = J.getInterceptor$asx(t1); if (t2.get$isNotEmpty(t1)) return t2.get$first(t1); return J.get$first$ax(this.__internal$_second); }, get$last(_) { var t1 = this.__internal$_second, t2 = J.getInterceptor$asx(t1); if (t2.get$isNotEmpty(t1)) return t2.get$last(t1); return J.get$last$ax(this.__internal$_first); }, $isEfficientLengthIterable: 1 }; A.FollowedByIterator.prototype = { moveNext$0() { var t1, _this = this; if (_this._currentIterator.moveNext$0()) return true; t1 = _this._nextIterable; if (t1 != null) { t1 = J.get$iterator$ax(t1); _this._currentIterator = t1; _this._nextIterable = null; return t1.moveNext$0(); } return false; }, get$current(_) { var t1 = this._currentIterator; return t1.get$current(t1); } }; A.WhereTypeIterable.prototype = { get$iterator(_) { return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>")); } }; A.WhereTypeIterator.prototype = { moveNext$0() { var t1, t2; for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();) if (t2._is(t1.get$current(t1))) return true; return false; }, get$current(_) { var t1 = this._source; return this.$ti._precomputed1._as(t1.get$current(t1)); } }; A.FixedLengthListMixin.prototype = { set$length(receiver, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list")); }, add$1(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, insert$2(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, insertAll$2(receiver, at, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, addAll$1(receiver, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list")); }, remove$1(receiver, element) { throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, removeWhere$1(receiver, test) { throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, retainWhere$1(receiver, test) { throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, removeAt$1(receiver, index) { throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, removeLast$0(receiver) { throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); }, removeRange$2(receiver, start, end) { throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list")); } }; A.UnmodifiableListMixin.prototype = { $indexSet(_, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, set$length(_, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list")); }, setAll$2(_, at, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, add$1(_, value) { throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); }, insert$2(_, index, element) { throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); }, insertAll$2(_, at, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); }, addAll$1(_, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list")); }, remove$1(_, element) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); }, removeWhere$1(_, test) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); }, retainWhere$1(_, test) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, removeAt$1(_, index) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); }, removeLast$0(_) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); }, setRange$4(_, start, end, iterable, skipCount) { throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, setRange$3(_, start, end, iterable) { return this.setRange$4(0, start, end, iterable, 0); }, removeRange$2(_, start, end) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); } }; A.UnmodifiableListBase.prototype = {}; A._ListIndicesIterable.prototype = { get$length(_) { return J.get$length$asx(this._backedList); }, elementAt$1(_, index) { A.IndexError_check(index, J.get$length$asx(this._backedList), this, null, null); return index; } }; A.ListMapView.prototype = { $index(_, key) { return this.containsKey$1(0, key) ? J.$index$asx(this.__internal$_values, A._asInt(key)) : null; }, get$length(_) { return J.get$length$asx(this.__internal$_values); }, get$values(_) { return A.SubListIterable$(this.__internal$_values, 0, null, this.$ti._precomputed1); }, get$keys(_) { return new A._ListIndicesIterable(this.__internal$_values); }, get$isEmpty(_) { return J.get$isEmpty$asx(this.__internal$_values); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this.__internal$_values); }, containsKey$1(_, key) { return A._isInt(key) && key >= 0 && key < J.get$length$asx(this.__internal$_values); }, forEach$1(_, f) { var i, t1 = this.__internal$_values, t2 = J.getInterceptor$asx(t1), $length = t2.get$length(t1); for (i = 0; i < $length; ++i) { f.call$2(i, t2.$index(t1, i)); if ($length !== t2.get$length(t1)) throw A.wrapException(A.ConcurrentModificationError$(t1)); } } }; A.ReversedListIterable.prototype = { get$length(_) { return J.get$length$asx(this._source); }, elementAt$1(_, index) { var t1 = this._source, t2 = J.getInterceptor$asx(t1); return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); } }; A.Symbol.prototype = { get$hashCode(_) { var hash = this._hashCode; if (hash != null) return hash; hash = 664597 * B.JSString_methods.get$hashCode(this._name) & 536870911; this._hashCode = hash; return hash; }, toString$0(_) { return 'Symbol("' + this._name + '")'; }, $eq(_, other) { if (other == null) return false; return other instanceof A.Symbol && this._name === other._name; }, $isSymbol0: 1 }; A.__CastListBase__CastIterableBase_ListMixin.prototype = {}; A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 1}; A._Record_2_cacheSize_max78Tex78tLength.prototype = {$recipe: "+cacheSize,maxTextLength(1,2)", $shape: 2}; A._Record_2_distance_fragment.prototype = {$recipe: "+distance,fragment(1,2)", $shape: 3}; A._Record_2_end_start.prototype = {$recipe: "+end,start(1,2)", $shape: 4}; A._Record_2_key_value.prototype = { get$value(_) { return this._1; }, $recipe: "+key,value(1,2)", $shape: 5 }; A._Record_2_wordEnd_wordStart.prototype = {$recipe: "+wordEnd,wordStart(1,2)", $shape: 6}; A._Record_3_breaks_graphemes_words.prototype = {$recipe: "+breaks,graphemes,words(1,2,3)", $shape: 8}; A._Record_3_data_event_timeStamp.prototype = {$recipe: "+data,event,timeStamp(1,2,3)", $shape: 9}; A._Record_3_large_medium_small.prototype = {$recipe: "+large,medium,small(1,2,3)", $shape: 10}; A._Record_3_queue_target_timer.prototype = {$recipe: "+queue,target,timer(1,2,3)", $shape: 11}; A._Record_3_x78_y_z.prototype = {$recipe: "+x,y,z(1,2,3)", $shape: 12}; A._Record_4_domBlurListener_domFocusListener_element_semanticsNodeId.prototype = {$recipe: "+domBlurListener,domFocusListener,element,semanticsNodeId(1,2,3,4)", $shape: 13}; A.ConstantMapView.prototype = {}; A.ConstantMap.prototype = { cast$2$0(_, RK, RV) { var t1 = A._instanceType(this); return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV); }, get$isEmpty(_) { return this.get$length(this) === 0; }, get$isNotEmpty(_) { return this.get$length(this) !== 0; }, toString$0(_) { return A.MapBase_mapToString(this); }, $indexSet(_, key, value) { A.ConstantMap__throwUnmodifiable(); }, putIfAbsent$2(_, key, ifAbsent) { A.ConstantMap__throwUnmodifiable(); }, remove$1(_, key) { A.ConstantMap__throwUnmodifiable(); }, get$entries(_) { return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>")); }, entries$body$ConstantMap($async$_) { var $async$self = this; return function() { var _ = $async$_; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key; return function $async$get$entries($async$iterator, $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 t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapEntry<1,2>"); case 2: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 3; break; } key = t1.get$current(t1); $async$goto = 4; return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1; case 4: // after yield // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return 0; case 1: // rethrow return $async$iterator._datum = $async$currentError, 3; } }; }; }, map$2$1(_, transform, K2, V2) { var result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); this.forEach$1(0, new A.ConstantMap_map_closure(this, transform, result)); return result; }, map$1(_, transform) { var t1 = type$.dynamic; return this.map$2$1(0, transform, t1, t1); }, $isMap: 1 }; A.ConstantMap_map_closure.prototype = { call$2(key, value) { var entry = this.transform.call$2(key, value); this.result.$indexSet(0, entry.key, entry.value); }, $signature() { return A._instanceType(this.$this)._eval$1("~(1,2)"); } }; A.ConstantStringMap.prototype = { get$length(_) { return this._values.length; }, get$_keys() { var keys = this.$keys; if (keys == null) { keys = Object.keys(this._jsIndex); this.$keys = keys; } return keys; }, containsKey$1(_, key) { if (typeof key != "string") return false; if ("__proto__" === key) return false; return this._jsIndex.hasOwnProperty(key); }, $index(_, key) { if (!this.containsKey$1(0, key)) return null; return this._values[this._jsIndex[key]]; }, forEach$1(_, f) { var t1, i, keys = this.get$_keys(), values = this._values; for (t1 = keys.length, i = 0; i < t1; ++i) f.call$2(keys[i], values[i]); }, get$keys(_) { return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>")); }, get$values(_) { return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>")); } }; A._KeysOrValues.prototype = { get$length(_) { return this._elements.length; }, get$isEmpty(_) { return 0 === this._elements.length; }, get$isNotEmpty(_) { return 0 !== this._elements.length; }, get$iterator(_) { var t1 = this._elements; return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); } }; A._KeysOrValuesOrElementsIterator.prototype = { get$current(_) { var t1 = this.__js_helper$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, t1 = _this.__js_helper$_index; if (t1 >= _this.__js_helper$_length) { _this.__js_helper$_current = null; return false; } _this.__js_helper$_current = _this._elements[t1]; _this.__js_helper$_index = t1 + 1; return true; } }; A.GeneralConstantMap.prototype = { _getMap$0() { var t1, _this = this, backingMap = _this.$map; if (backingMap == null) { t1 = _this.$ti; backingMap = new A.JsConstantLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("JsConstantLinkedHashMap<1,2>")); A.fillLiteralMap(_this._jsData, backingMap); _this.$map = backingMap; } return backingMap; }, containsKey$1(_, key) { return this._getMap$0().containsKey$1(0, key); }, $index(_, key) { return this._getMap$0().$index(0, key); }, forEach$1(_, f) { this._getMap$0().forEach$1(0, f); }, get$keys(_) { var t1 = this._getMap$0(); return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); }, get$values(_) { return this._getMap$0().get$values(0); }, get$length(_) { return this._getMap$0().__js_helper$_length; } }; A.ConstantSet.prototype = { clear$0(_) { A.ConstantSet__throwUnmodifiable(); }, add$1(_, value) { A.ConstantSet__throwUnmodifiable(); }, addAll$1(_, elements) { A.ConstantSet__throwUnmodifiable(); }, remove$1(_, value) { A.ConstantSet__throwUnmodifiable(); }, removeAll$1(elements) { A.ConstantSet__throwUnmodifiable(); }, removeWhere$1(_, test) { A.ConstantSet__throwUnmodifiable(); } }; A.ConstantStringSet.prototype = { get$length(_) { return this.__js_helper$_length; }, get$isEmpty(_) { return this.__js_helper$_length === 0; }, get$isNotEmpty(_) { return this.__js_helper$_length !== 0; }, get$iterator(_) { var t1, _this = this, keys = _this.$keys; if (keys == null) { keys = Object.keys(_this._jsIndex); _this.$keys = keys; } t1 = keys; return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); }, contains$1(_, key) { if (typeof key != "string") return false; if ("__proto__" === key) return false; return this._jsIndex.hasOwnProperty(key); }, toSet$0(_) { return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1); } }; A.GeneralConstantSet.prototype = { get$length(_) { return this._elements.length; }, get$isEmpty(_) { return this._elements.length === 0; }, get$isNotEmpty(_) { return this._elements.length !== 0; }, get$iterator(_) { var t1 = this._elements; return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); }, _getMap$0() { var t1, t2, _i, key, _this = this, backingMap = _this.$map; if (backingMap == null) { t1 = _this.$ti; backingMap = new A.JsConstantLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("JsConstantLinkedHashMap<1,2>")); for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { key = t1[_i]; backingMap.$indexSet(0, key, key); } _this.$map = backingMap; } return backingMap; }, contains$1(_, key) { return this._getMap$0().containsKey$1(0, key); }, toSet$0(_) { return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1); } }; A.Instantiation.prototype = { Instantiation$1(_genericClosure) { if (false) A.instantiatedGenericFunctionType(0, 0); }, $eq(_, other) { if (other == null) return false; return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other); }, get$hashCode(_) { return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", "); return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">"); } }; A.Instantiation1.prototype = { call$0() { return this._genericClosure.call$1$0(this.$ti._rest[0]); }, call$1(a0) { return this._genericClosure.call$1$1(a0, this.$ti._rest[0]); }, call$2(a0, a1) { return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]); }, $signature() { return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti); } }; A.JSInvocationMirror.prototype = { get$memberName() { var t1 = this.__js_helper$_memberName; if (t1 instanceof A.Symbol) return t1; return this.__js_helper$_memberName = new A.Symbol(t1); }, get$positionalArguments() { var t1, t2, argumentCount, list, index, _this = this; if (_this.__js_helper$_kind === 1) return B.List_empty; t1 = _this._arguments; t2 = J.getInterceptor$asx(t1); argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount; if (argumentCount === 0) return B.List_empty; list = []; for (index = 0; index < argumentCount; ++index) list.push(t2.$index(t1, index)); return J.JSArray_markUnmodifiableList(list); }, get$namedArguments() { var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this; if (_this.__js_helper$_kind !== 0) return B.Map_empty; t1 = _this._namedArgumentNames; t2 = J.getInterceptor$asx(t1); namedArgumentCount = t2.get$length(t1); t3 = _this._arguments; t4 = J.getInterceptor$asx(t3); namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount; if (namedArgumentCount === 0) return B.Map_empty; map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic); for (i = 0; i < namedArgumentCount; ++i) map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i)); return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); } }; A.Primitives_initTicker_closure.prototype = { call$0() { return B.JSNumber_methods.floor$0(1000 * this.performance.now()); }, $signature: 194 }; A.Primitives_functionNoSuchMethod_closure.prototype = { call$2($name, argument) { var t1 = this._box_0; t1.names = t1.names + "$" + $name; this.namedArgumentList.push($name); this.$arguments.push(argument); ++t1.argumentCount; }, $signature: 145 }; A.TypeErrorDecoder.prototype = { matchTypeError$1(message) { var result, t1, _this = this, match = new RegExp(_this._pattern).exec(message); if (match == null) return null; result = Object.create(null); t1 = _this._arguments; if (t1 !== -1) result.arguments = match[t1 + 1]; t1 = _this._argumentsExpr; if (t1 !== -1) result.argumentsExpr = match[t1 + 1]; t1 = _this._expr; if (t1 !== -1) result.expr = match[t1 + 1]; t1 = _this._method; if (t1 !== -1) result.method = match[t1 + 1]; t1 = _this._receiver; if (t1 !== -1) result.receiver = match[t1 + 1]; return result; } }; A.NullError.prototype = { toString$0(_) { return "Null check operator used on a null value"; } }; A.JsNoSuchMethodError.prototype = { toString$0(_) { var t2, _this = this, _s38_ = "NoSuchMethodError: method not found: '", t1 = _this._method; if (t1 == null) return "NoSuchMethodError: " + _this.__js_helper$_message; t2 = _this._receiver; if (t2 == null) return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")"; return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")"; } }; A.UnknownJsTypeError.prototype = { toString$0(_) { var t1 = this.__js_helper$_message; return t1.length === 0 ? "Error" : "Error: " + t1; } }; A.NullThrownFromJavaScriptException.prototype = { toString$0(_) { return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)"; }, $isException: 1 }; A.ExceptionAndStackTrace.prototype = {}; A._StackTrace.prototype = { toString$0(_) { var trace, t1 = this._trace; if (t1 != null) return t1; t1 = this._exception; trace = t1 !== null && typeof t1 === "object" ? t1.stack : null; return this._trace = trace == null ? "" : trace; }, $isStackTrace: 1 }; A.Closure.prototype = { toString$0(_) { var $constructor = this.constructor, $name = $constructor == null ? null : $constructor.name; return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'"; }, get$runtimeType(_) { var rti = A.closureFunctionType(this); return A.createRuntimeType(rti == null ? A.instanceType(this) : rti); }, $isFunction: 1, get$$call() { return this; }, "call*": "call$1", $requiredArgCount: 1, $defaultValues: null }; A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0}; A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2}; A.TearOffClosure.prototype = {}; A.StaticClosure.prototype = { toString$0(_) { var $name = this.$static_name; if ($name == null) return "Closure of unknown static method"; return "Closure '" + A.unminifyOrTag($name) + "'"; } }; A.BoundClosure.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; if (!(other instanceof A.BoundClosure)) return false; return this.$_target === other.$_target && this._receiver === other._receiver; }, get$hashCode(_) { return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0; }, toString$0(_) { return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'"); } }; A._CyclicInitializationError.prototype = { toString$0(_) { return "Reading static variable '" + this.variableName + "' during its initialization"; } }; A.RuntimeError.prototype = { toString$0(_) { return "RuntimeError: " + this.message; }, get$message(receiver) { return this.message; } }; A._Required.prototype = {}; A.JsLinkedHashMap.prototype = { get$length(_) { return this.__js_helper$_length; }, get$isEmpty(_) { return this.__js_helper$_length === 0; }, get$isNotEmpty(_) { return this.__js_helper$_length !== 0; }, get$keys(_) { return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); }, get$values(_) { var t1 = A._instanceType(this); return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]); }, containsKey$1(_, key) { var strings, nums; if (typeof key == "string") { strings = this._strings; if (strings == null) return false; return strings[key] != null; } else if (typeof key == "number" && (key & 0x3fffffff) === key) { nums = this._nums; if (nums == null) return false; return nums[key] != null; } else return this.internalContainsKey$1(key); }, internalContainsKey$1(key) { var rest = this.__js_helper$_rest; if (rest == null) return false; return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0; }, containsValue$1(_, value) { return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")).any$1(0, new A.JsLinkedHashMap_containsValue_closure(this, value)); }, addAll$1(_, other) { J.forEach$1$ax(other, new A.JsLinkedHashMap_addAll_closure(this)); }, $index(_, key) { var strings, cell, t1, nums, _null = null; if (typeof key == "string") { strings = this._strings; if (strings == null) return _null; cell = strings[key]; t1 = cell == null ? _null : cell.hashMapCellValue; return t1; } else if (typeof key == "number" && (key & 0x3fffffff) === key) { nums = this._nums; if (nums == null) return _null; cell = nums[key]; t1 = cell == null ? _null : cell.hashMapCellValue; return t1; } else return this.internalGet$1(key); }, internalGet$1(key) { var bucket, index, rest = this.__js_helper$_rest; if (rest == null) return null; bucket = rest[this.internalComputeHashCode$1(key)]; index = this.internalFindBucketIndex$2(bucket, key); if (index < 0) return null; return bucket[index].hashMapCellValue; }, $indexSet(_, key, value) { var strings, nums, _this = this; if (typeof key == "string") { strings = _this._strings; _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value); } else if (typeof key == "number" && (key & 0x3fffffff) === key) { nums = _this._nums; _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value); } else _this.internalSet$2(key, value); }, internalSet$2(key, value) { var hash, bucket, index, _this = this, rest = _this.__js_helper$_rest; if (rest == null) rest = _this.__js_helper$_rest = _this._newHashTable$0(); hash = _this.internalComputeHashCode$1(key); bucket = rest[hash]; if (bucket == null) rest[hash] = [_this._newLinkedCell$2(key, value)]; else { index = _this.internalFindBucketIndex$2(bucket, key); if (index >= 0) bucket[index].hashMapCellValue = value; else bucket.push(_this._newLinkedCell$2(key, value)); } }, putIfAbsent$2(_, key, ifAbsent) { var t1, value, _this = this; if (_this.containsKey$1(0, key)) { t1 = _this.$index(0, key); return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1; } value = ifAbsent.call$0(); _this.$indexSet(0, key, value); return value; }, remove$1(_, key) { var _this = this; if (typeof key == "string") return _this._removeHashTableEntry$2(_this._strings, key); else if (typeof key == "number" && (key & 0x3fffffff) === key) return _this._removeHashTableEntry$2(_this._nums, key); else return _this.internalRemove$1(key); }, internalRemove$1(key) { var hash, bucket, index, cell, _this = this, rest = _this.__js_helper$_rest; if (rest == null) return null; hash = _this.internalComputeHashCode$1(key); bucket = rest[hash]; index = _this.internalFindBucketIndex$2(bucket, key); if (index < 0) return null; cell = bucket.splice(index, 1)[0]; _this._unlinkCell$1(cell); if (bucket.length === 0) delete rest[hash]; return cell.hashMapCellValue; }, clear$0(_) { var _this = this; if (_this.__js_helper$_length > 0) { _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; _this.__js_helper$_length = 0; _this._modified$0(); } }, forEach$1(_, action) { var _this = this, cell = _this._first, modifications = _this._modifications; for (; cell != null;) { action.call$2(cell.hashMapCellKey, cell.hashMapCellValue); if (modifications !== _this._modifications) throw A.wrapException(A.ConcurrentModificationError$(_this)); cell = cell._next; } }, _addHashTableEntry$3(table, key, value) { var cell = table[key]; if (cell == null) table[key] = this._newLinkedCell$2(key, value); else cell.hashMapCellValue = value; }, _removeHashTableEntry$2(table, key) { var cell; if (table == null) return null; cell = table[key]; if (cell == null) return null; this._unlinkCell$1(cell); delete table[key]; return cell.hashMapCellValue; }, _modified$0() { this._modifications = this._modifications + 1 & 1073741823; }, _newLinkedCell$2(key, value) { var t1, _this = this, cell = new A.LinkedHashMapCell(key, value); if (_this._first == null) _this._first = _this._last = cell; else { t1 = _this._last; t1.toString; cell._previous = t1; _this._last = t1._next = cell; } ++_this.__js_helper$_length; _this._modified$0(); return cell; }, _unlinkCell$1(cell) { var _this = this, previous = cell._previous, next = cell._next; if (previous == null) _this._first = next; else previous._next = next; if (next == null) _this._last = previous; else next._previous = previous; --_this.__js_helper$_length; _this._modified$0(); }, internalComputeHashCode$1(key) { return J.get$hashCode$(key) & 1073741823; }, internalFindBucketIndex$2(bucket, key) { var $length, i; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; ++i) if (J.$eq$(bucket[i].hashMapCellKey, key)) return i; return -1; }, toString$0(_) { return A.MapBase_mapToString(this); }, _newHashTable$0() { var table = Object.create(null); table["<non-identifier-key>"] = table; delete table["<non-identifier-key>"]; return table; } }; A.JsLinkedHashMap_values_closure.prototype = { call$1(each) { var t1 = this.$this, t2 = t1.$index(0, each); return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2; }, $signature() { return A._instanceType(this.$this)._eval$1("2(1)"); } }; A.JsLinkedHashMap_containsValue_closure.prototype = { call$1(each) { return J.$eq$(this.$this.$index(0, each), this.value); }, $signature() { return A._instanceType(this.$this)._eval$1("bool(1)"); } }; A.JsLinkedHashMap_addAll_closure.prototype = { call$2(key, value) { this.$this.$indexSet(0, key, value); }, $signature() { return A._instanceType(this.$this)._eval$1("~(1,2)"); } }; A.LinkedHashMapCell.prototype = {}; A.LinkedHashMapKeyIterable.prototype = { get$length(_) { return this._map.__js_helper$_length; }, get$isEmpty(_) { return this._map.__js_helper$_length === 0; }, get$iterator(_) { var t1 = this._map, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, this.$ti._eval$1("LinkedHashMapKeyIterator<1>")); t2._cell = t1._first; return t2; }, contains$1(_, element) { return this._map.containsKey$1(0, element); }, forEach$1(_, f) { var t1 = this._map, cell = t1._first, modifications = t1._modifications; for (; cell != null;) { f.call$1(cell.hashMapCellKey); if (modifications !== t1._modifications) throw A.wrapException(A.ConcurrentModificationError$(t1)); cell = cell._next; } } }; A.LinkedHashMapKeyIterator.prototype = { get$current(_) { return this.__js_helper$_current; }, moveNext$0() { var cell, _this = this, t1 = _this._map; if (_this._modifications !== t1._modifications) throw A.wrapException(A.ConcurrentModificationError$(t1)); cell = _this._cell; if (cell == null) { _this.__js_helper$_current = null; return false; } else { _this.__js_helper$_current = cell.hashMapCellKey; _this._cell = cell._next; return true; } } }; A.JsIdentityLinkedHashMap.prototype = { internalComputeHashCode$1(key) { return A.objectHashCode(key) & 1073741823; }, internalFindBucketIndex$2(bucket, key) { var $length, i, t1; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; ++i) { t1 = bucket[i].hashMapCellKey; if (t1 == null ? key == null : t1 === key) return i; } return -1; } }; A.JsConstantLinkedHashMap.prototype = { internalComputeHashCode$1(key) { return A.constantHashCode(key) & 1073741823; }, internalFindBucketIndex$2(bucket, key) { var $length, i; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; ++i) if (J.$eq$(bucket[i].hashMapCellKey, key)) return i; return -1; } }; A.initHooks_closure.prototype = { call$1(o) { return this.getTag(o); }, $signature: 32 }; A.initHooks_closure0.prototype = { call$2(o, tag) { return this.getUnknownTag(o, tag); }, $signature: 1127 }; A.initHooks_closure1.prototype = { call$1(tag) { return this.prototypeForTag(tag); }, $signature: 6 }; A._Record.prototype = { get$runtimeType(_) { return A.createRuntimeType(this._getRti$0()); }, _getRti$0() { return A.evaluateRtiForRecord(this.$recipe, this._getFieldValues$0()); }, toString$0(_) { return this._toString$1(false); }, _toString$1(safe) { var t2, separator, i, key, value, keys = this._fieldKeys$0(), values = this._getFieldValues$0(), t1 = (safe ? "" + "Record " : "") + "("; for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") { t1 += separator; key = keys[i]; if (typeof key == "string") t1 = t1 + key + ": "; value = values[i]; t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value); } t1 += ")"; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _fieldKeys$0() { var t1, shapeTag = this.$shape; for (; $._Record__computedFieldKeys.length <= shapeTag;) $._Record__computedFieldKeys.push(null); t1 = $._Record__computedFieldKeys[shapeTag]; if (t1 == null) { t1 = this._computeFieldKeys$0(); $._Record__computedFieldKeys[shapeTag] = t1; } return t1; }, _computeFieldKeys$0() { var i, names, last, recipe = this.$recipe, position = recipe.indexOf("("), joinedNames = recipe.substring(1, position), fields = recipe.substring(position), arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1, t1 = type$.Object, result = J.JSArray_JSArray$allocateGrowable(arity, t1); for (i = 0; i < arity; ++i) result[i] = i; if (joinedNames !== "") { names = joinedNames.split(","); i = names.length; for (last = arity; i > 0;) { --last; --i; result[last] = names[i]; } } return A.List_List$unmodifiable(result, t1); } }; A._Record2.prototype = { _getFieldValues$0() { return [this._0, this._1]; }, $eq(_, other) { if (other == null) return false; return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1); }, get$hashCode(_) { return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._Record3.prototype = { _getFieldValues$0() { return [this._0, this._1, this._2]; }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A._Record3 && _this.$shape === other.$shape && J.$eq$(_this._0, other._0) && J.$eq$(_this._1, other._1) && J.$eq$(_this._2, other._2); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._RecordN.prototype = { _getFieldValues$0() { return this._values; }, $eq(_, other) { if (other == null) return false; return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values); }, get$hashCode(_) { return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A.JSSyntaxRegExp.prototype = { toString$0(_) { return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags; }, get$_nativeGlobalVersion() { var _this = this, t1 = _this._nativeGlobalRegExp; if (t1 != null) return t1; t1 = _this._nativeRegExp; return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, get$_nativeAnchoredVersion() { var _this = this, t1 = _this._nativeAnchoredRegExp; if (t1 != null) return t1; t1 = _this._nativeRegExp; return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true); }, firstMatch$1(string) { var m = this._nativeRegExp.exec(string); if (m == null) return null; return new A._MatchImplementation(m); }, stringMatch$1(string) { var match = this.firstMatch$1(string); if (match != null) return match._match[0]; return null; }, allMatches$2(_, string, start) { var t1 = string.length; if (start > t1) throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); return new A._AllMatchesIterable(this, string, start); }, allMatches$1(_, string) { return this.allMatches$2(0, string, 0); }, _execGlobal$2(string, start) { var match, regexp = this.get$_nativeGlobalVersion(); regexp.lastIndex = start; match = regexp.exec(string); if (match == null) return null; return new A._MatchImplementation(match); }, _execAnchored$2(string, start) { var match, regexp = this.get$_nativeAnchoredVersion(); regexp.lastIndex = start; match = regexp.exec(string); if (match == null) return null; if (match.pop() != null) return null; return new A._MatchImplementation(match); }, matchAsPrefix$2(_, string, start) { if (start < 0 || start > string.length) throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null)); return this._execAnchored$2(string, start); }, $isPattern: 1, $isRegExp: 1 }; A._MatchImplementation.prototype = { get$start(_) { return this._match.index; }, get$end(_) { var t1 = this._match; return t1.index + t1[0].length; }, group$1(index) { return this._match[index]; }, $index(_, index) { return this._match[index]; }, $isMatch: 1, $isRegExpMatch: 1 }; A._AllMatchesIterable.prototype = { get$iterator(_) { return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start); } }; A._AllMatchesIterator.prototype = { get$current(_) { var t1 = this.__js_helper$_current; return t1 == null ? type$.RegExpMatch._as(t1) : t1; }, moveNext$0() { var t1, t2, t3, match, nextIndex, _this = this, string = _this.__js_helper$_string; if (string == null) return false; t1 = _this._nextIndex; t2 = string.length; if (t1 <= t2) { t3 = _this._regExp; match = t3._execGlobal$2(string, t1); if (match != null) { _this.__js_helper$_current = match; nextIndex = match.get$end(0); if (match._match.index === nextIndex) { if (t3._nativeRegExp.unicode) { t1 = _this._nextIndex; t3 = t1 + 1; if (t3 < t2) { t1 = string.charCodeAt(t1); if (t1 >= 55296 && t1 <= 56319) { t1 = string.charCodeAt(t3); t1 = t1 >= 56320 && t1 <= 57343; } else t1 = false; } else t1 = false; } else t1 = false; nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; } _this._nextIndex = nextIndex; return true; } } _this.__js_helper$_string = _this.__js_helper$_current = null; return false; } }; A.StringMatch.prototype = { get$end(_) { return this.start + this.pattern.length; }, $index(_, g) { if (g !== 0) A.throwExpression(A.RangeError$value(g, null)); return this.pattern; }, group$1(group_) { if (group_ !== 0) throw A.wrapException(A.RangeError$value(group_, null)); return this.pattern; }, $isMatch: 1, get$start(receiver) { return this.start; } }; A._StringAllMatchesIterable.prototype = { get$iterator(_) { return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index); }, get$first(_) { var t1 = this._input, t2 = this._pattern, index = t1.indexOf(t2, this.__js_helper$_index); if (index >= 0) return new A.StringMatch(index, t1, t2); throw A.wrapException(A.IterableElementError_noElement()); } }; A._StringAllMatchesIterator.prototype = { moveNext$0() { var index, end, _this = this, t1 = _this.__js_helper$_index, t2 = _this._pattern, t3 = t2.length, t4 = _this._input, t5 = t4.length; if (t1 + t3 > t5) { _this.__js_helper$_current = null; return false; } index = t4.indexOf(t2, t1); if (index < 0) { _this.__js_helper$_index = t5 + 1; _this.__js_helper$_current = null; return false; } end = index + t3; _this.__js_helper$_current = new A.StringMatch(index, t4, t2); _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end; return true; }, get$current(_) { var t1 = this.__js_helper$_current; t1.toString; return t1; } }; A._Cell.prototype = { readLocal$1$0() { var t1 = this.__late_helper$_value; if (t1 === this) A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); return t1; }, readLocal$0() { return this.readLocal$1$0(type$.dynamic); }, _readLocal$0() { var t1 = this.__late_helper$_value; if (t1 === this) throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); return t1; }, _readField$0() { var t1 = this.__late_helper$_value; if (t1 === this) throw A.wrapException(A.LateError$fieldNI(this.__late_helper$_name)); return t1; }, set$finalLocalValue(v) { var _this = this; if (_this.__late_helper$_value !== _this) throw A.wrapException(new A.LateError("Local '" + _this.__late_helper$_name + "' has already been initialized.")); _this.__late_helper$_value = v; } }; A._InitializedCell.prototype = { _read$0() { var _this = this, t1 = _this.__late_helper$_value; return t1 === _this ? _this.__late_helper$_value = _this._initializer.call$0() : t1; }, _readFinal$0() { var result, _this = this, t1 = _this.__late_helper$_value; if (t1 === _this) { result = _this._initializer.call$0(); if (_this.__late_helper$_value !== _this) throw A.wrapException(new A.LateError("Local '" + _this.__late_helper$_name + string$.x27_has_)); _this.__late_helper$_value = result; t1 = result; } return t1; } }; A.NativeByteBuffer.prototype = { get$lengthInBytes(receiver) { return receiver.byteLength; }, get$runtimeType(receiver) { return B.Type_ByteBuffer_RkP; }, asUint8List$2(receiver, offsetInBytes, $length) { A._checkViewArguments(receiver, offsetInBytes, $length); return $length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, $length); }, asUint8List$0(receiver) { return this.asUint8List$2(receiver, 0, null); }, asUint32List$2(receiver, offsetInBytes, $length) { A._checkViewArguments(receiver, offsetInBytes, $length); if ($length == null) $length = B.JSInt_methods._tdivFast$1(receiver.byteLength - offsetInBytes, 4); return new Uint32Array(receiver, offsetInBytes, $length); }, asInt32List$2(receiver, offsetInBytes, $length) { A._checkViewArguments(receiver, offsetInBytes, $length); return new Int32Array(receiver, offsetInBytes, $length); }, asInt64List$2(receiver, offsetInBytes, $length) { throw A.wrapException(A.UnsupportedError$("Int64List not supported by dart2js.")); }, asFloat32List$2(receiver, offsetInBytes, $length) { A._checkViewArguments(receiver, offsetInBytes, $length); if ($length == null) $length = B.JSInt_methods._tdivFast$1(receiver.byteLength - offsetInBytes, 4); return new Float32Array(receiver, offsetInBytes, $length); }, asFloat64List$2(receiver, offsetInBytes, $length) { A._checkViewArguments(receiver, offsetInBytes, $length); return new Float64Array(receiver, offsetInBytes, $length); }, asByteData$2(receiver, offsetInBytes, $length) { A._checkViewArguments(receiver, offsetInBytes, $length); return $length == null ? new DataView(receiver, offsetInBytes) : new DataView(receiver, offsetInBytes, $length); }, asByteData$0(receiver) { return this.asByteData$2(receiver, 0, null); }, $isTrustedGetRuntimeType: 1, $isNativeByteBuffer: 1, $isByteBuffer: 1 }; A.NativeTypedData.prototype = { get$buffer(receiver) { return receiver.buffer; }, get$lengthInBytes(receiver) { return receiver.byteLength; }, get$offsetInBytes(receiver) { return receiver.byteOffset; }, get$elementSizeInBytes(receiver) { return receiver.BYTES_PER_ELEMENT; }, _invalidPosition$3(receiver, position, $length, $name) { var t1 = A.RangeError$range(position, 0, $length, $name, null); throw A.wrapException(t1); }, _checkPosition$3(receiver, position, $length, $name) { if (position >>> 0 !== position || position > $length) this._invalidPosition$3(receiver, position, $length, $name); }, $isTypedData: 1 }; A.NativeByteData.prototype = { get$runtimeType(receiver) { return B.Type_ByteData_zNC; }, get$elementSizeInBytes(receiver) { return 1; }, getFloat64$2(receiver, byteOffset, endian) { return receiver.getFloat64(byteOffset, B.C_Endian === endian); }, getInt32$2(receiver, byteOffset, endian) { return receiver.getInt32(byteOffset, B.C_Endian === endian); }, getInt64$2(receiver, byteOffset, endian) { throw A.wrapException(A.UnsupportedError$("Int64 accessor not supported by dart2js.")); }, getUint16$2(receiver, byteOffset, endian) { return receiver.getUint16(byteOffset, B.C_Endian === endian); }, getUint32$2(receiver, byteOffset, endian) { return receiver.getUint32(byteOffset, B.C_Endian === endian); }, getUint8$1(receiver, byteOffset) { return receiver.getUint8(byteOffset); }, setInt64$3(receiver, byteOffset, value, endian) { throw A.wrapException(A.UnsupportedError$("Int64 accessor not supported by dart2js.")); }, $isTrustedGetRuntimeType: 1, $isByteData: 1 }; A.NativeTypedArray.prototype = { get$length(receiver) { return receiver.length; }, _setRangeFast$4(receiver, start, end, source, skipCount) { var count, sourceLength, targetLength = receiver.length; this._checkPosition$3(receiver, start, targetLength, "start"); this._checkPosition$3(receiver, end, targetLength, "end"); if (start > end) throw A.wrapException(A.RangeError$range(start, 0, end, null, null)); count = end - start; if (skipCount < 0) throw A.wrapException(A.ArgumentError$(skipCount, null)); sourceLength = source.length; if (sourceLength - skipCount < count) throw A.wrapException(A.StateError$("Not enough elements")); if (skipCount !== 0 || sourceLength !== count) source = source.subarray(skipCount, skipCount + count); receiver.set(source, start); }, $isJSIndexable: 1, $isJavaScriptIndexingBehavior: 1 }; A.NativeTypedArrayOfDouble.prototype = { $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, $indexSet(receiver, index, value) { A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; }, setRange$4(receiver, start, end, iterable, skipCount) { if (type$.NativeTypedArrayOfDouble._is(iterable)) { this._setRangeFast$4(receiver, start, end, iterable, skipCount); return; } this.super$ListBase$setRange(receiver, start, end, iterable, skipCount); }, setRange$3(receiver, start, end, iterable) { return this.setRange$4(receiver, start, end, iterable, 0); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.NativeTypedArrayOfInt.prototype = { $indexSet(receiver, index, value) { A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; }, setRange$4(receiver, start, end, iterable, skipCount) { if (type$.NativeTypedArrayOfInt._is(iterable)) { this._setRangeFast$4(receiver, start, end, iterable, skipCount); return; } this.super$ListBase$setRange(receiver, start, end, iterable, skipCount); }, setRange$3(receiver, start, end, iterable) { return this.setRange$4(receiver, start, end, iterable, 0); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.NativeFloat32List.prototype = { get$runtimeType(receiver) { return B.Type_Float32List_LB7; }, sublist$2(receiver, start, end) { return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isFloat32List: 1 }; A.NativeFloat64List.prototype = { get$runtimeType(receiver) { return B.Type_Float64List_LB7; }, sublist$2(receiver, start, end) { return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isFloat64List: 1 }; A.NativeInt16List.prototype = { get$runtimeType(receiver) { return B.Type_Int16List_uXf; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isInt16List: 1 }; A.NativeInt32List.prototype = { get$runtimeType(receiver) { return B.Type_Int32List_O50; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isInt32List: 1 }; A.NativeInt8List.prototype = { get$runtimeType(receiver) { return B.Type_Int8List_ekJ; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isInt8List: 1 }; A.NativeUint16List.prototype = { get$runtimeType(receiver) { return B.Type_Uint16List_2bx; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isUint16List: 1 }; A.NativeUint32List.prototype = { get$runtimeType(receiver) { return B.Type_Uint32List_2bx; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isNativeUint32List: 1, $isUint32List: 1 }; A.NativeUint8ClampedList.prototype = { get$runtimeType(receiver) { return B.Type_Uint8ClampedList_Jik; }, get$length(receiver) { return receiver.length; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isUint8ClampedList: 1 }; A.NativeUint8List.prototype = { get$runtimeType(receiver) { return B.Type_Uint8List_WLA; }, get$length(receiver) { return receiver.length; }, $index(receiver, index) { A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, sublist$2(receiver, start, end) { return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, $isTrustedGetRuntimeType: 1, $isNativeUint8List: 1, $isUint8List: 1 }; A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {}; A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {}; A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {}; A.Rti.prototype = { _eval$1(recipe) { return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe); }, _bind$1(typeOrTuple) { return A._Universe_bind(init.typeUniverse, this, typeOrTuple); } }; A._FunctionParameters.prototype = {}; A._Type.prototype = { toString$0(_) { return A._rtiToString(this._rti, null); }, $isType: 1 }; A._Error.prototype = { toString$0(_) { return this.__rti$_message; } }; A._TypeError.prototype = { get$message(_) { return this.__rti$_message; }, $isTypeError: 1 }; A._StringStream.prototype = { readIntAsVerbatim$0() { var t1 = this.__web_locale_keymap$_offset; this.__web_locale_keymap$_offset = t1 + 1; return this.__web_locale_keymap$_data.charCodeAt(t1) - $.$get$_kMarshallIntBase(); }, readIntAsChar$0() { var t1 = this.__web_locale_keymap$_offset; this.__web_locale_keymap$_offset = t1 + 1; return this.__web_locale_keymap$_data.charCodeAt(t1); }, readEventKey$0() { var char = A.Primitives_stringFromCharCode(this.readIntAsChar$0()); if (char === $.$get$_kUseDead()) return "Dead"; else return char; } }; A._StringStream__goalToEventCode_closure.prototype = { call$1(beforeEntry) { return new A.MapEntry(J.codeUnitAt$1$s(beforeEntry.value, 0), beforeEntry.key, type$.MapEntry_int_String); }, $signature: 1163 }; A.LocaleKeymap.prototype = { getLogicalKey$3(eventCode, eventKey, eventKeyCode) { var t2, heuristicResult, characterLogicalKey, t1 = this.__web_locale_keymap$_mapping.$index(0, eventCode), result = t1 == null ? null : t1.$index(0, eventKey); if (result === 255) return eventKeyCode; if (result == null) { t1 = eventCode == null; if ((t1 ? "" : eventCode).length === 0) t2 = (eventKey == null ? "" : eventKey).length === 0; else t2 = false; if (t2) return null; t1 = t1 ? "" : eventCode; heuristicResult = A.heuristicMapper(t1, eventKey == null ? "" : eventKey); if (heuristicResult != null) return heuristicResult; characterLogicalKey = A._characterToLogicalKey(eventKey); if (characterLogicalKey != null) return characterLogicalKey; } return result; } }; A.LineCharProperty.prototype = { _enumToString$0() { return "LineCharProperty." + this._core$_name; } }; A.WordCharProperty.prototype = { _enumToString$0() { return "WordCharProperty." + this._core$_name; } }; A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = { call$1(_) { var t1 = this._box_0, f = t1.storedCallback; t1.storedCallback = null; f.call$0(); }, $signature: 5 }; A._AsyncRun__initializeScheduleImmediate_closure.prototype = { call$1(callback) { var t1, t2; this._box_0.storedCallback = callback; t1 = this.div; t2 = this.span; t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); }, $signature: 1228 }; A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { call$0() { this.callback.call$0(); }, $signature: 4 }; A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { call$0() { this.callback.call$0(); }, $signature: 4 }; A._TimerImpl.prototype = { _TimerImpl$2(milliseconds, callback) { if (self.setTimeout != null) this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds); else throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found.")); }, _TimerImpl$periodic$2(milliseconds, callback) { if (self.setTimeout != null) this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds); else throw A.wrapException(A.UnsupportedError$("Periodic timer.")); }, cancel$0(_) { var t1; if (self.setTimeout != null) { t1 = this._handle; if (t1 == null) return; if (this._once) self.clearTimeout(t1); else self.clearInterval(t1); this._handle = null; } else throw A.wrapException(A.UnsupportedError$("Canceling a timer.")); }, $isTimer: 1 }; A._TimerImpl_internalCallback.prototype = { call$0() { var t1 = this.$this; t1._handle = null; t1._tick = 1; this.callback.call$0(); }, $signature: 0 }; A._TimerImpl$periodic_closure.prototype = { call$0() { var duration, _this = this, t1 = _this.$this, tick = t1._tick + 1, t2 = _this.milliseconds; if (t2 > 0) { duration = Date.now() - _this.start; if (duration > (tick + 1) * t2) tick = B.JSInt_methods.$tdiv(duration, t2); } t1._tick = tick; _this.callback.call$1(t1); }, $signature: 4 }; A._AsyncAwaitCompleter.prototype = { complete$1(_, value) { var t1, _this = this; if (value == null) value = _this.$ti._precomputed1._as(value); if (!_this.isSync) _this._future._asyncComplete$1(value); else { t1 = _this._future; if (_this.$ti._eval$1("Future<1>")._is(value)) t1._chainFuture$1(value); else t1._completeWithValue$1(value); } }, complete$0(_) { return this.complete$1(0, null); }, completeError$2(e, st) { var t1; if (st == null) st = A.AsyncError_defaultStackTrace(e); t1 = this._future; if (this.isSync) t1._completeError$2(e, st); else t1._asyncCompleteError$2(e, st); }, get$future() { return this._future; }, $isCompleter: 1 }; A._awaitOnObject_closure.prototype = { call$1(result) { return this.bodyFunction.call$2(0, result); }, $signature: 10 }; A._awaitOnObject_closure0.prototype = { call$2(error, stackTrace) { this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace)); }, $signature: 1310 }; A._wrapJsFunctionForAsync_closure.prototype = { call$2(errorCode, result) { this.$protected(errorCode, result); }, $signature: 1344 }; A._asyncStarHelper_closure.prototype = { call$0() { var t3, t1 = this.controller, t2 = t1.___AsyncStarStreamController_controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = t2._state; if ((t3 & 1) !== 0 ? (t2.get$_async$_subscription()._state & 4) !== 0 : (t3 & 2) === 0) { t1.isSuspended = true; return; } this.bodyFunction.call$2(0, null); }, $signature: 0 }; A._asyncStarHelper_closure0.prototype = { call$1(_) { var errorCode = this.controller.cancelationFuture != null ? 2 : 0; this.bodyFunction.call$2(errorCode, null); }, $signature: 5 }; A._AsyncStarStreamController.prototype = { _AsyncStarStreamController$1(body, $T) { var t1 = new A._AsyncStarStreamController__resumeBody(body); this.___AsyncStarStreamController_controller_A = A.StreamController_StreamController(new A._AsyncStarStreamController_closure(this, body), new A._AsyncStarStreamController_closure0(t1), new A._AsyncStarStreamController_closure1(this, t1), false, $T); } }; A._AsyncStarStreamController__resumeBody.prototype = { call$0() { A.scheduleMicrotask(new A._AsyncStarStreamController__resumeBody_closure(this.body)); }, $signature: 4 }; A._AsyncStarStreamController__resumeBody_closure.prototype = { call$0() { this.body.call$2(0, null); }, $signature: 0 }; A._AsyncStarStreamController_closure0.prototype = { call$0() { this._resumeBody.call$0(); }, $signature: 0 }; A._AsyncStarStreamController_closure1.prototype = { call$0() { var t1 = this.$this; if (t1.isSuspended) { t1.isSuspended = false; this._resumeBody.call$0(); } }, $signature: 0 }; A._AsyncStarStreamController_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.___AsyncStarStreamController_controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); if ((t2._state & 4) === 0) { t1.cancelationFuture = new A._Future($.Zone__current, type$._Future_dynamic); if (t1.isSuspended) { t1.isSuspended = false; A.scheduleMicrotask(new A._AsyncStarStreamController__closure(this.body)); } return t1.cancelationFuture; } }, $signature: 1362 }; A._AsyncStarStreamController__closure.prototype = { call$0() { this.body.call$2(2, null); }, $signature: 0 }; A._IterationMarker.prototype = { toString$0(_) { return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")"; }, get$value(receiver) { return this.value; } }; A._SyncStarIterator.prototype = { get$current(_) { return this._async$_current; }, _resumeBody$2(errorCode, errorValue) { var body, t1, exception; errorCode = errorCode; errorValue = errorValue; body = this._body; for (; true;) try { t1 = body(this, errorCode, errorValue); return t1; } catch (exception) { errorValue = exception; errorCode = 1; } }, moveNext$0() { var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0; for (; true;) { nestedIterator = _this._nestedIterator; if (nestedIterator != null) try { if (nestedIterator.moveNext$0()) { _this._async$_current = J.get$current$z(nestedIterator); return true; } else _this._nestedIterator = null; } catch (exception) { errorValue = exception; errorCode = 1; _this._nestedIterator = null; } value = _this._resumeBody$2(errorCode, errorValue); if (1 === value) return true; if (0 === value) { _this._async$_current = null; suspendedBodies = _this._suspendedBodies; if (suspendedBodies == null || suspendedBodies.length === 0) { _this._body = A._SyncStarIterator__terminatedBody; return false; } _this._body = suspendedBodies.pop(); errorCode = 0; errorValue = null; continue; } if (2 === value) { errorCode = 0; errorValue = null; continue; } if (3 === value) { errorValue = _this._datum; _this._datum = null; suspendedBodies = _this._suspendedBodies; if (suspendedBodies == null || suspendedBodies.length === 0) { _this._async$_current = null; _this._body = A._SyncStarIterator__terminatedBody; throw errorValue; return false; } _this._body = suspendedBodies.pop(); errorCode = 1; continue; } throw A.wrapException(A.StateError$("sync*")); } return false; }, _yieldStar$1(iterable) { var t1, t2, _this = this; if (iterable instanceof A._SyncStarIterable) { t1 = iterable._outerHelper(); t2 = _this._suspendedBodies; if (t2 == null) t2 = _this._suspendedBodies = []; t2.push(_this._body); _this._body = t1; return 2; } else { _this._nestedIterator = J.get$iterator$ax(iterable); return 2; } } }; A._SyncStarIterable.prototype = { get$iterator(_) { return new A._SyncStarIterator(this._outerHelper(), this.$ti._eval$1("_SyncStarIterator<1>")); } }; A.AsyncError.prototype = { toString$0(_) { return A.S(this.error); }, $isError: 1, get$stackTrace() { return this.stackTrace; } }; A._BroadcastStream.prototype = { get$isBroadcast() { return true; } }; A._BroadcastSubscription.prototype = { _onPause$0() { }, _onResume$0() { } }; A._BroadcastStreamController.prototype = { set$onPause(_, onPauseHandler) { throw A.wrapException(A.UnsupportedError$(string$.Broadc)); }, set$onResume(_, onResumeHandler) { throw A.wrapException(A.UnsupportedError$(string$.Broadc)); }, get$stream(_) { return new A._BroadcastStream(this, A._instanceType(this)._eval$1("_BroadcastStream<1>")); }, get$_mayAddEvent() { return this._state < 4; }, _removeListener$1(subscription) { var previous = subscription._async$_previous, next = subscription._async$_next; if (previous == null) this._firstSubscription = next; else previous._async$_next = next; if (next == null) this._lastSubscription = previous; else next._async$_previous = previous; subscription._async$_previous = subscription; subscription._async$_next = subscription; }, _subscribe$4(onData, onError, onDone, cancelOnError) { var t1, t2, t3, t4, t5, subscription, oldLast, _this = this; if ((_this._state & 4) !== 0) return A._DoneStreamSubscription$(onDone, A._instanceType(_this)._precomputed1); t1 = $.Zone__current; t2 = cancelOnError ? 1 : 0; t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData); t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError); t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; subscription = new A._BroadcastSubscription(_this, t3, t4, t5, t1, t2, A._instanceType(_this)._eval$1("_BroadcastSubscription<1>")); subscription._async$_previous = subscription; subscription._async$_next = subscription; subscription._eventState = _this._state & 1; oldLast = _this._lastSubscription; _this._lastSubscription = subscription; subscription._async$_next = null; subscription._async$_previous = oldLast; if (oldLast == null) _this._firstSubscription = subscription; else oldLast._async$_next = subscription; if (_this._firstSubscription === subscription) A._runGuarded(_this.onListen); return subscription; }, _recordCancel$1(sub) { var t1, _this = this; A._instanceType(_this)._eval$1("_BroadcastSubscription<1>")._as(sub); if (sub._async$_next === sub) return null; t1 = sub._eventState; if ((t1 & 2) !== 0) sub._eventState = t1 | 4; else { _this._removeListener$1(sub); if ((_this._state & 2) === 0 && _this._firstSubscription == null) _this._callOnCancel$0(); } return null; }, _recordPause$1(subscription) { }, _recordResume$1(subscription) { }, _addEventError$0() { if ((this._state & 4) !== 0) return new A.StateError("Cannot add new events after calling close"); return new A.StateError("Cannot add new events while doing an addStream"); }, add$1(_, data) { if (!this.get$_mayAddEvent()) throw A.wrapException(this._addEventError$0()); this._sendData$1(data); }, addError$2(error, stackTrace) { A.checkNotNullable(error, "error", type$.Object); if (!this.get$_mayAddEvent()) throw A.wrapException(this._addEventError$0()); if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); this._sendError$2(error, stackTrace); }, close$0(_) { var t1, doneFuture, _this = this; if ((_this._state & 4) !== 0) { t1 = _this._doneFuture; t1.toString; return t1; } if (!_this.get$_mayAddEvent()) throw A.wrapException(_this._addEventError$0()); _this._state |= 4; doneFuture = _this._doneFuture; if (doneFuture == null) doneFuture = _this._doneFuture = new A._Future($.Zone__current, type$._Future_void); _this._sendDone$0(); return doneFuture; }, addStream$2$cancelOnError(_, stream, cancelOnError) { var addStreamState, _this = this; if (!_this.get$_mayAddEvent()) throw A.wrapException(_this._addEventError$0()); _this._state |= 8; addStreamState = A._AddStreamState$(_this, stream, false, A._instanceType(_this)._precomputed1); _this._addStreamState = addStreamState; return addStreamState.addStreamFuture; }, addStream$1(_, stream) { return this.addStream$2$cancelOnError(0, stream, null); }, _add$1(_, data) { this._sendData$1(data); }, _addError$2(error, stackTrace) { this._sendError$2(error, stackTrace); }, _close$0() { var t1 = this._addStreamState; t1.toString; this._addStreamState = null; this._state &= 4294967287; t1.addStreamFuture._asyncComplete$1(null); }, _forEachListener$1(action) { var subscription, id, next, _this = this, t1 = _this._state; if ((t1 & 2) !== 0) throw A.wrapException(A.StateError$(string$.Cannotf)); subscription = _this._firstSubscription; if (subscription == null) return; id = t1 & 1; _this._state = t1 ^ 3; for (; subscription != null;) { t1 = subscription._eventState; if ((t1 & 1) === id) { subscription._eventState = t1 | 2; action.call$1(subscription); t1 = subscription._eventState ^= 1; next = subscription._async$_next; if ((t1 & 4) !== 0) _this._removeListener$1(subscription); subscription._eventState &= 4294967293; subscription = next; } else subscription = subscription._async$_next; } _this._state &= 4294967293; if (_this._firstSubscription == null) _this._callOnCancel$0(); }, _callOnCancel$0() { if ((this._state & 4) !== 0) { var doneFuture = this._doneFuture; if ((doneFuture._state & 30) === 0) doneFuture._asyncComplete$1(null); } A._runGuarded(this.onCancel); }, $isEventSink: 1, set$onListen(val) { return this.onListen = val; }, set$onCancel(receiver, val) { return this.onCancel = val; } }; A._SyncBroadcastStreamController.prototype = { get$_mayAddEvent() { return A._BroadcastStreamController.prototype.get$_mayAddEvent.call(this) && (this._state & 2) === 0; }, _addEventError$0() { if ((this._state & 2) !== 0) return new A.StateError(string$.Cannotf); return this.super$_BroadcastStreamController$_addEventError(); }, _sendData$1(data) { var _this = this, t1 = _this._firstSubscription; if (t1 == null) return; if (t1 === _this._lastSubscription) { _this._state |= 2; t1._add$1(0, data); _this._state &= 4294967293; if (_this._firstSubscription == null) _this._callOnCancel$0(); return; } _this._forEachListener$1(new A._SyncBroadcastStreamController__sendData_closure(_this, data)); }, _sendError$2(error, stackTrace) { if (this._firstSubscription == null) return; this._forEachListener$1(new A._SyncBroadcastStreamController__sendError_closure(this, error, stackTrace)); }, _sendDone$0() { var _this = this; if (_this._firstSubscription != null) _this._forEachListener$1(new A._SyncBroadcastStreamController__sendDone_closure(_this)); else _this._doneFuture._asyncComplete$1(null); } }; A._SyncBroadcastStreamController__sendData_closure.prototype = { call$1(subscription) { subscription._add$1(0, this.data); }, $signature() { return this.$this.$ti._eval$1("~(_BufferingStreamSubscription<1>)"); } }; A._SyncBroadcastStreamController__sendError_closure.prototype = { call$1(subscription) { subscription._addError$2(this.error, this.stackTrace); }, $signature() { return this.$this.$ti._eval$1("~(_BufferingStreamSubscription<1>)"); } }; A._SyncBroadcastStreamController__sendDone_closure.prototype = { call$1(subscription) { subscription._close$0(); }, $signature() { return this.$this.$ti._eval$1("~(_BufferingStreamSubscription<1>)"); } }; A._AsyncBroadcastStreamController.prototype = { _sendData$1(data) { var subscription, t1; for (subscription = this._firstSubscription, t1 = this.$ti._eval$1("_DelayedData<1>"); subscription != null; subscription = subscription._async$_next) subscription._addPending$1(new A._DelayedData(data, t1)); }, _sendError$2(error, stackTrace) { var subscription; for (subscription = this._firstSubscription; subscription != null; subscription = subscription._async$_next) subscription._addPending$1(new A._DelayedError(error, stackTrace)); }, _sendDone$0() { var subscription = this._firstSubscription; if (subscription != null) for (; subscription != null; subscription = subscription._async$_next) subscription._addPending$1(B.C__DelayedDone); else this._doneFuture._asyncComplete$1(null); } }; A.Future_Future_closure.prototype = { call$0() { var e, s, exception; try { this.result._complete$1(this.computation.call$0()); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._completeWithErrorCallback(this.result, e, s); } }, $signature: 0 }; A.Future_Future$delayed_closure.prototype = { call$0() { var e, s, exception, _this = this, t1 = _this.computation; if (t1 == null) { _this.T._as(null); _this.result._complete$1(null); } else try { _this.result._complete$1(t1.call$0()); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._completeWithErrorCallback(_this.result, e, s); } }, $signature: 0 }; A.Future_wait_handleError.prototype = { call$2(theError, theStackTrace) { var _this = this, t1 = _this._box_0, t2 = --t1.remaining; if (t1.values != null) { t1.values = null; if (t1.remaining === 0 || _this.eagerError) _this._future._completeError$2(theError, theStackTrace); else { _this.error.__late_helper$_value = theError; _this.stackTrace.__late_helper$_value = theStackTrace; } } else if (t2 === 0 && !_this.eagerError) _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0()); }, $signature: 166 }; A.Future_wait_closure.prototype = { call$1(value) { var valueList, _this = this, t1 = _this._box_0; --t1.remaining; valueList = t1.values; if (valueList != null) { J.$indexSet$ax(valueList, _this.pos, value); if (t1.remaining === 0) _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T)); } else if (t1.remaining === 0 && !_this.eagerError) _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0()); }, $signature() { return this.T._eval$1("Null(0)"); } }; A.FutureExtensions_onError_onError.prototype = { call$2(error, stackTrace) { var t1; if (this.E._is(error)) t1 = false; else t1 = true; if (t1) throw A.wrapException(error); return this.handleError.call$2(error, stackTrace); }, $signature() { return this.T._eval$1("0/(Object,StackTrace)"); } }; A.FutureExtensions_onError_closure.prototype = { call$1(value) { return value; }, $signature() { return this.T._eval$1("0(0)"); } }; A.TimeoutException.prototype = { toString$0(_) { var t1 = this.duration.toString$0(0); return "TimeoutException after " + t1 + ": " + this.message; }, $isException: 1, get$message(receiver) { return this.message; } }; A._Completer.prototype = { completeError$2(error, stackTrace) { A.checkNotNullable(error, "error", type$.Object); if ((this.future._state & 30) !== 0) throw A.wrapException(A.StateError$("Future already completed")); if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); this._completeError$2(error, stackTrace); }, completeError$1(error) { return this.completeError$2(error, null); }, $isCompleter: 1, get$future() { return this.future; } }; A._AsyncCompleter.prototype = { complete$1(_, value) { var t1 = this.future; if ((t1._state & 30) !== 0) throw A.wrapException(A.StateError$("Future already completed")); t1._asyncComplete$1(value); }, complete$0(_) { return this.complete$1(0, null); }, _completeError$2(error, stackTrace) { this.future._asyncCompleteError$2(error, stackTrace); } }; A._FutureListener.prototype = { matchesErrorTest$1(asyncError) { if ((this.state & 15) !== 6) return true; return this.result._zone.runUnary$2(this.callback, asyncError.error); }, handleError$1(asyncError) { var exception, errorCallback = this.errorCallback, result = null, t1 = asyncError.error, t2 = this.result._zone; if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) result = t2.runBinary$3(errorCallback, t1, asyncError.stackTrace); else result = t2.runUnary$2(errorCallback, t1); try { t1 = result; return t1; } catch (exception) { if (type$.TypeError._is(A.unwrapException(exception))) { if ((this.state & 1) !== 0) throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError")); throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError")); } else throw exception; } } }; A._Future.prototype = { _setChained$1(source) { this._state = this._state & 1 | 4; this._resultOrListeners = source; }, then$1$2$onError(_, f, onError, $R) { var result, t1, currentZone = $.Zone__current; if (currentZone === B.C__RootZone) { if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError)) throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_)); } else if (onError != null) onError = A._registerErrorHandler(onError, currentZone); result = new A._Future(currentZone, $R._eval$1("_Future<0>")); t1 = onError == null ? 1 : 3; this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>"))); return result; }, then$1$1(_, f, $R) { return this.then$1$2$onError(0, f, null, $R); }, _thenAwait$1$2(f, onError, $E) { var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>")); this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>"))); return result; }, catchError$2$test(onError, test) { var t1 = this.$ti, t2 = $.Zone__current, result = new A._Future(t2, t1); if (t2 !== B.C__RootZone) onError = A._registerErrorHandler(onError, t2); t2 = test == null ? 2 : 6; this._addListener$1(new A._FutureListener(result, t2, test, onError, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); return result; }, catchError$1(onError) { return this.catchError$2$test(onError, null); }, whenComplete$1(action) { var t1 = this.$ti, result = new A._Future($.Zone__current, t1); this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>"))); return result; }, asStream$0() { return A.Stream_Stream$fromFuture(this, this.$ti._precomputed1); }, _setErrorObject$1(error) { this._state = this._state & 1 | 16; this._resultOrListeners = error; }, _cloneResult$1(source) { this._state = source._state & 30 | this._state & 1; this._resultOrListeners = source._resultOrListeners; }, _addListener$1(listener) { var _this = this, t1 = _this._state; if (t1 <= 3) { listener._nextListener = _this._resultOrListeners; _this._resultOrListeners = listener; } else { if ((t1 & 4) !== 0) { t1 = _this._resultOrListeners; if ((t1._state & 24) === 0) { t1._addListener$1(listener); return; } _this._cloneResult$1(t1); } A._rootScheduleMicrotask(null, null, _this._zone, new A._Future__addListener_closure(_this, listener)); } }, _prependListeners$1(listeners) { var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {}; _box_0.listeners = listeners; if (listeners == null) return; t1 = _this._state; if (t1 <= 3) { existingListeners = _this._resultOrListeners; _this._resultOrListeners = listeners; if (existingListeners != null) { next = listeners._nextListener; for (cursor = listeners; next != null; cursor = next, next = next0) next0 = next._nextListener; cursor._nextListener = existingListeners; } } else { if ((t1 & 4) !== 0) { t1 = _this._resultOrListeners; if ((t1._state & 24) === 0) { t1._prependListeners$1(listeners); return; } _this._cloneResult$1(t1); } _box_0.listeners = _this._reverseListeners$1(listeners); A._rootScheduleMicrotask(null, null, _this._zone, new A._Future__prependListeners_closure(_box_0, _this)); } }, _removeListeners$0() { var current = this._resultOrListeners; this._resultOrListeners = null; return this._reverseListeners$1(current); }, _reverseListeners$1(listeners) { var current, prev, next; for (current = listeners, prev = null; current != null; prev = current, current = next) { next = current._nextListener; current._nextListener = prev; } return prev; }, _chainForeignFuture$1(source) { var e, s, exception, _this = this; _this._state ^= 2; try { source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s)); } }, _complete$1(value) { var listeners, _this = this, t1 = _this.$ti; if (t1._eval$1("Future<1>")._is(value)) if (t1._is(value)) A._Future__chainCoreFutureSync(value, _this); else _this._chainForeignFuture$1(value); else { listeners = _this._removeListeners$0(); _this._state = 8; _this._resultOrListeners = value; A._Future__propagateToListeners(_this, listeners); } }, _completeWithValue$1(value) { var _this = this, listeners = _this._removeListeners$0(); _this._state = 8; _this._resultOrListeners = value; A._Future__propagateToListeners(_this, listeners); }, _completeError$2(error, stackTrace) { var listeners = this._removeListeners$0(); this._setErrorObject$1(A.AsyncError$(error, stackTrace)); A._Future__propagateToListeners(this, listeners); }, _asyncComplete$1(value) { if (this.$ti._eval$1("Future<1>")._is(value)) { this._chainFuture$1(value); return; } this._asyncCompleteWithValue$1(value); }, _asyncCompleteWithValue$1(value) { this._state ^= 2; A._rootScheduleMicrotask(null, null, this._zone, new A._Future__asyncCompleteWithValue_closure(this, value)); }, _chainFuture$1(value) { if (this.$ti._is(value)) { A._Future__chainCoreFutureAsync(value, this); return; } this._chainForeignFuture$1(value); }, _asyncCompleteError$2(error, stackTrace) { this._state ^= 2; A._rootScheduleMicrotask(null, null, this._zone, new A._Future__asyncCompleteError_closure(this, error, stackTrace)); }, timeout$2$onTimeout(_, timeLimit, onTimeout) { var _future, _this = this, t1 = {}; if ((_this._state & 24) !== 0) { t1 = new A._Future($.Zone__current, _this.$ti); t1._asyncComplete$1(_this); return t1; } _future = new A._Future($.Zone__current, _this.$ti); t1.timer = null; t1.timer = A.Timer_Timer(timeLimit, new A._Future_timeout_closure(_future, timeLimit)); _this.then$1$2$onError(0, new A._Future_timeout_closure0(t1, _this, _future), new A._Future_timeout_closure1(t1, _future), type$.Null); return _future; }, timeout$1(_, timeLimit) { return this.timeout$2$onTimeout(0, timeLimit, null); }, $isFuture: 1 }; A._Future__addListener_closure.prototype = { call$0() { A._Future__propagateToListeners(this.$this, this.listener); }, $signature: 0 }; A._Future__prependListeners_closure.prototype = { call$0() { A._Future__propagateToListeners(this.$this, this._box_0.listeners); }, $signature: 0 }; A._Future__chainForeignFuture_closure.prototype = { call$1(value) { var error, stackTrace, exception, t1 = this.$this; t1._state ^= 2; try { t1._completeWithValue$1(t1.$ti._precomputed1._as(value)); } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); t1._completeError$2(error, stackTrace); } }, $signature: 5 }; A._Future__chainForeignFuture_closure0.prototype = { call$2(error, stackTrace) { this.$this._completeError$2(error, stackTrace); }, $signature: 196 }; A._Future__chainForeignFuture_closure1.prototype = { call$0() { this.$this._completeError$2(this.e, this.s); }, $signature: 0 }; A._Future__chainCoreFutureAsync_closure.prototype = { call$0() { A._Future__chainCoreFutureSync(this._box_0.source, this.target); }, $signature: 0 }; A._Future__asyncCompleteWithValue_closure.prototype = { call$0() { this.$this._completeWithValue$1(this.value); }, $signature: 0 }; A._Future__asyncCompleteError_closure.prototype = { call$0() { this.$this._completeError$2(this.error, this.stackTrace); }, $signature: 0 }; A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { call$0() { var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null; try { t1 = _this._box_0.listener; completeResult = t1.result._zone.run$1(t1.callback); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e; t2 = _this._box_0; if (t1) t2.listenerValueOrError = _this._box_1.source._resultOrListeners; else t2.listenerValueOrError = A.AsyncError$(e, s); t2.listenerHasError = true; return; } if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) { if ((completeResult._state & 16) !== 0) { t1 = _this._box_0; t1.listenerValueOrError = completeResult._resultOrListeners; t1.listenerHasError = true; } return; } if (type$.Future_dynamic._is(completeResult)) { originalSource = _this._box_1.source; t1 = _this._box_0; t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); t1.listenerHasError = false; } }, $signature: 0 }; A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { call$1(_) { return this.originalSource; }, $signature: 1497 }; A._Future__propagateToListeners_handleValueCallback.prototype = { call$0() { var e, s, t1, t2, exception; try { t1 = this._box_0; t2 = t1.listener; t1.listenerValueOrError = t2.result._zone.runUnary$2(t2.callback, this.sourceResult); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); t1 = this._box_0; t1.listenerValueOrError = A.AsyncError$(e, s); t1.listenerHasError = true; } }, $signature: 0 }; A._Future__propagateToListeners_handleError.prototype = { call$0() { var asyncError, e, s, t1, exception, t2, _this = this; try { asyncError = _this._box_1.source._resultOrListeners; t1 = _this._box_0; if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) { t1.listenerValueOrError = t1.listener.handleError$1(asyncError); t1.listenerHasError = false; } } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); t1 = _this._box_1.source._resultOrListeners; t2 = _this._box_0; if (t1.error === e) t2.listenerValueOrError = t1; else t2.listenerValueOrError = A.AsyncError$(e, s); t2.listenerHasError = true; } }, $signature: 0 }; A._Future_timeout_closure.prototype = { call$0() { this._future._completeError$2(new A.TimeoutException("Future not completed", this.timeLimit), B.C__StringStackTrace); }, $signature: 0 }; A._Future_timeout_closure0.prototype = { call$1(v) { var t1 = this._box_0.timer; if (t1._handle != null) { t1.cancel$0(0); this._future._completeWithValue$1(v); } }, $signature() { return this.$this.$ti._eval$1("Null(1)"); } }; A._Future_timeout_closure1.prototype = { call$2(e, s) { var t1 = this._box_0.timer; if (t1._handle != null) { t1.cancel$0(0); this._future._completeError$2(e, s); } }, $signature: 196 }; A._AsyncCallbackEntry.prototype = {}; A.Stream.prototype = { get$isBroadcast() { return false; }, map$1$1(_, convert, $S) { return new A._MapStream(convert, this, A._instanceType(this)._eval$1("@<Stream.T>")._bind$1($S)._eval$1("_MapStream<1,2>")); }, map$1(_, convert) { return this.map$1$1(0, convert, type$.dynamic); }, asyncMap$1$1(convert, $E) { var t2, _null = null, t1 = {}; t1.controller = null; t2 = this.get$isBroadcast() ? t1.controller = new A._SyncBroadcastStreamController(_null, _null, $E._eval$1("_SyncBroadcastStreamController<0>")) : t1.controller = new A._SyncStreamController(_null, _null, _null, _null, $E._eval$1("_SyncStreamController<0>")); t2.set$onListen(new A.Stream_asyncMap_closure(t1, this, convert, $E)); t1 = t1.controller; return t1.get$stream(t1); }, fold$1$2(_, initialValue, combine, $S) { var subscription, t1 = {}, result = new A._Future($.Zone__current, $S._eval$1("_Future<0>")); t1.value = initialValue; subscription = this.listen$4$cancelOnError$onDone$onError(0, null, true, new A.Stream_fold_closure(t1, result), result.get$_completeError()); subscription.onData$1(new A.Stream_fold_closure0(t1, this, combine, subscription, result, $S)); return result; }, forEach$1(_, action) { var future = new A._Future($.Zone__current, type$._Future_dynamic), subscription = this.listen$4$cancelOnError$onDone$onError(0, null, true, new A.Stream_forEach_closure(future), future.get$_completeError()); subscription.onData$1(new A.Stream_forEach_closure0(this, action, subscription, future)); return future; }, get$length(_) { var t1 = {}, future = new A._Future($.Zone__current, type$._Future_int); t1.count = 0; this.listen$4$cancelOnError$onDone$onError(0, new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError()); return future; }, get$isEmpty(_) { var future = new A._Future($.Zone__current, type$._Future_bool), subscription = this.listen$4$cancelOnError$onDone$onError(0, null, true, new A.Stream_isEmpty_closure(future), future.get$_completeError()); subscription.onData$1(new A.Stream_isEmpty_closure0(this, subscription, future)); return future; }, toList$0(_) { var t1 = A._instanceType(this), result = A._setArrayType([], t1._eval$1("JSArray<Stream.T>")), future = new A._Future($.Zone__current, t1._eval$1("_Future<List<Stream.T>>")); this.listen$4$cancelOnError$onDone$onError(0, new A.Stream_toList_closure(this, result), true, new A.Stream_toList_closure0(future, result), future.get$_completeError()); return future; }, get$first(_) { var future = new A._Future($.Zone__current, A._instanceType(this)._eval$1("_Future<Stream.T>")), subscription = this.listen$4$cancelOnError$onDone$onError(0, null, true, new A.Stream_first_closure(future), future.get$_completeError()); subscription.onData$1(new A.Stream_first_closure0(this, subscription, future)); return future; } }; A.Stream_Stream$fromFuture_closure.prototype = { call$1(value) { var t1 = this.controller; t1._add$1(0, value); t1._closeUnchecked$0(); }, $signature() { return this.T._eval$1("Null(0)"); } }; A.Stream_Stream$fromFuture_closure0.prototype = { call$2(error, stackTrace) { var t1 = this.controller; t1._addError$2(error, stackTrace); t1._closeUnchecked$0(); }, $signature: 362 }; A.Stream_asyncMap_closure.prototype = { call$0() { var addError, resume, _this = this, t1 = _this.$this, t2 = _this._box_0, t3 = t2.controller.get$_addError(), t4 = t2.controller, subscription = t1.listen$3$onDone$onError(0, null, t4.get$close(t4), t3); t3 = _this.E; addError = t2.controller.get$_addError(); resume = subscription.get$resume(subscription); subscription.onData$1(new A.Stream_asyncMap__closure(t2, t1, _this.convert, t3, subscription, new A.Stream_asyncMap_closure_add(t2, t3), addError, resume)); t2.controller.set$onCancel(0, subscription.get$cancel(subscription)); if (!t1.get$isBroadcast()) { t1 = t2.controller; t1.set$onPause(0, subscription.get$pause(subscription)); t1.set$onResume(0, resume); } }, $signature: 0 }; A.Stream_asyncMap_closure_add.prototype = { call$1(value) { this._box_0.controller.add$1(0, value); }, $signature() { return this.E._eval$1("Future<Null>?(0)"); } }; A.Stream_asyncMap__closure.prototype = { call$1($event) { var e, s, exception, _this = this, newValue = null; try { newValue = _this.convert.call$1($event); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); _this._box_0.controller.addError$2(e, s); return; } if (_this.E._eval$1("Future<0>")._is(newValue)) { _this.subscription.pause$0(0); J.then$1$2$onError$x(newValue, _this.add, _this.addError, type$.Null).whenComplete$1(_this.resume); } else _this._box_0.controller.add$1(0, newValue); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_fold_closure.prototype = { call$0() { this.result._complete$1(this._box_0.value); }, $signature: 0 }; A.Stream_fold_closure0.prototype = { call$1(element) { var _this = this, t1 = _this._box_0, t2 = _this.S; A._runUserCode(new A.Stream_fold__closure(t1, _this.combine, element, t2), new A.Stream_fold__closure0(t1, t2), A._cancelAndErrorClosure(_this.subscription, _this.result)); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_fold__closure.prototype = { call$0() { return this.combine.call$2(this._box_0.value, this.element); }, $signature() { return this.S._eval$1("0()"); } }; A.Stream_fold__closure0.prototype = { call$1(newValue) { this._box_0.value = newValue; }, $signature() { return this.S._eval$1("Null(0)"); } }; A.Stream_forEach_closure.prototype = { call$0() { this.future._complete$1(null); }, $signature: 0 }; A.Stream_forEach_closure0.prototype = { call$1(element) { A._runUserCode(new A.Stream_forEach__closure(this.action, element), new A.Stream_forEach__closure0(), A._cancelAndErrorClosure(this.subscription, this.future)); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_forEach__closure.prototype = { call$0() { return this.action.call$1(this.element); }, $signature: 0 }; A.Stream_forEach__closure0.prototype = { call$1(_) { }, $signature: 109 }; A.Stream_length_closure.prototype = { call$1(_) { ++this._box_0.count; }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_length_closure0.prototype = { call$0() { this.future._complete$1(this._box_0.count); }, $signature: 0 }; A.Stream_isEmpty_closure.prototype = { call$0() { this.future._complete$1(true); }, $signature: 0 }; A.Stream_isEmpty_closure0.prototype = { call$1(_) { A._cancelAndValue(this.subscription, this.future, false); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_toList_closure.prototype = { call$1(data) { this.result.push(data); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_toList_closure0.prototype = { call$0() { this.future._complete$1(this.result); }, $signature: 0 }; A.Stream_first_closure.prototype = { call$0() { var e, s, t1, exception; try { t1 = A.IterableElementError_noElement(); throw A.wrapException(t1); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._completeWithErrorCallback(this.future, e, s); } }, $signature: 0 }; A.Stream_first_closure0.prototype = { call$1(value) { A._cancelAndValue(this.subscription, this.future, value); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.StreamView.prototype = { get$isBroadcast() { return this._stream.get$isBroadcast(); }, listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { return this._stream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); } }; A.StreamTransformerBase.prototype = {}; A._StreamController.prototype = { get$stream(_) { return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>")); }, get$_pendingEvents() { if ((this._state & 8) === 0) return this._varData; return this._varData.varData; }, _ensurePendingEvents$0() { var events, state, _this = this; if ((_this._state & 8) === 0) { events = _this._varData; return events == null ? _this._varData = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<1>")) : events; } state = _this._varData; events = state.varData; return events == null ? state.varData = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<1>")) : events; }, get$_async$_subscription() { var varData = this._varData; return (this._state & 8) !== 0 ? varData.varData : varData; }, _badEventState$0() { if ((this._state & 4) !== 0) return new A.StateError("Cannot add event after closing"); return new A.StateError("Cannot add event while adding a stream"); }, addStream$2$cancelOnError(_, source, cancelOnError) { var t2, t3, t4, _this = this, t1 = _this._state; if (t1 >= 4) throw A.wrapException(_this._badEventState$0()); if ((t1 & 2) !== 0) { t1 = new A._Future($.Zone__current, type$._Future_dynamic); t1._asyncComplete$1(null); return t1; } t1 = _this._varData; t2 = cancelOnError === true; t3 = new A._Future($.Zone__current, type$._Future_dynamic); t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError(); t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_add(_this), t2, _this.get$_close(), t4); t2 = _this._state; if ((t2 & 1) !== 0 ? (_this.get$_async$_subscription()._state & 4) !== 0 : (t2 & 2) === 0) t4.pause$0(0); _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4, A._instanceType(_this)._eval$1("_StreamControllerAddStreamState<1>")); _this._state |= 8; return t3; }, addStream$1(_, source) { return this.addStream$2$cancelOnError(0, source, null); }, _ensureDoneFuture$0() { var t1 = this._doneFuture; if (t1 == null) t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void); return t1; }, add$1(_, value) { if (this._state >= 4) throw A.wrapException(this._badEventState$0()); this._add$1(0, value); }, addError$2(error, stackTrace) { A.checkNotNullable(error, "error", type$.Object); if (this._state >= 4) throw A.wrapException(this._badEventState$0()); if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); this._addError$2(error, stackTrace); }, addError$1(error) { return this.addError$2(error, null); }, close$0(_) { var _this = this, t1 = _this._state; if ((t1 & 4) !== 0) return _this._ensureDoneFuture$0(); if (t1 >= 4) throw A.wrapException(_this._badEventState$0()); _this._closeUnchecked$0(); return _this._ensureDoneFuture$0(); }, _closeUnchecked$0() { var t1 = this._state |= 4; if ((t1 & 1) !== 0) this._sendDone$0(); else if ((t1 & 3) === 0) this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone); }, _add$1(_, value) { var _this = this, t1 = _this._state; if ((t1 & 1) !== 0) _this._sendData$1(value); else if ((t1 & 3) === 0) _this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value, A._instanceType(_this)._eval$1("_DelayedData<1>"))); }, _addError$2(error, stackTrace) { var t1 = this._state; if ((t1 & 1) !== 0) this._sendError$2(error, stackTrace); else if ((t1 & 3) === 0) this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace)); }, _close$0() { var addState = this._varData; this._varData = addState.varData; this._state &= 4294967287; addState.addStreamFuture._asyncComplete$1(null); }, _subscribe$4(onData, onError, onDone, cancelOnError) { var subscription, pendingEvents, t1, addState, _this = this; if ((_this._state & 3) !== 0) throw A.wrapException(A.StateError$("Stream has already been listened to.")); subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1); pendingEvents = _this.get$_pendingEvents(); t1 = _this._state |= 1; if ((t1 & 8) !== 0) { addState = _this._varData; addState.varData = subscription; addState.addSubscription.resume$0(0); } else _this._varData = subscription; subscription._setPendingEvents$1(pendingEvents); subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this)); return subscription; }, _recordCancel$1(subscription) { var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null; if ((_this._state & 8) !== 0) result = _this._varData.cancel$0(0); _this._varData = null; _this._state = _this._state & 4294967286 | 2; onCancel = _this.onCancel; if (onCancel != null) if (result == null) try { cancelResult = onCancel.call$0(); if (type$.Future_void._is(cancelResult)) result = cancelResult; } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); result0 = new A._Future($.Zone__current, type$._Future_void); result0._asyncCompleteError$2(e, s); result = result0; } else result = result.whenComplete$1(onCancel); t1 = new A._StreamController__recordCancel_complete(_this); if (result != null) result = result.whenComplete$1(t1); else t1.call$0(); return result; }, _recordPause$1(subscription) { if ((this._state & 8) !== 0) this._varData.addSubscription.pause$0(0); A._runGuarded(this.onPause); }, _recordResume$1(subscription) { if ((this._state & 8) !== 0) this._varData.addSubscription.resume$0(0); A._runGuarded(this.onResume); }, $isEventSink: 1, set$onListen(val) { return this.onListen = val; }, set$onPause(receiver, val) { return this.onPause = val; }, set$onResume(receiver, val) { return this.onResume = val; }, set$onCancel(receiver, val) { return this.onCancel = val; } }; A._StreamController__subscribe_closure.prototype = { call$0() { A._runGuarded(this.$this.onListen); }, $signature: 0 }; A._StreamController__recordCancel_complete.prototype = { call$0() { var doneFuture = this.$this._doneFuture; if (doneFuture != null && (doneFuture._state & 30) === 0) doneFuture._asyncComplete$1(null); }, $signature: 0 }; A._SyncStreamControllerDispatch.prototype = { _sendData$1(data) { this.get$_async$_subscription()._add$1(0, data); }, _sendError$2(error, stackTrace) { this.get$_async$_subscription()._addError$2(error, stackTrace); }, _sendDone$0() { this.get$_async$_subscription()._close$0(); } }; A._AsyncStreamControllerDispatch.prototype = { _sendData$1(data) { this.get$_async$_subscription()._addPending$1(new A._DelayedData(data, A._instanceType(this)._eval$1("_DelayedData<1>"))); }, _sendError$2(error, stackTrace) { this.get$_async$_subscription()._addPending$1(new A._DelayedError(error, stackTrace)); }, _sendDone$0() { this.get$_async$_subscription()._addPending$1(B.C__DelayedDone); } }; A._AsyncStreamController.prototype = {}; A._SyncStreamController.prototype = {}; A._ControllerStream.prototype = { get$hashCode(_) { return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0; }, $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A._ControllerStream && other._controller === this._controller; } }; A._ControllerSubscription.prototype = { _onCancel$0() { return this._controller._recordCancel$1(this); }, _onPause$0() { this._controller._recordPause$1(this); }, _onResume$0() { this._controller._recordResume$1(this); } }; A._AddStreamState.prototype = { cancel$0(_) { var cancel = this.addSubscription.cancel$0(0); return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this)); } }; A._AddStreamState_makeErrorHandler_closure.prototype = { call$2(e, s) { var t1 = this.controller; t1._addError$2(e, s); t1._close$0(); }, $signature: 196 }; A._AddStreamState_cancel_closure.prototype = { call$0() { this.$this.addStreamFuture._asyncComplete$1(null); }, $signature: 4 }; A._StreamControllerAddStreamState.prototype = {}; A._BufferingStreamSubscription.prototype = { _setPendingEvents$1(pendingEvents) { var _this = this; if (pendingEvents == null) return; _this._pending = pendingEvents; if (pendingEvents.lastPendingEvent != null) { _this._state = (_this._state | 64) >>> 0; pendingEvents.schedule$1(_this); } }, onData$1(handleData) { this._onData = A._BufferingStreamSubscription__registerDataHandler(this._zone, handleData); }, pause$1(_, resumeSignal) { var t2, _this = this, t1 = _this._state; if ((t1 & 8) !== 0) return; _this._state = (t1 + 128 | 4) >>> 0; if (resumeSignal != null) resumeSignal.whenComplete$1(_this.get$resume(_this)); if (t1 < 128) { t2 = _this._pending; if (t2 != null) if (t2._state === 1) t2._state = 3; } if ((t1 & 4) === 0 && (_this._state & 32) === 0) _this._guardCallback$1(_this.get$_onPause()); }, pause$0(_) { return this.pause$1(0, null); }, resume$0(_) { var _this = this, t1 = _this._state; if ((t1 & 8) !== 0) return; if (t1 >= 128) { t1 = _this._state = t1 - 128; if (t1 < 128) if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null) _this._pending.schedule$1(_this); else { t1 = (t1 & 4294967291) >>> 0; _this._state = t1; if ((t1 & 32) === 0) _this._guardCallback$1(_this.get$_onResume()); } } }, cancel$0(_) { var _this = this, t1 = (_this._state & 4294967279) >>> 0; _this._state = t1; if ((t1 & 8) === 0) _this._cancel$0(); t1 = _this._cancelFuture; return t1 == null ? $.$get$Future__nullFuture() : t1; }, _cancel$0() { var t2, _this = this, t1 = _this._state = (_this._state | 8) >>> 0; if ((t1 & 64) !== 0) { t2 = _this._pending; if (t2._state === 1) t2._state = 3; } if ((t1 & 32) === 0) _this._pending = null; _this._cancelFuture = _this._onCancel$0(); }, _add$1(_, data) { var _this = this, t1 = _this._state; if ((t1 & 8) !== 0) return; if (t1 < 32) _this._sendData$1(data); else _this._addPending$1(new A._DelayedData(data, A._instanceType(_this)._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); }, _addError$2(error, stackTrace) { var t1 = this._state; if ((t1 & 8) !== 0) return; if (t1 < 32) this._sendError$2(error, stackTrace); else this._addPending$1(new A._DelayedError(error, stackTrace)); }, _close$0() { var _this = this, t1 = _this._state; if ((t1 & 8) !== 0) return; t1 = (t1 | 2) >>> 0; _this._state = t1; if (t1 < 32) _this._sendDone$0(); else _this._addPending$1(B.C__DelayedDone); }, _onPause$0() { }, _onResume$0() { }, _onCancel$0() { return null; }, _addPending$1($event) { var t1, _this = this, pending = _this._pending; if (pending == null) pending = _this._pending = new A._PendingEvents(A._instanceType(_this)._eval$1("_PendingEvents<_BufferingStreamSubscription.T>")); pending.add$1(0, $event); t1 = _this._state; if ((t1 & 64) === 0) { t1 = (t1 | 64) >>> 0; _this._state = t1; if (t1 < 128) pending.schedule$1(_this); } }, _sendData$1(data) { var _this = this, t1 = _this._state; _this._state = (t1 | 32) >>> 0; _this._zone.runUnaryGuarded$2(_this._onData, data); _this._state = (_this._state & 4294967263) >>> 0; _this._checkState$1((t1 & 4) !== 0); }, _sendError$2(error, stackTrace) { var cancelFuture, _this = this, t1 = _this._state, t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace); if ((t1 & 1) !== 0) { _this._state = (t1 | 16) >>> 0; _this._cancel$0(); cancelFuture = _this._cancelFuture; if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) cancelFuture.whenComplete$1(t2); else t2.call$0(); } else { t2.call$0(); _this._checkState$1((t1 & 4) !== 0); } }, _sendDone$0() { var cancelFuture, _this = this, t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this); _this._cancel$0(); _this._state = (_this._state | 16) >>> 0; cancelFuture = _this._cancelFuture; if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture()) cancelFuture.whenComplete$1(t1); else t1.call$0(); }, _guardCallback$1(callback) { var _this = this, t1 = _this._state; _this._state = (t1 | 32) >>> 0; callback.call$0(); _this._state = (_this._state & 4294967263) >>> 0; _this._checkState$1((t1 & 4) !== 0); }, _checkState$1(wasInputPaused) { var t2, isInputPaused, _this = this, t1 = _this._state; if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) { t1 = _this._state = (t1 & 4294967231) >>> 0; if ((t1 & 4) !== 0) if (t1 < 128) { t2 = _this._pending; t2 = t2 == null ? null : t2.lastPendingEvent == null; t2 = t2 !== false; } else t2 = false; else t2 = false; if (t2) { t1 = (t1 & 4294967291) >>> 0; _this._state = t1; } } for (; true; wasInputPaused = isInputPaused) { if ((t1 & 8) !== 0) { _this._pending = null; return; } isInputPaused = (t1 & 4) !== 0; if (wasInputPaused === isInputPaused) break; _this._state = (t1 ^ 32) >>> 0; if (isInputPaused) _this._onPause$0(); else _this._onResume$0(); t1 = (_this._state & 4294967263) >>> 0; _this._state = t1; } if ((t1 & 64) !== 0 && t1 < 128) _this._pending.schedule$1(_this); } }; A._BufferingStreamSubscription__sendError_sendError.prototype = { call$0() { var onError, t3, t1 = this.$this, t2 = t1._state; if ((t2 & 8) !== 0 && (t2 & 16) === 0) return; t1._state = (t2 | 32) >>> 0; onError = t1._onError; t2 = this.error; t3 = t1._zone; if (type$.void_Function_Object_StackTrace._is(onError)) t3.runBinaryGuarded$3(onError, t2, this.stackTrace); else t3.runUnaryGuarded$2(onError, t2); t1._state = (t1._state & 4294967263) >>> 0; }, $signature: 0 }; A._BufferingStreamSubscription__sendDone_sendDone.prototype = { call$0() { var t1 = this.$this, t2 = t1._state; if ((t2 & 16) === 0) return; t1._state = (t2 | 42) >>> 0; t1._zone.runGuarded$1(t1._onDone); t1._state = (t1._state & 4294967263) >>> 0; }, $signature: 0 }; A._StreamImpl.prototype = { listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true); }, listen$1(_, onData) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); }, listen$2$onError(_, onData, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, onError); } }; A._DelayedEvent.prototype = { get$next(receiver) { return this.next; }, set$next(receiver, val) { return this.next = val; } }; A._DelayedData.prototype = { perform$1(dispatch) { dispatch._sendData$1(this.value); }, get$value(receiver) { return this.value; } }; A._DelayedError.prototype = { perform$1(dispatch) { dispatch._sendError$2(this.error, this.stackTrace); } }; A._DelayedDone.prototype = { perform$1(dispatch) { dispatch._sendDone$0(); }, get$next(_) { return null; }, set$next(_, _0) { throw A.wrapException(A.StateError$("No events after a done.")); } }; A._PendingEvents.prototype = { schedule$1(dispatch) { var _this = this, t1 = _this._state; if (t1 === 1) return; if (t1 >= 1) { _this._state = 1; return; } A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch)); _this._state = 1; }, get$isEmpty(_) { return this.lastPendingEvent == null; }, add$1(_, $event) { var _this = this, lastEvent = _this.lastPendingEvent; if (lastEvent == null) _this.firstPendingEvent = _this.lastPendingEvent = $event; else { lastEvent.set$next(0, $event); _this.lastPendingEvent = $event; } } }; A._PendingEvents_schedule_closure.prototype = { call$0() { var $event, nextEvent, t1 = this.$this, oldState = t1._state; t1._state = 0; if (oldState === 3) return; $event = t1.firstPendingEvent; nextEvent = $event.get$next($event); t1.firstPendingEvent = nextEvent; if (nextEvent == null) t1.lastPendingEvent = null; $event.perform$1(this.dispatch); }, $signature: 0 }; A._DoneStreamSubscription.prototype = { onData$1(handleData) { }, pause$1(_, resumeSignal) { var _this = this, t1 = _this._state; if (t1 >= 0) { _this._state = t1 + 2; if (resumeSignal != null) resumeSignal.whenComplete$1(_this.get$resume(_this)); } }, pause$0(_) { return this.pause$1(0, null); }, resume$0(_) { var _this = this, resumeState = _this._state - 2; if (resumeState < 0) return; if (resumeState === 0) { _this._state = 1; A.scheduleMicrotask(_this.get$_onMicrotask()); } else _this._state = resumeState; }, cancel$0(_) { this._state = -1; this._onDone = null; return $.$get$Future__nullFuture(); }, _onMicrotask$0() { var _0_0, _this = this, unscheduledState = _this._state - 1; if (unscheduledState === 0) { _this._state = -1; _0_0 = _this._onDone; if (_0_0 != null) { _this._onDone = null; _this._zone.runGuarded$1(_0_0); } } else _this._state = unscheduledState; } }; A._StreamIterator.prototype = { get$current(_) { if (this._async$_hasValue) return this._stateData; return null; }, moveNext$0() { var future, _this = this, subscription = _this._async$_subscription; if (subscription != null) { if (_this._async$_hasValue) { future = new A._Future($.Zone__current, type$._Future_bool); _this._stateData = future; _this._async$_hasValue = false; subscription.resume$0(0); return future; } throw A.wrapException(A.StateError$("Already waiting for next.")); } return _this._initializeOrDone$0(); }, _initializeOrDone$0() { var future, subscription, _this = this, stateData = _this._stateData; if (stateData != null) { future = new A._Future($.Zone__current, type$._Future_bool); _this._stateData = future; subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError()); if (_this._stateData != null) _this._async$_subscription = subscription; return future; } return $.$get$Future__falseFuture(); }, cancel$0(_) { var _this = this, subscription = _this._async$_subscription, stateData = _this._stateData; _this._stateData = null; if (subscription != null) { _this._async$_subscription = null; if (!_this._async$_hasValue) stateData._asyncComplete$1(false); else _this._async$_hasValue = false; return subscription.cancel$0(0); } return $.$get$Future__nullFuture(); }, _onData$1(data) { var moveNextFuture, t1, _this = this; if (_this._async$_subscription == null) return; moveNextFuture = _this._stateData; _this._stateData = data; _this._async$_hasValue = true; moveNextFuture._complete$1(true); if (_this._async$_hasValue) { t1 = _this._async$_subscription; if (t1 != null) t1.pause$0(0); } }, _onError$2(error, stackTrace) { var _this = this, subscription = _this._async$_subscription, moveNextFuture = _this._stateData; _this._stateData = _this._async$_subscription = null; if (subscription != null) moveNextFuture._completeError$2(error, stackTrace); else moveNextFuture._asyncCompleteError$2(error, stackTrace); }, _onDone$0() { var _this = this, subscription = _this._async$_subscription, moveNextFuture = _this._stateData; _this._stateData = _this._async$_subscription = null; if (subscription != null) moveNextFuture._completeWithValue$1(false); else moveNextFuture._asyncCompleteWithValue$1(false); } }; A._EmptyStream.prototype = { listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { return A._DoneStreamSubscription$(onDone, this.$ti._precomputed1); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); }, get$isBroadcast() { return true; } }; A._MultiStream.prototype = { listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { var _null = null, controller = new A._MultiStreamController(_null, _null, _null, _null, this.$ti._eval$1("_MultiStreamController<1>")); controller.onListen = new A._MultiStream_listen_closure(this, controller); return controller._subscribe$4(onData, onError, onDone, cancelOnError === true); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); }, get$isBroadcast() { return this.isBroadcast; } }; A._MultiStream_listen_closure.prototype = { call$0() { this.$this._onListen.call$1(this.controller); }, $signature: 0 }; A._MultiStreamController.prototype = { closeSync$0() { var _this = this, t1 = _this._state; if ((t1 & 4) !== 0) return; if (t1 >= 4) throw A.wrapException(_this._badEventState$0()); t1 |= 4; _this._state = t1; if ((t1 & 1) !== 0) _this.get$_async$_subscription()._close$0(); }, get$stream(_) { throw A.wrapException(A.UnsupportedError$("Not available")); }, $isMultiStreamController: 1 }; A._cancelAndError_closure.prototype = { call$0() { return this.future._completeError$2(this.error, this.stackTrace); }, $signature: 0 }; A._cancelAndErrorClosure_closure.prototype = { call$2(error, stackTrace) { A._cancelAndError(this.subscription, this.future, error, stackTrace); }, $signature: 166 }; A._cancelAndValue_closure.prototype = { call$0() { return this.future._complete$1(this.value); }, $signature: 0 }; A._ForwardingStream.prototype = { get$isBroadcast() { return this._async$_source.get$isBroadcast(); }, listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { var t1 = A._instanceType(this), t2 = $.Zone__current, t3 = cancelOnError === true ? 1 : 0, t4 = A._BufferingStreamSubscription__registerDataHandler(t2, onData), t5 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError), t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; t1 = new A._ForwardingStreamSubscription(this, t4, t5, t6, t2, t3, t1._eval$1("@<_ForwardingStream.S>")._bind$1(t1._eval$1("_ForwardingStream.T"))._eval$1("_ForwardingStreamSubscription<1,2>")); t1._async$_subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_async$_handleError()); return t1; }, listen$1(_, onData) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); } }; A._ForwardingStreamSubscription.prototype = { _add$1(_, data) { if ((this._state & 2) !== 0) return; this.super$_BufferingStreamSubscription$_add(0, data); }, _addError$2(error, stackTrace) { if ((this._state & 2) !== 0) return; this.super$_BufferingStreamSubscription$_addError(error, stackTrace); }, _onPause$0() { var t1 = this._async$_subscription; if (t1 != null) t1.pause$0(0); }, _onResume$0() { var t1 = this._async$_subscription; if (t1 != null) t1.resume$0(0); }, _onCancel$0() { var subscription = this._async$_subscription; if (subscription != null) { this._async$_subscription = null; return subscription.cancel$0(0); } return null; }, _handleData$1(data) { this._stream._handleData$2(data, this); }, _async$_handleError$2(error, stackTrace) { this._addError$2(error, stackTrace); }, _handleDone$0() { this._close$0(); } }; A._WhereStream.prototype = { _handleData$2(inputEvent, sink) { var e, s, exception, satisfies = null; try { satisfies = this._test.call$1(inputEvent); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._addErrorWithReplacement(sink, e, s); return; } if (satisfies) sink._add$1(0, inputEvent); } }; A._MapStream.prototype = { _handleData$2(inputEvent, sink) { var e, s, exception, outputEvent = null; try { outputEvent = this._async$_transform.call$1(inputEvent); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._addErrorWithReplacement(sink, e, s); return; } sink._add$1(0, outputEvent); } }; A._EventSinkWrapper.prototype = { add$1(_, data) { var t1 = this._async$_sink; if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_add(0, data); }, addError$2(error, stackTrace) { var t1 = this._async$_sink, t2 = stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace; if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_addError(error, t2); }, close$0(_) { var t1 = this._async$_sink; if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_close(); }, $isEventSink: 1 }; A._SinkTransformerStreamSubscription.prototype = { _onPause$0() { var t1 = this._async$_subscription; if (t1 != null) t1.pause$0(0); }, _onResume$0() { var t1 = this._async$_subscription; if (t1 != null) t1.resume$0(0); }, _onCancel$0() { var subscription = this._async$_subscription; if (subscription != null) { this._async$_subscription = null; return subscription.cancel$0(0); } return null; }, _handleData$1(data) { var e, s, t1, exception; try { t1 = this.___SinkTransformerStreamSubscription__transformerSink_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.add$1(0, data); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); if ((this._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); this.super$_BufferingStreamSubscription$_addError(e, s); } }, _async$_handleError$2(error, stackTrace) { var e, s, t1, exception, _this = this, _s24_ = "Stream is already closed"; try { t1 = _this.___SinkTransformerStreamSubscription__transformerSink_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.addError$2(error, stackTrace); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); if (e === error) { if ((_this._state & 2) !== 0) A.throwExpression(A.StateError$(_s24_)); _this.super$_BufferingStreamSubscription$_addError(error, stackTrace); } else { if ((_this._state & 2) !== 0) A.throwExpression(A.StateError$(_s24_)); _this.super$_BufferingStreamSubscription$_addError(e, s); } } }, _handleDone$0() { var e, s, t1, exception, _this = this; try { _this._async$_subscription = null; t1 = _this.___SinkTransformerStreamSubscription__transformerSink_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.close$0(0); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); if ((_this._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); _this.super$_BufferingStreamSubscription$_addError(e, s); } } }; A._StreamSinkTransformer.prototype = { bind$1(_, stream) { var t1 = this.$ti; return new A._BoundSinkStream(this._sinkMapper, stream, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_BoundSinkStream<1,2>")); } }; A._BoundSinkStream.prototype = { get$isBroadcast() { return this._stream.get$isBroadcast(); }, listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { var t1 = this.$ti, t2 = $.Zone__current, t3 = cancelOnError === true ? 1 : 0, t4 = A._BufferingStreamSubscription__registerDataHandler(t2, onData), t5 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError), t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone, subscription = new A._SinkTransformerStreamSubscription(t4, t5, t6, t2, t3, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_SinkTransformerStreamSubscription<1,2>")); subscription.___SinkTransformerStreamSubscription__transformerSink_A = this._sinkMapper.call$1(new A._EventSinkWrapper(subscription, t1._eval$1("_EventSinkWrapper<2>"))); subscription._async$_subscription = this._stream.listen$3$onDone$onError(0, subscription.get$_handleData(), subscription.get$_handleDone(), subscription.get$_async$_handleError()); return subscription; }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); } }; A._HandlerEventSink.prototype = { add$1(_, data) { var handleData, t1, sink = this._async$_sink; if (sink == null) throw A.wrapException(A.StateError$("Sink is closed")); handleData = this._handleData; if (handleData != null) handleData.call$2(data, sink); else { this.$ti._rest[1]._as(data); t1 = sink._async$_sink; if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_add(0, data); } }, addError$2(error, stackTrace) { var sink, handleError; A.checkNotNullable(error, "error", type$.Object); sink = this._async$_sink; if (sink == null) throw A.wrapException(A.StateError$("Sink is closed")); handleError = this._async$_handleError; if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); if (handleError != null) handleError.call$3(error, stackTrace, sink); else sink.addError$2(error, stackTrace); }, close$0(_) { var handleDone, t1, sink = this._async$_sink; if (sink == null) return; this._async$_sink = null; handleDone = this._handleDone; if (handleDone != null) handleDone.call$1(sink); else { t1 = sink._async$_sink; if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_close(); } }, $isEventSink: 1 }; A._StreamHandlerTransformer.prototype = { bind$1(_, stream) { return this.super$_StreamSinkTransformer$bind(0, stream); } }; A._StreamHandlerTransformer_closure.prototype = { call$1(outputSink) { var _this = this; return new A._HandlerEventSink(_this.handleData, _this.handleError, _this.handleDone, outputSink, _this.S._eval$1("@<0>")._bind$1(_this.T)._eval$1("_HandlerEventSink<1,2>")); }, $signature() { return this.S._eval$1("@<0>")._bind$1(this.T)._eval$1("_HandlerEventSink<1,2>(EventSink<2>)"); } }; A._Zone.prototype = {}; A._rootHandleError_closure.prototype = { call$0() { A.Error_throwWithStackTrace(this.error, this.stackTrace); }, $signature: 0 }; A._RootZone.prototype = { runGuarded$1(f) { var e, s, exception; try { if (B.C__RootZone === $.Zone__current) { f.call$0(); return; } A._rootRun(null, null, this, f); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._rootHandleError(e, s); } }, runUnaryGuarded$1$2(f, arg) { var e, s, exception; try { if (B.C__RootZone === $.Zone__current) { f.call$1(arg); return; } A._rootRunUnary(null, null, this, f, arg); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._rootHandleError(e, s); } }, runUnaryGuarded$2(f, arg) { return this.runUnaryGuarded$1$2(f, arg, type$.dynamic); }, runBinaryGuarded$2$3(f, arg1, arg2) { var e, s, exception; try { if (B.C__RootZone === $.Zone__current) { f.call$2(arg1, arg2); return; } A._rootRunBinary(null, null, this, f, arg1, arg2); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._rootHandleError(e, s); } }, runBinaryGuarded$3(f, arg1, arg2) { var t1 = type$.dynamic; return this.runBinaryGuarded$2$3(f, arg1, arg2, t1, t1); }, bindBinaryCallback$3$1(f, $R, T1, T2) { return new A._RootZone_bindBinaryCallback_closure(this, f, T1, T2, $R); }, bindCallbackGuarded$1(f) { return new A._RootZone_bindCallbackGuarded_closure(this, f); }, bindUnaryCallbackGuarded$1$1(f, $T) { return new A._RootZone_bindUnaryCallbackGuarded_closure(this, f, $T); }, $index(_, key) { return null; }, run$1$1(f) { if ($.Zone__current === B.C__RootZone) return f.call$0(); return A._rootRun(null, null, this, f); }, run$1(f) { return this.run$1$1(f, type$.dynamic); }, runUnary$2$2(f, arg) { if ($.Zone__current === B.C__RootZone) return f.call$1(arg); return A._rootRunUnary(null, null, this, f, arg); }, runUnary$2(f, arg) { var t1 = type$.dynamic; return this.runUnary$2$2(f, arg, t1, t1); }, runBinary$3$3(f, arg1, arg2) { if ($.Zone__current === B.C__RootZone) return f.call$2(arg1, arg2); return A._rootRunBinary(null, null, this, f, arg1, arg2); }, runBinary$3(f, arg1, arg2) { var t1 = type$.dynamic; return this.runBinary$3$3(f, arg1, arg2, t1, t1, t1); }, registerBinaryCallback$3$1(f) { return f; }, registerBinaryCallback$1(f) { var t1 = type$.dynamic; return this.registerBinaryCallback$3$1(f, t1, t1, t1); } }; A._RootZone_bindBinaryCallback_closure.prototype = { call$2(arg1, arg2) { return this.$this.runBinary$3(this.f, arg1, arg2); }, $signature() { return this.R._eval$1("@<0>")._bind$1(this.T1)._bind$1(this.T2)._eval$1("1(2,3)"); } }; A._RootZone_bindCallbackGuarded_closure.prototype = { call$0() { return this.$this.runGuarded$1(this.f); }, $signature: 0 }; A._RootZone_bindUnaryCallbackGuarded_closure.prototype = { call$1(arg) { return this.$this.runUnaryGuarded$2(this.f, arg); }, $signature() { return this.T._eval$1("~(0)"); } }; A._HashMap.prototype = { get$length(_) { return this._collection$_length; }, get$isEmpty(_) { return this._collection$_length === 0; }, get$isNotEmpty(_) { return this._collection$_length !== 0; }, get$keys(_) { return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>")); }, get$values(_) { var t1 = A._instanceType(this); return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]); }, containsKey$1(_, key) { var strings, nums; if (typeof key == "string" && key !== "__proto__") { strings = this._collection$_strings; return strings == null ? false : strings[key] != null; } else if (typeof key == "number" && (key & 1073741823) === key) { nums = this._collection$_nums; return nums == null ? false : nums[key] != null; } else return this._containsKey$1(key); }, _containsKey$1(key) { var rest = this._collection$_rest; if (rest == null) return false; return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0; }, addAll$1(_, other) { other.forEach$1(0, new A._HashMap_addAll_closure(this)); }, $index(_, key) { var strings, t1, nums; if (typeof key == "string" && key !== "__proto__") { strings = this._collection$_strings; t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key); return t1; } else if (typeof key == "number" && (key & 1073741823) === key) { nums = this._collection$_nums; t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key); return t1; } else return this._get$1(0, key); }, _get$1(_, key) { var bucket, index, rest = this._collection$_rest; if (rest == null) return null; bucket = this._getBucket$2(rest, key); index = this._findBucketIndex$2(bucket, key); return index < 0 ? null : bucket[index + 1]; }, $indexSet(_, key, value) { var strings, nums, _this = this; if (typeof key == "string" && key !== "__proto__") { strings = _this._collection$_strings; _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value); } else if (typeof key == "number" && (key & 1073741823) === key) { nums = _this._collection$_nums; _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value); } else _this._set$2(key, value); }, _set$2(key, value) { var hash, bucket, index, _this = this, rest = _this._collection$_rest; if (rest == null) rest = _this._collection$_rest = A._HashMap__newHashTable(); hash = _this._computeHashCode$1(key); bucket = rest[hash]; if (bucket == null) { A._HashMap__setTableEntry(rest, hash, [key, value]); ++_this._collection$_length; _this._collection$_keys = null; } else { index = _this._findBucketIndex$2(bucket, key); if (index >= 0) bucket[index + 1] = value; else { bucket.push(key, value); ++_this._collection$_length; _this._collection$_keys = null; } } }, putIfAbsent$2(_, key, ifAbsent) { var t1, value, _this = this; if (_this.containsKey$1(0, key)) { t1 = _this.$index(0, key); return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1; } value = ifAbsent.call$0(); _this.$indexSet(0, key, value); return value; }, remove$1(_, key) { var _this = this; if (typeof key == "string" && key !== "__proto__") return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, key); else if (typeof key == "number" && (key & 1073741823) === key) return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, key); else return _this._remove$1(0, key); }, _remove$1(_, key) { var hash, bucket, index, result, _this = this, rest = _this._collection$_rest; if (rest == null) return null; hash = _this._computeHashCode$1(key); bucket = rest[hash]; index = _this._findBucketIndex$2(bucket, key); if (index < 0) return null; --_this._collection$_length; _this._collection$_keys = null; result = bucket.splice(index, 2)[1]; if (0 === bucket.length) delete rest[hash]; return result; }, clear$0(_) { var _this = this; if (_this._collection$_length > 0) { _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_keys = null; _this._collection$_length = 0; } }, forEach$1(_, action) { var $length, t1, i, key, t2, _this = this, keys = _this._computeKeys$0(); for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) { key = keys[i]; t2 = _this.$index(0, key); action.call$2(key, t2 == null ? t1._as(t2) : t2); if (keys !== _this._collection$_keys) throw A.wrapException(A.ConcurrentModificationError$(_this)); } }, _computeKeys$0() { var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, result = _this._collection$_keys; if (result != null) return result; result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); strings = _this._collection$_strings; if (strings != null) { names = Object.getOwnPropertyNames(strings); entries = names.length; for (index = 0, i = 0; i < entries; ++i) { result[index] = names[i]; ++index; } } else index = 0; nums = _this._collection$_nums; if (nums != null) { names = Object.getOwnPropertyNames(nums); entries = names.length; for (i = 0; i < entries; ++i) { result[index] = +names[i]; ++index; } } rest = _this._collection$_rest; if (rest != null) { names = Object.getOwnPropertyNames(rest); entries = names.length; for (i = 0; i < entries; ++i) { bucket = rest[names[i]]; $length = bucket.length; for (i0 = 0; i0 < $length; i0 += 2) { result[index] = bucket[i0]; ++index; } } } return _this._collection$_keys = result; }, _collection$_addHashTableEntry$3(table, key, value) { if (table[key] == null) { ++this._collection$_length; this._collection$_keys = null; } A._HashMap__setTableEntry(table, key, value); }, _collection$_removeHashTableEntry$2(table, key) { var value; if (table != null && table[key] != null) { value = A._HashMap__getTableEntry(table, key); delete table[key]; --this._collection$_length; this._collection$_keys = null; return value; } else return null; }, _computeHashCode$1(key) { return J.get$hashCode$(key) & 1073741823; }, _getBucket$2(table, key) { return table[this._computeHashCode$1(key)]; }, _findBucketIndex$2(bucket, key) { var $length, i; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; i += 2) if (J.$eq$(bucket[i], key)) return i; return -1; } }; A._HashMap_values_closure.prototype = { call$1(each) { var t1 = this.$this, t2 = t1.$index(0, each); return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2; }, $signature() { return A._instanceType(this.$this)._eval$1("2(1)"); } }; A._HashMap_addAll_closure.prototype = { call$2(key, value) { this.$this.$indexSet(0, key, value); }, $signature() { return A._instanceType(this.$this)._eval$1("~(1,2)"); } }; A._IdentityHashMap.prototype = { _computeHashCode$1(key) { return A.objectHashCode(key) & 1073741823; }, _findBucketIndex$2(bucket, key) { var $length, i, t1; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; i += 2) { t1 = bucket[i]; if (t1 == null ? key == null : t1 === key) return i; } return -1; } }; A._CustomHashMap.prototype = { $index(_, key) { if (!this._validKey.call$1(key)) return null; return this.super$_HashMap$_get(0, key); }, $indexSet(_, key, value) { this.super$_HashMap$_set(key, value); }, containsKey$1(_, key) { if (!this._validKey.call$1(key)) return false; return this.super$_HashMap$_containsKey(key); }, remove$1(_, key) { if (!this._validKey.call$1(key)) return null; return this.super$_HashMap$_remove(0, key); }, _computeHashCode$1(key) { return this._hashCode.call$1(key) & 1073741823; }, _findBucketIndex$2(bucket, key) { var $length, t1, i; if (bucket == null) return -1; $length = bucket.length; for (t1 = this._equals, i = 0; i < $length; i += 2) if (t1.call$2(bucket[i], key)) return i; return -1; } }; A._CustomHashMap_closure.prototype = { call$1(v) { return this.K._is(v); }, $signature: 153 }; A._HashMapKeyIterable.prototype = { get$length(_) { return this._collection$_map._collection$_length; }, get$isEmpty(_) { return this._collection$_map._collection$_length === 0; }, get$isNotEmpty(_) { return this._collection$_map._collection$_length !== 0; }, get$iterator(_) { var t1 = this._collection$_map; return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); }, contains$1(_, element) { return this._collection$_map.containsKey$1(0, element); }, forEach$1(_, f) { var $length, i, t1 = this._collection$_map, keys = t1._computeKeys$0(); for ($length = keys.length, i = 0; i < $length; ++i) { f.call$1(keys[i]); if (keys !== t1._collection$_keys) throw A.wrapException(A.ConcurrentModificationError$(t1)); } } }; A._HashMapKeyIterator.prototype = { get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, keys = _this._collection$_keys, offset = _this._offset, t1 = _this._collection$_map; if (keys !== t1._collection$_keys) throw A.wrapException(A.ConcurrentModificationError$(t1)); else if (offset >= keys.length) { _this._collection$_current = null; return false; } else { _this._collection$_current = keys[offset]; _this._offset = offset + 1; return true; } } }; A._LinkedCustomHashMap.prototype = { $index(_, key) { if (!this._validKey.call$1(key)) return null; return this.super$JsLinkedHashMap$internalGet(key); }, $indexSet(_, key, value) { this.super$JsLinkedHashMap$internalSet(key, value); }, containsKey$1(_, key) { if (!this._validKey.call$1(key)) return false; return this.super$JsLinkedHashMap$internalContainsKey(key); }, remove$1(_, key) { if (!this._validKey.call$1(key)) return null; return this.super$JsLinkedHashMap$internalRemove(key); }, internalComputeHashCode$1(key) { return this._hashCode.call$1(key) & 1073741823; }, internalFindBucketIndex$2(bucket, key) { var $length, t1, i; if (bucket == null) return -1; $length = bucket.length; for (t1 = this._equals, i = 0; i < $length; ++i) if (t1.call$2(bucket[i].hashMapCellKey, key)) return i; return -1; } }; A._LinkedCustomHashMap_closure.prototype = { call$1(v) { return this.K._is(v); }, $signature: 153 }; A._HashSet.prototype = { _newSet$0() { return new A._HashSet(A._instanceType(this)._eval$1("_HashSet<1>")); }, _newSimilarSet$1$0($R) { return new A._HashSet($R._eval$1("_HashSet<0>")); }, _newSimilarSet$0() { return this._newSimilarSet$1$0(type$.dynamic); }, get$iterator(_) { return new A._HashSetIterator(this, this._computeElements$0(), A._instanceType(this)._eval$1("_HashSetIterator<1>")); }, get$length(_) { return this._collection$_length; }, get$isEmpty(_) { return this._collection$_length === 0; }, get$isNotEmpty(_) { return this._collection$_length !== 0; }, contains$1(_, object) { var strings, nums; if (typeof object == "string" && object !== "__proto__") { strings = this._collection$_strings; return strings == null ? false : strings[object] != null; } else if (typeof object == "number" && (object & 1073741823) === object) { nums = this._collection$_nums; return nums == null ? false : nums[object] != null; } else return this._contains$1(object); }, _contains$1(object) { var rest = this._collection$_rest; if (rest == null) return false; return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; }, add$1(_, element) { var strings, nums, _this = this; if (typeof element == "string" && element !== "__proto__") { strings = _this._collection$_strings; return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._HashSet__newHashTable() : strings, element); } else if (typeof element == "number" && (element & 1073741823) === element) { nums = _this._collection$_nums; return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._HashSet__newHashTable() : nums, element); } else return _this._collection$_add$1(0, element); }, _collection$_add$1(_, element) { var hash, bucket, _this = this, rest = _this._collection$_rest; if (rest == null) rest = _this._collection$_rest = A._HashSet__newHashTable(); hash = _this._computeHashCode$1(element); bucket = rest[hash]; if (bucket == null) rest[hash] = [element]; else { if (_this._findBucketIndex$2(bucket, element) >= 0) return false; bucket.push(element); } ++_this._collection$_length; _this._collection$_elements = null; return true; }, addAll$1(_, objects) { var t1; for (t1 = J.get$iterator$ax(objects); t1.moveNext$0();) this.add$1(0, t1.get$current(t1)); }, remove$1(_, object) { var _this = this; if (typeof object == "string" && object !== "__proto__") return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); else if (typeof object == "number" && (object & 1073741823) === object) return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); else return _this._remove$1(0, object); }, _remove$1(_, object) { var hash, bucket, index, _this = this, rest = _this._collection$_rest; if (rest == null) return false; hash = _this._computeHashCode$1(object); bucket = rest[hash]; index = _this._findBucketIndex$2(bucket, object); if (index < 0) return false; --_this._collection$_length; _this._collection$_elements = null; bucket.splice(index, 1); if (0 === bucket.length) delete rest[hash]; return true; }, clear$0(_) { var _this = this; if (_this._collection$_length > 0) { _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_elements = null; _this._collection$_length = 0; } }, _computeElements$0() { var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, result = _this._collection$_elements; if (result != null) return result; result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); strings = _this._collection$_strings; if (strings != null) { names = Object.getOwnPropertyNames(strings); entries = names.length; for (index = 0, i = 0; i < entries; ++i) { result[index] = names[i]; ++index; } } else index = 0; nums = _this._collection$_nums; if (nums != null) { names = Object.getOwnPropertyNames(nums); entries = names.length; for (i = 0; i < entries; ++i) { result[index] = +names[i]; ++index; } } rest = _this._collection$_rest; if (rest != null) { names = Object.getOwnPropertyNames(rest); entries = names.length; for (i = 0; i < entries; ++i) { bucket = rest[names[i]]; $length = bucket.length; for (i0 = 0; i0 < $length; ++i0) { result[index] = bucket[i0]; ++index; } } } return _this._collection$_elements = result; }, _collection$_addHashTableEntry$2(table, element) { if (table[element] != null) return false; table[element] = 0; ++this._collection$_length; this._collection$_elements = null; return true; }, _collection$_removeHashTableEntry$2(table, element) { if (table != null && table[element] != null) { delete table[element]; --this._collection$_length; this._collection$_elements = null; return true; } else return false; }, _computeHashCode$1(element) { return J.get$hashCode$(element) & 1073741823; }, _findBucketIndex$2(bucket, element) { var $length, i; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; ++i) if (J.$eq$(bucket[i], element)) return i; return -1; } }; A._HashSetIterator.prototype = { get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, elements = _this._collection$_elements, offset = _this._offset, t1 = _this._set; if (elements !== t1._collection$_elements) throw A.wrapException(A.ConcurrentModificationError$(t1)); else if (offset >= elements.length) { _this._collection$_current = null; return false; } else { _this._collection$_current = elements[offset]; _this._offset = offset + 1; return true; } } }; A._LinkedHashSet.prototype = { _newSet$0() { return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>")); }, _newSimilarSet$1$0($R) { return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>")); }, _newSimilarSet$0() { return this._newSimilarSet$1$0(type$.dynamic); }, get$iterator(_) { var _this = this, t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>")); t1._collection$_cell = _this._collection$_first; return t1; }, get$length(_) { return this._collection$_length; }, get$isEmpty(_) { return this._collection$_length === 0; }, get$isNotEmpty(_) { return this._collection$_length !== 0; }, contains$1(_, object) { var strings, nums; if (typeof object == "string" && object !== "__proto__") { strings = this._collection$_strings; if (strings == null) return false; return strings[object] != null; } else if (typeof object == "number" && (object & 1073741823) === object) { nums = this._collection$_nums; if (nums == null) return false; return nums[object] != null; } else return this._contains$1(object); }, _contains$1(object) { var rest = this._collection$_rest; if (rest == null) return false; return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0; }, forEach$1(_, action) { var _this = this, cell = _this._collection$_first, modifications = _this._collection$_modifications; for (; cell != null;) { action.call$1(cell._element); if (modifications !== _this._collection$_modifications) throw A.wrapException(A.ConcurrentModificationError$(_this)); cell = cell._collection$_next; } }, get$first(_) { var first = this._collection$_first; if (first == null) throw A.wrapException(A.StateError$("No elements")); return first._element; }, get$last(_) { var last = this._collection$_last; if (last == null) throw A.wrapException(A.StateError$("No elements")); return last._element; }, add$1(_, element) { var strings, nums, _this = this; if (typeof element == "string" && element !== "__proto__") { strings = _this._collection$_strings; return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element); } else if (typeof element == "number" && (element & 1073741823) === element) { nums = _this._collection$_nums; return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element); } else return _this._collection$_add$1(0, element); }, _collection$_add$1(_, element) { var hash, bucket, _this = this, rest = _this._collection$_rest; if (rest == null) rest = _this._collection$_rest = A._LinkedHashSet__newHashTable(); hash = _this._computeHashCode$1(element); bucket = rest[hash]; if (bucket == null) rest[hash] = [_this._collection$_newLinkedCell$1(element)]; else { if (_this._findBucketIndex$2(bucket, element) >= 0) return false; bucket.push(_this._collection$_newLinkedCell$1(element)); } return true; }, remove$1(_, object) { var _this = this; if (typeof object == "string" && object !== "__proto__") return _this._collection$_removeHashTableEntry$2(_this._collection$_strings, object); else if (typeof object == "number" && (object & 1073741823) === object) return _this._collection$_removeHashTableEntry$2(_this._collection$_nums, object); else return _this._remove$1(0, object); }, _remove$1(_, object) { var hash, bucket, index, cell, _this = this, rest = _this._collection$_rest; if (rest == null) return false; hash = _this._computeHashCode$1(object); bucket = rest[hash]; index = _this._findBucketIndex$2(bucket, object); if (index < 0) return false; cell = bucket.splice(index, 1)[0]; if (0 === bucket.length) delete rest[hash]; _this._collection$_unlinkCell$1(cell); return true; }, removeWhere$1(_, test) { this._filterWhere$2(test, true); }, _filterWhere$2(test, removeMatching) { var element, next, modifications, t1, _this = this, cell = _this._collection$_first; for (; cell != null; cell = next) { element = cell._element; next = cell._collection$_next; modifications = _this._collection$_modifications; t1 = test.call$1(element); if (modifications !== _this._collection$_modifications) throw A.wrapException(A.ConcurrentModificationError$(_this)); if (true === t1) _this.remove$1(0, element); } }, clear$0(_) { var _this = this; if (_this._collection$_length > 0) { _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_first = _this._collection$_last = null; _this._collection$_length = 0; _this._collection$_modified$0(); } }, _collection$_addHashTableEntry$2(table, element) { if (table[element] != null) return false; table[element] = this._collection$_newLinkedCell$1(element); return true; }, _collection$_removeHashTableEntry$2(table, element) { var cell; if (table == null) return false; cell = table[element]; if (cell == null) return false; this._collection$_unlinkCell$1(cell); delete table[element]; return true; }, _collection$_modified$0() { this._collection$_modifications = this._collection$_modifications + 1 & 1073741823; }, _collection$_newLinkedCell$1(element) { var t1, _this = this, cell = new A._LinkedHashSetCell(element); if (_this._collection$_first == null) _this._collection$_first = _this._collection$_last = cell; else { t1 = _this._collection$_last; t1.toString; cell._collection$_previous = t1; _this._collection$_last = t1._collection$_next = cell; } ++_this._collection$_length; _this._collection$_modified$0(); return cell; }, _collection$_unlinkCell$1(cell) { var _this = this, previous = cell._collection$_previous, next = cell._collection$_next; if (previous == null) _this._collection$_first = next; else previous._collection$_next = next; if (next == null) _this._collection$_last = previous; else next._collection$_previous = previous; --_this._collection$_length; _this._collection$_modified$0(); }, _computeHashCode$1(element) { return J.get$hashCode$(element) & 1073741823; }, _findBucketIndex$2(bucket, element) { var $length, i; if (bucket == null) return -1; $length = bucket.length; for (i = 0; i < $length; ++i) if (J.$eq$(bucket[i]._element, element)) return i; return -1; }, $isLinkedHashSet: 1 }; A._LinkedHashSetCell.prototype = {}; A._LinkedHashSetIterator.prototype = { get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, cell = _this._collection$_cell, t1 = _this._set; if (_this._collection$_modifications !== t1._collection$_modifications) throw A.wrapException(A.ConcurrentModificationError$(t1)); else if (cell == null) { _this._collection$_current = null; return false; } else { _this._collection$_current = cell._element; _this._collection$_cell = cell._collection$_next; return true; } } }; A.UnmodifiableListView.prototype = { cast$1$0(_, $R) { return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>")); }, get$length(_) { return J.get$length$asx(this._collection$_source); }, $index(_, index) { return J.elementAt$1$ax(this._collection$_source, index); } }; A.LinkedHashMap_LinkedHashMap$from_closure.prototype = { call$2(k, v) { this.result.$indexSet(0, this.K._as(k), this.V._as(v)); }, $signature: 221 }; A.LinkedList.prototype = { remove$1(_, entry) { if (entry.LinkedListEntry__list !== this) return false; this._unlink$1(entry); return true; }, contains$1(_, entry) { return type$.LinkedListEntry_LinkedListEntry_dynamic._is(entry) && this === entry.LinkedListEntry__list; }, get$iterator(_) { var _this = this; return new A._LinkedListIterator(_this, _this._modificationCount, _this._collection$_first, _this.$ti._eval$1("_LinkedListIterator<1>")); }, get$length(_) { return this._collection$_length; }, get$first(_) { var t1; if (this._collection$_length === 0) throw A.wrapException(A.StateError$("No such element")); t1 = this._collection$_first; t1.toString; return t1; }, get$last(_) { var t1; if (this._collection$_length === 0) throw A.wrapException(A.StateError$("No such element")); t1 = this._collection$_first.LinkedListEntry__previous; t1.toString; return t1; }, get$single(_) { var t1 = this._collection$_length; if (t1 === 0) throw A.wrapException(A.StateError$("No such element")); if (t1 > 1) throw A.wrapException(A.StateError$("Too many elements")); t1 = this._collection$_first; t1.toString; return t1; }, forEach$1(_, action) { var t1, current, _this = this, modificationCount = _this._modificationCount; if (_this._collection$_length === 0) return; t1 = _this._collection$_first; t1.toString; current = t1; do { action.call$1(current); if (modificationCount !== _this._modificationCount) throw A.wrapException(A.ConcurrentModificationError$(_this)); t1 = current.LinkedListEntry__next; t1.toString; if (t1 !== _this._collection$_first) { current = t1; continue; } else break; } while (true); }, get$isEmpty(_) { return this._collection$_length === 0; }, _insertBefore$3$updateFirst(entry, newEntry, updateFirst) { var t1, t2, _this = this; if (newEntry.LinkedListEntry__list != null) throw A.wrapException(A.StateError$("LinkedListEntry is already in a LinkedList")); ++_this._modificationCount; newEntry.LinkedListEntry__list = _this; t1 = _this._collection$_length; if (t1 === 0) { newEntry.LinkedListEntry__next = newEntry; _this._collection$_first = newEntry.LinkedListEntry__previous = newEntry; _this._collection$_length = t1 + 1; return; } t2 = entry.LinkedListEntry__previous; t2.toString; newEntry.LinkedListEntry__previous = t2; newEntry.LinkedListEntry__next = entry; entry.LinkedListEntry__previous = t2.LinkedListEntry__next = newEntry; if (updateFirst && entry == _this._collection$_first) _this._collection$_first = newEntry; _this._collection$_length = t1 + 1; }, _unlink$1(entry) { var t1, t2, _this = this; ++_this._modificationCount; t1 = entry.LinkedListEntry__next; t1.LinkedListEntry__previous = entry.LinkedListEntry__previous; entry.LinkedListEntry__previous.LinkedListEntry__next = t1; t2 = --_this._collection$_length; entry.LinkedListEntry__list = entry.LinkedListEntry__next = entry.LinkedListEntry__previous = null; if (t2 === 0) _this._collection$_first = null; else if (entry === _this._collection$_first) _this._collection$_first = t1; } }; A._LinkedListIterator.prototype = { get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var _this = this, t1 = _this._collection$_list; if (_this._modificationCount !== t1._modificationCount) throw A.wrapException(A.ConcurrentModificationError$(_this)); if (t1._collection$_length !== 0) t1 = _this._visitedFirst && _this._collection$_next === t1.get$first(0); else t1 = true; if (t1) { _this._collection$_current = null; return false; } _this._visitedFirst = true; t1 = _this._collection$_next; _this._collection$_current = t1; _this._collection$_next = t1.LinkedListEntry__next; return true; } }; A.LinkedListEntry.prototype = { get$next(_) { var t1 = this.LinkedListEntry__list; if (t1 == null || t1.get$first(0) === this.LinkedListEntry__next) return null; return this.LinkedListEntry__next; }, get$previous() { var t1 = this.LinkedListEntry__list; if (t1 == null || this === t1.get$first(0)) return null; return this.LinkedListEntry__previous; } }; A.ListBase.prototype = { get$iterator(receiver) { return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, forEach$1(receiver, action) { var i, $length = this.get$length(receiver); for (i = 0; i < $length; ++i) { action.call$1(this.$index(receiver, i)); if ($length !== this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } }, get$isEmpty(receiver) { return this.get$length(receiver) === 0; }, get$isNotEmpty(receiver) { return !this.get$isEmpty(receiver); }, get$first(receiver) { if (this.get$length(receiver) === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.$index(receiver, 0); }, get$last(receiver) { if (this.get$length(receiver) === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.$index(receiver, this.get$length(receiver) - 1); }, get$single(receiver) { if (this.get$length(receiver) === 0) throw A.wrapException(A.IterableElementError_noElement()); if (this.get$length(receiver) > 1) throw A.wrapException(A.IterableElementError_tooMany()); return this.$index(receiver, 0); }, contains$1(receiver, element) { var i, $length = this.get$length(receiver); for (i = 0; i < $length; ++i) { if (J.$eq$(this.$index(receiver, i), element)) return true; if ($length !== this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return false; }, any$1(receiver, test) { var i, $length = this.get$length(receiver); for (i = 0; i < $length; ++i) { if (test.call$1(this.$index(receiver, i))) return true; if ($length !== this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return false; }, firstWhere$2$orElse(receiver, test, orElse) { var i, element, $length = this.get$length(receiver); for (i = 0; i < $length; ++i) { element = this.$index(receiver, i); if (test.call$1(element)) return element; if ($length !== this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return orElse.call$0(); }, join$1(receiver, separator) { var t1; if (this.get$length(receiver) === 0) return ""; t1 = A.StringBuffer__writeAll("", receiver, separator); return t1.charCodeAt(0) == 0 ? t1 : t1; }, join$0(receiver) { return this.join$1(receiver, ""); }, where$1(receiver, test) { return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>")); }, map$1$1(receiver, f, $T) { return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, map$1(receiver, f) { return this.map$1$1(receiver, f, type$.dynamic); }, expand$1$1(receiver, f, $T) { return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, fold$1$2(receiver, initialValue, combine) { var value, i, $length = this.get$length(receiver); for (value = initialValue, i = 0; i < $length; ++i) { value = combine.call$2(value, this.$index(receiver, i)); if ($length !== this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return value; }, skip$1(receiver, count) { return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E")); }, take$1(receiver, count) { return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E")); }, toList$1$growable(receiver, growable) { var t1, first, result, i, _this = this; if (_this.get$isEmpty(receiver)) { t1 = A.instanceType(receiver)._eval$1("ListBase.E"); return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); } first = _this.$index(receiver, 0); result = A.List_List$filled(_this.get$length(receiver), first, growable, A.instanceType(receiver)._eval$1("ListBase.E")); for (i = 1; i < _this.get$length(receiver); ++i) result[i] = _this.$index(receiver, i); return result; }, toList$0(receiver) { return this.toList$1$growable(receiver, true); }, toSet$0(receiver) { var i, result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E")); for (i = 0; i < this.get$length(receiver); ++i) result.add$1(0, this.$index(receiver, i)); return result; }, add$1(receiver, element) { var t1 = this.get$length(receiver); this.set$length(receiver, t1 + 1); this.$indexSet(receiver, t1, element); }, addAll$1(receiver, iterable) { var t1, i = this.get$length(receiver); for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();) { this.add$1(receiver, t1.get$current(t1)); ++i; } }, remove$1(receiver, element) { var i; for (i = 0; i < this.get$length(receiver); ++i) if (J.$eq$(this.$index(receiver, i), element)) { this._closeGap$2(receiver, i, i + 1); return true; } return false; }, _closeGap$2(receiver, start, end) { var i, _this = this, $length = _this.get$length(receiver), size = end - start; for (i = end; i < $length; ++i) _this.$indexSet(receiver, i - size, _this.$index(receiver, i)); _this.set$length(receiver, $length - size); }, removeWhere$1(receiver, test) { this._collection$_filter$2(receiver, test, false); }, retainWhere$1(receiver, test) { this._collection$_filter$2(receiver, test, true); }, _collection$_filter$2(receiver, test, retainMatching) { var i, element, _this = this, retained = A._setArrayType([], A.instanceType(receiver)._eval$1("JSArray<ListBase.E>")), $length = _this.get$length(receiver); for (i = 0; i < $length; ++i) { element = _this.$index(receiver, i); if (J.$eq$(test.call$1(element), retainMatching)) retained.push(element); if ($length !== _this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } if (retained.length !== _this.get$length(receiver)) { _this.setRange$3(receiver, 0, retained.length, retained); _this.set$length(receiver, retained.length); } }, clear$0(receiver) { this.set$length(receiver, 0); }, cast$1$0(receiver, $R) { return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>")); }, removeLast$0(receiver) { var result, _this = this; if (_this.get$length(receiver) === 0) throw A.wrapException(A.IterableElementError_noElement()); result = _this.$index(receiver, _this.get$length(receiver) - 1); _this.set$length(receiver, _this.get$length(receiver) - 1); return result; }, sort$1(receiver, compare) { var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare; A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1); }, asMap$0(receiver) { return new A.ListMapView(receiver, A.instanceType(receiver)._eval$1("ListMapView<ListBase.E>")); }, $add(receiver, other) { var t1 = A.List_List$of(receiver, true, A.instanceType(receiver)._eval$1("ListBase.E")); B.JSArray_methods.addAll$1(t1, other); return t1; }, sublist$2(receiver, start, end) { var listLength = this.get$length(receiver); if (end == null) end = listLength; A.RangeError_checkValidRange(start, end, listLength, null, null); return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListBase.E")); }, sublist$1(receiver, start) { return this.sublist$2(receiver, start, null); }, getRange$2(receiver, start, end) { A.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null); return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E")); }, removeRange$2(receiver, start, end) { A.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null); if (end > start) this._closeGap$2(receiver, start, end); }, fillRange$3(receiver, start, end, fill) { var i; A.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null); for (i = start; i < end; ++i) this.$indexSet(receiver, i, fill); }, setRange$4(receiver, start, end, iterable, skipCount) { var $length, otherStart, otherList, t1, i; A.RangeError_checkValidRange(start, end, this.get$length(receiver), null, null); $length = end - start; if ($length === 0) return; A.RangeError_checkNotNegative(skipCount, "skipCount"); if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) { otherStart = skipCount; otherList = iterable; } else { t1 = J.skip$1$ax(iterable, skipCount); otherList = t1.toList$1$growable(t1, false); otherStart = 0; } t1 = J.getInterceptor$asx(otherList); if (otherStart + $length > t1.get$length(otherList)) throw A.wrapException(A.IterableElementError_tooFew()); if (otherStart < start) for (i = $length - 1; i >= 0; --i) this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); else for (i = 0; i < $length; ++i) this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); }, setRange$3(receiver, start, end, iterable) { return this.setRange$4(receiver, start, end, iterable, 0); }, indexOf$2(receiver, element, start) { var i; for (i = start; i < this.get$length(receiver); ++i) if (J.$eq$(this.$index(receiver, i), element)) return i; return -1; }, indexOf$1(receiver, element) { return this.indexOf$2(receiver, element, 0); }, insert$2(receiver, index, element) { var $length, _this = this; A.checkNotNullable(index, "index", type$.int); $length = _this.get$length(receiver); A.RangeError_checkValueInInterval(index, 0, $length, "index"); _this.add$1(receiver, element); if (index !== $length) { _this.setRange$4(receiver, index + 1, $length + 1, receiver, index); _this.$indexSet(receiver, index, element); } }, removeAt$1(receiver, index) { var result = this.$index(receiver, index); this._closeGap$2(receiver, index, index + 1); return result; }, insertAll$2(receiver, index, iterable) { var t1, insertionLength, oldLength, i, oldCopyStart, _this = this; A.RangeError_checkValueInInterval(index, 0, _this.get$length(receiver), "index"); if (index === _this.get$length(receiver)) { _this.addAll$1(receiver, iterable); return; } if (!type$.EfficientLengthIterable_dynamic._is(iterable) || iterable === receiver) iterable = J.toList$0$ax(iterable); t1 = J.getInterceptor$asx(iterable); insertionLength = t1.get$length(iterable); if (insertionLength === 0) return; oldLength = _this.get$length(receiver); for (i = oldLength - insertionLength; i < oldLength; ++i) _this.add$1(receiver, _this.$index(receiver, i > 0 ? i : 0)); if (t1.get$length(iterable) !== insertionLength) { _this.set$length(receiver, _this.get$length(receiver) - insertionLength); throw A.wrapException(A.ConcurrentModificationError$(iterable)); } oldCopyStart = index + insertionLength; if (oldCopyStart < oldLength) _this.setRange$4(receiver, oldCopyStart, oldLength, receiver, index); _this.setAll$2(receiver, index, iterable); }, setAll$2(receiver, index, iterable) { var t1, index0; if (type$.List_dynamic._is(iterable)) this.setRange$3(receiver, index, index + J.get$length$asx(iterable), iterable); else for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0(); index = index0) { index0 = index + 1; this.$indexSet(receiver, index, t1.get$current(t1)); } }, get$reversed(receiver) { return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>")); }, toString$0(receiver) { return A.Iterable_iterableToFullString(receiver, "[", "]"); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.MapBase.prototype = { cast$2$0(receiver, RK, RV) { var t1 = A.instanceType(receiver); return A.Map_castFrom(receiver, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV); }, forEach$1(receiver, action) { var t1, t2, key, t3; for (t1 = J.get$iterator$ax(this.get$keys(receiver)), t2 = A.instanceType(receiver)._eval$1("MapBase.V"); t1.moveNext$0();) { key = t1.get$current(t1); t3 = this.$index(receiver, key); action.call$2(key, t3 == null ? t2._as(t3) : t3); } }, putIfAbsent$2(receiver, key, ifAbsent) { var t1; if (this.containsKey$1(receiver, key)) { t1 = this.$index(receiver, key); return t1 == null ? A.instanceType(receiver)._eval$1("MapBase.V")._as(t1) : t1; } t1 = ifAbsent.call$0(); this.$indexSet(receiver, key, t1); return t1; }, update$3$ifAbsent(receiver, key, update, ifAbsent) { var t1, _this = this; if (_this.containsKey$1(receiver, key)) { t1 = _this.$index(receiver, key); t1 = update.call$1(t1 == null ? A.instanceType(receiver)._eval$1("MapBase.V")._as(t1) : t1); _this.$indexSet(receiver, key, t1); return t1; } if (ifAbsent != null) { t1 = ifAbsent.call$0(); _this.$indexSet(receiver, key, t1); return t1; } throw A.wrapException(A.ArgumentError$value(key, "key", "Key not in map.")); }, update$2(receiver, key, update) { return this.update$3$ifAbsent(receiver, key, update, null); }, updateAll$1(receiver, update) { var t1, t2, key, t3; for (t1 = J.get$iterator$ax(this.get$keys(receiver)), t2 = A.instanceType(receiver)._eval$1("MapBase.V"); t1.moveNext$0();) { key = t1.get$current(t1); t3 = this.$index(receiver, key); this.$indexSet(receiver, key, update.call$2(key, t3 == null ? t2._as(t3) : t3)); } }, get$entries(receiver) { return J.map$1$1$ax(this.get$keys(receiver), new A.MapBase_entries_closure(receiver), A.instanceType(receiver)._eval$1("MapEntry<MapBase.K,MapBase.V>")); }, map$2$1(receiver, transform, K2, V2) { var t1, t2, key, t3, entry, result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); for (t1 = J.get$iterator$ax(this.get$keys(receiver)), t2 = A.instanceType(receiver)._eval$1("MapBase.V"); t1.moveNext$0();) { key = t1.get$current(t1); t3 = this.$index(receiver, key); entry = transform.call$2(key, t3 == null ? t2._as(t3) : t3); result.$indexSet(0, entry.key, entry.value); } return result; }, map$1(receiver, transform) { var t1 = type$.dynamic; return this.map$2$1(receiver, transform, t1, t1); }, addEntries$1(receiver, newEntries) { var t1, t2; for (t1 = J.get$iterator$ax(newEntries); t1.moveNext$0();) { t2 = t1.get$current(t1); this.$indexSet(receiver, t2.key, t2.value); } }, removeWhere$1(receiver, test) { var t2, key, t3, _i, t1 = A.instanceType(receiver), keysToRemove = A._setArrayType([], t1._eval$1("JSArray<MapBase.K>")); for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) { key = t2.get$current(t2); t3 = this.$index(receiver, key); if (test.call$2(key, t3 == null ? t1._as(t3) : t3)) keysToRemove.push(key); } for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, A.throwConcurrentModificationError)(keysToRemove), ++_i) this.remove$1(receiver, keysToRemove[_i]); }, containsKey$1(receiver, key) { return J.contains$1$asx(this.get$keys(receiver), key); }, get$length(receiver) { return J.get$length$asx(this.get$keys(receiver)); }, get$isEmpty(receiver) { return J.get$isEmpty$asx(this.get$keys(receiver)); }, get$isNotEmpty(receiver) { return J.get$isNotEmpty$asx(this.get$keys(receiver)); }, get$values(receiver) { var t1 = A.instanceType(receiver); return new A._MapBaseValueIterable(receiver, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("_MapBaseValueIterable<1,2>")); }, toString$0(receiver) { return A.MapBase_mapToString(receiver); }, $isMap: 1 }; A.MapBase_entries_closure.prototype = { call$1(key) { var t1 = this.$this, t2 = J.$index$asx(t1, key); if (t2 == null) t2 = A.instanceType(t1)._eval$1("MapBase.V")._as(t2); t1 = A.instanceType(t1); return new A.MapEntry(key, t2, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("MapEntry<1,2>")); }, $signature() { return A.instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)"); } }; A.MapBase_mapToString_closure.prototype = { call$2(k, v) { var t2, t1 = this._box_0; if (!t1.first) this.result._contents += ", "; t1.first = false; t1 = this.result; t2 = t1._contents += A.S(k); t1._contents = t2 + ": "; t1._contents += A.S(v); }, $signature: 310 }; A.UnmodifiableMapBase.prototype = {}; A._MapBaseValueIterable.prototype = { get$length(_) { return J.get$length$asx(this._collection$_map); }, get$isEmpty(_) { return J.get$isEmpty$asx(this._collection$_map); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this._collection$_map); }, get$first(_) { var t1 = this._collection$_map, t2 = J.getInterceptor$x(t1); t1 = t2.$index(t1, J.get$first$ax(t2.get$keys(t1))); return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, get$single(_) { var t1 = this._collection$_map, t2 = J.getInterceptor$x(t1); t1 = t2.$index(t1, J.get$single$ax(t2.get$keys(t1))); return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, get$last(_) { var t1 = this._collection$_map, t2 = J.getInterceptor$x(t1); t1 = t2.$index(t1, J.get$last$ax(t2.get$keys(t1))); return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, get$iterator(_) { var t1 = this._collection$_map, t2 = this.$ti; return new A._MapBaseValueIterator(J.get$iterator$ax(J.get$keys$x(t1)), t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_MapBaseValueIterator<1,2>")); } }; A._MapBaseValueIterator.prototype = { moveNext$0() { var _this = this, t1 = _this._collection$_keys; if (t1.moveNext$0()) { _this._collection$_current = J.$index$asx(_this._collection$_map, t1.get$current(t1)); return true; } _this._collection$_current = null; return false; }, get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._rest[1]._as(t1) : t1; } }; A._UnmodifiableMapMixin.prototype = { $indexSet(_, key, value) { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); }, remove$1(_, key) { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); }, putIfAbsent$2(_, key, ifAbsent) { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); } }; A.MapView.prototype = { cast$2$0(_, RK, RV) { return J.cast$2$0$ax(this._collection$_map, RK, RV); }, $index(_, key) { return J.$index$asx(this._collection$_map, key); }, $indexSet(_, key, value) { J.$indexSet$ax(this._collection$_map, key, value); }, putIfAbsent$2(_, key, ifAbsent) { return J.putIfAbsent$2$x(this._collection$_map, key, ifAbsent); }, containsKey$1(_, key) { return J.containsKey$1$x(this._collection$_map, key); }, forEach$1(_, action) { J.forEach$1$ax(this._collection$_map, action); }, get$isEmpty(_) { return J.get$isEmpty$asx(this._collection$_map); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this._collection$_map); }, get$length(_) { return J.get$length$asx(this._collection$_map); }, get$keys(_) { return J.get$keys$x(this._collection$_map); }, remove$1(_, key) { return J.remove$1$ax(this._collection$_map, key); }, toString$0(_) { return J.toString$0$(this._collection$_map); }, get$values(_) { return J.get$values$x(this._collection$_map); }, get$entries(_) { return J.get$entries$x(this._collection$_map); }, map$2$1(_, transform, K2, V2) { return J.map$2$1$ax(this._collection$_map, transform, K2, V2); }, map$1(_, transform) { var t1 = type$.dynamic; return this.map$2$1(0, transform, t1, t1); }, $isMap: 1 }; A.UnmodifiableMapView.prototype = { cast$2$0(_, RK, RV) { return new A.UnmodifiableMapView(J.cast$2$0$ax(this._collection$_map, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>")); } }; A._DoubleLinkedQueueEntry.prototype = { _collection$_link$2(previous, next) { var _this = this; _this._nextLink = next; _this._previousLink = previous; if (previous != null) previous._nextLink = _this; if (next != null) next._previousLink = _this; }, _unlink$0() { var t2, _this = this, t1 = _this._previousLink; if (t1 != null) t1._nextLink = _this._nextLink; t2 = _this._nextLink; if (t2 != null) t2._previousLink = t1; _this._previousLink = _this._nextLink = null; } }; A._DoubleLinkedQueueElement.prototype = { _remove$0(_) { var t1, t2, _this = this; _this._collection$_queue = null; t1 = _this._previousLink; if (t1 != null) t1._nextLink = _this._nextLink; t2 = _this._nextLink; if (t2 != null) t2._previousLink = t1; _this._previousLink = _this._nextLink = null; return _this.element; }, remove$0(_) { var _this = this, t1 = _this._collection$_queue; if (t1 != null) --t1._elementCount; _this._collection$_queue = null; _this._unlink$0(); return _this.element; }, _asNonSentinelEntry$0() { return this; }, $isDoubleLinkedQueueEntry: 1, get$element() { return this.element; } }; A._DoubleLinkedQueueSentinel.prototype = { _asNonSentinelEntry$0() { return null; }, _remove$0(_) { throw A.wrapException(A.IterableElementError_noElement()); }, get$element() { throw A.wrapException(A.IterableElementError_noElement()); } }; A.DoubleLinkedQueue.prototype = { cast$1$0(_, $R) { return new A.CastQueue(this, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); }, get$length(_) { return this._elementCount; }, addFirst$1(value) { var t1 = this._sentinel; new A._DoubleLinkedQueueElement(this, value, t1.$ti._eval$1("_DoubleLinkedQueueElement<1>"))._collection$_link$2(t1, t1._nextLink); ++this._elementCount; }, removeLast$0(_) { var result = this._sentinel._previousLink._remove$0(0); --this._elementCount; return result; }, get$first(_) { return this._sentinel._nextLink.get$element(); }, get$last(_) { return this._sentinel._previousLink.get$element(); }, get$single(_) { var t1 = this._sentinel, t2 = t1._nextLink; if (t2 == t1._previousLink) return t2.get$element(); throw A.wrapException(A.IterableElementError_tooMany()); }, get$isEmpty(_) { var t1 = this._sentinel; return t1._nextLink === t1; }, get$iterator(_) { return new A._DoubleLinkedQueueIterator(this, this._sentinel._nextLink, this.$ti._eval$1("_DoubleLinkedQueueIterator<1>")); }, toString$0(_) { return A.Iterable_iterableToFullString(this, "{", "}"); }, $isEfficientLengthIterable: 1 }; A._DoubleLinkedQueueIterator.prototype = { moveNext$0() { var _this = this, t1 = _this._nextEntry, nextElement = t1 == null ? null : t1._asNonSentinelEntry$0(); if (nextElement == null) { _this._collection$_queue = _this._nextEntry = _this._collection$_current = null; return false; } t1 = _this._collection$_queue; if (t1 != nextElement._collection$_queue) throw A.wrapException(A.ConcurrentModificationError$(t1)); _this._collection$_current = nextElement.element; _this._nextEntry = nextElement._nextLink; return true; }, get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; } }; A.ListQueue.prototype = { cast$1$0(_, $R) { return new A.CastQueue(this, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastQueue<1,2>")); }, get$iterator(_) { var _this = this; return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>")); }, forEach$1(_, f) { var i, t1, t2, _this = this, modificationCount = _this._modificationCount; for (i = _this._head, t1 = _this.$ti._precomputed1; i !== _this._tail; i = (i + 1 & _this._table.length - 1) >>> 0) { t2 = _this._table[i]; f.call$1(t2 == null ? t1._as(t2) : t2); if (modificationCount !== _this._modificationCount) A.throwExpression(A.ConcurrentModificationError$(_this)); } }, get$isEmpty(_) { return this._head === this._tail; }, get$length(_) { return (this._tail - this._head & this._table.length - 1) >>> 0; }, get$first(_) { var _this = this, t1 = _this._head; if (t1 === _this._tail) throw A.wrapException(A.IterableElementError_noElement()); t1 = _this._table[t1]; return t1 == null ? _this.$ti._precomputed1._as(t1) : t1; }, get$last(_) { var _this = this, t1 = _this._head, t2 = _this._tail; if (t1 === t2) throw A.wrapException(A.IterableElementError_noElement()); t1 = _this._table; t1 = t1[(t2 - 1 & t1.length - 1) >>> 0]; return t1 == null ? _this.$ti._precomputed1._as(t1) : t1; }, get$single(_) { var t1, _this = this; if (_this._head === _this._tail) throw A.wrapException(A.IterableElementError_noElement()); if (_this.get$length(0) > 1) throw A.wrapException(A.IterableElementError_tooMany()); t1 = _this._table[_this._head]; return t1 == null ? _this.$ti._precomputed1._as(t1) : t1; }, elementAt$1(_, index) { var t1, _this = this; A.IndexError_check(index, _this.get$length(0), _this, null, null); t1 = _this._table; t1 = t1[(_this._head + index & t1.length - 1) >>> 0]; return t1 == null ? _this.$ti._precomputed1._as(t1) : t1; }, toList$1$growable(_, growable) { var t1, list, t2, t3, i, t4, _this = this, mask = _this._table.length - 1, $length = (_this._tail - _this._head & mask) >>> 0; if ($length === 0) { t1 = _this.$ti._precomputed1; return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); } t1 = _this.$ti._precomputed1; list = A.List_List$filled($length, _this.get$first(0), growable, t1); for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) { t4 = t2[(t3 + i & mask) >>> 0]; list[i] = t4 == null ? t1._as(t4) : t4; } return list; }, toList$0(_) { return this.toList$1$growable(0, true); }, addAll$1(_, elements) { var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _this = this, t1 = _this.$ti; if (t1._eval$1("List<1>")._is(elements)) { addCount = elements.length; $length = _this.get$length(0); t2 = $length + addCount; t3 = _this._table; t4 = t3.length; if (t2 >= t4) { newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?")); _this._tail = _this._writeToList$1(newTable); _this._table = newTable; _this._head = 0; B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0); _this._tail += addCount; } else { t1 = _this._tail; endSpace = t4 - t1; if (addCount < endSpace) { B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0); _this._tail += addCount; } else { preSpace = addCount - endSpace; B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0); B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace); _this._tail = preSpace; } } ++_this._modificationCount; } else for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) _this._collection$_add$1(0, t1.get$current(t1)); }, clear$0(_) { var t2, t3, _this = this, i = _this._head, t1 = _this._tail; if (i !== t1) { for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0) t2[i] = null; _this._head = _this._tail = 0; ++_this._modificationCount; } }, toString$0(_) { return A.Iterable_iterableToFullString(this, "{", "}"); }, addFirst$1(value) { var _this = this, t1 = _this._head, t2 = _this._table; t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0; t2[t1] = value; if (t1 === _this._tail) _this._grow$0(); ++_this._modificationCount; }, removeFirst$0() { var t2, result, _this = this, t1 = _this._head; if (t1 === _this._tail) throw A.wrapException(A.IterableElementError_noElement()); ++_this._modificationCount; t2 = _this._table; result = t2[t1]; if (result == null) result = _this.$ti._precomputed1._as(result); t2[t1] = null; _this._head = (t1 + 1 & t2.length - 1) >>> 0; return result; }, removeLast$0(_) { var result, _this = this, t1 = _this._head, t2 = _this._tail; if (t1 === t2) throw A.wrapException(A.IterableElementError_noElement()); ++_this._modificationCount; t1 = _this._table; t2 = _this._tail = (t2 - 1 & t1.length - 1) >>> 0; result = t1[t2]; if (result == null) result = _this.$ti._precomputed1._as(result); t1[t2] = null; return result; }, _collection$_add$1(_, element) { var _this = this, t1 = _this._table, t2 = _this._tail; t1[t2] = element; t1 = (t2 + 1 & t1.length - 1) >>> 0; _this._tail = t1; if (_this._head === t1) _this._grow$0(); ++_this._modificationCount; }, _grow$0() { var _this = this, newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")), t1 = _this._table, t2 = _this._head, split = t1.length - t2; B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2); B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0); _this._head = 0; _this._tail = _this._table.length; _this._table = newTable; }, _writeToList$1(target) { var $length, firstPartSize, _this = this, t1 = _this._head, t2 = _this._tail, t3 = _this._table; if (t1 <= t2) { $length = t2 - t1; B.JSArray_methods.setRange$4(target, 0, $length, t3, t1); return $length; } else { firstPartSize = t3.length - t1; B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1); B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0); return _this._tail + firstPartSize; } } }; A._ListQueueIterator.prototype = { get$current(_) { var t1 = this._collection$_current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, moveNext$0() { var t2, _this = this, t1 = _this._collection$_queue; if (_this._modificationCount !== t1._modificationCount) A.throwExpression(A.ConcurrentModificationError$(t1)); t2 = _this._collection$_position; if (t2 === _this._end) { _this._collection$_current = null; return false; } t1 = t1._table; _this._collection$_current = t1[t2]; _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0; return true; } }; A.SetBase.prototype = { get$isEmpty(_) { return this.get$length(this) === 0; }, get$isNotEmpty(_) { return this.get$length(this) !== 0; }, cast$1$0(_, $R) { return A.Set_castFrom(this, null, A._instanceType(this)._eval$1("SetBase.E"), $R); }, clear$0(_) { this.removeAll$1(this.toList$0(0)); }, addAll$1(_, elements) { var t1; for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) this.add$1(0, t1.get$current(t1)); }, removeAll$1(elements) { var t1; for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) this.remove$1(0, t1.get$current(t1)); }, removeWhere$1(_, test) { var t1, element, toRemove = []; for (t1 = this.get$iterator(this); t1.moveNext$0();) { element = t1.get$current(t1); if (test.call$1(element)) toRemove.push(element); } this.removeAll$1(toRemove); }, containsAll$1(other) { var t1, t2, o; for (t1 = other.get$iterator(other), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { o = t1._collection$_current; if (!this.contains$1(0, o == null ? t2._as(o) : o)) return false; } return true; }, intersection$1(_, other) { var t1, element, result = this.toSet$0(0); for (t1 = this.get$iterator(this); t1.moveNext$0();) { element = t1.get$current(t1); if (!other.contains$1(0, element)) result.remove$1(0, element); } return result; }, toList$1$growable(_, growable) { return A.List_List$of(this, growable, A._instanceType(this)._eval$1("SetBase.E")); }, toList$0(_) { return this.toList$1$growable(0, true); }, map$1$1(_, f, $T) { return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<SetBase.E>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, map$1(_, f) { return this.map$1$1(0, f, type$.dynamic); }, get$single(_) { var it, _this = this; if (_this.get$length(_this) > 1) throw A.wrapException(A.IterableElementError_tooMany()); it = _this.get$iterator(_this); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); return it.get$current(it); }, toString$0(_) { return A.Iterable_iterableToFullString(this, "{", "}"); }, where$1(_, f) { return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<SetBase.E>")); }, forEach$1(_, f) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) f.call$1(t1.get$current(t1)); }, every$1(_, f) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) if (!f.call$1(t1.get$current(t1))) return false; return true; }, join$1(_, separator) { var first, t1, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) return ""; first = J.toString$0$(iterator.get$current(iterator)); if (!iterator.moveNext$0()) return first; if (separator.length === 0) { t1 = first; do t1 += A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { t1 = first; do t1 = t1 + separator + A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, any$1(_, test) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) if (test.call$1(t1.get$current(t1))) return true; return false; }, take$1(_, n) { return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._eval$1("SetBase.E")); }, skip$1(_, n) { return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._eval$1("SetBase.E")); }, get$first(_) { var it = this.get$iterator(this); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); return it.get$current(it); }, get$last(_) { var result, it = this.get$iterator(this); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); do result = it.get$current(it); while (it.moveNext$0()); return result; }, elementAt$1(_, index) { var iterator, skipCount; A.RangeError_checkNotNegative(index, "index"); iterator = this.get$iterator(this); for (skipCount = index; iterator.moveNext$0();) { if (skipCount === 0) return iterator.get$current(iterator); --skipCount; } throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index")); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1 }; A._SetBase.prototype = { cast$1$0(_, $R) { return A.Set_castFrom(this, this.get$_newSimilarSet(), A._instanceType(this)._precomputed1, $R); }, difference$1(other) { var t1, element, result = this._newSet$0(); for (t1 = this.get$iterator(this); t1.moveNext$0();) { element = t1.get$current(t1); if (!other.contains$1(0, element)) result.add$1(0, element); } return result; }, intersection$1(_, other) { var t1, element, result = this._newSet$0(); for (t1 = this.get$iterator(this); t1.moveNext$0();) { element = t1.get$current(t1); if (other.contains$1(0, element)) result.add$1(0, element); } return result; }, toSet$0(_) { var t1 = this._newSet$0(); t1.addAll$1(0, this); return t1; } }; A._UnmodifiableSetMixin.prototype = { add$1(_, value) { return A._UnmodifiableSetMixin__throwUnmodifiable(); }, clear$0(_) { return A._UnmodifiableSetMixin__throwUnmodifiable(); }, addAll$1(_, elements) { return A._UnmodifiableSetMixin__throwUnmodifiable(); }, removeAll$1(elements) { return A._UnmodifiableSetMixin__throwUnmodifiable(); }, removeWhere$1(_, test) { return A._UnmodifiableSetMixin__throwUnmodifiable(); }, remove$1(_, value) { return A._UnmodifiableSetMixin__throwUnmodifiable(); } }; A.UnmodifiableSetView.prototype = { contains$1(_, element) { return this._collection$_source.contains$1(0, element); }, get$length(_) { return this._collection$_source._collection$_length; }, get$iterator(_) { var t1 = this._collection$_source; return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); }, toSet$0(_) { return this._collection$_source.toSet$0(0); } }; A._SplayTreeNode.prototype = {}; A._SplayTreeSetNode.prototype = {}; A._SplayTreeMapNode.prototype = { _replaceValue$1(value) { var _this = this, t1 = _this.$ti; t1 = new A._SplayTreeMapNode(value, _this.key, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_SplayTreeMapNode<1,2>")); t1._collection$_left = _this._collection$_left; t1._collection$_right = _this._collection$_right; return t1; }, get$value(receiver) { return this.value; } }; A._SplayTree.prototype = { _splay$1(key) { var compare, comp, current, newTreeLeft, left, newTreeRight, right, currentLeft, currentLeft0, currentRight, currentRight0, _this = this, _null = null, root = _this.get$_collection$_root(); if (root == null) { _this._compare$2(key, key); return -1; } compare = _this.get$_compare(); for (comp = _null, current = root, newTreeLeft = comp, left = newTreeLeft, newTreeRight = left, right = newTreeRight; true;) { comp = compare.call$2(current.key, key); if (comp > 0) { currentLeft = current._collection$_left; if (currentLeft == null) break; comp = compare.call$2(currentLeft.key, key); if (comp > 0) { current._collection$_left = currentLeft._collection$_right; currentLeft._collection$_right = current; currentLeft0 = currentLeft._collection$_left; if (currentLeft0 == null) { current = currentLeft; break; } current = currentLeft; currentLeft = currentLeft0; } if (right == null) newTreeRight = current; else right._collection$_left = current; right = current; current = currentLeft; } else { if (comp < 0) { currentRight = current._collection$_right; if (currentRight == null) break; comp = compare.call$2(currentRight.key, key); if (comp < 0) { current._collection$_right = currentRight._collection$_left; currentRight._collection$_left = current; currentRight0 = currentRight._collection$_right; if (currentRight0 == null) { current = currentRight; break; } current = currentRight; currentRight = currentRight0; } if (left == null) newTreeLeft = current; else left._collection$_right = current; } else break; left = current; current = currentRight; } } if (left != null) { left._collection$_right = current._collection$_left; current._collection$_left = newTreeLeft; } if (right != null) { right._collection$_left = current._collection$_right; current._collection$_right = newTreeRight; } if (_this.get$_collection$_root() !== current) { _this.set$_collection$_root(current); ++_this._splayCount; } return comp; }, _splayMin$1(node) { var current, nextLeft0, nextLeft = node._collection$_left; for (current = node; nextLeft != null; current = nextLeft, nextLeft = nextLeft0) { current._collection$_left = nextLeft._collection$_right; nextLeft._collection$_right = current; nextLeft0 = nextLeft._collection$_left; } return current; }, _splayMax$1(node) { var current, nextRight0, nextRight = node._collection$_right; for (current = node; nextRight != null; current = nextRight, nextRight = nextRight0) { current._collection$_right = nextRight._collection$_left; nextRight._collection$_left = current; nextRight0 = nextRight._collection$_right; } return current; }, _remove$1(_, key) { var root, left, t1, root0, _this = this; if (_this.get$_collection$_root() == null) return null; if (_this._splay$1(key) !== 0) return null; root = _this.get$_collection$_root(); left = root._collection$_left; --_this._collection$_count; t1 = root._collection$_right; if (left == null) _this.set$_collection$_root(t1); else { root0 = _this._splayMax$1(left); root0._collection$_right = t1; _this.set$_collection$_root(root0); } ++_this._modificationCount; return root; }, _addNewRoot$2(node, comp) { var root, _this = this; ++_this._collection$_count; ++_this._modificationCount; root = _this.get$_collection$_root(); if (root == null) { _this.set$_collection$_root(node); return; } if (comp < 0) { node._collection$_left = root; node._collection$_right = root._collection$_right; root._collection$_right = null; } else { node._collection$_right = root; node._collection$_left = root._collection$_left; root._collection$_left = null; } _this.set$_collection$_root(node); }, get$_collection$_first() { var _this = this, root = _this.get$_collection$_root(); if (root == null) return null; _this.set$_collection$_root(_this._splayMin$1(root)); return _this.get$_collection$_root(); }, get$_collection$_last() { var _this = this, root = _this.get$_collection$_root(); if (root == null) return null; _this.set$_collection$_root(_this._splayMax$1(root)); return _this.get$_collection$_root(); }, _collection$_clear$0(_) { this.set$_collection$_root(null); this._collection$_count = 0; ++this._modificationCount; }, _containsKey$1(key) { return this._validKey$1(key) && this._splay$1(key) === 0; }, _compare$2(arg0, arg1) { return this.get$_compare().call$2(arg0, arg1); }, _validKey$1(arg0) { return this.get$_validKey().call$1(arg0); } }; A.SplayTreeMap.prototype = { $index(_, key) { var _this = this; if (!_this._validKey.call$1(key)) return null; if (_this._collection$_root != null) if (_this._splay$1(key) === 0) return _this._collection$_root.value; return null; }, remove$1(_, key) { var mapRoot; if (!this._validKey.call$1(key)) return null; mapRoot = this._remove$1(0, key); if (mapRoot != null) return mapRoot.value; return null; }, $indexSet(_, key, value) { var t1, _this = this, comp = _this._splay$1(key); if (comp === 0) { _this._collection$_root = _this._collection$_root._replaceValue$1(value); ++_this._splayCount; return; } t1 = _this.$ti; _this._addNewRoot$2(new A._SplayTreeMapNode(value, key, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_SplayTreeMapNode<1,2>")), comp); }, putIfAbsent$2(_, key, ifAbsent) { var modificationCount, splayCount, value, t1, _this = this, comp = _this._splay$1(key); if (comp === 0) return _this._collection$_root.value; modificationCount = _this._modificationCount; splayCount = _this._splayCount; value = ifAbsent.call$0(); if (modificationCount !== _this._modificationCount) throw A.wrapException(A.ConcurrentModificationError$(_this)); if (splayCount !== _this._splayCount) comp = _this._splay$1(key); t1 = _this.$ti; _this._addNewRoot$2(new A._SplayTreeMapNode(value, key, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_SplayTreeMapNode<1,2>")), comp); return value; }, get$isEmpty(_) { return this._collection$_root == null; }, get$isNotEmpty(_) { return this._collection$_root != null; }, forEach$1(_, f) { var nodes, node, t1 = this.$ti; t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); nodes = new A._SplayTreeMapEntryIterator(this, A._setArrayType([], t1._eval$1("JSArray<_SplayTreeMapNode<1,2>>")), this._splayCount, t1._eval$1("_SplayTreeMapEntryIterator<1,2>")); for (; nodes.moveNext$0();) { node = nodes.get$current(0); f.call$2(node.key, node.value); } }, get$length(_) { return this._collection$_count; }, containsKey$1(_, key) { return this._containsKey$1(key); }, get$keys(_) { var t1 = this.$ti; return new A._SplayTreeKeyIterable(this, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeMapNode<1,2>"))._eval$1("_SplayTreeKeyIterable<1,2>")); }, get$values(_) { var t1 = this.$ti; return new A._SplayTreeValueIterable(this, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_SplayTreeValueIterable<1,2>")); }, get$entries(_) { var t1 = this.$ti; return new A._SplayTreeMapEntryIterable(this, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_SplayTreeMapEntryIterable<1,2>")); }, firstKey$0() { if (this._collection$_root == null) return null; return this.get$_collection$_first().key; }, lastKey$0() { if (this._collection$_root == null) return null; return this.get$_collection$_last().key; }, lastKeyBefore$1(key) { var node, nodeRight, nodeRight0, _this = this; if (_this._collection$_root == null) return null; if (_this._splay$1(key) < 0) return _this._collection$_root.key; node = _this._collection$_root._collection$_left; if (node == null) return null; nodeRight = node._collection$_right; for (; nodeRight != null; node = nodeRight, nodeRight = nodeRight0) nodeRight0 = nodeRight._collection$_right; return node.key; }, firstKeyAfter$1(key) { var node, nodeLeft, nodeLeft0, _this = this; if (_this._collection$_root == null) return null; if (_this._splay$1(key) > 0) return _this._collection$_root.key; node = _this._collection$_root._collection$_right; if (node == null) return null; nodeLeft = node._collection$_left; for (; nodeLeft != null; node = nodeLeft, nodeLeft = nodeLeft0) nodeLeft0 = nodeLeft._collection$_left; return node.key; }, $isMap: 1, _compare$2(arg0, arg1) { return this._compare.call$2(arg0, arg1); }, _validKey$1(arg0) { return this._validKey.call$1(arg0); }, get$_collection$_root() { return this._collection$_root; }, get$_compare() { return this._compare; }, set$_collection$_root(val) { return this._collection$_root = val; } }; A.SplayTreeMap_closure.prototype = { call$1(a) { return this.K._is(a); }, $signature: 153 }; A._SplayTreeIterator.prototype = { get$current(_) { var t1 = this._collection$_path; if (t1.length === 0) { A._instanceType(this)._eval$1("_SplayTreeIterator.T")._as(null); return null; } return this._getValue$1(B.JSArray_methods.get$last(t1)); }, _rebuildPath$1(key) { var t2, t3, t1 = this._collection$_path; B.JSArray_methods.clear$0(t1); t2 = this._tree; t2._splay$1(key); t3 = t2.get$_collection$_root(); t3.toString; t1.push(t3); this._splayCount = t2._splayCount; }, moveNext$0() { var node, next, _this = this, t1 = _this._modificationCount, t2 = _this._tree, t3 = t2._modificationCount; if (t1 !== t3) { if (t1 == null) { _this._modificationCount = t3; node = t2.get$_collection$_root(); for (t1 = _this._collection$_path; node != null;) { t1.push(node); node = node._collection$_left; } return t1.length !== 0; } throw A.wrapException(A.ConcurrentModificationError$(t2)); } t1 = _this._collection$_path; if (t1.length === 0) return false; if (_this._splayCount !== t2._splayCount) _this._rebuildPath$1(B.JSArray_methods.get$last(t1).key); node = B.JSArray_methods.get$last(t1); next = node._collection$_right; if (next != null) { for (; next != null;) { t1.push(next); next = next._collection$_left; } return true; } t1.pop(); while (true) { if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1)._collection$_right === node)) break; node = t1.pop(); } return t1.length !== 0; } }; A._SplayTreeKeyIterable.prototype = { get$length(_) { return this._tree._collection$_count; }, get$isEmpty(_) { return this._tree._collection$_count === 0; }, get$iterator(_) { var t1 = this._tree, t2 = this.$ti; return new A._SplayTreeKeyIterator(t1, A._setArrayType([], t2._eval$1("JSArray<2>")), t1._splayCount, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_SplayTreeKeyIterator<1,2>")); }, contains$1(_, o) { return this._tree._containsKey$1(o); }, toSet$0(_) { var t1 = this._tree, t2 = this.$ti, set = A.SplayTreeSet$(t1._compare, t1._validKey, t2._precomputed1); set._collection$_count = t1._collection$_count; set._collection$_root = set._copyNode$1$1(t1._collection$_root, t2._rest[1]); return set; } }; A._SplayTreeValueIterable.prototype = { get$length(_) { return this._collection$_map._collection$_count; }, get$isEmpty(_) { return this._collection$_map._collection$_count === 0; }, get$iterator(_) { var t1 = this._collection$_map, t2 = this.$ti; t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); return new A._SplayTreeValueIterator(t1, A._setArrayType([], t2._eval$1("JSArray<_SplayTreeMapNode<1,2>>")), t1._splayCount, t2._eval$1("_SplayTreeValueIterator<1,2>")); } }; A._SplayTreeMapEntryIterable.prototype = { get$length(_) { return this._collection$_map._collection$_count; }, get$isEmpty(_) { return this._collection$_map._collection$_count === 0; }, get$iterator(_) { var t1 = this._collection$_map, t2 = this.$ti; t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); return new A._SplayTreeMapEntryIterator(t1, A._setArrayType([], t2._eval$1("JSArray<_SplayTreeMapNode<1,2>>")), t1._splayCount, t2._eval$1("_SplayTreeMapEntryIterator<1,2>")); } }; A._SplayTreeKeyIterator.prototype = { _getValue$1(node) { return node.key; } }; A._SplayTreeValueIterator.prototype = { _getValue$1(node) { return node.value; } }; A._SplayTreeMapEntryIterator.prototype = { _getValue$1(node) { var t1 = this.$ti; return new A.MapEntry(node.key, node.value, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapEntry<1,2>")); } }; A.SplayTreeSet.prototype = { _newSet$1$0($T) { return A.SplayTreeSet$(new A.SplayTreeSet__newSet_closure(this, $T), this._validKey, $T); }, _newSet$0() { return this._newSet$1$0(type$.dynamic); }, cast$1$0(_, $R) { return A.Set_castFrom(this, this.get$_newSet(), this.$ti._precomputed1, $R); }, get$iterator(_) { var t1 = this.$ti; return new A._SplayTreeKeyIterator(this, A._setArrayType([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")); }, get$length(_) { return this._collection$_count; }, get$isEmpty(_) { return this._collection$_root == null; }, get$isNotEmpty(_) { return this._collection$_root != null; }, get$first(_) { if (this._collection$_count === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.get$_collection$_first().key; }, get$last(_) { if (this._collection$_count === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.get$_collection$_last().key; }, get$single(_) { var t1 = this._collection$_count; if (t1 === 0) throw A.wrapException(A.IterableElementError_noElement()); if (t1 > 1) throw A.wrapException(A.IterableElementError_tooMany()); return this._collection$_root.key; }, contains$1(_, element) { return this._validKey.call$1(element) && this._splay$1(this.$ti._precomputed1._as(element)) === 0; }, add$1(_, element) { return this._collection$_add$1(0, element); }, _collection$_add$1(_, element) { var compare = this._splay$1(element); if (compare === 0) return false; this._addNewRoot$2(new A._SplayTreeSetNode(element, this.$ti._eval$1("_SplayTreeSetNode<1>")), compare); return true; }, remove$1(_, object) { if (!this._validKey.call$1(object)) return false; return this._remove$1(0, this.$ti._precomputed1._as(object)) != null; }, addAll$1(_, elements) { var t1; for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) this._collection$_add$1(0, t1.get$current(t1)); }, removeAll$1(elements) { var t1, t2, element; for (t1 = J.get$iterator$ax(elements), t2 = this.$ti._precomputed1; t1.moveNext$0();) { element = t1.get$current(t1); if (this._validKey.call$1(element)) this._remove$1(0, t2._as(element)); } }, intersection$1(_, other) { var element, _this = this, t1 = _this.$ti, result = A.SplayTreeSet$(_this._compare, _this._validKey, t1._precomputed1); for (t1 = new A._SplayTreeKeyIterator(_this, A._setArrayType([], t1._eval$1("JSArray<_SplayTreeSetNode<1>>")), _this._splayCount, t1._eval$1("@<1>")._bind$1(t1._eval$1("_SplayTreeSetNode<1>"))._eval$1("_SplayTreeKeyIterator<1,2>")); t1.moveNext$0();) { element = t1.get$current(0); if (other.contains$1(0, element)) result._collection$_add$1(0, element); } return result; }, _copyNode$1$1(node, $Node) { var result; if (node == null) return null; result = new A._SplayTreeSetNode(node.key, this.$ti._eval$1("_SplayTreeSetNode<1>")); new A.SplayTreeSet__copyNode_copyChildren(this, $Node).call$2(node, result); return result; }, clear$0(_) { this._collection$_clear$0(0); }, toSet$0(_) { var _this = this, t1 = _this.$ti, set = A.SplayTreeSet$(_this._compare, _this._validKey, t1._precomputed1); set._collection$_count = _this._collection$_count; set._collection$_root = _this._copyNode$1$1(_this._collection$_root, t1._eval$1("_SplayTreeSetNode<1>")); return set; }, toString$0(_) { return A.Iterable_iterableToFullString(this, "{", "}"); }, $isEfficientLengthIterable: 1, $isSet: 1, _compare$2(arg0, arg1) { return this._compare.call$2(arg0, arg1); }, _validKey$1(arg0) { return this._validKey.call$1(arg0); }, get$_collection$_root() { return this._collection$_root; }, get$_compare() { return this._compare; }, set$_collection$_root(val) { return this._collection$_root = val; } }; A.SplayTreeSet_closure.prototype = { call$1(v) { return this.E._is(v); }, $signature: 153 }; A.SplayTreeSet__newSet_closure.prototype = { call$2(a, b) { var t1 = this.$this, t2 = t1.$ti._precomputed1; t2._as(a); t2._as(b); return t1._compare.call$2(a, b); }, $signature() { return this.T._eval$1("int(0,0)"); } }; A.SplayTreeSet__copyNode_copyChildren.prototype = { call$2(node, dest) { var left, right, newLeft, t2, newRight, t1 = this.$this.$ti._eval$1("_SplayTreeSetNode<1>"); do { left = node._collection$_left; right = node._collection$_right; if (left != null) { newLeft = new A._SplayTreeSetNode(left.key, t1); dest._collection$_left = newLeft; this.call$2(left, newLeft); } t2 = right != null; if (t2) { newRight = new A._SplayTreeSetNode(right.key, t1); dest._collection$_right = newRight; dest = newRight; node = right; } } while (t2); }, $signature() { return this.$this.$ti._bind$1(this.Node)._eval$1("~(1,_SplayTreeSetNode<2>)"); } }; A._SplayTreeMap__SplayTree_MapMixin.prototype = {}; A._SplayTreeSet__SplayTree_Iterable.prototype = {}; A._SplayTreeSet__SplayTree_Iterable_SetMixin.prototype = {}; A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {}; A._JsonMap.prototype = { $index(_, key) { var result, t1 = this._processed; if (t1 == null) return this._data.$index(0, key); else if (typeof key != "string") return null; else { result = t1[key]; return typeof result == "undefined" ? this._process$1(key) : result; } }, get$length(_) { return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length; }, get$isEmpty(_) { return this.get$length(0) === 0; }, get$isNotEmpty(_) { return this.get$length(0) > 0; }, get$keys(_) { var t1; if (this._processed == null) { t1 = this._data; return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); } return new A._JsonMapKeyIterable(this); }, get$values(_) { var _this = this; if (_this._processed == null) return _this._data.get$values(0); return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic); }, $indexSet(_, key, value) { var processed, original, _this = this; if (_this._processed == null) _this._data.$indexSet(0, key, value); else if (_this.containsKey$1(0, key)) { processed = _this._processed; processed[key] = value; original = _this._original; if (original == null ? processed != null : original !== processed) original[key] = null; } else _this._upgrade$0().$indexSet(0, key, value); }, containsKey$1(_, key) { if (this._processed == null) return this._data.containsKey$1(0, key); if (typeof key != "string") return false; return Object.prototype.hasOwnProperty.call(this._original, key); }, putIfAbsent$2(_, key, ifAbsent) { var value; if (this.containsKey$1(0, key)) return this.$index(0, key); value = ifAbsent.call$0(); this.$indexSet(0, key, value); return value; }, remove$1(_, key) { if (this._processed != null && !this.containsKey$1(0, key)) return null; return this._upgrade$0().remove$1(0, key); }, forEach$1(_, f) { var keys, i, key, value, _this = this; if (_this._processed == null) return _this._data.forEach$1(0, f); keys = _this._convert$_computeKeys$0(); for (i = 0; i < keys.length; ++i) { key = keys[i]; value = _this._processed[key]; if (typeof value == "undefined") { value = A._convertJsonToDartLazy(_this._original[key]); _this._processed[key] = value; } f.call$2(key, value); if (keys !== _this._data) throw A.wrapException(A.ConcurrentModificationError$(_this)); } }, _convert$_computeKeys$0() { var keys = this._data; if (keys == null) keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String); return keys; }, _upgrade$0() { var result, keys, i, t1, key, _this = this; if (_this._processed == null) return _this._data; result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); keys = _this._convert$_computeKeys$0(); for (i = 0; t1 = keys.length, i < t1; ++i) { key = keys[i]; result.$indexSet(0, key, _this.$index(0, key)); } if (t1 === 0) keys.push(""); else B.JSArray_methods.clear$0(keys); _this._original = _this._processed = null; return _this._data = result; }, _process$1(key) { var result; if (!Object.prototype.hasOwnProperty.call(this._original, key)) return null; result = A._convertJsonToDartLazy(this._original[key]); return this._processed[key] = result; } }; A._JsonMap_values_closure.prototype = { call$1(each) { return this.$this.$index(0, each); }, $signature: 6 }; A._JsonMapKeyIterable.prototype = { get$length(_) { return this._parent.get$length(0); }, elementAt$1(_, index) { var t1 = this._parent; return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index]; }, get$iterator(_) { var t1 = this._parent; if (t1._processed == null) { t1 = t1.get$keys(0); t1 = t1.get$iterator(t1); } else { t1 = t1._convert$_computeKeys$0(); t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); } return t1; }, contains$1(_, key) { return this._parent.containsKey$1(0, key); } }; A._JsonDecoderSink.prototype = { close$0(_) { var t1, t2, _this = this; _this.super$_StringSinkConversionSink$close(0); t1 = _this._stringSink; t2 = t1._contents; t1._contents = ""; t1 = _this._sink; t1.add$1(0, A._parseJson(t2.charCodeAt(0) == 0 ? t2 : t2, _this._reviver)); t1.close$0(0); } }; A._Utf8Decoder__decoder_closure.prototype = { call$0() { var t1, exception; try { t1 = new TextDecoder("utf-8", {fatal: true}); return t1; } catch (exception) { } return null; }, $signature: 14 }; A._Utf8Decoder__decoderNonfatal_closure.prototype = { call$0() { var t1, exception; try { t1 = new TextDecoder("utf-8", {fatal: false}); return t1; } catch (exception) { } return null; }, $signature: 14 }; A.AsciiCodec.prototype = { get$name(_) { return "us-ascii"; }, encode$1(source) { return B.AsciiEncoder_127.convert$1(source); }, decode$1(_, bytes) { var t1 = B.AsciiDecoder_false_127.convert$1(bytes); return t1; } }; A._UnicodeSubsetEncoder.prototype = { convert$1(string) { var t1, i, codeUnit, $length = A.RangeError_checkValidRange(0, null, string.length, null, null) - 0, result = new Uint8Array($length); for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) { codeUnit = string.charCodeAt(i); if ((codeUnit & t1) !== 0) throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); result[i] = codeUnit; } return result; }, startChunkedConversion$1(sink) { return new A._UnicodeSubsetEncoderSink(new A._ByteAdapterSink(sink), this._subsetMask); } }; A.AsciiEncoder.prototype = {}; A._UnicodeSubsetEncoderSink.prototype = { close$0(_) { this._sink._sink.close$0(0); }, addSlice$4(source, start, end, isLast) { var t1, i, codeUnit, t2; A.RangeError_checkValidRange(start, end, source.length, null, null); for (t1 = ~this._subsetMask, i = start; i < end; ++i) { codeUnit = source.charCodeAt(i); if ((codeUnit & t1) !== 0) throw A.wrapException(A.ArgumentError$("Source contains invalid character with code point: " + codeUnit + ".", null)); } t1 = new A.CodeUnits(source); t2 = this._sink._sink; t2.add$1(0, t1.sublist$2(t1, start, end)); if (isLast) t2.close$0(0); } }; A._UnicodeSubsetDecoder.prototype = { convert$1(bytes) { var t2, i, byte, _null = null, t1 = J.getInterceptor$asx(bytes), end = A.RangeError_checkValidRange(0, _null, t1.get$length(bytes), _null, _null); for (t2 = ~this._subsetMask, i = 0; i < end; ++i) { byte = t1.$index(bytes, i); if ((byte & t2) >>> 0 !== 0) { if (!this._allowInvalid) throw A.wrapException(A.FormatException$("Invalid value in input: " + A.S(byte), _null, _null)); return this._convertInvalid$3(bytes, 0, end); } } return A.String_String$fromCharCodes(bytes, 0, end); }, _convertInvalid$3(bytes, start, end) { var t1, t2, i, t3, value; for (t1 = ~this._subsetMask, t2 = J.getInterceptor$asx(bytes), i = start, t3 = ""; i < end; ++i) { value = t2.$index(bytes, i); t3 += A.Primitives_stringFromCharCode((value & t1) >>> 0 !== 0 ? 65533 : value); } return t3.charCodeAt(0) == 0 ? t3 : t3; } }; A.AsciiDecoder.prototype = { startChunkedConversion$1(sink) { var stringSink = type$.StringConversionSink._is(sink) ? sink : new A._StringAdapterSink(sink); if (this._allowInvalid) return new A._ErrorHandlingAsciiDecoderSink(stringSink.asUtf8Sink$1(false)); else return new A._SimpleAsciiDecoderSink(stringSink); } }; A._ErrorHandlingAsciiDecoderSink.prototype = { close$0(_) { this._utf8Sink.close$0(0); }, add$1(_, source) { this.addSlice$4(source, 0, J.get$length$asx(source), false); }, addSlice$4(source, start, end, isLast) { var t2, i, t1 = J.getInterceptor$asx(source); A.RangeError_checkValidRange(start, end, t1.get$length(source), null, null); for (t2 = this._utf8Sink, i = start; i < end; ++i) if ((t1.$index(source, i) & 4294967168) >>> 0 !== 0) { if (i > start) t2.addSlice$4(source, start, i, false); t2.add$1(0, B.List_239_191_189); start = i + 1; } if (start < end) t2.addSlice$4(source, start, end, false); } }; A._SimpleAsciiDecoderSink.prototype = { close$0(_) { this._sink.close$0(0); }, add$1(_, source) { var t1, i; for (t1 = J.getInterceptor$asx(source), i = 0; i < t1.get$length(source); ++i) if ((t1.$index(source, i) & 4294967168) >>> 0 !== 0) throw A.wrapException(A.FormatException$("Source contains non-ASCII bytes.", null, null)); this._sink.add$1(0, A.String_String$fromCharCodes(source, 0, null)); } }; A.Base64Codec.prototype = { get$encoder() { return B.C_Base64Encoder; }, normalize$3(_, source, start, end) { var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, char0, value, t1, t2, endLength, $length, _null = null, _s31_ = "Invalid base64 encoding length "; end = A.RangeError_checkValidRange(start, end, source.length, _null, _null); inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); for (i = start, sliceStart = i, buffer = _null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { i0 = i + 1; char = source.charCodeAt(i); if (char === 37) { i1 = i0 + 2; if (i1 <= end) { char0 = A.parseHexByte(source, i0); if (char0 === 37) char0 = -1; i0 = i1; } else char0 = -1; } else char0 = char; if (0 <= char0 && char0 <= 127) { value = inverseAlphabet[char0]; if (value >= 0) { char0 = string$.ABCDEF.charCodeAt(value); if (char0 === char) continue; char = char0; } else { if (value === -1) { if (firstPadding < 0) { t1 = buffer == null ? _null : buffer._contents.length; if (t1 == null) t1 = 0; firstPadding = t1 + (i - sliceStart); firstPaddingSourceIndex = i; } ++paddingCount; if (char === 61) continue; } char = char0; } if (value !== -2) { if (buffer == null) { buffer = new A.StringBuffer(""); t1 = buffer; } else t1 = buffer; t1._contents += B.JSString_methods.substring$2(source, sliceStart, i); t1._contents += A.Primitives_stringFromCharCode(char); sliceStart = i0; continue; } } throw A.wrapException(A.FormatException$("Invalid base64 data", source, i)); } if (buffer != null) { t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end); t2 = t1.length; if (firstPadding >= 0) A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); else { endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1; if (endLength === 1) throw A.wrapException(A.FormatException$(_s31_, source, end)); for (; endLength < 4;) { t1 += "="; buffer._contents = t1; ++endLength; } } t1 = buffer._contents; return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1); } $length = end - start; if (firstPadding >= 0) A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length); else { endLength = B.JSInt_methods.$mod($length, 4); if (endLength === 1) throw A.wrapException(A.FormatException$(_s31_, source, end)); if (endLength > 1) source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "="); } return source; } }; A.Base64Encoder.prototype = { convert$1(input) { var t1 = J.getInterceptor$asx(input); if (t1.get$length(input) === 0) return ""; t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true); t1.toString; return A.String_String$fromCharCodes(t1, 0, null); }, startChunkedConversion$1(sink) { var _s64_ = string$.ABCDEF; if (type$.StringConversionSink._is(sink)) return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(_s64_)); return new A._AsciiBase64EncoderSink(sink, new A._BufferCachingBase64Encoder(_s64_)); } }; A._Base64Encoder.prototype = { createBuffer$1(_, bufferLength) { return new Uint8Array(bufferLength); }, encode$4(bytes, start, end, isLast) { var output, _this = this, byteCount = (_this._convert$_state & 3) + (end - start), fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3), bufferLength = fullChunks * 4; if (isLast && byteCount - fullChunks * 3 > 0) bufferLength += 4; output = _this.createBuffer$1(0, bufferLength); _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state); if (bufferLength > 0) return output; return null; } }; A._BufferCachingBase64Encoder.prototype = { createBuffer$1(_, bufferLength) { var buffer = this.bufferCache; if (buffer == null || buffer.length < bufferLength) buffer = this.bufferCache = new Uint8Array(bufferLength); return B.NativeByteBuffer_methods.asUint8List$2(buffer.buffer, buffer.byteOffset, bufferLength); } }; A._Base64EncoderSink.prototype = { add$1(_, source) { this._convert$_add$4(0, source, 0, J.get$length$asx(source), false); }, close$0(_) { this._convert$_add$4(0, B.List_empty1, 0, 0, true); } }; A._AsciiBase64EncoderSink.prototype = { _convert$_add$4(_, source, start, end, isLast) { var buffer = this._encoder.encode$4(source, start, end, isLast); if (buffer != null) this._sink.add$1(0, A.String_String$fromCharCodes(buffer, 0, null)); if (isLast) this._sink.close$0(0); } }; A._Utf8Base64EncoderSink.prototype = { _convert$_add$4(_, source, start, end, isLast) { var buffer = this._encoder.encode$4(source, start, end, isLast); if (buffer != null) this._sink.addSlice$4(buffer, 0, J.get$length$asx(buffer), isLast); } }; A.Base64Decoder.prototype = { convert$2(input, start) { var decoder, t1, end = A.RangeError_checkValidRange(start, null, input.length, null, null); if (start === end) return new Uint8Array(0); decoder = new A._Base64Decoder(); t1 = decoder.decode$3(0, input, start, end); t1.toString; decoder.close$2(0, input, end); return t1; }, convert$1(input) { return this.convert$2(input, 0); }, startChunkedConversion$1(sink) { return new A._Base64DecoderSink(sink, new A._Base64Decoder()); } }; A._Base64Decoder.prototype = { decode$3(_, input, start, end) { var buffer, _this = this, t1 = _this._convert$_state; if (t1 < 0) { _this._convert$_state = A._Base64Decoder__checkPadding(input, start, end, t1); return null; } if (start === end) return new Uint8Array(0); buffer = A._Base64Decoder__allocateBuffer(input, start, end, t1); _this._convert$_state = A._Base64Decoder_decodeChunk(input, start, end, buffer, 0, _this._convert$_state); return buffer; }, close$2(_, input, end) { var t1 = this._convert$_state; if (t1 < -1) throw A.wrapException(A.FormatException$("Missing padding character", input, end)); if (t1 > 0) throw A.wrapException(A.FormatException$("Invalid length, must be multiple of four", input, end)); this._convert$_state = -1; } }; A._Base64DecoderSink.prototype = { add$1(_, string) { var buffer, t1 = string.length; if (t1 === 0) return; buffer = this._decoder.decode$3(0, string, 0, t1); if (buffer != null) this._sink.add$1(0, buffer); }, close$0(_) { this._decoder.close$2(0, null, null); this._sink.close$0(0); }, addSlice$4(string, start, end, isLast) { var t1, buffer; A.RangeError_checkValidRange(start, end, string.length, null, null); if (start === end) return; t1 = this._decoder; buffer = t1.decode$3(0, string, start, end); if (buffer != null) this._sink.add$1(0, buffer); if (isLast) { t1.close$2(0, string, end); this._sink.close$0(0); } } }; A.ByteConversionSink.prototype = {}; A._ByteAdapterSink.prototype = { add$1(_, chunk) { this._sink.add$1(0, chunk); }, close$0(_) { this._sink.close$0(0); } }; A._ByteCallbackSink.prototype = { add$1(_, chunk) { var v, grown, _this = this, t1 = _this._convert$_buffer, t2 = _this._bufferIndex, t3 = J.getInterceptor$asx(chunk); if (t3.get$length(chunk) > t1.length - t2) { t1 = _this._convert$_buffer; v = t3.get$length(chunk) + t1.length - 1; v |= B.JSInt_methods._shrOtherPositive$1(v, 1); v |= v >>> 2; v |= v >>> 4; v |= v >>> 8; grown = new Uint8Array((((v | v >>> 16) >>> 0) + 1) * 2); t1 = _this._convert$_buffer; B.NativeUint8List_methods.setRange$3(grown, 0, t1.length, t1); _this._convert$_buffer = grown; } t1 = _this._convert$_buffer; t2 = _this._bufferIndex; B.NativeUint8List_methods.setRange$3(t1, t2, t2 + t3.get$length(chunk), chunk); _this._bufferIndex = _this._bufferIndex + t3.get$length(chunk); }, close$0(_) { this._convert$_callback.call$1(B.NativeUint8List_methods.sublist$2(this._convert$_buffer, 0, this._bufferIndex)); } }; A.ChunkedConversionSink.prototype = {}; A._SimpleCallbackSink.prototype = { add$1(_, chunk) { this._accumulated.push(chunk); }, close$0(_) { this._convert$_callback.call$1(this._accumulated); } }; A.Codec0.prototype = {}; A.Converter.prototype = { fuse$1$1(other, TT) { var t1 = A._instanceType(this); return new A._FusedConverter(this, other, t1._eval$1("@<Converter.S>")._bind$1(t1._eval$1("Converter.T"))._bind$1(TT)._eval$1("_FusedConverter<1,2,3>")); }, startChunkedConversion$1(sink) { throw A.wrapException(A.UnsupportedError$("This converter does not support chunked conversions: " + this.toString$0(0))); } }; A._FusedConverter.prototype = { startChunkedConversion$1(sink) { return this._convert$_first.startChunkedConversion$1(new A._JsonDecoderSink(this._second._reviver, sink, new A.StringBuffer(""))); } }; A.Encoding.prototype = {}; A.HtmlEscapeMode.prototype = { toString$0(_) { return this._convert$_name; } }; A.HtmlEscape.prototype = { convert$1(text) { var val = this._convert$_convert$3(text, 0, text.length); return val == null ? text : val; }, _convert$_convert$3(text, start, end) { var t1, i, result, replacement, _null = null; for (t1 = this.mode.escapeQuot, i = start, result = _null; i < end; ++i) { switch (text[i]) { case "&": replacement = "&"; break; case '"': replacement = t1 ? """ : _null; break; case "'": replacement = _null; break; case "<": replacement = "<"; break; case ">": replacement = ">"; break; case "/": replacement = _null; break; default: replacement = _null; } if (replacement != null) { if (result == null) result = new A.StringBuffer(""); if (i > start) result._contents += B.JSString_methods.substring$2(text, start, i); result._contents += replacement; start = i + 1; } } if (result == null) return _null; if (end > start) result._contents += B.JSString_methods.substring$2(text, start, end); t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, startChunkedConversion$1(sink) { return new A._HtmlEscapeSink(this, type$.StringConversionSink._is(sink) ? sink : new A._StringAdapterSink(sink)); } }; A._HtmlEscapeSink.prototype = { addSlice$4(chunk, start, end, isLast) { var val = this._escape._convert$_convert$3(chunk, start, end), t1 = this._sink; if (val == null) t1.addSlice$4(chunk, start, end, isLast); else { t1.add$1(0, val); if (isLast) t1.close$0(0); } }, close$0(_) { this._sink.close$0(0); } }; A.JsonUnsupportedObjectError.prototype = { toString$0(_) { var safeString = A.Error_safeToString(this.unsupportedObject); return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString; } }; A.JsonCyclicError.prototype = { toString$0(_) { return "Cyclic error in JSON stringify"; } }; A.JsonCodec.prototype = { decode$2$reviver(_, source, reviver) { var t1 = A._parseJson(source, this.get$decoder()._reviver); return t1; }, decode$1(_, source) { return this.decode$2$reviver(0, source, null); }, encode$2$toEncodable(value, toEncodable) { var t1; if (toEncodable == null) toEncodable = null; if (toEncodable == null) { t1 = this.get$encoder(); return A._JsonStringStringifier_stringify(value, t1._toEncodable, t1.indent); } return A._JsonStringStringifier_stringify(value, toEncodable, null); }, encode$1(value) { return this.encode$2$toEncodable(value, null); }, get$encoder() { return B.JsonEncoder_null_null; }, get$decoder() { return B.JsonDecoder_null; } }; A.JsonEncoder.prototype = { startChunkedConversion$1(sink) { var t1 = type$.StringConversionSink._is(sink) ? sink : new A._StringAdapterSink(sink); return new A._JsonEncoderSink(this.indent, this._toEncodable, t1); } }; A._JsonEncoderSink.prototype = { add$1(_, o) { var stringSink, _this = this; if (_this._isDone) throw A.wrapException(A.StateError$("Only one call to add allowed")); _this._isDone = true; stringSink = _this._sink.asStringSink$0(); A._JsonStringStringifier_printOn(o, stringSink, _this._toEncodable, _this._indent); stringSink.close$0(0); }, close$0(_) { } }; A.JsonDecoder.prototype = { startChunkedConversion$1(sink) { return new A._JsonDecoderSink(this._reviver, sink, new A.StringBuffer("")); } }; A._JsonStringifier.prototype = { writeStringContent$1(s) { var offset, i, charCode, t1, t2, _this = this, $length = s.length; for (offset = 0, i = 0; i < $length; ++i) { charCode = s.charCodeAt(i); if (charCode > 92) { if (charCode >= 55296) { t1 = charCode & 64512; if (t1 === 55296) { t2 = i + 1; t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320); } else t2 = false; if (!t2) if (t1 === 56320) { t1 = i - 1; t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296); } else t1 = false; else t1 = true; if (t1) { if (i > offset) _this.writeStringSlice$3(s, offset, i); offset = i + 1; _this.writeCharCode$1(92); _this.writeCharCode$1(117); _this.writeCharCode$1(100); t1 = charCode >>> 8 & 15; _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); t1 = charCode >>> 4 & 15; _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); t1 = charCode & 15; _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); } } continue; } if (charCode < 32) { if (i > offset) _this.writeStringSlice$3(s, offset, i); offset = i + 1; _this.writeCharCode$1(92); switch (charCode) { case 8: _this.writeCharCode$1(98); break; case 9: _this.writeCharCode$1(116); break; case 10: _this.writeCharCode$1(110); break; case 12: _this.writeCharCode$1(102); break; case 13: _this.writeCharCode$1(114); break; default: _this.writeCharCode$1(117); _this.writeCharCode$1(48); _this.writeCharCode$1(48); t1 = charCode >>> 4 & 15; _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); t1 = charCode & 15; _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1); break; } } else if (charCode === 34 || charCode === 92) { if (i > offset) _this.writeStringSlice$3(s, offset, i); offset = i + 1; _this.writeCharCode$1(92); _this.writeCharCode$1(charCode); } } if (offset === 0) _this.writeString$1(s); else if (offset < $length) _this.writeStringSlice$3(s, offset, $length); }, _checkCycle$1(object) { var t1, t2, i, t3; for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) { t3 = t1[i]; if (object == null ? t3 == null : object === t3) throw A.wrapException(new A.JsonCyclicError(object, null)); } t1.push(object); }, writeObject$1(object) { var customJson, e, t1, exception, _this = this; if (_this.writeJsonValue$1(object)) return; _this._checkCycle$1(object); try { customJson = _this._toEncodable.call$1(object); if (!_this.writeJsonValue$1(customJson)) { t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult()); throw A.wrapException(t1); } _this._seen.pop(); } catch (exception) { e = A.unwrapException(exception); t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult()); throw A.wrapException(t1); } }, writeJsonValue$1(object) { var success, _this = this; if (typeof object == "number") { if (!isFinite(object)) return false; _this.writeNumber$1(object); return true; } else if (object === true) { _this.writeString$1("true"); return true; } else if (object === false) { _this.writeString$1("false"); return true; } else if (object == null) { _this.writeString$1("null"); return true; } else if (typeof object == "string") { _this.writeString$1('"'); _this.writeStringContent$1(object); _this.writeString$1('"'); return true; } else if (type$.List_dynamic._is(object)) { _this._checkCycle$1(object); _this.writeList$1(object); _this._seen.pop(); return true; } else if (type$.Map_dynamic_dynamic._is(object)) { _this._checkCycle$1(object); success = _this.writeMap$1(object); _this._seen.pop(); return success; } else return false; }, writeList$1(list) { var t1, i, _this = this; _this.writeString$1("["); t1 = J.getInterceptor$asx(list); if (t1.get$isNotEmpty(list)) { _this.writeObject$1(t1.$index(list, 0)); for (i = 1; i < t1.get$length(list); ++i) { _this.writeString$1(","); _this.writeObject$1(t1.$index(list, i)); } } _this.writeString$1("]"); }, writeMap$1(map) { var t2, keyValueList, i, separator, _this = this, _box_0 = {}, t1 = J.getInterceptor$asx(map); if (t1.get$isEmpty(map)) { _this.writeString$1("{}"); return true; } t2 = t1.get$length(map) * 2; keyValueList = A.List_List$filled(t2, null, false, type$.nullable_Object); i = _box_0.i = 0; _box_0.allStringKeys = true; t1.forEach$1(map, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList)); if (!_box_0.allStringKeys) return false; _this.writeString$1("{"); for (separator = '"'; i < t2; i += 2, separator = ',"') { _this.writeString$1(separator); _this.writeStringContent$1(A._asString(keyValueList[i])); _this.writeString$1('":'); _this.writeObject$1(keyValueList[i + 1]); } _this.writeString$1("}"); return true; } }; A._JsonStringifier_writeMap_closure.prototype = { call$2(key, value) { var t1, t2, t3, i; if (typeof key != "string") this._box_0.allStringKeys = false; t1 = this.keyValueList; t2 = this._box_0; t3 = t2.i; i = t2.i = t3 + 1; t1[t3] = key; t2.i = i + 1; t1[i] = value; }, $signature: 310 }; A._JsonPrettyPrintMixin.prototype = { writeList$1(list) { var i, _this = this, t1 = J.getInterceptor$asx(list); if (t1.get$isEmpty(list)) _this.writeString$1("[]"); else { _this.writeString$1("[\n"); _this.writeIndentation$1(++_this._JsonPrettyPrintMixin__indentLevel); _this.writeObject$1(t1.$index(list, 0)); for (i = 1; i < t1.get$length(list); ++i) { _this.writeString$1(",\n"); _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); _this.writeObject$1(t1.$index(list, i)); } _this.writeString$1("\n"); _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); _this.writeString$1("]"); } }, writeMap$1(map) { var t2, keyValueList, i, separator, _this = this, _box_0 = {}, t1 = J.getInterceptor$asx(map); if (t1.get$isEmpty(map)) { _this.writeString$1("{}"); return true; } t2 = t1.get$length(map) * 2; keyValueList = A.List_List$filled(t2, null, false, type$.nullable_Object); i = _box_0.i = 0; _box_0.allStringKeys = true; t1.forEach$1(map, new A._JsonPrettyPrintMixin_writeMap_closure(_box_0, keyValueList)); if (!_box_0.allStringKeys) return false; _this.writeString$1("{\n"); ++_this._JsonPrettyPrintMixin__indentLevel; for (separator = ""; i < t2; i += 2, separator = ",\n") { _this.writeString$1(separator); _this.writeIndentation$1(_this._JsonPrettyPrintMixin__indentLevel); _this.writeString$1('"'); _this.writeStringContent$1(A._asString(keyValueList[i])); _this.writeString$1('": '); _this.writeObject$1(keyValueList[i + 1]); } _this.writeString$1("\n"); _this.writeIndentation$1(--_this._JsonPrettyPrintMixin__indentLevel); _this.writeString$1("}"); return true; } }; A._JsonPrettyPrintMixin_writeMap_closure.prototype = { call$2(key, value) { var t1, t2, t3, i; if (typeof key != "string") this._box_0.allStringKeys = false; t1 = this.keyValueList; t2 = this._box_0; t3 = t2.i; i = t2.i = t3 + 1; t1[t3] = key; t2.i = i + 1; t1[i] = value; }, $signature: 310 }; A._JsonStringStringifier.prototype = { get$_partialResult() { var t1 = this._sink; return t1 instanceof A.StringBuffer ? t1.toString$0(0) : null; }, writeNumber$1(number) { this._sink.write$1(0, B.JSNumber_methods.toString$0(number)); }, writeString$1(string) { this._sink.write$1(0, string); }, writeStringSlice$3(string, start, end) { this._sink.write$1(0, B.JSString_methods.substring$2(string, start, end)); }, writeCharCode$1(charCode) { this._sink.writeCharCode$1(charCode); } }; A._JsonStringStringifierPretty.prototype = { writeIndentation$1(count) { var t1, t2, i; for (t1 = this._indent, t2 = this._sink, i = 0; i < count; ++i) t2.write$1(0, t1); } }; A.Latin1Codec.prototype = { get$name(_) { return "iso-8859-1"; }, encode$1(source) { return B.Latin1Encoder_255.convert$1(source); }, decode$1(_, bytes) { var t1 = B.Latin1Decoder_false_255.convert$1(bytes); return t1; } }; A.Latin1Encoder.prototype = {}; A.Latin1Decoder.prototype = { startChunkedConversion$1(sink) { var stringSink = type$.StringConversionSink._is(sink) ? sink : new A._StringAdapterSink(sink); if (!this._allowInvalid) return new A._Latin1DecoderSink(stringSink); return new A._Latin1AllowInvalidDecoderSink(stringSink); } }; A._Latin1DecoderSink.prototype = { close$0(_) { this._sink.close$0(0); this._sink = null; }, add$1(_, source) { this.addSlice$4(source, 0, J.get$length$asx(source), false); }, _addSliceToSink$4(source, start, end, isLast) { var t1 = this._sink; t1.toString; t1.add$1(0, A.String_String$fromCharCodes(source, start, end)); }, addSlice$4(source, start, end, isLast) { A.RangeError_checkValidRange(start, end, J.get$length$asx(source), null, null); if (start === end) return; if (!type$.Uint8List._is(source)) A._Latin1DecoderSink__checkValidLatin1(source, start, end); this._addSliceToSink$4(source, start, end, false); } }; A._Latin1AllowInvalidDecoderSink.prototype = { addSlice$4(source, start, end, isLast) { var i, char, t2, t1 = J.getInterceptor$asx(source); A.RangeError_checkValidRange(start, end, t1.get$length(source), null, null); for (i = start; i < end; ++i) { char = t1.$index(source, i); if (char > 255 || char < 0) { if (i > start) { t2 = this._sink; t2.toString; t2.add$1(0, A.String_String$fromCharCodes(source, start, i)); } t2 = this._sink; t2.toString; t2.add$1(0, A.String_String$fromCharCodes(B.List_65533, 0, 1)); start = i + 1; } } if (start < end) this._addSliceToSink$4(source, start, end, false); } }; A.LineSplitter.prototype = { convert$1(data) { var sliceStart, char, i, char0, lines = A._setArrayType([], type$.JSArray_String), end = data.length; for (sliceStart = 0, char = 0, i = 0; i < end; ++i, char = char0) { char0 = data.charCodeAt(i); if (char0 !== 13) { if (char0 !== 10) continue; if (char === 13) { sliceStart = i + 1; continue; } } lines.push(B.JSString_methods.substring$2(data, sliceStart, i)); sliceStart = i + 1; } if (sliceStart < end) lines.push(B.JSString_methods.substring$2(data, sliceStart, end)); return lines; } }; A.StringConversionSink.prototype = { add$1(_, str) { this.addSlice$4(str, 0, str.length, false); }, asUtf8Sink$1(allowMalformed) { return new A._Utf8ConversionSink(new A._Utf8Decoder(allowMalformed), this, new A.StringBuffer("")); }, asStringSink$0() { return new A._StringConversionSinkAsStringSinkAdapter(new A.StringBuffer(""), this); } }; A._ClosableStringSink.prototype = { close$0(_) { this._convert$_callback.call$0(); }, writeCharCode$1(charCode) { this._sink._contents += A.Primitives_stringFromCharCode(charCode); }, write$1(_, o) { this._sink._contents += o; } }; A._StringConversionSinkAsStringSinkAdapter.prototype = { close$0(_) { if (this._convert$_buffer._contents.length !== 0) this._convert$_flush$0(); this._chunkedSink.close$0(0); }, writeCharCode$1(charCode) { var t1 = this._convert$_buffer._contents += A.Primitives_stringFromCharCode(charCode); if (t1.length > 16) this._convert$_flush$0(); }, write$1(_, o) { if (this._convert$_buffer._contents.length !== 0) this._convert$_flush$0(); this._chunkedSink.add$1(0, o); }, _convert$_flush$0() { var t1 = this._convert$_buffer, t2 = t1._contents; t1._contents = ""; this._chunkedSink.add$1(0, t2.charCodeAt(0) == 0 ? t2 : t2); } }; A._StringSinkConversionSink.prototype = { close$0(_) { }, addSlice$4(str, start, end, isLast) { var t1, i; if (start !== 0 || end !== str.length) for (t1 = this._stringSink, i = start; i < end; ++i) t1._contents += A.Primitives_stringFromCharCode(str.charCodeAt(i)); else this._stringSink._contents += str; if (isLast) this.close$0(0); }, add$1(_, str) { this._stringSink._contents += str; }, asUtf8Sink$1(allowMalformed) { return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink); }, asStringSink$0() { return new A._ClosableStringSink(this.get$close(this), this._stringSink); } }; A._StringAdapterSink.prototype = { add$1(_, str) { this._sink.add$1(0, str); }, addSlice$4(str, start, end, isLast) { var t1 = start === 0 && end === str.length, t2 = this._sink; if (t1) t2.add$1(0, str); else t2.add$1(0, B.JSString_methods.substring$2(str, start, end)); if (isLast) t2.close$0(0); }, close$0(_) { this._sink.close$0(0); } }; A._Utf8StringSinkAdapter.prototype = { close$0(_) { this._decoder.flush$1(0, this._stringSink); this._sink.close$0(0); }, add$1(_, chunk) { this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false); }, addSlice$4(codeUnits, startIndex, endIndex, isLast) { this._stringSink._contents += this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false); if (isLast) this.close$0(0); } }; A._Utf8ConversionSink.prototype = { close$0(_) { var t2, t3, accumulated, t1 = this._convert$_buffer; this._decoder.flush$1(0, t1); t2 = t1._contents; t3 = this._chunkedSink; if (t2.length !== 0) { accumulated = t2.charCodeAt(0) == 0 ? t2 : t2; t1._contents = ""; t3.addSlice$4(accumulated, 0, accumulated.length, true); } else t3.close$0(0); }, add$1(_, chunk) { this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false); }, addSlice$4(chunk, startIndex, endIndex, isLast) { var accumulated, _this = this, t1 = _this._convert$_buffer, t2 = t1._contents += _this._decoder._convertGeneral$4(chunk, startIndex, endIndex, false); if (t2.length !== 0) { accumulated = t2.charCodeAt(0) == 0 ? t2 : t2; _this._chunkedSink.addSlice$4(accumulated, 0, accumulated.length, isLast); t1._contents = ""; return; } if (isLast) _this.close$0(0); } }; A.Utf8Codec.prototype = { get$name(_) { return "utf-8"; }, decode$2$allowMalformed(_, codeUnits, allowMalformed) { return (allowMalformed === true ? B.Utf8Decoder_true : B.Utf8Decoder_false).convert$1(codeUnits); }, decode$1(_, codeUnits) { return this.decode$2$allowMalformed(0, codeUnits, null); }, encode$1(string) { return B.C_Utf8Encoder.convert$1(string); } }; A.Utf8Encoder.prototype = { convert$1(string) { var t1, encoder, end = A.RangeError_checkValidRange(0, null, string.length, null, null), $length = end - 0; if ($length === 0) return new Uint8Array(0); t1 = new Uint8Array($length * 3); encoder = new A._Utf8Encoder(t1); if (encoder._fillBuffer$3(string, 0, end) !== end) encoder._writeReplacementCharacter$0(); return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); }, startChunkedConversion$1(sink) { return new A._Utf8EncoderSink(new A._ByteAdapterSink(sink), new Uint8Array(1024)); } }; A._Utf8Encoder.prototype = { _writeReplacementCharacter$0() { var _this = this, t1 = _this._convert$_buffer, t2 = _this._bufferIndex, t3 = _this._bufferIndex = t2 + 1; t1[t2] = 239; t2 = _this._bufferIndex = t3 + 1; t1[t3] = 191; _this._bufferIndex = t2 + 1; t1[t2] = 189; }, _writeSurrogate$2(leadingSurrogate, nextCodeUnit) { var rune, t1, t2, t3, _this = this; if ((nextCodeUnit & 64512) === 56320) { rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023; t1 = _this._convert$_buffer; t2 = _this._bufferIndex; t3 = _this._bufferIndex = t2 + 1; t1[t2] = rune >>> 18 | 240; t2 = _this._bufferIndex = t3 + 1; t1[t3] = rune >>> 12 & 63 | 128; t3 = _this._bufferIndex = t2 + 1; t1[t2] = rune >>> 6 & 63 | 128; _this._bufferIndex = t3 + 1; t1[t3] = rune & 63 | 128; return true; } else { _this._writeReplacementCharacter$0(); return false; } }, _fillBuffer$3(str, start, end) { var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this; if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296) --end; for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { codeUnit = str.charCodeAt(stringIndex); if (codeUnit <= 127) { t3 = _this._bufferIndex; if (t3 >= t2) break; _this._bufferIndex = t3 + 1; t1[t3] = codeUnit; } else { t3 = codeUnit & 64512; if (t3 === 55296) { if (_this._bufferIndex + 4 > t2) break; stringIndex0 = stringIndex + 1; if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0))) stringIndex = stringIndex0; } else if (t3 === 56320) { if (_this._bufferIndex + 3 > t2) break; _this._writeReplacementCharacter$0(); } else if (codeUnit <= 2047) { t3 = _this._bufferIndex; t4 = t3 + 1; if (t4 >= t2) break; _this._bufferIndex = t4; t1[t3] = codeUnit >>> 6 | 192; _this._bufferIndex = t4 + 1; t1[t4] = codeUnit & 63 | 128; } else { t3 = _this._bufferIndex; if (t3 + 2 >= t2) break; t4 = _this._bufferIndex = t3 + 1; t1[t3] = codeUnit >>> 12 | 224; t3 = _this._bufferIndex = t4 + 1; t1[t4] = codeUnit >>> 6 & 63 | 128; _this._bufferIndex = t3 + 1; t1[t3] = codeUnit & 63 | 128; } } } return stringIndex; } }; A._Utf8EncoderSink.prototype = { close$0(_) { if (this._carry !== 0) { this.addSlice$4("", 0, 0, true); return; } this._sink._sink.close$0(0); }, addSlice$4(str, start, end, isLast) { var t1, t2, t3, t4, isLastSlice, _this = this; _this._bufferIndex = 0; t1 = start === end; if (t1 && !isLast) return; t2 = _this._carry; if (t2 !== 0) { if (_this._writeSurrogate$2(t2, !t1 ? str.charCodeAt(start) : 0)) ++start; _this._carry = 0; } t1 = _this._sink; t2 = _this._convert$_buffer; t3 = end - 1; t4 = t2.length - 3; do { start = _this._fillBuffer$3(str, start, end); isLastSlice = isLast && start === end; if (start === t3 && (str.charCodeAt(start) & 64512) === 55296) { if (isLast && _this._bufferIndex < t4) _this._writeReplacementCharacter$0(); else _this._carry = str.charCodeAt(start); ++start; } t1.add$1(0, B.NativeUint8List_methods.sublist$2(t2, 0, _this._bufferIndex)); if (isLastSlice) t1.close$0(0); _this._bufferIndex = 0; } while (start < end); if (isLast) _this.close$0(0); } }; A.Utf8Decoder.prototype = { convert$1(codeUnits) { return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true); }, startChunkedConversion$1(sink) { var stringSink = type$.StringConversionSink._is(sink) ? sink : new A._StringAdapterSink(sink); return stringSink.asUtf8Sink$1(this._allowMalformed); } }; A._Utf8Decoder.prototype = { _convertGeneral$4(codeUnits, start, maybeEnd, single) { var casted, bytes, errorOffset, t1, result, message, _this = this, end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits), null, null); if (start === end) return ""; if (codeUnits instanceof Uint8Array) { casted = codeUnits; bytes = casted; errorOffset = 0; } else { bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end); end -= start; errorOffset = start; start = 0; } if (single && end - start >= 15) { t1 = _this.allowMalformed; result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end); if (result != null) { if (!t1) return result; if (result.indexOf("\ufffd") < 0) return result; } } result = _this._decodeRecursive$4(bytes, start, end, single); t1 = _this._convert$_state; if ((t1 & 1) !== 0) { message = A._Utf8Decoder_errorDescription(t1); _this._convert$_state = 0; throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex)); } return result; }, _decodeRecursive$4(bytes, start, end, single) { var mid, s1, _this = this; if (end - start > 1000) { mid = B.JSInt_methods._tdivFast$1(start + end, 2); s1 = _this._decodeRecursive$4(bytes, start, mid, false); if ((_this._convert$_state & 1) !== 0) return s1; return s1 + _this._decodeRecursive$4(bytes, mid, end, single); } return _this.decodeGeneral$4(bytes, start, end, single); }, flush$1(_, sink) { var state = this._convert$_state; this._convert$_state = 0; if (state <= 32) return; if (this.allowMalformed) sink._contents += A.Primitives_stringFromCharCode(65533); else throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null)); }, decodeGeneral$4(bytes, start, end, single) { var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533, state = _this._convert$_state, char = _this._charOrIndex, buffer = new A.StringBuffer(""), i = start + 1, byte = bytes[start]; $label0$0: for (t1 = _this.allowMalformed; true;) { for (; true; i = i0) { type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31; char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; state = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(state + type); if (state === 0) { buffer._contents += A.Primitives_stringFromCharCode(char); if (i === end) break $label0$0; break; } else if ((state & 1) !== 0) { if (t1) switch (state) { case 69: case 67: buffer._contents += A.Primitives_stringFromCharCode(_65533); break; case 65: buffer._contents += A.Primitives_stringFromCharCode(_65533); --i; break; default: t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533); buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533); break; } else { _this._convert$_state = state; _this._charOrIndex = i - 1; return ""; } state = 0; } if (i === end) break $label0$0; i0 = i + 1; byte = bytes[i]; } i0 = i + 1; byte = bytes[i]; if (byte < 128) { while (true) { if (!(i0 < end)) { markEnd = end; break; } i1 = i0 + 1; byte = bytes[i0]; if (byte >= 128) { markEnd = i1 - 1; i0 = i1; break; } i0 = i1; } if (markEnd - i < 20) for (m = i; m < markEnd; ++m) buffer._contents += A.Primitives_stringFromCharCode(bytes[m]); else buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd); if (markEnd === end) break $label0$0; i = i0; } else i = i0; } if (single && state > 32) if (t1) buffer._contents += A.Primitives_stringFromCharCode(_65533); else { _this._convert$_state = 77; _this._charOrIndex = end; return ""; } _this._convert$_state = state; _this._charOrIndex = char; t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin.prototype = {}; A.__Utf8EncoderSink__Utf8Encoder_StringConversionSink.prototype = {}; A._BigIntImpl.prototype = { $negate(_) { var t2, t3, _this = this, t1 = _this._used; if (t1 === 0) return _this; t2 = !_this._isNegative; t3 = _this._digits; t1 = A._BigIntImpl__normalize(t1, t3); return new A._BigIntImpl(t1 === 0 ? false : t2, t3, t1); }, _drShift$1(n) { var resultUsed, digits, resultDigits, i, t1, t2, result, _this = this, used = _this._used; if (used === 0) return $.$get$_BigIntImpl_zero(); resultUsed = used - n; if (resultUsed <= 0) return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); digits = _this._digits; resultDigits = new Uint16Array(resultUsed); for (i = n; i < used; ++i) resultDigits[i - n] = digits[i]; t1 = _this._isNegative; t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); result = new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); if (t1) for (i = 0; i < n; ++i) if (digits[i] !== 0) return result.$sub(0, $.$get$_BigIntImpl_one()); return result; }, $shr(_, shiftAmount) { var t1, digitShift, bitShift, resultUsed, digits, resultDigits, t2, result, i, _this = this; if (shiftAmount < 0) throw A.wrapException(A.ArgumentError$("shift-amount must be posititve " + shiftAmount, null)); t1 = _this._used; if (t1 === 0) return _this; digitShift = B.JSInt_methods._tdivFast$1(shiftAmount, 16); bitShift = B.JSInt_methods.$mod(shiftAmount, 16); if (bitShift === 0) return _this._drShift$1(digitShift); resultUsed = t1 - digitShift; if (resultUsed <= 0) return _this._isNegative ? $.$get$_BigIntImpl__minusOne() : $.$get$_BigIntImpl_zero(); digits = _this._digits; resultDigits = new Uint16Array(resultUsed); A._BigIntImpl__rsh(digits, t1, shiftAmount, resultDigits); t1 = _this._isNegative; t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); result = new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); if (t1) { if ((digits[digitShift] & B.JSInt_methods.$shl(1, bitShift) - 1) >>> 0 !== 0) return result.$sub(0, $.$get$_BigIntImpl_one()); for (i = 0; i < digitShift; ++i) if (digits[i] !== 0) return result.$sub(0, $.$get$_BigIntImpl_one()); } return result; }, compareTo$1(_, other) { var result, t1 = this._isNegative; if (t1 === other._isNegative) { result = A._BigIntImpl__compareDigits(this._digits, this._used, other._digits, other._used); return t1 ? 0 - result : result; } return t1 ? -1 : 1; }, _absAddSetSign$2(other, isNegative) { var resultUsed, resultDigits, t1, _this = this, used = _this._used, otherUsed = other._used; if (used < otherUsed) return other._absAddSetSign$2(_this, isNegative); if (used === 0) return $.$get$_BigIntImpl_zero(); if (otherUsed === 0) return _this._isNegative === isNegative ? _this : _this.$negate(0); resultUsed = used + 1; resultDigits = new Uint16Array(resultUsed); A._BigIntImpl__absAdd(_this._digits, used, other._digits, otherUsed, resultDigits); t1 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, _absSubSetSign$2(other, isNegative) { var otherUsed, resultDigits, t1, _this = this, used = _this._used; if (used === 0) return $.$get$_BigIntImpl_zero(); otherUsed = other._used; if (otherUsed === 0) return _this._isNegative === isNegative ? _this : _this.$negate(0); resultDigits = new Uint16Array(used); A._BigIntImpl__absSub(_this._digits, used, other._digits, otherUsed, resultDigits); t1 = A._BigIntImpl__normalize(used, resultDigits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, $add(_, other) { var t2, isNegative, _this = this, t1 = _this._used; if (t1 === 0) return other; t2 = other._used; if (t2 === 0) return _this; isNegative = _this._isNegative; if (isNegative === other._isNegative) return _this._absAddSetSign$2(other, isNegative); if (A._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) return _this._absSubSetSign$2(other, isNegative); return other._absSubSetSign$2(_this, !isNegative); }, $sub(_, other) { var t2, isNegative, _this = this, t1 = _this._used; if (t1 === 0) return other.$negate(0); t2 = other._used; if (t2 === 0) return _this; isNegative = _this._isNegative; if (isNegative !== other._isNegative) return _this._absAddSetSign$2(other, isNegative); if (A._BigIntImpl__compareDigits(_this._digits, t1, other._digits, t2) >= 0) return _this._absSubSetSign$2(other, isNegative); return other._absSubSetSign$2(_this, !isNegative); }, $mul(_, other) { var resultUsed, digits, otherDigits, resultDigits, i, t1, t2, used = this._used, otherUsed = other._used; if (used === 0 || otherUsed === 0) return $.$get$_BigIntImpl_zero(); resultUsed = used + otherUsed; digits = this._digits; otherDigits = other._digits; resultDigits = new Uint16Array(resultUsed); for (i = 0; i < otherUsed;) { A._BigIntImpl__mulAdd(otherDigits[i], digits, 0, resultDigits, i, used); ++i; } t1 = this._isNegative !== other._isNegative; t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); }, _div$1(other) { var lastQuo_used, quo_digits, t1, quo; if (this._used < other._used) return $.$get$_BigIntImpl_zero(); this._divRem$1(other); lastQuo_used = $._BigIntImpl____lastQuoRemUsed._readField$0() - $._BigIntImpl____lastRemUsed._readField$0(); quo_digits = A._BigIntImpl__cloneDigits($._BigIntImpl____lastQuoRemDigits._readField$0(), $._BigIntImpl____lastRemUsed._readField$0(), $._BigIntImpl____lastQuoRemUsed._readField$0(), lastQuo_used); t1 = A._BigIntImpl__normalize(lastQuo_used, quo_digits); quo = new A._BigIntImpl(false, quo_digits, t1); return this._isNegative !== other._isNegative && t1 > 0 ? quo.$negate(0) : quo; }, _rem$1(other) { var remDigits, t1, rem, _this = this; if (_this._used < other._used) return _this; _this._divRem$1(other); remDigits = A._BigIntImpl__cloneDigits($._BigIntImpl____lastQuoRemDigits._readField$0(), 0, $._BigIntImpl____lastRemUsed._readField$0(), $._BigIntImpl____lastRemUsed._readField$0()); t1 = A._BigIntImpl__normalize($._BigIntImpl____lastRemUsed._readField$0(), remDigits); rem = new A._BigIntImpl(false, remDigits, t1); if ($._BigIntImpl____lastRem_nsh._readField$0() > 0) rem = rem.$shr(0, $._BigIntImpl____lastRem_nsh._readField$0()); return _this._isNegative && rem._used > 0 ? rem.$negate(0) : rem; }, _divRem$1(other) { var yDigits, yUsed, nsh, yDigits0, yUsed0, resultDigits, resultUsed0, topDigitDivisor, j, tmpDigits, tmpUsed, resultUsed1, nyDigits, i, estimatedQuotientDigit, _this = this, resultUsed = _this._used; if (resultUsed === $._BigIntImpl__lastDividendUsed && other._used === $._BigIntImpl__lastDivisorUsed && _this._digits === $._BigIntImpl__lastDividendDigits && other._digits === $._BigIntImpl__lastDivisorDigits) return; yDigits = other._digits; yUsed = other._used; nsh = 16 - B.JSInt_methods.get$bitLength(yDigits[yUsed - 1]); if (nsh > 0) { yDigits0 = new Uint16Array(yUsed + 5); yUsed0 = A._BigIntImpl__lShiftDigits(yDigits, yUsed, nsh, yDigits0); resultDigits = new Uint16Array(resultUsed + 5); resultUsed0 = A._BigIntImpl__lShiftDigits(_this._digits, resultUsed, nsh, resultDigits); } else { resultDigits = A._BigIntImpl__cloneDigits(_this._digits, 0, resultUsed, resultUsed + 2); yUsed0 = yUsed; yDigits0 = yDigits; resultUsed0 = resultUsed; } topDigitDivisor = yDigits0[yUsed0 - 1]; j = resultUsed0 - yUsed0; tmpDigits = new Uint16Array(resultUsed0); tmpUsed = A._BigIntImpl__dlShiftDigits(yDigits0, yUsed0, j, tmpDigits); resultUsed1 = resultUsed0 + 1; if (A._BigIntImpl__compareDigits(resultDigits, resultUsed0, tmpDigits, tmpUsed) >= 0) { resultDigits[resultUsed0] = 1; A._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); } else resultDigits[resultUsed0] = 0; nyDigits = new Uint16Array(yUsed0 + 2); nyDigits[yUsed0] = 1; A._BigIntImpl__absSub(nyDigits, yUsed0 + 1, yDigits0, yUsed0, nyDigits); i = resultUsed0 - 1; for (; j > 0;) { estimatedQuotientDigit = A._BigIntImpl__estimateQuotientDigit(topDigitDivisor, resultDigits, i); --j; A._BigIntImpl__mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed0); if (resultDigits[i] < estimatedQuotientDigit) { tmpUsed = A._BigIntImpl__dlShiftDigits(nyDigits, yUsed0, j, tmpDigits); A._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); for (; --estimatedQuotientDigit, resultDigits[i] < estimatedQuotientDigit;) A._BigIntImpl__absSub(resultDigits, resultUsed1, tmpDigits, tmpUsed, resultDigits); } --i; } $._BigIntImpl__lastDividendDigits = _this._digits; $._BigIntImpl__lastDividendUsed = resultUsed; $._BigIntImpl__lastDivisorDigits = yDigits; $._BigIntImpl__lastDivisorUsed = yUsed; $._BigIntImpl____lastQuoRemDigits.__late_helper$_value = resultDigits; $._BigIntImpl____lastQuoRemUsed.__late_helper$_value = resultUsed1; $._BigIntImpl____lastRemUsed.__late_helper$_value = yUsed0; $._BigIntImpl____lastRem_nsh.__late_helper$_value = nsh; }, get$hashCode(_) { var hash, t2, i, combine = new A._BigIntImpl_hashCode_combine(), t1 = this._used; if (t1 === 0) return 6707; hash = this._isNegative ? 83585 : 429689; for (t2 = this._digits, i = 0; i < t1; ++i) hash = combine.call$2(hash, t2[i]); return new A._BigIntImpl_hashCode_finish().call$1(hash); }, $eq(_, other) { if (other == null) return false; return other instanceof A._BigIntImpl && this.compareTo$1(0, other) === 0; }, $div(_, other) { return B.JSNumber_methods.$div(this.toDouble$0(0), other.toDouble$0(0)); }, $lt(_, other) { return this.compareTo$1(0, other) < 0; }, $gt(_, other) { return this.compareTo$1(0, other) > 0; }, $ge(_, other) { return this.compareTo$1(0, other) >= 0; }, toDouble$0(_) { var resultBits, t2, $length, biasedExponent, readBits, i, roundUp, _this = this, _box_0 = {}, t1 = _this._used; if (t1 === 0) return 0; resultBits = new Uint8Array(8); --t1; t2 = _this._digits; $length = 16 * t1 + B.JSInt_methods.get$bitLength(t2[t1]); if ($length > 1024) return _this._isNegative ? -1 / 0 : 1 / 0; if (_this._isNegative) resultBits[7] = 128; biasedExponent = $length - 53 + 1075; resultBits[6] = (biasedExponent & 15) << 4; resultBits[7] = (resultBits[7] | B.JSInt_methods._shrOtherPositive$1(biasedExponent, 4)) >>> 0; _box_0.cachedBitsLength = _box_0.cachedBits = 0; _box_0.digitIndex = t1; readBits = new A._BigIntImpl_toDouble_readBits(_box_0, _this); t1 = readBits.call$1(5); resultBits[6] = resultBits[6] | t1 & 15; for (i = 5; i >= 0; --i) resultBits[i] = readBits.call$1(8); roundUp = new A._BigIntImpl_toDouble_roundUp(resultBits); if (J.$eq$(readBits.call$1(1), 1)) if ((resultBits[0] & 1) === 1) roundUp.call$0(); else if (_box_0.cachedBits !== 0) roundUp.call$0(); else for (i = _box_0.digitIndex; i >= 0; --i) if (t2[i] !== 0) { roundUp.call$0(); break; } return A.NativeByteData_NativeByteData$view(resultBits.buffer, 0, null).getFloat64(0, true); }, toString$0(_) { var decimalDigitChunks, rest, t2, digits4, t3, _this = this, t1 = _this._used; if (t1 === 0) return "0"; if (t1 === 1) { if (_this._isNegative) return B.JSInt_methods.toString$0(-_this._digits[0]); return B.JSInt_methods.toString$0(_this._digits[0]); } decimalDigitChunks = A._setArrayType([], type$.JSArray_String); t1 = _this._isNegative; rest = t1 ? _this.$negate(0) : _this; for (; rest._used > 1;) { t2 = $.$get$_BigIntImpl__bigInt10000(); if (t2._used === 0) A.throwExpression(B.C_IntegerDivisionByZeroException); digits4 = rest._rem$1(t2).toString$0(0); decimalDigitChunks.push(digits4); t3 = digits4.length; if (t3 === 1) decimalDigitChunks.push("000"); if (t3 === 2) decimalDigitChunks.push("00"); if (t3 === 3) decimalDigitChunks.push("0"); rest = rest._div$1(t2); } decimalDigitChunks.push(B.JSInt_methods.toString$0(rest._digits[0])); if (t1) decimalDigitChunks.push("-"); return new A.ReversedListIterable(decimalDigitChunks, type$.ReversedListIterable_String).join$0(0); }, $isComparable: 1 }; A._BigIntImpl_hashCode_combine.prototype = { call$2(hash, value) { hash = hash + value & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, $signature: 478 }; A._BigIntImpl_hashCode_finish.prototype = { call$1(hash) { hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, $signature: 131 }; A._BigIntImpl_toDouble_readBits.prototype = { call$1(n) { var t1, t2, t3, t4, nextDigit, nextDigitLength, result; for (t1 = this._box_0, t2 = this.$this, t3 = t2._used - 1, t2 = t2._digits; t4 = t1.cachedBitsLength, t4 < n;) { t4 = t1.digitIndex; if (t4 < 0) { t1.digitIndex = t4 - 1; nextDigit = 0; nextDigitLength = 16; } else { nextDigit = t2[t4]; nextDigitLength = t4 === t3 ? B.JSInt_methods.get$bitLength(nextDigit) : 16; --t1.digitIndex; } t1.cachedBits = B.JSInt_methods.$shl(t1.cachedBits, nextDigitLength) + nextDigit; t1.cachedBitsLength += nextDigitLength; } t2 = t1.cachedBits; t4 -= n; result = B.JSInt_methods.$shr(t2, t4); t1.cachedBits = t2 - B.JSInt_methods.$shl(result, t4); t1.cachedBitsLength = t4; return result; }, $signature: 131 }; A._BigIntImpl_toDouble_roundUp.prototype = { call$0() { var t1, carry, i, sum; for (t1 = this.resultBits, carry = 1, i = 0; i < 8; ++i) { if (carry === 0) break; sum = t1[i] + carry; t1[i] = sum & 255; carry = sum >>> 8; } }, $signature: 0 }; A._WeakReferenceWrapper.prototype = {}; A.NoSuchMethodError_toString_closure.prototype = { call$2(key, value) { var t1 = this.sb, t2 = this._box_0, t3 = t1._contents += t2.comma; t3 += key._name; t1._contents = t3; t1._contents = t3 + ": "; t1._contents += A.Error_safeToString(value); t2.comma = ", "; }, $signature: 1923 }; A._Uri__makeQueryFromParameters_closure.prototype = { call$2(key, value) { var t1, t2; if (typeof value == "string") this.params.set(key, value); else if (value == null) this.params.set(key, ""); else for (t1 = J.get$iterator$ax(value), t2 = this.params; t1.moveNext$0();) { value = t1.get$current(t1); if (typeof value == "string") t2.append(key, value); else if (value == null) t2.append(key, ""); else A._asStringQ(value); } }, $signature: 145 }; A.DateTime.prototype = { get$timeZoneOffset() { if (this.isUtc) return A.Duration$(0, 0, 0, 0, 0, 0); return A.Duration$(0, 0, 0, 0, 0 - A.Primitives_lazyAsJsDate(this).getTimezoneOffset(), 0); }, add$1(_, duration) { return A.DateTime$_withValue(this._value + B.JSInt_methods._tdivFast$1(duration._duration, 1000), this.isUtc); }, subtract$1(duration) { return A.DateTime$_withValue(this._value - B.JSInt_methods._tdivFast$1(duration._duration, 1000), this.isUtc); }, $eq(_, other) { if (other == null) return false; return other instanceof A.DateTime && this._value === other._value && this.isUtc === other.isUtc; }, compareTo$1(_, other) { return B.JSInt_methods.compareTo$1(this._value, other._value); }, DateTime$_withValue$2$isUtc(_value, isUtc) { var t2, t1 = this._value; if (Math.abs(t1) <= 864e13) t2 = false; else t2 = true; if (t2) throw A.wrapException(A.ArgumentError$("DateTime is outside valid range: " + t1, null)); A.checkNotNullable(this.isUtc, "isUtc", type$.bool); }, get$hashCode(_) { var t1 = this._value; return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; }, toLocal$0() { if (this.isUtc) return A.DateTime$_withValue(this._value, false); return this; }, toUtc$0() { if (this.isUtc) return this; return A.DateTime$_withValue(this._value, true); }, toString$0(_) { var _this = this, y = A.DateTime__fourDigits(A.Primitives_getYear(_this)), m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)), d = A.DateTime__twoDigits(A.Primitives_getDay(_this)), h = A.DateTime__twoDigits(A.Primitives_getHours(_this)), min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)), sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)), ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)), t1 = y + "-" + m; if (_this.isUtc) return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; else return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms; }, toIso8601String$0() { var _this = this, y = A.Primitives_getYear(_this) >= -9999 && A.Primitives_getYear(_this) <= 9999 ? A.DateTime__fourDigits(A.Primitives_getYear(_this)) : A.DateTime__sixDigits(A.Primitives_getYear(_this)), m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)), d = A.DateTime__twoDigits(A.Primitives_getDay(_this)), h = A.DateTime__twoDigits(A.Primitives_getHours(_this)), min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)), sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)), ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)), t1 = y + "-" + m; if (_this.isUtc) return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + "Z"; else return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms; }, $isComparable: 1 }; A.DateTime_parse_parseIntOrZero.prototype = { call$1(matched) { if (matched == null) return 0; return A.int_parse(matched, null); }, $signature: 899 }; A.DateTime_parse_parseMilliAndMicroseconds.prototype = { call$1(matched) { var t1, result, i; if (matched == null) return 0; for (t1 = matched.length, result = 0, i = 0; i < 6; ++i) { result *= 10; if (i < t1) result += matched.charCodeAt(i) ^ 48; } return result; }, $signature: 899 }; A.Duration.prototype = { $add(_, other) { return new A.Duration(this._duration + other._duration); }, $sub(_, other) { return new A.Duration(this._duration - other._duration); }, $mul(_, factor) { return new A.Duration(B.JSNumber_methods.round$0(this._duration * factor)); }, $lt(_, other) { return this._duration < other._duration; }, $gt(_, other) { return this._duration > other._duration; }, $ge(_, other) { return this._duration >= other._duration; }, $eq(_, other) { if (other == null) return false; return other instanceof A.Duration && this._duration === other._duration; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(this._duration); }, compareTo$1(_, other) { return B.JSInt_methods.compareTo$1(this._duration, other._duration); }, toString$0(_) { var sign, minutes, minutesPadding, seconds, secondsPadding, microseconds = this._duration, hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000), microseconds0 = microseconds % 3600000000; if (microseconds < 0) { hours = 0 - hours; microseconds = 0 - microseconds0; sign = "-"; } else { microseconds = microseconds0; sign = ""; } minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000); microseconds %= 60000000; minutesPadding = minutes < 10 ? "0" : ""; seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000); secondsPadding = seconds < 10 ? "0" : ""; return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); }, $isComparable: 1 }; A._Enum.prototype = { toString$0(_) { return this._enumToString$0(); } }; A.Error.prototype = { get$stackTrace() { return A.getTraceFromException(this.$thrownJsError); } }; A.AssertionError.prototype = { toString$0(_) { var t1 = this.message; if (t1 != null) return "Assertion failed: " + A.Error_safeToString(t1); return "Assertion failed"; }, get$message(receiver) { return this.message; } }; A.TypeError.prototype = {}; A.ArgumentError.prototype = { get$_errorName() { return "Invalid argument" + (!this._hasValue ? "(s)" : ""); }, get$_errorExplanation() { return ""; }, toString$0(_) { var _this = this, $name = _this.name, nameString = $name == null ? "" : " (" + $name + ")", message = _this.message, messageString = message == null ? "" : ": " + A.S(message), prefix = _this.get$_errorName() + nameString + messageString; if (!_this._hasValue) return prefix; return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue()); }, get$invalidValue() { return this.invalidValue; }, get$message(receiver) { return this.message; } }; A.RangeError.prototype = { get$invalidValue() { return this.invalidValue; }, get$_errorName() { return "RangeError"; }, get$_errorExplanation() { var explanation, start = this.start, end = this.end; if (start == null) explanation = end != null ? ": Not less than or equal to " + A.S(end) : ""; else if (end == null) explanation = ": Not greater than or equal to " + A.S(start); else if (end > start) explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end); else explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start); return explanation; } }; A.IndexError.prototype = { get$invalidValue() { return this.invalidValue; }, get$_errorName() { return "RangeError"; }, get$_errorExplanation() { if (this.invalidValue < 0) return ": index must not be negative"; var t1 = this.length; if (t1 === 0) return ": no indices are valid"; return ": index should be less than " + t1; }, get$length(receiver) { return this.length; } }; A.NoSuchMethodError.prototype = { toString$0(_) { var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {}, sb = new A.StringBuffer(""); _box_0.comma = ""; $arguments = _this._core$_arguments; for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") { argument = $arguments[_i]; sb._contents = t2 + t3; t2 = sb._contents += A.Error_safeToString(argument); _box_0.comma = ", "; } _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb)); receiverText = A.Error_safeToString(_this._core$_receiver); actualParameters = sb.toString$0(0); return "NoSuchMethodError: method not found: '" + _this._memberName._name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; } }; A.UnsupportedError.prototype = { toString$0(_) { return "Unsupported operation: " + this.message; }, get$message(receiver) { return this.message; } }; A.UnimplementedError.prototype = { toString$0(_) { var message = this.message; return message != null ? "UnimplementedError: " + message : "UnimplementedError"; }, get$message(receiver) { return this.message; } }; A.StateError.prototype = { toString$0(_) { return "Bad state: " + this.message; }, get$message(receiver) { return this.message; } }; A.ConcurrentModificationError.prototype = { toString$0(_) { var t1 = this.modifiedObject; if (t1 == null) return "Concurrent modification during iteration."; return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + "."; } }; A.OutOfMemoryError.prototype = { toString$0(_) { return "Out of Memory"; }, get$stackTrace() { return null; }, $isError: 1 }; A.StackOverflowError.prototype = { toString$0(_) { return "Stack Overflow"; }, get$stackTrace() { return null; }, $isError: 1 }; A._Exception.prototype = { toString$0(_) { var message = this.message; if (message == null) return "Exception"; return "Exception: " + A.S(message); }, $isException: 1, get$message(receiver) { return this.message; } }; A.FormatException.prototype = { toString$0(_) { var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, message = this.message, report = "" !== message ? "FormatException: " + message : "FormatException", offset = this.offset, source = this.source; if (typeof source == "string") { if (offset != null) t1 = offset < 0 || offset > source.length; else t1 = false; if (t1) offset = null; if (offset == null) { if (source.length > 78) source = B.JSString_methods.substring$2(source, 0, 75) + "..."; return report + "\n" + source; } for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { char = source.charCodeAt(i); if (char === 10) { if (lineStart !== i || !previousCharWasCR) ++lineNum; lineStart = i + 1; previousCharWasCR = false; } else if (char === 13) { ++lineNum; lineStart = i + 1; previousCharWasCR = true; } } report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n"); lineEnd = source.length; for (i = offset; i < lineEnd; ++i) { char = source.charCodeAt(i); if (char === 10 || char === 13) { lineEnd = i; break; } } if (lineEnd - lineStart > 78) if (offset - lineStart < 75) { end = lineStart + 75; start = lineStart; prefix = ""; postfix = "..."; } else { if (lineEnd - offset < 75) { start = lineEnd - 75; end = lineEnd; postfix = ""; } else { start = offset - 36; end = offset + 36; postfix = "..."; } prefix = "..."; } else { end = lineEnd; start = lineStart; prefix = ""; postfix = ""; } return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n"; } else return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report; }, $isException: 1, get$message(receiver) { return this.message; }, get$source(receiver) { return this.source; }, get$offset(receiver) { return this.offset; } }; A.IntegerDivisionByZeroException.prototype = { get$message(_) { return "Division resulted in non-finite value"; }, get$stackTrace() { return null; }, toString$0(_) { return "IntegerDivisionByZeroException"; }, $isError: 1, $isException: 1 }; A.Iterable.prototype = { cast$1$0(_, $R) { return A.CastIterable_CastIterable(this, A.instanceType(this)._eval$1("Iterable.E"), $R); }, followedBy$1(_, other) { var _this = this, t1 = A.instanceType(_this); if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this)) return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E")); return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>")); }, map$1$1(_, toElement, $T) { return A.MappedIterable_MappedIterable(this, toElement, A.instanceType(this)._eval$1("Iterable.E"), $T); }, map$1(_, toElement) { return this.map$1$1(0, toElement, type$.dynamic); }, where$1(_, test) { return new A.WhereIterable(this, test, A.instanceType(this)._eval$1("WhereIterable<Iterable.E>")); }, expand$1$1(_, toElements, $T) { return new A.ExpandIterable(this, toElements, A.instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, contains$1(_, element) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) if (J.$eq$(t1.get$current(t1), element)) return true; return false; }, forEach$1(_, action) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) action.call$1(t1.get$current(t1)); }, reduce$1(_, combine) { var value, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); value = iterator.get$current(iterator); for (; iterator.moveNext$0();) value = combine.call$2(value, iterator.get$current(iterator)); return value; }, fold$1$2(_, initialValue, combine) { var t1, value; for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();) value = combine.call$2(value, t1.get$current(t1)); return value; }, join$1(_, separator) { var first, t1, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) return ""; first = J.toString$0$(iterator.get$current(iterator)); if (!iterator.moveNext$0()) return first; if (separator.length === 0) { t1 = first; do t1 += J.toString$0$(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { t1 = first; do t1 = t1 + separator + J.toString$0$(iterator.get$current(iterator)); while (iterator.moveNext$0()); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, join$0(_) { return this.join$1(0, ""); }, any$1(_, test) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) if (test.call$1(t1.get$current(t1))) return true; return false; }, toList$1$growable(_, growable) { return A.List_List$of(this, growable, A.instanceType(this)._eval$1("Iterable.E")); }, toList$0(_) { return this.toList$1$growable(0, true); }, toSet$0(_) { return A.LinkedHashSet_LinkedHashSet$of(this, A.instanceType(this)._eval$1("Iterable.E")); }, get$length(_) { var count, it = this.get$iterator(this); for (count = 0; it.moveNext$0();) ++count; return count; }, get$isEmpty(_) { return !this.get$iterator(this).moveNext$0(); }, get$isNotEmpty(_) { return !this.get$isEmpty(this); }, take$1(_, count) { return A.TakeIterable_TakeIterable(this, count, A.instanceType(this)._eval$1("Iterable.E")); }, skip$1(_, count) { return A.SkipIterable_SkipIterable(this, count, A.instanceType(this)._eval$1("Iterable.E")); }, get$first(_) { var it = this.get$iterator(this); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); return it.get$current(it); }, get$last(_) { var result, it = this.get$iterator(this); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); do result = it.get$current(it); while (it.moveNext$0()); return result; }, get$single(_) { var result, it = this.get$iterator(this); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); result = it.get$current(it); if (it.moveNext$0()) throw A.wrapException(A.IterableElementError_tooMany()); return result; }, firstWhere$2$orElse(_, test, orElse) { var t1, element; for (t1 = this.get$iterator(this); t1.moveNext$0();) { element = t1.get$current(t1); if (test.call$1(element)) return element; } throw A.wrapException(A.IterableElementError_noElement()); }, firstWhere$1(_, test) { return this.firstWhere$2$orElse(0, test, null); }, lastWhere$1(_, test) { var result, current, iterator = this.get$iterator(this); do { if (!iterator.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); result = iterator.get$current(iterator); } while (!test.call$1(result)); for (; iterator.moveNext$0();) { current = iterator.get$current(iterator); if (test.call$1(current)) result = current; } return result; }, elementAt$1(_, index) { var iterator, skipCount; A.RangeError_checkNotNegative(index, "index"); iterator = this.get$iterator(this); for (skipCount = index; iterator.moveNext$0();) { if (skipCount === 0) return iterator.get$current(iterator); --skipCount; } throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index")); }, toString$0(_) { return A.Iterable_iterableToShortString(this, "(", ")"); } }; A._GeneratorIterable.prototype = { elementAt$1(_, index) { A.IndexError_check(index, this.length, this, null, null); return this._generator.call$1(index); }, get$length(receiver) { return this.length; } }; A.Iterator.prototype = {}; A.MapEntry.prototype = { toString$0(_) { return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")"; }, get$value(receiver) { return this.value; } }; A.Null.prototype = { get$hashCode(_) { return A.Object.prototype.get$hashCode.call(this, 0); }, toString$0(_) { return "null"; } }; A.Object.prototype = {$isObject: 1, $eq(_, other) { return this === other; }, get$hashCode(_) { return A.Primitives_objectHashCode(this); }, toString$0(_) { return "Instance of '" + A.Primitives_objectTypeName(this) + "'"; }, noSuchMethod$1(_, invocation) { throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation)); }, get$runtimeType(_) { return A.getRuntimeTypeOfDartObject(this); }, toString() { return this.toString$0(this); }, call$0() { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$0", 0, [], [], 0)); }, call$1($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1", 0, [$0], [], 0)); }, call$2($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2", 0, [$0, $1], [], 0)); }, call$1$2$onError($0, $1, $T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$2$onError", 0, [$0, $1, $T1], ["onError"], 1)); }, call$3($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3", 0, [$0, $1, $2], [], 0)); }, call$4($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4", 0, [$0, $1, $2, $3], [], 0)); }, call$1$1($0, $T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$1", 0, [$0, $T1], [], 1)); }, call$4$cancelOnError$onDone$onError($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$cancelOnError$onDone$onError", 0, [$0, $1, $2, $3], ["cancelOnError", "onDone", "onError"], 0)); }, call$1$highContrast($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$highContrast", 0, [$0], ["highContrast"], 0)); }, call$1$accessibilityFeatures($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$accessibilityFeatures", 0, [$0], ["accessibilityFeatures"], 0)); }, call$3$replace$state($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$replace$state", 0, [$0, $1, $2], ["replace", "state"], 0)); }, call$2$path($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$path", 0, [$0, $1], ["path"], 0)); }, call$1$growable($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$growable", 0, [$0], ["growable"], 0)); }, call$2$params($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$params", 0, [$0, $1], ["params"], 0)); }, call$1$accessibleNavigation($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$accessibleNavigation", 0, [$0], ["accessibleNavigation"], 0)); }, call$1$semanticsEnabled($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$semanticsEnabled", 0, [$0], ["semanticsEnabled"], 0)); }, call$3$onAction$onChange($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$onAction$onChange", 0, [$0, $1, $2], ["onAction", "onChange"], 0)); }, call$1$0($T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$0", 0, [$T1], [], 1)); }, call$1$locales($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$locales", 0, [$0], ["locales"], 0)); }, call$1$textScaleFactor($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$textScaleFactor", 0, [$0], ["textScaleFactor"], 0)); }, call$1$platformBrightness($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$platformBrightness", 0, [$0], ["platformBrightness"], 0)); }, call$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$signalKind$timeStamp$viewId($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scale$signalKind$timeStamp$viewId", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12], ["buttons", "change", "device", "kind", "physicalX", "physicalY", "pressure", "pressureMax", "scale", "signalKind", "timeStamp", "viewId"], 0)); }, call$14$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scrollDeltaX$scrollDeltaY$signalKind$timeStamp$viewId($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$14$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$scrollDeltaX$scrollDeltaY$signalKind$timeStamp$viewId", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13], ["buttons", "change", "device", "kind", "physicalX", "physicalY", "pressure", "pressureMax", "scrollDeltaX", "scrollDeltaY", "signalKind", "timeStamp", "viewId"], 0)); }, call$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$signalKind$tilt$timeStamp$viewId($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$signalKind$tilt$timeStamp$viewId", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12], ["buttons", "change", "device", "kind", "physicalX", "physicalY", "pressure", "pressureMax", "signalKind", "tilt", "timeStamp", "viewId"], 0)); }, call$1$hostElementAttributes($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$hostElementAttributes", 0, [$0], ["hostElementAttributes"], 0)); }, call$2$aspect($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$aspect", 0, [$0, $1], ["aspect"], 0)); }, call$1$style($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$style", 0, [$0], ["style"], 0)); }, call$2$priority$scheduler($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$priority$scheduler", 0, [$0, $1], ["priority", "scheduler"], 0)); }, call$2$position($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$position", 0, [$0, $1], ["position"], 0)); }, call$1$includeChildren($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$includeChildren", 0, [$0], ["includeChildren"], 0)); }, call$21$background$color$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$shadows$textBaseline$wordSpacing($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$21$background$color$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$shadows$textBaseline$wordSpacing", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20], ["background", "color", "decoration", "decorationColor", "decorationStyle", "decorationThickness", "fontFamily", "fontFamilyFallback", "fontFeatures", "fontSize", "fontStyle", "fontVariations", "fontWeight", "foreground", "height", "leadingDistribution", "letterSpacing", "locale", "shadows", "textBaseline", "wordSpacing"], 0)); }, call$12$ellipsis$fontFamily$fontSize$fontStyle$fontWeight$height$locale$maxLines$strutStyle$textAlign$textDirection$textHeightBehavior($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$12$ellipsis$fontFamily$fontSize$fontStyle$fontWeight$height$locale$maxLines$strutStyle$textAlign$textDirection$textHeightBehavior", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11], ["ellipsis", "fontFamily", "fontSize", "fontStyle", "fontWeight", "height", "locale", "maxLines", "strutStyle", "textAlign", "textDirection", "textHeightBehavior"], 0)); }, call$3$background$primary$secondary($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$background$primary$secondary", 0, [$0, $1, $2], ["background", "primary", "secondary"], 0)); }, call$2$background$secondary($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$background$secondary", 0, [$0, $1], ["background", "secondary"], 0)); }, call$3$forgottenChildren($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$forgottenChildren", 0, [$0, $1, $2], ["forgottenChildren"], 0)); }, call$2$after($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$after", 0, [$0, $1], ["after"], 0)); }, call$1$reversed($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$reversed", 0, [$0], ["reversed"], 0)); }, call$1$findFirstFocus($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$findFirstFocus", 0, [$0], ["findFirstFocus"], 0)); }, call$1$withDelay($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$withDelay", 0, [$0], ["withDelay"], 0)); }, call$1$2$arguments($0, $1, $T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$2$arguments", 0, [$0, $1, $T1], ["arguments"], 1)); }, call$2$1($0, $T1, $T2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$1", 0, [$0, $T1, $T2], [], 2)); }, call$2$endTimestamp$status($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$endTimestamp$status", 0, [$0, $1], ["endTimestamp", "status"], 0)); }, call$4$exception$stackTrace($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$exception$stackTrace", 0, [$0, $1, $2, $3], ["exception", "stackTrace"], 0)); }, call$1$endTimestamp($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$endTimestamp", 0, [$0], ["endTimestamp"], 0)); }, call$2$newRoute$oldRoute($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$newRoute$oldRoute", 0, [$0, $1], ["newRoute", "oldRoute"], 0)); }, call$1$2($0, $1, $T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$2", 0, [$0, $1, $T1], [], 1)); }, call$6$alignment$alignmentPolicy$curve$duration$targetRenderObject($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$alignment$alignmentPolicy$curve$duration$targetRenderObject", 0, [$0, $1, $2, $3, $4, $5], ["alignment", "alignmentPolicy", "curve", "duration", "targetRenderObject"], 0)); }, call$2$alignmentPolicy($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$alignmentPolicy", 0, [$0, $1], ["alignmentPolicy"], 0)); }, call$2$ignoreCurrentFocus($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$ignoreCurrentFocus", 0, [$0, $1], ["ignoreCurrentFocus"], 0)); }, call$3$alignmentPolicy$forward($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$alignmentPolicy$forward", 0, [$0, $1, $2], ["alignmentPolicy", "forward"], 0)); }, call$5$alignment$alignmentPolicy$curve$duration($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$alignment$alignmentPolicy$curve$duration", 0, [$0, $1, $2, $3, $4], ["alignment", "alignmentPolicy", "curve", "duration"], 0)); }, call$1$range($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$range", 0, [$0], ["range"], 0)); }, call$4$boxHeightStyle$boxWidthStyle($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$boxHeightStyle$boxWidthStyle", 0, [$0, $1, $2, $3], ["boxHeightStyle", "boxWidthStyle"], 0)); }, call$2$end$start($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$end$start", 0, [$0, $1], ["end", "start"], 0)); }, call$1$paragraphWidth($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$paragraphWidth", 0, [$0], ["paragraphWidth"], 0)); }, call$3$dimensions$textScaler($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$dimensions$textScaler", 0, [$0, $1, $2], ["dimensions", "textScaler"], 0)); }, call$9$fontFamily$fontFamilyFallback$fontSize$fontStyle$fontWeight$forceStrutHeight$height$leading$leadingDistribution($0, $1, $2, $3, $4, $5, $6, $7, $8) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$9$fontFamily$fontFamilyFallback$fontSize$fontStyle$fontWeight$forceStrutHeight$height$leading$leadingDistribution", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8], ["fontFamily", "fontFamilyFallback", "fontSize", "fontStyle", "fontWeight", "forceStrutHeight", "height", "leading", "leadingDistribution"], 0)); }, call$3$boxHeightStyle($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$boxHeightStyle", 0, [$0, $1, $2], ["boxHeightStyle"], 0)); }, call$3$includePlaceholders$includeSemanticsLabels($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$includePlaceholders$includeSemanticsLabels", 0, [$0, $1, $2], ["includePlaceholders", "includeSemanticsLabels"], 0)); }, call$9$applyTextScaling$color$fill$grade$opacity$opticalSize$shadows$size$weight($0, $1, $2, $3, $4, $5, $6, $7, $8) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$9$applyTextScaling$color$fill$grade$opacity$opticalSize$shadows$size$weight", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8], ["applyTextScaling", "color", "fill", "grade", "opacity", "opticalSize", "shadows", "size", "weight"], 0)); }, call$1$color($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$color", 0, [$0], ["color"], 0)); }, call$1$parentConfiguration($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$parentConfiguration", 0, [$0], ["parentConfiguration"], 0)); }, call$2$color$fontSize($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$color$fontSize", 0, [$0, $1], ["color", "fontSize"], 0)); }, call$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontVariations$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24], ["background", "backgroundColor", "color", "debugLabel", "decoration", "decorationColor", "decorationStyle", "decorationThickness", "fontFamily", "fontFamilyFallback", "fontFeatures", "fontSize", "fontStyle", "fontVariations", "fontWeight", "foreground", "height", "leadingDistribution", "letterSpacing", "locale", "overflow", "package", "shadows", "textBaseline", "wordSpacing"], 0)); }, call$3$textDirection($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$textDirection", 0, [$0, $1, $2], ["textDirection"], 0)); }, call$1$minimum($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$minimum", 0, [$0], ["minimum"], 0)); }, call$3$debugReport($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$debugReport", 0, [$0, $1, $2], ["debugReport"], 0)); }, call$3$cancel$down$reason($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$cancel$down$reason", 0, [$0, $1, $2], ["cancel", "down", "reason"], 0)); }, call$2$down$up($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$down$up", 0, [$0, $1], ["down", "up"], 0)); }, call$1$down($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$down", 0, [$0], ["down"], 0)); }, call$2$value($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$value", 0, [$0, $1], ["value"], 0)); }, call$2$reversed($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$reversed", 0, [$0, $1], ["reversed"], 0)); }, call$1$details($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$details", 0, [$0], ["details"], 0)); }, call$11$borderRadius$color$containedInkWell$controller$customBorder$onRemoved$position$radius$rectCallback$referenceBox$textDirection($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$11$borderRadius$color$containedInkWell$controller$customBorder$onRemoved$position$radius$rectCallback$referenceBox$textDirection", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10], ["borderRadius", "color", "containedInkWell", "controller", "customBorder", "onRemoved", "position", "radius", "rectCallback", "referenceBox", "textDirection"], 0)); }, call$1$context($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$context", 0, [$0], ["context"], 0)); }, call$2$textDirection($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$textDirection", 0, [$0, $1], ["textDirection"], 0)); }, call$2$minHeight$minWidth($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$minHeight$minWidth", 0, [$0, $1], ["minHeight", "minWidth"], 0)); }, call$1$letterSpacing($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$letterSpacing", 0, [$0], ["letterSpacing"], 0)); }, call$2$primaryTextTheme$textTheme($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$primaryTextTheme$textTheme", 0, [$0, $1], ["primaryTextTheme", "textTheme"], 0)); }, call$1$brightness($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$brightness", 0, [$0], ["brightness"], 0)); }, call$1$5($0, $1, $2, $3, $4, $T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$5", 0, [$0, $1, $2, $3, $4, $T1], [], 1)); }, call$1$padding($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$padding", 0, [$0], ["padding"], 0)); }, call$5($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5", 0, [$0, $1, $2, $3, $4], [], 0)); }, call$3$onDone$onError($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$onDone$onError", 0, [$0, $1, $2], ["onDone", "onError"], 0)); }, call$2$defaultColor($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$defaultColor", 0, [$0, $1], ["defaultColor"], 0)); }, call$2$child$context($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$child$context", 0, [$0, $1], ["child", "context"], 0)); }, call$2$maxWidth$minWidth($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$maxWidth$minWidth", 0, [$0, $1], ["maxWidth", "minWidth"], 0)); }, call$2$maxHeight$minHeight($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$maxHeight$minHeight", 0, [$0, $1], ["maxHeight", "minHeight"], 0)); }, call$1$side($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$side", 0, [$0], ["side"], 0)); }, call$3$context$exception$stack($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$context$exception$stack", 0, [$0, $1, $2], ["context", "exception", "stack"], 0)); }, call$4$allowUpscaling$targetHeight$targetWidth($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$allowUpscaling$targetHeight$targetWidth", 0, [$0, $1, $2, $3], ["allowUpscaling", "targetHeight", "targetWidth"], 0)); }, call$2$onError($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$onError", 0, [$0, $1], ["onError"], 0)); }, call$2$padding$viewPadding($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$padding$viewPadding", 0, [$0, $1], ["padding", "viewPadding"], 0)); }, call$8$enableDomStorage$enableJavaScript$headers$universalLinksOnly$useSafariVC$useWebView$webOnlyWindowName($0, $1, $2, $3, $4, $5, $6, $7) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$8$enableDomStorage$enableJavaScript$headers$universalLinksOnly$useSafariVC$useWebView$webOnlyWindowName", 0, [$0, $1, $2, $3, $4, $5, $6, $7], ["enableDomStorage", "enableJavaScript", "headers", "universalLinksOnly", "useSafariVC", "useWebView", "webOnlyWindowName"], 0)); }, call$4$displayFeatures$padding$viewInsets$viewPadding($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$displayFeatures$padding$viewInsets$viewPadding", 0, [$0, $1, $2, $3], ["displayFeatures", "padding", "viewInsets", "viewPadding"], 0)); }, call$2$viewInsets$viewPadding($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$viewInsets$viewPadding", 0, [$0, $1], ["viewInsets", "viewPadding"], 0)); }, call$3$composing$selection$text($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$composing$selection$text", 0, [$0, $1, $2], ["composing", "selection", "text"], 0)); }, call$3$sigmaX$sigmaY$tileMode($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$sigmaX$sigmaY$tileMode", 0, [$0, $1, $2], ["sigmaX", "sigmaY", "tileMode"], 0)); }, call$1$selection($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$selection", 0, [$0], ["selection"], 0)); }, call$1$rect($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$rect", 0, [$0], ["rect"], 0)); }, call$4$curve$descendant$duration$rect($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$curve$descendant$duration$rect", 0, [$0, $1, $2, $3], ["curve", "descendant", "duration", "rect"], 0)); }, call$2$cause$from($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$cause$from", 0, [$0, $1], ["cause", "from"], 0)); }, call$3$code$details$message($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$code$details$message", 0, [$0, $1, $2], ["code", "details", "message"], 0)); }, call$2$code$message($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$code$message", 0, [$0, $1], ["code", "message"], 0)); }, call$2$composing$selection($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$composing$selection", 0, [$0, $1], ["composing", "selection"], 0)); }, call$3$context$style$withComposing($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$context$style$withComposing", 0, [$0, $1, $2], ["context", "style", "withComposing"], 0)); }, call$5$baseline$baselineOffset($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$baseline$baselineOffset", 0, [$0, $1, $2, $3, $4], ["baseline", "baselineOffset"], 0)); }, call$1$bottom($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$bottom", 0, [$0], ["bottom"], 0)); }, call$3$curve$duration$rect($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$curve$duration$rect", 0, [$0, $1, $2], ["curve", "duration", "rect"], 0)); }, call$1$text($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$text", 0, [$0], ["text"], 0)); }, call$2$affinity$extentOffset($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$affinity$extentOffset", 0, [$0, $1], ["affinity", "extentOffset"], 0)); }, call$9$ascent$baseline$descent$hardBreak$height$left$lineNumber$unscaledAscent$width($0, $1, $2, $3, $4, $5, $6, $7, $8) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$9$ascent$baseline$descent$hardBreak$height$left$lineNumber$unscaledAscent$width", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8], ["ascent", "baseline", "descent", "hardBreak", "height", "left", "lineNumber", "unscaledAscent", "width"], 0)); }, call$1$errorText($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$errorText", 0, [$0], ["errorText"], 0)); }, call$2$overscroll$scrollbars($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$overscroll$scrollbars", 0, [$0, $1], ["overscroll", "scrollbars"], 0)); }, call$2$initialRestore($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$initialRestore", 0, [$0, $1], ["initialRestore"], 0)); }, call$1$direction($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$direction", 0, [$0], ["direction"], 0)); }, call$4$axis$rect($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$axis$rect", 0, [$0, $1, $2, $3], ["axis", "rect"], 0)); }, call$2$baseOffset$extentOffset($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$baseOffset$extentOffset", 0, [$0, $1], ["baseOffset", "extentOffset"], 0)); }, call$2$0($T1, $T2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$0", 0, [$T1, $T2], [], 2)); }, call$1$composing($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$composing", 0, [$0], ["composing"], 0)); }, call$1$extentOffset($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$extentOffset", 0, [$0], ["extentOffset"], 0)); }, call$1$affinity($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$affinity", 0, [$0], ["affinity"], 0)); }, call$1$spellCheckService($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$spellCheckService", 0, [$0], ["spellCheckService"], 0)); }, call$1$height($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$height", 0, [$0], ["height"], 0)); }, call$1$borderSide($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$borderSide", 0, [$0], ["borderSide"], 0)); }, call$2$enabled$hintMaxLines($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$enabled$hintMaxLines", 0, [$0, $1], ["enabled", "hintMaxLines"], 0)); }, call$4$counterStyle$counterText$errorText$semanticCounterText($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$counterStyle$counterText$errorText$semanticCounterText", 0, [$0, $1, $2, $3], ["counterStyle", "counterText", "errorText", "semanticCounterText"], 0)); }, call$2$counterText$semanticCounterText($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$counterText$semanticCounterText", 0, [$0, $1], ["counterText", "semanticCounterText"], 0)); }, call$1$autofillConfiguration($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$autofillConfiguration", 0, [$0], ["autofillConfiguration"], 0)); }, call$31$alignLabelWithHint$border$constraints$contentPadding$counterStyle$disabledBorder$enabledBorder$errorBorder$errorMaxLines$errorStyle$fillColor$filled$floatingLabelAlignment$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintFadeDuration$hintStyle$hoverColor$iconColor$isCollapsed$isDense$labelStyle$prefixIconColor$prefixStyle$suffixIconColor$suffixStyle($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$31$alignLabelWithHint$border$constraints$contentPadding$counterStyle$disabledBorder$enabledBorder$errorBorder$errorMaxLines$errorStyle$fillColor$filled$floatingLabelAlignment$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintFadeDuration$hintStyle$hoverColor$iconColor$isCollapsed$isDense$labelStyle$prefixIconColor$prefixStyle$suffixIconColor$suffixStyle", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30], ["alignLabelWithHint", "border", "constraints", "contentPadding", "counterStyle", "disabledBorder", "enabledBorder", "errorBorder", "errorMaxLines", "errorStyle", "fillColor", "filled", "floatingLabelAlignment", "floatingLabelBehavior", "floatingLabelStyle", "focusColor", "focusedBorder", "focusedErrorBorder", "helperMaxLines", "helperStyle", "hintFadeDuration", "hintStyle", "hoverColor", "iconColor", "isCollapsed", "isDense", "labelStyle", "prefixIconColor", "prefixStyle", "suffixIconColor", "suffixStyle"], 0)); }, call$3$data($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$data", 0, [$0, $1, $2], ["data"], 0)); }, call$4$idToken$password($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$idToken$password", 0, [$0, $1, $2, $3], ["idToken", "password"], 0)); }, call$1$end($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$end", 0, [$0], ["end"], 0)); }, call$1$line($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$line", 0, [$0], ["line"], 0)); }, call$2$color($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$color", 0, [$0, $1], ["color"], 0)); }, call$2$withDrive($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$withDrive", 0, [$0, $1], ["withDrive"], 0)); }, call$3$async($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$async", 0, [$0, $1, $2], ["async"], 0)); }, call$3$specifiedType($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$specifiedType", 0, [$0, $1, $2], ["specifiedType"], 0)); }, call$3$rect($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$rect", 0, [$0, $1, $2], ["rect"], 0)); }, call$2$email$shouldRecoverAuth($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$email$shouldRecoverAuth", 0, [$0, $1], ["email", "shouldRecoverAuth"], 0)); }, call$5$idToken$password$rawResponse($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$idToken$password$rawResponse", 0, [$0, $1, $2, $3, $4], ["idToken", "password", "rawResponse"], 0)); }, call$4$data($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$data", 0, [$0, $1, $2, $3], ["data"], 0)); }, call$3$rawResponse($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$rawResponse", 0, [$0, $1, $2], ["rawResponse"], 0)); }, call$2$bottom$top($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$bottom$top", 0, [$0, $1], ["bottom", "top"], 0)); }, call$2$left$right($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$left$right", 0, [$0, $1], ["left", "right"], 0)); }, call$2$hitTest$paintTransform($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$hitTest$paintTransform", 0, [$0, $1], ["hitTest", "paintTransform"], 0)); }, call$3$crossAxisPosition$mainAxisPosition($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$crossAxisPosition$mainAxisPosition", 0, [$0, $1, $2], ["crossAxisPosition", "mainAxisPosition"], 0)); }, call$2$hitTest$paintOffset($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$hitTest$paintOffset", 0, [$0, $1], ["hitTest", "paintOffset"], 0)); }, call$1$applicationUserName($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$applicationUserName", 0, [$0], ["applicationUserName"], 0)); }, call$1$purchaseParam($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$purchaseParam", 0, [$0], ["purchaseParam"], 0)); }, call$1$opacity($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$opacity", 0, [$0], ["opacity"], 0)); }, call$3$foregroundColor$iconSize$overlayColor($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$foregroundColor$iconSize$overlayColor", 0, [$0, $1, $2], ["foregroundColor", "iconSize", "overlayColor"], 0)); }, call$1$textScaler($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$textScaler", 0, [$0], ["textScaler"], 0)); }, call$8$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding($0, $1, $2, $3, $4, $5, $6, $7) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$8$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding", 0, [$0, $1, $2, $3, $4, $5, $6, $7], ["removeBottomInset", "removeBottomPadding", "removeLeftPadding", "removeRightPadding", "removeTopPadding"], 0)); }, call$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding", 0, [$0, $1, $2, $3, $4, $5, $6], ["removeBottomPadding", "removeLeftPadding", "removeRightPadding", "removeTopPadding"], 0)); }, call$8$maintainBottomViewPadding$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding($0, $1, $2, $3, $4, $5, $6, $7) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$8$maintainBottomViewPadding$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding", 0, [$0, $1, $2, $3, $4, $5, $6, $7], ["maintainBottomViewPadding", "removeBottomPadding", "removeLeftPadding", "removeRightPadding", "removeTopPadding"], 0)); }, call$1$floatingActionButtonScale($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$floatingActionButtonScale", 0, [$0], ["floatingActionButtonScale"], 0)); }, call$1$removeBottom($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$removeBottom", 0, [$0], ["removeBottom"], 0)); }, call$1$scrollbars($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$scrollbars", 0, [$0], ["scrollbars"], 0)); }, call$1$task($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$task", 0, [$0], ["task"], 0)); }, call$1$oldWidget($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$oldWidget", 0, [$0], ["oldWidget"], 0)); }, call$4$overscroll$physics$platform$scrollbars($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$overscroll$physics$platform$scrollbars", 0, [$0, $1, $2, $3], ["overscroll", "physics", "platform", "scrollbars"], 0)); }, call$1$colorScheme($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$colorScheme", 0, [$0], ["colorScheme"], 0)); }, call$2$counterText$prefixIcon($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$counterText$prefixIcon", 0, [$0, $1], ["counterText", "prefixIcon"], 0)); }, call$2$showAccentColor($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$showAccentColor", 0, [$0, $1], ["showAccentColor"], 0)); }, call$2$chunkCallback($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$chunkCallback", 0, [$0, $1], ["chunkCallback"], 0)); }, call$9($0, $1, $2, $3, $4, $5, $6, $7, $8) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$9", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8], [], 0)); }, call$8($0, $1, $2, $3, $4, $5, $6, $7) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$8", 0, [$0, $1, $2, $3, $4, $5, $6, $7], [], 0)); }, call$10($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$10", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8, $9], [], 0)); }, call$6($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6", 0, [$0, $1, $2, $3, $4, $5], [], 0)); }, call$7($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7", 0, [$0, $1, $2, $3, $4, $5, $6], [], 0)); }, call$1$floatingActionButtonArea($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$floatingActionButtonArea", 0, [$0], ["floatingActionButtonArea"], 0)); }, call$2$multiselect$userCompany($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$multiselect$userCompany", 0, [$0, $1], ["multiselect", "userCompany"], 0)); }, call$1$fontWeight($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$fontWeight", 0, [$0], ["fontWeight"], 0)); }, call$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate", 0, [$0, $1, $2, $3, $4, $5], ["checked", "context", "onCheckboxChanged", "onRowTap", "overlayColor", "tristate"], 0)); }, call$5$autofocus$focusNode$mouseCursor$painter$size($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$autofocus$focusNode$mouseCursor$painter$size", 0, [$0, $1, $2, $3, $4], ["autofocus", "focusNode", "mouseCursor", "painter", "size"], 0)); }, call$5$collision($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$collision", 0, [$0, $1, $2, $3, $4], ["collision"], 0)); }, call$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled($0, $1, $2, $3, $4, $5, $6, $7) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled", 0, [$0, $1, $2, $3, $4, $5, $6, $7], ["context", "formatter", "formatterValueCache", "graphicsFactory", "orientation", "scale", "tickDrawStrategy", "viewportExtensionEnabled"], 0)); }, call$7$context$formatter$formatterValueCache$graphicsFactory$scale$tickDrawStrategy($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$context$formatter$formatterValueCache$graphicsFactory$scale$tickDrawStrategy", 0, [$0, $1, $2, $3, $4, $5, $6], ["context", "formatter", "formatterValueCache", "graphicsFactory", "scale", "tickDrawStrategy"], 0)); }, call$3$stepSize($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$stepSize", 0, [$0, $1, $2], ["stepSize"], 0)); }, call$7$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy", 0, [$0, $1, $2, $3, $4, $5, $6], ["context", "formatter", "formatterValueCache", "graphicsFactory", "orientation", "scale", "tickDrawStrategy"], 0)); }, call$1$maxWidth($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$maxWidth", 0, [$0], ["maxWidth"], 0)); }, call$5$selectExactEventLocation$selectOverlappingPoints($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$selectExactEventLocation$selectOverlappingPoints", 0, [$0, $1, $2, $3, $4], ["selectExactEventLocation", "selectOverlappingPoints"], 0)); }, call$1$maxScaleFactor($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$maxScaleFactor", 0, [$0], ["maxScaleFactor"], 0)); }, call$1$border($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$border", 0, [$0], ["border"], 0)); }, call$1$removeTop($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$removeTop", 0, [$0], ["removeTop"], 0)); }, call$4$data$rawResponse($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$data$rawResponse", 0, [$0, $1, $2, $3], ["data", "rawResponse"], 0)); }, call$1$format($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$format", 0, [$0], ["format"], 0)); }, call$9$allowUpscaling$rowBytes$targetHeight$targetWidth($0, $1, $2, $3, $4, $5, $6, $7, $8) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$9$allowUpscaling$rowBytes$targetHeight$targetWidth", 0, [$0, $1, $2, $3, $4, $5, $6, $7, $8], ["allowUpscaling", "rowBytes", "targetHeight", "targetWidth"], 0)); }, call$1$onPageRasterized($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$onPageRasterized", 0, [$0], ["onPageRasterized"], 0)); }, call$4$client$includeEdit$multiselect$userCompany($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$client$includeEdit$multiselect$userCompany", 0, [$0, $1, $2, $3], ["client", "includeEdit", "multiselect", "userCompany"], 0)); }, call$2$onCompleted$onLayout($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$onCompleted$onLayout", 0, [$0, $1], ["onCompleted", "onLayout"], 0)); }, call$1$chart($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$chart", 0, [$0], ["chart"], 0)); }, call$1$customEndDate($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$customEndDate", 0, [$0], ["customEndDate"], 0)); }, call$1$customStartDate($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$customStartDate", 0, [$0], ["customStartDate"], 0)); }, call$1$subgroup($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$subgroup", 0, [$0], ["subgroup"], 0)); }, call$2$group$selectedGroup($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$group$selectedGroup", 0, [$0, $1], ["group", "selectedGroup"], 0)); }, call$1$report($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$report", 0, [$0], ["report"], 0)); }, call$1$fontSize($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$fontSize", 0, [$0], ["fontSize"], 0)); }, call$2$infoMessage$status($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$infoMessage$status", 0, [$0, $1], ["infoMessage", "status"], 0)); }, call$3$error$infoMessage$status($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$error$infoMessage$status", 0, [$0, $1, $2], ["error", "infoMessage", "status"], 0)); }, call$1$shouldOverrideDefaultSideEffects($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$shouldOverrideDefaultSideEffects", 0, [$0], ["shouldOverrideDefaultSideEffects"], 0)); }, call$4$data$infoMessage$isImmutable$status($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$data$infoMessage$isImmutable$status", 0, [$0, $1, $2, $3], ["data", "infoMessage", "isImmutable", "status"], 0)); }, call$1$right($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$right", 0, [$0], ["right"], 0)); }, call$3$refresher$stackTrace($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$refresher$stackTrace", 0, [$0, $1, $2], ["refresher", "stackTrace"], 0)); }, call$1$infoMessage($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$infoMessage", 0, [$0], ["infoMessage"], 0)); }, call$5$allowCompression$allowMultiple$allowedExtensions$type$withData($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$allowCompression$allowMultiple$allowedExtensions$type$withData", 0, [$0, $1, $2, $3, $4], ["allowCompression", "allowMultiple", "allowedExtensions", "type", "withData"], 0)); }, call$5$fileFilter$initialDirectory$multipleFiles$pickDirectory($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$fileFilter$initialDirectory$multipleFiles$pickDirectory", 0, [$0, $1, $2, $3, $4], ["fileFilter", "initialDirectory", "multipleFiles", "pickDirectory"], 0)); }, call$2$isReplaced($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$isReplaced", 0, [$0, $1], ["isReplaced"], 0)); }, call$6$clientMap$invoice$sortAscending$sortField$userMap$vendorMap($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$clientMap$invoice$sortAscending$sortField$userMap$vendorMap", 0, [$0, $1, $2, $3, $4, $5], ["clientMap", "invoice", "sortAscending", "sortField", "userMap", "vendorMap"], 0)); }, call$2$client$userCompany($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$client$userCompany", 0, [$0, $1], ["client", "userCompany"], 0)); }, call$3$client$includeEdit$userCompany($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$client$includeEdit$userCompany", 0, [$0, $1, $2], ["client", "includeEdit", "userCompany"], 0)); }, call$2$context$field($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$context$field", 0, [$0, $1], ["context", "field"], 0)); }, call$3$clockwise$radius($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$clockwise$radius", 0, [$0, $1, $2], ["clockwise", "radius"], 0)); }, call$2$isClosing($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$isClosing", 0, [$0, $1], ["isClosing"], 0)); }, call$3$expenseCategory$sortAscending$sortField($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$expenseCategory$sortAscending$sortField", 0, [$0, $1, $2], ["expenseCategory", "sortAscending", "sortField"], 0)); }, call$4$nonce$scopes$state$webAuthenticationOptions($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$nonce$scopes$state$webAuthenticationOptions", 0, [$0, $1, $2, $3], ["nonce", "scopes", "state", "webAuthenticationOptions"], 0)); }, call$2$tabCount$tabIndex($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$tabCount$tabIndex", 0, [$0, $1], ["tabCount", "tabIndex"], 0)); }, call$1$overscroll($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$overscroll", 0, [$0], ["overscroll"], 0)); }, call$1$inherit($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$inherit", 0, [$0], ["inherit"], 0)); }, call$1$newComposingRegion($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$newComposingRegion", 0, [$0], ["newComposingRegion"], 0)); }, call$1$textLayout($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$textLayout", 0, [$0], ["textLayout"], 0)); }, call$4$expandSelection$moveLeft$movementModifier$textLayout($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$expandSelection$moveLeft$movementModifier$textLayout", 0, [$0, $1, $2, $3], ["expandSelection", "moveLeft", "movementModifier", "textLayout"], 0)); }, call$3$expandSelection$moveUp$textLayout($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$expandSelection$moveUp$textLayout", 0, [$0, $1, $2], ["expandSelection", "moveUp", "textLayout"], 0)); }, call$2$newComposingRegion$text($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$newComposingRegion$text", 0, [$0, $1], ["newComposingRegion", "text"], 0)); }, call$2$newComposingRegion$replacementText($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$newComposingRegion$replacementText", 0, [$0, $1], ["newComposingRegion", "replacementText"], 0)); }, call$2$filterQuality($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$filterQuality", 0, [$0, $1], ["filterQuality"], 0)); }, call$1$baseOffset($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$baseOffset", 0, [$0], ["baseOffset"], 0)); }, call$2$onKeyEvent($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$onKeyEvent", 0, [$0, $1], ["onKeyEvent"], 0)); }, call$1$start($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$start", 0, [$0], ["start"], 0)); }, call$1$enableDeltaModel($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$enableDeltaModel", 0, [$0], ["enableDeltaModel"], 0)); }, call$2$textInputAction$textInputType($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$textInputAction$textInputType", 0, [$0, $1], ["textInputAction", "textInputType"], 0)); }, call$2$keyEvent$textFieldContext($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$keyEvent$textFieldContext", 0, [$0, $1], ["keyEvent", "textFieldContext"], 0)); }, call$5$fontFamily$fontSize$fontWeight$textAlign$textDirection($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$fontFamily$fontSize$fontWeight$textAlign$textDirection", 0, [$0, $1, $2, $3, $4], ["fontFamily", "fontSize", "fontWeight", "textAlign", "textDirection"], 0)); }, call$1$textFieldContext($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$textFieldContext", 0, [$0], ["textFieldContext"], 0)); }, call$2$startOffset$textToInsert($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$startOffset$textToInsert", 0, [$0, $1], ["startOffset", "textToInsert"], 0)); }, call$3$from$newSelection$to($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$from$newSelection$to", 0, [$0, $1, $2], ["from", "newSelection", "to"], 0)); }, call$2$selection$text($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$selection$text", 0, [$0, $1], ["selection", "text"], 0)); }, call$4$from$newComposingRegion$newSelection$to($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$from$newComposingRegion$newSelection$to", 0, [$0, $1, $2, $3], ["from", "newComposingRegion", "newSelection", "to"], 0)); }, call$3$composingRegion$selection$text($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$composingRegion$selection$text", 0, [$0, $1, $2], ["composingRegion", "selection", "text"], 0)); }, call$4$insertIndex$newComposingRegion$newSelection$newText($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$insertIndex$newComposingRegion$newSelection$newText", 0, [$0, $1, $2, $3], ["insertIndex", "newComposingRegion", "newSelection", "newText"], 0)); }, call$5$from$newComposingRegion$newSelection$newText$to($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$from$newComposingRegion$newSelection$newText$to", 0, [$0, $1, $2, $3, $4], ["from", "newComposingRegion", "newSelection", "newText", "to"], 0)); }, call$3$overscroll$physics$scrollbars($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$overscroll$physics$scrollbars", 0, [$0, $1, $2], ["overscroll", "physics", "scrollbars"], 0)); }, call$2$brightness$disabledColor($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$brightness$disabledColor", 0, [$0, $1], ["brightness", "disabledColor"], 0)); }, call$1$decoration($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$decoration", 0, [$0], ["decoration"], 0)); }, call$4$addedComponents$changedComponents$movedComponents$removedComponents($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$addedComponents$changedComponents$movedComponents$removedComponents", 0, [$0, $1, $2, $3], ["addedComponents", "changedComponents", "movedComponents", "removedComponents"], 0)); }, call$1$dragEndInViewport($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$dragEndInViewport", 0, [$0], ["dragEndInViewport"], 0)); }, call$1$base($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$base", 0, [$0], ["base"], 0)); }, call$1$extent($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$extent", 0, [$0], ["extent"], 0)); }, call$1$expand($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$expand", 0, [$0], ["expand"], 0)); }, call$1$movementModifier($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$movementModifier", 0, [$0], ["movementModifier"], 0)); }, call$2$editContext$keyEvent($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$editContext$keyEvent", 0, [$0, $1], ["editContext", "keyEvent"], 0)); }, call$2$base$extent($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$base$extent", 0, [$0, $1], ["base", "extent"], 0)); }, call$1$fontStyle($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$fontStyle", 0, [$0], ["fontStyle"], 0)); }, call$2$color$decoration($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$color$decoration", 0, [$0, $1], ["color", "decoration"], 0)); }, call$3$end$newAttribution$start($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$end$newAttribution$start", 0, [$0, $1, $2], ["end", "newAttribution", "start"], 0)); }, call$4$getChildren($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$getChildren", 0, [$0, $1, $2, $3], ["getChildren"], 0)); }, call$3$getChildren($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$getChildren", 0, [$0, $1, $2], ["getChildren"], 0)); }, call$3$globalLocation$localLocation($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$globalLocation$localLocation", 0, [$0, $1, $2], ["globalLocation", "localLocation"], 0)); }, call$4$data$multipartFiles($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$data$multipartFiles", 0, [$0, $1, $2, $3], ["data", "multipartFiles"], 0)); }, call$3$multipartFiles($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$multipartFiles", 0, [$0, $1, $2], ["multipartFiles"], 0)); }, call$3$sortAscending$sortField$taskStatus($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$sortAscending$sortField$taskStatus", 0, [$0, $1, $2], ["sortAscending", "sortField", "taskStatus"], 0)); }, call$2$includeEdit$userCompany($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$includeEdit$userCompany", 0, [$0, $1], ["includeEdit", "userCompany"], 0)); }, call$7$clientMap$invoice$recurringPrefix$sortAscending$sortField$userMap$vendorMap($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$clientMap$invoice$recurringPrefix$sortAscending$sortField$userMap$vendorMap", 0, [$0, $1, $2, $3, $4, $5, $6], ["clientMap", "invoice", "recurringPrefix", "sortAscending", "sortField", "userMap", "vendorMap"], 0)); }, call$1$alwaysUse24HourFormat($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$alwaysUse24HourFormat", 0, [$0], ["alwaysUse24HourFormat"], 0)); }, call$2$fillColor$hintText($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$fillColor$hintText", 0, [$0, $1], ["fillColor", "hintText"], 0)); }, call$2$alwaysUse24HourFormat($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$alwaysUse24HourFormat", 0, [$0, $1], ["alwaysUse24HourFormat"], 0)); }, call$1$hour($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$hour", 0, [$0], ["hour"], 0)); }, call$1$minute($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$minute", 0, [$0], ["minute"], 0)); }, call$6$animation$controller$max$min$target$tween($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$animation$controller$max$min$target$tween", 0, [$0, $1, $2, $3, $4, $5], ["animation", "controller", "max", "min", "target", "tween"], 0)); }, call$2$isSecond($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$isSecond", 0, [$0, $1], ["isSecond"], 0)); }, call$2$isThird($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$isThird", 0, [$0, $1], ["isThird"], 0)); }, call$2$context$isSignUp($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$context$isSignUp", 0, [$0, $1], ["context", "isSignUp"], 0)); }, call$5$email$secret$url($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$email$secret$url", 0, [$0, $1, $2, $3, $4], ["email", "secret", "url"], 0)); }, call$7$email$oneTimePassword$password$secret$url($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$email$oneTimePassword$password$secret$url", 0, [$0, $1, $2, $3, $4, $5, $6], ["email", "oneTimePassword", "password", "secret", "url"], 0)); }, call$5$oneTimePassword$secret$url($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$oneTimePassword$secret$url", 0, [$0, $1, $2, $3, $4], ["oneTimePassword", "secret", "url"], 0)); }, call$4$email$password($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$email$password", 0, [$0, $1, $2, $3], ["email", "password"], 0)); }, call$3$token($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$token", 0, [$0, $1, $2], ["token"], 0)); }, call$2$alwaysUse24HourFormat$textScaler($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$alwaysUse24HourFormat$textScaler", 0, [$0, $1], ["alwaysUse24HourFormat", "textScaler"], 0)); }, call$3$bodyColor$decorationColor$displayColor($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$bodyColor$decorationColor$displayColor", 0, [$0, $1, $2], ["bodyColor", "decorationColor", "displayColor"], 0)); }, call$1$fontFamily($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$fontFamily", 0, [$0], ["fontFamily"], 0)); }, call$5$data$idToken$password($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$data$idToken$password", 0, [$0, $1, $2, $3, $4], ["data", "idToken", "password"], 0)); }, call$3$password($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$password", 0, [$0, $1, $2], ["password"], 0)); }, call$4$data$password($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$data$password", 0, [$0, $1, $2, $3], ["data", "password"], 0)); }, call$2$data$url($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$data$url", 0, [$0, $1], ["data", "url"], 0)); }, call$4$data$secret($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$data$secret", 0, [$0, $1, $2, $3], ["data", "secret"], 0)); }, call$3$includeStatic$token$url($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$includeStatic$token$url", 0, [$0, $1, $2], ["includeStatic", "token", "url"], 0)); }, call$3$data$secret$url($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$data$secret$url", 0, [$0, $1, $2], ["data", "secret", "url"], 0)); }, call$1$childOrder($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$childOrder", 0, [$0], ["childOrder"], 0)); }, call$5$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result$siblingNodes($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result$siblingNodes", 0, [$0, $1, $2, $3, $4], ["elevationAdjustment", "parentPaintClipRect", "parentSemanticsClipRect", "result", "siblingNodes"], 0)); }, call$1$config($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$config", 0, [$0], ["config"], 0)); }, call$2$descendant$rect($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$descendant$rect", 0, [$0, $1], ["descendant", "rect"], 0)); }, call$1$3$onlyFirst($0, $1, $2, $T1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$3$onlyFirst", 0, [$0, $1, $2, $T1], ["onlyFirst"], 1)); }, call$3$oldLayer($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$oldLayer", 0, [$0, $1, $2], ["oldLayer"], 0)); }, call$2$oldLayer($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$oldLayer", 0, [$0, $1], ["oldLayer"], 0)); }, call$1$oldLayer($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$oldLayer", 0, [$0], ["oldLayer"], 0)); }, call$3$offset$oldLayer($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$offset$oldLayer", 0, [$0, $1, $2], ["offset", "oldLayer"], 0)); }, call$3$clipBehavior$oldLayer($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$clipBehavior$oldLayer", 0, [$0, $1, $2], ["clipBehavior", "oldLayer"], 0)); }, call$4$isComplexHint$willChangeHint($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$isComplexHint$willChangeHint", 0, [$0, $1, $2, $3], ["isComplexHint", "willChangeHint"], 0)); }, call$2$doAntiAlias($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$doAntiAlias", 0, [$0, $1], ["doAntiAlias"], 0)); }, call$6$oldLayer($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$oldLayer", 0, [$0, $1, $2, $3, $4, $5], ["oldLayer"], 0)); }, call$5$clipBehavior($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$clipBehavior", 0, [$0, $1, $2, $3, $4], ["clipBehavior"], 0)); }, call$5$borderRadius$shape$textDirection($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$borderRadius$shape$textDirection", 0, [$0, $1, $2, $3, $4], ["borderRadius", "shape", "textDirection"], 0)); }, call$6$blend$blendMode($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$blend$blendMode", 0, [$0, $1, $2, $3, $4, $5], ["blend", "blendMode"], 0)); }, call$4$textDirection($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$textDirection", 0, [$0, $1, $2, $3], ["textDirection"], 0)); }, call$1$maximum($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$maximum", 0, [$0], ["maximum"], 0)); }, call$1$strokeAlign($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$strokeAlign", 0, [$0], ["strokeAlign"], 0)); }, call$3$blendMode$oldLayer($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$blendMode$oldLayer", 0, [$0, $1, $2], ["blendMode", "oldLayer"], 0)); }, call$4$height$offset$width($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$height$offset$width", 0, [$0, $1, $2, $3], ["height", "offset", "width"], 0)); }, call$4$in1$in2$operator$result($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$in1$in2$operator$result", 0, [$0, $1, $2, $3], ["in1", "in2", "operator", "result"], 0)); }, call$5$fillColor$strokeColor$strokeWidthPx($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$fillColor$strokeColor$strokeWidthPx", 0, [$0, $1, $2, $3, $4], ["fillColor", "strokeColor", "strokeWidthPx"], 0)); }, call$6$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx", 0, [$0, $1, $2, $3, $4, $5], ["dashPattern", "fill", "points", "roundEndCaps", "stroke", "strokeWidthPx"], 0)); }, call$6$animationPercent$drawBounds$rtl($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$animationPercent$drawBounds$rtl", 0, [$0, $1, $2, $3, $4, $5], ["animationPercent", "drawBounds", "rtl"], 0)); }, call$6$clipBounds$dashPattern$points$roundEndCaps$stroke$strokeWidthPx($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$clipBounds$dashPattern$points$roundEndCaps$stroke$strokeWidthPx", 0, [$0, $1, $2, $3, $4, $5], ["clipBounds", "dashPattern", "points", "roundEndCaps", "stroke", "strokeWidthPx"], 0)); }, call$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation($0, $1, $2, $3, $4, $5, $6, $7) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation", 0, [$0, $1, $2, $3, $4, $5, $6, $7], ["axisBounds", "collision", "drawAreaBounds", "isFirst", "isLast", "orientation"], 0)); }, call$5$dashPattern$fill$points$stroke$strokeWidthPx($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$dashPattern$fill$points$stroke$strokeWidthPx", 0, [$0, $1, $2, $3, $4], ["dashPattern", "fill", "points", "stroke", "strokeWidthPx"], 0)); }, call$5$dashPattern$fillColor$strokeColor($0, $1, $2, $3, $4) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$5$dashPattern$fillColor$strokeColor", 0, [$0, $1, $2, $3, $4], ["dashPattern", "fillColor", "strokeColor"], 0)); }, call$6$gapExtent$gapPercentage$gapStart$textDirection($0, $1, $2, $3, $4, $5) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$6$gapExtent$gapPercentage$gapStart$textDirection", 0, [$0, $1, $2, $3, $4, $5], ["gapExtent", "gapPercentage", "gapStart", "textDirection"], 0)); }, call$2$radius($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$radius", 0, [$0, $1], ["radius"], 0)); }, call$2$parentUsesSize($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$parentUsesSize", 0, [$0, $1], ["parentUsesSize"], 0)); }, call$1$maxHeight($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$maxHeight", 0, [$0], ["maxHeight"], 0)); }, call$1$width($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$width", 0, [$0], ["width"], 0)); }, call$3$parentUsesSize($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$parentUsesSize", 0, [$0, $1, $2], ["parentUsesSize"], 0)); }, call$2$maxExtent$minExtent($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$maxExtent$minExtent", 0, [$0, $1], ["maxExtent", "minExtent"], 0)); }, call$7$bottomViews$leftViews$rightViews$topViews$useMax($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$bottomViews$leftViews$rightViews$topViews$useMax", 0, [$0, $1, $2, $3, $4, $5, $6], ["bottomViews", "leftViews", "rightViews", "topViews", "useMax"], 0)); }, call$4$collision($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$collision", 0, [$0, $1, $2, $3], ["collision"], 0)); }, call$1$maxExtent($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$maxExtent", 0, [$0], ["maxExtent"], 0)); }, call$2$bottomNavigationBarTop$floatingActionButtonArea($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$bottomNavigationBarTop$floatingActionButtonArea", 0, [$0, $1], ["bottomNavigationBarTop", "floatingActionButtonArea"], 0)); }, call$4$isScrolling$newPosition$oldPosition$velocity($0, $1, $2, $3) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$4$isScrolling$newPosition$oldPosition$velocity", 0, [$0, $1, $2, $3], ["isScrolling", "newPosition", "oldPosition", "velocity"], 0)); }, call$3$format$noAnimation$numChannels($0, $1, $2) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$3$format$noAnimation$numChannels", 0, [$0, $1, $2], ["format", "noAnimation", "numChannels"], 0)); }, call$1$numChannels($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$numChannels", 0, [$0], ["numChannels"], 0)); }, call$1$noPixels($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$1$noPixels", 0, [$0], ["noPixels"], 0)); }, call$2$key($0, $1) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$2$key", 0, [$0, $1], ["key"], 0)); }, call$7$chart$customEndDate$customStartDate$group$report$selectedGroup$subgroup($0, $1, $2, $3, $4, $5, $6) { return this.noSuchMethod$1(this, A.createInvocationMirror("call", "call$7$chart$customEndDate$customStartDate$group$report$selectedGroup$subgroup", 0, [$0, $1, $2, $3, $4, $5, $6], ["chart", "customEndDate", "customStartDate", "group", "report", "selectedGroup", "subgroup"], 0)); }, $index($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("[]", "$index", 0, [$0], [], 0)); }, forEach$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("forEach", "forEach$1", 0, [$0], [], 0)); }, then$2($receiver, $0, $1) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("then", "then$2", 0, [$0, $1], [], 0)); }, dispose$0() { return this.noSuchMethod$1(this, A.createInvocationMirror("dispose", "dispose$0", 0, [], [], 0)); }, $indexSet($receiver, $0, $1) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("[]=", "$indexSet", 0, [$0, $1], [], 0)); }, containsKey$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("containsKey", "containsKey$1", 0, [$0], [], 0)); }, map$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("map", "map$1", 0, [$0], [], 0)); }, compareTo$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("compareTo", "compareTo$1", 0, [$0], [], 0)); }, toJson$0() { return this.noSuchMethod$1(this, A.createInvocationMirror("toJson", "toJson$0", 0, [], [], 0)); }, _yieldStar$1($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("_yieldStar", "_yieldStar$1", 0, [$0], [], 0)); }, $get$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("get", "$get$0", 0, [], [], 0)); }, createElement$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("createElement", "createElement$1", 0, [$0], [], 0)); }, _removeAt$1($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("_removeAt", "_removeAt$1", 0, [$0], [], 0)); }, removeListener$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("removeListener", "removeListener$1", 0, [$0], [], 0)); }, addListener$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("addListener", "addListener$1", 0, [$0], [], 0)); }, didRegisterListener$0() { return this.noSuchMethod$1(this, A.createInvocationMirror("didRegisterListener", "didRegisterListener$0", 0, [], [], 0)); }, didUnregisterListener$0() { return this.noSuchMethod$1(this, A.createInvocationMirror("didUnregisterListener", "didUnregisterListener$0", 0, [], [], 0)); }, $sub($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("-", "$sub", 0, [$0], [], 0)); }, $mul($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("*", "$mul", 0, [$0], [], 0)); }, $add($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("+", "$add", 0, [$0], [], 0)); }, $gt($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror(">", "$gt", 0, [$0], [], 0)); }, loginPopup$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("loginPopup", "loginPopup$1", 0, [$0], [], 0)); }, replaceFirst$2($receiver, $0, $1) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("replaceFirst", "replaceFirst$2", 0, [$0, $1], [], 0)); }, $lt($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("<", "$lt", 0, [$0], [], 0)); }, $ge($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror(">=", "$ge", 0, [$0], [], 0)); }, toLowerCase$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("toLowerCase", "toLowerCase$0", 0, [], [], 0)); }, $div($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("/", "$div", 0, [$0], [], 0)); }, round$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("round", "round$0", 0, [], [], 0)); }, getPage$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getPage", "getPage$1", 0, [$0], [], 0)); }, getViewport$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getViewport", "getViewport$1", 0, [$0], [], 0)); }, render$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("render", "render$1", 0, [$0], [], 0)); }, cleanup$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("cleanup", "cleanup$0", 0, [], [], 0)); }, destroy$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("destroy", "destroy$0", 0, [], [], 0)); }, disconnect$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("disconnect", "disconnect$0", 0, [], [], 0)); }, signOut$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("signOut", "signOut$0", 0, [], [], 0)); }, getAuthResponse$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getAuthResponse", "getAuthResponse$0", 0, [], [], 0)); }, signIn$1($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("signIn", "signIn$1", 0, [$0], [], 0)); }, isSignedIn$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("isSignedIn", "isSignedIn$0", 0, [], [], 0)); }, getBasicProfile$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getBasicProfile", "getBasicProfile$0", 0, [], [], 0)); }, getId$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getId", "getId$0", 0, [], [], 0)); }, getName$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getName", "getName$0", 0, [], [], 0)); }, getEmail$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getEmail", "getEmail$0", 0, [], [], 0)); }, getImageUrl$0($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("getImageUrl", "getImageUrl$0", 0, [], [], 0)); }, get$length($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("length", "get$length", 1, [], [], 0)); }, get$width($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("width", "get$width", 1, [], [], 0)); }, get$height($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("height", "get$height", 1, [], [], 0)); }, get$value($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("value", "get$value", 1, [], [], 0)); }, get$isEmpty($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("isEmpty", "get$isEmpty", 1, [], [], 0)); }, get$id($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("id", "get$id", 1, [], [], 0)); }, get$quote() { return this.noSuchMethod$1(this, A.createInvocationMirror("quote", "get$quote", 1, [], [], 0)); }, get$payment() { return this.noSuchMethod$1(this, A.createInvocationMirror("payment", "get$payment", 1, [], [], 0)); }, get$project() { return this.noSuchMethod$1(this, A.createInvocationMirror("project", "get$project", 1, [], [], 0)); }, get$task() { return this.noSuchMethod$1(this, A.createInvocationMirror("task", "get$task", 1, [], [], 0)); }, get$contact() { return this.noSuchMethod$1(this, A.createInvocationMirror("contact", "get$contact", 1, [], [], 0)); }, get$vendor($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("vendor", "get$vendor", 1, [], [], 0)); }, get$expense() { return this.noSuchMethod$1(this, A.createInvocationMirror("expense", "get$expense", 1, [], [], 0)); }, get$document($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("document", "get$document", 1, [], [], 0)); }, get$state($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("state", "get$state", 1, [], [], 0)); }, get$group() { return this.noSuchMethod$1(this, A.createInvocationMirror("group", "get$group", 1, [], [], 0)); }, get$companyGateway() { return this.noSuchMethod$1(this, A.createInvocationMirror("companyGateway", "get$companyGateway", 1, [], [], 0)); }, get$taxRate() { return this.noSuchMethod$1(this, A.createInvocationMirror("taxRate", "get$taxRate", 1, [], [], 0)); }, get$user($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("user", "get$user", 1, [], [], 0)); }, get$credit() { return this.noSuchMethod$1(this, A.createInvocationMirror("credit", "get$credit", 1, [], [], 0)); }, get$design() { return this.noSuchMethod$1(this, A.createInvocationMirror("design", "get$design", 1, [], [], 0)); }, get$designId() { return this.noSuchMethod$1(this, A.createInvocationMirror("designId", "get$designId", 1, [], [], 0)); }, get$paymentTerm() { return this.noSuchMethod$1(this, A.createInvocationMirror("paymentTerm", "get$paymentTerm", 1, [], [], 0)); }, get$paymentTermId() { return this.noSuchMethod$1(this, A.createInvocationMirror("paymentTermId", "get$paymentTermId", 1, [], [], 0)); }, get$token() { return this.noSuchMethod$1(this, A.createInvocationMirror("token", "get$token", 1, [], [], 0)); }, get$tokenId() { return this.noSuchMethod$1(this, A.createInvocationMirror("tokenId", "get$tokenId", 1, [], [], 0)); }, get$webhook() { return this.noSuchMethod$1(this, A.createInvocationMirror("webhook", "get$webhook", 1, [], [], 0)); }, get$webhookId() { return this.noSuchMethod$1(this, A.createInvocationMirror("webhookId", "get$webhookId", 1, [], [], 0)); }, get$invoice() { return this.noSuchMethod$1(this, A.createInvocationMirror("invoice", "get$invoice", 1, [], [], 0)); }, get$recurringInvoice() { return this.noSuchMethod$1(this, A.createInvocationMirror("recurringInvoice", "get$recurringInvoice", 1, [], [], 0)); }, get$expenseCategory() { return this.noSuchMethod$1(this, A.createInvocationMirror("expenseCategory", "get$expenseCategory", 1, [], [], 0)); }, get$expenseCategoryId() { return this.noSuchMethod$1(this, A.createInvocationMirror("expenseCategoryId", "get$expenseCategoryId", 1, [], [], 0)); }, get$taskStatus() { return this.noSuchMethod$1(this, A.createInvocationMirror("taskStatus", "get$taskStatus", 1, [], [], 0)); }, get$taskStatusId() { return this.noSuchMethod$1(this, A.createInvocationMirror("taskStatusId", "get$taskStatusId", 1, [], [], 0)); }, get$subscription() { return this.noSuchMethod$1(this, A.createInvocationMirror("subscription", "get$subscription", 1, [], [], 0)); }, get$subscriptionId() { return this.noSuchMethod$1(this, A.createInvocationMirror("subscriptionId", "get$subscriptionId", 1, [], [], 0)); }, get$recurringExpense() { return this.noSuchMethod$1(this, A.createInvocationMirror("recurringExpense", "get$recurringExpense", 1, [], [], 0)); }, get$recurringExpenseId() { return this.noSuchMethod$1(this, A.createInvocationMirror("recurringExpenseId", "get$recurringExpenseId", 1, [], [], 0)); }, get$purchaseOrder() { return this.noSuchMethod$1(this, A.createInvocationMirror("purchaseOrder", "get$purchaseOrder", 1, [], [], 0)); }, get$bankAccount() { return this.noSuchMethod$1(this, A.createInvocationMirror("bankAccount", "get$bankAccount", 1, [], [], 0)); }, get$bankAccountId() { return this.noSuchMethod$1(this, A.createInvocationMirror("bankAccountId", "get$bankAccountId", 1, [], [], 0)); }, get$transaction($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("transaction", "get$transaction", 1, [], [], 0)); }, get$transactionId() { return this.noSuchMethod$1(this, A.createInvocationMirror("transactionId", "get$transactionId", 1, [], [], 0)); }, get$transactionRule() { return this.noSuchMethod$1(this, A.createInvocationMirror("transactionRule", "get$transactionRule", 1, [], [], 0)); }, get$transactionRuleId() { return this.noSuchMethod$1(this, A.createInvocationMirror("transactionRuleId", "get$transactionRuleId", 1, [], [], 0)); }, get$schedule() { return this.noSuchMethod$1(this, A.createInvocationMirror("schedule", "get$schedule", 1, [], [], 0)); }, get$scheduleId() { return this.noSuchMethod$1(this, A.createInvocationMirror("scheduleId", "get$scheduleId", 1, [], [], 0)); }, get$product($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("product", "get$product", 1, [], [], 0)); }, get$message($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("message", "get$message", 1, [], [], 0)); }, get$_count($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("_count", "get$_count", 1, [], [], 0)); }, get$_notificationCallStackDepth() { return this.noSuchMethod$1(this, A.createInvocationMirror("_notificationCallStackDepth", "get$_notificationCallStackDepth", 1, [], [], 0)); }, get$_change_notifier$_listeners() { return this.noSuchMethod$1(this, A.createInvocationMirror("_listeners", "get$_change_notifier$_listeners", 1, [], [], 0)); }, get$_reentrantlyRemovedListeners() { return this.noSuchMethod$1(this, A.createInvocationMirror("_reentrantlyRemovedListeners", "get$_reentrantlyRemovedListeners", 1, [], [], 0)); }, get$name($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("name", "get$name", 1, [], [], 0)); }, get$error($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("error", "get$error", 1, [], [], 0)); }, get$idToken($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("idToken", "get$idToken", 1, [], [], 0)); }, get$accessToken($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("accessToken", "get$accessToken", 1, [], [], 0)); }, get$body($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("body", "get$body", 1, [], [], 0)); }, get$bodyBytes() { return this.noSuchMethod$1(this, A.createInvocationMirror("bodyBytes", "get$bodyBytes", 1, [], [], 0)); }, get$shippingAddress1() { return this.noSuchMethod$1(this, A.createInvocationMirror("shippingAddress1", "get$shippingAddress1", 1, [], [], 0)); }, get$shippingAddress2() { return this.noSuchMethod$1(this, A.createInvocationMirror("shippingAddress2", "get$shippingAddress2", 1, [], [], 0)); }, get$shippingCity() { return this.noSuchMethod$1(this, A.createInvocationMirror("shippingCity", "get$shippingCity", 1, [], [], 0)); }, get$shippingState() { return this.noSuchMethod$1(this, A.createInvocationMirror("shippingState", "get$shippingState", 1, [], [], 0)); }, get$shippingPostalCode() { return this.noSuchMethod$1(this, A.createInvocationMirror("shippingPostalCode", "get$shippingPostalCode", 1, [], [], 0)); }, get$shippingCountryId() { return this.noSuchMethod$1(this, A.createInvocationMirror("shippingCountryId", "get$shippingCountryId", 1, [], [], 0)); }, get$date() { return this.noSuchMethod$1(this, A.createInvocationMirror("date", "get$date", 1, [], [], 0)); }, get$amount() { return this.noSuchMethod$1(this, A.createInvocationMirror("amount", "get$amount", 1, [], [], 0)); }, get$authorization($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("authorization", "get$authorization", 1, [], [], 0)); }, get$code($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("code", "get$code", 1, [], [], 0)); }, get$id_token($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("id_token", "get$id_token", 1, [], [], 0)); }, get$email($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("email", "get$email", 1, [], [], 0)); }, get$firstName($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("firstName", "get$firstName", 1, [], [], 0)); }, get$lastName($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("lastName", "get$lastName", 1, [], [], 0)); }, get$promise($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("promise", "get$promise", 1, [], [], 0)); }, get$numPages($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("numPages", "get$numPages", 1, [], [], 0)); }, get$currentUser($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("currentUser", "get$currentUser", 1, [], [], 0)); }, get$access_token($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("access_token", "get$access_token", 1, [], [], 0)); }, get$details($receiver) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("details", "get$details", 1, [], [], 0)); }, set$_notificationCallStackDepth($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("_notificationCallStackDepth=", "set$_notificationCallStackDepth", 2, [$0], [], 0)); }, set$_change_notifier$_listeners($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("_listeners=", "set$_change_notifier$_listeners", 2, [$0], [], 0)); }, set$_reentrantlyRemovedListeners($0) { return this.noSuchMethod$1(this, A.createInvocationMirror("_reentrantlyRemovedListeners=", "set$_reentrantlyRemovedListeners", 2, [$0], [], 0)); }, set$_count($receiver, $0) { return this.noSuchMethod$1($receiver, A.createInvocationMirror("_count=", "set$_count", 2, [$0], [], 0)); } }; A._StringStackTrace.prototype = { toString$0(_) { return ""; }, $isStackTrace: 1 }; A.Stopwatch.prototype = { get$elapsedMicroseconds() { var ticks = this.get$elapsedTicks(); if ($.$get$Stopwatch__frequency() === 1000000) return ticks; return ticks * 1000; }, get$elapsedMilliseconds() { var ticks = this.get$elapsedTicks(); if ($.$get$Stopwatch__frequency() === 1000) return ticks; return B.JSInt_methods._tdivFast$1(ticks, 1000); }, start$0(_) { var _this = this, $stop = _this._stop; if ($stop != null) { _this._core$_start = _this._core$_start + ($.Primitives_timerTicks.call$0() - $stop); _this._stop = null; } }, reset$0(_) { var t1 = this._stop; this._core$_start = t1 == null ? $.Primitives_timerTicks.call$0() : t1; }, get$elapsedTicks() { var t1 = this._stop; if (t1 == null) t1 = $.Primitives_timerTicks.call$0(); return t1 - this._core$_start; } }; A.Runes.prototype = { get$iterator(_) { return new A.RuneIterator(this.string); }, get$last(_) { var code, previousCode, t1 = this.string, t2 = t1.length; if (t2 === 0) throw A.wrapException(A.StateError$("No elements.")); code = t1.charCodeAt(t2 - 1); if ((code & 64512) === 56320 && t2 > 1) { previousCode = t1.charCodeAt(t2 - 2); if ((previousCode & 64512) === 55296) return A._combineSurrogatePair(previousCode, code); } return code; } }; A.RuneIterator.prototype = { get$current(_) { return this._currentCodePoint; }, moveNext$0() { var codeUnit, nextPosition, nextCodeUnit, _this = this, t1 = _this._core$_position = _this._nextPosition, t2 = _this.string, t3 = t2.length; if (t1 === t3) { _this._currentCodePoint = -1; return false; } codeUnit = t2.charCodeAt(t1); nextPosition = t1 + 1; if ((codeUnit & 64512) === 55296 && nextPosition < t3) { nextCodeUnit = t2.charCodeAt(nextPosition); if ((nextCodeUnit & 64512) === 56320) { _this._nextPosition = nextPosition + 1; _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit); return true; } } _this._nextPosition = nextPosition; _this._currentCodePoint = codeUnit; return true; } }; A.StringBuffer.prototype = { get$length(_) { return this._contents.length; }, write$1(_, obj) { this._contents += A.S(obj); }, writeCharCode$1(charCode) { this._contents += A.Primitives_stringFromCharCode(charCode); }, writeln$1(obj) { this._contents += A.S(obj) + "\n"; }, writeln$0() { return this.writeln$1(""); }, toString$0(_) { var t1 = this._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, get$isEmpty(_) { return this._contents.length === 0; } }; A.Uri_splitQueryString_closure.prototype = { call$2(map, element) { var key, value, t1, index = B.JSString_methods.indexOf$1(element, "="); if (index === -1) { if (element !== "") J.$indexSet$ax(map, A._Uri__uriDecode(element, 0, element.length, this.encoding, true), ""); } else if (index !== 0) { key = B.JSString_methods.substring$2(element, 0, index); value = B.JSString_methods.substring$1(element, index + 1); t1 = this.encoding; J.$indexSet$ax(map, A._Uri__uriDecode(key, 0, key.length, t1, true), A._Uri__uriDecode(value, 0, value.length, t1, true)); } return map; }, $signature: 2029 }; A.Uri__parseIPv4Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, $signature: 2035 }; A.Uri_parseIPv6Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, $signature: 2070 }; A.Uri_parseIPv6Address_parseHex.prototype = { call$2(start, end) { var value; if (end - start > 4) this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start); value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16); if (value < 0 || value > 65535) this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); return value; }, $signature: 478 }; A._Uri.prototype = { get$_text() { var t1, t2, t3, t4, _this = this, value = _this.___Uri__text_FI; if (value === $) { t1 = _this.scheme; t2 = t1.length !== 0 ? "" + t1 + ":" : ""; t3 = _this._host; t4 = t3 == null; if (!t4 || t1 === "file") { t1 = t2 + "//"; t2 = _this._userInfo; if (t2.length !== 0) t1 = t1 + t2 + "@"; if (!t4) t1 += t3; t2 = _this._port; if (t2 != null) t1 = t1 + ":" + A.S(t2); } else t1 = t2; t1 += _this.path; t2 = _this._query; if (t2 != null) t1 = t1 + "?" + t2; t2 = _this._fragment; if (t2 != null) t1 = t1 + "#" + t2; value !== $ && A.throwUnnamedLateFieldADI(); value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1; } return value; }, get$pathSegments() { var pathToSplit, result, _this = this, value = _this.___Uri_pathSegments_FI; if (value === $) { pathToSplit = _this.path; if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47) pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1); result = pathToSplit.length === 0 ? B.List_empty0 : A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split("/"), type$.JSArray_String), A.core_Uri_decodeComponent$closure(), type$.MappedListIterable_String_dynamic), type$.String); _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___Uri_pathSegments_FI = result; } return value; }, get$hashCode(_) { var result, _this = this, value = _this.___Uri_hashCode_FI; if (value === $) { result = B.JSString_methods.get$hashCode(_this.get$_text()); _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___Uri_hashCode_FI = result; value = result; } return value; }, get$queryParameters() { var t1, _this = this, value = _this.___Uri_queryParameters_FI; if (value === $) { t1 = _this._query; t1 = A.Uri_splitQueryString(t1 == null ? "" : t1); _this.___Uri_queryParameters_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___Uri_queryParameters_FI = new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_String); } return value; }, get$queryParametersAll() { var t1, result, _this = this, value = _this.___Uri_queryParametersAll_FI; if (value === $) { t1 = _this._query; result = A._Uri__computeQueryParametersAll(t1 == null ? "" : t1); _this.___Uri_queryParametersAll_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___Uri_queryParametersAll_FI = result; value = result; } return value; }, get$userInfo() { return this._userInfo; }, get$host(_) { var host = this._host; if (host == null) return ""; if (B.JSString_methods.startsWith$1(host, "[")) return B.JSString_methods.substring$2(host, 1, host.length - 1); return host; }, get$port(_) { var t1 = this._port; return t1 == null ? A._Uri__defaultPort(this.scheme) : t1; }, get$query(_) { var t1 = this._query; return t1 == null ? "" : t1; }, get$fragment() { var t1 = this._fragment; return t1 == null ? "" : t1; }, isScheme$1(scheme) { var thisScheme = this.scheme; if (scheme.length !== thisScheme.length) return false; return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0; }, _mergePaths$2(base, reference) { var backCount, refStart, baseEnd, newEnd, delta, t1; for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) { refStart += 3; ++backCount; } baseEnd = B.JSString_methods.lastIndexOf$1(base, "/"); while (true) { if (!(baseEnd > 0 && backCount > 0)) break; newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1); if (newEnd < 0) break; delta = baseEnd - newEnd; t1 = delta !== 2; if (!t1 || delta === 3) if (base.charCodeAt(newEnd + 1) === 46) t1 = !t1 || base.charCodeAt(newEnd + 2) === 46; else t1 = false; else t1 = false; if (t1) break; --backCount; baseEnd = newEnd; } return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount)); }, resolve$1(_, reference) { return this.resolveUri$1(A.Uri_parse(reference, 0, null)); }, resolveUri$1(reference) { var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null; if (reference.get$scheme().length !== 0) { targetScheme = reference.get$scheme(); if (reference.get$hasAuthority()) { targetUserInfo = reference.get$userInfo(); targetHost = reference.get$host(reference); targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null; } else { targetPort = _null; targetHost = targetPort; targetUserInfo = ""; } targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; } else { targetScheme = _this.scheme; if (reference.get$hasAuthority()) { targetUserInfo = reference.get$userInfo(); targetHost = reference.get$host(reference); targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme); targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; } else { targetUserInfo = _this._userInfo; targetHost = _this._host; targetPort = _this._port; targetPath = _this.path; if (reference.get$path(reference) === "") targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; else { packageNameEnd = A._Uri__packageNameEnd(_this, targetPath); if (packageNameEnd > 0) { packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd); targetPath = reference.get$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get$path(reference)) : packageName + A._Uri__removeDotSegments(_this._mergePaths$2(B.JSString_methods.substring$1(targetPath, packageName.length), reference.get$path(reference))); } else if (reference.get$hasAbsolutePath()) targetPath = A._Uri__removeDotSegments(reference.get$path(reference)); else if (targetPath.length === 0) if (targetHost == null) targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference)); else targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference)); else { mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference)); t1 = targetScheme.length === 0; if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/")) targetPath = A._Uri__removeDotSegments(mergedPath); else targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); } targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _null; } } } return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null); }, get$hasScheme() { return this.scheme.length !== 0; }, get$hasAuthority() { return this._host != null; }, get$hasPort() { return this._port != null; }, get$hasQuery() { return this._query != null; }, get$hasFragment() { return this._fragment != null; }, get$hasAbsolutePath() { return B.JSString_methods.startsWith$1(this.path, "/"); }, toFilePath$0() { var pathSegments, _this = this, t1 = _this.scheme; if (t1 !== "" && t1 !== "file") throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI")); t1 = _this._query; if ((t1 == null ? "" : t1) !== "") throw A.wrapException(A.UnsupportedError$(string$.Cannotefq)); t1 = _this._fragment; if ((t1 == null ? "" : t1) !== "") throw A.wrapException(A.UnsupportedError$(string$.Cannoteff)); t1 = $.$get$_Uri__isWindowsCached(); if (t1) t1 = A._Uri__toWindowsFilePath(_this); else { if (_this._host != null && _this.get$host(0) !== "") A.throwExpression(A.UnsupportedError$(string$.Cannoten)); pathSegments = _this.get$pathSegments(); A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false); t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/"); t1 = t1.charCodeAt(0) == 0 ? t1 : t1; } return t1; }, toString$0(_) { return this.get$_text(); }, $eq(_, other) { var t1, t2, _this = this; if (other == null) return false; if (_this === other) return true; if (type$.Uri._is(other)) if (_this.scheme === other.get$scheme()) if (_this._host != null === other.get$hasAuthority()) if (_this._userInfo === other.get$userInfo()) if (_this.get$host(0) === other.get$host(other)) if (_this.get$port(0) === other.get$port(other)) if (_this.path === other.get$path(other)) { t1 = _this._query; t2 = t1 == null; if (!t2 === other.get$hasQuery()) { if (t2) t1 = ""; if (t1 === other.get$query(other)) { t1 = _this._fragment; t2 = t1 == null; if (!t2 === other.get$hasFragment()) { if (t2) t1 = ""; t1 = t1 === other.get$fragment(); } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, $isUri: 1, get$scheme() { return this.scheme; }, get$path(receiver) { return this.path; } }; A._Uri__makeQueryFromParametersDefault_writeParameter.prototype = { call$2(key, value) { var t1 = this.result, t2 = this._box_0; t1._contents += t2.separator; t2.separator = "&"; t2 = t1._contents += A._Uri__uriEncode(B.List_M1A, key, B.C_Utf8Codec, true); if (value != null && value.length !== 0) { t1._contents = t2 + "="; t1._contents += A._Uri__uriEncode(B.List_M1A, value, B.C_Utf8Codec, true); } }, $signature: 2072 }; A._Uri__makeQueryFromParametersDefault_closure.prototype = { call$2(key, value) { var t1, t2; if (value == null || typeof value == "string") this.writeParameter.call$2(key, value); else for (t1 = J.get$iterator$ax(value), t2 = this.writeParameter; t1.moveNext$0();) t2.call$2(key, t1.get$current(t1)); }, $signature: 145 }; A._Uri__splitQueryStringAll_parsePair.prototype = { call$3(start, equalsIndex, end) { var t1, t2, key, value; if (start === end) return; t1 = this.query; t2 = this.encoding; if (equalsIndex < 0) { key = A._Uri__uriDecode(t1, start, end, t2, true); value = ""; } else { key = A._Uri__uriDecode(t1, start, equalsIndex, t2, true); value = A._Uri__uriDecode(t1, equalsIndex + 1, end, t2, true); } J.add$1$ax(this.result.putIfAbsent$2(0, key, A.core__Uri__createList$closure()), value); }, $signature: 2074 }; A.UriData.prototype = { get$uri() { var t2, queryIndex, end, query, _this = this, _null = null, t1 = _this._uriCache; if (t1 == null) { t1 = _this._text; t2 = _this._separatorIndices[0] + 1; queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2); end = t1.length; if (queryIndex >= 0) { query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_oFp, false, false); end = queryIndex; } else query = _null; t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_XRg, false, false), query, _null); } return t1; }, contentAsBytes$0() { var $length, i, result, index, codeUnit, index0, i0, byte, text = this._text, t1 = this._separatorIndices, start = B.JSArray_methods.get$last(t1) + 1; if ((t1.length & 1) === 1) return B.C_Base64Decoder.convert$2(text, start); t1 = text.length; $length = t1 - start; for (i = start; i < t1; ++i) if (text.charCodeAt(i) === 37) { i += 2; $length -= 2; } result = new Uint8Array($length); if ($length === t1) { B.NativeUint8List_methods.setRange$4(result, 0, $length, new A.CodeUnits(text), start); return result; } for (i = start, index = 0; i < t1; ++i) { codeUnit = text.charCodeAt(i); if (codeUnit !== 37) { index0 = index + 1; result[index] = codeUnit; } else { i0 = i + 2; if (i0 < t1) { byte = A.parseHexByte(text, i + 1); if (byte >= 0) { index0 = index + 1; result[index] = byte; i = i0; index = index0; continue; } } throw A.wrapException(A.FormatException$("Invalid percent escape", text, i)); } index = index0; } return result; }, toString$0(_) { var t1 = this._text; return this._separatorIndices[0] === -1 ? "data:" + t1 : t1; } }; A._createTables_build.prototype = { call$2(state, defaultTransition) { var t1 = this.tables[state]; B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); return t1; }, $signature: 2075 }; A._createTables_setChars.prototype = { call$3(target, chars, transition) { var t1, i; for (t1 = chars.length, i = 0; i < t1; ++i) target[chars.charCodeAt(i) ^ 96] = transition; }, $signature: 892 }; A._createTables_setRange.prototype = { call$3(target, range, transition) { var i, n; for (i = range.charCodeAt(0), n = range.charCodeAt(1); i <= n; ++i) target[(i ^ 96) >>> 0] = transition; }, $signature: 892 }; A._SimpleUri.prototype = { get$hasScheme() { return this._schemeEnd > 0; }, get$hasAuthority() { return this._hostStart > 0; }, get$hasPort() { return this._hostStart > 0 && this._portStart + 1 < this._pathStart; }, get$hasQuery() { return this._queryStart < this._fragmentStart; }, get$hasFragment() { return this._fragmentStart < this._uri.length; }, get$hasAbsolutePath() { return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart); }, isScheme$1(scheme) { var t1 = scheme.length; if (t1 === 0) return this._schemeEnd < 0; if (t1 !== this._schemeEnd) return false; return A._caseInsensitiveCompareStart(scheme, this._uri, 0) >= 0; }, get$scheme() { var t1 = this._schemeCache; return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; }, _computeScheme$0() { var t2, _this = this, t1 = _this._schemeEnd; if (t1 <= 0) return ""; t2 = t1 === 4; if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http")) return "http"; if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https")) return "https"; if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file")) return "file"; if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package")) return "package"; return B.JSString_methods.substring$2(_this._uri, 0, t1); }, get$userInfo() { var t1 = this._hostStart, t2 = this._schemeEnd + 3; return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : ""; }, get$host(_) { var t1 = this._hostStart; return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : ""; }, get$port(_) { var t1, _this = this; if (_this.get$hasPort()) return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null); t1 = _this._schemeEnd; if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http")) return 80; if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https")) return 443; return 0; }, get$path(_) { return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart); }, get$query(_) { var t1 = this._queryStart, t2 = this._fragmentStart; return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : ""; }, get$fragment() { var t1 = this._fragmentStart, t2 = this._uri; return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : ""; }, get$pathSegments() { var parts, i, start = this._pathStart, end = this._queryStart, t1 = this._uri; if (B.JSString_methods.startsWith$2(t1, "/", start)) ++start; if (start === end) return B.List_empty0; parts = A._setArrayType([], type$.JSArray_String); for (i = start; i < end; ++i) if (t1.charCodeAt(i) === 47) { parts.push(B.JSString_methods.substring$2(t1, start, i)); start = i + 1; } parts.push(B.JSString_methods.substring$2(t1, start, end)); return A.List_List$unmodifiable(parts, type$.String); }, get$queryParameters() { if (this._queryStart >= this._fragmentStart) return B.Map_empty6; return new A.UnmodifiableMapView(A.Uri_splitQueryString(this.get$query(0)), type$.UnmodifiableMapView_String_String); }, get$queryParametersAll() { if (this._queryStart >= this._fragmentStart) return B.Map_empty0; var queryParameterLists = A._Uri__splitQueryStringAll(this.get$query(0)); queryParameterLists.updateAll$1(queryParameterLists, A.core___toUnmodifiableStringList$closure()); return A.ConstantMap_ConstantMap$from(queryParameterLists, type$.String, type$.List_String); }, _isPort$1(port) { var portDigitStart = this._portStart + 1; return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart); }, removeFragment$0() { var _this = this, t1 = _this._fragmentStart, t2 = _this._uri; if (t1 >= t2.length) return _this; return new A._SimpleUri(B.JSString_methods.substring$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache); }, resolve$1(_, reference) { return this.resolveUri$1(A.Uri_parse(reference, 0, null)); }, resolveUri$1(reference) { if (reference instanceof A._SimpleUri) return this._simpleMerge$2(this, reference); return this._toNonSimple$0().resolveUri$1(reference); }, _simpleMerge$2(base, ref) { var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert, t1 = ref._schemeEnd; if (t1 > 0) return ref; t2 = ref._hostStart; if (t2 > 0) { t3 = base._schemeEnd; if (t3 <= 0) return ref; t4 = t3 === 4; if (t4 && B.JSString_methods.startsWith$1(base._uri, "file")) isSimple = ref._pathStart !== ref._queryStart; else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http")) isSimple = !ref._isPort$1("80"); else isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443"); if (isSimple) { delta = t3 + 1; return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, delta) + B.JSString_methods.substring$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache); } else return this._toNonSimple$0().resolveUri$1(ref); } refStart = ref._pathStart; t1 = ref._queryStart; if (refStart === t1) { t2 = ref._fragmentStart; if (t1 < t2) { t3 = base._queryStart; delta = t3 - t1; return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache); } t1 = ref._uri; if (t2 < t1.length) { t3 = base._fragmentStart; return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, t3) + B.JSString_methods.substring$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache); } return base.removeFragment$0(); } t2 = ref._uri; if (B.JSString_methods.startsWith$2(t2, "/", refStart)) { basePathStart = base._pathStart; packageNameEnd = A._SimpleUri__packageNameEnd(this); basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart; delta = basePathStart0 - refStart; return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); } baseStart = base._pathStart; baseEnd = base._queryStart; if (baseStart === baseEnd && base._hostStart > 0) { for (; B.JSString_methods.startsWith$2(t2, "../", refStart);) refStart += 3; delta = baseStart - refStart + 1; return new A._SimpleUri(B.JSString_methods.substring$2(base._uri, 0, baseStart) + "/" + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); } baseUri = base._uri; packageNameEnd = A._SimpleUri__packageNameEnd(this); if (packageNameEnd >= 0) baseStart0 = packageNameEnd; else for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);) baseStart0 += 3; backCount = 0; while (true) { refStart0 = refStart + 3; if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart))) break; ++backCount; refStart = refStart0; } for (insert = ""; baseEnd > baseStart0;) { --baseEnd; if (baseUri.charCodeAt(baseEnd) === 47) { if (backCount === 0) { insert = "/"; break; } --backCount; insert = "/"; } } if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) { refStart -= backCount * 3; insert = ""; } delta = baseEnd - refStart + insert.length; return new A._SimpleUri(B.JSString_methods.substring$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache); }, toFilePath$0() { var t2, t3, _this = this, t1 = _this._schemeEnd; if (t1 >= 0) { t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file")); t1 = t2; } else t1 = false; if (t1) throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI")); t1 = _this._queryStart; t2 = _this._uri; if (t1 < t2.length) { if (t1 < _this._fragmentStart) throw A.wrapException(A.UnsupportedError$(string$.Cannotefq)); throw A.wrapException(A.UnsupportedError$(string$.Cannoteff)); } t3 = $.$get$_Uri__isWindowsCached(); if (t3) t1 = A._Uri__toWindowsFilePath(_this); else { if (_this._hostStart < _this._portStart) A.throwExpression(A.UnsupportedError$(string$.Cannoten)); t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1); } return t1; }, get$hashCode(_) { var t1 = this._hashCodeCache; return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1; }, $eq(_, other) { if (other == null) return false; if (this === other) return true; return type$.Uri._is(other) && this._uri === other.toString$0(0); }, _toNonSimple$0() { var _this = this, _null = null, t1 = _this.get$scheme(), t2 = _this.get$userInfo(), t3 = _this._hostStart > 0 ? _this.get$host(0) : _null, t4 = _this.get$hasPort() ? _this.get$port(0) : _null, t5 = _this._uri, t6 = _this._queryStart, t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6), t8 = _this._fragmentStart; t6 = t6 < t8 ? _this.get$query(0) : _null; return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); }, toString$0(_) { return this._uri; }, $isUri: 1 }; A._DataUri.prototype = {}; A.Expando.prototype = { $index(_, object) { if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record) A.Expando__badExpandoKey(object); return this._jsWeakMap.get(object); }, $indexSet(_, object, value) { if (object instanceof A._Record) A.Expando__badExpandoKey(object); this._jsWeakMap.set(object, value); }, toString$0(_) { return "Expando:null"; } }; A._FakeUserTag.prototype = {}; A.ServiceExtensionResponse.prototype = {}; A.TimelineTask.prototype = { start$2$arguments(_, $name, $arguments) { var block, t1, map, key; A.ArgumentError_checkNotNull($name, "name"); if (!(typeof performance !== "undefined" && typeof performance.measure !== "undefined")) { this._stack.push(null); return; } block = new A._AsyncBlock($name, this._taskId); this._stack.push(block); t1 = type$.nullable_Object; map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); if ($arguments != null) for (t1 = A.LinkedHashMapKeyIterator$($arguments, $arguments._modifications, A._instanceType($arguments)._precomputed1); t1.moveNext$0();) { key = t1.__js_helper$_current; map.$indexSet(0, key, $arguments.$index(0, key)); } A._reportTaskEvent(block._taskId, -1, 5, block.name, A._argumentsAsJson(map)); }, start$1(_, $name) { return this.start$2$arguments(0, $name, null); }, finish$1$arguments(_, $arguments) { var block, t1 = this._stack; if (t1.length === 0) throw A.wrapException(A.StateError$("Uneven calls to start and finish")); block = t1.pop(); if (block == null) return; A._reportTaskEvent(block._taskId, -1, 7, block.name, A._argumentsAsJson($arguments)); }, finish$0(_) { return this.finish$1$arguments(0, null); } }; A._AsyncBlock.prototype = {}; A._SyncBlock.prototype = { get$_jsonArguments() { var result, _this = this, value = _this.___SyncBlock__jsonArguments_FI; if (value === $) { result = A._argumentsAsJson(_this.$arguments); _this.___SyncBlock__jsonArguments_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___SyncBlock__jsonArguments_FI = result; value = result; } return value; } }; A.HtmlElement.prototype = {$isHtmlElement: 1}; A.AccessibleNodeList.prototype = { get$length(receiver) { return receiver.length; } }; A.AnchorElement.prototype = { toString$0(receiver) { var t1 = String(receiver); t1.toString; return t1; } }; A.Animation.prototype = { get$id(receiver) { return receiver.id; } }; A.ApplicationCacheErrorEvent.prototype = { get$message(receiver) { return receiver.message; } }; A.AreaElement.prototype = { toString$0(receiver) { var t1 = String(receiver); t1.toString; return t1; } }; A.BackgroundFetchEvent.prototype = { get$id(receiver) { return receiver.id; } }; A.BackgroundFetchRegistration.prototype = { get$id(receiver) { return receiver.id; } }; A.BeforeUnloadEvent.prototype = {$isBeforeUnloadEvent: 1}; A.Blob.prototype = {$isBlob: 1}; A.BluetoothRemoteGattDescriptor.prototype = { get$value(receiver) { return receiver.value; } }; A.ButtonElement.prototype = { get$value(receiver) { var t1 = receiver.value; t1.toString; return t1; } }; A.CanvasElement.prototype = { getContext$1(receiver, contextId) { return receiver.getContext(contextId); }, _toBlob$3(receiver, callback, type, $arguments) { return receiver.toBlob(A.convertDartClosureToJS(callback, 1), type, $arguments); }, toBlob$0(receiver) { var t1 = new A._Future($.Zone__current, type$._Future_Blob); this._toBlob$3(receiver, new A.CanvasElement_toBlob_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_Blob)), null, null); return t1; } }; A.CanvasElement_toBlob_closure.prototype = { call$1(value) { this.completer.complete$1(0, value); }, $signature: 2103 }; A.CanvasRenderingContext2D.prototype = {$isCanvasRenderingContext2D: 1}; A.CharacterData.prototype = { get$length(receiver) { return receiver.length; } }; A.Client.prototype = { get$id(receiver) { return receiver.id; } }; A.Credential.prototype = { get$id(receiver) { return receiver.id; } }; A.CssKeywordValue.prototype = { get$value(receiver) { return receiver.value; } }; A.CssNumericValue.prototype = {}; A.CssPerspective.prototype = { get$length(receiver) { return receiver.length; } }; A.CssRule.prototype = {$isCssRule: 1}; A.CssStyleDeclaration.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; } }; A.CssStyleDeclarationBase.prototype = {}; A.CssStyleValue.prototype = {}; A.CssTransformComponent.prototype = {}; A.CssTransformValue.prototype = { get$length(receiver) { return receiver.length; } }; A.CssUnitValue.prototype = { get$value(receiver) { return receiver.value; } }; A.CssUnparsedValue.prototype = { get$length(receiver) { return receiver.length; } }; A.DataElement.prototype = { get$value(receiver) { return receiver.value; } }; A.DataTransferItemList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { var t1 = receiver[index]; t1.toString; return t1; } }; A.DeprecationReport.prototype = { get$message(receiver) { return receiver.message; } }; A.Document1.prototype = { createElement$1(receiver, tagName) { var t1 = receiver.createElement(tagName); return t1; }, $isDocument1: 1 }; A.DomError.prototype = { get$message(receiver) { return receiver.message; } }; A.DomException0.prototype = { get$message(receiver) { return receiver.message; }, toString$0(receiver) { var t1 = String(receiver); t1.toString; return t1; } }; A.DomRectList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.DomRectReadOnly0.prototype = { toString$0(receiver) { var t2, t1 = receiver.left; t1.toString; t2 = receiver.top; t2.toString; return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(this.get$width(receiver)) + " x " + A.S(this.get$height(receiver)); }, $eq(receiver, other) { var t1, t2; if (other == null) return false; if (type$.Rectangle_num._is(other)) { t1 = receiver.left; t1.toString; t2 = J.getInterceptor$x(other); if (t1 === t2.get$left(other)) { t1 = receiver.top; t1.toString; t1 = t1 === t2.get$top(other) && this.get$width(receiver) === t2.get$width(other) && this.get$height(receiver) === t2.get$height(other); } else t1 = false; } else t1 = false; return t1; }, get$hashCode(receiver) { var t2, t1 = receiver.left; t1.toString; t2 = receiver.top; t2.toString; return A.Object_hash(t1, t2, this.get$width(receiver), this.get$height(receiver), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, get$bottom(receiver) { var t1 = receiver.bottom; t1.toString; return t1; }, get$_height(receiver) { return receiver.height; }, get$height(receiver) { var t1 = this.get$_height(receiver); t1.toString; return t1; }, get$left(receiver) { var t1 = receiver.left; t1.toString; return t1; }, get$right(receiver) { var t1 = receiver.right; t1.toString; return t1; }, get$top(receiver) { var t1 = receiver.top; t1.toString; return t1; }, get$_width(receiver) { return receiver.width; }, get$width(receiver) { var t1 = this.get$_width(receiver); t1.toString; return t1; }, $isRectangle: 1 }; A.DomStringList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.DomTokenList0.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, get$value(receiver) { return receiver.value; } }; A._ChildrenElementList.prototype = { contains$1(_, element) { return J.contains$1$asx(this._html$_childElements, element); }, get$isEmpty(_) { return this._html$_element.firstElementChild == null; }, get$length(_) { return this._html$_childElements.length; }, $index(_, index) { return type$.Element._as(this._html$_childElements[index]); }, $indexSet(_, index, value) { this._html$_element.replaceChild(value, this._html$_childElements[index]).toString; }, set$length(_, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot resize element lists")); }, add$1(_, value) { this._html$_element.appendChild(value).toString; return value; }, get$iterator(_) { var t1 = this.toList$0(this); return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, addAll$1(_, iterable) { A._ChildrenElementList__addAll(this._html$_element, iterable); }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("Cannot sort element lists")); }, removeWhere$1(_, test) { this._html$_filter$2(0, test, false); }, retainWhere$1(_, test) { this._html$_filter$2(0, test, true); }, _html$_filter$2(_, test, retainMatching) { var removed, t3, t4, t1 = this._html$_element, t2 = J.getInterceptor$x(t1); if (retainMatching) { t1 = t2.get$children(t1); removed = new A.WhereIterable(t1, new A._ChildrenElementList__filter_closure(test), A._instanceType(t1)._eval$1("WhereIterable<ListBase.E>")); } else { t1 = t2.get$children(t1); removed = new A.WhereIterable(t1, test, A._instanceType(t1)._eval$1("WhereIterable<ListBase.E>")); } for (t1 = J.get$iterator$ax(removed.__internal$_iterable), t2 = new A.WhereIterator(t1, removed._f, removed.$ti._eval$1("WhereIterator<1>")); t2.moveNext$0();) { t3 = t1.get$current(t1); t4 = t3.parentNode; if (t4 != null) t4.removeChild(t3).toString; } }, removeRange$2(_, start, end) { throw A.wrapException(A.UnimplementedError$(null)); }, setRange$4(_, start, end, iterable, skipCount) { throw A.wrapException(A.UnimplementedError$(null)); }, setRange$3(_, start, end, iterable) { return this.setRange$4(0, start, end, iterable, 0); }, remove$1(_, object) { return A._ChildrenElementList__remove(this._html$_element, object); }, insert$2(_, index, element) { var t1, t2, _this = this; if (index < 0 || index > _this._html$_childElements.length) throw A.wrapException(A.RangeError$range(index, 0, _this.get$length(0), null, null)); t1 = _this._html$_childElements; t2 = _this._html$_element; if (index === t1.length) t2.appendChild(element).toString; else t2.insertBefore(element, type$.Element._as(t1[index])).toString; }, insertAll$2(_, index, iterable) { throw A.wrapException(A.UnimplementedError$(null)); }, setAll$2(_, index, iterable) { throw A.wrapException(A.UnimplementedError$(null)); }, clear$0(_) { J._clearChildren$0$x(this._html$_element); }, removeAt$1(_, index) { var result = type$.Element._as(this._html$_childElements[index]); this._html$_element.removeChild(result).toString; return result; }, removeLast$0(_) { var result = this.get$last(0); this._html$_element.removeChild(result).toString; return result; }, get$first(_) { return A._ChildrenElementList__first(this._html$_element); }, get$last(_) { var result = this._html$_element.lastElementChild; if (result == null) throw A.wrapException(A.StateError$("No elements")); return result; }, get$single(_) { if (this._html$_childElements.length > 1) throw A.wrapException(A.StateError$("More than one element")); return A._ChildrenElementList__first(this._html$_element); } }; A._ChildrenElementList__filter_closure.prototype = { call$1(e) { return !this.test.call$1(e); }, $signature: 2113 }; A.Element2.prototype = { get$children(receiver) { var t1 = receiver.children; t1.toString; return new A._ChildrenElementList(receiver, t1); }, toString$0(receiver) { var t1 = receiver.localName; t1.toString; return t1; }, get$id(receiver) { var t1 = receiver.id; t1.toString; return t1; }, $isElement2: 1 }; A.ErrorEvent.prototype = { get$message(receiver) { return receiver.message; } }; A.Event.prototype = {$isEvent: 1}; A.EventTarget.prototype = { addEventListener$3(receiver, type, listener, useCapture) { if (listener != null) this._html$_addEventListener$3(receiver, type, listener, useCapture); }, addEventListener$2(receiver, type, listener) { return this.addEventListener$3(receiver, type, listener, null); }, removeEventListener$3(receiver, type, listener, useCapture) { if (listener != null) this._removeEventListener$3(receiver, type, listener, useCapture); }, removeEventListener$2(receiver, type, listener) { return this.removeEventListener$3(receiver, type, listener, null); }, _html$_addEventListener$3(receiver, type, listener, options) { return receiver.addEventListener(type, A.convertDartClosureToJS(listener, 1), options); }, _removeEventListener$3(receiver, type, listener, options) { return receiver.removeEventListener(type, A.convertDartClosureToJS(listener, 1), options); } }; A.ExtendableEvent.prototype = {}; A.File.prototype = {$isFile: 1}; A.FileList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.FileReader.prototype = { get$result(receiver) { var res = receiver.result; if (type$.ByteBuffer._is(res)) return B.NativeByteBuffer_methods.asUint8List$2(res, 0, null); return res; }, readAsArrayBuffer$1(receiver, blob) { return receiver.readAsArrayBuffer(blob); } }; A.FileWriter.prototype = { get$length(receiver) { return receiver.length; } }; A.FontFaceSet.prototype = { forEach$1(receiver, callback) { return receiver.forEach(A.convertDartClosureToJS(callback, 3)); } }; A.FormElement.prototype = { get$length(receiver) { return receiver.length; } }; A.Gamepad.prototype = { get$id(receiver) { return receiver.id; }, $isGamepad: 1 }; A.GamepadButton.prototype = { get$value(receiver) { return receiver.value; } }; A.History.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; } }; A.HtmlCollection.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.HtmlDocument.prototype = { get$body(receiver) { return receiver.body; } }; A.HttpRequest.prototype = { get$responseHeaders(receiver) { var _i, header, t2, splitIdx, key, value, t1 = type$.String, headers = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), headersString = receiver.getAllResponseHeaders(), headersList = headersString.split("\r\n"); for (t1 = headersList.length, _i = 0; _i < t1; ++_i) { header = headersList[_i]; t2 = J.getInterceptor$asx(header); if (t2.get$length(header) === 0) continue; splitIdx = t2.indexOf$1(header, ": "); if (splitIdx === -1) continue; key = t2.substring$2(header, 0, splitIdx).toLowerCase(); value = t2.substring$1(header, splitIdx + 2); if (headers.containsKey$1(0, key)) headers.$indexSet(0, key, A.S(headers.$index(0, key)) + ", " + value); else headers.$indexSet(0, key, value); } return headers; }, open$3$async(receiver, method, url, async) { return receiver.open(method, url, true); }, send$1(receiver, body_OR_data) { return receiver.send(body_OR_data); }, setRequestHeader$2(receiver, $name, value) { return receiver.setRequestHeader($name, value); }, $isHttpRequest: 1 }; A.HttpRequestEventTarget.prototype = {}; A.IFrameElement.prototype = {$isIFrameElement: 1}; A.ImageData.prototype = {$isImageData: 1}; A.InputElement.prototype = { get$value(receiver) { return receiver.value; }, $isInputElement: 1 }; A.InterventionReport.prototype = { get$message(receiver) { return receiver.message; } }; A.LIElement.prototype = { get$value(receiver) { var t1 = receiver.value; t1.toString; return t1; } }; A.Location.prototype = { toString$0(receiver) { var t1 = String(receiver); t1.toString; return t1; } }; A.MediaError.prototype = { get$message(receiver) { return receiver.message; } }; A.MediaKeyMessageEvent.prototype = { get$message(receiver) { return receiver.message; } }; A.MediaList.prototype = { get$length(receiver) { return receiver.length; } }; A.MediaQueryList.prototype = { addListener$1(receiver, listener) { return receiver.addListener(A.convertDartClosureToJS(listener, 1)); }, removeListener$1(receiver, listener) { return receiver.removeListener(A.convertDartClosureToJS(listener, 1)); } }; A.MediaStream.prototype = { get$id(receiver) { return receiver.id; } }; A.MediaStreamTrack.prototype = { get$id(receiver) { return receiver.id; } }; A.MessagePort.prototype = { addEventListener$3(receiver, type, listener, useCapture) { if (type === "message") receiver.start(); this.super$EventTarget$addEventListener(receiver, type, listener, false); } }; A.MeterElement.prototype = { get$value(receiver) { return receiver.value; } }; A.MidiInputMap.prototype = { containsKey$1(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)); }, forEach$1(receiver, f) { var entry, t1, entries = receiver.entries(); for (; true;) { entry = entries.next(); t1 = entry.done; t1.toString; if (t1) return; t1 = entry.value[0]; t1.toString; f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { var keys = A._setArrayType([], type$.JSArray_String); this.forEach$1(receiver, new A.MidiInputMap_keys_closure(keys)); return keys; }, get$values(receiver) { var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); this.forEach$1(receiver, new A.MidiInputMap_values_closure(values)); return values; }, get$length(receiver) { var t1 = receiver.size; t1.toString; return t1; }, get$isEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 === 0; }, get$isNotEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 !== 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, putIfAbsent$2(receiver, key, ifAbsent) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, remove$1(receiver, key) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.MidiInputMap_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 145 }; A.MidiInputMap_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 145 }; A.MidiOutputMap.prototype = { containsKey$1(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)); }, forEach$1(receiver, f) { var entry, t1, entries = receiver.entries(); for (; true;) { entry = entries.next(); t1 = entry.done; t1.toString; if (t1) return; t1 = entry.value[0]; t1.toString; f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { var keys = A._setArrayType([], type$.JSArray_String); this.forEach$1(receiver, new A.MidiOutputMap_keys_closure(keys)); return keys; }, get$values(receiver) { var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); this.forEach$1(receiver, new A.MidiOutputMap_values_closure(values)); return values; }, get$length(receiver) { var t1 = receiver.size; t1.toString; return t1; }, get$isEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 === 0; }, get$isNotEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 !== 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, putIfAbsent$2(receiver, key, ifAbsent) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, remove$1(receiver, key) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.MidiOutputMap_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 145 }; A.MidiOutputMap_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 145 }; A.MidiPort.prototype = { get$id(receiver) { return receiver.id; } }; A.MimeType.prototype = {$isMimeType: 1}; A.MimeTypeArray.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.MouseEvent.prototype = {$isMouseEvent: 1}; A.Navigator0.prototype = { get$vendor(receiver) { var t1 = receiver.vendor; t1.toString; return t1; }, get$product(receiver) { var t1 = receiver.product; t1.toString; return t1; } }; A.NavigatorConcurrentHardware.prototype = {}; A.NavigatorUserMediaError.prototype = { get$message(receiver) { return receiver.message; } }; A._ChildNodeListLazy.prototype = { get$first(_) { var result = this._this.firstChild; if (result == null) throw A.wrapException(A.StateError$("No elements")); return result; }, get$last(_) { var result = this._this.lastChild; if (result == null) throw A.wrapException(A.StateError$("No elements")); return result; }, get$single(_) { var t1 = this._this, l = t1.childNodes.length; if (l === 0) throw A.wrapException(A.StateError$("No elements")); if (l > 1) throw A.wrapException(A.StateError$("More than one element")); t1 = t1.firstChild; t1.toString; return t1; }, add$1(_, value) { this._this.appendChild(value).toString; }, addAll$1(_, iterable) { var t1, t2, len, i, t3; if (iterable instanceof A._ChildNodeListLazy) { t1 = iterable._this; t2 = this._this; if (t1 !== t2) for (len = t1.childNodes.length, i = 0; i < len; ++i) { t3 = t1.firstChild; t3.toString; t2.appendChild(t3).toString; } return; } for (t1 = J.get$iterator$ax(iterable), t2 = this._this; t1.moveNext$0();) t2.appendChild(t1.get$current(t1)).toString; }, insert$2(_, index, node) { var t1, t2; if (index < 0 || index > this._this.childNodes.length) throw A.wrapException(A.RangeError$range(index, 0, this.get$length(0), null, null)); t1 = this._this; t2 = t1.childNodes; if (index === t2.length) t1.appendChild(node).toString; else t1.insertBefore(node, t2[index]).toString; }, insertAll$2(_, index, iterable) { var t1 = this._this, t2 = t1.childNodes; if (index === t2.length) this.addAll$1(0, iterable); else J.insertAllBefore$2$x(t1, iterable, t2[index]); }, setAll$2(_, index, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot setAll on Node list")); }, removeLast$0(_) { var result = this.get$last(0); this._this.removeChild(result).toString; return result; }, removeAt$1(_, index) { var t1 = this._this, result = t1.childNodes[index]; t1.removeChild(result).toString; return result; }, remove$1(_, object) { var t1; if (!type$.Node._is(object)) return false; t1 = this._this; if (t1 !== object.parentNode) return false; t1.removeChild(object).toString; return true; }, _html$_filter$2(_, test, removeMatching) { var nextChild, t1 = this._this, child = t1.firstChild; for (; child != null; child = nextChild) { nextChild = child.nextSibling; if (J.$eq$(test.call$1(child), removeMatching)) t1.removeChild(child).toString; } }, removeWhere$1(_, test) { this._html$_filter$2(0, test, true); }, retainWhere$1(_, test) { this._html$_filter$2(0, test, false); }, $indexSet(_, index, value) { var t1 = this._this; t1.replaceChild(value, t1.childNodes[index]).toString; }, get$iterator(_) { var t1 = this._this.childNodes; return new A.FixedSizeListIterator(t1, t1.length, A.instanceType(t1)._eval$1("FixedSizeListIterator<ImmutableListMixin.E>")); }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("Cannot sort Node list")); }, setRange$4(_, start, end, iterable, skipCount) { throw A.wrapException(A.UnsupportedError$("Cannot setRange on Node list")); }, setRange$3(_, start, end, iterable) { return this.setRange$4(0, start, end, iterable, 0); }, removeRange$2(_, start, end) { throw A.wrapException(A.UnsupportedError$("Cannot removeRange on Node list")); }, get$length(_) { return this._this.childNodes.length; }, set$length(_, value) { throw A.wrapException(A.UnsupportedError$("Cannot set length on immutable List.")); }, $index(_, index) { return this._this.childNodes[index]; } }; A.Node1.prototype = { remove$0(receiver) { var t1 = receiver.parentNode; if (t1 != null) t1.removeChild(receiver).toString; }, replaceWith$1(receiver, otherNode) { var $parent, t1, exception; try { t1 = receiver.parentNode; t1.toString; $parent = t1; J._replaceChild$2$x($parent, otherNode, receiver); } catch (exception) { } return receiver; }, insertAllBefore$2(receiver, newNodes, child) { var t1, len, i, t2; if (newNodes instanceof A._ChildNodeListLazy) { t1 = newNodes._this; if (t1 === receiver) throw A.wrapException(A.ArgumentError$(newNodes, null)); for (len = t1.childNodes.length, i = 0; i < len; ++i) { t2 = t1.firstChild; t2.toString; receiver.insertBefore(t2, child).toString; } } else for (t1 = J.get$iterator$ax(newNodes); t1.moveNext$0();) receiver.insertBefore(t1.get$current(t1), child).toString; }, _clearChildren$0(receiver) { var t1; for (; t1 = receiver.firstChild, t1 != null;) receiver.removeChild(t1).toString; }, toString$0(receiver) { var value = receiver.nodeValue; return value == null ? this.super$Interceptor$toString(receiver) : value; }, _replaceChild$2(receiver, node, child) { var t1 = receiver.replaceChild(node, child); t1.toString; return t1; }, $isNode1: 1 }; A.NodeList0.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.Notification.prototype = { get$body(receiver) { return receiver.body; } }; A.OptionElement.prototype = { get$value(receiver) { var t1 = receiver.value; t1.toString; return t1; } }; A.OutputElement.prototype = { get$value(receiver) { return receiver.value; } }; A.OverconstrainedError.prototype = { get$message(receiver) { return receiver.message; } }; A.ParamElement.prototype = { get$value(receiver) { var t1 = receiver.value; t1.toString; return t1; } }; A.PaymentRequest.prototype = { get$id(receiver) { return receiver.id; } }; A.Plugin.prototype = { get$length(receiver) { return receiver.length; }, $isPlugin: 1 }; A.PluginArray.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.PositionError.prototype = { get$message(receiver) { return receiver.message; } }; A.PresentationAvailability.prototype = { get$value(receiver) { return receiver.value; } }; A.PresentationConnection.prototype = { get$id(receiver) { return receiver.id; } }; A.PresentationConnectionCloseEvent.prototype = { get$message(receiver) { return receiver.message; } }; A.ProgressElement.prototype = { get$value(receiver) { var t1 = receiver.value; t1.toString; return t1; } }; A.ProgressEvent.prototype = {$isProgressEvent: 1}; A.RelatedApplication.prototype = { get$id(receiver) { return receiver.id; } }; A.ReportBody.prototype = {}; A.RtcDataChannel.prototype = { get$id(receiver) { return receiver.id; } }; A.RtcLegacyStatsReport.prototype = { get$id(receiver) { return receiver.id; } }; A.RtcStatsReport.prototype = { containsKey$1(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)); }, forEach$1(receiver, f) { var entry, t1, entries = receiver.entries(); for (; true;) { entry = entries.next(); t1 = entry.done; t1.toString; if (t1) return; t1 = entry.value[0]; t1.toString; f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { var keys = A._setArrayType([], type$.JSArray_String); this.forEach$1(receiver, new A.RtcStatsReport_keys_closure(keys)); return keys; }, get$values(receiver) { var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); this.forEach$1(receiver, new A.RtcStatsReport_values_closure(values)); return values; }, get$length(receiver) { var t1 = receiver.size; t1.toString; return t1; }, get$isEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 === 0; }, get$isNotEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 !== 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, putIfAbsent$2(receiver, key, ifAbsent) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, remove$1(receiver, key) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.RtcStatsReport_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 145 }; A.RtcStatsReport_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 145 }; A.SelectElement.prototype = { get$length(receiver) { return receiver.length; }, get$value(receiver) { return receiver.value; } }; A.SourceBuffer.prototype = {$isSourceBuffer: 1}; A.SourceBufferList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; A.SpeechGrammarList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.SpeechRecognitionError.prototype = { get$message(receiver) { return receiver.message; } }; A.SpeechRecognitionResult.prototype = { get$length(receiver) { return receiver.length; }, $isSpeechRecognitionResult: 1 }; A.Storage.prototype = { containsKey$1(receiver, key) { return receiver.getItem(A._asString(key)) != null; }, $index(receiver, key) { return receiver.getItem(A._asString(key)); }, $indexSet(receiver, key, value) { receiver.setItem(key, value); }, putIfAbsent$2(receiver, key, ifAbsent) { var t1; if (receiver.getItem(key) == null) receiver.setItem(key, ifAbsent.call$0()); t1 = receiver.getItem(key); return t1 == null ? A._asString(t1) : t1; }, remove$1(receiver, key) { var value; A._asString(key); value = receiver.getItem(key); receiver.removeItem(key); return value; }, forEach$1(receiver, f) { var i, key, t1; for (i = 0; true; ++i) { key = receiver.key(i); if (key == null) return; t1 = receiver.getItem(key); t1.toString; f.call$2(key, t1); } }, get$keys(receiver) { var keys = A._setArrayType([], type$.JSArray_String); this.forEach$1(receiver, new A.Storage_keys_closure(keys)); return keys; }, get$values(receiver) { var values = A._setArrayType([], type$.JSArray_String); this.forEach$1(receiver, new A.Storage_values_closure(values)); return values; }, get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, get$isEmpty(receiver) { return receiver.key(0) == null; }, get$isNotEmpty(receiver) { return receiver.key(0) != null; }, $isMap: 1 }; A.Storage_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 183 }; A.Storage_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 183 }; A.StyleSheet.prototype = {$isStyleSheet: 1}; A.TextAreaElement.prototype = { get$value(receiver) { return receiver.value; } }; A.TextTrack.prototype = { get$id(receiver) { var t1 = receiver.id; t1.toString; return t1; }, $isTextTrack: 1 }; A.TextTrackCue.prototype = { get$id(receiver) { return receiver.id; }, $isTextTrackCue: 1 }; A.TextTrackCueList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.TextTrackList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.TimeRanges.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; } }; A.Touch.prototype = {$isTouch: 1}; A.TouchList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A.TrackDefaultList.prototype = { get$length(receiver) { return receiver.length; } }; A.UIEvent.prototype = {}; A.Url.prototype = { toString$0(receiver) { var t1 = String(receiver); t1.toString; return t1; } }; A.VideoTrack.prototype = { get$id(receiver) { return receiver.id; } }; A.VideoTrackList.prototype = { get$length(receiver) { return receiver.length; } }; A.VttRegion.prototype = { get$id(receiver) { return receiver.id; } }; A.Window.prototype = { get$document(receiver) { var t1 = receiver.document; t1.toString; return t1; }, $isWindow: 1 }; A.WorkerGlobalScope.prototype = {$isWorkerGlobalScope: 1}; A._Attr.prototype = { get$value(receiver) { return receiver.value; }, $is_Attr: 1 }; A._CssRuleList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A._DomRect.prototype = { toString$0(receiver) { var t2, t3, t4, t1 = receiver.left; t1.toString; t2 = receiver.top; t2.toString; t3 = receiver.width; t3.toString; t4 = receiver.height; t4.toString; return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(t3) + " x " + A.S(t4); }, $eq(receiver, other) { var t1, t2; if (other == null) return false; if (type$.Rectangle_num._is(other)) { t1 = receiver.left; t1.toString; t2 = J.getInterceptor$x(other); if (t1 === t2.get$left(other)) { t1 = receiver.top; t1.toString; if (t1 === t2.get$top(other)) { t1 = receiver.width; t1.toString; if (t1 === t2.get$width(other)) { t1 = receiver.height; t1.toString; t2 = t1 === t2.get$height(other); t1 = t2; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; return t1; }, get$hashCode(receiver) { var t2, t3, t4, t1 = receiver.left; t1.toString; t2 = receiver.top; t2.toString; t3 = receiver.width; t3.toString; t4 = receiver.height; t4.toString; return A.Object_hash(t1, t2, t3, t4, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, get$_height(receiver) { return receiver.height; }, get$height(receiver) { var t1 = receiver.height; t1.toString; return t1; }, get$_width(receiver) { return receiver.width; }, get$width(receiver) { var t1 = receiver.width; t1.toString; return t1; } }; A._GamepadList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); return receiver[index]; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { if (receiver.length > 0) return receiver[0]; throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var len = receiver.length; if (len > 0) return receiver[len - 1]; throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var len = receiver.length; if (len === 1) return receiver[0]; if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A._NamedNodeMap.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A._Report.prototype = { get$body(receiver) { return receiver.body; } }; A._SpeechRecognitionResultList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A._StyleSheetList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length, t2 = index >>> 0 !== index || index >= t1; t2.toString; if (t2) throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null, null)); t1 = receiver[index]; t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1; if (receiver.length > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1, len = receiver.length; if (len > 0) { t1 = receiver[len - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1, len = receiver.length; if (len === 1) { t1 = receiver[0]; t1.toString; return t1; } if (len === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return receiver[index]; }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, $isList: 1 }; A._AttributeMap.prototype = { cast$2$0(_, $K, $V) { var t1 = type$.String; return A.Map_castFrom(this, t1, t1, $K, $V); }, putIfAbsent$2(_, key, ifAbsent) { var t1 = this._html$_element, t2 = t1.hasAttribute(key); t2.toString; if (!t2) t1.setAttribute(key, ifAbsent.call$0()); t1 = t1.getAttribute(key); return t1 == null ? A._asString(t1) : t1; }, forEach$1(_, f) { var t1, t2, t3, _i, t4, value; for (t1 = this.get$keys(0), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { t4 = A._asString(t1[_i]); value = t3.getAttribute(t4); f.call$2(t4, value == null ? A._asString(value) : value); } }, get$keys(_) { var keys, len, t2, i, attr, t3, t1 = this._html$_element.attributes; t1.toString; keys = A._setArrayType([], type$.JSArray_String); for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { attr = t2._as(t1[i]); if (attr.namespaceURI == null) { t3 = attr.name; t3.toString; keys.push(t3); } } return keys; }, get$values(_) { var values, len, t2, i, attr, t3, t1 = this._html$_element.attributes; t1.toString; values = A._setArrayType([], type$.JSArray_String); for (len = t1.length, t2 = type$._Attr, i = 0; i < len; ++i) { attr = t2._as(t1[i]); if (attr.namespaceURI == null) { t3 = attr.value; t3.toString; values.push(t3); } } return values; }, get$isEmpty(_) { return this.get$keys(0).length === 0; }, get$isNotEmpty(_) { return this.get$keys(0).length !== 0; } }; A._ElementAttributeMap.prototype = { containsKey$1(_, key) { var t1; if (typeof key == "string") { t1 = this._html$_element.hasAttribute(key); t1.toString; } else t1 = false; return t1; }, $index(_, key) { return this._html$_element.getAttribute(A._asString(key)); }, $indexSet(_, key, value) { this._html$_element.setAttribute(key, value); }, remove$1(_, key) { var t1, value; if (typeof key == "string") { t1 = this._html$_element; value = t1.getAttribute(key); t1.removeAttribute(key); t1 = value; } else t1 = null; return t1; }, get$length(_) { return this.get$keys(0).length; } }; A._DataAttributeMap.prototype = { cast$2$0(_, $K, $V) { var t1 = type$.String; return A.Map_castFrom(this, t1, t1, $K, $V); }, containsKey$1(_, key) { var t1 = this._attributes._html$_element.hasAttribute("data-" + this._toHyphenedName$1(A._asString(key))); t1.toString; return t1; }, $index(_, key) { return this._attributes._html$_element.getAttribute("data-" + this._toHyphenedName$1(A._asString(key))); }, $indexSet(_, key, value) { this._attributes._html$_element.setAttribute("data-" + this._toHyphenedName$1(key), value); }, putIfAbsent$2(_, key, ifAbsent) { return this._attributes.putIfAbsent$2(0, "data-" + this._toHyphenedName$1(key), ifAbsent); }, remove$1(_, key) { var t1 = "data-" + this._toHyphenedName$1(A._asString(key)), t2 = this._attributes._html$_element, value = t2.getAttribute(t1); t2.removeAttribute(t1); return value; }, forEach$1(_, f) { this._attributes.forEach$1(0, new A._DataAttributeMap_forEach_closure(this, f)); }, get$keys(_) { var keys = A._setArrayType([], type$.JSArray_String); this._attributes.forEach$1(0, new A._DataAttributeMap_keys_closure(this, keys)); return keys; }, get$values(_) { var values = A._setArrayType([], type$.JSArray_String); this._attributes.forEach$1(0, new A._DataAttributeMap_values_closure(this, values)); return values; }, get$length(_) { return this.get$keys(0).length; }, get$isEmpty(_) { return this.get$keys(0).length === 0; }, get$isNotEmpty(_) { return this.get$keys(0).length !== 0; }, _toCamelCase$1(hyphenedName) { var t1, i, segment, segments = A._setArrayType(hyphenedName.split("-"), type$.JSArray_String); for (t1 = segments.length, i = 1; i < t1; ++i) { segment = segments[i]; if (segment.length > 0) segments[i] = segment[0].toUpperCase() + B.JSString_methods.substring$1(segment, 1); } return B.JSArray_methods.join$1(segments, ""); }, _toHyphenedName$1(word) { var t1, i, t2, t3, lower; for (t1 = word.length, i = 0, t2 = ""; i < t1; ++i) { t3 = word[i]; lower = t3.toLowerCase(); t2 = (t3 !== lower && i > 0 ? t2 + "-" : t2) + lower; } return t2.charCodeAt(0) == 0 ? t2 : t2; } }; A._DataAttributeMap_forEach_closure.prototype = { call$2(key, value) { if (B.JSString_methods.startsWith$1(key, "data-")) this.f.call$2(this.$this._toCamelCase$1(B.JSString_methods.substring$1(key, 5)), value); }, $signature: 183 }; A._DataAttributeMap_keys_closure.prototype = { call$2(key, value) { if (B.JSString_methods.startsWith$1(key, "data-")) this.keys.push(this.$this._toCamelCase$1(B.JSString_methods.substring$1(key, 5))); }, $signature: 183 }; A._DataAttributeMap_values_closure.prototype = { call$2(key, value) { if (B.JSString_methods.startsWith$1(key, "data-")) this.values.push(value); }, $signature: 183 }; A.EventStreamProvider.prototype = {}; A._EventStream.prototype = { get$isBroadcast() { return true; }, listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { return A._EventStreamSubscription$(this._target, this._eventType, onData, false, A._instanceType(this)._precomputed1); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); } }; A._ElementEventStreamImpl.prototype = {}; A._EventStreamSubscription.prototype = { cancel$0(_) { var _this = this; if (_this._target == null) return $.$get$nullFuture(); _this._unlisten$0(); _this._html$_onData = _this._target = null; return $.$get$nullFuture(); }, onData$1(handleData) { var t1, _this = this; if (_this._target == null) throw A.wrapException(A.StateError$("Subscription has been canceled.")); _this._unlisten$0(); t1 = A._wrapZone(new A._EventStreamSubscription_onData_closure(handleData), type$.Event); _this._html$_onData = t1; _this._tryResume$0(); }, pause$1(_, resumeSignal) { var _this = this; if (_this._target == null) return; ++_this._pauseCount; _this._unlisten$0(); if (resumeSignal != null) resumeSignal.whenComplete$1(_this.get$resume(_this)); }, pause$0(_) { return this.pause$1(0, null); }, resume$0(_) { var _this = this; if (_this._target == null || _this._pauseCount <= 0) return; --_this._pauseCount; _this._tryResume$0(); }, _tryResume$0() { var t2, _this = this, t1 = _this._html$_onData; if (t1 != null && _this._pauseCount <= 0) { t2 = _this._target; t2.toString; J.addEventListener$3$x(t2, _this._eventType, t1, false); } }, _unlisten$0() { var t2, t1 = this._html$_onData; if (t1 != null) { t2 = this._target; t2.toString; J.removeEventListener$3$x(t2, this._eventType, t1, false); } } }; A._EventStreamSubscription_closure.prototype = { call$1(e) { return this.onData.call$1(e); }, $signature: 453 }; A._EventStreamSubscription_onData_closure.prototype = { call$1(e) { return this.handleData.call$1(e); }, $signature: 453 }; A.ImmutableListMixin.prototype = { get$iterator(receiver) { return new A.FixedSizeListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("FixedSizeListIterator<ImmutableListMixin.E>")); }, add$1(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); }, addAll$1(receiver, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); }, sort$1(receiver, compare) { throw A.wrapException(A.UnsupportedError$("Cannot sort immutable List.")); }, insert$2(receiver, index, element) { throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); }, insertAll$2(receiver, index, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot add to immutable List.")); }, setAll$2(receiver, index, iterable) { throw A.wrapException(A.UnsupportedError$("Cannot modify an immutable List.")); }, removeAt$1(receiver, pos) { throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); }, removeLast$0(receiver) { throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); }, remove$1(receiver, object) { throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); }, removeWhere$1(receiver, test) { throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); }, retainWhere$1(receiver, test) { throw A.wrapException(A.UnsupportedError$("Cannot remove from immutable List.")); }, setRange$4(receiver, start, end, iterable, skipCount) { throw A.wrapException(A.UnsupportedError$("Cannot setRange on immutable List.")); }, setRange$3(receiver, start, end, iterable) { return this.setRange$4(receiver, start, end, iterable, 0); }, removeRange$2(receiver, start, end) { throw A.wrapException(A.UnsupportedError$("Cannot removeRange on immutable List.")); } }; A.FixedSizeListIterator.prototype = { moveNext$0() { var _this = this, nextPosition = _this._position + 1, t1 = _this._length; if (nextPosition < t1) { _this._current = J.$index$asx(_this._array, nextPosition); _this._position = nextPosition; return true; } _this._current = null; _this._position = t1; return false; }, get$current(_) { var t1 = this._current; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; } }; A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase.prototype = {}; A._DomRectList_JavaScriptObject_ListMixin.prototype = {}; A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._DomStringList_JavaScriptObject_ListMixin.prototype = {}; A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._FileList_JavaScriptObject_ListMixin.prototype = {}; A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._HtmlCollection_JavaScriptObject_ListMixin.prototype = {}; A._HtmlCollection_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._MidiInputMap_JavaScriptObject_MapMixin.prototype = {}; A._MidiOutputMap_JavaScriptObject_MapMixin.prototype = {}; A._MimeTypeArray_JavaScriptObject_ListMixin.prototype = {}; A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._NodeList_JavaScriptObject_ListMixin.prototype = {}; A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._PluginArray_JavaScriptObject_ListMixin.prototype = {}; A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._RtcStatsReport_JavaScriptObject_MapMixin.prototype = {}; A._SourceBufferList_EventTarget_ListMixin.prototype = {}; A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; A._SpeechGrammarList_JavaScriptObject_ListMixin.prototype = {}; A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._Storage_JavaScriptObject_MapMixin.prototype = {}; A._TextTrackCueList_JavaScriptObject_ListMixin.prototype = {}; A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._TextTrackList_EventTarget_ListMixin.prototype = {}; A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; A._TouchList_JavaScriptObject_ListMixin.prototype = {}; A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A.__CssRuleList_JavaScriptObject_ListMixin.prototype = {}; A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A.__GamepadList_JavaScriptObject_ListMixin.prototype = {}; A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A.__NamedNodeMap_JavaScriptObject_ListMixin.prototype = {}; A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin.prototype = {}; A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A.__StyleSheetList_JavaScriptObject_ListMixin.prototype = {}; A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._AcceptStructuredClone.prototype = { findSlot$1(value) { var i, t1 = this.values, $length = t1.length; for (i = 0; i < $length; ++i) if (t1[i] === value) return i; t1.push(value); this.copies.push(null); return $length; }, walk$1(e) { var t1, slot, copy, t2, map, t3, $length, t4, i, _this = this; if (e == null) return e; if (A._isBool(e)) return e; if (typeof e == "number") return e; if (typeof e == "string") return e; t1 = e instanceof Date; t1.toString; if (t1) { t1 = e.getTime(); t1.toString; return A.DateTime$fromMillisecondsSinceEpoch(t1, true); } t1 = e instanceof RegExp; t1.toString; if (t1) throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); t1 = typeof Promise != "undefined" && e instanceof Promise; t1.toString; if (t1) return A.promiseToFuture(e, type$.dynamic); if (A.isJavaScriptSimpleObject(e)) { slot = _this.findSlot$1(e); t1 = _this.copies; copy = t1[slot]; if (copy != null) return copy; t2 = type$.dynamic; map = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); t1[slot] = map; _this.forEachJsField$2(e, new A._AcceptStructuredClone_walk_closure(_this, map)); return map; } t1 = e instanceof Array; t1.toString; if (t1) { t1 = e; t1.toString; slot = _this.findSlot$1(t1); t2 = _this.copies; copy = t2[slot]; if (copy != null) return copy; t3 = J.getInterceptor$asx(t1); $length = t3.get$length(t1); if (_this.mustCopy) { t4 = new Array($length); t4.toString; copy = t4; } else copy = t1; t2[slot] = copy; for (t2 = J.getInterceptor$ax(copy), i = 0; i < $length; ++i) t2.$indexSet(copy, i, _this.walk$1(t3.$index(t1, i))); return copy; } return e; }, convertNativeToDart_AcceptStructuredClone$2$mustCopy(object, mustCopy) { this.mustCopy = mustCopy; return this.walk$1(object); } }; A._AcceptStructuredClone_walk_closure.prototype = { call$2(key, value) { var t1 = this.$this.walk$1(value); this.map.$indexSet(0, key, t1); return t1; }, $signature: 2163 }; A._AcceptStructuredCloneDart2Js.prototype = { forEachJsField$2(object, action) { var t1, t2, _i, key; for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { key = t1[_i]; action.call$2(key, object[key]); } } }; A.FilteredElementList0.prototype = { get$_html_common$_iterable() { var t1 = this._html_common$_childNodes, t2 = A._instanceType(t1); return new A.MappedIterable(new A.WhereIterable(t1, new A.FilteredElementList__iterable_closure(), t2._eval$1("WhereIterable<ListBase.E>")), new A.FilteredElementList__iterable_closure0(), t2._eval$1("MappedIterable<ListBase.E,Element2>")); }, forEach$1(_, f) { B.JSArray_methods.forEach$1(A.List_List$from(this.get$_html_common$_iterable(), false, type$.Element), f); }, $indexSet(_, index, value) { var t1 = this.get$_html_common$_iterable(); J.replaceWith$1$x(t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)), value); }, set$length(_, newLength) { var len = J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); if (newLength >= len) return; else if (newLength < 0) throw A.wrapException(A.ArgumentError$("Invalid list length", null)); this.removeRange$2(0, newLength, len); }, add$1(_, value) { this._html_common$_childNodes._this.appendChild(value).toString; }, addAll$1(_, iterable) { var t1, t2; for (t1 = J.get$iterator$ax(iterable), t2 = this._html_common$_childNodes._this; t1.moveNext$0();) t2.appendChild(t1.get$current(t1)).toString; }, contains$1(_, needle) { if (!type$.Element._is(needle)) return false; return needle.parentNode === this._html_common$_node; }, get$reversed(_) { var t1 = A.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); return new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")); }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("Cannot sort filtered list")); }, setRange$4(_, start, end, iterable, skipCount) { throw A.wrapException(A.UnsupportedError$("Cannot setRange on filtered list")); }, setRange$3(_, start, end, iterable) { return this.setRange$4(0, start, end, iterable, 0); }, removeRange$2(_, start, end) { var t1 = this.get$_html_common$_iterable(); t1 = A.SkipIterable_SkipIterable(t1, start, t1.$ti._eval$1("Iterable.E")); B.JSArray_methods.forEach$1(A.List_List$from(A.TakeIterable_TakeIterable(t1, end - start, A._instanceType(t1)._eval$1("Iterable.E")), true, type$.Element), new A.FilteredElementList_removeRange_closure0()); }, clear$0(_) { J._clearChildren$0$x(this._html_common$_childNodes._this); }, removeLast$0(_) { var t1 = this.get$_html_common$_iterable(), result = t1._f.call$1(J.get$last$ax(t1.__internal$_iterable)); J.remove$0$ax(result); return result; }, insert$2(_, index, value) { var t1, element; if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) this._html_common$_childNodes._this.appendChild(value).toString; else { t1 = this.get$_html_common$_iterable(); element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); element.parentNode.insertBefore(value, element).toString; } }, insertAll$2(_, index, iterable) { var t1, element; if (index === J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable)) this.addAll$1(0, iterable); else { t1 = this.get$_html_common$_iterable(); element = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); t1 = element.parentNode; t1.toString; J.insertAllBefore$2$x(t1, iterable, element); } }, removeAt$1(_, index) { var t1 = this.get$_html_common$_iterable(); t1 = t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); J.remove$0$ax(t1); return t1; }, remove$1(_, element) { if (!type$.Element._is(element)) return false; if (this.contains$1(0, element)) { J.remove$0$ax(element); return true; } else return false; }, get$length(_) { return J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); }, $index(_, index) { var t1 = this.get$_html_common$_iterable(); return t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)); }, get$iterator(_) { var t1 = A.List_List$from(this.get$_html_common$_iterable(), false, type$.Element); return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); } }; A.FilteredElementList__iterable_closure.prototype = { call$1(n) { return type$.Element._is(n); }, $signature: 2445 }; A.FilteredElementList__iterable_closure0.prototype = { call$1(n) { return type$.Element._as(n); }, $signature: 2491 }; A.FilteredElementList_removeRange_closure0.prototype = { call$1(el) { return J.remove$0$ax(el); }, $signature: 2492 }; A.Cursor.prototype = {}; A.CursorWithValue.prototype = { get$value(receiver) { return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(receiver.value, false); } }; A.Database.prototype = { transaction$2(receiver, storeName_OR_storeNames, mode) { var t1; if (mode !== "readonly" && mode !== "readwrite") throw A.wrapException(A.ArgumentError$(mode, null)); t1 = receiver.transaction(storeName_OR_storeNames, mode); t1.toString; return t1; } }; A.KeyRange.prototype = {$isKeyRange: 1}; A.ObjectStore.prototype = { get$transaction(receiver) { return receiver.transaction; } }; A.Observation.prototype = { get$value(receiver) { return receiver.value; } }; A.ObserverChanges.prototype = { get$transaction(receiver) { return receiver.transaction; } }; A.Request0.prototype = { get$transaction(receiver) { return receiver.transaction; } }; A.Transaction.prototype = {$isTransaction: 1}; A.OSError.prototype = { toString$0(_) { var t1 = "" + "OS Error", t2 = this.message; if (t2.length !== 0) { t1 = t1 + ": " + t2; t2 = this.errorCode; if (t2 !== -1) t1 = t1 + ", errno = " + B.JSInt_methods.toString$0(t2); } else { t2 = this.errorCode; if (t2 !== -1) t1 = t1 + ": errno = " + B.JSInt_methods.toString$0(t2); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, $isException: 1, get$message(receiver) { return this.message; } }; A._Directory.prototype = { toString$0(_) { return "Directory: '" + this._path + "'"; }, $isDirectory: 1 }; A.FileMode.prototype = {}; A.FileSystemException.prototype = { _toStringHelper$1(className) { var _this = this, t1 = "" + className, t2 = _this.message; if (t2.length !== 0) { t1 = t1 + (": " + t2) + (", path = '" + _this.path + "'"); t2 = _this.osError; if (t2 != null) t1 += " (" + t2.toString$0(0) + ")"; } else { t2 = _this.osError; if (t2 != null) t1 = t1 + (": " + t2.toString$0(0)) + (", path = '" + _this.path + "'"); else t1 += ": " + _this.path; } return t1.charCodeAt(0) == 0 ? t1 : t1; }, toString$0(_) { return this._toStringHelper$1("FileSystemException"); }, $isException: 1, get$message(receiver) { return this.message; } }; A.PathAccessException.prototype = { toString$0(_) { return this._toStringHelper$1("PathAccessException"); } }; A.PathExistsException.prototype = { toString$0(_) { return this._toStringHelper$1("PathExistsException"); } }; A.PathNotFoundException.prototype = { toString$0(_) { return this._toStringHelper$1("PathNotFoundException"); } }; A._FileStream.prototype = { listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) { var _this = this, t1 = _this.___FileStream__controller_A = A.StreamController_StreamController(new A._FileStream_listen_closure(_this), _this.get$_io$_start(_this), _this.get$_readBlock(), true, type$.Uint8List); return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError); }, listen$3$onDone$onError(_, onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError); }, _closeFile$0() { var t1, t2, _this = this; if (_this._readInProgress || _this._closed) return _this._closeCompleter.future; _this._closed = true; t1 = _this._openedFile.close$0(0); t2 = _this.___FileStream__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.catchError$1(t2.get$addError()).whenComplete$1(new A._FileStream__closeFile_done(_this)); return _this._closeCompleter.future; }, _readBlock$0() { var _this = this; if (_this._readInProgress) return; if (_this._atEnd) { _this._closeFile$0(); return; } _this._readInProgress = true; _this._openedFile.read$1(0, 65536).then$1$1(0, new A._FileStream__readBlock_closure(_this), type$.Null).catchError$1(new A._FileStream__readBlock_closure0(_this)); }, _io$_start$0(_) { var _this = this, onOpenFile = new A._FileStream__start_onOpenFile(_this, new A._FileStream__start_onReady(_this)), openFailed = new A._FileStream__start_openFailed(_this), openedFile = _this._openedFile; if (openedFile != null) onOpenFile.call$1(openedFile); else A.File_File(_this._path).open$1$mode(0, B.FileMode_0).then$1$2$onError(0, onOpenFile, openFailed, type$.void); } }; A._FileStream_listen_closure.prototype = { call$0() { var t1 = this.$this; t1._unsubscribed = true; return t1._closeFile$0(); }, $signature: 279 }; A._FileStream__closeFile_done.prototype = { call$0() { var t1 = this.$this; t1._closeCompleter.complete$0(0); t1 = t1.___FileStream__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.close$0(0); }, $signature: 0 }; A._FileStream__readBlock_closure.prototype = { call$1(block) { var t2, t3, t4, t1 = this.$this; t1._readInProgress = false; if (t1._unsubscribed) { t1._closeFile$0(); return; } t2 = J.getInterceptor$asx(block); t1._io$_position = t1._io$_position + t2.get$length(block); if (t2.get$length(block) !== 0) t3 = false; else t3 = true; if (t3) t1._atEnd = true; if (!t1._atEnd) { t3 = t1.___FileStream__controller_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = t3._state; t3 = !((t4 & 1) !== 0 ? (t3.get$_async$_subscription()._state & 4) !== 0 : (t4 & 2) === 0); } else t3 = false; if (t3) t1._readBlock$0(); if (t2.get$length(block) > 0) { t2 = t1.___FileStream__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.add$1(0, block); } if (t1._atEnd) t1._closeFile$0(); }, $signature: 881 }; A._FileStream__readBlock_closure0.prototype = { call$2(e, s) { var t2, t1 = this.$this; if (!t1._unsubscribed) { t2 = t1.___FileStream__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.addError$2(e, s); t1._closeFile$0(); t1._unsubscribed = true; } }, $signature: 362 }; A._FileStream__start_onReady.prototype = { call$1(file) { var t1 = this.$this; t1._openedFile = file; t1._readInProgress = false; t1._readBlock$0(); }, $signature: 880 }; A._FileStream__start_onOpenFile.prototype = { call$1(file) { var t1 = this.$this, t2 = t1._io$_position, t3 = this.onReady; if (t2 > 0) file.setPosition$1(0, t2).then$1$2$onError(0, t3, new A._FileStream__start_onOpenFile_closure(t1), type$.void); else t3.call$1(file); }, $signature: 880 }; A._FileStream__start_onOpenFile_closure.prototype = { call$2(e, s) { var t1 = this.$this, t2 = t1.___FileStream__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.addError$2(e, s); t1._readInProgress = false; t1._closeFile$0(); }, $signature: 362 }; A._FileStream__start_openFailed.prototype = { call$2(error, stackTrace) { var t1 = this.$this, t2 = t1.___FileStream__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2.addError$2(error, stackTrace); t1.___FileStream__controller_A.close$0(0); t1._closeCompleter.complete$0(0); }, $signature: 221 }; A._File.prototype = { existsSync$0() { A._File__exists(A._Namespace__namespace(), this._rawPath); }, open$1$mode(_, mode) { if (mode !== B.FileMode_0 && mode !== B.FileMode_1 && mode !== B.FileMode_2 && mode !== B.FileMode_3 && mode !== B.FileMode_4) return A.Future_Future$error(new A.ArgumentError(false, null, null, "Invalid file mode for this operation"), null, type$.RandomAccessFile); return A._File__dispatchWithNamespace(5, [null, this._rawPath, mode._io$_mode]).then$1$1(0, new A._File_open_closure(this), type$.RandomAccessFile); }, open$0(_) { return this.open$1$mode(0, B.FileMode_0); }, length$0(_) { return A._File__dispatchWithNamespace(12, [null, this._rawPath]).then$1$1(0, new A._File_length_closure(this), type$.int); }, lengthSync$0() { A._File__lengthFromPath(A._Namespace__namespace(), this._rawPath); }, readAsBytes$0() { return this.open$0(0).then$1$1(0, new A._File_readAsBytes_closure(new A._File_readAsBytes_readUnsized(), new A._File_readAsBytes_readSized()), type$.Uint8List); }, toString$0(_) { return "File: '" + this._path + "'"; }, $isFile0: 1 }; A._File_open_closure.prototype = { call$1(response) { var t1 = this.$this._path; A._checkForErrorResponse(response, "Cannot open file", t1); return A._RandomAccessFile$(response, t1); }, $signature: 878 }; A._File_length_closure.prototype = { call$1(response) { A._checkForErrorResponse(response, "Cannot retrieve length of file", this.$this._path); return response; }, $signature: 247 }; A._File_readAsBytes_readUnsized.prototype = { call$1(file) { var t1 = A._setArrayType([], type$.JSArray_Uint8List), t2 = new A._Future($.Zone__current, type$._Future_Uint8List); new A._File_readAsBytes_readUnsized_read(file, new A._BytesBuilder(t1), new A._AsyncCompleter(t2, type$._AsyncCompleter_Uint8List)).call$0(); return t2; }, $signature: 877 }; A._File_readAsBytes_readUnsized_read.prototype = { call$0() { var _this = this, t1 = _this.completer; _this.file.read$1(0, 65536).then$1$2$onError(0, new A._File_readAsBytes_readUnsized_read_closure(_this.builder, _this, t1), t1.get$completeError(), type$.Null); }, $signature: 0 }; A._File_readAsBytes_readUnsized_read_closure.prototype = { call$1(data) { var t1 = this.builder; if (J.get$length$asx(data) > 0) { t1.add$1(0, data); this.read.call$0(); } else this.completer.complete$1(0, t1.takeBytes$0()); }, $signature: 881 }; A._File_readAsBytes_readSized.prototype = { call$2(file, $length) { var t2, t1 = {}; t1.data = new Uint8Array($length); t1.offset = 0; t2 = new A._Future($.Zone__current, type$._Future_Uint8List); new A._File_readAsBytes_readSized_read(t1, file, $length, new A._AsyncCompleter(t2, type$._AsyncCompleter_Uint8List)).call$0(); return t2; }, $signature: 2729 }; A._File_readAsBytes_readSized_read.prototype = { call$0() { var _this = this, t1 = _this._box_0, t2 = t1.data, t3 = t1.offset, t4 = _this.length, t5 = _this.completer; _this.file.readInto$3(t2, t3, Math.min(t3 + 16777216, t4)).then$1$2$onError(0, new A._File_readAsBytes_readSized_read_closure(t1, _this, t4, t5), t5.get$completeError(), type$.Null); }, $signature: 0 }; A._File_readAsBytes_readSized_read_closure.prototype = { call$1(readSize) { var t1, t2, _this = this; if (readSize > 0) { _this._box_0.offset += readSize; _this.read.call$0(); } else { t1 = _this._box_0; t2 = t1.offset; if (t2 < _this.length) t1.data = A.Uint8List_Uint8List$sublistView(t1.data, 0, t2); _this.completer.complete$1(0, t1.data); } }, $signature: 159 }; A._File_readAsBytes_closure.prototype = { call$1(file) { return file.length$0(0).then$1$1(0, new A._File_readAsBytes__closure(this.readUnsized, file, this.readSized), type$.Uint8List).whenComplete$1(file.get$close(file)); }, $signature: 877 }; A._File_readAsBytes__closure.prototype = { call$1($length) { var _this = this; if ($length === 0) return _this.readUnsized.call$1(_this.file); return _this.readSized.call$2(_this.file, $length); }, $signature: 2776 }; A._RandomAccessFile.prototype = { close$0(_) { return this._io$_dispatch$3$markClosed(7, [null], true).then$1$1(0, new A._RandomAccessFile_close_closure(this), type$.void); }, read$1(_, bytes) { A.ArgumentError_checkNotNull(bytes, "bytes"); return this._io$_dispatch$2(20, [null, bytes]).then$1$1(0, new A._RandomAccessFile_read_closure(this), type$.Uint8List); }, readInto$3(buffer, start, end) { A.ArgumentError_checkNotNull(buffer, "buffer"); end = A.RangeError_checkValidRange(start, end, J.get$length$asx(buffer), null, null); if (end === start) return A.Future_Future$value(0, type$.int); return this._io$_dispatch$2(21, [null, end - start]).then$1$1(0, new A._RandomAccessFile_readInto_closure(this, buffer, start), type$.int); }, setPosition$1(_, position) { return this._io$_dispatch$2(9, [null, position]).then$1$1(0, new A._RandomAccessFile_setPosition_closure(this), type$.RandomAccessFile); }, length$0(_) { return this._io$_dispatch$2(11, [null]).then$1$1(0, new A._RandomAccessFile_length_closure(this), type$.int); }, _io$_pointer$0() { return this._ops.getPointer$0(); }, _io$_dispatch$3$markClosed(request, data, markClosed) { var _this = this, _null = null; if (_this.closed) return A.Future_Future$error(new A.FileSystemException("File closed", _this.path, _null), _null, type$.nullable_Object); if (_this._asyncDispatched) return A.Future_Future$error(new A.FileSystemException("An async operation is currently pending", _this.path, _null), _null, type$.nullable_Object); if (markClosed) _this.closed = true; _this._asyncDispatched = true; data[0] = _this._io$_pointer$0(); }, _io$_dispatch$2(request, data) { return this._io$_dispatch$3$markClosed(request, data, false); }, $isRandomAccessFile: 1 }; A._RandomAccessFile_close_closure.prototype = { call$1(result) { var t2, t1 = J.getInterceptor$(result); if (t1.$eq(result, -1)) throw A.wrapException(A.FileSystemException$("Cannot close file", this.$this.path, null)); t2 = this.$this; t1 = t2.closed || t1.$eq(result, 0); t2.closed = t1; if (t1) { t1 = t2.___RandomAccessFile__resourceInfo_A; t1 === $ && A.throwUnnamedLateFieldNI(); $._FileResourceInfo_openFiles.remove$1(0, t1.id); } }, $signature: 36 }; A._RandomAccessFile_read_closure.prototype = { call$1(response) { var result, t1 = this.$this; A._checkForErrorResponse(response, "read failed", t1.path); result = type$.Uint8List._as(J.$index$asx(type$.List_nullable_Object._as(response), 1)); t1 = t1.___RandomAccessFile__resourceInfo_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.addRead$1(J.get$length$asx(result)); return result; }, $signature: 2794 }; A._RandomAccessFile_readInto_closure.prototype = { call$1(response) { var t2, read, t3, t1 = this.$this; A._checkForErrorResponse(response, "readInto failed", t1.path); type$.List_nullable_Object._as(response); t2 = J.getInterceptor$asx(response); read = A._asInt(t2.$index(response, 1)); t3 = this.start; J.setRange$3$ax(this.buffer, t3, t3 + read, type$.List_int._as(t2.$index(response, 2))); t1 = t1.___RandomAccessFile__resourceInfo_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.addRead$1(read); return read; }, $signature: 247 }; A._RandomAccessFile_setPosition_closure.prototype = { call$1(response) { var t1 = this.$this; A._checkForErrorResponse(response, "setPosition failed", t1.path); return t1; }, $signature: 878 }; A._RandomAccessFile_length_closure.prototype = { call$1(response) { A._checkForErrorResponse(response, "length failed", this.$this.path); return A._asInt(response); }, $signature: 247 }; A.FileSystemEntity.prototype = {}; A.SystemEncoding.prototype = {}; A._convertToJS_closure.prototype = { call$1(o) { var jsFunction = function(_call, f, captureThis) { return function() { return _call(f, captureThis, this, Array.prototype.slice.apply(arguments)); }; }(A._callDartFunction, o, false); A._defineProperty(jsFunction, $.$get$DART_CLOSURE_PROPERTY_NAME(), o); return jsFunction; }, $signature: 32 }; A._convertToJS_closure0.prototype = { call$1(o) { return new this.ctor(o); }, $signature: 32 }; A._wrapToDart_closure.prototype = { call$1(o) { return new A.JsFunction(o); }, $signature: 2924 }; A._wrapToDart_closure0.prototype = { call$1(o) { return new A.JsArray(o, type$.JsArray_dynamic); }, $signature: 2931 }; A._wrapToDart_closure1.prototype = { call$1(o) { return new A.JsObject(o); }, $signature: 3022 }; A.JsObject.prototype = { $index(_, property) { if (typeof property != "string" && typeof property != "number") throw A.wrapException(A.ArgumentError$("property is not a String or num", null)); return A._convertToDart(this._js$_jsObject[property]); }, $indexSet(_, property, value) { if (typeof property != "string" && typeof property != "number") throw A.wrapException(A.ArgumentError$("property is not a String or num", null)); this._js$_jsObject[property] = A._convertToJS(value); }, $eq(_, other) { if (other == null) return false; return other instanceof A.JsObject && this._js$_jsObject === other._js$_jsObject; }, hasProperty$1(property) { return property in this._js$_jsObject; }, toString$0(_) { var t1, exception; try { t1 = String(this._js$_jsObject); return t1; } catch (exception) { t1 = this.super$Object$toString(0); return t1; } }, callMethod$2(method, args) { var t1 = this._js$_jsObject, t2 = args == null ? null : A.List_List$from(new A.MappedListIterable(args, A.js___convertToJS$closure(), A._arrayInstanceType(args)._eval$1("MappedListIterable<1,@>")), true, type$.dynamic); return A._convertToDart(t1[method].apply(t1, t2)); }, callMethod$1(method) { return this.callMethod$2(method, null); }, get$hashCode(_) { return 0; } }; A.JsFunction.prototype = {}; A.JsArray.prototype = { _checkIndex$1(index) { var t1 = index < 0 || index >= this.get$length(0); if (t1) throw A.wrapException(A.RangeError$range(index, 0, this.get$length(0), null, null)); }, $index(_, index) { if (A._isInt(index)) this._checkIndex$1(index); return this.super$JsObject$$index(0, index); }, $indexSet(_, index, value) { if (A._isInt(index)) this._checkIndex$1(index); this.super$_JsArray_JsObject_ListMixin$$indexSet(0, index, value); }, get$length(_) { var len = this._js$_jsObject.length; if (typeof len === "number" && len >>> 0 === len) return len; throw A.wrapException(A.StateError$("Bad JsArray length")); }, set$length(_, $length) { this.super$_JsArray_JsObject_ListMixin$$indexSet(0, "length", $length); }, add$1(_, value) { this.callMethod$2("push", [value]); }, addAll$1(_, iterable) { this.callMethod$2("push", iterable instanceof Array ? iterable : A.List_List$from(iterable, true, type$.dynamic)); }, insert$2(_, index, element) { var t1 = index < 0 || index >= this.get$length(0) + 1; if (t1) A.throwExpression(A.RangeError$range(index, 0, this.get$length(0), null, null)); this.callMethod$2("splice", [index, 0, element]); }, removeAt$1(_, index) { this._checkIndex$1(index); return J.$index$asx(this.callMethod$2("splice", [index, 1]), 0); }, removeLast$0(_) { if (this.get$length(0) === 0) throw A.wrapException(A.RangeError$(-1)); return this.callMethod$1("pop"); }, removeRange$2(_, start, end) { A.JsArray__checkRange(start, end, this.get$length(0)); this.callMethod$2("splice", [start, end - start]); }, setRange$4(_, start, end, iterable, skipCount) { var $length, args; A.JsArray__checkRange(start, end, this.get$length(0)); $length = end - start; if ($length === 0) return; if (skipCount < 0) throw A.wrapException(A.ArgumentError$(skipCount, null)); args = [start, $length]; B.JSArray_methods.addAll$1(args, J.skip$1$ax(iterable, skipCount).take$1(0, $length)); this.callMethod$2("splice", args); }, setRange$3(_, start, end, iterable) { return this.setRange$4(0, start, end, iterable, 0); }, sort$1(_, compare) { this.callMethod$2("sort", compare == null ? [] : [compare]); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A._JsArray_JsObject_ListMixin.prototype = { $indexSet(_, property, value) { return this.super$JsObject$$indexSet(0, property, value); } }; A.jsify__convert.prototype = { call$1(o) { var t1, convertedMap, t2, key, convertedList; if (A._noJsifyRequired(o)) return o; t1 = this._convertedObjects; if (t1.containsKey$1(0, o)) return t1.$index(0, o); if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) { convertedMap = {}; t1.$indexSet(0, o, convertedMap); for (t1 = J.getInterceptor$x(o), t2 = J.get$iterator$ax(t1.get$keys(o)); t2.moveNext$0();) { key = t2.get$current(t2); convertedMap[key] = this.call$1(t1.$index(o, key)); } return convertedMap; } else if (type$.Iterable_nullable_Object._is(o)) { convertedList = []; t1.$indexSet(0, o, convertedList); B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); return convertedList; } else return o; }, $signature: 441 }; A.promiseToFuture_closure.prototype = { call$1(r) { return this.completer.complete$1(0, r); }, $signature: 10 }; A.promiseToFuture_closure0.prototype = { call$1(e) { if (e == null) return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); return this.completer.completeError$1(e); }, $signature: 10 }; A.dartify_convert.prototype = { call$1(o) { var t1, proto, t2, dartObject, originalKeys, dartKeys, i, jsKey, dartKey, l, $length; if (A._noDartifyRequired(o)) return o; t1 = this._convertedObjects; o.toString; if (t1.containsKey$1(0, o)) return t1.$index(0, o); if (o instanceof Date) return A.DateTime$fromMillisecondsSinceEpoch(o.getTime(), true); if (o instanceof RegExp) throw A.wrapException(A.ArgumentError$("structured clone of RegExp", null)); if (typeof Promise != "undefined" && o instanceof Promise) return A.promiseToFuture(o, type$.nullable_Object); proto = Object.getPrototypeOf(o); if (proto === Object.prototype || proto === null) { t2 = type$.nullable_Object; dartObject = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); t1.$indexSet(0, o, dartObject); originalKeys = Object.keys(o); dartKeys = []; for (t1 = J.getInterceptor$ax(originalKeys), t2 = t1.get$iterator(originalKeys); t2.moveNext$0();) dartKeys.push(A.dartify(t2.get$current(t2))); for (i = 0; i < t1.get$length(originalKeys); ++i) { jsKey = t1.$index(originalKeys, i); dartKey = dartKeys[i]; if (jsKey != null) dartObject.$indexSet(0, dartKey, this.call$1(o[jsKey])); } return dartObject; } if (o instanceof Array) { l = o; dartObject = []; t1.$indexSet(0, o, dartObject); $length = o.length; for (t1 = J.getInterceptor$asx(l), i = 0; i < $length; ++i) dartObject.push(this.call$1(t1.$index(l, i))); return dartObject; } return o; }, $signature: 441 }; A.NullRejectionException.prototype = { toString$0(_) { return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; }, $isException: 1 }; A._JSRandom.prototype = { nextInt$1(max) { if (max <= 0 || max > 4294967296) throw A.wrapException(A.RangeError$(string$.max_mu + max)); return Math.random() * max >>> 0; } }; A._Random.prototype = { _Random$1(seed) { var low, high, tmplow, low0, t1, t2, t3, _this = this, _4294967296 = 4294967296; do { low = seed >>> 0; seed = B.JSInt_methods._tdivFast$1(seed - low, _4294967296); high = seed >>> 0; seed = B.JSInt_methods._tdivFast$1(seed - high, _4294967296); tmplow = (~low >>> 0) + (low << 21 >>> 0); low0 = tmplow >>> 0; high = (~high >>> 0) + ((high << 21 | low >>> 11) >>> 0) + B.JSInt_methods._tdivFast$1(tmplow - low0, _4294967296) >>> 0; tmplow = ((low0 ^ (low0 >>> 24 | high << 8)) >>> 0) * 265; low = tmplow >>> 0; high = ((high ^ high >>> 24) >>> 0) * 265 + B.JSInt_methods._tdivFast$1(tmplow - low, _4294967296) >>> 0; tmplow = ((low ^ (low >>> 14 | high << 18)) >>> 0) * 21; low = tmplow >>> 0; high = ((high ^ high >>> 14) >>> 0) * 21 + B.JSInt_methods._tdivFast$1(tmplow - low, _4294967296) >>> 0; low = (low ^ (low >>> 28 | high << 4)) >>> 0; high = (high ^ high >>> 28) >>> 0; tmplow = (low << 31 >>> 0) + low; low0 = tmplow >>> 0; t1 = B.JSInt_methods._tdivFast$1(tmplow - low0, _4294967296); tmplow = _this._lo * 1037; t2 = _this._lo = tmplow >>> 0; t3 = _this._hi * 1037 + B.JSInt_methods._tdivFast$1(tmplow - t2, _4294967296) >>> 0; _this._hi = t3; t2 = (t2 ^ low0) >>> 0; _this._lo = t2; t1 = (t3 ^ high + ((high << 31 | low >>> 1) >>> 0) + t1 >>> 0) >>> 0; _this._hi = t1; } while (seed !== 0); if (t1 === 0 && t2 === 0) _this._lo = 23063; _this._nextState$0(); _this._nextState$0(); _this._nextState$0(); _this._nextState$0(); }, _nextState$0() { var _this = this, t1 = _this._lo, tmpHi = 4294901760 * t1, tmpHiLo = tmpHi >>> 0, tmpLo = 55905 * t1, tmpLoLo = tmpLo >>> 0, newLo = tmpLoLo + tmpHiLo + _this._hi; t1 = newLo >>> 0; _this._lo = t1; _this._hi = B.JSInt_methods._tdivFast$1(tmpLo - tmpLoLo + (tmpHi - tmpHiLo) + (newLo - t1), 4294967296) >>> 0; }, nextInt$1(max) { var t1, rnd32, result, _this = this; if (max <= 0 || max > 4294967296) throw A.wrapException(A.RangeError$(string$.max_mu + max)); t1 = max - 1; if ((max & t1) >>> 0 === 0) { _this._nextState$0(); return (_this._lo & t1) >>> 0; } do { _this._nextState$0(); rnd32 = _this._lo; result = rnd32 % max; } while (rnd32 - result + max >= 4294967296); return result; } }; A.Point.prototype = { toString$0(_) { return "Point(" + A.S(this.x) + ", " + A.S(this.y) + ")"; }, $eq(_, other) { if (other == null) return false; return other instanceof A.Point && this.x === other.x && this.y === other.y; }, get$hashCode(_) { return A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(this.x), B.JSNumber_methods.get$hashCode(this.y), 0); }, $add(_, other) { var t1 = this.$ti, t2 = t1._precomputed1; return new A.Point(t2._as(this.x + other.x), t2._as(this.y + other.y), t1); }, $sub(_, other) { var t1 = this.$ti, t2 = t1._precomputed1; return new A.Point(t2._as(this.x - other.x), t2._as(this.y - other.y), t1); }, $mul(_, factor) { var t1 = this.$ti, t2 = t1._precomputed1; return new A.Point(t2._as(this.x * factor), t2._as(this.y * factor), t1); }, distanceTo$1(other) { var dx = this.x - other.x, dy = this.y - other.y; return Math.sqrt(dx * dx + dy * dy); } }; A._RectangleBase.prototype = { get$right(_) { return this.$ti._precomputed1._as(this.left + this.width); }, get$bottom(_) { return this.$ti._precomputed1._as(this.top + this.height); }, toString$0(_) { var _this = this; return "Rectangle (" + A.S(_this.left) + ", " + A.S(_this.top) + ") " + A.S(_this.width) + " x " + A.S(_this.height); }, $eq(_, other) { var t1, t2, t3, t4, _this = this; if (other == null) return false; if (type$.Rectangle_num._is(other)) { t1 = _this.left; t2 = J.getInterceptor$x(other); if (t1 === t2.get$left(other)) { t3 = _this.top; if (t3 === t2.get$top(other)) { t4 = _this.$ti._precomputed1; t1 = t4._as(t1 + _this.width) === t2.get$right(other) && t4._as(t3 + _this.height) === t2.get$bottom(other); } else t1 = false; } else t1 = false; } else t1 = false; return t1; }, get$hashCode(_) { var _this = this, t1 = _this.left, t2 = _this.top, t3 = _this.$ti._precomputed1; return A.SystemHash_hash4(B.JSNumber_methods.get$hashCode(t1), B.JSNumber_methods.get$hashCode(t2), B.JSNumber_methods.get$hashCode(t3._as(t1 + _this.width)), B.JSNumber_methods.get$hashCode(t3._as(t2 + _this.height)), 0); }, containsPoint$1(_, another) { var _this = this, t1 = another.x, t2 = _this.left; if (t1 >= t2) if (t1 <= t2 + _this.width) { t1 = another.y; t2 = _this.top; t1 = t1 >= t2 && t1 <= t2 + _this.height; } else t1 = false; else t1 = false; return t1; }, get$topRight(_) { var _this = this, t1 = _this.$ti; return new A.Point(t1._precomputed1._as(_this.left + _this.width), _this.top, t1._eval$1("Point<1>")); }, get$bottomRight(_) { var _this = this, t1 = _this.$ti, t2 = t1._precomputed1; return new A.Point(t2._as(_this.left + _this.width), t2._as(_this.top + _this.height), t1._eval$1("Point<1>")); }, get$bottomLeft(_) { var _this = this, t1 = _this.$ti; return new A.Point(_this.left, t1._precomputed1._as(_this.top + _this.height), t1._eval$1("Point<1>")); } }; A.Rectangle.prototype = { get$left(receiver) { return this.left; }, get$top(receiver) { return this.top; }, get$width(receiver) { return this.width; }, get$height(receiver) { return this.height; } }; A.Angle.prototype = { get$value(receiver) { return receiver.value; } }; A.Length.prototype = { get$value(receiver) { return receiver.value; }, $isLength: 1 }; A.LengthList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length; t1.toString; t1 = index >>> 0 !== index || index >= t1; t1.toString; if (t1) throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); t1 = receiver.getItem(index); t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[t1 - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1 = receiver.length; t1.toString; if (t1 === 1) { t1 = receiver[0]; t1.toString; return t1; } if (t1 === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.Number.prototype = { get$value(receiver) { return receiver.value; }, $isNumber: 1 }; A.NumberList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length; t1.toString; t1 = index >>> 0 !== index || index >= t1; t1.toString; if (t1) throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); t1 = receiver.getItem(index); t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[t1 - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1 = receiver.length; t1.toString; if (t1 === 1) { t1 = receiver[0]; t1.toString; return t1; } if (t1 === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.PointList.prototype = { get$length(receiver) { return receiver.length; } }; A.StringList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length; t1.toString; t1 = index >>> 0 !== index || index >= t1; t1.toString; if (t1) throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); t1 = receiver.getItem(index); t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[t1 - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1 = receiver.length; t1.toString; if (t1 === 1) { t1 = receiver[0]; t1.toString; return t1; } if (t1 === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.SvgElement.prototype = { get$children(receiver) { return new A.FilteredElementList0(receiver, new A._ChildNodeListLazy(receiver)); } }; A.Transform0.prototype = {$isTransform0: 1}; A.TransformList.prototype = { get$length(receiver) { var t1 = receiver.length; t1.toString; return t1; }, $index(receiver, index) { var t1 = receiver.length; t1.toString; t1 = index >>> 0 !== index || index >= t1; t1.toString; if (t1) throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null, null)); t1 = receiver.getItem(index); t1.toString; return t1; }, $indexSet(receiver, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, set$length(receiver, value) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[0]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$last(receiver) { var t1 = receiver.length; t1.toString; if (t1 > 0) { t1 = receiver[t1 - 1]; t1.toString; return t1; } throw A.wrapException(A.StateError$("No elements")); }, get$single(receiver) { var t1 = receiver.length; t1.toString; if (t1 === 1) { t1 = receiver[0]; t1.toString; return t1; } if (t1 === 0) throw A.wrapException(A.StateError$("No elements")); throw A.wrapException(A.StateError$("More than one element")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A._LengthList_JavaScriptObject_ListMixin.prototype = {}; A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._NumberList_JavaScriptObject_ListMixin.prototype = {}; A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._StringList_JavaScriptObject_ListMixin.prototype = {}; A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._TransformList_JavaScriptObject_ListMixin.prototype = {}; A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A._UnmodifiableInt64ListView.prototype = {$is_UnmodifiableInt64ListView: 1}; A.Endian.prototype = {}; A.ClipOp.prototype = { _enumToString$0() { return "ClipOp." + this._core$_name; } }; A.PathFillType.prototype = { _enumToString$0() { return "PathFillType." + this._core$_name; } }; A._ChannelCallbackRecord.prototype = { invoke$2(dataArg, callbackArg) { A.invoke2(this._callback, this._ui$_zone, dataArg, callbackArg); } }; A._StoredMessage.prototype = { invoke$1(dataArg) { A.invoke1(this._callback, this._ui$_zone, dataArg); } }; A._Channel.prototype = { get$length(_) { return this._queue.get$length(0); }, push$1(message) { var t1, result, _this = this; if (!_this._draining && _this._channelCallbackRecord != null) { _this._channelCallbackRecord.invoke$2(message.data, message.get$invoke()); return false; } t1 = _this._capacity; if (t1 <= 0) return true; result = _this._dropOverflowMessages$1(t1 - 1); _this._queue._collection$_add$1(0, message); return result; }, _dropOverflowMessages$1(lengthLimit) { var t1, result, message; for (t1 = this._queue, result = false; (t1._tail - t1._head & t1._table.length - 1) >>> 0 > lengthLimit; result = true) { message = t1.removeFirst$0(); A.invoke1(message._callback, message._ui$_zone, null); } return result; }, _drainStep$0() { var _this = this, t1 = _this._queue; if (!t1.get$isEmpty(0) && _this._channelCallbackRecord != null) { t1 = t1.removeFirst$0(); _this._channelCallbackRecord.invoke$2(t1.data, t1.get$invoke()); A.scheduleMicrotask(_this.get$_drainStep()); } else _this._draining = false; } }; A.ChannelBuffers.prototype = { push$3($name, data, callback) { this._channels.putIfAbsent$2(0, $name, new A.ChannelBuffers_push_closure()).push$1(new A._StoredMessage(data, callback, $.Zone__current)); }, setListener$2($name, callback) { var channel = this._channels.putIfAbsent$2(0, $name, new A.ChannelBuffers_setListener_closure()), t1 = channel._channelCallbackRecord; channel._channelCallbackRecord = new A._ChannelCallbackRecord(callback, $.Zone__current); if (t1 == null && !channel._draining) { channel._draining = true; A.scheduleMicrotask(channel.get$_drainStep()); } }, handleMessage$1(data) { var methodNameLength, t1, methodName, index, channelNameLength, channelName, parts, _s143_ = "Invalid arguments for 'resize' method sent to dev.flutter/channel-buffers (arguments must be a two-element list, channel name and new capacity)", _s143_0 = "Invalid arguments for 'overflow' method sent to dev.flutter/channel-buffers (arguments must be a two-element list, channel name and flag state)", bytes = A.NativeUint8List_NativeUint8List$view(data.buffer, data.byteOffset, data.byteLength); if (bytes[0] === 7) { methodNameLength = bytes[1]; if (methodNameLength >= 254) throw A.wrapException(A.Exception_Exception("Unrecognized message sent to dev.flutter/channel-buffers (method name too long)")); t1 = 2 + methodNameLength; methodName = B.C_Utf8Codec.decode$1(0, B.NativeUint8List_methods.sublist$2(bytes, 2, t1)); switch (methodName) { case "resize": if (bytes[t1] !== 12) throw A.wrapException(A.Exception_Exception(_s143_)); index = t1 + 1; if (bytes[index] < 2) throw A.wrapException(A.Exception_Exception(_s143_)); ++index; if (bytes[index] !== 7) throw A.wrapException(A.Exception_Exception("Invalid arguments for 'resize' method sent to dev.flutter/channel-buffers (first argument must be a string)")); ++index; channelNameLength = bytes[index]; if (channelNameLength >= 254) throw A.wrapException(A.Exception_Exception("Invalid arguments for 'resize' method sent to dev.flutter/channel-buffers (channel name must be less than 254 characters long)")); ++index; t1 = index + channelNameLength; channelName = B.C_Utf8Codec.decode$1(0, B.NativeUint8List_methods.sublist$2(bytes, index, t1)); if (bytes[t1] !== 3) throw A.wrapException(A.Exception_Exception("Invalid arguments for 'resize' method sent to dev.flutter/channel-buffers (second argument must be an integer in the range 0 to 2147483647)")); this.resize$2(0, channelName, data.getUint32(t1 + 1, B.C_Endian === $.$get$Endian_host())); break; case "overflow": if (bytes[t1] !== 12) throw A.wrapException(A.Exception_Exception(_s143_0)); index = t1 + 1; if (bytes[index] < 2) throw A.wrapException(A.Exception_Exception(_s143_0)); ++index; if (bytes[index] !== 7) throw A.wrapException(A.Exception_Exception("Invalid arguments for 'overflow' method sent to dev.flutter/channel-buffers (first argument must be a string)")); ++index; channelNameLength = bytes[index]; if (channelNameLength >= 254) throw A.wrapException(A.Exception_Exception("Invalid arguments for 'overflow' method sent to dev.flutter/channel-buffers (channel name must be less than 254 characters long)")); ++index; t1 = index + channelNameLength; B.C_Utf8Codec.decode$1(0, B.NativeUint8List_methods.sublist$2(bytes, index, t1)); t1 = bytes[t1]; if (t1 !== 1 && t1 !== 2) throw A.wrapException(A.Exception_Exception("Invalid arguments for 'overflow' method sent to dev.flutter/channel-buffers (second argument must be a boolean)")); break; default: throw A.wrapException(A.Exception_Exception("Unrecognized method '" + methodName + "' sent to dev.flutter/channel-buffers")); } } else { parts = A._setArrayType(B.C_Utf8Codec.decode$1(0, bytes).split("\r"), type$.JSArray_String); if (parts.length === 3 && J.$eq$(parts[0], "resize")) this.resize$2(0, parts[1], A.int_parse(parts[2], null)); else throw A.wrapException(A.Exception_Exception("Unrecognized message " + A.S(parts) + " sent to dev.flutter/channel-buffers.")); } }, resize$2(_, $name, newSize) { var t1 = this._channels, channel = t1.$index(0, $name); if (channel == null) t1.$indexSet(0, $name, new A._Channel(A.ListQueue$(newSize, type$._StoredMessage), newSize)); else { channel._capacity = newSize; channel._dropOverflowMessages$1(newSize); } } }; A.ChannelBuffers_push_closure.prototype = { call$0() { return new A._Channel(A.ListQueue$(1, type$._StoredMessage), 1); }, $signature: 875 }; A.ChannelBuffers_setListener_closure.prototype = { call$0() { return new A._Channel(A.ListQueue$(1, type$._StoredMessage), 1); }, $signature: 875 }; A.OffsetBase.prototype = { $lt(_, other) { return B.JSNumber_methods.$lt(this._dx, other.get$_dx()) && B.JSNumber_methods.$lt(this._dy, other.get$_dy()); }, $gt(_, other) { return this._dx > other._dx && this._dy > other._dy; }, $ge(_, other) { return this._dx >= other._dx && this._dy >= other._dy; }, $eq(_, other) { if (other == null) return false; return other instanceof A.OffsetBase && other._dx === this._dx && other._dy === this._dy; }, get$hashCode(_) { return A.Object_hash(this._dx, this._dy, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "OffsetBase(" + B.JSNumber_methods.toStringAsFixed$1(this._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._dy, 1) + ")"; } }; A.Offset.prototype = { get$dx(_) { return this._dx; }, get$dy(_) { return this._dy; }, get$distance() { var t1 = this._dx, t2 = this._dy; return Math.sqrt(t1 * t1 + t2 * t2); }, get$distanceSquared() { var t1 = this._dx, t2 = this._dy; return t1 * t1 + t2 * t2; }, $sub(_, other) { return new A.Offset(this._dx - other._dx, this._dy - other._dy); }, $add(_, other) { return new A.Offset(this._dx + other._dx, this._dy + other._dy); }, $mul(_, operand) { return new A.Offset(this._dx * operand, this._dy * operand); }, $div(_, operand) { return new A.Offset(this._dx / operand, this._dy / operand); }, $eq(_, other) { if (other == null) return false; return other instanceof A.Offset && other._dx === this._dx && other._dy === this._dy; }, get$hashCode(_) { return A.Object_hash(this._dx, this._dy, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "Offset(" + B.JSNumber_methods.toStringAsFixed$1(this._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._dy, 1) + ")"; } }; A.Size.prototype = { get$isEmpty(_) { return this._dx <= 0 || this._dy <= 0; }, $sub(_, other) { var _this = this; if (other instanceof A.Size) return new A.Offset(_this._dx - other._dx, _this._dy - other._dy); if (other instanceof A.Offset) return new A.Size(_this._dx - other._dx, _this._dy - other._dy); throw A.wrapException(A.ArgumentError$(other, null)); }, $add(_, other) { return new A.Size(this._dx + other._dx, this._dy + other._dy); }, $mul(_, operand) { return new A.Size(this._dx * operand, this._dy * operand); }, $div(_, operand) { return new A.Size(this._dx / operand, this._dy / operand); }, get$shortestSide() { return Math.min(Math.abs(this._dx), Math.abs(this._dy)); }, get$longestSide() { return Math.max(Math.abs(this._dx), Math.abs(this._dy)); }, center$1(origin) { return new A.Offset(origin._dx + this._dx / 2, origin._dy + this._dy / 2); }, bottomRight$1(_, origin) { return new A.Offset(origin._dx + this._dx, origin._dy + this._dy); }, contains$1(_, offset) { var t1 = offset._dx; if (t1 >= 0) if (t1 < this._dx) { t1 = offset._dy; t1 = t1 >= 0 && t1 < this._dy; } else t1 = false; else t1 = false; return t1; }, $eq(_, other) { if (other == null) return false; return other instanceof A.Size && other._dx === this._dx && other._dy === this._dy; }, get$hashCode(_) { return A.Object_hash(this._dx, this._dy, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "Size(" + B.JSNumber_methods.toStringAsFixed$1(this._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._dy, 1) + ")"; } }; A.Rect.prototype = { get$size(_) { var _this = this; return new A.Size(_this.right - _this.left, _this.bottom - _this.top); }, get$isInfinite(_) { var _this = this; return _this.left >= 1 / 0 || _this.top >= 1 / 0 || _this.right >= 1 / 0 || _this.bottom >= 1 / 0; }, get$isFinite(_) { var _this = this; return isFinite(_this.left) && isFinite(_this.top) && isFinite(_this.right) && isFinite(_this.bottom); }, get$isEmpty(_) { var _this = this; return _this.left >= _this.right || _this.top >= _this.bottom; }, shift$1(offset) { var _this = this, t1 = offset._dx, t2 = offset._dy; return new A.Rect(_this.left + t1, _this.top + t2, _this.right + t1, _this.bottom + t2); }, translate$2(_, translateX, translateY) { var _this = this; return new A.Rect(_this.left + translateX, _this.top + translateY, _this.right + translateX, _this.bottom + translateY); }, inflate$1(delta) { var _this = this; return new A.Rect(_this.left - delta, _this.top - delta, _this.right + delta, _this.bottom + delta); }, intersect$1(other) { var _this = this; return new A.Rect(Math.max(_this.left, other.left), Math.max(_this.top, other.top), Math.min(_this.right, other.right), Math.min(_this.bottom, other.bottom)); }, expandToInclude$1(other) { var _this = this; return new A.Rect(Math.min(_this.left, other.left), Math.min(_this.top, other.top), Math.max(_this.right, other.right), Math.max(_this.bottom, other.bottom)); }, overlaps$1(other) { var _this = this; if (_this.right <= other.left || other.right <= _this.left) return false; if (_this.bottom <= other.top || other.bottom <= _this.top) return false; return true; }, get$shortestSide() { var _this = this; return Math.min(Math.abs(_this.right - _this.left), Math.abs(_this.bottom - _this.top)); }, get$topCenter() { var t1 = this.left; return new A.Offset(t1 + (this.right - t1) / 2, this.top); }, get$centerLeft() { var t1 = this.top; return new A.Offset(this.left, t1 + (this.bottom - t1) / 2); }, get$center() { var _this = this, t1 = _this.left, t2 = _this.top; return new A.Offset(t1 + (_this.right - t1) / 2, t2 + (_this.bottom - t2) / 2); }, get$centerRight() { var t1 = this.top; return new A.Offset(this.right, t1 + (this.bottom - t1) / 2); }, get$bottomCenter() { var t1 = this.left; return new A.Offset(t1 + (this.right - t1) / 2, this.bottom); }, contains$1(_, offset) { var _this = this, t1 = offset._dx; if (t1 >= _this.left) if (t1 < _this.right) { t1 = offset._dy; t1 = t1 >= _this.top && t1 < _this.bottom; } else t1 = false; else t1 = false; return t1; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (A.getRuntimeTypeOfDartObject(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A.Rect && other.left === _this.left && other.top === _this.top && other.right === _this.right && other.bottom === _this.bottom; }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.left, _this.top, _this.right, _this.bottom, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var _this = this; return "Rect.fromLTRB(" + B.JSNumber_methods.toStringAsFixed$1(_this.left, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.top, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.right, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.bottom, 1) + ")"; } }; A.Radius.prototype = { clamp$2$maximum$minimum(_, maximum, minimum) { if (minimum == null) minimum = B.Radius_hNV; if (maximum == null) maximum = B.Radius_ePM; return new A.Radius(A.clampDouble(this.x, minimum.x, maximum.x), A.clampDouble(this.y, minimum.y, maximum.y)); }, clamp$1$minimum(_, minimum) { return this.clamp$2$maximum$minimum(0, null, minimum); }, clamp$1$maximum(_, maximum) { return this.clamp$2$maximum$minimum(0, maximum, null); }, $sub(_, other) { return new A.Radius(this.x - other.x, this.y - other.y); }, $add(_, other) { return new A.Radius(this.x + other.x, this.y + other.y); }, $mul(_, operand) { return new A.Radius(this.x * operand, this.y * operand); }, $div(_, operand) { return new A.Radius(this.x / operand, this.y / operand); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (A.getRuntimeTypeOfDartObject(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A.Radius && other.x === _this.x && other.y === _this.y; }, get$hashCode(_) { return A.Object_hash(this.x, this.y, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t1 = this.x, t2 = this.y; return t1 === t2 ? "Radius.circular(" + B.JSNumber_methods.toStringAsFixed$1(t1, 1) + ")" : "Radius.elliptical(" + B.JSNumber_methods.toStringAsFixed$1(t1, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(t2, 1) + ")"; } }; A.RRect.prototype = { shift$1(offset) { var _this = this, t1 = offset._dx, t2 = offset._dy; return new A.RRect(_this.left + t1, _this.top + t2, _this.right + t1, _this.bottom + t2, _this.tlRadiusX, _this.tlRadiusY, _this.trRadiusX, _this.trRadiusY, _this.brRadiusX, _this.brRadiusY, _this.blRadiusX, _this.blRadiusY, false); }, inflate$1(delta) { var _this = this, t1 = Math.max(0, _this.tlRadiusX + delta), t2 = Math.max(0, _this.tlRadiusY + delta), t3 = Math.max(0, _this.trRadiusX + delta), t4 = Math.max(0, _this.trRadiusY + delta), t5 = Math.max(0, _this.blRadiusX + delta), t6 = Math.max(0, _this.blRadiusY + delta); return new A.RRect(_this.left - delta, _this.top - delta, _this.right + delta, _this.bottom + delta, t1, t2, t3, t4, Math.max(0, _this.brRadiusX + delta), Math.max(0, _this.brRadiusY + delta), t5, t6, false); }, get$isEmpty(_) { var _this = this; return _this.left >= _this.right || _this.top >= _this.bottom; }, _getMin$4(min, radius1, radius2, limit) { var sum = radius1 + radius2; if (sum > limit && sum !== 0) return Math.min(min, limit / sum); return min; }, scaleRadii$0() { var _this = this, t1 = _this.right, t2 = _this.left, absWidth = Math.abs(t1 - t2), t3 = _this.bottom, t4 = _this.top, absHeight = Math.abs(t3 - t4), t5 = _this.blRadiusY, t6 = _this.tlRadiusY, t7 = _this.tlRadiusX, t8 = _this.trRadiusX, t9 = _this.trRadiusY, t10 = _this.brRadiusY, t11 = _this.brRadiusX, t12 = _this.blRadiusX, scale = _this._getMin$4(_this._getMin$4(_this._getMin$4(_this._getMin$4(1, t5, t6, absHeight), t7, t8, absWidth), t9, t10, absHeight), t11, t12, absWidth); if (scale < 1) return new A.RRect(t2, t4, t1, t3, t7 * scale, t6 * scale, t8 * scale, t9 * scale, t11 * scale, t10 * scale, t12 * scale, t5 * scale, false); return new A.RRect(t2, t4, t1, t3, t7, t6, t8, t9, t11, t10, t12, t5, false); }, contains$1(_, point) { var t3, scaled, radiusX, x, radiusY, y, _this = this, t1 = point._dx, t2 = _this.left; if (!(t1 < t2)) if (!(t1 >= _this.right)) { t3 = point._dy; t3 = t3 < _this.top || t3 >= _this.bottom; } else t3 = true; else t3 = true; if (t3) return false; scaled = _this.scaleRadii$0(); radiusX = scaled.tlRadiusX; if (t1 < t2 + radiusX && point._dy < _this.top + scaled.tlRadiusY) { x = t1 - t2 - radiusX; radiusY = scaled.tlRadiusY; y = point._dy - _this.top - radiusY; } else { t3 = _this.right; radiusX = scaled.trRadiusX; if (t1 > t3 - radiusX && point._dy < _this.top + scaled.trRadiusY) { x = t1 - t3 + radiusX; radiusY = scaled.trRadiusY; y = point._dy - _this.top - radiusY; } else { radiusX = scaled.brRadiusX; if (t1 > t3 - radiusX && point._dy > _this.bottom - scaled.brRadiusY) { x = t1 - t3 + radiusX; radiusY = scaled.brRadiusY; y = point._dy - _this.bottom + radiusY; } else { radiusX = scaled.blRadiusX; if (t1 < t2 + radiusX && point._dy > _this.bottom - scaled.blRadiusY) { x = t1 - t2 - radiusX; radiusY = scaled.blRadiusY; y = point._dy - _this.bottom + radiusY; } else return true; } } } x /= radiusX; y /= radiusY; if (x * x + y * y > 1) return false; return true; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (A.getRuntimeTypeOfDartObject(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A.RRect && other.left === _this.left && other.top === _this.top && other.right === _this.right && other.bottom === _this.bottom && other.tlRadiusX === _this.tlRadiusX && other.tlRadiusY === _this.tlRadiusY && other.trRadiusX === _this.trRadiusX && other.trRadiusY === _this.trRadiusY && other.blRadiusX === _this.blRadiusX && other.blRadiusY === _this.blRadiusY && other.brRadiusX === _this.brRadiusX && other.brRadiusY === _this.brRadiusY; }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.left, _this.top, _this.right, _this.bottom, _this.tlRadiusX, _this.tlRadiusY, _this.trRadiusX, _this.trRadiusY, _this.blRadiusX, _this.blRadiusY, _this.brRadiusX, _this.brRadiusY, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t5, t6, _this = this, rect = B.JSNumber_methods.toStringAsFixed$1(_this.left, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.top, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.right, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.bottom, 1), t1 = _this.tlRadiusX, t2 = _this.tlRadiusY, t3 = _this.trRadiusX, t4 = _this.trRadiusY; if (new A.Radius(t1, t2).$eq(0, new A.Radius(t3, t4))) { t5 = _this.brRadiusX; t6 = _this.brRadiusY; t5 = new A.Radius(t3, t4).$eq(0, new A.Radius(t5, t6)) && new A.Radius(t5, t6).$eq(0, new A.Radius(_this.blRadiusX, _this.blRadiusY)); } else t5 = false; if (t5) { if (t1 === t2) return "RRect.fromLTRBR(" + rect + ", " + B.JSNumber_methods.toStringAsFixed$1(t1, 1) + ")"; return "RRect.fromLTRBXY(" + rect + ", " + B.JSNumber_methods.toStringAsFixed$1(t1, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(t2, 1) + ")"; } return "RRect.fromLTRBAndCorners(" + rect + ", topLeft: " + new A.Radius(t1, t2).toString$0(0) + ", topRight: " + new A.Radius(t3, t4).toString$0(0) + ", bottomRight: " + new A.Radius(_this.brRadiusX, _this.brRadiusY).toString$0(0) + ", bottomLeft: " + new A.Radius(_this.blRadiusX, _this.blRadiusY).toString$0(0) + ")"; } }; A._HashEnd.prototype = {}; A.KeyEventType.prototype = { _enumToString$0() { return "KeyEventType." + this._core$_name; }, get$label(_) { var t1; switch (this.index) { case 0: t1 = "Key Down"; break; case 1: t1 = "Key Up"; break; case 2: t1 = "Key Repeat"; break; default: t1 = null; } return t1; } }; A.KeyEventDeviceType.prototype = { _enumToString$0() { return "KeyEventDeviceType." + this._core$_name; } }; A.KeyData.prototype = { _logicalToString$0() { var t1 = this.logical; return "0x" + B.JSInt_methods.toRadixString$1(t1, 16) + new A.KeyData__logicalToString_closure(B.JSNumber_methods.floor$0(t1 / 4294967296)).call$0(); }, _escapeCharacter$0() { var t1 = this.character; if (t1 == null) return "<none>"; switch (t1) { case "\n": return '"\\n"'; case "\t": return '"\\t"'; case "\r": return '"\\r"'; case "\b": return '"\\b"'; case "\f": return '"\\f"'; default: return '"' + t1 + '"'; } }, _quotedCharCode$0() { var t1 = this.character; if (t1 == null) return ""; return " (0x" + new A.MappedListIterable(new A.CodeUnits(t1), new A.KeyData__quotedCharCode_closure(), type$.CodeUnits._eval$1("MappedListIterable<ListBase.E,String>")).join$1(0, " ") + ")"; }, toString$0(_) { var _this = this, t1 = _this.type.get$label(0), t2 = B.JSInt_methods.toRadixString$1(_this.physical, 16), t3 = _this._logicalToString$0(), t4 = _this._escapeCharacter$0(), t5 = _this._quotedCharCode$0(), t6 = _this.synthesized ? ", synthesized" : ""; return "KeyData(" + t1 + ", physical: 0x" + t2 + ", logical: " + t3 + ", character: " + t4 + t5 + t6 + ")"; } }; A.KeyData__logicalToString_closure.prototype = { call$0() { switch (this.planeNum) { case 0: return " (Unicode)"; case 1: return " (Unprintable)"; case 2: return " (Flutter)"; case 17: return " (Android)"; case 18: return " (Fuchsia)"; case 19: return " (iOS)"; case 20: return " (macOS)"; case 21: return " (GTK)"; case 22: return " (Windows)"; case 23: return " (Web)"; case 24: return " (GLFW)"; } return ""; }, $signature: 103 }; A.KeyData__quotedCharCode_closure.prototype = { call$1(code) { return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(code, 16), 2, "0"); }, $signature: 372 }; A.Color.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.Color && other.get$value(other) === _this.get$value(_this); }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(this.get$value(this)); }, toString$0(_) { return "Color(0x" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(this.get$value(this), 16), 8, "0") + ")"; }, get$value(receiver) { return this.value; } }; A.StrokeCap.prototype = { _enumToString$0() { return "StrokeCap." + this._core$_name; } }; A.StrokeJoin.prototype = { _enumToString$0() { return "StrokeJoin." + this._core$_name; } }; A.PaintingStyle.prototype = { _enumToString$0() { return "PaintingStyle." + this._core$_name; } }; A.BlendMode.prototype = { _enumToString$0() { return "BlendMode." + this._core$_name; } }; A.Clip.prototype = { _enumToString$0() { return "Clip." + this._core$_name; } }; A.BlurStyle.prototype = { _enumToString$0() { return "BlurStyle." + this._core$_name; } }; A.MaskFilter.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A.MaskFilter && other._ui$_style === this._ui$_style && other._sigma === this._sigma; }, get$hashCode(_) { return A.Object_hash(this._ui$_style, this._sigma, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "MaskFilter.blur(" + this._ui$_style.toString$0(0) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._sigma, 1) + ")"; } }; A.FilterQuality.prototype = { _enumToString$0() { return "FilterQuality." + this._core$_name; } }; A.ImageFilter.prototype = {}; A.ImageByteFormat.prototype = { _enumToString$0() { return "ImageByteFormat." + this._core$_name; } }; A.PixelFormat.prototype = { _enumToString$0() { return "PixelFormat." + this._core$_name; } }; A.Shadow.prototype = { scale$1(_, factor) { return new A.Shadow(this.color, this.offset.$mul(0, factor), this.blurRadius * factor); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.Shadow && other.color.$eq(0, _this.color) && other.offset.$eq(0, _this.offset) && other.blurRadius === _this.blurRadius; }, get$hashCode(_) { return A.Object_hash(this.color, this.offset, this.blurRadius, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "TextShadow(" + this.color.toString$0(0) + ", " + this.offset.toString$0(0) + ", " + A.S(this.blurRadius) + ")"; } }; A.ImmutableBuffer.prototype = { get$length(_) { return this._ui$_length; }, dispose$0() { return this._ui$_list = null; } }; A.PlatformDispatcher.prototype = {}; A.FrameTiming.prototype = { toString$0(_) { var t9, t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0), t2 = this._ui$_data, t3 = A.Duration$(0, 0, t2[2], 0, 0, 0), t4 = t2[1], t5 = A.Duration$(0, 0, t4, 0, 0, 0), t6 = t2[4], t7 = A.Duration$(0, 0, t6, 0, 0, 0), t8 = A.Duration$(0, 0, t2[3], 0, 0, 0); t4 = A.Duration$(0, 0, t4, 0, 0, 0); t9 = t2[0]; return t1 + "(buildDuration: " + (A.S((t3._duration - t5._duration) * 0.001) + "ms") + ", rasterDuration: " + (A.S((t7._duration - t8._duration) * 0.001) + "ms") + ", vsyncOverhead: " + (A.S((t4._duration - A.Duration$(0, 0, t9, 0, 0, 0)._duration) * 0.001) + "ms") + ", totalSpan: " + (A.S((A.Duration$(0, 0, t6, 0, 0, 0)._duration - A.Duration$(0, 0, t9, 0, 0, 0)._duration) * 0.001) + "ms") + ", layerCacheCount: " + t2[6] + ", layerCacheBytes: " + t2[7] + ", pictureCacheCount: " + t2[8] + ", pictureCacheBytes: " + t2[9] + ", frameNumber: " + B.JSArray_methods.get$last(t2) + ")"; } }; A.AppLifecycleState.prototype = { _enumToString$0() { return "AppLifecycleState." + this._core$_name; } }; A.AppExitResponse.prototype = { _enumToString$0() { return "AppExitResponse." + this._core$_name; } }; A.Locale.prototype = { get$languageCode(_) { var t1 = this._languageCode, t2 = B.Map_oFQ7B.$index(0, t1); return t2 == null ? t1 : t2; }, get$countryCode() { var t1 = this._countryCode, t2 = B.Map_GxYRK.$index(0, t1); return t2 == null ? t1 : t2; }, $eq(_, other) { var t1; if (other == null) return false; if (this === other) return true; if (other instanceof A.Locale) if (other.get$languageCode(0) === this.get$languageCode(0)) t1 = other.get$countryCode() == this.get$countryCode(); else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { return A.Object_hash(this.get$languageCode(0), null, this.get$countryCode(), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return this._rawToString$1("_"); }, _rawToString$1(separator) { var t1 = this.get$languageCode(0); if (this._countryCode != null) t1 += separator + A.S(this.get$countryCode()); return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.DartPerformanceMode.prototype = { _enumToString$0() { return "DartPerformanceMode." + this._core$_name; } }; A.SemanticsActionEvent.prototype = { toString$0(_) { return "SemanticsActionEvent(" + this.type.toString$0(0) + ", view: " + this.viewId + ", node: " + this.nodeId + ")"; } }; A.PointerChange.prototype = { _enumToString$0() { return "PointerChange." + this._core$_name; } }; A.PointerDeviceKind.prototype = { _enumToString$0() { return "PointerDeviceKind." + this._core$_name; } }; A.PointerSignalKind.prototype = { _enumToString$0() { return "PointerSignalKind." + this._core$_name; } }; A.PointerData.prototype = { toString$0(_) { return "PointerData(x: " + A.S(this.physicalX) + ", y: " + A.S(this.physicalY) + ")"; } }; A.PointerDataPacket.prototype = {}; A.SemanticsAction.prototype = { toString$0(_) { return "SemanticsAction." + this.name; } }; A.SemanticsFlag.prototype = { toString$0(_) { return "SemanticsFlag." + this.name; } }; A.SemanticsUpdateBuilder.prototype = {}; A.FontStyle.prototype = { _enumToString$0() { return "FontStyle." + this._core$_name; } }; A.PlaceholderAlignment.prototype = { _enumToString$0() { return "PlaceholderAlignment." + this._core$_name; } }; A.FontWeight.prototype = { toString$0(_) { var t1 = B.Map_C7Iaj.$index(0, this.index); t1.toString; return t1; }, get$value(receiver) { return this.value; } }; A.FontFeature.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; if (other instanceof A.FontFeature) t1 = true; else t1 = false; return t1; }, get$hashCode(_) { return A.Object_hash("tnum", 1, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "FontFeature('tnum', 1)"; }, get$value() { return 1; } }; A.FontVariation.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A.FontVariation && other.axis === this.axis && other.value === this.value; }, get$hashCode(_) { return A.Object_hash(this.axis, this.value, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "FontVariation('" + this.axis + "', " + A.S(this.value) + ")"; }, get$value(receiver) { return this.value; } }; A.GlyphInfo.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.GlyphInfo && _this.graphemeClusterLayoutBounds.$eq(0, other.graphemeClusterLayoutBounds) && _this.graphemeClusterCodeUnitRange.$eq(0, other.graphemeClusterCodeUnitRange) && _this.writingDirection === other.writingDirection; }, get$hashCode(_) { return A.Object_hash(this.graphemeClusterLayoutBounds, this.graphemeClusterCodeUnitRange, this.writingDirection, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "Glyph(" + this.graphemeClusterLayoutBounds.toString$0(0) + ", textRange: " + this.graphemeClusterCodeUnitRange.toString$0(0) + ", direction: " + this.writingDirection.toString$0(0) + ")"; } }; A.TextAlign.prototype = { _enumToString$0() { return "TextAlign." + this._core$_name; } }; A.TextBaseline.prototype = { _enumToString$0() { return "TextBaseline." + this._core$_name; } }; A.TextDecoration.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A.TextDecoration && other._mask === this._mask; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(this._mask); }, toString$0(_) { var values, t1 = this._mask; if (t1 === 0) return "TextDecoration.none"; values = A._setArrayType([], type$.JSArray_String); if ((t1 & 1) !== 0) values.push("underline"); if ((t1 & 2) !== 0) values.push("overline"); if ((t1 & 4) !== 0) values.push("lineThrough"); if (values.length === 1) return "TextDecoration." + values[0]; return "TextDecoration.combine([" + B.JSArray_methods.join$1(values, ", ") + "])"; } }; A.TextDecorationStyle.prototype = { _enumToString$0() { return "TextDecorationStyle." + this._core$_name; } }; A.TextLeadingDistribution.prototype = { _enumToString$0() { return "TextLeadingDistribution." + this._core$_name; } }; A.TextHeightBehavior.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; if (other instanceof A.TextHeightBehavior) t1 = other.leadingDistribution === this.leadingDistribution; else t1 = false; return t1; }, get$hashCode(_) { return A.Object_hash(true, true, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "TextHeightBehavior(applyHeightToFirstAscent: true, applyHeightToLastDescent: true, leadingDistribution: " + this.leadingDistribution.toString$0(0) + ")"; } }; A.TextDirection.prototype = { _enumToString$0() { return "TextDirection." + this._core$_name; } }; A.TextBox.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.TextBox && other.left === _this.left && other.top === _this.top && other.right === _this.right && other.bottom === _this.bottom && other.direction === _this.direction; }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.left, _this.top, _this.right, _this.bottom, _this.direction, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var _this = this; return "TextBox.fromLTRBD(" + B.JSNumber_methods.toStringAsFixed$1(_this.left, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.top, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.right, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.bottom, 1) + ", " + _this.direction.toString$0(0) + ")"; } }; A.TextAffinity.prototype = { _enumToString$0() { return "TextAffinity." + this._core$_name; } }; A.TextPosition.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A.TextPosition && other.offset === this.offset && other.affinity === this.affinity; }, get$hashCode(_) { return A.Object_hash(this.offset, this.affinity, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "(offset: " + this.offset + ", affinity: " + this.affinity.toString$0(0) + ")"; } }; A.TextRange.prototype = { get$isValid() { return this.start >= 0 && this.end >= 0; }, $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.TextRange && other.start === this.start && other.end === this.end; }, get$hashCode(_) { return A.Object_hash(B.JSInt_methods.get$hashCode(this.start), B.JSInt_methods.get$hashCode(this.end), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "TextRange(start: " + this.start + ", end: " + this.end + ")"; } }; A.ParagraphConstraints.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A.ParagraphConstraints && other.width === this.width; }, get$hashCode(_) { return B.JSNumber_methods.get$hashCode(this.width); }, toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "(width: " + A.S(this.width) + ")"; } }; A.BoxHeightStyle.prototype = { _enumToString$0() { return "BoxHeightStyle." + this._core$_name; } }; A.BoxWidthStyle.prototype = { _enumToString$0() { return "BoxWidthStyle." + this._core$_name; } }; A.TileMode.prototype = { _enumToString$0() { return "TileMode." + this._core$_name; } }; A.Display.prototype = {}; A.Brightness.prototype = { _enumToString$0() { return "Brightness." + this._core$_name; } }; A.CallbackHandle.prototype = { $eq(_, other) { if (other == null) return false; return this === other; }, get$hashCode(_) { return A.Object.prototype.get$hashCode.call(this, 0); } }; A.GestureSettings.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; if (other instanceof A.GestureSettings) t1 = true; else t1 = false; return t1; }, get$hashCode(_) { return A.Object_hash(null, null, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "GestureSettings(physicalTouchSlop: null, physicalDoubleTapSlop: null)"; } }; A.AssetManager.prototype = { getAssetUrl$1(asset) { var t1, fallbackBaseUrl, t2; if (A.Uri_parse(asset, 0, null).get$hasScheme()) return A._Uri__uriEncode(B.List_5Q7, asset, B.C_Utf8Codec, false); t1 = this._assetBase; if (t1 == null) { t1 = A.callMethod(self.window.document, "querySelector", ["meta[name=assetBase]"]); fallbackBaseUrl = t1 == null ? null : t1.content; t1 = fallbackBaseUrl == null; if (!t1) A.callMethod(self.window.console, "warn", ["The `assetBase` meta tag is now deprecated.\nUse engineInitializer.initializeEngine(config) instead.\nSee: https://docs.flutter.dev/development/platform-integration/web/initialization"]); t2 = this._assetBase = t1 ? "" : fallbackBaseUrl; t1 = t2; } return A._Uri__uriEncode(B.List_5Q7, t1 + "assets/" + asset, B.C_Utf8Codec, false); } }; A.bootstrapEngine_closure.prototype = { call$1(configuration) { return this.$call$body$bootstrapEngine_closure(configuration); }, call$0() { return this.call$1(null); }, "call*": "call$1", $requiredArgCount: 0, $defaultValues() { return [null]; }, $call$body$bootstrapEngine_closure(configuration) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 2; return A._asyncAwait(A.initializeEngineServices(configuration), $async$call$1); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 3056 }; A.bootstrapEngine_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$self.registerPlugins.call$0(); $async$goto = 2; return A._asyncAwait(A.initializeEngineUi(), $async$call$0); case 2: // returning from await. $async$self.runApp.call$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 67 }; A.BrowserPlatformLocation.prototype = { getOrCreateDomEventListener$1(fn) { return $._popStateListenersCache.putIfAbsent$2(0, fn, new A.BrowserPlatformLocation_getOrCreateDomEventListener_closure(fn)); } }; A.BrowserPlatformLocation_getOrCreateDomEventListener_closure.prototype = { call$0() { return type$.JavaScriptFunction._as(A.allowInterop(this.fn)); }, $signature: 468 }; A.HashUrlStrategy.prototype = { addPopStateListener$1(fn) { var t1 = new A.HashUrlStrategy_addPopStateListener_wrappedFn(fn); A.DomEventTargetExtension_addEventListener(self.window, "popstate", B.C_BrowserPlatformLocation.getOrCreateDomEventListener$1(t1), null); return new A.HashUrlStrategy_addPopStateListener_closure(this, t1); }, getPath$0() { var t1 = self.window.location.hash; if (t1.length === 0 || t1 === "#") return "/"; return B.JSString_methods.substring$1(t1, 1); }, getState$0(_) { return A.DomHistoryExtension_get_state(self.window.history); }, prepareExternalUrl$1(internalUrl) { var t2, hash = internalUrl.length === 0 || internalUrl === "/" ? "" : "#" + internalUrl, t1 = self.window.location.pathname; if (t1 == null) t1 = null; t1.toString; t2 = self.window.location.search; if (t2 == null) t2 = null; t2.toString; return t1 + t2 + hash; }, pushState$3(_, state, title, url) { var t1 = this.prepareExternalUrl$1(url), t2 = self.window.history, t3 = A.jsify(state); if (t3 == null) t3 = type$.Object._as(t3); A.callMethod(t2, "pushState", [t3, title, t1]); }, replaceState$3(_, state, title, url) { var t3, t1 = this.prepareExternalUrl$1(url), t2 = self.window.history; if (state == null) t3 = null; else { t3 = A.jsify(state); if (t3 == null) t3 = type$.Object._as(t3); } A.callMethod(t2, "replaceState", [t3, title, t1]); }, go$1(_, count) { A.callMethod(self.window.history, "go", [count]); return this._waitForPopState$0(); }, _waitForPopState$0() { var t1 = new A._Future($.Zone__current, type$._Future_void), unsubscribe = A._Cell$named("unsubscribe"); unsubscribe.__late_helper$_value = this.addPopStateListener$1(new A.HashUrlStrategy__waitForPopState_closure(unsubscribe, new A._AsyncCompleter(t1, type$._AsyncCompleter_void))); return t1; } }; A.HashUrlStrategy_addPopStateListener_wrappedFn.prototype = { call$1($event) { var t1 = type$.JavaScriptObject._as($event).state; if (t1 == null) t1 = null; else { t1 = A.dartify(t1); t1.toString; } this.fn.call$1(t1); }, $signature: 3064 }; A.HashUrlStrategy_addPopStateListener_closure.prototype = { call$0() { var t1 = this.wrappedFn; A.DomEventTargetExtension_removeEventListener(self.window, "popstate", B.C_BrowserPlatformLocation.getOrCreateDomEventListener$1(t1), null); $._popStateListenersCache.remove$1(0, t1); return null; }, $signature: 0 }; A.HashUrlStrategy__waitForPopState_closure.prototype = { call$1(_) { this.unsubscribe._readLocal$0().call$0(); this.completer.complete$0(0); }, $signature: 45 }; A.PlatformViewRegistry.prototype = {}; A.AudioBuffer.prototype = { get$length(receiver) { return receiver.length; } }; A.AudioParam.prototype = { get$value(receiver) { return receiver.value; } }; A.AudioParamMap.prototype = { containsKey$1(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(key)); }, forEach$1(receiver, f) { var entry, t1, entries = receiver.entries(); for (; true;) { entry = entries.next(); t1 = entry.done; t1.toString; if (t1) return; t1 = entry.value[0]; t1.toString; f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { var keys = A._setArrayType([], type$.JSArray_String); this.forEach$1(receiver, new A.AudioParamMap_keys_closure(keys)); return keys; }, get$values(receiver) { var values = A._setArrayType([], type$.JSArray_Map_dynamic_dynamic); this.forEach$1(receiver, new A.AudioParamMap_values_closure(values)); return values; }, get$length(receiver) { var t1 = receiver.size; t1.toString; return t1; }, get$isEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 === 0; }, get$isNotEmpty(receiver) { var t1 = receiver.size; t1.toString; return t1 !== 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, putIfAbsent$2(receiver, key, ifAbsent) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, remove$1(receiver, key) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.AudioParamMap_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 145 }; A.AudioParamMap_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 145 }; A.AudioTrack.prototype = { get$id(receiver) { return receiver.id; } }; A.AudioTrackList.prototype = { get$length(receiver) { return receiver.length; } }; A.BaseAudioContext.prototype = {}; A.OfflineAudioContext.prototype = { get$length(receiver) { return receiver.length; } }; A._AudioParamMap_JavaScriptObject_MapMixin.prototype = {}; A.GZipEncoder.prototype = { encode$1(data) { var fileModTime, t1, t2, t3, t4, t5, t6, t7, deflate, _null = null, outputStream = A.OutputStream$(0, 32768); outputStream.writeUint16$1(35615); outputStream.writeByte$1(8); fileModTime = B.JSInt_methods._tdivFast$1(Date.now(), 1000); outputStream.writeByte$1(0); outputStream.writeUint32$1(fileModTime); outputStream.writeByte$1(0); outputStream.writeByte$1(255); if (type$.List_int._is(data)) { t1 = A._HuffmanTree$(); t2 = A._HuffmanTree$(); t3 = A._HuffmanTree$(); t4 = new Uint16Array(16); t5 = new Uint32Array(573); t6 = new Uint8Array(573); t7 = A.InputStream$(data, 0, _null, 0); deflate = new A.Deflate(t7, outputStream, t1, t2, t3, t4, t5, t6); deflate._deflate$_init$1(_null); deflate._deflate$1(4); } else deflate = A.Deflate$buffer(type$.InputStreamBase._as(data), _null, outputStream); outputStream.writeUint32$1(deflate.crc32); outputStream.writeUint32$1(data.length); t1 = B.NativeByteBuffer_methods.asUint8List$2(outputStream._output_stream$_buffer.buffer, 0, outputStream.length); return t1; } }; A.ArchiveException.prototype = {}; A.InputStreamBase.prototype = {}; A.InputStream.prototype = { get$length(_) { var t1 = this.__InputStream__length_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1 - (this.offset - this.start); }, get$isEOS() { var t1 = this.offset, t2 = this.__InputStream__length_A; t2 === $ && A.throwUnnamedLateFieldNI(); return t1 >= this.start + t2; }, $index(_, index) { return J.$index$asx(this.buffer, this.offset + index); }, readByte$0() { return J.$index$asx(this.buffer, this.offset++); }, readBytes$1(count) { var t2, $length, bytes, _this = this, t1 = _this.start, position = _this.offset - t1 + t1; if (count < 0) { t2 = _this.__InputStream__length_A; t2 === $ && A.throwUnnamedLateFieldNI(); $length = t2 - (position - t1); } else $length = count; bytes = A.InputStream$(_this.buffer, _this.byteOrder, $length, position); _this.offset = _this.offset + bytes.get$length(0); return bytes; }, readString$0() { var t1, t2, t3, t4, t5, _this = this, utf8 = true, codes = A._setArrayType([], type$.JSArray_int); if (_this.get$isEOS()) return ""; t1 = _this.start; t2 = _this.buffer; t3 = J.getInterceptor$asx(t2); while (true) { t4 = _this.offset; t5 = _this.__InputStream__length_A; t5 === $ && A.throwUnnamedLateFieldNI(); if (!(t4 < t1 + t5)) break; _this.offset = t4 + 1; t4 = t3.$index(t2, t4); if (t4 === 0) break; codes.push(t4); } return utf8 ? new A.Utf8Decoder(false).convert$1(codes) : A.String_String$fromCharCodes(codes, 0, null); }, readUint16$0() { var _this = this, t1 = _this.buffer, t2 = J.getInterceptor$asx(t1), b1 = t2.$index(t1, _this.offset++) & 255, b2 = t2.$index(t1, _this.offset++) & 255; if (_this.byteOrder === 1) return b1 << 8 | b2; return b2 << 8 | b1; }, readUint32$0() { var _this = this, t1 = _this.buffer, t2 = J.getInterceptor$asx(t1), b1 = t2.$index(t1, _this.offset++) & 255, b2 = t2.$index(t1, _this.offset++) & 255, b3 = t2.$index(t1, _this.offset++) & 255, b4 = t2.$index(t1, _this.offset++) & 255; if (_this.byteOrder === 1) return (b1 << 24 | b2 << 16 | b3 << 8 | b4) >>> 0; return (b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; }, toUint8List$0() { var t2, end, _this = this, len = _this.get$length(0), t1 = _this.buffer; if (type$.Uint8List._is(t1)) { t2 = J.getInterceptor$asx(t1); if (_this.offset + len > t2.get$length(t1)) len = t2.get$length(t1) - _this.offset; return J.asUint8List$2$x(t2.get$buffer(t1), t2.get$offsetInBytes(t1) + _this.offset, len); } end = _this.offset + len; t2 = J.getInterceptor$asx(t1); if (end > t2.get$length(t1)) end = t2.get$length(t1); return new Uint8Array(A._ensureNativeList(t2.sublist$2(t1, _this.offset, end))); } }; A.OutputStreamBase.prototype = {}; A.OutputStream.prototype = { writeByte$1(value) { var _this = this; if (_this.length === _this._output_stream$_buffer.length) _this._expandBuffer$0(); _this._output_stream$_buffer[_this.length++] = value & 255; }, writeBytes$2(bytes, len) { var j, t1, t2, t3, i, _this = this; if (len == null) len = J.get$length$asx(bytes); for (; j = _this.length, t1 = j + len, t2 = _this._output_stream$_buffer, t3 = t2.length, t1 > t3;) _this._expandBuffer$1(t1 - t3); if (len === 1) t2[j] = J.$index$asx(bytes, 0); else if (len === 2) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); } else if (len === 3) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); } else if (len === 4) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); } else if (len === 5) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); _this._output_stream$_buffer[_this.length + 4] = t1.$index(bytes, 4); } else if (len === 6) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); _this._output_stream$_buffer[_this.length + 4] = t1.$index(bytes, 4); _this._output_stream$_buffer[_this.length + 5] = t1.$index(bytes, 5); } else if (len === 7) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); _this._output_stream$_buffer[_this.length + 4] = t1.$index(bytes, 4); _this._output_stream$_buffer[_this.length + 5] = t1.$index(bytes, 5); _this._output_stream$_buffer[_this.length + 6] = t1.$index(bytes, 6); } else if (len === 8) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); _this._output_stream$_buffer[_this.length + 4] = t1.$index(bytes, 4); _this._output_stream$_buffer[_this.length + 5] = t1.$index(bytes, 5); _this._output_stream$_buffer[_this.length + 6] = t1.$index(bytes, 6); _this._output_stream$_buffer[_this.length + 7] = t1.$index(bytes, 7); } else if (len === 9) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); _this._output_stream$_buffer[_this.length + 4] = t1.$index(bytes, 4); _this._output_stream$_buffer[_this.length + 5] = t1.$index(bytes, 5); _this._output_stream$_buffer[_this.length + 6] = t1.$index(bytes, 6); _this._output_stream$_buffer[_this.length + 7] = t1.$index(bytes, 7); _this._output_stream$_buffer[_this.length + 8] = t1.$index(bytes, 8); } else if (len === 10) { t1 = J.getInterceptor$asx(bytes); t2[j] = t1.$index(bytes, 0); _this._output_stream$_buffer[_this.length + 1] = t1.$index(bytes, 1); _this._output_stream$_buffer[_this.length + 2] = t1.$index(bytes, 2); _this._output_stream$_buffer[_this.length + 3] = t1.$index(bytes, 3); _this._output_stream$_buffer[_this.length + 4] = t1.$index(bytes, 4); _this._output_stream$_buffer[_this.length + 5] = t1.$index(bytes, 5); _this._output_stream$_buffer[_this.length + 6] = t1.$index(bytes, 6); _this._output_stream$_buffer[_this.length + 7] = t1.$index(bytes, 7); _this._output_stream$_buffer[_this.length + 8] = t1.$index(bytes, 8); _this._output_stream$_buffer[_this.length + 9] = t1.$index(bytes, 9); } else for (t1 = J.getInterceptor$asx(bytes), i = 0; i < len; ++i, ++j) _this._output_stream$_buffer[j] = t1.$index(bytes, i); _this.length += len; }, writeBytes$1(bytes) { return this.writeBytes$2(bytes, null); }, writeInputStream$1(stream) { var t2, t3, t4, t5, _this = this, t1 = stream.start; while (true) { t2 = _this.length; t3 = stream.__InputStream__length_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t2 + (t3 - (stream.offset - t1)); t4 = _this._output_stream$_buffer; t5 = t4.length; if (!(t3 > t5)) break; _this._expandBuffer$1(t3 - t5); } B.NativeUint8List_methods.setRange$4(t4, t2, t2 + stream.get$length(0), stream.buffer, stream.offset); _this.length = _this.length + stream.get$length(0); }, writeUint16$1(value) { var _this = this; if (_this.byteOrder === 1) { _this.writeByte$1(value >>> 8 & 255); _this.writeByte$1(value & 255); return; } _this.writeByte$1(value & 255); _this.writeByte$1(value >>> 8 & 255); }, writeUint32$1(value) { var _this = this; if (_this.byteOrder === 1) { _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 24) & 255); _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 16) & 255); _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 8) & 255); _this.writeByte$1(value & 255); return; } _this.writeByte$1(value & 255); _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 8) & 255); _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 16) & 255); _this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 24) & 255); }, subset$2(start, end) { var _this = this; if (start < 0) start = _this.length + start; if (end == null) end = _this.length; else if (end < 0) end = _this.length + end; return B.NativeByteBuffer_methods.asUint8List$2(_this._output_stream$_buffer.buffer, start, end - start); }, subset$1(start) { return this.subset$2(start, null); }, _expandBuffer$1(required) { var blockSize = required != null ? required > 32768 ? required : 32768 : 32768, t1 = this._output_stream$_buffer, t2 = t1.length, newBuffer = new Uint8Array((t2 + blockSize) * 2); B.NativeUint8List_methods.setRange$3(newBuffer, 0, t2, t1); this._output_stream$_buffer = newBuffer; }, _expandBuffer$0() { return this._expandBuffer$1(null); }, get$length(receiver) { return this.length; } }; A.Deflate.prototype = { _deflate$_init$1(level) { var t2, t3, t4, _this = this, t1 = false; if (t1) throw A.wrapException(A.ArchiveException$("Invalid Deflate parameter")); $.Deflate____config.__late_helper$_value = _this._getConfig$1(6); t1 = new Uint16Array(1146); _this.__Deflate__dynamicLengthTree_A = t1; t2 = new Uint16Array(122); _this.__Deflate__dynamicDistTree_A = t2; t3 = new Uint16Array(78); _this.__Deflate__bitLengthTree_A = t3; _this.__Deflate__windowBits_A = 15; _this.__Deflate__windowSize_A = 32768; _this.__Deflate__windowMask_A = 32767; _this.__Deflate__hashBits_A = 15; _this.__Deflate__hashSize_A = 32768; _this.__Deflate__hashMask_A = 32767; _this.__Deflate__hashShift_A = 5; _this.__Deflate__window_A = new Uint8Array(65536); _this.__Deflate__prev_A = new Uint16Array(32768); _this.__Deflate__head_A = new Uint16Array(32768); _this.__Deflate__litBufferSize_A = 16384; _this.__Deflate__pendingBuffer_A = new Uint8Array(65536); _this.__Deflate__pendingBufferSize_A = 65536; _this.__Deflate__dbuf_A = 16384; _this.__Deflate__lbuf_A = 49152; _this.__Deflate__level_A = 6; _this.__Deflate__pendingOut_A = _this.__Deflate__pending_A = _this.__Deflate__strategy_A = 0; _this._deflate$_status = 113; _this.crc32 = 0; t4 = _this._lDesc; t4.___HuffmanTree_dynamicTree_A = t1; t4.___HuffmanTree_staticDesc_A = $.$get$_StaticTree_staticLDesc(); t4 = _this._dDesc; t4.___HuffmanTree_dynamicTree_A = t2; t4.___HuffmanTree_staticDesc_A = $.$get$_StaticTree_staticDDesc(); t4 = _this._blDesc; t4.___HuffmanTree_dynamicTree_A = t3; t4.___HuffmanTree_staticDesc_A = $.$get$_StaticTree_staticBlDesc(); _this.__Deflate__numValidBits_A = _this.__Deflate__bitBuffer_A = 0; _this.__Deflate__lastEOBLen_A = 8; _this._initBlock$0(); _this._lmInit$0(); }, _deflate$1(flush) { var t1, bstate, t2, i, _this = this; if (flush > 4 || false) throw A.wrapException(A.ArchiveException$("Invalid Deflate Parameter")); t1 = _this.__Deflate__pending_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 !== 0) _this._flushPending$0(); if (_this._deflate$_input.get$isEOS()) { t1 = _this.__Deflate__lookAhead_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 === 0) t1 = flush !== 0 && _this._deflate$_status !== 666; else t1 = true; } else t1 = true; if (t1) { switch ($.Deflate____config._readField$0().$function) { case 0: bstate = _this._deflateStored$1(flush); break; case 1: bstate = _this._deflateFast$1(flush); break; case 2: bstate = _this._deflateSlow$1(flush); break; default: bstate = -1; break; } t1 = bstate === 2; if (t1 || bstate === 3) _this._deflate$_status = 666; if (bstate === 0 || t1) return 0; if (bstate === 1) { if (flush === 1) { _this._sendBits$2(2, 3); _this._deflate$_sendCode$2(256, B.List_U0a); _this.biFlush$0(); t1 = _this.__Deflate__lastEOBLen_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__numValidBits_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (1 + t1 + 10 - t2 < 9) { _this._sendBits$2(2, 3); _this._deflate$_sendCode$2(256, B.List_U0a); _this.biFlush$0(); } _this.__Deflate__lastEOBLen_A = 7; } else { _this._trStoredBlock$3(0, 0, false); if (flush === 3) { t1 = _this.__Deflate__hashSize_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__head_A; i = 0; for (; i < t1; ++i) { t2 === $ && A.throwUnnamedLateFieldNI(); t2[i] = 0; } } } _this._flushPending$0(); } } if (flush !== 4) return 0; return 1; }, _lmInit$0() { var t2, i, _this = this, t1 = _this.__Deflate__windowSize_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__actualWindowSize_A = 2 * t1; t1 = _this.__Deflate__head_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__hashSize_A; t2 === $ && A.throwUnnamedLateFieldNI(); --t2; t1[t2] = 0; for (i = 0; i < t2; ++i) t1[i] = 0; _this.__Deflate__lookAhead_A = _this.__Deflate__blockStart_A = _this.__Deflate__strStart_A = 0; _this.__Deflate__matchLength_A = _this.__Deflate__prevLength_A = 2; _this.__Deflate__insertHash_A = _this.__Deflate__matchAvailable_A = 0; }, _initBlock$0() { var t1, i, t2, _this = this; for (t1 = _this.__Deflate__dynamicLengthTree_A, i = 0; i < 286; ++i) { t1 === $ && A.throwUnnamedLateFieldNI(); t1[i * 2] = 0; } for (t2 = _this.__Deflate__dynamicDistTree_A, i = 0; i < 30; ++i) { t2 === $ && A.throwUnnamedLateFieldNI(); t2[i * 2] = 0; } for (t2 = _this.__Deflate__bitLengthTree_A, i = 0; i < 19; ++i) { t2 === $ && A.throwUnnamedLateFieldNI(); t2[i * 2] = 0; } t1 === $ && A.throwUnnamedLateFieldNI(); t1[512] = 1; _this.__Deflate__lastLit_A = _this.__Deflate__matches_A = _this.__Deflate__optimalLen_A = _this.__Deflate__staticLen_A = 0; }, _pqdownheap$2(tree, k) { var t3, j0, t1 = this._heap, v = t1[k], j = k << 1 >>> 0, t2 = this._deflate$_depth; while (true) { t3 = this.__Deflate__heapLen_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (!(j <= t3)) break; if (j < t3 && A.Deflate__smaller(tree, t1[j + 1], t1[j], t2)) ++j; if (A.Deflate__smaller(tree, v, t1[j], t2)) break; t1[k] = t1[j]; j0 = j << 1 >>> 0; k = j; j = j0; } t1[k] = v; }, _scanTree$2(tree, maxCode) { var maxCount, minCount, t1, n, prevLen, count, nextLen0, t2, nextLen = tree[1]; if (nextLen === 0) { maxCount = 138; minCount = 3; } else { maxCount = 7; minCount = 4; } tree[(maxCode + 1) * 2 + 1] = 65535; for (t1 = this.__Deflate__bitLengthTree_A, n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { ++n; nextLen0 = tree[n * 2 + 1]; ++count; if (count < maxCount && nextLen === nextLen0) continue; else if (count < minCount) { t1 === $ && A.throwUnnamedLateFieldNI(); t2 = nextLen * 2; t1[t2] = t1[t2] + count; } else if (nextLen !== 0) { if (nextLen !== prevLen) { t1 === $ && A.throwUnnamedLateFieldNI(); t2 = nextLen * 2; t1[t2] = t1[t2] + 1; } t1 === $ && A.throwUnnamedLateFieldNI(); t1[32] = t1[32] + 1; } else if (count <= 10) { t1 === $ && A.throwUnnamedLateFieldNI(); t1[34] = t1[34] + 1; } else { t1 === $ && A.throwUnnamedLateFieldNI(); t1[36] = t1[36] + 1; } if (nextLen0 === 0) { maxCount = 138; minCount = 3; } else if (nextLen === nextLen0) { maxCount = 6; minCount = 3; } else { maxCount = 7; minCount = 4; } prevLen = nextLen; count = 0; } }, _buildBitLengthTree$0() { var t2, maxBLIndex, _this = this, t1 = _this.__Deflate__dynamicLengthTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._lDesc.___HuffmanTree_maxCode_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._scanTree$2(t1, t2); t2 = _this.__Deflate__dynamicDistTree_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = _this._dDesc.___HuffmanTree_maxCode_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._scanTree$2(t2, t1); _this._blDesc._buildTree$1(_this); for (t1 = _this.__Deflate__bitLengthTree_A, maxBLIndex = 18; maxBLIndex >= 3; --maxBLIndex) { t1 === $ && A.throwUnnamedLateFieldNI(); if (t1[B.List_QLv[maxBLIndex] * 2 + 1] !== 0) break; } t1 = _this.__Deflate__optimalLen_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__optimalLen_A = t1 + (3 * (maxBLIndex + 1) + 5 + 5 + 4); return maxBLIndex; }, _sendAllTrees$3(lcodes, dcodes, blcodes) { var t1, rank, t2, _this = this; _this._sendBits$2(lcodes - 257, 5); t1 = dcodes - 1; _this._sendBits$2(t1, 5); _this._sendBits$2(blcodes - 4, 4); for (rank = 0; rank < blcodes; ++rank) { t2 = _this.__Deflate__bitLengthTree_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._sendBits$2(t2[B.List_QLv[rank] * 2 + 1], 3); } t2 = _this.__Deflate__dynamicLengthTree_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._sendTree$2(t2, lcodes - 1); t2 = _this.__Deflate__dynamicDistTree_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._sendTree$2(t2, t1); }, _sendTree$2(tree, maxCode) { var maxCount, minCount, n, prevLen, count, nextLen0, t1, t2, t3, _this = this, nextLen = tree[1]; if (nextLen === 0) { maxCount = 138; minCount = 3; } else { maxCount = 7; minCount = 4; } for (n = 0, prevLen = -1, count = 0; n <= maxCode; nextLen = nextLen0) { ++n; nextLen0 = tree[n * 2 + 1]; ++count; if (count < maxCount && nextLen === nextLen0) continue; else if (count < minCount) { t1 = nextLen * 2; t2 = t1 + 1; do { t3 = _this.__Deflate__bitLengthTree_A; t3 === $ && A.throwUnnamedLateFieldNI(); _this._sendBits$2(t3[t1] & 65535, t3[t2] & 65535); } while (--count, count !== 0); } else if (nextLen !== 0) { if (nextLen !== prevLen) { t1 = _this.__Deflate__bitLengthTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = nextLen * 2; _this._sendBits$2(t1[t2] & 65535, t1[t2 + 1] & 65535); --count; } t1 = _this.__Deflate__bitLengthTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._sendBits$2(t1[32] & 65535, t1[33] & 65535); _this._sendBits$2(count - 3, 2); } else { t1 = _this.__Deflate__bitLengthTree_A; if (count <= 10) { t1 === $ && A.throwUnnamedLateFieldNI(); _this._sendBits$2(t1[34] & 65535, t1[35] & 65535); _this._sendBits$2(count - 3, 3); } else { t1 === $ && A.throwUnnamedLateFieldNI(); _this._sendBits$2(t1[36] & 65535, t1[37] & 65535); _this._sendBits$2(count - 11, 7); } } if (nextLen0 === 0) { maxCount = 138; minCount = 3; } else if (nextLen === nextLen0) { maxCount = 6; minCount = 3; } else { maxCount = 7; minCount = 4; } prevLen = nextLen; count = 0; } }, _putBytes$3(p, start, len) { var t1, t2, j, i; if (len === 0) return; t1 = this.__Deflate__pending_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this.__Deflate__pendingBuffer_A; j = t1; i = 0; for (; i < len; ++i, ++j) { t2 === $ && A.throwUnnamedLateFieldNI(); t2[j] = p[i + start]; } this.__Deflate__pending_A = t1 + len; }, _putByte$1(c) { var t2, t1 = this.__Deflate__pendingBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this.__Deflate__pending_A; t2 === $ && A.throwUnnamedLateFieldNI(); this.__Deflate__pending_A = t2 + 1; t1[t2] = c; }, _deflate$_sendCode$2(c, tree) { var t1 = c * 2; this._sendBits$2(tree[t1] & 65535, tree[t1 + 1] & 65535); }, _sendBits$2(valueRenamed, $length) { var t2, _this = this, t1 = _this.__Deflate__numValidBits_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__bitBuffer_A; if (t1 > 16 - $length) { t2 === $ && A.throwUnnamedLateFieldNI(); t1 = _this.__Deflate__bitBuffer_A = (t2 | B.JSInt_methods.$shl(valueRenamed, t1) & 65535) >>> 0; _this._putByte$1(t1); _this._putByte$1(A._rshift(t1, 8)); _this.__Deflate__bitBuffer_A = A._rshift(valueRenamed, 16 - _this.__Deflate__numValidBits_A); _this.__Deflate__numValidBits_A = _this.__Deflate__numValidBits_A + ($length - 16); } else { t2 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__bitBuffer_A = (t2 | B.JSInt_methods.$shl(valueRenamed, t1) & 65535) >>> 0; _this.__Deflate__numValidBits_A = t1 + $length; } }, _trTally$2(dist, lc) { var t2, t3, outLength, dcode, t4, _this = this, t1 = _this.__Deflate__pendingBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__dbuf_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this.__Deflate__lastLit_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1[t2 + t3 * 2] = A._rshift(dist, 8); t3 = _this.__Deflate__pendingBuffer_A; t2 = _this.__Deflate__dbuf_A; t1 = _this.__Deflate__lastLit_A; t3[t2 + t1 * 2 + 1] = dist; t2 = _this.__Deflate__lbuf_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3[t2 + t1] = lc; _this.__Deflate__lastLit_A = t1 + 1; if (dist === 0) { t1 = _this.__Deflate__dynamicLengthTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = lc * 2; t1[t2] = t1[t2] + 1; } else { t1 = _this.__Deflate__matches_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__matches_A = t1 + 1; t1 = _this.__Deflate__dynamicLengthTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = (B.List_6wn[lc] + 256 + 1) * 2; t1[t2] = t1[t2] + 1; t2 = _this.__Deflate__dynamicDistTree_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = A._HuffmanTree__dCode(dist - 1) * 2; t2[t1] = t2[t1] + 1; } t1 = _this.__Deflate__lastLit_A; if ((t1 & 8191) === 0) { t2 = _this.__Deflate__level_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2 > 2; } else t2 = false; if (t2) { outLength = t1 * 8; t1 = _this.__Deflate__strStart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__blockStart_A; t2 === $ && A.throwUnnamedLateFieldNI(); for (t3 = _this.__Deflate__dynamicDistTree_A, dcode = 0; dcode < 30; ++dcode) { t3 === $ && A.throwUnnamedLateFieldNI(); outLength += t3[dcode * 2] * (5 + B.List_SHm[dcode]); } outLength = A._rshift(outLength, 3); t3 = _this.__Deflate__matches_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__lastLit_A; if (t3 < t4 / 2 && outLength < (t1 - t2) / 2) return true; t1 = t4; } t2 = _this.__Deflate__litBufferSize_A; t2 === $ && A.throwUnnamedLateFieldNI(); return t1 === t2 - 1; }, _compressBlock$2(ltree, dtree) { var lx, t2, dist, lc, code, extra, _this = this, t1 = _this.__Deflate__lastLit_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 !== 0) { lx = 0; do { t1 = _this.__Deflate__pendingBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__dbuf_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 += lx * 2; dist = t1[t2] << 8 & 65280 | t1[t2 + 1] & 255; t2 = _this.__Deflate__lbuf_A; t2 === $ && A.throwUnnamedLateFieldNI(); lc = t1[t2 + lx] & 255; ++lx; if (dist === 0) _this._deflate$_sendCode$2(lc, ltree); else { code = B.List_6wn[lc]; _this._deflate$_sendCode$2(code + 256 + 1, ltree); extra = B.List_WRq[code]; if (extra !== 0) _this._sendBits$2(lc - B.List_WRq0[code], extra); --dist; code = A._HuffmanTree__dCode(dist); _this._deflate$_sendCode$2(code, dtree); extra = B.List_SHm[code]; if (extra !== 0) _this._sendBits$2(dist - B.List_SHm0[code], extra); } } while (lx < _this.__Deflate__lastLit_A); } _this._deflate$_sendCode$2(256, ltree); _this.__Deflate__lastEOBLen_A = ltree[513]; }, setDataType$0() { var t1, n, binFreq, asciiFreq; for (t1 = this.__Deflate__dynamicLengthTree_A, n = 0, binFreq = 0; n < 7;) { t1 === $ && A.throwUnnamedLateFieldNI(); binFreq += t1[n * 2]; ++n; } for (asciiFreq = 0; n < 128;) { t1 === $ && A.throwUnnamedLateFieldNI(); asciiFreq += t1[n * 2]; ++n; } for (; n < 256;) { t1 === $ && A.throwUnnamedLateFieldNI(); binFreq += t1[n * 2]; ++n; } this._dataType = binFreq > A._rshift(asciiFreq, 2) ? 0 : 1; }, biFlush$0() { var _this = this, t1 = _this.__Deflate__numValidBits_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 === 16) { t1 = _this.__Deflate__bitBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._putByte$1(t1); _this._putByte$1(A._rshift(t1, 8)); _this.__Deflate__numValidBits_A = _this.__Deflate__bitBuffer_A = 0; } else if (t1 >= 8) { t1 = _this.__Deflate__bitBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._putByte$1(t1); _this.__Deflate__bitBuffer_A = A._rshift(_this.__Deflate__bitBuffer_A, 8); _this.__Deflate__numValidBits_A = _this.__Deflate__numValidBits_A - 8; } }, _biWindup$0() { var _this = this, t1 = _this.__Deflate__numValidBits_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 > 8) { t1 = _this.__Deflate__bitBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._putByte$1(t1); _this._putByte$1(A._rshift(t1, 8)); } else if (t1 > 0) { t1 = _this.__Deflate__bitBuffer_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._putByte$1(t1); } _this.__Deflate__numValidBits_A = _this.__Deflate__bitBuffer_A = 0; }, _flushBlockOnly$1(eof) { var t2, t3, maxBlIndex, optLenb, staticLenb, _this = this, t1 = _this.__Deflate__blockStart_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 >= 0) t2 = t1; else t2 = -1; t3 = _this.__Deflate__strStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1 = t3 - t1; t3 = _this.__Deflate__level_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3 > 0) { if (_this._dataType === 2) _this.setDataType$0(); _this._lDesc._buildTree$1(_this); _this._dDesc._buildTree$1(_this); maxBlIndex = _this._buildBitLengthTree$0(); t3 = _this.__Deflate__optimalLen_A; t3 === $ && A.throwUnnamedLateFieldNI(); optLenb = A._rshift(t3 + 3 + 7, 3); t3 = _this.__Deflate__staticLen_A; t3 === $ && A.throwUnnamedLateFieldNI(); staticLenb = A._rshift(t3 + 3 + 7, 3); if (staticLenb <= optLenb) optLenb = staticLenb; } else { staticLenb = t1 + 5; optLenb = staticLenb; maxBlIndex = 0; } if (t1 + 4 <= optLenb && t2 !== -1) _this._trStoredBlock$3(t2, t1, eof); else if (staticLenb === optLenb) { _this._sendBits$2(2 + (eof ? 1 : 0), 3); _this._compressBlock$2(B.List_U0a, B.List_Oho0); } else { _this._sendBits$2(4 + (eof ? 1 : 0), 3); t1 = _this._lDesc.___HuffmanTree_maxCode_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._dDesc.___HuffmanTree_maxCode_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._sendAllTrees$3(t1 + 1, t2 + 1, maxBlIndex + 1); t2 = _this.__Deflate__dynamicLengthTree_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = _this.__Deflate__dynamicDistTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._compressBlock$2(t2, t1); } _this._initBlock$0(); if (eof) _this._biWindup$0(); _this.__Deflate__blockStart_A = _this.__Deflate__strStart_A; _this._flushPending$0(); }, _deflateStored$1(flush) { var maxBlockSize, t2, t3, maxStart, t4, _this = this, t1 = _this.__Deflate__pendingBufferSize_A; t1 === $ && A.throwUnnamedLateFieldNI(); maxBlockSize = t1 - 5; maxBlockSize = 65535 > maxBlockSize ? maxBlockSize : 65535; for (t1 = flush === 0; true;) { t2 = _this.__Deflate__lookAhead_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2 <= 1) { _this._fillWindow$0(); t2 = _this.__Deflate__lookAhead_A; t3 = t2 === 0; if (t3 && t1) return 0; if (t3) break; } t3 = _this.__Deflate__strStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__strStart_A = t3 + t2; _this.__Deflate__lookAhead_A = 0; t3 = _this.__Deflate__blockStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); maxStart = t3 + maxBlockSize; if (t2 >= maxStart) { _this.__Deflate__lookAhead_A = t2 - maxStart; _this.__Deflate__strStart_A = maxStart; _this._flushBlockOnly$1(false); } t2 = _this.__Deflate__strStart_A; t3 = _this.__Deflate__blockStart_A; t4 = _this.__Deflate__windowSize_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (t2 - t3 >= t4 - 262) _this._flushBlockOnly$1(false); } t1 = flush === 4; _this._flushBlockOnly$1(t1); return t1 ? 3 : 1; }, _trStoredBlock$3(buf, storedLen, eof) { var t1, _this = this; _this._sendBits$2(eof ? 1 : 0, 3); _this._biWindup$0(); _this.__Deflate__lastEOBLen_A = 8; _this._putByte$1(storedLen); _this._putByte$1(A._rshift(storedLen, 8)); t1 = (~storedLen >>> 0) + 65536 & 65535; _this._putByte$1(t1); _this._putByte$1(A._rshift(t1, 8)); t1 = _this.__Deflate__window_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._putBytes$3(t1, buf, storedLen); }, _fillWindow$0() { var t2, t3, t4, more, p, p0, n, m, t5, t6, _this = this, t1 = _this._deflate$_input; do { t2 = _this.__Deflate__actualWindowSize_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this.__Deflate__lookAhead_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__strStart_A; t4 === $ && A.throwUnnamedLateFieldNI(); more = t2 - t3 - t4; if (more === 0 && t4 === 0 && t3 === 0) { t2 = _this.__Deflate__windowSize_A; t2 === $ && A.throwUnnamedLateFieldNI(); more = t2; } else { t2 = _this.__Deflate__windowSize_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t4 >= t2 + t2 - 262) { t3 = _this.__Deflate__window_A; t3 === $ && A.throwUnnamedLateFieldNI(); B.NativeUint8List_methods.setRange$4(t3, 0, t2, t3, t2); t2 = _this._matchStart; p = _this.__Deflate__windowSize_A; _this._matchStart = t2 - p; _this.__Deflate__strStart_A = _this.__Deflate__strStart_A - p; t2 = _this.__Deflate__blockStart_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__blockStart_A = t2 - p; t2 = _this.__Deflate__hashSize_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this.__Deflate__head_A; t3 === $ && A.throwUnnamedLateFieldNI(); p0 = t2; n = p0; do { --p0; m = t3[p0] & 65535; t3[p0] = m >= p ? m - p : 0; } while (--n, n !== 0); t2 = _this.__Deflate__prev_A; t2 === $ && A.throwUnnamedLateFieldNI(); p0 = p; n = p0; do { --p0; m = t2[p0] & 65535; t2[p0] = m >= p ? m - p : 0; } while (--n, n !== 0); more += p; } } if (t1.get$isEOS()) return; t2 = _this.__Deflate__window_A; t2 === $ && A.throwUnnamedLateFieldNI(); n = _this._readBuf$3(t2, _this.__Deflate__strStart_A + _this.__Deflate__lookAhead_A, more); t2 = _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A + n; if (t2 >= 3) { t3 = _this.__Deflate__window_A; t4 = _this.__Deflate__strStart_A; t5 = t3[t4] & 255; _this.__Deflate__insertHash_A = t5; t6 = _this.__Deflate__hashShift_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = B.JSInt_methods.$shl(t5, t6); t4 = t3[t4 + 1]; t3 = _this.__Deflate__hashMask_A; t3 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__insertHash_A = ((t6 ^ t4 & 255) & t3) >>> 0; } } while (t2 < 262 && !t1.get$isEOS()); }, _deflateFast$1(flush) { var t1, t2, hashHead, t3, t4, t5, t6, t7, t8, bflush, t9, _this = this; for (t1 = flush === 0, t2 = $.Deflate____config.__late_helper$_name, hashHead = 0; true;) { t3 = _this.__Deflate__lookAhead_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3 < 262) { _this._fillWindow$0(); t3 = _this.__Deflate__lookAhead_A; if (t3 < 262 && t1) return 0; if (t3 === 0) break; } if (t3 >= 3) { t3 = _this.__Deflate__insertHash_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__hashShift_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = B.JSInt_methods.$shl(t3, t4); t3 = _this.__Deflate__window_A; t3 === $ && A.throwUnnamedLateFieldNI(); t5 = _this.__Deflate__strStart_A; t5 === $ && A.throwUnnamedLateFieldNI(); t3 = t3[t5 + 2]; t6 = _this.__Deflate__hashMask_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = _this.__Deflate__insertHash_A = ((t4 ^ t3 & 255) & t6) >>> 0; t3 = _this.__Deflate__head_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = t3[t6]; hashHead = t4 & 65535; t7 = _this.__Deflate__prev_A; t7 === $ && A.throwUnnamedLateFieldNI(); t8 = _this.__Deflate__windowMask_A; t8 === $ && A.throwUnnamedLateFieldNI(); t7[(t5 & t8) >>> 0] = t4; t3[t6] = t5; } if (hashHead !== 0) { t3 = _this.__Deflate__strStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__windowSize_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = (t3 - hashHead & 65535) <= t4 - 262; t3 = t4; } else t3 = false; if (t3) { t3 = _this.__Deflate__strategy_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3 !== 2) _this.__Deflate__matchLength_A = _this._longestMatch$1(hashHead); } t3 = _this.__Deflate__matchLength_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__strStart_A; if (t3 >= 3) { t4 === $ && A.throwUnnamedLateFieldNI(); bflush = _this._trTally$2(t4 - _this._matchStart, t3 - 3); t3 = _this.__Deflate__lookAhead_A; t4 = _this.__Deflate__matchLength_A; t3 -= t4; _this.__Deflate__lookAhead_A = t3; t5 = $.Deflate____config.__late_helper$_value; if (t5 === $.Deflate____config) A.throwExpression(A.LateError$fieldNI(t2)); if (t4 <= t5.maxLazy && t3 >= 3) { t3 = _this.__Deflate__matchLength_A = t4 - 1; do { t4 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; t5 = _this.__Deflate__insertHash_A; t5 === $ && A.throwUnnamedLateFieldNI(); t6 = _this.__Deflate__hashShift_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = B.JSInt_methods.$shl(t5, t6); t5 = _this.__Deflate__window_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5 = t5[t4 + 2]; t7 = _this.__Deflate__hashMask_A; t7 === $ && A.throwUnnamedLateFieldNI(); t7 = _this.__Deflate__insertHash_A = ((t6 ^ t5 & 255) & t7) >>> 0; t5 = _this.__Deflate__head_A; t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t5[t7]; hashHead = t6 & 65535; t8 = _this.__Deflate__prev_A; t8 === $ && A.throwUnnamedLateFieldNI(); t9 = _this.__Deflate__windowMask_A; t9 === $ && A.throwUnnamedLateFieldNI(); t8[(t4 & t9) >>> 0] = t6; t5[t7] = t4; } while (t3 = _this.__Deflate__matchLength_A = t3 - 1, t3 !== 0); _this.__Deflate__strStart_A = t4 + 1; } else { t3 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + t4; _this.__Deflate__matchLength_A = 0; t4 = _this.__Deflate__window_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = t4[t3] & 255; _this.__Deflate__insertHash_A = t5; t6 = _this.__Deflate__hashShift_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = B.JSInt_methods.$shl(t5, t6); t3 = t4[t3 + 1]; t4 = _this.__Deflate__hashMask_A; t4 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__insertHash_A = ((t6 ^ t3 & 255) & t4) >>> 0; } } else { t3 = _this.__Deflate__window_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 === $ && A.throwUnnamedLateFieldNI(); bflush = _this._trTally$2(0, t3[t4] & 255); _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; } if (bflush) _this._flushBlockOnly$1(false); } t1 = flush === 4; _this._flushBlockOnly$1(t1); return t1 ? 3 : 1; }, _deflateSlow$1(flush) { var t1, t2, hashHead, t3, t4, t5, t6, t7, t8, maxInsert, bflush, t9, _this = this; for (t1 = flush === 0, t2 = $.Deflate____config.__late_helper$_name, hashHead = 0; true;) { t3 = _this.__Deflate__lookAhead_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3 < 262) { _this._fillWindow$0(); t3 = _this.__Deflate__lookAhead_A; if (t3 < 262 && t1) return 0; if (t3 === 0) break; } if (t3 >= 3) { t3 = _this.__Deflate__insertHash_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__hashShift_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = B.JSInt_methods.$shl(t3, t4); t3 = _this.__Deflate__window_A; t3 === $ && A.throwUnnamedLateFieldNI(); t5 = _this.__Deflate__strStart_A; t5 === $ && A.throwUnnamedLateFieldNI(); t3 = t3[t5 + 2]; t6 = _this.__Deflate__hashMask_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = _this.__Deflate__insertHash_A = ((t4 ^ t3 & 255) & t6) >>> 0; t3 = _this.__Deflate__head_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = t3[t6]; hashHead = t4 & 65535; t7 = _this.__Deflate__prev_A; t7 === $ && A.throwUnnamedLateFieldNI(); t8 = _this.__Deflate__windowMask_A; t8 === $ && A.throwUnnamedLateFieldNI(); t7[(t5 & t8) >>> 0] = t4; t3[t6] = t5; } t3 = _this.__Deflate__matchLength_A; t3 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__prevLength_A = t3; _this.__Deflate__prevMatch_A = _this._matchStart; _this.__Deflate__matchLength_A = 2; if (hashHead !== 0) { t4 = $.Deflate____config.__late_helper$_value; if (t4 === $.Deflate____config) A.throwExpression(A.LateError$fieldNI(t2)); if (t3 < t4.maxLazy) { t3 = _this.__Deflate__strStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__windowSize_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = (t3 - hashHead & 65535) <= t4 - 262; t3 = t4; } else t3 = false; } else t3 = false; if (t3) { t3 = _this.__Deflate__strategy_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3 !== 2) { t3 = _this._longestMatch$1(hashHead); _this.__Deflate__matchLength_A = t3; } else t3 = 2; if (t3 <= 5) if (_this.__Deflate__strategy_A !== 1) if (t3 === 3) { t4 = _this.__Deflate__strStart_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t4 - _this._matchStart > 4096; } else t4 = false; else t4 = true; else t4 = false; if (t4) { _this.__Deflate__matchLength_A = 2; t3 = 2; } } else t3 = 2; t4 = _this.__Deflate__prevLength_A; if (t4 >= 3 && t3 <= t4) { t3 = _this.__Deflate__strStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); maxInsert = t3 + _this.__Deflate__lookAhead_A - 3; bflush = _this._trTally$2(t3 - 1 - _this.__Deflate__prevMatch_A, t4 - 3); t4 = _this.__Deflate__lookAhead_A; t3 = _this.__Deflate__prevLength_A; _this.__Deflate__lookAhead_A = t4 - (t3 - 1); t3 = _this.__Deflate__prevLength_A = t3 - 2; do { t4 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; if (t4 <= maxInsert) { t5 = _this.__Deflate__insertHash_A; t5 === $ && A.throwUnnamedLateFieldNI(); t6 = _this.__Deflate__hashShift_A; t6 === $ && A.throwUnnamedLateFieldNI(); t6 = B.JSInt_methods.$shl(t5, t6); t5 = _this.__Deflate__window_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5 = t5[t4 + 2]; t7 = _this.__Deflate__hashMask_A; t7 === $ && A.throwUnnamedLateFieldNI(); t7 = _this.__Deflate__insertHash_A = ((t6 ^ t5 & 255) & t7) >>> 0; t5 = _this.__Deflate__head_A; t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t5[t7]; hashHead = t6 & 65535; t8 = _this.__Deflate__prev_A; t8 === $ && A.throwUnnamedLateFieldNI(); t9 = _this.__Deflate__windowMask_A; t9 === $ && A.throwUnnamedLateFieldNI(); t8[(t4 & t9) >>> 0] = t6; t5[t7] = t4; } } while (t3 = _this.__Deflate__prevLength_A = t3 - 1, t3 !== 0); _this.__Deflate__matchAvailable_A = 0; _this.__Deflate__matchLength_A = 2; _this.__Deflate__strStart_A = t4 + 1; if (bflush) _this._flushBlockOnly$1(false); } else { t3 = _this.__Deflate__matchAvailable_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t3 !== 0) { t3 = _this.__Deflate__window_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__Deflate__strStart_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (_this._trTally$2(0, t3[t4 - 1] & 255)) _this._flushBlockOnly$1(false); _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; } else { _this.__Deflate__matchAvailable_A = 1; t3 = _this.__Deflate__strStart_A; t3 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__strStart_A = t3 + 1; _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; } } } t1 = _this.__Deflate__matchAvailable_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 !== 0) { t1 = _this.__Deflate__window_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__strStart_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._trTally$2(0, t1[t2 - 1] & 255); _this.__Deflate__matchAvailable_A = 0; } t1 = flush === 4; _this._flushBlockOnly$1(t1); return t1 ? 3 : 1; }, _longestMatch$1(curMatch) { var t2, t3, limit, niceMatch, strend, t4, t5, scanEnd1, scanEnd, scan, bestLen, scan0, match, len, _this = this, chainLength = $.Deflate____config._readField$0().maxChain, t1 = _this.__Deflate__strStart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__prevLength_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this.__Deflate__windowSize_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 -= 262; limit = t1 > t3 ? t1 - t3 : 0; niceMatch = $.Deflate____config._readField$0().niceLength; t3 = _this.__Deflate__windowMask_A; t3 === $ && A.throwUnnamedLateFieldNI(); strend = _this.__Deflate__strStart_A + 258; t4 = _this.__Deflate__window_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = t1 + t2; scanEnd1 = t4[t5 - 1]; scanEnd = t4[t5]; if (_this.__Deflate__prevLength_A >= $.Deflate____config._readField$0().goodLength) chainLength = chainLength >>> 2; t4 = _this.__Deflate__lookAhead_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (niceMatch > t4) niceMatch = t4; scan = strend - 258; bestLen = t2; scan0 = t1; do { c$0: { t1 = _this.__Deflate__window_A; t2 = curMatch + bestLen; if (t1[t2] === scanEnd) if (t1[t2 - 1] === scanEnd1) if (t1[curMatch] === t1[scan0]) { match = curMatch + 1; t2 = t1[match] !== t1[scan0 + 1]; } else { match = curMatch; t2 = true; } else { match = curMatch; t2 = true; } else { match = curMatch; t2 = true; } if (t2) break c$0; scan0 += 2; ++match; do { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; if (t1[scan0] === t1[match]) { ++scan0; ++match; t2 = t1[scan0] === t1[match] && scan0 < strend; } else t2 = false; } else t2 = false; } else t2 = false; } else t2 = false; } else t2 = false; } else t2 = false; } else t2 = false; } while (t2); len = 258 - (strend - scan0); if (len > bestLen) { _this._matchStart = curMatch; if (len >= niceMatch) { bestLen = len; break; } t1 = _this.__Deflate__window_A; t2 = scan + len; scanEnd1 = t1[t2 - 1]; scanEnd = t1[t2]; bestLen = len; } scan0 = scan; } t1 = _this.__Deflate__prev_A; t1 === $ && A.throwUnnamedLateFieldNI(); curMatch = t1[curMatch & t3] & 65535; if (curMatch > limit) { --chainLength; t1 = chainLength !== 0; } else t1 = false; } while (t1); t1 = _this.__Deflate__lookAhead_A; if (bestLen <= t1) return bestLen; return t1; }, _readBuf$3(buf, start, size) { var data, len, bytes, t1, _this = this; if (size === 0 || _this._deflate$_input.get$isEOS()) return 0; data = _this._deflate$_input.readBytes$1(size); len = data.get$length(0); if (len === 0) return 0; bytes = data.toUint8List$0(); t1 = J.getInterceptor$asx(bytes); if (len > t1.get$length(bytes)) len = t1.get$length(bytes); B.NativeUint8List_methods.setRange$3(buf, start, start + len, bytes); _this.total += len; _this.crc32 = A.getCrc32(bytes, _this.crc32); return len; }, _flushPending$0() { var t2, _this = this, t1 = _this.__Deflate__pending_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__Deflate__pendingBuffer_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this._output.writeBytes$2(t2, t1); t2 = _this.__Deflate__pendingOut_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__Deflate__pendingOut_A = t2 + t1; t1 = _this.__Deflate__pending_A - t1; _this.__Deflate__pending_A = t1; if (t1 === 0) _this.__Deflate__pendingOut_A = 0; }, _getConfig$1(level) { switch (level) { case 0: return new A._DeflaterConfig(0, 0, 0, 0, 0); case 1: return new A._DeflaterConfig(4, 4, 8, 4, 1); case 2: return new A._DeflaterConfig(4, 5, 16, 8, 1); case 3: return new A._DeflaterConfig(4, 6, 32, 32, 1); case 4: return new A._DeflaterConfig(4, 4, 16, 16, 2); case 5: return new A._DeflaterConfig(8, 16, 32, 32, 2); case 6: return new A._DeflaterConfig(8, 16, 128, 128, 2); case 7: return new A._DeflaterConfig(8, 32, 128, 256, 2); case 8: return new A._DeflaterConfig(32, 128, 258, 1024, 2); case 9: return new A._DeflaterConfig(32, 258, 258, 4096, 2); } throw A.wrapException(A.ArchiveException$("Invalid Deflate parameter")); } }; A._DeflaterConfig.prototype = {}; A._HuffmanTree.prototype = { _genBitlen$1(s) { var t2, stree, extra, baseRenamed, maxLength, bits, t3, t4, h, overflow, n, t5, t6, t7, xbits, f, bits0, m, _this = this, t1 = _this.___HuffmanTree_dynamicTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.___HuffmanTree_staticDesc_A; t2 === $ && A.throwUnnamedLateFieldNI(); stree = t2.staticTree; extra = t2.extraBits; baseRenamed = t2.extraBase; maxLength = t2.maxLength; for (t2 = s._bitLengthCount, bits = 0; bits <= 15; ++bits) t2[bits] = 0; t3 = s._heap; t4 = s.__Deflate__heapMax_A; t4 === $ && A.throwUnnamedLateFieldNI(); t1[t3[t4] * 2 + 1] = 0; for (h = t4 + 1, t4 = stree != null, overflow = 0; h < 573; ++h) { n = t3[h]; t5 = n * 2; t6 = t5 + 1; bits = t1[t1[t6] * 2 + 1] + 1; if (bits > maxLength) { ++overflow; bits = maxLength; } t1[t6] = bits; t7 = _this.___HuffmanTree_maxCode_A; t7 === $ && A.throwUnnamedLateFieldNI(); if (n > t7) continue; t2[bits] = t2[bits] + 1; xbits = n >= baseRenamed ? extra[n - baseRenamed] : 0; f = t1[t5]; t5 = s.__Deflate__optimalLen_A; t5 === $ && A.throwUnnamedLateFieldNI(); s.__Deflate__optimalLen_A = t5 + f * (bits + xbits); if (t4) { t5 = s.__Deflate__staticLen_A; t5 === $ && A.throwUnnamedLateFieldNI(); s.__Deflate__staticLen_A = t5 + f * (stree[t6] + xbits); } } if (overflow === 0) return; bits = maxLength - 1; do { for (bits0 = bits; t4 = t2[bits0], t4 === 0;) --bits0; t2[bits0] = t4 - 1; t4 = bits0 + 1; t2[t4] = t2[t4] + 2; t2[maxLength] = t2[maxLength] - 1; overflow -= 2; } while (overflow > 0); for (bits = maxLength; bits !== 0; --bits) { n = t2[bits]; for (; n !== 0;) { --h; m = t3[h]; t4 = _this.___HuffmanTree_maxCode_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (m > t4) continue; t4 = m * 2; t5 = t4 + 1; t6 = t1[t5]; if (t6 !== bits) { t7 = s.__Deflate__optimalLen_A; t7 === $ && A.throwUnnamedLateFieldNI(); s.__Deflate__optimalLen_A = t7 + (bits - t6) * t1[t4]; t1[t5] = bits; } --n; } } }, _buildTree$1(s) { var t2, stree, elems, t3, n, maxCode, t4, t5, node, t6, m, t7, node0, _this = this, t1 = _this.___HuffmanTree_dynamicTree_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.___HuffmanTree_staticDesc_A; t2 === $ && A.throwUnnamedLateFieldNI(); stree = t2.staticTree; elems = t2.numElements; s.__Deflate__heapLen_A = 0; s.__Deflate__heapMax_A = 573; for (t2 = s._heap, t3 = s._deflate$_depth, n = 0, maxCode = -1; n < elems; ++n) { t4 = n * 2; if (t1[t4] !== 0) { t2[++s.__Deflate__heapLen_A] = n; t3[n] = 0; maxCode = n; } else t1[t4 + 1] = 0; } for (t4 = stree != null; t5 = s.__Deflate__heapLen_A, t5 < 2;) { ++t5; s.__Deflate__heapLen_A = t5; if (maxCode < 2) { ++maxCode; node = maxCode; } else node = 0; t2[t5] = node; t5 = node * 2; t1[t5] = 1; t3[node] = 0; t6 = s.__Deflate__optimalLen_A; t6 === $ && A.throwUnnamedLateFieldNI(); s.__Deflate__optimalLen_A = t6 - 1; if (t4) { t6 = s.__Deflate__staticLen_A; t6 === $ && A.throwUnnamedLateFieldNI(); s.__Deflate__staticLen_A = t6 - stree[t5 + 1]; } } _this.___HuffmanTree_maxCode_A = maxCode; for (n = B.JSInt_methods._tdivFast$1(t5, 2); n >= 1; --n) s._pqdownheap$2(t1, n); node = elems; do { n = t2[1]; t2[1] = t2[s.__Deflate__heapLen_A--]; s._pqdownheap$2(t1, 1); m = t2[1]; t4 = --s.__Deflate__heapMax_A; t2[t4] = n; --t4; s.__Deflate__heapMax_A = t4; t2[t4] = m; t4 = n * 2; t5 = m * 2; t1[node * 2] = t1[t4] + t1[t5]; t6 = t3[n]; t7 = t3[m]; t3[node] = (t6 > t7 ? t6 : t7) + 1; t1[t5 + 1] = node; t1[t4 + 1] = node; node0 = node + 1; t2[1] = node; s._pqdownheap$2(t1, 1); if (s.__Deflate__heapLen_A >= 2) { node = node0; continue; } else break; } while (true); t2[--s.__Deflate__heapMax_A] = t2[1]; _this._genBitlen$1(s); A._HuffmanTree__genCodes(t1, maxCode, s._bitLengthCount); } }; A._StaticTree.prototype = {}; A.HuffmanTable.prototype = { HuffmanTable$1(lengths) { var i, size, bitLength, code, skip, t2, rtemp, reversed, j, t3, t4, _this = this, t1 = J.getInterceptor$asx(lengths), listSize = t1.get$length(lengths); for (i = 0; i < listSize; ++i) { if (t1.$index(lengths, i) > _this.maxCodeLength) _this.maxCodeLength = t1.$index(lengths, i); if (t1.$index(lengths, i) < _this.minCodeLength) _this.minCodeLength = t1.$index(lengths, i); } size = B.JSInt_methods.$shl(1, _this.maxCodeLength); _this.__HuffmanTable_table_A = new Uint32Array(size); for (bitLength = 1, code = 0, skip = 2; bitLength <= _this.maxCodeLength;) { for (t2 = bitLength << 16, i = 0; i < listSize; ++i) if (J.$eq$(t1.$index(lengths, i), bitLength)) { for (rtemp = code, reversed = 0, j = 0; j < bitLength; ++j) { reversed = (reversed << 1 | rtemp & 1) >>> 0; rtemp = rtemp >>> 1; } for (t3 = _this.__HuffmanTable_table_A, t4 = (t2 | i) >>> 0, j = reversed; j < size; j += skip) t3[j] = t4; ++code; } ++bitLength; code = code << 1 >>> 0; skip = skip << 1 >>> 0; } } }; A.Inflate.prototype = { _inflate$_inflate$0() { var t1, t2, t3, t4, _this = this; _this._bitBufferLen = _this._bitBuffer = 0; if (!_this.inputSet) return; t1 = _this.__Inflate_input_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.start; while (true) { t3 = t1.offset; t4 = t1.__InputStream__length_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (!(t3 < t2 + t4)) break; if (!_this._parseBlock$0()) break; } }, _parseBlock$0() { var blockHeader, _this = this, t1 = _this.__Inflate_input_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.get$isEOS()) return false; blockHeader = _this._readBits$1(3); switch (B.JSInt_methods._shrOtherPositive$1(blockHeader, 1)) { case 0: if (_this._parseUncompressedBlock$0() === -1) return false; break; case 1: if (_this._decodeHuffman$2(_this._fixedLiteralLengthTable, _this._fixedDistanceTable) === -1) return false; break; case 2: if (_this._parseDynamicHuffmanBlock$0() === -1) return false; break; default: return false; } return (blockHeader & 1) === 0; }, _readBits$1($length) { var t1, t2, t3, t4, _this = this; if ($length === 0) return 0; for (t1 = _this.__Inflate_input_A; t2 = _this._bitBufferLen, t2 < $length;) { t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.offset; t3 = t1.__InputStream__length_A; t3 === $ && A.throwUnnamedLateFieldNI(); if (t2 >= t1.start + t3) return -1; t1.offset = t2 + 1; t2 = J.$index$asx(t1.buffer, t2); t3 = _this._bitBuffer; t4 = _this._bitBufferLen; _this._bitBuffer = (t3 | B.JSInt_methods.$shl(t2, t4)) >>> 0; _this._bitBufferLen = t4 + 8; } t1 = _this._bitBuffer; t3 = B.JSInt_methods._shlPositive$1(1, $length); _this._bitBuffer = B.JSInt_methods._shrBothPositive$1(t1, $length); _this._bitBufferLen = t2 - $length; return (t1 & t3 - 1) >>> 0; }, _readCodeByTable$1(table) { var maxCodeLength, t2, t3, t4, t5, codeWithLength, codeLength, _this = this, t1 = table.__HuffmanTable_table_A; t1 === $ && A.throwUnnamedLateFieldNI(); maxCodeLength = table.maxCodeLength; for (t2 = _this.__Inflate_input_A; t3 = _this._bitBufferLen, t3 < maxCodeLength;) { t2 === $ && A.throwUnnamedLateFieldNI(); t3 = t2.offset; t4 = t2.__InputStream__length_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (t3 >= t2.start + t4) return -1; t2.offset = t3 + 1; t3 = J.$index$asx(t2.buffer, t3); t4 = _this._bitBuffer; t5 = _this._bitBufferLen; _this._bitBuffer = (t4 | B.JSInt_methods.$shl(t3, t5)) >>> 0; _this._bitBufferLen = t5 + 8; } t2 = _this._bitBuffer; codeWithLength = t1[(t2 & B.JSInt_methods.$shl(1, maxCodeLength) - 1) >>> 0]; codeLength = codeWithLength >>> 16; _this._bitBuffer = B.JSInt_methods._shrBothPositive$1(t2, codeLength); _this._bitBufferLen = t3 - codeLength; return codeWithLength & 65535; }, _parseUncompressedBlock$0() { var len, t1, _this = this; _this._bitBufferLen = _this._bitBuffer = 0; len = _this._readBits$1(16); t1 = _this._readBits$1(16); if (len !== 0 && len !== (t1 ^ 65535) >>> 0) return -1; t1 = _this.__Inflate_input_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (len > t1.get$length(0)) return -1; _this.output.writeInputStream$1(t1.readBytes$1(len)); return 0; }, _parseDynamicHuffmanBlock$0() { var numDistanceCodes, numCodeLengths, codeLengths, i, len, codeLengthsTable, t1, litLenDistLengths, litlenLengths, distLengths, _this = this, numLitLengthCodes = _this._readBits$1(5); if (numLitLengthCodes === -1) return -1; numLitLengthCodes += 257; if (numLitLengthCodes > 288) return -1; numDistanceCodes = _this._readBits$1(5); if (numDistanceCodes === -1) return -1; ++numDistanceCodes; if (numDistanceCodes > 32) return -1; numCodeLengths = _this._readBits$1(4); if (numCodeLengths === -1) return -1; numCodeLengths += 4; if (numCodeLengths > 19) return -1; codeLengths = new Uint8Array(19); for (i = 0; i < numCodeLengths; ++i) { len = _this._readBits$1(3); if (len === -1) return -1; codeLengths[B.List_QLv[i]] = len; } codeLengthsTable = A.HuffmanTable$(codeLengths); t1 = numLitLengthCodes + numDistanceCodes; litLenDistLengths = new Uint8Array(t1); litlenLengths = B.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, 0, numLitLengthCodes); distLengths = B.NativeByteBuffer_methods.asUint8List$2(litLenDistLengths.buffer, numLitLengthCodes, numDistanceCodes); if (_this._decode$3(t1, codeLengthsTable, litLenDistLengths) === -1) return -1; return _this._decodeHuffman$2(A.HuffmanTable$(litlenLengths), A.HuffmanTable$(distLengths)); }, _decodeHuffman$2(litlen, dist) { var t1, code, ti, codeLength, distCode, distance, t2, _this = this; for (t1 = _this.output; true;) { code = _this._readCodeByTable$1(litlen); if (code < 0 || code > 285) return -1; if (code === 256) break; if (code < 256) { t1.writeByte$1(code & 255); continue; } ti = code - 257; codeLength = B.List_WRq1[ti] + _this._readBits$1(B.List_6D40[ti]); distCode = _this._readCodeByTable$1(dist); if (distCode < 0 || distCode > 29) return -1; distance = B.List_B8J4[distCode] + _this._readBits$1(B.List_SHm[distCode]); for (t2 = -distance; codeLength > distance;) { t1.writeBytes$1(t1.subset$1(t2)); codeLength -= distance; } if (codeLength === distance) t1.writeBytes$1(t1.subset$1(t2)); else t1.writeBytes$1(t1.subset$2(t2, codeLength - distance)); } for (t1 = _this.__Inflate_input_A; t2 = _this._bitBufferLen, t2 >= 8;) { _this._bitBufferLen = t2 - 8; t1 === $ && A.throwUnnamedLateFieldNI(); if (--t1.offset < 0) t1.offset = 0; } return 0; }, _decode$3(num, table, codeLengths) { var prev, i, code, repeat, repeat0, i0, _this = this; for (prev = 0, i = 0; i < num;) { code = _this._readCodeByTable$1(table); if (code === -1) return -1; switch (code) { case 16: repeat = _this._readBits$1(2); if (repeat === -1) return -1; repeat += 3; for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { i0 = i + 1; codeLengths[i] = prev; } break; case 17: repeat = _this._readBits$1(3); if (repeat === -1) return -1; repeat += 3; for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { i0 = i + 1; codeLengths[i] = 0; } prev = 0; break; case 18: repeat = _this._readBits$1(7); if (repeat === -1) return -1; repeat += 11; for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { i0 = i + 1; codeLengths[i] = 0; } prev = 0; break; default: if (code < 0 || code > 15) return -1; i0 = i + 1; codeLengths[i] = code; i = i0; prev = code; break; } } return 0; } }; A.AttributedSpans.prototype = { hasAttributionsWithin$3$attributions$end$start(attributions, end, start) { var t1, t2, t3, i, foundAttributions, t4, attribution, attributionsToFind = A.LinkedHashSet_LinkedHashSet$from(attributions, type$.dynamic); for (t1 = A._instanceType(attributionsToFind), t2 = t1._eval$1("_LinkedHashSetIterator<1>"), t1 = t1._precomputed1, t3 = type$.Attribution, i = start; i <= end; ++i) { foundAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t3); for (t4 = new A._LinkedHashSetIterator(attributionsToFind, attributionsToFind._collection$_modifications, t2), t4._collection$_cell = attributionsToFind._collection$_first; t4.moveNext$0();) { attribution = t4._collection$_current; if (attribution == null) attribution = t1._as(attribution); if (this.hasAttributionAt$2$attribution(i, attribution)) foundAttributions.add$1(0, attribution); } attributionsToFind.removeAll$1(foundAttributions); if (attributionsToFind._collection$_length === 0) return true; } return false; }, getMatchingAttributionsWithin$3$attributions$end$start(attributions, end, start) { var t1, t2, i, t3, t4, otherAttributions, t5, t6, t7, matchingAttributions = A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution); for (t1 = A._instanceType(attributions), t2 = t1._eval$1("_LinkedHashSetIterator<1>"), t1 = t1._precomputed1, i = start; i <= end; ++i) for (t3 = new A._LinkedHashSetIterator(attributions, attributions._collection$_modifications, t2), t3._collection$_cell = attributions._collection$_first; t3.moveNext$0();) { t4 = t3._collection$_current; if (t4 == null) t4 = t1._as(t4); otherAttributions = this.getAllAttributionsAt$1(start); for (t5 = A._instanceType(otherAttributions), t6 = new A._LinkedHashSetIterator(otherAttributions, otherAttributions._collection$_modifications, t5._eval$1("_LinkedHashSetIterator<1>")), t6._collection$_cell = otherAttributions._collection$_first, t5 = t5._precomputed1; t6.moveNext$0();) { t7 = t6._collection$_current; if (t7 == null) t7 = t5._as(t7); if (t7.get$id(t7) === t4.get$id(t4)) matchingAttributions.add$1(0, t7); } } return matchingAttributions; }, hasAttributionAt$2$attribution(offset, attribution) { var t1, markerAfter, markerBefore = this._getStartingMarkerAtOrBefore$2$attribution(offset, attribution); if (markerBefore == null) return false; t1 = markerBefore.offset; markerAfter = this._getEndingMarkerAtOrAfter$2$attribution(t1, attribution); if (markerAfter == null) throw A.wrapException(A.Exception_Exception("Found an open-ended attribution. It starts with: " + markerBefore.toString$0(0))); return t1 <= offset && offset <= markerAfter.offset; }, getAllAttributionsAt$1(offset) { var t2, t3, _i, attributionsAtOffset, t1 = type$.Attribution, allAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t1); for (t2 = this._markers, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) allAttributions.add$1(0, t2[_i].attribution); attributionsAtOffset = A.LinkedHashSet_LinkedHashSet$_empty(t1); for (t1 = A._LinkedHashSetIterator$(allAttributions, allAttributions._collection$_modifications, allAttributions.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { t3 = t1._collection$_current; if (t3 == null) t3 = t2._as(t3); if (this.hasAttributionAt$2$attribution(offset, t3)) attributionsAtOffset.add$1(0, t3); } return attributionsAtOffset; }, getAttributionSpansInRange$4$attributionFilter$end$resizeSpansToFitInRange$start(attributionFilter, end, resizeSpansToFitInRange, start) { var i, attributionsAtOffset, t1, t2, t3, t4, t5, t6, _this = this, matchingAttributionSpans = A.LinkedHashSet_LinkedHashSet$_empty(type$.AttributionSpan); for (i = start; i <= end; ++i) { attributionsAtOffset = _this.getAllAttributionsAt$1(i); for (t1 = A._instanceType(attributionsAtOffset), t2 = new A._LinkedHashSetIterator(attributionsAtOffset, attributionsAtOffset._collection$_modifications, t1._eval$1("_LinkedHashSetIterator<1>")), t2._collection$_cell = attributionsAtOffset._collection$_first, t1 = t1._precomputed1, t3 = i; t2.moveNext$0();) { t4 = t2._collection$_current; if (t4 == null) t4 = t1._as(t4); if (attributionFilter.call$1(t4)) { if (!_this.hasAttributionAt$2$attribution(i, t4)) A.throwExpression(A.Exception_Exception("Tried to expand attribution (" + t4.toString$0(0) + ') at offset "' + t3 + string$.x22_but_)); t5 = _this._getStartingMarkerAtOrBefore$2$attribution(i, t4).offset; t6 = _this._getEndingMarkerAtOrAfter$2$attribution(t5, t4).offset; matchingAttributionSpans.add$1(0, new A.AttributionSpan(t4, t5, t6)); } } } return matchingAttributionSpans; }, getAttributedRange$2(attributions, offset) { var t1, t2, maxStartMarkerOffset, minEndMarkerOffset, t3, startMarkerOffset, endMarkerOffset; if (attributions._collection$_length === 0) throw A.wrapException(A.Exception_Exception("getAttributedRange requires a non empty set of attributions")); for (t1 = A._LinkedHashSetIterator$(attributions, attributions._collection$_modifications, A._instanceType(attributions)._precomputed1), t2 = t1.$ti._precomputed1, maxStartMarkerOffset = null, minEndMarkerOffset = null; t1.moveNext$0();) { t3 = t1._collection$_current; if (t3 == null) t3 = t2._as(t3); if (!this.hasAttributionAt$2$attribution(offset, t3)) throw A.wrapException(A.Exception_Exception("Tried to get the attributed range of (" + t3.toString$0(0) + ') at offset "' + offset + string$.x22_but_)); startMarkerOffset = this._getStartingMarkerAtOrBefore$2$attribution(offset, t3).offset; endMarkerOffset = this._getEndingMarkerAtOrAfter$2$attribution(offset, t3).offset; if (maxStartMarkerOffset == null || startMarkerOffset > maxStartMarkerOffset) maxStartMarkerOffset = startMarkerOffset; if (minEndMarkerOffset == null || endMarkerOffset < minEndMarkerOffset) minEndMarkerOffset = endMarkerOffset; } maxStartMarkerOffset.toString; minEndMarkerOffset.toString; return new A.SpanRange(maxStartMarkerOffset, minEndMarkerOffset); }, _getStartingMarkerAtOrBefore$2$attribution(offset, attribution) { var t1 = this._markers; return A.IterableExtension_firstWhereOrNull(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")).super$Iterable$where(0, new A.AttributedSpans__getStartingMarkerAtOrBefore_closure(attribution)), new A.AttributedSpans__getStartingMarkerAtOrBefore_closure0(offset)); }, _getEndingMarkerAtOrAfter$2$attribution(offset, attribution) { var t1 = this._markers; return A.IterableExtension_firstWhereOrNull(new A.WhereIterable(t1, new A.AttributedSpans__getEndingMarkerAtOrAfter_closure(attribution), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")), new A.AttributedSpans__getEndingMarkerAtOrAfter_closure0(offset)); }, addAttribution$4$autoMerge$end$newAttribution$start(autoMerge, end, newAttribution, start) { var t1, t2, t3, t4, matchingAttributions, t5, t6, conflictStart, i, endMarkerJustBefore, endMarkerAtNewStart, markersToDelete, lastDeletedMarker, _this = this, _null = null; if (start < 0 || start > end) { $.$get$_log().log$4(B.Level_WARNING_900, "Tried to add an attribution (" + newAttribution.toString$0(0) + ") at an invalid start/end: " + start + " -> " + end, _null, _null); return; } t1 = $.$get$_log(); t2 = "" + start; t3 = "" + end; t1.log$4(B.Level_INFO_800, "Adding attribution (" + newAttribution.toString$0(0) + ") from " + t2 + " to " + t3, _null, _null); t4 = _this._markers; t1.log$4(B.Level_FINER_400, "Has " + t4.length + " markers before addition", _null, _null); matchingAttributions = _this.getMatchingAttributionsWithin$3$attributions$end$start(A.LinkedHashSet_LinkedHashSet$_literal([newAttribution], type$.Attribution), end, start); if (matchingAttributions._collection$_length !== 0) for (t1 = A._LinkedHashSetIterator$(matchingAttributions, matchingAttributions._collection$_modifications, A._instanceType(matchingAttributions)._precomputed1), t5 = t1.$ti._precomputed1; t1.moveNext$0();) { t6 = t1._collection$_current; if (t6 == null) t6 = t5._as(t6); if (!newAttribution.canMergeWith$1(t6) || false) { conflictStart = A._Cell$named("conflictStart"); for (i = start; i <= end; ++i) if (_this.hasAttributionAt$2$attribution(i, t6)) { conflictStart.__late_helper$_value = i; break; } throw A.wrapException(new A.IncompatibleOverlappingAttributionsException(t6, newAttribution, conflictStart.readLocal$0())); } } endMarkerJustBefore = new A.SpanMarker(newAttribution, start - 1, B.SpanMarkerType_1); endMarkerAtNewStart = new A.SpanMarker(newAttribution, start, B.SpanMarkerType_1); if (B.JSArray_methods.contains$1(t4, endMarkerJustBefore)) { $.$get$_log().log$4(B.Level_FINE_500, "A compatible span already exists immediately before the new span range. Combining the spans.", _null, _null); B.JSArray_methods.remove$1(t4, endMarkerJustBefore); } else if (!_this.hasAttributionAt$2$attribution(start, newAttribution)) { $.$get$_log().log$4(B.Level_FINE_500, "Adding start marker for new span at: " + t2, _null, _null); _this._insertMarker$1(new A.SpanMarker(newAttribution, start, B.SpanMarkerType_0)); } else if (B.JSArray_methods.contains$1(t4, endMarkerAtNewStart)) { $.$get$_log().log$4(B.Level_FINE_500, "Removing existing end marker at " + t2 + " because the new span should merge with an existing span", _null, _null); B.JSArray_methods.remove$1(t4, endMarkerAtNewStart); } t1 = A._arrayInstanceType(t4)._eval$1("WhereIterable<1>"); t5 = t1._eval$1("WhereIterable<Iterable.E>"); t6 = t5._eval$1("WhereIterable<Iterable.E>"); markersToDelete = A.List_List$of(new A.WhereIterable(new A.WhereIterable(new A.WhereIterable(t4, new A.AttributedSpans_addAttribution_closure(newAttribution), t1), new A.AttributedSpans_addAttribution_closure0(start), t5), new A.AttributedSpans_addAttribution_closure1(end), t6), true, t6._eval$1("Iterable.E")); t6 = $.$get$_log(); t6.log$4(B.Level_FINE_500, "Removing " + markersToDelete.length + " markers between " + t2 + " and " + t3, _null, _null); if (!!t4.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t4, new A.AttributedSpans_addAttribution_closure2(markersToDelete), true); lastDeletedMarker = markersToDelete.length !== 0 ? B.JSArray_methods.get$last(markersToDelete) : _null; if (lastDeletedMarker == null || lastDeletedMarker.markerType === B.SpanMarkerType_1) { t6.log$4(B.Level_FINE_500, "Inserting ending marker at: " + t3, _null, _null); _this._insertMarker$1(new A.SpanMarker(newAttribution, end, B.SpanMarkerType_1)); } }, addAttribution$3$end$newAttribution$start(end, newAttribution, start) { return this.addAttribution$4$autoMerge$end$newAttribution$start(true, end, newAttribution, start); }, removeAttribution$3$attributionToRemove$end$start(attributionToRemove, end, start) { var endCapMarkersToInsert, t4, t5, t6, t7, markersToDelete, _this = this, _null = null, t1 = $.$get$_log(), t2 = "" + start, t3 = "" + end; t1.log$4(B.Level_INFO_800, "Removing attribution " + attributionToRemove.toString$0(0) + " from " + t2 + " to " + t3, _null, _null); if (start < 0 || start > end) throw A.wrapException(A.Exception_Exception("removeAttribution() did not satisfy start < 0 and start > end, start: " + t2 + ", end: " + t3)); if (!_this.hasAttributionsWithin$3$attributions$end$start(A.LinkedHashSet_LinkedHashSet$_literal([attributionToRemove], type$.Attribution), end, start)) { t1.log$4(B.Level_FINE_500, "No such attribution exists in the given span range", _null, _null); return; } endCapMarkersToInsert = A.LinkedHashSet_LinkedHashSet$_empty(type$.SpanMarker); t4 = start - 1; if (_this.hasAttributionAt$2$attribution(t4, attributionToRemove)) if (_this._getMarkerAt$3(attributionToRemove, t4, B.SpanMarkerType_1)._collection$_length === 0) { t1.log$4(B.Level_FINER_400, 'Creating a new "end" marker to appear before the removal range at ' + t4, _null, _null); endCapMarkersToInsert.add$1(0, new A.SpanMarker(attributionToRemove, t4, B.SpanMarkerType_1)); } t4 = end + 1; if (_this.hasAttributionAt$2$attribution(t4, attributionToRemove)) if (_this._getMarkerAt$3(attributionToRemove, t4, B.SpanMarkerType_0)._collection$_length === 0) { t1.log$4(B.Level_FINER_400, 'Creating a new "start" marker to appear after the removal range at ' + t4, _null, _null); endCapMarkersToInsert.add$1(0, new A.SpanMarker(attributionToRemove, t4, B.SpanMarkerType_0)); } for (t4 = A._LinkedHashSetIterator$(endCapMarkersToInsert, endCapMarkersToInsert._collection$_modifications, endCapMarkersToInsert.$ti._precomputed1), t5 = t4.$ti._precomputed1; t4.moveNext$0();) { t6 = t4._collection$_current; if (t6 == null) t6 = t5._as(t6); t1.log$4(B.Level_FINER_400, "Inserting new cap marker: " + t6.toString$0(0), _null, _null); _this._insertMarker$1(t6); } t4 = _this._markers; t5 = A._arrayInstanceType(t4)._eval$1("WhereIterable<1>"); t6 = t5._eval$1("WhereIterable<Iterable.E>"); t7 = t6._eval$1("WhereIterable<Iterable.E>"); markersToDelete = A.List_List$of(new A.WhereIterable(new A.WhereIterable(new A.WhereIterable(t4, new A.AttributedSpans_removeAttribution_closure(attributionToRemove), t5), new A.AttributedSpans_removeAttribution_closure0(start), t6), new A.AttributedSpans_removeAttribution_closure1(end), t7), true, t7._eval$1("Iterable.E")); t1.log$4(B.Level_FINER_400, "removing " + markersToDelete.length + " markers between " + t2 + " and " + t3, _null, _null); if (!!t4.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t4, new A.AttributedSpans_removeAttribution_closure2(markersToDelete), true); t1.log$4(B.Level_FINER_400, "all attributions after:", _null, _null); new A.WhereIterable(t4, new A.AttributedSpans_removeAttribution_closure3(attributionToRemove), t5).forEach$1(0, new A.AttributedSpans_removeAttribution_closure4()); }, _getMarkerAt$3(attribution, offset, type) { var t1 = this._markers, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), t3 = t2._eval$1("WhereIterable<Iterable.E>"), t4 = t3._eval$1("WhereIterable<Iterable.E>"); return A.LinkedHashSet_LinkedHashSet$of(new A.WhereIterable(new A.WhereIterable(new A.WhereIterable(t1, new A.AttributedSpans__getMarkerAt_closure(attribution), t2), new A.AttributedSpans__getMarkerAt_closure0(offset), t3), new A.AttributedSpans__getMarkerAt_closure1(type), t4), t4._eval$1("Iterable.E")); }, _insertMarker$1(newMarker) { var t1 = this._markers, indexOfFirstMarkerAfterInsertionPoint = B.JSArray_methods.indexWhere$1(t1, new A.AttributedSpans__insertMarker_closure(newMarker)); if (indexOfFirstMarkerAfterInsertionPoint >= 0) B.JSArray_methods.insert$2(t1, indexOfFirstMarkerAfterInsertionPoint, newMarker); else t1.push(newMarker); }, addAt$2$index$other(index, other) { var t2, t3, pushedSpans, combinedAttributions, _i, _null = null, t1 = this._markers; if (t1.length !== 0 && B.JSArray_methods.get$last(t1).offset >= index) throw A.wrapException(A.Exception_Exception("Another AttributedSpans can only be appended after the final marker in this AttributedSpans. Final marker: " + A.S(B.JSArray_methods.get$last(t1)))); t2 = $.$get$_log(); t2.log$4(B.Level_FINE_500, "attributions before pushing them:", _null, _null); t2.log$4(B.Level_FINE_500, this.toString$0(0), _null, _null); t2.log$4(B.Level_FINE_500, "pushing `other` markers by: " + index, _null, _null); t2.log$4(B.Level_FINE_500, "`other` attributions before pushing them:", _null, _null); t2.log$4(B.Level_FINE_500, other.toString$0(0), _null, _null); t3 = type$.SpanMarker; pushedSpans = A.AttributedSpans$(A.List_List$from(other._markers, true, t3)); pushedSpans.pushAttributionsBack$1(index); combinedAttributions = A.List_List$from(t1, true, t3); B.JSArray_methods.addAll$1(combinedAttributions, pushedSpans._markers); t2.log$4(B.Level_FINE_500, "combined attributions before merge:", _null, _null); for (t3 = combinedAttributions.length, _i = 0; _i < combinedAttributions.length; combinedAttributions.length === t3 || (0, A.throwConcurrentModificationError)(combinedAttributions), ++_i) t2.log$4(B.Level_FINE_500, " - " + A.S(combinedAttributions[_i]), _null, _null); this._mergeBackToBackAttributions$2(combinedAttributions, index); t2.log$4(B.Level_FINE_500, "combined attributions after merge:", _null, _null); for (t3 = combinedAttributions.length, _i = 0; _i < combinedAttributions.length; combinedAttributions.length === t3 || (0, A.throwConcurrentModificationError)(combinedAttributions), ++_i) t2.log$4(B.Level_FINE_500, " - " + A.S(combinedAttributions[_i]), _null, _null); B.JSArray_methods.clear$0(t1); B.JSArray_methods.addAll$1(t1, combinedAttributions); }, _mergeBackToBackAttributions$2(attributions, mergePoint) { var t3, t4, endAtMergePointMarkers, startAtMergePointMarkers, _i, startMarker, endMarker, _null = null, t1 = $.$get$_log(), t2 = "" + mergePoint; t1.log$4(B.Level_FINE_500, "merging attributions at " + t2, _null, _null); t3 = A._arrayInstanceType(attributions)._eval$1("WhereIterable<1>"); t4 = t3._eval$1("Iterable.E"); endAtMergePointMarkers = A.List_List$of(new A.WhereIterable(attributions, new A.AttributedSpans__mergeBackToBackAttributions_closure(mergePoint), t3), true, t4); startAtMergePointMarkers = A.List_List$of(new A.WhereIterable(attributions, new A.AttributedSpans__mergeBackToBackAttributions_closure0(mergePoint), t3), true, t4); for (t3 = startAtMergePointMarkers.length, t2 = "combining left/right spans at edge at index " + t2, _i = 0; _i < t3; ++_i) { startMarker = startAtMergePointMarkers[_i]; t1.log$4(B.Level_FINE_500, "marker on right side: " + A.S(startMarker), _null, _null); endMarker = A.IterableExtension_firstWhereOrNull(endAtMergePointMarkers, new A.AttributedSpans__mergeBackToBackAttributions_closure1(startMarker)); t1.log$4(B.Level_FINE_500, "matching marker on left side? " + A.S(endMarker), _null, _null); if (endMarker != null) { t1.log$4(B.Level_FINE_500, t2, _null, _null); t1.log$4(B.Level_FINE_500, "Removing markers:", _null, _null); t1.log$4(B.Level_FINE_500, " - " + A.S(startMarker), _null, _null); t1.log$4(B.Level_FINE_500, " - " + endMarker.toString$0(0), _null, _null); B.JSArray_methods.remove$1(attributions, startMarker); B.JSArray_methods.remove$1(attributions, endMarker); } } }, copyAttributionRegion$2(startOffset, endOffset) { var t1, cutAttributions, t2, t3, foundStartMarkers, foundEndMarkers, t4, _i, _null = null, _box_0 = {}; endOffset = _box_0.endOffset = endOffset; _box_0.endOffset = endOffset; t1 = $.$get$_log(); t1.log$4(B.Level_FINE_500, "start: " + startOffset + ", end: " + endOffset, _null, _null); cutAttributions = A._setArrayType([], type$.JSArray_SpanMarker); t1.log$4(B.Level_FINE_500, "inspecting existing markers in full AttributedSpans", _null, _null); t2 = type$.Attribution; t3 = type$.int; foundStartMarkers = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); foundEndMarkers = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); t3 = this._markers; t2 = A._arrayInstanceType(t3); t4 = t2._eval$1("WhereIterable<1>"); new A.WhereIterable(t3, new A.AttributedSpans_copyAttributionRegion_closure(startOffset), t4).forEach$1(0, new A.AttributedSpans_copyAttributionRegion_closure0(foundStartMarkers)); foundStartMarkers.forEach$1(0, new A.AttributedSpans_copyAttributionRegion_closure1(this, cutAttributions, startOffset)); new A.WhereIterable(t3, new A.AttributedSpans_copyAttributionRegion_closure2(_box_0, startOffset), t4).forEach$1(0, new A.AttributedSpans_copyAttributionRegion_closure3(cutAttributions, startOffset)); new A.ReversedListIterable(t3, t2._eval$1("ReversedListIterable<1>")).super$Iterable$where(0, new A.AttributedSpans_copyAttributionRegion_closure4(_box_0)).forEach$1(0, new A.AttributedSpans_copyAttributionRegion_closure5(foundEndMarkers)); foundEndMarkers.forEach$1(0, new A.AttributedSpans_copyAttributionRegion_closure6(_box_0, this, cutAttributions, startOffset)); t1.log$4(B.Level_FINE_500, "copied attributions:", _null, _null); for (t2 = cutAttributions.length, _i = 0; _i < cutAttributions.length; cutAttributions.length === t2 || (0, A.throwConcurrentModificationError)(cutAttributions), ++_i) t1.log$4(B.Level_FINE_500, " - " + cutAttributions[_i].toString$0(0), _null, _null); return A.AttributedSpans$(cutAttributions); }, pushAttributionsBack$1(offset) { var t1 = this._markers, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SpanMarker>"), pushedAttributions = A.List_List$of(new A.MappedListIterable(t1, new A.AttributedSpans_pushAttributionsBack_closure(offset), t2), true, t2._eval$1("ListIterable.E")); B.JSArray_methods.clear$0(t1); B.JSArray_methods.addAll$1(t1, pushedAttributions); }, contractAttributions$2$count$startOffset(count, startOffset) { var t4, t5, t6, needToEndAttributions, needToStartAttributions, t7, attribution, offset, offset0, _null = null, contractedAttributions = A._setArrayType([], type$.JSArray_SpanMarker), t1 = this._markers, t2 = A._arrayInstanceType(t1), t3 = t2._eval$1("WhereIterable<1>"); B.JSArray_methods.addAll$1(contractedAttributions, new A.WhereIterable(t1, new A.AttributedSpans_contractAttributions_closure(startOffset), t3)); t4 = $.$get$_log(); t5 = "" + startOffset; t4.log$4(B.Level_FINE_500, "removing " + count + " characters starting at " + t5, _null, _null); t6 = type$.dynamic; needToEndAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t6); needToStartAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t6); new A.WhereIterable(t1, new A.AttributedSpans_contractAttributions_closure0(startOffset, count), t3).forEach$1(0, new A.AttributedSpans_contractAttributions_closure1(needToEndAttributions, needToStartAttributions)); for (t6 = A._LinkedHashSetIterator$(needToStartAttributions, needToStartAttributions._collection$_modifications, needToStartAttributions.$ti._precomputed1), t5 = "adding back a start marker at " + t5, t7 = t6.$ti._precomputed1; t6.moveNext$0();) { attribution = t6._collection$_current; if (attribution == null) attribution = t7._as(attribution); t4.log$4(B.Level_FINE_500, t5, _null, _null); contractedAttributions.push(new A.SpanMarker(attribution, startOffset, B.SpanMarkerType_0)); } for (t5 = A._LinkedHashSetIterator$(needToEndAttributions, needToEndAttributions._collection$_modifications, needToEndAttributions.$ti._precomputed1), t6 = startOffset > 0, t7 = t5.$ti._precomputed1, offset = startOffset - 1; t5.moveNext$0();) { attribution = t5._collection$_current; if (attribution == null) attribution = t7._as(attribution); offset0 = t6 ? offset : 0; t4.log$4(B.Level_FINE_500, "adding back an end marker at " + offset0, _null, _null); contractedAttributions.push(new A.SpanMarker(attribution, offset0, B.SpanMarkerType_1)); } B.JSArray_methods.addAll$1(contractedAttributions, new A.MappedIterable(new A.WhereIterable(t1, new A.AttributedSpans_contractAttributions_closure2(startOffset, count), t3), new A.AttributedSpans_contractAttributions_closure3(count), t2._eval$1("MappedIterable<1,SpanMarker>"))); B.JSArray_methods.clear$0(t1); B.JSArray_methods.addAll$1(t1, contractedAttributions); }, collapseSpans$1$contentLength(contentLength) { var t3, t4, _i, t5, collapsedSpans, currentSpan, marker, nextStart, t6, t7, _null = null, _s22_ = ", current span is now ", t1 = $.$get$_log(), t2 = "" + contentLength; t1.log$4(B.Level_FINE_500, "content length: " + t2, _null, _null); t1.log$4(B.Level_FINE_500, "attributions used to compute spans:", _null, _null); for (t3 = this._markers, t4 = t3.length, _i = 0; t5 = t3.length, _i < t5; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) t1.log$4(B.Level_FINE_500, " - " + A.S(t3[_i]), _null, _null); if (contentLength === 0) { t1.log$4(B.Level_FINE_500, "content is empty. Returning empty span list.", _null, _null); return A._setArrayType([], type$.JSArray_MultiAttributionSpan); } if (t5 === 0 || B.JSArray_methods.get$first(t3).offset > contentLength - 1) return A._setArrayType([new A.MultiAttributionSpan(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution), 0, contentLength - 1)], type$.JSArray_MultiAttributionSpan); collapsedSpans = A._setArrayType([], type$.JSArray_MultiAttributionSpan); t4 = contentLength - 1; currentSpan = new A.MultiAttributionSpan(A.LinkedHashSet_LinkedHashSet$_empty(type$.Attribution), 0, t4); t1.log$4(B.Level_FINE_500, "walking list of markers to determine collapsed spans.", _null, _null); for (t1 = t3.length, _i = 0; _i < t3.length; t3.length === t1 || (0, A.throwConcurrentModificationError)(t3), ++_i) { marker = t3[_i]; nextStart = marker.offset; if (nextStart > t4) { $.$get$_log().log$4(B.Level_FINE_500, "ran out of markers within the requested contentLength, breaking early.", _null, _null); break; } t5 = marker.markerType; t6 = t5 === B.SpanMarkerType_0; if (!(t6 && nextStart > currentSpan.start)) t7 = t5 === B.SpanMarkerType_1 && nextStart >= currentSpan.start; else t7 = true; if (t7) { t7 = $.$get$_log(); t7.log$4(B.Level_FINE_500, "encountered a span boundary with " + (t6 ? "a start" : "an end") + " marker at offset " + nextStart + ".", _null, _null); collapsedSpans.push(currentSpan.copyWith$1$end(t5 === B.SpanMarkerType_1 ? nextStart : nextStart - 1)); t7.log$4(B.Level_FINE_500, "committed span " + B.JSArray_methods.get$last(collapsedSpans).toString$0(0), _null, _null); currentSpan = currentSpan.copyWith$1$start(t6 ? nextStart : nextStart + 1); t7.log$4(B.Level_FINE_500, "new current span is " + currentSpan.toString$0(0), _null, _null); } if (t6) { t5 = marker.attribution; currentSpan.attributions.add$1(0, t5); $.$get$_log().log$4(B.Level_FINE_500, "merging " + t5.toString$0(0) + _s22_ + currentSpan.toString$0(0) + ".", _null, _null); } else if (t5 === B.SpanMarkerType_1) { t5 = marker.attribution; currentSpan.attributions.remove$1(0, t5); $.$get$_log().log$4(B.Level_FINE_500, "removing attribution " + t5.toString$0(0) + _s22_ + currentSpan.toString$0(0) + ".", _null, _null); } } if (collapsedSpans.length !== 0 && B.JSArray_methods.get$last(collapsedSpans).end < t4) { collapsedSpans.push(currentSpan); $.$get$_log().log$4(B.Level_FINE_500, "committing last span to cover requested content length of " + t2 + ": " + B.JSArray_methods.get$last(collapsedSpans).toString$0(0), _null, _null); } $.$get$_log().log$4(B.Level_FINE_500, "returning collapsed spans: " + A.S(collapsedSpans), _null, _null); return collapsedSpans; }, $eq(_, other) { var t1; if (other == null) return false; if (this !== other) t1 = other instanceof A.AttributedSpans && A.getRuntimeTypeOfDartObject(this) === A.getRuntimeTypeOfDartObject(other) && B.DeepCollectionEquality_true.equals$2(this._markers, other._markers); else t1 = true; return t1; }, get$hashCode(_) { return A.Primitives_objectHashCode(this._markers); }, toString$0(_) { var _i, t1 = this._markers, t2 = t1.length, t3 = "[AttributedSpans] (" + B.JSNumber_methods.round$0(t2 / 2) + " spans):"; for (_i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t3 += "\n - " + A.S(t1[_i]); return t3.charCodeAt(0) == 0 ? t3 : t3; } }; A.AttributedSpans__getStartingMarkerAtOrBefore_closure.prototype = { call$1(marker) { var t1 = this.attribution; return t1 == null || marker.attribution.$eq(0, t1); }, $signature: 74 }; A.AttributedSpans__getStartingMarkerAtOrBefore_closure0.prototype = { call$1(marker) { return marker.markerType === B.SpanMarkerType_0 && marker.offset <= this.offset; }, $signature: 74 }; A.AttributedSpans__getEndingMarkerAtOrAfter_closure.prototype = { call$1(marker) { var t2, t1 = this.attribution; if (t1 != null) { t2 = marker.attribution; t1 = t2.get$id(t2) === t1.get$id(t1); } else t1 = true; return t1; }, $signature: 74 }; A.AttributedSpans__getEndingMarkerAtOrAfter_closure0.prototype = { call$1(marker) { return marker.markerType === B.SpanMarkerType_1 && marker.offset >= this.offset; }, $signature: 74 }; A.AttributedSpans_addAttribution_closure.prototype = { call$1(attribution) { return attribution.attribution.$eq(0, this.newAttribution); }, $signature: 74 }; A.AttributedSpans_addAttribution_closure0.prototype = { call$1(attribution) { return attribution.offset > this.start; }, $signature: 74 }; A.AttributedSpans_addAttribution_closure1.prototype = { call$1(attribution) { return attribution.offset <= this.end; }, $signature: 74 }; A.AttributedSpans_addAttribution_closure2.prototype = { call$1(element) { return B.JSArray_methods.contains$1(this.markersToDelete, element); }, $signature: 74 }; A.AttributedSpans_removeAttribution_closure.prototype = { call$1(attribution) { return attribution.attribution.$eq(0, this.attributionToRemove); }, $signature: 74 }; A.AttributedSpans_removeAttribution_closure0.prototype = { call$1(attribution) { return attribution.offset >= this.start; }, $signature: 74 }; A.AttributedSpans_removeAttribution_closure1.prototype = { call$1(attribution) { return attribution.offset <= this.end; }, $signature: 74 }; A.AttributedSpans_removeAttribution_closure2.prototype = { call$1(element) { return B.JSArray_methods.contains$1(this.markersToDelete, element); }, $signature: 74 }; A.AttributedSpans_removeAttribution_closure3.prototype = { call$1(element) { return element.attribution.$eq(0, this.attributionToRemove); }, $signature: 74 }; A.AttributedSpans_removeAttribution_closure4.prototype = { call$1(element) { $.$get$_log().log$4(B.Level_FINER_400, " - " + element.toString$0(0), null, null); }, $signature: 350 }; A.AttributedSpans__getMarkerAt_closure.prototype = { call$1(marker) { return marker.attribution.$eq(0, this.attribution); }, $signature: 74 }; A.AttributedSpans__getMarkerAt_closure0.prototype = { call$1(marker) { return marker.offset === this.offset; }, $signature: 74 }; A.AttributedSpans__getMarkerAt_closure1.prototype = { call$1(marker) { return marker.markerType === this.type; }, $signature: 74 }; A.AttributedSpans__insertMarker_closure.prototype = { call$1(existingMarker) { return existingMarker.compareTo$1(0, this.newMarker) > 0; }, $signature: 74 }; A.AttributedSpans__mergeBackToBackAttributions_closure.prototype = { call$1(marker) { return marker.markerType === B.SpanMarkerType_1 && marker.offset === this.mergePoint - 1; }, $signature: 74 }; A.AttributedSpans__mergeBackToBackAttributions_closure0.prototype = { call$1(marker) { return marker.markerType === B.SpanMarkerType_0 && marker.offset === this.mergePoint; }, $signature: 74 }; A.AttributedSpans__mergeBackToBackAttributions_closure1.prototype = { call$1(marker) { return marker.attribution.$eq(0, this.startMarker.attribution); }, $signature: 74 }; A.AttributedSpans_copyAttributionRegion_closure.prototype = { call$1(marker) { return marker.offset < this.startOffset; }, $signature: 74 }; A.AttributedSpans_copyAttributionRegion_closure0.prototype = { call$1(marker) { var t2, t3, _null = null, t1 = $.$get$_log(); t1.log$4(B.Level_FINE_500, "marker before the copy region: " + marker.toString$0(0), _null, _null); t2 = this.foundStartMarkers; t3 = marker.attribution; if (marker.markerType === B.SpanMarkerType_0) { t1.log$4(B.Level_FINE_500, string$.rememb, _null, _null); t2.putIfAbsent$2(0, t3, new A.AttributedSpans_copyAttributionRegion__closure1()); t1 = t2.$index(0, t3); t1.toString; t2.$indexSet(0, t3, t1 + 1); } else { t1.log$4(B.Level_FINE_500, string$.this_m, _null, _null); t2.putIfAbsent$2(0, t3, new A.AttributedSpans_copyAttributionRegion__closure2()); t1 = t2.$index(0, t3); t1.toString; t2.$indexSet(0, t3, t1 - 1); } }, $signature: 350 }; A.AttributedSpans_copyAttributionRegion__closure1.prototype = { call$0() { return 0; }, $signature: 194 }; A.AttributedSpans_copyAttributionRegion__closure2.prototype = { call$0() { return 0; }, $signature: 194 }; A.AttributedSpans_copyAttributionRegion_closure1.prototype = { call$2(markerAttribution, count) { if (count === 1) { $.$get$_log().log$4(B.Level_FINE_500, 'inserting "' + markerAttribution.toString$0(0) + '" marker at start of copy region to maintain symmetry.', null, null); this.cutAttributions.push(new A.SpanMarker(markerAttribution, 0, B.SpanMarkerType_0)); } else if (count < 0 || count > 1) throw A.wrapException(A.Exception_Exception("Found an unbalanced number of `start` and `end` markers before offset: " + this.startOffset + " - " + A.S(this.$this._markers))); }, $signature: 874 }; A.AttributedSpans_copyAttributionRegion_closure2.prototype = { call$1(marker) { var t1 = marker.offset; return this.startOffset <= t1 && t1 <= this._box_0.endOffset; }, $signature: 74 }; A.AttributedSpans_copyAttributionRegion_closure3.prototype = { call$1(marker) { var t1 = marker.offset; $.$get$_log().log$4(B.Level_FINE_500, 'copying "' + marker.attribution.toString$0(0) + '" at ' + t1 + " from original AttributionSpans to copy region.", null, null); this.cutAttributions.push(marker.copyWith$1$offset(t1 - this.startOffset)); }, $signature: 350 }; A.AttributedSpans_copyAttributionRegion_closure4.prototype = { call$1(marker) { return marker.offset > this._box_0.endOffset; }, $signature: 74 }; A.AttributedSpans_copyAttributionRegion_closure5.prototype = { call$1(marker) { var t2, t3, _null = null, t1 = $.$get$_log(); t1.log$4(B.Level_FINE_500, "marker after the copy region: " + marker.toString$0(0), _null, _null); t2 = this.foundEndMarkers; t3 = marker.attribution; if (marker.markerType === B.SpanMarkerType_1) { t1.log$4(B.Level_FINE_500, string$.rememb, _null, _null); t2.putIfAbsent$2(0, t3, new A.AttributedSpans_copyAttributionRegion__closure()); t1 = t2.$index(0, t3); t1.toString; t2.$indexSet(0, t3, t1 + 1); } else { t1.log$4(B.Level_FINE_500, string$.this_m, _null, _null); t2.putIfAbsent$2(0, t3, new A.AttributedSpans_copyAttributionRegion__closure0()); t1 = t2.$index(0, t3); t1.toString; t2.$indexSet(0, t3, t1 - 1); } }, $signature: 350 }; A.AttributedSpans_copyAttributionRegion__closure.prototype = { call$0() { return 0; }, $signature: 194 }; A.AttributedSpans_copyAttributionRegion__closure0.prototype = { call$0() { return 0; }, $signature: 194 }; A.AttributedSpans_copyAttributionRegion_closure6.prototype = { call$2(markerAttribution, count) { var _this = this; if (count === 1) { $.$get$_log().log$4(B.Level_FINE_500, 'inserting "' + markerAttribution.toString$0(0) + '" marker at end of copy region to maintain symmetry.', null, null); _this.cutAttributions.push(new A.SpanMarker(markerAttribution, _this._box_0.endOffset - _this.startOffset, B.SpanMarkerType_1)); } else if (count < 0 || count > 1) throw A.wrapException(A.Exception_Exception("Found an unbalanced number of `start` and `end` markers after offset: " + _this._box_0.endOffset + " - " + A.S(_this.$this._markers))); }, $signature: 874 }; A.AttributedSpans_pushAttributionsBack_closure.prototype = { call$1(marker) { return marker.copyWith$1$offset(marker.offset + this.offset); }, $signature: 873 }; A.AttributedSpans_contractAttributions_closure.prototype = { call$1(marker) { return marker.offset < this.startOffset; }, $signature: 74 }; A.AttributedSpans_contractAttributions_closure0.prototype = { call$1(marker) { var t1 = this.startOffset, t2 = marker.offset; return t1 <= t2 && t2 < t1 + this.count; }, $signature: 74 }; A.AttributedSpans_contractAttributions_closure1.prototype = { call$1(marker) { var t2, _this = this, t1 = marker.markerType; $.$get$_log().log$4(B.Level_FINE_500, "removing " + t1.toString$0(0) + " at " + marker.offset, null, null); if (t1 === B.SpanMarkerType_0) { t1 = _this.needToEndAttributions; t2 = marker.attribution; if (t1.contains$1(0, t2)) t1.remove$1(0, t2); else _this.needToStartAttributions.add$1(0, t2); } else { t1 = _this.needToStartAttributions; t2 = marker.attribution; if (t1.contains$1(0, t2)) t1.remove$1(0, t2); else _this.needToEndAttributions.add$1(0, t2); } }, $signature: 350 }; A.AttributedSpans_contractAttributions_closure2.prototype = { call$1(marker) { return marker.offset >= this.startOffset + this.count; }, $signature: 74 }; A.AttributedSpans_contractAttributions_closure3.prototype = { call$1(marker) { return marker.copyWith$1$offset(marker.offset - this.count); }, $signature: 873 }; A.SpanMarker.prototype = { copyWith$1$offset(offset) { return new A.SpanMarker(this.attribution, offset, this.markerType); }, toString$0(_) { return "[SpanMarker] - attribution: " + this.attribution.toString$0(0) + ", offset: " + this.offset + ", type: " + this.markerType.toString$0(0); }, compareTo$1(_, other) { var t1, offsetDiff = this.offset - other.offset; if (offsetDiff !== 0) return offsetDiff; t1 = this.markerType; if (t1 !== other.markerType) return t1 === B.SpanMarkerType_0 ? -1 : 1; return 0; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this !== other) t1 = other instanceof A.SpanMarker && _this.attribution.$eq(0, other.attribution) && _this.offset === other.offset && _this.markerType === other.markerType; else t1 = true; return t1; }, get$hashCode(_) { var t1 = this.attribution; return (t1.get$hashCode(t1) ^ B.JSInt_methods.get$hashCode(this.offset) ^ A.Primitives_objectHashCode(this.markerType)) >>> 0; }, $isComparable: 1 }; A.SpanMarkerType.prototype = { _enumToString$0() { return "SpanMarkerType." + this._core$_name; } }; A.AttributionSpan.prototype = { toString$0(_) { return "[AttributionSpan] - " + this.attribution.toString$0(0) + ", " + this.start + " -> " + this.end; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this !== other) t1 = other instanceof A.AttributionSpan && A.getRuntimeTypeOfDartObject(_this) === A.getRuntimeTypeOfDartObject(other) && _this.attribution.$eq(0, other.attribution) && _this.start === other.start && _this.end === other.end; else t1 = true; return t1; }, get$hashCode(_) { var t1 = this.attribution; return (t1.get$hashCode(t1) ^ B.JSInt_methods.get$hashCode(this.start) ^ B.JSInt_methods.get$hashCode(this.end)) >>> 0; } }; A.MultiAttributionSpan.prototype = { copyWith$2$end$start(end, start) { var t1 = A.LinkedHashSet_LinkedHashSet$of(this.attributions, type$.Attribution), t2 = start == null ? this.start : start; return new A.MultiAttributionSpan(t1, t2, end == null ? this.end : end); }, copyWith$1$end(end) { return this.copyWith$2$end$start(end, null); }, copyWith$1$start(start) { return this.copyWith$2$end$start(null, start); }, toString$0(_) { return "[MultiAttributionSpan] - attributions: " + this.attributions.toString$0(0) + ", start: " + this.start + ", end: " + this.end; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this !== other) t1 = other instanceof A.MultiAttributionSpan && A.getRuntimeTypeOfDartObject(_this) === A.getRuntimeTypeOfDartObject(other) && _this.start === other.start && _this.end === other.end && B.DeepCollectionEquality_false.equals$2(_this.attributions, other.attributions); else t1 = true; return t1; }, get$hashCode(_) { return (A.Primitives_objectHashCode(this.attributions) ^ B.JSInt_methods.get$hashCode(this.start) ^ B.JSInt_methods.get$hashCode(this.end)) >>> 0; } }; A.IncompatibleOverlappingAttributionsException.prototype = { toString$0(_) { return "Tried to insert attribution (" + this.newAttribution.toString$0(0) + ") over a conflicting existing attribution (" + this.existingAttribution.toString$0(0) + "). The overlap began at index " + this.conflictStart; }, $isException: 1 }; A.AttributedText.prototype = { dispose$0() { this._attributed_text$_listeners.clear$0(0); }, get$length(_) { return this.text.length; }, addListener$1(_, listener) { this._attributed_text$_listeners.add$1(0, listener); }, removeListener$1(_, listener) { this._attributed_text$_listeners.remove$1(0, listener); }, _attributed_text$_notifyListeners$0() { var t1, t2, listener; for (t1 = this._attributed_text$_listeners, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { listener = t1._collection$_current; (listener == null ? t2._as(listener) : listener).call$0(); } }, hasAttributionsThroughout$2$attributions$range(attributions, range) { var i, t1, t2, t3, t4, t5, t6; for (i = range.start, t1 = range.end, t2 = A._instanceType(attributions), t3 = t2._eval$1("_LinkedHashSetIterator<1>"), t4 = this.spans, t2 = t2._precomputed1; i <= t1; ++i) for (t5 = new A._LinkedHashSetIterator(attributions, attributions._collection$_modifications, t3), t5._collection$_cell = attributions._collection$_first; t5.moveNext$0();) { t6 = t5._collection$_current; if (!t4.hasAttributionAt$2$attribution(i, t6 == null ? t2._as(t6) : t6)) return false; } return true; }, getAllAttributionsThroughout$1(range) { var t3, t4, t5, missingAttributions, t6, t7, t1 = this.spans, t2 = range.start, attributionsThroughout = t1.getAllAttributionsAt$1(t2), index = t2 + 1; t2 = A._instanceType(attributionsThroughout); t3 = t2._eval$1("_LinkedHashSetIterator<1>"); t2 = t2._precomputed1; t4 = type$.Attribution; t5 = range.end; while (true) { if (!(index <= t5 && attributionsThroughout._collection$_length !== 0)) break; missingAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t4); for (t6 = new A._LinkedHashSetIterator(attributionsThroughout, attributionsThroughout._collection$_modifications, t3), t6._collection$_cell = attributionsThroughout._collection$_first; t6.moveNext$0();) { t7 = t6._collection$_current; if (t7 == null) t7 = t2._as(t7); if (!t1.hasAttributionAt$2$attribution(index, t7)) missingAttributions.add$1(0, t7); } attributionsThroughout.removeAll$1(missingAttributions); ++index; } return attributionsThroughout; }, getAttributionSpansInRange$2$attributionFilter$range(attributionFilter, range) { return this.spans.getAttributionSpansInRange$4$attributionFilter$end$resizeSpansToFitInRange$start(attributionFilter, range.end, false, range.start); }, addAttribution$2(attribution, range) { this.spans.addAttribution$4$autoMerge$end$newAttribution$start(true, range.end, attribution, range.start); this._attributed_text$_notifyListeners$0(); }, removeAttribution$2(attribution, range) { this.spans.removeAttribution$3$attributionToRemove$end$start(attribution, range.end, range.start); this._attributed_text$_notifyListeners$0(); }, copyText$2(startOffset, endOffset) { var t2, t3, startCopyOffset, endCopyOffset, _null = null, t1 = $.$get$_log9(); t1.log$4(B.Level_FINE_500, "start: " + startOffset + ", end: " + A.S(endOffset), _null, _null); t2 = this.text; t3 = t2.length; startCopyOffset = startOffset < t3 ? startOffset : t3 - 1; if (endOffset === startOffset) endCopyOffset = startCopyOffset; else endCopyOffset = endOffset != null ? endOffset - 1 : t3 - 1; t1.log$4(B.Level_FINE_500, "offsets, start: " + startCopyOffset + ", end: " + endCopyOffset, _null, _null); return A.AttributedText$(B.JSString_methods.substring$2(t2, startOffset, endOffset), this.spans.copyAttributionRegion$2(startCopyOffset, endCopyOffset)); }, copyText$1(startOffset) { return this.copyText$2(startOffset, null); }, copyAndAppend$1(other) { var t2, t3, t4, t5, newSpans, _null = null, t1 = $.$get$_log9(); t1.log$4(B.Level_FINE_500, "our attributions before pushing them:", _null, _null); t2 = this.spans; t1.log$4(B.Level_FINE_500, t2.toString$0(0), _null, _null); t3 = other.text; if (t3.length === 0) { t1.log$4(B.Level_FINE_500, "`other` has no text. Returning a direct copy of ourselves.", _null, _null); return A.AttributedText$(this.text, A.AttributedSpans$(A.List_List$from(t2._markers, true, type$.SpanMarker))); } t4 = this.text; t5 = t4.length; if (t5 === 0) { t1.log$4(B.Level_FINE_500, "our `text` is empty. Returning a direct copy of the `other` text.", _null, _null); return A.AttributedText$(t3, A.AttributedSpans$(A.List_List$from(other.spans._markers, true, type$.SpanMarker))); } newSpans = A.AttributedSpans$(A.List_List$from(t2._markers, true, type$.SpanMarker)); newSpans.addAt$2$index$other(t5, other.spans); return A.AttributedText$(t4 + t3, newSpans); }, insert$2$startOffset$textToInsert(_, startOffset, textToInsert) { var startText = this.copyText$2(0, startOffset), endText = this.copyText$1(startOffset); return startText.copyAndAppend$1(textToInsert).copyAndAppend$1(endText); }, insertString$3$applyAttributions$startOffset$textToInsert(applyAttributions, startOffset, textToInsert) { var startText, endText, insertedText, t2, t3, _null = null, t1 = $.$get$_log9(); t1.log$4(B.Level_FINE_500, 'text: "' + textToInsert + '", start: ' + startOffset + ", attributions: " + applyAttributions.toString$0(0), _null, _null); t1.log$4(B.Level_FINE_500, "copying text to the left", _null, _null); startText = this.copyText$2(0, startOffset); t1.log$4(B.Level_FINE_500, "startText: " + startText.toString$0(0), _null, _null); t1.log$4(B.Level_FINE_500, "copying text to the right", _null, _null); endText = this.copyText$1(startOffset); t1.log$4(B.Level_FINE_500, "endText: " + endText.toString$0(0), _null, _null); t1.log$4(B.Level_FINE_500, "creating new attributed text for insertion", _null, _null); insertedText = A.AttributedText$(textToInsert, _null); t1 = textToInsert.length - 1; for (t2 = applyAttributions.get$iterator(applyAttributions), t3 = insertedText.spans; t2.moveNext$0();) { t3.addAttribution$4$autoMerge$end$newAttribution$start(true, t1, t2.get$current(t2), 0); insertedText._attributed_text$_notifyListeners$0(); } t1 = $.$get$_log9(); t1.log$4(B.Level_FINE_500, "insertedText: " + insertedText.toString$0(0), _null, _null); t1.log$4(B.Level_FINE_500, "combining left text, insertion text, and right text", _null, _null); return startText.copyAndAppend$1(insertedText).copyAndAppend$1(endText); }, insertString$2$startOffset$textToInsert(startOffset, textToInsert) { return this.insertString$3$applyAttributions$startOffset$textToInsert(B.Set_empty3, startOffset, textToInsert); }, removeRegion$2$endOffset$startOffset(endOffset, startOffset) { var t2, t3, t4, reducedText, contractedAttributions, _null = null, t1 = $.$get$_log9(); t1.log$4(B.Level_FINE_500, "Removing text region from " + startOffset + " to " + endOffset, _null, _null); t1.log$4(B.Level_FINE_500, "initial attributions:", _null, _null); t2 = this.spans; t1.log$4(B.Level_FINE_500, t2.toString$0(0), _null, _null); t3 = startOffset > 0 ? B.JSString_methods.substring$2(this.text, 0, startOffset) : ""; t4 = this.text; reducedText = t3 + (endOffset < t4.length ? B.JSString_methods.substring$1(t4, endOffset) : ""); contractedAttributions = A.AttributedSpans$(A.List_List$from(t2._markers, true, type$.SpanMarker)); contractedAttributions.contractAttributions$2$count$startOffset(endOffset - startOffset, startOffset); t1.log$4(B.Level_FINE_500, "reduced text length: " + reducedText.length, _null, _null); t1.log$4(B.Level_FINE_500, "remaining attributions:", _null, _null); t1.log$4(B.Level_FINE_500, contractedAttributions.toString$0(0), _null, _null); return A.AttributedText$(reducedText, contractedAttributions); }, visitAttributions$1(visitor) { var t2, currentIndex, _i, marker, currentIndex0, t3, t4, t1 = type$.Attribution, startingAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t1), endingAttributions = A.LinkedHashSet_LinkedHashSet$_empty(t1); for (t1 = this.spans._markers, t2 = t1.length, currentIndex = -1, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { marker = t1[_i]; currentIndex0 = marker.offset; if (currentIndex0 !== currentIndex) { if (currentIndex >= 0) visitor.visitAttributions$4(this, currentIndex, startingAttributions, endingAttributions); startingAttributions.clear$0(0); endingAttributions.clear$0(0); currentIndex = currentIndex0; } t3 = marker.markerType; t4 = marker.attribution; if (t3 === B.SpanMarkerType_0) startingAttributions.add$1(0, t4); else endingAttributions.add$1(0, t4); } if (endingAttributions._collection$_length !== 0) visitor.visitAttributions$4(this, currentIndex, startingAttributions, endingAttributions); t1 = visitor.__AttributedTextMarkdownSerializer__bufferCursor_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = visitor.__AttributedTextMarkdownSerializer__fullText_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t1 <= t2.length - 1) { t3 = visitor._markdown$_buffer; t3.toString; t3._contents += B.JSString_methods.substring$1(t2, t1); } }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this !== other) t1 = other instanceof A.AttributedText && A.getRuntimeTypeOfDartObject(_this) === A.getRuntimeTypeOfDartObject(other) && _this.text === other.text && _this.spans.$eq(0, other.spans); else t1 = true; return t1; }, get$hashCode(_) { return (B.JSString_methods.get$hashCode(this.text) ^ A.Primitives_objectHashCode(this.spans._markers)) >>> 0; }, toString$0(_) { return '[AttributedText] - "' + this.text + '"\n' + this.spans.toString$0(0); } }; A.AttributionVisitEvent.prototype = { _enumToString$0() { return "AttributionVisitEvent." + this._core$_name; } }; A.AttributionVisitor.prototype = {}; A.NamedAttribution.prototype = { canMergeWith$1(other) { return this.$eq(0, other); }, toString$0(_) { return "[NamedAttribution]: " + this.id; }, $eq(_, other) { var t1; if (other == null) return false; if (this !== other) t1 = other instanceof A.NamedAttribution && A.getRuntimeTypeOfDartObject(this) === A.getRuntimeTypeOfDartObject(other) && this.id === other.id; else t1 = true; return t1; }, get$hashCode(_) { return B.JSString_methods.get$hashCode(this.id); }, $isAttribution: 1, get$id(receiver) { return this.id; } }; A.SpanRange.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.SpanRange && other.start === this.start && other.end === this.end; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(this.start) ^ B.JSInt_methods.get$hashCode(this.end); }, toString$0(_) { return "SpanRange(start: " + this.start + ", end: " + this.end + ")"; } }; A.BoardItem.prototype = { createState$0() { return new A.BoardItemState(null, B._StateLifecycle_0); } }; A.BoardItemState.prototype = { get$wantKeepAlive() { return true; }, onDropItem$2(listIndex, itemIndex) { var t1 = this._widget, t2 = t1.onDropItem; t1 = t1.boardList._widget.boardView; t2.call$5(listIndex, itemIndex, t1.startListIndex, t1.startItemIndex, this); t1 = this._widget.boardList._widget.boardView; t1.draggedListIndex = t1.draggedItemIndex = null; t1 = t1.listStates; listIndex.toString; t1 = t1[listIndex]; if (t1._framework$_element != null) t1.setState$1(new A.BoardItemState_onDropItem_closure()); }, _board_item$_startDrag$2(item, context) { var t3, t4, _this = this, t1 = _this._widget.boardList, t2 = t1._widget.boardView; if (t2 != null) { t2.onDropItem = _this.get$onDropItem(); if (t1._framework$_element != null) t1.setState$1(new A.BoardItemState__startDrag_closure()); t1 = _this._widget; t2 = t1.boardList._widget.boardView; t2.toString; t2.draggedItemIndex = t1.index; t2.height = context.get$size(0)._dy; t2 = _this._widget; t1 = t2.boardList._widget; t3 = t1.boardView; t3.toString; t1 = t1.index; t3.startListIndex = t3.draggedListIndex = t1; t4 = t2.index; t3.startItemIndex = t4; t3.draggedItem = item; t2.onStartDragItem.call$3(t1, t4, _this); _this._widget.boardList._widget.boardView.run$0(); t1 = _this._widget.boardList._widget.boardView; if (t1._framework$_element != null) t1.setState$1(new A.BoardItemState__startDrag_closure0()); } }, afterFirstLayout$1(context) { var exception; try { this.__BoardItemState_height_A = context.get$size(0)._dy; context.get$size(0).toString; } catch (exception) { } }, build$1(context) { var t1, t2, t3, _this = this, _null = null; _this.super$AutomaticKeepAliveClientMixin$build(context); $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.BoardItemState_build_closure(_this, context)); t1 = _this._widget; t2 = t1.boardList; if (t2 != null) { t2 = t2.itemStates; t3 = t2.length; t1 = t1.index; t1.toString; if (t3 > t1) B.JSArray_methods.removeAt$1(t2, t1); t1 = _this._widget; t2 = t1.boardList.itemStates; t1 = t1.index; t1.toString; B.JSArray_methods.insert$2(t2, t1, _this); return A.GestureDetector$(_null, _this._widget.item, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, new A.BoardItemState_build_closure0(_this, context), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.BoardItemState_build_closure1(_this), new A.BoardItemState_build_closure2(), new A.BoardItemState_build_closure3(_this, context), _null, _null, _null, _null, false, B.Offset_O5r); } else return A.Text$("Error on loading boardlist.", _null, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.BoardItemState_onDropItem_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardItemState__startDrag_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardItemState__startDrag_closure0.prototype = { call$0() { }, $signature: 0 }; A.BoardItemState_build_closure.prototype = { call$1(_) { return this.$this.afterFirstLayout$1(this.context); }, $signature: 11 }; A.BoardItemState_build_closure3.prototype = { call$1(otd) { var t2, object, pos, box, listPos, t3, t4, t5, t1 = this.$this; if (t1._widget.draggable) { t2 = type$.RenderBox; object = t2._as(this.context.get$renderObject()); pos = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, null), B.Offset_0_0); box = t2._as(t1._widget.boardList._framework$_element.get$renderObject()); listPos = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), B.Offset_0_0); t2 = t1._widget.boardList._widget.boardView; t3 = listPos._dx; t2.leftListX = t3; t4 = listPos._dy; t2.topListY = t4; t5 = t2.topItemY = pos._dy; t2.bottomItemY = t5 + object.get$size(0)._dy; t2 = t1._widget.boardList._widget.boardView; t2.toString; t2.bottomListY = t4 + box.get$size(0)._dy; t4 = t1._widget.boardList._widget.boardView; t4.toString; t4.rightListX = t3 + box.get$size(0)._dx; t1 = t1._widget.boardList._widget.boardView; t1.initialX = pos._dx; t1.initialY = t5; } }, $signature: 56 }; A.BoardItemState_build_closure2.prototype = { call$0() { }, $signature: 0 }; A.BoardItemState_build_closure1.prototype = { call$0() { this.$this._widget.toString; }, $signature: 0 }; A.BoardItemState_build_closure0.prototype = { call$0() { var t3, t1 = this.$this, t2 = t1._widget; t2.boardList._widget.boardView._widget.toString; t3 = t2.draggable; if (t3) t1._board_item$_startDrag$2(t2, this.context); }, $signature: 0 }; A._BoardItemState_State_AutomaticKeepAliveClientMixin.prototype = { initState$0() { this.super$State$initState(); this._ensureKeepAlive$0(); }, deactivate$0() { var t1 = this.AutomaticKeepAliveClientMixin__keepAliveHandle; if (t1 != null) { t1.notifyListeners$0(); t1.super$ChangeNotifier$dispose(); this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } this.super$State$deactivate(); } }; A.BoardList.prototype = { createState$0() { return new A.BoardListState(A._setArrayType([], type$.JSArray_BoardItemState), A.ScrollController$(0, true, null, null), null, B._StateLifecycle_0); } }; A.BoardListState.prototype = { onDropList$1(listIndex) { var t1 = this._widget; t1.onDropList.call$2(listIndex, t1.boardView.startListIndex); t1 = this._widget.boardView; t1.draggedListIndex = null; if (t1._framework$_element != null) t1.setState$1(new A.BoardListState_onDropList_closure()); }, _board_list$_startDrag$2(item, context) { var _this = this, t1 = _this._widget, t2 = t1.boardView; if (t2 != null && t1.draggable) { t2.toString; t2.startListIndex = t1.index; t2.height = context.get$size(0)._dy; t1 = _this._widget; t2 = t1.boardView; t2.toString; t1 = t1.index; t1.toString; t2.draggedListIndex = t1; t2.draggedItemIndex = null; t2.draggedItem = item; t2.onDropList = _this.get$onDropList(); t2.run$0(); t1 = _this._widget.boardView; if (t1._framework$_element != null) t1.setState$1(new A.BoardListState__startDrag_closure()); } }, get$wantKeepAlive() { return true; }, build$1(context) { var listWidgets, t1, t2, backgroundColor, t3, _this = this, _null = null; _this.super$AutomaticKeepAliveClientMixin$build(context); listWidgets = A._setArrayType([], type$.JSArray_Widget); t1 = _this._widget; t2 = t1.headerBackgroundColor; listWidgets.push(A.GestureDetector$(_null, A.Container$(_null, A.Row$(t1.header, B.CrossAxisAlignment_2, B.MainAxisAlignment_2, B.MainAxisSize_1, _null), B.Clip_0, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, new A.BoardListState_build_closure(_this, context), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.BoardListState_build_closure0(_this), new A.BoardListState_build_closure1(), new A.BoardListState_build_closure2(_this, context), _null, _null, _null, _null, false, B.Offset_O5r)); listWidgets.push(A.Container$(_null, new A.Flexible(1, B.FlexFit_1, A.ListView$builder(_this.boardListController, new A.BoardListState_build_closure3(_this), _this._widget.items.length, _null, new A.ClampingScrollPhysics(_null), _null, B.Axis_1, true), _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); listWidgets.push(_this._widget.footer); A.Color$fromARGB(255, 255, 255, 255); t1 = _this._widget; backgroundColor = t1.backgroundColor; t2 = t1.boardView.listStates; t3 = t2.length; t1 = t1.index; t1.toString; if (t3 > t1) B.JSArray_methods.removeAt$1(t2, t1); t1 = _this._widget; t2 = t1.boardView.listStates; t1 = t1.index; t1.toString; B.JSArray_methods.insert$2(t2, t1, _this); return A.Container$(_null, A.Column$(listWidgets, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(backgroundColor, _null, _null, _null, _null, _null, B.BoxShape_0), _null, _null, _null, new A.EdgeInsets(8, 8, 8, 8), _null, _null, _null, _null); } }; A.BoardListState_onDropList_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardListState__startDrag_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardListState_build_closure0.prototype = { call$0() { this.$this._widget.toString; }, $signature: 0 }; A.BoardListState_build_closure2.prototype = { call$1(otd) { var object, pos, t2, t3, t1 = this.$this; if (t1._widget.draggable) { object = type$.RenderBox._as(this.context.get$renderObject()); pos = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, null), B.Offset_0_0); t2 = t1._widget.boardView; t3 = t2.initialX = pos._dx; t2.initialY = pos._dy; t2.rightListX = t3 + object.get$size(0)._dx; t1._widget.boardView.leftListX = t3; } }, $signature: 56 }; A.BoardListState_build_closure1.prototype = { call$0() { }, $signature: 0 }; A.BoardListState_build_closure.prototype = { call$0() { var t3, t1 = this.$this, t2 = t1._widget; t2.boardView._widget.toString; t3 = t2.draggable; if (t3) t1._board_list$_startDrag$2(t2, this.context); }, $signature: 0 }; A.BoardListState_build_closure3.prototype = { call$2(ctx, index) { var t6, t7, t8, t1 = this.$this, t2 = t1._widget, t3 = t2.items, t4 = t3[index], t5 = t4.boardList; if (t5 == null || t4.index !== index || t5._widget.index != t2.index || t5 !== t1) { t5 = t4.item; t6 = t4.draggable; t7 = t4.onDropItem; t8 = t4.onTapItem; t8 = A.BoardItem$(t1, t6, index, t5, t4.onDragItem, t7, t4.onStartDragItem, t8); t3[index] = t8; t1 = t8; } else t1 = t4; t3 = t2.boardView; if (t3.draggedItemIndex === index && t3.draggedListIndex == t2.index) return A.Opacity$(t1, 0); else return t1; }, $signature: 102 }; A._BoardListState_State_AutomaticKeepAliveClientMixin.prototype = { initState$0() { this.super$State$initState(); this._ensureKeepAlive$0(); }, deactivate$0() { var t1 = this.AutomaticKeepAliveClientMixin__keepAliveHandle; if (t1 != null) { t1.notifyListeners$0(); t1.super$ChangeNotifier$dispose(); this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } this.super$State$deactivate(); } }; A.BoardView.prototype = { createState$0() { var _null = null; return new A.BoardViewState(A.ScrollController$(0, true, _null, _null), A._setArrayType([], type$.JSArray_BoardListState), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), _null, B._StateLifecycle_0); } }; A.BoardViewState.prototype = { get$wantKeepAlive() { return true; }, initState$0() { this.super$_BoardViewState_State_AutomaticKeepAliveClientMixin$initState(); this._widget.boardViewController.__BoardViewController_state_A = this; }, moveDown$0() { var t2, t3, t4, item, itemState, _this = this, t1 = _this.draggedListIndex; if (t1 != null) if (_this.draggedItemIndex != null) { _this._widget.toString; t2 = true; } else t2 = false; else t2 = false; if (t2) { t2 = _this.topItemY; if (t2 != null) { t1.toString; t3 = _this.listStates[t1].itemStates; t4 = _this.draggedItemIndex; t4.toString; t4 = t3[t4 + 1].__BoardItemState_height_A; t4 === $ && A.throwUnnamedLateFieldNI(); _this.topItemY = t2 + t4; } t2 = _this.bottomItemY; if (t2 != null) { t1.toString; t3 = _this.listStates[t1].itemStates; t4 = _this.draggedItemIndex; t4.toString; t4 = t3[t4 + 1].__BoardItemState_height_A; t4 === $ && A.throwUnnamedLateFieldNI(); _this.bottomItemY = t2 + t4; } t2 = _this._widget.lists; t1.toString; t1 = t2[t1].items; t2 = _this.draggedItemIndex; t2.toString; item = t1[t2]; B.JSArray_methods.removeAt$1(t1, t2); t2 = _this.listStates; t1 = _this.draggedListIndex; t1.toString; t1 = t2[t1].itemStates; t3 = _this.draggedItemIndex; t3.toString; itemState = t1[t3]; B.JSArray_methods.removeAt$1(t1, t3); t1 = _this.draggedItemIndex; if (t1 != null) t1 = _this.draggedItemIndex = t1 + 1; t3 = _this._widget.lists; t4 = _this.draggedListIndex; t4.toString; t4 = t3[t4].items; t1.toString; B.JSArray_methods.insert$2(t4, t1, item); t1 = _this.draggedListIndex; t1.toString; t1 = t2[t1].itemStates; t4 = _this.draggedItemIndex; t4.toString; B.JSArray_methods.insert$2(t1, t4, itemState); t1 = _this.draggedListIndex; t1.toString; t1 = t2[t1]; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_moveDown_closure()); } }, moveUp$0() { var t2, t3, t4, item, itemState, _this = this, t1 = _this.draggedListIndex; if (t1 != null) if (_this.draggedItemIndex != null) { _this._widget.toString; t2 = true; } else t2 = false; else t2 = false; if (t2) { t2 = _this.topItemY; if (t2 != null) { t1.toString; t3 = _this.listStates[t1].itemStates; t4 = _this.draggedItemIndex; t4.toString; t4 = t3[t4 - 1].__BoardItemState_height_A; t4 === $ && A.throwUnnamedLateFieldNI(); _this.topItemY = t2 - t4; } t2 = _this.bottomItemY; if (t2 != null) { t1.toString; t3 = _this.listStates[t1].itemStates; t4 = _this.draggedItemIndex; t4.toString; t4 = t3[t4 - 1].__BoardItemState_height_A; t4 === $ && A.throwUnnamedLateFieldNI(); _this.bottomItemY = t2 - t4; } t2 = _this._widget.lists; t1.toString; t1 = t2[t1].items; t2 = _this.draggedItemIndex; t2.toString; item = t1[t2]; B.JSArray_methods.removeAt$1(t1, t2); t2 = _this.listStates; t1 = _this.draggedListIndex; t1.toString; t1 = t2[t1].itemStates; t3 = _this.draggedItemIndex; t3.toString; itemState = t1[t3]; B.JSArray_methods.removeAt$1(t1, t3); t3 = _this.draggedItemIndex; t3.toString; --t3; _this.draggedItemIndex = t3; t1 = _this._widget.lists; t4 = _this.draggedListIndex; t4.toString; B.JSArray_methods.insert$2(t1[t4].items, t3, item); t3 = _this.draggedListIndex; t3.toString; t3 = t2[t3].itemStates; t4 = _this.draggedItemIndex; t4.toString; B.JSArray_methods.insert$2(t3, t4, itemState); t1 = _this.draggedListIndex; t1.toString; t1 = t2[t1]; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_moveUp_closure()); } }, moveListRight$0() { var t2, list, t3, listState, tempListIndex, _this = this, t1 = _this.draggedListIndex; if (t1 != null) { _this._widget.toString; t2 = true; } else t2 = false; if (t2) { t2 = _this._widget.lists; t1.toString; list = t2[t1]; t3 = _this.listStates; listState = t3[t1]; B.JSArray_methods.removeAt$1(t2, t1); t1 = _this.draggedListIndex; t1.toString; B.JSArray_methods.removeAt$1(t3, t1); t1 = _this.draggedListIndex; t1.toString; ++t1; _this.draggedListIndex = t1; B.JSArray_methods.insert$2(_this._widget.lists, t1, list); t1 = _this.draggedListIndex; t1.toString; B.JSArray_methods.insert$2(t3, t1, listState); _this.canDrag = false; t1 = _this.boardViewController; if (t1._positions.length !== 0) { tempListIndex = _this.draggedListIndex; tempListIndex.toString; _this._widget.toString; t1.animateTo$3$curve$duration(tempListIndex * 280, B.Cubic_JUR, A.Duration$(0, 0, 0, 400, 0, 0)).whenComplete$1(new A.BoardViewState_moveListRight_closure(_this, tempListIndex)); } } if (_this._framework$_element != null) _this.setState$1(new A.BoardViewState_moveListRight_closure0()); }, moveRight$0() { var t2, t3, item, t4, itemState, closestValue, i, box, pos, temp, tempListIndex, tempItemIndex, _this = this, t1 = _this.draggedListIndex; if (t1 != null) if (_this.draggedItemIndex != null) { _this._widget.toString; t2 = true; } else t2 = false; else t2 = false; if (t2) { t2 = _this._widget.lists; t1.toString; t2 = t2[t1].items; t3 = _this.draggedItemIndex; t3.toString; item = t2[t3]; t4 = _this.listStates; itemState = t4[t1].itemStates[t3]; B.JSArray_methods.removeAt$1(t2, t3); t3 = _this.draggedListIndex; t3.toString; t3 = t4[t3].itemStates; t2 = _this.draggedItemIndex; t2.toString; B.JSArray_methods.removeAt$1(t3, t2); t1 = _this.draggedListIndex; t1.toString; t1 = t4[t1]; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_moveRight_closure()); t1 = _this.draggedListIndex; t1.toString; _this.draggedListIndex = t1 + 1; _this.draggedItemIndex = 0; t1 = type$.RenderBox; closestValue = 10000; i = 0; while (true) { t2 = _this.draggedListIndex; t2.toString; t3 = t4[t2].itemStates; if (!(i < t3.length)) break; box = t1._as(t3[i]._framework$_element.get$renderObject()); pos = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), B.Offset_0_0); t2 = _this.dy; t2.toString; t3 = box._box$_size; if (t3 == null) t3 = A.throwExpression(A.StateError$("RenderBox was not laid out: " + A.getRuntimeTypeOfDartObject(box).toString$0(0) + "#" + A.shortHash(box))); temp = Math.abs(pos._dy - t2 + t3._dy / 2); if (temp < closestValue) { _this.draggedItemIndex = i; _this.dyInit = t2; closestValue = temp; } ++i; } t1 = _this._widget.lists[t2].items; t2 = _this.draggedItemIndex; t2.toString; B.JSArray_methods.insert$2(t1, t2, item); t2 = _this.draggedListIndex; t2.toString; t2 = t4[t2].itemStates; t1 = _this.draggedItemIndex; t1.toString; B.JSArray_methods.insert$2(t2, t1, itemState); _this.canDrag = false; t1 = _this.draggedListIndex; t1.toString; t1 = t4[t1]; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_moveRight_closure0()); t1 = _this.boardViewController; if (t1._positions.length !== 0) { tempListIndex = _this.draggedListIndex; tempItemIndex = _this.draggedItemIndex; tempListIndex.toString; _this._widget.toString; t1.animateTo$3$curve$duration(tempListIndex * 280, B.Cubic_JUR, A.Duration$(0, 0, 0, 400, 0, 0)).whenComplete$1(new A.BoardViewState_moveRight_closure1(_this, tempListIndex, tempItemIndex)); } } if (_this._framework$_element != null) _this.setState$1(new A.BoardViewState_moveRight_closure2()); }, moveListLeft$0() { var t2, list, t3, listState, tempListIndex, _this = this, t1 = _this.draggedListIndex; if (t1 != null) { _this._widget.toString; t2 = true; } else t2 = false; if (t2) { t2 = _this._widget.lists; t1.toString; list = t2[t1]; t3 = _this.listStates; listState = t3[t1]; B.JSArray_methods.removeAt$1(t2, t1); t1 = _this.draggedListIndex; t1.toString; B.JSArray_methods.removeAt$1(t3, t1); t1 = _this.draggedListIndex; t1.toString; --t1; _this.draggedListIndex = t1; B.JSArray_methods.insert$2(_this._widget.lists, t1, list); t1 = _this.draggedListIndex; t1.toString; B.JSArray_methods.insert$2(t3, t1, listState); _this.canDrag = false; t1 = _this.boardViewController; if (t1._positions.length !== 0) { tempListIndex = _this.draggedListIndex; tempListIndex.toString; t1.animateTo$3$curve$duration(tempListIndex * 280, B.Cubic_JUR, A.Duration$(0, 0, 0, _this._widget.dragDelay, 0, 0)).whenComplete$1(new A.BoardViewState_moveListLeft_closure(_this, tempListIndex)); } } if (_this._framework$_element != null) _this.setState$1(new A.BoardViewState_moveListLeft_closure0()); }, moveLeft$0() { var t2, t3, item, t4, itemState, closestValue, i, box, pos, temp, tempListIndex, tempItemIndex, _this = this, t1 = _this.draggedListIndex; if (t1 != null) if (_this.draggedItemIndex != null) { _this._widget.toString; t2 = true; } else t2 = false; else t2 = false; if (t2) { t2 = _this._widget.lists; t1.toString; t2 = t2[t1].items; t3 = _this.draggedItemIndex; t3.toString; item = t2[t3]; t4 = _this.listStates; itemState = t4[t1].itemStates[t3]; B.JSArray_methods.removeAt$1(t2, t3); t3 = _this.draggedListIndex; t3.toString; t3 = t4[t3].itemStates; t2 = _this.draggedItemIndex; t2.toString; B.JSArray_methods.removeAt$1(t3, t2); t1 = _this.draggedListIndex; t1.toString; t1 = t4[t1]; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_moveLeft_closure()); t1 = _this.draggedListIndex; t1.toString; _this.draggedListIndex = t1 - 1; _this.draggedItemIndex = 0; t1 = type$.RenderBox; closestValue = 10000; i = 0; while (true) { t2 = _this.draggedListIndex; t2.toString; t3 = t4[t2].itemStates; if (!(i < t3.length)) break; box = t1._as(t3[i]._framework$_element.get$renderObject()); pos = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), B.Offset_0_0); t2 = _this.dy; t2.toString; t3 = box._box$_size; if (t3 == null) t3 = A.throwExpression(A.StateError$("RenderBox was not laid out: " + A.getRuntimeTypeOfDartObject(box).toString$0(0) + "#" + A.shortHash(box))); temp = Math.abs(pos._dy - t2 + t3._dy / 2); if (temp < closestValue) { _this.draggedItemIndex = i; _this.dyInit = t2; closestValue = temp; } ++i; } t1 = _this._widget.lists[t2].items; t2 = _this.draggedItemIndex; t2.toString; B.JSArray_methods.insert$2(t1, t2, item); t2 = _this.draggedListIndex; t2.toString; t2 = t4[t2].itemStates; t1 = _this.draggedItemIndex; t1.toString; B.JSArray_methods.insert$2(t2, t1, itemState); _this.canDrag = false; t1 = _this.draggedListIndex; t1.toString; t1 = t4[t1]; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_moveLeft_closure0()); t1 = _this.boardViewController; if (t1._positions.length !== 0) { tempListIndex = _this.draggedListIndex; tempItemIndex = _this.draggedItemIndex; tempListIndex.toString; _this._widget.toString; t1.animateTo$3$curve$duration(tempListIndex * 280, B.Cubic_JUR, A.Duration$(0, 0, 0, 400, 0, 0)).whenComplete$1(new A.BoardViewState_moveLeft_closure1(_this, tempListIndex, tempItemIndex)); } } if (_this._framework$_element != null) _this.setState$1(new A.BoardViewState_moveLeft_closure2()); }, build$1(context) { var t2, t3, t4, t5, listWidget, stackWidgets, isInBottomWidget, object, tempBottom, t6, t7, t8, _this = this, _null = null, t1 = {}; _this.super$AutomaticKeepAliveClientMixin$build(context); t2 = _this.boardViewController; t3 = t2._positions; if (t3.length !== 0) $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.BoardViewState_build_closure(_this)); t4 = _this._widget; t5 = t4.lists.length; listWidget = A.ListView$builder(t2, new A.BoardViewState_build_closure0(_this), t5, _null, new A.ClampingScrollPhysics(_null), _null, B.Axis_0, false); if (t4.scrollbar) { t4 = _this.shown && t5 > 1; A.Duration$(0, 0, 0, 500, 0, 0); A.Duration$(0, 0, 0, 800, 0, 0); listWidget = new A.VsScrollbar(listWidget, t2, t4, true, new A.VsScrollbarStyle(12, 8, B.Radius_8_8, _null), _null); } stackWidgets = A._setArrayType([listWidget], type$.JSArray_Widget); if (_this.dy != null) { t4 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data; t5 = _this.dy; t5.toString; isInBottomWidget = t4.size._dy - t5 < 80 && true; } else isInBottomWidget = false; _this._widget.toString; if (_this.initialX != null && _this.initialY != null && _this.offsetX != null && _this.offsetY != null && _this.dx != null && _this.dy != null && _this.height != null) { if (_this.canDrag && _this.dxInit != null && _this.dyInit != null && !isInBottomWidget) { t4 = _this.draggedListIndex; if (t4 != null) if (_this.draggedItemIndex != null && _this.draggedItem != null && _this.topItemY != null && _this.bottomItemY != null) { if (0 <= t4 - 1) { t4 = _this.dx; t4.toString; t5 = _this.leftListX; t5.toString; t5 = t4 < t5 + 45; t4 = t5; } else t4 = false; if (t4) if (t3.length !== 0) { t4 = B.JSArray_methods.get$single(t3)._pixels; t4.toString; t2.animateTo$3$curve$duration(t4 - 5, B.Cubic_JUR, A.Duration$(0, 0, 0, 10, 0, 0)); t4 = _this.draggedListIndex; t4.toString; t4 = _this.listStates[t4]._framework$_element; if (t4 != null) { object = type$.RenderBox._as(t4.get$renderObject()); t4 = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, _null), B.Offset_0_0)._dx; _this.leftListX = t4; _this.rightListX = t4 + object.get$size(0)._dx; } } t4 = _this._widget.lists.length; t5 = _this.draggedListIndex; t5.toString; if (t4 > t5 + 1) { t4 = _this.dx; t4.toString; t5 = _this.rightListX; t5.toString; t5 = t4 > t5 - 45; t4 = t5; } else t4 = false; if (t4) if (t3.length !== 0) { t3 = B.JSArray_methods.get$single(t3)._pixels; t3.toString; t2.animateTo$3$curve$duration(t3 + 5, B.Cubic_JUR, A.Duration$(0, 0, 0, 10, 0, 0)); t2 = _this.draggedListIndex; t2.toString; t2 = _this.listStates[t2]._framework$_element; if (t2 != null) { object = type$.RenderBox._as(t2.get$renderObject()); t2 = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, _null), B.Offset_0_0)._dx; _this.leftListX = t2; _this.rightListX = t2 + object.get$size(0)._dx; } } t2 = _this.draggedListIndex; t2.toString; if (0 <= t2 - 1) { t2 = _this.dx; t2.toString; t3 = _this.leftListX; t3.toString; t3 = t2 < t3; t2 = t3; } else t2 = false; if (t2) _this.moveLeft$0(); t2 = _this._widget.lists.length; t3 = _this.draggedListIndex; t3.toString; if (t2 > t3 + 1) { t2 = _this.dx; t2.toString; t3 = _this.rightListX; t3.toString; t3 = t2 > t3; t2 = t3; } else t2 = false; if (t2) _this.moveRight$0(); t2 = _this.dy; if (t2 != null) { t3 = _this.topListY; t2 = t3 != null && t2 < t3 + 70; } else t2 = false; if (t2) { t2 = _this.listStates; t3 = _this.draggedListIndex; t3.toString; t3 = t2[t3].boardListController._positions; if (t3.length !== 0 && !_this.isScrolling) { _this.isScrolling = true; t3 = B.JSArray_methods.get$single(t3)._pixels; t3.toString; t1.pos = t3; t3 = _this.draggedListIndex; t3.toString; t3 = t2[t3].boardListController; t2 = B.JSArray_methods.get$single(t3._positions)._pixels; t2.toString; t3.animateTo$3$curve$duration(t2 - 5, B.Cubic_JUR, A.Duration$(0, 0, 0, 10, 0, 0)).whenComplete$1(new A.BoardViewState_build_closure1(t1, _this)); } } t2 = _this.draggedItemIndex; t2.toString; --t2; if (0 <= t2) { t3 = _this.dy; t3.toString; t4 = _this.topItemY; t4.toString; t5 = _this.draggedListIndex; t5.toString; t2 = _this.listStates[t5].itemStates[t2].__BoardItemState_height_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t3 < t4 - t2 / 2; } else t2 = false; if (t2) _this.moveUp$0(); tempBottom = _this.bottomListY; _this._widget.toString; t2 = _this.dy; if (t2 != null && tempBottom != null && t2 > tempBottom - 70) { t2 = _this.listStates; t3 = _this.draggedListIndex; t3.toString; t3 = t2[t3].boardListController._positions; if (t3.length !== 0) { _this.isScrolling = true; t3 = B.JSArray_methods.get$single(t3)._pixels; t3.toString; t1.pos = t3; t3 = _this.draggedListIndex; t3.toString; t3 = t2[t3].boardListController; t2 = B.JSArray_methods.get$single(t3._positions)._pixels; t2.toString; t3.animateTo$3$curve$duration(t2 + 5, B.Cubic_JUR, A.Duration$(0, 0, 0, 10, 0, 0)).whenComplete$1(new A.BoardViewState_build_closure2(t1, _this)); } } t1 = _this._widget.lists; t2 = _this.draggedListIndex; t2.toString; t1 = t1[t2].items.length; t3 = _this.draggedItemIndex; t3.toString; ++t3; if (t1 > t3) { t1 = _this.dy; t1.toString; t4 = _this.bottomItemY; t4.toString; t3 = _this.listStates[t2].itemStates[t3].__BoardItemState_height_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t1 > t4 + t3 / 2; t1 = t3; } else t1 = false; if (t1) _this.moveDown$0(); } else { if (0 <= t4 - 1) { t1 = _this.dx; t1.toString; t4 = _this.leftListX; t4.toString; t4 = t1 < t4 + 45; t1 = t4; } else t1 = false; if (t1) if (t3.length !== 0) { t1 = B.JSArray_methods.get$single(t3)._pixels; t1.toString; t2.animateTo$3$curve$duration(t1 - 5, B.Cubic_JUR, A.Duration$(0, 0, 0, 10, 0, 0)); t1 = _this.leftListX; if (t1 != null) _this.leftListX = t1 + 5; t1 = _this.rightListX; if (t1 != null) _this.rightListX = t1 + 5; } t1 = _this._widget.lists.length; t4 = _this.draggedListIndex; t4.toString; if (t1 > t4 + 1) { t1 = _this.dx; t1.toString; t4 = _this.rightListX; t4.toString; t4 = t1 > t4 - 45; t1 = t4; } else t1 = false; if (t1) if (t3.length !== 0) { t1 = B.JSArray_methods.get$single(t3)._pixels; t1.toString; t2.animateTo$3$curve$duration(t1 + 5, B.Cubic_JUR, A.Duration$(0, 0, 0, 10, 0, 0)); t1 = _this.leftListX; if (t1 != null) _this.leftListX = t1 - 5; t1 = _this.rightListX; if (t1 != null) _this.rightListX = t1 - 5; } t1 = _this._widget.lists.length; t2 = _this.draggedListIndex; t2.toString; if (t1 > t2 + 1) { t1 = _this.dx; t1.toString; t2 = _this.rightListX; t2.toString; t2 = t1 > t2; t1 = t2; } else t1 = false; if (t1) _this.moveListRight$0(); t1 = _this.draggedListIndex; t1.toString; if (0 <= t1 - 1) { t1 = _this.dx; t1.toString; t2 = _this.leftListX; t2.toString; t2 = t1 < t2; t1 = t2; } else t1 = false; if (t1) _this.moveListLeft$0(); } } _this._widget.toString; $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.BoardViewState_build_closure3(_this)); _this._widget.toString; t1 = _this.height; t2 = A.Opacity$(_this.draggedItem, 0.7); t3 = _this.dx; t3.toString; t4 = _this.offsetX; t4.toString; t5 = _this.initialX; t5.toString; t6 = _this.dy; t6.toString; t7 = _this.offsetY; t7.toString; t8 = _this.initialY; t8.toString; stackWidgets.push(A.Positioned$(_null, t2, t1, _null, t3 - t4 + t5, _null, t6 - t7 + t8, 280)); } return A.Container$(_null, A.Listener$(B.HitTestBehavior_0, new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_1, stackWidgets, _null), _null, _null, new A.BoardViewState_build_closure4(_this, context), _null, new A.BoardViewState_build_closure5(_this), _null, _null, new A.BoardViewState_build_closure6(_this, context)), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, run$0() { var _this = this, t1 = _this.pointer; if (t1 != null) { _this.dx = t1.get$position(t1)._dx; t1 = _this.pointer; _this.dy = t1.get$position(t1)._dy; if (_this._framework$_element != null) _this.setState$1(new A.BoardViewState_run_closure()); } } }; A.BoardViewState_moveDown_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveUp_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveListRight_closure.prototype = { call$0() { var object, t1 = this.$this, t2 = this.tempListIndex; t2.toString; object = type$.RenderBox._as(t1.listStates[t2]._framework$_element.get$renderObject()); t2 = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, null), B.Offset_0_0)._dx; t1.leftListX = t2; t1.rightListX = t2 + object.get$size(0)._dx; A.Future_Future$delayed(A.Duration$(0, 0, 0, t1._widget.dragDelay, 0, 0), new A.BoardViewState_moveListRight__closure(t1), type$.Null); }, $signature: 4 }; A.BoardViewState_moveListRight__closure.prototype = { call$0() { this.$this.canDrag = true; }, $signature: 4 }; A.BoardViewState_moveListRight_closure0.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveRight_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveRight_closure0.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveRight_closure1.prototype = { call$0() { var t4, object, t5, box, t1 = this.$this, t2 = t1.listStates, t3 = this.tempListIndex; t3.toString; t4 = type$.RenderBox; object = t4._as(t2[t3]._framework$_element.get$renderObject()); t5 = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, null), B.Offset_0_0)._dx; t1.leftListX = t5; t1.rightListX = t5 + object.get$size(0)._dx; t3 = t2[t3].itemStates; t2 = this.tempItemIndex; t2.toString; box = t4._as(t3[t2]._framework$_element.get$renderObject()); t2 = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), B.Offset_0_0)._dy; t1.topItemY = t2; t1.bottomItemY = t2 + box.get$size(0)._dy; A.Future_Future$delayed(A.Duration$(0, 0, 0, t1._widget.dragDelay, 0, 0), new A.BoardViewState_moveRight__closure(t1), type$.Null); }, $signature: 4 }; A.BoardViewState_moveRight__closure.prototype = { call$0() { this.$this.canDrag = true; }, $signature: 4 }; A.BoardViewState_moveRight_closure2.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveListLeft_closure.prototype = { call$0() { var object, t1 = this.$this, t2 = this.tempListIndex; t2.toString; object = type$.RenderBox._as(t1.listStates[t2]._framework$_element.get$renderObject()); t2 = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, null), B.Offset_0_0)._dx; t1.leftListX = t2; t1.rightListX = t2 + object.get$size(0)._dx; A.Future_Future$delayed(A.Duration$(0, 0, 0, t1._widget.dragDelay, 0, 0), new A.BoardViewState_moveListLeft__closure(t1), type$.Null); }, $signature: 4 }; A.BoardViewState_moveListLeft__closure.prototype = { call$0() { this.$this.canDrag = true; }, $signature: 4 }; A.BoardViewState_moveListLeft_closure0.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveLeft_closure.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveLeft_closure0.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_moveLeft_closure1.prototype = { call$0() { var t4, object, t5, box, t1 = this.$this, t2 = t1.listStates, t3 = this.tempListIndex; t3.toString; t4 = type$.RenderBox; object = t4._as(t2[t3]._framework$_element.get$renderObject()); t5 = A.MatrixUtils_transformPoint(object.getTransformTo$1(0, null), B.Offset_0_0)._dx; t1.leftListX = t5; t1.rightListX = t5 + object.get$size(0)._dx; t3 = t2[t3].itemStates; t2 = this.tempItemIndex; t2.toString; box = t4._as(t3[t2]._framework$_element.get$renderObject()); t2 = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), B.Offset_0_0)._dy; t1.topItemY = t2; t1.bottomItemY = t2 + box.get$size(0)._dy; A.Future_Future$delayed(A.Duration$(0, 0, 0, t1._widget.dragDelay, 0, 0), new A.BoardViewState_moveLeft__closure(t1), type$.Null); }, $signature: 4 }; A.BoardViewState_moveLeft__closure.prototype = { call$0() { this.$this.canDrag = true; }, $signature: 4 }; A.BoardViewState_moveLeft_closure2.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_build_closure.prototype = { call$1(duration) { var exception, t1, t2, _shown; try { B.JSArray_methods.get$single(this.$this.boardViewController._positions).didUpdateScrollPositionBy$1(0); } catch (exception) { } t1 = this.$this; t2 = B.JSArray_methods.get$single(t1.boardViewController._positions)._maxScrollExtent; t2.toString; _shown = t2 !== 0; if (_shown !== t1.shown) t1.setState$1(new A.BoardViewState_build__closure5(t1, _shown)); }, $signature: 11 }; A.BoardViewState_build__closure5.prototype = { call$0() { this.$this.shown = this._shown; }, $signature: 0 }; A.BoardViewState_build_closure0.prototype = { call$2(context, index) { var t5, t6, t7, t8, t9, t10, t11, t12, temp, _null = null, t1 = this.$this, t2 = t1._widget, t3 = t2.lists, t4 = t3[index]; if (t4.boardView == null) { t5 = t4.items; t6 = t4.headerBackgroundColor; t7 = t4.backgroundColor; t8 = t4.footer; t9 = t4.header; t10 = t4.draggable; t11 = t4.onDropList; t12 = t4.onTapList; t12 = A.BoardList$(t7, t1, t10, t8, t9, t6, _null, t5, t11, t4.onStartDragList, t12); t3[index] = t12; t4 = t12; } if (t4.index !== index) { t4 = A.BoardList$(t4.backgroundColor, t1, t4.draggable, t4.footer, t4.header, t4.headerBackgroundColor, index, t4.items, t4.onDropList, t4.onStartDragList, t4.onTapList); t3[index] = t4; t3 = t4; } else t3 = t4; t2 = t2.bottomPadding; temp = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(t3, 1)], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(0, 0, 0, t2), _null, _null, 280); if (t1.draggedListIndex === index && t1.draggedItemIndex == null) return A.Opacity$(temp, 0); else return temp; }, $signature: 102 }; A.BoardViewState_build_closure1.prototype = { call$0() { var pos, t1 = this._box_0, t2 = t1.pos, t3 = this.$this, t4 = t3.draggedListIndex; t4.toString; t4 = B.JSArray_methods.get$single(t3.listStates[t4].boardListController._positions)._pixels; t4.toString; pos = t1.pos = t2 - t4; if (t3.initialY == null) t3.initialY = 0; t3.isScrolling = false; t1 = t3.topItemY; if (t1 != null) t3.topItemY = t1 + pos; t1 = t3.bottomItemY; if (t1 != null) t3.bottomItemY = t1 + pos; if (t3._framework$_element != null) t3.setState$1(new A.BoardViewState_build__closure4()); }, $signature: 4 }; A.BoardViewState_build__closure4.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_build_closure2.prototype = { call$0() { var pos, t1 = this._box_0, t2 = t1.pos, t3 = this.$this, t4 = t3.draggedListIndex; t4.toString; t4 = B.JSArray_methods.get$single(t3.listStates[t4].boardListController._positions)._pixels; t4.toString; pos = t1.pos = t2 - t4; if (t3.initialY == null) t3.initialY = 0; t3.isScrolling = false; t1 = t3.topItemY; if (t1 != null) t3.topItemY = t1 + pos; t1 = t3.bottomItemY; if (t1 != null) t3.bottomItemY = t1 + pos; if (t3._framework$_element != null) t3.setState$1(new A.BoardViewState_build__closure3()); }, $signature: 4 }; A.BoardViewState_build__closure3.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_build_closure3.prototype = { call$1(timeStamp) { var t1 = this.$this; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_build__closure2()); }, $signature: 11 }; A.BoardViewState_build__closure2.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_build_closure5.prototype = { call$1(opm) { var t1 = this.$this; if (t1.draggedItem != null) { if (t1.dxInit == null) t1.dxInit = opm.get$position(opm)._dx; if (t1.dyInit == null) t1.dyInit = opm.get$position(opm)._dy; t1.dx = opm.get$position(opm)._dx; t1.dy = opm.get$position(opm)._dy; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_build__closure0()); } }, $signature: 3201 }; A.BoardViewState_build__closure0.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_build_closure4.prototype = { call$1(opd) { var box = type$.RenderBox._as(this.context.get$renderObject()), t1 = opd.get$position(opd), pos = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), t1); t1 = this.$this; t1.offsetX = pos._dx; t1.offsetY = pos._dy; t1.pointer = opd; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_build__closure1()); }, $signature: 212 }; A.BoardViewState_build__closure1.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_build_closure6.prototype = { call$1(opu) { var tempDraggedItemIndex, tempDraggedListIndex, t1 = this.$this, t2 = t1.onDropItem; if (t2 != null) { tempDraggedItemIndex = t1.draggedItemIndex; tempDraggedListIndex = t1.draggedListIndex; if (t1._isInWidget) t1._widget.toString; t2.call$2(tempDraggedListIndex, tempDraggedItemIndex); } t2 = t1.onDropList; if (t2 != null) { tempDraggedListIndex = t1.draggedListIndex; if (t1._isInWidget) t1._widget.toString; t2.call$1(tempDraggedListIndex); } t1.startItemIndex = t1.startListIndex = t1.bottomItemY = t1.topItemY = t1.bottomListY = t1.topListY = t1.rightListX = t1.leftListX = t1.dyInit = t1.dxInit = t1.onDropList = t1.onDropItem = t1.draggedListIndex = t1.draggedItemIndex = t1.dy = t1.dx = t1.initialY = t1.initialX = t1.offsetY = t1.offsetX = t1.draggedItem = null; if (t1._framework$_element != null) t1.setState$1(new A.BoardViewState_build__closure()); }, $signature: 3212 }; A.BoardViewState_build__closure.prototype = { call$0() { }, $signature: 0 }; A.BoardViewState_run_closure.prototype = { call$0() { }, $signature: 0 }; A._BoardViewState_State_AutomaticKeepAliveClientMixin.prototype = { initState$0() { this.super$State$initState(); this._ensureKeepAlive$0(); }, deactivate$0() { var t1 = this.AutomaticKeepAliveClientMixin__keepAliveHandle; if (t1 != null) { t1.notifyListeners$0(); t1.super$ChangeNotifier$dispose(); this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } this.super$State$deactivate(); } }; A.BoardViewController.prototype = {}; A.CopyOnWriteList.prototype = { get$length(_) { return J.get$length$asx(this._copy_on_write_list$_list); }, $index(_, index) { return J.$index$asx(this._copy_on_write_list$_list, index); }, $add(_, other) { return J.$add$ansx(this._copy_on_write_list$_list, other); }, any$1(_, test) { return J.any$1$ax(this._copy_on_write_list$_list, test); }, asMap$0(_) { return J.asMap$0$ax(this._copy_on_write_list$_list); }, cast$1$0(_, $T) { return new A.CopyOnWriteList(this._growable, J.cast$1$0$ax(this._copy_on_write_list$_list, $T), $T._eval$1("CopyOnWriteList<0>")); }, contains$1(_, element) { return J.contains$1$asx(this._copy_on_write_list$_list, element); }, elementAt$1(_, index) { return J.elementAt$1$ax(this._copy_on_write_list$_list, index); }, expand$1$1(_, f, $T) { return J.expand$1$1$ax(this._copy_on_write_list$_list, f, $T); }, get$first(_) { return J.get$first$ax(this._copy_on_write_list$_list); }, fold$1$2(_, initialValue, combine, $T) { return J.fold$1$2$ax(this._copy_on_write_list$_list, initialValue, combine, $T); }, forEach$1(_, f) { return J.forEach$1$ax(this._copy_on_write_list$_list, f); }, indexOf$2(_, element, start) { return J.indexOf$2$asx(this._copy_on_write_list$_list, element, start); }, indexOf$1(_, element) { return this.indexOf$2(0, element, 0); }, get$isEmpty(_) { return J.get$isEmpty$asx(this._copy_on_write_list$_list); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this._copy_on_write_list$_list); }, get$iterator(_) { return J.get$iterator$ax(this._copy_on_write_list$_list); }, join$1(_, separator) { return J.join$1$ax(this._copy_on_write_list$_list, separator); }, join$0(_) { return this.join$1(0, ""); }, get$last(_) { return J.get$last$ax(this._copy_on_write_list$_list); }, map$1$1(_, f, $T) { return J.map$1$1$ax(this._copy_on_write_list$_list, f, $T); }, map$1(_, f) { return this.map$1$1(0, f, type$.dynamic); }, get$reversed(_) { return J.get$reversed$ax(this._copy_on_write_list$_list); }, get$single(_) { return J.get$single$ax(this._copy_on_write_list$_list); }, skip$1(_, count) { return J.skip$1$ax(this._copy_on_write_list$_list, count); }, sublist$2(_, start, end) { return J.sublist$2$ax(this._copy_on_write_list$_list, start, end); }, sublist$1(_, start) { return this.sublist$2(0, start, null); }, take$1(_, count) { return J.take$1$ax(this._copy_on_write_list$_list, count); }, toList$1$growable(_, growable) { return J.toList$1$growable$ax(this._copy_on_write_list$_list, growable); }, toList$0(_) { return this.toList$1$growable(0, true); }, toSet$0(_) { return J.toSet$0$ax(this._copy_on_write_list$_list); }, where$1(_, test) { return J.where$1$ax(this._copy_on_write_list$_list, test); }, $indexSet(_, index, element) { this._maybeCopyBeforeWrite$0(); J.$indexSet$ax(this._copy_on_write_list$_list, index, element); }, add$1(_, value) { this._maybeCopyBeforeWrite$0(); J.add$1$ax(this._copy_on_write_list$_list, value); }, sort$1(_, compare) { this._maybeCopyBeforeWrite$0(); J.sort$1$ax(this._copy_on_write_list$_list, compare); }, sort$0(_) { return this.sort$1(0, null); }, insert$2(_, index, element) { this._maybeCopyBeforeWrite$0(); J.insert$2$ax(this._copy_on_write_list$_list, index, element); }, insertAll$2(_, index, iterable) { this._maybeCopyBeforeWrite$0(); J.insertAll$2$ax(this._copy_on_write_list$_list, index, iterable); }, remove$1(_, value) { this._maybeCopyBeforeWrite$0(); return J.remove$1$ax(this._copy_on_write_list$_list, value); }, removeAt$1(_, index) { this._maybeCopyBeforeWrite$0(); return J.removeAt$1$ax(this._copy_on_write_list$_list, index); }, removeLast$0(_) { this._maybeCopyBeforeWrite$0(); return J.removeLast$0$ax(this._copy_on_write_list$_list); }, removeWhere$1(_, test) { this._maybeCopyBeforeWrite$0(); J.removeWhere$1$ax(this._copy_on_write_list$_list, test); }, retainWhere$1(_, test) { this._maybeCopyBeforeWrite$0(); J.retainWhere$1$ax(this._copy_on_write_list$_list, test); }, removeRange$2(_, start, end) { this._maybeCopyBeforeWrite$0(); J.removeRange$2$ax(this._copy_on_write_list$_list, start, end); }, toString$0(_) { return J.toString$0$(this._copy_on_write_list$_list); }, _maybeCopyBeforeWrite$0() { var _this = this; if (!_this._copyBeforeWrite) return; _this._copyBeforeWrite = false; _this._copy_on_write_list$_list = A.List_List$from(_this._copy_on_write_list$_list, _this._growable, _this.$ti._precomputed1); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.CopyOnWriteMap.prototype = { $index(_, key) { return this._copy_on_write_map$_map.$index(0, key); }, cast$2$0(_, K2, V2) { var t1 = this._copy_on_write_map$_map; return new A.CopyOnWriteMap(null, t1.cast$2$0(t1, K2, V2), K2._eval$1("@<0>")._bind$1(V2)._eval$1("CopyOnWriteMap<1,2>")); }, containsKey$1(_, key) { return this._copy_on_write_map$_map.containsKey$1(0, key); }, get$entries(_) { var t1 = this._copy_on_write_map$_map; return t1.get$entries(t1); }, forEach$1(_, f) { return this._copy_on_write_map$_map.forEach$1(0, f); }, get$isEmpty(_) { var t1 = this._copy_on_write_map$_map; return t1.get$isEmpty(t1); }, get$isNotEmpty(_) { var t1 = this._copy_on_write_map$_map; return t1.get$isNotEmpty(t1); }, get$keys(_) { var t1 = this._copy_on_write_map$_map; return t1.get$keys(t1); }, get$length(_) { var t1 = this._copy_on_write_map$_map; return t1.get$length(t1); }, map$2$1(_, f, K2, V2) { var t1 = this._copy_on_write_map$_map; return t1.map$2$1(t1, f, K2, V2); }, map$1(_, f) { var t1 = type$.dynamic; return this.map$2$1(0, f, t1, t1); }, get$values(_) { var t1 = this._copy_on_write_map$_map; return t1.get$values(t1); }, $indexSet(_, key, value) { this._copy_on_write_map$_maybeCopyBeforeWrite$0(); this._copy_on_write_map$_map.$indexSet(0, key, value); }, putIfAbsent$2(_, key, ifAbsent) { this._copy_on_write_map$_maybeCopyBeforeWrite$0(); return this._copy_on_write_map$_map.putIfAbsent$2(0, key, ifAbsent); }, remove$1(_, key) { this._copy_on_write_map$_maybeCopyBeforeWrite$0(); return this._copy_on_write_map$_map.remove$1(0, key); }, toString$0(_) { var t1 = this._copy_on_write_map$_map; return t1.toString$0(t1); }, _copy_on_write_map$_maybeCopyBeforeWrite$0() { var t1, _this = this; if (!_this._copy_on_write_map$_copyBeforeWrite) return; _this._copy_on_write_map$_copyBeforeWrite = false; t1 = _this.$ti; t1 = A.LinkedHashMap_LinkedHashMap$from(_this._copy_on_write_map$_map, t1._precomputed1, t1._rest[1]); _this._copy_on_write_map$_map = t1; }, $isMap: 1 }; A.CopyOnWriteSet.prototype = { get$length(_) { var t1 = this._copy_on_write_set$_set; return t1.get$length(t1); }, intersection$1(_, other) { return this._copy_on_write_set$_set.intersection$1(0, other); }, any$1(_, test) { return this._copy_on_write_set$_set.any$1(0, test); }, cast$1$0(_, $T) { return new A.CopyOnWriteSet(null, this._copy_on_write_set$_set.cast$1$0(0, $T), $T._eval$1("CopyOnWriteSet<0>")); }, contains$1(_, element) { return this._copy_on_write_set$_set.contains$1(0, element); }, elementAt$1(_, index) { return this._copy_on_write_set$_set.elementAt$1(0, index); }, get$first(_) { var t1 = this._copy_on_write_set$_set; return t1.get$first(t1); }, forEach$1(_, f) { return this._copy_on_write_set$_set.forEach$1(0, f); }, get$isEmpty(_) { var t1 = this._copy_on_write_set$_set; return t1.get$isEmpty(t1); }, get$isNotEmpty(_) { var t1 = this._copy_on_write_set$_set; return t1.get$isNotEmpty(t1); }, get$iterator(_) { var t1 = this._copy_on_write_set$_set; return t1.get$iterator(t1); }, join$1(_, separator) { return this._copy_on_write_set$_set.join$1(0, separator); }, get$last(_) { var t1 = this._copy_on_write_set$_set; return t1.get$last(t1); }, map$1$1(_, f, $T) { return this._copy_on_write_set$_set.map$1$1(0, f, $T); }, map$1(_, f) { return this.map$1$1(0, f, type$.dynamic); }, get$single(_) { var t1 = this._copy_on_write_set$_set; return t1.get$single(t1); }, skip$1(_, count) { return this._copy_on_write_set$_set.skip$1(0, count); }, take$1(_, count) { return this._copy_on_write_set$_set.take$1(0, count); }, toList$1$growable(_, growable) { return this._copy_on_write_set$_set.toList$1$growable(0, growable); }, toList$0(_) { return this.toList$1$growable(0, true); }, toSet$0(_) { return this._copy_on_write_set$_set.toSet$0(0); }, where$1(_, test) { return this._copy_on_write_set$_set.where$1(0, test); }, add$1(_, value) { this._copy_on_write_set$_maybeCopyBeforeWrite$0(); return this._copy_on_write_set$_set.add$1(0, value); }, addAll$1(_, iterable) { this._copy_on_write_set$_maybeCopyBeforeWrite$0(); this._copy_on_write_set$_set.addAll$1(0, iterable); }, clear$0(_) { this._copy_on_write_set$_maybeCopyBeforeWrite$0(); this._copy_on_write_set$_set.clear$0(0); }, remove$1(_, value) { this._copy_on_write_set$_maybeCopyBeforeWrite$0(); return this._copy_on_write_set$_set.remove$1(0, value); }, removeWhere$1(_, test) { this._copy_on_write_set$_maybeCopyBeforeWrite$0(); this._copy_on_write_set$_set.removeWhere$1(0, test); }, toString$0(_) { return this._copy_on_write_set$_set.toString$0(0); }, _copy_on_write_set$_maybeCopyBeforeWrite$0() { var t1, _this = this; if (!_this._copy_on_write_set$_copyBeforeWrite) return; _this._copy_on_write_set$_copyBeforeWrite = false; t1 = A.LinkedHashSet_LinkedHashSet$from(_this._copy_on_write_set$_set, _this.$ti._precomputed1); _this._copy_on_write_set$_set = t1; }, $isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1 }; A.hashObjects_closure.prototype = { call$2(h, i) { return A._combine(h, J.get$hashCode$(i)); }, $signature: 3225 }; A.BuiltList.prototype = { rebuild$1(updates) { var t1 = A.ListBuilder_ListBuilder(this, this.$ti._precomputed1); updates.call$1(t1); return t1.build$0(); }, get$hashCode(_) { var t1 = this._list$_hashCode; return t1 == null ? this._list$_hashCode = A.hashObjects(this._list$_list) : t1; }, $eq(_, other) { var t1, t2, i; if (other == null) return false; if (other === this) return true; if (!(other instanceof A._BuiltList)) return false; t1 = other._list$_list; t2 = this._list$_list; if (t1.length !== t2.length) return false; if (other.get$hashCode(0) !== this.get$hashCode(0)) return false; for (i = 0; i !== t2.length; ++i) if (!J.$eq$(t1[i], t2[i])) return false; return true; }, toString$0(_) { return A.Iterable_iterableToFullString(this._list$_list, "[", "]"); }, $index(_, index) { return this._list$_list[index]; }, $add(_, other) { return new A._BuiltList(B.JSArray_methods.$add(this._list$_list, other._list$_list), this.$ti._eval$1("_BuiltList<1>")); }, get$length(_) { return this._list$_list.length; }, get$iterator(_) { var t1 = this._list$_list; return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, map$1$1(_, f, $T) { var t1 = this._list$_list; return new A.MappedListIterable(t1, f, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, map$1(_, f) { return this.map$1$1(0, f, type$.dynamic); }, where$1(_, test) { var t1 = this._list$_list; return new A.WhereIterable(t1, test, A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")); }, contains$1(_, element) { return B.JSArray_methods.contains$1(this._list$_list, element); }, forEach$1(_, f) { return B.JSArray_methods.forEach$1(this._list$_list, f); }, join$1(_, separator) { return B.JSArray_methods.join$1(this._list$_list, separator); }, any$1(_, test) { return B.JSArray_methods.any$1(this._list$_list, test); }, toList$1$growable(_, growable) { return new A.CopyOnWriteList(growable, this._list$_list, this.$ti._eval$1("CopyOnWriteList<1>")); }, toList$0(_) { return this.toList$1$growable(0, true); }, toSet$0(_) { var t1 = this._list$_list; return A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); }, get$isEmpty(_) { return this._list$_list.length === 0; }, get$isNotEmpty(_) { return this._list$_list.length !== 0; }, take$1(_, n) { var t1 = this._list$_list; return A.SubListIterable$(t1, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(t1)._precomputed1); }, skip$1(_, n) { var t1 = this._list$_list; return A.SubListIterable$(t1, n, null, A._arrayInstanceType(t1)._precomputed1); }, get$first(_) { return B.JSArray_methods.get$first(this._list$_list); }, get$last(_) { return B.JSArray_methods.get$last(this._list$_list); }, get$single(_) { return B.JSArray_methods.get$single(this._list$_list); }, elementAt$1(_, index) { return this._list$_list[index]; }, cast$1$0(_, $T) { return A.CastIterable_CastIterable(this._list$_list, this.$ti._precomputed1, $T); }, $isIterable: 1 }; A._BuiltList.prototype = { _maybeCheckForNull$0() { var t1, t2, _i; if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) return; for (t1 = this._list$_list, t2 = t1.length, _i = 0; _i < t2; ++_i) if (t1[_i] == null) throw A.wrapException(A.ArgumentError$("iterable contained invalid element: null", null)); } }; A.ListBuilder.prototype = { build$0() { var _this = this, t1 = _this._listOwner; if (t1 == null) { t1 = _this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__ListBuilder__list_A = t1; t1 = _this._listOwner = new A._BuiltList(t1, _this.$ti._eval$1("_BuiltList<1>")); } return t1; }, replace$1(_, iterable) { var _this = this, t1 = _this.$ti; if (t1._eval$1("_BuiltList<1>")._is(iterable)) { _this.__ListBuilder__list_A = iterable._list$_list; _this._listOwner = iterable; } else { _this.__ListBuilder__list_A = A.List_List$from(iterable, true, t1._precomputed1); _this._listOwner = null; } }, $index(_, index) { var t1 = this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1[index]; }, $indexSet(_, index, element) { $.$get$isSoundMode(); this.get$_safeList()[index] = element; }, get$length(_) { var t1 = this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1.length; }, get$isEmpty(_) { var t1 = this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1.length === 0; }, add$1(_, value) { if (!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", null)); B.JSArray_methods.add$1(this.get$_safeList(), value); }, addAll$1(_, iterable) { var i, exception, safeList = this.get$_safeList(), lengthBefore = J.get$length$asx(safeList); J.addAll$1$ax(safeList, iterable); if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) return; try { for (i = lengthBefore; !J.$eq$(i, J.get$length$asx(safeList)); ++i) if (J.$index$asx(safeList, i) == null) A.throwExpression(A.ArgumentError$("null element", null)); } catch (exception) { J.removeRange$2$ax(safeList, lengthBefore, J.get$length$asx(safeList)); throw exception; } }, map$1(_, f) { var t2, result, _this = this, t1 = _this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1(_this.$ti._precomputed1)._eval$1("MappedListIterable<1,2>"); result = A.List_List$of(new A.MappedListIterable(t1, f, t2), true, t2._eval$1("ListIterable.E")); _this._list$_maybeCheckElements$1(result); _this.__ListBuilder__list_A = result; _this._listOwner = null; }, get$_safeList() { var t1, _this = this; if (_this._listOwner != null) { t1 = _this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__ListBuilder__list_A = A.List_List$from(t1, true, _this.$ti._precomputed1); _this._listOwner = null; } t1 = _this.__ListBuilder__list_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, _list$_maybeCheckElements$1(elements) { var t1, _i; if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) return; for (t1 = elements.length, _i = 0; _i < t1; ++_i) if (elements[_i] == null) A.throwExpression(A.ArgumentError$("null element", null)); } }; A.BuiltListMultimap.prototype = { get$hashCode(_) { var t2, _this = this, t1 = _this._list_multimap$_hashCode; if (t1 == null) { t1 = _this._list_multimap$_map; t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); t2 = A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t1, t2), new A.BuiltListMultimap_hashCode_closure(_this), t2._eval$1("Iterable.E"), type$.int); t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")); B.JSArray_methods.sort$0(t2); t2 = _this._list_multimap$_hashCode = A.hashObjects(t2); t1 = t2; } return t1; }, $eq(_, other) { var t1, t2, t3, t4, t5, key, result, t6, _this = this; if (other == null) return false; if (other === _this) return true; if (!(other instanceof A._BuiltListMultimap)) return false; t1 = other._list_multimap$_map; t2 = _this._list_multimap$_map; if (t1.__js_helper$_length !== t2.__js_helper$_length) return false; if (other.get$hashCode(0) !== _this.get$hashCode(0)) return false; for (t3 = _this.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = other._emptyList, t5 = _this._emptyList; t3.moveNext$0();) { key = t3.__js_helper$_current; result = t1.$index(0, key); t6 = result == null ? t4 : result; result = t2.$index(0, key); if (!t6.$eq(0, result == null ? t5 : result)) return false; } return true; }, toString$0(_) { return A.MapBase_mapToString(this._list_multimap$_map); }, $index(_, key) { var result = this._list_multimap$_map.$index(0, key); return result == null ? this._emptyList : result; }, containsKey$1(_, key) { return this._list_multimap$_map.containsKey$1(0, key); }, forEach$1(_, f) { this._list_multimap$_map.forEach$1(0, new A.BuiltListMultimap_forEach_closure(this, f)); }, get$isEmpty(_) { return this._list_multimap$_map.__js_helper$_length === 0; }, get$keys(_) { var t1 = this._list_multimap$_keys; if (t1 == null) { t1 = this._list_multimap$_map; t1 = this._list_multimap$_keys = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); } return t1; }, get$length(_) { return this._list_multimap$_map.__js_helper$_length; } }; A.BuiltListMultimap_BuiltListMultimap_closure.prototype = { call$1(k) { return this.multimap.$index(0, k); }, $signature: 32 }; A.BuiltListMultimap_hashCode_closure.prototype = { call$1(key) { var t1 = J.get$hashCode$(key), t2 = J.get$hashCode$(this.$this._list_multimap$_map.$index(0, key)); return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2))); }, $signature() { return this.$this.$ti._eval$1("int(1)"); } }; A.BuiltListMultimap_forEach_closure.prototype = { call$2(key, values) { B.JSArray_methods.forEach$1(values._list$_list, new A.BuiltListMultimap_forEach__closure(this.$this, this.f, key)); }, $signature() { return this.$this.$ti._eval$1("~(1,BuiltList<2>)"); } }; A.BuiltListMultimap_forEach__closure.prototype = { call$1(value) { this.f.call$2(this.key, value); }, $signature() { return this.$this.$ti._eval$1("~(2)"); } }; A._BuiltListMultimap.prototype = { _BuiltListMultimap$copy$2(keys, lookup, $K, $V) { var t1, t2, key; for (t1 = J.get$iterator$ax(keys), t2 = this._list_multimap$_map; t1.moveNext$0();) { key = t1.get$current(t1); if ($K._is(key)) t2.$indexSet(0, key, A.BuiltList_BuiltList$from(lookup.call$1(key), $V)); else throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), null)); } } }; A.ListMultimapBuilder.prototype = { build$0() { var key, t2, builtList, t3, _this = this, t1 = _this._list_multimap$_builtMapOwner; if (t1 == null) { t1 = _this.__ListMultimapBuilder__builderMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); for (; t1.moveNext$0();) { key = t1.__js_helper$_current; t2 = _this.__ListMultimapBuilder__builderMap_A.$index(0, key); builtList = t2._listOwner; if (builtList == null) { t3 = t2.__ListBuilder__list_A; t3 === $ && A.throwUnnamedLateFieldNI(); t2.__ListBuilder__list_A = t3; builtList = t2._listOwner = new A._BuiltList(t3, A._instanceType(t2)._eval$1("_BuiltList<1>")); } t2 = builtList._list$_list.length; t3 = _this.__ListMultimapBuilder__builtMap_A; if (t2 === 0) { t3 === $ && A.throwUnnamedLateFieldNI(); t3.remove$1(0, key); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3.$indexSet(0, key, builtList); } } t1 = _this.__ListMultimapBuilder__builtMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.$ti; t3 = t2._rest[1]; t3 = _this._list_multimap$_builtMapOwner = new A._BuiltListMultimap(t1, A.BuiltList_BuiltList$from(B.List_empty, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltListMultimap<1,2>")); t1 = t3; } return t1; }, replace$1(_, multimap) { this._list_multimap$_setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.ListMultimapBuilder_replace_closure(multimap)); }, $index(_, key) { var t1; this._makeWriteableCopy$0(); t1 = this.$ti; return t1._precomputed1._is(key) ? this._list_multimap$_getValuesBuilder$1(key) : A.ListBuilder_ListBuilder(B.List_empty, t1._rest[1]); }, _list_multimap$_getValuesBuilder$1(key) { var result, builtValues, _this = this, t1 = _this.__ListMultimapBuilder__builderMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); result = t1.$index(0, key); if (result == null) { t1 = _this.__ListMultimapBuilder__builtMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); builtValues = t1.$index(0, key); result = builtValues == null ? A.ListBuilder_ListBuilder(B.List_empty, _this.$ti._rest[1]) : A.ListBuilder_ListBuilder(builtValues, builtValues.$ti._precomputed1); _this.__ListMultimapBuilder__builderMap_A.$indexSet(0, key, result); } return result; }, _makeWriteableCopy$0() { var t1, t2, _this = this; if (_this._list_multimap$_builtMapOwner != null) { t1 = _this.__ListMultimapBuilder__builtMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.$ti; _this.__ListMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$from(t1, t2._precomputed1, t2._eval$1("BuiltList<2>")); _this._list_multimap$_builtMapOwner = null; } }, _list_multimap$_setWithCopyAndCheck$2(keys, lookup) { var t1, t2, t3, t4, key, t5, value, t6, t7, _this = this; _this._list_multimap$_builtMapOwner = null; t1 = _this.$ti; t2 = t1._precomputed1; t3 = t1._eval$1("BuiltList<2>"); _this.__ListMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); _this.__ListMultimapBuilder__builderMap_A = A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("ListBuilder<2>")); for (t4 = J.get$iterator$ax(keys), t1 = t1._rest[1]; t4.moveNext$0();) { key = t4.get$current(t4); if (t2._is(key)) for (t5 = J.get$iterator$ax(lookup.call$1(key)); t5.moveNext$0();) { value = t5.get$current(t5); if (t1._is(value)) { if (_this._list_multimap$_builtMapOwner != null) { _this.__ListMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$from(_this.__ListMultimapBuilder__builtMap_A, t2, t3); _this._list_multimap$_builtMapOwner = null; } _this._list_multimap$_checkKey$1(key); _this._list_multimap$_checkValue$1(value); t6 = _this._list_multimap$_getValuesBuilder$1(key); if (!$.$get$isSoundMode() && !t6.$ti._precomputed1._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", null)); if (t6._listOwner != null) { t7 = t6.__ListBuilder__list_A; t7 === $ && A.throwUnnamedLateFieldNI(); t6.__ListBuilder__list_A = A.List_List$from(t7, true, t6.$ti._precomputed1); t6._listOwner = null; } t6 = t6.__ListBuilder__list_A; t6 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.add$1(t6, value); } else throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), null)); } else throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), null)); } }, _list_multimap$_checkKey$1(key) { if ($.$get$isSoundMode()) return; if (this.$ti._precomputed1._is(null)) return; if (key == null) throw A.wrapException(A.ArgumentError$("null key", null)); }, _list_multimap$_checkValue$1(value) { if ($.$get$isSoundMode()) return; if (this.$ti._rest[1]._is(null)) return; if (value == null) throw A.wrapException(A.ArgumentError$("null value", null)); } }; A.ListMultimapBuilder_replace_closure.prototype = { call$1(k) { return this.multimap.$index(0, k); }, $signature: 32 }; A.BuiltMap.prototype = { rebuild$1(updates) { var t1 = this.$ti; t1._eval$1("_BuiltMap<1,2>")._as(this); t1 = new A.MapBuilder(this._mapFactory, this._map$_map, this, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("MapBuilder<1,2>")); updates.call$1(t1); return t1.build$0(); }, get$hashCode(_) { var t2, _this = this, t1 = _this._map$_hashCode; if (t1 == null) { t1 = _this._map$_map; t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); t2 = A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t1, t2), new A.BuiltMap_hashCode_closure(_this), t2._eval$1("Iterable.E"), type$.int); t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")); B.JSArray_methods.sort$0(t2); t2 = _this._map$_hashCode = A.hashObjects(t2); t1 = t2; } return t1; }, $eq(_, other) { var t1, t2, t3, t4, key, _this = this; if (other == null) return false; if (other === _this) return true; if (!(other instanceof A._BuiltMap)) return false; t1 = other._map$_map; t2 = _this._map$_map; if (t1.__js_helper$_length !== t2.__js_helper$_length) return false; if (other.get$hashCode(0) !== _this.get$hashCode(0)) return false; for (t3 = _this.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1); t3.moveNext$0();) { key = t3.__js_helper$_current; if (!J.$eq$(t1.$index(0, key), t2.$index(0, key))) return false; } return true; }, toString$0(_) { return A.MapBase_mapToString(this._map$_map); }, $index(_, key) { return this._map$_map.$index(0, key); }, containsKey$1(_, key) { return this._map$_map.containsKey$1(0, key); }, forEach$1(_, f) { this._map$_map.forEach$1(0, f); }, get$isEmpty(_) { return this._map$_map.__js_helper$_length === 0; }, get$keys(_) { var t1 = this._map$_keys; if (t1 == null) { t1 = this._map$_map; t1 = this._map$_keys = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); } return t1; }, get$length(_) { return this._map$_map.__js_helper$_length; }, get$values(_) { var t1 = this._map$_values; return t1 == null ? this._map$_values = this._map$_map.get$values(0) : t1; }, map$1(_, f) { var t1 = type$.dynamic, t2 = this._map$_map; return new A._BuiltMap(null, t2.map$2$1(t2, f, t1, t1), type$._BuiltMap_dynamic_dynamic); } }; A.BuiltMap_BuiltMap_closure.prototype = { call$1(k) { return J.$index$asx(this.map, k); }, $signature: 32 }; A.BuiltMap_BuiltMap$from_closure.prototype = { call$1(k) { return this.map.$index(0, k); }, $signature: 32 }; A.BuiltMap_hashCode_closure.prototype = { call$1(key) { var t1 = J.get$hashCode$(key), t2 = J.get$hashCode$(this.$this._map$_map.$index(0, key)); return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2))); }, $signature() { return this.$this.$ti._eval$1("int(1)"); } }; A._BuiltMap.prototype = { _BuiltMap$copyAndCheckTypes$2(keys, lookup, $K, $V) { var t1, t2, key, value; for (t1 = J.get$iterator$ax(keys), t2 = this._map$_map; t1.moveNext$0();) { key = t1.get$current(t1); if ($K._is(key)) { value = lookup.call$1(key); if ($V._is(value)) t2.$indexSet(0, key, value); else throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value), null)); } else throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), null)); } } }; A.MapBuilder.prototype = { build$0() { var t2, _this = this, t1 = _this._mapOwner; if (t1 == null) { t1 = _this.__MapBuilder__map_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.$ti; t2 = _this._mapOwner = new A._BuiltMap(_this._mapFactory, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_BuiltMap<1,2>")); t1 = t2; } return t1; }, replace$1(_, map) { var replacement, _this = this; if (_this.$ti._eval$1("_BuiltMap<1,2>")._is(map) && true) { _this._mapOwner = map; _this.__MapBuilder__map_A = map._map$_map; } else if (map instanceof A._BuiltMap) { replacement = _this._createMap$0(); map._map$_map.forEach$1(0, new A.MapBuilder_replace_closure(_this, replacement)); _this._mapOwner = null; _this.__MapBuilder__map_A = replacement; } else if (type$.Map_dynamic_dynamic._is(map)) { replacement = _this._createMap$0(); J.forEach$1$ax(map, new A.MapBuilder_replace_closure0(_this, replacement)); _this._mapOwner = null; _this.__MapBuilder__map_A = replacement; } else throw A.wrapException(A.ArgumentError$("expected Map or BuiltMap, got " + J.get$runtimeType$(map).toString$0(0), null)); }, $index(_, key) { var t1 = this.__MapBuilder__map_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1.$index(0, key); }, $indexSet(_, key, value) { this._checkKey$1(key); this._checkValue$1(value); this.get$_safeMap().$indexSet(0, key, value); }, get$length(_) { var t1 = this.__MapBuilder__map_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1.__js_helper$_length; }, get$isEmpty(_) { var t1 = this.__MapBuilder__map_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1.__js_helper$_length === 0; }, addAll$1(_, other) { this._checkKeys$1(new A.LinkedHashMapKeyIterable(other, A._instanceType(other)._eval$1("LinkedHashMapKeyIterable<1>"))); this._checkValues$1(other.get$values(0)); this.get$_safeMap().addAll$1(0, other); }, get$_safeMap() { var t1, t2, _this = this; if (_this._mapOwner != null) { t1 = _this._createMap$0(); t2 = _this.__MapBuilder__map_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.addAll$1(0, t2); _this.__MapBuilder__map_A = t1; _this._mapOwner = null; } t1 = _this.__MapBuilder__map_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, _createMap$0() { var t1 = this.$ti; return A.LinkedHashMap_LinkedHashMap$_empty(t1._precomputed1, t1._rest[1]); }, _checkKey$1(key) { if ($.$get$isSoundMode()) return; if (this.$ti._precomputed1._is(null)) return; if (key == null) throw A.wrapException(A.ArgumentError$("null key", null)); }, _checkKeys$1(keys) { var t1; if ($.$get$isSoundMode()) return; if (this.$ti._precomputed1._is(null)) return; for (t1 = keys._map, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, keys.$ti._precomputed1); t1.moveNext$0();) this._checkKey$1(t1.__js_helper$_current); }, _checkValue$1(value) { if ($.$get$isSoundMode()) return; if (this.$ti._rest[1]._is(null)) return; if (value == null) throw A.wrapException(A.ArgumentError$("null value", null)); }, _checkValues$1(values) { var t1, t2, value; if ($.$get$isSoundMode()) return; if (this.$ti._rest[1]._is(null)) return; for (t1 = A._instanceType(values), t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(values.__internal$_iterable), values._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1]; t2.moveNext$0();) { value = t2.__internal$_current; this._checkValue$1(value == null ? t1._as(value) : value); } } }; A.MapBuilder_replace_closure.prototype = { call$2(key, value) { var t1 = this.$this.$ti; this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, $signature: 221 }; A.MapBuilder_replace_closure0.prototype = { call$2(key, value) { var t1 = this.$this.$ti; this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, $signature: 221 }; A.BuiltSet.prototype = { get$hashCode(_) { var t2, _this = this, t1 = _this._set$_hashCode; if (t1 == null) { t1 = _this._set$_set; t2 = A._instanceType(t1)._eval$1("EfficientLengthMappedIterable<SetBase.E,int>"); t2 = A.List_List$of(new A.EfficientLengthMappedIterable(t1, new A.BuiltSet_hashCode_closure(_this), t2), false, t2._eval$1("Iterable.E")); B.JSArray_methods.sort$0(t2); t2 = _this._set$_hashCode = A.hashObjects(t2); t1 = t2; } return t1; }, $eq(_, other) { var t1; if (other == null) return false; if (other === this) return true; if (!(other instanceof A._BuiltSet)) return false; t1 = this._set$_set; if (other._set$_set._collection$_length !== t1._collection$_length) return false; if (other.get$hashCode(0) !== this.get$hashCode(0)) return false; return t1.containsAll$1(other); }, toString$0(_) { return A.Iterable_iterableToFullString(this._set$_set, "{", "}"); }, get$length(_) { return this._set$_set._collection$_length; }, get$iterator(_) { var t1 = this._set$_set; return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); }, cast$1$0(_, $T) { return A.CastIterable_CastIterable(this._set$_set, this.$ti._precomputed1, $T); }, map$1$1(_, f, $T) { var t1 = this._set$_set; return new A.EfficientLengthMappedIterable(t1, f, A._instanceType(t1)._eval$1("@<SetBase.E>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, map$1(_, f) { return this.map$1$1(0, f, type$.dynamic); }, where$1(_, test) { var t1 = this._set$_set; return new A.WhereIterable(t1, test, A._instanceType(t1)._eval$1("WhereIterable<SetBase.E>")); }, contains$1(_, element) { return this._set$_set.contains$1(0, element); }, forEach$1(_, f) { return this._set$_set.forEach$1(0, f); }, join$1(_, separator) { return this._set$_set.join$1(0, separator); }, any$1(_, test) { return this._set$_set.any$1(0, test); }, toSet$0(_) { return new A.CopyOnWriteSet(this._setFactory, this._set$_set, this.$ti._eval$1("CopyOnWriteSet<1>")); }, toList$1$growable(_, growable) { var t1 = this._set$_set; return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetBase.E")); }, toList$0(_) { return this.toList$1$growable(0, true); }, get$isEmpty(_) { return this._set$_set._collection$_length === 0; }, get$isNotEmpty(_) { return this._set$_set._collection$_length !== 0; }, take$1(_, n) { var t1 = this._set$_set; return A.TakeIterable_TakeIterable(t1, n, A._instanceType(t1)._eval$1("SetBase.E")); }, skip$1(_, n) { var t1 = this._set$_set; return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetBase.E")); }, get$first(_) { return this._set$_set.get$first(0); }, get$last(_) { return this._set$_set.get$last(0); }, get$single(_) { return this._set$_set.get$single(0); }, elementAt$1(_, index) { return this._set$_set.elementAt$1(0, index); }, $isIterable: 1 }; A.BuiltSet_hashCode_closure.prototype = { call$1(e) { return J.get$hashCode$(e); }, $signature() { return this.$this.$ti._eval$1("int(1)"); } }; A._BuiltSet.prototype = { _set$_maybeCheckForNull$0() { var t1, t2, element; if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) return; for (t1 = this._set$_set, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { element = t1._collection$_current; if ((element == null ? t2._as(element) : element) == null) throw A.wrapException(A.ArgumentError$("iterable contained invalid element: null", null)); } } }; A.SetBuilder.prototype = { build$0() { var _this = this, t1 = _this._setOwner; if (t1 == null) { t1 = _this.__SetBuilder__set_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = _this._setOwner = new A._BuiltSet(_this._setFactory, t1, _this.$ti._eval$1("_BuiltSet<1>")); } return t1; }, replace$1(_, iterable) { var t1, t2, element, _this = this, set = _this._createSet$0(); for (t1 = J.get$iterator$ax(iterable), t2 = _this.$ti._precomputed1; t1.moveNext$0();) { element = t1.get$current(t1); if (t2._is(element)) set.add$1(0, element); else throw A.wrapException(A.ArgumentError$("iterable contained invalid element: " + A.S(element), null)); } _this._setOwner = null; _this.__SetBuilder__set_A = set; }, get$length(_) { var t1 = this.__SetBuilder__set_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1._collection$_length; }, get$isEmpty(_) { var t1 = this.__SetBuilder__set_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1._collection$_length === 0; }, map$1(_, f) { var _this = this, result = _this._createSet$0(), t1 = _this.__SetBuilder__set_A; t1 === $ && A.throwUnnamedLateFieldNI(); result.addAll$1(0, new A.EfficientLengthMappedIterable(t1, f, A._instanceType(t1)._eval$1("@<SetBase.E>")._bind$1(_this.$ti._precomputed1)._eval$1("EfficientLengthMappedIterable<1,2>"))); _this._maybeCheckElements$1(result); _this._setOwner = null; _this.__SetBuilder__set_A = result; }, get$_safeSet() { var t1, t2, _this = this; if (_this._setOwner != null) { t1 = _this._createSet$0(); t2 = _this.__SetBuilder__set_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.addAll$1(0, t2); _this.__SetBuilder__set_A = t1; _this._setOwner = null; } t1 = _this.__SetBuilder__set_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, _createSet$0() { return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1); }, _maybeCheckElements$1(elements) { var t1, t2, element; if (!(!$.$get$isSoundMode() && !this.$ti._precomputed1._is(null))) return; for (t1 = A._LinkedHashSetIterator$(elements, elements._collection$_modifications, A._instanceType(elements)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { element = t1._collection$_current; if ((element == null ? t2._as(element) : element) == null) A.throwExpression(A.ArgumentError$("null element", null)); } } }; A.BuiltSetMultimap.prototype = { get$hashCode(_) { var t2, _this = this, t1 = _this._set_multimap$_hashCode; if (t1 == null) { t1 = _this._set_multimap$_map; t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); t2 = A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t1, t2), new A.BuiltSetMultimap_hashCode_closure(_this), t2._eval$1("Iterable.E"), type$.int); t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")); B.JSArray_methods.sort$0(t2); t2 = _this._set_multimap$_hashCode = A.hashObjects(t2); t1 = t2; } return t1; }, $eq(_, other) { var t1, t2, t3, t4, t5, key, result, t6, _this = this; if (other == null) return false; if (other === _this) return true; if (!(other instanceof A._BuiltSetMultimap)) return false; t1 = other._set_multimap$_map; t2 = _this._set_multimap$_map; if (t1.__js_helper$_length !== t2.__js_helper$_length) return false; if (other.get$hashCode(0) !== _this.get$hashCode(0)) return false; for (t3 = _this.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = other._set_multimap$_emptySet, t5 = _this._set_multimap$_emptySet; t3.moveNext$0();) { key = t3.__js_helper$_current; result = t1.$index(0, key); t6 = result == null ? t4 : result; result = t2.$index(0, key); if (!t6.$eq(0, result == null ? t5 : result)) return false; } return true; }, toString$0(_) { return A.MapBase_mapToString(this._set_multimap$_map); }, $index(_, key) { var result = this._set_multimap$_map.$index(0, key); return result == null ? this._set_multimap$_emptySet : result; }, containsKey$1(_, key) { return this._set_multimap$_map.containsKey$1(0, key); }, forEach$1(_, f) { this._set_multimap$_map.forEach$1(0, new A.BuiltSetMultimap_forEach_closure(this, f)); }, get$isEmpty(_) { return this._set_multimap$_map.__js_helper$_length === 0; }, get$keys(_) { var t1 = this._set_multimap$_keys; if (t1 == null) { t1 = this._set_multimap$_map; t1 = this._set_multimap$_keys = new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); } return t1; }, get$length(_) { return this._set_multimap$_map.__js_helper$_length; } }; A.BuiltSetMultimap_hashCode_closure.prototype = { call$1(key) { var t1 = J.get$hashCode$(key), t2 = J.get$hashCode$(this.$this._set_multimap$_map.$index(0, key)); return A._finish(A._combine(A._combine(0, B.JSInt_methods.get$hashCode(t1)), B.JSInt_methods.get$hashCode(t2))); }, $signature() { return this.$this.$ti._eval$1("int(1)"); } }; A.BuiltSetMultimap_forEach_closure.prototype = { call$2(key, values) { values._set$_set.forEach$1(0, new A.BuiltSetMultimap_forEach__closure(this.$this, this.f, key)); }, $signature() { return this.$this.$ti._eval$1("~(1,BuiltSet<2>)"); } }; A.BuiltSetMultimap_forEach__closure.prototype = { call$1(value) { this.f.call$2(this.key, value); }, $signature() { return this.$this.$ti._eval$1("~(2)"); } }; A._BuiltSetMultimap.prototype = {}; A.SetMultimapBuilder.prototype = { build$0() { var key, t2, builtSet, t3, t4, _this = this, t1 = _this._builtMapOwner; if (t1 == null) { t1 = _this.__SetMultimapBuilder__builderMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); for (; t1.moveNext$0();) { key = t1.__js_helper$_current; t2 = _this.__SetMultimapBuilder__builderMap_A.$index(0, key); builtSet = t2._setOwner; if (builtSet == null) { t3 = t2._setFactory; t4 = t2.__SetBuilder__set_A; t4 === $ && A.throwUnnamedLateFieldNI(); builtSet = t2._setOwner = new A._BuiltSet(t3, t4, A._instanceType(t2)._eval$1("_BuiltSet<1>")); } t2 = builtSet._set$_set._collection$_length; t3 = _this.__SetMultimapBuilder__builtMap_A; if (t2 === 0) { t3 === $ && A.throwUnnamedLateFieldNI(); t3.remove$1(0, key); } else { t3 === $ && A.throwUnnamedLateFieldNI(); t3.$indexSet(0, key, builtSet); } } t1 = _this.__SetMultimapBuilder__builtMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.$ti; t3 = t2._rest[1]; t3 = _this._builtMapOwner = new A._BuiltSetMultimap(t1, A.BuiltSet_BuiltSet$from(B.List_empty, t3), t2._eval$1("@<1>")._bind$1(t3)._eval$1("_BuiltSetMultimap<1,2>")); t1 = t3; } return t1; }, replace$1(_, multimap) { this._setWithCopyAndCheck$2(multimap.get$keys(multimap), new A.SetMultimapBuilder_replace_closure(multimap)); }, _getValuesBuilder$1(key) { var result, builtValues, _this = this, t1 = _this.__SetMultimapBuilder__builderMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); result = t1.$index(0, key); if (result == null) { t1 = _this.__SetMultimapBuilder__builtMap_A; t1 === $ && A.throwUnnamedLateFieldNI(); builtValues = t1.$index(0, key); if (builtValues == null) result = A.SetBuilder_SetBuilder(_this.$ti._rest[1]); else { t1 = builtValues.$ti; t1._eval$1("_BuiltSet<1>")._as(builtValues); result = new A.SetBuilder(builtValues._setFactory, builtValues._set$_set, builtValues, t1._eval$1("SetBuilder<1>")); } _this.__SetMultimapBuilder__builderMap_A.$indexSet(0, key, result); } return result; }, _setWithCopyAndCheck$2(keys, lookup) { var t1, t2, t3, t4, key, t5, value, t6, _this = this; _this._builtMapOwner = null; t1 = _this.$ti; t2 = t1._precomputed1; t3 = t1._eval$1("BuiltSet<2>"); _this.__SetMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); _this.__SetMultimapBuilder__builderMap_A = A.LinkedHashMap_LinkedHashMap$_empty(t2, t1._eval$1("SetBuilder<2>")); for (t4 = J.get$iterator$ax(keys), t1 = t1._rest[1]; t4.moveNext$0();) { key = t4.get$current(t4); if (t2._is(key)) for (t5 = J.get$iterator$ax(lookup.call$1(key)); t5.moveNext$0();) { value = t5.get$current(t5); if (t1._is(value)) { if (_this._builtMapOwner != null) { _this.__SetMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$from(_this.__SetMultimapBuilder__builtMap_A, t2, t3); _this._builtMapOwner = null; } _this._set_multimap$_checkKey$1(key); _this._set_multimap$_checkValue$1(value); t6 = _this._getValuesBuilder$1(key); if (!$.$get$isSoundMode() && !t6.$ti._precomputed1._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", null)); t6.get$_safeSet().add$1(0, value); } else throw A.wrapException(A.ArgumentError$("map contained invalid value: " + A.S(value) + ", for key " + A.S(key), null)); } else throw A.wrapException(A.ArgumentError$("map contained invalid key: " + A.S(key), null)); } }, _set_multimap$_checkKey$1(key) { if ($.$get$isSoundMode()) return; if (this.$ti._precomputed1._is(null)) return; if (key == null) throw A.wrapException(A.ArgumentError$("invalid key: " + A.S(key), null)); }, _set_multimap$_checkValue$1(value) { if ($.$get$isSoundMode()) return; if (this.$ti._rest[1]._is(null)) return; if (value == null) throw A.wrapException(A.ArgumentError$("invalid value: " + A.S(value), null)); } }; A.SetMultimapBuilder_replace_closure.prototype = { call$1(k) { return this.multimap.$index(0, k); }, $signature: 32 }; A.EnumClass.prototype = { toString$0(_) { return this.name; } }; A.newBuiltValueToStringHelper_closure.prototype = { call$1(className) { var t1 = new A.StringBuffer(""), t2 = "" + className; t1._contents = t2; t1._contents = t2 + " {\n"; $._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2; return new A.IndentingBuiltValueToStringHelper(t1); }, $signature: 3233 }; A.IndentingBuiltValueToStringHelper.prototype = { add$2(_, field, value) { var t1, t2; if (value != null) { t1 = this._result; t1.toString; t2 = t1._contents += B.JSString_methods.$mul(" ", $._indentingBuiltValueToStringHelperIndent); t2 += field; t1._contents = t2; t1._contents = t2 + "="; t2 = t1._contents += A.S(value); t1._contents = t2 + ",\n"; } }, toString$0(_) { var t2, stringResult, t1 = $._indentingBuiltValueToStringHelperIndent - 2; $._indentingBuiltValueToStringHelperIndent = t1; t2 = this._result; t2.toString; t1 = t2._contents += B.JSString_methods.$mul(" ", t1); t2._contents = t1 + "}"; stringResult = J.toString$0$(this._result); this._result = null; return stringResult; } }; A.BuiltValueNullFieldError.prototype = { toString$0(_) { return 'Tried to construct class "' + this.type + '" with null for non-nullable field "' + this.field + '".'; } }; A.BuiltValueNestedFieldError.prototype = { toString$0(_) { return 'Tried to build class "' + this.type + '" but nested builder for field "' + this.field + '" threw: ' + this.error; } }; A.JsonObject.prototype = { toString$0(_) { return J.toString$0$(this.get$value(this)); } }; A.BoolJsonObject.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; if (!(other instanceof A.BoolJsonObject)) return false; return this.value === other.value; }, get$hashCode(_) { return B.JSBool_methods.get$hashCode(this.value); }, get$value(receiver) { return this.value; } }; A.ListJsonObject.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; if (!(other instanceof A.ListJsonObject)) return false; return B.DeepCollectionEquality_false.equals$2(this.value, other.value); }, get$hashCode(_) { return B.DeepCollectionEquality_false.hash$1(0, this.value); }, get$value(receiver) { return this.value; } }; A.MapJsonObject.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; if (!(other instanceof A.MapJsonObject)) return false; return B.DeepCollectionEquality_false.equals$2(this.value, other.value); }, get$hashCode(_) { return B.DeepCollectionEquality_false.hash$1(0, this.value); }, get$value(receiver) { return this.value; } }; A.NumJsonObject.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; if (!(other instanceof A.NumJsonObject)) return false; return this.value === other.value; }, get$hashCode(_) { return B.JSNumber_methods.get$hashCode(this.value); }, get$value(receiver) { return this.value; } }; A.StringJsonObject.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; if (!(other instanceof A.StringJsonObject)) return false; return this.value === other.value; }, get$hashCode(_) { return B.JSString_methods.get$hashCode(this.value); }, get$value(receiver) { return this.value; } }; A.Serializers_Serializers_closure.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Object); }, $signature: 3267 }; A.Serializers_Serializers_closure0.prototype = { call$0() { var t1 = type$.Object; return A.ListMultimapBuilder_ListMultimapBuilder(t1, t1); }, $signature: 3277 }; A.Serializers_Serializers_closure1.prototype = { call$0() { var t1 = type$.Object; return A.MapBuilder_MapBuilder(t1, t1); }, $signature: 3283 }; A.Serializers_Serializers_closure2.prototype = { call$0() { return A.SetBuilder_SetBuilder(type$.Object); }, $signature: 3320 }; A.Serializers_Serializers_closure3.prototype = { call$0() { var t1 = type$.Object; return A.SetMultimapBuilder_SetMultimapBuilder(t1, t1); }, $signature: 3329 }; A.FullType.prototype = { $eq(_, other) { var t1, t2, t3, i, _this = this; if (other == null) return false; if (other === _this) return true; if (!(other instanceof A.FullType)) return false; if (_this.root != other.root) return false; if (_this.nullable !== other.nullable) return false; t1 = _this.parameters; t2 = t1.length; t3 = other.parameters; if (t2 !== t3.length) return false; for (i = 0; i !== t2; ++i) if (!t1[i].$eq(0, t3[i])) return false; return true; }, get$hashCode(_) { var t1 = A.hashObjects(this.parameters); t1 = A._finish(A._combine(A._combine(0, J.get$hashCode$(this.root)), B.JSInt_methods.get$hashCode(t1))); return t1 ^ (this.nullable ? 1768878041 : 0); }, toString$0(_) { var t2, t1 = this.root; if (t1 == null) t1 = "unspecified"; else { t2 = this.parameters; t1 = t2.length === 0 ? A.FullType__getRawName(t1) : A.FullType__getRawName(t1) + "<" + B.JSArray_methods.join$1(t2, ", ") + ">"; t1 += this.nullable ? "?" : ""; } return t1; } }; A.DeserializationError.prototype = { toString$0(_) { return "Deserializing to '" + this.type.toString$0(0) + "' failed due to: " + this.error.toString$0(0); } }; A.BigIntSerializer.prototype = { serialize$3$specifiedType(serializers, bigInt, specifiedType) { return bigInt.toString$0(0); }, serialize$2(serializers, bigInt) { return this.serialize$3$specifiedType(serializers, bigInt, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var result; A._asString(serialized); result = A._BigIntImpl__tryParse(serialized, null); if (result == null) A.throwExpression(A.FormatException$("Could not parse BigInt", serialized, null)); return result; }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "BigInt"; } }; A.BoolSerializer.prototype = { serialize$3$specifiedType(serializers, boolean, specifiedType) { return boolean; }, serialize$2(serializers, boolean) { return this.serialize$3$specifiedType(serializers, boolean, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A._asBool(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "bool"; } }; A.BuiltJsonSerializers.prototype = { deserializeWith$1$2(serializer, serialized, $T) { return $T._eval$1("0?")._as(this.deserialize$2$specifiedType(serialized, new A.FullType(J.get$first$ax(serializer.get$types(serializer)), B.List_empty16, false))); }, serializeWith$1$2(serializer, object) { return this.serialize$2$specifiedType(object, new A.FullType(J.get$first$ax(serializer.get$types(serializer)), B.List_empty16, false)); }, serializeWith$2(serializer, object) { return this.serializeWith$1$2(serializer, object, type$.dynamic); }, serialize$2$specifiedType(object, specifiedType) { var t1, t2, t3, t4, t5, t6, result; for (t1 = this.serializerPlugins._list$_list, t2 = A._arrayInstanceType(t1), t3 = t2._eval$1("ArrayIterator<1>"), t4 = new J.ArrayIterator(t1, t1.length, t3), t5 = specifiedType.root, t2 = t2._precomputed1; t4.moveNext$0();) { t6 = t4.__interceptors$_current; if (t6 == null) t2._as(t6); if ($.$get$StandardJsonPlugin__unsupportedTypes()._set$_set.contains$1(0, t5)) A.throwExpression(A.ArgumentError$("Standard JSON cannot serialize type " + A.S(t5) + ".", null)); } result = this._serialize$2(object, specifiedType); for (t1 = new J.ArrayIterator(t1, t1.length, t3); t1.moveNext$0();) { t3 = t1.__interceptors$_current; result = (t3 == null ? t2._as(t3) : t3).afterSerialize$2(result, specifiedType); } return result; }, serialize$1(object) { return this.serialize$2$specifiedType(object, B.FullType_null_List_empty_false); }, _serialize$2(object, specifiedType) { var serializer, result, _this = this, _s62_ = string$.serial, t1 = specifiedType.root; if (t1 == null) { t1 = J.getInterceptor$(object); serializer = _this.serializerForType$1(t1.get$runtimeType(object)); if (serializer == null) throw A.wrapException(A.StateError$(A._noSerializerMessageFor(t1.get$runtimeType(object).toString$0(0)))); if (type$.StructuredSerializer_dynamic._is(serializer)) { result = [serializer.get$wireName()]; B.JSArray_methods.addAll$1(result, serializer.serialize$2(_this, object)); return result; } else if (type$.PrimitiveSerializer_dynamic._is(serializer)) return object == null ? [serializer.get$wireName(), null] : A._setArrayType([serializer.get$wireName(), serializer.serialize$2(_this, object)], type$.JSArray_Object); else throw A.wrapException(A.StateError$(_s62_)); } else { serializer = _this.serializerForType$1(t1); if (serializer == null) return _this.serialize$1(object); if (type$.StructuredSerializer_dynamic._is(serializer)) return object == null ? null : J.toList$0$ax(serializer.serialize$3$specifiedType(_this, object, specifiedType)); else if (type$.PrimitiveSerializer_dynamic._is(serializer)) return object == null ? null : serializer.serialize$3$specifiedType(_this, object, specifiedType); else throw A.wrapException(A.StateError$(_s62_)); } }, deserialize$2$specifiedType(object, specifiedType) { var t1, t2, t3, t4, transformedObject, t5, result; for (t1 = this.serializerPlugins._list$_list, t2 = A._arrayInstanceType(t1), t3 = t2._eval$1("ArrayIterator<1>"), t4 = new J.ArrayIterator(t1, t1.length, t3), t2 = t2._precomputed1, transformedObject = object; t4.moveNext$0();) { t5 = t4.__interceptors$_current; transformedObject = (t5 == null ? t2._as(t5) : t5).beforeDeserialize$2(transformedObject, specifiedType); } result = this._deserialize$3(object, transformedObject, specifiedType); for (t1 = new J.ArrayIterator(t1, t1.length, t3); t1.moveNext$0();) { t3 = t1.__interceptors$_current; if (t3 == null) t2._as(t3); } return result; }, deserialize$1(object) { return this.deserialize$2$specifiedType(object, B.FullType_null_List_empty_false); }, _deserialize$3(objectBeforePlugins, object, specifiedType) { var serializer, error, primitive, error0, serializer0, error1, error2, wireName, exception, _this = this, _s62_ = string$.serial, t1 = specifiedType.root; if (t1 == null) { type$.List_nullable_Object._as(object); t1 = J.getInterceptor$ax(object); wireName = A._asString(t1.get$first(object)); serializer = _this._wireNameToSerializer._map$_map.$index(0, wireName); if (serializer == null) throw A.wrapException(A.StateError$(A._noSerializerMessageFor(wireName))); if (type$.StructuredSerializer_dynamic._is(serializer)) try { t1 = serializer.deserialize$2(_this, t1.sublist$1(object, 1)); return t1; } catch (exception) { t1 = A.unwrapException(exception); if (type$.Error._is(t1)) { error = t1; throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error)); } else throw exception; } else if (type$.PrimitiveSerializer_dynamic._is(serializer)) try { primitive = t1.$index(object, 1); t1 = primitive == null ? null : serializer.deserialize$2(_this, primitive); return t1; } catch (exception) { t1 = A.unwrapException(exception); if (type$.Error._is(t1)) { error0 = t1; throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error0)); } else throw exception; } else throw A.wrapException(A.StateError$(_s62_)); } else { serializer0 = _this.serializerForType$1(t1); if (serializer0 == null) if (type$.List_dynamic._is(object) && typeof J.get$first$ax(object) == "string") return _this.deserialize$1(objectBeforePlugins); else throw A.wrapException(A.StateError$(A._noSerializerMessageFor(t1.toString$0(0)))); if (type$.StructuredSerializer_dynamic._is(serializer0)) try { t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, type$.Iterable_nullable_Object._as(object), specifiedType); return t1; } catch (exception) { t1 = A.unwrapException(exception); if (type$.Error._is(t1)) { error1 = t1; throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error1)); } else throw exception; } else if (type$.PrimitiveSerializer_dynamic._is(serializer0)) try { t1 = object == null ? null : serializer0.deserialize$3$specifiedType(_this, object, specifiedType); return t1; } catch (exception) { t1 = A.unwrapException(exception); if (type$.Error._is(t1)) { error2 = t1; throw A.wrapException(A.DeserializationError_DeserializationError(object, specifiedType, error2)); } else throw exception; } else throw A.wrapException(A.StateError$(_s62_)); } }, serializerForType$1(type) { var t1 = this._typeToSerializer._map$_map.$index(0, type); return t1 == null ? this._typeNameToSerializer._map$_map.$index(0, A._getRawName(type)) : t1; }, newBuilder$1(fullType) { var builderFactory = this.builderFactories._map$_map.$index(0, fullType); if (builderFactory == null) this._throwMissingBuilderFactory$1(fullType); return builderFactory.call$0(); }, _throwMissingBuilderFactory$1(fullType) { throw A.wrapException(A.StateError$("No builder factory for " + fullType.toString$0(0) + ". Fix by adding one, see SerializersBuilder.addBuilderFactory.")); }, toBuilder$0() { var t3, t4, t5, t6, t7, t8, t9, _this = this, t1 = _this._typeToSerializer, t2 = t1.$ti; t2._eval$1("_BuiltMap<1,2>")._as(t1); t3 = _this._wireNameToSerializer; t4 = t3.$ti; t4._eval$1("_BuiltMap<1,2>")._as(t3); t5 = _this._typeNameToSerializer; t6 = t5.$ti; t6._eval$1("_BuiltMap<1,2>")._as(t5); t7 = _this.builderFactories; t8 = t7.$ti; t8._eval$1("_BuiltMap<1,2>")._as(t7); t9 = _this.serializerPlugins; return new A.BuiltJsonSerializersBuilder(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t3._mapFactory, t3._map$_map, t3, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t5._mapFactory, t5._map$_map, t5, t6._eval$1("@<1>")._bind$1(t6._rest[1])._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t7._mapFactory, t7._map$_map, t7, t8._eval$1("@<1>")._bind$1(t8._rest[1])._eval$1("MapBuilder<1,2>")), A.ListBuilder_ListBuilder(t9, t9.$ti._precomputed1)); } }; A.BuiltJsonSerializersBuilder.prototype = { add$1(_, serializer) { var t1, t2, t3, t4, $name, genericsStart; if (!type$.StructuredSerializer_dynamic._is(serializer) && !type$.PrimitiveSerializer_dynamic._is(serializer)) throw A.wrapException(A.ArgumentError$(string$.serial, null)); this._wireNameToSerializer.$indexSet(0, serializer.get$wireName(), serializer); for (t1 = J.get$iterator$ax(serializer.get$types(serializer)), t2 = this._typeToSerializer, t3 = this._typeNameToSerializer; t1.moveNext$0();) { t4 = t1.get$current(t1); t2._checkKey$1(t4); t2._checkValue$1(serializer); t2.get$_safeMap().$indexSet(0, t4, serializer); $name = t4.toString$0(0); genericsStart = B.JSString_methods.indexOf$1($name, "<"); t4 = genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); t3._checkKey$1(t4); t3._checkValue$1(serializer); t3.get$_safeMap().$indexSet(0, t4, serializer); } }, addBuilderFactory$2(types, $function) { var t2, t3, t1 = this._builderFactories; t1.$indexSet(0, types, $function); t2 = types.root; t3 = types.parameters; t1.$indexSet(0, !types.nullable ? new A.FullType(t2, t3, true) : new A.FullType(t2, t3, false), $function); }, build$0() { var _this = this; return new A.BuiltJsonSerializers(_this._typeToSerializer.build$0(), _this._wireNameToSerializer.build$0(), _this._typeNameToSerializer.build$0(), _this._builderFactories.build$0(), _this._plugins.build$0()); } }; A.BuiltListMultimapSerializer.prototype = { serialize$3$specifiedType(serializers, builtListMultimap, specifiedType) { var t1, t2, keyType, valueType, result, t3, key, result0, t4, t5; if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length === 0; keyType = t2 ? B.FullType_null_List_empty_false : t1[0]; valueType = t2 ? B.FullType_null_List_empty_false : t1[1]; result = []; for (t1 = builtListMultimap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtListMultimap._list_multimap$_map, t3 = builtListMultimap._emptyList; t1.moveNext$0();) { key = t1.__js_helper$_current; result.push(serializers.serialize$2$specifiedType(key, keyType)); result0 = t2.$index(0, key); t4 = (result0 == null ? t3 : result0)._list$_list; t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Object?>"); result.push(A.List_List$of(new A.MappedListIterable(t4, new A.BuiltListMultimapSerializer_serialize_closure(serializers, valueType), t5), true, t5._eval$1("ListIterable.E"))); } return result; }, serialize$2(serializers, builtListMultimap) { return this.serialize$3$specifiedType(serializers, builtListMultimap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var result, t3, t4, t5, i, key, values, t6, value, t7, t8, isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0, t1 = specifiedType.parameters, t2 = t1.length === 0, keyType = t2 ? B.FullType_null_List_empty_false : t1[0], valueType = t2 ? B.FullType_null_List_empty_false : t1[1]; if (isUnderspecified) { t1 = type$.Object; result = A.ListMultimapBuilder_ListMultimapBuilder(t1, t1); } else result = type$.ListMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); t1 = J.getInterceptor$asx(serialized); if (B.JSInt_methods.$mod(t1.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); for (t2 = result.$ti, t3 = t2._precomputed1, t2 = t2._eval$1("BuiltList<2>"), t4 = type$.Iterable_nullable_Object, t5 = type$.nullable_Object, i = 0; i !== t1.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); values = J.map$1$1$ax(t4._as(t1.elementAt$1(serialized, i + 1)), new A.BuiltListMultimapSerializer_deserialize_closure(serializers, valueType), t5); for (t6 = values.get$iterator(values); t6.moveNext$0();) { value = t6.get$current(t6); if (result._list_multimap$_builtMapOwner != null) { t7 = result.__ListMultimapBuilder__builtMap_A; t7 === $ && A.throwUnnamedLateFieldNI(); result.__ListMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$from(t7, t3, t2); result._list_multimap$_builtMapOwner = null; } result._list_multimap$_checkKey$1(key); result._list_multimap$_checkValue$1(value); t7 = result._list_multimap$_getValuesBuilder$1(key); if (!$.$get$isSoundMode() && !t7.$ti._precomputed1._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", null)); if (t7._listOwner != null) { t8 = t7.__ListBuilder__list_A; t8 === $ && A.throwUnnamedLateFieldNI(); t7.__ListBuilder__list_A = A.List_List$from(t8, true, t7.$ti._precomputed1); t7._listOwner = null; } t7 = t7.__ListBuilder__list_A; t7 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.add$1(t7, value); } } return result.build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "listMultimap"; } }; A.BuiltListMultimapSerializer_serialize_closure.prototype = { call$1(value) { return this.serializers.serialize$2$specifiedType(value, this.valueType); }, $signature: 205 }; A.BuiltListMultimapSerializer_deserialize_closure.prototype = { call$1(value) { return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, $signature: 441 }; A.BuiltListSerializer.prototype = { serialize$3$specifiedType(serializers, builtList, specifiedType) { var t1, elementType; if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; elementType = t1.length === 0 ? B.FullType_null_List_empty_false : t1[0]; t1 = builtList._list$_list; return new A.MappedListIterable(t1, new A.BuiltListSerializer_serialize_closure(serializers, elementType), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")); }, serialize$2(serializers, builtList) { return this.serialize$3$specifiedType(serializers, builtList, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0, t1 = specifiedType.parameters, elementType = t1.length === 0 ? B.FullType_null_List_empty_false : t1[0], result = isUnderspecified ? A.ListBuilder_ListBuilder(B.List_empty, type$.Object) : type$.ListBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); result.replace$1(0, J.map$1$1$ax(serialized, new A.BuiltListSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); return result.build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "list"; } }; A.BuiltListSerializer_serialize_closure.prototype = { call$1(item) { return this.serializers.serialize$2$specifiedType(item, this.elementType); }, $signature: 205 }; A.BuiltListSerializer_deserialize_closure.prototype = { call$1(item) { return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, $signature: 205 }; A.BuiltMapSerializer.prototype = { serialize$3$specifiedType(serializers, builtMap, specifiedType) { var t1, t2, keyType, valueType, result, key; if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length === 0; keyType = t2 ? B.FullType_null_List_empty_false : t1[0]; valueType = t2 ? B.FullType_null_List_empty_false : t1[1]; result = []; for (t1 = builtMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtMap._map$_map; t1.moveNext$0();) { key = t1.__js_helper$_current; result.push(serializers.serialize$2$specifiedType(key, keyType)); result.push(serializers.serialize$2$specifiedType(t2.$index(0, key), valueType)); } return result; }, serialize$2(serializers, builtMap) { return this.serialize$3$specifiedType(serializers, builtMap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var result, i, key, value, isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0, t1 = specifiedType.parameters, t2 = t1.length === 0, keyType = t2 ? B.FullType_null_List_empty_false : t1[0], valueType = t2 ? B.FullType_null_List_empty_false : t1[1]; if (isUnderspecified) { t1 = type$.Object; result = A.MapBuilder_MapBuilder(t1, t1); } else result = type$.MapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); t1 = J.getInterceptor$asx(serialized); if (B.JSInt_methods.$mod(t1.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); for (i = 0; i !== t1.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); value = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i + 1), valueType); result._checkKey$1(key); result._checkValue$1(value); result.get$_safeMap().$indexSet(0, key, value); } return result.build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "map"; } }; A.BuiltSetMultimapSerializer.prototype = { serialize$3$specifiedType(serializers, builtSetMultimap, specifiedType) { var t1, t2, keyType, valueType, result, t3, key, result0, t4, t5; if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; t2 = t1.length === 0; keyType = t2 ? B.FullType_null_List_empty_false : t1[0]; valueType = t2 ? B.FullType_null_List_empty_false : t1[1]; result = []; for (t1 = builtSetMultimap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtSetMultimap._set_multimap$_map, t3 = builtSetMultimap._set_multimap$_emptySet; t1.moveNext$0();) { key = t1.__js_helper$_current; result.push(serializers.serialize$2$specifiedType(key, keyType)); result0 = t2.$index(0, key); t4 = (result0 == null ? t3 : result0)._set$_set; t5 = A._instanceType(t4)._eval$1("EfficientLengthMappedIterable<SetBase.E,Object?>"); result.push(A.List_List$of(new A.EfficientLengthMappedIterable(t4, new A.BuiltSetMultimapSerializer_serialize_closure(serializers, valueType), t5), true, t5._eval$1("Iterable.E"))); } return result; }, serialize$2(serializers, builtSetMultimap) { return this.serialize$3$specifiedType(serializers, builtSetMultimap, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var result, t3, i, key, t4, value, t5, isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0, t1 = specifiedType.parameters, t2 = t1.length === 0, keyType = t2 ? B.FullType_null_List_empty_false : t1[0], valueType = t2 ? B.FullType_null_List_empty_false : t1[1]; if (isUnderspecified) { t1 = type$.Object; result = A.SetMultimapBuilder_SetMultimapBuilder(t1, t1); } else result = type$.SetMultimapBuilder_dynamic_dynamic._as(serializers.newBuilder$1(specifiedType)); t1 = J.getInterceptor$asx(serialized); if (B.JSInt_methods.$mod(t1.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); for (t2 = result.$ti, t3 = t2._precomputed1, t2 = t2._eval$1("BuiltSet<2>"), i = 0; i !== t1.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); for (t4 = J.get$iterator$ax(J.map$1$ax(t1.elementAt$1(serialized, i + 1), new A.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType))); t4.moveNext$0();) { value = t4.get$current(t4); if (result._builtMapOwner != null) { t5 = result.__SetMultimapBuilder__builtMap_A; t5 === $ && A.throwUnnamedLateFieldNI(); result.__SetMultimapBuilder__builtMap_A = A.LinkedHashMap_LinkedHashMap$from(t5, t3, t2); result._builtMapOwner = null; } result._set_multimap$_checkKey$1(key); result._set_multimap$_checkValue$1(value); t5 = result._getValuesBuilder$1(key); if (!$.$get$isSoundMode() && !t5.$ti._precomputed1._is(null)) if (value == null) A.throwExpression(A.ArgumentError$("null element", null)); t5.get$_safeSet().add$1(0, value); } } return result.build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "setMultimap"; } }; A.BuiltSetMultimapSerializer_serialize_closure.prototype = { call$1(value) { return this.serializers.serialize$2$specifiedType(value, this.valueType); }, $signature: 205 }; A.BuiltSetMultimapSerializer_deserialize_closure.prototype = { call$1(value) { return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, $signature: 205 }; A.BuiltSetSerializer.prototype = { serialize$3$specifiedType(serializers, builtSet, specifiedType) { var t1, elementType; if (!(specifiedType.root == null || specifiedType.parameters.length === 0)) if (!serializers.builderFactories._map$_map.containsKey$1(0, specifiedType)) serializers._throwMissingBuilderFactory$1(specifiedType); t1 = specifiedType.parameters; elementType = t1.length === 0 ? B.FullType_null_List_empty_false : t1[0]; t1 = builtSet._set$_set; return new A.EfficientLengthMappedIterable(t1, new A.BuiltSetSerializer_serialize_closure(serializers, elementType), A._instanceType(t1)._eval$1("EfficientLengthMappedIterable<SetBase.E,Object?>")); }, serialize$2(serializers, builtSet) { return this.serialize$3$specifiedType(serializers, builtSet, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var isUnderspecified = specifiedType.root == null || specifiedType.parameters.length === 0, t1 = specifiedType.parameters, elementType = t1.length === 0 ? B.FullType_null_List_empty_false : t1[0], result = isUnderspecified ? A.SetBuilder_SetBuilder(type$.Object) : type$.SetBuilder_dynamic._as(serializers.newBuilder$1(specifiedType)); result.replace$1(0, J.map$1$1$ax(serialized, new A.BuiltSetSerializer_deserialize_closure(serializers, elementType), type$.dynamic)); return result.build$0(); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isStructuredSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "set"; } }; A.BuiltSetSerializer_serialize_closure.prototype = { call$1(item) { return this.serializers.serialize$2$specifiedType(item, this.elementType); }, $signature: 205 }; A.BuiltSetSerializer_deserialize_closure.prototype = { call$1(item) { return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, $signature: 205 }; A.DateTimeSerializer.prototype = { serialize$3$specifiedType(serializers, dateTime, specifiedType) { if (!dateTime.isUtc) throw A.wrapException(A.ArgumentError$value(dateTime, "dateTime", "Must be in utc for serialization.")); return 1000 * dateTime._value; }, serialize$2(serializers, dateTime) { return this.serialize$3$specifiedType(serializers, dateTime, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var t2, t1 = B.JSNumber_methods.round$0(A._asInt(serialized) / 1000); if (Math.abs(t1) <= 864e13) t2 = false; else t2 = true; if (t2) A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + t1, null)); A.checkNotNullable(true, "isUtc", type$.bool); return new A.DateTime(t1, true); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "DateTime"; } }; A.DoubleSerializer.prototype = { serialize$3$specifiedType(serializers, aDouble, specifiedType) { if (isNaN(aDouble)) return "NaN"; else if (aDouble == 1 / 0 || aDouble == -1 / 0) return B.JSNumber_methods.get$isNegative(aDouble) ? "-INF" : "INF"; else return aDouble; }, serialize$2(serializers, aDouble) { return this.serialize$3$specifiedType(serializers, aDouble, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var t1 = J.getInterceptor$(serialized); if (t1.$eq(serialized, "NaN")) return 0 / 0; else if (t1.$eq(serialized, "-INF")) return -1 / 0; else if (t1.$eq(serialized, "INF")) return 1 / 0; else return A._asNum(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "double"; } }; A.DurationSerializer.prototype = { serialize$3$specifiedType(serializers, duration, specifiedType) { return duration._duration; }, serialize$2(serializers, duration) { return this.serialize$3$specifiedType(serializers, duration, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A.Duration$(0, 0, A._asInt(serialized), 0, 0, 0); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "Duration"; } }; A.Int32Serializer.prototype = { serialize$3$specifiedType(serializers, int32, specifiedType) { return int32._i; }, serialize$2(serializers, int32) { return this.serialize$3$specifiedType(serializers, int32, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { A._asInt(serialized); return new A.Int32((serialized & 2147483647) - ((serialized & 2147483648) >>> 0)); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "Int32"; } }; A.Int64Serializer.prototype = { serialize$3$specifiedType(serializers, int64, specifiedType) { return int64._toRadixString$1(10); }, serialize$2(serializers, int64) { return this.serialize$3$specifiedType(serializers, int64, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var t1 = A.Int64__parseRadix(A._asString(serialized), 10, true); t1.toString; return t1; }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "Int64"; } }; A.IntSerializer.prototype = { serialize$3$specifiedType(serializers, integer, specifiedType) { return integer; }, serialize$2(serializers, integer) { return this.serialize$3$specifiedType(serializers, integer, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A._asInt(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "int"; } }; A.JsonObjectSerializer.prototype = { serialize$3$specifiedType(serializers, jsonObject, specifiedType) { return jsonObject.get$value(jsonObject); }, serialize$2(serializers, jsonObject) { return this.serialize$3$specifiedType(serializers, jsonObject, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A.JsonObject_JsonObject(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "JsonObject"; } }; A.NullSerializer.prototype = { serialize$3$specifiedType(serializers, value, specifiedType) { throw A.wrapException(A.UnimplementedError$(null)); }, serialize$2(serializers, value) { return this.serialize$3$specifiedType(serializers, value, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { throw A.wrapException(A.UnimplementedError$(null)); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "Null"; } }; A.NumSerializer.prototype = { serialize$3$specifiedType(serializers, number, specifiedType) { if (isNaN(number)) return "NaN"; else if (number == 1 / 0 || number == -1 / 0) return B.JSNumber_methods.get$isNegative(number) ? "-INF" : "INF"; else return number; }, serialize$2(serializers, number) { return this.serialize$3$specifiedType(serializers, number, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { var t1 = J.getInterceptor$(serialized); if (t1.$eq(serialized, "NaN")) return 0 / 0; else if (t1.$eq(serialized, "-INF")) return -1 / 0; else if (t1.$eq(serialized, "INF")) return 1 / 0; else return A._asNum(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "num"; } }; A.RegExpSerializer.prototype = { serialize$3$specifiedType(serializers, value, specifiedType) { return value.pattern; }, serialize$2(serializers, value) { return this.serialize$3$specifiedType(serializers, value, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A.RegExp_RegExp(A._asString(serialized), true, false, false, false); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "RegExp"; } }; A.StringSerializer.prototype = { serialize$3$specifiedType(serializers, string, specifiedType) { return string; }, serialize$2(serializers, string) { return this.serialize$3$specifiedType(serializers, string, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A._asString(serialized); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "String"; } }; A.Uint8ListSerializer.prototype = { serialize$3$specifiedType(serializers, uint8list, specifiedType) { return B.C_Base64Codec.get$encoder().convert$1(uint8list); }, serialize$2(serializers, uint8list) { return this.serialize$3$specifiedType(serializers, uint8list, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return B.C_Base64Decoder.convert$1(A._asString(serialized)); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, get$types(_) { return A.BuiltList_BuiltList$from([B.Type_Uint8List_WLA], type$.Type); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$wireName() { return "UInt8List"; } }; A.UriSerializer.prototype = { serialize$3$specifiedType(serializers, uri, specifiedType) { return uri.toString$0(0); }, serialize$2(serializers, uri) { return this.serialize$3$specifiedType(serializers, uri, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { return A.Uri_parse(A._asString(serialized), 0, null); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, $isSerializer: 1, $isPrimitiveSerializer: 1, get$types(receiver) { return this.types; }, get$wireName() { return "Uri"; } }; A.StandardJsonPlugin.prototype = { afterSerialize$2(object, specifiedType) { var _this = this; if (type$.List_dynamic._is(object) && !_this.typesToLeaveAsList._set$_set.contains$1(0, specifiedType.root)) if (specifiedType.root == null) return _this._toMapWithDiscriminator$1(object); else return _this._toMap$2(object, _this._needsEncodedKeys$1(specifiedType)); else return object; }, beforeDeserialize$2(object, specifiedType) { var t1; if (type$.Map_dynamic_dynamic._is(object) && specifiedType.root !== B.Type_JsonObject_gyf) { t1 = specifiedType.root; if (t1 == null) return this._toListUsingDiscriminator$1(object); else return this._toList$3$keepNulls(object, this._needsEncodedKeys$1(specifiedType), t1 === B.Type_BuiltMap_qd4); } else return object; }, _needsEncodedKeys$1(specifiedType) { return specifiedType.root === B.Type_BuiltMap_qd4 && specifiedType.parameters[0].root !== B.Type_String_k8F; }, _toMap$2(list, needsEncodedKeys) { var t1, i, t2, key, value, result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); for (t1 = J.getInterceptor$asx(list), i = 0; i !== B.JSInt_methods._tdivFast$1(t1.get$length(list), 2); ++i) { t2 = i * 2; key = t1.$index(list, t2); value = t1.$index(list, t2 + 1); result.$indexSet(0, needsEncodedKeys ? B.C_JsonCodec.encode$1(key) : A._asString(key), value); } return result; }, _toMapWithDiscriminator$1(list) { var needToEncodeKeys, i, result, t3, key, t1 = J.getInterceptor$asx(list), type = t1.$index(list, 0), t2 = J.getInterceptor$(type); if (t2.$eq(type, "list")) return A.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.sublist$1(list, 1)], type$.String, type$.Object); if (t1.get$length(list) === 2) return A.LinkedHashMap_LinkedHashMap$_literal(["$", type, "", t1.$index(list, 1)], type$.String, type$.nullable_Object); if (t2.$eq(type, "map")) { i = 0; while (true) { if (!(i !== B.JSInt_methods._tdivFast$1(t1.get$length(list) - 1, 2))) { needToEncodeKeys = false; break; } if (typeof t1.$index(list, i * 2 + 1) != "string") { type = "encoded_map"; needToEncodeKeys = true; break; } ++i; } } else needToEncodeKeys = false; result = A.LinkedHashMap_LinkedHashMap$_literal(["$", type], type$.String, type$.Object); for (i = 0; i !== B.JSInt_methods._tdivFast$1(t1.get$length(list) - 1, 2); ++i) { t2 = i * 2; t3 = t2 + 1; key = needToEncodeKeys ? B.C_JsonCodec.encode$1(t1.$index(list, t3)) : A._asString(t1.$index(list, t3)); result.$indexSet(0, key, t1.$index(list, t2 + 2)); } return result; }, _toList$3$keepNulls(map, hasEncodedKeys, keepNulls) { var nullValueCount, t2, result, t1 = {}; if (keepNulls) nullValueCount = 0; else { t2 = J.where$1$ax(J.get$values$x(map), new A.StandardJsonPlugin__toList_closure()); nullValueCount = t2.get$length(t2); } t2 = J.getInterceptor$asx(map); result = A.List_List$filled((t2.get$length(map) - nullValueCount) * 2, 0, false, type$.nullable_Object); t1.i = 0; t2.forEach$1(map, new A.StandardJsonPlugin__toList_closure0(t1, this, keepNulls, result, hasEncodedKeys)); return result; }, _toListUsingDiscriminator$1(map) { var t3, result, needToDecodeKeys, nullValueCount, t1 = {}, t2 = J.getInterceptor$asx(map), type = t2.$index(map, "$"); if (type == null) throw A.wrapException(A.ArgumentError$("Unknown type on deserialization. Need either specifiedType or discriminator field.", null)); t3 = J.getInterceptor$(type); if (t3.$eq(type, "list")) { t1 = [type]; B.JSArray_methods.addAll$1(t1, type$.Iterable_dynamic._as(t2.$index(map, ""))); return t1; } if (t2.containsKey$1(map, "")) { result = A.List_List$filled(2, 0, false, type$.nullable_Object); result[0] = type; result[1] = t2.$index(map, ""); return result; } needToDecodeKeys = t3.$eq(type, "encoded_map"); if (needToDecodeKeys) type = "map"; t3 = J.where$1$ax(t2.get$values(map), new A.StandardJsonPlugin__toListUsingDiscriminator_closure()); nullValueCount = t3.get$length(t3); result = A.List_List$filled((t2.get$length(map) - nullValueCount) * 2 - 1, 0, false, type$.Object); result[0] = type; t1.i = 1; t2.forEach$1(map, new A.StandardJsonPlugin__toListUsingDiscriminator_closure0(t1, this, result, needToDecodeKeys)); return result; }, $isSerializerPlugin: 1 }; A.StandardJsonPlugin__toList_closure.prototype = { call$1(value) { return value == null; }, $signature: 153 }; A.StandardJsonPlugin__toList_closure0.prototype = { call$2(key, value) { var t1, t2, t3, _this = this; if (!_this.keepNulls && value == null) return; t1 = _this.result; t2 = _this._box_0; t3 = t2.i; t1[t3] = _this.hasEncodedKeys ? B.C_JsonCodec.decode$1(0, A._asString(key)) : key; t3 = t2.i; t1[t3 + 1] = value; t2.i = t3 + 2; }, $signature: 221 }; A.StandardJsonPlugin__toListUsingDiscriminator_closure.prototype = { call$1(value) { return value == null; }, $signature: 153 }; A.StandardJsonPlugin__toListUsingDiscriminator_closure0.prototype = { call$2(key, value) { var t1, t2, t3; if (J.$eq$(key, "$")) return; if (value == null) return; t1 = this.result; t2 = this._box_0; t3 = t2.i; t1[t3] = this.needToDecodeKeys ? B.C_JsonCodec.decode$1(0, A._asString(key)) : key; t3 = t2.i; t1[t3 + 1] = value; t2.i = t3 + 2; }, $signature: 221 }; A.StringCharacters.prototype = { get$iterator(_) { return new A.StringCharacterRange(this.string, 0, 0); }, get$first(_) { var t1 = this.string, t2 = t1.length; return t2 === 0 ? A.throwExpression(A.StateError$("No element")) : B.JSString_methods.substring$2(t1, 0, new A.Breaks(t1, t2, 0, 176).nextBreak$0()); }, get$last(_) { var t1 = this.string, t2 = t1.length; return t2 === 0 ? A.throwExpression(A.StateError$("No element")) : B.JSString_methods.substring$1(t1, new A.BackBreaks(t1, 0, t2, 176).nextBreak$0()); }, get$single(_) { var t1 = this.string, t2 = t1.length; if (t2 === 0) throw A.wrapException(A.StateError$("No element")); if (new A.Breaks(t1, t2, 0, 176).nextBreak$0() === t2) return t1; throw A.wrapException(A.StateError$("Too many elements")); }, get$isEmpty(_) { return this.string.length === 0; }, get$isNotEmpty(_) { return this.string.length !== 0; }, get$length(_) { var brk, $length, t1 = this.string, t2 = t1.length; if (t2 === 0) return 0; brk = new A.Breaks(t1, t2, 0, 176); for ($length = 0; brk.nextBreak$0() >= 0;) ++$length; return $length; }, join$1(_, separator) { var t1; if (separator === "") return this.string; t1 = this.string; return A._explodeReplace(t1, 0, t1.length, separator, ""); }, elementAt$1(_, index) { var t1, t2, breaks, count, start, end; A.RangeError_checkNotNegative(index, "index"); t1 = this.string; t2 = t1.length; if (t2 !== 0) { breaks = new A.Breaks(t1, t2, 0, 176); for (count = 0, start = 0; end = breaks.nextBreak$0(), end >= 0; start = end) { if (count === index) return B.JSString_methods.substring$2(t1, start, end); ++count; } } else count = 0; throw A.wrapException(A.IndexError$(index, this, "index", null, count)); }, contains$1(_, singleCharacterString) { var t1; if (typeof singleCharacterString != "string") return false; t1 = singleCharacterString.length; if (t1 === 0) return false; if (new A.Breaks(singleCharacterString, t1, 0, 176).nextBreak$0() !== t1) return false; t1 = this.string; return A._indexOf(t1, singleCharacterString, 0, t1.length) >= 0; }, replaceFirst$2(_, pattern, replacement) { var t1 = this.string; t1 = new A.StringCharacterRange(t1, 0, t1.length).replaceFirst$2(0, pattern, replacement); if (t1 == null) t1 = null; else { t1 = t1._characters_impl$_string; t1 = t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1); } return t1 == null ? this : t1; }, _skipIndices$3(count, cursor, breaks) { var t1, nextBreak; if (count === 0 || cursor === this.string.length) return cursor; t1 = this.string; breaks = new A.Breaks(t1, t1.length, cursor, 176); do { nextBreak = breaks.nextBreak$0(); if (nextBreak < 0) break; if (--count, count > 0) { cursor = nextBreak; continue; } else { cursor = nextBreak; break; } } while (true); return cursor; }, skip$1(_, count) { A.RangeError_checkNotNegative(count, "count"); return this._skip$1(count); }, _skip$1(count) { var start = this._skipIndices$3(count, 0, null), t1 = this.string; if (start === t1.length) return B.StringCharacters_ehH; return new A.StringCharacters(B.JSString_methods.substring$1(t1, start)); }, take$1(_, count) { A.RangeError_checkNotNegative(count, "count"); return this._take$1(count); }, _take$1(count) { var end = this._skipIndices$3(count, 0, null), t1 = this.string; if (end === t1.length) return this; return new A.StringCharacters(B.JSString_methods.substring$2(t1, 0, end)); }, where$1(_, test) { var string = this.super$Iterable$where(0, test).join$0(0); if (string.length === 0) return B.StringCharacters_ehH; return new A.StringCharacters(string); }, $add(_, characters) { return new A.StringCharacters(this.string + characters.string); }, toLowerCase$0(_) { return new A.StringCharacters(this.string.toLowerCase()); }, $eq(_, other) { if (other == null) return false; return other instanceof A.StringCharacters && this.string === other.string; }, get$hashCode(_) { return B.JSString_methods.get$hashCode(this.string); }, toString$0(_) { return this.string; } }; A.StringCharacterRange.prototype = { get$current(_) { var _this = this, t1 = _this._currentCache; return t1 == null ? _this._currentCache = B.JSString_methods.substring$2(_this._characters_impl$_string, _this._characters_impl$_start, _this._characters_impl$_end) : t1; }, moveNext$0() { return this._advanceEnd$2(1, this._characters_impl$_end); }, _advanceEnd$2(count, newStart) { var index, t1, t2, state, char, nextIndex, category, nextChar, t3, _this = this; if (count > 0) { index = _this._characters_impl$_end; for (t1 = _this._characters_impl$_string, t2 = t1.length, state = 176; index < t2; index = nextIndex) { char = t1.charCodeAt(index); nextIndex = index + 1; if ((char & 64512) !== 55296) category = A.low(char); else if (nextIndex < t2) { nextChar = t1.charCodeAt(nextIndex); if ((nextChar & 64512) === 56320) { ++nextIndex; category = A.high(char, nextChar); } else category = 2; } else category = 2; state = string$.x200_000.charCodeAt(state & 240 | category); if ((state & 1) === 0) { --count; t3 = count === 0; } else t3 = false; if (t3) { _this._characters_impl$_start = newStart; _this._characters_impl$_end = index; _this._currentCache = null; return true; } } _this._characters_impl$_start = newStart; _this._characters_impl$_end = t2; _this._currentCache = null; return count === 1 && state !== 176; } else { _this._characters_impl$_start = newStart; _this._currentCache = null; return true; } }, _retractStart$2(count, newEnd) { var start, breaks, nextBreak, _this = this; A.RangeError_checkNotNegative(count, "count"); start = _this._characters_impl$_start; breaks = new A.BackBreaks(_this._characters_impl$_string, 0, start, 176); for (; count > 0; start = nextBreak) { nextBreak = breaks.nextBreak$0(); if (nextBreak < 0) break; --count; } _this._characters_impl$_start = start; _this._characters_impl$_end = newEnd; _this._currentCache = null; return count === 0; }, dropLast$1(count) { var t1, breaks, nextBreak, _this = this; A.RangeError_checkNotNegative(count, "count"); t1 = _this._characters_impl$_end; breaks = new A.BackBreaks(_this._characters_impl$_string, _this._characters_impl$_start, t1, 176); for (; count > 0;) { nextBreak = breaks.nextBreak$0(); if (nextBreak >= 0) { _this._characters_impl$_end = nextBreak; _this._currentCache = null; --count; } else return false; } return true; }, dropLast$0() { return this.dropLast$1(1); }, dropBackWhile$1(test) { var t2, breaks, next, _this = this, t1 = _this._characters_impl$_start, cursor = _this._characters_impl$_end; if (t1 === cursor) return; t2 = _this._characters_impl$_string; breaks = new A.BackBreaks(t2, t1, cursor, 176); for (; next = breaks.nextBreak$0(), next >= 0; cursor = next) if (!test.call$1(B.JSString_methods.substring$2(t2, next, cursor))) break; _this._characters_impl$_end = cursor; _this._currentCache = null; }, expandWhile$1(test) { var next, _this = this, t1 = _this._characters_impl$_string, cursor = _this._characters_impl$_end, breaks = new A.Breaks(t1, t1.length, cursor, 176); for (; next = breaks.nextBreak$0(), next >= 0; cursor = next) if (!test.call$1(B.JSString_methods.substring$2(t1, cursor, next))) break; _this._characters_impl$_end = cursor; _this._currentCache = null; }, get$isEmpty(_) { return this._characters_impl$_start === this._characters_impl$_end; }, replaceFirst$2(_, pattern, replacement) { var replaced, index, _this = this, patternString = pattern.get$string(), replacementString = replacement.string, t1 = patternString.get$isEmpty(patternString), t2 = _this._characters_impl$_string, t3 = _this._characters_impl$_start; if (t1) replaced = B.JSString_methods.replaceRange$3(t2, t3, t3, replacementString); else { index = A._indexOf(t2, patternString, t3, _this._characters_impl$_end); if (index >= 0) replaced = B.JSString_methods.replaceRange$3(t2, index, B.JSInt_methods.$add(index, patternString.get$length(patternString)), replacementString); else return null; } t1 = _this._characters_impl$_end; return A.StringCharacterRange__expandRange(replaced, _this._characters_impl$_start, replaced.length - t2.length + t1); } }; A.Breaks.prototype = { nextBreak$0() { var t1, t2, t3, t4, char, nextChar, category, _this = this, _s192_ = string$.x200_000; for (t1 = _this.end, t2 = _this.base; t3 = _this.cursor, t3 < t1;) { t4 = _this.cursor = t3 + 1; char = t2.charCodeAt(t3); if ((char & 64512) !== 55296) { t4 = _s192_.charCodeAt(_this.state & 240 | A.low(char)); _this.state = t4; if ((t4 & 1) === 0) return t3; continue; } if (t4 < t1) { nextChar = t2.charCodeAt(t4); if ((nextChar & 64512) === 56320) { category = A.high(char, nextChar); ++_this.cursor; } else category = 2; } else category = 2; t4 = _s192_.charCodeAt(_this.state & 240 | category); _this.state = t4; if ((t4 & 1) === 0) return t3; } t1 = _s192_.charCodeAt(_this.state & 240 | 15); _this.state = t1; if ((t1 & 1) === 0) return t3; return -1; } }; A.BackBreaks.prototype = { nextBreak$0() { var t1, t2, t3, t4, char, prevChar, category, t5, _this = this, _s208_ = string$.x10__0__; for (t1 = _this.start, t2 = _this.base; t3 = _this.cursor, t3 > t1;) { t4 = _this.cursor = t3 - 1; char = t2.charCodeAt(t4); if ((char & 64512) !== 56320) { t4 = _this.state = _s208_.charCodeAt(_this.state & 240 | A.low(char)); if (((t4 >= 208 ? _this.state = A.lookAhead(t2, t1, _this.cursor, t4) : t4) & 1) === 0) return t3; continue; } if (t4 >= t1) { prevChar = t2.charCodeAt(t4 - 1); if ((prevChar & 64512) === 55296) { category = A.high(prevChar, char); t4 = --_this.cursor; } else category = 2; } else category = 2; t5 = _this.state = _s208_.charCodeAt(_this.state & 240 | category); if (((t5 >= 208 ? _this.state = A.lookAhead(t2, t1, t4, t5) : t5) & 1) === 0) return t3; } t4 = _this.state = _s208_.charCodeAt(_this.state & 240 | 15); if (((t4 >= 208 ? _this.state = A.lookAhead(t2, t1, t3, t4) : t4) & 1) === 0) return _this.cursor; return -1; } }; A.BarChart0.prototype = { makeDefaultRenderer$0() { var t1 = A.BarRenderer_BarRenderer(null, null, type$.String); t1.rendererId = "default"; return t1; } }; A.BarRenderer.prototype = { configureSeries$1(seriesList) { this.assignMissingColors$2$emptyCategoryUsesSinglePalette(this.getOrderedSeriesList$1$1(seriesList, this.$ti._eval$1("MutableSeries<1>")), true); }, addPositionToDetailsForSeriesDatum$2(details, seriesDatum) { var previousBarGroupWeight, barGroupWeight, allBarGroupWeights, t4, t5, bounds, _this = this, t1 = details.series._attrs._typed_registry$_registry, t2 = type$.nullable_Axis_Object, t3 = _this.$ti, domainAxis = t3._eval$1("ImmutableAxis<1>")._as(t2._as(t1.$index(0, B.AttributeKey_OBU))), measureAxis = type$.ImmutableAxis_num._as(t2._as(t1.$index(0, B.AttributeKey_kWM))); t2 = A._asIntQ(t1.$index(0, B.AttributeKey_2Sa)); t2.toString; previousBarGroupWeight = A._asDoubleQ(t1.$index(0, B.AttributeKey_YGG)); barGroupWeight = A._asDoubleQ(t1.$index(0, B.AttributeKey_esd)); allBarGroupWeights = type$.nullable_List_double._as(t1.$index(0, B.AttributeKey_Ubu)); t1 = A._asIntQ(t1.$index(0, B.AttributeKey_8Tg)); t1.toString; t4 = B.JSNumber_methods.round$0(domainAxis.scale.get$rangeBand()); t5 = details.measureOffset; t5.toString; bounds = _this._getBarBounds$12(details.domain, domainAxis, t4, _this.config.maxBarWidthPx, details.measure, t5, measureAxis, t2, previousBarGroupWeight, barGroupWeight, allBarGroupWeights, t1); _this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); return A.DatumDetails_DatumDetails$from(details, bounds, new A.NullablePoint(bounds.left + bounds.width / 2, bounds.top), null, null, null, t3._precomputed1); }, makeBarRendererElement$20$allBarGroupWeights$barGroupIndex$barGroupWeight$color$dashPattern$details$domainAxis$domainValue$domainWidth$fillColor$fillPattern$measureAxis$measureAxisPosition$measureIsNegative$measureIsNull$measureOffsetValue$measureValue$numBarGroups$previousBarGroupWeight$strokeWidthPx(allBarGroupWeights, barGroupIndex, barGroupWeight, color, dashPattern, details, domainAxis, domainValue, domainWidth, fillColor, fillPattern, measureAxis, measureAxisPosition, measureIsNegative, measureIsNull, measureOffsetValue, measureValue, numBarGroups, previousBarGroupWeight, strokeWidthPx) { var t1 = new A.BarRendererElement(this.$ti._eval$1("BarRendererElement<1>")); t1.color = color; t1.dashPattern = dashPattern; t1.fillColor = fillColor; t1.fillPattern = fillPattern; t1.measureAxisPosition = measureAxisPosition; t1.roundPx = details.roundPx; t1.strokeWidthPx = strokeWidthPx; t1.measureIsNull = measureIsNull; t1.measureIsNegative = measureIsNegative; t1.bounds = this._getBarBounds$12(domainValue, domainAxis, domainWidth, this.config.maxBarWidthPx, measureValue, measureOffsetValue, measureAxis, barGroupIndex, previousBarGroupWeight, barGroupWeight, allBarGroupWeights, numBarGroups); return t1; }, paintBar$3(canvas, animationPercent, barElements) { var unmodifiedBar, t1, t2, t3, maxBarWidth, measureIsNegative, _i, bar, bounds, t4, t5, t6, roundTopLeft, roundTopRight, roundBottomLeft, roundBottomRight, barStack, componentBounds, barOutsideBounds, left, right, $top, bottom, clipBounds, _this = this, bars = A._setArrayType([], type$.JSArray_CanvasRect); _this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); unmodifiedBar = B.JSArray_methods.get$first(barElements); for (t1 = barElements.length, t2 = _this._stackedBarPaddingPx, t3 = type$.int, maxBarWidth = 0, measureIsNegative = false, _i = 0; _i < barElements.length; barElements.length === t1 || (0, A.throwConcurrentModificationError)(barElements), ++_i) { bar = barElements[_i]; bounds = bar.bounds; if (!measureIsNegative) { t4 = bar.measureIsNegative; t4.toString; measureIsNegative = t4; } else measureIsNegative = true; if (!J.$eq$(bar, unmodifiedBar)) { t4 = bar.bounds; t5 = t4.left; t6 = t4.top; bounds = A.Rectangle$(t5, Math.max(0, t6 + (measureIsNegative ? t2 : 0)), t4.width, Math.max(0, t4.height - t2), t3); } bounds.toString; bars.push(new A.CanvasRect(bounds, bar.fillColor, bar.fillPattern, bar.color, bar.strokeWidthPx)); maxBarWidth = Math.max(maxBarWidth, bounds.width); } if (measureIsNegative) { roundTopLeft = false; roundTopRight = false; roundBottomLeft = true; roundBottomRight = true; } else { t1 = _this.__BaseCartesianRenderer_chart_A; t1 = t1.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); roundTopRight = !t1.get$isRtl(); t1 = _this.__BaseCartesianRenderer_chart_A.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); roundBottomLeft = t1.get$isRtl(); roundTopLeft = true; roundBottomRight = false; } barStack = A.CanvasBarStack_CanvasBarStack(bars, 2, roundBottomLeft, roundBottomRight, roundTopLeft, roundTopRight, t2); componentBounds = _this._drawAreaBounds; t1 = barStack.fullStackRect; t2 = t1.left; t4 = componentBounds.left; barOutsideBounds = t2 < t4 || t1.$ti._precomputed1._as(t2 + t1.width) > A._instanceType(componentBounds)._precomputed1._as(t4 + componentBounds.width); if (barOutsideBounds) { t1 = barStack.fullStackRect; t2 = componentBounds.left; t4 = t1.left; left = Math.max(t2, t4); t5 = t1.$ti._precomputed1; right = Math.min(A._instanceType(componentBounds)._precomputed1._as(t2 + componentBounds.width), t5._as(t4 + t1.width)); $top = t1.top; bottom = t5._as($top + t1.height); clipBounds = A.Rectangle$(left, $top, right - left, bottom - $top, t3); if (clipBounds.width <= 0 || clipBounds.height <= 0) return; t1 = canvas.canvas; t1.save$0(0); t1.clipRect$1(canvas._getRect$1(clipBounds)); } canvas.drawBarStack$2$drawAreaBounds(barStack, componentBounds); if (barOutsideBounds) canvas.canvas.restore$0(0); }, _getBarBounds$12(domainValue, domainAxis, domainWidth, maxBarWidthPx, measureValue, measureOffsetValue, measureAxis, barGroupIndex, previousBarGroupWeight, barGroupWeight, allBarGroupWeights, numBarGroups) { var t1, t2, desiredWidth, barWidth, t3, adjustedBarGroupIndex, previousAverageWidth, domainStart, measureEnd, measureStart, bounds; domainWidth = Math.abs(domainWidth); if (barGroupWeight == null) previousBarGroupWeight = barGroupIndex * (1 / numBarGroups); t1 = this._barGroupInnerPaddingPx; t2 = domainWidth - t1 * (numBarGroups - 1); desiredWidth = B.JSNumber_methods.round$0(t2 / numBarGroups); barWidth = allBarGroupWeights != null ? B.JSNumber_methods.round$0(desiredWidth * numBarGroups * J.$index$asx(allBarGroupWeights, barGroupIndex)) : desiredWidth; barWidth = Math.max(1, barWidth); t3 = this.__BaseCartesianRenderer_chart_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = t3.__BaseChart_context_A; t3 === $ && A.throwUnnamedLateFieldNI(); adjustedBarGroupIndex = t3.get$isRtl() ? numBarGroups - barGroupIndex - 1 : barGroupIndex; if (adjustedBarGroupIndex > 0) { previousBarGroupWeight.toString; previousAverageWidth = B.JSNumber_methods.round$0(t2 * (previousBarGroupWeight / adjustedBarGroupIndex)); } else previousAverageWidth = 0; t2 = domainAxis.getLocation$1(domainValue); t2.toString; domainStart = B.JSNumber_methods.round$0(t2 - domainWidth / 2 + (previousAverageWidth + t1) * adjustedBarGroupIndex); if (measureValue == null) measureValue = 0; t1 = measureValue + measureOffsetValue; if (measureValue < 0) { t2 = measureAxis.getLocation$1(measureOffsetValue); t2.toString; measureEnd = B.JSNumber_methods.round$0(t2); t1 = measureAxis.getLocation$1(t1); t1.toString; measureStart = B.JSNumber_methods.round$0(t1); } else { t2 = measureAxis.getLocation$1(measureOffsetValue); t2.toString; measureStart = B.JSNumber_methods.round$0(t2); t1 = measureAxis.getLocation$1(t1); t1.toString; measureEnd = B.JSNumber_methods.round$0(t1); } bounds = A.Rectangle$(domainStart, measureEnd, domainStart + barWidth - domainStart, measureStart - measureEnd, type$.int); return bounds; } }; A.BarRendererElement.prototype = { BarRendererElement$clone$1(other, $D) { var _this = this; _this.series = other.series; _this.bounds = other.bounds; _this.roundPx = other.roundPx; _this.index = other.index; _this._bar_renderer$_datum = other._bar_renderer$_datum; } }; A.AnimatedBar.prototype = {}; A.BarRendererConfig.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.BarRendererConfig && other.cornerStrategy.$eq(0, this.cornerStrategy) && this.super$BaseBarRendererConfig$$eq(0, other); }, get$hashCode(_) { return A.BaseBarRendererConfig.prototype.get$hashCode.call(this, 0) * 31 + B.JSInt_methods.get$hashCode(2); } }; A.ConstCornerStrategy.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.ConstCornerStrategy && true; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(2); } }; A.BaseBarRenderer.prototype = { preprocessSeries$1(seriesList) { var t2, t3, t4, categoryToIndexMap, numBarGroups, _this = this, t1 = {}; _this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); _this._lastVertical = true; t1.barGroupIndex = 0; t2 = _this.$ti; t3 = t2._eval$1("BaseBarRenderer.D"); t4 = type$.Map_String_BaseBarRendererElement; categoryToIndexMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.int); t1.maxBarStackSize = 0; J.forEach$1$ax(_this.getOrderedSeriesList$1$1(seriesList, t2._eval$1("MutableSeries<BaseBarRenderer.D>")), new A.BaseBarRenderer_preprocessSeries_closure(t1, _this, categoryToIndexMap, A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4))); t1.numBarGroups = 0; t2 = _this.config.groupingType; if (t2 === B.BarGroupingType_0 || t2 === B.BarGroupingType_1) t3 = t2 === B.BarGroupingType_2 || t2 === B.BarGroupingType_1; else t3 = false; if (t3) t2 = t1.numBarGroups = categoryToIndexMap.__js_helper$_length; else if (t2 === B.BarGroupingType_2 || t2 === B.BarGroupingType_1) { t1.numBarGroups = 1; t2 = 1; } else { numBarGroups = J.get$length$asx(seriesList); t1.numBarGroups = numBarGroups; t2 = numBarGroups; } J.forEach$1$ax(seriesList, new A.BaseBarRenderer_preprocessSeries_closure0(t1, _this, _this._calculateBarWeights$1(t2))); }, _calculateBarWeights$1(numBarGroups) { var t1, i, weights = A._setArrayType([], type$.JSArray_double); for (t1 = 1 / numBarGroups, i = 0; i < numBarGroups; ++i) weights.push(t1); return weights; }, configureDomainAxes$1(seriesList) { var t1, t2; this.super$BaseCartesianRenderer$configureDomainAxes(seriesList); t1 = J.getInterceptor$asx(seriesList); if (t1.get$isNotEmpty(seriesList)) { t1 = type$.nullable_Axis_Object._as(t1.get$first(seriesList)._attrs._typed_registry$_registry.$index(0, B.AttributeKey_OBU)); t1.toString; t2 = t1.scale.get$rangeBandConfig().type; if (t2 === B.RangeBandType_0) { $.$get$StyleFactory__styleFactory(); t1.scale.set$rangeBandConfig(new A.RangeBandConfig(B.RangeBandType_4, 0.65)); } } }, update$2(_, seriesList, isAnimatingThisDraw) { var _this = this; B.JSArray_methods.clear$0(_this._currentKeys); _this._currentGroupsStackKeys.clear$0(0); J.forEach$1$ax(_this.getOrderedSeriesList$1$1(seriesList, _this.$ti._eval$1("ImmutableSeries<BaseBarRenderer.D>")), new A.BaseBarRenderer_update_closure(_this)); _this._barStackMap.forEach$1(0, new A.BaseBarRenderer_update_closure0(_this)); }, paint$2(canvas, animationPercent) { var keysToRemove, t1, t2, t3, t4, t5, _this = this; if (animationPercent === 1) { keysToRemove = A.HashSet_HashSet(type$.String); t1 = _this._barStackMap; t1.forEach$1(0, new A.BaseBarRenderer_paint_closure(_this, keysToRemove)); for (t2 = A._instanceType(keysToRemove), t3 = new A._HashSetIterator(keysToRemove, keysToRemove._computeElements$0(), t2._eval$1("_HashSetIterator<1>")), t4 = _this._currentKeys, t2 = t2._precomputed1; t3.moveNext$0();) { t5 = t3._collection$_current; if (t5 == null) t5 = t2._as(t5); t1.remove$1(0, t5); B.JSArray_methods.remove$1(t4, t5); } _this._currentGroupsStackKeys.forEach$1(0, new A.BaseBarRenderer_paint_closure0(_this, keysToRemove)); } _this._barStackMap.forEach$1(0, new A.BaseBarRenderer_paint_closure1(_this, animationPercent, canvas)); }, getNearestDatumDetailPerSeries$5$selectExactEventLocation$selectOverlappingPoints(chartPoint, byDomain, boundsOverride, selectExactEventLocation, selectOverlappingPoints) { var t1, domainValue, minMeasureDistance, minDomainDistance, _i, detail, t2, t3, _this = this, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 = 17976931348623157e292, _box_0 = {}, nearest = A._setArrayType([], _this.$ti._eval$1("JSArray<DatumDetails<BaseBarRenderer.D>>")); if (!_this.isPointWithinBounds$2(chartPoint, boundsOverride)) return nearest; t1 = _this._prevDomainAxis; if (t1 instanceof A.OrdinalAxis) { _this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); domainValue = t1.scale.reverse$1(0, chartPoint.x); nearest = _this._getVerticalDetailsForDomainValue$2(domainValue, chartPoint); } else { _this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); nearest = _this._getVerticalDetailsForDomainValue$2(null, chartPoint); _box_0.nearestDomain = null; for (t1 = nearest.length, minMeasureDistance = _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368, minDomainDistance = minMeasureDistance, _i = 0; _i < t1; ++_i) { detail = nearest[_i]; t2 = detail.domainDistance; t2.toString; if (!(t2 < minDomainDistance)) if (t2 === minDomainDistance) { t3 = detail.measureDistance; t3.toString; t3 = t3 < minMeasureDistance; } else t3 = false; else t3 = true; if (t3) { t3 = detail.measureDistance; t3.toString; _box_0.nearestDomain = detail.domain; minMeasureDistance = t3; minDomainDistance = t2; } } if (!!nearest.fixed$length) A.throwExpression(A.UnsupportedError$("retainWhere")); B.JSArray_methods._removeWhere$2(nearest, new A.BaseBarRenderer_getNearestDatumDetailPerSeries_closure(_box_0, _this), false); } return nearest; }, _getSegmentsForDomainValue$2$where(domainValue, where) { var matchingSegments = A._setArrayType([], this.$ti._eval$1("JSArray<BaseAnimatedBar<BaseBarRenderer.D,BaseBarRenderer.R>>")), t1 = this._currentGroupsStackKeys, stackKeys = domainValue != null ? t1.$index(0, domainValue) : t1.get$values(0).reduce$1(0, new A.BaseBarRenderer__getSegmentsForDomainValue_closure()); if (stackKeys != null) stackKeys.forEach$1(0, new A.BaseBarRenderer__getSegmentsForDomainValue_closure0(this, where, matchingSegments)); return matchingSegments; }, _getVerticalDetailsForDomainValue$2(domainValue, chartPoint) { var _this = this, t1 = _this._getSegmentsForDomainValue$2$where(domainValue, new A.BaseBarRenderer__getVerticalDetailsForDomainValue_closure(_this)), t2 = _this.$ti._eval$1("DatumDetails<BaseBarRenderer.D>"); return A.List_List$from(new A.MappedListIterable(t1, new A.BaseBarRenderer__getVerticalDetailsForDomainValue_closure0(_this, chartPoint), A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("MappedListIterable<1,2>")), true, t2); }, _getDistance$3(point, min, max) { if (max >= point && min <= point) return 0; return point > max ? point - max : min - point; }, getOrderedSeriesList$1$1(seriesList, $S) { var t1, t2; this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); t1 = this.config; t2 = t1.groupingType; t2 = t2 === B.BarGroupingType_2 || t2 === B.BarGroupingType_1; if (t2) { t1 = t1.groupingType; t1 = t1 === B.BarGroupingType_0 || t1 === B.BarGroupingType_1 ? new A._ReversedSeriesIterable(seriesList, $S._eval$1("_ReversedSeriesIterable<0>")) : J.get$reversed$ax(seriesList); } else t1 = seriesList; return t1; } }; A.BaseBarRenderer_preprocessSeries_closure.prototype = { call$1(series) { var t1, t2, t3, t4, t5, t6, barGroupIndex, t7, t8, t9, t10, domainToCategoryToDetailsMap, domainToCategoryToDetailsMap0, needsMeasureOffset, barIndex, details, t11, domain, measure, domainToCategoryToDetailsMap1, categoryToDetailsMap, t12, prevDetail, t13, t14, t15, measureOffset, _this = this, _s14_ = "__defaultKey__", elements = A._setArrayType([], type$.JSArray_BaseBarRendererElement), domainFn = series.domainFn, measureFn = series.measureFn, measureOffsetFn = series.measureOffsetFn, fillPatternFn = series.fillPatternFn, strokeWidthPxFn = series.strokeWidthPxFn; if (series.dashPatternFn == null) series.dashPatternFn = new A.BaseBarRenderer_preprocessSeries__closure0(_this.$this); t1 = _this.$this; t2 = t1.config; t3 = t2.groupingType; t4 = t3 !== B.BarGroupingType_0; if (!t4 || t3 === B.BarGroupingType_1) t5 = t3 === B.BarGroupingType_2 || t3 === B.BarGroupingType_1; else t5 = false; if (t5) { t5 = _this.categoryToIndexMap; t6 = _this._box_0; if (t5.containsKey$1(0, _s14_)) { t5 = t5.$index(0, _s14_); t5.toString; t6.barGroupIndex = t5; } else { barGroupIndex = t5.__js_helper$_length; t6.barGroupIndex = barGroupIndex; t5.$indexSet(0, _s14_, barGroupIndex); } } for (t5 = series.data, t6 = _this._box_0, t7 = t2.strokeWidthPx, t8 = strokeWidthPxFn != null, t2 = t2.fillPattern, t9 = fillPatternFn != null, t1 = t1.$ti._eval$1("BarRendererElement<1>"), t10 = t3 === B.BarGroupingType_1, domainToCategoryToDetailsMap = _this.negDomainToStackKeyToDetailsMap, domainToCategoryToDetailsMap0 = _this.posDomainToStackKeyToDetailsMap, t3 = t3 !== B.BarGroupingType_2, needsMeasureOffset = false, barIndex = 0; barIndex < t5.length; ++barIndex) { details = new A.BarRendererElement(t1); details.barStackIndex = 0; details.measureOffset = measureOffsetFn.call$1(barIndex); if (t9) details.fillPattern = fillPatternFn.call$1(barIndex); else details.fillPattern = t2; if (t8) { t11 = strokeWidthPxFn.call$1(barIndex); details.strokeWidthPx = t11 == null ? null : t11; } else details.strokeWidthPx = t7; if (!t3 || t10) { domain = domainFn.call$1(barIndex); measure = measureFn.call$1(barIndex); t11 = measure == null; domainToCategoryToDetailsMap1 = t11 || measure >= 0 ? domainToCategoryToDetailsMap0 : domainToCategoryToDetailsMap; categoryToDetailsMap = domainToCategoryToDetailsMap1.putIfAbsent$2(0, domain, new A.BaseBarRenderer_preprocessSeries__closure1()); t12 = J.getInterceptor$asx(categoryToDetailsMap); prevDetail = t12.$index(categoryToDetailsMap, _s14_); t13 = prevDetail != null; if (t13) { t14 = prevDetail.barStackIndex; t14.toString; details.barStackIndex = t14 + 1; } t14 = t11 ? 0 : measure; details.cumulativeTotal = t14; t15 = measureOffsetFn.call$1(barIndex); t15.toString; if (t13) { t13 = prevDetail.measureOffsetPlusMeasure; t13.toString; measureOffset = t15 + t13; t13 = prevDetail.cumulativeTotal; t13.toString; details.cumulativeTotal = t14 + t13; } else measureOffset = t15; details.measureOffset = measureOffset; details.measureOffsetPlusMeasure = measureOffset + (t11 ? 0 : measure); t12.$indexSet(categoryToDetailsMap, _s14_, details); needsMeasureOffset = true; } t11 = t6.maxBarStackSize; t12 = details.barStackIndex; t12.toString; t6.maxBarStackSize = Math.max(t11, t12 + 1); elements.push(details); } if (needsMeasureOffset) series.measureOffsetFn = new A.BaseBarRenderer_preprocessSeries__closure2(elements); t1 = series._attrs._typed_registry$_registry; t1.$indexSet(0, B.AttributeKey_2Sa, t6.barGroupIndex); t1.$indexSet(0, B.AttributeKey_Db0, _s14_); t1.$indexSet(0, B.AttributeKey_vl2, elements); if (!t4 || t10) ++t6.barGroupIndex; }, $signature() { return this.$this.$ti._eval$1("~(MutableSeries<BaseBarRenderer.D>)"); } }; A.BaseBarRenderer_preprocessSeries__closure0.prototype = { call$1(_) { return null; }, $signature: 862 }; A.BaseBarRenderer_preprocessSeries__closure1.prototype = { call$0() { return A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.BaseBarRendererElement); }, $signature: 946 }; A.BaseBarRenderer_preprocessSeries__closure2.prototype = { call$1(index) { var t1; index.toString; t1 = this.elements[index].measureOffset; t1.toString; return t1; }, $signature: 953 }; A.BaseBarRenderer_preprocessSeries_closure0.prototype = { call$1(series) { var t3, t4, barWeight, t5, t6, t7, previousBarWeights, previousBarWeight, _null = null, t1 = this._box_0, t2 = series._attrs._typed_registry$_registry; t2.$indexSet(0, B.AttributeKey_8Tg, t1.numBarGroups); t3 = this.barWeights; if (t3.length !== 0) { t4 = A._asIntQ(t2.$index(0, B.AttributeKey_2Sa)); t4.toString; barWeight = t3[t4]; t5 = this.$this.__BaseCartesianRenderer_chart_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5 = t5.__BaseChart_context_A; t5 === $ && A.throwUnnamedLateFieldNI(); t5 = t5.get$isRtl(); t6 = t3.length; t7 = A._arrayInstanceType(t3)._precomputed1; if (t5) { ++t4; t1 = t1.numBarGroups; A.RangeError_checkValidRange(t4, t1, t6, _null, _null); previousBarWeights = A.SubListIterable$(t3, t4, t1, t7); } else { A.RangeError_checkValidRange(0, t4, t6, _null, _null); previousBarWeights = A.SubListIterable$(t3, 0, t4, t7); } previousBarWeight = !previousBarWeights.get$isEmpty(0) ? previousBarWeights.reduce$1(0, new A.BaseBarRenderer_preprocessSeries__closure()) : 0; t2.$indexSet(0, B.AttributeKey_esd, barWeight); t2.$indexSet(0, B.AttributeKey_YGG, previousBarWeight); t2.$indexSet(0, B.AttributeKey_Ubu, t3); } }, $signature() { return this.$this.$ti._eval$1("~(MutableSeries<BaseBarRenderer.D>)"); } }; A.BaseBarRenderer_preprocessSeries__closure.prototype = { call$2(a, b) { return a + b; }, $signature: 234 }; A.BaseBarRenderer_update_closure.prototype = { call$1(series) { var t5, t6, t7, t8, t9, barIndex, datum, details, domainValue, measureValue, measureIsNull, t10, measureIsNegative, t11, t12, barStackMapKey, barKey, barStackList, animatingBar, t13, t14, t15, t16, t1 = series._attrs._typed_registry$_registry, t2 = type$.nullable_Axis_Object, t3 = this.$this, t4 = t3.$ti, domainAxis = t4._eval$1("ImmutableAxis<BaseBarRenderer.D>")._as(t2._as(t1.$index(0, B.AttributeKey_OBU))), domainFn = series.domainFn, measureAxis = type$.ImmutableAxis_num._as(t2._as(t1.$index(0, B.AttributeKey_kWM))), measureFn = series.measureFn, colorFn = series.colorFn, dashPatternFn = series.dashPatternFn, fillColorFn = series.fillColorFn, seriesStackKey = A._asStringQ(t1.$index(0, B.AttributeKey_Db0)), barGroupCount = A._asIntQ(t1.$index(0, B.AttributeKey_8Tg)), barGroupIndex = A._asIntQ(t1.$index(0, B.AttributeKey_2Sa)), previousBarGroupWeight = A._asDoubleQ(t1.$index(0, B.AttributeKey_YGG)), barGroupWeight = A._asDoubleQ(t1.$index(0, B.AttributeKey_esd)), allBarGroupWeights = type$.nullable_List_double._as(t1.$index(0, B.AttributeKey_Ubu)), measureAxisPosition = measureAxis.getLocation$1(0), elementsList = type$.nullable_List_BaseBarRendererElement._as(t1.$index(0, B.AttributeKey_vl2)); t3._prevDomainAxis = domainAxis; for (t1 = series.data, t2 = t3._currentKeys, t5 = t3._currentGroupsStackKeys, t6 = t4._eval$1("BaseBarRenderer.R"), t7 = A.S(barGroupIndex), t8 = t3._barStackMap, t9 = A.S(seriesStackKey), t4 = t4._eval$1("AnimatedBar<1>"), barIndex = 0; barIndex < t1.length; ++barIndex) { datum = t1[barIndex]; elementsList.toString; details = J.$index$asx(elementsList, barIndex); domainValue = domainFn.call$1(barIndex); measureValue = measureFn.call$1(barIndex); measureIsNull = measureValue == null; t10 = !measureIsNull; measureIsNegative = t10 && measureValue < 0; t11 = A.S(domainValue); t12 = measureIsNegative ? "pos" : "neg"; barStackMapKey = t11 + "__" + t9 + "__" + t12 + "__" + t7; barKey = barStackMapKey + A.S(details.barStackIndex); barStackList = t8.putIfAbsent$2(0, barStackMapKey, new A.BaseBarRenderer_update__closure(t3)); animatingBar = A.IterableExtension_firstWhereOrNull(barStackList, new A.BaseBarRenderer_update__closure0(t3, barKey)); if (animatingBar == null) { if (t10) { barGroupIndex.toString; t10 = colorFn.call$1(barIndex); t11 = dashPatternFn.call$1(barIndex); t6._as(details); t12 = domainFn.call$1(barIndex); t13 = B.JSNumber_methods.round$0(domainAxis.scale.get$rangeBand()); t14 = fillColorFn.call$1(barIndex); t15 = details.fillPattern; barGroupCount.toString; animatingBar = new A.AnimatedBar(barKey, datum, series, t12, t4); animatingBar.setNewTarget$1(t3.makeBarRendererElement$20$allBarGroupWeights$barGroupIndex$barGroupWeight$color$dashPattern$details$domainAxis$domainValue$domainWidth$fillColor$fillPattern$measureAxis$measureAxisPosition$measureIsNegative$measureIsNull$measureOffsetValue$measureValue$numBarGroups$previousBarGroupWeight$strokeWidthPx(allBarGroupWeights, barGroupIndex, barGroupWeight, t10, t11, details, domainAxis, t12, t13, t14, t15, measureAxis, measureAxisPosition, measureIsNegative, false, 0, 0, barGroupCount, previousBarGroupWeight, details.strokeWidthPx)); J.add$1$ax(barStackList, animatingBar); } } else { animatingBar.datum = datum; animatingBar.series = series; animatingBar.domainValue = domainValue; } if (animatingBar == null) continue; t2.push(barKey); J.add$1$ax(t5.putIfAbsent$2(0, domainValue, new A.BaseBarRenderer_update__closure1()), barStackMapKey); barGroupIndex.toString; t10 = colorFn.call$1(barIndex); t11 = dashPatternFn.call$1(barIndex); t6._as(details); t12 = domainFn.call$1(barIndex); t13 = B.JSNumber_methods.round$0(domainAxis.scale.get$rangeBand()); t14 = fillColorFn.call$1(barIndex); t15 = details.fillPattern; t16 = details.measureOffset; t16.toString; barGroupCount.toString; animatingBar.setNewTarget$1(t3.makeBarRendererElement$20$allBarGroupWeights$barGroupIndex$barGroupWeight$color$dashPattern$details$domainAxis$domainValue$domainWidth$fillColor$fillPattern$measureAxis$measureAxisPosition$measureIsNegative$measureIsNull$measureOffsetValue$measureValue$numBarGroups$previousBarGroupWeight$strokeWidthPx(allBarGroupWeights, barGroupIndex, barGroupWeight, t10, t11, details, domainAxis, t12, t13, t14, t15, measureAxis, measureAxisPosition, measureIsNegative, measureIsNull, t16, measureValue, barGroupCount, previousBarGroupWeight, details.strokeWidthPx)); } }, $signature() { return this.$this.$ti._eval$1("~(ImmutableSeries<BaseBarRenderer.D>)"); } }; A.BaseBarRenderer_update__closure.prototype = { call$0() { return A._setArrayType([], this.$this.$ti._eval$1("JSArray<BaseBarRenderer.B>")); }, $signature() { return this.$this.$ti._eval$1("List<BaseBarRenderer.B>()"); } }; A.BaseBarRenderer_update__closure0.prototype = { call$1(bar) { return bar.key === this.barKey; }, $signature() { return this.$this.$ti._eval$1("bool(BaseBarRenderer.B)"); } }; A.BaseBarRenderer_update__closure1.prototype = { call$0() { return A.LinkedHashSet_LinkedHashSet$_empty(type$.String); }, $signature: 569 }; A.BaseBarRenderer_update_closure0.prototype = { call$2(key, barStackList) { var t1, t2, t3, barIndex, bar, t4, t5, t6, newTarget; for (t1 = J.getInterceptor$asx(barStackList), t2 = this.$this._currentKeys, t3 = type$.int, barIndex = 0; barIndex < t1.get$length(barStackList); ++barIndex) { bar = t1.$index(barStackList, barIndex); if (!B.JSArray_methods.contains$1(t2, bar.key)) { t4 = bar._currentBar; t4.toString; t5 = A.instanceType(bar); t6 = t5._eval$1("BarRendererElement<1>"); newTarget = new A.BarRendererElement(t6); newTarget.BaseBarRendererElement$clone$1(t4); newTarget.BarRendererElement$clone$1(t4, t5._precomputed1); t6._as(newTarget); t6 = newTarget.bounds; t5 = t6.left; t6 = B.JSNumber_methods.round$0(t6.width / 2); t4 = newTarget.measureAxisPosition; t4.toString; newTarget.bounds = A.Rectangle$(t5 + t6, B.JSNumber_methods.round$0(t4), 0, 0, t3); bar.setNewTarget$1(newTarget); bar.animatingOut = true; } } }, $signature() { return this.$this.$ti._eval$1("~(String,List<BaseBarRenderer.B>)"); } }; A.BaseBarRenderer_paint_closure.prototype = { call$2(key, barStackList) { var t1 = J.getInterceptor$ax(barStackList); t1.retainWhere$1(barStackList, new A.BaseBarRenderer_paint__closure0(this.$this)); if (t1.get$isEmpty(barStackList)) this.keysToRemove.add$1(0, key); }, $signature() { return this.$this.$ti._eval$1("~(String,List<BaseBarRenderer.B>)"); } }; A.BaseBarRenderer_paint__closure0.prototype = { call$1(bar) { var t1; if (!bar.animatingOut) { t1 = bar._targetBar.measureIsNull; t1.toString; t1 = !t1; } else t1 = false; return t1; }, $signature() { return this.$this.$ti._eval$1("bool(BaseBarRenderer.B)"); } }; A.BaseBarRenderer_paint_closure0.prototype = { call$2(domain, keys) { var t1 = this.keysToRemove; keys.removeWhere$1(0, t1.get$contains(t1)); }, $signature() { return this.$this.$ti._eval$1("~(BaseBarRenderer.D,Set<String>)"); } }; A.BaseBarRenderer_paint_closure1.prototype = { call$2(stackKey, barStack) { var t1 = this.$this, t2 = this.animationPercent, t3 = J.map$1$1$ax(barStack, new A.BaseBarRenderer_paint__closure(t1, t2), t1.$ti._eval$1("BaseBarRenderer.R")), barElements = A.List_List$of(t3, true, A._instanceType(t3)._eval$1("ListIterable.E")); if (barElements.length !== 0) t1.paintBar$3(this.canvas, t2, barElements); }, $signature() { return this.$this.$ti._eval$1("~(String,List<BaseBarRenderer.B>)"); } }; A.BaseBarRenderer_paint__closure.prototype = { call$1(animatingBar) { var t2, bar = animatingBar.super$BaseAnimatedBar$getCurrentBar(this.animationPercent), t1 = animatingBar.series; bar.series = t1; t2 = animatingBar.datum; bar._bar_renderer$_datum = t2; t1 = B.JSArray_methods.indexOf$1(t1.data, t2); bar.index = t1; return bar; }, $signature() { return this.$this.$ti._eval$1("BaseBarRenderer.R(BaseBarRenderer.B)"); } }; A.BaseBarRenderer_getNearestDatumDetailPerSeries_closure.prototype = { call$1(d) { return J.$eq$(d.domain, this._box_0.nearestDomain); }, $signature() { return this.$this.$ti._eval$1("bool(DatumDetails<BaseBarRenderer.D>)"); } }; A.BaseBarRenderer__getSegmentsForDomainValue_closure.prototype = { call$2(allKeys, keys) { allKeys.addAll$1(0, keys); return allKeys; }, $signature: 990 }; A.BaseBarRenderer__getSegmentsForDomainValue_closure0.prototype = { call$1(stackKey) { var t1 = this.$this._barStackMap.$index(0, stackKey); t1.toString; B.JSArray_methods.addAll$1(this.matchingSegments, J.where$1$ax(t1, this.where)); }, $signature: 15 }; A.BaseBarRenderer__getVerticalDetailsForDomainValue_closure.prototype = { call$1(bar) { return true; }, $signature() { return this.$this.$ti._eval$1("bool(BaseAnimatedBar<BaseBarRenderer.D,BaseBarRenderer.R>)"); } }; A.BaseBarRenderer__getVerticalDetailsForDomainValue_closure0.prototype = { call$1(bar) { var t2, t3, t4, t5, t6, t7, t8, segmentDomainDistance, t9, t10, segmentMeasureDistance, relativeDistance, _null = null, t1 = bar._currentBar.bounds; t1.toString; t2 = this.$this; t3 = this.chartPoint; t4 = t3.x; t5 = B.JSNumber_methods.round$0(t4); t6 = t1.left; t7 = t1.$ti._precomputed1; t8 = t7._as(t6 + t1.width); segmentDomainDistance = t2._getDistance$3(t5, t6, t8); t5 = t3.y; t9 = B.JSNumber_methods.round$0(t5); t10 = t1.top; t1 = t7._as(t10 + t1.height); segmentMeasureDistance = t2._getDistance$3(t9, t10, t1); relativeDistance = t3.distanceTo$1(new A.Point(Math.min(Math.max(t4, t6), t8), Math.min(Math.max(t5, t10), t1), type$.Point_double)); t1 = bar.series; return A.DatumDetails$(_null, _null, _null, _null, _null, _null, _null, bar.datum, bar.domainValue, segmentDomainDistance, _null, _null, _null, _null, _null, _null, _null, segmentMeasureDistance, _null, _null, _null, _null, _null, _null, _null, _null, relativeDistance, t1, _null, _null, t2.$ti._eval$1("BaseBarRenderer.D")); }, $signature() { return this.$this.$ti._eval$1("DatumDetails<BaseBarRenderer.D>(BaseAnimatedBar<BaseBarRenderer.D,BaseBarRenderer.R>)"); } }; A._ReversedSeriesIterable.prototype = { get$iterator(_) { return A._ReversedSeriesIterator$(this.seriesList, this.$ti._precomputed1); } }; A._ReversedSeriesIterator.prototype = { _ReversedSeriesIterator$1(list, $S) { var t1, i, categoryAndSeriesIndexMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, type$.List_int); for (t1 = J.getInterceptor$asx(list), i = 0; i < t1.get$length(list); ++i) J.add$1$ax(categoryAndSeriesIndexMap.putIfAbsent$2(0, t1.$index(list, i).seriesCategory, new A._ReversedSeriesIterator_closure()), i); categoryAndSeriesIndexMap.forEach$1(0, new A._ReversedSeriesIterator_closure0(this)); }, moveNext$0() { var t1 = this._base_bar_renderer$_current; t1 = t1 == null ? 0 : t1 + 1; this._base_bar_renderer$_current = t1; return t1 < J.get$length$asx(this._base_bar_renderer$_list); }, get$current(_) { var t1 = this._base_bar_renderer$_current; t1.toString; return J.$index$asx(this._base_bar_renderer$_list, this._visitIndex[t1]); } }; A._ReversedSeriesIterator_closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_int); }, $signature: 857 }; A._ReversedSeriesIterator_closure0.prototype = { call$2(_, indices) { return B.JSArray_methods.addAll$1(this.$this._visitIndex, J.get$reversed$ax(indices)); }, $signature: 1082 }; A.BaseBarRendererConfig.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.BarRendererConfig && other.groupingType === _this.groupingType && other.minBarLengthPx === _this.minBarLengthPx && other.stackedBarPaddingPx === _this.stackedBarPaddingPx && other.strokeWidthPx === _this.strokeWidthPx && other.symbolRenderer.$eq(0, _this.symbolRenderer) && new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_int).equals$2(other.weightPattern, _this.weightPattern); }, get$hashCode(_) { var _this = this; return (((((((((31 + B.JSNull_methods.get$hashCode(_this.customRendererId)) * 31 + B.JSNull_methods.get$hashCode(null)) * 31 + B.JSNull_methods.get$hashCode(_this.fillPattern)) * 31 + A.Primitives_objectHashCode(_this.groupingType)) * 31 + B.JSInt_methods.get$hashCode(_this.minBarLengthPx)) * 31 + B.JSNull_methods.get$hashCode(_this.maxBarWidthPx)) * 31 + B.JSInt_methods.get$hashCode(_this.stackedBarPaddingPx)) * 31 + B.JSInt_methods.get$hashCode(_this.strokeWidthPx)) * 31 + _this.symbolRenderer.get$hashCode(0)) * 31 + B.JSNull_methods.get$hashCode(_this.weightPattern); } }; A.BarGroupingType.prototype = { _enumToString$0() { return "BarGroupingType." + this._core$_name; } }; A.BaseBarRendererElement.prototype = { BaseBarRendererElement$clone$1(other) { var t1, _this = this, _null = null; _this.barStackIndex = other.barStackIndex; t1 = other.color; _this.color = t1 != null ? A.Color$fromOther(t1, _null) : _null; _this.cumulativeTotal = other.cumulativeTotal; _this.dashPattern = other.dashPattern; t1 = other.fillColor; _this.fillColor = t1 != null ? A.Color$fromOther(t1, _null) : _null; _this.fillPattern = other.fillPattern; _this.measureAxisPosition = other.measureAxisPosition; _this.measureOffset = other.measureOffset; _this.measureOffsetPlusMeasure = other.measureOffsetPlusMeasure; _this.strokeWidthPx = other.strokeWidthPx; _this.measureIsNull = other.measureIsNull; _this.measureIsNegative = other.measureIsNegative; }, updateAnimationPercent$3(previous, target, animationPercent) { var t2, _this = this, t1 = previous.color; t1.toString; t2 = target.color; t2.toString; _this.color = A.getAnimatedColor(t1, t2, animationPercent); t2 = previous.fillColor; t2.toString; t1 = target.fillColor; t1.toString; _this.fillColor = A.getAnimatedColor(t2, t1, animationPercent); _this.measureIsNull = target.measureIsNull; _this.measureIsNegative = target.measureIsNegative; } }; A.BaseAnimatedBar.prototype = { setNewTarget$1(newTarget) { var t1, _this = this; _this.animatingOut = false; t1 = _this._currentBar; if (t1 == null) t1 = _this._currentBar = A.BarRendererElement$clone(newTarget, _this.$ti._precomputed1); _this._previousBar = A.BarRendererElement$clone(t1, _this.$ti._precomputed1); _this._targetBar = newTarget; }, getCurrentBar$1(animationPercent) { var t1, t2, t3, t4, targetBounds, t5, t6, $top, t7, t8, t9, t10, t11, t12, left, _this = this; if (animationPercent === 1 || _this._previousBar == null) { t1 = _this._targetBar; _this._previousBar = _this._currentBar = t1; t1.toString; return t1; } t1 = _this._currentBar; t1.toString; t2 = _this._previousBar; t2.toString; t3 = _this._targetBar; t3.toString; t4 = t1.$ti; t4._as(t2); t4._as(t3); t4 = t2.bounds; t4.toString; targetBounds = t3.bounds; t5 = targetBounds.top; t6 = t4.top; $top = (t5 - t6) * animationPercent + t6; t7 = targetBounds.left; t8 = A._instanceType(targetBounds)._precomputed1; t9 = t8._as(t7 + targetBounds.width); t10 = t4.left; t11 = t4.$ti._precomputed1; t12 = t11._as(t10 + t4.width); t5 = t8._as(t5 + targetBounds.height); t4 = t11._as(t6 + t4.height); left = (t7 - t10) * animationPercent + t10; t1.bounds = A.Rectangle$(B.JSNumber_methods.round$0(left), B.JSNumber_methods.round$0($top), B.JSNumber_methods.round$0((t9 - t12) * animationPercent + t12 - left), B.JSNumber_methods.round$0((t5 - t4) * animationPercent + t4 - $top), type$.int); t1.roundPx = t3.roundPx; t1.super$BaseBarRendererElement$updateAnimationPercent(t2, t3, animationPercent); t3 = _this._currentBar; t3.toString; return t3; } }; A.AxisOrientation.prototype = { _enumToString$0() { return "AxisOrientation." + this._core$_name; } }; A.ImmutableAxis.prototype = {}; A.Axis.prototype = { addDomainValue$1(domain) { this.scale.addDomain$1(domain); }, resetDomains$0() { var scale, _this = this; _this._formatterValueCache.clear$0(0); scale = _this.scale; scale.resetDomain$0(); _this.reverseOutputRange = false; if (_this.autoViewport) scale.resetViewportSettings$0(); }, getLocation$1(domain) { var scale, t1, domainLocation, t2, t3; if (domain != null) { scale = this.scale; t1 = scale.get$range(); t1.toString; domainLocation = scale.$index(0, domain); t2 = t1.start; t1 = t1.end; t3 = Math.max(t2, t1); if (domainLocation > t3 && domainLocation - 2e-10 < t3) return domainLocation - 2e-10; else { t1 = Math.min(t2, t1); if (domainLocation < t1 && domainLocation + 2e-10 > t1) return domainLocation + 2e-10; } return domainLocation; } return null; }, updateTicks$0() { var t1, _this = this; _this._updateProvidedTicks$0(); t1 = _this._componentBounds; if (t1 != null) _this._updateProvidedTickWidth$2(t1.width, t1.height); _this._updateAxisTicks$0(); }, _updateProvidedTicks$0() { var t4, t5, t6, _this = this, t1 = _this.tickProvider, t2 = _this.context, t3 = _this.graphicsFactory; t3.toString; t4 = _this.scale; t5 = _this._tickFormatter; t6 = _this.tickDrawStrategy; t6.toString; t6 = t1.getTicks$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled(t2, t5, _this._formatterValueCache, t3, _this.axisOrientation, t4, t6, _this.autoViewport); _this._providedTicks = t6; _this.hasTickCollision = _this.tickDrawStrategy.collides$2(t6, _this.axisOrientation).ticksCollide; }, _updateProvidedTickWidth$2(maxWidth, maxHeight) { var t2, t3, _this = this, t1 = _this.axisOrientation; if (t1 != null) { t2 = _this.tickDrawStrategy; t2.toString; t3 = _this._providedTicks; t3.toString; t2.updateTickWidth$5$collision(t3, maxWidth, maxHeight, t1, _this.hasTickCollision); } }, _updateAxisTicks$0() { var providedTicks, scale, t2, _i, animatedTick, tick, t3, t4, newTarget, _this = this, t1 = _this._providedTicks; if (t1 == null) t1 = A._setArrayType([], A._instanceType(_this)._eval$1("JSArray<Tick<Axis.D>>")); providedTicks = A.List_List$of(t1, true, A._instanceType(_this)._eval$1("Tick<Axis.D>")); scale = _this.scale; for (t1 = _this._axisTicks, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { animatedTick = t1[_i]; tick = A.IterableExtension_firstWhereOrNull(providedTicks, new A.Axis__updateAxisTicks_closure(_this, animatedTick)); if (tick != null) { t3 = animatedTick.textElement; t4 = tick.textElement; if (!(J.$eq$(t3._text_element$_textStyle, t4._text_element$_textStyle) && t3._text_element$_maxWidth == t4._text_element$_maxWidth && t3._maxWidthStrategy == t4._maxWidthStrategy && t3.text === t4.text && t3._text_element$_textDirection === t4._text_element$_textDirection)) animatedTick.textElement = tick.textElement; newTarget = scale.$index(0, tick.value); if (scale.isRangeValueWithinViewport$1(newTarget)) { animatedTick._markedForRemoval = false; animatedTick._previousLocation = animatedTick._currentLocation; animatedTick._targetLocation = newTarget; animatedTick._previousOpacity = animatedTick._currentOpacity; animatedTick._targetOpacity = 1; } else { t3 = animatedTick.locationPx; animatedTick._markedForRemoval = true; animatedTick._previousLocation = animatedTick._currentLocation; animatedTick._targetLocation = t3; animatedTick._previousOpacity = animatedTick._currentOpacity; animatedTick._targetOpacity = 0; } B.JSArray_methods.remove$1(providedTicks, tick); } else { t3 = scale.$index(0, animatedTick.value); animatedTick._markedForRemoval = true; animatedTick._previousLocation = animatedTick._currentLocation; animatedTick._targetLocation = t3; animatedTick._previousOpacity = animatedTick._currentOpacity; animatedTick._targetOpacity = 0; } } B.JSArray_methods.forEach$1(providedTicks, new A.Axis__updateAxisTicks_closure0(_this, scale)); B.JSArray_methods.sort$0(t1); _this._previousScale = scale.copy$0(); }, get$layoutConfig() { return A.LayoutViewConfig$(this.layoutPaintOrder, this.get$_layoutPosition(), 20); }, get$_layoutPosition() { switch (this.axisOrientation) { case B.AxisOrientation_0: var position = B.LayoutPosition_2; break; case B.AxisOrientation_1: position = B.LayoutPosition_6; break; case B.AxisOrientation_2: position = B.LayoutPosition_0; break; case B.AxisOrientation_3: position = B.LayoutPosition_4; break; case null: case void 0: position = null; break; default: position = null; } return position; }, measure$2(_, maxWidth, maxHeight) { var t2, _this = this, t1 = _this.axisOrientation; t1 = t1 === B.AxisOrientation_3 || t1 === B.AxisOrientation_1; t2 = _this.scale; if (t1) { t2.set$range(new A.ScaleOutputExtent(maxHeight, 0)); _this._updateProvidedTicks$0(); t1 = _this.tickDrawStrategy; t1.toString; t2 = _this._providedTicks; t2.toString; t2 = t1.measureVerticallyDrawnTicks$4$collision(t2, maxWidth, maxHeight, _this.hasTickCollision); t1 = t2; } else { t2.set$range(new A.ScaleOutputExtent(0, maxWidth)); _this._updateProvidedTicks$0(); t1 = _this.tickDrawStrategy; t1.toString; t2 = _this._providedTicks; t2.toString; t2 = t1.measureHorizontallyDrawnTicks$4$collision(t2, maxWidth, maxHeight, _this.hasTickCollision); t1 = t2; } return t1; }, layout$2(componentBounds, drawAreaBounds) { var t1, t2, outputStart, outputEnd, outputRange, scale, _this = this; _this._componentBounds = componentBounds; _this._axis$_drawAreaBounds = drawAreaBounds; t1 = _this.axisOrientation; t2 = t1 !== B.AxisOrientation_3; outputStart = !t2 || t1 === B.AxisOrientation_1 ? componentBounds.$ti._precomputed1._as(componentBounds.top + componentBounds.height) : componentBounds.left; outputEnd = !t2 || t1 === B.AxisOrientation_1 ? componentBounds.top : componentBounds.$ti._precomputed1._as(componentBounds.left + componentBounds.width); outputRange = _this.reverseOutputRange ? new A.ScaleOutputExtent(outputEnd, outputStart) : new A.ScaleOutputExtent(outputStart, outputEnd); scale = _this.scale; if (!J.$eq$(scale.get$range(), outputRange)) scale.set$range(outputRange); _this._updateProvidedTicks$0(); t1 = _this._componentBounds; _this._updateProvidedTickWidth$2(t1.width, t1.height); _this._updateAxisTicks$0(); }, get$isSeriesRenderer() { return false; }, get$componentBounds() { return this._componentBounds; }, get$drawAxisLine() { return this.tickDrawStrategy instanceof A.SmallTickDrawStrategy; }, paint$2(canvas, animationPercent) { var t2, i, animatedTick, t3, t4, t5, t6, t7, _this = this, t1 = animationPercent === 1; if (t1) { t2 = _this._axisTicks; if (!!t2.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t2, new A.Axis_paint_closure(_this), true); } for (t2 = _this._axisTicks, i = 0; i < t2.length; ++i) { animatedTick = t2[i]; t3 = _this.tickDrawStrategy; t3.toString; if (t1) { animatedTick._previousLocation = animatedTick._currentLocation = animatedTick._targetLocation; t4 = animatedTick._currentOpacity = animatedTick._markedForRemoval ? 0 : 1; } else { t4 = animatedTick._previousLocation; t5 = animatedTick._targetLocation; if (t4 == null) { animatedTick._currentLocation = t5; animatedTick._currentOpacity = 1; t4 = 1; } else { animatedTick._currentLocation = animatedTick._axis_tick$_lerpDouble$3(t4, t5, animationPercent); t4 = animatedTick._axis_tick$_lerpDouble$3(animatedTick._previousOpacity, animatedTick._targetOpacity, animationPercent); animatedTick._currentOpacity = t4; } } animatedTick.locationPx = animatedTick._currentLocation; t5 = animatedTick.textElement; if (t4 != t5._text_element$_opacity) { t5._painterReady = false; t5._text_element$_opacity = t4; } t4 = _this.axisOrientation; t4.toString; t5 = _this._componentBounds; t5.toString; t6 = _this.hasTickCollision; t7 = _this._axis$_drawAreaBounds; t7.toString; t3.draw$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, animatedTick, t5, t6, t7, i === 0, i === t2.length - 1, t4); } if (_this.get$drawAxisLine()) { t1 = _this.tickDrawStrategy; t1.toString; t2 = _this.axisOrientation; t2.toString; t3 = _this._componentBounds; t3.toString; t1.drawAxisLine$3(canvas, t2, t3); } }, $isLayoutView: 1, set$graphicsFactory(val) { return this.graphicsFactory = val; } }; A.Axis__updateAxisTicks_closure.prototype = { call$1(t) { return J.$eq$(t.value, this.animatedTick.value); }, $signature() { return A._instanceType(this.$this)._eval$1("bool(Tick<Axis.D>)"); } }; A.Axis__updateAxisTicks_closure0.prototype = { call$1(tick) { var t1 = this.$this, animatedTick = A.AxisTicks$(tick, A._instanceType(t1)._eval$1("Axis.D")), t2 = animatedTick.locationPx; t2.toString; if (this.scale.isRangeValueWithinViewport$1(t2)) { t2 = t1._previousScale; if (t2 != null) { t2 = t2.$index(0, tick.value); animatedTick._markedForRemoval = false; animatedTick._previousLocation = t2; animatedTick._previousOpacity = 0; animatedTick._targetOpacity = 1; } t1._axisTicks.push(animatedTick); } }, $signature() { return A._instanceType(this.$this)._eval$1("~(Tick<Axis.D>)"); } }; A.Axis_paint_closure.prototype = { call$1(t) { return t._markedForRemoval; }, $signature() { return A._instanceType(this.$this)._eval$1("bool(AxisTicks<Axis.D>)"); } }; A.NumericAxis.prototype = {}; A.OrdinalAxis.prototype = { layout$2(componentBounds, drawAreaBounds) { this.super$Axis$layout(componentBounds, drawAreaBounds); type$.OrdinalScale._as(this.scale).setViewport$2(null, null); } }; A.AxisTicks.prototype = { _axis_tick$_lerpDouble$3(a, b, t) { var t1 = a == null; if (t1 && b == null) return null; if (t1) a = 0; return a + ((b == null ? 0 : b) - a) * t; }, compareTo$1(_, other) { var t2, t1 = this._targetLocation; t1.toString; t2 = other._targetLocation; t2.toString; return B.JSNumber_methods.compareTo$1(t1, t2); }, $isComparable: 1 }; A.CollisionReport.prototype = {}; A.BaseRenderSpec.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (this !== other) if (other instanceof A.SmallTickRendererSpec) if (J.$eq$(this.labelStyle, other.labelStyle)) if (this.labelRotation == other.labelRotation) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = true; return t1; }, get$hashCode(_) { var _this = this; return (((((((((J.get$hashCode$(_this.labelStyle) * 37 + B.JSNull_methods.get$hashCode(_this.labelAnchor)) * 37 + B.JSNull_methods.get$hashCode(_this.labelJustification)) * 37 + B.JSNull_methods.get$hashCode(_this.labelOffsetFromTickPx)) * 37 + B.JSNull_methods.get$hashCode(_this.labelCollisionOffsetFromTickPx)) * 37 + B.JSNull_methods.get$hashCode(_this.labelOffsetFromAxisPx)) * 37 + B.JSNull_methods.get$hashCode(_this.labelCollisionOffsetFromAxisPx)) * 37 + B.JSNull_methods.get$hashCode(_this.minimumPaddingBetweenLabelsPx)) * 37 + J.get$hashCode$(_this.labelRotation)) * 37 + B.JSNull_methods.get$hashCode(_this.labelCollisionRotation)) * 37 + B.JSNull_methods.get$hashCode(_this.axisLineStyle); } }; A.BaseTickDrawStrategy.prototype = { BaseTickDrawStrategy$13$axisLineStyleSpec$labelAnchor$labelCollisionOffsetFromAxisPx$labelCollisionOffsetFromTickPx$labelCollisionRotation$labelJustification$labelOffsetFromAxisPx$labelOffsetFromTickPx$labelRotation$labelStyleSpec$minimumPaddingBetweenLabelsPx(chartContext, graphicsFactory, axisLineStyleSpec, labelAnchor, labelCollisionOffsetFromAxisPx, labelCollisionOffsetFromTickPx, labelCollisionRotation, labelJustification, labelOffsetFromAxisPx, labelOffsetFromTickPx, labelRotation, labelStyleSpec, minimumPaddingBetweenLabelsPx, $D) { var _null = null, t1 = this.labelStyle, t2 = labelStyleSpec == null, t3 = t2 ? _null : labelStyleSpec.color; if (t3 == null) { $.$get$StyleFactory__styleFactory(); t3 = new A.Color0(66, 66, 66, 255, _null, _null); } t3 = t1.color = t3; t1.fontFamily = null; t2 = t2 ? _null : labelStyleSpec.fontSize; t1.fontSize = t2 == null ? 12 : t2; t1.lineHeight = null; t1.fontWeight = "400"; t1 = this.axisLineStyle; t2 = axisLineStyleSpec == null ? _null : axisLineStyleSpec.color; t1.color = t2 == null ? t3 : t2; t1.dashPattern = null; t1.strokeWidth = 1; }, decorateTicks$1(ticks) { var t1, t2, _i, textElement, t3; for (t1 = ticks.length, t2 = this.labelStyle, _i = 0; _i < ticks.length; ticks.length === t1 || (0, A.throwConcurrentModificationError)(ticks), ++_i) { textElement = ticks[_i].textElement; t3 = textElement._text_element$_textStyle; if (t3 == null) textElement.set$textStyle(t2); else { if (t3.color == null) t3.color = t2.color; if (t3.fontFamily == null) t3.fontFamily = t2.fontFamily; if (t3.fontSize == null) t3.fontSize = t2.fontSize; if (t3.fontWeight == null) t3.fontWeight = t2.fontWeight; t3.lineHeight = t2.lineHeight; } } }, updateTickWidth$5$collision(ticks, maxWidth, maxHeight, orientation, collision) { var t3, t4, _this = this, isVertical = orientation === B.AxisOrientation_1 || orientation === B.AxisOrientation_3, rotationRelativeToAxis = collision && _this._rotateOnCollision ? _this._labelCollisionRotation : _this._labelDefaultRotation, rotationRads = Math.abs((rotationRelativeToAxis - (isVertical ? 90 : 0)) * 0.017453292519943295), t1 = isVertical ? maxWidth : maxHeight, t2 = collision && _this._rotateOnCollision ? _this._labelCollisionOffsetFromAxisPx : _this._labelDefaultOffsetFromAxisPx, maxTextWidth = Math.sin(rotationRads) === 0 ? null : B.JSNumber_methods.floor$0((t1 - t2) / Math.sin(rotationRads)); for (t1 = J.get$iterator$ax(ticks), t2 = maxTextWidth != null; t1.moveNext$0();) { t3 = t1.get$current(t1); t4 = t3.textElement; if (t2) { t4.set$maxWidth(0, maxTextWidth); t3.textElement.set$maxWidthStrategy(B.MaxWidthStrategy_1); } else { t4.set$maxWidth(0, null); t3.textElement.set$maxWidthStrategy(null); } } }, collides$2(ticks, orientation) { var vertical, t1, t2, t3, t4, t5, t6, t7, previousEnd, collides, _i, tick, t8, tickSize, t9, adjustedHeight, halfHeight, textDirection, adjustedWidth, halfWidth, _this = this; if (ticks == null) return A.CollisionReport$(false, ticks, false, A._instanceType(_this)._precomputed1); vertical = orientation === B.AxisOrientation_3 || orientation === B.AxisOrientation_1; t1 = A._instanceType(_this); t2 = A._setArrayType([], t1._eval$1("JSArray<Tick<1>>")); for (t3 = J.get$iterator$ax(ticks); t3.moveNext$0();) { t4 = t3.get$current(t3); if (t4.locationPx != null) t2.push(t4); } B.JSArray_methods.sort$1(t2, new A.BaseTickDrawStrategy_collides_closure(_this)); for (t3 = t2.length, t4 = _this.minimumPaddingBetweenLabelsPx, t5 = _this._defaultTickLabelAnchor, t6 = _this.chartContext, t7 = t5 === B.TickLabelAnchor_3, previousEnd = -1 / 0, collides = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { tick = t2[_i]; t8 = tick.textElement; if (!t8._painterReady) t8._refreshPainter$0(); t8 = t8.__TextElement__measurement_A; t8 === $ && A.throwUnnamedLateFieldNI(); tickSize = t8; t8 = tick.locationPx; t8.toString; if (vertical) { t9 = tickSize == null ? null : tickSize.verticalSliceWidth; adjustedHeight = (t9 == null ? 0 : t9) + t4; if (t7) if (tick === B.JSArray_methods.get$first(t2)) { previousEnd = t8 + adjustedHeight; collides = false; } else if (tick === B.JSArray_methods.get$last(t2)) { collides = previousEnd > t8 - adjustedHeight; previousEnd = t8; } else { halfHeight = adjustedHeight / 2; collides = previousEnd > t8 - halfHeight; previousEnd = t8 + halfHeight; } else { collides = previousEnd > t8; previousEnd = t8 + adjustedHeight; } } else { if (t6._chartContainerIsRtl) t9 = true; else t9 = false; textDirection = _this._normalizeHorizontalAnchor$4(t5, t9, tick === B.JSArray_methods.get$first(t2), tick === B.JSArray_methods.get$last(t2)); t9 = tickSize == null ? null : tickSize.horizontalSliceWidth; adjustedWidth = (t9 == null ? 0 : t9) + t4; switch (textDirection.index) { case 0: collides = previousEnd > t8; previousEnd = t8 + adjustedWidth; break; case 1: collides = previousEnd > t8 - adjustedWidth; previousEnd = t8; break; case 2: halfWidth = adjustedWidth / 2; collides = previousEnd > t8 - halfWidth; previousEnd = t8 + halfWidth; break; } } if (collides) return new A.CollisionReport(true, t2, false, t1._eval$1("CollisionReport<1>")); } return A.CollisionReport$(false, t2, false, t1._precomputed1); }, measureVerticallyDrawnTicks$4$collision(ticks, maxWidth, maxHeight, collision) { return A.ViewMeasuredSizes$(maxHeight, J.round$0$n(J.fold$1$2$ax(ticks, 0, new A.BaseTickDrawStrategy_measureVerticallyDrawnTicks_closure(this, collision), type$.double))); }, measureHorizontallyDrawnTicks$4$collision(ticks, maxWidth, maxHeight, collision) { var _this = this, maxVerticalSliceWidth = J.round$0$n(J.fold$1$2$ax(ticks, 0, new A.BaseTickDrawStrategy_measureHorizontallyDrawnTicks_closure(_this, collision), type$.double)); return A.ViewMeasuredSizes$(Math.min(maxHeight, maxVerticalSliceWidth + (collision && _this._rotateOnCollision ? _this._labelCollisionOffsetFromAxisPx : _this._labelDefaultOffsetFromAxisPx)), maxWidth); }, drawAxisLine$3(canvas, orientation, axisBounds) { var start, end, t1, t2, t3, t4; switch (orientation.index) { case 0: start = axisBounds.get$bottomLeft(0); end = axisBounds.get$bottomRight(0); break; case 2: start = new A.Point(axisBounds.left, axisBounds.top, axisBounds.$ti._eval$1("Point<1>")); end = axisBounds.get$topRight(0); break; case 1: start = new A.Point(axisBounds.left, axisBounds.top, axisBounds.$ti._eval$1("Point<1>")); end = axisBounds.get$bottomLeft(0); break; case 3: start = axisBounds.get$topRight(0); end = axisBounds.get$bottomRight(0); break; default: start = null; end = null; } t1 = A._setArrayType([start, end], type$.JSArray_Point_num); t2 = this.axisLineStyle; t3 = t2.color; t4 = t2.strokeWidth; canvas.drawLine$5$dashPattern$fill$points$stroke$strokeWidthPx(t2.dashPattern, t3, t1, t3, t4); }, drawLabel$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, tick, axisBounds, collision, drawAreaBounds, isFirst, isLast, orientation) { var isRtl, labelElements, labelHeight, t1, t2, t3, t4, t5, x, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, multiLineLabelOffset, _i, line, y, t22, t23, direction, x0, offsetY, textDirection, offsetX, _this = this, locationPx = tick.locationPx; if (locationPx == null) locationPx = 0; isRtl = _this.chartContext.get$isRtl(); labelElements = _this.splitLabel$1(tick.textElement); labelHeight = _this.getLabelHeight$1(labelElements); for (t1 = labelElements.length, t2 = canvas.canvas, t3 = _this._labelDefaultRotation, t4 = locationPx - labelHeight / 2 + 0, t5 = _this._defaultTickLabelAnchor, x = axisBounds.left, t6 = x + axisBounds.width, t7 = axisBounds.$ti._precomputed1, t8 = _this.tickLabelJustification === B.TickLabelJustification_0, t9 = orientation === B.AxisOrientation_3, t10 = orientation === B.AxisOrientation_2, t11 = !t10, t12 = orientation === B.AxisOrientation_0, t13 = _this._labelDefaultOffsetFromAxisPx, t14 = _this._rotateOnCollision, t15 = _this._labelCollisionOffsetFromAxisPx, t16 = _this._labelDefaultOffsetFromTickPx, t17 = _this._labelCollisionOffsetFromTickPx, t18 = locationPx - 0, t19 = axisBounds.top, t20 = t19 + axisBounds.height, t21 = _this._labelCollisionRotation, multiLineLabelOffset = 0, _i = 0; _i < labelElements.length; labelElements.length === t1 || (0, A.throwConcurrentModificationError)(labelElements), ++_i) { line = labelElements[_i]; if (!t11 || t12) { if (t10) y = t19 + (collision && t14 ? t15 : t13); else { t7._as(t20); t22 = B.JSNumber_methods.toInt$0(labelHeight); t23 = collision && t14 ? t15 : t13; y = t20 - (t22 - multiLineLabelOffset) - t23; } direction = _this._normalizeHorizontalAnchor$4(collision && t14 ? B.TickLabelAnchor_2 : t5, isRtl, isFirst, isLast); line.set$textDirection(direction); switch (direction.index) { case 1: x0 = B.JSNumber_methods.toInt$0(locationPx + (collision && t14 ? t17 : t16) + 0); break; case 0: x0 = B.JSNumber_methods.toInt$0(locationPx - (collision && t14 ? t17 : t16) - 0); break; case 2: default: x0 = B.JSNumber_methods.toInt$0(t18); break; } } else { if (t9) if (t8) { t7._as(t6); x0 = t6 - (collision && t14 ? t15 : t13); line.set$textDirection(B.TextDirection_10); } else { line.set$textDirection(B.TextDirection_00); x0 = x; } else if (t8) { x0 = x + (collision && t14 ? t15 : t13); line.set$textDirection(B.TextDirection_00); } else { t7._as(t6); line.set$textDirection(B.TextDirection_10); x0 = t6; } switch (_this.normalizeVerticalAnchor$3(collision && t14 ? B.TickLabelAnchor_2 : t5, isFirst, isLast).index) { case 0: t22 = collision && t14 ? t17 : t16; y = B.JSNumber_methods.toInt$0(locationPx - (labelHeight - multiLineLabelOffset) - t22 - 0); break; case 2: y = B.JSNumber_methods.toInt$0(locationPx + (collision && t14 ? t17 : t16) + 0); break; case 1: default: y = B.JSNumber_methods.toInt$0(t4); break; } } offsetY = y + multiLineLabelOffset; t22 = (collision && t14 ? t21 : t3) * 0.017453292519943295; textDirection = line._text_element$_textDirection; if (!line._painterReady) line._refreshPainter$0(); t23 = line.__TextElement__measurement_A; t23 === $ && A.throwUnnamedLateFieldNI(); if (t22 !== 0) { if (textDirection === B.TextDirection_10) offsetY += B.JSNumber_methods.toInt$0(t23.horizontalSliceWidth); if (!line._painterReady) line._refreshPainter$0(); t23 = line.__TextElement__textPainter_A; t23 === $ && A.throwUnnamedLateFieldNI(); t23 = t23._layoutCache.layout._paragraph; t23 = B.JSNumber_methods.ceil$0(t23.get$height(t23) * 0.1); t2.save$0(0); t2.translate$2(0, x0 - t23, offsetY); t2.rotate$1(0, t22); if (!line._painterReady) line._refreshPainter$0(); line.__TextElement__textPainter_A.paint$2(t2, new A.Offset(0, 0)); t2.restore$0(0); } else { offsetX = textDirection === B.TextDirection_10 ? x0 - B.JSNumber_methods.toInt$0(t23.horizontalSliceWidth) : x0; if (textDirection === B.TextDirection_2) offsetX -= B.JSNumber_methods.ceil$0(t23.horizontalSliceWidth / 2); if (!line._painterReady) line._refreshPainter$0(); t22 = line.__TextElement__textPainter_A; t22 === $ && A.throwUnnamedLateFieldNI(); t22 = t22._layoutCache.layout._paragraph; t22 = B.JSNumber_methods.ceil$0(t22.get$height(t22) * 0.1); if (!line._painterReady) line._refreshPainter$0(); line.__TextElement__textPainter_A.paint$2(t2, new A.Offset(offsetX, offsetY - t22)); } if (!line._painterReady) line._refreshPainter$0(); multiLineLabelOffset += 2 + B.JSNumber_methods.round$0(line.__TextElement__measurement_A.verticalSliceWidth); } }, _normalizeHorizontalAnchor$4(anchor, isRtl, isFirst, isLast) { switch (anchor.index) { case 0: return isRtl ? B.TextDirection_00 : B.TextDirection_10; case 2: return isRtl ? B.TextDirection_10 : B.TextDirection_00; case 3: if (isFirst) return B.TextDirection_00; if (isLast) return B.TextDirection_10; return B.TextDirection_2; case 1: default: return B.TextDirection_2; } }, normalizeVerticalAnchor$3(anchor, isFirst, isLast) { switch (anchor.index) { case 0: return B._PixelVerticalDirection_2; case 2: return B._PixelVerticalDirection_0; case 3: if (isFirst) return B._PixelVerticalDirection_0; if (isLast) return B._PixelVerticalDirection_2; return B._PixelVerticalDirection_1; case 1: default: return B._PixelVerticalDirection_1; } }, calculateWidthForRotatedLabel$3(rotation, labelHeight, labelLength) { var rotationRadian; if (rotation === 0) return labelLength; rotationRadian = rotation * 0.017453292519943295; return (labelLength + labelHeight / 2 * Math.tan(rotationRadian)) * Math.cos(rotationRadian); }, calculateHeightForRotatedLabel$3(rotation, labelHeight, labelLength) { var rotationRadian; if (rotation === 0) return labelHeight; rotationRadian = rotation * 0.017453292519943295; return Math.max(labelHeight, (labelLength + labelHeight / 2 * Math.tan(rotationRadian)) * Math.cos(1.5707963267948966 - Math.abs(rotationRadian))); }, splitLabel$1(wholeLabel) { var t1 = type$.MappedListIterable_String_TextElement; return A.List_List$of(new A.MappedListIterable(A._setArrayType(wholeLabel.text.split("\n"), type$.JSArray_String), new A.BaseTickDrawStrategy_splitLabel_closure(this, wholeLabel), t1), true, t1._eval$1("ListIterable.E")); }, getLabelWidth$1(labelElements) { return new A.MappedListIterable(labelElements, new A.BaseTickDrawStrategy_getLabelWidth_closure(), A._arrayInstanceType(labelElements)._eval$1("MappedListIterable<1,double>")).reduce$1(0, B.CONSTANT0); }, getLabelHeight$1(labelElements) { var t1, numLines; if (labelElements.length === 0) return 0; t1 = B.JSArray_methods.get$first(labelElements).get$measurement(); numLines = labelElements.length; return t1.verticalSliceWidth * numLines + 2 * (numLines - 1); } }; A.BaseTickDrawStrategy_collides_closure.prototype = { call$2(a, b) { var t2, t1 = a.locationPx; t1.toString; t2 = b.locationPx; t2.toString; return B.JSNumber_methods.compareTo$1(t1, t2); }, $signature() { return A._instanceType(this.$this)._eval$1("int(Tick<1>,Tick<1>)"); } }; A.BaseTickDrawStrategy_measureVerticallyDrawnTicks_closure.prototype = { call$2(prevMax, tick) { var t1 = this.$this, labelElements = t1.splitLabel$1(tick.textElement), t2 = this.collision, t3 = t2 && t1._rotateOnCollision ? t1._labelCollisionRotation : t1._labelDefaultRotation; t3 = t1.calculateWidthForRotatedLabel$3(t3, t1.getLabelHeight$1(labelElements), t1.getLabelWidth$1(labelElements)); return Math.max(prevMax, t3 + (t2 && t1._rotateOnCollision ? t1._labelCollisionOffsetFromAxisPx : t1._labelDefaultOffsetFromAxisPx)); }, $signature() { return A._instanceType(this.$this)._eval$1("double(double,Tick<1>)"); } }; A.BaseTickDrawStrategy_measureHorizontallyDrawnTicks_closure.prototype = { call$2(prevMax, tick) { var t1 = this.$this, labelElements = t1.splitLabel$1(tick.textElement), t2 = this.collision && t1._rotateOnCollision ? t1._labelCollisionRotation : t1._labelDefaultRotation; return Math.max(prevMax, t1.calculateHeightForRotatedLabel$3(t2, t1.getLabelHeight$1(labelElements), t1.getLabelWidth$1(labelElements))); }, $signature() { return A._instanceType(this.$this)._eval$1("double(double,Tick<1>)"); } }; A.BaseTickDrawStrategy_splitLabel_closure.prototype = { call$1(line) { var t1 = this.$this.graphicsFactory.createTextElement$1(B.JSString_methods.trim$0(line)); t1.set$textStyle(this.wholeLabel._text_element$_textStyle); return t1; }, $signature: 1083 }; A.BaseTickDrawStrategy_getLabelWidth_closure.prototype = { call$1(line) { return line.get$measurement().horizontalSliceWidth; }, $signature: 1089 }; A._PixelVerticalDirection.prototype = { _enumToString$0() { return "_PixelVerticalDirection." + this._core$_name; } }; A.GridlineRendererSpec.prototype = { createDrawStrategy$2(context, graphicsFactory) { var t4, t5, t6, _this = this, t1 = _this.lineStyle, t2 = _this.labelRotation, t3 = _this.$ti; $.$get$StyleFactory__styleFactory(); t4 = new A.LineStyle(); t5 = t1 == null ? null : t1.color; t4.color = t5 == null ? new A.Color0(224, 224, 224, 255, null, null) : t5; t4.strokeWidth = 1; t5 = graphicsFactory.createTextPaint$0(); t6 = t2 == null ? 0 : t2; t4 = new A.GridlineTickDrawStrategy(0, t4, context, graphicsFactory, new A.LineStyle(), t5, B.TickLabelJustification_0, B.TickLabelAnchor_1, 5, 5, 5, 5, t6, 0, false, 50, t3._eval$1("GridlineTickDrawStrategy<1>")); t4.BaseTickDrawStrategy$13$axisLineStyleSpec$labelAnchor$labelCollisionOffsetFromAxisPx$labelCollisionOffsetFromTickPx$labelCollisionRotation$labelJustification$labelOffsetFromAxisPx$labelOffsetFromTickPx$labelRotation$labelStyleSpec$minimumPaddingBetweenLabelsPx(context, graphicsFactory, t1, _this.labelAnchor, _this.labelCollisionOffsetFromAxisPx, _this.labelCollisionOffsetFromTickPx, _this.labelCollisionRotation, _this.labelJustification, _this.labelOffsetFromAxisPx, _this.labelOffsetFromTickPx, t2, _this.labelStyle, _this.minimumPaddingBetweenLabelsPx, t3._precomputed1); return t4; }, $eq(_, other) { var t1; if (other == null) return false; if (this !== other) t1 = other instanceof A.GridlineRendererSpec && this.super$SmallTickRendererSpec$$eq(0, other); else t1 = true; return t1; } }; A.GridlineTickDrawStrategy.prototype = { draw$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, tick, axisBounds, collision, drawAreaBounds, isFirst, isLast, orientation) { var t2, lineStart, lineEnd, t3, t4, _this = this, t1 = tick.locationPx; t1.toString; switch (orientation.index) { case 0: t2 = type$.Point_num; lineStart = new A.Point(t1, axisBounds.$ti._precomputed1._as(axisBounds.top + axisBounds.height) - _this.tickLength, t2); lineEnd = new A.Point(t1, drawAreaBounds.$ti._precomputed1._as(drawAreaBounds.top + drawAreaBounds.height), t2); break; case 2: t2 = type$.Point_num; lineStart = new A.Point(t1, drawAreaBounds.top + _this.tickLength, t2); lineEnd = new A.Point(t1, axisBounds.top, t2); break; case 1: if ((collision && _this._rotateOnCollision ? B.TickLabelAnchor_2 : _this._defaultTickLabelAnchor) !== B.TickLabelAnchor_2) t2 = (collision && _this._rotateOnCollision ? B.TickLabelAnchor_2 : _this._defaultTickLabelAnchor) === B.TickLabelAnchor_0; else t2 = true; t3 = axisBounds.left; t4 = type$.Point_num; lineStart = t2 ? new A.Point(axisBounds.$ti._precomputed1._as(t3 + axisBounds.width), t1, t4) : new A.Point(t3 + _this.tickLength, t1, t4); lineEnd = new A.Point(drawAreaBounds.left, t1, t4); break; case 3: if ((collision && _this._rotateOnCollision ? B.TickLabelAnchor_2 : _this._defaultTickLabelAnchor) !== B.TickLabelAnchor_2) t2 = (collision && _this._rotateOnCollision ? B.TickLabelAnchor_2 : _this._defaultTickLabelAnchor) === B.TickLabelAnchor_0; else t2 = true; t3 = axisBounds.left; t4 = type$.Point_num; lineStart = t2 ? new A.Point(t3, t1, t4) : new A.Point(axisBounds.$ti._precomputed1._as(t3 + axisBounds.width) - _this.tickLength, t1, t4); lineEnd = new A.Point(drawAreaBounds.$ti._precomputed1._as(drawAreaBounds.left + drawAreaBounds.width), t1, t4); break; default: lineStart = null; lineEnd = null; } t1 = A._setArrayType([lineStart, lineEnd], type$.JSArray_Point_num); t2 = _this.lineStyle; t3 = t2.dashPattern; t4 = t2.color; canvas.drawLine$5$dashPattern$fill$points$stroke$strokeWidthPx(t3, t4, t1, t4, t2.strokeWidth); _this.drawLabel$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, tick, axisBounds, collision, drawAreaBounds, isFirst, isLast, orientation); } }; A.NoneDrawStrategy.prototype = { updateTickWidth$5$collision(ticks, maxWidth, maxHeight, orientation, collision) { }, collides$2(ticks, orientation) { return A.CollisionReport$(null, ticks, false, this.$ti._precomputed1); }, decorateTicks$1(ticks) { B.JSArray_methods.forEach$1(ticks, new A.NoneDrawStrategy_decorateTicks_closure(this)); }, drawAxisLine$3(canvas, orientation, axisBounds) { var start, end, t1, t2, t3, t4; switch (orientation.index) { case 0: start = axisBounds.get$bottomLeft(0); end = axisBounds.get$bottomRight(0); break; case 2: start = new A.Point(axisBounds.left, axisBounds.top, axisBounds.$ti._eval$1("Point<1>")); end = axisBounds.get$topRight(0); break; case 1: start = new A.Point(axisBounds.left, axisBounds.top, axisBounds.$ti._eval$1("Point<1>")); end = axisBounds.get$bottomLeft(0); break; case 3: start = axisBounds.get$topRight(0); end = axisBounds.get$bottomRight(0); break; default: start = null; end = null; } t1 = A._setArrayType([start, end], type$.JSArray_Point_num); t2 = this.axisLineStyle; t3 = t2.dashPattern; t4 = t2.color; canvas.drawLine$5$dashPattern$fill$points$stroke$strokeWidthPx(t3, t4, t1, t4, t2.strokeWidth); }, draw$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, tick, axisBounds, collision, drawAreaBounds, isFirst, isLast, orientation) { }, measureHorizontallyDrawnTicks$4$collision(ticks, maxWidth, maxHeight, collision) { return A.ViewMeasuredSizes$(0, 0); }, measureVerticallyDrawnTicks$4$collision(ticks, maxWidth, maxHeight, collision) { return A.ViewMeasuredSizes$(0, 0); } }; A.NoneDrawStrategy_decorateTicks_closure.prototype = { call$1(tick) { var t1 = this.$this.noneTextStyle; tick.textElement.set$textStyle(t1); return t1; }, $signature() { return this.$this.$ti._eval$1("~(Tick<1>)"); } }; A.SmallTickRendererSpec.prototype = { createDrawStrategy$2(context, graphicsFactory) { var t4, t5, t6, _this = this, t1 = _this.lineStyle, t2 = _this.labelRotation, t3 = A._instanceType(_this); $.$get$StyleFactory__styleFactory(); t4 = new A.LineStyle(); t5 = t1 == null ? null : t1.color; t4.color = t5 == null ? B.Color_ePM : t5; t4.strokeWidth = 1; t5 = graphicsFactory.createTextPaint$0(); t6 = t2 == null ? 0 : t2; t4 = new A.SmallTickDrawStrategy(3, t4, context, graphicsFactory, new A.LineStyle(), t5, B.TickLabelJustification_0, B.TickLabelAnchor_1, 5, 5, 5, 5, t6, 0, false, 50, t3._eval$1("SmallTickDrawStrategy<1>")); t4.BaseTickDrawStrategy$13$axisLineStyleSpec$labelAnchor$labelCollisionOffsetFromAxisPx$labelCollisionOffsetFromTickPx$labelCollisionRotation$labelJustification$labelOffsetFromAxisPx$labelOffsetFromTickPx$labelRotation$labelStyleSpec$minimumPaddingBetweenLabelsPx(context, graphicsFactory, t1, _this.labelAnchor, _this.labelCollisionOffsetFromAxisPx, _this.labelCollisionOffsetFromTickPx, _this.labelCollisionRotation, _this.labelJustification, _this.labelOffsetFromAxisPx, _this.labelOffsetFromTickPx, t2, _this.labelStyle, _this.minimumPaddingBetweenLabelsPx, t3._precomputed1); return t4; }, $eq(_, other) { var t1; if (other == null) return false; if (this !== other) if (other instanceof A.SmallTickRendererSpec) if (J.$eq$(this.lineStyle, other.lineStyle)) t1 = this.super$BaseRenderSpec$$eq(0, other); else t1 = false; else t1 = false; else t1 = true; return t1; }, get$hashCode(_) { return (J.get$hashCode$(this.lineStyle) * 37 + B.JSNull_methods.get$hashCode(this.tickLengthPx)) * 37 + A.BaseRenderSpec.prototype.get$hashCode.call(this, 0); } }; A.SmallTickDrawStrategy.prototype = { draw$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, tick, axisBounds, collision, drawAreaBounds, isFirst, isLast, orientation) { var _this = this, tickPositions = _this.calculateTickPositions$5(tick, orientation, axisBounds, drawAreaBounds, _this.tickLength), t1 = A._setArrayType([B.JSArray_methods.get$first(tickPositions), B.JSArray_methods.get$last(tickPositions)], type$.JSArray_Point_num), t2 = _this.lineStyle, t3 = t2.dashPattern, t4 = t2.color; canvas.drawLine$5$dashPattern$fill$points$stroke$strokeWidthPx(t3, t4, t1, t4, t2.strokeWidth); _this.drawLabel$8$axisBounds$collision$drawAreaBounds$isFirst$isLast$orientation(canvas, tick, axisBounds, collision, drawAreaBounds, isFirst, isLast, orientation); }, calculateTickPositions$5(tick, orientation, axisBounds, drawAreaBounds, tickLength) { var t2, t3, tickStart, tickEnd, t1 = tick.locationPx; t1.toString; switch (orientation.index) { case 0: t2 = axisBounds.$ti._precomputed1._as(axisBounds.top + axisBounds.height); t3 = type$.Point_num; tickStart = new A.Point(t1, t2 - tickLength, t3); tickEnd = new A.Point(t1, t2, t3); break; case 2: t2 = axisBounds.top; t3 = type$.Point_num; tickStart = new A.Point(t1, t2, t3); tickEnd = new A.Point(t1, t2 + tickLength, t3); break; case 1: t2 = axisBounds.left; t3 = type$.Point_num; tickStart = new A.Point(t2, t1, t3); tickEnd = new A.Point(t2 + tickLength, t1, t3); break; case 3: t2 = axisBounds.$ti._precomputed1._as(axisBounds.left + axisBounds.width); t3 = type$.Point_num; tickStart = new A.Point(t2 - tickLength, t1, t3); tickEnd = new A.Point(t2, t1, t3); break; default: tickStart = null; tickEnd = null; } return A._setArrayType([tickStart, tickEnd], type$.JSArray_Point_num); } }; A.LinearScale.prototype = { copy$0() { var t3, _this = this, t1 = _this._domainInfo, t2 = new A.LinearScaleDomainInfo(); t2._dataDomainStart = t1._dataDomainStart; t2._dataDomainEnd = t1._dataDomainEnd; t2._previouslyAddedDomain = t1._previouslyAddedDomain; t2._minimumDetectedDomainStep = t1._minimumDetectedDomainStep; t1 = _this._viewportSettings; t3 = new A.LinearScaleViewportSettings(); t3.range = t1.range; t3.scalingFactor = t1.scalingFactor; t3.translatePx = t1.translatePx; t3._manualDomainExtent = t1._manualDomainExtent; t3._domainExtent = t1._domainExtent; return new A.LinearScale(t2, t3, new A.LinearScaleFunction(), _this.rangeBandConfig, _this.stepSizeConfig); }, addDomain$1(domainValue) { this._domainInfo.addDomainValue$1(domainValue); }, resetDomain$0() { this._scaleReady = false; var t1 = this._domainInfo; t1._previouslyAddedDomain = null; t1._dataDomainStart = 1 / 0; t1._dataDomainEnd = -1 / 0; t1._minimumDetectedDomainStep = 1 / 0; }, resetViewportSettings$0() { var t1 = this._viewportSettings; t1.scalingFactor = 1; t1.translatePx = 0; t1._domainExtent = null; t1._manualDomainExtent = false; }, compareDomainValueToViewport$1(domainValue) { var dataExtent = this._viewportSettings._domainExtent; return (dataExtent == null ? this._domainInfo.get$extent() : dataExtent).compareValue$1(domainValue); }, set$range(extent) { this._viewportSettings.range = extent; this._scaleReady = false; }, get$range() { return this._viewportSettings.range; }, $index(_, domainValue) { this._configureScale$0(); return this._scaleFunction.$index(0, domainValue); }, reverse$1(_, viewPixels) { var t1; this._configureScale$0(); t1 = this._scaleFunction; return (viewPixels - t1.rangeTranslate) / t1.scalingFactor - t1.domainTranslate; }, get$rangeBand() { this._configureScale$0(); return this._scaleFunction.rangeBandPixels; }, isRangeValueWithinViewport$1(rangeValue) { var t1 = this._viewportSettings.range, t2 = t1.start; t1 = t1.end; return A.withinBounds(rangeValue, Math.min(t2, t1), Math.max(t2, t1)); }, _configureScale$0() { var t1, t2, t3, viewportDomainDiff, t4, t5, t6, reservedRangePixelShift, viewportStart, _this = this; if (_this._scaleReady) return; t1 = _this._viewportSettings; t2 = _this._domainInfo; if (t1._manualDomainExtent) { t3 = t1._domainExtent; viewportDomainDiff = t3 == null ? null : t3.max - t3.min; t3 = t2.get$extent(); if (t3.max - t3.min !== 0) { t3 = t2.get$extent(); viewportDomainDiff.toString; t1.scalingFactor = (t3.max - t3.min) / viewportDomainDiff; } else { t1.scalingFactor = 1; t3 = t1._domainExtent; t2.extendDomain$1(t3 == null ? null : t3.min); t3 = t1._domainExtent; t2.extendDomain$1(t3 == null ? null : t3.max); } } t3 = _this._scaleFunction; t4 = _this.rangeBandConfig; t5 = t1.range; t3._updateStepSizeAndScaleFactor$6(t1, t2, t5.end - t5.start, t3.getStepReservationPercent$2(t2.get$extent().min === t2._dataDomainStart, t2.get$extent().max === t2._dataDomainEnd), t4, _this.stepSizeConfig); t4 = t3.scalingFactor; if (t1._manualDomainExtent) t1.translatePx = -t4 * (t1._domainExtent.min - t2.get$extent().min); t4 = _this.rangeBandConfig; t5 = t2.get$extent(); if (t5.max - t5.min === 0) { t5 = t1.range; t6 = t5.start; t3.rangeTranslate = t6 + (t5.end - t6) / 2; } else { reservedRangePixelShift = t2.get$extent().min === t2._dataDomainStart ? t3.stepSizePixels / 2 : 0; t3.rangeTranslate = t1.range.start + t1.translatePx + reservedRangePixelShift; } t3.domainTranslate = -1 * t2.get$extent().min; t3.rangeBandPixels = t3._calculateRangeBandSize$1(t4); t3 = t3.scalingFactor; if (!t1._manualDomainExtent) { t4 = t2.get$extent(); t5 = t1.scalingFactor; viewportStart = -t1.translatePx / t3 + t2.get$extent().min; t1._domainExtent = new A.NumericExtents(viewportStart, viewportStart + (t4.max - t4.min) / t5); } _this._scaleReady = true; }, get$rangeBandConfig() { return this.rangeBandConfig; }, set$rangeBandConfig(val) { return this.rangeBandConfig = val; } }; A.LinearScaleDomainInfo.prototype = { reset$0(_) { var _this = this; _this._previouslyAddedDomain = null; _this._dataDomainStart = 1 / 0; _this._dataDomainEnd = -1 / 0; _this._minimumDetectedDomainStep = 1 / 0; }, addDomainValue$1(domainValue) { var t1, domainStep, _this = this; if (!isFinite(domainValue)) return; _this.extendDomain$1(domainValue); t1 = _this._previouslyAddedDomain; if (t1 != null) { domainStep = Math.abs(domainValue - t1); if (domainStep !== 0 && domainStep < _this._minimumDetectedDomainStep) _this._minimumDetectedDomainStep = domainStep; } _this._previouslyAddedDomain = domainValue; }, extendDomain$1(domainValue) { var domainExtended, _this = this; if (domainValue == null || !isFinite(domainValue)) return false; if (domainValue < _this._dataDomainStart) { _this._dataDomainStart = domainValue; domainExtended = true; } else domainExtended = false; if (domainValue > _this._dataDomainEnd) { _this._dataDomainEnd = domainValue; domainExtended = true; } return domainExtended; }, get$extent() { var tmpDomainEnd, tmpDomainStart = this._dataDomainStart; tmpDomainStart = isFinite(tmpDomainStart) ? tmpDomainStart : 0; tmpDomainEnd = this._dataDomainEnd; tmpDomainEnd = isFinite(tmpDomainEnd) ? tmpDomainEnd : 1; return new A.NumericExtents(tmpDomainStart, tmpDomainEnd); } }; A.LinearScaleFunction.prototype = { $index(_, domainValue) { return (domainValue + this.domainTranslate) * this.scalingFactor + this.rangeTranslate; }, getStepReservationPercent$2(hasHalfStepAtStart, hasHalfStepAtEnd) { if (!hasHalfStepAtStart && !hasHalfStepAtEnd) return 0; if (hasHalfStepAtStart && hasHalfStepAtEnd) return 1; return 0.5; }, _calculateRangeBandSize$1(rangeBandConfig) { switch (rangeBandConfig.type.index) { case 2: return rangeBandConfig.size * this.scalingFactor; case 1: return rangeBandConfig.size; case 5: return this.stepSizePixels - rangeBandConfig.size; case 4: case 3: return this.stepSizePixels * rangeBandConfig.size; case 0: return 0; } }, _updateStepSizeAndScaleFactor$6(viewportSettings, domainInfo, rangeDiff, reservedRangePercentOfStep, rangeBandConfig, stepSizeConfig) { var minimumDetectedDomainStep, _this = this, t1 = domainInfo.get$extent(), domainDiff = t1.max - t1.min; if (rangeBandConfig.type !== B.RangeBandType_0) switch (0) { case 0: minimumDetectedDomainStep = domainInfo._minimumDetectedDomainStep; if (isFinite(minimumDetectedDomainStep)) { t1 = viewportSettings.scalingFactor * (rangeDiff / (domainDiff + minimumDetectedDomainStep * reservedRangePercentOfStep)); _this.scalingFactor = t1; _this.stepSizePixels = minimumDetectedDomainStep * t1; } else { _this.stepSizePixels = Math.abs(rangeDiff); _this.scalingFactor = 1; } return; } _this.stepSizePixels = 0; _this.scalingFactor = domainDiff === 0 ? 1 : viewportSettings.scalingFactor * rangeDiff / domainDiff; } }; A.LinearScaleViewportSettings.prototype = { reset$0(_) { var _this = this; _this.scalingFactor = 1; _this.translatePx = 0; _this._domainExtent = null; _this._manualDomainExtent = false; } }; A.NumericExtents.prototype = { compareValue$1(value) { if (value < this.min) return -1; if (value > this.max) return 1; return 0; }, $eq(_, other) { if (other == null) return false; return other instanceof A.NumericExtents && this.min === other.min && this.max === other.max; }, get$hashCode(_) { return B.JSNumber_methods.get$hashCode(this.min) + B.JSNumber_methods.get$hashCode(this.max) * 31; }, toString$0(_) { return "Extent(" + A.S(this.min) + ", " + A.S(this.max) + ")"; } }; A.NumericTickProvider.prototype = { getTicks$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy, viewportExtensionEnabled) { var t1, t2, t3, t0, t4, t5, absoluteMinTicks, tmpMaxNumMajorTicks, mutableScale, ticks, t6, t7, tickCount, viewportDomain, selectedTicksRange, foundPreferredTicks, stepInfo, firstTick, tickCount0, lastTick, range, tickValues, preferredTicks, _this = this; scale._configureScale$0(); t1 = scale._viewportSettings; t2 = t1._domainExtent; t3 = _this.__NumericTickProvider__low_A = t2.min; t2 = _this.__NumericTickProvider__high_A = t2.max; t3 = _this.__NumericTickProvider__low_A = t3 > 0 ? 0 : t3; t2 = _this.__NumericTickProvider__high_A = t2 < 0 ? 0 : t2; t0 = t3; t3 = t2; t2 = t0; if (t3 === t2) if (t3 === 0) _this.__NumericTickProvider__high_A = 1; else if (t3 > 0) { _this.__NumericTickProvider__high_A = t3 * 1.05; _this.__NumericTickProvider__low_A = t2 * 0.95; } else { _this.__NumericTickProvider__high_A = t3 * 0.95; _this.__NumericTickProvider__low_A = t2 * 1.05; } scale._configureScale$0(); t2 = t1._domainExtent; t2.toString; t3 = _this.__NumericTickProvider__high_A; t4 = _this.__NumericTickProvider__low_A; t5 = t1.range; t5 = B.JSInt_methods.toInt$0(Math.abs(t5.end - t5.start)); absoluteMinTicks = t4 < 0 && 0 < t3 ? 3 : 2; tmpMaxNumMajorTicks = Math.max(absoluteMinTicks, B.JSNumber_methods.floor$0(t5 / 25)); if (tmpMaxNumMajorTicks !== _this._maxTickCount || absoluteMinTicks !== _this._minTickCount) { _this._maxTickCount = tmpMaxNumMajorTicks; _this._minTickCount = absoluteMinTicks; } mutableScale = viewportExtensionEnabled ? A.LinearScale$_copy(scale) : null; ticks = A._setArrayType([], type$.JSArray_Tick_num); t5 = _this._maxTickCount; t5.toString; t6 = mutableScale == null; t7 = !t6; tickCount = t5; viewportDomain = t2; selectedTicksRange = 17976931348623157e292; foundPreferredTicks = false; while (true) { t2 = _this._minTickCount; t2.toString; if (!(tickCount >= t2)) break; c$0: { stepInfo = _this._getStepsForTickCount$3(tickCount, t3, t4); firstTick = stepInfo.tickStart; t2 = stepInfo.stepSize; tickCount0 = tickCount - 1; lastTick = firstTick + t2 * tickCount0; range = lastTick - firstTick; if (range < selectedTicksRange || !foundPreferredTicks) { tickValues = _this._getTickValues$2(stepInfo, tickCount); if (t7) { mutableScale._scaleReady = false; t5 = mutableScale._viewportSettings; t5._domainExtent = new A.NumericExtents(firstTick, lastTick); t5._manualDomainExtent = true; } preferredTicks = _this.createTicks$8$context$formatter$formatterValueCache$graphicsFactory$scale$stepSize$tickDrawStrategy(tickValues, context, formatter, formatterValueCache, graphicsFactory, t6 ? scale : mutableScale, t2, tickDrawStrategy); if (tickDrawStrategy.collides$2(preferredTicks, orientation).ticksCollide) { t2 = _this._minTickCount; t2.toString; t2 = tickCount > t2; } else t2 = false; if (t2) break c$0; if (t6) viewportDomain = null; else { mutableScale._configureScale$0(); t2 = mutableScale._viewportSettings._domainExtent; t2.toString; viewportDomain = t2; } if (viewportDomain == null) { scale._configureScale$0(); t2 = t1._domainExtent; t2.toString; viewportDomain = t2; } ticks = preferredTicks; selectedTicksRange = range; foundPreferredTicks = true; } } tickCount = tickCount0; } if (viewportExtensionEnabled) { scale._configureScale$0(); t2 = !t1._domainExtent.$eq(0, viewportDomain); } else t2 = false; if (t2) { scale._scaleReady = false; t1._domainExtent = viewportDomain; t1._manualDomainExtent = true; } return ticks; }, _getStepsForTickCount$3(tickCount, high, low) { var t1, positiveRegionCount, negativeRegionCount, t2, favorPositive, favoredNum, favoredRegionCount, favoredTensBase, _i, tmpStepSize, diffTensBase, tmpStepStart, regionCount = tickCount - 1; if (high >= 0 && low <= 0) { t1 = high > 0; positiveRegionCount = B.JSNumber_methods.ceil$0(regionCount * (t1 ? Math.min(1, high / (high - low)) : 0)); negativeRegionCount = regionCount - positiveRegionCount; if (negativeRegionCount === 0 && low < 0 && regionCount > 1) { --positiveRegionCount; ++negativeRegionCount; } t1 = t1 ? high / positiveRegionCount : 0; t2 = low < 0 ? low / negativeRegionCount : 0; favorPositive = Math.abs(t1) > Math.abs(t2); favoredNum = Math.abs(favorPositive ? high : low); favoredRegionCount = favorPositive ? positiveRegionCount : negativeRegionCount; favoredTensBase = Math.abs(A.NumericTickProvider__getEnclosingPowerOfTen(favoredNum)); for (_i = 0; _i < 30; ++_i) { t1 = B.List_2bx[_i] * favoredTensBase; tmpStepSize = t1 > 100 ? B.JSNumber_methods.roundToDouble$0(t1) : B.JSNumber_methods.roundToDouble$0(t1 * 1000000000) / 1000000000; t1 = B.JSNumber_methods.round$0(tmpStepSize); if (t1 !== tmpStepSize) continue; if (tmpStepSize * favoredRegionCount >= favoredNum) return new A._TickStepInfo(tmpStepSize, negativeRegionCount > 0 ? -1 * tmpStepSize * negativeRegionCount : 0); } } else { diffTensBase = A.NumericTickProvider__getEnclosingPowerOfTen(high - low); for (_i = 0; _i < 30; ++_i) { t1 = B.List_2bx[_i] * diffTensBase; tmpStepSize = t1 > 100 ? B.JSNumber_methods.roundToDouble$0(t1) : B.JSNumber_methods.roundToDouble$0(t1 * 1000000000) / 1000000000; t1 = B.JSNumber_methods.round$0(tmpStepSize); if (t1 !== tmpStepSize) continue; tmpStepStart = A.NumericTickProvider__getStepLessThan(low, tmpStepSize); if (tmpStepStart + tmpStepSize * regionCount >= high) return new A._TickStepInfo(tmpStepSize, tmpStepStart); } } return new A._TickStepInfo(1, Math.floor(low)); }, _getTickValues$2(steps, tickCount) { var t2, t3, i, t4, t1 = A._setArrayType([], type$.JSArray_double); for (t2 = steps.tickStart, t3 = steps.stepSize, i = 0; i < tickCount; ++i) { t4 = t2 + i * t3; t1.push(t4 > 100 ? B.JSNumber_methods.roundToDouble$0(t4) : B.JSNumber_methods.roundToDouble$0(t4 * 1000000000) / 1000000000); } return t1; } }; A._TickStepInfo.prototype = {}; A.OrdinalScaleDomainInfo.prototype = { get$isEmpty(_) { return this._ordinal_scale_domain_info$_index === 0; } }; A.OrdinalTickProvider.prototype = { getTicks$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy, viewportExtensionEnabled) { return this.createTicks$7$context$formatter$formatterValueCache$graphicsFactory$scale$tickDrawStrategy(scale._domain._domainList, context, formatter, formatterValueCache, graphicsFactory, scale, tickDrawStrategy); }, $eq(_, other) { if (other == null) return false; return other instanceof A.OrdinalTickProvider; }, get$hashCode(_) { return 31; } }; A.Scale.prototype = {}; A.MutableScale.prototype = {}; A.ScaleOutputExtent.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A.ScaleOutputExtent && this.start === other.start && this.end === other.end; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(this.start) + B.JSInt_methods.get$hashCode(this.end) * 31; }, toString$0(_) { return "ScaleOutputRange(" + this.start + ", " + this.end + ")"; } }; A.RangeBandType.prototype = { _enumToString$0() { return "RangeBandType." + this._core$_name; } }; A.RangeBandConfig.prototype = {}; A.StepSizeType.prototype = { _enumToString$0() { return "StepSizeType." + this._core$_name; } }; A.StepSizeConfig.prototype = {}; A.Extents.prototype = {}; A.SimpleOrdinalScale.prototype = { get$rangeBand() { if (this._scaleChanged) this._updateScale$0(); var t1 = this.__SimpleOrdinalScale__cachedRangeBandSize_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, set$rangeBandConfig(barGroupWidthConfig) { var t1 = barGroupWidthConfig.type; if (t1 === B.RangeBandType_2 || t1 === B.RangeBandType_0) throw A.wrapException(A.ArgumentError$("barGroupWidthConfig must not be NONE or FIXED_DOMAIN", null)); this._rangeBandConfig = barGroupWidthConfig; this._scaleChanged = true; }, get$rangeBandConfig() { return this._rangeBandConfig; }, $index(_, domainValue) { var t1, t2, t3, t4, t5, _this = this; if (_this._scaleChanged) _this._updateScale$0(); t1 = _this._domain._domainsToOrder.$index(0, domainValue); if (t1 != null) { t2 = _this._viewportTranslatePx; t3 = _this._range; t4 = _this.__SimpleOrdinalScale__cachedRangeBandShift_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = _this.__SimpleOrdinalScale__cachedStepSizePixels_A; t5 === $ && A.throwUnnamedLateFieldNI(); return t2 + t3.start + t4 + t5 * t1; } return 0; }, reverse$1(_, pixelLocation) { var t4, t5, _this = this, t1 = _this._viewportTranslatePx, t2 = _this._range, t3 = _this.__SimpleOrdinalScale__cachedRangeBandShift_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.__SimpleOrdinalScale__cachedStepSizePixels_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = _this._domain; return t5._domainList[Math.max(0, Math.min(B.JSNumber_methods.round$0((pixelLocation - t1 - t2.start - t3) / t4), t5._ordinal_scale_domain_info$_index - 1))]; }, addDomain$1(domainValue) { var t1 = this._domain, t2 = t1._domainsToOrder; if (!t2.containsKey$1(0, domainValue)) { t2.$indexSet(0, domainValue, t1._ordinal_scale_domain_info$_index); ++t1._ordinal_scale_domain_info$_index; t1._domainList.push(domainValue); } this._scaleChanged = true; }, set$range(extent) { this._range = extent; this._scaleChanged = true; }, get$range() { return this._range; }, resetDomain$0() { var t1 = this._domain; t1._domainsToOrder.clear$0(0); B.JSArray_methods.clear$0(t1._domainList); t1._ordinal_scale_domain_info$_index = 0; this._scaleChanged = true; }, resetViewportSettings$0() { this._viewportScale = 1; this._viewportTranslatePx = 0; this._scaleChanged = true; }, get$rangeWidth() { var t1 = this._range; return B.JSInt_methods.toInt$0(Math.abs(t1.start - t1.end)); }, setViewport$2(viewportDataSize, startingDomain) { this._scaleChanged = true; this._viewportDataSize = viewportDataSize; this._viewportStartingDomain = startingDomain; }, isRangeValueWithinViewport$1(rangeValue) { var t1 = this._range, t2 = t1.start; t1 = t1.end; return A.withinBounds(rangeValue, Math.min(t2, t1), Math.max(t2, t1)); }, compareDomainValueToViewport$1(domainValue) { var domainPx, t1, t2; if (this._domain._domainsToOrder.$index(0, domainValue) != null && true) { domainPx = this.$index(0, domainValue); t1 = this._range; t2 = t1.start; t1 = t1.end; if (domainPx < Math.min(t2, t1)) return -1; if (domainPx > Math.max(t2, t1)) return 1; return 0; } return -1; }, copy$0() { var t1, t2, t3, t4, _this = this; $.$get$StyleFactory__styleFactory(); t1 = _this._domain; t2 = A.HashMap_HashMap(null, null, null, type$.String, type$.int); t3 = A._setArrayType([], type$.JSArray_String); t4 = new A.OrdinalScaleDomainInfo(t2, t3); t2.addAll$1(0, t1._domainsToOrder); t4._ordinal_scale_domain_info$_index = t1._ordinal_scale_domain_info$_index; B.JSArray_methods.addAll$1(t3, t1._domainList); t1 = _this._range; return new A.SimpleOrdinalScale(new A.StepSizeConfig(), t4, new A.ScaleOutputExtent(t1.start, t1.end), _this._viewportScale, _this._viewportTranslatePx, _this._rangeBandConfig); }, _updateScale$0() { this._recalculateScale$0(); }, _recalculateScale$0() { var rangeBandPixels, t2, _this = this, t1 = _this._domain, stepSizePixels = t1._ordinal_scale_domain_info$_index === 0 ? 0 : _this._viewportScale * (_this.get$rangeWidth() / t1._ordinal_scale_domain_info$_index); t1 = _this._rangeBandConfig; switch (t1.type.index) { case 1: rangeBandPixels = t1.size; break; case 5: rangeBandPixels = Math.max(0, stepSizePixels - t1.size); break; case 4: case 3: rangeBandPixels = stepSizePixels * t1.size; break; case 2: case 0: throw A.wrapException(A.StateError$("RangeBandType must not be NONE or FIXED_DOMAIN")); default: rangeBandPixels = null; } t1 = stepSizePixels / 2; _this.__SimpleOrdinalScale__cachedStepSizePixels_A = stepSizePixels; _this.__SimpleOrdinalScale__cachedRangeBandSize_A = rangeBandPixels; _this.__SimpleOrdinalScale__cachedRangeBandShift_A = t1; t2 = _this._range; if (t2.start > t2.end) { _this.__SimpleOrdinalScale__cachedStepSizePixels_A = stepSizePixels * -1; _this.__SimpleOrdinalScale__cachedRangeBandShift_A = t1 * -1; } _this._scaleChanged = false; }, $isOrdinalScale: 1 }; A.AxisSpec.prototype = { configure$3(axis, context, graphicsFactory) { axis.forceDrawAxisLine = null; axis.autoViewport = true; axis.scale = axis._defaultScale; axis._tickFormatter = axis._defaultTickFormatter; axis.tickProvider = axis._defaultTickProvider; axis.tickDrawStrategy = this.renderSpec.createDrawStrategy$2(context, graphicsFactory); }, $eq(_, other) { var t1; if (other == null) return false; if (this !== other) if (other instanceof A.AxisSpec) if (this.renderSpec.$eq(0, other.renderSpec)) t1 = true; else t1 = false; else t1 = false; else t1 = true; return t1; }, get$hashCode(_) { var _this = this; return (((_this.renderSpec.get$hashCode(0) * 37 + B.JSNull_methods.get$hashCode(_this.tickProviderSpec)) * 37 + B.JSNull_methods.get$hashCode(_this.tickFormatterSpec)) * 37 + B.JSNull_methods.get$hashCode(_this.showAxisLine)) * 37 + B.JSNull_methods.get$hashCode(_this.scaleSpec); } }; A.TextStyleSpec.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (this !== other) t1 = other instanceof A.TextStyleSpec && this.fontSize == other.fontSize && this.color.$eq(0, other.color) && true; else t1 = true; return t1; }, get$hashCode(_) { return (((B.JSNull_methods.get$hashCode(null) * 37 + J.get$hashCode$(this.fontSize)) * 37 + B.JSNull_methods.get$hashCode(null)) * 37 + this.color.get$hashCode(0)) * 37 + B.JSNull_methods.get$hashCode(null); } }; A.LineStyleSpec.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (this !== other) if (other instanceof A.LineStyleSpec) if (this.color.$eq(0, other.color)) t1 = true; else t1 = false; else t1 = false; else t1 = true; return t1; }, get$hashCode(_) { return (this.color.get$hashCode(0) * 37 + B.JSNull_methods.get$hashCode(null)) * 37 + B.JSNull_methods.get$hashCode(null); } }; A.TickLabelAnchor.prototype = { _enumToString$0() { return "TickLabelAnchor." + this._core$_name; } }; A.TickLabelJustification.prototype = { _enumToString$0() { return "TickLabelJustification." + this._core$_name; } }; A.DateTimeAxisSpec.prototype = { configure$3(axis, context, graphicsFactory) { this.super$AxisSpec$configure(axis, context, graphicsFactory); }, createAxis$0() { return null; }, $eq(_, other) { var t1; if (other == null) return false; if (other instanceof A.DateTimeAxisSpec) t1 = this.super$AxisSpec$$eq(0, other); else t1 = false; return t1; }, get$hashCode(_) { return A.AxisSpec.prototype.get$hashCode.call(this, 0) * 37 + B.JSNull_methods.get$hashCode(null); } }; A.NumericAxisSpec.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (other instanceof A.NumericAxisSpec) t1 = this.super$AxisSpec$$eq(0, other); else t1 = false; return t1; }, get$hashCode(_) { return A.AxisSpec.prototype.get$hashCode.call(this, 0) * 37 + B.JSNull_methods.get$hashCode(null); } }; A.OrdinalAxisSpec.prototype = { configure$3(axis, context, graphicsFactory) { this.super$AxisSpec$configure(axis, context, graphicsFactory); }, createAxis$0() { return A.OrdinalAxis$(); }, $eq(_, other) { var t1; if (other == null) return false; if (this !== other) if (other instanceof A.OrdinalAxisSpec) t1 = this.super$AxisSpec$$eq(0, other); else t1 = false; else t1 = true; return t1; }, get$hashCode(_) { return A.AxisSpec.prototype.get$hashCode.call(this, 0) * 37 + B.JSNull_methods.get$hashCode(null); } }; A.Tick.prototype = { toString$0(_) { return "Tick(value: " + A.S(this.value) + ", locationPx: " + A.S(this.locationPx) + ", labelOffsetPx: " + A.S(this.labelOffsetPx) + ")"; }, get$value(receiver) { return this.value; } }; A.SimpleTickFormatterBase.prototype = { format$3$stepSize(tickValues, cache, stepSize) { var t1 = A._arrayInstanceType(tickValues)._eval$1("MappedListIterable<1,String>"); return A.List_List$of(new A.MappedListIterable(tickValues, new A.SimpleTickFormatterBase_format_closure(this, cache), t1), true, t1._eval$1("ListIterable.E")); } }; A.SimpleTickFormatterBase_format_closure.prototype = { call$1(value) { var t1 = this.cache, formattedString = t1.$index(0, value); if (formattedString == null) { formattedString = this.$this.formatValue$1(value); t1.$indexSet(0, value, formattedString); } return formattedString; }, $signature() { return A._instanceType(this.$this)._eval$1("String(SimpleTickFormatterBase.D)"); } }; A.OrdinalTickFormatter.prototype = { formatValue$1(value) { return value; }, $eq(_, other) { if (other == null) return false; return other instanceof A.OrdinalTickFormatter; }, get$hashCode(_) { return 31; } }; A.NumericTickFormatter.prototype = { formatValue$1(value) { return this.formatter.call$1(value); }, $eq(_, other) { if (other == null) return false; return other instanceof A.NumericTickFormatter && J.$eq$(this.formatter, other.formatter); }, get$hashCode(_) { return J.get$hashCode$(this.formatter); } }; A.NumericTickFormatter__getFormatter_closure.prototype = { call$1(value) { return value == null ? "" : this.numberFormat.format$1(value); }, $signature: 854 }; A.BaseTickProvider.prototype = { createTicks$8$context$formatter$formatterValueCache$graphicsFactory$scale$stepSize$tickDrawStrategy(domainValues, context, formatter, formatterValueCache, graphicsFactory, scale, stepSize, tickDrawStrategy) { var t2, t3, i, value, t4, t5, t1 = A._instanceType(this), ticks = A._setArrayType([], t1._eval$1("JSArray<Tick<BaseTickProvider.D>>")), labels = formatter.format$3$stepSize(domainValues, formatterValueCache, stepSize); for (t1 = t1._eval$1("Tick<BaseTickProvider.D>"), t2 = graphicsFactory.textScaleFactor, t3 = graphicsFactory.defaultTextStyle.style.fontFamily, i = 0; i < domainValues.length; ++i) { value = domainValues[i]; t4 = new A.TextElement(labels[i], t2, B.TextDirection_00); t5 = new A.TextStyle0(); t5.fontFamily = t3; t4.set$textStyle(t5); t5 = scale.$index(0, value); ticks.push(new A.Tick(value, t4, t5, null, t1)); } tickDrawStrategy.decorateTicks$1(ticks); return ticks; }, createTicks$7$context$formatter$formatterValueCache$graphicsFactory$scale$tickDrawStrategy(domainValues, context, formatter, formatterValueCache, graphicsFactory, scale, tickDrawStrategy) { return this.createTicks$8$context$formatter$formatterValueCache$graphicsFactory$scale$stepSize$tickDrawStrategy(domainValues, context, formatter, formatterValueCache, graphicsFactory, scale, null, tickDrawStrategy); } }; A.AutoAdjustingDateTimeTickProvider.prototype = { getTicks$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy, viewportExtensionEnabled) { var _i, tickProvider, tickProviders = this._potentialTickProviders, lastTickProvider = B.JSArray_methods.get$last(tickProviders), viewport = scale.get$viewportDomain(); for (_i = 0; _i < 5; ++_i) { tickProvider = tickProviders[_i]; if (tickProvider === lastTickProvider || tickProvider.timeStepper.getStepCountBetween$2(viewport, 1) >= 3) return tickProvider.getTicks$7$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy); } return A._setArrayType([], type$.JSArray_Tick_DateTime); } }; A.BaseTimeStepper.prototype = { getStepCountBetween$2(timeExtent, tickIncrement) { var t1, cnt, time = this.getStepTimeAfterInclusive$2(timeExtent.start, tickIncrement); for (t1 = timeExtent.end._value, cnt = 0; B.JSInt_methods.compareTo$1(time._value, t1) <= 0;) { ++cnt; time = this.getNextStepTime$2(time, tickIncrement); } return cnt; }, getStepTimeAfterInclusive$2(time, tickIncrement) { var boundedStart = this.getStepTimeBeforeInclusive$2(time, tickIncrement); if (boundedStart._value === time._value) return boundedStart; return this.getNextStepTime$2(boundedStart, tickIncrement); } }; A._TimeStepIteratorImpl.prototype = { moveNext$0() { var _this = this, t1 = _this._base_time_stepper$_current, t2 = _this.stepper, t3 = _this._tickIncrement; return B.JSInt_methods.compareTo$1((t1 == null ? _this._base_time_stepper$_current = t2.getStepTimeAfterInclusive$2(_this.extentStartTime, t3) : _this._base_time_stepper$_current = t2.getNextStepTime$2(t1, t3))._value, _this.extentEndTime._value) <= 0; }, get$current(_) { var t1 = this._base_time_stepper$_current; t1.toString; return t1; }, reset$1(_, tickIncrement) { this._tickIncrement = tickIncrement; this._base_time_stepper$_current = null; return this; } }; A._TimeStepIteratorFactoryImpl.prototype = { get$iterator(_) { return this._timeStepIterator; } }; A.DateTimeAxis.prototype = {}; A.DateTimeExtents.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A.DateTimeExtents && this.start.$eq(0, other.start) && this.end.$eq(0, other.end); }, get$hashCode(_) { return this.start.get$hashCode(0) + this.end.get$hashCode(0) * 37; } }; A.DateTimeScale.prototype = { $index(_, domainValue) { var t1 = this._linearScale; t1._configureScale$0(); return t1._scaleFunction.$index(0, domainValue._value); }, reverse$1(_, pixelLocation) { return A.DateTime$fromMillisecondsSinceEpoch(B.JSNumber_methods.round$0(this._linearScale.reverse$1(0, pixelLocation)), false); }, resetDomain$0() { var t1 = this._linearScale; t1._scaleReady = false; t1._domainInfo.reset$0(0); }, set$rangeBandConfig(barGroupWidthConfig) { this._linearScale.rangeBandConfig = barGroupWidthConfig; }, set$range(extent) { var t1 = this._linearScale; t1._viewportSettings.range = extent; t1._scaleReady = false; }, addDomain$1(domainValue) { this._linearScale._domainInfo.addDomainValue$1(domainValue._value); }, resetViewportSettings$0() { this._linearScale._viewportSettings.reset$0(0); }, get$viewportDomain() { var extents, t1 = this._linearScale; t1._configureScale$0(); extents = t1._viewportSettings._domainExtent; return new A.DateTimeExtents(A.DateTime$fromMillisecondsSinceEpoch(B.JSNumber_methods.toInt$0(extents.min), false), A.DateTime$fromMillisecondsSinceEpoch(B.JSNumber_methods.toInt$0(extents.max), false)); }, copy$0() { return new A.DateTimeScale(this.dateTimeFactory, A.LinearScale$_copy(this._linearScale)); }, isRangeValueWithinViewport$1(rangeValue) { var t1 = this._linearScale._viewportSettings.range, t2 = t1.start; t1 = t1.end; return A.withinBounds(rangeValue, Math.min(t2, t1), Math.max(t2, t1)); }, compareDomainValueToViewport$1(domainValue) { return this._linearScale.compareDomainValueToViewport$1(domainValue._value); }, get$rangeBand() { var t1 = this._linearScale; t1._configureScale$0(); return t1._scaleFunction.rangeBandPixels; }, get$rangeBandConfig() { return this._linearScale.rangeBandConfig; }, get$range() { return this._linearScale._viewportSettings.range; } }; A.DateTimeTickFormatter.prototype = { DateTimeTickFormatter$_internal$1(_timeFormatters) { var t1 = this._timeFormatters; if (t1.__js_helper$_length === 1) return; A.DateTimeTickFormatter__checkPositiveAndSorted(new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"))); }, format$3$stepSize(tickValues, cache, stepSize) { var t1, t2, t3, t4, formatter, minTimeBetweenTicks, keys, formatterFound, tickValuesIt, tickValue, prevTickValue, tickLabels = A._setArrayType([], type$.JSArray_String); if (tickValues.length === 0) return tickLabels; t1 = this._timeFormatters; t2 = A._instanceType(t1); t3 = t2._eval$1("LinkedHashMapKeyIterable<1>"); t4 = t1.$index(0, new A.LinkedHashMapKeyIterable(t1, t3).get$first(0)); t4.toString; if (J.$eq$(new A.LinkedHashMapKeyIterable(t1, t3).get$first(0), -1)) formatter = t4; else { minTimeBetweenTicks = stepSize == null ? null : B.JSNumber_methods.toInt$0(stepSize); if (minTimeBetweenTicks == null) minTimeBetweenTicks = 0; keys = A.LinkedHashMapKeyIterator$(t1, t1._modifications, t2._precomputed1); formatter = t4; formatterFound = false; while (true) { if (!(keys.moveNext$0() && !formatterFound)) break; t2 = keys.__js_helper$_current; if (t2 > minTimeBetweenTicks) formatterFound = true; else { t2 = t1.$index(0, t2); t2.toString; formatter = t2; } } } t1 = A._arrayInstanceType(tickValues); tickValuesIt = new J.ArrayIterator(tickValues, tickValues.length, t1._eval$1("ArrayIterator<1>")); tickValuesIt.moveNext$0(); tickValue = tickValuesIt.__interceptors$_current; if (tickValue == null) tickValue = t1._precomputed1._as(tickValue); t2 = formatter._transitionFormat; tickLabels.push(t2.format$1(tickValue)); for (t1 = t1._precomputed1, prevTickValue = tickValue; tickValuesIt.moveNext$0(); prevTickValue = tickValue) { tickValue = tickValuesIt.__interceptors$_current; if (tickValue == null) tickValue = t1._as(tickValue); if (formatter.isTransition$2(tickValue, prevTickValue)) tickLabels.push(t2.format$1(tickValue)); else tickLabels.push(formatter.formatSimpleTick$1(tickValue)); } return tickLabels; } }; A.DayTimeStepper.prototype = { get$typicalStepSizeMs() { return 86400000; }, get$allowedTickIncrements() { return this._day_time_stepper$_allowedTickIncrements; }, getStepTimeBeforeInclusive$2(time, tickIncrement) { var dayRemainder = B.JSInt_methods.$mod(A.Primitives_getDay(time) - 1, tickIncrement), dayBefore = dayRemainder > 0 ? time.subtract$1(A.Duration$(0, 24 * dayRemainder - 1, 0, 0, 0, 0)) : time; return this.dateTimeFactory.createDateTime$3(A.Primitives_getYear(dayBefore), A.Primitives_getMonth(dayBefore), A.Primitives_getDay(dayBefore)); }, getNextStepTime$2(time, tickIncrement) { var stepAfter = time.add$1(0, A.Duration$(0, 24 * tickIncrement + 1, 0, 0, 0, 0)); return this.dateTimeFactory.createDateTime$3(A.Primitives_getYear(stepAfter), A.Primitives_getMonth(stepAfter), A.Primitives_getDay(stepAfter)); } }; A.HourTickFormatter.prototype = { formatSimpleTick$1(date) { var t1; if (A.Primitives_getHours(date) === 12) { t1 = this.__HourTickFormatter__noonFormat_F; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.format$1(date); } else t1 = this.super$TimeTickFormatterImpl$formatSimpleTick(date); return t1; } }; A.HourTimeStepper.prototype = { get$typicalStepSizeMs() { return 3600000; }, get$allowedTickIncrements() { return this._hour_time_stepper$_allowedTickIncrements; }, getStepTimeBeforeInclusive$2(time, tickIncrement) { var t1 = this.dateTimeFactory, nextDay = t1.createDateTime$3(A.Primitives_getYear(time), A.Primitives_getMonth(time), A.Primitives_getDay(time)).add$1(0, A.Duration$(0, 25, 0, 0, 0, 0)), hoursRemainder = B.JSInt_methods.$mod(B.JSNumber_methods.ceil$0((t1.createDateTime$3(A.Primitives_getYear(nextDay), A.Primitives_getMonth(nextDay), A.Primitives_getDay(nextDay))._value - time._value) / 3600000), tickIncrement), rewindHours = hoursRemainder === 0 ? 0 : tickIncrement - hoursRemainder; return t1.createDateTime$4(A.Primitives_getYear(time), A.Primitives_getMonth(time), A.Primitives_getDay(time), A.Primitives_getHours(time) - rewindHours); }, getNextStepTime$2(time, tickIncrement) { return time.add$1(0, A.Duration$(0, tickIncrement, 0, 0, 0, 0)); } }; A.MinuteTimeStepper.prototype = { get$typicalStepSizeMs() { return 60000; }, get$allowedTickIncrements() { return this._allowedTickIncrements; }, getStepTimeBeforeInclusive$2(time, tickIncrement) { var t1 = time._value, minRemainder = B.JSInt_methods.$mod(B.JSNumber_methods.ceil$0((t1 + (60 - A.Primitives_getMinutes(time)) * 60000 - t1) / 60000), tickIncrement); return A.DateTime$fromMillisecondsSinceEpoch(t1 - (minRemainder === 0 ? 0 : tickIncrement - minRemainder) * 60000, false); }, getNextStepTime$2(time, tickIncrement) { return time.add$1(0, A.Duration$(0, 0, 0, 0, tickIncrement, 0)); } }; A.MonthTimeStepper.prototype = { get$typicalStepSizeMs() { return 2592000000; }, get$allowedTickIncrements() { return this._month_time_stepper$_allowedTickIncrements; }, getStepTimeBeforeInclusive$2(time, tickIncrement) { var monthRemainder = B.JSInt_methods.$mod(A.Primitives_getMonth(time), tickIncrement), newMonth = B.JSInt_methods.$mod(A.Primitives_getMonth(time) - monthRemainder, 12); if (A.Primitives_getMonth(time) === 12 && newMonth === 0) newMonth = 12; return this.dateTimeFactory.createDateTime$2(A.Primitives_getYear(time) - B.JSNumber_methods.floor$0(monthRemainder / 12), newMonth); }, getNextStepTime$2(time, tickIncrement) { var incrementedMonth = A.Primitives_getMonth(time) + tickIncrement, newMonth = B.JSInt_methods.$mod(incrementedMonth, 12); return this.dateTimeFactory.createDateTime$2(A.Primitives_getYear(time) + B.JSNumber_methods.floor$0(incrementedMonth / 12), newMonth); } }; A.TimeRangeTickProvider.prototype = {}; A.TimeRangeTickProviderImpl.prototype = { getTicks$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy, viewportExtensionEnabled) { var timeStepIt, allowedTickIncrements, _i, tickIncrement, currentTicks = A._Cell$named("currentTicks"), tickValues = A._setArrayType([], type$.JSArray_DateTime), t1 = this.timeStepper, t2 = scale.get$viewportDomain(), t3 = t1._stepsIterable; if (t3 == null || !t3.timeExtent.$eq(0, t2)) { t3 = new A._TimeStepIteratorImpl(t2.start, t2.end, t1); t3.reset$1(0, 1); t1._stepsIterable = new A._TimeStepIteratorFactoryImpl(t2, t3); } timeStepIt = t1._stepsIterable._timeStepIterator; allowedTickIncrements = t1.get$allowedTickIncrements(); for (t2 = allowedTickIncrements.length, _i = 0; _i < t2; ++_i) { tickIncrement = allowedTickIncrements[_i]; B.JSArray_methods.clear$0(tickValues); timeStepIt._tickIncrement = tickIncrement; timeStepIt._base_time_stepper$_current = null; for (; timeStepIt.moveNext$0();) { t3 = timeStepIt._base_time_stepper$_current; t3.toString; tickValues.push(t3); } t3 = this.createTicks$8$context$formatter$formatterValueCache$graphicsFactory$scale$stepSize$tickDrawStrategy(tickValues, context, formatter, formatterValueCache, graphicsFactory, scale, t1.get$typicalStepSizeMs() * tickIncrement, tickDrawStrategy); currentTicks.__late_helper$_value = t3; if (!tickDrawStrategy.collides$2(t3, orientation).ticksCollide) { t1 = currentTicks.__late_helper$_value; if (t1 === currentTicks) A.throwExpression(A.LateError$localNI(currentTicks.__late_helper$_name)); return t1; } } return currentTicks._readLocal$0(); }, getTicks$7$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy) { return this.getTicks$8$context$formatter$formatterValueCache$graphicsFactory$orientation$scale$tickDrawStrategy$viewportExtensionEnabled(context, formatter, formatterValueCache, graphicsFactory, orientation, scale, tickDrawStrategy, false); } }; A.TimeStepIteratorFactory.prototype = {}; A.TimeTickFormatterImpl.prototype = { formatSimpleTick$1(date) { return this._simpleFormat.format$1(date); }, isTransition$2(tickValue, prevTickValue) { var transitionField = this.transitionField; return this.getCalendarField$2(prevTickValue, transitionField) !== this.getCalendarField$2(tickValue, transitionField); }, getCalendarField$2(dateTime, field) { switch (field.index) { case 0: return A.Primitives_getYear(dateTime); case 1: return A.Primitives_getMonth(dateTime); case 2: return A.Primitives_getDay(dateTime); case 3: return A.Primitives_getHours(dateTime); case 4: return A.Primitives_getMinutes(dateTime); case 5: return A.Primitives_getSeconds(dateTime); } }, $isTimeTickFormatter: 1 }; A.CalendarField.prototype = { _enumToString$0() { return "CalendarField." + this._core$_name; } }; A.YearTimeStepper.prototype = { get$typicalStepSizeMs() { return 31536e6; }, get$allowedTickIncrements() { return this._year_time_stepper$_allowedTickIncrements; }, getStepTimeBeforeInclusive$2(time, tickIncrement) { return this.dateTimeFactory.createDateTime$1(A.Primitives_getYear(time) - B.JSInt_methods.$mod(A.Primitives_getYear(time), tickIncrement)); }, getNextStepTime$2(time, tickIncrement) { return this.dateTimeFactory.createDateTime$1(A.Primitives_getYear(time) + tickIncrement); } }; A.OrdinalCartesianChart.prototype = { initDomainAxis$0() { var t2, t3, t4, _null = null, t1 = this._domainAxis; t1.toString; t2 = A.SmallTickRendererSpec$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, type$.String); t3 = this.__BaseChart_context_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = this.graphicsFactory; t4.toString; t1.tickDrawStrategy = t2.createDrawStrategy$2(t3, t4); } }; A.CartesianChart.prototype = { init$2(context, graphicsFactory) { var t1, t2, _this = this, _null = null; _this.super$BaseChart$init(context, graphicsFactory); t1 = _this._primaryMeasureAxis; t1.context = context; t2 = type$.num; t1.tickDrawStrategy = A.GridlineRendererSpec$(_null, _null, _null, t2).createDrawStrategy$2(context, graphicsFactory); t1 = _this._secondaryMeasureAxis; t1.context = context; t1.tickDrawStrategy = A.GridlineRendererSpec$(_null, _null, _null, t2).createDrawStrategy$2(context, graphicsFactory); _this._disjointMeasureAxes.forEach$1(0, new A.CartesianChart_init_closure(context, graphicsFactory)); }, createDomainAxisFromSpec$1(axisSpec) { return axisSpec.createAxis$0(); }, configurationChanged$0() { var t1, t2, t3, t4, _this = this, _null = null; if (_this._newDomainAxis != null) { t1 = _this._domainAxis; if (t1 != null) _this._layoutManager.removeView$1(t1); t1 = _this._newDomainAxis; _this._domainAxis = t1; t1.toString; t2 = _this.__BaseChart_context_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.context = t2; t1.layoutPaintOrder = 5; _this.initDomainAxis$0(); t1 = _this._domainAxis; t1.toString; _this.addView$1(t1); _this._newDomainAxis = null; } t1 = _this._newDomainAxisSpec; if (t1 != null) { _this._domainAxisSpec = t1; t2 = _this._domainAxis; t2.toString; t3 = _this.__BaseChart_context_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.graphicsFactory; t4.toString; t1.configure$3(t2, t3, t4); _this._newDomainAxisSpec = null; } if (!J.$eq$(_this._primaryMeasureAxisSpec, _this._newPrimaryMeasureAxisSpec)) { _this._primaryMeasureAxisSpec = _this._newPrimaryMeasureAxisSpec; _this._layoutManager.removeView$1(_this._primaryMeasureAxis); t1 = _this._primaryMeasureAxisSpec == null ? _null : A.NumericAxis$(); if (t1 == null) t1 = A.NumericAxis$(); _this._primaryMeasureAxis = t1; t2 = A.GridlineRendererSpec$(_null, _null, _null, type$.num); t3 = _this.__BaseChart_context_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.graphicsFactory; t4.toString; t1.tickDrawStrategy = t2.createDrawStrategy$2(t3, t4); t4 = _this._primaryMeasureAxisSpec; if (t4 != null) { t1 = _this._primaryMeasureAxis; t2 = _this.__BaseChart_context_A; t3 = _this.graphicsFactory; t3.toString; t4.super$AxisSpec$configure(t1, t2, t3); } _this.addView$1(_this._primaryMeasureAxis); } }, makeSeries$1(series) { var t1, t2, axis, _this = this, s = _this.super$BaseChart$makeSeries(series); if (s.measureOffsetFn == null) s.measureOffsetFn = new A.CartesianChart_makeSeries_closure(); t1 = s._attrs._typed_registry$_registry; t1.$indexSet(0, B.AttributeKey_OBU, _this._domainAxis); t2 = A._asStringQ(series.attributes._typed_registry$_registry.$index(0, B.AttributeKey_Bwd)); if (t2 === "secondaryMeasureAxisId") axis = _this._secondaryMeasureAxis; else if (t2 === "primaryMeasureAxisId") axis = _this._primaryMeasureAxis; else axis = t2 != null && _this._disjointMeasureAxes.$index(0, t2) != null ? _this._disjointMeasureAxes.$index(0, t2) : null; t1.$indexSet(0, B.AttributeKey_kWM, axis == null ? _this._primaryMeasureAxis : axis); return s; }, makeDefaultRenderer$0() { var t1 = A.BarRenderer_BarRenderer(null, null, A._instanceType(this)._eval$1("CartesianChart.D")); t1.rendererId = "default"; return t1; }, preprocessSeries$1(seriesList) { var t1, _i, measureAxisId, t2, domainAxis, reverseAxisDirection, _this = this, rendererToSeriesList = _this.super$BaseChart$preprocessSeries(seriesList); _this._useSecondaryMeasureAxis = false; for (t1 = seriesList.length, _i = 0; _i < seriesList.length; seriesList.length === t1 || (0, A.throwConcurrentModificationError)(seriesList), ++_i) { measureAxisId = A._asStringQ(seriesList[_i]._attrs._typed_registry$_registry.$index(0, B.AttributeKey_Bwd)); _this._usePrimaryMeasureAxis = _this._usePrimaryMeasureAxis || measureAxisId == null || measureAxisId === "primaryMeasureAxisId"; _this._useSecondaryMeasureAxis = _this._useSecondaryMeasureAxis || measureAxisId === "secondaryMeasureAxisId"; } t1 = _this._usePrimaryMeasureAxis; t2 = _this._primaryMeasureAxis; if (t1) _this.addView$1(t2); else _this._layoutManager.removeView$1(t2); t1 = _this._useSecondaryMeasureAxis; t2 = _this._secondaryMeasureAxis; if (t1) _this.addView$1(t2); else _this._layoutManager.removeView$1(t2); _this._disjointMeasureAxes.forEach$1(0, new A.CartesianChart_preprocessSeries_closure(_this)); domainAxis = _this._domainAxis; domainAxis.resetDomains$0(); _this._primaryMeasureAxis.resetDomains$0(); _this._secondaryMeasureAxis.resetDomains$0(); _this._disjointMeasureAxes.forEach$1(0, new A.CartesianChart_preprocessSeries_closure0()); t1 = _this.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); reverseAxisDirection = t1.get$isRtl(); domainAxis.axisOrientation = B.AxisOrientation_2; domainAxis.reverseOutputRange = reverseAxisDirection; t1 = _this._primaryMeasureAxis; t1.axisOrientation = reverseAxisDirection ? B.AxisOrientation_1 : B.AxisOrientation_3; t1.reverseOutputRange = false; t1 = _this._secondaryMeasureAxis; t1.axisOrientation = reverseAxisDirection ? B.AxisOrientation_3 : B.AxisOrientation_1; t1.reverseOutputRange = false; _this._disjointMeasureAxes.forEach$1(0, new A.CartesianChart_preprocessSeries_closure1(_this, reverseAxisDirection)); rendererToSeriesList.forEach$1(0, new A.CartesianChart_preprocessSeries_closure2(_this)); return rendererToSeriesList; }, onSkipLayout$0() { var _this = this; _this._domainAxis.updateTicks$0(); if (_this._usePrimaryMeasureAxis) _this._primaryMeasureAxis.updateTicks$0(); if (_this._useSecondaryMeasureAxis) _this._secondaryMeasureAxis.updateTicks$0(); _this._disjointMeasureAxes.forEach$1(0, new A.CartesianChart_onSkipLayout_closure()); _this.super$BaseChart$onSkipLayout(); } }; A.CartesianChart_init_closure.prototype = { call$2(axisId, axis) { var t1 = this.context; axis.context = t1; axis.tickDrawStrategy = A.NoneDrawStrategy$(t1, this.graphicsFactory, type$.num); }, $signature: 346 }; A.CartesianChart_makeSeries_closure.prototype = { call$1(_) { return 0; }, $signature: 1119 }; A.CartesianChart_preprocessSeries_closure.prototype = { call$2(axisId, axis) { this.$this.addView$1(axis); }, $signature: 346 }; A.CartesianChart_preprocessSeries_closure0.prototype = { call$2(axisId, axis) { axis.resetDomains$0(); }, $signature: 346 }; A.CartesianChart_preprocessSeries_closure1.prototype = { call$2(axisId, axis) { axis.axisOrientation = this.reverseAxisDirection ? B.AxisOrientation_3 : B.AxisOrientation_1; axis.reverseOutputRange = false; }, $signature: 346 }; A.CartesianChart_preprocessSeries_closure2.prototype = { call$2(rendererId, seriesList) { var t1 = this.$this; t1.getSeriesRenderer$1(rendererId).configureDomainAxes$1(seriesList); t1.getSeriesRenderer$1(rendererId).configureMeasureAxes$1(seriesList); }, $signature() { return A._instanceType(this.$this)._eval$1("~(String,List<MutableSeries<CartesianChart.D>>)"); } }; A.CartesianChart_onSkipLayout_closure.prototype = { call$2(axisId, axis) { axis.updateTicks$0(); }, $signature: 346 }; A.BaseCartesianRenderer.prototype = { onAttach$1(chart) { this.super$BaseSeriesRenderer$onAttach(chart); this.__BaseCartesianRenderer_chart_A = A._instanceType(this)._eval$1("CartesianChart<1>")._as(chart); }, configureDomainAxes$1(seriesList) { J.forEach$1$ax(seriesList, new A.BaseCartesianRenderer_configureDomainAxes_closure(this)); }, configureMeasureAxes$1(seriesList) { J.forEach$1$ax(seriesList, new A.BaseCartesianRenderer_configureMeasureAxes_closure(this)); }, addMeasureValuesFor$4(series, measureAxis, startIndex, endIndex) { var measureLowerBoundFn, measureUpperBoundFn, t2, t3, i, measure, measureOffset, t4, measureFn = series.measureFn, t1 = series.measureOffsetFn; t1.toString; measureLowerBoundFn = series.measureLowerBoundFn; measureUpperBoundFn = series.measureUpperBoundFn; for (t2 = measureLowerBoundFn != null, t3 = measureUpperBoundFn != null, i = startIndex; i <= endIndex; ++i) { measure = measureFn.call$1(i); measureOffset = t1.call$1(i); if (measure != null && measureOffset != null) { measureAxis.addDomainValue$1(measure + measureOffset); if (t2 && t3) { t4 = measureLowerBoundFn.call$1(i); measureAxis.addDomainValue$1((t4 == null ? 0 : t4) + measureOffset); t4 = measureUpperBoundFn.call$1(i); measureAxis.addDomainValue$1((t4 == null ? 0 : t4) + measureOffset); } } } }, findNearestViewportStart$3(domainAxis, domainFn, data) { var end, start, searchIndex, prevIndex, comparisonValue, t1 = domainFn.call$1(0); if (domainAxis.scale.compareDomainValueToViewport$1(t1) === 0) return 0; end = data.length - 1; for (start = 1; end >= start;) { searchIndex = B.JSNumber_methods.floor$0((end - start) / 2) + start; prevIndex = searchIndex - 1; t1 = domainFn.call$1(searchIndex); comparisonValue = domainAxis.scale.compareDomainValueToViewport$1(t1); t1 = domainFn.call$1(prevIndex); t1 = domainAxis.scale.compareDomainValueToViewport$1(t1) === -1; if (t1 && comparisonValue === 0) return searchIndex; if (comparisonValue === 1 && t1) return prevIndex; if (comparisonValue === -1) start = searchIndex + 1; else end = prevIndex; } t1 = domainFn.call$1(data.length - 1); return domainAxis.scale.compareDomainValueToViewport$1(t1) === 1 ? data.length - 1 : 0; }, findNearestViewportEnd$3(domainAxis, domainFn, data) { var start, searchIndex, prevIndex, comparisonValue, prevComparisonValue, end = data.length - 1, t1 = domainFn.call$1(end); if (domainAxis.scale.compareDomainValueToViewport$1(t1) === 0) return end; --end; for (start = 1; end >= start;) { searchIndex = B.JSNumber_methods.floor$0((end - start) / 2) + start; prevIndex = searchIndex - 1; t1 = domainFn.call$1(searchIndex); comparisonValue = domainAxis.scale.compareDomainValueToViewport$1(t1); t1 = domainFn.call$1(prevIndex); prevComparisonValue = domainAxis.scale.compareDomainValueToViewport$1(t1); if (prevComparisonValue === 0 && comparisonValue === 1) return prevIndex; t1 = comparisonValue === 1; if (t1 && prevComparisonValue === -1) return searchIndex; if (t1) end = prevIndex; else start = searchIndex + 1; } t1 = domainFn.call$1(data.length - 1); return domainAxis.scale.compareDomainValueToViewport$1(t1) === 1 ? data.length - 1 : 0; } }; A.BaseCartesianRenderer_configureDomainAxes_closure.prototype = { call$1(series) { var domainAxis, domainFn, domainLowerBoundFn, domainUpperBoundFn, t2, t3, i, t4, domainLowerBound, domainUpperBound, t1 = series.data; if (t1.length === 0) return; domainAxis = type$.nullable_Axis_Object._as(series._attrs._typed_registry$_registry.$index(0, B.AttributeKey_OBU)); domainFn = series.domainFn; domainLowerBoundFn = series.domainLowerBoundFn; domainUpperBoundFn = series.domainUpperBoundFn; if (domainAxis == null) return; this.$this.__BaseCartesianRenderer_chart_A === $ && A.throwUnnamedLateFieldNI(); for (t2 = domainLowerBoundFn != null, t3 = domainUpperBoundFn != null, i = 0; i < t1.length; ++i) { t4 = domainFn.call$1(i); t4.toString; domainAxis.addDomainValue$1(t4); if (t2 && t3) { domainLowerBound = domainLowerBoundFn.call$1(i); domainUpperBound = domainUpperBoundFn.call$1(i); if (domainLowerBound != null && domainUpperBound != null) { domainAxis.addDomainValue$1(domainLowerBound); domainAxis.addDomainValue$1(domainUpperBound); } } } }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.BaseCartesianRenderer_configureMeasureAxes_closure.prototype = { call$1(series) { var t2, t3, t4, domainAxis, domainFn, measureAxis, t1 = series.data; if (t1.length === 0) return; t2 = series._attrs._typed_registry$_registry; t3 = type$.nullable_Axis_Object; t4 = this.$this; domainAxis = A._instanceType(t4)._eval$1("Axis<1>?")._as(t3._as(t2.$index(0, B.AttributeKey_OBU))); domainFn = series.domainFn; if (domainAxis == null) return; measureAxis = type$.nullable_Axis_num._as(t3._as(t2.$index(0, B.AttributeKey_kWM))); if (measureAxis == null) return; t4.addMeasureValuesFor$4(series, measureAxis, t4.findNearestViewportStart$3(domainAxis, domainFn, t1), t4.findNearestViewportEnd$3(domainAxis, domainFn, t1)); }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.BaseChart0.prototype = { init$2(context, graphicsFactory) { var _this = this; _this.__BaseChart_context_A = context; if (_this.graphicsFactory !== graphicsFactory) { _this.graphicsFactory = graphicsFactory; B.JSArray_methods.forEach$1(_this._layoutManager._views, new A.BaseChart_init_closure(graphicsFactory)); } _this.configurationChanged$0(); }, getSelectionModel$1(type) { return this._selectionModels.putIfAbsent$2(0, type, new A.BaseChart_getSelectionModel_closure(this)); }, addSeriesRenderer$1(renderer) { var _this = this, rendererId = renderer.rendererId, t1 = _this._seriesRenderers, previousRenderer = t1.$index(0, rendererId); if (previousRenderer != null) _this._layoutManager.removeView$1(previousRenderer); _this.addView$1(renderer); renderer.onAttach$1(_this); t1.$indexSet(0, rendererId, renderer); }, getSeriesRenderer$1(rendererId) { var renderer = this._seriesRenderers.$index(0, rendererId); if (renderer == null) { renderer = this.makeDefaultRenderer$0(); renderer.rendererId = "default"; this.addSeriesRenderer$1(renderer); } return renderer; }, pointWithinRenderer$1(chartPosition) { return this._usingRenderers.any$1(0, new A.BaseChart_pointWithinRenderer_closure(this, chartPosition)); }, getNearestDatumDetailPerSeries$2(drawAreaPoint, selectAcrossAllDrawAreaComponents) { var _this = this, boundsOverride = _this._layoutManager.get$drawableLayoutAreaBounds(), details = A._setArrayType([], A._instanceType(_this)._eval$1("JSArray<DatumDetails<BaseChart0.D>>")); _this._usingRenderers.forEach$1(0, new A.BaseChart_getNearestDatumDetailPerSeries_closure(_this, details, drawAreaPoint, boundsOverride)); B.JSArray_methods.sort$1(details, new A.BaseChart_getNearestDatumDetailPerSeries_closure0(_this)); return details; }, getSelectedDatumDetails$1(selectionModelType) { var selectionModel, t1, t2, t3, _i, seriesDatum, t4, renderer, index, domainLowerBoundFn, domainUpperBoundFn, measureLowerBoundFn, measureUpperBoundFn, measureOffsetFn, rawMeasureLowerBoundFn, rawMeasureUpperBoundFn, colorFn, areaColorFn, fillColorFn, radiusPxFn, strokeWidthPxFn, domainValue, domainLowerBoundValue, domainUpperBoundValue, measureValue, measureLowerBoundValue, measureUpperBoundValue, measureOffsetValue, rawMeasureValue, rawMeasureLowerBoundValue, rawMeasureUpperBoundValue, color, fillColor, areaColor, radiusPx, t5, strokeWidthPx, _this = this, _null = null, details = A._setArrayType([], A._instanceType(_this)._eval$1("JSArray<DatumDetails<BaseChart0.D>>")); if (_this._currentSeriesList == null) return details; selectionModel = _this.getSelectionModel$1(selectionModelType); t1 = selectionModel._selectedDatum; if (t1.length === 0) return details; for (t1 = A.List_List$unmodifiable(t1, selectionModel.$ti._eval$1("SeriesDatum<1>")), t2 = t1.length, t3 = _this._seriesRenderers, _i = 0; _i < t2; ++_i) { seriesDatum = t1[_i]; t4 = seriesDatum.series; renderer = t3.$index(0, A._asStringQ(t4._attrs._typed_registry$_registry.$index(0, B.AttributeKey_kKQ))); if (renderer == null) { renderer = _this.makeDefaultRenderer$0(); renderer.rendererId = "default"; _this.addSeriesRenderer$1(renderer); } index = seriesDatum.get$index(0); domainLowerBoundFn = t4.domainLowerBoundFn; domainUpperBoundFn = t4.domainUpperBoundFn; measureLowerBoundFn = t4.measureLowerBoundFn; measureUpperBoundFn = t4.measureUpperBoundFn; measureOffsetFn = t4.measureOffsetFn; rawMeasureLowerBoundFn = t4.rawMeasureLowerBoundFn; rawMeasureUpperBoundFn = t4.rawMeasureUpperBoundFn; colorFn = t4.colorFn; areaColorFn = t4.areaColorFn; if (areaColorFn == null) areaColorFn = colorFn; fillColorFn = t4.fillColorFn; if (fillColorFn == null) fillColorFn = colorFn; radiusPxFn = t4.radiusPxFn; strokeWidthPxFn = t4.strokeWidthPxFn; domainValue = t4.domainFn.call$1(index); domainLowerBoundValue = domainLowerBoundFn == null ? _null : domainLowerBoundFn.call$1(index); domainUpperBoundValue = domainUpperBoundFn == null ? _null : domainUpperBoundFn.call$1(index); measureValue = t4.measureFn.call$1(index); measureLowerBoundValue = measureLowerBoundFn == null ? _null : measureLowerBoundFn.call$1(index); measureUpperBoundValue = measureUpperBoundFn == null ? _null : measureUpperBoundFn.call$1(index); measureOffsetValue = measureOffsetFn == null ? _null : measureOffsetFn.call$1(index); rawMeasureValue = t4.rawMeasureFn.call$1(index); rawMeasureLowerBoundValue = rawMeasureLowerBoundFn == null ? _null : rawMeasureLowerBoundFn.call$1(index); rawMeasureUpperBoundValue = rawMeasureUpperBoundFn == null ? _null : rawMeasureUpperBoundFn.call$1(index); color = colorFn.call$1(index); fillColor = fillColorFn.call$1(index); if (fillColor == null) fillColor = color; areaColor = areaColorFn.call$1(index); if (radiusPxFn == null) radiusPx = _null; else { t5 = radiusPxFn.call$1(index); radiusPx = t5 == null ? _null : t5; } if (radiusPx == null) radiusPx = _null; if (strokeWidthPxFn == null) strokeWidthPx = _null; else { t5 = strokeWidthPxFn.call$1(index); strokeWidthPx = t5 == null ? _null : t5; } if (strokeWidthPx == null) strokeWidthPx = _null; details.push(renderer.addPositionToDetailsForSeriesDatum$2(new A.DatumDetails(seriesDatum.datum, seriesDatum.get$index(0), domainValue, domainLowerBoundValue, domainUpperBoundValue, measureValue, measureLowerBoundValue, measureUpperBoundValue, measureOffsetValue, rawMeasureValue, rawMeasureLowerBoundValue, rawMeasureUpperBoundValue, t4, color, fillColor, _null, areaColor, _null, _null, _null, _null, _null, _null, _null, _null, radiusPx, _null, strokeWidthPx, _null, _null, A._instanceType(renderer)._eval$1("DatumDetails<1>")), seriesDatum)); } return details; }, removeBehavior$1(behavior) { var role, t1, t2, wasAttached, _this = this; if (behavior == null) return false; role = behavior.get$role(behavior); t1 = _this._behaviorRoleMap; t2 = t1.$index(0, role); if (t2 === behavior) t1.remove$1(0, role); _this.unregisterTappable$1(behavior); wasAttached = B.JSArray_methods.remove$1(_this._behaviorStack, behavior); behavior.removeFrom$1(_this); return wasAttached; }, unregisterTappable$1(behavior) { var role = behavior.get$role(behavior), t1 = this._behaviorTappableMap, t2 = t1.$index(0, role); if (t2 === behavior) t1.remove$1(0, role); }, layout$2(width, height) { var t1, _this = this; if (_this._rendererToSeriesList != null) { _this._chartWidth = width; _this._chartHeight = height; _this._layoutManager.layout$2(width, height); t1 = _this._rendererToSeriesList; t1.toString; _this.fireOnAxisConfigured$0(); _this.super$BaseChart$onPostLayout(t1); } }, addView$1(view) { var t1 = this._layoutManager, t2 = t1._views; if (!B.JSArray_methods.contains$1(t2, view)) { view.set$graphicsFactory(this.graphicsFactory); t2.push(view); t1._viewsNeedPaintSort = t1._viewsNeedPositionSort = t1._drawAreaBoundsOutdated = true; } }, draw$1(seriesList) { var t1, t2, t3, t4, processedSeriesList, _this = this, _box_0 = {}; for (t1 = _this._selectionModels.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); t4 = t3.$ti; t3.updateSelection$3$notifyListeners(A._setArrayType([], t4._eval$1("JSArray<SeriesDatum<1>>")), A._setArrayType([], t4._eval$1("JSArray<ImmutableSeries<1>>")), false); } t1 = A._instanceType(_this)._eval$1("MutableSeries<BaseChart0.D>"); processedSeriesList = A.List_List$of(new A.MappedListIterable(seriesList, _this.get$makeSeries(), A._arrayInstanceType(seriesList)._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>")), true, t1); _this.fireOnDraw$1(processedSeriesList); _box_0.seriesIndex = 0; B.JSArray_methods.forEach$1(processedSeriesList, new A.BaseChart_draw_closure(_box_0, _this)); _this.__BaseChart__originalSeriesList_A = _this._currentSeriesList = processedSeriesList; _this.drawInternal$3$skipAnimation$skipLayout(processedSeriesList, false, false); }, redraw$2$skipAnimation$skipLayout(skipAnimation, skipLayout) { var t1 = this.__BaseChart__originalSeriesList_A; t1 === $ && A.throwUnnamedLateFieldNI(); this.drawInternal$3$skipAnimation$skipLayout(t1, skipAnimation, true); this.onSkipLayout$0(); }, drawInternal$3$skipAnimation$skipLayout(seriesList, skipAnimation, skipLayout) { var _this = this, t1 = A._arrayInstanceType(seriesList)._eval$1("@<1>")._bind$1(A._instanceType(_this)._eval$1("MutableSeries<BaseChart0.D>"))._eval$1("MappedListIterable<1,2>"); seriesList = A.List_List$of(new A.MappedListIterable(seriesList, new A.BaseChart_drawInternal_closure(_this), t1), true, t1._eval$1("ListIterable.E")); _this._animationsTemporarilyDisabled = skipAnimation; _this.configureSeries$1(seriesList); _this.fireOnPreprocess$1(seriesList); _this._rendererToSeriesList = _this.preprocessSeries$1(seriesList); _this.fireOnPostprocess$1(seriesList); _this._currentSeriesList = seriesList; }, makeSeries$1(series) { var t1, s = A.MutableSeries$(series, A._instanceType(this)._eval$1("BaseChart0.D")), rendererId = A._asStringQ(series.attributes._typed_registry$_registry.$index(0, B.AttributeKey_kKQ)); if (rendererId == null) rendererId = "default"; t1 = s._attrs._typed_registry$_registry; t1.$indexSet(0, B.AttributeKey_kKQ, rendererId); t1.$indexSet(0, B.AttributeKey_I4y, this.getSeriesRenderer$1(rendererId)); return s; }, configureSeries$1(seriesList) { var rendererToSeriesList = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, A._instanceType(this)._eval$1("List<MutableSeries<BaseChart0.D>>")); B.JSArray_methods.forEach$1(seriesList, new A.BaseChart_configureSeries_closure(this, rendererToSeriesList)); rendererToSeriesList.forEach$1(0, new A.BaseChart_configureSeries_closure0(this)); }, preprocessSeries$1(seriesList) { var _this = this, t1 = type$.String, rendererToSeriesList = A.LinkedHashMap_LinkedHashMap$_empty(t1, A._instanceType(_this)._eval$1("List<MutableSeries<BaseChart0.D>>")), unusedRenderers = _this._usingRenderers; _this._usingRenderers = A.LinkedHashSet_LinkedHashSet$_empty(t1); B.JSArray_methods.forEach$1(seriesList, new A.BaseChart_preprocessSeries_closure(_this, rendererToSeriesList, unusedRenderers)); unusedRenderers.forEach$1(0, new A.BaseChart_preprocessSeries_closure0(_this, rendererToSeriesList)); rendererToSeriesList.forEach$1(0, new A.BaseChart_preprocessSeries_closure1(_this)); return rendererToSeriesList; }, onSkipLayout$0() { var t1 = this._rendererToSeriesList; t1.toString; this.fireOnAxisConfigured$0(); this.super$BaseChart$onPostLayout(t1); }, onPostLayout$1(rendererToSeriesList) { var t1, _this = this; rendererToSeriesList.forEach$1(0, new A.BaseChart_onPostLayout_closure(_this)); if (_this.get$animatingThisDraw()) { _this.animationPercent = 0; t1 = _this.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.requestAnimation$1(_this.transition); } else { _this.animationPercent = 1; t1 = _this.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.markNeedsPaint$0(); } _this._animationsTemporarilyDisabled = false; }, paint$1(canvas) { var _this = this; B.JSArray_methods.forEach$1(_this._layoutManager.get$paintOrderedViews(), new A.BaseChart_paint_closure(_this, canvas)); _this.fireOnPostrender$1(canvas); if (_this.animationPercent === 1) _this.fireOnAnimationComplete$0(); }, get$animatingThisDraw() { return B.JSInt_methods._tdivFast$1(this.transition._duration, 1000) > 0 && !this._animationsTemporarilyDisabled; }, fireOnDraw$1(seriesList) { B.JSArray_methods.forEach$1(this._lifecycleListeners, new A.BaseChart_fireOnDraw_closure(this, seriesList)); }, fireOnPreprocess$1(seriesList) { B.JSArray_methods.forEach$1(this._lifecycleListeners, new A.BaseChart_fireOnPreprocess_closure(this, seriesList)); }, fireOnPostprocess$1(seriesList) { B.JSArray_methods.forEach$1(this._lifecycleListeners, new A.BaseChart_fireOnPostprocess_closure(this, seriesList)); }, fireOnAxisConfigured$0() { B.JSArray_methods.forEach$1(this._lifecycleListeners, new A.BaseChart_fireOnAxisConfigured_closure(this)); }, fireOnPostrender$1(canvas) { B.JSArray_methods.forEach$1(this._lifecycleListeners, new A.BaseChart_fireOnPostrender_closure(this, canvas)); }, fireOnAnimationComplete$0() { B.JSArray_methods.forEach$1(this._lifecycleListeners, new A.BaseChart_fireOnAnimationComplete_closure(this)); } }; A.BaseChart_init_closure.prototype = { call$1(view) { var t1 = this.graphicsFactory; view.set$graphicsFactory(t1); return t1; }, $signature: 195 }; A.BaseChart_getSelectionModel_closure.prototype = { call$0() { var t1 = A._instanceType(this.$this), t2 = t1._eval$1("JSArray<~(SelectionModel<BaseChart0.D>)>"); t2 = new A.MutableSelectionModel(A._setArrayType([], t2), A._setArrayType([], t2), A._setArrayType([], t2), A._setArrayType([], t1._eval$1("JSArray<SeriesDatum<BaseChart0.D>>")), A._setArrayType([], t1._eval$1("JSArray<ImmutableSeries<BaseChart0.D>>")), t1._eval$1("MutableSelectionModel<BaseChart0.D>")); t2.SelectionModel$2$selectedData$selectedSeries(null, null, t1._eval$1("BaseChart0.D")); return t2; }, $signature() { return A._instanceType(this.$this)._eval$1("MutableSelectionModel<BaseChart0.D>()"); } }; A.BaseChart_pointWithinRenderer_closure.prototype = { call$1(rendererId) { return this.$this.getSeriesRenderer$1(rendererId)._drawAreaBounds.containsPoint$1(0, this.chartPosition); }, $signature: 12 }; A.BaseChart_getNearestDatumDetailPerSeries_closure.prototype = { call$1(rendererId) { var _this = this; B.JSArray_methods.addAll$1(_this.details, _this.$this.getSeriesRenderer$1(rendererId).getNearestDatumDetailPerSeries$5$selectExactEventLocation$selectOverlappingPoints(_this.drawAreaPoint, true, _this.boundsOverride, false, false)); }, $signature: 15 }; A.BaseChart_getNearestDatumDetailPerSeries_closure0.prototype = { call$2(a, b) { var t2, domainDiff, t1 = a.domainDistance; t1.toString; t2 = b.domainDistance; t2.toString; domainDiff = B.JSNumber_methods.compareTo$1(t1, t2); if (domainDiff === 0) { t1 = a.measureDistance; t1.toString; t2 = b.measureDistance; t2.toString; return B.JSNumber_methods.compareTo$1(t1, t2); } return domainDiff; }, $signature() { return A._instanceType(this.$this)._eval$1("int(DatumDetails<BaseChart0.D>,DatumDetails<BaseChart0.D>)"); } }; A.BaseChart_draw_closure.prototype = { call$1(series) { return series.__MutableSeries_seriesIndex_A = this._box_0.seriesIndex++; }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<BaseChart0.D>)"); } }; A.BaseChart_drawInternal_closure.prototype = { call$1(series) { var t4, t5, t6, t7, t8, t9, t10, t11, t12, t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.TypedKey_nullable_Object, type$.nullable_Object), t2 = series.seriesColor, t3 = series.__MutableSeries_seriesIndex_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = series.MutableSeries_keyFn; t5 = series.measureOffsetFn; t6 = series.__MutableSeries_seriesMeasureTotal_A; t6 === $ && A.throwUnnamedLateFieldNI(); t7 = series.areaColorFn; t8 = series.colorFn; t9 = series.dashPatternFn; t10 = series.fillColorFn; t11 = series.labelAccessorFn; t12 = series.radiusPxFn; t1.addAll$1(0, series._attrs._typed_registry$_registry); return new A.MutableSeries(series.id, series.displayName, false, series.seriesCategory, t2, t3, t6, series.data, t4, series.domainFn, series.domainFormatterFn, series.domainLowerBoundFn, series.domainUpperBoundFn, series.measureFn, series.measureFormatterFn, series.measureLowerBoundFn, series.measureUpperBoundFn, t5, series.rawMeasureFn, series.rawMeasureLowerBoundFn, series.rawMeasureUpperBoundFn, t7, t8, t9, t10, series.fillPatternFn, series.patternColorFn, t12, series.strokeWidthPxFn, t11, series.MutableSeries_insideLabelStyleAccessorFn, series.MutableSeries_outsideLabelStyleAccessorFn, new A.SeriesAttributes(t1), series.measureAxis, series.domainAxis, A._instanceType(this.$this)._eval$1("MutableSeries<BaseChart0.D>")); }, $signature() { return A._instanceType(this.$this)._eval$1("MutableSeries<BaseChart0.D>(MutableSeries<BaseChart0.D>)"); } }; A.BaseChart_configureSeries_closure.prototype = { call$1(series) { J.add$1$ax(this.rendererToSeriesList.putIfAbsent$2(0, A._asStringQ(series._attrs._typed_registry$_registry.$index(0, B.AttributeKey_kKQ)), new A.BaseChart_configureSeries__closure(this.$this)), series); }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<BaseChart0.D>)"); } }; A.BaseChart_configureSeries__closure.prototype = { call$0() { return A._setArrayType([], A._instanceType(this.$this)._eval$1("JSArray<MutableSeries<BaseChart0.D>>")); }, $signature() { return A._instanceType(this.$this)._eval$1("List<MutableSeries<BaseChart0.D>>()"); } }; A.BaseChart_configureSeries_closure0.prototype = { call$2(rendererId, seriesList) { this.$this.getSeriesRenderer$1(rendererId).configureSeries$1(seriesList); }, $signature() { return A._instanceType(this.$this)._eval$1("~(String?,List<MutableSeries<BaseChart0.D>>)"); } }; A.BaseChart_preprocessSeries_closure.prototype = { call$1(series) { var t2, t1 = A._asStringQ(series._attrs._typed_registry$_registry.$index(0, B.AttributeKey_kKQ)); t1.toString; t2 = this.$this; J.add$1$ax(this.rendererToSeriesList.putIfAbsent$2(0, t1, new A.BaseChart_preprocessSeries__closure(t2)), series); t2._usingRenderers.add$1(0, t1); this.unusedRenderers.remove$1(0, t1); }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<BaseChart0.D>)"); } }; A.BaseChart_preprocessSeries__closure.prototype = { call$0() { return A._setArrayType([], A._instanceType(this.$this)._eval$1("JSArray<MutableSeries<BaseChart0.D>>")); }, $signature() { return A._instanceType(this.$this)._eval$1("List<MutableSeries<BaseChart0.D>>()"); } }; A.BaseChart_preprocessSeries_closure0.prototype = { call$1(rendererId) { var t1 = A._setArrayType([], A._instanceType(this.$this)._eval$1("JSArray<MutableSeries<BaseChart0.D>>")); this.rendererToSeriesList.$indexSet(0, rendererId, t1); return t1; }, $signature: 15 }; A.BaseChart_preprocessSeries_closure1.prototype = { call$2(rendererId, seriesList) { this.$this.getSeriesRenderer$1(rendererId).preprocessSeries$1(seriesList); }, $signature() { return A._instanceType(this.$this)._eval$1("~(String,List<MutableSeries<BaseChart0.D>>)"); } }; A.BaseChart_onPostLayout_closure.prototype = { call$2(rendererId, seriesList) { var t1 = this.$this; t1.getSeriesRenderer$1(rendererId).update$2(0, seriesList, t1.get$animatingThisDraw()); }, $signature() { return A._instanceType(this.$this)._eval$1("~(String,List<MutableSeries<BaseChart0.D>>)"); } }; A.BaseChart_paint_closure.prototype = { call$1(view) { var t1; A._rtiToString(A.getRuntimeTypeOfDartObject(view)._rti, null); t1 = this.$this; t1 = t1.get$animatingThisDraw() ? t1.animationPercent : 1; view.paint$2(this.canvas, t1); }, $signature: 195 }; A.BaseChart_fireOnDraw_closure.prototype = { call$1(listener) { var t1 = listener.onData; if (t1 != null) t1.call$1(this.seriesList); }, $signature() { return A._instanceType(this.$this)._eval$1("~(LifecycleListener<BaseChart0.D>)"); } }; A.BaseChart_fireOnPreprocess_closure.prototype = { call$1(listener) { var t1 = listener.onPreprocess; if (t1 != null) t1.call$1(this.seriesList); }, $signature() { return A._instanceType(this.$this)._eval$1("~(LifecycleListener<BaseChart0.D>)"); } }; A.BaseChart_fireOnPostprocess_closure.prototype = { call$1(listener) { var t1 = listener.onPostprocess; if (t1 != null) t1.call$1(this.seriesList); }, $signature() { return A._instanceType(this.$this)._eval$1("~(LifecycleListener<BaseChart0.D>)"); } }; A.BaseChart_fireOnAxisConfigured_closure.prototype = { call$1(listener) { var t1 = listener.onAxisConfigured; if (t1 != null) t1.call$0(); }, $signature() { return A._instanceType(this.$this)._eval$1("~(LifecycleListener<BaseChart0.D>)"); } }; A.BaseChart_fireOnPostrender_closure.prototype = { call$1(listener) { }, $signature() { return A._instanceType(this.$this)._eval$1("~(LifecycleListener<BaseChart0.D>)"); } }; A.BaseChart_fireOnAnimationComplete_closure.prototype = { call$1(listener) { }, $signature() { return A._instanceType(this.$this)._eval$1("~(LifecycleListener<BaseChart0.D>)"); } }; A.LifecycleListener.prototype = {}; A.BehaviorPosition.prototype = { _enumToString$0() { return "BehaviorPosition." + this._core$_name; } }; A.OutsideJustification.prototype = { _enumToString$0() { return "OutsideJustification." + this._core$_name; } }; A.InsideJustification.prototype = { _enumToString$0() { return "InsideJustification." + this._core$_name; } }; A.DomainHighlighter0.prototype = { _selectionChanged$1(selectionModel) { var t1 = this.__DomainHighlighter__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.redraw$2$skipAnimation$skipLayout(true, true); }, _updateColorFunctions$1(seriesList) { var t1 = this.__DomainHighlighter__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.forEach$1(seriesList, new A.DomainHighlighter__updateColorFunctions_closure(this, t1.getSelectionModel$1(this.selectionModelType))); }, attachTo$1(chart) { var t1, _this = this; _this.__DomainHighlighter__chart_A = chart; t1 = _this.__DomainHighlighter__lifecycleListener_A; t1 === $ && A.throwUnnamedLateFieldNI(); chart._lifecycleListeners.push(t1); chart.getSelectionModel$1(_this.selectionModelType)._changedListeners.push(_this.get$_selectionChanged()); }, removeFrom$1(chart) { var t1; B.JSArray_methods.remove$1(chart.getSelectionModel$1(this.selectionModelType)._changedListeners, this.get$_selectionChanged()); t1 = this.__DomainHighlighter__lifecycleListener_A; t1 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.remove$1(chart._lifecycleListeners, t1); }, get$role(_) { return "domainHighlight-" + this.selectionModelType.toString$0(0); }, $isChartBehavior0: 1 }; A.DomainHighlighter__updateColorFunctions_closure.prototype = { call$1(series) { var origColorFn = series.colorFn; if (origColorFn != null) series.colorFn = new A.DomainHighlighter__updateColorFunctions__closure(origColorFn, this.selectionModel, series); }, $signature() { return this.$this.$ti._eval$1("~(MutableSeries<1>)"); } }; A.DomainHighlighter__updateColorFunctions__closure.prototype = { call$1(index) { var origColor = this.origColorFn.call$1(index), t1 = this.selectionModel, t2 = this.series, datum = index == null ? null : t2.data[index]; if (B.JSArray_methods.contains$1(t1._selectedDatum, new A.SeriesDatum(t2, datum, t1.$ti._eval$1("SeriesDatum<1>")))) return origColor.get$darker(); else return origColor; }, $signature: 242 }; A.Legend.prototype = { defaultLegendMeasureFormatter$1(value) { return value == null ? "" : $.$get$Legend__decimalPattern().format$1(value); }, Legend$3$entryTextStyle$legendEntryGenerator$selectionModelType(entryTextStyle, legendEntryGenerator, selectionModelType, $D) { var t1, _this = this; _this.__Legend__lifecycleListener_F !== $ && A.throwUnnamedLateFieldAI(); _this.__Legend__lifecycleListener_F = new A.LifecycleListener(_this.get$onData(), _this.get$_preProcess(), _this.get$_postProcess(), null, $D._eval$1("LifecycleListener<0>")); t1 = _this.legendEntryGenerator; t1.entryTextStyle = entryTextStyle; t1.showOverlaySeries = false; }, set$entryTextStyle(entryTextStyle) { this.legendEntryGenerator.entryTextStyle = entryTextStyle; }, _preProcess$1(seriesList) { this.__Legend__currentSeriesList_A = A.List_List$of(seriesList, true, this.$ti._eval$1("MutableSeries<1>")); this.preProcessSeriesList$1(seriesList); }, _postProcess$1(seriesList) { var selectionModel, t2, _this = this, t1 = _this.__Legend__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); selectionModel = t1.getSelectionModel$1(_this.selectionModelType); t1 = _this.legendState; if (!J.$eq$(t1._selectionModel, selectionModel) || _this._postProcessSeriesList !== seriesList) { t2 = _this.__Legend__currentSeriesList_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.__LegendState__legendEntries_A = _this.legendEntryGenerator.getLegendEntries$1(t2); t1._selectionModel = selectionModel; _this._postProcessSeriesList = seriesList; _this._updateLegendEntries$1$seriesList(seriesList); } }, _legend$_selectionChanged$1(selectionModel) { this.legendState._selectionModel = selectionModel; this._updateLegendEntries$0(); }, _updateLegendEntries$1$seriesList(seriesList) { var t4, _this = this, t1 = _this.legendEntryGenerator, t2 = _this.legendState, t3 = t2.__LegendState__legendEntries_A; t3 === $ && A.throwUnnamedLateFieldNI(); t2 = t2._selectionModel; t2.toString; if (seriesList == null) { t4 = _this.__Legend__chart_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t4._currentSeriesList; t4.toString; } else t4 = seriesList; if (t2._selectedDatum.length !== 0 || A.List_List$unmodifiable(t2._selectedSeries, A._instanceType(t2)._eval$1("ImmutableSeries<1>")).length !== 0) t1._updateFromSelection$2(t3, t2); else { t2 = t1.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2 !== B.LegendDefaultMeasure_0) t1._updateFromSeriesList$2(t3, t4); else t1._resetLegendEntryMeasures$1(t3); } t1 = _this.__Legend__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.requestRebuild$0(); }, _updateLegendEntries$0() { return this._updateLegendEntries$1$seriesList(null); }, attachTo$1(chart) { var t1, _this = this; _this.__Legend__chart_A = chart; t1 = _this.__Legend__lifecycleListener_F; t1 === $ && A.throwUnnamedLateFieldNI(); chart._lifecycleListeners.push(t1); chart.getSelectionModel$1(_this.selectionModelType)._changedListeners.push(_this.get$_legend$_selectionChanged()); chart.addView$1(_this); }, removeFrom$1(chart) { var t1, _this = this; B.JSArray_methods.remove$1(chart.getSelectionModel$1(_this.selectionModelType)._changedListeners, _this.get$_legend$_selectionChanged()); t1 = _this.__Legend__lifecycleListener_F; t1 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.remove$1(chart._lifecycleListeners, t1); chart._layoutManager.removeView$1(_this); }, get$role(_) { return "legend-" + this.selectionModelType.toString$0(0); }, get$layoutConfig() { var t1 = this.__Legend__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); return A.LayoutViewConfig$(100, A.layoutPosition(B.BehaviorPosition_3, this.config.outsideJustification, t1._chartContainerIsRtl), 30); }, measure$2(_, maxWidth, maxHeight) { return A.ViewMeasuredSizes$(0, 0); }, layout$2(componentBounds, drawAreaBounds) { var t1; this._legend$_componentBounds = componentBounds; this._legend$_drawAreaBounds = drawAreaBounds; t1 = this.__Legend__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.requestRebuild$0(); }, paint$2(canvas, animationPercent) { }, get$componentBounds() { return this._legend$_componentBounds; }, get$isSeriesRenderer() { return false; }, $isChartBehavior0: 1, $isLayoutView: 1, set$graphicsFactory() { } }; A.LegendState.prototype = {}; A.LegendTapHandling.prototype = { _enumToString$0() { return "LegendTapHandling." + this._core$_name; } }; A.LegendEntryBase.prototype = {}; A.LegendEntry.prototype = { get$value(receiver) { return this.value; } }; A.LegendDefaultMeasure.prototype = { _enumToString$0() { return "LegendDefaultMeasure." + this._core$_name; } }; A.PerSeriesLegendEntryGenerator.prototype = { getLegendEntries$1(seriesList) { var _this = this, t1 = A._arrayInstanceType(seriesList), t2 = t1._eval$1("@<1>")._bind$1(_this.$ti._eval$1("LegendEntry<1>"))._eval$1("MappedIterable<1,2>"), legendEntries = A.List_List$of(new A.MappedIterable(new A.WhereIterable(seriesList, new A.PerSeriesLegendEntryGenerator_getLegendEntries_closure(_this), t1._eval$1("WhereIterable<1>")), new A.PerSeriesLegendEntryGenerator_getLegendEntries_closure0(_this), t2), true, t2._eval$1("Iterable.E")); t1 = _this.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 !== B.LegendDefaultMeasure_0) _this._updateFromSeriesList$2(legendEntries, seriesList); return legendEntries; }, _updateFromSelection$2(legendEntries, selectionModel) { var t2, t3, t4, _i, selectedDatum, series, seriesId, t5, measure, entry, measureValue, formattedValue, result, _this = this, t1 = type$.String, seriesAndMeasure = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.num), secondaryAxisSeriesIDs = A.HashSet_HashSet(t1); for (t1 = A._instanceType(selectionModel), t2 = t1._eval$1("SeriesDatum<1>"), t3 = A.List_List$unmodifiable(selectionModel._selectedDatum, t2), t4 = t3.length, _i = 0; _i < t4; ++_i) { selectedDatum = t3[_i]; series = selectedDatum.series; seriesId = series.id; t5 = J.get$index$z(selectedDatum); measure = series.measureFn.call$1(t5); if (measure == null) measure = 0; t5 = seriesAndMeasure.$index(0, seriesId); seriesAndMeasure.$indexSet(0, seriesId, (t5 == null ? 0 : t5) + measure); if (A._asStringQ(series._attrs._typed_registry$_registry.$index(0, B.AttributeKey_Bwd)) === "secondaryMeasureAxisId") secondaryAxisSeriesIDs.add$1(0, seriesId); } for (t3 = legendEntries.length, t1 = t1._eval$1("ImmutableSeries<1>"), _i = 0; _i < legendEntries.length; legendEntries.length === t3 || (0, A.throwConcurrentModificationError)(legendEntries), ++_i) { entry = legendEntries[_i]; seriesId = entry.series.id; measureValue = seriesAndMeasure.$index(0, seriesId); if (measureValue == null) measureValue = null; formattedValue = secondaryAxisSeriesIDs.contains$1(0, seriesId) ? _this.secondaryMeasureFormatter.call$1(measureValue) : _this.measureFormatter.call$1(measureValue); entry.value = measureValue; entry.formattedValue = formattedValue; result = A.List_List$from(selectionModel._selectedSeries, false, t1); result.fixed$length = Array; result.immutable$list = Array; entry.isSelected = B.JSArray_methods.any$1(result, new A.PerSeriesLegendEntryGenerator__updateFromSelection_closure(_this, entry)); result = A.List_List$from(selectionModel._selectedDatum, false, t2); result.fixed$length = Array; result.immutable$list = Array; t4 = result; t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,int?>"); A.List_List$of(new A.MappedListIterable(t4, new A.PerSeriesLegendEntryGenerator__updateFromSelection_closure0(_this), t5), true, t5._eval$1("ListIterable.E")); } }, _resetLegendEntryMeasures$1(legendEntries) { var t1, _i, entry; for (t1 = legendEntries.length, _i = 0; _i < t1; ++_i) { entry = legendEntries[_i]; entry.formattedValue = entry.value = null; entry.isSelected = false; } }, _updateFromSeriesList$2(legendEntries, seriesList) { var _i, series, seriesId, t2, calculatedMeasure, entry, _this = this, getMeasureTotal = new A.PerSeriesLegendEntryGenerator__updateFromSeriesList_getMeasureTotal(_this), t1 = type$.String, seriesAndMeasure = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_double), seriesAndFormattedMeasure = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = seriesList.length, _i = 0; _i < seriesList.length; seriesList.length === t1 || (0, A.throwConcurrentModificationError)(seriesList), ++_i) { series = seriesList[_i]; seriesId = series.id; t2 = _this.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A; t2 === $ && A.throwUnnamedLateFieldNI(); switch (t2.index) { case 1: calculatedMeasure = getMeasureTotal.call$1(series); break; case 2: calculatedMeasure = getMeasureTotal.call$1(series) / series.data.length; break; case 3: calculatedMeasure = series.measureFn$1(0); break; case 4: calculatedMeasure = series.measureFn$1(series.data.length - 1); break; case 0: calculatedMeasure = null; break; default: calculatedMeasure = null; } seriesAndMeasure.$indexSet(0, seriesId, calculatedMeasure == null ? null : calculatedMeasure); seriesAndFormattedMeasure.$indexSet(0, seriesId, A._asStringQ(series._attrs._typed_registry$_registry.$index(0, B.AttributeKey_Bwd)) === "secondaryMeasureAxisId" ? _this.secondaryMeasureFormatter.call$1(calculatedMeasure) : _this.measureFormatter.call$1(calculatedMeasure)); } for (t1 = legendEntries.length, _i = 0; _i < legendEntries.length; legendEntries.length === t1 || (0, A.throwConcurrentModificationError)(legendEntries), ++_i) { entry = legendEntries[_i]; seriesId = entry.series.id; entry.value = seriesAndMeasure.$index(0, seriesId); entry.formattedValue = seriesAndFormattedMeasure.$index(0, seriesId); entry.isSelected = false; } }, $eq(_, other) { var t1, t2; if (other == null) return false; if (other instanceof A.PerSeriesLegendEntryGenerator) if (J.$eq$(this.measureFormatter, other.measureFormatter)) if (J.$eq$(this.secondaryMeasureFormatter, other.secondaryMeasureFormatter)) { t1 = this.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = other.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = t1 === t2 && true; } else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this, hashcode = J.get$hashCode$(_this.measureFormatter), t1 = J.get$hashCode$(_this.secondaryMeasureFormatter), t2 = _this.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A; t2 === $ && A.throwUnnamedLateFieldNI(); return ((hashcode * 37 + t1) * 37 + A.Primitives_objectHashCode(t2)) * 37 + B.JSNull_methods.get$hashCode(_this.entryTextStyle); } }; A.PerSeriesLegendEntryGenerator_getLegendEntries_closure.prototype = { call$1(series) { return true; }, $signature() { return this.$this.$ti._eval$1("bool(MutableSeries<1>)"); } }; A.PerSeriesLegendEntryGenerator_getLegendEntries_closure0.prototype = { call$1(series) { var t2, t1 = series.seriesColor; t1.toString; t2 = this.$this; return new A.LegendEntry(series, t1, series.displayName, t2.entryTextStyle, t2.$ti._eval$1("LegendEntry<1>")); }, $signature() { return this.$this.$ti._eval$1("LegendEntry<1>(MutableSeries<1>)"); } }; A.PerSeriesLegendEntryGenerator__updateFromSelection_closure.prototype = { call$1(selectedSeries) { return this.entry.series.id === selectedSeries.id; }, $signature() { return this.$this.$ti._eval$1("bool(ImmutableSeries<1>)"); } }; A.PerSeriesLegendEntryGenerator__updateFromSelection_closure0.prototype = { call$1(datum) { return datum.get$index(0); }, $signature() { return this.$this.$ti._eval$1("int?(SeriesDatum<1>)"); } }; A.PerSeriesLegendEntryGenerator__updateFromSeriesList_getMeasureTotal.prototype = { call$1(series) { var t1, measureTotal, i, t2; for (t1 = series.data, measureTotal = 0, i = 0; i < t1.length; ++i) { t2 = series.measureFn.call$1(i); measureTotal += t2 == null ? 0 : t2; } return measureTotal; }, $signature() { return this.$this.$ti._eval$1("num(MutableSeries<1>)"); } }; A.SeriesLegend0.prototype = { SeriesLegend$7$entryTextStyle$legendDefaultMeasure$legendEntryGenerator$measureFormatter$secondaryMeasureFormatter$selectionModelType$showMeasures(entryTextStyle, legendDefaultMeasure, legendEntryGenerator, measureFormatter, secondaryMeasureFormatter, selectionModelType, showMeasures, $D) { var t2, t1 = this.legendEntryGenerator; t1.__PerSeriesLegendEntryGenerator_legendDefaultMeasure_A = legendDefaultMeasure; t2 = this.get$defaultLegendMeasureFormatter(); t1.measureFormatter = t2; t1.secondaryMeasureFormatter = t2; }, set$defaultHiddenSeries(defaultHiddenSeries) { this._defaultHiddenSeries = defaultHiddenSeries; this._hiddenSeriesList.clear$0(0); }, onData$1(seriesList) { this._hiddenSeriesList._filterWhere$2(new A.SeriesLegend_onData_closure(new A.MappedListIterable(seriesList, new A.SeriesLegend_onData_closure0(this), A._arrayInstanceType(seriesList)._eval$1("MappedListIterable<1,String>"))), true); }, preProcessSeriesList$1(seriesList) { if (!!seriesList.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(seriesList, new A.SeriesLegend_preProcessSeriesList_closure(this), true); }, hideSeries$1(seriesId) { this._hiddenSeriesList.add$1(0, seriesId); }, showSeries$1(seriesId) { this._hiddenSeriesList._filterWhere$2(new A.SeriesLegend_showSeries_closure(seriesId), true); } }; A.SeriesLegend_onData_closure0.prototype = { call$1(series) { return series.id; }, $signature() { return this.$this.$ti._eval$1("String(MutableSeries<1>)"); } }; A.SeriesLegend_onData_closure.prototype = { call$1(id) { return !this.seriesIds.contains$1(0, id); }, $signature: 12 }; A.SeriesLegend_preProcessSeriesList_closure.prototype = { call$1(series) { return this.$this._hiddenSeriesList.contains$1(0, series.id); }, $signature() { return this.$this.$ti._eval$1("bool(MutableSeries<1>)"); } }; A.SeriesLegend_showSeries_closure.prototype = { call$1(id) { return id === this.seriesId; }, $signature: 12 }; A.LinePointHighlighter0.prototype = { attachTo$1(chart) { var t1, _this = this; _this.__LinePointHighlighter__chart_A = chart; t1 = new A._LinePointLayoutView(A.LayoutViewConfig$(110, B.LayoutPosition_8, 110), _this.showHorizontalFollowLine, _this.showVerticalFollowLine, chart, _this.dashPattern, true, _this.symbolRenderer, _this.$ti._eval$1("_LinePointLayoutView<1>")); _this.__LinePointHighlighter__view_A = t1; chart.addView$1(t1); t1 = _this.__LinePointHighlighter__lifecycleListener_A; t1 === $ && A.throwUnnamedLateFieldNI(); chart._lifecycleListeners.push(t1); chart.getSelectionModel$1(_this.selectionModelType)._changedListeners.push(_this.get$_line_point_highlighter$_selectionChanged()); }, removeFrom$1(chart) { var _this = this, t1 = _this.__LinePointHighlighter__view_A; t1 === $ && A.throwUnnamedLateFieldNI(); chart._layoutManager.removeView$1(t1); B.JSArray_methods.remove$1(chart.getSelectionModel$1(_this.selectionModelType)._changedListeners, _this.get$_line_point_highlighter$_selectionChanged()); t1 = _this.__LinePointHighlighter__lifecycleListener_A; t1 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.remove$1(chart._lifecycleListeners, t1); }, _line_point_highlighter$_selectionChanged$1(selectionModel) { var t1 = this.__LinePointHighlighter__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.redraw$2$skipAnimation$skipLayout(true, true); }, _updateViewData$0() { var t2, selectedDatumDetails, t3, newSeriesMap, t4, t5, t6, radiusPx, t7, t8, t9, _i, detail, series, datum, t10, domainAxis, measureAxis, radiusPx0, pointKey, t11, animatingPoint, t12, _this = this, t1 = _this._line_point_highlighter$_currentKeys; B.JSArray_methods.clear$0(t1); t2 = _this.__LinePointHighlighter__chart_A; t2 === $ && A.throwUnnamedLateFieldNI(); selectedDatumDetails = t2.getSelectedDatumDetails$1(_this.selectionModelType); t2 = _this.$ti; t3 = t2._eval$1("_AnimatedPoint<1>"); newSeriesMap = A.LinkedHashMap_LinkedHashMap(null, null, type$.String, t3); for (t4 = selectedDatumDetails.length, t5 = t2._eval$1("_DatumPoint0<1>"), t6 = t2._eval$1("_PointRendererElement<1>"), radiusPx = _this.defaultRadiusPx, t7 = type$.nullable_Axis_Object, t2 = t2._eval$1("ImmutableAxis<1>"), t8 = type$.ImmutableAxis_num, t9 = _this.radiusPaddingPx, _i = 0; _i < selectedDatumDetails.length; selectedDatumDetails.length === t4 || (0, A.throwConcurrentModificationError)(selectedDatumDetails), ++_i) { detail = selectedDatumDetails[_i]; series = detail.series; datum = detail.datum; t10 = series._attrs._typed_registry$_registry; domainAxis = t2._as(t7._as(t10.$index(0, B.AttributeKey_OBU))); measureAxis = t8._as(t7._as(t10.$index(0, B.AttributeKey_kWM))); t10 = detail.radiusPx; radiusPx0 = t10 != null ? t10 + t9 : radiusPx; t10 = detail.domain; pointKey = series.id + "::" + A.S(t10) + "::" + A.S(detail.measure); if (_this._seriesPointMap.containsKey$1(0, pointKey)) { t11 = _this._seriesPointMap.$index(0, pointKey); t11.toString; animatingPoint = t11; } else { animatingPoint = new A._AnimatedPoint(pointKey, t3); animatingPoint.setNewTarget$1(new A._PointRendererElement(new A._DatumPoint0(datum, t10, series, domainAxis.getLocation$1(t10), measureAxis.getLocation$1(0), t5), detail.color, detail.fillColor, radiusPx0, measureAxis.getLocation$1(0), detail.strokeWidthPx, detail.symbolRenderer, t6)); } newSeriesMap.$indexSet(0, pointKey, animatingPoint); t11 = detail.chartPosition; t12 = t11.x; t11 = t11.y; t1.push(pointKey); animatingPoint.setNewTarget$1(new A._PointRendererElement(new A._DatumPoint0(datum, t10, series, t12, t11, t5), detail.color, detail.fillColor, radiusPx0, measureAxis.getLocation$1(0), detail.strokeWidthPx, detail.symbolRenderer, t6)); } _this._seriesPointMap.forEach$1(0, new A.LinePointHighlighter__updateViewData_closure(_this, newSeriesMap)); _this._seriesPointMap = newSeriesMap; t1 = _this.__LinePointHighlighter__view_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1._seriesPointMap = newSeriesMap; }, get$role(_) { return "LinePointHighlighter-" + this.selectionModelType.toString$0(0); }, $isChartBehavior0: 1 }; A.LinePointHighlighter__updateViewData_closure.prototype = { call$2(key, point) { var newTarget, targetPoint, t2, t1 = point.key; if (!B.JSArray_methods.contains$1(this.$this._line_point_highlighter$_currentKeys, t1)) { newTarget = point._currentPoint.clone$0(0); targetPoint = newTarget.point; t2 = newTarget.measureAxisPosition; t2.toString; newTarget.point = A._DatumPoint__DatumPoint$from0(targetPoint, targetPoint.x, B.JSNumber_methods.roundToDouble$0(t2), point.$ti._precomputed1); newTarget.radiusPx = 0; point.setNewTarget$1(newTarget); point.animatingOut = true; this.newSeriesMap.$indexSet(0, t1, point); } }, $signature() { return this.$this.$ti._eval$1("~(String,_AnimatedPoint<1>)"); } }; A._LinePointLayoutView.prototype = { measure$2(_, maxWidth, maxHeight) { return null; }, layout$2(componentBounds, drawAreaBounds) { this.___LinePointLayoutView__drawAreaBounds_A = drawAreaBounds; }, paint$2(canvas, animationPercent) { var keysToRemove, points, t1, endPointPerValueVertical, endPointPerValueHorizontal, t2, shouldShowHorizontalFollowLine, t3, t4, shouldShowVerticalFollowLine, t5, _i, t6, t7, roundedX, roundedY, shouldShowHorizontalFollowLine0, shouldShowVerticalFollowLine0, paintedHorizontalLinePositions, paintedVerticalLinePositions, drawBounds, leftBound, rightBound, topBound, t8, t9, rightBound0, leftBound0, pointElement, bounds, _this = this, _null = null, _seriesPointMap = _this._seriesPointMap; if (_seriesPointMap == null) return; if (animationPercent === 1) { keysToRemove = A._setArrayType([], type$.JSArray_String); _seriesPointMap.forEach$1(0, new A._LinePointLayoutView_paint_closure(_this, keysToRemove)); B.JSArray_methods.forEach$1(keysToRemove, _seriesPointMap.get$remove(_seriesPointMap)); } points = A._setArrayType([], _this.$ti._eval$1("JSArray<_PointRendererElement<1>>")); _seriesPointMap.forEach$1(0, new A._LinePointLayoutView_paint_closure0(_this, points, animationPercent)); t1 = type$.int; endPointPerValueVertical = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); endPointPerValueHorizontal = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = points.length, t2 = _this.showHorizontalFollowLine, shouldShowHorizontalFollowLine = t2 === B.LinePointHighlighterFollowLineType_0, t3 = !shouldShowHorizontalFollowLine, t4 = _this.showVerticalFollowLine, shouldShowVerticalFollowLine = t4 === B.LinePointHighlighterFollowLineType_0, t5 = !shouldShowVerticalFollowLine, _i = 0; _i < points.length; points.length === t1 || (0, A.throwConcurrentModificationError)(points), ++_i) { t6 = points[_i].point; t7 = t6.x; if (t7 == null || t6.y == null) continue; t7.toString; t6 = t6.y; t6.toString; roundedX = B.JSNumber_methods.round$0(t7); roundedY = B.JSNumber_methods.round$0(t6); if (endPointPerValueVertical.$index(0, roundedX) == null) endPointPerValueVertical.$indexSet(0, roundedX, roundedY); else if (t5) { t6 = endPointPerValueVertical.$index(0, roundedX); t6.toString; endPointPerValueVertical.$indexSet(0, roundedX, Math.min(t6, roundedY)); } if (endPointPerValueHorizontal.$index(0, roundedY) == null) endPointPerValueHorizontal.$indexSet(0, roundedY, roundedX); else if (t3) { t6 = endPointPerValueHorizontal.$index(0, roundedY); t6.toString; endPointPerValueHorizontal.$indexSet(0, roundedY, Math.max(t6, roundedX)); } } shouldShowHorizontalFollowLine0 = t2 === B.LinePointHighlighterFollowLineType_2 || shouldShowHorizontalFollowLine; shouldShowVerticalFollowLine0 = t4 === B.LinePointHighlighterFollowLineType_2 || shouldShowVerticalFollowLine; t1 = type$.JSArray_num; paintedHorizontalLinePositions = A._setArrayType([], t1); paintedVerticalLinePositions = A._setArrayType([], t1); t1 = _this.chart; drawBounds = t1._layoutManager.get$drawableLayoutAreaBounds(); t1 = t1.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.get$isRtl(); for (t1 = points.length, t2 = type$.Point_num, t3 = type$.JSArray_Point_num, t4 = _this.dashPattern, t5 = canvas.canvas, t6 = canvas._paint, leftBound = drawBounds.left, rightBound = leftBound + drawBounds.width, topBound = drawBounds.top, t7 = topBound + drawBounds.height, _i = 0; _i < points.length; points.length === t1 || (0, A.throwConcurrentModificationError)(points), ++_i) { t8 = points[_i].point; t9 = t8.x; if (t9 == null || t8.y == null) continue; t9.toString; t8 = t8.y; t8.toString; roundedX = B.JSNumber_methods.round$0(t9); roundedY = B.JSNumber_methods.round$0(t8); if (shouldShowHorizontalFollowLine0 && !B.JSArray_methods.contains$1(paintedHorizontalLinePositions, roundedY)) { rightBound0 = rightBound; leftBound0 = leftBound; t8 = A._setArrayType([new A.Point(leftBound0, t8, t2), new A.Point(rightBound0, t8, t2)], t3); $.$get$StyleFactory__styleFactory(); A.LinePainter_draw(t5, _null, t4, _null, t6, t8, _null, _null, new A.Color0(117, 117, 117, 255, _null, _null), 1); if (shouldShowHorizontalFollowLine) shouldShowHorizontalFollowLine0 = false; paintedHorizontalLinePositions.push(roundedY); } if (shouldShowVerticalFollowLine0 && !B.JSArray_methods.contains$1(paintedVerticalLinePositions, roundedX)) { t8 = A._setArrayType([new A.Point(t9, topBound, t2), new A.Point(t9, t7, t2)], t3); $.$get$StyleFactory__styleFactory(); A.LinePainter_draw(t5, _null, t4, _null, t6, t8, _null, _null, new A.Color0(117, 117, 117, 255, _null, _null), 1); if (shouldShowVerticalFollowLine) shouldShowVerticalFollowLine0 = false; paintedVerticalLinePositions.push(roundedX); } if (!shouldShowHorizontalFollowLine0 && !shouldShowVerticalFollowLine0) break; } for (t1 = points.length, t2 = type$.double, t3 = _this.symbolRenderer, _i = 0; _i < points.length; points.length === t1 || (0, A.throwConcurrentModificationError)(points), ++_i) { pointElement = points[_i]; t4 = pointElement.point; t5 = t4.x; if (t5 == null || t4.y == null) continue; t5.toString; t4 = t4.y; t4.toString; t6 = pointElement.radiusPx; t7 = t6 * 2; bounds = A.Rectangle$(t5 - t6, t4 - t6, t7, t7, t2); t7 = pointElement.symbolRenderer; t4 = t7 == null ? t3 : t7; t4.paint$5$fillColor$strokeColor$strokeWidthPx(canvas, bounds, pointElement.fillColor, pointElement.color, pointElement.strokeWidthPx); } }, get$componentBounds() { var t1 = this.___LinePointLayoutView__drawAreaBounds_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, get$isSeriesRenderer() { return false; }, get$layoutConfig() { return this.layoutConfig; }, set$graphicsFactory() { } }; A._LinePointLayoutView_paint_closure.prototype = { call$2(key, point) { if (point.animatingOut) this.keysToRemove.push(key); }, $signature() { return this.$this.$ti._eval$1("~(String,_AnimatedPoint<1>)"); } }; A._LinePointLayoutView_paint_closure0.prototype = { call$2(key, point) { this.points.push(point.getCurrentPoint$1(this.animationPercent)); }, $signature() { return this.$this.$ti._eval$1("~(String,_AnimatedPoint<1>)"); } }; A._DatumPoint0.prototype = {}; A._PointRendererElement.prototype = { clone$0(_) { var _this = this; return new A._PointRendererElement(_this.point, _this.color, _this.fillColor, _this.radiusPx, _this.measureAxisPosition, _this.strokeWidthPx, _this.symbolRenderer, _this.$ti); }, _lerpDouble$3(a, b, t) { if (a == null || b == null) return null; return a + (b - a) * t; } }; A._AnimatedPoint.prototype = { setNewTarget$1(newTarget) { var t1, _this = this; _this.animatingOut = false; t1 = _this._currentPoint; _this._previousPoint = (t1 == null ? _this._currentPoint = newTarget.clone$0(0) : t1).clone$0(0); _this.___AnimatedPoint__targetPoint_A = newTarget; }, getCurrentPoint$1(animationPercent) { var t1, t2, t3, targetPoint, previousPoint, t4, t5, targetStrokeWidthPx, previousStrokeWidthPx, _this = this; if (animationPercent === 1 || _this._previousPoint == null) { t1 = _this.___AnimatedPoint__targetPoint_A; t1 === $ && A.throwUnnamedLateFieldNI(); return _this._previousPoint = _this._currentPoint = t1; } t1 = _this._currentPoint; t1.toString; t2 = _this._previousPoint; t2.toString; t3 = _this.___AnimatedPoint__targetPoint_A; t3 === $ && A.throwUnnamedLateFieldNI(); targetPoint = t3.point; previousPoint = t2.point; t1.point = A._DatumPoint__DatumPoint$from0(targetPoint, t1._lerpDouble$3(previousPoint.x, targetPoint.x, animationPercent), t1._lerpDouble$3(previousPoint.y, targetPoint.y, animationPercent), t1.$ti._precomputed1); t4 = t2.color; t4.toString; t5 = t3.color; t5.toString; t1.color = A.getAnimatedColor(t4, t5, animationPercent); t5 = t2.fillColor; t5.toString; t4 = t3.fillColor; t4.toString; t1.fillColor = A.getAnimatedColor(t5, t4, animationPercent); t4 = t1._lerpDouble$3(t2.radiusPx, t3.radiusPx, animationPercent); t4.toString; t1.radiusPx = t4; targetStrokeWidthPx = t3.strokeWidthPx; previousStrokeWidthPx = t2.strokeWidthPx; if (targetStrokeWidthPx != null && previousStrokeWidthPx != null) t1.strokeWidthPx = (targetStrokeWidthPx - previousStrokeWidthPx) * animationPercent + previousStrokeWidthPx; else t1.strokeWidthPx = null; t1 = _this._currentPoint; t1.toString; return t1; } }; A.LinePointHighlighterFollowLineType.prototype = { _enumToString$0() { return "LinePointHighlighterFollowLineType." + this._core$_name; } }; A.SelectNearest0.prototype = { SelectNearest$7$eventTrigger$hoverEventDelay$maximumDomainDistancePx$selectAcrossAllSeriesRendererComponents$selectClosestSeries$selectionMode$selectionModelType(eventTrigger, hoverEventDelay, maximumDomainDistancePx, selectAcrossAllSeriesRendererComponents, selectClosestSeries, selectionMode, selectionModelType, $D) { var t1, _this = this, _null = null; switch (_this.eventTrigger.index) { case 1: _this.__SelectNearest__listener_A = A.GestureListener$(_null, _null, _null, _null, _null, _this.get$_onSelect(), _this.get$_onTapTest()); break; case 2: t1 = _this.get$_onSelect(); _this.__SelectNearest__listener_A = A.GestureListener$(_null, t1, t1, _null, _null, t1, _this.get$_onTapTest()); break; case 3: t1 = _this.get$_onSelect(); _this.__SelectNearest__listener_A = A.GestureListener$(_this.get$_onDeselectAll(), t1, t1, _null, t1, _null, _this.get$_onTapTest()); break; case 4: t1 = _this.get$_onSelect(); _this.__SelectNearest__listener_A = A.GestureListener$(_this.get$_onDeselectAll(), t1, t1, _null, _this.get$_onLongPressSelect(), _null, _this.get$_onTapTest()); break; case 0: default: _this.__SelectNearest__listener_A = A.GestureListener$(_null, _null, _null, _this.get$_onSelect(), _null, _null, _null); break; } }, _onTapTest$1(chartPoint) { this._delaySelect = this.eventTrigger === B.SelectionTrigger_4; return this._select_nearest$_chart.pointWithinRenderer$1(chartPoint); }, _onLongPressSelect$1(chartPoint) { this._delaySelect = false; return this._onSelect$1(chartPoint); }, _onSelect$2(chartPoint, ignored) { var details, seriesList, seriesDatumList, seriesDatumList0, _this = this, t1 = _this._select_nearest$_chart; if (t1 == null) return false; if (_this._delaySelect) return false; details = t1.getNearestDatumDetailPerSeries$2(chartPoint, true); t1 = _this.$ti; seriesList = A._setArrayType([], t1._eval$1("JSArray<ImmutableSeries<1>>")); seriesDatumList = A._setArrayType([], t1._eval$1("JSArray<SeriesDatum<1>>")); t1 = details.length; if (t1 !== 0) { B.JSArray_methods.sort$1(details, new A.SelectNearest__onSelect_closure(_this)); seriesDatumList0 = _this._extractSeriesFromNearestSelection$1(details); if (!!seriesDatumList0.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(seriesDatumList0, new A.SelectNearest__onSelect_closure0(_this), true); t1 = seriesList.length; if (t1 === 0) { B.JSArray_methods.get$first(details).toString; seriesList.push(B.JSArray_methods.get$first(details).series); } seriesDatumList = seriesDatumList0; } return _this._select_nearest$_chart.getSelectionModel$1(_this.selectionModelType).updateSelection$2(seriesDatumList, seriesList); }, _onSelect$1(chartPoint) { return this._onSelect$2(chartPoint, null); }, _extractSeriesFromNearestSelection$1(details) { var t1, _this = this; switch (_this.selectionMode.index) { case 0: return _this._expandToDomain$1(B.JSArray_methods.get$first(details)); case 1: t1 = A._arrayInstanceType(details)._eval$1("@<1>")._bind$1(_this.$ti._eval$1("SeriesDatum<1>"))._eval$1("MappedListIterable<1,2>"); return A.List_List$of(new A.MappedListIterable(details, new A.SelectNearest__extractSeriesFromNearestSelection_closure(_this), t1), true, t1._eval$1("ListIterable.E")); case 2: t1 = _this.$ti; return A._setArrayType([new A.SeriesDatum(B.JSArray_methods.get$first(details).series, B.JSArray_methods.get$first(details).datum, t1._eval$1("SeriesDatum<1>"))], t1._eval$1("JSArray<SeriesDatum<1>>")); } }, _onDeselectAll$3(_, __, ___) { var t1, _this = this; if (_this._delaySelect) return false; t1 = _this.$ti; _this._select_nearest$_chart.getSelectionModel$1(_this.selectionModelType).updateSelection$2(A._setArrayType([], t1._eval$1("JSArray<SeriesDatum<1>>")), A._setArrayType([], t1._eval$1("JSArray<ImmutableSeries<1>>"))); return false; }, _expandToDomain$1(nearestDetails) { var t5, t6, t7, _i, series, domainFn, domainLowerBoundFn, domainUpperBoundFn, testBounds, t8, i, datum, domain, domainLowerBound, domainUpperBound, addDatum, t9, t1 = nearestDetails.series, t2 = nearestDetails.datum, t3 = this.$ti, t4 = t3._eval$1("SeriesDatum<1>"), data = A._setArrayType([new A.SeriesDatum(t1, t2, t4)], t3._eval$1("JSArray<SeriesDatum<1>>")), nearestDomain = nearestDetails.domain; for (t3 = this._select_nearest$_chart._currentSeriesList, t5 = t3.length, t6 = J.getInterceptor$(t2), t7 = type$.DateTime, _i = 0; _i < t3.length; t3.length === t5 || (0, A.throwConcurrentModificationError)(t3), ++_i) { series = t3[_i]; domainFn = series.domainFn; domainLowerBoundFn = series.domainLowerBoundFn; domainUpperBoundFn = series.domainUpperBoundFn; testBounds = domainLowerBoundFn != null && domainUpperBoundFn != null; for (t8 = series.data, i = 0; i < t8.length; ++i) { datum = t8[i]; domain = domainFn.call$1(i); if (t1.$eq(0, series) && t6.$eq(t2, datum)) continue; if (J.$eq$(domain, nearestDomain)) data.push(new A.SeriesDatum(series, datum, t4)); else if (testBounds) { domainLowerBound = domainLowerBoundFn.call$1(i); domainUpperBound = domainUpperBoundFn.call$1(i); if (domainLowerBound != null && domainUpperBound != null) if (A._isInt(domain)) { A._asInt(domainLowerBound); A._asInt(nearestDomain); addDatum = domainLowerBound <= nearestDomain && nearestDomain <= A._asInt(domainUpperBound); } else if (typeof domain == "number") { A._asDouble(domainLowerBound); A._asDouble(nearestDomain); addDatum = domainLowerBound <= nearestDomain && nearestDomain <= A._asDouble(domainUpperBound); } else if (domain instanceof A.DateTime) if (!J.$eq$(domainLowerBound, nearestDomain)) if (!J.$eq$(domainUpperBound, nearestDomain)) { t7._as(domainLowerBound); t9 = t7._as(nearestDomain)._value; t9 = domainLowerBound._value < t9 && t9 < t7._as(domainUpperBound)._value; addDatum = t9; } else addDatum = true; else addDatum = true; else addDatum = false; else addDatum = false; if (addDatum) data.push(new A.SeriesDatum(series, datum, t4)); } } } return data; }, attachTo$1(chart) { var t1, t2, role, _this = this; _this._select_nearest$_chart = chart; t1 = _this.__SelectNearest__listener_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = chart._gestureProxy; t2._proxy_gesture_listener$_listeners.push(t1); B.JSArray_methods.clear$0(t2._activeListeners); switch (_this.eventTrigger.index) { case 1: case 2: case 3: case 4: role = "SelectNearest-" + _this.selectionModelType.toString$0(0); if (chart._behaviorRoleMap.$index(0, role) === _this && chart._behaviorTappableMap.$index(0, role) !== _this) chart._behaviorTappableMap.$indexSet(0, role, _this); break; case 0: default: chart.unregisterTappable$1(_this); break; } }, removeFrom$1(chart) { var t2, t1 = this.__SelectNearest__listener_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = chart._gestureProxy; B.JSArray_methods.remove$1(t2._proxy_gesture_listener$_listeners, t1); B.JSArray_methods.clear$0(t2._activeListeners); chart.unregisterTappable$1(this); this._select_nearest$_chart = null; }, get$role(_) { return "SelectNearest-" + this.selectionModelType.toString$0(0); }, $isChartBehavior0: 1 }; A.SelectNearest__onSelect_closure.prototype = { call$2(a, b) { var t2, t1 = a.domainDistance; t1.toString; t2 = b.domainDistance; t2.toString; return B.JSNumber_methods.compareTo$1(t1, t2); }, $signature() { return this.$this.$ti._eval$1("int(DatumDetails<1>,DatumDetails<1>)"); } }; A.SelectNearest__onSelect_closure0.prototype = { call$1(datum) { return false; }, $signature() { return this.$this.$ti._eval$1("bool(SeriesDatum<1>)"); } }; A.SelectNearest__extractSeriesFromNearestSelection_closure.prototype = { call$1(datumDetails) { return new A.SeriesDatum(datumDetails.series, datumDetails.datum, this.$this.$ti._eval$1("SeriesDatum<1>")); }, $signature() { return this.$this.$ti._eval$1("SeriesDatum<1>(DatumDetails<1>)"); } }; A.SelectionMode.prototype = { _enumToString$0() { return "SelectionMode." + this._core$_name; } }; A.SelectionTrigger.prototype = { _enumToString$0() { return "SelectionTrigger." + this._core$_name; } }; A.CanvasRect.prototype = {}; A.CanvasBarStack.prototype = {}; A.FillPatternType.prototype = { _enumToString$0() { return "FillPatternType." + this._core$_name; } }; A.DatumDetails.prototype = {}; A.MutableSeries.prototype = { MutableSeries$1(series, $D) { var t1, measure, t2, _this = this, i = _this.__MutableSeries_seriesMeasureTotal_A = 0; for (t1 = _this.data; i < t1.length; ++i) { measure = _this.measureFn.call$1(i); if (measure != null) { t2 = _this.__MutableSeries_seriesMeasureTotal_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__MutableSeries_seriesMeasureTotal_A = t2 + measure; } } t1 = series.labelAccessorFn; _this.labelAccessorFn = t1 == null ? new A.MutableSeries_closure(_this) : t1; _this._attrs._typed_registry$_registry.addAll$1(0, series.attributes._typed_registry$_registry); }, $eq(_, other) { if (other == null) return false; return other instanceof A.MutableSeries && this.data === other.data && this.id === other.id; }, get$hashCode(_) { return A.Primitives_objectHashCode(this.data) * 31 + B.JSString_methods.get$hashCode(this.id); }, measureFn$1(arg0) { return this.measureFn.call$1(arg0); }, get$id(receiver) { return this.id; } }; A.MutableSeries_closure.prototype = { call$1(i) { return J.toString$0$(this.$this.domainFn.call$1(i)); }, $signature: 1161 }; A.ImmutableSeries.prototype = {}; A.SelectionModel.prototype = { SelectionModel$2$selectedData$selectedSeries(selectedData, selectedSeries, $D) { }, SelectionModel$fromOther$1(other, $D) { this._selectedDatum = A.List_List$of(other._selectedDatum, true, $D._eval$1("SeriesDatum<0>")); this._selectedSeries = A.List_List$of(other._selectedSeries, true, $D._eval$1("ImmutableSeries<0>")); }, $eq(_, other) { var t1, t2; if (other == null) return false; t1 = A._instanceType(this); if (t1._eval$1("SelectionModel<1>")._is(other)) { t2 = A._instanceType(other); t1 = new A.ListEquality(B.C_DefaultEquality, t1._eval$1("ListEquality<SeriesDatum<1>>")).equals$2(this._selectedDatum, A.List_List$unmodifiable(other._selectedDatum, t2._eval$1("SeriesDatum<1>"))) && new A.ListEquality(B.C_DefaultEquality, t1._eval$1("ListEquality<ImmutableSeries<1>>")).equals$2(this._selectedSeries, A.List_List$unmodifiable(other._selectedSeries, t2._eval$1("ImmutableSeries<1>"))); } else t1 = false; return t1; }, get$hashCode(_) { var t1 = A._instanceType(this); return new A.ListEquality(B.C_DefaultEquality, t1._eval$1("ListEquality<SeriesDatum<1>>")).hash$1(0, this._selectedDatum) * 37 + new A.ListEquality(B.C_DefaultEquality, t1._eval$1("ListEquality<ImmutableSeries<1>>")).hash$1(0, this._selectedSeries); } }; A.MutableSelectionModel.prototype = { updateSelection$3$notifyListeners(datumSelection, seriesList, notifyListeners) { var t1, copyOfSelectionModel, changed, _this = this, origSelectedDatum = _this._selectedDatum, origSelectedSeries = _this._selectedSeries; _this._selectedDatum = datumSelection; _this._selectedSeries = seriesList; t1 = _this.$ti; copyOfSelectionModel = new A.SelectionModel(A._setArrayType([], t1._eval$1("JSArray<SeriesDatum<1>>")), A._setArrayType([], t1._eval$1("JSArray<ImmutableSeries<1>>")), t1._eval$1("SelectionModel<1>")); copyOfSelectionModel.SelectionModel$fromOther$1(_this, t1._precomputed1); B.JSArray_methods.forEach$1(_this._updatedListeners, new A.MutableSelectionModel_updateSelection_closure(_this, copyOfSelectionModel)); changed = !new A.ListEquality(B.C_DefaultEquality, t1._eval$1("ListEquality<SeriesDatum<1>>")).equals$2(origSelectedDatum, _this._selectedDatum) || !new A.ListEquality(B.C_DefaultEquality, t1._eval$1("ListEquality<ImmutableSeries<1>>")).equals$2(origSelectedSeries, _this._selectedSeries); if (notifyListeners && changed) B.JSArray_methods.forEach$1(_this._changedListeners, new A.MutableSelectionModel_updateSelection_closure0(_this, copyOfSelectionModel)); return changed; }, updateSelection$2(datumSelection, seriesList) { return this.updateSelection$3$notifyListeners(datumSelection, seriesList, true); } }; A.MutableSelectionModel_updateSelection_closure.prototype = { call$1(listener) { return listener.call$1(this.copyOfSelectionModel); }, $signature() { return this.$this.$ti._eval$1("~(~(SelectionModel<1>))"); } }; A.MutableSelectionModel_updateSelection_closure0.prototype = { call$1(listener) { return listener.call$1(this.copyOfSelectionModel); }, $signature() { return this.$this.$ti._eval$1("~(~(SelectionModel<1>))"); } }; A.SelectionModelType.prototype = { _enumToString$0() { return "SelectionModelType." + this._core$_name; } }; A.SeriesDatum.prototype = { get$index(_) { var t2, _this = this, t1 = _this.datum; if (t1 == null) return null; t2 = _this._series_datum$_index; return t2 == null ? _this._series_datum$_index = B.JSArray_methods.indexOf$1(_this.series.data, t1) : t2; }, $eq(_, other) { if (other == null) return false; return other instanceof A.SeriesDatum && other.series.$eq(0, this.series) && J.$eq$(other.datum, this.datum); }, get$hashCode(_) { return this.series.get$hashCode(0) * 31 + J.get$hashCode$(this.datum); } }; A.BaseSeriesRenderer.prototype = { onAttach$1(chart) { }, assignMissingColors$2$emptyCategoryUsesSinglePalette(seriesList, emptyCategoryUsesSinglePalette) { var t4, t5, t6, palettes, colorPalettes, colorsByCategory, _this = this, t1 = {}, t2 = type$.String, t3 = type$.int, missingColorCountPerCategory = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); t1.maxMissing = 0; t4 = t1.hasSpecifiedCategory = false; t5 = J.getInterceptor$ax(seriesList); t5.forEach$1(seriesList, new A.BaseSeriesRenderer_assignMissingColors_closure(t1, _this, missingColorCountPerCategory)); t6 = t1.maxMissing; if (t6 > 0) { if (!emptyCategoryUsesSinglePalette ? !t1.hasSpecifiedCategory : t4) { $.$get$StyleFactory__styleFactory(); t2 = $.$get$MaterialPalette__orderedPalettes(); palettes = A.SubListIterable$(t2, 0, A.checkNotNullable(t6, "count", t3), t2.$ti._eval$1("ListIterable.E")).toList$0(0); t1.index = 0; t5.forEach$1(seriesList, new A.BaseSeriesRenderer_assignMissingColors_closure0(t1, _this, palettes)); return; } $.$get$StyleFactory__styleFactory(); t4 = missingColorCountPerCategory.__js_helper$_length; t6 = $.$get$MaterialPalette__orderedPalettes(); colorPalettes = A.SubListIterable$(t6, 0, A.checkNotNullable(t4, "count", t3), t6.$ti._eval$1("ListIterable.E")).toList$0(0); colorsByCategory = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_Color); t1.index = 0; new A.LinkedHashMapKeyIterable(missingColorCountPerCategory, missingColorCountPerCategory.$ti._eval$1("LinkedHashMapKeyIterable<1>")).forEach$1(0, new A.BaseSeriesRenderer_assignMissingColors_closure1(t1, colorsByCategory, colorPalettes, missingColorCountPerCategory)); t5.forEach$1(seriesList, new A.BaseSeriesRenderer_assignMissingColors_closure2(_this, missingColorCountPerCategory, colorsByCategory)); } else t5.forEach$1(seriesList, new A.BaseSeriesRenderer_assignMissingColors_closure3(_this)); t5.forEach$1(seriesList, new A.BaseSeriesRenderer_assignMissingColors_closure4(_this)); }, measure$2(_, maxWidth, maxHeight) { return null; }, layout$2(componentBounds, drawAreaBounds) { this._drawAreaBounds = drawAreaBounds; }, get$componentBounds() { return this._drawAreaBounds; }, get$isSeriesRenderer() { return true; }, isPointWithinBounds$2(chartPoint, bounds) { var t1; if (bounds != null) { if (!bounds.containsPoint$1(0, chartPoint)) return false; } else { t1 = this._drawAreaBounds; if (t1 == null || !t1.containsPoint$1(0, chartPoint)) return false; } return true; }, $isSeriesRenderer: 1, $isLayoutView: 1, get$layoutConfig() { return this.layoutConfig; }, set$graphicsFactory(val) { return this.graphicsFactory = val; } }; A.BaseSeriesRenderer_assignMissingColors_closure.prototype = { call$1(series) { var t2, missingCnt, _s11_ = "__default__", t1 = series.colorFn; if ((t1 == null && series.seriesColor != null ? series.colorFn = new A.BaseSeriesRenderer_assignMissingColors__closure3(series) : t1) == null) { t1 = this.missingColorCountPerCategory; t2 = t1.$index(0, _s11_); missingCnt = (t2 == null ? 0 : t2) + 1; t1.$indexSet(0, _s11_, missingCnt); t1 = this._box_0; t1.maxMissing = Math.max(t1.maxMissing, missingCnt); } }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.BaseSeriesRenderer_assignMissingColors__closure3.prototype = { call$1(_) { var t1 = this.series.seriesColor; t1.toString; return t1; }, $signature: 242 }; A.BaseSeriesRenderer_assignMissingColors_closure0.prototype = { call$1(series) { var t2, color, exception, t1 = series.colorFn; if (t1 == null) { t1 = this.palettes; t2 = this._box_0; color = t1[B.JSInt_methods.$mod(t2.index, t1.length)].get$shadeDefault(); ++t2.index; series.colorFn = new A.BaseSeriesRenderer_assignMissingColors__closure2(color); if (series.seriesColor == null) series.seriesColor = color; } else if (series.seriesColor == null) try { series.seriesColor = t1.call$1(0); } catch (exception) { $.$get$StyleFactory__styleFactory(); series.seriesColor = B.Color_ePM; } }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.BaseSeriesRenderer_assignMissingColors__closure2.prototype = { call$1(_) { return this.color; }, $signature: 242 }; A.BaseSeriesRenderer_assignMissingColors_closure1.prototype = { call$1(category) { var _this = this, t1 = _this.colorPalettes, t2 = _this._box_0; _this.colorsByCategory.$indexSet(0, category, t1[B.JSInt_methods.$mod(t2.index, t1.length)].makeShades$1(t2.maxMissing)); ++t2.index; _this.missingColorCountPerCategory.$indexSet(0, category, 0); }, $signature: 15 }; A.BaseSeriesRenderer_assignMissingColors_closure2.prototype = { call$1(series) { var t1, t2, _s11_ = "__default__"; if (series.colorFn == null) { t1 = this.missingColorCountPerCategory; t2 = t1.$index(0, _s11_); t2.toString; t1.$indexSet(0, _s11_, t2 + 1); series.colorFn = new A.BaseSeriesRenderer_assignMissingColors__closure0(this.colorsByCategory.$index(0, _s11_)[t2]); } if (series.fillColorFn == null) series.fillColorFn = new A.BaseSeriesRenderer_assignMissingColors__closure1(series); }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.BaseSeriesRenderer_assignMissingColors__closure0.prototype = { call$1(_) { return this.color; }, $signature: 242 }; A.BaseSeriesRenderer_assignMissingColors__closure1.prototype = { call$1(index) { return this.series.colorFn.call$1(index); }, $signature: 242 }; A.BaseSeriesRenderer_assignMissingColors_closure3.prototype = { call$1(series) { if (series.fillColorFn == null) series.fillColorFn = new A.BaseSeriesRenderer_assignMissingColors__closure(series); }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.BaseSeriesRenderer_assignMissingColors__closure.prototype = { call$1(index) { return this.series.colorFn.call$1(index); }, $signature: 242 }; A.BaseSeriesRenderer_assignMissingColors_closure4.prototype = { call$1(series) { var exception; if (series.seriesColor == null) try { series.seriesColor = series.colorFn.call$1(0); } catch (exception) { $.$get$StyleFactory__styleFactory(); series.seriesColor = B.Color_ePM; } }, $signature() { return A._instanceType(this.$this)._eval$1("~(MutableSeries<1>)"); } }; A.RendererAttributes.prototype = {}; A.IdentityConverter.prototype = {}; A.LayoutConfig.prototype = {}; A.MarginSpec.prototype = { getMinPixels$1(totalPixels) { var _minPixel = this._minPixel; if (_minPixel != null) return _minPixel; else return 0; }, getMaxPixels$1(totalPixels) { var _maxPercent = this._maxPercent; if (_maxPercent != null) return B.JSNumber_methods.round$0(totalPixels * (_maxPercent / 100)); else return totalPixels; } }; A.LayoutManagerImpl.prototype = { removeView$1(view) { var _this = this; if (B.JSArray_methods.remove$1(_this._views, view)) _this._viewsNeedPaintSort = _this._viewsNeedPositionSort = _this._drawAreaBoundsOutdated = true; }, get$paintOrderedViews() { var t1, _this = this; if (_this._viewsNeedPaintSort) { t1 = A.List_List$of(_this._views, true, type$.LayoutView); _this.__LayoutManagerImpl__paintOrderedViews_A = t1; B.JSArray_methods.sort$1(t1, new A.LayoutManagerImpl_paintOrderedViews_closure()); _this._viewsNeedPaintSort = false; } t1 = _this.__LayoutManagerImpl__paintOrderedViews_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, get$positionOrderedViews() { var t1, _this = this; if (_this._viewsNeedPositionSort) { t1 = A.List_List$of(_this._views, true, type$.LayoutView); _this.__LayoutManagerImpl__positionOrderedViews_A = t1; B.JSArray_methods.sort$1(t1, new A.LayoutManagerImpl_positionOrderedViews_closure()); _this._viewsNeedPositionSort = false; } t1 = _this.__LayoutManagerImpl__positionOrderedViews_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, get$drawableLayoutAreaBounds() { var t3, t4, t5, right, t6, t7, bottom, left, $top, t1 = this._views, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"), drawableViews = new A.WhereIterable(t1, new A.LayoutManagerImpl_drawableLayoutAreaBounds_closure(), t2), componentBounds = drawableViews.get$first(0).get$componentBounds(); if (componentBounds != null) for (t1 = A.SkipIterable_SkipIterable(drawableViews, 1, t2._eval$1("Iterable.E")), t2 = J.get$iterator$ax(t1.__internal$_iterable), t1 = new A.SkipIterator(t2, t1._skipCount, A._instanceType(t1)._eval$1("SkipIterator<1>")); t1.moveNext$0();) { t3 = t2.get$current(t2); if (t3.get$componentBounds() != null) { t3 = t3.get$componentBounds(); t4 = componentBounds.left; t5 = t3.left; right = Math.max(t4 + componentBounds.width, t5 + t3.width); t6 = componentBounds.top; t7 = t3.top; bottom = Math.max(t6 + componentBounds.height, t7 + t3.height); left = Math.min(t4, t5); $top = Math.min(t6, t7); t7 = componentBounds.$ti._precomputed1; componentBounds = A.Rectangle$(left, $top, t7._as(right - left), t7._as(bottom - $top), t7); } } else componentBounds = A.Rectangle$(0, 0, 0, 0, type$.int); return componentBounds; }, measure$2(_, width, height) { var t1, t2, _this = this, topViews = _this._viewsForPositions$2(B.LayoutPosition_2, B.LayoutPosition_3), rightViews = _this._viewsForPositions$2(B.LayoutPosition_6, B.LayoutPosition_7), bottomViews = _this._viewsForPositions$2(B.LayoutPosition_0, B.LayoutPosition_1), leftViews = _this._viewsForPositions$2(B.LayoutPosition_4, B.LayoutPosition_5), measurements = _this._measure$7$bottomViews$leftViews$rightViews$topViews$useMax(width, height, bottomViews, leftViews, rightViews, topViews, true), secondMeasurements = _this._measure$8$bottomViews$leftViews$previousMeasurements$rightViews$topViews$useMax(width, height, bottomViews, leftViews, measurements, rightViews, topViews, true); measurements = measurements.leftWidth !== secondMeasurements.leftWidth || measurements.rightWidth !== secondMeasurements.rightWidth || measurements.topHeight !== secondMeasurements.topHeight || measurements.bottomHeight !== secondMeasurements.bottomHeight ? _this._measure$8$bottomViews$leftViews$previousMeasurements$rightViews$topViews$useMax(width, height, bottomViews, leftViews, secondMeasurements, rightViews, topViews, false) : secondMeasurements; _this.__LayoutManagerImpl__measurements_A = measurements; t1 = measurements.leftWidth; t2 = measurements.topHeight; _this.__LayoutManagerImpl__drawAreaBounds_A = A.Rectangle$(t1, t2, Math.max(20, width - t1 - measurements.rightWidth), Math.max(20, height - measurements.bottomHeight - t2), type$.int); _this._drawAreaBoundsOutdated = false; }, layout$2(width, height) { var t2, _this = this, topViews = _this._viewsForPositions$2(B.LayoutPosition_2, B.LayoutPosition_3), rightViews = _this._viewsForPositions$2(B.LayoutPosition_6, B.LayoutPosition_7), bottomViews = _this._viewsForPositions$2(B.LayoutPosition_0, B.LayoutPosition_1), leftViews = _this._viewsForPositions$2(B.LayoutPosition_4, B.LayoutPosition_5), drawAreaViews = _this._viewsForPositions$1(B.LayoutPosition_8), fullBounds = A.Rectangle$(0, 0, width, height, type$.int), t1 = _this.__LayoutManagerImpl__measurements_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__LayoutManagerImpl__drawAreaBounds_A; t2 === $ && A.throwUnnamedLateFieldNI(); new A.LeftMarginLayoutStrategy().layout$4(leftViews, t1.leftSizes, fullBounds, t2); new A.RightMarginLayoutStrategy().layout$4(rightViews, _this.__LayoutManagerImpl__measurements_A.rightSizes, fullBounds, _this.__LayoutManagerImpl__drawAreaBounds_A); new A.BottomMarginLayoutStrategy().layout$4(bottomViews, _this.__LayoutManagerImpl__measurements_A.bottomSizes, fullBounds, _this.__LayoutManagerImpl__drawAreaBounds_A); new A.TopMarginLayoutStrategy().layout$4(topViews, _this.__LayoutManagerImpl__measurements_A.topSizes, fullBounds, _this.__LayoutManagerImpl__drawAreaBounds_A); drawAreaViews.forEach$1(0, new A.LayoutManagerImpl_layout_closure(_this)); }, _viewsForPositions$2(p1, p2) { var t1 = this.get$positionOrderedViews(); return new A.WhereIterable(t1, new A.LayoutManagerImpl__viewsForPositions_closure(p1, p2), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")); }, _viewsForPositions$1(p1) { return this._viewsForPositions$2(p1, null); }, _measure$8$bottomViews$leftViews$previousMeasurements$rightViews$topViews$useMax(width, height, bottomViews, leftViews, previousMeasurements, rightViews, topViews, useMax) { var maxTopHeight, t5, leftWidth, rightWidth, bottomHeight, topHeight, adjustedHeight, leftSizes, rightSizes, adjustedWidth, bottomSizes, topSizes, _null = null, t1 = this.config, t2 = t1.leftSpec, maxLeftWidth = t2.getMaxPixels$1(width), t3 = t1.rightSpec, maxRightWidth = t3.getMaxPixels$1(width), t4 = t1.bottomSpec, maxBottomHeight = t4.getMaxPixels$1(height); t1 = t1.topSpec; maxTopHeight = t1.getMaxPixels$1(height); t5 = previousMeasurements == null; leftWidth = t5 ? _null : previousMeasurements.leftWidth; if (leftWidth == null) leftWidth = maxLeftWidth; rightWidth = t5 ? _null : previousMeasurements.rightWidth; if (rightWidth == null) rightWidth = maxRightWidth; bottomHeight = t5 ? _null : previousMeasurements.bottomHeight; if (bottomHeight == null) bottomHeight = maxBottomHeight; topHeight = t5 ? _null : previousMeasurements.topHeight; if (topHeight == null) topHeight = maxTopHeight; adjustedHeight = !t5 ? height - bottomHeight - topHeight : height; t5 = useMax ? maxLeftWidth : leftWidth; leftSizes = new A.LeftMarginLayoutStrategy().measure$4$fullHeight$height$maxWidth(0, leftViews, height, adjustedHeight, t5); leftWidth = Math.max(leftSizes._total, t2.getMinPixels$1(width)); t2 = useMax ? maxRightWidth : rightWidth; rightSizes = new A.RightMarginLayoutStrategy().measure$4$fullHeight$height$maxWidth(0, rightViews, height, adjustedHeight, t2); rightWidth = Math.max(rightSizes._total, t3.getMinPixels$1(width)); adjustedWidth = width - leftWidth - rightWidth; t2 = useMax ? maxBottomHeight : bottomHeight; bottomSizes = new A.BottomMarginLayoutStrategy().measure$4$fullWidth$maxHeight$width(0, bottomViews, width, t2, adjustedWidth); bottomHeight = Math.max(bottomSizes._total, t4.getMinPixels$1(height)); t2 = useMax ? maxTopHeight : topHeight; topSizes = new A.TopMarginLayoutStrategy().measure$4$fullWidth$maxHeight$width(0, topViews, width, t2, adjustedWidth); return new A._MeasuredSizes(leftWidth, leftSizes, rightWidth, rightSizes, Math.max(topSizes._total, t1.getMinPixels$1(height)), topSizes, bottomHeight, bottomSizes); }, _measure$7$bottomViews$leftViews$rightViews$topViews$useMax(width, height, bottomViews, leftViews, rightViews, topViews, useMax) { return this._measure$8$bottomViews$leftViews$previousMeasurements$rightViews$topViews$useMax(width, height, bottomViews, leftViews, null, rightViews, topViews, useMax); } }; A.LayoutManagerImpl_paintOrderedViews_closure.prototype = { call$2(v1, v2) { var t2, t1 = v1.get$layoutConfig().paintOrder; t1.toString; t2 = v2.get$layoutConfig().paintOrder; t2.toString; return B.JSInt_methods.compareTo$1(t1, t2); }, $signature: 853 }; A.LayoutManagerImpl_positionOrderedViews_closure.prototype = { call$2(v1, v2) { var t2, t1 = v1.get$layoutConfig().positionOrder; t1.toString; t2 = v2.get$layoutConfig().positionOrder; t2.toString; return B.JSInt_methods.compareTo$1(t1, t2); }, $signature: 853 }; A.LayoutManagerImpl_drawableLayoutAreaBounds_closure.prototype = { call$1(view) { return view.get$isSeriesRenderer(); }, $signature: 851 }; A.LayoutManagerImpl_layout_closure.prototype = { call$1(view) { var t1 = this.$this.__LayoutManagerImpl__drawAreaBounds_A; t1 === $ && A.throwUnnamedLateFieldNI(); return view.layout$2(t1, t1); }, $signature: 195 }; A.LayoutManagerImpl__viewsForPositions_closure.prototype = { call$1(view) { var t1; if (view.get$layoutConfig().position !== this.p1) { t1 = this.p2; t1 = t1 != null && view.get$layoutConfig().position === t1; } else t1 = true; return t1; }, $signature: 851 }; A._MeasuredSizes.prototype = {}; A.SizeList.prototype = { $index(_, i) { return this._layout_margin_strategy$_sizes[i]; }, get$length(_) { return this._layout_margin_strategy$_sizes.length; }, add$1(_, size) { this._layout_margin_strategy$_sizes.push(size); this._total += size; } }; A._DesiredViewSizes.prototype = { adjustedTo$1(maxSize) { var delta, t3, i, t4, t5, viewAvailablePx, t6, t1 = this.preferredSizes, t2 = t1._total; if (maxSize < t2) { delta = t2 - maxSize; for (t3 = t1._layout_margin_strategy$_sizes, i = t3.length - 1, t4 = this.minimumSizes._layout_margin_strategy$_sizes; i >= 0; --i, t2 = t6) { t5 = t3[i]; viewAvailablePx = t5 - t4[i]; if (viewAvailablePx < delta) { t6 = -viewAvailablePx; t3[i] = t5 + t6; t6 = t2 + t6; t1._total = t6; delta -= viewAvailablePx; } else { t4 = -delta; t3[i] = t5 + t4; t1._total = t2 + t4; return; } } } } }; A.VerticalMarginStrategy.prototype = { measure$4$fullHeight$height$maxWidth(_, views, fullHeight, height, maxWidth) { var t2, t3, measuredWidths, t1 = {}; t1.maxWidth = maxWidth; t2 = type$.JSArray_int; t3 = new A.SizeList(A._setArrayType([], t2)); measuredWidths = new A._DesiredViewSizes(t3, new A.SizeList(A._setArrayType([], t2))); t1.remainingWidth = maxWidth; views.forEach$1(0, new A.VerticalMarginStrategy_measure_closure(t1, fullHeight, height, measuredWidths)); measuredWidths.adjustedTo$1(t1.maxWidth); return t3; } }; A.VerticalMarginStrategy_measure_closure.prototype = { call$1(view) { var size, _this = this, availableHeight = (view.get$layoutConfig().get$isFullPosition() ? _this.fullHeight : _this.height) - 0, t1 = _this._box_0, t2 = t1.remainingWidth -= 0; t1.maxWidth -= 0; if (t2 > 0 || availableHeight > 0) { size = view.measure$2(0, t2, availableHeight); t1.remainingWidth = t1.remainingWidth - size.preferredWidth; } else size = B.ViewMeasuredSizes_0_0_0_0; t1 = _this.measuredWidths; t1.preferredSizes.add$1(0, size.preferredWidth); t1.minimumSizes.add$1(0, size.minWidth); }, $signature: 195 }; A.LeftMarginLayoutStrategy.prototype = { layout$4(views, measuredSizes, fullBounds, drawAreaBounds) { var t1 = {}; t1.prevBoundsRight = drawAreaBounds.left; t1.i = 0; views.forEach$1(0, new A.LeftMarginLayoutStrategy_layout_closure(t1, measuredSizes, fullBounds, drawAreaBounds)); } }; A.LeftMarginLayoutStrategy_layout_closure.prototype = { call$1(view) { var _this = this, params = view.get$layoutConfig(), t1 = _this._box_0, width = _this.measuredSizes._layout_margin_strategy$_sizes[t1.i], left = t1.prevBoundsRight - 0 - width, t2 = params.get$isFullPosition() ? _this.fullBounds.height : _this.drawAreaBounds.height, t3 = params.get$isFullPosition() ? _this.fullBounds.top : _this.drawAreaBounds.top; t1.prevBoundsRight = left - 0; view.layout$2(A.Rectangle$(left, 0 + t3, width, t2 - 0, type$.int), _this.drawAreaBounds); ++t1.i; }, $signature: 195 }; A.RightMarginLayoutStrategy.prototype = { layout$4(views, measuredSizes, fullBounds, drawAreaBounds) { var t1 = {}; t1.prevBoundsLeft = drawAreaBounds.$ti._precomputed1._as(drawAreaBounds.left + drawAreaBounds.width); t1.i = 0; views.forEach$1(0, new A.RightMarginLayoutStrategy_layout_closure(t1, measuredSizes, fullBounds, drawAreaBounds)); } }; A.RightMarginLayoutStrategy_layout_closure.prototype = { call$1(view) { var _this = this, params = view.get$layoutConfig(), t1 = _this._box_0, width = _this.measuredSizes._layout_margin_strategy$_sizes[t1.i], left = t1.prevBoundsLeft, t2 = params.get$isFullPosition() ? _this.fullBounds.height : _this.drawAreaBounds.height, t3 = params.get$isFullPosition() ? _this.fullBounds.top : _this.drawAreaBounds.top; t1.prevBoundsLeft = left + width; view.layout$2(A.Rectangle$(left, 0 + t3, width, t2 - 0, type$.int), _this.drawAreaBounds); ++t1.i; }, $signature: 195 }; A.HorizontalMarginStrategy.prototype = { measure$4$fullWidth$maxHeight$width(_, views, fullWidth, maxHeight, width) { var t2, t3, measuredHeights, t1 = {}; t1.maxHeight = maxHeight; t2 = type$.JSArray_int; t3 = new A.SizeList(A._setArrayType([], t2)); measuredHeights = new A._DesiredViewSizes(t3, new A.SizeList(A._setArrayType([], t2))); t1.remainingHeight = maxHeight; views.forEach$1(0, new A.HorizontalMarginStrategy_measure_closure(t1, fullWidth, width, measuredHeights)); measuredHeights.adjustedTo$1(t1.maxHeight); return t3; } }; A.HorizontalMarginStrategy_measure_closure.prototype = { call$1(view) { var size, _this = this, availableWidth = (view.get$layoutConfig().get$isFullPosition() ? _this.fullWidth : _this.width) - 0, t1 = _this._box_0, t2 = t1.remainingHeight -= 0; t1.maxHeight -= 0; if (t2 > 0 || availableWidth > 0) { size = view.measure$2(0, availableWidth, t2); t1.remainingHeight = t1.remainingHeight - size.preferredHeight; } else size = B.ViewMeasuredSizes_0_0_0_0; t1 = _this.measuredHeights; t1.preferredSizes.add$1(0, size.preferredHeight); t1.minimumSizes.add$1(0, size.minHeight); }, $signature: 195 }; A.TopMarginLayoutStrategy.prototype = { layout$4(views, measuredSizes, fullBounds, drawAreaBounds) { var t1 = {}; t1.prevBoundsBottom = drawAreaBounds.top; t1.i = 0; views.forEach$1(0, new A.TopMarginLayoutStrategy_layout_closure(t1, measuredSizes, fullBounds, drawAreaBounds)); } }; A.TopMarginLayoutStrategy_layout_closure.prototype = { call$1(view) { var _this = this, params = view.get$layoutConfig(), t1 = _this._box_0, height = _this.measuredSizes._layout_margin_strategy$_sizes[t1.i], $top = t1.prevBoundsBottom - height - 0, t2 = params.get$isFullPosition() ? _this.fullBounds.width : _this.drawAreaBounds.width, t3 = params.get$isFullPosition() ? _this.fullBounds.left : _this.drawAreaBounds.left; t1.prevBoundsBottom = $top - 0; view.layout$2(A.Rectangle$(0 + t3, $top, t2 - 0, height, type$.int), _this.drawAreaBounds); ++t1.i; }, $signature: 195 }; A.BottomMarginLayoutStrategy.prototype = { layout$4(views, measuredSizes, fullBounds, drawAreaBounds) { var t1 = {}; t1.prevBoundsTop = drawAreaBounds.$ti._precomputed1._as(drawAreaBounds.top + drawAreaBounds.height); t1.i = 0; views.forEach$1(0, new A.BottomMarginLayoutStrategy_layout_closure(t1, measuredSizes, fullBounds, drawAreaBounds)); } }; A.BottomMarginLayoutStrategy_layout_closure.prototype = { call$1(view) { var _this = this, params = view.get$layoutConfig(), t1 = _this._box_0, height = _this.measuredSizes._layout_margin_strategy$_sizes[t1.i], $top = t1.prevBoundsTop, t2 = params.get$isFullPosition() ? _this.fullBounds.width : _this.drawAreaBounds.width, t3 = params.get$isFullPosition() ? _this.fullBounds.left : _this.drawAreaBounds.left; t1.prevBoundsTop = $top + height; view.layout$2(A.Rectangle$(0 + t3, $top, t2 - 0, height, type$.int), _this.drawAreaBounds); ++t1.i; }, $signature: 195 }; A.LayoutPosition.prototype = { _enumToString$0() { return "LayoutPosition." + this._core$_name; } }; A.ViewMargin.prototype = {}; A.LayoutViewConfig.prototype = { get$isFullPosition() { var t1 = this.position; return t1 === B.LayoutPosition_1 || t1 === B.LayoutPosition_3 || t1 === B.LayoutPosition_7 || t1 === B.LayoutPosition_5; }, get$id() { return null; } }; A.ViewMeasuredSizes.prototype = {}; A.LayoutView.prototype = {}; A.LineRenderer.prototype = { layout$2(componentBounds, drawAreaBounds) { this.super$BaseSeriesRenderer$layout(componentBounds, drawAreaBounds); }, configureSeries$1(seriesList) { this.assignMissingColors$2$emptyCategoryUsesSinglePalette(seriesList, false); J.forEach$1$ax(seriesList, new A.LineRenderer_configureSeries_closure(this)); }, preprocessSeries$1(seriesList) { var t1, _box_0 = {}; _box_0.stackIndex = 0; t1 = J.getInterceptor$ax(seriesList); this.__LineRenderer__hasMeasureBounds_A = t1.any$1(seriesList, new A.LineRenderer_preprocessSeries_closure(this)); t1.forEach$1(seriesList, new A.LineRenderer_preprocessSeries_closure0(_box_0, this)); }, _mergeIntoSeriesMap$1(seriesList) { var t1, newLineMap = A._setArrayType([], this.$ti._eval$1("JSArray<MapEntry<String,List<_AnimatedElements<1>>>>")); J.forEach$1$ax(seriesList, new A.LineRenderer__mergeIntoSeriesMap_closure(this, seriesList, newLineMap)); t1 = this._seriesLineMap; B.JSArray_methods.addAll$1(newLineMap, t1.get$entries(t1)); t1.clear$0(0); t1.addEntries$1(t1, newLineMap); }, update$2(_, seriesList, isAnimatingThisDraw) { var t1, previousPointList, previousInitialPointList, _this = this; B.JSArray_methods.clear$0(_this._line_renderer$_currentKeys); t1 = _this.$ti._eval$1("JSArray<List<_DatumPoint<1>>>"); previousPointList = A._setArrayType([], t1); previousInitialPointList = A._setArrayType([], t1); _this._mergeIntoSeriesMap$1(seriesList); J.forEach$1$ax(seriesList, new A.LineRenderer_update_closure(_this, previousPointList, previousInitialPointList)); _this._seriesLineMap.forEach$1(0, new A.LineRenderer_update_closure0(_this)); }, _createLineAndAreaElements$4(series, styleSegment, previousPointList, initializeFromZero) { var t4, domainAxis, startPosition, endPosition, positionExtent, lineElements, index, linePointList, lineStyleKey, areaElements, boundsElements, boundsPointList, boundsStyleKey, _this = this, t1 = series._attrs._typed_registry$_registry, t2 = type$.nullable_Axis_Object, measureAxis = type$.ImmutableAxis_num._as(t2._as(t1.$index(0, B.AttributeKey_kWM))), color = styleSegment.color, areaColor = styleSegment.areaColor, dashPattern = styleSegment.dashPattern, domainExtent = styleSegment.domainExtent, strokeWidthPx = styleSegment.strokeWidthPx, styleKey = styleSegment.styleKey, pointList = _this._createPointListForSeries$2(series, initializeFromZero), segmentsList = _this._createLineAndAreaSegmentsForSeries$4(pointList, previousPointList, series, initializeFromZero), lineSegments = segmentsList[0], boundsSegment = segmentsList[2], t3 = _this._line_renderer$_currentKeys; t3.push(styleKey); t4 = _this.$ti; domainAxis = t4._eval$1("ImmutableAxis<1>")._as(t2._as(t1.$index(0, B.AttributeKey_OBU))); startPosition = domainAxis.getLocation$1(domainExtent._line_renderer$_start); if (startPosition == null) startPosition = _this._drawAreaBounds.left; endPosition = domainAxis.getLocation$1(domainExtent._line_renderer$_end); if (endPosition == null) { t1 = _this._drawAreaBounds; endPosition = A._instanceType(t1)._precomputed1._as(t1.left + t1.width); } positionExtent = new A._Range(startPosition, endPosition, type$._Range_num); lineElements = A._setArrayType([], t4._eval$1("JSArray<_LineRendererElement<1>>")); for (t1 = styleKey + "__line__", t2 = t4._eval$1("_LineRendererElement<1>"), index = 0; index < lineSegments.length; ++index) { linePointList = lineSegments[index]; lineStyleKey = t1 + index; t3.push(lineStyleKey); lineElements.push(new A._LineRendererElement(linePointList, color, areaColor, dashPattern, domainExtent, measureAxis.getLocation$1(0), positionExtent, strokeWidthPx, lineStyleKey, false, t2)); } t1 = t4._eval$1("JSArray<_AreaRendererElement<1>>"); areaElements = A._setArrayType([], t1); boundsElements = A._setArrayType([], t1); t1 = _this.__LineRenderer__hasMeasureBounds_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1) for (t1 = styleKey + "__bounds_", t4 = t4._eval$1("_AreaRendererElement<1>"), index = 0; index < boundsSegment.length; ++index) { boundsPointList = boundsSegment[index]; boundsStyleKey = t1 + index; t3.push(boundsStyleKey); t2 = measureAxis.getLocation$1(0); t2.toString; boundsElements.push(new A._AreaRendererElement(boundsPointList, color, areaColor, domainExtent, t2, positionExtent, boundsStyleKey, t4)); } return A._setArrayType([lineElements, areaElements, pointList, boundsElements], type$.JSArray_Object); }, _createPointListForSeries$2(series, initializeFromZero) { var pointList, index, datum, measure, measureOffset, t1 = series._attrs._typed_registry$_registry, t2 = type$.nullable_Axis_Object, t3 = this.$ti, domainAxis = t3._eval$1("ImmutableAxis<1>")._as(t2._as(t1.$index(0, B.AttributeKey_OBU))), domainFn = series.domainFn, measureAxis = type$.ImmutableAxis_num._as(t2._as(t1.$index(0, B.AttributeKey_kWM))), measureFn = series.measureFn; t1 = series.measureOffsetFn; t1.toString; pointList = A._setArrayType([], t3._eval$1("JSArray<_DatumPoint<1>>")); for (t2 = series.data, index = 0; index < t2.length; ++index) { datum = t2[index]; measure = measureFn.call$1(index); if (measure != null && initializeFromZero) measure = 0; measureOffset = t1.call$1(index); if (measureOffset != null && initializeFromZero) measureOffset = 0; pointList.push(this._getPoint$8$index(datum, domainFn.call$1(index), series, domainAxis, measure, measureOffset, measureAxis, index)); } return pointList; }, _createLineAndAreaSegmentsForSeries$4(pointList, previousPointList, series, initializeFromZero) { var endPointIndex, startPointIndex, index, _null = null, t1 = this.$ti, t2 = t1._eval$1("JSArray<List<_DatumPoint<1>>>"), lineSegments = A._setArrayType([], t2), areaSegments = A._setArrayType([], t2), boundsSegments = A._setArrayType([], t2), seriesHasMeasureBounds = series.measureUpperBoundFn != null && series.measureLowerBoundFn != null; for (endPointIndex = _null, startPointIndex = endPointIndex, index = 0; index < pointList.length; ++index) { if (pointList[index].y == null) { if (startPointIndex == null) continue; endPointIndex.toString; t2 = endPointIndex + 1; lineSegments.push(B.JSArray_methods.sublist$2(pointList, startPointIndex, t2)); if (startPointIndex !== endPointIndex) if (seriesHasMeasureBounds) boundsSegments.push(this._createBoundsSegment$3(B.JSArray_methods.sublist$2(pointList, startPointIndex, t2), series, initializeFromZero)); endPointIndex = _null; startPointIndex = endPointIndex; continue; } if (startPointIndex == null) startPointIndex = index; endPointIndex = index; } if (startPointIndex != null && endPointIndex != null) { t2 = endPointIndex + 1; lineSegments.push(B.JSArray_methods.sublist$2(pointList, startPointIndex, t2)); if (startPointIndex !== endPointIndex) if (seriesHasMeasureBounds) boundsSegments.push(this._createBoundsSegment$3(B.JSArray_methods.sublist$2(pointList, startPointIndex, t2), series, initializeFromZero)); } return A._setArrayType([lineSegments, areaSegments, boundsSegments], t1._eval$1("JSArray<List<List<_DatumPoint<1>>>>")); }, _createBoundsSegment$3(pointList, series, initializeFromZero) { var t2, measureAxis = type$.ImmutableAxis_num._as(type$.nullable_Axis_Object._as(series._attrs._typed_registry$_registry.$index(0, B.AttributeKey_kWM))), t1 = this.$ti, areaPointList = A._setArrayType([], t1._eval$1("JSArray<_DatumPoint<1>>")); t1 = t1._eval$1("_DatumPoint<1>"); t2 = A._arrayInstanceType(pointList); B.JSArray_methods.addAll$1(areaPointList, new A.MappedListIterable(pointList, new A.LineRenderer__createBoundsSegment_closure(this, initializeFromZero, measureAxis, series), t2._eval$1("@<1>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"))); t2 = t2._eval$1("ReversedListIterable<1>"); B.JSArray_methods.addAll$1(areaPointList, new A.MappedListIterable(new A.ReversedListIterable(pointList, t2), new A.LineRenderer__createBoundsSegment_closure0(this, initializeFromZero, measureAxis, series), t2._eval$1("@<ListIterable.E>")._bind$1(t1)._eval$1("MappedListIterable<1,2>"))); return areaPointList; }, onAttach$1(chart) { this.super$BaseCartesianRenderer$onAttach(chart); this._line_renderer$_chart = chart; }, paint$2(canvas, animationPercent) { var keysToRemove, t1, _this = this; if (animationPercent === 1) { keysToRemove = A._setArrayType([], type$.JSArray_String); t1 = _this._seriesLineMap; t1.forEach$1(0, new A.LineRenderer_paint_closure(_this, keysToRemove)); B.JSArray_methods.forEach$1(keysToRemove, t1.get$remove(t1)); } _this._seriesLineMap.forEach$1(0, new A.LineRenderer_paint_closure0(_this, animationPercent, canvas)); }, _getClipBoundsForExtent$1(extent) { var t2, t3, t4, t5, t6, t7, left, right, t1 = this._drawAreaBounds; t1.toString; t2 = t1.$ti; t3 = t1.left; t4 = t1.width; t5 = t2._precomputed1; t6 = t3 + t4; if (this.get$isRtl()) { t7 = extent._line_renderer$_end; t5._as(t6); left = Math.min(Math.max(t7, t3), t6); } else { t7 = extent._line_renderer$_start; t5._as(t6); left = Math.min(Math.max(t7, t3), t6); } t2 = t2._precomputed1; t4 = t3 + t4; if (this.get$isRtl()) { t5 = extent._line_renderer$_start; t2._as(t4); right = Math.min(Math.max(t5, t3), t4); } else { t5 = extent._line_renderer$_end; t2._as(t4); right = Math.min(Math.max(t5, t3), t4); } return A.Rectangle$(left, t1.top - 5, right - left, t1.height + 5 + 5, type$.num); }, get$isRtl() { var t1 = this._line_renderer$_chart; if (t1 == null) t1 = null; else { t1 = t1.__BaseChart_context_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.get$isRtl(); } return t1 === true; }, _getPoint$8$index(datum, domainValue, series, domainAxis, measureValue, measureOffsetValue, measureAxis, index) { var domainPosition = domainAxis.getLocation$1(domainValue), measurePosition = measureValue != null && measureOffsetValue != null ? measureAxis.getLocation$1(measureValue + measureOffsetValue) : null; return new A._DatumPoint(datum, domainValue, series, index, domainPosition, measurePosition, this.$ti._eval$1("_DatumPoint<1>")); }, _getPoint$7(datum, domainValue, series, domainAxis, measureValue, measureOffsetValue, measureAxis) { return this._getPoint$8$index(datum, domainValue, series, domainAxis, measureValue, measureOffsetValue, measureAxis, null); }, getNearestDatumDetailPerSeries$5$selectExactEventLocation$selectOverlappingPoints(chartPoint, byDomain, boundsOverride, selectExactEventLocation, selectOverlappingPoints) { var t2, t3, t4, t5, t6, t7, nearestPoint, nearestDomainDistance, nearestMeasureDistance, nearestRelativeDistance, t8, t9, _i, p, t10, t11, t12, measureDistance, domainDistance, relativeDistance, _this = this, _null = null, t1 = _this.$ti, nearest = A._setArrayType([], t1._eval$1("JSArray<DatumDetails<1>>")); if (!_this.isPointWithinBounds$2(chartPoint, boundsOverride)) return nearest; for (t2 = _this._seriesLineMap.get$values(0), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t4 = chartPoint.y, t5 = chartPoint.x, t6 = type$.Point_double, t3 = t3._rest[1], t1 = t1._eval$1("DatumDetails<1>"); t2.moveNext$0();) { t7 = t2.__internal$_current; for (t7 = J.get$iterator$ax(t7 == null ? t3._as(t7) : t7), nearestPoint = _null, nearestDomainDistance = 10000, nearestMeasureDistance = 10000, nearestRelativeDistance = 10000; t7.moveNext$0();) { t8 = t7.get$current(t7); if (t8.get$overlaySeries()) continue; for (t8 = t8.allPoints, t9 = t8.length, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) { p = t8[_i]; t10 = p.x; t10.toString; t11 = _this._drawAreaBounds; t12 = t11.left; if (t10 < t12 || t10 > A._instanceType(t11)._precomputed1._as(t12 + t11.width)) continue; t11 = p.y; if (t11 != null) { measureDistance = Math.abs(t11 - t4); domainDistance = Math.abs(t10 - t5); relativeDistance = chartPoint.distanceTo$1(new A.Point(t10, t11, t6)); } else { measureDistance = 1 / 0; relativeDistance = 1 / 0; domainDistance = 1 / 0; } if (!(domainDistance < nearestDomainDistance)) t10 = domainDistance === nearestDomainDistance && measureDistance < nearestMeasureDistance; else t10 = true; if (t10) { nearestRelativeDistance = relativeDistance; nearestMeasureDistance = measureDistance; nearestDomainDistance = domainDistance; nearestPoint = p; } } } if (nearestPoint != null) { t7 = nearestPoint.x; t8 = nearestPoint.y; nearest.push(new A.DatumDetails(nearestPoint.datum, _null, nearestPoint.domain, _null, _null, _null, _null, _null, _null, _null, _null, _null, nearestPoint.series, _null, _null, _null, _null, _null, new A.NullablePoint(t7, t8), _null, _null, _null, nearestDomainDistance, nearestMeasureDistance, nearestRelativeDistance, _null, _null, _null, _null, _null, t1)); } } return nearest; }, addPositionToDetailsForSeriesDatum$2(details, seriesDatum) { var _null = null, series = details.series, t1 = series._attrs._typed_registry$_registry, t2 = type$.nullable_Axis_Object, t3 = this.$ti, point = this._getPoint$7(seriesDatum.datum, details.domain, series, t3._eval$1("ImmutableAxis<1>")._as(t2._as(t1.$index(0, B.AttributeKey_OBU))), details.measure, details.measureOffset, type$.ImmutableAxis_num._as(t2._as(t1.$index(0, B.AttributeKey_kWM)))); return A.DatumDetails_DatumDetails$from(details, _null, new A.NullablePoint(point.x, point.y), _null, _null, _null, t3._precomputed1); } }; A.LineRenderer_configureSeries_closure.prototype = { call$1(series) { if (series.areaColorFn == null) series.areaColorFn = new A.LineRenderer_configureSeries__closure(this.$this, series); }, $signature() { return this.$this.$ti._eval$1("~(MutableSeries<1>)"); } }; A.LineRenderer_configureSeries__closure.prototype = { call$1(index) { var _null = null, t1 = this.series.colorFn, color = t1 == null ? _null : t1.call$1(index); if (color == null) return _null; return new A.Color0(color.r, color.g, color.b, B.JSNumber_methods.round$0(color.a * 0.1), _null, _null); }, $signature: 1174 }; A.LineRenderer_preprocessSeries_closure.prototype = { call$1(series) { return series.measureUpperBoundFn != null && series.measureLowerBoundFn != null; }, $signature() { return this.$this.$ti._eval$1("bool(MutableSeries<1>)"); } }; A.LineRenderer_preprocessSeries_closure0.prototype = { call$1(series) { var t1, styleSegments, usedKeys, t2, t3, t4, t5, currentDetails, previousSegmentKey, styleSegmentsIndex, index, domain, measure, color, areaColor, dashPattern, strokeWidthPx, t6, styleKey, _null = null, colorFn = series.colorFn, areaColorFn = series.areaColorFn, domainFn = series.domainFn, measureFn = series.measureFn, strokeWidthPxFn = series.strokeWidthPxFn, dashPatternFn = series.dashPatternFn; if (dashPatternFn == null) dashPatternFn = series.dashPatternFn = new A.LineRenderer_preprocessSeries__closure(this.$this); t1 = this.$this.$ti; styleSegments = A._setArrayType([], t1._eval$1("JSArray<_LineRendererElement<1>>")); usedKeys = A.LinkedHashSet_LinkedHashSet$_empty(type$.String); for (t2 = series.data, t3 = series.id + "__", t4 = strokeWidthPxFn == null, t5 = t1._eval$1("_Range<1>"), t1 = t1._eval$1("_LineRendererElement<1>"), currentDetails = _null, previousSegmentKey = currentDetails, styleSegmentsIndex = 0, index = 0; index < t2.length; ++index) { domain = domainFn.call$1(index); measure = measureFn.call$1(index); if (domain == null || measure == null) continue; color = colorFn.call$1(index); areaColor = areaColorFn.call$1(index); dashPattern = dashPatternFn.call$1(index); if (t4) strokeWidthPx = _null; else { t6 = strokeWidthPxFn.call$1(index); if (t6 == null) t6 = _null; strokeWidthPx = t6; } if (strokeWidthPx == null) strokeWidthPx = 2; t6 = A.S(B.JSNumber_methods.round$0(strokeWidthPx * 100) / 100); styleKey = t3 + styleSegmentsIndex + "__" + color.toString$0(0) + "__" + A.S(dashPattern) + "__" + t6; if (styleKey !== previousSegmentKey) { if (usedKeys._collection$_length !== 0 && usedKeys.contains$1(0, styleKey)) { ++styleSegmentsIndex; styleKey = t3 + styleSegmentsIndex + "__" + color.toString$0(0) + "__" + A.S(dashPattern) + "__" + t6; } if (currentDetails != null) currentDetails.domainExtent.includePoint$1(domain); currentDetails = new A._LineRendererElement(_null, color, areaColor, dashPattern, new A._Range(domain, domain, t5), _null, _null, strokeWidthPx, styleKey, false, t1); styleSegments.push(currentDetails); usedKeys.add$1(0, styleKey); previousSegmentKey = styleKey; } else currentDetails.domainExtent.includePoint$1(domain); } t1 = series._attrs._typed_registry$_registry; t1.$indexSet(0, B.AttributeKey_Ex1, styleSegments); t1.$indexSet(0, B.AttributeKey_MYA, this._box_0.stackIndex); }, $signature() { return this.$this.$ti._eval$1("~(MutableSeries<1>)"); } }; A.LineRenderer_preprocessSeries__closure.prototype = { call$1(_) { return null; }, $signature: 862 }; A.LineRenderer__mergeIntoSeriesMap_closure.prototype = { call$1(series) { var it, firstKey, t9, key = series.id, t1 = this.seriesList, t2 = this.$this, t3 = J.getInterceptor$ax(t1), t4 = t2._seriesLineMap, t5 = A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>"), t6 = this.newLineMap, t7 = t2.$ti, t8 = type$.$env_1_1_String._bind$1(t7._eval$1("List<_AnimatedElements<1>>"))._eval$1("MapEntry<1,2>"), checkNext = true; while (true) { if (!(checkNext && t4.__js_helper$_length !== 0)) break; it = new A.LinkedHashMapKeyIterable(t4, t5).get$iterator(0); if (!it.moveNext$0()) A.throwExpression(A.IterableElementError_noElement()); firstKey = it.get$current(0); if (!t3.any$1(t1, new A.LineRenderer__mergeIntoSeriesMap__closure(t2, firstKey))) { t9 = t4.remove$1(0, firstKey); t9.toString; t6.push(new A.MapEntry(firstKey, t9, t8)); checkNext = true; } else checkNext = false; } if (!t4.containsKey$1(0, key)) t6.push(new A.MapEntry(key, A._setArrayType([], t7._eval$1("JSArray<_AnimatedElements<1>>")), t8)); else { t1 = t4.remove$1(0, key); t1.toString; t6.push(new A.MapEntry(key, t1, t8)); } }, $signature() { return this.$this.$ti._eval$1("~(ImmutableSeries<1>)"); } }; A.LineRenderer__mergeIntoSeriesMap__closure.prototype = { call$1(s) { return s.id === this.firstKey; }, $signature() { return this.$this.$ti._eval$1("bool(ImmutableSeries<1>)"); } }; A.LineRenderer_update_closure.prototype = { call$1(series) { var t5, t6, t7, t8, startPx, startPx0, endPx, startDomain, endDomain, t1 = series._attrs._typed_registry$_registry, t2 = this.$this, t3 = t2.$ti, domainAxis = t3._eval$1("ImmutableAxis<1>")._as(type$.nullable_Axis_Object._as(t1.$index(0, B.AttributeKey_OBU))), t4 = A._asIntQ(t1.$index(0, B.AttributeKey_MYA)); t4.toString; t5 = this.previousPointList; t3 = t3._eval$1("JSArray<_DatumPoint<1>>"); t5.push(A._setArrayType([], t3)); t6 = this.previousInitialPointList; t6.push(A._setArrayType([], t3)); t3 = t2._seriesLineMap.$index(0, series.id); t3.toString; t1 = type$.nullable_List__LineRendererElement_Object._as(t1.$index(0, B.AttributeKey_Ex1)); t1.toString; t7 = J.getInterceptor$asx(t1); if (t7.get$isNotEmpty(t1) && !(domainAxis instanceof A.OrdinalAxis)) { t8 = t2._drawAreaBounds; t8.toString; startPx = t8.left; startPx0 = t2.get$isRtl() ? t8.$ti._precomputed1._as(startPx + t8.width) : startPx; endPx = t2.get$isRtl() ? startPx : t8.$ti._precomputed1._as(startPx + t8.width); startDomain = domainAxis.scale.reverse$1(0, startPx0); endDomain = domainAxis.scale.reverse$1(0, endPx); t7.get$first(t1).domainExtent.includePoint$1(startDomain); t7.get$last(t1).domainExtent.includePoint$1(endDomain); } t7.forEach$1(t1, new A.LineRenderer_update__closure(t2, t3, t6, t4, series, t5)); }, $signature() { return this.$this.$ti._eval$1("~(ImmutableSeries<1>)"); } }; A.LineRenderer_update__closure.prototype = { call$1(styleSegment) { var t3, t4, t5, lineAndArea, lineElementList, allPointList, boundsElementList, animatingLines, index, t6, t7, animatingBounds, lineElement, boundElement, _this = this, _null = null, styleKey = styleSegment.styleKey, t1 = _this.elementsList, t2 = _this.$this, animatingElements = A.IterableExtension_firstWhereOrNull(t1, new A.LineRenderer_update___closure(t2, styleKey)); if (animatingElements != null) _this.previousInitialPointList[_this.stackIndex] = animatingElements.allPoints; else { t3 = t2.$ti; t3._eval$1("_LineRendererElement<1>")._as(styleSegment); t4 = _this.stackIndex; t5 = t4 > 0 ? _this.previousInitialPointList[t4 - 1] : _null; lineAndArea = t2._createLineAndAreaElements$4(_this.series, styleSegment, t5, true); lineElementList = t3._eval$1("List<_LineRendererElement<1>>")._as(lineAndArea[0]); t5 = t3._eval$1("List<_AreaRendererElement<1>>"); t5._as(lineAndArea[1]); allPointList = t3._eval$1("List<_DatumPoint<1>>")._as(lineAndArea[2]); boundsElementList = t5._as(lineAndArea[3]); animatingLines = A._setArrayType([], t3._eval$1("JSArray<_AnimatedLine<1>>")); for (t5 = t3._eval$1("_AnimatedLine<1>"), index = 0; index < lineElementList.length; ++index) { t6 = lineElementList[index]; t7 = new A._AnimatedLine(t6.styleKey, false, t5); t7.setNewTarget$1(t6); animatingLines.push(t7); } t5 = t2.__LineRenderer__hasMeasureBounds_A; t5 === $ && A.throwUnnamedLateFieldNI(); if (t5) { animatingBounds = A._setArrayType([], t3._eval$1("JSArray<_AnimatedArea<1>>")); for (t5 = t3._eval$1("_AnimatedArea<1>"), index = 0; index < boundsElementList.length; ++index) { t6 = boundsElementList[index]; t7 = new A._AnimatedArea(t6.styleKey, false, t5); t7.setNewTarget$1(t6); animatingBounds.push(t7); } } else animatingBounds = _null; animatingElements = new A._AnimatedElements(allPointList, _null, animatingLines, animatingBounds, styleKey, t3._eval$1("_AnimatedElements<1>")); J.add$1$ax(t1, animatingElements); _this.previousInitialPointList[t4] = allPointList; } t1 = t2.$ti; t1._eval$1("_LineRendererElement<1>")._as(styleSegment); t3 = _this.stackIndex; t4 = t3 > 0 ? _this.previousPointList[t3 - 1] : _null; lineAndArea = t2._createLineAndAreaElements$4(_this.series, styleSegment, t4, false); lineElementList = t1._eval$1("List<_LineRendererElement<1>>")._as(lineAndArea[0]); t4 = t1._eval$1("List<_AreaRendererElement<1>>"); t4._as(lineAndArea[1]); allPointList = t1._eval$1("List<_DatumPoint<1>>")._as(lineAndArea[2]); boundsElementList = t4._as(lineAndArea[3]); for (t4 = animatingElements.lines, t5 = t1._eval$1("_AnimatedLine<1>"), index = 0; index < lineElementList.length; ++index) { lineElement = lineElementList[index]; if (index >= t4.length) t4.push(new A._AnimatedLine(lineElement.styleKey, false, t5)); t4[index].setNewTarget$1(lineElement); } t2 = t2.__LineRenderer__hasMeasureBounds_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2) for (t2 = animatingElements.bounds, t1 = t1._eval$1("_AnimatedArea<1>"), index = 0; index < boundsElementList.length; ++index) { boundElement = boundsElementList[index]; if (index >= t2.length) t2.push(new A._AnimatedArea(boundElement.styleKey, false, t1)); t2[index].setNewTarget$1(boundElement); } animatingElements.allPoints = allPointList; _this.previousPointList[t3] = allPointList; }, $signature: 1185 }; A.LineRenderer_update___closure.prototype = { call$1(elements) { return elements.styleKey === this.styleKey; }, $signature() { return this.$this.$ti._eval$1("bool(_AnimatedElements<1>)"); } }; A.LineRenderer_update_closure0.prototype = { call$2(key, elements) { var t1, t2, t3, t4, t5, _i, line, area, bound; for (t1 = J.get$iterator$ax(elements), t2 = this.$this._line_renderer$_currentKeys; t1.moveNext$0();) { t3 = t1.get$current(t1); for (t4 = t3.lines, t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) { line = t4[_i]; if (!B.JSArray_methods.contains$1(t2, line.key)) line.animateOut$0(); } t4 = t3.areas; if (t4 != null) for (t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) { area = t4[_i]; if (!B.JSArray_methods.contains$1(t2, area.key)) area.animateOut$0(); } t3 = t3.bounds; if (t3 != null) for (t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { bound = t3[_i]; if (!B.JSArray_methods.contains$1(t2, bound.key)) bound.animateOut$0(); } } }, $signature() { return this.$this.$ti._eval$1("~(String,List<_AnimatedElements<1>>)"); } }; A.LineRenderer__createBoundsSegment_closure.prototype = { call$1(datumPoint) { var t1, t2, t3, _this = this; if (_this.initializeFromZero) t1 = datumPoint.y; else { t1 = _this.series; t2 = datumPoint.index; t3 = t1.measureUpperBoundFn.call$1(t2); if (t3 == null) t3 = 0; t2 = t1.measureOffsetFn.call$1(t2); t2.toString; t2 = _this.measureAxis.getLocation$1(t3 + t2); t1 = t2; } return A._DatumPoint__DatumPoint$from(datumPoint, datumPoint.x, t1, _this.$this.$ti._precomputed1); }, $signature() { return this.$this.$ti._eval$1("_DatumPoint<1>(_DatumPoint<1>)"); } }; A.LineRenderer__createBoundsSegment_closure0.prototype = { call$1(datumPoint) { var t1, t2, t3, _this = this; if (_this.initializeFromZero) t1 = datumPoint.y; else { t1 = _this.series; t2 = datumPoint.index; t3 = t1.measureLowerBoundFn.call$1(t2); if (t3 == null) t3 = 0; t2 = t1.measureOffsetFn.call$1(t2); t2.toString; t2 = _this.measureAxis.getLocation$1(t3 + t2); t1 = t2; } return A._DatumPoint__DatumPoint$from(datumPoint, datumPoint.x, t1, _this.$this.$ti._precomputed1); }, $signature() { return this.$this.$ti._eval$1("_DatumPoint<1>(_DatumPoint<1>)"); } }; A.LineRenderer_paint_closure.prototype = { call$2(key, elements) { var t1 = J.getInterceptor$ax(elements); t1.removeWhere$1(elements, new A.LineRenderer_paint__closure7(this.$this)); if (t1.get$isEmpty(elements)) this.keysToRemove.push(key); }, $signature() { return this.$this.$ti._eval$1("~(String,List<_AnimatedElements<1>>)"); } }; A.LineRenderer_paint__closure7.prototype = { call$1(element) { return element.get$animatingOut(); }, $signature() { return this.$this.$ti._eval$1("bool(_AnimatedElements<1>)"); } }; A.LineRenderer_paint_closure0.prototype = { call$2(key, elements) { var t3, t4, _this = this, t1 = _this.$this, t2 = t1.__LineRenderer__hasMeasureBounds_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2) { t2 = t1.$ti; t3 = J.map$1$1$ax(elements, new A.LineRenderer_paint__closure(t1), t2._eval$1("List<_AnimatedArea<1>>")); t4 = A._instanceType(t3)._eval$1("@<Iterable.E>")._bind$1(t2._eval$1("_AnimatedArea<1>"))._eval$1("ExpandIterable<1,2>"); A.MappedIterable_MappedIterable(new A.ExpandIterable(t3, new A.LineRenderer_paint__closure0(t1), t4), new A.LineRenderer_paint__closure1(t1, _this.animationPercent), t4._eval$1("Iterable.E"), t2._eval$1("_AreaRendererElement<1>")).forEach$1(0, new A.LineRenderer_paint__closure2(t1, _this.canvas)); } t2 = t1.$ti; t3 = J.map$1$1$ax(elements, new A.LineRenderer_paint__closure3(t1), t2._eval$1("List<_AnimatedLine<1>>")); t4 = A._instanceType(t3)._eval$1("@<Iterable.E>")._bind$1(t2._eval$1("_AnimatedLine<1>"))._eval$1("ExpandIterable<1,2>"); A.MappedIterable_MappedIterable(new A.ExpandIterable(t3, new A.LineRenderer_paint__closure4(t1), t4), new A.LineRenderer_paint__closure5(t1, _this.animationPercent), t4._eval$1("Iterable.E"), t2._eval$1("_LineRendererElement<1>")).forEach$1(0, new A.LineRenderer_paint__closure6(t1, _this.canvas)); }, $signature() { return this.$this.$ti._eval$1("~(String,List<_AnimatedElements<1>>)"); } }; A.LineRenderer_paint__closure.prototype = { call$1(animatingElement) { var t1 = animatingElement.bounds; t1.toString; return t1; }, $signature() { return this.$this.$ti._eval$1("List<_AnimatedArea<1>>(_AnimatedElements<1>)"); } }; A.LineRenderer_paint__closure0.prototype = { call$1(bounds) { return bounds; }, $signature() { return this.$this.$ti._eval$1("List<_AnimatedArea<1>>(List<_AnimatedArea<1>>)"); } }; A.LineRenderer_paint__closure1.prototype = { call$1(animatingBounds) { return animatingBounds.getCurrentArea$1(this.animationPercent); }, $signature() { return this.$this.$ti._eval$1("_AreaRendererElement<1>(_AnimatedArea<1>)"); } }; A.LineRenderer_paint__closure2.prototype = { call$1(bound) { var t1 = this.$this._getClipBoundsForExtent$1(bound.positionExtent), t2 = bound.areaColor; if (t2 == null) t2 = bound.color; this.canvas.drawPolygon$3$clipBounds$fill$points(t1, t2, A.NullablePointsToPoints_toPoints(bound.points)); }, $signature() { return this.$this.$ti._eval$1("~(_AreaRendererElement<1>)"); } }; A.LineRenderer_paint__closure3.prototype = { call$1(animatingElement) { return animatingElement.lines; }, $signature() { return this.$this.$ti._eval$1("List<_AnimatedLine<1>>(_AnimatedElements<1>)"); } }; A.LineRenderer_paint__closure4.prototype = { call$1(lines) { return lines; }, $signature() { return this.$this.$ti._eval$1("List<_AnimatedLine<1>>(List<_AnimatedLine<1>>)"); } }; A.LineRenderer_paint__closure5.prototype = { call$1(animatingLine) { return animatingLine.getCurrentLine$1(this.animationPercent); }, $signature() { return this.$this.$ti._eval$1("_LineRendererElement<1>(_AnimatedLine<1>)"); } }; A.LineRenderer_paint__closure6.prototype = { call$1(line) { var t2, t1 = line.positionExtent; t1.toString; t1 = this.$this._getClipBoundsForExtent$1(t1); t2 = line.points; t2.toString; this.canvas.drawLine$6$clipBounds$dashPattern$points$roundEndCaps$stroke$strokeWidthPx(t1, line.dashPattern, A.NullablePointsToPoints_toPoints(t2), false, line.color, line.strokeWidthPx); }, $signature() { return this.$this.$ti._eval$1("~(_LineRendererElement<1>)"); } }; A._DatumPoint.prototype = {}; A._LineRendererElement.prototype = { clone$0(_) { var t2, t3, t4, _this = this, _null = null, t1 = _this.points; t1 = t1 != null ? A.List_List$of(t1, true, _this.$ti._eval$1("_DatumPoint<1>")) : _null; t2 = _this.color; t2 = t2 != null ? A.Color$fromOther(t2, _null) : _null; t3 = _this.areaColor; t3 = t3 != null ? A.Color$fromOther(t3, _null) : _null; t4 = _this.dashPattern; t4 = t4 != null ? A.List_List$of(t4, true, type$.int) : _null; return new A._LineRendererElement(t1, t2, t3, t4, _this.domainExtent, _this.measureAxisPosition, _this.positionExtent, _this.strokeWidthPx, _this.styleKey, false, _this.$ti); }, updateAnimationPercent$3(previous, target, animationPercent) { var lastPoint, t2, t3, pointIndex, t4, targetPoint, previousPoint, t5, x, y, _this = this, t1 = _this.points; t1.toString; lastPoint = A._Cell$named("lastPoint"); for (t2 = _this.$ti._precomputed1, t3 = lastPoint.__late_helper$_name, pointIndex = 0; t4 = target.points, pointIndex < t4.length; ++pointIndex) { targetPoint = t4[pointIndex]; t4 = previous.points; if (t4.length - 1 >= pointIndex) previousPoint = lastPoint.__late_helper$_value = t4[pointIndex]; else { t4 = targetPoint.x; t5 = lastPoint.__late_helper$_value; if (t5 === lastPoint) A.throwExpression(A.LateError$localNI(t3)); previousPoint = A._DatumPoint__DatumPoint$from(targetPoint, t4, t5.y, t2); } t4 = targetPoint.x; t4.toString; t5 = previousPoint.x; t5.toString; x = (t4 - t5) * animationPercent + t5; y = targetPoint.y; t4 = y != null; if (t4 && previousPoint.y != null) { y.toString; t4 = previousPoint.y; t4.toString; y = (y - t4) * animationPercent + t4; } else y = t4 ? y : null; if (t1.length - 1 >= pointIndex) t1[pointIndex] = A._DatumPoint__DatumPoint$from(targetPoint, x, y, t2); else t1.push(A._DatumPoint__DatumPoint$from(targetPoint, x, y, t2)); } t2 = t1.length; if (pointIndex < t2) B.JSArray_methods.removeRange$2(t1, pointIndex, t2); t1 = previous.color; t1.toString; t2 = target.color; t2.toString; _this.color = A.getAnimatedColor(t1, t2, animationPercent); if (_this.areaColor != null) { t1 = previous.areaColor; t1.toString; t2 = target.areaColor; t2.toString; _this.areaColor = A.getAnimatedColor(t1, t2, animationPercent); } t1 = target.strokeWidthPx; t2 = previous.strokeWidthPx; _this.strokeWidthPx = (t1 - t2) * animationPercent + t2; } }; A._AnimatedLine.prototype = { animateOut$0() { var t2, index, t3, targetPoint, _this = this, newTarget = _this._line_renderer$_currentLine.clone$0(0), t1 = _this.$ti, newPoints = A._setArrayType([], t1._eval$1("JSArray<_DatumPoint<1>>")); for (t2 = newTarget.measureAxisPosition, t1 = t1._precomputed1, index = 0; t3 = newTarget.points, index < t3.length; ++index) { targetPoint = t3[index]; t3 = targetPoint.x; t2.toString; newPoints.push(A._DatumPoint__DatumPoint$from(targetPoint, t3, B.JSNumber_methods.roundToDouble$0(t2), t1)); } newTarget.points = newPoints; newTarget.strokeWidthPx = 0; _this.setNewTarget$1(newTarget); _this.animatingOut = true; }, setNewTarget$1(newTarget) { var t1, _this = this; _this.animatingOut = false; t1 = _this._line_renderer$_currentLine; _this._previousLine = (t1 == null ? _this._line_renderer$_currentLine = newTarget.clone$0(0) : t1).clone$0(0); _this.___AnimatedLine__targetLine_A = newTarget; }, getCurrentLine$1(animationPercent) { var t1, t2, t3, _this = this; if (animationPercent === 1 || _this._previousLine == null) { t1 = _this.___AnimatedLine__targetLine_A; t1 === $ && A.throwUnnamedLateFieldNI(); return _this._previousLine = _this._line_renderer$_currentLine = t1; } t1 = _this._line_renderer$_currentLine; t1.toString; t2 = _this._previousLine; t2.toString; t3 = _this.___AnimatedLine__targetLine_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1.updateAnimationPercent$3(t2, t3, animationPercent); t3 = _this._line_renderer$_currentLine; t3.toString; return t3; } }; A._AreaRendererElement.prototype = { clone$0(_) { var t4, _this = this, _null = null, t1 = _this.$ti, t2 = A.List_List$of(_this.points, true, t1._eval$1("_DatumPoint<1>")), t3 = _this.color; t3 = t3 != null ? A.Color$fromOther(t3, _null) : _null; t4 = _this.areaColor; t4 = t4 != null ? A.Color$fromOther(t4, _null) : _null; return new A._AreaRendererElement(t2, t3, t4, _this.domainExtent, _this.measureAxisPosition, _this.positionExtent, _this.styleKey, t1); }, updateAnimationPercent$3(previous, target, animationPercent) { var t1, t2, pointIndex, t3, targetPoint, previousPoint, t4, x, y, _this = this, lastPoint = A._Cell$named("lastPoint"); for (t1 = _this.$ti._precomputed1, t2 = lastPoint.__late_helper$_name, pointIndex = 0; t3 = target.points, pointIndex < t3.length; ++pointIndex) { targetPoint = t3[pointIndex]; t3 = previous.points; if (t3.length - 1 >= pointIndex) previousPoint = lastPoint.__late_helper$_value = t3[pointIndex]; else { t3 = targetPoint.x; t4 = lastPoint.__late_helper$_value; if (t4 === lastPoint) A.throwExpression(A.LateError$localNI(t2)); previousPoint = A._DatumPoint__DatumPoint$from(targetPoint, t3, t4.y, t1); } t3 = targetPoint.x; t3.toString; t4 = previousPoint.x; t4.toString; x = (t3 - t4) * animationPercent + t4; y = targetPoint.y; t3 = y != null; if (t3 && previousPoint.y != null) { y.toString; t3 = previousPoint.y; t3.toString; y = (y - t3) * animationPercent + t3; } else y = t3 ? y : null; t3 = _this.points; if (t3.length - 1 >= pointIndex) t3[pointIndex] = A._DatumPoint__DatumPoint$from(targetPoint, x, y, t1); else t3.push(A._DatumPoint__DatumPoint$from(targetPoint, x, y, t1)); } t1 = _this.points; t2 = t1.length; if (pointIndex < t2) B.JSArray_methods.removeRange$2(t1, pointIndex, t2); t1 = previous.color; t1.toString; t2 = target.color; t2.toString; _this.color = A.getAnimatedColor(t1, t2, animationPercent); if (_this.areaColor != null) { t1 = previous.areaColor; t1.toString; t2 = target.areaColor; t2.toString; _this.areaColor = A.getAnimatedColor(t1, t2, animationPercent); } } }; A._AnimatedArea.prototype = { animateOut$0() { var t2, index, t3, targetPoint, _this = this, newTarget = _this._currentArea.clone$0(0), t1 = _this.$ti, newPoints = A._setArrayType([], t1._eval$1("JSArray<_DatumPoint<1>>")); for (t2 = newTarget.measureAxisPosition, t1 = t1._precomputed1, index = 0; t3 = newTarget.points, index < t3.length; ++index) { targetPoint = t3[index]; newPoints.push(A._DatumPoint__DatumPoint$from(targetPoint, targetPoint.x, B.JSNumber_methods.roundToDouble$0(t2), t1)); } newTarget.points = newPoints; _this.setNewTarget$1(newTarget); _this.animatingOut = true; }, setNewTarget$1(newTarget) { var t1, _this = this; _this.animatingOut = false; t1 = _this._currentArea; _this._previousArea = (t1 == null ? _this._currentArea = newTarget.clone$0(0) : t1).clone$0(0); _this.___AnimatedArea__targetArea_A = newTarget; }, getCurrentArea$1(animationPercent) { var t1, t2, t3, _this = this; if (animationPercent === 1 || _this._previousArea == null) { t1 = _this.___AnimatedArea__targetArea_A; t1 === $ && A.throwUnnamedLateFieldNI(); return _this._previousArea = _this._currentArea = t1; } t1 = _this._currentArea; t1.toString; t2 = _this._previousArea; t2.toString; t3 = _this.___AnimatedArea__targetArea_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1.updateAnimationPercent$3(t2, t3, animationPercent); t3 = _this._currentArea; t3.toString; return t3; } }; A._AnimatedElements.prototype = { get$animatingOut() { var t2, areasAnimatingOut, _i, area, linesAnimatingOut, line, boundsAnimatingOut, bound, t1 = this.areas; if (t1 != null) for (t2 = t1.length, areasAnimatingOut = true, _i = 0; _i < t2; ++_i) { area = t1[_i]; areasAnimatingOut = areasAnimatingOut && area.animatingOut; } else areasAnimatingOut = true; for (t1 = this.lines, t2 = t1.length, linesAnimatingOut = true, _i = 0; _i < t2; ++_i) { line = t1[_i]; linesAnimatingOut = linesAnimatingOut && line.animatingOut; } t1 = this.bounds; if (t1 != null) for (t2 = t1.length, boundsAnimatingOut = true, _i = 0; _i < t2; ++_i) { bound = t1[_i]; boundsAnimatingOut = boundsAnimatingOut && bound.animatingOut; } else boundsAnimatingOut = true; return areasAnimatingOut && linesAnimatingOut && boundsAnimatingOut; }, get$overlaySeries() { var t2, areasOverlaySeries, _i, area, linesOverlaySeries, line, boundsOverlaySeries, bound, t1 = this.areas; if (t1 != null) for (t2 = t1.length, areasOverlaySeries = true, _i = 0; _i < t2; ++_i, areasOverlaySeries = false) { area = t1[_i]; if (areasOverlaySeries) area.toString; } else areasOverlaySeries = true; for (t1 = this.lines, t2 = t1.length, linesOverlaySeries = true, _i = 0; _i < t2; ++_i, linesOverlaySeries = false) { line = t1[_i]; if (linesOverlaySeries) line.toString; } t1 = this.bounds; if (t1 != null) for (t2 = t1.length, boundsOverlaySeries = true, _i = 0; _i < t2; ++_i, boundsOverlaySeries = false) { bound = t1[_i]; if (boundsOverlaySeries) bound.toString; } else boundsOverlaySeries = true; return areasOverlaySeries && linesOverlaySeries && boundsOverlaySeries; } }; A._Range.prototype = { includePoint$1(value) { var t1, t2, _this = this; if (typeof value == "number") { if (value < A._asNum(_this._line_renderer$_start)) _this._line_renderer$_start = value; else if (value > A._asNum(_this._line_renderer$_end)) _this._line_renderer$_end = value; } else if (value instanceof A.DateTime) { t1 = type$.DateTime; t2 = value._value; if (t2 < t1._as(_this._line_renderer$_start)._value) _this._line_renderer$_start = value; else if (t2 > t1._as(_this._line_renderer$_end)._value) _this._line_renderer$_end = value; } else if (typeof value == "string") _this._line_renderer$_end = value; else throw A.wrapException(A.ArgumentError$("Unsupported object type for LineRenderer domain value: " + J.get$runtimeType$(value).toString$0(0), null)); } }; A.LineRendererConfig.prototype = {}; A.PointRenderer.prototype = { paint$2(canvas, animationPercent) { var keysToRemove, t1, _this = this; if (animationPercent === 1) { keysToRemove = A._setArrayType([], type$.JSArray_String); _this.seriesPointMap.forEach$1(0, new A.PointRenderer_paint_closure(_this, keysToRemove)); t1 = _this.seriesPointMap; B.JSArray_methods.forEach$1(keysToRemove, t1.get$remove(t1)); } _this.seriesPointMap.forEach$1(0, new A.PointRenderer_paint_closure0(_this, animationPercent, canvas)); }, get$isRtl() { return false; } }; A.PointRenderer_paint_closure.prototype = { call$2(key, points) { var t1 = J.getInterceptor$ax(points); t1.removeWhere$1(points, new A.PointRenderer_paint__closure1(this.$this)); if (t1.get$isEmpty(points)) this.keysToRemove.push(key); }, $signature() { return this.$this.$ti._eval$1("~(String,List<AnimatedPoint<1>>)"); } }; A.PointRenderer_paint__closure1.prototype = { call$1(point) { return point.animatingOut; }, $signature() { return this.$this.$ti._eval$1("bool(AnimatedPoint<1>)"); } }; A.PointRenderer_paint_closure0.prototype = { call$2(key, points) { var t1 = this.$this, t2 = this.animationPercent; J.map$1$1$ax(points, new A.PointRenderer_paint__closure(t1, t2), t1.$ti._eval$1("PointRendererElement<1>")).forEach$1(0, new A.PointRenderer_paint__closure0(t1, this.canvas, t2)); }, $signature() { return this.$this.$ti._eval$1("~(String,List<AnimatedPoint<1>>)"); } }; A.PointRenderer_paint__closure.prototype = { call$1(animatingPoint) { return animatingPoint.getCurrentPoint$1(this.animationPercent); }, $signature() { return this.$this.$ti._eval$1("PointRendererElement<1>(AnimatedPoint<1>)"); } }; A.PointRenderer_paint__closure0.prototype = { call$1(point) { var t6, t7, t8, t9, bounds, t1 = this.$this, t2 = t1.pointRendererDecorators, t3 = A._arrayInstanceType(t2)._eval$1("WhereIterable<1>"), t4 = this.canvas, t5 = this.animationPercent; new A.WhereIterable(t2, new A.PointRenderer_paint___closure(t1), t3).forEach$1(0, new A.PointRenderer_paint___closure0(t1, point, t4, t5)); t6 = point.point; t7 = t6.y; if (t7 != null) { t8 = t1._drawAreaBounds; t8.toString; t6 = t6.x; t6.toString; t7 = t8.containsPoint$1(0, new A.Point(t6, t7, type$.Point_double)); t6 = t7; } else t6 = false; if (t6) { t6 = point.point; t7 = t6.x; t7.toString; t8 = point.radiusPx; t6 = t6.y; t6.toString; t9 = t8 * 2; bounds = A.Rectangle$(t7 - t8, t6 - t8, t9, t9, type$.double); t6 = point.symbolRendererId; if (t6 === "__default__") t1.symbolRenderer.paint$5$fillColor$strokeColor$strokeWidthPx(t4, bounds, point.fillColor, point.color, point.strokeWidthPx); else { if (!null.containsKey$1(0, t6)) throw A.wrapException(A.ArgumentError$('Invalid custom symbol renderer id "' + t6 + '"', null)); null.$index(0, t6).paint$5$fillColor$strokeColor$strokeWidthPx(t4, bounds, point.fillColor, point.color, point.strokeWidthPx); } } new A.WhereIterable(t2, new A.PointRenderer_paint___closure1(t1), t3).forEach$1(0, new A.PointRenderer_paint___closure2(t1, point, t4, t5)); }, $signature() { return this.$this.$ti._eval$1("~(PointRendererElement<1>)"); } }; A.PointRenderer_paint___closure.prototype = { call$1(decorator) { return !decorator.get$renderAbove(); }, $signature() { return this.$this.$ti._eval$1("bool(PointRendererDecorator<1>)"); } }; A.PointRenderer_paint___closure0.prototype = { call$1(decorator) { var t3, _this = this, t1 = _this.$this, t2 = t1.graphicsFactory; t2.toString; t3 = t1._drawAreaBounds; t3.toString; t1.get$isRtl(); decorator.decorate$6$animationPercent$drawBounds$rtl(_this.point, _this.canvas, t2, _this.animationPercent, t3, false); }, $signature() { return this.$this.$ti._eval$1("~(PointRendererDecorator<1>)"); } }; A.PointRenderer_paint___closure1.prototype = { call$1(decorator) { return decorator.get$renderAbove(); }, $signature() { return this.$this.$ti._eval$1("bool(PointRendererDecorator<1>)"); } }; A.PointRenderer_paint___closure2.prototype = { call$1(decorator) { var t3, _this = this, t1 = _this.$this, t2 = t1.graphicsFactory; t2.toString; t3 = t1._drawAreaBounds; t3.toString; t1.get$isRtl(); decorator.decorate$6$animationPercent$drawBounds$rtl(_this.point, _this.canvas, t2, _this.animationPercent, t3, false); }, $signature() { return this.$this.$ti._eval$1("~(PointRendererDecorator<1>)"); } }; A.DatumPoint.prototype = {}; A.PointRendererConfig.prototype = {}; A.TimeSeriesChart.prototype = { initDomainAxis$0() { var t2, t3, t4, _null = null, t1 = this._domainAxis; t1.toString; t2 = A.SmallTickRendererSpec$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, type$.DateTime); t3 = this.__BaseChart_context_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = this.graphicsFactory; t4.toString; t1.tickDrawStrategy = t2.createDrawStrategy$2(t3, t4); }, makeDefaultRenderer$0() { var t1 = A.LineRenderer_LineRenderer(null, null, type$.DateTime); t1.rendererId = "default"; return t1; }, createDomainAxisFromSpec$1(axisSpec) { type$.DateTimeAxisSpec._as(axisSpec); return A.DateTimeAxis$(this.dateTimeFactory); } }; A.Color0.prototype = { get$darker() { var _this = this, t1 = _this._darker; return t1 == null ? new A.Color0(B.JSNumber_methods.round$0(_this.r * 0.7), B.JSNumber_methods.round$0(_this.g * 0.7), B.JSNumber_methods.round$0(_this.b * 0.7), _this.a, null, null) : t1; }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.Color0 && other.r === _this.r && other.g === _this.g && other.b === _this.b && other.a === _this.a; }, get$hashCode(_) { var _this = this; return ((B.JSInt_methods.get$hashCode(_this.r) * 37 + B.JSInt_methods.get$hashCode(_this.g)) * 37 + B.JSInt_methods.get$hashCode(_this.b)) * 37 + B.JSInt_methods.get$hashCode(_this.a); }, toString$0(_) { var _this = this; return "#" + _this._get2CharHex$1(_this.r) + _this._get2CharHex$1(_this.g) + _this._get2CharHex$1(_this.b) + _this._get2CharHex$1(_this.a); }, _get2CharHex$1(num) { var str = B.JSInt_methods.toRadixString$1(num, 16); for (; str.length < 2;) str = "0" + str; return str; } }; A.LocalDateTimeFactory.prototype = { createDateTime$4(year, month, day, hour) { var t1 = A.Primitives_valueFromDecomposedDate(year, month, day, hour, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, false); }, createDateTime$3(year, month, day) { return this.createDateTime$4(year, month, day, 0); }, createDateTime$2(year, month) { return this.createDateTime$4(year, month, 1, 0); }, createDateTime$1(year) { return this.createDateTime$4(year, 1, 1, 0); } }; A.GestureListener.prototype = {}; A.GestureListener_defaultTapCancel_closure.prototype = { call$0() { }, $signature: 0 }; A.GestureListener_defaultTapTest_closure.prototype = { call$1(_) { return false; }, $signature: 599 }; A.MaterialPalette__orderedPalettes_closure.prototype = { call$0() { return B.C_MaterialBlue; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure0.prototype = { call$0() { return B.C_MaterialRed; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure1.prototype = { call$0() { return B.C_MaterialYellow; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure2.prototype = { call$0() { return B.C_MaterialGreen; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure3.prototype = { call$0() { return B.C_MaterialPurple; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure4.prototype = { call$0() { return B.C_MaterialCyan; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure5.prototype = { call$0() { return B.C_MaterialDeepOrange; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure6.prototype = { call$0() { return B.C_MaterialLime; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure7.prototype = { call$0() { return B.C_MaterialIndigo; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure8.prototype = { call$0() { return B.C_MaterialPink; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure9.prototype = { call$0() { return B.C_MaterialTeal; }, $signature: 149 }; A.MaterialPalette__orderedPalettes_closure10.prototype = { call$1(f) { return f.call$0(); }, $signature: 1239 }; A.MaterialBlue.prototype = { get$shadeDefault() { return B.Color_U0W; } }; A.MaterialRed.prototype = { get$shadeDefault() { return B.Color_kvD; } }; A.MaterialYellow.prototype = { get$shadeDefault() { return B.Color_g3G; } }; A.MaterialGreen.prototype = { get$shadeDefault() { return B.Color_ePM5; } }; A.MaterialPurple.prototype = { get$shadeDefault() { return B.Color_ePM4; } }; A.MaterialCyan.prototype = { get$shadeDefault() { return B.Color_ePM3; } }; A.MaterialDeepOrange.prototype = { get$shadeDefault() { return B.Color_wz6; } }; A.MaterialLime.prototype = { get$shadeDefault() { return B.Color_ePM2; } }; A.MaterialIndigo.prototype = { get$shadeDefault() { return B.Color_ePM1; } }; A.MaterialPink.prototype = { get$shadeDefault() { return B.Color_Feh; } }; A.MaterialTeal.prototype = { get$shadeDefault() { return B.Color_ePM0; } }; A.NullablePoint.prototype = { toString$0(_) { return "NullablePoint(" + A.S(this.x) + ", " + A.S(this.y) + ")"; }, $eq(_, other) { if (other == null) return false; return other instanceof A.NullablePoint && this.x == other.x && this.y == other.y; }, get$hashCode(_) { return J.get$hashCode$(this.x) * 37 + J.get$hashCode$(this.y); } }; A.Palette.prototype = { makeShades$1(colorCnt) { var t1, t2, t3, t4, lighterColor, i, _this = this, colors = A._setArrayType([_this.get$shadeDefault()], type$.JSArray_Color); if (colorCnt < 3) { t1 = _this.get$shadeDefault(); t2 = t1._lighter; if (t2 == null) { t2 = t1.r; t3 = t1.g; t4 = t1.b; t1 = new A.Color0(t2 + B.JSNumber_methods.round$0((255 - t2) * 0.1), t3 + B.JSNumber_methods.round$0((255 - t3) * 0.1), t4 + B.JSNumber_methods.round$0((255 - t4) * 0.1), t1.a, null, null); lighterColor = t1; } else lighterColor = t2; } else { t1 = colorCnt * 2; lighterColor = _this._getSteppedColor$3(_this.get$shadeDefault(), t1 - 1, t1); } for (i = 1; i < colorCnt; ++i) colors.push(_this._getSteppedColor$5$darker$lighter(_this.get$shadeDefault(), i, colorCnt, _this.get$shadeDefault().get$darker(), lighterColor)); colors.push(A.Color$fromOther(_this.get$shadeDefault(), lighterColor)); return colors; }, _getSteppedColor$5$darker$lighter(color, index, steps, darker, lighter) { var fraction = index / steps, t1 = color.r, t2 = color.g, t3 = color.b, t4 = color.a; return new A.Color0(t1 + B.JSNumber_methods.round$0((255 - t1) * fraction), t2 + B.JSNumber_methods.round$0((255 - t2) * fraction), t3 + B.JSNumber_methods.round$0((255 - t3) * fraction), t4 + B.JSNumber_methods.round$0((255 - t4) * fraction), darker, lighter); }, _getSteppedColor$3(color, index, steps) { return this._getSteppedColor$5$darker$lighter(color, index, steps, null, null); } }; A.Performance_time_closure.prototype = { call$1(_) { }, $signature: 15 }; A.Performance_timeEnd_closure.prototype = { call$1(_) { }, $signature: 15 }; A.ProxyGestureListener.prototype = { onLongPress$1(localPosition) { var _this = this, claimingListener = A.IterableExtension_firstWhereOrNull(_this._activeListeners, new A.ProxyGestureListener_onLongPress_closure(localPosition)); if (claimingListener != null) { _this._activeListeners = _this._proxy_gesture_listener$_cancel$2$all$keep(_this._activeListeners, A._setArrayType([claimingListener], type$.JSArray_GestureListener)); return true; } return false; }, onTap$1(localPosition) { var _this = this, claimingListener = A.IterableExtension_firstWhereOrNull(_this._activeListeners, new A.ProxyGestureListener_onTap_closure(localPosition)); if (claimingListener != null) { _this._activeListeners = _this._proxy_gesture_listener$_cancel$2$all$keep(_this._activeListeners, A._setArrayType([claimingListener], type$.JSArray_GestureListener)); return true; } return false; }, onDragStart$1(_, localPosition) { var claimingListener, _this = this; if (_this._activeListeners.length === 0) _this._populateActiveListeners$1(localPosition); claimingListener = A.IterableExtension_firstWhereOrNull(_this._activeListeners, new A.ProxyGestureListener_onDragStart_closure(localPosition)); if (claimingListener != null) { _this._activeListeners = _this._proxy_gesture_listener$_cancel$2$all$keep(_this._activeListeners, A._setArrayType([claimingListener], type$.JSArray_GestureListener)); return true; } return false; }, onDragUpdate$2(localPosition, scale) { return B.JSArray_methods.any$1(this._activeListeners, new A.ProxyGestureListener_onDragUpdate_closure(localPosition, scale)); }, onDragEnd$3(_, localPosition, scale, pixelsPerSecond) { return B.JSArray_methods.any$1(this._activeListeners, new A.ProxyGestureListener_onDragEnd_closure(localPosition, scale, pixelsPerSecond)); }, _proxy_gesture_listener$_cancel$2$all$keep(all, keep) { B.JSArray_methods.forEach$1(all, new A.ProxyGestureListener__cancel_closure(keep)); return keep; }, _populateActiveListeners$1(localPosition) { var t1 = {}, localListeners = A.List_List$of(this._proxy_gesture_listener$_listeners, true, type$.GestureListener); t1.previouslyClaimed = false; B.JSArray_methods.forEach$1(localListeners, new A.ProxyGestureListener__populateActiveListeners_closure(t1, this, localPosition)); return t1.previouslyClaimed; } }; A.ProxyGestureListener_onLongPress_closure.prototype = { call$1(listener) { var t1 = listener.onLongPress; t1 = t1 == null ? null : t1.call$1(this.localPosition); return t1 == null ? false : t1; }, $signature: 338 }; A.ProxyGestureListener_onTap_closure.prototype = { call$1(listener) { var t1 = listener.onTap; t1 = t1 == null ? null : t1.call$1(this.localPosition); return t1 == null ? false : t1; }, $signature: 338 }; A.ProxyGestureListener_onDragStart_closure.prototype = { call$1(listener) { var t1 = listener.onDragStart; t1 = t1 == null ? null : t1.call$1(this.localPosition); return t1 == null ? false : t1; }, $signature: 338 }; A.ProxyGestureListener_onDragUpdate_closure.prototype = { call$1(listener) { var t1 = listener.onDragUpdate; t1 = t1 == null ? null : t1.call$2(this.localPosition, this.scale); return t1 == null ? false : t1; }, $signature: 338 }; A.ProxyGestureListener_onDragEnd_closure.prototype = { call$1(listener) { var t1 = listener.onDragEnd; t1 = t1 == null ? null : t1.call$3(this.localPosition, this.scale, this.pixelsPerSecond); return t1 == null ? false : t1; }, $signature: 338 }; A.ProxyGestureListener__cancel_closure.prototype = { call$1(listener) { if (!B.JSArray_methods.contains$1(this.keep, listener)) listener.onTapCancel.call$0(); }, $signature: 850 }; A.ProxyGestureListener__populateActiveListeners_closure.prototype = { call$1(listener) { var t1, _this = this, claimed = listener.onTapTest.call$1(_this.localPosition); if (claimed && !_this._box_0.previouslyClaimed) { t1 = _this.$this; t1._activeListeners = t1._proxy_gesture_listener$_cancel$2$all$keep(t1._activeListeners, A._setArrayType([listener], type$.JSArray_GestureListener)); _this._box_0.previouslyClaimed = true; } else if (claimed || !_this._box_0.previouslyClaimed) _this.$this._activeListeners.push(listener); }, $signature: 850 }; A.MaterialStyle.prototype = {}; A.StyleFactory.prototype = {}; A.BaseSymbolRenderer.prototype = {}; A.SymbolRenderer.prototype = { getSolidStrokeWidthPx$1(strokeWidthPx) { return strokeWidthPx; }, $eq(_, other) { if (other == null) return false; return other instanceof A.SymbolRenderer && true; }, get$hashCode(_) { return 519018; } }; A.RoundedRectSymbolRenderer.prototype = { paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, dashPattern, fillColor, strokeColor, strokeWidthPx) { var t1 = this.radius, t2 = canvas._paint; t2.set$color(0, A.Color$fromARGB(fillColor.a, fillColor.r, fillColor.g, fillColor.b)); t2.set$style(0, B.PaintingStyle_0); canvas.canvas.drawRRect$2(canvas._chart_canvas$_getRRect$6$radius$roundBottomLeft$roundBottomRight$roundTopLeft$roundTopRight(bounds, t1, true, true, true, true), t2); }, paint$5$fillColor$strokeColor$strokeWidthPx(canvas, bounds, fillColor, strokeColor, strokeWidthPx) { return this.paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, null, fillColor, strokeColor, strokeWidthPx); }, paint$5$dashPattern$fillColor$strokeColor(canvas, bounds, dashPattern, fillColor, strokeColor) { return this.paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, dashPattern, fillColor, strokeColor, null); }, shouldRepaint$1(oldRenderer) { return !this.$eq(0, oldRenderer); }, $eq(_, other) { if (other == null) return false; return other instanceof A.RoundedRectSymbolRenderer && other.radius === this.radius && this.super$SymbolRenderer$$eq(0, other); }, get$hashCode(_) { return A.SymbolRenderer.prototype.get$hashCode.call(this, 0) * 37 + B.JSInt_methods.get$hashCode(this.radius); } }; A.LineSymbolRenderer.prototype = { paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, dashPattern, fillColor, strokeColor, strokeWidthPx) { var localStrokeWidthPx, left, right, t1 = bounds.top, t2 = bounds.$ti._precomputed1, centerHeight = (t2._as(t1 + bounds.height) - t1) / 2, localDashPattern = dashPattern == null ? null : dashPattern, roundEndCaps = localDashPattern == null; if (roundEndCaps) localStrokeWidthPx = this.getSolidStrokeWidthPx$1(strokeWidthPx == null ? this.strokeWidth : strokeWidthPx); else localStrokeWidthPx = 2; left = bounds.left; t1 = bounds.width; right = t2._as(left + t1); if (roundEndCaps && t1 >= 5) { left += 2; right -= 2; } t1 = type$.Point_num; t1 = A._setArrayType([new A.Point(left, centerHeight, t1), new A.Point(right, centerHeight, t1)], type$.JSArray_Point_num); canvas.drawLine$6$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx(localDashPattern, fillColor, t1, roundEndCaps, strokeColor, localStrokeWidthPx); }, paint$5$fillColor$strokeColor$strokeWidthPx(canvas, bounds, fillColor, strokeColor, strokeWidthPx) { return this.paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, null, fillColor, strokeColor, strokeWidthPx); }, paint$5$dashPattern$fillColor$strokeColor(canvas, bounds, dashPattern, fillColor, strokeColor) { return this.paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, dashPattern, fillColor, strokeColor, null); }, shouldRepaint$1(oldRenderer) { return !this.$eq(0, oldRenderer); }, $eq(_, other) { if (other == null) return false; return other instanceof A.LineSymbolRenderer && other.strokeWidth === this.strokeWidth && this.super$SymbolRenderer$$eq(0, other); }, get$hashCode(_) { return A.SymbolRenderer.prototype.get$hashCode.call(this, 0) * 37 + B.JSInt_methods.get$hashCode(this.strokeWidth); } }; A.CircleSymbolRenderer.prototype = { paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, dashPattern, fillColor, strokeColor, strokeWidthPx) { var t1 = bounds.width, t2 = bounds.height, t3 = Math.min(t1, t2); A.PointPainter_draw(canvas.canvas, fillColor, canvas._paint, new A.Point(bounds.left + t1 / 2, bounds.top + t2 / 2, type$.Point_double), t3 / 2, strokeColor, this.getSolidStrokeWidthPx$1(strokeWidthPx)); }, paint$5$fillColor$strokeColor$strokeWidthPx(canvas, bounds, fillColor, strokeColor, strokeWidthPx) { return this.paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, null, fillColor, strokeColor, strokeWidthPx); }, paint$5$dashPattern$fillColor$strokeColor(canvas, bounds, dashPattern, fillColor, strokeColor) { return this.paint$6$dashPattern$fillColor$strokeColor$strokeWidthPx(canvas, bounds, dashPattern, fillColor, strokeColor, null); }, shouldRepaint$1(oldRenderer) { var t1 = this.super$SymbolRenderer$$eq(0, oldRenderer); return !t1; }, $eq(_, other) { if (other == null) return false; return other instanceof A.CircleSymbolRenderer && this.super$SymbolRenderer$$eq(0, other); }, get$hashCode(_) { return A.SymbolRenderer.prototype.get$hashCode.call(this, 0) * 37 + A.Primitives_objectHashCode(A.getRuntimeTypeOfDartObject(this)); } }; A.TextDirection0.prototype = { _enumToString$0() { return "TextDirection." + this._core$_name; } }; A.MaxWidthStrategy.prototype = { _enumToString$0() { return "MaxWidthStrategy." + this._core$_name; } }; A.TextMeasurement.prototype = {}; A.TypedRegistry.prototype = {}; A.TypedKey.prototype = { get$hashCode(_) { return B.JSString_methods.get$hashCode(this.uniqueKey); }, $eq(_, other) { if (other == null) return false; return other instanceof A.AttributeKey && this.uniqueKey === other.uniqueKey; } }; A.Series.prototype = { get$id(receiver) { return this.id; } }; A.Series_Series_closure0.prototype = { call$1(index) { index.toString; return this.domainFn.call$2(this.data[index], index); }, $signature() { return this.D._eval$1("0(int?)"); } }; A.Series_Series_closure1.prototype = { call$1(index) { index.toString; return this.measureFn.call$2(this.data[index], index); }, $signature: 849 }; A.Series_Series_closure2.prototype = { call$1(index) { index.toString; return this.colorFn.call$2(this.data[index], index); }, $signature: 242 }; A.Series_Series_closure.prototype = { call$1(index) { index.toString; return this.strokeWidthPxFn.call$2(this.data[index], index); }, $signature: 849 }; A.AttributeKey.prototype = {}; A.SeriesAttributes.prototype = {}; A.BarChart.prototype = { createCommonChart$1(chartState) { var t5, t6, t7, t8, t9, t10, t11, t12, t1 = A.NumericAxis$(), t2 = this.createDisjointMeasureAxes$0(), t3 = A.OrdinalAxis$(), t4 = A.NumericAxis$(); if (t2 == null) t2 = A.LinkedHashMap_LinkedHashMap(null, null, type$.String, type$.NumericAxis); t5 = $.$get$CartesianChart__defaultLayoutConfig(); t6 = type$.String; t7 = type$.ChartBehavior_String; t8 = A._setArrayType([], type$.JSArray_ChartBehavior_String); t9 = type$.JSArray_GestureListener; t10 = A._setArrayType([], t9); t9 = A._setArrayType([], t9); t11 = A._setArrayType([], type$.JSArray_LifecycleListener_String); t12 = A._setArrayType([], type$.JSArray_LayoutView); return new A.BarChart0(true, t3, t1, t4, t2, new A.LayoutManagerImpl(t5, t12), B.Duration_300000, A.LinkedHashSet_LinkedHashSet$_empty(t6), A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.SeriesRenderer_String), A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), t8, A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), new A.ProxyGestureListener(t10, t9), A.LinkedHashMap_LinkedHashMap$_empty(type$.SelectionModelType, type$.MutableSelectionModel_String), t11); }, addDefaultInteractions$1(behaviors) { this.super$BaseChart$addDefaultInteractions(behaviors); behaviors.push(new A.DomainHighlighter(A.LinkedHashSet_LinkedHashSet(type$.GestureType), type$.DomainHighlighter_String)); } }; A.BaseChart.prototype = { createState$0() { var t1 = A._instanceType(this), t2 = t1._eval$1("JSArray<ChartBehavior<BaseChart.D>>"), t3 = type$.SelectionModelType, t4 = t1._eval$1("~(SelectionModel<BaseChart.D>)"); return new A.BaseChartState(A._setArrayType([], t2), A._setArrayType([], t2), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ChartBehavior_dynamic), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.ChartStateBehavior_ChartBehavior_dynamic, type$.AnimationController), null, null, B._StateLifecycle_0, t1._eval$1("BaseChartState<BaseChart.D>")); }, updateCommonChart$3(chart, oldWidget, chartState) { var t1, t2, _this = this, _s21_ = "chartsUpdateRenderers", _s21_0 = "chartsUpdateBehaviors"; $.$get$Performance_time().call$1(_s21_); t1 = _this.defaultRenderer; if (t1 != null) t2 = !t1.$eq(0, oldWidget == null ? null : oldWidget.defaultRenderer); else t2 = false; if (t2) { t1 = A.BarRenderer_BarRenderer(t1, t1.customRendererId, A._instanceType(t1)._precomputed1); t1.rendererId = "default"; chart.addSeriesRenderer$1(t1); chartState._configurationChanged = true; } $.$get$Performance_timeEnd().call$1(_s21_); $.$get$Performance_time().call$1(_s21_0); _this._updateBehaviors$2(chart, chartState); $.$get$Performance_timeEnd().call$1(_s21_0); _this._updateSelectionModel$2(chart, chartState); chart.transition = _this.animationDuration; }, _updateBehaviors$2(chart, chartState) { var behaviorList, i, t2, addedBehavior, role, _this = this, t1 = _this.behaviors; if (t1 == null) t1 = []; behaviorList = A.List_List$from(t1, true, A._instanceType(_this)._eval$1("ChartBehavior<BaseChart.D>")); t1 = chartState.autoBehaviorWidgets; if (t1.length === 0) _this.addDefaultInteractions$1(t1); new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")).super$Iterable$where(0, _this.get$_notACustomBehavior()).forEach$1(0, new A.BaseChart__updateBehaviors_closure(_this, behaviorList)); for (t1 = chartState.addedBehaviorWidgets, i = t1.length - 1, t2 = chartState.addedCommonBehaviorsByRole; i >= 0; --i) { addedBehavior = t1[i]; if (!B.JSArray_methods.remove$1(behaviorList, addedBehavior)) { role = addedBehavior.get$role(addedBehavior); B.JSArray_methods.remove$1(t1, addedBehavior); t2.remove$1(0, role); chart.removeBehavior$1(t2.$index(0, role)); chartState._configurationChanged = true; } } B.JSArray_methods.forEach$1(behaviorList, new A.BaseChart__updateBehaviors_closure0(_this, chartState, chart)); }, addDefaultInteractions$1(behaviors) { behaviors.push(new A.SelectNearest(A.SelectNearest__getDesiredGestures(B.SelectionTrigger_1), B.SelectionModelType_0, B.SelectionTrigger_1, B.SelectionMode_0, true, null, A._instanceType(this)._eval$1("SelectNearest<BaseChart.D>"))); }, _notACustomBehavior$1(behavior) { var t1 = this.behaviors; return t1 == null || !B.JSArray_methods.any$1(t1, new A.BaseChart__notACustomBehavior_closure(behavior)); }, _updateSelectionModel$2(chart, chartState) { var t1 = chartState.addedSelectionChangedListenersByType, prevTypes = A.List_List$from(new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")), true, type$.SelectionModelType); t1 = this.selectionModels; if (t1 != null) B.JSArray_methods.forEach$1(t1, new A.BaseChart__updateSelectionModel_closure(this, chart, chartState, prevTypes)); B.JSArray_methods.forEach$1(prevTypes, new A.BaseChart__updateSelectionModel_closure0(chart, chartState)); }, getDesiredGestures$1(chartState) { var t2, types = A.LinkedHashSet_LinkedHashSet(type$.GestureType), t1 = this.behaviors; if (t1 != null) B.JSArray_methods.forEach$1(t1, new A.BaseChart_getDesiredGestures_closure(types)); t1 = chartState.autoBehaviorWidgets; t2 = t1.length; if (t2 === 0) this.addDefaultInteractions$1(t1); B.JSArray_methods.forEach$1(t1, new A.BaseChart_getDesiredGestures_closure0(types)); return types; } }; A.BaseChart__updateBehaviors_closure.prototype = { call$1(behavior) { B.JSArray_methods.insert$2(this.behaviorList, 0, behavior); }, $signature() { return A._instanceType(this.$this)._eval$1("~(ChartBehavior<BaseChart.D>)"); } }; A.BaseChart__updateBehaviors_closure0.prototype = { call$1(behaviorWidget) { var commonBehavior = behaviorWidget.createCommonBehavior$0(), t1 = this.chart, role = commonBehavior.get$role(commonBehavior), t2 = t1._behaviorRoleMap, t3 = t2.$index(0, role); if (t3 !== commonBehavior) { t1.removeBehavior$1(t2.$index(0, role)); t2.$indexSet(0, role, commonBehavior); } t2 = t1._behaviorStack; if (!B.JSArray_methods.contains$1(t2, commonBehavior)) { t2.push(commonBehavior); commonBehavior.attachTo$1(t1); } t1 = this.chartState; t1.addedBehaviorWidgets.push(behaviorWidget); t1.addedCommonBehaviorsByRole.$indexSet(0, behaviorWidget.get$role(behaviorWidget), commonBehavior); t1._configurationChanged = true; }, $signature() { return A._instanceType(this.$this)._eval$1("~(ChartBehavior<BaseChart.D>)"); } }; A.BaseChart__notACustomBehavior_closure.prototype = { call$1(userBehavior) { var t1 = this.behavior; return userBehavior.get$role(userBehavior) === t1.get$role(t1); }, $signature: 848 }; A.BaseChart__updateSelectionModel_closure.prototype = { call$1(model) { var t1 = model.type, selectionModel = this.chart.getSelectionModel$1(t1), t2 = this.chartState, t3 = t2.addedSelectionChangedListenersByType, prevChangedListener = t3.$index(0, t1), t4 = model.changedListener; if (t4 !== prevChangedListener) { if (prevChangedListener != null) B.JSArray_methods.remove$1(selectionModel._changedListeners, prevChangedListener); selectionModel._changedListeners.push(t4); t3.$indexSet(0, t1, t4); } t2.addedSelectionUpdatedListenersByType.$index(0, t1); B.JSArray_methods.remove$1(this.prevTypes, t1); }, $signature() { return A._instanceType(this.$this)._eval$1("~(SelectionModelConfig<BaseChart.D>)"); } }; A.BaseChart__updateSelectionModel_closure0.prototype = { call$1(type) { var t1 = this.chart.getSelectionModel$1(type), t2 = this.chartState, t3 = t2.addedSelectionChangedListenersByType.$index(0, type); t3.toString; B.JSArray_methods.remove$1(t1._changedListeners, t3); t2 = t2.addedSelectionUpdatedListenersByType.$index(0, type); t2.toString; B.JSArray_methods.remove$1(t1._updatedListeners, t2); }, $signature: 1356 }; A.BaseChart_getDesiredGestures_closure.prototype = { call$1(behavior) { this.types.addAll$1(0, behavior.get$desiredGestures()); }, $signature: 846 }; A.BaseChart_getDesiredGestures_closure0.prototype = { call$1(behavior) { this.types.addAll$1(0, behavior.get$desiredGestures()); }, $signature: 846 }; A.BaseChartState.prototype = { initState$0() { var t1, t2, _this = this, _null = null; _this.super$State$initState(); t1 = A.AnimationController$(_null, _null, _null, 1, _null, _this); t1.didRegisterListener$0(); t2 = t1.AnimationLocalListenersMixin__listeners; t2._isDirty = true; t2._observer_list$_list.push(_this.get$_animationTick()); _this.__BaseChartState__animationController_A = t1; }, requestRebuild$0() { if (this._framework$_element != null) this.super$State$setState(new A.BaseChartState_requestRebuild_closure()); }, setState$1(fn) { if (this._framework$_element != null) this.super$State$setState(fn); }, _buildChartContainer$0() { var t3, t4, t5, chartContainer, desiredGestures, _this = this, _null = null, t1 = _this._oldWidget, t2 = _this._widget; t2.toString; t3 = _this._animationValue; t4 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t4.toString; t5 = _this._widget; chartContainer = new A.ChartContainer(t2, t1, _this, t3, t4.textDirection === B.TextDirection_0, t5.rtlSpec, t5.userManagedState, _null, _null, B.Size_0_0, _null, _null, _this.$ti._eval$1("ChartContainer<1>")); _this._oldWidget = t5; desiredGestures = t5.getDesiredGestures$1(_this); if (desiredGestures._collection$_length !== 0) { t1 = _this._chartGestureDetector; if (t1 == null) t1 = _this._chartGestureDetector = new A.ChartGestureDetector(); t2 = _this._framework$_element; t2.toString; return t1.makeWidget$3(t2, chartContainer, desiredGestures); } else return chartContainer; }, build$1(context) { var t1, _s14_ = "chartContainer", chartWidgets = A._setArrayType([], type$.JSArray_LayoutId), idAndBehaviorMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.BuildableBehavior_ChartBehavior_dynamic); chartWidgets.push(A.LayoutId$(this._buildChartContainer$0(), _s14_)); this.addedCommonBehaviorsByRole.forEach$1(0, new A.BaseChartState_build_closure(idAndBehaviorMap, context, chartWidgets)); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; return new A.CustomMultiChildLayout(new A.WidgetLayoutDelegate(_s14_, t1.textDirection === B.TextDirection_0, idAndBehaviorMap), chartWidgets, null); }, dispose$0() { var t1 = this.__BaseChartState__animationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = this._behaviorAnimationControllers; t1.forEach$1(0, new A.BaseChartState_dispose_closure()); t1.clear$0(0); this.super$_BaseChartState_State_TickerProviderStateMixin$dispose(); }, _animationTick$0() { if (this._framework$_element != null) this.super$State$setState(new A.BaseChartState__animationTick_closure(this)); } }; A.BaseChartState_requestRebuild_closure.prototype = { call$0() { }, $signature: 0 }; A.BaseChartState_build_closure.prototype = { call$2(id, behavior) { if (behavior instanceof A._FlutterSeriesLegend) { type$.BuildableBehavior_ChartBehavior_dynamic._as(behavior); this.idAndBehaviorMap.$indexSet(0, id, behavior); this.chartWidgets.push(A.LayoutId$(behavior.build$1(this.context), id)); } }, $signature: 1371 }; A.BaseChartState_dispose_closure.prototype = { call$2(_, controller) { return controller.dispose$0(); }, $signature: 1372 }; A.BaseChartState__animationTick_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.__BaseChartState__animationController_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1._animationValue = t2; }, $signature: 0 }; A._BaseChartState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.ChartBehavior.prototype = {}; A.GestureType.prototype = { _enumToString$0() { return "GestureType." + this._core$_name; } }; A.DomainHighlighter.prototype = { createCommonBehavior$0() { var t1 = this.$ti, t2 = new A.DomainHighlighter0(B.SelectionModelType_0, t1._eval$1("DomainHighlighter0<1>")); t2.__DomainHighlighter__lifecycleListener_A = new A.LifecycleListener(null, null, t2.get$_updateColorFunctions(), null, t1._eval$1("LifecycleListener<1>")); return t2; }, get$role(_) { return "domainHighlight-" + B.SelectionModelType_0._enumToString$0(); }, $eq(_, o) { if (o == null) return false; return o instanceof A.DomainHighlighter && true; }, get$hashCode(_) { return A.Primitives_objectHashCode(B.SelectionModelType_0); }, get$desiredGestures() { return this.desiredGestures; } }; A.BaseLegendContentBuilder.prototype = { build$4$showMeasures(context, legendState, legend, showMeasures) { var t2, t1 = legendState.__LegendState__legendEntries_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Widget>"); return this.legendLayout.build$2(context, A.List_List$of(new A.MappedListIterable(t1, new A.BaseLegendContentBuilder_build_closure(this, legend, context, showMeasures), t2), true, t2._eval$1("ListIterable.E"))); } }; A.BaseLegendContentBuilder_build_closure.prototype = { call$1(entry) { var symbolRendererBuilder, symbol, label, measure, _this = this, _null = null, t1 = _this.legend, t2 = entry.series, isHidden = t1._hiddenSeriesList.contains$1(0, t2.id), t3 = _this.$this.legendEntryLayout, t4 = _this.context, rowChildren = A._setArrayType([], type$.JSArray_Widget), padding = new A.EdgeInsets(0, 0, 8, 0), entryColor = entry.color, color = A.Color$fromARGB(entryColor.a, entryColor.r, entryColor.g, entryColor.b), t5 = t2._attrs._typed_registry$_registry, t6 = type$.nullable_SeriesRenderer_Object; t6._as(t5.$index(0, B.AttributeKey_I4y)).toString; t5 = t6._as(t5.$index(0, B.AttributeKey_I4y)).symbolRenderer; t2 = t2.dashPatternFn; if (t2 == null) t2 = _null; else t2 = t2.call$1(0); symbolRendererBuilder = new A.SymbolRendererCanvas(t5, t2); if (isHidden) { t2 = color.value; color = A.Color$fromARGB(66, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); } symbol = A.GestureDetector$(_null, A.SizedBox$fromSize(A.CustomPaint$(_null, _null, _null, new A._SymbolCustomPaint(t4, symbolRendererBuilder.commonSymbolRenderer, color, symbolRendererBuilder.dashPattern, _null), B.Size_0_0), new A.Size(12, 12)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.makeTapUpCallback$3(t4, entry, t1), _null, _null, _null, false, B.Offset_O5r); if (isHidden) { color = A.Theme_of(t4).textTheme.bodyMedium.color; color = A.Color$fromARGB(66, color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255); } else color = _null; label = A.GestureDetector$(_null, A.Text$(entry.label, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, color, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.makeTapUpCallback$3(t4, entry, t1), _null, _null, _null, false, B.Offset_O5r); if (_this.showMeasures) { t2 = entry.formattedValue; t2.toString; measure = A.GestureDetector$(_null, A.Text$(t2, _null, _null, _null, _null, _null, _null, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3.makeTapUpCallback$3(t4, entry, t1), _null, _null, _null, false, B.Offset_O5r); } else measure = _null; rowChildren.push(symbol); rowChildren.push(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, padding, _null, _null, _null)); rowChildren.push(label); if (measure != null) { rowChildren.push(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, padding, _null, _null, _null)); rowChildren.push(measure); } return A.Row$(rowChildren, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null); }, $signature: 1376 }; A.TabularLegendContentBuilder.prototype = { $eq(_, o) { var t1; if (o == null) return false; if (o instanceof A.TabularLegendContentBuilder) t1 = this.legendLayout.$eq(0, o.legendLayout); else t1 = false; return t1; }, get$hashCode(_) { return A.hashValues(this.legendEntryLayout, this.legendLayout, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.SimpleLegendEntryLayout.prototype = { makeTapUpCallback$3(context, legendEntry, legend) { return new A.SimpleLegendEntryLayout_makeTapUpCallback_closure(legend, legendEntry); }, $eq(_, other) { if (other == null) return false; return other instanceof A.SimpleLegendEntryLayout; }, get$hashCode(_) { return A.Primitives_objectHashCode(A.getRuntimeTypeOfDartObject(this)); } }; A.SimpleLegendEntryLayout_makeTapUpCallback_closure.prototype = { call$1(d) { this.legend.onLegendEntryTapUp$1(this.legendEntry); }, $signature: 118 }; A.TabularLegendLayout.prototype = { build$2(context, legendEntries) { var paddedLegendEntries, t1, _this = this; if (_this.cellPadding == null) paddedLegendEntries = legendEntries; else { t1 = A._arrayInstanceType(legendEntries)._eval$1("MappedListIterable<1,Padding>"); paddedLegendEntries = A.List_List$of(new A.MappedListIterable(legendEntries, new A.TabularLegendLayout_build_closure(_this), t1), true, t1._eval$1("ListIterable.E")); } return _this.isHorizontalFirst ? _this._buildHorizontalFirst$1(paddedLegendEntries) : _this._buildVerticalFirst$1(paddedLegendEntries); }, $eq(_, o) { var _this = this; if (o == null) return false; return o instanceof A.TabularLegendLayout && _this.desiredMaxRows === o.desiredMaxRows && _this.desiredMaxColumns === o.desiredMaxColumns && _this.isHorizontalFirst === o.isHorizontalFirst && J.$eq$(_this.cellPadding, o.cellPadding); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.desiredMaxRows, _this.desiredMaxColumns, _this.isHorizontalFirst, _this.cellPadding, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, _buildHorizontalFirst$1(legendEntries) { var rows, i, i0, t1 = this.desiredMaxColumns, maxColumns = legendEntries.length; maxColumns = t1 === -1 ? maxColumns : Math.min(maxColumns, t1); rows = A._setArrayType([], type$.JSArray_TableRow); for (i = 0; t1 = legendEntries.length, i < t1; i = i0) { i0 = i + maxColumns; t1 = B.JSArray_methods.sublist$2(legendEntries, i, Math.min(i0, t1)); t1 = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1)); rows.push(new A.TableRow(null, null, t1)); } return this._buildTableFromRows$1(rows); }, _buildVerticalFirst$1(legendEntries) { var rows, _i, i, t1 = this.desiredMaxRows, maxRows = legendEntries.length; maxRows = t1 === -1 ? maxRows : Math.min(maxRows, t1); rows = J.JSArray_JSArray$allocateGrowable(maxRows, type$.TableRow); for (t1 = type$.JSArray_Widget, _i = 0; _i < maxRows; ++_i) rows[_i] = new A.TableRow(null, null, A._setArrayType([], t1)); for (i = 0; i < legendEntries.length; ++i) B.JSArray_methods.add$1(rows[B.JSInt_methods.$mod(i, maxRows)].children, legendEntries[i]); return this._buildTableFromRows$1(rows); }, _buildTableFromRows$1(rows) { var i, rowChildren, padCount, _null = null, t1 = this.cellPadding, padWidget = new A.Padding(t1 == null ? B.EdgeInsets_8_8_8_8 : t1, _null, _null), columnCount = new A.MappedListIterable(rows, new A.TabularLegendLayout__buildTableFromRows_closure(), A._arrayInstanceType(rows)._eval$1("MappedListIterable<1,int>")).fold$1$2(0, 0, new A.TabularLegendLayout__buildTableFromRows_closure0(), type$.int); for (t1 = type$.Padding, i = 0; i < rows.length; ++i) { rowChildren = rows[i].children; padCount = columnCount - rowChildren.length; if (padCount > 0) B.JSArray_methods.addAll$1(rowChildren, A.Iterable_Iterable$generate(padCount, new A.TabularLegendLayout__buildTableFromRows_closure1(padWidget), t1)); } return A.Table$(_null, rows, _null, new A.IntrinsicColumnWidth(_null), B.TableCellVerticalAlignment_0, _null); } }; A.TabularLegendLayout_build_closure.prototype = { call$1(entry) { var t1 = this.$this.cellPadding; t1.toString; return new A.Padding(t1, entry, null); }, $signature: 1381 }; A.TabularLegendLayout__buildTableFromRows_closure.prototype = { call$1(r) { return r.children.length; }, $signature: 1392 }; A.TabularLegendLayout__buildTableFromRows_closure0.prototype = { call$2(max, current) { return current > max ? current : max; }, $signature: 478 }; A.TabularLegendLayout__buildTableFromRows_closure1.prototype = { call$1(_) { return this.padWidget; }, $signature: 1393 }; A.SeriesLegend.prototype = { createCommonBehavior$0() { var _this = this, _null = null, t1 = _this.$ti, t2 = t1._precomputed1, t3 = _this.selectionModelType, t4 = new A.PerSeriesLegendEntryGenerator(t1._eval$1("PerSeriesLegendEntryGenerator<1>")); t1 = new A._FlutterSeriesLegend(_this, A.LinkedHashSet_LinkedHashSet$_empty(type$.String), t3, new A.LegendState(t1._eval$1("LegendState<1>")), t4, t1._eval$1("_FlutterSeriesLegend<1>")); t1.Legend$3$entryTextStyle$legendEntryGenerator$selectionModelType(_null, t4, t3, t2); t1.SeriesLegend$7$entryTextStyle$legendDefaultMeasure$legendEntryGenerator$measureFormatter$secondaryMeasureFormatter$selectionModelType$showMeasures(_null, _this.legendDefaultMeasure, _null, _this.measureFormatter, _this.secondaryMeasureFormatter, t3, _null, t2); t1.super$SeriesLegend$defaultHiddenSeries(_this.defaultHiddenSeries); t1.super$Legend$entryTextStyle(_this.entryTextStyle); return t1; }, get$role(_) { return "legend"; }, $eq(_, o) { var t1, _this = this; if (o == null) return false; if (o instanceof A.SeriesLegend) if (_this.selectionModelType === o.selectionModelType) if (_this.contentBuilder.$eq(0, o.contentBuilder)) if (_this.position === o.position) if (_this.outsideJustification === o.outsideJustification) if (_this.insideJustification === o.insideJustification) if (new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic).equals$2(_this.defaultHiddenSeries, o.defaultHiddenSeries)) if (_this.legendDefaultMeasure === o.legendDefaultMeasure) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.selectionModelType, _this.contentBuilder, _this.position, _this.outsideJustification, _this.insideJustification, _this.defaultHiddenSeries, false, _this.legendDefaultMeasure, _this.measureFormatter, _this.secondaryMeasureFormatter, _this.entryTextStyle); }, get$desiredGestures() { return this.desiredGestures; } }; A._FlutterSeriesLegend.prototype = { build$1(context) { var _this = this, t1 = _this.legendState, t2 = t1.__LegendState__legendEntries_A; t2 === $ && A.throwUnnamedLateFieldNI(); B.JSArray_methods.any$1(t2, new A._FlutterSeriesLegend_build_closure(_this)); return _this.config.contentBuilder.build$4$showMeasures(context, t1, _this, false); }, onLegendEntryTapUp$1(detail) { var seriesId, t1, _this = this; switch (1) { case 1: seriesId = detail.series.id; if (_this._hiddenSeriesList.contains$1(0, seriesId)) _this.showSeries$1(seriesId); else _this.hideSeries$1(seriesId); t1 = _this.__Legend__chart_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.redraw$2$skipAnimation$skipLayout(false, true); break; } }, $isBuildableBehavior: 1 }; A._FlutterSeriesLegend_build_closure.prototype = { call$1(entry) { return entry.isSelected; }, $signature() { return this.$this.$ti._eval$1("bool(LegendEntry<1>)"); } }; A.LinePointHighlighter.prototype = { createCommonBehavior$0() { var _null = null, t1 = this.$ti, t2 = A.LinkedHashMap_LinkedHashMap(_null, _null, type$.String, t1._eval$1("_AnimatedPoint<1>")), t3 = A._setArrayType([], type$.JSArray_String), t4 = A._setArrayType([1, 3], type$.JSArray_int); t2 = new A.LinePointHighlighter0(B.SelectionModelType_0, 4, 2, B.LinePointHighlighterFollowLineType_1, B.LinePointHighlighterFollowLineType_0, t4, true, new A.CircleSymbolRenderer(true), t2, t3, t1._eval$1("LinePointHighlighter0<1>")); t2.__LinePointHighlighter__lifecycleListener_A = new A.LifecycleListener(_null, _null, _null, t2.get$_updateViewData(), t1._eval$1("LifecycleListener<1>")); return t2; }, get$role(_) { return "LinePointHighlighter-" + B.JSNull_methods.toString$0(null); }, $eq(_, o) { if (o == null) return false; return o instanceof A.LinePointHighlighter && new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic).equals$2(null, null) && true; }, get$hashCode(_) { var _null = null; return A.hashValues(_null, _null, _null, _null, _null, _null, _null, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, get$desiredGestures() { return this.desiredGestures; } }; A.SelectNearest.prototype = { createCommonBehavior$0() { var _this = this, t1 = _this.selectionModelType, t2 = _this.eventTrigger, t3 = _this.selectionMode, t4 = _this.maximumDomainDistancePx, t5 = _this.$ti, t6 = new A.SelectNearest0(t1, t2, t3, true, t4, t5._eval$1("SelectNearest0<1>")); t6.SelectNearest$7$eventTrigger$hoverEventDelay$maximumDomainDistancePx$selectAcrossAllSeriesRendererComponents$selectClosestSeries$selectionMode$selectionModelType(t2, null, t4, true, true, t3, t1, t5._precomputed1); return t6; }, get$role(_) { return "SelectNearest-" + this.selectionModelType._enumToString$0() + "}"; }, $eq(_, other) { var t1; if (other == null) return false; if (other instanceof A.SelectNearest) { if (this.selectionModelType === other.selectionModelType) if (this.eventTrigger === other.eventTrigger) if (this.selectionMode === other.selectionMode) t1 = true; else t1 = false; else t1 = false; else t1 = false; return t1; } else return false; }, get$hashCode(_) { var _this = this, hashcode = A.Primitives_objectHashCode(_this.selectionModelType), t1 = A.Primitives_objectHashCode(_this.eventTrigger), t2 = A.Primitives_objectHashCode(_this.selectionMode); return (((hashcode * 37 + t1) * 37 + t2) * 37 + 519018) * 37 + B.JSNull_methods.get$hashCode(_this.maximumDomainDistancePx); }, get$desiredGestures() { return this.desiredGestures; } }; A.LinePainter__drawDashedLine_closure.prototype = { call$0() { var t1 = this.localDashPattern, t2 = this._box_0, t3 = t2.dashPatternIndex, dashSegment = t1[t3]; t2.dashPatternIndex = (t3 + 1) % t1.length; return dashSegment; }, $signature: 14 }; A.CartesianChart0.prototype = { createDisjointMeasureAxes$0() { return null; } }; A.ChartCanvas.prototype = { drawLine$7$clipBounds$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx(clipBounds, dashPattern, fill, points, roundEndCaps, stroke, strokeWidthPx) { A.LinePainter_draw(this.canvas, clipBounds, dashPattern, fill, this._paint, points, roundEndCaps, null, stroke, strokeWidthPx); }, drawLine$6$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx(dashPattern, fill, points, roundEndCaps, stroke, strokeWidthPx) { return this.drawLine$7$clipBounds$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx(null, dashPattern, fill, points, roundEndCaps, stroke, strokeWidthPx); }, drawLine$6$clipBounds$dashPattern$points$roundEndCaps$stroke$strokeWidthPx(clipBounds, dashPattern, points, roundEndCaps, stroke, strokeWidthPx) { return this.drawLine$7$clipBounds$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx(clipBounds, dashPattern, null, points, roundEndCaps, stroke, strokeWidthPx); }, drawLine$5$dashPattern$fill$points$stroke$strokeWidthPx(dashPattern, fill, points, stroke, strokeWidthPx) { return this.drawLine$7$clipBounds$dashPattern$fill$points$roundEndCaps$stroke$strokeWidthPx(null, dashPattern, fill, points, null, stroke, strokeWidthPx); }, drawPolygon$3$clipBounds$fill$points(clipBounds, fill, points) { A.PolygonPainter_draw(this.canvas, clipBounds, fill, this._paint, points, null, null); }, _createHintGradient$3(left, $top, fill) { var t1 = fill.r, t2 = fill.g, t3 = fill.b; return A.Gradient_Gradient$linear(new A.Offset(left, $top), new A.Offset(left, $top - 5), A._setArrayType([A.Color$fromARGB(fill.a, t1, t2, t3), A.Color$fromARGB(0, t1, t2, t3)], type$.JSArray_Color_2), null, B.TileMode_0, null); }, drawRect$6$drawAreaBounds$fill$pattern$stroke$strokeWidthPx(bounds, drawAreaBounds, fill, pattern, stroke, strokeWidthPx) { var t3, _this = this, drawStroke = strokeWidthPx != null && strokeWidthPx > 0 && stroke != null, strokeWidthOffset = drawStroke ? strokeWidthPx : 0, t1 = strokeWidthOffset / 2, t2 = bounds.top, fillRectBounds = A.Rectangle$(bounds.left + t1, t2 + t1, bounds.width - strokeWidthOffset, bounds.height - strokeWidthOffset, type$.num); switch (pattern) { case B.FillPatternType_0: t1 = _this.canvas; fill.toString; _this._drawForwardHatchPattern$4$drawAreaBounds$fill(fillRectBounds, t1, drawAreaBounds, fill); break; case B.FillPatternType_1: default: t1 = _this._paint; t1.set$color(0, A.Color$fromARGB(fill.a, fill.r, fill.g, fill.b)); t1.set$style(0, B.PaintingStyle_0); t3 = drawAreaBounds.top; if (t2 < t3) t1.set$shader(_this._createHintGradient$3(drawAreaBounds.left, t3, fill)); t2 = _this.canvas; t2.drawRect$2(_this._getRect$1(fillRectBounds), t1); t1 = t2; break; } if (drawStroke) { t2 = _this._paint; t2.set$color(0, A.Color$fromARGB(stroke.a, stroke.r, stroke.g, stroke.b)); t2.set$shader(_this._createHintGradient$3(drawAreaBounds.left, drawAreaBounds.top, stroke)); t2.set$strokeJoin(B.StrokeJoin_1); t2.set$strokeWidth(strokeWidthPx); t2.set$style(0, B.PaintingStyle_1); t1.drawRect$2(_this._getRect$1(bounds), t2); } _this._paint.set$shader(null); }, drawBarStack$2$drawAreaBounds(barStack, drawAreaBounds) { var t2, barIndex, segment, _this = this, t1 = barStack.radius, roundedCorners = 0 < t1; if (roundedCorners) { t2 = _this.canvas; t2.save$0(0); t2.clipRRect$1(_this._chart_canvas$_getRRect$6$radius$roundBottomLeft$roundBottomRight$roundTopLeft$roundTopRight(barStack.fullStackRect, t1, barStack.roundBottomLeft, barStack.roundBottomRight, barStack.roundTopLeft, barStack.roundTopRight)); } for (t1 = barStack.segments, barIndex = 0; barIndex < t1.length; ++barIndex) { segment = t1[barIndex]; _this.drawRect$6$drawAreaBounds$fill$pattern$stroke$strokeWidthPx(segment.bounds, drawAreaBounds, segment.fill, segment.pattern, segment.stroke, segment.strokeWidthPx); } if (roundedCorners) _this.canvas.restore$0(0); }, _getRect$1(rectangle) { var t1 = rectangle.left, t2 = rectangle.top; return new A.Rect(t1, t2, t1 + rectangle.width, t2 + rectangle.height); }, _chart_canvas$_getRRect$6$radius$roundBottomLeft$roundBottomRight$roundTopLeft$roundTopRight(rectangle, radius, roundBottomLeft, roundBottomRight, roundTopLeft, roundTopRight) { var t5, t6, t7, cornerRadius = radius === 0 ? B.Radius_0_0 : new A.Radius(radius, radius), t1 = rectangle.left, t2 = rectangle.top, t3 = rectangle.$ti._precomputed1, t4 = t3._as(t1 + rectangle.width); t3 = t3._as(t2 + rectangle.height); t5 = roundTopLeft ? cornerRadius : B.Radius_0_0; t6 = roundTopRight ? cornerRadius : B.Radius_0_0; t7 = roundBottomLeft ? cornerRadius : B.Radius_0_0; return A.RRect$fromLTRBAndCorners(t1, t2, t4, t3, t7, roundBottomRight ? cornerRadius : B.Radius_0_0, t5, t6); }, _drawForwardHatchPattern$4$drawAreaBounds$fill(bounds, canvas, drawAreaBounds, fill) { var t1, t2, t3, t4, smallSide, smallSide0, size, t5, x0, x1, y0, y1, isVertical, start, end, lineShader, i, modifier, _this = this, _null = null; $.$get$StyleFactory__styleFactory(); t1 = _this._paint; t1.set$color(0, A.Color$fromARGB(255, 255, 255, 255)); t1.set$style(0, B.PaintingStyle_0); t2 = bounds.top; t3 = drawAreaBounds.top; t4 = t2 < t3; if (t4) t1.set$shader(_this._createHintGradient$3(drawAreaBounds.left, t3, B.Color_toQ)); canvas.drawRect$2(_this._getRect$1(bounds), t1); smallSide = bounds.width; smallSide0 = bounds.height; size = Math.max(smallSide, smallSide0); t5 = bounds.left; x0 = t5 + size + 4; x1 = t5 - 4; t2 = bounds.$ti._precomputed1._as(t2 + smallSide0); y0 = t2 - size - 4; y1 = t2 + 4; isVertical = smallSide0 >= smallSide; start = -B.JSNumber_methods.round$0((isVertical ? smallSide : smallSide0) / 8) * 8; end = size + 8; lineShader = t4 ? _this._createHintGradient$3(drawAreaBounds.left, t3, fill) : _null; for (t2 = type$.Point_num, t3 = type$.JSArray_Point_num, i = start; i < end; i += 8) { modifier = isVertical ? -1 * i : i; A.LinePainter_draw(canvas, _null, _null, _null, t1, A._setArrayType([new A.Point(x0 + modifier, y0, t2), new A.Point(x1 + modifier, y1, t2)], t3), _null, lineShader, fill, 4); } } }; A.ChartContainer.prototype = { createRenderObject$1(context) { var _null = null, t1 = new A.ChartContainerRenderObject(_null, _null, B.Size_0_0, false, false, _null, A.LayerHandle$(type$.ContainerLayer_2), this.$ti._eval$1("ChartContainerRenderObject<1>")); t1.RenderObject$0(); t1.set$child(_null); t1.reconfigure$2(this, context); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.reconfigure$2(this, context); } }; A.ChartContainerRenderObject.prototype = { reconfigure$2(config, context) { var t1, t2, t3, t4, prev, t5, _this = this, _s12_ = "chartsCreate", _s12_0 = "chartsConfig", _s10_ = "chartsDraw"; _this.__ChartContainerRenderObject__chartState_A = config.chartState; t1 = config.chartWidget; _this._dateTimeFactory = null; _this._dateTimeFactory = new A.LocalDateTimeFactory(); if (_this._chart_container$_chart == null) { $.$get$Performance_time().call$1(_s12_); t2 = t1.createCommonChart$1(_this.__ChartContainerRenderObject__chartState_A); _this._chart_container$_chart = t2; t3 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_3); t3 = t3 == null ? null : t3.get$textScaler().textScaleFactor; if (t3 == null) t3 = 1; t4 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); t2.init$2(_this, new A.GraphicsFactory(t3, t4 == null ? B.DefaultTextStyle_MTi : t4)); $.$get$Performance_timeEnd().call$1(_s12_); } $.$get$Performance_time().call$1(_s12_0); t2 = _this._chart_container$_chart; t2.toString; prev = config.oldChartWidget; t3 = _this.__ChartContainerRenderObject__chartState_A; t1.super$BaseChart$updateCommonChart(t2, prev, t3); t4 = t1.domainAxis; t5 = !t4.$eq(0, prev == null ? null : prev.domainAxis); if (t5) { if (!J.$eq$(t2._domainAxisSpec, t4)) { t2._newDomainAxis = t2.createDomainAxisFromSpec$1(t4); t2._newDomainAxisSpec = t4; } t3._configurationChanged = true; } t4 = t1.primaryMeasureAxis; if (!t4.$eq(0, prev == null ? null : prev.primaryMeasureAxis)) { t2._newPrimaryMeasureAxisSpec = t4; t3._configurationChanged = true; } _this._rtlSpec = config.rtlSpec; _this._chartContainerIsRtl = config.rtl; $.$get$Performance_timeEnd().call$1(_s12_0); if (_this.__ChartContainerRenderObject__chartState_A._configurationChanged) _this._chart_container$_chart.configurationChanged$0(); t1 = t1.seriesList; if (_this._seriesList !== t1 || _this.__ChartContainerRenderObject__chartState_A._configurationChanged) { _this.__ChartContainerRenderObject__chartState_A._configurationChanged = false; _this._seriesList = t1; _this._a11yNodes = null; $.$get$Performance_time().call$1(_s10_); t1 = _this._chart_container$_chart; t1.toString; t2 = _this._seriesList; t2.toString; t1.draw$1(t2); $.$get$Performance_timeEnd().call$1(_s10_); _this._chart_container$_chart.animationPercent = 0; _this.markNeedsLayout$0(); } else { _this._chart_container$_chart.animationPercent = config.animationValue; _this.markNeedsPaint$0(); } _this._updateUserManagedState$1(config.userManagedState); t1 = type$.nullable_ChartContainerCustomPaint._as(_this._custom_paint$_painter); t2 = _this._chart_container$_chart; t2.toString; t3 = A._setArrayType([], type$.JSArray_A11yNode); _this.set$painter(A.ChartContainerCustomPaint_ChartContainerCustomPaint(t3, t2, false, t1, _this._chartContainerIsRtl ? B.TextDirection_0 : B.TextDirection_1)); }, _updateUserManagedState$1(newState) { return; }, performLayout$0() { var t1, t2, t3, t4, _this = this, _s12_ = "chartsLayout"; $.$get$Performance_time().call$1(_s12_); t1 = _this._chart_container$_chart; t1.toString; t2 = type$.BoxConstraints; t3 = B.JSNumber_methods.toInt$0(t2._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth); t4 = B.JSNumber_methods.toInt$0(t2._as(A.RenderObject.prototype.get$constraints.call(_this)).maxHeight); if (t1._rendererToSeriesList != null) t1._layoutManager.measure$2(0, t3, t4); t1 = _this._chart_container$_chart; t1.toString; t1.layout$2(B.JSNumber_methods.toInt$0(t2._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth), B.JSNumber_methods.toInt$0(t2._as(A.RenderObject.prototype.get$constraints.call(_this)).maxHeight)); $.$get$Performance_timeEnd().call$1(_s12_); t2 = t2._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._box$_size = new A.Size(A.clampDouble(1 / 0, t2.minWidth, t2.maxWidth), A.clampDouble(1 / 0, t2.minHeight, t2.maxHeight)); }, markNeedsLayout$0() { this.super$RenderBox$markNeedsLayout(); if (this._object$_parent != null) this.markParentNeedsLayout$0(); }, hitTestSelf$1(position) { return true; }, requestAnimation$1(transition) { var t1 = $.SchedulerBinding__instance; if (!t1.SchedulerBinding__hasScheduledFrame) t1.scheduleFrame$0(); $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.ChartContainerRenderObject_requestAnimation_startAnimationController(this, transition)); }, requestRebuild$0() { $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.ChartContainerRenderObject_requestRebuild_doRebuild(this)); }, get$isRtl() { if (this._chartContainerIsRtl) var t1 = true; else t1 = false; return t1; } }; A.ChartContainerRenderObject_requestAnimation_startAnimationController.prototype = { call$1(_) { var t2, t3, t1 = this.$this.__ChartContainerRenderObject__chartState_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this.transition; t3 = t1.__BaseChartState__animationController_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3.duration = t2; t3.forward$1$from(0, t2._duration === B.Duration_0._duration ? 1 : 0); t3 = t1.__BaseChartState__animationController_A.__AnimationController__value_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1._animationValue = t3; }, $signature: 10 }; A.ChartContainerRenderObject_requestRebuild_doRebuild.prototype = { call$1(_) { var t1 = this.$this.__ChartContainerRenderObject__chartState_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.requestRebuild$0(); }, $signature: 10 }; A.ChartContainerCustomPaint.prototype = { paint$2(canvas, size) { var t1, _s11_ = "chartsPaint"; $.$get$Performance_time().call$1(_s11_); t1 = this.chart; t1.graphicsFactory.toString; t1.paint$1(new A.ChartCanvas(canvas, $.$get$_renderer().createPaint$0())); $.$get$Performance_timeEnd().call$1(_s11_); }, shouldRepaint$1(oldPainter) { return false; }, shouldRebuildSemantics$1(oldDelegate) { return this.a11yNodes !== oldDelegate.a11yNodes || false; }, get$semanticsBuilder() { return this.get$_buildSemantics(); }, _buildSemantics$1(size) { var t1, t2, _i, node, t3, t4, t5, t6, _null = null, nodes = A._setArrayType([], type$.JSArray_CustomPainterSemantics); for (t1 = this.a11yNodes, t2 = this.textDirection, _i = 0; false; ++_i) { node = t1[_i]; t3 = node.get$boundingBox(node); t3 = t3.get$left(t3).toDouble$0(0); t4 = node.get$boundingBox(node); t4 = t4.get$top(t4).toDouble$0(0); t5 = node.get$boundingBox(node); t5 = t5.get$width(t5).toDouble$0(0); t6 = node.get$boundingBox(node); t6 = t6.get$height(t6).toDouble$0(0); nodes.push(new A.CustomPainterSemantics(new A.Rect(t3, t4, t3.$add(0, t5), t4.$add(0, t6)), new A.SemanticsProperties(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, node.get$label(node), _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, node.get$onFocus(node), _null, _null, _null))); } return nodes; } }; A.ChartGestureDetector.prototype = { get$_containerResolver() { var t1 = this.__ChartGestureDetector__containerResolver_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, makeWidget$3(context, chartContainer, desiredGestures) { var t1, wantTap, wantDrag, t2, t3, t4, _this = this, _null = null; _this.__ChartGestureDetector__containerResolver_A = new A.ChartGestureDetector_makeWidget_closure(context); t1 = desiredGestures._collection$_length; wantTap = desiredGestures.contains$1(0, B.GestureType_1); wantDrag = desiredGestures.contains$1(0, B.GestureType_3); _this._listeningForLongPress = desiredGestures.contains$1(0, B.GestureType_0); t1 = t1 !== 0 ? _this.get$onTapDown() : _null; t2 = wantTap ? _this.get$onTapUp() : _null; t3 = wantDrag ? _this.get$onScaleStart() : _null; t4 = wantDrag ? _this.get$onScaleUpdate() : _null; return A.GestureDetector$(_null, chartContainer, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, wantDrag ? _this.get$onScaleEnd() : _null, t3, t4, _null, _null, _null, _null, _null, _null, t1, t2, _null, _null, _null, false, B.Offset_O5r); }, onTapDown$1(d) { var t2, _this = this, container = _this._containerResolver$0(), localPosition = container.globalToLocal$1(d.globalPosition), t1 = new A.Point(localPosition._dx, localPosition._dy, type$.Point_double); _this._lastTapPoint = t1; t2 = container._chart_container$_chart._gestureProxy; B.JSArray_methods.clear$0(t2._activeListeners); t2._populateActiveListeners$1(t1); if (_this._listeningForLongPress) _this._longPressTimer = A.Timer_Timer(B.Duration_500000, new A.ChartGestureDetector_onTapDown_closure(_this)); }, onTapUp$1(d) { var container, localPosition, t1 = this._longPressTimer; if (t1 != null) t1.cancel$0(0); container = this._containerResolver$0(); localPosition = container.globalToLocal$1(d.globalPosition); t1 = new A.Point(localPosition._dx, localPosition._dy, type$.Point_double); this._lastTapPoint = t1; container._chart_container$_chart._gestureProxy.onTap$1(t1); }, onScaleStart$1(d) { var container, localPosition, _this = this, t1 = _this._longPressTimer; if (t1 != null) t1.cancel$0(0); container = _this._containerResolver$0(); localPosition = container.globalToLocal$1(d.focalPoint); t1 = new A.Point(localPosition._dx, localPosition._dy, type$.Point_double); _this._lastTapPoint = t1; _this._isDragging = container._chart_container$_chart._gestureProxy.onDragStart$1(0, t1); }, onScaleUpdate$1(d) { var container, localPosition, t1, t2, _this = this; if (!_this._isDragging) return; container = _this._containerResolver$0(); localPosition = container.globalToLocal$1(d.focalPoint); t1 = new A.Point(localPosition._dx, localPosition._dy, type$.Point_double); _this._lastTapPoint = t1; t2 = d.scale; _this._lastScale = t2; container._chart_container$_chart._gestureProxy.onDragUpdate$2(t1, t2); }, onScaleEnd$1(d) { var t1, t2, t3, _this = this; if (!_this._isDragging) return; t1 = _this._containerResolver$0()._chart_container$_chart._gestureProxy; t2 = _this._lastTapPoint; t2.toString; t3 = _this._lastScale; t3.toString; t1.onDragEnd$3(0, t2, t3, d.velocity.pixelsPerSecond._dx); }, _containerResolver$0() { return this.get$_containerResolver().call$0(); } }; A.ChartGestureDetector_makeWidget_closure.prototype = { call$0() { var t1 = this.context.get$renderObject(); t1.toString; return A.getChartContainerRenderObject(type$.RenderBox._as(t1)); }, $signature: 1451 }; A.ChartGestureDetector_onTapDown_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._containerResolver$0()._chart_container$_chart._gestureProxy, t3 = t1._lastTapPoint; t3.toString; t2.onLongPress$1(t3); t1._longPressTimer = null; }, $signature: 0 }; A.GraphicsFactory.prototype = { createTextPaint$0() { var t1 = new A.TextStyle0(); t1.fontFamily = this.defaultTextStyle.style.fontFamily; return t1; }, createTextElement$1(text) { var t1 = new A.TextElement(text, this.textScaleFactor, B.TextDirection_00); t1.set$textStyle(this.createTextPaint$0()); return t1; } }; A.LineStyle.prototype = {}; A.SelectionModelConfig.prototype = {}; A.SymbolRendererCanvas.prototype = {}; A._SymbolCustomPaint.prototype = { paint$2(canvas, size) { var commonColor, t2, _this = this, bounds = A.Rectangle$(0, 0, B.JSNumber_methods.toInt$0(size._dx), B.JSNumber_methods.toInt$0(size._dy), type$.num), t1 = _this.color; if (t1 == null) commonColor = null; else { t1 = t1.value; commonColor = new A.Color0(t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255, t1 >>> 24 & 255, null, null); } t1 = _this.context; t2 = A.MediaQuery__maybeOf(t1, B._MediaQueryAspect_3); if (t2 != null) t2.get$textScaler(); t1.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); _this.symbolRenderer.paint$5$dashPattern$fillColor$strokeColor(new A.ChartCanvas(canvas, $.$get$_renderer().createPaint$0()), bounds, _this.dashPattern, commonColor, commonColor); }, shouldRepaint$1(oldDelegate) { return this.symbolRenderer.shouldRepaint$1(oldDelegate.symbolRenderer); } }; A.TextElement.prototype = { set$textStyle(value) { if (J.$eq$(this._text_element$_textStyle, value)) return; this._text_element$_textStyle = value; this._painterReady = false; }, set$textDirection(direction) { if (this._text_element$_textDirection === direction) return; this._text_element$_textDirection = direction; this._painterReady = false; }, set$maxWidth(_, value) { if (this._text_element$_maxWidth == value) return; this._text_element$_maxWidth = value; this._painterReady = false; }, set$maxWidthStrategy(maxWidthStrategy) { if (this._maxWidthStrategy == maxWidthStrategy) return; this._maxWidthStrategy = maxWidthStrategy; this._painterReady = false; }, get$measurement() { if (!this._painterReady) this._refreshPainter$0(); var t1 = this.__TextElement__measurement_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, _refreshPainter$0() { var t2, t3, color, t4, _this = this, _null = null, t1 = _this._text_element$_opacity; if (t1 == null) t1 = _this._text_element$_opacity = 1; t2 = _this._text_element$_textStyle; t3 = t2 == null; if (t3 || t2.color == null) color = _null; else { t4 = t2.color; color = A.Color$fromARGB(B.JSNumber_methods.round$0(t4.a * t1), t4.r, t4.g, t4.b); } if (t3) t1 = _null; else { t1 = t2.fontSize; if (t1 == null) t1 = _null; } t4 = t3 ? _null : t2.fontFamily; t1 = A.TextPainter$(_null, _null, _null, _null, A.TextSpan$(_null, _null, A.TextStyle$(_null, _null, color, _null, _null, _null, _null, _null, t4, _null, _null, t1, _null, _null, _null, _null, t3 ? _null : t2.lineHeight, true, _null, _null, _null, _null, _null, _null, _null, _null), _this.text), B.TextAlign_4, _null, _null, B._LinearTextScaler_1, B.TextWidthBasis_0); t1.set$textDirection(B.TextDirection_1); t1.set$textAlign(0, B.TextAlign_0); t1.set$ellipsis(_this._maxWidthStrategy === B.MaxWidthStrategy_1 ? "\u2026" : _null); _this.__TextElement__textPainter_A = t1; t1.set$textScaler(new A._LinearTextScaler(_this.textScaleFactor)); t1 = _this.__TextElement__textPainter_A; t2 = _this._text_element$_maxWidth; if (t2 == null) t2 = _null; t1.layout$1$maxWidth(t2 == null ? 1 / 0 : t2); _this.__TextElement__textPainter_A._layoutCache.layout.getDistanceToBaseline$1(B.TextBaseline_0); t1 = _this.__TextElement__textPainter_A._layoutCache; t2 = t1.contentWidth; t1 = t1.layout._paragraph; _this.__TextElement__measurement_A = new A.TextMeasurement(t2, t1.get$height(t1) * 0.7); _this._painterReady = true; }, $isTextElement2: 1 }; A.TextStyle0.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.TextStyle0 && _this.fontSize == other.fontSize && _this.fontFamily == other.fontFamily && _this.fontWeight == other.fontWeight && J.$eq$(_this.color, other.color) && true; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.fontSize, _this.fontFamily, _this.color, _this.lineHeight, _this.fontWeight, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.TimeSeriesChart0.prototype = { createCommonChart$1(chartState) { var t5, t6, t7, t8, t9, t10, t11, t12, t1 = A.NumericAxis$(), t2 = this.createDisjointMeasureAxes$0(), t3 = A.DateTimeAxis$(B.C_LocalDateTimeFactory), t4 = A.NumericAxis$(); if (t2 == null) t2 = A.LinkedHashMap_LinkedHashMap(null, null, type$.String, type$.NumericAxis); t5 = $.$get$CartesianChart__defaultLayoutConfig(); t6 = type$.String; t7 = type$.ChartBehavior_DateTime; t8 = A._setArrayType([], type$.JSArray_ChartBehavior_DateTime); t9 = type$.JSArray_GestureListener; t10 = A._setArrayType([], t9); t9 = A._setArrayType([], t9); t11 = A._setArrayType([], type$.JSArray_LifecycleListener_DateTime); t12 = A._setArrayType([], type$.JSArray_LayoutView); return new A.TimeSeriesChart(B.C_LocalDateTimeFactory, true, t3, t1, t4, t2, new A.LayoutManagerImpl(t5, t12), B.Duration_300000, A.LinkedHashSet_LinkedHashSet$_empty(t6), A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.SeriesRenderer_DateTime), A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), t8, A.LinkedHashMap_LinkedHashMap$_empty(t6, t7), new A.ProxyGestureListener(t10, t9), A.LinkedHashMap_LinkedHashMap$_empty(type$.SelectionModelType, type$.MutableSelectionModel_DateTime), t11); }, addDefaultInteractions$1(behaviors) { this.super$BaseChart$addDefaultInteractions(behaviors); behaviors.push(new A.LinePointHighlighter(A.LinkedHashSet_LinkedHashSet(type$.GestureType), type$.LinePointHighlighter_DateTime)); } }; A.getChartContainerRenderObject_closure.prototype = { call$1(child) { return child instanceof A.RenderSemanticsGestureHandler; }, $signature: 843 }; A.WidgetLayoutDelegate.prototype = { performLayout$1(size) { var t3, leftPosition, rightPosition, behaviorPosition, behaviorSize, chartOffset, chartSize, _this = this, availableWidth = size._dx, availableHeight = size._dy, t1 = _this.idAndBehavior, t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"), behaviorID = !new A.LinkedHashMapKeyIterable(t1, t2).get$isEmpty(0) ? new A.LinkedHashMapKeyIterable(t1, t2).get$first(0) : null; t2 = behaviorID != null; if (t2) if (_this._idToChild.$index(0, behaviorID) != null) { t3 = _this.isRTL; leftPosition = t3 ? B.BehaviorPosition_3 : B.BehaviorPosition_2; rightPosition = t3 ? B.BehaviorPosition_2 : B.BehaviorPosition_3; behaviorPosition = t1.$index(0, behaviorID).config.position; behaviorSize = _this.layoutChild$2(behaviorID, A.BoxConstraints$loose(size)); if (behaviorPosition === B.BehaviorPosition_0) { t3 = behaviorSize._dy; chartOffset = new A.Offset(0, t3); availableHeight -= t3; } else if (behaviorPosition === B.BehaviorPosition_1) { availableHeight -= behaviorSize._dy; chartOffset = B.Offset_0_0; } else if (behaviorPosition === leftPosition) { t3 = behaviorSize._dx; chartOffset = new A.Offset(t3, 0); availableWidth -= t3; } else { if (behaviorPosition === rightPosition) availableWidth -= behaviorSize._dx; chartOffset = B.Offset_0_0; } } else { chartOffset = B.Offset_0_0; behaviorSize = B.Size_0_0; } else { chartOffset = B.Offset_0_0; behaviorSize = B.Size_0_0; } chartSize = new A.Size(availableWidth, availableHeight); t3 = _this.chartID; if (_this._idToChild.$index(0, t3) != null) { _this.layoutChild$2(t3, A.BoxConstraints$tight(chartSize)); _this.positionChild$2(t3, chartOffset); } if (t2) { t1 = t1.$index(0, behaviorID); t1.toString; _this.positionChild$2(behaviorID, _this._getBehaviorOffset$4$behaviorSize$chartSize$isRTL(t1, behaviorSize, chartSize, _this.isRTL)); } }, shouldRelayout$1(oldDelegate) { return this.idAndBehavior !== type$.WidgetLayoutDelegate._as(oldDelegate).idAndBehavior; }, _getBehaviorOffset$4$behaviorSize$chartSize$isRTL(behavior, behaviorSize, chartSize, isRTL) { var heightOffset, t2, widthOffset, rightOffset, behaviorOffset = A._Cell$named("behaviorOffset"), t1 = behavior.config, behaviorPosition = t1.position, outsideJustification = t1.outsideJustification; if (behaviorPosition === B.BehaviorPosition_0 || behaviorPosition === B.BehaviorPosition_1) { heightOffset = behaviorPosition === B.BehaviorPosition_1 ? chartSize._dy : 0; switch (this.getOutsideJustification$2(outsideJustification, isRTL).index) { case 0: behaviorOffset.__late_helper$_value = new A.Offset(behavior._legend$_drawAreaBounds.left, heightOffset); break; case 1: behaviorOffset.__late_helper$_value = new A.Offset(0, heightOffset); break; case 2: t1 = behavior._legend$_drawAreaBounds; behaviorOffset.__late_helper$_value = new A.Offset(A._instanceType(t1)._precomputed1._as(t1.left + t1.width) - behaviorSize._dx, heightOffset); break; case 3: behaviorOffset.__late_helper$_value = new A.Offset(chartSize._dx - behaviorSize._dx, heightOffset); break; } } else { t2 = behaviorPosition === B.BehaviorPosition_2; if (t2 || behaviorPosition === B.BehaviorPosition_3) { if (!(isRTL && t2)) t1 = !isRTL && behaviorPosition === B.BehaviorPosition_3; else t1 = true; widthOffset = t1 ? chartSize._dx : 0; switch (outsideJustification.index) { case 0: case 2: behaviorOffset.__late_helper$_value = new A.Offset(widthOffset, behavior._legend$_drawAreaBounds.top); break; case 1: case 3: behaviorOffset.__late_helper$_value = new A.Offset(widthOffset, 0); break; case 4: t1 = behavior._legend$_drawAreaBounds; behaviorOffset.__late_helper$_value = new A.Offset(widthOffset, A._instanceType(t1)._precomputed1._as(t1.top + t1.height) - behaviorSize._dy); break; case 5: behaviorOffset.__late_helper$_value = new A.Offset(widthOffset, chartSize._dy - behaviorSize._dy); break; } } else if (behaviorPosition === B.BehaviorPosition_4) { rightOffset = new A.Offset(chartSize._dx - behaviorSize._dx, 0); switch (t1.insideJustification.index) { case 0: behaviorOffset.__late_helper$_value = isRTL ? rightOffset : B.Offset_0_0; break; case 1: behaviorOffset.__late_helper$_value = isRTL ? B.Offset_0_0 : rightOffset; break; } } } return behaviorOffset._readLocal$0(); }, getOutsideJustification$2(justification, isRTL) { var mappedJustification; switch (justification.index) { case 0: case 2: mappedJustification = isRTL ? B._HorizontalJustification_2 : B._HorizontalJustification_0; break; case 1: case 3: mappedJustification = isRTL ? B._HorizontalJustification_3 : B._HorizontalJustification_1; break; case 4: mappedJustification = isRTL ? B._HorizontalJustification_0 : B._HorizontalJustification_2; break; case 5: mappedJustification = isRTL ? B._HorizontalJustification_1 : B._HorizontalJustification_3; break; default: mappedJustification = null; } return mappedJustification; } }; A._HorizontalJustification.prototype = { _enumToString$0() { return "_HorizontalJustification." + this._core$_name; } }; A.CanonicalizedMap.prototype = { $index(_, key) { var pair, _this = this; if (!_this._isValidKey$1(key)) return null; pair = _this._base.$index(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); return pair == null ? null : pair.value; }, $indexSet(_, key, value) { var t1, _this = this; if (!_this._isValidKey$1(key)) return; t1 = _this.$ti; _this._base.$indexSet(0, _this._canonicalize.call$1(key), new A.MapEntry(key, value, t1._eval$1("@<CanonicalizedMap.K>")._bind$1(t1._eval$1("CanonicalizedMap.V"))._eval$1("MapEntry<1,2>"))); }, addAll$1(_, other) { other.forEach$1(0, new A.CanonicalizedMap_addAll_closure(this)); }, cast$2$0(_, K2, V2) { var t1 = this._base; return t1.cast$2$0(t1, K2, V2); }, containsKey$1(_, key) { var _this = this; if (!_this._isValidKey$1(key)) return false; return _this._base.containsKey$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); }, get$entries(_) { var t1 = this._base; return t1.get$entries(t1).map$1$1(0, new A.CanonicalizedMap_entries_closure(this), this.$ti._eval$1("MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>")); }, forEach$1(_, f) { this._base.forEach$1(0, new A.CanonicalizedMap_forEach_closure(this, f)); }, get$isEmpty(_) { return this._base.__js_helper$_length === 0; }, get$isNotEmpty(_) { return this._base.__js_helper$_length !== 0; }, get$keys(_) { var t1 = this._base.get$values(0); return A.MappedIterable_MappedIterable(t1, new A.CanonicalizedMap_keys_closure(this), A._instanceType(t1)._eval$1("Iterable.E"), this.$ti._eval$1("CanonicalizedMap.K")); }, get$length(_) { return this._base.__js_helper$_length; }, map$2$1(_, transform, K2, V2) { var t1 = this._base; return t1.map$2$1(t1, new A.CanonicalizedMap_map_closure(this, transform, K2, V2), K2, V2); }, map$1(_, transform) { var t1 = type$.dynamic; return this.map$2$1(0, transform, t1, t1); }, putIfAbsent$2(_, key, ifAbsent) { return this._base.putIfAbsent$2(0, this._canonicalize.call$1(key), new A.CanonicalizedMap_putIfAbsent_closure(this, key, ifAbsent)).value; }, remove$1(_, key) { var pair, _this = this; if (!_this._isValidKey$1(key)) return null; pair = _this._base.remove$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); return pair == null ? null : pair.value; }, get$values(_) { var t1 = this._base.get$values(0); return A.MappedIterable_MappedIterable(t1, new A.CanonicalizedMap_values_closure(this), A._instanceType(t1)._eval$1("Iterable.E"), this.$ti._eval$1("CanonicalizedMap.V")); }, toString$0(_) { return A.MapBase_mapToString(this); }, _isValidKey$1(key) { var t1; if (this.$ti._eval$1("CanonicalizedMap.K")._is(key)) t1 = true; else t1 = false; return t1; }, $isMap: 1 }; A.CanonicalizedMap_addAll_closure.prototype = { call$2(key, value) { this.$this.$indexSet(0, key, value); return value; }, $signature() { return this.$this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)"); } }; A.CanonicalizedMap_entries_closure.prototype = { call$1(e) { var t1 = e.value, t2 = this.$this.$ti; return new A.MapEntry(t1.key, t1.value, t2._eval$1("@<CanonicalizedMap.K>")._bind$1(t2._eval$1("CanonicalizedMap.V"))._eval$1("MapEntry<1,2>")); }, $signature() { return this.$this.$ti._eval$1("MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>(MapEntry<CanonicalizedMap.C,MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>>)"); } }; A.CanonicalizedMap_forEach_closure.prototype = { call$2(key, pair) { return this.f.call$2(pair.key, pair.value); }, $signature() { return this.$this.$ti._eval$1("~(CanonicalizedMap.C,MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)"); } }; A.CanonicalizedMap_keys_closure.prototype = { call$1(pair) { return pair.key; }, $signature() { return this.$this.$ti._eval$1("CanonicalizedMap.K(MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)"); } }; A.CanonicalizedMap_map_closure.prototype = { call$2(_, pair) { return this.transform.call$2(pair.key, pair.value); }, $signature() { return this.$this.$ti._bind$1(this.K2)._bind$1(this.V2)._eval$1("MapEntry<1,2>(CanonicalizedMap.C,MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)"); } }; A.CanonicalizedMap_putIfAbsent_closure.prototype = { call$0() { var t1 = this.$this.$ti; return new A.MapEntry(this.key, this.ifAbsent.call$0(), t1._eval$1("@<CanonicalizedMap.K>")._bind$1(t1._eval$1("CanonicalizedMap.V"))._eval$1("MapEntry<1,2>")); }, $signature() { return this.$this.$ti._eval$1("MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>()"); } }; A.CanonicalizedMap_values_closure.prototype = { call$1(pair) { return pair.value; }, $signature() { return this.$this.$ti._eval$1("CanonicalizedMap.V(MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)"); } }; A.DefaultEquality.prototype = { equals$2(e1, e2) { return J.$eq$(e1, e2); }, hash$1(_, e) { return J.get$hashCode$(e); } }; A.IterableEquality.prototype = { equals$2(elements1, elements2) { var it1, it2, t1, hasNext; if (elements1 === elements2) return true; it1 = J.get$iterator$ax(elements1); it2 = J.get$iterator$ax(elements2); for (t1 = this._elementEquality; true;) { hasNext = it1.moveNext$0(); if (hasNext !== it2.moveNext$0()) return false; if (!hasNext) return true; if (!t1.equals$2(it1.get$current(it1), it2.get$current(it2))) return false; } }, hash$1(_, elements) { var t1, t2, hash; for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) { hash = hash + t2.hash$1(0, t1.get$current(t1)) & 2147483647; hash = hash + (hash << 10 >>> 0) & 2147483647; hash ^= hash >>> 6; } hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; return hash + (hash << 15 >>> 0) & 2147483647; } }; A.ListEquality.prototype = { equals$2(list1, list2) { var t1, $length, t2, t3, i; if (list1 == null ? list2 == null : list1 === list2) return true; if (list1 == null || list2 == null) return false; t1 = J.getInterceptor$asx(list1); $length = t1.get$length(list1); t2 = J.getInterceptor$asx(list2); if ($length !== t2.get$length(list2)) return false; for (t3 = this._elementEquality, i = 0; i < $length; ++i) if (!t3.equals$2(t1.$index(list1, i), t2.$index(list2, i))) return false; return true; }, hash$1(_, list) { var t1, t2, hash, i; for (t1 = J.getInterceptor$asx(list), t2 = this._elementEquality, hash = 0, i = 0; i < t1.get$length(list); ++i) { hash = hash + t2.hash$1(0, t1.$index(list, i)) & 2147483647; hash = hash + (hash << 10 >>> 0) & 2147483647; hash ^= hash >>> 6; } hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; return hash + (hash << 15 >>> 0) & 2147483647; } }; A._UnorderedEquality.prototype = { equals$2(elements1, elements2) { var t1, counts, $length, e, count; if (elements1 === elements2) return true; t1 = this._elementEquality; counts = A.HashMap_HashMap(t1.get$equals(), t1.get$hash(t1), t1.get$isValidKey(), A._instanceType(this)._eval$1("_UnorderedEquality.E"), type$.int); for (t1 = J.get$iterator$ax(elements1), $length = 0; t1.moveNext$0();) { e = t1.get$current(t1); count = counts.$index(0, e); counts.$indexSet(0, e, (count == null ? 0 : count) + 1); ++$length; } for (t1 = J.get$iterator$ax(elements2); t1.moveNext$0();) { e = t1.get$current(t1); count = counts.$index(0, e); if (count == null || count === 0) return false; counts.$indexSet(0, e, count - 1); --$length; } return $length === 0; }, hash$1(_, elements) { var t1, t2, hash; for (t1 = J.get$iterator$ax(elements), t2 = this._elementEquality, hash = 0; t1.moveNext$0();) hash = hash + t2.hash$1(0, t1.get$current(t1)) & 2147483647; hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; return hash + (hash << 15 >>> 0) & 2147483647; } }; A.UnorderedIterableEquality.prototype = {}; A.SetEquality.prototype = {}; A._MapEntry.prototype = { get$hashCode(_) { var t1 = this.equality; return 3 * t1._keyEquality.hash$1(0, this.key) + 7 * t1._valueEquality.hash$1(0, this.value) & 2147483647; }, $eq(_, other) { var t1; if (other == null) return false; if (other instanceof A._MapEntry) { t1 = this.equality; t1 = t1._keyEquality.equals$2(this.key, other.key) && t1._valueEquality.equals$2(this.value, other.value); } else t1 = false; return t1; }, get$value(receiver) { return this.value; } }; A.MapEquality.prototype = { equals$2(map1, map2) { var t1, t2, equalElementCounts, t3, key, entry, count; if (map1 === map2) return true; t1 = J.getInterceptor$asx(map1); t2 = J.getInterceptor$asx(map2); if (t1.get$length(map1) !== t2.get$length(map2)) return false; equalElementCounts = A.HashMap_HashMap(null, null, null, type$._MapEntry, type$.int); for (t3 = J.get$iterator$ax(t1.get$keys(map1)); t3.moveNext$0();) { key = t3.get$current(t3); entry = new A._MapEntry(this, key, t1.$index(map1, key)); count = equalElementCounts.$index(0, entry); equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1); } for (t1 = J.get$iterator$ax(t2.get$keys(map2)); t1.moveNext$0();) { key = t1.get$current(t1); entry = new A._MapEntry(this, key, t2.$index(map2, key)); count = equalElementCounts.$index(0, entry); if (count == null || count === 0) return false; equalElementCounts.$indexSet(0, entry, count - 1); } return true; }, hash$1(_, map) { var t1, t2, t3, t4, t5, hash, key, keyHash, t6; for (t1 = J.getInterceptor$x(map), t2 = J.get$iterator$ax(t1.get$keys(map)), t3 = this._keyEquality, t4 = this._valueEquality, t5 = this.$ti._rest[1], hash = 0; t2.moveNext$0();) { key = t2.get$current(t2); keyHash = t3.hash$1(0, key); t6 = t1.$index(map, key); hash = hash + 3 * keyHash + 7 * t4.hash$1(0, t6 == null ? t5._as(t6) : t6) & 2147483647; } hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; return hash + (hash << 15 >>> 0) & 2147483647; } }; A.DeepCollectionEquality.prototype = { equals$2(e1, e2) { var t2, _this = this, t1 = type$.Set_dynamic; if (t1._is(e1)) return t1._is(e2) && new A.SetEquality(_this, type$.SetEquality_dynamic).equals$2(e1, e2); t1 = type$.Map_dynamic_dynamic; if (t1._is(e1)) return t1._is(e2) && new A.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).equals$2(e1, e2); if (!_this._unordered) { t1 = type$.List_dynamic; if (t1._is(e1)) return t1._is(e2) && new A.ListEquality(_this, type$.ListEquality_dynamic).equals$2(e1, e2); t1 = type$.Iterable_dynamic; if (t1._is(e1)) return t1._is(e2) && new A.IterableEquality(_this, type$.IterableEquality_dynamic).equals$2(e1, e2); } else { t1 = type$.Iterable_dynamic; if (t1._is(e1)) { t2 = type$.List_dynamic; if (t2._is(e1) !== t2._is(e2)) return false; return t1._is(e2) && new A.UnorderedIterableEquality(_this, type$.UnorderedIterableEquality_dynamic).equals$2(e1, e2); } } return J.$eq$(e1, e2); }, hash$1(_, o) { var _this = this; if (type$.Set_dynamic._is(o)) return new A.SetEquality(_this, type$.SetEquality_dynamic).hash$1(0, o); if (type$.Map_dynamic_dynamic._is(o)) return new A.MapEquality(_this, _this, type$.MapEquality_dynamic_dynamic).hash$1(0, o); if (!_this._unordered) { if (type$.List_dynamic._is(o)) return new A.ListEquality(_this, type$.ListEquality_dynamic).hash$1(0, o); if (type$.Iterable_dynamic._is(o)) return new A.IterableEquality(_this, type$.IterableEquality_dynamic).hash$1(0, o); } else if (type$.Iterable_dynamic._is(o)) return new A.UnorderedIterableEquality(_this, type$.UnorderedIterableEquality_dynamic).hash$1(0, o); return J.get$hashCode$(o); }, isValidKey$1(o) { return true; } }; A.HeapPriorityQueue.prototype = { _elementAt$1(index) { var t1 = this._priority_queue$_queue[index]; if (t1 == null) { this.$ti._precomputed1._as(null); t1 = null; } return t1; }, add$1(_, element) { var t1, t2, newCapacity, newQueue, _this = this; ++_this._priority_queue$_modificationCount; t1 = _this._priority_queue$_length; t2 = _this._priority_queue$_queue.length; if (t1 === t2) { newCapacity = t2 * 2 + 1; if (newCapacity < 7) newCapacity = 7; newQueue = A.List_List$filled(newCapacity, null, false, _this.$ti._eval$1("1?")); B.JSArray_methods.setRange$3(newQueue, 0, _this._priority_queue$_length, _this._priority_queue$_queue); _this._priority_queue$_queue = newQueue; } _this._bubbleUp$2(element, _this._priority_queue$_length++); }, get$isEmpty(_) { return this._priority_queue$_length === 0; }, get$length(_) { return this._priority_queue$_length; }, remove$1(_, element) { var last, _this = this, index = _this._locate$1(element); if (index < 0) return false; ++_this._priority_queue$_modificationCount; last = _this._removeLast$0(); if (index < _this._priority_queue$_length) if (_this.comparison.call$2(last, element) <= 0) _this._bubbleUp$2(last, index); else _this._bubbleDown$2(last, index); return true; }, _toUnorderedList$0() { var i, t3, t1 = this.$ti, t2 = A._setArrayType([], t1._eval$1("JSArray<1>")); for (t1 = t1._precomputed1, i = 0; i < this._priority_queue$_length; ++i) { t3 = this._priority_queue$_queue[i]; if (t3 == null) { t1._as(null); t3 = null; } t2.push(t3); } return t2; }, toString$0(_) { var t1 = this._priority_queue$_queue; return A.Iterable_iterableToShortString(A.SubListIterable$(t1, 0, A.checkNotNullable(this._priority_queue$_length, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), "(", ")"); }, _priority_queue$_add$1(_, element) { var newCapacity, newQueue, _this = this, t1 = _this._priority_queue$_length, t2 = _this._priority_queue$_queue.length; if (t1 === t2) { newCapacity = t2 * 2 + 1; if (newCapacity < 7) newCapacity = 7; newQueue = A.List_List$filled(newCapacity, null, false, _this.$ti._eval$1("1?")); B.JSArray_methods.setRange$3(newQueue, 0, _this._priority_queue$_length, _this._priority_queue$_queue); _this._priority_queue$_queue = newQueue; } _this._bubbleUp$2(element, _this._priority_queue$_length++); }, _locate$1(object) { var t1, position, index, element, comp, leftChildPosition, t2, _this = this; if (_this._priority_queue$_length === 0) return -1; t1 = _this.comparison; position = 1; do c$0: { index = position - 1; element = _this._elementAt$1(index); comp = t1.call$2(element, object); if (comp <= 0) { if (comp === 0 && J.$eq$(element, object)) return index; leftChildPosition = position * 2; if (leftChildPosition <= _this._priority_queue$_length) { position = leftChildPosition; break c$0; } } t2 = _this._priority_queue$_length; do { for (; (position & 1) === 1;) position = position >>> 1; ++position; } while (position > t2); } while (position !== 1); return -1; }, _removeLast$0() { var _this = this, newLength = _this._priority_queue$_length - 1, last = _this._elementAt$1(newLength); _this._priority_queue$_queue[newLength] = null; _this._priority_queue$_length = newLength; return last; }, _bubbleUp$2(element, index) { var t1, t2, parentIndex, $parent, _this = this; for (t1 = _this.comparison, t2 = _this.$ti._precomputed1; index > 0; index = parentIndex) { parentIndex = B.JSInt_methods._tdivFast$1(index - 1, 2); $parent = _this._priority_queue$_queue[parentIndex]; if ($parent == null) { t2._as(null); $parent = null; } if (t1.call$2(element, $parent) > 0) break; _this._priority_queue$_queue[index] = $parent; } _this._priority_queue$_queue[index] = element; }, _bubbleDown$2(element, index) { var t1, t2, t3, leftChildIndex, leftChild, rightChild, minChild, minChildIndex, child, _this = this, rightChildIndex = index * 2 + 2; for (t1 = _this.comparison, t2 = _this.$ti._precomputed1; t3 = _this._priority_queue$_length, rightChildIndex < t3; index = minChildIndex) { leftChildIndex = rightChildIndex - 1; t3 = _this._priority_queue$_queue; leftChild = t3[leftChildIndex]; if (leftChild == null) { t2._as(null); leftChild = null; } rightChild = t3[rightChildIndex]; if (rightChild == null) { t2._as(null); rightChild = null; } if (t1.call$2(leftChild, rightChild) < 0) { minChild = leftChild; minChildIndex = leftChildIndex; } else { minChild = rightChild; minChildIndex = rightChildIndex; } if (t1.call$2(element, minChild) <= 0) { _this._priority_queue$_queue[index] = element; return; } _this._priority_queue$_queue[index] = minChild; rightChildIndex = minChildIndex * 2 + 2; } leftChildIndex = rightChildIndex - 1; if (leftChildIndex < t3) { child = _this._elementAt$1(leftChildIndex); if (t1.call$2(element, child) > 0) { _this._priority_queue$_queue[index] = child; index = leftChildIndex; } } _this._priority_queue$_queue[index] = element; } }; A.XFileBase.prototype = { length$0(_) { throw A.wrapException(A.UnimplementedError$(".length() has not been implemented.")); } }; A.XFile.prototype = { get$_blob() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JSObject), $async$returnValue, $async$self = this, t2, blobCompleter, request, t3, t1; var $async$get$_blob = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._browserBlob; if (t1 != null) { $async$returnValue = t1; // goto return $async$goto = 1; break; } t1 = self; if (J.$eq$(t1.window.navigator.vendor, "Apple Computer, Inc.")) { t2 = $async$self._html0$_length; if (t2 != null) t2 = t2 >= 4294967296; else t2 = false; } else t2 = false; if (t2) throw A.wrapException(A.Exception_Exception("Safari cannot handle XFiles larger than 4GB.")); t2 = new A._Future($.Zone__current, type$._Future_JSObject); blobCompleter = new A._AsyncCompleter(t2, type$._AsyncCompleter_JSObject); request = A._Cell$named("request"); t1 = new t1.XMLHttpRequest(); t3 = $async$self.__XFile__path_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1.open("get", t3, true); t1.responseType = "blob"; t3 = type$.JSObject; A._EventStreamSubscription$0(t1, "load", new A.XFile__blob_closure(request, blobCompleter), false, t3); A._EventStreamSubscription$0(t1, "error", new A.XFile__blob_closure0(blobCompleter), false, t3); t1.send(); request.__late_helper$_value = t1; $async$returnValue = t2; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$get$_blob, $async$completer); }, readAsBytes$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, $async$self = this; var $async$readAsBytes$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$returnValue = $async$self.get$_blob().then$1$1(0, $async$self.get$_blobToByteBuffer(), type$.Uint8List); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$readAsBytes$0, $async$completer); }, length$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.int), $async$returnValue, $async$self = this, t1; var $async$length$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._html0$_length; $async$goto = t1 == null ? 3 : 5; break; case 3: // then $async$goto = 6; return A._asyncAwait($async$self.get$_blob(), $async$length$0); case 6: // returning from await. $async$result = $async$result.size; // goto join $async$goto = 4; break; case 5: // else $async$result = t1; case 4: // join $async$returnValue = $async$result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$length$0, $async$completer); }, _blobToByteBuffer$1(blob) { return this._blobToByteBuffer$body$XFile(blob); }, _blobToByteBuffer$body$XFile(blob) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, t1, result, reader; var $async$_blobToByteBuffer$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start reader = new self.FileReader(); A.callMethod(reader, "readAsArrayBuffer", [blob]); $async$goto = 3; return A._asyncAwait(new A._EventStream0(reader, "loadend", false, type$._EventStream_JSObject).get$first(0), $async$_blobToByteBuffer$1); case 3: // returning from await. t1 = type$.nullable_NativeByteBuffer._as(reader.result); result = t1 == null ? null : A.NativeUint8List_NativeUint8List$view(t1, 0, null); if (result == null) throw A.wrapException(A.Exception_Exception("Cannot read bytes from Blob. Is it still available?")); $async$returnValue = result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_blobToByteBuffer$1, $async$completer); } }; A.XFile__blob_closure.prototype = { call$1(e) { var t1 = this.request._readLocal$0().response; t1.toString; this.blobCompleter.complete$1(0, type$.JSObject._as(t1)); }, $signature: 327 }; A.XFile__blob_closure0.prototype = { call$1(e) { if (J.$eq$(e.type, "error")) this.blobCompleter.completeError$1(new A._Exception("Could not load Blob from its URL. Has it been revoked?")); }, $signature: 327 }; A._Parser.prototype = { _parser0$_next$0() { var _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this._previousToken = t1; _this.___Parser__peekToken_A = _this.tokenizer.next$1$unicodeRange(0, false); return t1; }, _maybeEat$2$unicodeRange(kind, unicodeRange) { var _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.kind === kind) { _this._previousToken = t1; _this.___Parser__peekToken_A = _this.tokenizer.next$1$unicodeRange(0, false); return true; } else return false; }, _maybeEat$1(kind) { return this._maybeEat$2$unicodeRange(kind, false); }, _eat$1(kind) { if (!this._maybeEat$2$unicodeRange(kind, false)) this._errorExpected$1(A.TokenKind_kindToString(kind)); }, _errorExpected$1(expected) { var exception, tok = this._parser0$_next$0(), message = null; try { message = "expected " + expected + ", but found " + A.S(tok); } catch (exception) { message = "parsing error expected " + expected; } this._parser0$_error$2(message, tok.span); }, _parser0$_error$2(message, $location) { $.__messages._readField$0().error$2(0, message, $location); }, _makeSpan$1(start) { var t1 = this._previousToken; if (t1 == null || t1.span.compareTo$1(0, start) < 0) return start; return start.expand$1(0, this._previousToken.span); }, processSelectorGroup$0() { var t2, selector, _this = this, selectors = A._setArrayType([], type$.JSArray_Selector), t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.tokenizer; t2.inSelector = true; do { selector = _this.processSelector$0(); if (selector != null) selectors.push(selector); } while (_this._maybeEat$1(19)); t2.inSelector = false; if (selectors.length !== 0) return new A.SelectorGroup(selectors, _this._makeSpan$1(t1.span)); return null; }, processSelector$0() { var selectorItem, simpleSequences = A._setArrayType([], type$.JSArray_SimpleSelectorSequence), t1 = this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); for (; true;) { selectorItem = this.simpleSelectorSequence$1(simpleSequences.length === 0); if (selectorItem != null) simpleSequences.push(selectorItem); else break; } if (simpleSequences.length === 0) return null; return new A.Selector(simpleSequences, this._makeSpan$1(t1.span)); }, processCompoundSelector$0() { var t1, t2, t3, _i, sequence, t4, msg, selector = this.processSelector$0(); if (selector != null) for (t1 = selector.simpleSelectorSequences, t2 = t1.length, t3 = $.__messages.__late_helper$_name, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { sequence = t1[_i]; if (sequence.combinator !== 513) { t4 = $.__messages.__late_helper$_value; if (t4 === $.__messages) A.throwExpression(A.LateError$fieldNI(t3)); msg = new A.Message(B.MessageLevel_2, "compound selector can not contain combinator", sequence.span, t4.options.useColors); t4.messages.push(msg); t4.printHandler.call$1(msg); } } return selector; }, simpleSelectorSequence$1(forceCombinatorNone) { var combinatorType, thisOperator, t2, t3, span, simpleSel, _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); switch (t1.kind) { case 12: _this._eat$1(12); combinatorType = 515; thisOperator = false; break; case 13: _this._eat$1(13); combinatorType = 516; thisOperator = false; break; case 14: _this._eat$1(14); combinatorType = 517; thisOperator = false; break; case 36: _this._eat$1(36); combinatorType = 513; thisOperator = true; break; default: combinatorType = 513; thisOperator = false; } if (combinatorType === 513 && !forceCombinatorNone) { t2 = _this._previousToken; if (t2 != null) { t2 = t2.span; t2 = A.FileLocation$_(t2.file, t2._file$_end); t3 = _this.___Parser__peekToken_A.span; t3 = t2.offset !== A.FileLocation$_(t3.file, t3._file$_start).offset; t2 = t3; } else t2 = false; if (t2) combinatorType = 514; } span = _this._makeSpan$1(t1.span); simpleSel = thisOperator ? new A.ElementSelector(new A.ThisOperator(span), span) : _this.simpleSelector$0(); if (simpleSel == null) t1 = combinatorType === 515 || combinatorType === 516 || combinatorType === 517; else t1 = false; if (t1) simpleSel = new A.ElementSelector(new A.Identifier("", span), span); if (simpleSel != null) return new A.SimpleSelectorSequence(combinatorType, simpleSel, span); return null; }, simpleSelector$0() { var start, first, element, _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); start = t1.span; t1 = t1.kind; switch (t1) { case 15: first = new A.Wildcard(_this._makeSpan$1(_this._parser0$_next$0().span)); break; case 511: first = _this.identifier$0(0); break; default: if (A.TokenKind_isKindIdentifier(t1)) first = _this.identifier$0(0); else { if (t1 === 9) return null; first = null; } break; } if (_this._maybeEat$1(16)) { t1 = _this.___Parser__peekToken_A; switch (t1.kind) { case 15: element = new A.Wildcard(_this._makeSpan$1(_this._parser0$_next$0().span)); break; case 511: element = _this.identifier$0(0); break; default: _this._parser0$_error$2("expected element name or universal(*), but found " + t1.toString$0(0), _this.___Parser__peekToken_A.span); element = null; break; } return new A.NamespaceSelector(first, new A.ElementSelector(element, element.span), _this._makeSpan$1(start)); } else if (first != null) return new A.ElementSelector(first, _this._makeSpan$1(start)); else return _this.simpleSelectorTail$0(); }, _anyWhiteSpaceBeforePeekToken$1(kind) { var t2, t1 = this._previousToken; if (t1 != null && t1.kind === kind) { t1 = t1.span; t1 = A.FileLocation$_(t1.file, t1._file$_end); t2 = this.___Parser__peekToken_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.span; return t1.offset !== A.FileLocation$_(t2.file, t2._file$_start).offset; } return false; }, simpleSelectorTail$0() { var start, _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); start = t1.span; switch (t1.kind) { case 11: _this._eat$1(11); if (_this._anyWhiteSpaceBeforePeekToken$1(11)) { _this._parser0$_error$2("Not a valid ID selector expected #id", _this._makeSpan$1(start)); return null; } return new A.IdSelector(_this.identifier$0(0), _this._makeSpan$1(start)); case 8: _this._eat$1(8); if (_this._anyWhiteSpaceBeforePeekToken$1(8)) { _this._parser0$_error$2("Not a valid class selector expected .className", _this._makeSpan$1(start)); return null; } return new A.ClassSelector(_this.identifier$0(0), _this._makeSpan$1(start)); case 17: return _this.processPseudoSelector$1(start); case 4: return _this.processAttribute$0(); case 62: _this._parser0$_error$2("name must start with a alpha character, but found a number", start); _this._parser0$_next$0(); break; } return null; }, processPseudoSelector$1(start) { var pseudoElement, t1, pseudoName, $name, negArg, selector, span, expr, _this = this; _this._eat$1(17); pseudoElement = _this._maybeEat$1(17); t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.kind === 511) pseudoName = _this.identifier$0(0); else return null; $name = pseudoName.name.toLowerCase(); if (_this.___Parser__peekToken_A.kind === 2) { t1 = !pseudoElement; if (t1 && $name === "not") { _this._eat$1(2); negArg = _this.simpleSelector$0(); _this._eat$1(3); t1 = _this._makeSpan$1(start); return new A.NegationSelector(negArg, new A.Negation(t1), t1); } else { if (t1) t1 = $name === "host" || $name === "host-context" || $name === "global-context" || $name === "-acx-global-context"; else t1 = false; if (t1) { _this._eat$1(2); selector = _this.processCompoundSelector$0(); if (selector == null) { _this._errorExpected$1("a selector argument"); return null; } _this._eat$1(3); return new A.PseudoClassFunctionSelector(selector, pseudoName, _this._makeSpan$1(start)); } else { t1 = _this.tokenizer; t1.inSelectorExpression = true; _this._eat$1(2); span = _this._makeSpan$1(start); expr = _this.processSelectorExpression$0(); t1.inSelectorExpression = false; if (expr instanceof A.SelectorExpression) { _this._eat$1(3); return pseudoElement ? new A.PseudoElementFunctionSelector(false, pseudoName, span) : new A.PseudoClassFunctionSelector(expr, pseudoName, span); } else { _this._errorExpected$1("CSS expression"); return null; } } } } t1 = !pseudoElement; return !t1 || B.Set_qjlZ2.contains$1(0, $name) ? new A.PseudoElementSelector(t1, pseudoName, _this._makeSpan$1(start)) : new A.PseudoClassSelector(pseudoName, _this._makeSpan$1(start)); }, processSelectorExpression$0() { var start, expressions, value, termToken, keepParsing, termToken0, t2, _this = this, _null = null, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); start = t1.span; expressions = A._setArrayType([], type$.JSArray_Expression); for (t1 = _this.tokenizer, value = _null, termToken = value, keepParsing = true; keepParsing;) { termToken0 = _this.___Parser__peekToken_A; switch (termToken0.kind) { case 12: start = termToken0.span; _this._previousToken = termToken0; _this.___Parser__peekToken_A = t1.next$1$unicodeRange(0, false); expressions.push(new A.OperatorPlus(_this._makeSpan$1(start))); termToken = termToken0; break; case 34: start = termToken0.span; _this._previousToken = termToken0; _this.___Parser__peekToken_A = t1.next$1$unicodeRange(0, false); expressions.push(new A.OperatorMinus(_this._makeSpan$1(start))); termToken = termToken0; break; case 60: _this._previousToken = termToken0; _this.___Parser__peekToken_A = t1.next$1$unicodeRange(0, false); value = A.int_parse(termToken0.get$text(termToken0), _null); termToken = termToken0; break; case 62: _this._previousToken = termToken0; _this.___Parser__peekToken_A = t1.next$1$unicodeRange(0, false); value = A.double_parse(termToken0.get$text(termToken0)); termToken = termToken0; break; case 25: value = "'" + A._escapeString(_this.processQuotedString$1(false), true) + "'"; return new A.LiteralTerm(value, value, _this._makeSpan$1(start)); case 26: value = '"' + A._escapeString(_this.processQuotedString$1(false), false) + '"'; return new A.LiteralTerm(value, value, _this._makeSpan$1(start)); case 511: value = _this.identifier$0(0); break; default: keepParsing = false; } if (keepParsing && value != null) { t2 = value; expressions.push(_this.processDimension$3(termToken, t2, _this._makeSpan$1(start))); value = _null; } } return new A.SelectorExpression(expressions, _this._makeSpan$1(start)); }, processAttribute$0() { var attrName, op, value, _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (_this._maybeEat$1(4)) { attrName = _this.identifier$0(0); op = _this.___Parser__peekToken_A.kind; switch (op) { case 28: case 530: case 531: case 532: case 533: case 534: _this._parser0$_next$0(); break; default: op = 535; } if (op !== 535) value = _this.___Parser__peekToken_A.kind === 511 ? _this.identifier$0(0) : _this.processQuotedString$1(false); else value = null; _this._eat$1(5); return new A.AttributeSelector(op, value, attrName, _this._makeSpan$1(t1.span)); } return null; }, processDimension$3(t, value, span) { var unitType, term, _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); unitType = t1.kind; switch (unitType) { case 600: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.EmTerm(value, t.get$text(t), span); break; case 601: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.ExTerm(value, t.get$text(t), span); break; case 602: case 603: case 604: case 605: case 606: case 607: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.LengthTerm(unitType, value, t.get$text(t), span); break; case 608: case 609: case 610: case 611: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.AngleTerm(unitType, value, t.get$text(t), span); break; case 612: case 613: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.TimeTerm(unitType, value, t.get$text(t), span); break; case 614: case 615: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.FreqTerm(unitType, value, t.get$text(t), span); break; case 24: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.PercentageTerm(value, t.get$text(t), span); break; case 617: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.FractionTerm(value, t.get$text(t), span); break; case 618: case 619: case 620: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.ResolutionTerm(unitType, value, t.get$text(t), span); break; case 621: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.ChTerm(unitType, value, t.get$text(t), span); break; case 622: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.RemTerm(unitType, value, t.get$text(t), span); break; case 623: case 624: case 625: case 626: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.ViewportTerm(unitType, value, t.get$text(t), span); break; case 627: case 628: span = span.expand$1(0, _this._parser0$_next$0().span); term = new A.LineHeightTerm(unitType, value, t.get$text(t), span); break; default: term = value instanceof A.Identifier ? new A.LiteralTerm(value, value.name, span) : new A.NumberTerm(value, t.get$text(t), span); } return term; }, processQuotedString$1(urlString) { var t2, inString, stopToken, t3, t4, _this = this, t1 = _this.___Parser__peekToken_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.tokenizer; inString = t2._inString; t2._inString = false; switch (t1.kind) { case 25: _this._parser0$_next$0(); stopToken = 25; break; case 26: _this._parser0$_next$0(); stopToken = 26; break; default: _this._parser0$_error$2("unexpected string", _this._makeSpan$1(t1.span)); stopToken = -1; break; } t1 = ""; while (true) { t3 = _this.___Parser__peekToken_A; t4 = t3.kind; if (!(t4 !== stopToken && t4 !== 1)) break; _this._previousToken = t3; _this.___Parser__peekToken_A = t2.next$1$unicodeRange(0, false); t1 += t3.get$text(t3); } t2._inString = inString; if (stopToken !== 3) _this._parser0$_next$0(); return t1.charCodeAt(0) == 0 ? t1 : t1; }, identifier$0(_) { var tok = this._parser0$_next$0(), t1 = tok.kind; if (t1 !== 511 && !A.TokenKind_isKindIdentifier(t1)) { $.__messages._readField$0(); return new A.Identifier("", this._makeSpan$1(tok.span)); } return new A.Identifier(tok.get$text(tok), this._makeSpan$1(tok.span)); } }; A.Token.prototype = { get$text(_) { var t1 = this.span; return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._file$_end), 0, null); }, toString$0(_) { var kindText = A.TokenKind_kindToString(this.kind), actualText = B.JSString_methods.trim$0(this.get$text(this)), t1 = actualText.length; if (t1 !== 0 && kindText !== actualText) { if (t1 > 10) actualText = B.JSString_methods.substring$2(actualText, 0, 8) + "..."; return kindText + "(" + actualText + ")"; } else return kindText; } }; A.IdentifierToken.prototype = { get$text(receiver) { return this.text; } }; A.Tokenizer.prototype = { next$1$unicodeRange(_, unicodeRange) { var ch, peekCh, oldIndex, oldStartIndex, t1, t2, tokId, start, _this = this; _this._parser0$_startIndex = _this._parser0$_index; ch = _this._nextChar$0(); switch (ch) { case 10: case 13: case 32: case 9: return _this.finishWhitespace$0(); case 0: return _this._finishToken$1(1); case 64: peekCh = _this._peekChar$0(); if (A.TokenizerHelpers_isIdentifierStartExpr(peekCh) || peekCh === 45) { oldIndex = _this._parser0$_index; oldStartIndex = _this._parser0$_startIndex; _this._parser0$_startIndex = oldIndex; _this._nextChar$0(); _this.finishIdentifier$0(); t1 = _this._parser0$_text; t2 = _this._parser0$_startIndex; tokId = A.TokenKind_matchList(B.List_rTR, "type", t1, t2, _this._parser0$_index - t2); if (tokId === -1) { t2 = _this._parser0$_startIndex; tokId = A.TokenKind_matchList(B.List_wIv, "type", t1, t2, _this._parser0$_index - t2); } if (tokId !== -1) return _this._finishToken$1(tokId); else { _this._parser0$_startIndex = oldStartIndex; _this._parser0$_index = oldIndex; } } return _this._finishToken$1(10); case 46: start = _this._parser0$_startIndex; if (_this.maybeEatDigit$0()) if (_this.finishNumber$0().kind === 60) { _this._parser0$_startIndex = start; return _this._finishToken$1(62); } else return _this._finishToken$1(65); return _this._finishToken$1(8); case 40: return _this._finishToken$1(2); case 41: return _this._finishToken$1(3); case 123: return _this._finishToken$1(6); case 125: return _this._finishToken$1(7); case 91: return _this._finishToken$1(4); case 93: if (_this._maybeEatChar$1(93) && _this._maybeEatChar$1(62)) return _this.next$0(0); return _this._finishToken$1(5); case 35: return _this._finishToken$1(11); case 43: if (_this._nextCharsAreNumber$1(ch)) return _this.finishNumber$0(); return _this._finishToken$1(12); case 45: if (_this.inSelectorExpression || false) return _this._finishToken$1(34); else if (_this._nextCharsAreNumber$1(ch)) return _this.finishNumber$0(); else if (A.TokenizerHelpers_isIdentifierStartExpr(ch) || ch === 45) return _this.finishIdentifier$0(); return _this._finishToken$1(34); case 62: return _this._finishToken$1(13); case 126: if (_this._maybeEatChar$1(61)) return _this._finishToken$1(530); return _this._finishToken$1(14); case 42: if (_this._maybeEatChar$1(61)) return _this._finishToken$1(534); return _this._finishToken$1(15); case 38: return _this._finishToken$1(36); case 124: if (_this._maybeEatChar$1(61)) return _this._finishToken$1(531); return _this._finishToken$1(16); case 58: return _this._finishToken$1(17); case 44: return _this._finishToken$1(19); case 59: return _this._finishToken$1(9); case 37: return _this._finishToken$1(24); case 39: return _this._finishToken$1(25); case 34: return _this._finishToken$1(26); case 47: if (_this._maybeEatChar$1(42)) return _this.finishMultiLineComment$0(); return _this._finishToken$1(27); case 60: if (_this._maybeEatChar$1(33)) if (_this._maybeEatChar$1(45) && _this._maybeEatChar$1(45)) return _this.finishHtmlComment$0(); else { if (_this._maybeEatChar$1(91)) { t1 = _this.CDATA_NAME._string; t1 = _this._maybeEatChar$1(t1.charCodeAt(0)) && _this._maybeEatChar$1(t1.charCodeAt(1)) && _this._maybeEatChar$1(t1.charCodeAt(2)) && _this._maybeEatChar$1(t1.charCodeAt(3)) && _this._maybeEatChar$1(t1.charCodeAt(4)) && _this._maybeEatChar$1(91); } else t1 = false; if (t1) return _this.next$0(0); } return _this._finishToken$1(32); case 61: return _this._finishToken$1(28); case 94: if (_this._maybeEatChar$1(61)) return _this._finishToken$1(532); return _this._finishToken$1(30); case 36: if (_this._maybeEatChar$1(61)) return _this._finishToken$1(533); return _this._finishToken$1(31); case 33: return _this.finishIdentifier$0(); default: if (!_this.inSelector && ch === 92) return _this._finishToken$1(35); if (_this._inString) t1 = (ch === _this.UNICODE_U || ch === _this.UNICODE_LOWER_U) && _this._peekChar$0() === _this.UNICODE_PLUS; else t1 = false; if (t1) { _this._nextChar$0(); _this._parser0$_startIndex = _this._parser0$_index; return _this._finishToken$1(508); } else { t1 = ch === 118; if (t1 && _this._maybeEatChar$1(97) && _this._maybeEatChar$1(114) && _this._maybeEatChar$1(45)) return _this._finishToken$1(400); else if (t1 && _this._maybeEatChar$1(97) && _this._maybeEatChar$1(114) && _this._peekChar$0() === 45) return _this._finishToken$1(401); else if (A.TokenizerHelpers_isIdentifierStartExpr(ch) || ch === 45) return _this.finishIdentifier$0(); else if (ch >= 48 && ch <= 57) return _this.finishNumber$0(); } return _this._finishToken$1(65); } }, next$0(_) { return this.next$1$unicodeRange(0, false); }, finishIdentifier$0() { var t2, t1, t3, ch, startHex, t4, span, text, tokId, _this = this, chars = A._setArrayType([], type$.JSArray_int), validateFrom = _this._parser0$_index; _this._parser0$_index = _this._parser0$_startIndex; t1 = _this._parser0$_text; t2 = t1.length; while (true) { t3 = _this._parser0$_index; if (!(t3 < t2)) { t2 = t3; break; } ch = t1.charCodeAt(t3); if (ch === 92 && _this._inString) { startHex = _this._parser0$_index = t3 + 1; _this.eatHexDigits$1(startHex + 6); t3 = _this._parser0$_index; if (t3 !== startHex) { chars.push(A.int_parse("0x" + B.JSString_methods.substring$2(t1, startHex, t3), null)); t3 = _this._parser0$_index; if (t3 === t2) { t2 = t3; break; } ch = t1.charCodeAt(t3); if (t3 - startHex !== 6) t4 = ch === 32 || ch === 9 || ch === 13 || ch === 10; else t4 = false; if (t4) _this._parser0$_index = t3 + 1; } else { if (t3 === t2) { t2 = t3; break; } _this._parser0$_index = t3 + 1; chars.push(t1.charCodeAt(t3)); } } else { if (t3 >= validateFrom) if (_this.inSelectorExpression) if (!A.TokenizerHelpers_isIdentifierStartExpr(ch)) t4 = ch >= 48 && ch <= 57; else t4 = true; else { if (!A.TokenizerHelpers_isIdentifierStartExpr(ch)) t4 = ch >= 48 && ch <= 57; else t4 = true; t4 = t4 || ch === 45; } else t4 = true; if (t4) { chars.push(ch); ++_this._parser0$_index; } else { t2 = t3; break; } } } span = _this._file.span$2(0, _this._parser0$_startIndex, t2); text = A.String_String$fromCharCodes(chars, 0, null); if (!_this.inSelectorExpression && !_this.inSelector) { t2 = _this._parser0$_startIndex; tokId = A.TokenKind_matchList(B.List_Z3K, "unit", t1, t2, _this._parser0$_index - t2); } else tokId = -1; if (tokId === -1) tokId = B.JSString_methods.substring$2(t1, _this._parser0$_startIndex, _this._parser0$_index) === "!important" ? 505 : -1; return new A.IdentifierToken(text, tokId >= 0 ? tokId : 511, span); }, finishNumber$0() { var t1, _this = this; _this.eatDigits$0(); if (_this._peekChar$0() === 46) { _this._nextChar$0(); t1 = _this._peekChar$0(); if (t1 >= 48 && t1 <= 57) { _this.eatDigits$0(); return _this._finishToken$1(62); } else --_this._parser0$_index; } return _this._finishToken$1(60); }, maybeEatDigit$0() { var t1 = this._parser0$_index, t2 = this._parser0$_text; if (t1 < t2.length) { t2 = t2.charCodeAt(t1); t2 = t2 >= 48 && t2 <= 57; } else t2 = false; if (t2) { this._parser0$_index = t1 + 1; return true; } return false; }, eatHexDigits$1(end) { var t2, t3, t1 = this._parser0$_text; end = Math.min(end, t1.length); for (; t2 = this._parser0$_index, t2 < end;) { t3 = t1.charCodeAt(t2); if (!(t3 >= 48 && t3 <= 57)) if (!(t3 >= 97 && t3 <= 102)) t3 = t3 >= 65 && t3 <= 70; else t3 = true; else t3 = true; if (t3) this._parser0$_index = t2 + 1; else return; } }, finishHtmlComment$0() { var ch, t1, t2, end, t3, _this = this; for (; true;) { ch = _this._nextChar$0(); if (ch === 0) { t1 = _this._file; t2 = _this._parser0$_startIndex; end = _this._parser0$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token(67, t3); } else if (ch === 45) if (_this._maybeEatChar$1(45)) if (_this._maybeEatChar$1(62)) if (_this._inString) return _this.next$0(0); else { t1 = _this._file; t2 = _this._parser0$_startIndex; end = _this._parser0$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token(504, t3); } } }, finishMultiLineComment$0() { var ch, t1, t2, end, t3, _this = this; for (; true;) { ch = _this._nextChar$0(); if (ch === 0) { t1 = _this._file; t2 = _this._parser0$_startIndex; end = _this._parser0$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token(67, t3); } else if (ch === 42) if (_this._maybeEatChar$1(47)) if (_this._inString) return _this.next$0(0); else { t1 = _this._file; t2 = _this._parser0$_startIndex; end = _this._parser0$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token(64, t3); } } } }; A.TokenizerBase.prototype = { _nextChar$0() { var t1 = this._parser0$_index, t2 = this._parser0$_text; if (t1 < t2.length) { this._parser0$_index = t1 + 1; return t2.charCodeAt(t1); } else return 0; }, _peekChar$1(offset) { var t1 = this._parser0$_index + offset, t2 = this._parser0$_text; if (t1 < t2.length) return t2.charCodeAt(t1); else return 0; }, _peekChar$0() { return this._peekChar$1(0); }, _maybeEatChar$1(ch) { var t1 = this._parser0$_index, t2 = this._parser0$_text; if (t1 < t2.length) if (t2.charCodeAt(t1) === ch) { this._parser0$_index = t1 + 1; return true; } else return false; else return false; }, _nextCharsAreNumber$1(first) { var second, t1; if (first >= 48 && first <= 57) return true; second = this._peekChar$0(); if (first === 46) return second >= 48 && second <= 57; if (first === 43 || first === 45) { if (!(second >= 48 && second <= 57)) if (second === 46) { t1 = this._peekChar$1(1); t1 = t1 >= 48 && t1 <= 57; } else t1 = false; else t1 = true; return t1; } return false; }, _finishToken$1(kind) { return new A.Token(kind, this._file.span$2(0, this._parser0$_startIndex, this._parser0$_index)); }, finishWhitespace$0() { var t2, t3, t4, ch, _this = this, t1 = --_this._parser0$_index; for (t2 = _this._parser0$_text, t3 = t2.length; t1 < t3; t1 = t4) { t4 = _this._parser0$_index = t1 + 1; ch = t2.charCodeAt(t1); if (!(ch === 32 || ch === 9 || ch === 13)) if (ch === 10) { if (!_this._inString) { t1 = _this._file; t2 = _this._parser0$_startIndex; t3 = new A._FileSpan(t1, t2, t4); t3._FileSpan$3(t1, t2, t4); return new A.Token(63, t3); } } else { t1 = _this._parser0$_index = t4 - 1; if (_this._inString) return _this.next$0(0); else { t2 = _this._file; t3 = _this._parser0$_startIndex; t4 = new A._FileSpan(t2, t3, t1); t4._FileSpan$3(t2, t3, t1); return new A.Token(63, t4); } } } return _this._finishToken$1(1); }, eatDigits$0() { var t1, t2, t3, t4; for (t1 = this._parser0$_text, t2 = t1.length; t3 = this._parser0$_index, t3 < t2;) { t4 = t1.charCodeAt(t3); if (t4 >= 48 && t4 <= 57) this._parser0$_index = t3 + 1; else return; } } }; A.MessageLevel.prototype = { _enumToString$0() { return "MessageLevel." + this._core$_name; } }; A.Message.prototype = { toString$0(_) { var _this = this, colors = _this.useColors && B.Map_ubeD3.containsKey$1(0, _this.level), levelColor = colors ? B.Map_ubeD3.$index(0, _this.level) : null, t1 = colors ? "" + A.S(levelColor) : ""; t1 = t1 + A.S(B.Map_ubevc.$index(0, _this.level)) + " "; if (colors) t1 += "\x1b[0m"; t1 = t1 + "on " + _this.span.message$2$color(0, _this.message, levelColor); return t1.charCodeAt(0) == 0 ? t1 : t1; }, get$message(receiver) { return this.message; } }; A.Messages.prototype = { error$2(_, message, span) { var msg = new A.Message(B.MessageLevel_2, message, span, this.options.useColors); this.messages.push(msg); this.printHandler.call$1(msg); } }; A.PreprocessorOptions.prototype = {}; A.Identifier.prototype = { visit$1(visitor) { return null; }, toString$0(_) { var t1 = this.span; t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._file$_end), 0, null); return t1; }, get$name(receiver) { return this.name; } }; A.Wildcard.prototype = { visit$1(visitor) { return null; }, get$name(_) { return "*"; } }; A.ThisOperator.prototype = { visit$1(visitor) { return null; }, get$name(_) { return "&"; } }; A.Negation.prototype = { visit$1(visitor) { return null; }, get$name(_) { return "not"; } }; A.SelectorGroup.prototype = { visit$1(visitor) { return B.JSArray_methods.any$1(this.selectors, visitor.get$visitSelector()); } }; A.Selector.prototype = { get$length(_) { return this.simpleSelectorSequences.length; }, visit$1(visitor) { return visitor.visitSelector$1(this); } }; A.SimpleSelectorSequence.prototype = { visit$1(visitor) { this.simpleSelector.visit$1(visitor); return null; }, toString$0(_) { var t1 = this.simpleSelector._visitor$_name; return t1.get$name(t1); } }; A.SimpleSelector.prototype = { get$name(_) { var t1 = this._visitor$_name; return t1.get$name(t1); }, visit$1(visitor) { return type$.TreeNode._as(this._visitor$_name).visit$1(visitor); } }; A.ElementSelector.prototype = { visit$1(visitor) { var t1 = this._visitor$_name; return t1 instanceof A.Wildcard || visitor._query_selector$_element.localName === t1.get$name(t1).toLowerCase(); }, toString$0(_) { var t1 = this._visitor$_name; return t1.get$name(t1); } }; A.NamespaceSelector.prototype = { get$namespace() { var t1 = this._namespace; if (t1 instanceof A.Wildcard) t1 = "*"; else t1 = t1 == null ? "" : type$.Identifier._as(t1).name; return t1; }, visit$1(visitor) { return visitor.visitNamespaceSelector$1(this); }, toString$0(_) { var t1 = this.get$namespace(), t2 = type$.nullable_SimpleSelector._as(this._visitor$_name)._visitor$_name; return t1 + "|" + t2.get$name(t2); } }; A.AttributeSelector.prototype = { matchOperator$0() { switch (this._op) { case 28: return "="; case 530: return "~="; case 531: return "|="; case 532: return "^="; case 533: return "$="; case 534: return "*="; case 535: return ""; } return null; }, valueToString$0() { var t1 = this.value; if (t1 != null) if (t1 instanceof A.Identifier) return t1.toString$0(0); else return '"' + A.S(t1) + '"'; else return ""; }, visit$1(visitor) { return visitor.visitAttributeSelector$1(this); }, toString$0(_) { var t1 = this._visitor$_name; return "[" + t1.get$name(t1) + A.S(this.matchOperator$0()) + this.valueToString$0() + "]"; }, get$value(receiver) { return this.value; } }; A.IdSelector.prototype = { visit$1(visitor) { var t1 = this._visitor$_name; return visitor._query_selector$_element.get$id(0) === t1.get$name(t1); }, toString$0(_) { return "#" + A.S(this._visitor$_name); } }; A.ClassSelector.prototype = { visit$1(visitor) { var t2, t1 = visitor._query_selector$_element; t1.toString; t2 = this._visitor$_name; t2 = t2.get$name(t2); return new A.ElementCssClassSet(t1).readClasses$0().contains$1(0, t2); }, toString$0(_) { return "." + A.S(this._visitor$_name); } }; A.PseudoClassSelector.prototype = { visit$1(visitor) { return visitor.visitPseudoClassSelector$1(this); }, toString$0(_) { var t1 = this._visitor$_name; return ":" + t1.get$name(t1); } }; A.PseudoElementSelector.prototype = { visit$1(visitor) { visitor.visitPseudoElementSelector$1(this); return false; }, toString$0(_) { var t1 = this.isLegacy ? ":" : "::", t2 = this._visitor$_name; return t1 + t2.get$name(t2); } }; A.PseudoClassFunctionSelector.prototype = { visit$1(visitor) { return visitor.visitPseudoClassFunctionSelector$1(this); } }; A.PseudoElementFunctionSelector.prototype = { visit$1(visitor) { return visitor.visitPseudoElementFunctionSelector$1(this); } }; A.SelectorExpression.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.expressions); return null; } }; A.NegationSelector.prototype = { visit$1(visitor) { return !A._asBool(this.negationArg.visit$1(visitor)); } }; A.OperatorPlus.prototype = { visit$1(visitor) { return null; } }; A.OperatorMinus.prototype = { visit$1(visitor) { return null; } }; A.LiteralTerm.prototype = { visit$1(visitor) { return null; }, get$value(receiver) { return this.value; } }; A.NumberTerm.prototype = { visit$1(visitor) { return null; } }; A.UnitTerm.prototype = { visit$1(visitor) { return null; }, toString$0(_) { return this.text + A.S(A.TokenKind_unitToString(this.unit)); } }; A.LengthTerm.prototype = { visit$1(visitor) { return null; } }; A.PercentageTerm.prototype = { visit$1(visitor) { return null; } }; A.EmTerm.prototype = { visit$1(visitor) { return null; } }; A.ExTerm.prototype = { visit$1(visitor) { return null; } }; A.AngleTerm.prototype = { visit$1(visitor) { return null; } }; A.TimeTerm.prototype = { visit$1(visitor) { return null; } }; A.FreqTerm.prototype = { visit$1(visitor) { return null; } }; A.FractionTerm.prototype = { visit$1(visitor) { return null; } }; A.ResolutionTerm.prototype = { visit$1(visitor) { return null; } }; A.ChTerm.prototype = { visit$1(visitor) { return null; } }; A.RemTerm.prototype = { visit$1(visitor) { return null; } }; A.LineHeightTerm.prototype = { visit$1(visitor) { return null; } }; A.ViewportTerm.prototype = { visit$1(visitor) { return null; } }; A.TreeNode.prototype = {}; A.Expression.prototype = {}; A.Visitor.prototype = { _visitNodeList$1(list) { var index; for (index = 0; index < list.length; ++index) list[index].visit$1(this); } }; A.DesktopDropWeb.prototype = { _registerEvents$0() { var t2, _this = this, t1 = window; t1.toString; t2 = type$.MouseEvent; A._EventStreamSubscription$(t1, "drop", new A.DesktopDropWeb__registerEvents_closure(_this), false, t2); t1 = window; t1.toString; A._EventStreamSubscription$(t1, "dragenter", new A.DesktopDropWeb__registerEvents_closure0(_this), false, t2); t1 = window; t1.toString; A._EventStreamSubscription$(t1, "dragover", new A.DesktopDropWeb__registerEvents_closure1(_this), false, t2); t1 = window; t1.toString; A._EventStreamSubscription$(t1, "dragleave", new A.DesktopDropWeb__registerEvents_closure2(_this), false, t2); }, handleMethodCall$1($call) { return this.handleMethodCall$body$DesktopDropWeb($call); }, handleMethodCall$body$DesktopDropWeb($call) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic); var $async$handleMethodCall$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start throw A.wrapException(A.PlatformException$("Unimplemented", "desktop_drop for web doesn't implement '" + $call.method + "'", null, null)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$handleMethodCall$1, $async$completer); } }; A.DesktopDropWeb__registerEvents_closure.prototype = { call$1($event) { var results, items, item, e, s, t1, t2, _i, t3, t4, t5, t6, t7, t8, t9, exception; $event.preventDefault(); results = A._setArrayType([], type$.JSArray_WebDropItem); try { items = $event.dataTransfer.files; if (items != null) for (t1 = items, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { item = t1[_i]; t3 = (self.URL || self.webkitURL).createObjectURL(item); t3.toString; t4 = item.name; t4.toString; t5 = item.size; t5.toString; t6 = item.type; t6.toString; t7 = item.webkitRelativePath; if (item.lastModified != null) { t8 = item.lastModified; t8.toString; t9 = new A.DateTime(t8, false); t9.DateTime$_withValue$2$isUtc(t8, false); t8 = t9; } else { t8 = item.lastModifiedDate.getTime(); t8.toString; t9 = new A.DateTime(t8, true); t9.DateTime$_withValue$2$isUtc(t8, true); t8 = t9; } J.add$1$ax(results, new A.WebDropItem(t3, t4, t6, t5, t7, t8)); } } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A.print__debugPrintThrottled$closure().call$1("desktop_drop_web: " + A.S(e) + " " + A.S(s)); } finally { t1 = results; t2 = A.instanceType(t1)._eval$1("MappedListIterable<1,Map<String,@>>"); this.$this.channel._invokeMethod$1$3$arguments$missingOk("performOperation_web", A.List_List$of(new A.MappedListIterable(t1, new A.DesktopDropWeb__registerEvents__closure(), t2), true, t2._eval$1("ListIterable.E")), false, type$.dynamic); } }, $signature: 430 }; A.DesktopDropWeb__registerEvents__closure.prototype = { call$1(e) { return e.toJson$0(); }, $signature: 1543 }; A.DesktopDropWeb__registerEvents_closure0.prototype = { call$1($event) { var t1, t2; $event.preventDefault(); t1 = $event.clientX; t1.toString; t2 = $event.clientY; t2.toString; this.$this.channel._invokeMethod$1$3$arguments$missingOk("entered", A._setArrayType([t1, t2], type$.JSArray_double), false, type$.dynamic); }, $signature: 430 }; A.DesktopDropWeb__registerEvents_closure1.prototype = { call$1($event) { var t1, t2; $event.preventDefault(); t1 = $event.clientX; t1.toString; t2 = $event.clientY; t2.toString; this.$this.channel._invokeMethod$1$3$arguments$missingOk("updated", A._setArrayType([t1, t2], type$.JSArray_double), false, type$.dynamic); }, $signature: 430 }; A.DesktopDropWeb__registerEvents_closure2.prototype = { call$1($event) { var t1, t2; $event.preventDefault(); t1 = $event.clientX; t1.toString; t2 = $event.clientY; t2.toString; this.$this.channel._invokeMethod$1$3$arguments$missingOk("exited", A._setArrayType([t1, t2], type$.JSArray_double), false, type$.dynamic); }, $signature: 430 }; A.DesktopDrop.prototype = { init$0() { if (this._inited) return; this._inited = true; B.MethodChannel_vpc.setMethodCallHandler$1(new A.DesktopDrop_init_closure(this)); }, _handleMethodChannel$1($call) { return this._handleMethodChannel$body$DesktopDrop($call); }, _handleMethodChannel$body$DesktopDrop($call) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, position, paths, t2, t3, text, offset, results, t1; var $async$_handleMethodChannel$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $call.method; switch (t1) { case "entered": position = J.cast$1$0$ax(type$.List_dynamic._as($call.$arguments), type$.double); t1 = new A.Offset(position.$index(0, 0), position.$index(0, 1)); $async$self._channel$_offset = t1; $async$self._notifyEvent$1(new A.DropEnterEvent(t1)); break; case "updated": position = J.cast$1$0$ax(type$.List_dynamic._as($call.$arguments), type$.double); t1 = new A.Offset(position.$index(0, 0), position.$index(0, 1)); $async$self._channel$_offset = t1; $async$self._notifyEvent$1(new A.DropUpdateEvent(t1)); break; case "exited": t1 = $async$self._channel$_offset; $async$self._notifyEvent$1(new A.DropExitEvent(t1 == null ? B.Offset_0_0 : t1)); $async$self._channel$_offset = null; break; case "performOperation": paths = J.cast$1$0$ax(type$.List_dynamic._as($call.$arguments), type$.String); t1 = $async$self._channel$_offset; if (t1 == null) t1 = B.Offset_0_0; t2 = paths.map$1$1(paths, new A.DesktopDrop__handleMethodChannel_closure(), type$.XFile); $async$self._notifyEvent$1(new A.DropDoneEvent(A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")), t1)); $async$self._channel$_offset = null; break; case "performOperation_linux": t1 = type$.List_dynamic; t2 = t1._as($call.$arguments); t3 = J.getInterceptor$asx(t2); text = A._asString(t3.$index(t2, 0)); offset = J.cast$1$0$ax(t1._as(t3.$index(t2, 1)), type$.double); t2 = B.C_LineSplitter.convert$1(text); paths = new A.MappedListIterable(t2, new A.DesktopDrop__handleMethodChannel_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).super$Iterable$where(0, new A.DesktopDrop__handleMethodChannel_closure1()); t2 = offset.$index(0, 0); t3 = offset.$index(0, 1); t1 = paths.$ti._eval$1("MappedIterable<1,XFile>"); $async$self._notifyEvent$1(new A.DropDoneEvent(A.List_List$of(new A.MappedIterable(paths, new A.DesktopDrop__handleMethodChannel_closure2(), t1), true, t1._eval$1("Iterable.E")), new A.Offset(t2, t3))); break; case "performOperation_web": t1 = J.cast$1$0$ax(type$.List_dynamic._as($call.$arguments), type$.Map_dynamic_dynamic); t1 = t1.map$1$1(t1, new A.DesktopDrop__handleMethodChannel_closure3(), type$.WebDropItem); t2 = t1.$ti._eval$1("MappedListIterable<ListIterable.E,XFile>"); results = A.List_List$of(new A.MappedListIterable(t1, new A.DesktopDrop__handleMethodChannel_closure4(), t2), true, t2._eval$1("ListIterable.E")); t2 = $async$self._channel$_offset; $async$self._notifyEvent$1(new A.DropDoneEvent(results, t2 == null ? B.Offset_0_0 : t2)); $async$self._channel$_offset = null; break; default: throw A.wrapException(A.UnimplementedError$(t1 + " not implement.")); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_handleMethodChannel$1, $async$completer); }, _notifyEvent$1($event) { var t1, t2, listener; for (t1 = this._channel$_listeners, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { listener = t1._collection$_current; (listener == null ? t2._as(listener) : listener).call$1($event); } } }; A.DesktopDrop_init_closure.prototype = { call$1($call) { return this.$call$body$DesktopDrop_init_closure($call); }, $call$body$DesktopDrop_init_closure($call) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, e, s, t1, exception, $async$exception; var $async$call$1 = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; $async$goto = 7; return A._asyncAwait($async$self.$this._handleMethodChannel$1($call), $async$call$1); case 7: // returning from await. t1 = $async$result; $async$returnValue = t1; // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; e = A.unwrapException($async$exception); s = A.getTraceFromException($async$exception); A.print__debugPrintThrottled$closure().call$1("_handleMethodChannel: " + A.S(e) + " " + A.S(s)); // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 561 }; A.DesktopDrop__handleMethodChannel_closure.prototype = { call$1(e) { var _null = null; return A.XFile$(e, _null, _null, _null, _null); }, $signature: 841 }; A.DesktopDrop__handleMethodChannel_closure0.prototype = { call$1(e) { var error, stacktrace, t1, exception; try { t1 = A.Uri_tryParse(e); t1 = t1 == null ? null : t1.toFilePath$0(); if (t1 == null) t1 = ""; return t1; } catch (exception) { error = A.unwrapException(exception); stacktrace = A.getTraceFromException(exception); A.print__debugPrintThrottled$closure().call$1("failed to parse linux path: " + A.S(error) + " " + A.S(stacktrace)); } return ""; }, $signature: 31 }; A.DesktopDrop__handleMethodChannel_closure1.prototype = { call$1(e) { return e.length !== 0; }, $signature: 12 }; A.DesktopDrop__handleMethodChannel_closure2.prototype = { call$1(e) { var _null = null; return A.XFile$(e, _null, _null, _null, _null); }, $signature: 841 }; A.DesktopDrop__handleMethodChannel_closure3.prototype = { call$1(e) { var t1 = J.cast$2$0$ax(e, type$.String, type$.dynamic); return new A.WebDropItem(t1.$index(0, "uri"), t1.$index(0, "name"), t1.$index(0, "type"), t1.$index(0, "size"), t1.$index(0, "relativePath"), A.DateTime$fromMillisecondsSinceEpoch(t1.$index(0, "lastModified"), false)); }, $signature: 1614 }; A.DesktopDrop__handleMethodChannel_closure4.prototype = { call$1(e) { return A.XFile$(e.uri, e.lastModified, e.size, e.type, e.name); }, $signature: 1649 }; A.WebDropItem.prototype = { toJson$0() { var _this = this; return A.LinkedHashMap_LinkedHashMap$_literal(["uri", _this.uri, "name", _this.name, "type", _this.type, "size", _this.size, "relativePath", _this.relativePath, "lastModified", _this.lastModified._value], type$.String, type$.dynamic); } }; A.DropDoneDetails.prototype = {}; A.DropEventDetails.prototype = {}; A.DropTarget.prototype = { createState$0() { return new A._DropTargetState(B._DragTargetStatus_2, B._StateLifecycle_0); } }; A._DragTargetStatus.prototype = { _enumToString$0() { return "_DragTargetStatus." + this._core$_name; } }; A._DropTargetState.prototype = { initState$0() { this.super$State$initState(); var t1 = $.$get$DesktopDrop_instance(); t1.init$0(); this._widget.toString; t1._channel$_listeners.add$1(0, this.get$_onDropEvent()); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; }, _onDropEvent$1($event) { var globalPosition, position, t1, inBounds, t2, _this = this, renderBox = type$.nullable_RenderBox._as(_this._framework$_element.get$renderObject()); if (renderBox == null) return; _this._framework$_element.toString; globalPosition = $event.location; position = renderBox.globalToLocal$1(globalPosition); t1 = renderBox.get$size(0); inBounds = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy).contains$1(0, position); if ($event instanceof A.DropEnterEvent) { if (inBounds) _this._updateStatus$3$globalLocation$localLocation(B._DragTargetStatus_0, globalPosition, position); } else if ($event instanceof A.DropUpdateEvent) { t1 = _this._drop_target$_status; t2 = t1 === B._DragTargetStatus_2; if (t2 && inBounds) _this._updateStatus$3$globalLocation$localLocation(B._DragTargetStatus_0, globalPosition, position); else if ((t1 === B._DragTargetStatus_0 || t1 === B._DragTargetStatus_1) && inBounds) _this._updateStatus$4$debugRequiredStatus$globalLocation$localLocation(B._DragTargetStatus_1, false, globalPosition, position); else if (!t2 && !inBounds) _this._updateStatus$3$globalLocation$localLocation(B._DragTargetStatus_2, globalPosition, position); } else if ($event instanceof A.DropExitEvent && _this._drop_target$_status !== B._DragTargetStatus_2) _this._updateStatus$3$globalLocation$localLocation(B._DragTargetStatus_2, globalPosition, position); else { if ($event instanceof A.DropDoneEvent) t1 = (_this._drop_target$_status !== B._DragTargetStatus_2 || false) && inBounds; else t1 = false; if (t1) { _this._updateStatus$4$debugRequiredStatus$globalLocation$localLocation(B._DragTargetStatus_2, false, globalPosition, position); _this._widget.onDragDone.call$1(new A.DropDoneDetails($event.files)); } } }, _updateStatus$4$debugRequiredStatus$globalLocation$localLocation($status, debugRequiredStatus, globalLocation, localLocation) { var details, _this = this; _this._drop_target$_status = $status; details = new A.DropEventDetails(); switch ($status.index) { case 0: _this._widget.onDragEntered.call$1(details); break; case 1: _this._widget.toString; break; case 2: _this._widget.onDragExited.call$1(details); break; } }, _updateStatus$3$globalLocation$localLocation($status, globalLocation, localLocation) { return this._updateStatus$4$debugRequiredStatus$globalLocation$localLocation($status, true, globalLocation, localLocation); }, dispose$0() { this._widget.toString; $.$get$DesktopDrop_instance()._channel$_listeners.remove$1(0, this.get$_onDropEvent()); this.super$State$dispose(); }, build$1(context) { return this._widget.child; } }; A.DropEvent.prototype = { toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "(" + this.location.toString$0(0) + ")"; } }; A.DropEnterEvent.prototype = {}; A.DropExitEvent.prototype = {}; A.DropUpdateEvent.prototype = {}; A.DropDoneEvent.prototype = { toString$0(_) { return A.getRuntimeTypeOfDartObject(this).toString$0(0) + "(" + this.location.toString$0(0) + ", " + A.S(this.files) + ")"; } }; A.DeviceInfoPlusWebPlugin.prototype = {}; A.DeviceInfoPlatform.prototype = {}; A.FilePickerWeb.prototype = { pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData(allowCompression, allowMultiple, allowedExtensions, type, withData) { return this.pickFiles$body$FilePickerWeb(true, allowMultiple, allowedExtensions, type, true); }, pickFiles$body$FilePickerWeb(allowCompression, allowMultiple, allowedExtensions, type, withData) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_FilePickerResult), $async$returnValue, $async$self = this, t2, filesCompleter, accept, uploadInput, t3, files, t1; var $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = {}; if (type !== B.FileType_5) t2 = allowedExtensions.length !== 0; else t2 = false; if (t2) throw A.wrapException(A.Exception_Exception("You are setting a type [" + type.toString$0(0) + string$.x5dx2e_Cus)); t2 = new A._Future($.Zone__current, type$._Future_nullable_List_PlatformFile); filesCompleter = new A._AsyncCompleter(t2, type$._AsyncCompleter_nullable_List_PlatformFile); accept = A.FilePickerWeb__fileType(type, allowedExtensions); uploadInput = A.InputElement_InputElement("file"); uploadInput.draggable = true; uploadInput.multiple = allowMultiple; uploadInput.accept = accept; t3 = uploadInput.style; t3.display = "none"; t1.changeEventTriggered = false; t3 = new A.FilePickerWeb_pickFiles_changeEventListener(t1, $async$self, uploadInput, null, filesCompleter, false, true); A._EventStreamSubscription$(uploadInput, "change", t3, false, type$._ElementEventStreamImpl_Event._precomputed1); B.InputElement_methods.addEventListener$2(uploadInput, "change", t3); t3 = window; t3.toString; B.Window_methods.addEventListener$2(t3, "focus", new A.FilePickerWeb_pickFiles_cancelledEventListener(t1, filesCompleter)); t1 = $async$self.__FilePickerWeb__target_A; t1 === $ && A.throwUnnamedLateFieldNI(); J.get$children$x(t1).clear$0(0); J.get$children$x($async$self.__FilePickerWeb__target_A).add$1(0, uploadInput); uploadInput.click(); $async$goto = 3; return A._asyncAwait(t2, $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 3: // returning from await. files = $async$result; $async$returnValue = files == null ? null : new A.FilePickerResult(files); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData, $async$completer); } }; A.FilePickerWeb_pickFiles_changeEventListener.prototype = { call$1(e) { var addPickedFile, t2, t3, t4, _i, file, t5, _this = this, t1 = _this._box_0; if (t1.changeEventTriggered) return; t1.changeEventTriggered = true; t1 = _this.uploadInput.files; t1.toString; addPickedFile = new A.FilePickerWeb_pickFiles_changeEventListener_addPickedFile(A._setArrayType([], type$.JSArray_PlatformFile), t1, _this.onFileLoading, _this.filesCompleter); for (t2 = t1.length, t3 = type$.ProgressEvent, t4 = !_this.withData, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { file = t1[_i]; if (t4) { t5 = new FileReader(); t5.toString; A._EventStreamSubscription$(t5, "loadend", new A.FilePickerWeb_pickFiles_changeEventListener_closure(addPickedFile, file, t5), false, t3); t5.readAsDataURL(file); continue; } t5 = new FileReader(); t5.toString; A._EventStreamSubscription$(t5, "loadend", new A.FilePickerWeb_pickFiles_changeEventListener_closure0(addPickedFile, file, t5), false, t3); t5.readAsArrayBuffer(file); } }, $signature: 10 }; A.FilePickerWeb_pickFiles_changeEventListener_addPickedFile.prototype = { call$4(file, bytes, path, readStream) { var t3, t1 = this.pickedFiles, t2 = file.name; t2.toString; if (bytes != null) t3 = J.get$length$asx(bytes); else { t3 = file.size; t3.toString; } t1.push(new A.PlatformFile(path, t2, bytes, readStream, t3, null)); if (t1.length >= this.files.length) this.filesCompleter.complete$1(0, t1); }, $signature: 1655 }; A.FilePickerWeb_pickFiles_changeEventListener_closure.prototype = { call$1(e) { this.addPickedFile.call$4(this.file, null, A._asStringQ(B.FileReader_methods.get$result(this.reader)), null); }, $signature: 585 }; A.FilePickerWeb_pickFiles_changeEventListener_closure0.prototype = { call$1(e) { this.addPickedFile.call$4(this.file, type$.nullable_Uint8List._as(B.FileReader_methods.get$result(this.reader)), null, null); }, $signature: 585 }; A.FilePickerWeb_pickFiles_cancelledEventListener.prototype = { call$1(_) { var t1 = window; t1.toString; B.Window_methods.removeEventListener$2(t1, "focus", this); A.Future_Future$delayed(A.Duration$(0, 0, 0, 0, 0, 1), null, type$.dynamic).then$1$1(0, new A.FilePickerWeb_pickFiles_cancelledEventListener_closure(this._box_0, this.filesCompleter), type$.Null); }, $signature: 10 }; A.FilePickerWeb_pickFiles_cancelledEventListener_closure.prototype = { call$1(value) { var t1 = this._box_0; if (!t1.changeEventTriggered) { t1.changeEventTriggered = true; this.filesCompleter.complete$1(0, null); } }, $signature: 5 }; A.FilePickerWeb__fileType_closure.prototype = { call$2(prev, next) { return (prev.length === 0 ? "" : prev + ",") + " ." + next; }, $signature: 586 }; A.FileType.prototype = { _enumToString$0() { return "FileType." + this._core$_name; } }; A.FilePicker.prototype = {}; A.FilePickerIO.prototype = { pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData(allowCompression, allowMultiple, allowedExtensions, type, withData) { return this._getPath$7(type, allowMultiple, true, allowedExtensions, null, true, false); }, _getPath$7(fileType, allowMultipleSelection, allowCompression, allowedExtensions, onFileLoading, withData, withReadStream) { return this._getPath$body$FilePickerIO(fileType, allowMultipleSelection, true, allowedExtensions, onFileLoading, true, false); }, _getPath$body$FilePickerIO(fileType, allowMultipleSelection, allowCompression, allowedExtensions, onFileLoading, withData, withReadStream) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_FilePickerResult), $async$returnValue, $async$handler = 2, $async$currentError, result, platformFiles, platformFileMap, e, e0, t1, t2, t3, t4, exception, type, $async$exception; var $async$_getPath$7 = A._wrapJsFunctionForAsync(function($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 type = A.describeEnum(fileType); if (!J.$eq$(type, "custom")) t1 = allowedExtensions.length !== 0; else t1 = false; if (t1) throw A.wrapException(A.Exception_Exception("You are setting a type [" + fileType.toString$0(0) + string$.x5dx2e_Cus)); $async$handler = 4; t1 = $.FilePickerIO__eventSubscription; if (t1 != null) t1.cancel$0(0); $async$goto = 7; return A._asyncAwait($.$get$_channel().invokeListMethod$1$2(type, A.LinkedHashMap_LinkedHashMap$_literal(["allowMultipleSelection", allowMultipleSelection, "allowedExtensions", allowedExtensions, "allowCompression", true, "withData", true], type$.String, type$.nullable_Object), type$.Map_dynamic_dynamic), $async$_getPath$7); case 7: // returning from await. result = $async$result; if (result == null) { $async$returnValue = null; // goto return $async$goto = 1; break; } platformFiles = A._setArrayType([], type$.JSArray_PlatformFile); for (t1 = J.get$iterator$ax(result); t1.moveNext$0();) { platformFileMap = t1.get$current(t1); t2 = platformFileMap; t3 = J.getInterceptor$asx(t2); t4 = t3.$index(t2, "name"); J.add$1$ax(platformFiles, new A.PlatformFile(t3.$index(t2, "path"), t4, t3.$index(t2, "bytes"), null, t3.$index(t2, "size"), t3.$index(t2, "identifier"))); } $async$returnValue = new A.FilePickerResult(platformFiles); // goto return $async$goto = 1; break; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.PlatformException) { e = t1; A.print("[MethodChannelFilePicker] Platform exception: " + A.S(e)); throw $async$exception; } else { e0 = t1; A.print("[MethodChannelFilePicker] Unsupported operation. Method not found. The exception thrown was: " + A.S(e0)); throw $async$exception; } // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_getPath$7, $async$completer); } }; A.FilePickerMacOS.prototype = { pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData(allowCompression, allowMultiple, allowedExtensions, type, withData) { return this.pickFiles$body$FilePickerMacOS(true, allowMultiple, allowedExtensions, type, true); }, pickFiles$body$FilePickerMacOS(allowCompression, allowMultiple, allowedExtensions, type, withData) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_FilePickerResult), $async$returnValue, $async$self = this, $arguments, argument, fileSelectionResult, executable, fileFilter, t1, $async$temp1; var $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait(A.isExecutableOnPath("osascript"), $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 3: // returning from await. executable = $async$result; fileFilter = $async$self.fileTypeToFileFilter$2(type, allowedExtensions); t1 = A.stringReplaceAllUnchecked("", "\\", "\\\\"); t1 = A.stringReplaceAllUnchecked(t1, '"', '\\"'); t1 = A.stringReplaceAllUnchecked(t1, "\n", "\\\n"); $arguments = A._setArrayType(["-e"], type$.JSArray_String); argument = fileFilter.length !== 0 ? "choose file " + ("of type {" + fileFilter + "} ") : "choose file "; if (allowMultiple) argument += "with multiple selections allowed "; $arguments.push(argument + ('with prompt "' + t1 + '"')); $async$goto = 4; return A._asyncAwait(A.runExecutableWithArguments(executable, $arguments), $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 4: // returning from await. fileSelectionResult = $async$result; if (fileSelectionResult == null) { $async$returnValue = null; // goto return $async$goto = 1; break; } $async$temp1 = A; $async$goto = 5; return A._asyncAwait(A.filePathsToPlatformFiles($async$self.resultStringToFilePaths$1(fileSelectionResult), false, true), $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 5: // returning from await. $async$returnValue = new $async$temp1.FilePickerResult($async$result); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData, $async$completer); }, fileTypeToFileFilter$2(type, allowedExtensions) { switch (type.index) { case 0: return ""; case 4: return '"aac", "midi", "mp3", "ogg", "wav"'; case 5: return '"", "' + B.JSArray_methods.join$1(allowedExtensions, '", "') + '"'; case 2: return '"bmp", "gif", "jpeg", "jpg", "png"'; case 1: return '"avi", "flv", "mkv", "mov", "mp4", "mpeg", "webm", "wmv", "bmp", "gif", "jpeg", "jpg", "png"'; case 3: return '"avi", "flv", "mkv", "mov", "mp4", "mpeg", "webm", "wmv"'; default: throw A.wrapException(A.Exception_Exception("unknown file type")); } }, resultStringToFilePaths$1(fileSelectionResult) { var paths, t1 = B.JSString_methods.trim$0(fileSelectionResult); if (t1.length === 0) return A._setArrayType([], type$.JSArray_String); t1 = new A.MappedListIterable(A._setArrayType(t1.split(", alias "), type$.JSArray_String), new A.FilePickerMacOS_resultStringToFilePaths_closure(), type$.MappedListIterable_String_String).super$Iterable$where(0, new A.FilePickerMacOS_resultStringToFilePaths_closure0()); paths = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); if (paths.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(paths), "file ")) paths[0] = J.substring$1$s(paths[0], 5); else if (paths.length !== 0 && J.startsWith$1$s(B.JSArray_methods.get$first(paths), "alias ")) paths[0] = J.substring$1$s(paths[0], 6); t1 = A._arrayInstanceType(paths)._eval$1("MappedListIterable<1,String>"); return A.List_List$of(new A.MappedListIterable(paths, new A.FilePickerMacOS_resultStringToFilePaths_closure1(), t1), true, t1._eval$1("ListIterable.E")); } }; A.FilePickerMacOS_resultStringToFilePaths_closure.prototype = { call$1(path) { return B.JSString_methods.trim$0(path); }, $signature: 31 }; A.FilePickerMacOS_resultStringToFilePaths_closure0.prototype = { call$1(path) { return path.length !== 0; }, $signature: 12 }; A.FilePickerMacOS_resultStringToFilePaths_closure1.prototype = { call$1(path) { var t1 = type$.JSArray_String, t2 = type$.WhereIterable_String, pathElements = A.List_List$of(new A.WhereIterable(A._setArrayType(path.split(":"), t1), new A.FilePickerMacOS_resultStringToFilePaths__closure(), t2), true, t2._eval$1("Iterable.E")); t1 = A._setArrayType(["/Volumes", pathElements[0]], t1); B.JSArray_methods.addAll$1(t1, B.JSArray_methods.sublist$1(pathElements, 1)); return B.JSArray_methods.join$1(t1, "/"); }, $signature: 31 }; A.FilePickerMacOS_resultStringToFilePaths__closure.prototype = { call$1(e) { return e.length !== 0; }, $signature: 12 }; A.FilePickerResult.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.FilePickerResult && A.listEquals(other.files, this.files); }, get$hashCode(_) { return J.get$hashCode$(this.files); }, toString$0(_) { return "FilePickerResult(files: " + A.S(this.files) + ")"; } }; A.FilePickerLinux.prototype = { pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData(allowCompression, allowMultiple, allowedExtensions, type, withData) { return this.pickFiles$body$FilePickerLinux(true, allowMultiple, allowedExtensions, type, true); }, pickFiles$body$FilePickerLinux(allowCompression, allowMultiple, allowedExtensions, type, withData) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_FilePickerResult), $async$returnValue, $async$self = this, executable, dialogHandler, fileFilter, fileSelectionResult, $async$temp1; var $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $async$goto = 3; return A._asyncAwait($async$self._getPathToExecutable$0(), $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 3: // returning from await. executable = $async$result; dialogHandler = A.DialogHandler_DialogHandler(executable); fileFilter = dialogHandler.fileTypeToFileFilter$2(type, allowedExtensions); $async$goto = 4; return A._asyncAwait(A.runExecutableWithArguments(executable, dialogHandler.generateCommandLineArguments$5$fileFilter$initialDirectory$multipleFiles$pickDirectory("", fileFilter, "", allowMultiple, false)), $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 4: // returning from await. fileSelectionResult = $async$result; if (fileSelectionResult == null) { $async$returnValue = null; // goto return $async$goto = 1; break; } $async$temp1 = A; $async$goto = 5; return A._asyncAwait(A.filePathsToPlatformFiles(dialogHandler.resultStringToFilePaths$1(fileSelectionResult), false, true), $async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData); case 5: // returning from await. $async$returnValue = new $async$temp1.FilePickerResult($async$result); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$pickFiles$5$allowCompression$allowMultiple$allowedExtensions$type$withData, $async$completer); }, _getPathToExecutable$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$handler = 2, $async$currentError, t1, exception, $async$exception, $async$exception1; var $async$_getPathToExecutable$0 = A._wrapJsFunctionForAsync(function($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 $async$handler = 4; $async$handler = 8; $async$goto = 11; return A._asyncAwait(A.isExecutableOnPath("qarma"), $async$_getPathToExecutable$0); case 11: // returning from await. t1 = $async$result; $async$returnValue = t1; // goto return $async$goto = 1; break; $async$handler = 4; // goto after finally $async$goto = 10; break; case 8: // catch $async$handler = 7; $async$exception = $async$currentError; $async$goto = type$.Exception._is(A.unwrapException($async$exception)) ? 12 : 14; break; case 12: // then $async$goto = 15; return A._asyncAwait(A.isExecutableOnPath("kdialog"), $async$_getPathToExecutable$0); case 15: // returning from await. t1 = $async$result; $async$returnValue = t1; // goto return $async$goto = 1; break; // goto join $async$goto = 13; break; case 14: // else throw $async$exception; case 13: // join // goto after finally $async$goto = 10; break; case 7: // uncaught // goto catch $async$goto = 4; break; case 10: // after finally $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception1 = $async$currentError; $async$goto = type$.Exception._is(A.unwrapException($async$exception1)) ? 16 : 18; break; case 16: // then $async$goto = 19; return A._asyncAwait(A.isExecutableOnPath("zenity"), $async$_getPathToExecutable$0); case 19: // returning from await. $async$returnValue = $async$result; // goto return $async$goto = 1; break; // goto join $async$goto = 17; break; case 18: // else throw $async$exception1; case 17: // join // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_getPathToExecutable$0, $async$completer); } }; A.KDialogHandler.prototype = { generateCommandLineArguments$5$fileFilter$initialDirectory$multipleFiles$pickDirectory(dialogTitle, fileFilter, initialDirectory, multipleFiles, pickDirectory) { var t1 = type$.JSArray_String, $arguments = A._setArrayType(["--title", dialogTitle], t1); $arguments.push("--getopenfilename"); if (initialDirectory.length !== 0) $arguments.push(initialDirectory); if (fileFilter.length !== 0) { if (initialDirectory.length === 0) $arguments.push("."); $arguments.push(fileFilter); } if (multipleFiles) B.JSArray_methods.addAll$1($arguments, A._setArrayType(["--multiple", "--separate-output"], t1)); return $arguments; }, fileTypeToFileFilter$2(type, allowedExtensions) { switch (type.index) { case 0: return ""; case 4: return "Audio File (*.aac *.midi *.mp3 *.ogg *.wav)"; case 5: return new A.MappedListIterable(allowedExtensions, new A.KDialogHandler_fileTypeToFileFilter_closure(), A._arrayInstanceType(allowedExtensions)._eval$1("MappedListIterable<1,String>")).join$1(0, " File, ") + " File (*." + B.JSArray_methods.join$1(allowedExtensions, " *.") + ")"; case 2: return "Image File (*.bmp *.gif *.jpeg *.jpg *.png)"; case 1: return "Media File (*.avi *.flv *.mkv *.mov *.mp4 *.mpeg *.webm *.wmv *.bmp *.gif *.jpeg *.jpg *.png)"; case 3: return "Video File (*.avi *.flv *.mkv *.mov *.mp4 *.mpeg *.webm *.wmv)"; default: throw A.wrapException(A.Exception_Exception("unknown file type")); } }, resultStringToFilePaths$1(fileSelectionResult) { var t1; if (B.JSString_methods.trim$0(fileSelectionResult).length === 0) return A._setArrayType([], type$.JSArray_String); t1 = type$.MappedListIterable_String_String; return A.List_List$of(new A.MappedListIterable(A._setArrayType(fileSelectionResult.split("\n"), type$.JSArray_String), new A.KDialogHandler_resultStringToFilePaths_closure(), t1), true, t1._eval$1("ListIterable.E")); } }; A.KDialogHandler_fileTypeToFileFilter_closure.prototype = { call$1(ext) { return ext.toUpperCase(); }, $signature: 31 }; A.KDialogHandler_resultStringToFilePaths_closure.prototype = { call$1(path) { return B.JSString_methods.startsWith$1(path, "/") ? path : "/" + path; }, $signature: 31 }; A.QarmaAndZenityHandler.prototype = { generateCommandLineArguments$5$fileFilter$initialDirectory$multipleFiles$pickDirectory(dialogTitle, fileFilter, initialDirectory, multipleFiles, pickDirectory) { var $arguments = A._setArrayType(["--file-selection", "--title", dialogTitle], type$.JSArray_String); if (initialDirectory.length !== 0) $arguments.push("--filename=" + initialDirectory); if (fileFilter.length !== 0) $arguments.push("--file-filter=" + fileFilter); if (multipleFiles) $arguments.push("--multiple"); return $arguments; }, fileTypeToFileFilter$2(type, allowedExtensions) { switch (type.index) { case 0: return ""; case 4: return "*.aac *.midi *.mp3 *.ogg *.wav"; case 5: return "*." + B.JSArray_methods.join$1(allowedExtensions, " *."); case 2: return "*.bmp *.gif *.jpeg *.jpg *.png"; case 1: return "*.avi *.flv *.mkv *.mov *.mp4 *.mpeg *.webm *.wmv *.bmp *.gif *.jpeg *.jpg *.png"; case 3: return "*.avi *.flv *.mkv *.mov *.mp4 *.mpeg *.webm *.wmv"; default: throw A.wrapException(A.Exception_Exception("unknown file type")); } }, resultStringToFilePaths$1(fileSelectionResult) { var t1; if (B.JSString_methods.trim$0(fileSelectionResult).length === 0) return A._setArrayType([], type$.JSArray_String); t1 = type$.MappedListIterable_String_String; return A.List_List$of(new A.MappedListIterable(A._setArrayType(fileSelectionResult.split("|/"), type$.JSArray_String), new A.QarmaAndZenityHandler_resultStringToFilePaths_closure(), t1), true, t1._eval$1("ListIterable.E")); } }; A.QarmaAndZenityHandler_resultStringToFilePaths_closure.prototype = { call$1(path) { return B.JSString_methods.startsWith$1(path, "/") ? path : "/" + path; }, $signature: 31 }; A.PlatformFile.prototype = { $eq(_, other) { var t1, t2, _this = this; if (other == null) return false; if (_this === other) return true; if (other instanceof A.PlatformFile) if (other.name === _this.name) { t1 = other.bytes; t2 = _this.bytes; t1 = (t1 == null ? t2 == null : t1 === t2) && J.$eq$(other.readStream, _this.readStream) && other.identifier == _this.identifier && other.size === _this.size; } else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { return 0; }, toString$0(_) { var _this = this; return "PlatformFile(, name: " + _this.name + ", bytes: " + A.S(_this.bytes) + ", readStream: " + A.S(_this.readStream) + ", size: " + _this.size + ")"; } }; A.filePathsToPlatformFiles_closure.prototype = { call$1(filePath) { return filePath.length !== 0; }, $signature: 12 }; A.filePathsToPlatformFiles_closure0.prototype = { call$1(filePath) { return this.$call$body$filePathsToPlatformFiles_closure(filePath); }, $call$body$filePathsToPlatformFiles_closure(filePath) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PlatformFile), $async$returnValue, $async$self = this, file, $async$temp1, $async$temp2; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start file = A.File_File(filePath); if (!$async$self.withData) { $async$returnValue = A.createPlatformFile(file, null, null); // goto return $async$goto = 1; break; } $async$temp1 = A; $async$temp2 = file; $async$goto = 3; return A._asyncAwait(file.readAsBytes$0(), $async$call$1); case 3: // returning from await. $async$returnValue = $async$temp1.createPlatformFile($async$temp2, $async$result, null); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 1691 }; A.Int32.prototype = { _toInt$1(val) { if (val instanceof A.Int32) return val._i; else if (A._isInt(val)) return val; throw A.wrapException(A.ArgumentError$value(val, "other", "Not an int, Int32 or Int64")); }, $add(_, other) { var t1; if (other instanceof A.Int64) return A.Int64_Int64(this._i).$add(0, other); t1 = this._i + this._toInt$1(other); return new A.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); }, $sub(_, other) { var t1; if (other instanceof A.Int64) return A.Int64_Int64(this._i).$sub(0, other); t1 = this._i - this._toInt$1(other); return new A.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); }, $mul(_, other) { return A.Int64_Int64(this._i).$mul(0, other).toInt32$0(); }, $eq(_, other) { if (other == null) return false; if (other instanceof A.Int32) return this._i === other._i; else if (other instanceof A.Int64) return A.Int64_Int64(this._i).$eq(0, other); else if (A._isInt(other)) return this._i === other; return false; }, compareTo$1(_, other) { if (other instanceof A.Int64) return A.Int64_Int64(this._i)._compareTo$1(other); return B.JSInt_methods.compareTo$1(this._i, this._toInt$1(other)); }, $lt(_, other) { return this._i < this._toInt$1(other); }, $gt(_, other) { return this._i > this._toInt$1(other); }, $ge(_, other) { return this._i >= this._toInt$1(other); }, get$hashCode(_) { return this._i; }, toString$0(_) { return B.JSInt_methods.toString$0(this._i); }, $isComparable: 1 }; A.Int64.prototype = { $add(_, other) { var o = A.Int64__promote(other), sum0 = this._l + o._l, sum1 = this._m + o._m + (sum0 >>> 22); return new A.Int64(sum0 & 4194303, sum1 & 4194303, this._h + o._h + (sum1 >>> 22) & 1048575); }, $sub(_, other) { var o = A.Int64__promote(other); return A.Int64__sub(this._l, this._m, this._h, o._l, o._m, o._h); }, $mul(_, other) { var a3, b0, t3, b1, b2, b3, b4, p0, p1, p2, p3, p4, c0, c1, o = A.Int64__promote(other), t1 = this._l, a0 = t1 & 8191, t2 = this._m, a1 = t1 >>> 13 | (t2 & 15) << 9, a2 = t2 >>> 4 & 8191; t1 = this._h; a3 = t2 >>> 17 | (t1 & 255) << 5; t2 = o._l; b0 = t2 & 8191; t3 = o._m; b1 = t2 >>> 13 | (t3 & 15) << 9; b2 = t3 >>> 4 & 8191; t2 = o._h; b3 = t3 >>> 17 | (t2 & 255) << 5; b4 = t2 >>> 8 & 4095; p0 = a0 * b0; p1 = a1 * b0; p2 = a2 * b0; p3 = a3 * b0; p4 = (t1 >>> 8 & 4095) * b0; if (b1 !== 0) { p1 += a0 * b1; p2 += a1 * b1; p3 += a2 * b1; p4 += a3 * b1; } if (b2 !== 0) { p2 += a0 * b2; p3 += a1 * b2; p4 += a2 * b2; } if (b3 !== 0) { p3 += a0 * b3; p4 += a1 * b3; } if (b4 !== 0) p4 += a0 * b4; c0 = (p0 & 4194303) + ((p1 & 511) << 13); c1 = (p0 >>> 22) + (p1 >>> 9) + ((p2 & 262143) << 4) + ((p3 & 31) << 17) + (c0 >>> 22); return new A.Int64(c0 & 4194303, c1 & 4194303, (p2 >>> 18) + (p3 >>> 5) + ((p4 & 4095) << 8) + (c1 >>> 22) & 1048575); }, $eq(_, other) { var o, _this = this; if (other == null) return false; if (other instanceof A.Int64) o = other; else if (A._isInt(other)) { if (_this._h === 0 && _this._m === 0) return _this._l === other; if ((other & 4194303) === other) return false; o = A.Int64_Int64(other); } else o = other instanceof A.Int32 ? A.Int64_Int64(other._i) : null; if (o != null) return _this._l === o._l && _this._m === o._m && _this._h === o._h; return false; }, compareTo$1(_, other) { return this._compareTo$1(other); }, _compareTo$1(other) { var o = A.Int64__promote(other), t1 = this._h, signa = t1 >>> 19, t2 = o._h; if (signa !== t2 >>> 19) return signa === 0 ? 1 : -1; if (t1 > t2) return 1; else if (t1 < t2) return -1; t1 = this._m; t2 = o._m; if (t1 > t2) return 1; else if (t1 < t2) return -1; t1 = this._l; t2 = o._l; if (t1 > t2) return 1; else if (t1 < t2) return -1; return 0; }, $lt(_, other) { return this._compareTo$1(other) < 0; }, $gt(_, other) { return this._compareTo$1(other) > 0; }, $ge(_, other) { return this._compareTo$1(other) >= 0; }, get$hashCode(_) { var t1 = this._m; return (((t1 & 1023) << 22 | this._l) ^ (this._h << 12 | t1 >>> 10 & 4095)) >>> 0; }, toInt32$0() { var t1 = (this._m & 1023) << 22 | this._l; return new A.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); }, toString$0(_) { var d00, d10, sign, d0 = this._l, d1 = this._m, d2 = this._h; if ((d2 & 524288) !== 0) { d0 = 0 - d0; d00 = d0 & 4194303; d1 = 0 - d1 - (B.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); d10 = d1 & 4194303; d2 = 0 - d2 - (B.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; d1 = d10; d0 = d00; sign = "-"; } else sign = ""; return A.Int64__toRadixStringUnsigned(10, d0, d1, d2, sign); }, _toRadixString$1(radix) { var d00, d10, sign, d0 = this._l, d1 = this._m, d2 = this._h; if ((d2 & 524288) !== 0) { d0 = 0 - d0; d00 = d0 & 4194303; d1 = 0 - d1 - (B.JSInt_methods._shrOtherPositive$1(d0, 22) & 1); d10 = d1 & 4194303; d2 = 0 - d2 - (B.JSInt_methods._shrOtherPositive$1(d1, 22) & 1) & 1048575; d1 = d10; d0 = d00; sign = "-"; } else sign = ""; return A.Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign); }, $isComparable: 1 }; A.AnimationStatus.prototype = { _enumToString$0() { return "AnimationStatus." + this._core$_name; } }; A.Animation0.prototype = { toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + this.toStringDetails$0() + ")"; }, toStringDetails$0() { switch (this.get$status(this).index) { case 1: var t1 = "\u25b6"; break; case 2: t1 = "\u25c0"; break; case 3: t1 = "\u23ed"; break; case 0: t1 = "\u23ee"; break; default: t1 = null; } return t1; } }; A._AnimationDirection.prototype = { _enumToString$0() { return "_AnimationDirection." + this._core$_name; } }; A.AnimationBehavior.prototype = { _enumToString$0() { return "AnimationBehavior." + this._core$_name; } }; A.AnimationController.prototype = { resync$1(vsync) { var t2, t3, t1 = this._ticker; t1.toString; t2 = this._ticker = vsync.createTicker$1(this.get$_animation_controller$_tick()); t3 = t1._ticker$_future; if (t3 != null) { t2._ticker$_future = t3; t2._startTime = t1._startTime; if (!t2._muted) t3 = t2._animationId == null; else t3 = false; if (t3) t2._animationId = $.SchedulerBinding__instance.scheduleFrameCallback$2$rescheduling(t2.get$_ticker$_tick(), false); t1._ticker$_future = null; t1.unscheduleTick$0(); } t1.dispose$0(); }, get$value(_) { var t1 = this.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, set$value(_, newValue) { var _this = this; _this.stop$0(0); _this._internalSetValue$1(newValue); _this.notifyListeners$0(); _this._checkStatusChanged$0(); }, get$velocity() { var t1 = this._ticker; if (!(t1 != null && t1._ticker$_future != null)) return 0; t1 = this._simulation; t1.toString; return t1.dx$1(0, this._lastElapsedDuration._duration / 1000000); }, _internalSetValue$1(newValue) { var _this = this, t1 = _this.lowerBound, t2 = _this.upperBound, t3 = _this.__AnimationController__value_A = A.clampDouble(newValue, t1, t2); if (t3 === t1) _this.__AnimationController__status_A = B.AnimationStatus_0; else if (t3 === t2) _this.__AnimationController__status_A = B.AnimationStatus_3; else _this.__AnimationController__status_A = _this._direction === B._AnimationDirection_0 ? B.AnimationStatus_1 : B.AnimationStatus_2; }, get$status(_) { var t1 = this.__AnimationController__status_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, forward$1$from(_, from) { var _this = this; _this._direction = B._AnimationDirection_0; if (from != null) _this.set$value(0, from); return _this._animateToInternal$1(_this.upperBound); }, forward$0(_) { return this.forward$1$from(0, null); }, reverse$1$from(_, from) { this._direction = B._AnimationDirection_1; return this._animateToInternal$1(this.lowerBound); }, reverse$0(_) { return this.reverse$1$from(0, null); }, _animateToInternal$3$curve$duration(target, curve, duration) { var scale, range, remainingFraction, directionDuration, simulationDuration, t2, _this = this, t1 = $.SemanticsBinding__instance.SemanticsBinding___SemanticsBinding__accessibilityFeatures_A; t1 === $ && A.throwUnnamedLateFieldNI(); if ((t1.__engine$_index & 4) !== 0) switch (_this.animationBehavior.index) { case 0: scale = 0.05; break; case 1: scale = 1; break; default: scale = 1; } else scale = 1; if (duration == null) { range = _this.upperBound - _this.lowerBound; if (isFinite(range)) { t1 = _this.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); remainingFraction = Math.abs(target - t1) / range; } else remainingFraction = 1; if (_this._direction === B._AnimationDirection_1 && _this.reverseDuration != null) { t1 = _this.reverseDuration; t1.toString; directionDuration = t1; } else { t1 = _this.duration; t1.toString; directionDuration = t1; } simulationDuration = new A.Duration(B.JSNumber_methods.round$0(directionDuration._duration * remainingFraction)); } else { t1 = _this.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); simulationDuration = target === t1 ? B.Duration_0 : duration; } _this.stop$0(0); t1 = simulationDuration._duration; if (t1 === B.Duration_0._duration) { t1 = _this.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 !== target) { _this.__AnimationController__value_A = A.clampDouble(target, _this.lowerBound, _this.upperBound); _this.notifyListeners$0(); } _this.__AnimationController__status_A = _this._direction === B._AnimationDirection_0 ? B.AnimationStatus_3 : B.AnimationStatus_0; _this._checkStatusChanged$0(); return A.TickerFuture$complete(); } t2 = _this.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); return _this._startSimulation$1(new A._InterpolationSimulation(t1 * scale / 1000000, t2, target, curve, B.Tolerance_Gdw)); }, _animateToInternal$1(target) { return this._animateToInternal$3$curve$duration(target, B.C__Linear, null); }, repeat$1$reverse(_, reverse) { var t1, t2, _this = this, min = _this.lowerBound, max = _this.upperBound, period = _this.duration; _this.stop$0(0); t1 = _this.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = period._duration / 1000000; t1 = max === min ? 0 : t1 / (max - min) * t2; return _this._startSimulation$1(new A._RepeatingSimulation(min, max, reverse, _this.get$_directionSetter(), t2, t1, B.Tolerance_Gdw)); }, repeat$0(_) { return this.repeat$1$reverse(0, false); }, _directionSetter$1(direction) { this._direction = direction; this.__AnimationController__status_A = direction === B._AnimationDirection_0 ? B.AnimationStatus_1 : B.AnimationStatus_2; this._checkStatusChanged$0(); }, fling$1$velocity(velocity) { var target, scale, simulation, _this = this, springDescription = $.$get$_kFlingSpringDescription(), t1 = velocity < 0; _this._direction = t1 ? B._AnimationDirection_1 : B._AnimationDirection_0; target = t1 ? _this.lowerBound - 0.01 : _this.upperBound + 0.01; t1 = $.SemanticsBinding__instance.SemanticsBinding___SemanticsBinding__accessibilityFeatures_A; t1 === $ && A.throwUnnamedLateFieldNI(); if ((t1.__engine$_index & 4) !== 0) switch (_this.animationBehavior.index) { case 0: scale = 200; break; case 1: scale = 1; break; default: scale = 1; } else scale = 1; t1 = _this.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); simulation = new A.SpringSimulation(target, A._SpringSolution__SpringSolution(springDescription, t1 - target, velocity * scale), B.Tolerance_Gdw); simulation.tolerance = B.Tolerance_qbZ; _this.stop$0(0); return _this._startSimulation$1(simulation); }, fling$0() { return this.fling$1$velocity(1); }, animateWith$1(simulation) { this.stop$0(0); this._direction = B._AnimationDirection_0; return this._startSimulation$1(simulation); }, _startSimulation$1(simulation) { var result, _this = this; _this._simulation = simulation; _this._lastElapsedDuration = B.Duration_0; _this.__AnimationController__value_A = A.clampDouble(simulation.x$1(0, 0), _this.lowerBound, _this.upperBound); result = _this._ticker.start$0(0); _this.__AnimationController__status_A = _this._direction === B._AnimationDirection_0 ? B.AnimationStatus_1 : B.AnimationStatus_2; _this._checkStatusChanged$0(); return result; }, stop$1$canceled(_, canceled) { this._lastElapsedDuration = this._simulation = null; this._ticker.stop$1$canceled(0, canceled); }, stop$0(_) { return this.stop$1$canceled(0, true); }, dispose$0() { var _this = this; _this._ticker.dispose$0(); _this._ticker = null; _this.AnimationLocalStatusListenersMixin__statusListeners.clear$0(0); _this.AnimationLocalListenersMixin__listeners.clear$0(0); _this.super$AnimationEagerListenerMixin$dispose(); }, _checkStatusChanged$0() { var _this = this, t1 = _this.__AnimationController__status_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (_this._lastReportedStatus !== t1) { _this._lastReportedStatus = t1; _this.notifyStatusListeners$1(t1); } }, _animation_controller$_tick$1(elapsed) { var elapsedInSeconds, _this = this; _this._lastElapsedDuration = elapsed; elapsedInSeconds = elapsed._duration / 1000000; _this.__AnimationController__value_A = A.clampDouble(_this._simulation.x$1(0, elapsedInSeconds), _this.lowerBound, _this.upperBound); if (_this._simulation.isDone$1(elapsedInSeconds)) { _this.__AnimationController__status_A = _this._direction === B._AnimationDirection_0 ? B.AnimationStatus_3 : B.AnimationStatus_0; _this.stop$1$canceled(0, false); } _this.notifyListeners$0(); _this._checkStatusChanged$0(); }, toStringDetails$0() { var ticker, t1 = this._ticker, t2 = t1 == null, paused = !t2 && t1._ticker$_future != null ? "" : "; paused"; if (t2) ticker = "; DISPOSED"; else ticker = t1._muted ? "; silenced" : ""; t1 = this.super$Animation$toStringDetails(); t2 = this.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); return t1 + " " + B.JSNumber_methods.toStringAsFixed$1(t2, 3) + paused + ticker; } }; A._InterpolationSimulation.prototype = { x$1(_, timeInSeconds) { var t1, t2, _this = this, t = A.clampDouble(timeInSeconds / _this._durationInSeconds, 0, 1); if (t === 0) return _this._begin; else { t1 = _this._animation_controller$_end; if (t === 1) return t1; else { t2 = _this._begin; return t2 + (t1 - t2) * _this._curve.transform$1(0, t); } } }, dx$1(_, timeInSeconds) { return (this.x$1(0, timeInSeconds + 0.001) - this.x$1(0, timeInSeconds - 0.001)) / 0.002; }, isDone$1(timeInSeconds) { return timeInSeconds > this._durationInSeconds; } }; A._RepeatingSimulation.prototype = { x$1(_, timeInSeconds) { var t2, t3, t4, _this = this, totalTimeInSeconds = timeInSeconds + _this._initialT, t1 = _this._periodInSeconds, t = B.JSNumber_methods.$mod(totalTimeInSeconds / t1, 1), isPlayingReverse = (B.JSNumber_methods.$tdiv(totalTimeInSeconds, t1) & 1) === 1; t1 = _this.reverse && isPlayingReverse; t2 = _this.directionSetter; t3 = _this.max; t4 = _this.min; if (t1) { t2.call$1(B._AnimationDirection_1); t1 = A.lerpDouble(t3, t4, t); t1.toString; return t1; } else { t2.call$1(B._AnimationDirection_0); t1 = A.lerpDouble(t4, t3, t); t1.toString; return t1; } }, dx$1(_, timeInSeconds) { return (this.max - this.min) / this._periodInSeconds; }, isDone$1(timeInSeconds) { return false; } }; A._AnimationController_Animation_AnimationEagerListenerMixin.prototype = {}; A._AnimationController_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin.prototype = {}; A._AnimationController_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin.prototype = {}; A.AnimationStyle.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.AnimationStyle) { t1 = other.duration; if (t1._duration === _this.duration._duration) { t1 = other.reverseDuration; t1 = t1._duration === _this.reverseDuration._duration; } else t1 = false; } else t1 = false; return t1; }, get$hashCode(_) { return A.Object_hash(null, this.duration, null, this.reverseDuration, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._AnimationStyle_Object_Diagnosticable.prototype = {}; A._AlwaysCompleteAnimation.prototype = { addListener$1(_, listener) { }, removeListener$1(_, listener) { }, addStatusListener$1(listener) { }, removeStatusListener$1(listener) { }, get$status(_) { return B.AnimationStatus_3; }, get$value(_) { return 1; }, toString$0(_) { return "kAlwaysCompleteAnimation"; } }; A._AlwaysDismissedAnimation.prototype = { addListener$1(_, listener) { }, removeListener$1(_, listener) { }, addStatusListener$1(listener) { }, removeStatusListener$1(listener) { }, get$status(_) { return B.AnimationStatus_0; }, get$value(_) { return 0; }, toString$0(_) { return "kAlwaysDismissedAnimation"; } }; A.AlwaysStoppedAnimation.prototype = { addListener$1(_, listener) { }, removeListener$1(_, listener) { }, addStatusListener$1(listener) { }, removeStatusListener$1(listener) { }, get$status(_) { return B.AnimationStatus_1; }, toStringDetails$0() { return this.super$Animation$toStringDetails() + " " + this.value.toString$0(0) + "; paused"; }, get$value(receiver) { return this.value; } }; A.AnimationWithParentMixin.prototype = { addListener$1(_, listener) { return this.get$parent(this).addListener$1(0, listener); }, removeListener$1(_, listener) { return this.get$parent(this).removeListener$1(0, listener); }, addStatusListener$1(listener) { return this.get$parent(this).addStatusListener$1(listener); }, removeStatusListener$1(listener) { return this.get$parent(this).removeStatusListener$1(listener); }, get$status(_) { var t1 = this.get$parent(this); return t1.get$status(t1); } }; A.ProxyAnimation.prototype = { set$parent(_, value) { var t2, _this = this, t1 = _this._animations$_parent; if (value == t1) return; if (t1 != null) { _this._animations$_status = t1.get$status(t1); t1 = _this._animations$_parent; _this._animations$_value = t1.get$value(t1); if (_this.AnimationLazyListenerMixin__listenerCounter > 0) _this.didStopListening$0(); } _this._animations$_parent = value; if (value != null) { if (_this.AnimationLazyListenerMixin__listenerCounter > 0) _this.didStartListening$0(); t1 = _this._animations$_value; t2 = _this._animations$_parent; t2 = t2.get$value(t2); if (t1 == null ? t2 != null : t1 !== t2) _this.notifyListeners$0(); t1 = _this._animations$_status; t2 = _this._animations$_parent; if (t1 !== t2.get$status(t2)) { t1 = _this._animations$_parent; _this.notifyStatusListeners$1(t1.get$status(t1)); } _this._animations$_value = _this._animations$_status = null; } }, didStartListening$0() { var _this = this, t1 = _this._animations$_parent; if (t1 != null) { t1.addListener$1(0, _this.get$notifyListeners()); _this._animations$_parent.addStatusListener$1(_this.get$notifyStatusListeners()); } }, didStopListening$0() { var _this = this, t1 = _this._animations$_parent; if (t1 != null) { t1.removeListener$1(0, _this.get$notifyListeners()); _this._animations$_parent.removeStatusListener$1(_this.get$notifyStatusListeners()); } }, get$status(_) { var t1 = this._animations$_parent; if (t1 != null) t1 = t1.get$status(t1); else { t1 = this._animations$_status; t1.toString; } return t1; }, get$value(_) { var t1 = this._animations$_parent; if (t1 != null) t1 = t1.get$value(t1); else { t1 = this._animations$_value; t1.toString; } return t1; }, toString$0(_) { var t1 = this._animations$_parent; if (t1 == null) return "ProxyAnimation(null; " + this.super$Animation$toStringDetails() + " " + B.JSNumber_methods.toStringAsFixed$1(this.get$value(0), 3) + ")"; return t1.toString$0(0) + "\u27a9ProxyAnimation"; } }; A.ReverseAnimation.prototype = { addListener$1(_, listener) { this.didRegisterListener$0(); this.parent.addListener$1(0, listener); }, removeListener$1(_, listener) { this.parent.removeListener$1(0, listener); this.didUnregisterListener$0(); }, didStartListening$0() { this.parent.addStatusListener$1(this.get$_statusChangeHandler()); }, didStopListening$0() { this.parent.removeStatusListener$1(this.get$_statusChangeHandler()); }, _statusChangeHandler$1($status) { this.notifyStatusListeners$1(this._reverseStatus$1($status)); }, get$status(_) { var t1 = this.parent; return this._reverseStatus$1(t1.get$status(t1)); }, get$value(_) { var t1 = this.parent; return 1 - t1.get$value(t1); }, _reverseStatus$1($status) { var t1; switch ($status.index) { case 1: t1 = B.AnimationStatus_2; break; case 2: t1 = B.AnimationStatus_1; break; case 3: t1 = B.AnimationStatus_0; break; case 0: t1 = B.AnimationStatus_3; break; default: t1 = null; } return t1; }, toString$0(_) { return this.parent.toString$0(0) + "\u27aaReverseAnimation"; } }; A.CurvedAnimation.prototype = { _updateCurveDirection$1($status) { var _this = this; switch ($status.index) { case 0: case 3: _this._curveDirection = null; break; case 1: if (_this._curveDirection == null) _this._curveDirection = B.AnimationStatus_1; break; case 2: if (_this._curveDirection == null) _this._curveDirection = B.AnimationStatus_2; break; } }, get$_useForwardCurve() { if (this.reverseCurve != null) { var t1 = this._curveDirection; if (t1 == null) { t1 = this.parent; t1 = t1.get$status(t1); } t1 = t1 !== B.AnimationStatus_2; } else t1 = true; return t1; }, dispose$0() { this.parent.removeStatusListener$1(this.get$_updateCurveDirection()); }, get$value(_) { var _this = this, activeCurve = _this.get$_useForwardCurve() ? _this.curve : _this.reverseCurve, t1 = _this.parent, t = t1.get$value(t1); if (activeCurve == null) return t; if (t === 0 || t === 1) return t; return activeCurve.transform$1(0, t); }, toString$0(_) { var _this = this; if (_this.reverseCurve == null) return _this.parent.toString$0(0) + "\u27a9" + _this.curve.toString$0(0); if (_this.get$_useForwardCurve()) return _this.parent.toString$0(0) + "\u27a9" + _this.curve.toString$0(0) + "\u2092\u2099/" + A.S(_this.reverseCurve); return _this.parent.toString$0(0) + "\u27a9" + _this.curve.toString$0(0) + "/" + A.S(_this.reverseCurve) + "\u2092\u2099"; }, get$parent(receiver) { return this.parent; } }; A._TrainHoppingMode.prototype = { _enumToString$0() { return "_TrainHoppingMode." + this._core$_name; } }; A.TrainHoppingAnimation.prototype = { _statusChangeHandler$1($status) { if ($status !== this._lastStatus) { this.notifyListeners$0(); this._lastStatus = $status; } }, get$status(_) { var t1 = this._currentTrain; return t1.get$status(t1); }, _valueChangeHandler$0() { var t2, hop, _this = this, t1 = _this._nextTrain; if (t1 != null) { switch (_this._animations$_mode.index) { case 0: t1 = t1.get$value(t1); t2 = _this._currentTrain; hop = t1 <= t2.get$value(t2); break; case 1: t1 = t1.get$value(t1); t2 = _this._currentTrain; hop = t1 >= t2.get$value(t2); break; default: hop = false; } if (hop) { t1 = _this._currentTrain; t2 = _this.get$_statusChangeHandler(); t1.removeStatusListener$1(t2); t1.removeListener$1(0, _this.get$_valueChangeHandler()); t1 = _this._nextTrain; _this._currentTrain = t1; _this._nextTrain = null; t1.addStatusListener$1(t2); t2 = _this._currentTrain; _this._statusChangeHandler$1(t2.get$status(t2)); } } else hop = false; t1 = _this._currentTrain; t1 = t1.get$value(t1); if (t1 !== _this._lastValue) { _this.notifyListeners$0(); _this._lastValue = t1; } if (hop && _this.onSwitchedTrain != null) _this.onSwitchedTrain.call$0(); }, get$value(_) { var t1 = this._currentTrain; return t1.get$value(t1); }, dispose$0() { var t1, t2, _this = this; _this._currentTrain.removeStatusListener$1(_this.get$_statusChangeHandler()); t1 = _this.get$_valueChangeHandler(); _this._currentTrain.removeListener$1(0, t1); _this._currentTrain = null; t2 = _this._nextTrain; if (t2 != null) t2.removeListener$1(0, t1); _this._nextTrain = null; _this.AnimationLocalListenersMixin__listeners.clear$0(0); _this.AnimationLocalStatusListenersMixin__statusListeners.clear$0(0); _this.super$AnimationEagerListenerMixin$dispose(); }, toString$0(_) { var _this = this; if (_this._nextTrain != null) return A.S(_this._currentTrain) + "\u27a9TrainHoppingAnimation(next: " + A.S(_this._nextTrain) + ")"; return A.S(_this._currentTrain) + "\u27a9TrainHoppingAnimation(no next)"; } }; A.CompoundAnimation.prototype = { didStartListening$0() { var t3, _this = this, t1 = _this.first, t2 = _this.get$_maybeNotifyListeners(); t1.addListener$1(0, t2); t3 = _this.get$_maybeNotifyStatusListeners(); t1.addStatusListener$1(t3); t1 = _this.next; t1.addListener$1(0, t2); t1.addStatusListener$1(t3); }, didStopListening$0() { var t3, _this = this, t1 = _this.first, t2 = _this.get$_maybeNotifyListeners(); t1.removeListener$1(0, t2); t3 = _this.get$_maybeNotifyStatusListeners(); t1.removeStatusListener$1(t3); t1 = _this.next; t1.removeListener$1(0, t2); t1.removeStatusListener$1(t3); }, get$status(_) { var t1 = this.next; if (t1.get$status(t1) === B.AnimationStatus_1 || t1.get$status(t1) === B.AnimationStatus_2) return t1.get$status(t1); t1 = this.first; return t1.get$status(t1); }, toString$0(_) { return "CompoundAnimation(" + this.first.toString$0(0) + ", " + this.next.toString$0(0) + ")"; }, _maybeNotifyStatusListeners$1(_) { var _this = this; if (_this.get$status(0) !== _this._lastStatus) { _this._lastStatus = _this.get$status(0); _this.notifyStatusListeners$1(_this.get$status(0)); } }, _maybeNotifyListeners$0() { var _this = this; if (!J.$eq$(_this.get$value(_this), _this._lastValue)) { _this._lastValue = _this.get$value(_this); _this.notifyListeners$0(); } } }; A.AnimationMin.prototype = { get$value(_) { var t2, t1 = this.first; t1 = t1.get$value(t1); t2 = this.next; t2 = t2.get$value(t2); return Math.min(A.checkNum(t1), A.checkNum(t2)); } }; A._CompoundAnimation_Animation_AnimationLazyListenerMixin.prototype = {}; A._CompoundAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin.prototype = {}; A._CompoundAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin.prototype = {}; A._CurvedAnimation_Animation_AnimationWithParentMixin.prototype = {}; A._ProxyAnimation_Animation_AnimationLazyListenerMixin.prototype = {}; A._ProxyAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin.prototype = {}; A._ProxyAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin.prototype = {}; A._ReverseAnimation_Animation_AnimationLazyListenerMixin.prototype = {}; A._ReverseAnimation_Animation_AnimationLazyListenerMixin_AnimationLocalStatusListenersMixin.prototype = {}; A._TrainHoppingAnimation_Animation_AnimationEagerListenerMixin.prototype = {}; A._TrainHoppingAnimation_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin.prototype = {}; A._TrainHoppingAnimation_Animation_AnimationEagerListenerMixin_AnimationLocalListenersMixin_AnimationLocalStatusListenersMixin.prototype = {}; A.ParametricCurve.prototype = { transform$1(_, t) { return this.transformInternal$1(t); }, transformInternal$1(t) { throw A.wrapException(A.UnimplementedError$(null)); }, toString$0(_) { return "ParametricCurve"; } }; A.Curve.prototype = { transform$1(_, t) { if (t === 0 || t === 1) return t; return this.super$ParametricCurve$transform(0, t); } }; A._Linear.prototype = { transformInternal$1(t) { return t; } }; A.SawTooth.prototype = { transformInternal$1(t) { t *= this.count; return t - (t < 0 ? Math.ceil(t) : Math.floor(t)); }, toString$0(_) { return "SawTooth(" + this.count + ")"; } }; A.Interval.prototype = { transformInternal$1(t) { var t1 = this.begin; t = A.clampDouble((t - t1) / (this.end - t1), 0, 1); if (t === 0 || t === 1) return t; return this.curve.transform$1(0, t); }, toString$0(_) { var _this = this, t1 = _this.curve; if (!(t1 instanceof A._Linear)) return "Interval(" + A.S(_this.begin) + "\u22ef" + A.S(_this.end) + ")\u27a9" + t1.toString$0(0); return "Interval(" + A.S(_this.begin) + "\u22ef" + A.S(_this.end) + ")"; } }; A.Threshold.prototype = { transformInternal$1(t) { return t < this.threshold ? 0 : 1; } }; A.Cubic.prototype = { _evaluateCubic$3(a, b, m) { var t1 = 1 - m; return 3 * a * t1 * t1 * m + 3 * b * t1 * m * m + m * m * m; }, transformInternal$1(t) { var t1, t2, start, end, midpoint, estimate, _this = this; for (t1 = _this.a, t2 = _this.c, start = 0, end = 1; true;) { midpoint = (start + end) / 2; estimate = _this._evaluateCubic$3(t1, t2, midpoint); if (Math.abs(t - estimate) < 0.001) return _this._evaluateCubic$3(_this.b, _this.d, midpoint); if (estimate < t) start = midpoint; else end = midpoint; } }, toString$0(_) { var _this = this; return "Cubic(" + B.JSNumber_methods.toStringAsFixed$1(_this.a, 2) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.b, 2) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.c, 2) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.d, 2) + ")"; } }; A.ThreePointCubic.prototype = { transformInternal$1(t) { var t2, _this = this, t1 = _this.midpoint, scaleX = t1._dx, firstCurve = t < scaleX, scaleX0 = firstCurve ? scaleX : 1 - scaleX, scaleY = t1._dy, scaleY0 = firstCurve ? scaleY : 1 - scaleY, scaledT = (t - (firstCurve ? 0 : scaleX)) / scaleX0; if (firstCurve) { t1 = _this.a1; t2 = _this.b1; return new A.Cubic(t1._dx / scaleX0, t1._dy / scaleY0, t2._dx / scaleX0, t2._dy / scaleY0).transform$1(0, scaledT) * scaleY0; } else { t1 = _this.a2; t2 = _this.b2; return new A.Cubic((t1._dx - scaleX) / scaleX0, (t1._dy - scaleY) / scaleY0, (t2._dx - scaleX) / scaleX0, (t2._dy - scaleY) / scaleY0).transform$1(0, scaledT) * scaleY0 + scaleY; } }, toString$0(_) { var _this = this; return "ThreePointCubic(" + _this.a1.toString$0(0) + ", " + _this.b1.toString$0(0) + ", " + _this.midpoint.toString$0(0) + ", " + _this.a2.toString$0(0) + ", " + _this.b2.toString$0(0) + ") "; } }; A.FlippedCurve.prototype = { transformInternal$1(t) { return 1 - this.curve.transform$1(0, 1 - t); }, toString$0(_) { return "FlippedCurve(" + this.curve.toString$0(0) + ")"; } }; A._DecelerateCurve.prototype = { transformInternal$1(t) { t = 1 - t; return 1 - t * t; } }; A.ElasticOutCurve.prototype = { transformInternal$1(t) { return Math.pow(2, -10 * t) * Math.sin((t - 0.1) * 6.283185307179586 / 0.4) + 1; }, toString$0(_) { return "ElasticOutCurve(0.4)"; } }; A.AnimationLazyListenerMixin.prototype = { didRegisterListener$0() { if (this.AnimationLazyListenerMixin__listenerCounter === 0) this.didStartListening$0(); ++this.AnimationLazyListenerMixin__listenerCounter; }, didUnregisterListener$0() { if (--this.AnimationLazyListenerMixin__listenerCounter === 0) this.didStopListening$0(); } }; A.AnimationEagerListenerMixin.prototype = { didRegisterListener$0() { }, didUnregisterListener$0() { }, dispose$0() { } }; A.AnimationLocalListenersMixin.prototype = { addListener$1(_, listener) { var t1; this.didRegisterListener$0(); t1 = this.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._observer_list$_list.push(listener); }, removeListener$1(_, listener) { if (this.AnimationLocalListenersMixin__listeners.remove$1(0, listener)) this.didUnregisterListener$0(); }, notifyListeners$0() { var listener, exception, stack, _i, t3, exception0, t4, t5, t1 = this.AnimationLocalListenersMixin__listeners, t2 = t1._observer_list$_list, localListeners = J.JSArray_JSArray$markFixed(t2.slice(0), A._arrayInstanceType(t2)._precomputed1); for (t2 = localListeners.length, _i = 0; _i < localListeners.length; localListeners.length === t2 || (0, A.throwConcurrentModificationError)(localListeners), ++_i) { t3 = {}; listener = localListeners[_i]; t3.collector = null; try { if (t1.contains$1(0, listener)) listener.call$0(); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t4 = A.ErrorDescription$("while notifying listeners for " + A.getRuntimeTypeOfDartObject(this).toString$0(0)); t3 = t3.collector; t5 = $.$get$FlutterError_onError(); if (t5 != null) t5.call$1(new A.FlutterErrorDetails(exception, stack, "animation library", t4, null, t3, false)); } } } }; A.AnimationLocalStatusListenersMixin.prototype = { addStatusListener$1(listener) { var t1; this.didRegisterListener$0(); t1 = this.AnimationLocalStatusListenersMixin__statusListeners; t1._isDirty = true; t1._observer_list$_list.push(listener); }, removeStatusListener$1(listener) { if (this.AnimationLocalStatusListenersMixin__statusListeners.remove$1(0, listener)) this.didUnregisterListener$0(); }, notifyStatusListeners$1($status) { var listener, exception, stack, _i, exception0, t3, t4, t1 = this.AnimationLocalStatusListenersMixin__statusListeners, t2 = t1._observer_list$_list, localListeners = J.JSArray_JSArray$markFixed(t2.slice(0), A._arrayInstanceType(t2)._precomputed1); for (t2 = localListeners.length, _i = 0; _i < localListeners.length; localListeners.length === t2 || (0, A.throwConcurrentModificationError)(localListeners), ++_i) { listener = localListeners[_i]; try { if (t1.contains$1(0, listener)) listener.call$1($status); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t3 = A.ErrorDescription$("while notifying status listeners for " + A.getRuntimeTypeOfDartObject(this).toString$0(0)); t4 = $.$get$FlutterError_onError(); if (t4 != null) t4.call$1(new A.FlutterErrorDetails(exception, stack, "animation library", t3, null, null, false)); } } } }; A.Animatable.prototype = { chain$1($parent) { return new A._ChainedEvaluation($parent, this, A._instanceType(this)._eval$1("_ChainedEvaluation<Animatable.T>")); } }; A._AnimatedEvaluation.prototype = { get$value(_) { var t1 = this.parent; return this._evaluatable.transform$1(0, t1.get$value(t1)); }, toString$0(_) { var t1 = this.parent, t2 = this._evaluatable; return t1.toString$0(0) + "\u27a9" + t2.toString$0(0) + "\u27a9" + A.S(t2.transform$1(0, t1.get$value(t1))); }, toStringDetails$0() { return this.super$Animation$toStringDetails() + " " + this._evaluatable.toString$0(0); }, get$parent(receiver) { return this.parent; } }; A._ChainedEvaluation.prototype = { transform$1(_, t) { return this._evaluatable.transform$1(0, this._tween$_parent.transform$1(0, t)); }, toString$0(_) { return this._tween$_parent.toString$0(0) + "\u27a9" + this._evaluatable.toString$0(0); } }; A.Tween.prototype = { lerp$1(t) { var t1 = this.begin; return A._instanceType(this)._eval$1("Tween.T")._as(J.$add$ansx(t1, J.$mul$ns(J.$sub$n(this.end, t1), t))); }, transform$1(_, t) { var t1, _this = this; if (t === 0) { t1 = _this.begin; return t1 == null ? A._instanceType(_this)._eval$1("Tween.T")._as(t1) : t1; } if (t === 1) { t1 = _this.end; return t1 == null ? A._instanceType(_this)._eval$1("Tween.T")._as(t1) : t1; } return _this.lerp$1(t); }, toString$0(_) { return "Animatable(" + A.S(this.begin) + " \u2192 " + A.S(this.end) + ")"; }, set$begin(val) { return this.begin = val; }, set$end(receiver, val) { return this.end = val; } }; A.ReverseTween.prototype = { lerp$1(t) { return this.parent.lerp$1(1 - t); } }; A.ColorTween.prototype = { lerp$1(t) { return A.Color_lerp(this.begin, this.end, t); } }; A.SizeTween.prototype = { lerp$1(t) { return A.Size_lerp(this.begin, this.end, t); } }; A.RectTween.prototype = { lerp$1(t) { return A.Rect_lerp(this.begin, this.end, t); } }; A.IntTween.prototype = { lerp$1(t) { var t2, t1 = this.begin; t1.toString; t2 = this.end; t2.toString; return B.JSNumber_methods.round$0(t1 + (t2 - t1) * t); } }; A.ConstantTween.prototype = { lerp$1(t) { var t1 = this.begin; return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, toString$0(_) { return "ConstantTween(value: " + A.S(this.begin) + ")"; } }; A.CurveTween.prototype = { transform$1(_, t) { if (t === 0 || t === 1) return t; return this.curve.transform$1(0, t); }, toString$0(_) { return "CurveTween(curve: " + this.curve.toString$0(0) + ")"; } }; A.__AnimatedEvaluation_Animation_AnimationWithParentMixin.prototype = {}; A.TweenSequence.prototype = { TweenSequence$1(items, $T) { var t2, totalWeight, _i, start, i, t3, end, t1 = this._items; B.JSArray_methods.addAll$1(t1, items); for (t2 = t1.length, totalWeight = 0, _i = 0; _i < t2; ++_i) totalWeight += t1[_i].weight; for (t2 = this._intervals, start = 0, i = 0; t3 = t1.length, i < t3; ++i, start = end) { end = i === t3 - 1 ? 1 : start + t1[i].weight / totalWeight; t2.push(new A._Interval(start, end)); } }, _evaluateAt$2(t, index) { var element = this._items[index], tInterval = this._intervals[index].value$1(0, t); return element.tween.transform$1(0, tInterval); }, transform$1(_, t) { var t1, t2, t3, index, t4, t5, _this = this; if (t === 1) return _this._evaluateAt$2(t, _this._items.length - 1); for (t1 = _this._items, t2 = t1.length, t3 = _this._intervals, index = 0; index < t2; ++index) { t4 = t3[index]; t5 = t4.start; if (t >= t5 && t < t4.end) return t1[index].tween.transform$1(0, (t - t5) / (t4.end - t5)); } throw A.wrapException(A.StateError$("TweenSequence.evaluate() could not find an interval for " + A.S(t))); }, toString$0(_) { return "TweenSequence(" + this._items.length + " items)"; } }; A.TweenSequenceItem.prototype = {}; A._Interval.prototype = { value$1(_, t) { var t1 = this.start; return (t - t1) / (this.end - t1); }, toString$0(_) { return "<" + A.S(this.start) + ", " + A.S(this.end) + ">"; } }; A.CupertinoActivityIndicator.prototype = { createState$0() { return new A._CupertinoActivityIndicatorState(null, null, B._StateLifecycle_0); } }; A._CupertinoActivityIndicatorState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_1000000, null, 1, null, _this); _this.___CupertinoActivityIndicatorState__controller_A = t1; _this._widget.toString; t1.repeat$0(0); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; }, dispose$0() { var t1 = this.___CupertinoActivityIndicatorState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$__CupertinoActivityIndicatorState_State_SingleTickerProviderStateMixin$dispose(); }, build$1(context) { var t2, _null = null, t1 = this._widget; t1.toString; t2 = this.___CupertinoActivityIndicatorState__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.color; t1 = B.CupertinoDynamicColor_YNl.resolveFrom$1(context); this._widget.toString; return new A.SizedBox(20, 20, A.CustomPaint$(_null, _null, _null, new A._CupertinoActivityIndicatorPainter(t2, t1, 10, 1, new A.RRect(-1, -3.3333333333333335, 1, -10, 1, 1, 1, 1, 1, 1, 1, 1, true), t2), B.Size_0_0), _null); } }; A._CupertinoActivityIndicatorPainter.prototype = { paint$2(canvas, size) { var t1, activeTick, t2, t3, t4, i, t, t5, _this = this, paint = $.$get$_renderer().createPaint$0(); canvas.save$0(0); canvas.translate$2(0, size._dx / 2, size._dy / 2); t1 = _this.position.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); activeTick = B.JSNumber_methods.floor$0(8 * t1); for (t1 = _this.progress, t2 = 8 * t1, t3 = _this.tickFundamentalRRect, t1 = t1 < 1, t4 = _this.activeColor, i = 0; i < t2; ++i) { t = B.JSInt_methods.$mod(i - activeTick, 8); t5 = t1 ? 147 : B.List_YmH1[t]; paint.set$color(0, A.Color$fromARGB(t5, t4.get$value(t4) >>> 16 & 255, t4.get$value(t4) >>> 8 & 255, t4.get$value(t4) & 255)); canvas.drawRRect$2(t3, paint); canvas.rotate$1(0, 0.7853981633974483); } canvas.restore$0(0); }, shouldRepaint$1(oldPainter) { return oldPainter.position !== this.position || !oldPainter.activeColor.$eq(0, this.activeColor) || oldPainter.progress !== this.progress; } }; A.__CupertinoActivityIndicatorState_State_SingleTickerProviderStateMixin.prototype = { dispose$0() { var _this = this, t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTicker()); _this.SingleTickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); }, activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTicker$0(); } }; A.CupertinoButton.prototype = { createState$0() { return new A._CupertinoButtonState(new A.Tween(1, null, type$.Tween_double), null, null, B._StateLifecycle_0); } }; A._CupertinoButtonState.prototype = { initState$0() { var t1, t2, t3, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_200000, null, 1, 0, _this); _this.___CupertinoButtonState__animationController_A = t1; t2 = type$.Animation_double; t3 = _this._opacityTween; _this.___CupertinoButtonState__opacityAnimation_A = new A._AnimatedEvaluation(t2._as(new A._AnimatedEvaluation(t2._as(t1), new A.CurveTween(B.C__DecelerateCurve), type$.CurveTween._eval$1("_AnimatedEvaluation<Animatable.T>"))), t3, t3.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")); _this._setTween$0(); }, didUpdateWidget$1(old) { this.super$State$didUpdateWidget(old); this._setTween$0(); }, _setTween$0() { var t1 = this._widget.pressedOpacity; this._opacityTween.end = t1; }, dispose$0() { var t1 = this.___CupertinoButtonState__animationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$__CupertinoButtonState_State_SingleTickerProviderStateMixin$dispose(); }, _handleTapDown$1($event) { if (!this._buttonHeldDown) { this._buttonHeldDown = true; this._animate$0(0); } }, _handleTapUp$1($event) { if (this._buttonHeldDown) { this._buttonHeldDown = false; this._animate$0(0); } }, _handleTapCancel$0() { if (this._buttonHeldDown) { this._buttonHeldDown = false; this._animate$0(0); } }, _animate$0(_) { var t2, wasHeldDown, ticker, t1 = this.___CupertinoButtonState__animationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1._ticker; if (t2 != null && t2._ticker$_future != null) return; wasHeldDown = this._buttonHeldDown; if (wasHeldDown) { t1._direction = B._AnimationDirection_0; ticker = t1._animateToInternal$3$curve$duration(1, B.ThreePointCubic_699, B.Duration_120000); } else { t1._direction = B._AnimationDirection_0; ticker = t1._animateToInternal$3$curve$duration(0, B.Cubic_2jN, B.Duration_180000); } ticker.then$1$1(0, new A._CupertinoButtonState__animate_closure(this, wasHeldDown), type$.void); }, build$1(context) { var backgroundColor, foregroundColor, t3, textStyle, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _null = null, t1 = _this._widget.onPressed == null, enabled = !t1, themeData = A.CupertinoTheme_of(context), primaryColor = themeData.get$primaryColor(), t2 = _this._widget.color; if (t2 == null) backgroundColor = _null; else backgroundColor = A.CupertinoDynamicColor_maybeResolve(t2, context); t2 = backgroundColor != null; if (t2) foregroundColor = themeData.get$primaryContrastingColor(); else if (enabled) foregroundColor = primaryColor; else { t3 = B.CupertinoDynamicColor_oxt.resolveFrom$1(context); foregroundColor = t3; } textStyle = themeData.get$textTheme().get$textStyle().copyWith$1$color(foregroundColor); t3 = enabled && true ? B.SystemMouseCursor_click : B.C__DeferringMouseCursor; t4 = enabled ? _this.get$_handleTapDown() : _null; t5 = enabled ? _this.get$_handleTapUp() : _null; t6 = enabled ? _this.get$_handleTapCancel() : _null; t7 = _this._widget; t8 = t7.onPressed; t9 = t7.minSize; t10 = _this.___CupertinoButtonState__opacityAnimation_A; t10 === $ && A.throwUnnamedLateFieldNI(); t11 = t7.borderRadius; if (t2 && t1) { t1 = t7.disabledColor; if (t1 instanceof A.CupertinoDynamicColor) t1 = t1.resolveFrom$1(context); } else t1 = backgroundColor; t2 = _this._widget; t7 = t2.padding; t1 = A.DecoratedBox$(new A.Padding(t7, new A.Align(t2.alignment, 1, 1, A.DefaultTextStyle$(A.IconTheme$(t2.child, new A.IconThemeData(_null, _null, _null, _null, _null, foregroundColor, _null, _null, _null), _null), _null, _null, B.TextOverflow_0, true, textStyle, _null, _null, B.TextWidthBasis_0), _null), _null), new A.BoxDecoration(t1, _null, _null, t11, _null, _null, B.BoxShape_0), B.DecorationPosition_0); return A.MouseRegion$(A.GestureDetector$(B.HitTestBehavior_1, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, new A.ConstrainedBox(new A.BoxConstraints(t9, 1 / 0, t9, 1 / 0), new A.FadeTransition(t10, false, t1, _null), _null), _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t8, t6, t4, t5, _null, _null, _null, false, B.Offset_O5r), t3, _null, _null, _null, _null, _null); } }; A._CupertinoButtonState__animate_closure.prototype = { call$1(value) { var t1 = this.$this; if (t1._framework$_element != null && this.wasHeldDown !== t1._buttonHeldDown) t1._animate$0(0); }, $signature: 109 }; A.__CupertinoButtonState_State_SingleTickerProviderStateMixin.prototype = { dispose$0() { var _this = this, t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTicker()); _this.SingleTickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); }, activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTicker$0(); } }; A.CupertinoCheckbox.prototype = { createState$0() { return new A._CupertinoCheckboxState(new A._CheckboxPainter0($.$get$ChangeNotifier__emptyListeners()), null, false, $, null, null, B._StateLifecycle_0); }, get$value(receiver) { return this.value; } }; A._CupertinoCheckboxState.prototype = { initState$0() { this.super$State$initState(); this._checkbox0$_previousValue = this._widget.value; }, didUpdateWidget$1(oldWidget) { var t1; this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.value; if (t1 != this._widget.value) this._checkbox0$_previousValue = t1; }, dispose$0() { var t1 = this._checkbox0$_painter; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; this.super$__CupertinoCheckboxState_State_TickerProviderStateMixin$dispose(); }, get$onChanged() { return this._widget.onChanged; }, get$tristate() { return this._widget.tristate; }, get$value(_) { return this._widget.value; }, onFocusChange$1(value) { if (this.focused !== value) this.focused = value; }, build$1(context) { var t1, effectiveFocusOverlayColor, t2, t3, t4, t5, _this = this, _null = null, effectiveActiveColor = _this._widget.activeColor; if (effectiveActiveColor == null) effectiveActiveColor = B.CupertinoDynamicColor_948; t1 = A.HSLColor_HSLColor$fromColor(A.Color$fromARGB(204, effectiveActiveColor.get$value(effectiveActiveColor) >>> 16 & 255, effectiveActiveColor.get$value(effectiveActiveColor) >>> 8 & 255, effectiveActiveColor.get$value(effectiveActiveColor) & 255)); effectiveFocusOverlayColor = new A.HSLColor(t1.alpha, t1.hue, 0.835, 0.69).toColor$0(); t1 = _this._widget; t2 = t1.value; t3 = t1.tristate ? t2 == null : _null; t1 = t1.focusNode; t4 = _this._checkbox0$_painter; t4.set$focusColor(effectiveFocusOverlayColor); t4.set$isFocused(_this.focused); t4.set$downPosition(_this.ToggleableStateMixin__downPosition0); t4.set$activeColor(effectiveActiveColor); t4.set$inactiveColor(B.CupertinoDynamicColor_YIZ); t4.set$checkColor(B.Color_4294967295); t4.set$value(0, _this._widget.value); t4.set$previousValue(_this._checkbox0$_previousValue); t4.set$isActive(_this._widget.onChanged != null); _this._widget.toString; t5 = A.BorderRadius$circular(4); t4.set$shape(0, new A.RoundedRectangleBorder(t5, B.BorderSide_8xm)); t4.set$side(_this._widget.side); t1 = _this.buildToggleable$5$autofocus$focusNode$onFocusChange$painter$size(false, t1, _this.get$onFocusChange(), t4, B.Size_44_44); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, t2 === true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t1, _null); } }; A._CheckboxPainter0.prototype = { set$checkColor(value) { if (J.$eq$(this._checkColor, value)) return; this._checkColor = value; this.notifyListeners$0(); }, get$value(_) { return this._checkbox0$_value; }, set$value(_, value) { if (this._checkbox0$_value == value) return; this._checkbox0$_value = value; this.notifyListeners$0(); }, set$previousValue(value) { if (this._checkbox0$_previousValue == value) return; this._checkbox0$_previousValue = value; this.notifyListeners$0(); }, set$shape(_, value) { if (J.$eq$(this._checkbox0$_shape, value)) return; this._checkbox0$_shape = value; this.notifyListeners$0(); }, set$side(value) { return; }, _drawBox$5(canvas, outer, paint, side, fill) { if (fill) canvas.drawPath$2(this._checkbox0$_shape.getOuterPath$1(outer), paint); if (side != null) this._checkbox0$_shape.copyWith$1$side(side).paint$2(canvas, outer); }, paint$2(canvas, size) { var origin, t3, rect, paint, t4, t5, path, focusOuter, borderPaint, _this = this, t1 = $.$get$_renderer(), strokePaint = t1.createPaint$0(), t2 = _this._checkColor; t2.toString; strokePaint.set$color(0, t2); strokePaint.set$style(0, B.PaintingStyle_1); strokePaint.set$strokeWidth(2.5); strokePaint.set$strokeCap(B.StrokeCap_1); origin = type$.Offset._as(size.$div(0, 2).$sub(0, B.Size_18_18.$div(0, 2))); t2 = origin._dx; t3 = origin._dy; rect = new A.Rect(t2, t3, t2 + 18, t3 + 18); paint = t1.createPaint$0(); t4 = _this._checkbox0$_value; if (t4 !== false) { t4 = _this._isActive; t4.toString; } else t4 = false; if (t4) { t4 = _this._toggleable0$_activeColor; t4.toString; } else { t4 = _this._toggleable0$_inactiveColor; t4.toString; } paint.set$color(0, t4); t4 = _this._checkbox0$_value; t5 = _this._side; if (t4 === false) { t2 = paint.get$color(paint); _this._drawBox$5(canvas, rect, paint, new A.BorderSide(t2, 1, B.BorderStyle_1, -1), false); } else { _this._drawBox$5(canvas, rect, paint, t5, true); t4 = _this._checkbox0$_value; if (t4 === true) { path = t1.createPath$0(); path.moveTo$2(0, t2 + 4.5, t3 + 9.36); t4 = t2 + 8.280000000000001; t5 = t3 + 13.5; path.lineTo$2(0, t4, t5); canvas.drawPath$2(path, strokePaint); path.moveTo$2(0, t4, t5); path.lineTo$2(0, t2 + 12.959999999999999, t3 + 5.22); canvas.drawPath$2(path, strokePaint); } else canvas.drawLine$3(origin.$add(0, B.Offset_3tj), origin.$add(0, B.Offset_ezA), strokePaint); } t2 = _this._toggleable0$_isFocused; t2.toString; if (t2) { focusOuter = rect.inflate$1(1); borderPaint = t1.createPaint$0(); t1 = _this._toggleable0$_focusColor; t1.toString; borderPaint.set$color(0, t1); borderPaint.set$style(0, B.PaintingStyle_1); borderPaint.set$strokeWidth(3.5); _this._drawBox$5(canvas, focusOuter, borderPaint, _this._side, true); } } }; A.__CupertinoCheckboxState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.__CupertinoCheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin.prototype = {}; A.CupertinoDynamicColor.prototype = { get$value(_) { return this._effectiveColor.value; }, get$_isPlatformBrightnessDependent() { var _this = this; return !_this.color.$eq(0, _this.darkColor) || !_this.elevatedColor.$eq(0, _this.darkElevatedColor) || !_this.highContrastColor.$eq(0, _this.darkHighContrastColor) || !_this.highContrastElevatedColor.$eq(0, _this.darkHighContrastElevatedColor); }, get$_isHighContrastDependent() { var _this = this; return !_this.color.$eq(0, _this.highContrastColor) || !_this.darkColor.$eq(0, _this.darkHighContrastColor) || !_this.elevatedColor.$eq(0, _this.highContrastElevatedColor) || !_this.darkElevatedColor.$eq(0, _this.darkHighContrastElevatedColor); }, get$_isInterfaceElevationDependent() { var _this = this; return !_this.color.$eq(0, _this.elevatedColor) || !_this.darkColor.$eq(0, _this.darkElevatedColor) || !_this.highContrastColor.$eq(0, _this.highContrastElevatedColor) || !_this.darkHighContrastColor.$eq(0, _this.darkHighContrastElevatedColor); }, resolveFrom$1(context) { var inheritedTheme, t1, brightness, isHighContrastEnabled, resolved, _this = this, _null = null; if (_this.get$_isPlatformBrightnessDependent()) { inheritedTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedCupertinoTheme); t1 = inheritedTheme == null ? _null : inheritedTheme.theme.data.get$brightness(); if (t1 == null) { t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_5); t1 = t1 == null ? _null : t1.platformBrightness; brightness = t1; } else brightness = t1; if (brightness == null) brightness = B.Brightness_1; } else brightness = B.Brightness_1; if (_this.get$_isHighContrastDependent()) { t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_13); t1 = t1 == null ? _null : t1.highContrast; isHighContrastEnabled = t1 === true; } else isHighContrastEnabled = false; if (_this.get$_isInterfaceElevationDependent()) A.CupertinoUserInterfaceLevel_maybeOf(context); switch (brightness.index) { case 1: switch (0) { case 0: resolved = isHighContrastEnabled ? _this.highContrastColor : _this.color; break; } break; case 0: switch (0) { case 0: resolved = isHighContrastEnabled ? _this.darkHighContrastColor : _this.darkColor; break; } break; default: resolved = _null; } return new A.CupertinoDynamicColor(resolved, _this._colors$_debugLabel, _null, _this.color, _this.darkColor, _this.highContrastColor, _this.darkHighContrastColor, _this.elevatedColor, _this.darkElevatedColor, _this.highContrastElevatedColor, _this.darkHighContrastElevatedColor, 0); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.CupertinoDynamicColor && other._effectiveColor.value === _this._effectiveColor.value && other.color.$eq(0, _this.color) && other.darkColor.$eq(0, _this.darkColor) && other.highContrastColor.$eq(0, _this.highContrastColor) && other.darkHighContrastColor.$eq(0, _this.darkHighContrastColor) && other.elevatedColor.$eq(0, _this.elevatedColor) && other.darkElevatedColor.$eq(0, _this.darkElevatedColor) && other.highContrastElevatedColor.$eq(0, _this.highContrastElevatedColor) && other.darkHighContrastElevatedColor.$eq(0, _this.darkHighContrastElevatedColor); }, get$hashCode(_) { var _this = this; return A.Object_hash(_this._effectiveColor.value, _this.color, _this.darkColor, _this.highContrastColor, _this.elevatedColor, _this.darkElevatedColor, _this.darkHighContrastColor, _this.darkHighContrastElevatedColor, _this.highContrastElevatedColor, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var _this = this, t1 = new A.CupertinoDynamicColor_toString_toString(_this), t2 = A._setArrayType([t1.call$2("color", _this.color)], type$.JSArray_String); if (_this.get$_isPlatformBrightnessDependent()) t2.push(t1.call$2("darkColor", _this.darkColor)); if (_this.get$_isHighContrastDependent()) t2.push(t1.call$2("highContrastColor", _this.highContrastColor)); if (_this.get$_isPlatformBrightnessDependent() && _this.get$_isHighContrastDependent()) t2.push(t1.call$2("darkHighContrastColor", _this.darkHighContrastColor)); if (_this.get$_isInterfaceElevationDependent()) t2.push(t1.call$2("elevatedColor", _this.elevatedColor)); if (_this.get$_isPlatformBrightnessDependent() && _this.get$_isInterfaceElevationDependent()) t2.push(t1.call$2("darkElevatedColor", _this.darkElevatedColor)); if (_this.get$_isHighContrastDependent() && _this.get$_isInterfaceElevationDependent()) t2.push(t1.call$2("highContrastElevatedColor", _this.highContrastElevatedColor)); if (_this.get$_isPlatformBrightnessDependent() && _this.get$_isHighContrastDependent() && _this.get$_isInterfaceElevationDependent()) t2.push(t1.call$2("darkHighContrastElevatedColor", _this.darkHighContrastElevatedColor)); t1 = _this._colors$_debugLabel; if (t1 == null) t1 = "CupertinoDynamicColor"; t2 = B.JSArray_methods.join$1(t2, ", "); return t1 + "(" + t2 + ", resolved by: UNRESOLVED)"; } }; A.CupertinoDynamicColor_toString_toString.prototype = { call$2($name, color) { var marker = color.$eq(0, this.$this._effectiveColor) ? "*" : ""; return marker + $name + " = " + color.toString$0(0) + marker; }, $signature: 1920 }; A._CupertinoDynamicColor_Color_Diagnosticable.prototype = {}; A._CupertinoDesktopTextSelectionHandleControls.prototype = {}; A.CupertinoDesktopTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return B.Size_0_0; }, buildHandle$4(context, type, textLineHeight, onTap) { return B.SizedBox_0_0_null_null; }, getHandleAnchor$2(type, textLineHeight) { return B.Offset_0_0; } }; A.__CupertinoDesktopTextSelectionHandleControls_CupertinoDesktopTextSelectionControls_TextSelectionHandleControls.prototype = {}; A.CupertinoDesktopTextSelectionToolbar.prototype = { build$1(context) { var _null = null, paddingAbove = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, type$.MediaQuery).data.padding.top + 8, t1 = this.anchor.$sub(0, new A.Offset(8, paddingAbove)), t2 = A.Column$(this.children, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), t3 = $.$get$_renderer().createBlurImageFilter$3$sigmaX$sigmaY$tileMode(20, 20, B.TileMode_0); return new A.Padding(new A.EdgeInsets(8, paddingAbove, 8, 8), new A.CustomSingleChildLayout(new A.DesktopTextSelectionToolbarLayoutDelegate(t1), A.Container$(_null, A.BackdropFilter$(A.DecoratedBox$(new A.Padding(B.EdgeInsets_6_6_6_6, t2, _null), new A.BoxDecoration(B.CupertinoDynamicColor_fsZ.resolveFrom$1(context), _null, A.Border_Border$all(B.CupertinoDynamicColor_MMc.resolveFrom$1(context), 1), B.BorderRadius_tLn1, _null, _null, B.BoxShape_0), B.DecorationPosition_0), t3), B.Clip_1, _null, _null, B.BoxDecoration_GZS, _null, _null, _null, _null, _null, _null, _null, 222), _null), _null); } }; A.CupertinoDesktopTextSelectionToolbarButton.prototype = { createState$0() { return new A._CupertinoDesktopTextSelectionToolbarButtonState(B._StateLifecycle_0); } }; A._CupertinoDesktopTextSelectionToolbarButtonState.prototype = { _onEnter$1($event) { this.setState$1(new A._CupertinoDesktopTextSelectionToolbarButtonState__onEnter_closure(this)); }, _onExit$1($event) { this.setState$1(new A._CupertinoDesktopTextSelectionToolbarButtonState__onExit_closure(this)); }, build$1(context) { var _this = this, _null = null, t1 = _this._widget.text, child = A.Text$(t1, _null, _null, B.TextOverflow_2, _null, _null, B.TextStyle_mTi0.copyWith$1$color(_this._isHovered ? A.CupertinoTheme_of(context).get$primaryContrastingColor() : B.CupertinoDynamicColor_aTW.resolveFrom$1(context)), _null, _null, _null); t1 = _this._isHovered ? A.CupertinoTheme_of(context).get$primaryColor() : _null; return new A.SizedBox(1 / 0, _null, A.MouseRegion$(A.CupertinoButton$(B.Alignment_m1_0, B.BorderRadius_tLn, child, t1, B.CupertinoDynamicColor_xDe, 0, _this._widget.onPressed, B.EdgeInsets_8_2_8_5, 0.7), B.C__DeferringMouseCursor, _null, _null, _this.get$_onEnter(), _this.get$_onExit(), _null), _null); } }; A._CupertinoDesktopTextSelectionToolbarButtonState__onEnter_closure.prototype = { call$0() { this.$this._isHovered = true; }, $signature: 0 }; A._CupertinoDesktopTextSelectionToolbarButtonState__onExit_closure.prototype = { call$0() { this.$this._isHovered = false; }, $signature: 0 }; A.CupertinoIconThemeData.prototype = { resolve$1(_, context) { var t1 = this.color, resolvedColor = A.CupertinoDynamicColor_maybeResolve(t1, context); return J.$eq$(resolvedColor, t1) ? this : this.copyWith$1$color(resolvedColor); }, copyWith$9$applyTextScaling$color$fill$grade$opacity$opticalSize$shadows$size$weight(applyTextScaling, color, fill, grade, opacity, opticalSize, shadows, size, weight) { var _this = this, t1 = size == null ? _this.size : size, t2 = fill == null ? _this.fill : fill, t3 = weight == null ? _this.weight : weight, t4 = grade == null ? _this.grade : grade, t5 = opticalSize == null ? _this.opticalSize : opticalSize, t6 = color == null ? _this.color : color, t7 = opacity == null ? _this.get$opacity(0) : opacity, t8 = shadows == null ? _this.shadows : shadows; return A.CupertinoIconThemeData$(applyTextScaling == null ? _this.applyTextScaling : applyTextScaling, t6, t2, t4, t7, t5, t8, t1, t3); }, copyWith$1$color(color) { var _null = null; return this.copyWith$9$applyTextScaling$color$fill$grade$opacity$opticalSize$shadows$size$weight(_null, color, _null, _null, _null, _null, _null, _null, _null); }, copyWith$1$opacity(opacity) { var _null = null; return this.copyWith$9$applyTextScaling$color$fill$grade$opacity$opticalSize$shadows$size$weight(_null, _null, _null, _null, opacity, _null, _null, _null, _null); } }; A._CupertinoIconThemeData_IconThemeData_Diagnosticable.prototype = {}; A._CupertinoLocalizationsDelegate.prototype = { isSupported$1(locale) { return locale.get$languageCode(0) === "en"; }, load$1(_, locale) { return new A.SynchronousFuture(B.C_DefaultCupertinoLocalizations, type$.SynchronousFuture_CupertinoLocalizations); }, shouldReload$1(old) { return false; }, toString$0(_) { return "DefaultCupertinoLocalizations.delegate(en_US)"; } }; A.DefaultCupertinoLocalizations.prototype = { get$cutButtonLabel() { return "Cut"; }, get$copyButtonLabel() { return "Copy"; }, get$pasteButtonLabel() { return "Paste"; }, get$selectAllButtonLabel() { return "Select All"; }, get$lookUpButtonLabel() { return "Look Up"; }, get$searchWebButtonLabel() { return "Search Web"; }, get$shareButtonLabel() { return "Share..."; }, $isCupertinoLocalizations: 1 }; A.CupertinoTextMagnifier.prototype = { createState$0() { return new A._CupertinoTextMagnifierState(B.Offset_0_0, null, null, B._StateLifecycle_0); } }; A._CupertinoTextMagnifierState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_150000, null, 1, 0, _this); t1.didRegisterListener$0(); t2 = t1.AnimationLocalListenersMixin__listeners; t2._isDirty = true; t2._observer_list$_list.push(new A._CupertinoTextMagnifierState_initState_closure(_this)); _this.___CupertinoTextMagnifierState__ioAnimationController_A = t1; t2 = _this._widget; t2.controller.animationController = t1; t2.magnifierInfo.addListener$1(0, _this.get$_magnifier0$_determineMagnifierPositionAndFocalPoint()); t2 = type$.Tween_double; t1 = _this.___CupertinoTextMagnifierState__ioAnimationController_A; _this._widget.toString; _this.___CupertinoTextMagnifierState__ioAnimation_A = new A._AnimatedEvaluation(A.CurvedAnimation$(B.Cubic_xDo0, t1, null), new A.Tween(0, 1, t2), t2._eval$1("_AnimatedEvaluation<Animatable.T>")); }, dispose$0() { var t1, _this = this; _this._widget.controller.animationController = null; t1 = _this.___CupertinoTextMagnifierState__ioAnimationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); _this._widget.magnifierInfo.removeListener$1(0, _this.get$_magnifier0$_determineMagnifierPositionAndFocalPoint()); _this.super$__CupertinoTextMagnifierState_State_SingleTickerProviderStateMixin$dispose(); }, didUpdateWidget$1(oldWidget) { var t2, _this = this, t1 = oldWidget.magnifierInfo; if (t1 !== _this._widget.magnifierInfo) { t2 = _this.get$_magnifier0$_determineMagnifierPositionAndFocalPoint(); t1.removeListener$1(0, t2); _this._widget.magnifierInfo.addListener$1(0, t2); } _this.super$State$didUpdateWidget(oldWidget); }, didChangeDependencies$0() { this._magnifier0$_determineMagnifierPositionAndFocalPoint$0(); this.super$State$didChangeDependencies(); }, _magnifier0$_determineMagnifierPositionAndFocalPoint$0() { var t2, t3, verticalPositionOfLens, _this = this, t1 = _this._widget.magnifierInfo, textEditingContext = t1.get$value(t1), verticalCenterOfCurrentLine = textEditingContext.caretRect.get$center()._dy; t1 = textEditingContext.globalGesturePosition; t2 = verticalCenterOfCurrentLine - t1._dy; t3 = _this._widget; t3.toString; if (t2 < -48) { if (t3.controller.get$shown()) _this._widget.controller.hide$1$removeFromOverlay(false); return; } if (!t3.controller.get$shown()) { t3 = _this.___CupertinoTextMagnifierState__ioAnimationController_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3.forward$0(0); } _this._widget.toString; verticalPositionOfLens = Math.max(verticalCenterOfCurrentLine, verticalCenterOfCurrentLine - t2 / 10); t1 = t1._dx - 40; t2 = verticalPositionOfLens - 73.5; t3 = _this._framework$_element; t3.toString; t3 = A.InheritedModel_inheritFrom(t3, B._MediaQueryAspect_0, type$.MediaQuery).data.size; _this._widget.toString; t2 = A.MagnifierController_shiftWithinBounds(new A.Rect(10, -21.5, 0 + t3._dx - 10, 0 + t3._dy + 21.5), new A.Rect(t1, t2, t1 + 80, t2 + 47.5)); _this.setState$1(new A._CupertinoTextMagnifierState__determineMagnifierPositionAndFocalPoint_closure(_this, new A.Offset(t2.left, t2.top), verticalCenterOfCurrentLine, verticalPositionOfLens)); }, build$1(context) { var t1, t2, _this = this; _this._widget.toString; t1 = _this._currentAdjustedMagnifierPosition; t2 = _this.___CupertinoTextMagnifierState__ioAnimation_A; t2 === $ && A.throwUnnamedLateFieldNI(); return A.AnimatedPositioned$(new A.CupertinoMagnifier(t2, new A.Offset(0, _this._verticalFocalPointAdjustment), null), B.Cubic_xDo0, B.Duration_45000, t1._dx, t1._dy); } }; A._CupertinoTextMagnifierState_initState_closure.prototype = { call$0() { return this.$this.setState$1(new A._CupertinoTextMagnifierState_initState__closure()); }, $signature: 0 }; A._CupertinoTextMagnifierState_initState__closure.prototype = { call$0() { }, $signature: 0 }; A._CupertinoTextMagnifierState__determineMagnifierPositionAndFocalPoint_closure.prototype = { call$0() { var _this = this, t1 = _this.$this; t1._currentAdjustedMagnifierPosition = _this.adjustedMagnifierPosition; t1._verticalFocalPointAdjustment = _this.verticalCenterOfCurrentLine - _this.verticalPositionOfLens; }, $signature: 0 }; A.CupertinoMagnifier.prototype = { build$1(context) { var focalPointOffset, t3, t1 = this.inOutAnimation, t2 = t1._evaluatable; t1 = t1.parent; t2.transform$1(0, t1.get$value(t1)); focalPointOffset = new A.Offset(0, 49.75).$add(0, this.additionalFocalPointOffset); t3 = t2.transform$1(0, t1.get$value(t1)); t3 = A.Offset_lerp(B.Offset_0_26, B.Offset_0_0, t3 == null ? 1 : t3); t3.toString; t1 = t2.transform$1(0, t1.get$value(t1)); if (t1 == null) t1 = 1; return A.Transform$translate(new A.RawMagnifier(null, A.MagnifierDecoration$(t1, B.List_cop, new A.RoundedRectangleBorder(B.BorderRadius_tLn6, B.BorderSide_2Vu)), focalPointOffset, 1, B.Size_6v8, null), t3); } }; A.__CupertinoTextMagnifierState_State_SingleTickerProviderStateMixin.prototype = { dispose$0() { var _this = this, t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTicker()); _this.SingleTickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); }, activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTicker$0(); } }; A.CupertinoRadio.prototype = { createState$0() { return new A._CupertinoRadioState(new A._RadioPainter0($.$get$ChangeNotifier__emptyListeners()), null, false, $, null, null, B._StateLifecycle_0, this.$ti._eval$1("_CupertinoRadioState<1>")); }, get$value(receiver) { return this.value; } }; A._CupertinoRadioState.prototype = { _radio0$_handleChanged$1(selected) { var t1; if (selected == null) { this._widget.onChanged.call$1(null); return; } if (selected) { t1 = this._widget; t1.onChanged.call$1(t1.value); } }, dispose$0() { var t1 = this._radio0$_painter; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; this.super$__CupertinoRadioState_State_TickerProviderStateMixin$dispose(); }, get$onChanged() { this._widget.toString; return this.get$_radio0$_handleChanged(); }, get$tristate() { return this._widget.toggleable; }, get$value(_) { var t1 = this._widget; return t1.value === t1.groupValue; }, onFocusChange$1(value) { if (this.focused !== value) this.focused = value; }, build$1(context) { var effectiveActivePressedOverlayColor, accessibilitySelected, t2, t3, _this = this, _null = null, effectiveActiveColor = _this._widget.activeColor, t1 = A.HSLColor_HSLColor$fromColor(A.Color$fromARGB(204, effectiveActiveColor.get$value(effectiveActiveColor) >>> 16 & 255, effectiveActiveColor.get$value(effectiveActiveColor) >>> 8 & 255, effectiveActiveColor.get$value(effectiveActiveColor) & 255)), effectiveFocusOverlayColor = new A.HSLColor(t1.alpha, t1.hue, 0.835, 0.69).toColor$0(); t1 = A.HSLColor_HSLColor$fromColor(effectiveActiveColor); effectiveActivePressedOverlayColor = new A.HSLColor(t1.alpha, t1.hue, t1.saturation, 0.45).toColor$0(); t1 = _this._widget; t1.toString; switch (A.defaultTargetPlatform().index) { case 0: case 1: case 3: case 5: accessibilitySelected = _null; break; case 2: case 4: accessibilitySelected = t1.value === t1.groupValue; break; default: accessibilitySelected = _null; } t2 = _this._radio0$_painter; t2.set$focusColor(effectiveFocusOverlayColor); t2.set$downPosition(_this.ToggleableStateMixin__downPosition0); t2.set$isFocused(_this.focused); t2.set$activeColor(_this.ToggleableStateMixin__downPosition0 != null ? effectiveActivePressedOverlayColor : effectiveActiveColor); t2.set$inactiveColor(B.Color_4294967295); t2.set$fillColor(B.Color_4294967295); t3 = _this._widget; t2.set$value(0, t3.value === t3.groupValue); _this._widget.toString; t2.set$checkmarkStyle(false); t2 = _this.buildToggleable$5$autofocus$focusNode$onFocusChange$painter$size(false, t1.focusNode, _this.get$onFocusChange(), t2, B.Size_18_18); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, t1.value === t1.groupValue, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, accessibilitySelected, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t2, _null); } }; A._RadioPainter0.prototype = { get$value(_) { return this._radio0$_value; }, set$value(_, value) { if (this._radio0$_value === value) return; this._radio0$_value = value; this.notifyListeners$0(); }, set$fillColor(value) { if (value.$eq(0, this._fillColor)) return; this._fillColor = value; this.notifyListeners$0(); }, set$checkmarkStyle(value) { return; }, paint$2(canvas, size) { var _this = this, center = new A.Rect(0, 0, 0 + size._dx, 0 + size._dy).get$center(), paint = $.$get$_renderer().createPaint$0(), t1 = _this._toggleable0$_inactiveColor; t1.toString; paint.set$color(0, t1); paint.set$style(0, B.PaintingStyle_0); paint.set$strokeWidth(0.1); canvas.drawCircle$3(center, 7, paint); paint.set$style(0, B.PaintingStyle_1); paint.set$color(0, B.CupertinoDynamicColor_YIZ); canvas.drawCircle$3(center, 7, paint); t1 = _this._radio0$_value; if (t1 === true) { paint.set$style(0, B.PaintingStyle_0); t1 = _this._toggleable0$_activeColor; t1.toString; paint.set$color(0, t1); canvas.drawCircle$3(center, 7, paint); t1 = _this._fillColor; t1.toString; paint.set$color(0, t1); canvas.drawCircle$3(center, 2.975, paint); } t1 = _this._toggleable0$_isFocused; t1.toString; if (t1) { paint.set$style(0, B.PaintingStyle_1); t1 = _this._toggleable0$_focusColor; t1.toString; paint.set$color(0, t1); paint.set$strokeWidth(3); canvas.drawCircle$3(center, 8.5, paint); } } }; A.__CupertinoRadioState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.__CupertinoRadioState_State_TickerProviderStateMixin_ToggleableStateMixin.prototype = {}; A.CupertinoRouteTransitionMixin_buildPageTransitions_closure.prototype = { call$0() { return A.CupertinoRouteTransitionMixin__isPopGestureEnabled(this.route); }, $signature: 23 }; A.CupertinoRouteTransitionMixin_buildPageTransitions_closure0.prototype = { call$0() { var t1 = this.route, t2 = t1._navigator$_navigator; t2.toString; t1 = t1._routes$_controller; t1.toString; t2.didStartUserGesture$0(); return new A._CupertinoBackGestureController(t1, t2, this.T._eval$1("_CupertinoBackGestureController<0>")); }, $signature() { return this.T._eval$1("_CupertinoBackGestureController<0>()"); } }; A.CupertinoPageTransition.prototype = { build$1(context) { var textDirection, _this = this, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; textDirection = t1.textDirection; t1 = _this._primaryShadowAnimation; return A.SlideTransition$(A.SlideTransition$(new A.DecoratedBoxTransition(t1, _this.child, t1, null), _this._primaryPositionAnimation, textDirection, true), _this._secondaryPositionAnimation, textDirection, false); } }; A._CupertinoBackGestureDetector.prototype = { createState$0() { return new A._CupertinoBackGestureDetectorState(B._StateLifecycle_0, this.$ti._eval$1("_CupertinoBackGestureDetectorState<1>")); }, enabledCallback$0() { return this.enabledCallback.call$0(); }, onStartPopGesture$0() { return this.onStartPopGesture.call$0(); } }; A._CupertinoBackGestureDetectorState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = A.HorizontalDragGestureRecognizer$(_this, null); t1.onStart = _this.get$_route$_handleDragStart(); t1.onUpdate = _this.get$_route$_handleDragUpdate(); t1.onEnd = _this.get$_route$_handleDragEnd(); t1.onCancel = _this.get$_route$_handleDragCancel(); _this.___CupertinoBackGestureDetectorState__recognizer_A = t1; }, dispose$0() { var _this = this, t1 = _this.___CupertinoBackGestureDetectorState__recognizer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1._monodrag$_velocityTrackers.clear$0(0); t1.super$OneSequenceGestureRecognizer$dispose(); if (_this._backGestureController != null) $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._CupertinoBackGestureDetectorState_dispose_closure(_this)); _this.super$State$dispose(); }, _route$_handleDragStart$1(details) { this._backGestureController = this._widget.onStartPopGesture$0(); }, _route$_handleDragUpdate$1(details) { var t2, t3, t1 = this._backGestureController; t1.toString; t2 = details.primaryDelta; t2.toString; t2 = this._convertToLogical$1(t2 / this._framework$_element.get$size(0)._dx); t1 = t1.controller; t3 = t1.__AnimationController__value_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1.set$value(0, t3 - t2); }, _route$_handleDragEnd$1(details) { var _this = this, t1 = _this._backGestureController; t1.toString; t1.dragEnd$1(_this._convertToLogical$1(details.velocity.pixelsPerSecond._dx / _this._framework$_element.get$size(0)._dx)); _this._backGestureController = null; }, _route$_handleDragCancel$0() { var t1 = this._backGestureController; if (t1 != null) t1.dragEnd$1(0); this._backGestureController = null; }, _route$_handlePointerDown$1($event) { var t1; if (this._widget.enabledCallback$0()) { t1 = this.___CupertinoBackGestureDetectorState__recognizer_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.addPointer$1($event); } }, _convertToLogical$1(value) { var t1 = this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (t1.textDirection.index) { case 0: return -value; case 1: return value; } }, build$1(context) { var t2, dragAreaWidth, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t2 = type$.MediaQuery; dragAreaWidth = t1.textDirection === B.TextDirection_1 ? A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, t2).data.padding.left : A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, t2).data.padding.right; dragAreaWidth = Math.max(dragAreaWidth, 20); return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_2, B.Clip_1, A._setArrayType([this._widget.child, new A.PositionedDirectional(0, 0, 0, dragAreaWidth, A.Listener$(B.HitTestBehavior_2, _null, _null, _null, this.get$_route$_handlePointerDown(), _null, _null, _null, _null, _null), _null)], type$.JSArray_Widget), _null); } }; A._CupertinoBackGestureDetectorState_dispose_closure.prototype = { call$1(_) { var t1 = this.$this, t2 = t1._backGestureController, t3 = t2 == null, t4 = t3 ? null : t2.navigator._framework$_element != null; if (t4 === true) if (!t3) t2.navigator.didStopUserGesture$0(); t1._backGestureController = null; }, $signature: 11 }; A._CupertinoBackGestureController.prototype = { dragEnd$1(velocity) { var animateForward, t1, t2, animationStatusCallback, _this = this; if (Math.abs(velocity) >= 1) animateForward = velocity <= 0; else { t1 = _this.controller.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); animateForward = t1 > 0.5; } if (animateForward) { t1 = _this.controller; t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = A.lerpDouble(800, 0, t2); t2.toString; t2 = A.Duration$(0, 0, 0, Math.min(B.JSNumber_methods.floor$0(t2), 300), 0, 0); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(1, B.Cubic_2Vk, t2); } else { _this.navigator.pop$0(); t1 = _this.controller; t2 = t1._ticker; if (t2 != null && t2._ticker$_future != null) { t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = A.lerpDouble(0, 800, t2); t2.toString; t2 = A.Duration$(0, 0, 0, B.JSNumber_methods.floor$0(t2), 0, 0); t1._direction = B._AnimationDirection_1; t1._animateToInternal$3$curve$duration(0, B.Cubic_2Vk, t2); } } t2 = t1._ticker; if (t2 != null && t2._ticker$_future != null) { animationStatusCallback = A._Cell$named("animationStatusCallback"); animationStatusCallback.__late_helper$_value = new A._CupertinoBackGestureController_dragEnd_closure(_this, animationStatusCallback); t2 = animationStatusCallback._readLocal$0(); t1.didRegisterListener$0(); t1 = t1.AnimationLocalStatusListenersMixin__statusListeners; t1._isDirty = true; t1._observer_list$_list.push(t2); } else _this.navigator.didStopUserGesture$0(); } }; A._CupertinoBackGestureController_dragEnd_closure.prototype = { call$1($status) { var t1 = this.$this; t1.navigator.didStopUserGesture$0(); t1.controller.removeStatusListener$1(this.animationStatusCallback._readLocal$0()); }, $signature: 47 }; A._CupertinoEdgeShadowDecoration.prototype = { lerpFrom$2(a, t) { var t1; if (a instanceof A._CupertinoEdgeShadowDecoration) { t1 = A._CupertinoEdgeShadowDecoration_lerp(a, this, t); t1.toString; return t1; } t1 = A._CupertinoEdgeShadowDecoration_lerp(null, this, t); t1.toString; return t1; }, lerpTo$2(b, t) { var t1; if (b instanceof A._CupertinoEdgeShadowDecoration) { t1 = A._CupertinoEdgeShadowDecoration_lerp(this, b, t); t1.toString; return t1; } t1 = A._CupertinoEdgeShadowDecoration_lerp(this, null, t); t1.toString; return t1; }, createBoxPainter$1(onChanged) { return new A._CupertinoEdgeShadowPainter(this, onChanged); }, $eq(_, other) { var t1, t2; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; if (other instanceof A._CupertinoEdgeShadowDecoration) { t1 = other._route$_colors; t2 = this._route$_colors; t2 = t1 == null ? t2 == null : t1 === t2; t1 = t2; } else t1 = false; return t1; }, get$hashCode(_) { return J.get$hashCode$(this._route$_colors); } }; A._CupertinoEdgeShadowDecoration_lerp_closure.prototype = { call$1(color) { var t1 = A.Color_lerp(null, color, this.t); t1.toString; return t1; }, $signature: 365 }; A._CupertinoEdgeShadowDecoration_lerp_closure0.prototype = { call$1(color) { var t1 = A.Color_lerp(null, color, 1 - this.t); t1.toString; return t1; }, $signature: 365 }; A._CupertinoEdgeShadowPainter.prototype = { paint$3(canvas, offset, configuration) { var t1, t2, shadowWidth, shadowHeight, bandWidth, start, shadowDirection, bandColorIndex, dx, paint, t3, colors = this._route$_decoration._route$_colors; if (colors == null) return; t1 = configuration.size; t2 = t1._dx; shadowWidth = 0.05 * t2; shadowHeight = t1._dy; bandWidth = shadowWidth / (colors.length - 1); switch (configuration.textDirection.index) { case 0: start = offset._dx + t2; shadowDirection = 1; break; case 1: start = offset._dx; shadowDirection = -1; break; default: start = null; shadowDirection = null; } for (t1 = offset._dy, t2 = t1 + shadowHeight, bandColorIndex = 0, dx = 0; dx < shadowWidth; ++dx) { if (B.JSInt_methods.$tdiv(dx, bandWidth) !== bandColorIndex) ++bandColorIndex; paint = $.$get$_renderer().createPaint$0(); t3 = A.Color_lerp(colors[bandColorIndex], colors[bandColorIndex + 1], B.JSInt_methods.$mod(dx, bandWidth) / bandWidth); t3.toString; paint.set$color(0, t3); t3 = start + shadowDirection * dx - 1; canvas.drawRect$2(new A.Rect(t3, t1, t3 + 1, t2), paint); } } }; A.CupertinoScrollbar.prototype = { createState$0() { return new A._CupertinoScrollbarState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, null, B._StateLifecycle_0); } }; A._CupertinoScrollbarState.prototype = { initState$0() { var t1, _this = this; _this.super$RawScrollbarState$initState(); t1 = _this.___CupertinoScrollbarState__thicknessAnimationController_A = A.AnimationController$(null, B.Duration_100000, null, 1, null, _this); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._observer_list$_list.push(new A._CupertinoScrollbarState_initState_closure(_this)); }, updateScrollbarPainter$0() { var t2, t3, t4, _this = this, t1 = _this.__RawScrollbarState_scrollbarPainter_F; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._framework$_element; t2.toString; t2 = B.CupertinoDynamicColor_zPV.resolveFrom$1(t2); t1.set$color(0, t2); t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; t1.set$textDirection(t2.textDirection); t2 = _this._widget; t3 = t2.thickness; t3.toString; t4 = _this.___CupertinoScrollbarState__thicknessAnimationController_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = t4.__AnimationController__value_A; t4 === $ && A.throwUnnamedLateFieldNI(); t1.set$thickness(t3 + t4 * (t2.thicknessWhileDragging - t3)); t1.set$mainAxisMargin(3); t1.set$crossAxisMargin(3); t3 = _this._widget; t2 = t3.radius; t3 = t3.radiusWhileDragging; t4 = _this.___CupertinoScrollbarState__thicknessAnimationController_A.__AnimationController__value_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = A.Radius_lerp(t2, t3, t4); t4.toString; t1.set$radius(t4); t4 = _this._framework$_element; t4.toString; t1.set$padding(0, A.InheritedModel_inheritFrom(t4, B._MediaQueryAspect_6, type$.MediaQuery).data.padding); t1.set$minLength(0, 36); t1.set$minOverscrollLength(8); t1.set$scrollbarOrientation(_this._widget.scrollbarOrientation); }, handleThumbPressStart$1(localPosition) { var direction, _this = this; _this.super$RawScrollbarState$handleThumbPressStart(localPosition); direction = _this.getScrollbarDirection$0(); if (direction == null) return; switch (direction.index) { case 1: _this._pressStartAxisPosition = localPosition._dy; break; case 0: _this._pressStartAxisPosition = localPosition._dx; break; } }, handleThumbPress$0() { if (this.getScrollbarDirection$0() == null) return; this.super$RawScrollbarState$handleThumbPress(); var t1 = this.___CupertinoScrollbarState__thicknessAnimationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.forward$0(0).then$1$1(0, new A._CupertinoScrollbarState_handleThumbPress_closure(), type$.void); }, handleThumbPressEnd$2(localPosition, velocity) { var t1, _this = this, direction = _this.getScrollbarDirection$0(); if (direction == null) return; t1 = _this.___CupertinoScrollbarState__thicknessAnimationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.reverse$0(0); _this.super$RawScrollbarState$handleThumbPressEnd(localPosition, velocity); switch (direction.index) { case 1: if (Math.abs(velocity.pixelsPerSecond._dy) < 10 && Math.abs(localPosition._dy - _this._pressStartAxisPosition) > 0) A.HapticFeedback_mediumImpact(); break; case 0: if (Math.abs(velocity.pixelsPerSecond._dx) < 10 && Math.abs(localPosition._dx - _this._pressStartAxisPosition) > 0) A.HapticFeedback_mediumImpact(); break; } }, dispose$0() { var t1 = this.___CupertinoScrollbarState__thicknessAnimationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$RawScrollbarState$dispose(); } }; A._CupertinoScrollbarState_initState_closure.prototype = { call$0() { this.$this.updateScrollbarPainter$0(); }, $signature: 0 }; A._CupertinoScrollbarState_handleThumbPress_closure.prototype = { call$1(_) { return A.HapticFeedback_mediumImpact(); }, $signature: 605 }; A._TextSelectionHandlePainter0.prototype = { paint$2(canvas, size) { var circle, line, path, t1 = $.$get$_renderer(), paint = t1.createPaint$0(); paint.set$color(0, this.color); circle = A.Rect$fromCircle(B.Offset_6_6, 6); line = A.Rect$fromPoints(B.Offset_6pl, new A.Offset(7, size._dy)); path = t1.createPath$0(); path.addOval$1(circle); path.addRect$1(line); canvas.drawPath$2(path, paint); }, shouldRepaint$1(oldPainter) { return !this.color.$eq(0, oldPainter.color); } }; A.CupertinoTextSelectionHandleControls.prototype = {}; A.CupertinoTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return new A.Size(12, textLineHeight + 12 - 1.5); }, buildHandle$4(context, type, textLineHeight, onTap) { var t1, handle, t2, _null = null, customPaint = A.CustomPaint$(_null, _null, _null, new A._TextSelectionHandlePainter0(A.CupertinoTheme_of(context).get$primaryColor(), _null), B.Size_0_0); switch (type.index) { case 0: return A.SizedBox$fromSize(customPaint, new A.Size(12, textLineHeight + 12 - 1.5)); case 1: t1 = textLineHeight + 12 - 1.5; handle = A.SizedBox$fromSize(customPaint, new A.Size(12, t1)); t2 = new A.Matrix40(new Float64Array(16)); t2.setIdentity$0(); t2.translate$2(0, 6, t1 / 2); t2.rotateZ$1(3.141592653589793); t2.translate$2(0, -6, -t1 / 2); return A.Transform$(_null, handle, _null, t2, true); case 2: return B.SizedBox_0_0_null_null; } }, getHandleAnchor$2(type, textLineHeight) { switch (type.index) { case 0: return new A.Offset(6, textLineHeight + 12 - 1.5); case 1: return new A.Offset(6, textLineHeight + 12 - 1.5 - 12 + 1.5); case 2: return new A.Offset(6, textLineHeight + (textLineHeight + 12 - 1.5 - textLineHeight) / 2); } } }; A._CupertinoTextSelectionHandleControls_CupertinoTextSelectionControls_TextSelectionHandleControls.prototype = {}; A.CupertinoTextSelectionToolbar.prototype = { build$1(context) { var anchorAboveAdjusted, anchorBelowAdjusted, _null = null, t1 = type$.MediaQuery, mediaQueryPadding = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, t1).data.padding, paddingAbove = mediaQueryPadding.top + 8, leftMargin = 26 + mediaQueryPadding.left, rightMargin = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, t1).data.size._dx - mediaQueryPadding.right - 26; t1 = this.anchorAbove; anchorAboveAdjusted = new A.Offset(A.clampDouble(t1._dx, leftMargin, rightMargin), t1._dy - 8 - paddingAbove); t1 = this.anchorBelow; anchorBelowAdjusted = new A.Offset(A.clampDouble(t1._dx, leftMargin, rightMargin), t1._dy + 8 - paddingAbove); return new A.Padding(new A.EdgeInsets(8, paddingAbove, 8, 8), new A.CustomSingleChildLayout(new A.TextSelectionToolbarLayoutDelegate(anchorAboveAdjusted, anchorBelowAdjusted, _null), new A._CupertinoTextSelectionToolbarContent(anchorAboveAdjusted, anchorBelowAdjusted, this.children, A.text_selection_toolbar0_CupertinoTextSelectionToolbar__defaultToolbarBuilder$closure(), _null), _null), _null); } }; A._CupertinoTextSelectionToolbarShape.prototype = { createRenderObject$1(context) { var t1 = new A._RenderCupertinoTextSelectionToolbarShape(this._anchorAbove, this._anchorBelow, this._text_selection_toolbar0$_shadowColor, A.LayerHandle$(type$.ClipPathLayer), null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$anchorAbove(this._anchorAbove); renderObject.set$anchorBelow(this._anchorBelow); renderObject.set$shadowColor(0, this._text_selection_toolbar0$_shadowColor); } }; A._RenderCupertinoTextSelectionToolbarShape.prototype = { get$isRepaintBoundary() { return true; }, set$anchorAbove(value) { if (value.$eq(0, this._anchorAbove)) return; this._anchorAbove = value; this.markNeedsLayout$0(); }, set$anchorBelow(value) { if (value.$eq(0, this._anchorBelow)) return; this._anchorBelow = value; this.markNeedsLayout$0(); }, set$shadowColor(_, value) { if (J.$eq$(value, this._text_selection_toolbar0$_shadowColor)) return; this._text_selection_toolbar0$_shadowColor = value; this.markNeedsPaint$0(); }, get$isAbove() { var t1 = this._anchorAbove, t2 = this.RenderObjectWithChildMixin__child; t2 = t2 == null ? null : t2.get$size(0)._dy; if (t2 == null) t2 = 0; return t1._dy >= t2 - 14; }, performLayout$0() { var t1, _this = this, child = _this.RenderObjectWithChildMixin__child; if (child == null) return; t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); child.layout$2$parentUsesSize(new A.BoxConstraints(30, 1 / 0, 0, 1 / 0).enforce$1(new A.BoxConstraints(0, t1.maxWidth, 0, t1.maxHeight)), true); t1 = child.parentData; t1.toString; type$.BoxParentData._as(t1); t1.offset = new A.Offset(0, _this.get$isAbove() ? -7 : 0); _this._box$_size = new A.Size(child.get$size(0)._dx, child.get$size(0)._dy - 7); }, _text_selection_toolbar0$_clipPath$2(child, rrect) { var arrowTipX, t1, t2, arrowBaseY, t3, _this = this, path = $.$get$_renderer().createPath$0(); if (30 > _this.get$size(0)._dx) { path.addRRect$1(rrect); return path; } arrowTipX = A.clampDouble(_this.globalToLocal$1(_this.get$isAbove() ? _this._anchorAbove : _this._anchorBelow)._dx, 15, _this.get$size(0)._dx - 7 - 8); t1 = arrowTipX - 7; t2 = arrowTipX + 7; if (_this.get$isAbove()) { arrowBaseY = child.get$size(0)._dy - 7; t3 = child.get$size(0); path.moveTo$2(0, t2, arrowBaseY); path.lineTo$2(0, arrowTipX, t3._dy); path.lineTo$2(0, t1, arrowBaseY); } else { path.moveTo$2(0, t1, 7); path.lineTo$2(0, arrowTipX, 0); path.lineTo$2(0, t2, 7); } t1 = A._RenderCupertinoTextSelectionToolbarShape__addRRectToPath(path, rrect, _this.get$isAbove() ? 1.5707963267948966 : -1.5707963267948966); t1.close$0(0); return t1; }, paint$2(context, offset) { var t1, rrect, clipPath, t2, shadowRRect, t3, t4, _this = this, child = _this.RenderObjectWithChildMixin__child; if (child == null) return; t1 = child.parentData; t1.toString; type$.BoxParentData._as(t1); rrect = A.RRect$fromRectAndRadius(new A.Rect(0, 7, 0 + child.get$size(0)._dx, 7 + (child.get$size(0)._dy - 14)), B.Radius_8_8).scaleRadii$0(); clipPath = _this._text_selection_toolbar0$_clipPath$2(child, rrect); t2 = _this._text_selection_toolbar0$_shadowColor; if (t2 != null) { shadowRRect = A.RRect$fromLTRBR(rrect.left, rrect.top, rrect.right, rrect.bottom + 7, B.Radius_8_8).shift$1(offset.$add(0, t1.offset).$add(0, B.Offset_0_0)); context.get$canvas(context).drawRRect$2(shadowRRect, new A.BoxShadow(0, B.BlurStyle_0, t2, B.Offset_0_0, 15).toPaint$0()); } t2 = _this._text_selection_toolbar0$_clipPathLayer; t3 = _this.__RenderObject__needsCompositing_A; t3 === $ && A.throwUnnamedLateFieldNI(); t1 = offset.$add(0, t1.offset); t4 = child.get$size(0); t2.set$layer(0, context.pushClipPath$6$oldLayer(t3, t1, new A.Rect(0, 0, 0 + t4._dx, 0 + t4._dy), clipPath, new A._RenderCupertinoTextSelectionToolbarShape_paint_closure(child), t2._layer)); }, dispose$0() { this._text_selection_toolbar0$_clipPathLayer.set$layer(0, null); this.super$RenderObject$dispose(); }, hitTestChildren$2$position(result, position) { var t1, t2, child = this.RenderObjectWithChildMixin__child; if (child == null) return false; t1 = child.parentData; t1.toString; t1 = type$.BoxParentData._as(t1).offset; t2 = t1._dx; t1 = t1._dy + 7; if (!new A.Rect(t2, t1, t2 + child.get$size(0)._dx, t1 + (child.get$size(0)._dy - 14)).contains$1(0, position)) return false; return this.super$RenderShiftedBox$hitTestChildren(result, position); } }; A._RenderCupertinoTextSelectionToolbarShape_paint_closure.prototype = { call$2(innerContext, innerOffset) { return innerContext.paintChild$2(this.child, innerOffset); }, $signature: 96 }; A._CupertinoTextSelectionToolbarContent.prototype = { createState$0() { return new A._CupertinoTextSelectionToolbarContentState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, null, B._StateLifecycle_0); }, toolbarBuilder$4(arg0, arg1, arg2, arg3) { return this.toolbarBuilder.call$4(arg0, arg1, arg2, arg3); } }; A._CupertinoTextSelectionToolbarContentState.prototype = { _onHorizontalDragEnd$1(details) { var velocity = details.primaryVelocity; if (velocity != null && velocity !== 0) if (velocity > 0) this._handlePreviousPage$0(); else this._handleNextPage$0(); }, _handleNextPage$0() { var _this = this, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._toolbarItemsKey); t1 = t1 == null ? null : t1.get$renderObject(); type$.nullable_RenderBox._as(t1); if (t1 instanceof A._RenderCupertinoTextSelectionToolbarItems) { t1 = t1.___RenderCupertinoTextSelectionToolbarItems_hasNextPage_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = false; if (t1) { t1 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.reverse$0(0); t1 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t1.didRegisterListener$0(); t1 = t1.AnimationLocalStatusListenersMixin__statusListeners; t1._isDirty = true; t1._observer_list$_list.push(_this.get$_statusListener()); _this._nextPage = _this._text_selection_toolbar0$_page + 1; } }, _handlePreviousPage$0() { var _this = this, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._toolbarItemsKey); t1 = t1 == null ? null : t1.get$renderObject(); type$.nullable_RenderBox._as(t1); if (t1 instanceof A._RenderCupertinoTextSelectionToolbarItems) { t1 = t1.___RenderCupertinoTextSelectionToolbarItems_hasPreviousPage_A; t1 === $ && A.throwUnnamedLateFieldNI(); } else t1 = false; if (t1) { t1 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.reverse$0(0); t1 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t1.didRegisterListener$0(); t1 = t1.AnimationLocalStatusListenersMixin__statusListeners; t1._isDirty = true; t1._observer_list$_list.push(_this.get$_statusListener()); _this._nextPage = _this._text_selection_toolbar0$_page - 1; } }, _statusListener$1($status) { var t1, _this = this; if ($status !== B.AnimationStatus_0) return; _this.setState$1(new A._CupertinoTextSelectionToolbarContentState__statusListener_closure(_this)); t1 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.forward$0(0); _this.___CupertinoTextSelectionToolbarContentState__controller_A.removeStatusListener$1(_this.get$_statusListener()); }, initState$0() { this.super$State$initState(); this.___CupertinoTextSelectionToolbarContentState__controller_A = A.AnimationController$(null, B.Duration_125000, null, 1, 1, this); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (_this._widget.children !== oldWidget.children) { _this._text_selection_toolbar0$_page = 0; _this._nextPage = null; t1 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.forward$0(0); _this.___CupertinoTextSelectionToolbarContentState__controller_A.removeStatusListener$1(_this.get$_statusListener()); } }, dispose$0() { var t1 = this.___CupertinoTextSelectionToolbarContentState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$__CupertinoTextSelectionToolbarContentState_State_TickerProviderStateMixin$dispose(); }, build$1(context) { var t3, t4, t5, _this = this, _null = null, chevronColor = B.CupertinoDynamicColor_aTW.resolveFrom$1(context), backButton = A.Center$(A.CupertinoTextSelectionToolbarButton$(A.IgnorePointer$(A.CustomPaint$(_null, _null, _null, new A._LeftCupertinoChevronPainter(chevronColor, true, _null), B.Size_10_10), true, _null), _this.get$_handlePreviousPage()), 1, 1), nextButton = A.Center$(A.CupertinoTextSelectionToolbarButton$(A.IgnorePointer$(A.CustomPaint$(_null, _null, _null, new A._RightCupertinoChevronPainter(chevronColor, false, _null), B.Size_10_10), true, _null), _this.get$_handleNextPage()), 1, 1), t1 = _this._widget.children, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Center>"), children = A.List_List$of(new A.MappedListIterable(t1, new A._CupertinoTextSelectionToolbarContentState_build_closure(), t2), true, t2._eval$1("ListIterable.E")); t2 = _this._widget; t1 = t2.anchorAbove; t3 = t2.anchorBelow; t4 = _this.___CupertinoTextSelectionToolbarContentState__controller_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = _this._text_selection_toolbar0$_page; return t2.toolbarBuilder$4(context, t1, t3, new A.FadeTransition(t4, false, A.AnimatedSize$(B.Alignment_0_0, A.GestureDetector$(_null, new A._CupertinoTextSelectionToolbarItems(backButton, children, B.CupertinoDynamicColor_kfn.resolveFrom$1(context), 1 / A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_2, type$.MediaQuery).data.devicePixelRatio, nextButton, t5, _this._toolbarItemsKey), B.DragStartBehavior_1, false, _null, _null, _null, _null, _this.get$_onHorizontalDragEnd(), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, B.Offset_O5r), B.C__DecelerateCurve, B.Duration_125000, _null), _null)); } }; A._CupertinoTextSelectionToolbarContentState__statusListener_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._nextPage; t2.toString; t1._text_selection_toolbar0$_page = t2; t1._nextPage = null; }, $signature: 0 }; A._CupertinoTextSelectionToolbarContentState_build_closure.prototype = { call$1(child) { return A.Center$(child, 1, 1); }, $signature: 2104 }; A._LeftCupertinoChevronPainter.prototype = {}; A._RightCupertinoChevronPainter.prototype = {}; A._CupertinoChevronPainter.prototype = { paint$2(canvas, size) { var firstPoint, middlePoint, lowerPoint, paint, iconSize = size._dy, t1 = this.isLeft, t2 = t1 ? 1 : -1, centerOffset = new A.Offset(iconSize / 4 * t2, 0); t2 = iconSize / 2; firstPoint = new A.Offset(t2, 0).$add(0, centerOffset); middlePoint = new A.Offset(t1 ? 0 : iconSize, t2).$add(0, centerOffset); lowerPoint = new A.Offset(t2, iconSize).$add(0, centerOffset); paint = $.$get$_renderer().createPaint$0(); paint.set$color(0, this.color); paint.set$style(0, B.PaintingStyle_1); paint.set$strokeWidth(2); paint.set$strokeCap(B.StrokeCap_1); paint.set$strokeJoin(B.StrokeJoin_1); canvas.drawLine$3(firstPoint, middlePoint, paint); canvas.drawLine$3(middlePoint, lowerPoint, paint); }, shouldRepaint$1(oldDelegate) { return !oldDelegate.color.$eq(0, this.color) || oldDelegate.isLeft !== this.isLeft; } }; A._CupertinoTextSelectionToolbarItems.prototype = { createRenderObject$1(context) { var t1 = new A._RenderCupertinoTextSelectionToolbarItems(A.LinkedHashMap_LinkedHashMap$_empty(type$._CupertinoTextSelectionToolbarItemsSlot, type$.RenderBox), this.page, this.dividerColor, this.dividerWidth, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$page(0, this.page); renderObject.set$dividerColor(this.dividerColor); renderObject.set$dividerWidth(this.dividerWidth); }, createElement$0(_) { var t1 = type$.Element_2; return new A._CupertinoTextSelectionToolbarItemsElement(A.LinkedHashMap_LinkedHashMap$_empty(type$._CupertinoTextSelectionToolbarItemsSlot, t1), A.HashSet_HashSet(t1), this, B._ElementLifecycle_0); } }; A._CupertinoTextSelectionToolbarItemsElement.prototype = { get$renderObject() { return type$._RenderCupertinoTextSelectionToolbarItems._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, _updateRenderObject$2(child, slot) { var t1; switch (slot.index) { case 0: t1 = type$._RenderCupertinoTextSelectionToolbarItems._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); t1._backButton = t1._text_selection_toolbar0$_updateChild$3(t1._backButton, child, B._CupertinoTextSelectionToolbarItemsSlot_0); break; case 1: t1 = type$._RenderCupertinoTextSelectionToolbarItems._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); t1._nextButton = t1._text_selection_toolbar0$_updateChild$3(t1._nextButton, child, B._CupertinoTextSelectionToolbarItemsSlot_1); break; } }, insertRenderObjectChild$2(child, slot) { var t1, t2; if (slot instanceof A._CupertinoTextSelectionToolbarItemsSlot) { this._updateRenderObject$2(type$.RenderBox._as(child), slot); return; } if (slot instanceof A.IndexedSlot) { t1 = type$._RenderCupertinoTextSelectionToolbarItems._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); type$.RenderBox._as(child); t2 = slot.value; t2 = t2 == null ? null : t2.get$renderObject(); type$.nullable_RenderBox._as(t2); t1.adoptChild$1(child); t1._insertIntoChildList$2$after(child, t2); return; } }, moveRenderObjectChild$3(child, oldSlot, newSlot) { type$._RenderCupertinoTextSelectionToolbarItems._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).move$2$after(type$.RenderBox._as(child), type$.nullable_RenderBox._as(newSlot.value.get$renderObject())); }, removeRenderObjectChild$2(child, slot) { var t1; if (slot instanceof A._CupertinoTextSelectionToolbarItemsSlot) { this._updateRenderObject$2(null, slot); return; } t1 = type$._RenderCupertinoTextSelectionToolbarItems._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); type$.RenderBox._as(child); t1._removeFromChildList$1(child); t1.dropChild$1(child); }, visitChildren$1(visitor) { var t1, t2, t3, _i, child; this.slotToChild.get$values(0).forEach$1(0, visitor); t1 = this.___CupertinoTextSelectionToolbarItemsElement__children_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.length; t3 = this._text_selection_toolbar0$_forgottenChildren; _i = 0; for (; _i < t2; ++_i) { child = t1[_i]; if (!t3.contains$1(0, child)) visitor.call$1(child); } }, forgetChild$1(child) { var t2, t1 = this.slotToChild; if (t1.containsKey$1(0, child._slot)) { t2 = child._slot; t2.toString; t1.remove$1(0, type$._CupertinoTextSelectionToolbarItemsSlot._as(t2)); } else this._text_selection_toolbar0$_forgottenChildren.add$1(0, child); this.super$Element$forgetChild(child); }, _mountChild$2(widget, slot) { var t1 = this.slotToChild, oldChild = t1.$index(0, slot), newChild = this.updateChild$3(oldChild, widget, slot); if (oldChild != null) t1.remove$1(0, slot); if (newChild != null) t1.$indexSet(0, slot, newChild); }, mount$2($parent, newSlot) { var t1, t2, t3, previousChild, i, newChild, _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); t1 = _this._widget; t1.toString; type$._CupertinoTextSelectionToolbarItems._as(t1); _this._mountChild$2(t1.backButton, B._CupertinoTextSelectionToolbarItemsSlot_0); _this._mountChild$2(t1.nextButton, B._CupertinoTextSelectionToolbarItemsSlot_1); t1 = t1.children; t2 = _this.___CupertinoTextSelectionToolbarItemsElement__children_A = A.List_List$filled(t1.length, $.$get$_NullElement_instance0(), false, type$.Element_2); for (t3 = type$.IndexedSlot_nullable_Element, previousChild = null, i = 0; i < t2.length; ++i, previousChild = newChild) { newChild = _this.inflateWidget$2(t1[i], new A.IndexedSlot(previousChild, i, t3)); t2 = _this.___CupertinoTextSelectionToolbarItemsElement__children_A; t2[i] = newChild; } }, update$1(_, newWidget) { var t1, t2, t3, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = _this._widget; t1.toString; type$._CupertinoTextSelectionToolbarItems._as(t1); _this._mountChild$2(t1.backButton, B._CupertinoTextSelectionToolbarItemsSlot_0); _this._mountChild$2(t1.nextButton, B._CupertinoTextSelectionToolbarItemsSlot_1); t2 = _this.___CupertinoTextSelectionToolbarItemsElement__children_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this._text_selection_toolbar0$_forgottenChildren; _this.___CupertinoTextSelectionToolbarItemsElement__children_A = _this.updateChildren$3$forgottenChildren(t2, t1.children, t3); t3.clear$0(0); } }; A._RenderCupertinoTextSelectionToolbarItems.prototype = { _text_selection_toolbar0$_updateChild$3(oldChild, newChild, slot) { var _this = this; if (oldChild != null) { _this.dropChild$1(oldChild); _this.slottedChildren.remove$1(0, slot); } if (newChild != null) { _this.slottedChildren.$indexSet(0, slot, newChild); _this.adoptChild$1(newChild); } return newChild; }, set$page(_, value) { if (value === this._text_selection_toolbar0$_page) return; this._text_selection_toolbar0$_page = value; this.markNeedsLayout$0(); }, set$dividerColor(value) { if (value.$eq(0, this._dividerColor)) return; this._dividerColor = value; this.markNeedsLayout$0(); }, set$dividerWidth(value) { if (value === this._dividerWidth) return; this._dividerWidth = value; this.markNeedsLayout$0(); }, performLayout$0() { var t2, t3, t4, slottedConstraints, toolbarWidth, firstPageWidth, t5, t6, _this = this, t1 = {}; if (_this.ContainerRenderObjectMixin__firstChild == null) { t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._box$_size = new A.Size(A.clampDouble(0, t1.minWidth, t1.maxWidth), A.clampDouble(0, t1.minHeight, t1.maxHeight)); return; } t1.greatestHeight = 0; _this.visitChildren$1(new A._RenderCupertinoTextSelectionToolbarItems_performLayout_closure(t1, _this)); t2 = type$.BoxConstraints; t3 = t2._as(A.RenderObject.prototype.get$constraints.call(_this)); t4 = t1.greatestHeight; slottedConstraints = new A.BoxConstraints(0, t3.maxWidth, t4, t4); _this._backButton.layout$2$parentUsesSize(slottedConstraints, true); _this._nextButton.layout$2$parentUsesSize(slottedConstraints, true); t4 = _this._backButton.get$size(0); t3 = _this._nextButton.get$size(0); t1.currentButtonPosition = 0; toolbarWidth = A._Cell$named("toolbarWidth"); firstPageWidth = A._Cell$named("firstPageWidth"); t1.currentPage = 0; t1.i = -1; _this.visitChildren$1(new A._RenderCupertinoTextSelectionToolbarItems_performLayout_closure0(t1, _this, t4._dx + t3._dx, firstPageWidth, toolbarWidth)); t3 = t1.currentPage; if (t3 > 0) { t4 = _this._nextButton.parentData; t4.toString; t5 = type$.ToolbarItemsParentData; t5._as(t4); t6 = _this._backButton.parentData; t6.toString; t5._as(t6); if (_this._text_selection_toolbar0$_page !== t3) { t4.offset = new A.Offset(toolbarWidth._readLocal$0(), 0); t4.shouldPaint = true; toolbarWidth.__late_helper$_value = toolbarWidth._readLocal$0() + _this._nextButton.get$size(0)._dx; } if (_this._text_selection_toolbar0$_page > 0) { t6.offset = B.Offset_0_0; t6.shouldPaint = true; } } else toolbarWidth.__late_helper$_value = toolbarWidth._readLocal$0() - _this._dividerWidth; t3 = _this._text_selection_toolbar0$_page; _this.___RenderCupertinoTextSelectionToolbarItems_hasNextPage_A = t3 !== t1.currentPage; _this.___RenderCupertinoTextSelectionToolbarItems_hasPreviousPage_A = t3 > 0; _this._box$_size = t2._as(A.RenderObject.prototype.get$constraints.call(_this)).constrain$1(new A.Size(toolbarWidth._readLocal$0(), t1.greatestHeight)); }, paint$2(context, offset) { this.visitChildren$1(new A._RenderCupertinoTextSelectionToolbarItems_paint_closure(this, offset, context)); }, setupParentData$1(child) { if (!(child.parentData instanceof A.ToolbarItemsParentData)) child.parentData = new A.ToolbarItemsParentData(null, null, B.Offset_0_0); }, hitTestChildren$2$position(result, position) { var t1, t2, child = this.ContainerRenderObjectMixin__lastChild; for (t1 = type$.ToolbarItemsParentData; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); if (!t2.shouldPaint) { child = t2.ContainerParentDataMixin_previousSibling; continue; } if (A._RenderCupertinoTextSelectionToolbarItems_hitTestChild(child, result, position)) return true; child = t2.ContainerParentDataMixin_previousSibling; } if (A._RenderCupertinoTextSelectionToolbarItems_hitTestChild(this._backButton, result, position)) return true; if (A._RenderCupertinoTextSelectionToolbarItems_hitTestChild(this._nextButton, result, position)) return true; return false; }, attach$1(owner) { var t1, t2, t3; this.super$__RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin$attach(owner); for (t1 = this.slottedChildren.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; (t3 == null ? t2._as(t3) : t3).attach$1(owner); } }, detach$0(_) { var t1, t2, t3; this.super$__RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin$detach(0); for (t1 = this.slottedChildren.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; (t3 == null ? t2._as(t3) : t3).detach$0(0); } }, redepthChildren$0() { this.visitChildren$1(new A._RenderCupertinoTextSelectionToolbarItems_redepthChildren_closure(this)); }, visitChildren$1(visitor) { var t1 = this._backButton; if (t1 != null) visitor.call$1(t1); t1 = this._nextButton; if (t1 != null) visitor.call$1(t1); this.super$ContainerRenderObjectMixin$visitChildren(visitor); }, visitChildrenForSemantics$1(visitor) { this.visitChildren$1(new A._RenderCupertinoTextSelectionToolbarItems_visitChildrenForSemantics_closure(visitor)); }, debugDescribeChildren$0() { var value = A._setArrayType([], type$.JSArray_DiagnosticsNode); this.visitChildren$1(new A._RenderCupertinoTextSelectionToolbarItems_debugDescribeChildren_closure(this, value)); return value; } }; A._RenderCupertinoTextSelectionToolbarItems_performLayout_closure.prototype = { call$1(renderObjectChild) { var t1, childHeight; type$.RenderBox._as(renderObjectChild); t1 = this.$this; childHeight = renderObjectChild._computeIntrinsicDimension$3(B._IntrinsicDimension_3, type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(t1)).maxWidth, renderObjectChild.get$computeMaxIntrinsicHeight()); t1 = this._box_0; if (childHeight > t1.greatestHeight) t1.greatestHeight = childHeight; }, $signature: 66 }; A._RenderCupertinoTextSelectionToolbarItems_performLayout_closure0.prototype = { call$1(renderObjectChild) { var t3, t4, paginationButtonsWidth, t5, t6, t7, currentButtonPosition, _this = this, t1 = _this._box_0, t2 = ++t1.i; type$.RenderBox._as(renderObjectChild); t3 = renderObjectChild.parentData; t3.toString; type$.ToolbarItemsParentData._as(t3); t3.shouldPaint = false; t4 = _this.$this; if (renderObjectChild === t4._backButton || renderObjectChild === t4._nextButton || t1.currentPage > t4._text_selection_toolbar0$_page) return; if (t1.currentPage === 0) paginationButtonsWidth = t2 === t4.ContainerRenderObjectMixin__childCount + 1 ? 0 : t4._nextButton.get$size(0)._dx; else paginationButtonsWidth = _this.subsequentPageButtonsWidth; t2 = t1.currentPage === 0 ? type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(t4)).maxWidth : _this.firstPageWidth._readLocal$0(); t5 = t1.greatestHeight; renderObjectChild.layout$2$parentUsesSize(new A.BoxConstraints(0, t2 - paginationButtonsWidth, t5, t5), true); if (t1.currentButtonPosition + paginationButtonsWidth + renderObjectChild.get$size(0)._dx > type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(t4)).maxWidth) { ++t1.currentPage; t1.currentButtonPosition = t4._backButton.get$size(0)._dx + t4._dividerWidth; t2 = t4._backButton.get$size(0); t5 = t4._nextButton.get$size(0); t6 = _this.firstPageWidth._readLocal$0(); t7 = t1.greatestHeight; renderObjectChild.layout$2$parentUsesSize(new A.BoxConstraints(0, t6 - (t2._dx + t5._dx), t7, t7), true); } t2 = t1.currentButtonPosition; t3.offset = new A.Offset(t2, 0); currentButtonPosition = t2 + (renderObjectChild.get$size(0)._dx + t4._dividerWidth); t1.currentButtonPosition = currentButtonPosition; t2 = t1.currentPage; t3.shouldPaint = t2 === t4._text_selection_toolbar0$_page; if (t2 === 0) _this.firstPageWidth.__late_helper$_value = currentButtonPosition + t4._nextButton.get$size(0)._dx; if (t1.currentPage === t4._text_selection_toolbar0$_page) _this.toolbarWidth.__late_helper$_value = t1.currentButtonPosition; }, $signature: 66 }; A._RenderCupertinoTextSelectionToolbarItems_paint_closure.prototype = { call$1(renderObjectChild) { var t1, childOffset, t2, t3, t4, _this = this; type$.RenderBox._as(renderObjectChild); t1 = renderObjectChild.parentData; t1.toString; type$.ToolbarItemsParentData._as(t1); if (t1.shouldPaint) { childOffset = t1.offset.$add(0, _this.offset); t2 = _this.context; t2.paintChild$2(renderObjectChild, childOffset); if (t1.ContainerParentDataMixin_nextSibling != null || renderObjectChild === _this.$this._backButton) { t1 = t2.get$canvas(t2); t2 = new A.Offset(renderObjectChild.get$size(0)._dx, 0).$add(0, childOffset); t3 = new A.Offset(renderObjectChild.get$size(0)._dx, renderObjectChild.get$size(0)._dy).$add(0, childOffset); t4 = $.$get$_renderer().createPaint$0(); t4.set$color(0, _this.$this._dividerColor); t1.drawLine$3(t2, t3, t4); } } }, $signature: 66 }; A._RenderCupertinoTextSelectionToolbarItems_hitTestChild_closure.prototype = { call$2(result, transformed) { return this.child.hitTest$2$position(result, transformed); }, $signature: 77 }; A._RenderCupertinoTextSelectionToolbarItems_redepthChildren_closure.prototype = { call$1(renderObjectChild) { this.$this.redepthChild$1(type$.RenderBox._as(renderObjectChild)); }, $signature: 66 }; A._RenderCupertinoTextSelectionToolbarItems_visitChildrenForSemantics_closure.prototype = { call$1(renderObjectChild) { var t1; type$.RenderBox._as(renderObjectChild); t1 = renderObjectChild.parentData; t1.toString; if (type$.ToolbarItemsParentData._as(t1).shouldPaint) this.visitor.call$1(renderObjectChild); }, $signature: 66 }; A._RenderCupertinoTextSelectionToolbarItems_debugDescribeChildren_closure.prototype = { call$1(renderObjectChild) { var t1, t2; type$.RenderBox._as(renderObjectChild); t1 = this.$this; if (renderObjectChild === t1._backButton) this.value.push(A.DiagnosticableTreeNode$("back button", null, renderObjectChild)); else { t2 = this.value; if (renderObjectChild === t1._nextButton) t2.push(A.DiagnosticableTreeNode$("next button", null, renderObjectChild)); else t2.push(A.DiagnosticableTreeNode$("menu item", null, renderObjectChild)); } }, $signature: 66 }; A._CupertinoTextSelectionToolbarItemsSlot.prototype = { _enumToString$0() { return "_CupertinoTextSelectionToolbarItemsSlot." + this._core$_name; } }; A._NullElement0.prototype = {}; A._NullWidget.prototype = { createElement$0(_) { return A.throwExpression(A.UnimplementedError$(null)); } }; A.__CupertinoTextSelectionToolbarContentState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.__RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ToolbarItemsParentData; child != null;) { child.attach$1(owner); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } }, detach$0(_) { var child, t1, t2; this.super$RenderObject$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ToolbarItemsParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A.__RenderCupertinoTextSelectionToolbarItems_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.CupertinoTextSelectionToolbarButton.prototype = { createState$0() { return new A._CupertinoTextSelectionToolbarButtonState(B._StateLifecycle_0); } }; A._CupertinoTextSelectionToolbarButtonState.prototype = { _onTapDown$1(details) { this.setState$1(new A._CupertinoTextSelectionToolbarButtonState__onTapDown_closure(this)); }, _onTapUp$1(details) { var t1; this.setState$1(new A._CupertinoTextSelectionToolbarButtonState__onTapUp_closure(this)); t1 = this._widget.onPressed; if (t1 != null) t1.call$0(); }, _onTapCancel$0() { this.setState$1(new A._CupertinoTextSelectionToolbarButtonState__onTapCancel_closure(this)); }, build$1(context) { var _this = this, _null = null, $content = _this._getContentWidget$1(context), t1 = _this.isPressed ? B.CupertinoDynamicColor_Cd2.resolveFrom$1(context) : B.Color_0, t2 = _this._widget.onPressed, child = A.CupertinoButton$(B.Alignment_0_0, _null, $content, t1, B.Color_0, 44, t2, B.EdgeInsets_16_18_16_18, 1); if (t2 != null) return A.GestureDetector$(_null, child, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_onTapCancel(), _this.get$_onTapDown(), _this.get$_onTapUp(), _null, _null, _null, false, B.Offset_O5r); else return child; }, _getContentWidget$1(context) { var textWidget, _null = null, t1 = this._widget, t2 = t1.child; if (t2 != null) return t2; t2 = t1.text; if (t2 == null) { t1 = t1.buttonItem; t1.toString; t1 = A.CupertinoTextSelectionToolbarButton_getButtonLabel(context, t1); } else t1 = t2; textWidget = A.Text$(t1, _null, _null, B.TextOverflow_2, _null, _null, B.TextStyle_mTi.copyWith$1$color(this._widget.onPressed != null ? B.CupertinoDynamicColor_aTW.resolveFrom$1(context) : B.CupertinoDynamicColor_YIZ), _null, _null, _null); t1 = this._widget.buttonItem; if (t1 == null) return textWidget; switch (t1.type.index) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 9: return textWidget; case 8: t1 = B.CupertinoDynamicColor_aTW.resolveFrom$1(context); t2 = $.$get$_renderer().createPaint$0(); t2.set$strokeCap(B.StrokeCap_1); t2.set$strokeJoin(B.StrokeJoin_1); t2.set$strokeWidth(1); t2.set$style(0, B.PaintingStyle_1); return new A.SizedBox(13, 13, A.CustomPaint$(_null, _null, _null, new A._LiveTextIconPainter(t1, t2, _null), B.Size_0_0), _null); } } }; A._CupertinoTextSelectionToolbarButtonState__onTapDown_closure.prototype = { call$0() { return this.$this.isPressed = true; }, $signature: 0 }; A._CupertinoTextSelectionToolbarButtonState__onTapUp_closure.prototype = { call$0() { return this.$this.isPressed = false; }, $signature: 0 }; A._CupertinoTextSelectionToolbarButtonState__onTapCancel_closure.prototype = { call$0() { return this.$this.isPressed = false; }, $signature: 0 }; A._LiveTextIconPainter.prototype = { paint$2(canvas, size) { var t2, t3, path, rotationMatrix, i, t1 = this._text_selection_toolbar_button$_painter; t1.set$color(0, this.color); canvas.save$0(0); t2 = size._dx; t3 = size._dy; canvas.translate$2(0, t2 / 2, t3 / 2); t2 = -t2 / 2; t3 = -t3 / 2; path = $.$get$_renderer().createPath$0(); path.moveTo$2(0, t2, t3 + 3.5); path.lineTo$2(0, t2, t3 + 1); path.arcToPoint$2$radius(new A.Offset(t2 + 1, t3), B.Radius_1_1); path.lineTo$2(0, t2 + 3.5, t3); t2 = new Float64Array(16); rotationMatrix = new A.Matrix40(t2); rotationMatrix.setIdentity$0(); rotationMatrix.rotateZ$1(1.5707963267948966); for (i = 0; i < 4; ++i) { canvas.drawPath$2(path, t1); canvas.transform$1(0, t2); } canvas.drawLine$3(B.Offset_m3_m3, B.Offset_3_m3, t1); canvas.drawLine$3(B.Offset_m3_0, B.Offset_3_0, t1); canvas.drawLine$3(B.Offset_m3_3, B.Offset_1_3, t1); canvas.restore$0(0); }, shouldRepaint$1(oldDelegate) { return !oldDelegate.color.$eq(0, this.color); } }; A.CupertinoTextThemeData.prototype = { get$textStyle() { var t1 = this._textStyle, t2 = this._text_theme$_defaults.labelColor; t1 = B.CupertinoDynamicColor_qQo.$eq(0, t2) ? B.TextStyle_6FR : B.TextStyle_6FR.copyWith$1$color(t2); return t1; }, resolveFrom$1(context) { var _this = this, t1 = _this._text_theme$_defaults, resolvedLabelColor = t1.labelColor, resolvedLabelColor0 = resolvedLabelColor instanceof A.CupertinoDynamicColor ? resolvedLabelColor.resolveFrom$1(context) : resolvedLabelColor, resolvedInactiveGray = t1.inactiveGrayColor; if (resolvedInactiveGray instanceof A.CupertinoDynamicColor) resolvedInactiveGray = resolvedInactiveGray.resolveFrom$1(context); t1 = resolvedLabelColor0.$eq(0, resolvedLabelColor) && resolvedInactiveGray.$eq(0, B.CupertinoDynamicColor_YIZ) ? t1 : new A._TextThemeDefaultsBuilder(resolvedLabelColor0, resolvedInactiveGray); return new A.CupertinoTextThemeData(t1, A.CupertinoDynamicColor_maybeResolve(_this._text_theme$_primaryColor, context), A._resolveTextStyle(_this._textStyle, context), A._resolveTextStyle(_this._actionTextStyle, context), A._resolveTextStyle(_this._tabLabelTextStyle, context), A._resolveTextStyle(_this._navTitleTextStyle, context), A._resolveTextStyle(_this._navLargeTitleTextStyle, context), A._resolveTextStyle(_this._navActionTextStyle, context), A._resolveTextStyle(_this._pickerTextStyle, context), A._resolveTextStyle(_this._dateTimePickerTextStyle, context)); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.CupertinoTextThemeData) if (other._text_theme$_defaults.$eq(0, _this._text_theme$_defaults)) if (J.$eq$(other._text_theme$_primaryColor, _this._text_theme$_primaryColor)) t1 = true; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.Object_hash(_this._text_theme$_defaults, _this._text_theme$_primaryColor, _this._textStyle, _this._actionTextStyle, _this._tabLabelTextStyle, _this._navTitleTextStyle, _this._navLargeTitleTextStyle, _this._navActionTextStyle, _this._pickerTextStyle, _this._dateTimePickerTextStyle, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._TextThemeDefaultsBuilder.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A._TextThemeDefaultsBuilder && other.labelColor.$eq(0, _this.labelColor) && other.inactiveGrayColor.$eq(0, _this.inactiveGrayColor); }, get$hashCode(_) { return A.Object_hash(this.labelColor, this.inactiveGrayColor, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._CupertinoTextThemeData_Object_Diagnosticable.prototype = {}; A.CupertinoTheme.prototype = { build$1(context) { var _null = null; return new A._InheritedCupertinoTheme(this, A.IconTheme$(this.child, A.CupertinoIconThemeData$(_null, this.data.get$primaryColor(), _null, _null, _null, _null, _null, _null, _null), _null), _null); } }; A._InheritedCupertinoTheme.prototype = { updateShouldNotify$1(old) { return !this.theme.data.$eq(0, old.theme.data); } }; A.CupertinoThemeData.prototype = { get$primaryColor() { var t1 = this.primaryColor; return t1 == null ? this._defaults.primaryColor : t1; }, get$primaryContrastingColor() { var t1 = this.primaryContrastingColor; return t1 == null ? this._defaults.primaryContrastingColor : t1; }, get$textTheme() { var _null = null, t1 = this.textTheme; if (t1 == null) { t1 = this._defaults.textThemeDefaults; t1 = new A._DefaultCupertinoTextThemeData(t1.labelColor, t1.inactiveGray, B._TextThemeDefaultsBuilder_1yH, this.get$primaryColor(), _null, _null, _null, _null, _null, _null, _null, _null); } return t1; }, get$barBackgroundColor() { var t1 = this.barBackgroundColor; return t1 == null ? this._defaults.barBackgroundColor : t1; }, get$scaffoldBackgroundColor() { var t1 = this.scaffoldBackgroundColor; return t1 == null ? this._defaults.scaffoldBackgroundColor : t1; }, get$applyThemeToAll() { var t1 = this.applyThemeToAll; return t1 == null ? false : t1; }, resolveFrom$1(context) { var t6, _this = this, t1 = new A.CupertinoThemeData_resolveFrom_convertColor(context), t2 = _this.get$brightness(), t3 = t1.call$1(_this.primaryColor), t4 = t1.call$1(_this.primaryContrastingColor), t5 = _this.textTheme; t5 = t5 == null ? null : t5.resolveFrom$1(context); t6 = t1.call$1(_this.barBackgroundColor); t1 = t1.call$1(_this.scaffoldBackgroundColor); _this.get$applyThemeToAll(); return A.CupertinoThemeData$_rawWithDefaults(t2, t3, t4, t5, t6, t1, false, _this._defaults.resolveFrom$2(context, _this.textTheme == null)); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.CupertinoThemeData) if (other.get$brightness() == _this.get$brightness()) if (other.get$primaryColor().$eq(0, _this.get$primaryColor())) if (other.get$primaryContrastingColor().$eq(0, _this.get$primaryContrastingColor())) if (other.get$textTheme().$eq(0, _this.get$textTheme())) if (other.get$barBackgroundColor().$eq(0, _this.get$barBackgroundColor())) if (other.get$scaffoldBackgroundColor().$eq(0, _this.get$scaffoldBackgroundColor())) { other.get$applyThemeToAll(); _this.get$applyThemeToAll(); t1 = true; } else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this, t1 = _this.get$brightness(), t2 = _this.get$primaryColor(), t3 = _this.get$primaryContrastingColor(), t4 = _this.get$textTheme(), t5 = _this.get$barBackgroundColor(), t6 = _this.get$scaffoldBackgroundColor(); _this.get$applyThemeToAll(); return A.Object_hash(t1, t2, t3, t4, t5, t6, false, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A.CupertinoThemeData_resolveFrom_convertColor.prototype = { call$1(color) { return A.CupertinoDynamicColor_maybeResolve(color, this.context); }, $signature: 840 }; A.NoDefaultCupertinoThemeData.prototype = { resolveFrom$1(context) { var _this = this, t1 = new A.NoDefaultCupertinoThemeData_resolveFrom_convertColor(context), t2 = _this.get$brightness(), t3 = t1.call$1(_this.get$primaryColor()), t4 = t1.call$1(_this.get$primaryContrastingColor()), t5 = _this.get$textTheme(); t5 = t5 == null ? null : t5.resolveFrom$1(context); return new A.NoDefaultCupertinoThemeData(t2, t3, t4, t5, t1.call$1(_this.get$barBackgroundColor()), t1.call$1(_this.get$scaffoldBackgroundColor()), _this.get$applyThemeToAll()); }, get$brightness() { return this.brightness; }, get$primaryColor() { return this.primaryColor; }, get$primaryContrastingColor() { return this.primaryContrastingColor; }, get$textTheme() { return this.textTheme; }, get$barBackgroundColor() { return this.barBackgroundColor; }, get$scaffoldBackgroundColor() { return this.scaffoldBackgroundColor; }, get$applyThemeToAll() { return this.applyThemeToAll; } }; A.NoDefaultCupertinoThemeData_resolveFrom_convertColor.prototype = { call$1(color) { return A.CupertinoDynamicColor_maybeResolve(color, this.context); }, $signature: 840 }; A._CupertinoThemeDefaults.prototype = { resolveFrom$2(context, resolveTextTheme) { var t5, t6, _this = this, t1 = new A._CupertinoThemeDefaults_resolveFrom_convertColor(context), t2 = t1.call$1(_this.primaryColor), t3 = t1.call$1(_this.primaryContrastingColor), t4 = t1.call$1(_this.barBackgroundColor); t1 = t1.call$1(_this.scaffoldBackgroundColor); t5 = _this.textThemeDefaults; if (resolveTextTheme) { t6 = t5.labelColor; if (t6 instanceof A.CupertinoDynamicColor) t6 = t6.resolveFrom$1(context); t5 = t5.inactiveGray; t5 = new A._CupertinoTextThemeDefaults(t6, t5 instanceof A.CupertinoDynamicColor ? t5.resolveFrom$1(context) : t5); } return new A._CupertinoThemeDefaults(_this.brightness, t2, t3, t4, t1, false, t5); } }; A._CupertinoThemeDefaults_resolveFrom_convertColor.prototype = { call$1(color) { return color instanceof A.CupertinoDynamicColor ? color.resolveFrom$1(this.context) : color; }, $signature: 365 }; A._CupertinoTextThemeDefaults.prototype = {}; A._DefaultCupertinoTextThemeData.prototype = { get$textStyle() { return A.CupertinoTextThemeData.prototype.get$textStyle.call(this).copyWith$1$color(this.labelColor); } }; A._CupertinoThemeData_NoDefaultCupertinoThemeData_Diagnosticable.prototype = {}; A.ToggleableStateMixin.prototype = { _toggleable0$_handleTapDown$1(details) { if (this.get$onChanged() != null) this.setState$1(new A.ToggleableStateMixin__handleTapDown_closure0(this, details)); }, _toggleable0$_handleTap$1(_) { var t1, _this = this; if (_this.get$onChanged() == null) return; switch (_this.get$value(_this)) { case false: _this.get$onChanged().call$1(true); break; case true: t1 = _this.get$onChanged(); t1.toString; t1.call$1(_this.get$tristate() && null); break; case null: case void 0: _this.get$onChanged().call$1(false); break; } _this._framework$_element.get$renderObject().sendSemanticsEvent$1(B.TapSemanticEvent_tap); }, _toggleable0$_handleTap$0() { return this._toggleable0$_handleTap$1(null); }, _toggleable0$_handleTapEnd$1(_) { if (this.ToggleableStateMixin__downPosition0 != null) this.setState$1(new A.ToggleableStateMixin__handleTapEnd_closure0(this)); }, _toggleable0$_handleTapEnd$0() { return this._toggleable0$_handleTapEnd$1(null); }, _toggleable0$_handleFocusHighlightChanged$1(focused) { if (focused !== this.ToggleableStateMixin__focused0) this.setState$1(new A.ToggleableStateMixin__handleFocusHighlightChanged_closure0(this, focused)); }, buildToggleable$5$autofocus$focusNode$onFocusChange$painter$size(autofocus, focusNode, onFocusChange, painter, size) { var result, t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = _this.get$onChanged(), value = _this.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI0; if (value === $) { result = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_ActivateIntent_OT9, new A.CallbackAction(_this.get$_toggleable0$_handleTap(), new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_Action_Intent), type$.ObserverList_of_void_Function_Action_Intent), type$.CallbackAction_ActivateIntent)], type$.Type, type$.Action_Intent); _this.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI0 !== $ && A.throwUnnamedLateFieldADI(); _this.ToggleableStateMixin___ToggleableStateMixin__actionMap_FI0 = result; value = result; } t2 = _this.get$onChanged(); t3 = _this.get$onChanged() != null ? _this.get$_toggleable0$_handleTapDown() : _null; t4 = _this.get$onChanged() != null ? _this.get$_toggleable0$_handleTap() : _null; t5 = _this.get$onChanged() != null ? _this.get$_toggleable0$_handleTapEnd() : _null; t6 = _this.get$onChanged() != null ? _this.get$_toggleable0$_handleTapEnd() : _null; t7 = _this.get$onChanged(); t8 = A.CustomPaint$(_null, _null, _null, painter, size); return A.FocusableActionDetector$(value, false, A.GestureDetector$(_null, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t7 != null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t8, _null), B.DragStartBehavior_1, t2 == null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4, t6, t3, t5, _null, _null, _null, false, B.Offset_O5r), t1 != null, focusNode, B.C__DeferringMouseCursor, onFocusChange, _this.get$_toggleable0$_handleFocusHighlightChanged(), _null, _null); } }; A.ToggleableStateMixin__handleTapDown_closure0.prototype = { call$0() { this.$this.ToggleableStateMixin__downPosition0 = this.details.localPosition; }, $signature: 0 }; A.ToggleableStateMixin__handleTapEnd_closure0.prototype = { call$0() { this.$this.ToggleableStateMixin__downPosition0 = null; }, $signature: 0 }; A.ToggleableStateMixin__handleFocusHighlightChanged_closure0.prototype = { call$0() { this.$this.ToggleableStateMixin__focused0 = this.focused; }, $signature: 0 }; A.ToggleablePainter.prototype = { set$activeColor(value) { if (J.$eq$(this._toggleable0$_activeColor, value)) return; this._toggleable0$_activeColor = value; this.notifyListeners$0(); }, set$inactiveColor(value) { if (J.$eq$(this._toggleable0$_inactiveColor, value)) return; this._toggleable0$_inactiveColor = value; this.notifyListeners$0(); }, set$focusColor(value) { if (value.$eq(0, this._toggleable0$_focusColor)) return; this._toggleable0$_focusColor = value; this.notifyListeners$0(); }, set$downPosition(value) { if (J.$eq$(value, this._toggleable0$_downPosition)) return; this._toggleable0$_downPosition = value; this.notifyListeners$0(); }, set$isFocused(value) { if (value === this._toggleable0$_isFocused) return; this._toggleable0$_isFocused = value; this.notifyListeners$0(); }, set$isActive(value) { if (value === this._isActive) return; this._isActive = value; this.notifyListeners$0(); }, shouldRepaint$1(oldDelegate) { return true; }, hitTest$1(position) { return null; }, get$semanticsBuilder() { return null; }, shouldRebuildSemantics$1(oldDelegate) { return false; }, toString$0(_) { return "<optimized out>#" + A.shortHash(this); } }; A._testPlatform_closure.prototype = { call$0() { return null; }, $signature: 2164 }; A._browserPlatform_closure.prototype = { call$0() { var t1 = self, navigatorPlatform = t1.window.navigator.platform.toLowerCase(); if (B.JSString_methods.startsWith$1(navigatorPlatform, "mac")) return B.TargetPlatform_4; if (B.JSString_methods.startsWith$1(navigatorPlatform, "win")) return B.TargetPlatform_5; if (B.JSString_methods.contains$1(navigatorPlatform, "iphone") || B.JSString_methods.contains$1(navigatorPlatform, "ipad") || B.JSString_methods.contains$1(navigatorPlatform, "ipod")) return B.TargetPlatform_2; if (B.JSString_methods.contains$1(navigatorPlatform, "android")) return B.TargetPlatform_0; if (t1.window.matchMedia("only screen and (pointer: fine)").matches) return B.TargetPlatform_3; return B.TargetPlatform_0; }, $signature: 2171 }; A._ErrorDiagnostic.prototype = { toString$1$minLevel(_, minLevel) { var t1 = A.DiagnosticsProperty.prototype.get$value.call(this, 0); t1.toString; return J.join$0$ax(t1); }, toString$0(_) { return this.toString$1$minLevel(0, B.DiagnosticLevel_3); }, get$value(_) { var t1 = A.DiagnosticsProperty.prototype.get$value.call(this, 0); t1.toString; return t1; }, valueToString$1$parentConfiguration(parentConfiguration) { var t1 = A.DiagnosticsProperty.prototype.get$value.call(this, 0); t1.toString; return J.join$0$ax(t1); } }; A.ErrorDescription.prototype = {}; A.ErrorSummary.prototype = {}; A.ErrorHint.prototype = {}; A.ErrorSpacer.prototype = {}; A.FlutterErrorDetails.prototype = { exceptionAsString$0() { var message, fullMessage, t1, t2, position, body, splitPoint, longMessage = this.exception; if (type$.AssertionError._is(longMessage)) { message = longMessage.get$message(longMessage); fullMessage = longMessage.toString$0(0); if (typeof message == "string" && message !== fullMessage) { t1 = fullMessage.length; t2 = J.getInterceptor$asx(message); if (t1 > t2.get$length(message)) { position = B.JSString_methods.lastIndexOf$1(fullMessage, message); if (position === t1 - t2.get$length(message) && position > 2 && B.JSString_methods.substring$2(fullMessage, position - 2, position) === ": ") { body = B.JSString_methods.substring$2(fullMessage, 0, position - 2); splitPoint = B.JSString_methods.indexOf$1(body, " Failed assertion:"); if (splitPoint >= 0) body = B.JSString_methods.substring$2(body, 0, splitPoint) + "\n" + B.JSString_methods.substring$1(body, splitPoint + 1); longMessage = t2.trimRight$0(message) + "\n" + body; } else longMessage = null; } else longMessage = null; } else longMessage = null; if (longMessage == null) longMessage = fullMessage; } else if (!(typeof longMessage == "string")) longMessage = type$.Error._is(longMessage) || type$.Exception._is(longMessage) ? J.toString$0$(longMessage) : " " + A.S(longMessage); longMessage = B.JSString_methods.trimRight$0(longMessage); return longMessage.length === 0 ? " <no message available>" : longMessage; }, _exceptionToDiagnosticable$0() { var t1, exception = this.exception; if (exception instanceof A.FlutterError) return exception; if (type$.AssertionError._is(exception) && exception.get$message(exception) instanceof A.FlutterError) { t1 = J.get$message$x(exception); t1.toString; return type$.FlutterError._as(t1); } return null; }, get$summary() { var t1, summary; if (this._exceptionToDiagnosticable$0() != null) { t1 = A._setArrayType([], type$.JSArray_DiagnosticsNode); this.debugFillProperties$1(new A.DiagnosticPropertiesBuilder(t1, B.DiagnosticsTreeStyle_1)); t1 = B.JSArray_methods.cast$1$0(t1, type$.nullable_DiagnosticsNode); summary = t1.firstWhere$2$orElse(t1, new A.FlutterErrorDetails_summary_closure(), new A.FlutterErrorDetails_summary_closure0()); } else summary = null; return summary == null ? A.ErrorSummary$(new A.FlutterErrorDetails_summary_formatException(this).call$0()) : summary; }, debugFillProperties$1(properties) { var t1, verb, diagnosticable, errorName, t2, t3, prefix, message, stackFrames, _this = this; _this.super$Diagnosticable$debugFillProperties(properties); t1 = _this.context; verb = A.ErrorDescription$("thrown" + A.S(t1 != null ? A.ErrorDescription$(" " + t1.toString$0(0)) : "")); diagnosticable = _this._exceptionToDiagnosticable$0(); t1 = _this.exception; if (typeof t1 == "number") A.ErrorDescription$("The number " + A.S(t1) + " was " + verb.toString$0(0) + "."); else { if (type$.AssertionError._is(t1)) errorName = A.ErrorDescription$("assertion"); else if (typeof t1 == "string") errorName = A.ErrorDescription$("message"); else { t2 = type$.Error._is(t1) || type$.Exception._is(t1); t3 = J.getInterceptor$(t1); errorName = t2 ? A.ErrorDescription$(t3.get$runtimeType(t1).toString$0(0)) : A.ErrorDescription$(t3.get$runtimeType(t1).toString$0(0) + " object"); } A.ErrorDescription$("The following " + errorName.toString$0(0) + " was " + verb.toString$0(0) + ":"); if (diagnosticable != null) B.JSArray_methods.forEach$1(diagnosticable.diagnostics, properties.get$add(properties)); else { prefix = J.get$runtimeType$(t1).toString$0(0) + ": "; message = _this.exceptionAsString$0(); A.ErrorSummary$(B.JSString_methods.startsWith$1(message, prefix) ? B.JSString_methods.substring$1(message, prefix.length) : message); } } t2 = _this.stack; if (t2 != null) { if (type$.AssertionError._is(t1) && diagnosticable == null) { t1 = A.StackFrame_fromStackString(A.FlutterError__defaultStackTraceDemangler(t2).toString$0(0)); t3 = A._arrayInstanceType(t1)._eval$1("SkipWhileIterable<1>"); stackFrames = A.List_List$of(new A.SkipWhileIterable(t1, new A.FlutterErrorDetails_debugFillProperties_closure(), t3), true, t3._eval$1("Iterable.E")); if (stackFrames.length >= 2 && stackFrames[0].$package === "flutter" && stackFrames[1].$package === "flutter") { A.ErrorSpacer$(); A.ErrorHint$("Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.\nIn either case, please report this assertion by filing a bug on GitHub:\n https://github.com/flutter/flutter/issues/new?template=2_bug.yml"); } } A.ErrorSpacer$(); A.DiagnosticsStackTrace$("When the exception was thrown, this was the stack", t2, _this.stackFilter); } t1 = _this.informationCollector; if (t1 != null) { A.ErrorSpacer$(); J.forEach$1$ax(t1.call$0(), properties.get$add(properties)); } }, toStringShort$0() { return "Exception caught by " + this.library; }, toString$0(_) { A._FlutterErrorDetailsNode$(null, B.DiagnosticsTreeStyle_5, this); return ""; } }; A.FlutterErrorDetails_summary_formatException.prototype = { call$0() { return J.trimLeft$0$s(this.$this.exceptionAsString$0().split("\n")[0]); }, $signature: 103 }; A.FlutterErrorDetails_summary_closure.prototype = { call$1(node) { return node.get$level(node) === B.DiagnosticLevel_6; }, $signature: 2228 }; A.FlutterErrorDetails_summary_closure0.prototype = { call$0() { return null; }, $signature: 4 }; A.FlutterErrorDetails_debugFillProperties_closure.prototype = { call$1(frame) { return frame.packageScheme === "dart"; }, $signature: 2230 }; A.FlutterError.prototype = { get$message(_) { return this.toString$0(0); }, toStringShort$0() { return "FlutterError"; }, toString$0(_) { var t1 = this.diagnostics; return new A.MappedListIterable(t1, new A.FlutterError_toString_closure(new A.TextTreeRenderer(4000000000, 65, B.DiagnosticLevel_2, -1)), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, "\n"); }, $isAssertionError: 1, $isDiagnosticableTree: 1 }; A.FlutterError_FlutterError_closure.prototype = { call$1(line) { return A.ErrorDescription$(line); }, $signature: 2260 }; A.FlutterError_defaultStackFilter_closure.prototype = { call$1(value) { return value + 1; }, $signature: 131 }; A.FlutterError_defaultStackFilter_closure0.prototype = { call$1(value) { return value + 1; }, $signature: 131 }; A.FlutterError_toString_closure.prototype = { call$1(node) { return B.JSString_methods.trimRight$0(this.renderer._debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(node, null, "", null)); }, $signature: 2265 }; A.debugPrintStack_closure.prototype = { call$1(line) { return B.JSString_methods.contains$1(line, "StackTrace.current") || B.JSString_methods.contains$1(line, "dart-sdk/lib/_internal") || B.JSString_methods.contains$1(line, "dart:sdk_internal"); }, $signature: 12 }; A.DiagnosticsStackTrace.prototype = { get$allowTruncate() { return false; } }; A._FlutterErrorDetailsNode.prototype = { get$builder() { A.DiagnosticableNode.prototype.get$builder.call(this); return null; } }; A._FlutterError_Error_DiagnosticableTreeMixin.prototype = {}; A._FlutterErrorDetails_Object_Diagnosticable.prototype = {}; A.BindingBase.prototype = { BindingBase$0() { var t1, t2, t3, t4, t5, t6, t7, _this = this, _null = null; A.FlutterTimeline_startSync("Framework initialization", _null); _this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding$initInstances(); $.WidgetsBinding__instance = _this; t1 = type$.Element_2; t2 = A.HashSet_HashSet(t1); t3 = A._setArrayType([], type$.JSArray_Element); t4 = type$.KeyEventResult_Function_KeyEvent; t5 = type$.int; t6 = type$.HashedObserverList_of_KeyEventResult_Function_KeyEvent; t6 = new A._HighlightModeManager(new A.HashedObserverList(A.LinkedHashMap_LinkedHashMap(_null, _null, t4, t5), t6), new A.HashedObserverList(A.LinkedHashMap_LinkedHashMap(_null, _null, t4, t5), t6), new A.HashedObserverList(A.LinkedHashMap_LinkedHashMap(_null, _null, type$.void_Function_FocusHighlightMode, t5), type$.HashedObserverList_of_void_Function_FocusHighlightMode)); t4 = A.FocusScopeNode$(true, "Root Focus Scope", false); t7 = new A.FocusManager(t6, t4, A.LinkedHashSet_LinkedHashSet$_empty(type$.FocusNode), A._setArrayType([], type$.JSArray__Autofocus), $.$get$ChangeNotifier__emptyListeners()); t4._manager = t7; t4 = $.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyEventManager_F; t4 === $ && A.throwUnnamedLateFieldNI(); t4.keyMessageHandler = t6.get$handleKeyMessage(); $.GestureBinding__instance.GestureBinding_pointerRouter._globalRoutes.$indexSet(0, t6.get$handlePointerEvent(), _null); t1 = new A.BuildOwner(new A._InactiveElements(t2), t3, t7, A.LinkedHashMap_LinkedHashMap$_empty(type$.GlobalKey_State_StatefulWidget, t1)); _this.WidgetsBinding__buildOwner = t1; t1.onBuildScheduled = _this.get$_handleBuildScheduled(); t1 = $.$get$EnginePlatformDispatcher__instance(); t1._onLocaleChanged = _this.get$handleLocaleChanged(); t1._onLocaleChangedZone = $.Zone__current; B.OptionalMethodChannel_qNA.setMethodCallHandler$1(_this.get$_handleNavigationInvocation()); t1 = new A.DefaultPlatformMenuDelegate(A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.PlatformMenuItem), B.OptionalMethodChannel_AWk); B.OptionalMethodChannel_AWk.setMethodCallHandler$1(t1.get$_methodCallHandler()); _this.WidgetsBinding___WidgetsBinding_platformMenuDelegate_A = t1; _this.initServiceExtensions$0(); t1 = type$.String; A.postEvent("Flutter.FrameworkInitialization", A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), "Extension"); A.Timeline_finishSync(); }, initInstances$0() { }, initServiceExtensions$0() { this.registerStringServiceExtension$3$getter$name$setter(new A.BindingBase_initServiceExtensions_closure(), "connectedVmServiceUri", new A.BindingBase_initServiceExtensions_closure0()); this.registerStringServiceExtension$3$getter$name$setter(new A.BindingBase_initServiceExtensions_closure1(), "activeDevToolsServerAddress", new A.BindingBase_initServiceExtensions_closure2()); }, lockEvents$1(callback) { var debugTimelineTask, future, t1 = {}; t1.debugTimelineTask = null; debugTimelineTask = A.TimelineTask$(); debugTimelineTask.start$1(0, "Lock events"); t1.debugTimelineTask = debugTimelineTask; ++this._lockCount; future = callback.call$0(); future.whenComplete$1(new A.BindingBase_lockEvents_closure(t1, this)); return future; }, unlocked$0() { }, registerBoolServiceExtension$3$getter$name$setter(getter, $name, setter) { this.registerServiceExtension$2$callback$name(new A.BindingBase_registerBoolServiceExtension_closure(this, setter, $name, getter), $name); }, registerNumericServiceExtension$3$getter$name$setter(getter, $name, setter) { this.registerServiceExtension$2$callback$name(new A.BindingBase_registerNumericServiceExtension_closure(this, $name, setter, getter), $name); }, _postExtensionStateChangedEvent$2($name, value) { A.postEvent("Flutter.ServiceExtensionStateChanged", A.LinkedHashMap_LinkedHashMap$_literal(["extension", "ext.flutter." + $name, "value", value], type$.String, type$.dynamic), "Extension"); }, registerStringServiceExtension$3$getter$name$setter(getter, $name, setter) { this.registerServiceExtension$2$callback$name(new A.BindingBase_registerStringServiceExtension_closure(this, setter, $name, getter), $name); }, registerServiceExtension$2$callback$name(callback, $name) { var methodName = "ext.flutter." + $name; A.registerExtension(methodName, new A.BindingBase_registerServiceExtension_closure(methodName, callback)); }, toString$0(_) { return "<BindingBase>"; } }; A.BindingBase_initServiceExtensions_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, t1; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.connectedVmServiceUri; $async$returnValue = t1 == null ? "" : t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 469 }; A.BindingBase_initServiceExtensions_closure0.prototype = { call$1(uri) { return this.$call$body$BindingBase_initServiceExtensions_closure0(uri); }, $call$body$BindingBase_initServiceExtensions_closure0(uri) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $.connectedVmServiceUri = uri; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 371 }; A.BindingBase_initServiceExtensions_closure1.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, t1; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.activeDevToolsServerAddress; $async$returnValue = t1 == null ? "" : t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 469 }; A.BindingBase_initServiceExtensions_closure2.prototype = { call$1(serverAddress) { return this.$call$body$BindingBase_initServiceExtensions_closure(serverAddress); }, $call$body$BindingBase_initServiceExtensions_closure(serverAddress) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start $.activeDevToolsServerAddress = serverAddress; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 371 }; A.BindingBase_lockEvents_closure.prototype = { call$0() { var error, stack, exception, t1 = this.$this; if (--t1._lockCount <= 0) { this._box_0.debugTimelineTask.finish$0(0); try { t1.super$_WidgetsFlutterBinding_BindingBase_GestureBinding$unlocked(); if (t1.SchedulerBinding__taskQueue._priority_queue$_length !== 0) t1._ensureEventLoopCallback$0(); } catch (exception) { error = A.unwrapException(exception); stack = A.getTraceFromException(exception); t1 = A.ErrorDescription$("while handling pending events"); A.FlutterError_reportError(new A.FlutterErrorDetails(error, stack, "foundation", t1, null, null, false)); } } }, $signature: 4 }; A.BindingBase_registerBoolServiceExtension_closure.prototype = { call$1(parameters) { return this.$call$body$BindingBase_registerBoolServiceExtension_closure(parameters); }, $call$body$BindingBase_registerBoolServiceExtension_closure(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_dynamic), $async$returnValue, $async$self = this, t1, $async$temp1; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = J.getInterceptor$x(parameters); $async$goto = t1.containsKey$1(parameters, "enabled") ? 3 : 4; break; case 3: // then $async$goto = 5; return A._asyncAwait($async$self.setter.call$1(J.$eq$(t1.$index(parameters, "enabled"), "true")), $async$call$1); case 5: // returning from await. $async$goto = 6; return A._asyncAwait($async$self.getter.call$0(), $async$call$1); case 6: // returning from await. t1 = $async$result ? "true" : "false"; $async$self.$this._postExtensionStateChangedEvent$2($async$self.name, t1); case 4: // join $async$temp1 = A; $async$goto = 7; return A._asyncAwait($async$self.getter.call$0(), $async$call$1); case 7: // returning from await. $async$returnValue = $async$temp1.LinkedHashMap_LinkedHashMap$_literal(["enabled", $async$result ? "true" : "false"], type$.String, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 285 }; A.BindingBase_registerNumericServiceExtension_closure.prototype = { call$1(parameters) { return this.$call$body$BindingBase_registerNumericServiceExtension_closure(parameters); }, $call$body$BindingBase_registerNumericServiceExtension_closure(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_dynamic), $async$returnValue, $async$self = this, t1, t2, $async$temp1, $async$temp2, $async$temp3; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self.name; t2 = J.getInterceptor$x(parameters); $async$goto = t2.containsKey$1(parameters, t1) ? 3 : 4; break; case 3: // then t2 = t2.$index(parameters, t1); t2.toString; $async$goto = 5; return A._asyncAwait($async$self.setter.call$1(A.double_parse(t2)), $async$call$1); case 5: // returning from await. $async$temp1 = $async$self.$this; $async$temp2 = t1; $async$temp3 = J; $async$goto = 6; return A._asyncAwait($async$self.getter.call$0(), $async$call$1); case 6: // returning from await. $async$temp1._postExtensionStateChangedEvent$2($async$temp2, $async$temp3.toString$0$($async$result)); case 4: // join $async$temp1 = A; $async$temp2 = t1; $async$temp3 = J; $async$goto = 7; return A._asyncAwait($async$self.getter.call$0(), $async$call$1); case 7: // returning from await. $async$returnValue = $async$temp1.LinkedHashMap_LinkedHashMap$_literal([$async$temp2, $async$temp3.toString$0$($async$result)], type$.String, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 285 }; A.BindingBase_registerStringServiceExtension_closure.prototype = { call$1(parameters) { return this.$call$body$BindingBase_registerStringServiceExtension_closure(parameters); }, $call$body$BindingBase_registerStringServiceExtension_closure(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_dynamic), $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2; var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = J.getInterceptor$x(parameters); $async$goto = t1.containsKey$1(parameters, "value") ? 3 : 4; break; case 3: // then t1 = t1.$index(parameters, "value"); t1.toString; $async$goto = 5; return A._asyncAwait($async$self.setter.call$1(t1), $async$call$1); case 5: // returning from await. $async$temp1 = $async$self.$this; $async$temp2 = $async$self.name; $async$goto = 6; return A._asyncAwait($async$self.getter.call$0(), $async$call$1); case 6: // returning from await. $async$temp1._postExtensionStateChangedEvent$2($async$temp2, $async$result); case 4: // join $async$temp1 = A; $async$goto = 7; return A._asyncAwait($async$self.getter.call$0(), $async$call$1); case 7: // returning from await. $async$returnValue = $async$temp1.LinkedHashMap_LinkedHashMap$_literal(["value", $async$result], type$.String, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 285 }; A.BindingBase_registerServiceExtension_closure.prototype = { call$2(method, parameters) { return this.$call$body$BindingBase_registerServiceExtension_closure(method, parameters); }, $call$body$BindingBase_registerServiceExtension_closure(method, parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ServiceExtensionResponse), $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, result, exception, stack, exception0, t1, t2, $async$exception0, $async$temp1; var $async$call$2 = A._wrapJsFunctionForAsync(function($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 $async$goto = 3; return A._asyncAwait(A.debugInstrumentAction("Wait for outer event loop", new A.BindingBase_registerServiceExtension__closure(), type$.void), $async$call$2); case 3: // returning from await. result = A._Cell$named("result"); $async$handler = 5; $async$temp1 = result; $async$goto = 8; return A._asyncAwait($async$self.callback.call$1(parameters), $async$call$2); case 8: // returning from await. $async$temp1.__late_helper$_value = $async$result; $async$handler = 2; // goto after finally $async$goto = 7; break; case 5: // catch $async$handler = 4; $async$exception0 = $async$currentError; exception = A.unwrapException($async$exception0); stack = A.getTraceFromException($async$exception0); t1 = A.ErrorDescription$('during a service extension callback for "' + method + '"'); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "Flutter framework", t1, null, null, false)); t1 = type$.String; t2 = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["exception", J.toString$0$(exception), "stack", J.toString$0$(stack), "method", method], t1, t1)); A.ServiceExtensionResponse__validateErrorCode(-32000); A.checkNotNullable(t2, "errorDetail", t1); $async$returnValue = new A.ServiceExtensionResponse(); // goto return $async$goto = 1; break; // goto after finally $async$goto = 7; break; case 4: // uncaught // goto rethrow $async$goto = 2; break; case 7: // after finally J.$indexSet$ax(result._readLocal$0(), "type", "_extensionType"); J.$indexSet$ax(result._readLocal$0(), "method", method); $async$returnValue = A.ServiceExtensionResponse$result(B.C_JsonCodec.encode$1(result._readLocal$0())); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$call$2, $async$completer); }, $signature: 919 }; A.BindingBase_registerServiceExtension__closure.prototype = { call$0() { return A.Future_Future$delayed(B.Duration_0, null, type$.void); }, $signature: 19 }; A.Listenable.prototype = {}; A.ChangeNotifier.prototype = { addListener$1(_, listener) { var t1, newListeners, i, t2, _this = this; if (_this.get$_count(_this) === _this.get$_change_notifier$_listeners().length) { t1 = type$.nullable_void_Function; if (_this.get$_count(_this) === 0) _this.set$_change_notifier$_listeners(A.List_List$filled(1, null, false, t1)); else { newListeners = A.List_List$filled(_this.get$_change_notifier$_listeners().length * 2, null, false, t1); for (i = 0; i < _this.get$_count(_this); ++i) newListeners[i] = _this.get$_change_notifier$_listeners()[i]; _this.set$_change_notifier$_listeners(newListeners); } } t1 = _this.get$_change_notifier$_listeners(); t2 = _this.get$_count(_this); _this.set$_count(0, t2 + 1); t1[t2] = listener; }, _removeAt$1(index) { var newListeners, i, i0, _this = this; _this.set$_count(0, _this.get$_count(_this) - 1); if (_this.get$_count(_this) * 2 <= _this.get$_change_notifier$_listeners().length) { newListeners = A.List_List$filled(_this.get$_count(_this), null, false, type$.nullable_void_Function); for (i = 0; i < index; ++i) newListeners[i] = _this.get$_change_notifier$_listeners()[i]; for (i = index; i < _this.get$_count(_this); i = i0) { i0 = i + 1; newListeners[i] = _this.get$_change_notifier$_listeners()[i0]; } _this.set$_change_notifier$_listeners(newListeners); } else { for (i = index; i < _this.get$_count(_this); i = i0) { i0 = i + 1; _this.get$_change_notifier$_listeners()[i] = _this.get$_change_notifier$_listeners()[i0]; } _this.get$_change_notifier$_listeners()[_this.get$_count(_this)] = null; } }, removeListener$1(_, listener) { var i, _this = this; for (i = 0; i < _this.get$_count(_this); ++i) if (J.$eq$(_this.get$_change_notifier$_listeners()[i], listener)) { if (_this.get$_notificationCallStackDepth() > 0) { _this.get$_change_notifier$_listeners()[i] = null; _this.set$_reentrantlyRemovedListeners(_this.get$_reentrantlyRemovedListeners() + 1); } else _this._removeAt$1(i); break; } }, dispose$0() { this.set$_change_notifier$_listeners($.$get$ChangeNotifier__emptyListeners()); this.set$_count(0, 0); }, notifyListeners$0() { var i, exception, stack, end, t1, exception0, t2, newLength, newListeners, newIndex, listener, newIndex0, swapIndex, _this = this; if (_this.get$_count(_this) === 0) return; _this.set$_notificationCallStackDepth(_this.get$_notificationCallStackDepth() + 1); end = _this.get$_count(_this); for (i = 0; i < end; ++i) try { t1 = _this.get$_change_notifier$_listeners()[i]; if (t1 != null) t1.call$0(); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("while dispatching notifications for " + A.getRuntimeTypeOfDartObject(_this).toString$0(0)); t2 = $.$get$FlutterError_onError(); if (t2 != null) t2.call$1(new A.FlutterErrorDetails(exception, stack, "foundation library", t1, null, new A.ChangeNotifier_notifyListeners_closure(_this), false)); } _this.set$_notificationCallStackDepth(_this.get$_notificationCallStackDepth() - 1); if (_this.get$_notificationCallStackDepth() === 0 && _this.get$_reentrantlyRemovedListeners() > 0) { newLength = _this.get$_count(_this) - _this.get$_reentrantlyRemovedListeners(); if (newLength * 2 <= _this.get$_change_notifier$_listeners().length) { newListeners = A.List_List$filled(newLength, null, false, type$.nullable_void_Function); for (newIndex = 0, i = 0; i < _this.get$_count(_this); ++i) { listener = _this.get$_change_notifier$_listeners()[i]; if (listener != null) { newIndex0 = newIndex + 1; newListeners[newIndex] = listener; newIndex = newIndex0; } } _this.set$_change_notifier$_listeners(newListeners); } else for (i = 0; i < newLength; ++i) if (_this.get$_change_notifier$_listeners()[i] == null) { swapIndex = i + 1; for (; _this.get$_change_notifier$_listeners()[swapIndex] == null;) ++swapIndex; _this.get$_change_notifier$_listeners()[i] = _this.get$_change_notifier$_listeners()[swapIndex]; _this.get$_change_notifier$_listeners()[swapIndex] = null; } _this.set$_reentrantlyRemovedListeners(0); _this.set$_count(0, newLength); } }, $isListenable: 1, get$_count(receiver) { return this.ChangeNotifier__count; }, get$_change_notifier$_listeners() { return this.ChangeNotifier__listeners; }, get$_notificationCallStackDepth() { return this.ChangeNotifier__notificationCallStackDepth; }, get$_reentrantlyRemovedListeners() { return this.ChangeNotifier__reentrantlyRemovedListeners; }, set$_count(receiver, val) { return this.ChangeNotifier__count = val; }, set$_change_notifier$_listeners(val) { return this.ChangeNotifier__listeners = val; }, set$_notificationCallStackDepth(val) { return this.ChangeNotifier__notificationCallStackDepth = val; }, set$_reentrantlyRemovedListeners(val) { return this.ChangeNotifier__reentrantlyRemovedListeners = val; } }; A.ChangeNotifier_notifyListeners_closure.prototype = { call$0() { var _null = null, t1 = this.$this; return A._setArrayType([A.DiagnosticsProperty$("The " + A.getRuntimeTypeOfDartObject(t1).toString$0(0) + " sending notification was", t1, true, B.C__NoDefaultValue, _null, false, _null, _null, B.DiagnosticLevel_3, _null, false, true, true, B.DiagnosticsTreeStyle_9, _null, type$.ChangeNotifier)], type$.JSArray_DiagnosticsNode); }, $signature: 141 }; A._MergingListenable.prototype = { addListener$1(_, listener) { var t1, t2, _i; for (t1 = this._change_notifier$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].addListener$1(0, listener); }, removeListener$1(_, listener) { var t1, t2, _i; for (t1 = this._change_notifier$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].removeListener$1(0, listener); }, toString$0(_) { return "Listenable.merge([" + B.JSArray_methods.join$1(this._change_notifier$_children, ", ") + "])"; } }; A.ValueNotifier.prototype = { get$value(_) { return this._change_notifier$_value; }, set$value(_, newValue) { if (J.$eq$(this._change_notifier$_value, newValue)) return; this._change_notifier$_value = newValue; this.notifyListeners$0(); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + A.S(this.get$value(this)) + ")"; } }; A.DiagnosticLevel.prototype = { _enumToString$0() { return "DiagnosticLevel." + this._core$_name; } }; A.DiagnosticsTreeStyle.prototype = { _enumToString$0() { return "DiagnosticsTreeStyle." + this._core$_name; } }; A.TextTreeConfiguration.prototype = {}; A._WordWrapParseMode.prototype = { _enumToString$0() { return "_WordWrapParseMode." + this._core$_name; } }; A._PrefixedStringBuilder.prototype = { incrementPrefixOtherLines$2$updateCurrentLine(suffix, updateCurrentLine) { var _this = this, t1 = _this._currentLine._contents.length === 0 || updateCurrentLine, t2 = _this._nextPrefixOtherLines; if (t1) { t1 = t2 == null ? _this._prefixOtherLines : t2; t1.toString; _this._prefixOtherLines = t1 + suffix; _this._nextPrefixOtherLines = null; } else { t1 = t2 == null ? _this._prefixOtherLines : t2; t1.toString; _this._nextPrefixOtherLines = t1 + suffix; } }, get$requiresMultipleLines() { var _this = this, t1 = _this._numLines; if (t1 <= 1) if (!(t1 === 1 && _this._currentLine._contents.length !== 0)) { t1 = _this._currentLine._contents; t1 = t1.length + (_this._diagnostics$_buffer._contents.length === 0 ? _this.prefixLineOne : _this._prefixOtherLines).length > _this.wrapWidth; } else t1 = true; else t1 = true; return t1; }, _finalizeLine$1(addTrailingLineBreak) { var lines, $length, i, _i, line, _this = this, firstLine = _this._diagnostics$_buffer._contents.length === 0, t1 = _this._currentLine, t2 = t1._contents, text = t2.charCodeAt(0) == 0 ? t2 : t2; t1._contents = ""; t1 = _this._wrappableRanges; if (t1.length === 0) { _this._writeLine$3$firstLine$includeLineBreak(text, firstLine, addTrailingLineBreak); return; } t2 = firstLine ? _this.prefixLineOne.length : _this._prefixOtherLines.length; lines = A._PrefixedStringBuilder__wordWrapLine(text, t1, _this.wrapWidth, _this._prefixOtherLines.length, t2); $length = lines.length; for (t2 = !addTrailingLineBreak, i = 0, _i = 0; _i < lines.length; lines.length === $length || (0, A.throwConcurrentModificationError)(lines), ++_i) { line = lines[_i]; ++i; _this._writeLine$3$firstLine$includeLineBreak(line, firstLine, !t2 || i < $length); } B.JSArray_methods.clear$0(t1); }, write$2$allowWrap(_, s, allowWrap) { var lines, t1, t2, i, t3, line, wrapStart, wrapEnd, _this = this; if (s.length === 0) return; lines = s.split("\n"); for (t1 = _this._currentLine, t2 = _this._wrappableRanges, i = 0; i < lines.length; ++i) { if (i > 0) { _this._finalizeLine$1(true); t3 = _this._nextPrefixOtherLines; if (t3 != null) { _this._prefixOtherLines = t3; _this._nextPrefixOtherLines = null; } } line = lines[i]; t3 = line.length; if (t3 !== 0) { if (allowWrap && true) { wrapStart = t1._contents.length; wrapEnd = wrapStart + t3; if (t2.length !== 0 && B.JSArray_methods.get$last(t2) === wrapStart) B.JSArray_methods.set$last(t2, wrapEnd); else { t2.push(wrapStart); t2.push(wrapEnd); } } t1._contents += line; } } }, write$1(_, s) { return this.write$2$allowWrap(0, s, false); }, _updatePrefix$0() { var t1 = this._nextPrefixOtherLines; if (t1 != null) { this._prefixOtherLines = t1; this._nextPrefixOtherLines = null; } }, _writeLine$3$firstLine$includeLineBreak(line, firstLine, includeLineBreak) { var _this = this, t1 = _this._diagnostics$_buffer, t2 = t1._contents += B.JSString_methods.trimRight$0(A.S(t1._contents.length === 0 ? _this.prefixLineOne : _this._prefixOtherLines) + line); if (includeLineBreak) t1._contents = t2 + "\n"; ++_this._numLines; }, writeRawLines$1(lines) { var t1, t2, _this = this; if (lines.length === 0) return; if (_this._currentLine._contents.length !== 0) _this._finalizeLine$1(true); t1 = _this._diagnostics$_buffer; t2 = t1._contents += lines; if (!B.JSString_methods.endsWith$1(lines, "\n")) t1._contents = t2 + "\n"; ++_this._numLines; _this._updatePrefix$0(); }, writeStretched$2(text, targetLineLength) { var t1, t2, targetLength, _this = this; _this.write$1(0, text); t1 = _this._currentLine; t2 = t1._contents; targetLength = targetLineLength - (t2.length + (_this._diagnostics$_buffer._contents.length === 0 ? _this.prefixLineOne : _this._prefixOtherLines).length); if (targetLength > 0) t1._contents += B.JSString_methods.$mul(text[text.length - 1], targetLength); B.JSArray_methods.clear$0(_this._wrappableRanges); } }; A._PrefixedStringBuilder__wordWrapLine_noWrap.prototype = { call$1(index) { var t1, t2, t3; for (t1 = this._box_0, t2 = this.wrapRanges; true;) { t3 = t1.currentChunk; if (t3 >= t2.length) return true; if (index < t2[t3 + 1]) break; t1.currentChunk = t3 + 2; } return index < t2[t1.currentChunk]; }, $signature: 147 }; A._NoDefaultValue.prototype = {}; A.TextTreeRenderer.prototype = { _debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(node, parentConfiguration, prefixLineOne, prefixOtherLines) { var isSingleLine, t1, t2, descendants, t3, t4, t5, builder, children, description, wrapName, wrapDescription, uppercaseTitle, $name, includeName, propertiesIterable, properties, i, t6, property, propertyRender, propertyLines, t7, t8, t9, prefixChildrenRaw, child, childStyle, childPrefixOtherLines, nextChildStyle, _this = this, _s1_ = "\n", _box_0 = {}; _box_0.prefixOtherLines = prefixOtherLines; if (node.get$style(node) === B.DiagnosticsTreeStyle_8) isSingleLine = (parentConfiguration == null ? null : parentConfiguration.lineBreakProperties) !== true; else isSingleLine = false; if (prefixOtherLines == null) { _box_0.prefixOtherLines = prefixLineOne; t1 = prefixLineOne; } else t1 = prefixOtherLines; t2 = node.get$textTreeConfiguration(); t2.toString; if (t1.length === 0) t1 = _box_0.prefixOtherLines = t1 + t2.prefixOtherLinesRootNode; if (node.get$style(node) === B.DiagnosticsTreeStyle_11) { descendants = A._setArrayType([], type$.JSArray_String); _box_0.lines = _box_0.depth = 0; new A.TextTreeRenderer__debugRender_visitor(_box_0, descendants).call$1(node); if (_box_0.lines > 1) t1 = prefixLineOne + ("This " + A.S(node.name) + " had the following descendants (showing up to depth 5):\n"); else { t1 = A.S(node.name); t1 = descendants.length === 1 ? prefixLineOne + ("This " + t1 + " had the following child:\n") : prefixLineOne + ("This " + t1 + " has no descendants.\n"); } t1 = A.StringBuffer__writeAll(t1, descendants, _s1_); return t1.charCodeAt(0) == 0 ? t1 : t1; } t3 = _this._wrapWidthProperties; t4 = Math.max(_this._wrapWidth, t1.length + t3); t5 = new A.StringBuffer(""); builder = new A._PrefixedStringBuilder(prefixLineOne, t1, t4, new A.StringBuffer(""), t5, A._setArrayType([], type$.JSArray_int)); children = node.getChildren$0(); description = node.toDescription$1$parentConfiguration(parentConfiguration); t1 = t2.beforeName; if (t1.length !== 0) builder.write$1(0, t1); t1 = !isSingleLine; wrapName = t1 && node.get$allowNameWrap(); wrapDescription = t1 && node.get$allowWrap(); uppercaseTitle = node.get$style(node) === B.DiagnosticsTreeStyle_5; $name = node.name; if (uppercaseTitle) $name = $name == null ? null : $name.toUpperCase(); if (description.length === 0) { if (node.get$showName() && $name != null) builder.write$2$allowWrap(0, $name, wrapName); } else { if ($name != null && $name.length !== 0 && node.get$showName()) { builder.write$2$allowWrap(0, $name, wrapName); if (node.showSeparator) builder.write$2$allowWrap(0, t2.afterName, wrapName); builder.write$2$allowWrap(0, t2.isNameOnOwnLine || B.JSString_methods.contains$1(description, _s1_) ? _s1_ : " ", wrapName); includeName = true; } else includeName = false; if (t1 && builder.get$requiresMultipleLines() && t5._contents.length !== 0) builder.write$1(0, _s1_); if (includeName) builder.incrementPrefixOtherLines$2$updateCurrentLine(children.length === 0 ? t2.propertyPrefixNoChildren : t2.propertyPrefixIfChildren, true); if (uppercaseTitle) description = description.toUpperCase(); builder.write$2$allowWrap(0, B.JSString_methods.trimRight$0(description), wrapDescription); if (!includeName) builder.incrementPrefixOtherLines$2$updateCurrentLine(children.length === 0 ? t2.propertyPrefixNoChildren : t2.propertyPrefixIfChildren, false); } t1 = t2.suffixLineOne; if (t1.length !== 0) builder.writeStretched$2(t1, t4); t1 = node.getProperties$0(0); t4 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"); propertiesIterable = new A.WhereIterable(t1, new A.TextTreeRenderer__debugRender_closure(_this), t4); t1 = _this._maxDescendentsTruncatableNode; if (t1 >= 0 && node.get$allowTruncate()) { t4 = t4._eval$1("Iterable.E"); if (propertiesIterable.get$length(0) < t1) { t4 = A.TakeIterable_TakeIterable(propertiesIterable, t1, t4); properties = A.List_List$of(t4, true, A._instanceType(t4)._eval$1("Iterable.E")); B.JSArray_methods.add$1(properties, A.DiagnosticsNode_DiagnosticsNode$message("...", true, B.DiagnosticsTreeStyle_8)); } else properties = A.List_List$of(propertiesIterable, true, t4); if (t1 < children.length) { children = A.SubListIterable$(children, 0, A.checkNotNullable(t1, "count", type$.int), A._arrayInstanceType(children)._precomputed1).toList$0(0); B.JSArray_methods.add$1(children, A.DiagnosticsNode_DiagnosticsNode$message("...", true, B.DiagnosticsTreeStyle_8)); } } else properties = A.List_List$of(propertiesIterable, true, t4._eval$1("Iterable.E")); if (properties.length !== 0 || children.length !== 0 || node.get$emptyBodyDescription() != null) t1 = node.showSeparator || description.length !== 0; else t1 = false; if (t1) builder.write$1(0, t2.afterDescriptionIfBody); t1 = t2.lineBreakProperties; if (t1) builder.write$1(0, t2.lineBreak); if (properties.length !== 0) builder.write$1(0, t2.beforeProperties); t4 = t2.bodyIndent; builder.incrementPrefixOtherLines$2$updateCurrentLine(t4, false); if (node.get$emptyBodyDescription() != null && properties.length === 0 && children.length === 0 && prefixLineOne.length !== 0) { t5 = node.get$emptyBodyDescription(); t5.toString; builder.write$1(0, t5); if (t1) builder.write$1(0, t2.lineBreak); } for (t5 = t2.propertySeparator, t1 = !t1, i = 0; t6 = properties.length, i < t6; ++i) { property = properties[i]; if (i > 0) builder.write$1(0, t5); t6 = property.get$textTreeConfiguration(); t6.toString; if (property.get$style(property) === B.DiagnosticsTreeStyle_8) { propertyRender = _this._debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(property, t2, t6.prefixLineOne, t6.childLinkSpace + t6.prefixOtherLines); propertyLines = propertyRender.split(_s1_); if (propertyLines.length === 1 && t1) builder.write$1(0, B.JSArray_methods.get$first(propertyLines)); else { builder.write$1(0, propertyRender); if (!B.JSString_methods.endsWith$1(propertyRender, _s1_)) builder.write$1(0, _s1_); } } else { t7 = builder._nextPrefixOtherLines; t8 = t7 == null; t9 = t8 ? builder._prefixOtherLines : t7; if (t8) t7 = builder._prefixOtherLines; builder.writeRawLines$1(_this._debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(property, t2, A.S(t9) + t6.prefixLineOne, A.S(t7) + t6.childLinkSpace + t6.prefixOtherLines)); } } if (t6 !== 0) builder.write$1(0, t2.afterProperties); builder.write$1(0, ""); if (t1) builder.write$1(0, t2.lineBreak); prefixChildrenRaw = A.S(_box_0.prefixOtherLines) + t4; if (children.length === 0) if (t2.addBlankLineIfNoChildren) if (builder.get$requiresMultipleLines()) { t1 = builder._nextPrefixOtherLines; if (t1 == null) t1 = builder._prefixOtherLines; t1.toString; t1 = B.JSString_methods.trimRight$0(t1).length !== 0; } else t1 = false; else t1 = false; else t1 = false; if (t1) builder.write$1(0, t2.lineBreak); if (children.length !== 0 && t2.showChildren) { if (t2.isBlankLineBetweenPropertiesAndChildren && properties.length !== 0 && B.JSArray_methods.get$first(children).get$textTreeConfiguration().isBlankLineBetweenPropertiesAndChildren) builder.write$1(0, t2.lineBreak); builder._prefixOtherLines = _box_0.prefixOtherLines; builder._nextPrefixOtherLines = null; for (t1 = t2.lineBreak, t4 = builder.wrapWidth, i = 0; i < children.length; ++i) { child = children[i]; childStyle = child.get$style(child); if (childStyle === B.DiagnosticsTreeStyle_8 || childStyle === B.DiagnosticsTreeStyle_9) t5 = t2; else t5 = child.get$textTreeConfiguration(); t5.toString; if (i === children.length - 1) { t6 = t5.childLinkSpace; childPrefixOtherLines = prefixChildrenRaw + t6 + t5.prefixOtherLines; builder.writeRawLines$1(_this._debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(child, t2, prefixChildrenRaw + t5.prefixLastChildLineOne, childPrefixOtherLines)); t7 = t5.footer; if (t7.length !== 0) { builder._prefixOtherLines = prefixChildrenRaw; builder._nextPrefixOtherLines = null; builder.write$1(0, t6 + t7); t5 = t5.mandatoryFooter; if (t5.length !== 0) builder.writeStretched$2(t5, Math.max(t4, t3 + childPrefixOtherLines.length)); builder.write$1(0, t1); } } else { t6 = children[i + 1]; childStyle = t6.get$style(t6); if (childStyle === B.DiagnosticsTreeStyle_8 || childStyle === B.DiagnosticsTreeStyle_9) nextChildStyle = t2; else nextChildStyle = t6.get$textTreeConfiguration(); childPrefixOtherLines = prefixChildrenRaw + nextChildStyle.linkCharacter + t5.prefixOtherLines; builder.writeRawLines$1(_this._debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(child, t2, prefixChildrenRaw + t5.prefixLineOne, childPrefixOtherLines)); t6 = t5.footer; if (t6.length !== 0) { builder._prefixOtherLines = prefixChildrenRaw; builder._nextPrefixOtherLines = null; builder.write$1(0, t5.linkCharacter + t6); t5 = t5.mandatoryFooter; if (t5.length !== 0) builder.writeStretched$2(t5, Math.max(t4, t3 + childPrefixOtherLines.length)); builder.write$1(0, t1); } } } } if (parentConfiguration == null && t2.mandatoryFooter.length !== 0) { builder.writeStretched$2(t2.mandatoryFooter, builder.wrapWidth); builder.write$1(0, t2.lineBreak); } if (builder._currentLine._contents.length !== 0) builder._finalizeLine$1(false); t1 = builder._diagnostics$_buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.TextTreeRenderer__debugRender_visitor.prototype = { call$1(node) { var t1, t2, t3, t4, _i, child, t5; for (t1 = node.getChildren$0(), t2 = t1.length, t3 = this._box_0, t4 = this.descendants, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; t5 = t3.lines; if (t5 < 25) { t5 = ++t3.depth; t4.push(A.S(t3.prefixOtherLines) + B.JSString_methods.$mul(" ", t5) + A.S(child)); if (t3.depth < 5) this.call$1(child); --t3.depth; } else if (t5 === 25) t4.push(A.S(t3.prefixOtherLines) + " ...(descendants list truncated after " + t5 + " lines)"); ++t3.lines; } }, $signature: 838 }; A.TextTreeRenderer__debugRender_closure.prototype = { call$1(n) { var t1 = n.get$level(n); return t1.index >= this.$this._minLevel.index; }, $signature: 2540 }; A.DiagnosticsNode.prototype = { get$level(_) { return B.DiagnosticLevel_3; }, get$emptyBodyDescription() { return null; }, get$allowWrap() { return false; }, get$allowNameWrap() { return false; }, get$allowTruncate() { return false; }, toString$1$minLevel(_, minLevel) { return this.super$Object$toString(0); }, toString$0(_) { return this.toString$1$minLevel(0, B.DiagnosticLevel_3); }, get$textTreeConfiguration() { switch (this.get$style(this).index) { case 0: return null; case 3: return $.$get$denseTextConfiguration(); case 1: return $.$get$sparseTextConfiguration(); case 2: return $.$get$dashedTextConfiguration(); case 6: return $.$get$whitespaceTextConfiguration(); case 4: return $.$get$transitionTextConfiguration(); case 8: return $.$get$singleLineTextConfiguration(); case 9: return $.$get$errorPropertyTextConfiguration(); case 10: return $.$get$shallowTextConfiguration(); case 5: return $.$get$errorTextConfiguration(); case 11: return $.$get$whitespaceTextConfiguration(); case 7: return $.$get$flatTextConfiguration(); } }, get$showName() { return this.showName; }, get$style(receiver) { return this.style; } }; A.DiagnosticsProperty.prototype = { valueToString$1$parentConfiguration(parentConfiguration) { var v = this.get$value(this); return type$.DiagnosticableTree._is(v) ? v.toStringShort$0() : J.toString$0$(v); }, toDescription$1$parentConfiguration(parentConfiguration) { var t2, result, _this = this, t1 = _this._diagnostics$_description; if (t1 != null) { t2 = _this.tooltip; return t2 == null ? t1 : t1 + " (" + t2 + ")"; } _this._maybeCacheValue$0(); if (_this._diagnostics$_exception != null) { _this._maybeCacheValue$0(); return "EXCEPTION (" + J.get$runtimeType$(_this._diagnostics$_exception).toString$0(0) + ")"; } t1 = _this.ifNull; if (t1 != null && _this.get$value(_this) == null) { t1.toString; t2 = _this.tooltip; if (!(t2 == null)) t1 = t1 + " (" + t2 + ")"; return t1; } result = _this.valueToString$1$parentConfiguration(parentConfiguration); if (result.length === 0 && _this.ifEmpty != null) { t1 = _this.ifEmpty; t1.toString; result = t1; } t1 = _this.tooltip; return t1 == null ? result : result + " (" + t1 + ")"; }, get$value(_) { this._maybeCacheValue$0(); return this._diagnostics$_value; }, _maybeCacheValue$0() { var exception, exception0, _this = this; if (_this._valueComputed) return; _this._valueComputed = true; try { _this._diagnostics$_value = _this._computeValue.call$0(); } catch (exception0) { exception = A.unwrapException(exception0); _this._diagnostics$_exception = exception; _this._diagnostics$_value = null; } }, get$isInteresting() { var t1 = this.defaultValue; return J.$eq$(t1, B.C__NoDefaultValue) || !J.$eq$(this.get$value(this), t1); }, get$level(_) { var _this = this, t1 = _this._defaultLevel; if (t1 === B.DiagnosticLevel_0) return t1; _this._maybeCacheValue$0(); if (_this._diagnostics$_exception != null) return B.DiagnosticLevel_7; if (_this.get$value(_this) == null && _this.missingIfNull) return B.DiagnosticLevel_4; if (!_this.get$isInteresting()) return B.DiagnosticLevel_1; return t1; }, getProperties$0(_) { return B.List_empty2; }, getChildren$0() { return B.List_empty2; }, get$allowWrap() { return this.allowWrap; }, get$allowNameWrap() { return true; } }; A.DiagnosticableNode.prototype = { get$builder() { return this._cachedBuilder; }, get$style(_) { var t1 = this.style; return t1 == null ? this.get$builder().defaultDiagnosticsTreeStyle : t1; }, get$emptyBodyDescription() { return ""; }, getProperties$0(_) { return B.List_empty2; }, getChildren$0() { return B.List_empty2; }, toDescription$1$parentConfiguration(parentConfiguration) { return ""; }, get$value(receiver) { return this.value; } }; A.DiagnosticableTreeNode.prototype = { getChildren$0() { return this.value.debugDescribeChildren$0(); } }; A.DiagnosticPropertiesBuilder.prototype = { add$1(_, property) { } }; A.Diagnosticable.prototype = { toStringShort$0() { return "<optimized out>#" + A.shortHash(this); }, toString$1$minLevel(_, minLevel) { var t1 = this.toStringShort$0(); return t1; }, toString$0(_) { return this.toString$1$minLevel(0, B.DiagnosticLevel_3); }, debugFillProperties$1(properties) { } }; A.DiagnosticableTree.prototype = { toStringShort$0() { return "<optimized out>#" + A.shortHash(this); }, debugDescribeChildren$0() { return B.List_empty2; } }; A.DiagnosticableTreeMixin.prototype = { toString$0(_) { return this.toDiagnosticsNode$1$style(B.DiagnosticsTreeStyle_8).super$Object$toString(0); }, toStringDeep$3$minLevel$prefixLineOne$prefixOtherLines(minLevel, prefixLineOne, prefixOtherLines) { this.toDiagnosticsNode$0(); return ""; }, toStringShort$0() { return "<optimized out>#" + A.shortHash(this); }, toDiagnosticsNode$2$name$style($name, style) { return A.DiagnosticableTreeNode$($name, style, this); }, toDiagnosticsNode$1$style(style) { return this.toDiagnosticsNode$2$name$style(null, style); }, toDiagnosticsNode$0() { return this.toDiagnosticsNode$2$name$style(null, null); }, debugDescribeChildren$0() { return B.List_empty2; } }; A.DiagnosticsBlock.prototype = { getChildren$0() { return this._diagnostics$_children; }, getProperties$0(_) { return this._diagnostics$_properties; }, toDescription$1$parentConfiguration(parentConfiguration) { return this._diagnostics$_description; }, get$level() { return B.DiagnosticLevel_3; }, get$value(receiver) { return this.value; }, get$allowTruncate() { return this.allowTruncate; } }; A._DiagnosticableTree_Object_Diagnosticable.prototype = {}; A.Key.prototype = {}; A.LocalKey.prototype = {}; A.UniqueKey.prototype = { toString$0(_) { return "[#" + A.shortHash(this) + "]"; } }; A.ValueKey.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return A._instanceType(this)._eval$1("ValueKey<ValueKey.T>")._is(other) && J.$eq$(other.value, this.value); }, get$hashCode(_) { return A.Object_hash(A.getRuntimeTypeOfDartObject(this), this.value, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t1 = A._instanceType(this), t2 = t1._eval$1("ValueKey.T"), t3 = this.value, valueString = A.createRuntimeType(t2) === B.Type_String_k8F ? "<'" + A.S(t3) + "'>" : "<" + A.S(t3) + ">"; if (A.getRuntimeTypeOfDartObject(this) === A.createRuntimeType(t1._eval$1("ValueKey<ValueKey.T>"))) return "[" + valueString + "]"; return "[" + A.createRuntimeType(t2).toString$0(0) + " " + valueString + "]"; }, get$value(receiver) { return this.value; } }; A._TypeLiteral.prototype = {}; A.LicenseParagraph.prototype = {}; A.LicenseEntry.prototype = {}; A._LicenseEntryWithLineBreaksParserState.prototype = { _enumToString$0() { return "_LicenseEntryWithLineBreaksParserState." + this._core$_name; } }; A.LicenseEntryWithLineBreaks.prototype = { get$paragraphs() { var lines, result, addLine, getParagraph, t1, t2, t3, lastLineIndent, currentLineIndent, state, t4, target, _box_0 = {}; _box_0.currentPosition = _box_0.lineStart = 0; _box_0.currentParagraphIndentation = null; lines = A._setArrayType([], type$.JSArray_String); result = A._setArrayType([], type$.JSArray_LicenseParagraph); addLine = new A.LicenseEntryWithLineBreaks_paragraphs_addLine(_box_0, this, lines); getParagraph = new A.LicenseEntryWithLineBreaks_paragraphs_getParagraph(_box_0, lines); for (t1 = this.text, t2 = t1.length, t3 = t2 - 1, lastLineIndent = 0, currentLineIndent = 0, state = B._LicenseEntryWithLineBreaksParserState_0, t4 = 0; t4 < t2;) { switch (state.index) { case 0: target = 1; break; case 1: target = 2; break; default: target = null; break; } if (target) c$0: for (; true;) switch (target) { case 1: switch (t1[t4]) { case " ": target = 1; break; case "\t": target = 2; break; case "\r": case "\n": case "\f": target = 3; break; case "[": target = 4; break; default: target = 5; break; } c$1: for (; true;) switch (target) { case 1: _box_0.lineStart = t4 + 1; ++currentLineIndent; state = B._LicenseEntryWithLineBreaksParserState_0; break c$1; case 2: _box_0.lineStart = t4 + 1; currentLineIndent += 8; state = B._LicenseEntryWithLineBreaksParserState_0; break c$1; case 3: if (lines.length !== 0) result.push(getParagraph.call$0()); t4 = _box_0.currentPosition; if (t1[t4] === "\r" && t4 < t3 && t1[t4 + 1] === "\n") t4 = _box_0.currentPosition = t4 + 1; _box_0.currentParagraphIndentation = null; _box_0.lineStart = t4 + 1; lastLineIndent = 0; currentLineIndent = 0; state = B._LicenseEntryWithLineBreaksParserState_0; break c$1; case 4: ++currentLineIndent; target = 5; continue c$1; case 5: if (lines.length !== 0 && currentLineIndent > lastLineIndent) { result.push(getParagraph.call$0()); _box_0.currentParagraphIndentation = null; } if (_box_0.currentParagraphIndentation == null) if (currentLineIndent > 10) _box_0.currentParagraphIndentation = -1; else _box_0.currentParagraphIndentation = B.JSInt_methods._tdivFast$1(currentLineIndent, 3); state = B._LicenseEntryWithLineBreaksParserState_1; break c$1; } break c$0; case 2: switch (t1[t4]) { case "\n": addLine.call$0(); _box_0.lineStart = _box_0.currentPosition + 1; lastLineIndent = currentLineIndent; currentLineIndent = 0; state = B._LicenseEntryWithLineBreaksParserState_0; break; case "\f": addLine.call$0(); result.push(getParagraph.call$0()); _box_0.currentParagraphIndentation = null; _box_0.lineStart = _box_0.currentPosition + 1; lastLineIndent = 0; currentLineIndent = 0; state = B._LicenseEntryWithLineBreaksParserState_0; break; default: state = B._LicenseEntryWithLineBreaksParserState_1; } break c$0; } t4 = ++_box_0.currentPosition; } switch (state.index) { case 0: if (lines.length !== 0) result.push(getParagraph.call$0()); break; case 1: addLine.call$0(); result.push(getParagraph.call$0()); break; } return result; } }; A.LicenseEntryWithLineBreaks_paragraphs_addLine.prototype = { call$0() { var t1 = this._box_0; this.lines.push(B.JSString_methods.substring$2(this.$this.text, t1.lineStart, t1.currentPosition)); }, $signature: 0 }; A.LicenseEntryWithLineBreaks_paragraphs_getParagraph.prototype = { call$0() { var t1 = this.lines, t2 = B.JSArray_methods.join$1(t1, " "), t3 = this._box_0.currentParagraphIndentation; t3.toString; B.JSArray_methods.clear$0(t1); return new A.LicenseParagraph(t2, t3); }, $signature: 2552 }; A.LicenseRegistry_licenses_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, t3, t4, _i, collector, t5; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $.LicenseRegistry__collectors, t2 = t1.length, t3 = $async$self.controller, t4 = t3.__late_helper$_name, _i = 0; case 2: // for condition if (!(_i < t1.length)) { // goto after for $async$goto = 4; break; } collector = t1[_i]; t5 = t3.__late_helper$_value; if (t5 === t3) A.throwExpression(A.LateError$localNI(t4)); $async$goto = 5; return A._asyncAwait(J.addStream$1$z(t5, collector.call$0()), $async$call$0); case 5: // returning from await. case 3: // for update t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i; // goto for condition $async$goto = 2; break; case 4: // after for $async$goto = 6; return A._asyncAwait(J.close$0$z(t3._readLocal$0()), $async$call$0); case 6: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 19 }; A.ObserverList.prototype = { get$_observer_list$_set() { var result, _this = this, value = _this.__ObserverList__set_FI; if (value === $) { result = A.HashSet_HashSet(_this.$ti._precomputed1); _this.__ObserverList__set_FI !== $ && A.throwUnnamedLateFieldADI(); _this.__ObserverList__set_FI = result; value = result; } return value; }, remove$1(_, item) { this._isDirty = true; this.get$_observer_list$_set().clear$0(0); return B.JSArray_methods.remove$1(this._observer_list$_list, item); }, clear$0(_) { this._isDirty = false; B.JSArray_methods.clear$0(this._observer_list$_list); this.get$_observer_list$_set().clear$0(0); }, contains$1(_, element) { var _this = this, t1 = _this._observer_list$_list; if (t1.length < 3) return B.JSArray_methods.contains$1(t1, element); if (_this._isDirty) { _this.get$_observer_list$_set().addAll$1(0, t1); _this._isDirty = false; } return _this.get$_observer_list$_set().contains$1(0, element); }, get$iterator(_) { var t1 = this._observer_list$_list; return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, get$isEmpty(_) { return this._observer_list$_list.length === 0; }, get$isNotEmpty(_) { return this._observer_list$_list.length !== 0; }, toList$1$growable(_, growable) { var t1 = this._observer_list$_list, t2 = A._arrayInstanceType(t1); return growable ? A._setArrayType(t1.slice(0), t2) : J.JSArray_JSArray$markFixed(t1.slice(0), t2._precomputed1); }, toList$0(_) { return this.toList$1$growable(0, true); } }; A.HashedObserverList.prototype = { add$1(_, item) { var t1 = this._observer_list$_map, t2 = t1.$index(0, item); t1.$indexSet(0, item, (t2 == null ? 0 : t2) + 1); }, remove$1(_, item) { var t1 = this._observer_list$_map, value = t1.$index(0, item); if (value == null) return false; if (value === 1) t1.remove$1(0, item); else t1.$indexSet(0, item, value - 1); return true; }, contains$1(_, element) { return this._observer_list$_map.containsKey$1(0, element); }, get$iterator(_) { var t1 = this._observer_list$_map; return A.LinkedHashMapKeyIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1); }, get$isEmpty(_) { return this._observer_list$_map.__js_helper$_length === 0; }, get$isNotEmpty(_) { return this._observer_list$_map.__js_helper$_length !== 0; } }; A.PersistentHashMap.prototype = { put$2(_, key, value) { var t1 = this._persistent_hash_map$_root, t2 = t1 == null ? $.$get$_CompressedNode_empty() : t1, newRoot = t2.put$4(0, 0, key, A.Primitives_objectHashCode(key), value); if (newRoot === t1) return this; t1 = this.$ti; return new A.PersistentHashMap(newRoot, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("PersistentHashMap<1,2>")); }, $index(_, key) { var t1 = this._persistent_hash_map$_root; if (t1 == null) return null; return t1.$get$3(0, 0, key, J.get$hashCode$(key)); } }; A._TrieNode.prototype = {}; A._FullNode.prototype = { put$4(_, bitIndex, key, keyHash, value) { var newNode, t2, clone, j, index = B.JSInt_methods._shruOtherPositive$1(keyHash, bitIndex) & 31, t1 = this.descendants, node = t1[index]; if (node == null) node = $.$get$_CompressedNode_empty(); newNode = node.put$4(0, bitIndex + 5, key, keyHash, value); if (newNode === node) t1 = this; else { t2 = t1.length; clone = A.List_List$filled(t2, null, false, type$.nullable_Object); for (j = 0; j < t2; ++j) clone[j] = t1[j]; clone[index] = newNode; t1 = new A._FullNode(clone); } return t1; }, $get$3(_, bitIndex, key, keyHash) { var node = this.descendants[B.JSInt_methods._shruOtherPositive$1(keyHash, bitIndex) & 31]; return node == null ? null : node.$get$3(0, bitIndex + 5, key, keyHash); } }; A._CompressedNode.prototype = { put$4(_, bitIndex, key, keyHash, value) { var index, keyOrNull, t4, valueOrNode, newNode, clone, j, t5, existingKeyHash, list, occupiedCount, prefixLength, totalLength, newKeyValuePairs, srcIndex, dstIndex, _this = this, _null = null, t1 = B.JSInt_methods._shruOtherPositive$1(keyHash, bitIndex) & 31, bit = 1 << t1 >>> 0, t2 = _this.occupiedIndices, t3 = (t2 & bit - 1) >>> 0, n = t3 - (t3 >>> 1 & 1431655765); n = (n & 858993459) + (n >>> 2 & 858993459); n = n + (n >>> 4) & 252645135; n += n >>> 8; index = n + (n >>> 16) & 63; if ((t2 & bit) >>> 0 !== 0) { t1 = _this.keyValuePairs; t3 = 2 * index; keyOrNull = t1[t3]; t4 = t3 + 1; valueOrNode = t1[t4]; if (keyOrNull == null) { newNode = J.put$4$z(valueOrNode, bitIndex + 5, key, keyHash, value); if (newNode === valueOrNode) return _this; t3 = t1.length; clone = A.List_List$filled(t3, _null, false, type$.nullable_Object); for (j = 0; j < t3; ++j) clone[j] = t1[j]; clone[t4] = newNode; return new A._CompressedNode(t2, clone); } if (J.$eq$(key, keyOrNull)) { if (value == null ? valueOrNode == null : value === valueOrNode) t1 = _this; else { t3 = t1.length; clone = A.List_List$filled(t3, _null, false, type$.nullable_Object); for (j = 0; j < t3; ++j) clone[j] = t1[j]; clone[t4] = value; t1 = new A._CompressedNode(t2, clone); } return t1; } t5 = bitIndex + 5; existingKeyHash = J.get$hashCode$(keyOrNull); if (existingKeyHash === keyHash) { list = A.List_List$filled(4, _null, false, type$.nullable_Object); list[0] = keyOrNull; list[1] = valueOrNode; list[2] = key; list[3] = value; newNode = new A._HashCollisionNode(keyHash, list); } else newNode = $.$get$_CompressedNode_empty().put$4(0, t5, keyOrNull, existingKeyHash, valueOrNode).put$4(0, t5, key, keyHash, value); t5 = t1.length; clone = A.List_List$filled(t5, _null, false, type$.nullable_Object); for (j = 0; j < t5; ++j) clone[j] = t1[j]; clone[t3] = null; clone[t4] = newNode; return new A._CompressedNode(t2, clone); } else { n = t2 - (t2 >>> 1 & 1431655765); n = (n & 858993459) + (n >>> 2 & 858993459); n = n + (n >>> 4) & 252645135; n += n >>> 8; occupiedCount = n + (n >>> 16) & 63; if (occupiedCount >= 16) { t2 = _this._inflate$1(bitIndex); t2.descendants[t1] = $.$get$_CompressedNode_empty().put$4(0, bitIndex + 5, key, keyHash, value); return t2; } else { prefixLength = 2 * index; totalLength = 2 * occupiedCount; newKeyValuePairs = A.List_List$filled(totalLength + 2, _null, false, type$.nullable_Object); for (t1 = _this.keyValuePairs, srcIndex = 0; srcIndex < prefixLength; ++srcIndex) newKeyValuePairs[srcIndex] = t1[srcIndex]; newKeyValuePairs[prefixLength] = key; newKeyValuePairs[prefixLength + 1] = value; for (dstIndex = prefixLength + 2, srcIndex = prefixLength; srcIndex < totalLength; ++srcIndex, ++dstIndex) newKeyValuePairs[dstIndex] = t1[srcIndex]; return new A._CompressedNode((t2 | bit) >>> 0, newKeyValuePairs); } } }, $get$3(_, bitIndex, key, keyHash) { var n, t2, keyOrNull, valueOrNode, bit = 1 << (B.JSInt_methods._shruOtherPositive$1(keyHash, bitIndex) & 31) >>> 0, t1 = this.occupiedIndices; if ((t1 & bit) >>> 0 === 0) return null; t1 = (t1 & bit - 1) >>> 0; n = t1 - (t1 >>> 1 & 1431655765); n = (n & 858993459) + (n >>> 2 & 858993459); n = n + (n >>> 4) & 252645135; n += n >>> 8; t1 = this.keyValuePairs; t2 = 2 * (n + (n >>> 16) & 63); keyOrNull = t1[t2]; valueOrNode = t1[t2 + 1]; if (keyOrNull == null) return valueOrNode.$get$3(0, bitIndex + 5, key, keyHash); if (key === keyOrNull) return valueOrNode; return null; }, _inflate$1(bitIndex) { var t1, t2, t3, srcIndex, dstIndex, keyOrNull, t4, nodes = A.List_List$filled(32, null, false, type$.nullable_Object); for (t1 = this.occupiedIndices, t2 = bitIndex + 5, t3 = this.keyValuePairs, srcIndex = 0, dstIndex = 0; dstIndex < 32; ++dstIndex) if ((B.JSInt_methods._shruOtherPositive$1(t1, dstIndex) & 1) !== 0) { keyOrNull = t3[srcIndex]; t4 = srcIndex + 1; if (keyOrNull == null) nodes[dstIndex] = t3[t4]; else nodes[dstIndex] = $.$get$_CompressedNode_empty().put$4(0, t2, keyOrNull, J.get$hashCode$(keyOrNull), t3[t4]); srcIndex += 2; } return new A._FullNode(nodes); } }; A._HashCollisionNode.prototype = { put$4(_, bitIndex, key, keyHash, val) { var index, t2, t3, clone, j, $length, newArray, i, keyValuePairs, _this = this, t1 = _this.hash; if (keyHash === t1) { index = _this._indexOf$1(key); if (index !== -1) { t1 = _this.keyValuePairs; t2 = index + 1; t3 = t1[t2]; if (t3 == null ? val == null : t3 === val) t1 = _this; else { t3 = t1.length; clone = A.List_List$filled(t3, null, false, type$.nullable_Object); for (j = 0; j < t3; ++j) clone[j] = t1[j]; clone[t2] = val; t1 = new A._HashCollisionNode(keyHash, clone); } return t1; } t1 = _this.keyValuePairs; $length = t1.length; newArray = A.List_List$filled($length + 2, null, false, type$.nullable_Object); for (i = 0; i < $length; ++i) newArray[i] = t1[i]; newArray[$length] = key; newArray[$length + 1] = val; return new A._HashCollisionNode(keyHash, newArray); } t1 = B.JSInt_methods._shruOtherPositive$1(t1, bitIndex); keyValuePairs = A.List_List$filled(2, null, false, type$.nullable_Object); keyValuePairs[1] = _this; return new A._CompressedNode(1 << (t1 & 31) >>> 0, keyValuePairs).put$4(0, bitIndex, key, keyHash, val); }, $get$3(_, bitIndex, key, keyHash) { var index = this._indexOf$1(key); return index < 0 ? null : this.keyValuePairs[index + 1]; }, _indexOf$1(key) { var t2, i, t1 = this.keyValuePairs, $length = t1.length; for (t2 = J.getInterceptor$(key), i = 0; i < $length; i += 2) if (t2.$eq(key, t1[i])) return i; return -1; } }; A.TargetPlatform.prototype = { _enumToString$0() { return "TargetPlatform." + this._core$_name; } }; A.WriteBuffer0.prototype = { _serialization$_add$1(_, byte) { var t1, t2, _this = this; if (_this._currentSize === _this._serialization$_buffer.length) _this._resize$0(); t1 = _this._serialization$_buffer; t2 = _this._currentSize; t1[t2] = byte; _this._currentSize = t2 + 1; }, _append$1(other) { var _this = this, t1 = J.getInterceptor$asx(other), newSize = _this._currentSize + t1.get$length(other); if (newSize >= _this._serialization$_buffer.length) _this._resize$1(newSize); B.NativeUint8List_methods.setRange$3(_this._serialization$_buffer, _this._currentSize, newSize, other); _this._currentSize = _this._currentSize + t1.get$length(other); }, _serialization$_addAll$3(data, start, end) { var _this = this, newEnd = end == null ? _this._serialization$_eightBytesAsList.length : end, newSize = _this._currentSize + (newEnd - start); if (newSize >= _this._serialization$_buffer.length) _this._resize$1(newSize); B.NativeUint8List_methods.setRange$3(_this._serialization$_buffer, _this._currentSize, newSize, data); _this._currentSize = newSize; }, _serialization$_addAll$1(data) { return this._serialization$_addAll$3(data, 0, null); }, _resize$1(requiredLength) { var t1 = this._serialization$_buffer, t2 = t1.length, t3 = requiredLength == null ? 0 : requiredLength, newLength = Math.max(t3, t2 * 2), newBuffer = new Uint8Array(newLength); B.NativeUint8List_methods.setRange$3(newBuffer, 0, t2, t1); this._serialization$_buffer = newBuffer; }, _resize$0() { return this._resize$1(null); }, _serialization$_alignTo$1(alignment) { var mod = B.JSInt_methods.$mod(this._currentSize, alignment); if (mod !== 0) this._serialization$_addAll$3($.$get$WriteBuffer__zeroBuffer(), 0, alignment - mod); }, done$0() { var result, _this = this; if (_this._serialization$_isDone) throw A.wrapException(A.StateError$("done() must not be called more than once on the same " + A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ".")); result = A.NativeByteData_NativeByteData$view(_this._serialization$_buffer.buffer, 0, _this._currentSize); _this._serialization$_buffer = new Uint8Array(0); _this._serialization$_isDone = true; return result; } }; A.ReadBuffer0.prototype = { getUint8$0(_) { return J.getUint8$1$x(this.data, this._serialization$_position++); }, getInt64$0(_) { var t1 = this._serialization$_position, t2 = $.$get$Endian_host(), value = J.getInt64$2$x(this.data, t1, t2); this._serialization$_position += 8; return value; }, getUint8List$1($length) { var t1 = this.data, t2 = J.getInterceptor$x(t1), list = J.asUint8List$2$x(t2.get$buffer(t1), t2.get$offsetInBytes(t1) + this._serialization$_position, $length); this._serialization$_position += $length; return list; }, _serialization$_alignTo$1(alignment) { var t1 = this._serialization$_position, mod = B.JSInt_methods.$mod(t1, alignment); if (mod !== 0) this._serialization$_position = t1 + (alignment - mod); } }; A.StackFrame.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.number, _this.$package, _this.line, _this.column, _this.className, _this.method, _this.source, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.StackFrame && other.number === _this.number && other.$package === _this.$package && other.line === _this.line && other.column === _this.column && other.className === _this.className && other.method === _this.method && other.source === _this.source; }, toString$0(_) { var _this = this; return "StackFrame(#" + _this.number + ", " + _this.packageScheme + ":" + _this.$package + "/" + _this.packagePath + ":" + _this.line + ":" + _this.column + ", className: " + _this.className + ", method: " + _this.method + ")"; } }; A.StackFrame_fromStackString_closure.prototype = { call$1(line) { return line.length !== 0; }, $signature: 12 }; A.SynchronousFuture.prototype = { asStream$0() { var controller = A.StreamController_StreamController(null, null, null, false, this.$ti._precomputed1); controller.add$1(0, this._synchronous_future$_value); controller.close$0(0); return new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")); }, catchError$2$test(onError, test) { return new A._Future($.Zone__current, this.$ti._eval$1("_Future<1>")); }, catchError$1(onError) { return this.catchError$2$test(onError, null); }, then$1$2$onError(_, onValue, onError, $R) { var result = onValue.call$1(this._synchronous_future$_value); if ($R._eval$1("Future<0>")._is(result)) return result; return new A.SynchronousFuture(result, $R._eval$1("SynchronousFuture<0>")); }, then$1$1(_, onValue, $R) { return this.then$1$2$onError(0, onValue, null, $R); }, whenComplete$1(action) { var result, e, stack, t1, exception, _this = this; try { result = action.call$0(); if (type$.Future_dynamic._is(result)) { t1 = J.then$1$1$x(result, new A.SynchronousFuture_whenComplete_closure(_this), _this.$ti._precomputed1); return t1; } return _this; } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); t1 = A.Future_Future$error(e, stack, _this.$ti._precomputed1); return t1; } }, $isFuture: 1 }; A.SynchronousFuture_whenComplete_closure.prototype = { call$1(value) { return this.$this._synchronous_future$_value; }, $signature() { return this.$this.$ti._eval$1("1(@)"); } }; A.GestureDisposition.prototype = { _enumToString$0() { return "GestureDisposition." + this._core$_name; } }; A.GestureArenaMember.prototype = {}; A.GestureArenaEntry.prototype = { resolve$1(_, disposition) { this._arena._resolve$3(this._arena$_pointer, this._member, disposition); } }; A._GestureArena.prototype = { toString$0(_) { var _this = this, t1 = _this.members; t1 = t1.length === 0 ? "" + "<empty>" : "" + new A.MappedListIterable(t1, new A._GestureArena_toString_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ", "); if (_this.isOpen) t1 += " [open]"; if (_this.isHeld) t1 += " [held]"; if (_this.hasPendingSweep) t1 += " [hasPendingSweep]"; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A._GestureArena_toString_closure.prototype = { call$1(member) { if (member === this.$this.eagerWinner) return member.toString$0(0) + " (eager winner)"; return member.toString$0(0); }, $signature: 2558 }; A.GestureArenaManager.prototype = { add$2(_, pointer, member) { this._arenas.putIfAbsent$2(0, pointer, new A.GestureArenaManager_add_closure(this, pointer)).members.push(member); return new A.GestureArenaEntry(this, pointer, member); }, close$1(_, pointer) { var state = this._arenas.$index(0, pointer); if (state == null) return; state.isOpen = false; this._tryToResolveArena$2(pointer, state); }, sweep$1(pointer) { var i, t1 = this._arenas, state = t1.$index(0, pointer); if (state == null) return; if (state.isHeld) { state.hasPendingSweep = true; return; } t1.remove$1(0, pointer); t1 = state.members; if (t1.length !== 0) { B.JSArray_methods.get$first(t1).acceptGesture$1(pointer); for (i = 1; i < t1.length; ++i) t1[i].rejectGesture$1(pointer); } }, hold$1(pointer) { var state = this._arenas.$index(0, pointer); if (state == null) return; state.isHeld = true; }, release$1(_, pointer) { var state = this._arenas.$index(0, pointer); if (state == null) return; state.isHeld = false; if (state.hasPendingSweep) this.sweep$1(pointer); }, _resolve$3(pointer, member, disposition) { var state = this._arenas.$index(0, pointer); if (state == null) return; if (disposition === B.GestureDisposition_1) { B.JSArray_methods.remove$1(state.members, member); member.rejectGesture$1(pointer); if (!state.isOpen) this._tryToResolveArena$2(pointer, state); } else if (state.isOpen) { if (state.eagerWinner == null) state.eagerWinner = member; } else this._resolveInFavorOf$3(pointer, state, member); }, _tryToResolveArena$2(pointer, state) { var t1 = state.members.length; if (t1 === 1) A.scheduleMicrotask(new A.GestureArenaManager__tryToResolveArena_closure(this, pointer, state)); else if (t1 === 0) this._arenas.remove$1(0, pointer); else { t1 = state.eagerWinner; if (t1 != null) this._resolveInFavorOf$3(pointer, state, t1); } }, _resolveByDefault$2(pointer, state) { var t1 = this._arenas; if (!t1.containsKey$1(0, pointer)) return; t1.remove$1(0, pointer); B.JSArray_methods.get$first(state.members).acceptGesture$1(pointer); }, _resolveInFavorOf$3(pointer, state, member) { var t1, t2, _i, rejectedMember; this._arenas.remove$1(0, pointer); for (t1 = state.members, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { rejectedMember = t1[_i]; if (rejectedMember !== member) rejectedMember.rejectGesture$1(pointer); } member.acceptGesture$1(pointer); } }; A.GestureArenaManager_add_closure.prototype = { call$0() { return new A._GestureArena(A._setArrayType([], type$.JSArray_GestureArenaMember)); }, $signature: 2562 }; A.GestureArenaManager__tryToResolveArena_closure.prototype = { call$0() { return this.$this._resolveByDefault$2(this.pointer, this.state); }, $signature: 0 }; A._Resampler.prototype = { stop$0(_) { var t1, t2, t3, t4, t5, _this = this; for (t1 = _this._resamplers, t2 = t1.get$values(0), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t4 = _this._handlePointerEvent, t3 = t3._rest[1]; t2.moveNext$0();) { t5 = t2.__internal$_current; (t5 == null ? t3._as(t5) : t5).stop$1(0, t4); } t1.clear$0(0); _this._frameTime = B.Duration_0; t1 = _this._binding$_timer; if (t1 != null) t1.cancel$0(0); } }; A.GestureBinding.prototype = { _handlePointerDataPacket$1(packet) { var error, stack, exception, t1, _this = this; try { _this.GestureBinding__pendingPointerEvents.addAll$1(0, A.PointerEventConverter_expand(packet.data, _this.get$_devicePixelRatioForView())); if (_this._lockCount <= 0) _this._flushPointerEventQueue$0(); } catch (exception) { error = A.unwrapException(exception); stack = A.getTraceFromException(exception); t1 = A.ErrorDescription$("while handling a pointer data packet"); A.FlutterError_reportError(new A.FlutterErrorDetails(error, stack, "gestures library", t1, null, null, false)); } }, _devicePixelRatioForView$1(viewId) { var t1; if ($.$get$EnginePlatformDispatcher__instance().get$viewManager()._viewData.$index(0, viewId) == null) t1 = null; else { t1 = $.$get$EngineFlutterDisplay__instance()._debugDevicePixelRatioOverride; if (t1 == null) { t1 = self.window.devicePixelRatio; if (t1 === 0) t1 = 1; } } return t1; }, cancelPointer$1(pointer) { var t1 = this.GestureBinding__pendingPointerEvents; if (t1._head === t1._tail && this._lockCount <= 0) A.scheduleMicrotask(this.get$_flushPointerEventQueue()); t1.addFirst$1(A.PointerCancelEvent$(0, 0, 0, 0, 0, B.PointerDeviceKind_0, false, 0, pointer, B.Offset_0_0, 1, 1, 0, 0, 0, 0, 0, 0, B.Duration_0, 0)); }, _flushPointerEventQueue$0() { for (var t1 = this.GestureBinding__pendingPointerEvents; !t1.get$isEmpty(0);) this.handlePointerEvent$1(t1.removeFirst$0()); }, handlePointerEvent$1($event) { this.get$_resampler().stop$0(0); this._handlePointerEventImmediately$1($event); }, _handlePointerEventImmediately$1($event) { var hitTestResult, t2, _this = this, t1 = !type$.PointerDownEvent._is($event); if (!t1 || type$.PointerSignalEvent._is($event) || type$.PointerHoverEvent._is($event) || type$.PointerPanZoomStartEvent._is($event)) { hitTestResult = A.HitTestResult$(); _this.hitTestInView$3(hitTestResult, $event.get$position($event), $event.get$viewId()); if (!t1 || type$.PointerPanZoomStartEvent._is($event)) _this.GestureBinding__hitTests.$indexSet(0, $event.get$pointer(), hitTestResult); t1 = hitTestResult; } else if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event) || type$.PointerPanZoomEndEvent._is($event)) { hitTestResult = _this.GestureBinding__hitTests.remove$1(0, $event.get$pointer()); t1 = hitTestResult; } else t1 = $event.get$down() || type$.PointerPanZoomUpdateEvent._is($event) ? _this.GestureBinding__hitTests.$index(0, $event.get$pointer()) : null; if (t1 != null || type$.PointerAddedEvent._is($event) || type$.PointerRemovedEvent._is($event)) { t2 = _this.RendererBinding__mouseTracker; t2.toString; t2.updateWithEvent$2($event, type$.PointerMoveEvent._is($event) ? null : t1); _this.super$GestureBinding$dispatchEvent(0, $event, t1); } }, hitTestInView$3(result, position, viewId) { result.add$1(0, new A.HitTestEntry(this, type$.HitTestEntry_HitTestTarget)); }, dispatchEvent$2(_, $event, hitTestResult) { var exception, stack, entry, exception0, stack0, t1, t2, _i, t3, t4, _s15_ = "gesture library"; if (hitTestResult == null) { try { this.GestureBinding_pointerRouter.route$1($event); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); A.FlutterError_reportError(A.FlutterErrorDetailsForPointerEventDispatcher$(A.ErrorDescription$("while dispatching a non-hit-tested pointer event"), $event, exception, null, new A.GestureBinding_dispatchEvent_closure($event), _s15_, stack)); } return; } for (t1 = hitTestResult._hit_test$_path, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { entry = t1[_i]; try { entry.target.handleEvent$2($event.transformed$1(entry._transform), entry); } catch (exception) { exception0 = A.unwrapException(exception); stack0 = A.getTraceFromException(exception); t3 = A.ErrorDescription$("while dispatching a pointer event"); t4 = $.$get$FlutterError_onError(); if (t4 != null) t4.call$1(new A.FlutterErrorDetailsForPointerEventDispatcher(exception0, stack0, _s15_, t3, null, new A.GestureBinding_dispatchEvent_closure0($event, entry), false)); } } }, handleEvent$2($event, entry) { var _this = this; _this.GestureBinding_pointerRouter.route$1($event); if (type$.PointerDownEvent._is($event) || type$.PointerPanZoomStartEvent._is($event)) _this.GestureBinding_gestureArena.close$1(0, $event.get$pointer()); else if (type$.PointerUpEvent._is($event) || type$.PointerPanZoomEndEvent._is($event)) _this.GestureBinding_gestureArena.sweep$1($event.get$pointer()); else if (type$.PointerSignalEvent._is($event)) _this.GestureBinding_pointerSignalResolver.resolve$1(0, $event); }, _handleSampleTimeChanged$0() { if (this._lockCount <= 0) this.get$_resampler().stop$0(0); }, get$_resampler() { var _this = this, value = _this.GestureBinding___GestureBinding__resampler_FI; if (value === $) { $.$get$Stopwatch__frequency(); value !== $ && A.throwUnnamedLateFieldADI(); value = _this.GestureBinding___GestureBinding__resampler_FI = new A._Resampler(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.PointerEventResampler), B.Duration_0, new A.Stopwatch(), B.Duration_0, B.Duration_0, _this.get$_handlePointerEventImmediately(), _this.get$_handleSampleTimeChanged(), B.Duration_16667); } return value; }, $isHitTestTarget: 1 }; A.GestureBinding_dispatchEvent_closure.prototype = { call$0() { var _null = null; return A._setArrayType([A.DiagnosticsProperty$("Event", this.event, true, B.C__NoDefaultValue, _null, false, _null, _null, B.DiagnosticLevel_3, _null, false, true, true, B.DiagnosticsTreeStyle_9, _null, type$.PointerEvent)], type$.JSArray_DiagnosticsNode); }, $signature: 141 }; A.GestureBinding_dispatchEvent_closure0.prototype = { call$0() { var _null = null; return A._setArrayType([A.DiagnosticsProperty$("Event", this.event, true, B.C__NoDefaultValue, _null, false, _null, _null, B.DiagnosticLevel_3, _null, false, true, true, B.DiagnosticsTreeStyle_9, _null, type$.PointerEvent), A.DiagnosticsProperty$("Target", this.entry.target, true, B.C__NoDefaultValue, _null, false, _null, _null, B.DiagnosticLevel_3, _null, false, true, true, B.DiagnosticsTreeStyle_9, _null, type$.HitTestTarget)], type$.JSArray_DiagnosticsNode); }, $signature: 141 }; A.FlutterErrorDetailsForPointerEventDispatcher.prototype = {}; A.PointerEventConverter_expand_closure.prototype = { call$1(datum) { return datum.signalKind !== B.PointerSignalKind_4; }, $signature: 2602 }; A.PointerEventConverter_expand_closure0.prototype = { call$1(datum) { var position, delta, radiusMinor, radiusMajor, radiusMin, radiusMax, timeStamp, kind, t2, t1 = datum.viewId, devicePixelRatio = this.devicePixelRatioForView.call$1(t1); if (devicePixelRatio == null) return null; position = new A.Offset(datum.physicalX, datum.physicalY).$div(0, devicePixelRatio); delta = new A.Offset(datum.physicalDeltaX, datum.physicalDeltaY).$div(0, devicePixelRatio); radiusMinor = datum.radiusMinor / devicePixelRatio; radiusMajor = datum.radiusMajor / devicePixelRatio; radiusMin = datum.radiusMin / devicePixelRatio; radiusMax = datum.radiusMax / devicePixelRatio; timeStamp = datum.timeStamp; kind = datum.kind; t2 = datum.signalKind; switch ((t2 == null ? B.PointerSignalKind_0 : t2).index) { case 0: switch (datum.change.index) { case 1: return A.PointerAddedEvent$(datum.device, datum.distance, datum.distanceMax, 0, kind, false, datum.orientation, position, datum.pressureMax, datum.pressureMin, radiusMax, radiusMin, datum.tilt, timeStamp, t1); case 3: return A.PointerHoverEvent$(datum.buttons, delta, datum.device, datum.distance, datum.distanceMax, 0, kind, false, datum.orientation, position, datum.pressureMax, datum.pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, datum.size, datum.synthesized, datum.tilt, timeStamp, t1); case 4: return A.PointerDownEvent$(A._synthesiseDownButtons(datum.buttons, kind), datum.device, datum.distanceMax, 0, kind, false, datum.orientation, datum.pointerIdentifier, position, datum.pressure, datum.pressureMax, datum.pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, datum.size, datum.tilt, timeStamp, t1); case 5: return A.PointerMoveEvent$(A._synthesiseDownButtons(datum.buttons, kind), delta, datum.device, datum.distanceMax, 0, kind, false, datum.orientation, datum.platformData, datum.pointerIdentifier, position, datum.pressure, datum.pressureMax, datum.pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, datum.size, datum.synthesized, datum.tilt, timeStamp, t1); case 6: return A.PointerUpEvent$(datum.buttons, datum.device, datum.distance, datum.distanceMax, 0, kind, false, datum.orientation, datum.pointerIdentifier, position, datum.pressure, datum.pressureMax, datum.pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, datum.size, datum.tilt, timeStamp, t1); case 0: return A.PointerCancelEvent$(datum.buttons, datum.device, datum.distance, datum.distanceMax, 0, kind, false, datum.orientation, datum.pointerIdentifier, position, datum.pressureMax, datum.pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, datum.size, datum.tilt, timeStamp, t1); case 2: return A.PointerRemovedEvent$(datum.device, datum.distanceMax, 0, kind, false, position, datum.pressureMax, datum.pressureMin, radiusMax, radiusMin, timeStamp, t1); case 7: return A.PointerPanZoomStartEvent$(datum.device, 0, datum.pointerIdentifier, position, datum.synthesized, timeStamp, t1); case 8: return A.PointerPanZoomUpdateEvent$(datum.device, 0, new A.Offset(0, 0).$div(0, devicePixelRatio), new A.Offset(0, 0).$div(0, devicePixelRatio), datum.pointerIdentifier, position, 0, datum.scale, datum.synthesized, timeStamp, t1); case 9: return A.PointerPanZoomEndEvent$(datum.device, 0, datum.pointerIdentifier, position, datum.synthesized, timeStamp, t1); } break; case 1: t2 = datum.scrollDeltaX; if (!isFinite(t2) || !isFinite(datum.scrollDeltaY) || devicePixelRatio <= 0) return null; return A.PointerScrollEvent$(datum.device, 0, kind, position, new A.Offset(t2, datum.scrollDeltaY).$div(0, devicePixelRatio), timeStamp, t1); case 2: return A.PointerScrollInertiaCancelEvent$(datum.device, 0, kind, position, timeStamp, t1); case 3: return A.PointerScaleEvent$(datum.device, 0, kind, position, datum.scale, timeStamp, t1); case 4: throw A.wrapException(A.StateError$("Unreachable")); } }, $signature: 2605 }; A.Drag.prototype = { update$1(_, details) { }, end$1(_, details) { }, cancel$0(_) { } }; A.DragDownDetails.prototype = { toString$0(_) { return "DragDownDetails(" + this.globalPosition.toString$0(0) + ")"; } }; A.DragStartDetails.prototype = { toString$0(_) { return "DragStartDetails(" + this.globalPosition.toString$0(0) + ")"; } }; A.DragUpdateDetails.prototype = { toString$0(_) { return "DragUpdateDetails(" + this.delta.toString$0(0) + ")"; } }; A.DragEndDetails.prototype = { toString$0(_) { return "DragEndDetails(" + this.velocity.toString$0(0) + ")"; } }; A.PointerEvent.prototype = { get$localPosition() { return this.position; }, get$localDelta() { return this.delta; }, get$viewId() { return this.viewId; }, get$timeStamp(receiver) { return this.timeStamp; }, get$pointer() { return this.pointer; }, get$kind(receiver) { return this.kind; }, get$device(receiver) { return this.device; }, get$position(receiver) { return this.position; }, get$delta() { return this.delta; }, get$buttons(receiver) { return this.buttons; }, get$down() { return this.down; }, get$obscured() { return this.obscured; }, get$pressure(receiver) { return this.pressure; }, get$pressureMin() { return this.pressureMin; }, get$pressureMax() { return this.pressureMax; }, get$distance() { return this.distance; }, get$distanceMax() { return this.distanceMax; }, get$size(receiver) { return this.size; }, get$radiusMajor() { return this.radiusMajor; }, get$radiusMinor() { return this.radiusMinor; }, get$radiusMin() { return this.radiusMin; }, get$radiusMax() { return this.radiusMax; }, get$orientation(receiver) { return this.orientation; }, get$tilt() { return this.tilt; }, get$synthesized() { return this.synthesized; }, get$transform(receiver) { return this.transform; } }; A._PointerEventDescription.prototype = {$isPointerEvent: 1}; A._AbstractPointerEvent.prototype = {$isPointerEvent: 1}; A._TransformedPointerEvent.prototype = { get$timeStamp(_) { return this.get$original().timeStamp; }, get$pointer() { return this.get$original().pointer; }, get$kind(_) { return this.get$original().kind; }, get$device(_) { return this.get$original().device; }, get$position(_) { return this.get$original().position; }, get$delta() { return this.get$original().delta; }, get$buttons(_) { return this.get$original().buttons; }, get$down() { return this.get$original().down; }, get$obscured() { this.get$original(); return false; }, get$pressure(_) { return this.get$original().pressure; }, get$pressureMin() { return this.get$original().pressureMin; }, get$pressureMax() { return this.get$original().pressureMax; }, get$distance() { return this.get$original().distance; }, get$distanceMax() { return this.get$original().distanceMax; }, get$size(_) { return this.get$original().size; }, get$radiusMajor() { return this.get$original().radiusMajor; }, get$radiusMinor() { return this.get$original().radiusMinor; }, get$radiusMin() { return this.get$original().radiusMin; }, get$radiusMax() { return this.get$original().radiusMax; }, get$orientation(_) { return this.get$original().orientation; }, get$tilt() { return this.get$original().tilt; }, get$synthesized() { return this.get$original().synthesized; }, get$localPosition() { var result, _this = this, value = _this.___TransformedPointerEvent_localPosition_FI; if (value === $) { result = A.PointerEvent_transformPosition(_this.get$transform(_this), _this.get$original().position); _this.___TransformedPointerEvent_localPosition_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___TransformedPointerEvent_localPosition_FI = result; value = result; } return value; }, get$localDelta() { var t1, t2, t3, result, _this = this, value = _this.___TransformedPointerEvent_localDelta_FI; if (value === $) { t1 = _this.get$transform(_this); t2 = _this.get$original(); t3 = _this.get$original(); result = A.PointerEvent_transformDeltaViaPositions(t1, _this.get$localPosition(), t2.delta, t3.position); _this.___TransformedPointerEvent_localDelta_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___TransformedPointerEvent_localDelta_FI = result; value = result; } return value; }, get$viewId() { return this.get$original().viewId; } }; A._CopyPointerAddedEvent.prototype = {}; A.PointerAddedEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerAddedEvent(this, transform); } }; A._TransformedPointerAddedEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerAddedEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerRemovedEvent.prototype = {}; A.PointerRemovedEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerRemovedEvent(this, transform); } }; A._TransformedPointerRemovedEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerRemovedEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerHoverEvent.prototype = {}; A.PointerHoverEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerHoverEvent(this, transform); } }; A._TransformedPointerHoverEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerHoverEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerEnterEvent.prototype = {}; A.PointerEnterEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerEnterEvent(this, transform); } }; A._TransformedPointerEnterEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerEnterEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerExitEvent.prototype = {}; A.PointerExitEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerExitEvent(this, transform); } }; A._TransformedPointerExitEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerExitEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerDownEvent.prototype = {}; A.PointerDownEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerDownEvent(this, transform); } }; A._TransformedPointerDownEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerDownEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerMoveEvent.prototype = {}; A.PointerMoveEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerMoveEvent(this, transform); } }; A._TransformedPointerMoveEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerMoveEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerUpEvent.prototype = {}; A.PointerUpEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerUpEvent(this, transform); } }; A._TransformedPointerUpEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerUpEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A.PointerSignalEvent.prototype = {}; A._CopyPointerScrollEvent.prototype = {}; A.PointerScrollEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerScrollEvent(this, transform); }, get$scrollDelta() { return this.scrollDelta; } }; A._TransformedPointerScrollEvent.prototype = { get$scrollDelta() { return this.original.scrollDelta; }, transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerSignalEvent: 1, $isPointerScrollEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerScrollInertiaCancelEvent.prototype = {}; A.PointerScrollInertiaCancelEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerScrollInertiaCancelEvent(this, transform); } }; A._TransformedPointerScrollInertiaCancelEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerSignalEvent: 1, $isPointerScrollInertiaCancelEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerScaleEvent.prototype = {}; A.PointerScaleEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerScaleEvent(this, transform); }, get$scale(receiver) { return this.scale; } }; A._TransformedPointerScaleEvent.prototype = { get$scale(_) { return this.original.scale; }, transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerSignalEvent: 1, $isPointerScaleEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerPanZoomStartEvent.prototype = {}; A.PointerPanZoomStartEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerPanZoomStartEvent(this, transform); } }; A._TransformedPointerPanZoomStartEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerPanZoomStartEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerPanZoomUpdateEvent.prototype = {}; A.PointerPanZoomUpdateEvent.prototype = { get$localPan() { return this.pan; }, get$localPanDelta() { return this.panDelta; }, transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerPanZoomUpdateEvent(this, transform); }, get$pan(receiver) { return this.pan; }, get$panDelta() { return this.panDelta; }, get$scale(receiver) { return this.scale; }, get$rotation() { return this.rotation; } }; A._TransformedPointerPanZoomUpdateEvent.prototype = { get$pan(_) { return this.original.pan; }, get$localPan() { var result, _this = this, value = _this.___TransformedPointerPanZoomUpdateEvent_localPan_FI; if (value === $) { result = A.PointerEvent_transformPosition(_this.transform, _this.original.pan); _this.___TransformedPointerPanZoomUpdateEvent_localPan_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___TransformedPointerPanZoomUpdateEvent_localPan_FI = result; value = result; } return value; }, get$panDelta() { return this.original.panDelta; }, get$localPanDelta() { var t1, result, _this = this, value = _this.___TransformedPointerPanZoomUpdateEvent_localPanDelta_FI; if (value === $) { t1 = _this.original; result = A.PointerEvent_transformDeltaViaPositions(_this.transform, _this.get$localPan(), t1.panDelta, t1.pan); _this.___TransformedPointerPanZoomUpdateEvent_localPanDelta_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___TransformedPointerPanZoomUpdateEvent_localPanDelta_FI = result; value = result; } return value; }, get$scale(_) { return this.original.scale; }, get$rotation() { return this.original.rotation; }, transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerPanZoomUpdateEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerPanZoomEndEvent.prototype = {}; A.PointerPanZoomEndEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerPanZoomEndEvent(this, transform); } }; A._TransformedPointerPanZoomEndEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerPanZoomEndEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._CopyPointerCancelEvent.prototype = {}; A.PointerCancelEvent.prototype = { transformed$1(transform) { if (transform == null || transform.$eq(0, this.transform)) return this; return new A._TransformedPointerCancelEvent(this, transform); } }; A._TransformedPointerCancelEvent.prototype = { transformed$1(transform) { return this.original.transformed$1(transform); }, $isPointerCancelEvent: 1, get$original() { return this.original; }, get$transform(receiver) { return this.transform; } }; A._PointerAddedEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerAddedEvent_PointerEvent__PointerEventDescription__CopyPointerAddedEvent.prototype = {}; A._PointerCancelEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerCancelEvent_PointerEvent__PointerEventDescription__CopyPointerCancelEvent.prototype = {}; A._PointerDownEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerDownEvent_PointerEvent__PointerEventDescription__CopyPointerDownEvent.prototype = {}; A._PointerEnterEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerEnterEvent_PointerEvent__PointerEventDescription__CopyPointerEnterEvent.prototype = {}; A._PointerEvent_Object_Diagnosticable.prototype = {}; A._PointerExitEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerExitEvent_PointerEvent__PointerEventDescription__CopyPointerExitEvent.prototype = {}; A._PointerHoverEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerHoverEvent_PointerEvent__PointerEventDescription__CopyPointerHoverEvent.prototype = {}; A._PointerMoveEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerMoveEvent_PointerEvent__PointerEventDescription__CopyPointerMoveEvent.prototype = {}; A._PointerPanZoomEndEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerPanZoomEndEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomEndEvent.prototype = {}; A._PointerPanZoomStartEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerPanZoomStartEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomStartEvent.prototype = {}; A._PointerPanZoomUpdateEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerPanZoomUpdateEvent_PointerEvent__PointerEventDescription__CopyPointerPanZoomUpdateEvent.prototype = {}; A._PointerRemovedEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerRemovedEvent_PointerEvent__PointerEventDescription__CopyPointerRemovedEvent.prototype = {}; A._PointerScaleEvent_PointerSignalEvent__PointerEventDescription.prototype = {}; A._PointerScaleEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScaleEvent.prototype = {}; A._PointerScrollEvent_PointerSignalEvent__PointerEventDescription.prototype = {}; A._PointerScrollEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollEvent.prototype = {}; A._PointerScrollInertiaCancelEvent_PointerSignalEvent__PointerEventDescription.prototype = {}; A._PointerScrollInertiaCancelEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollInertiaCancelEvent.prototype = {}; A._PointerUpEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerUpEvent_PointerEvent__PointerEventDescription__CopyPointerUpEvent.prototype = {}; A.__TransformedPointerAddedEvent__TransformedPointerEvent__CopyPointerAddedEvent.prototype = {}; A.__TransformedPointerCancelEvent__TransformedPointerEvent__CopyPointerCancelEvent.prototype = {}; A.__TransformedPointerDownEvent__TransformedPointerEvent__CopyPointerDownEvent.prototype = {}; A.__TransformedPointerEnterEvent__TransformedPointerEvent__CopyPointerEnterEvent.prototype = {}; A.__TransformedPointerEvent__AbstractPointerEvent_Diagnosticable.prototype = {}; A.__TransformedPointerEvent__AbstractPointerEvent_Diagnosticable__PointerEventDescription.prototype = {}; A.__TransformedPointerExitEvent__TransformedPointerEvent__CopyPointerExitEvent.prototype = {}; A.__TransformedPointerHoverEvent__TransformedPointerEvent__CopyPointerHoverEvent.prototype = {}; A.__TransformedPointerMoveEvent__TransformedPointerEvent__CopyPointerMoveEvent.prototype = {}; A.__TransformedPointerPanZoomEndEvent__TransformedPointerEvent__CopyPointerPanZoomEndEvent.prototype = {}; A.__TransformedPointerPanZoomStartEvent__TransformedPointerEvent__CopyPointerPanZoomStartEvent.prototype = {}; A.__TransformedPointerPanZoomUpdateEvent__TransformedPointerEvent__CopyPointerPanZoomUpdateEvent.prototype = {}; A.__TransformedPointerRemovedEvent__TransformedPointerEvent__CopyPointerRemovedEvent.prototype = {}; A.__TransformedPointerScaleEvent__TransformedPointerEvent__CopyPointerScaleEvent.prototype = {}; A.__TransformedPointerScrollEvent__TransformedPointerEvent__CopyPointerScrollEvent.prototype = {}; A.__TransformedPointerScrollInertiaCancelEvent__TransformedPointerEvent__CopyPointerScrollInertiaCancelEvent.prototype = {}; A.__TransformedPointerUpEvent__TransformedPointerEvent__CopyPointerUpEvent.prototype = {}; A._ForceState.prototype = { _enumToString$0() { return "_ForceState." + this._core$_name; } }; A.ForcePressDetails.prototype = {}; A.ForcePressGestureRecognizer.prototype = { addAllowedPointer$1($event) { var _this = this; if ($event.get$pressureMax() <= 1) _this.resolve$1(0, B.GestureDisposition_1); else { _this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); if (_this._force_press$_state === B._ForceState_0) { _this._force_press$_state = B._ForceState_1; _this.__ForcePressGestureRecognizer__lastPosition_A = new A.OffsetPair($event.get$localPosition(), $event.get$position($event)); } } }, handleEvent$1($event) { var pressure, _this = this; if (type$.PointerMoveEvent._is($event) || type$.PointerDownEvent._is($event)) { pressure = A.ForcePressGestureRecognizer__inverseLerp($event.get$pressureMin(), $event.get$pressureMax(), $event.get$pressure($event)); _this.__ForcePressGestureRecognizer__lastPosition_A = new A.OffsetPair($event.get$localPosition(), $event.get$position($event)); _this.__ForcePressGestureRecognizer__lastPressure_A = pressure; if (_this._force_press$_state === B._ForceState_1) if (pressure > 0.4) { _this._force_press$_state = B._ForceState_3; _this.resolve$1(0, B.GestureDisposition_0); } else if ($event.get$delta().get$distanceSquared() > A.computeHitSlop($event.get$kind($event), _this.gestureSettings)) _this.resolve$1(0, B.GestureDisposition_1); if (pressure > 0.4 && _this._force_press$_state === B._ForceState_2) { _this._force_press$_state = B._ForceState_3; if (_this.onStart != null) _this.invokeCallback$2("onStart", new A.ForcePressGestureRecognizer_handleEvent_closure(_this, pressure)); } } _this.stopTrackingIfPointerNoLongerDown$1($event); }, acceptGesture$1(pointer) { var _this = this, t1 = _this._force_press$_state; if (t1 === B._ForceState_1) t1 = _this._force_press$_state = B._ForceState_2; if (_this.onStart != null && t1 === B._ForceState_3) _this.invokeCallback$2("onStart", new A.ForcePressGestureRecognizer_acceptGesture_closure(_this)); }, didStopTrackingLastPointer$1(pointer) { var _this = this, t1 = _this._force_press$_state, wasAccepted = t1 === B._ForceState_3 || t1 === B._ForceState_4; if (t1 === B._ForceState_1) { _this.resolve$1(0, B.GestureDisposition_1); return; } if (wasAccepted && _this.onEnd != null) if (_this.onEnd != null) _this.invokeCallback$2("onEnd", new A.ForcePressGestureRecognizer_didStopTrackingLastPointer_closure(_this)); _this._force_press$_state = B._ForceState_0; }, rejectGesture$1(pointer) { this.stopTrackingPointer$1(pointer); this.didStopTrackingLastPointer$1(pointer); } }; A.ForcePressGestureRecognizer_handleEvent_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.onStart; t2.toString; t1 = t1.__ForcePressGestureRecognizer__lastPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t2.call$1(new A.ForcePressDetails(t1.global)); }, $signature: 0 }; A.ForcePressGestureRecognizer_acceptGesture_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.onStart; t2.toString; t1.__ForcePressGestureRecognizer__lastPressure_A === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__ForcePressGestureRecognizer__lastPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t2.call$1(new A.ForcePressDetails(t1.global)); }, $signature: 0 }; A.ForcePressGestureRecognizer_didStopTrackingLastPointer_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.onEnd; t2.toString; t1 = t1.__ForcePressGestureRecognizer__lastPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t2.call$1(new A.ForcePressDetails(t1.global)); }, $signature: 0 }; A.DeviceGestureSettings.prototype = { get$hashCode(_) { return A.Object_hash(this.touchSlop, 23, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; return other instanceof A.DeviceGestureSettings && other.touchSlop == this.touchSlop; }, toString$0(_) { return "DeviceGestureSettings(touchSlop: " + A.S(this.touchSlop) + ")"; } }; A.HitTestEntry.prototype = { toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + this.target.toString$0(0) + ")"; } }; A._TransformPart.prototype = {}; A._MatrixTransformPart.prototype = { multiply$1(_, rhs) { return this.matrix.multiplied$1(rhs); } }; A._OffsetTransformPart.prototype = { multiply$1(_, rhs) { var t3, tx, ty, t4, t1 = new Float64Array(16), t2 = new A.Matrix40(t1); t2.setFrom$1(rhs); t3 = this.offset; tx = t3._dx; ty = t3._dy; t3 = t1[0]; t4 = t1[3]; t1[0] = t3 + tx * t4; t1[1] = t1[1] + ty * t4; t1[2] = t1[2] + 0 * t4; t1[3] = t4; t4 = t1[4]; t3 = t1[7]; t1[4] = t4 + tx * t3; t1[5] = t1[5] + ty * t3; t1[6] = t1[6] + 0 * t3; t1[7] = t3; t3 = t1[8]; t4 = t1[11]; t1[8] = t3 + tx * t4; t1[9] = t1[9] + ty * t4; t1[10] = t1[10] + 0 * t4; t1[11] = t4; t4 = t1[12]; t3 = t1[15]; t1[12] = t4 + tx * t3; t1[13] = t1[13] + ty * t3; t1[14] = t1[14] + 0 * t3; t1[15] = t3; return t2; } }; A.HitTestResult.prototype = { _globalizeTransforms$0() { var t2, last, t3, _i, t1 = this._localTransforms; if (t1.length === 0) return; t2 = this._transforms; last = B.JSArray_methods.get$last(t2); for (t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) { last = t1[_i].multiply$1(0, last); t2.push(last); } B.JSArray_methods.clear$0(t1); }, add$1(_, entry) { this._globalizeTransforms$0(); entry._transform = B.JSArray_methods.get$last(this._transforms); this._hit_test$_path.push(entry); }, popTransform$0() { var t1 = this._localTransforms; if (t1.length !== 0) t1.pop(); else this._transforms.pop(); }, toString$0(_) { var t1 = this._hit_test$_path; return "HitTestResult(" + (t1.length === 0 ? "<empty path>" : B.JSArray_methods.join$1(t1, ", ")) + ")"; } }; A.LongPressDownDetails.prototype = {}; A.LongPressStartDetails.prototype = {}; A.LongPressMoveUpdateDetails.prototype = {}; A.LongPressEndDetails.prototype = {}; A.LongPressGestureRecognizer.prototype = { isPointerAllowed$1($event) { var t1, _this = this; switch ($event.get$buttons($event)) { case 1: if (_this.onLongPressDown == null && _this.onLongPressCancel == null && _this.onLongPressStart == null && _this.onLongPress == null && _this.onLongPressMoveUpdate == null && _this.onLongPressEnd == null && _this.onLongPressUp == null) return false; break; case 2: t1 = true; if (t1) return false; break; case 4: t1 = true; if (t1) return false; break; default: return false; } return _this.super$GestureRecognizer$isPointerAllowed($event); }, didExceedDeadline$0() { var t1, _this = this; _this.resolve$1(0, B.GestureDisposition_0); _this._longPressAccepted = true; t1 = _this._primaryPointer; t1.toString; _this.super$PrimaryPointerGestureRecognizer$acceptGesture(t1); _this._checkLongPressStart$0(); }, handlePrimaryPointer$1($event) { var t1, _this = this; if (!$event.get$synthesized()) { if (type$.PointerDownEvent._is($event)) { t1 = new A.VelocityTracker($event.get$kind($event), A.List_List$filled(20, null, false, type$.nullable__PointAtTime)); _this._velocityTracker = t1; t1.addPosition$2($event.get$timeStamp($event), $event.get$localPosition()); } if (type$.PointerMoveEvent._is($event)) { t1 = _this._velocityTracker; t1.toString; t1.addPosition$2($event.get$timeStamp($event), $event.get$localPosition()); } } if (type$.PointerUpEvent._is($event)) { if (_this._longPressAccepted) _this._checkLongPressEnd$1($event); else _this.resolve$1(0, B.GestureDisposition_1); _this._reset$0(); } else if (type$.PointerCancelEvent._is($event)) { _this._checkLongPressCancel$0(); _this._reset$0(); } else if (type$.PointerDownEvent._is($event)) { _this._longPressOrigin = new A.OffsetPair($event.get$localPosition(), $event.get$position($event)); _this._initialButtons = $event.get$buttons($event); _this._checkLongPressDown$1($event); } else if (type$.PointerMoveEvent._is($event)) if ($event.get$buttons($event) !== _this._initialButtons && !_this._longPressAccepted) { _this.resolve$1(0, B.GestureDisposition_1); t1 = _this._primaryPointer; t1.toString; _this.stopTrackingPointer$1(t1); } else if (_this._longPressAccepted) _this._checkLongPressMoveUpdate$1($event); }, _checkLongPressDown$1($event) { var _this = this; _this._longPressOrigin.toString; _this._pointerToKind.$index(0, $event.get$pointer()).toString; switch (_this._initialButtons) { case 1: if (_this.onLongPressDown != null) _this.invokeCallback$2("onLongPressDown", new A.LongPressGestureRecognizer__checkLongPressDown_closure(_this, new A.LongPressDownDetails())); break; case 2: break; case 4: break; } }, _checkLongPressCancel$0() { var t1, _this = this; if (_this._recognizer$_state === B.GestureRecognizerState_1) switch (_this._initialButtons) { case 1: t1 = _this.onLongPressCancel; if (t1 != null) _this.invokeCallback$2("onLongPressCancel", t1); break; case 2: break; case 4: break; } }, _checkLongPressStart$0() { var t1, t2, _this = this; switch (_this._initialButtons) { case 1: if (_this.onLongPressStart != null) { t1 = _this._longPressOrigin; t2 = t1.global; t1 = t1.local; _this.invokeCallback$2("onLongPressStart", new A.LongPressGestureRecognizer__checkLongPressStart_closure(_this, new A.LongPressStartDetails(t2, t1))); } t1 = _this.onLongPress; if (t1 != null) _this.invokeCallback$2("onLongPress", t1); break; case 2: break; case 4: break; } }, _checkLongPressMoveUpdate$1($event) { var _this = this, t1 = $event.get$position($event), t2 = $event.get$localPosition(), t3 = $event.get$position($event).$sub(0, _this._longPressOrigin.global); $event.get$localPosition().$sub(0, _this._longPressOrigin.local); switch (_this._initialButtons) { case 1: if (_this.onLongPressMoveUpdate != null) _this.invokeCallback$2("onLongPressMoveUpdate", new A.LongPressGestureRecognizer__checkLongPressMoveUpdate_closure(_this, new A.LongPressMoveUpdateDetails(t1, t2, t3))); break; case 2: break; case 4: break; } }, _checkLongPressEnd$1($event) { var t1, _this = this, estimate = _this._velocityTracker.getVelocityEstimate$0(), velocity = estimate == null ? B.Velocity_Offset_0_0 : new A.Velocity(estimate.pixelsPerSecond); $event.get$position($event); t1 = $event.get$localPosition(); _this._velocityTracker = null; switch (_this._initialButtons) { case 1: if (_this.onLongPressEnd != null) _this.invokeCallback$2("onLongPressEnd", new A.LongPressGestureRecognizer__checkLongPressEnd_closure(_this, new A.LongPressEndDetails(t1, velocity))); t1 = _this.onLongPressUp; if (t1 != null) _this.invokeCallback$2("onLongPressUp", t1); break; case 2: break; case 4: break; } }, _reset$0() { var _this = this; _this._longPressAccepted = false; _this._velocityTracker = _this._initialButtons = _this._longPressOrigin = null; }, resolve$1(_, disposition) { var _this = this; if (disposition === B.GestureDisposition_1) if (_this._longPressAccepted) _this._reset$0(); else _this._checkLongPressCancel$0(); _this.super$OneSequenceGestureRecognizer$resolve(0, disposition); }, acceptGesture$1(pointer) { } }; A.LongPressGestureRecognizer__checkLongPressDown_closure.prototype = { call$0() { return this.$this.onLongPressDown.call$1(this.details); }, $signature: 0 }; A.LongPressGestureRecognizer__checkLongPressStart_closure.prototype = { call$0() { return this.$this.onLongPressStart.call$1(this.details); }, $signature: 0 }; A.LongPressGestureRecognizer__checkLongPressMoveUpdate_closure.prototype = { call$0() { return this.$this.onLongPressMoveUpdate.call$1(this.details); }, $signature: 0 }; A.LongPressGestureRecognizer__checkLongPressEnd_closure.prototype = { call$0() { return this.$this.onLongPressEnd.call$1(this.details); }, $signature: 0 }; A._Vector.prototype = { $index(_, i) { return this._lsq_solver$_elements[i + this._lsq_solver$_offset]; }, $indexSet(_, i, value) { this._lsq_solver$_elements[i + this._lsq_solver$_offset] = value; }, $mul(_, a) { var t1, t2, t3, t4, t5, result, i; for (t1 = this._lsq_solver$_length, t2 = this._lsq_solver$_elements, t3 = this._lsq_solver$_offset, t4 = a._lsq_solver$_elements, t5 = a._lsq_solver$_offset, result = 0, i = 0; i < t1; ++i) result += t2[i + t3] * t4[i + t5]; return result; } }; A._Matrix.prototype = {}; A.PolynomialFit.prototype = { toString$0(_) { var t1 = this.coefficients, t2 = A.instanceType(t1)._eval$1("MappedListIterable<ListBase.E,String>"), coefficientString = A.Iterable_iterableToFullString(A.List_List$of(new A.MappedListIterable(t1, new A.PolynomialFit_toString_closure(), t2), true, t2._eval$1("ListIterable.E")), "[", "]"); t2 = this.__PolynomialFit_confidence_A; t2 === $ && A.throwUnnamedLateFieldNI(); return "PolynomialFit(" + coefficientString + ", confidence: " + B.JSNumber_methods.toStringAsFixed$1(t2, 3) + ")"; } }; A.PolynomialFit_toString_closure.prototype = { call$1(c) { return B.JSNumber_methods.toStringAsPrecision$1(c, 3); }, $signature: 2631 }; A.LeastSquaresSolver.prototype = { solve$1(degree) { var t3, result, t4, t5, t6, t7, h, i, j, t8, t9, dot, t10, norm, inverseNorm, wy, i0, yMean, sumSquaredError, sumSquaredTotal, err, term, v, t1 = this.x, t2 = t1.length; if (degree > t2) return null; t3 = degree + 1; result = new A.PolynomialFit(new Float64Array(t3)); t4 = t3 * t2; t5 = new Float64Array(t4); for (t6 = this.w, t7 = 0 * t2, h = 0; h < t2; ++h) { t5[t7 + h] = t6[h]; for (i = 1; i < t3; ++i) t5[i * t2 + h] = t5[(i - 1) * t2 + h] * t1[h]; } t4 = new Float64Array(t4); t7 = new Float64Array(t3 * t3); for (j = 0; j < t3; ++j) { for (t8 = j * t2, h = 0; h < t2; ++h) { t9 = t8 + h; t4[t9] = t5[t9]; } for (i = 0; i < j; ++i) { t9 = i * t2; dot = new A._Vector(t8, t2, t4).$mul(0, new A._Vector(t9, t2, t4)); for (h = 0; h < t2; ++h) { t10 = t8 + h; t4[t10] = t4[t10] - dot * t4[t9 + h]; } } t9 = new A._Vector(t8, t2, t4); norm = Math.sqrt(t9.$mul(0, t9)); if (norm < 1e-10) return null; inverseNorm = 1 / norm; for (h = 0; h < t2; ++h) { t9 = t8 + h; t4[t9] = t4[t9] * inverseNorm; } for (t9 = j * t3, i = 0; i < t3; ++i) { t10 = i < j ? 0 : new A._Vector(t8, t2, t4).$mul(0, new A._Vector(i * t2, t2, t5)); t7[t9 + i] = t10; } } t5 = new Float64Array(t2); wy = new A._Vector(0, t2, t5); for (t8 = this.y, h = 0; h < t2; ++h) t5[h] = t8[h] * t6[h]; for (i = t3 - 1, t5 = result.coefficients, i0 = i; i0 >= 0; --i0) { t5[i0] = new A._Vector(i0 * t2, t2, t4).$mul(0, wy); for (t9 = i0 * t3, j = i; j > i0; --j) t5[i0] = t5[i0] - t7[t9 + j] * t5[j]; t5[i0] = t5[i0] / t7[t9 + i0]; } for (yMean = 0, h = 0; h < t2; ++h) yMean += t8[h]; yMean /= t2; for (sumSquaredError = 0, sumSquaredTotal = 0, h = 0; h < t2; ++h) { t4 = t8[h]; err = t4 - t5[0]; for (term = 1, i = 1; i < t3; ++i) { term *= t1[h]; err -= term * t5[i]; } t7 = t6[h]; t7 *= t7; sumSquaredError += t7 * err * err; v = t4 - yMean; sumSquaredTotal += t7 * v * v; } result.__PolynomialFit_confidence_A = sumSquaredTotal <= 1e-10 ? 1 : 1 - sumSquaredError / sumSquaredTotal; return result; } }; A._DragState.prototype = { _enumToString$0() { return "_DragState." + this._core$_name; } }; A.DragGestureRecognizer.prototype = { isPointerAllowed$1($event) { var _this = this; if (_this._monodrag$_initialButtons == null) { if (_this.onDown == null && _this.onStart == null && _this.onUpdate == null && _this.onEnd == null && _this.onCancel == null) return false; } else if ($event.get$buttons($event) !== _this._monodrag$_initialButtons) return false; return _this.super$GestureRecognizer$isPointerAllowed($event); }, _addPointer$1($event) { var t1, _this = this; _this._monodrag$_velocityTrackers.$indexSet(0, $event.get$pointer(), _this.velocityTrackerBuilder.call$1($event)); t1 = _this._monodrag$_state; if (t1 === B._DragState_0) { _this._monodrag$_state = B._DragState_1; t1 = $event.get$position($event); _this.__DragGestureRecognizer__initialPosition_A = new A.OffsetPair($event.get$localPosition(), t1); _this.__DragGestureRecognizer__pendingDragOffset_A = B.OffsetPair_G6F; _this.__DragGestureRecognizer__globalDistanceMoved_A = 0; _this._lastPendingEventTimestamp = $event.get$timeStamp($event); _this._monodrag$_lastTransform = $event.get$transform($event); _this._checkDown$0(); } else if (t1 === B._DragState_2) _this.resolve$1(0, B.GestureDisposition_0); }, addAllowedPointer$1($event) { var _this = this; _this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); if (_this._monodrag$_state === B._DragState_0) _this._monodrag$_initialButtons = $event.get$buttons($event); _this._addPointer$1($event); }, addAllowedPointerPanZoom$1($event) { var _this = this; _this.super$GestureRecognizer$addAllowedPointerPanZoom($event); _this.startTrackingPointer$2($event.get$pointer(), $event.get$transform($event)); if (_this._monodrag$_state === B._DragState_0) _this._monodrag$_initialButtons = 1; _this._addPointer$1($event); }, _shouldTrackMoveEvent$1(pointer) { var result, t1; switch (this.multitouchDragStrategy.index) { case 1: result = true; break; case 0: t1 = this._acceptedActivePointers; result = t1.length <= 1 || pointer === B.JSArray_methods.get$last(t1); break; default: result = null; } return result; }, handleEvent$1($event) { var t1, delta, localDelta, position, t2, localPosition, movedLocally, localToGlobalTransform, t3, _this = this; if (!$event.get$synthesized()) t1 = type$.PointerDownEvent._is($event) || type$.PointerMoveEvent._is($event) || type$.PointerPanZoomStartEvent._is($event) || type$.PointerPanZoomUpdateEvent._is($event); else t1 = false; if (t1) { t1 = _this._monodrag$_velocityTrackers.$index(0, $event.get$pointer()); t1.toString; if (type$.PointerPanZoomStartEvent._is($event)) t1.addPosition$2($event.get$timeStamp($event), B.Offset_0_0); else if (type$.PointerPanZoomUpdateEvent._is($event)) t1.addPosition$2($event.get$timeStamp($event), $event.get$pan($event)); else t1.addPosition$2($event.get$timeStamp($event), $event.get$localPosition()); } t1 = type$.PointerMoveEvent._is($event); if (t1 && $event.get$buttons($event) !== _this._monodrag$_initialButtons) { _this._giveUpPointer$1($event.get$pointer()); return; } if ((t1 || type$.PointerPanZoomUpdateEvent._is($event)) && _this._shouldTrackMoveEvent$1($event.get$pointer())) { delta = t1 ? $event.get$delta() : type$.PointerPanZoomUpdateEvent._as($event).get$panDelta(); localDelta = t1 ? $event.get$localDelta() : type$.PointerPanZoomUpdateEvent._as($event).get$localPanDelta(); if (t1) position = $event.get$position($event); else { t2 = $event.get$position($event); type$.PointerPanZoomUpdateEvent._as($event); position = t2.$add(0, $event.get$pan($event)); } localPosition = t1 ? $event.get$localPosition() : $event.get$localPosition().$add(0, type$.PointerPanZoomUpdateEvent._as($event).get$localPan()); if (_this._monodrag$_state === B._DragState_2) { t1 = $event.get$timeStamp($event); _this._checkUpdate$5$delta$globalPosition$localPosition$primaryDelta$sourceTimeStamp(_this._getDeltaForDetails$1(localDelta), position, localPosition, _this._getPrimaryValueFromOffset$1(localDelta), t1); } else { t1 = _this.__DragGestureRecognizer__pendingDragOffset_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__DragGestureRecognizer__pendingDragOffset_A = t1.$add(0, new A.OffsetPair(localDelta, delta)); _this._lastPendingEventTimestamp = $event.get$timeStamp($event); _this._monodrag$_lastTransform = $event.get$transform($event); movedLocally = _this._getDeltaForDetails$1(localDelta); if ($event.get$transform($event) == null) localToGlobalTransform = null; else { t1 = $event.get$transform($event); t1.toString; localToGlobalTransform = A.Matrix4_tryInvert(t1); } t1 = _this.__DragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.PointerEvent_transformDeltaViaPositions(localToGlobalTransform, null, movedLocally, localPosition).get$distance(); t3 = _this._getPrimaryValueFromOffset$1(movedLocally); _this.__DragGestureRecognizer__globalDistanceMoved_A = t1 + t2 * J.get$sign$in(t3 == null ? 1 : t3); t1 = $event.get$kind($event); t2 = _this.gestureSettings; if (_this._hasSufficientGlobalDistanceToAccept$2(t1, t2 == null ? null : t2.touchSlop)) { _this._hasDragThresholdBeenMet = true; if (B.JSArray_methods.contains$1(_this._acceptedActivePointers, $event.get$pointer())) _this._checkDrag$1($event.get$pointer()); else _this.resolve$1(0, B.GestureDisposition_0); } } } if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event) || type$.PointerPanZoomEndEvent._is($event)) _this._giveUpPointer$1($event.get$pointer()); }, acceptGesture$1(pointer) { var _this = this; _this._acceptedActivePointers.push(pointer); if (!_this.onlyAcceptDragOnThreshold || _this._hasDragThresholdBeenMet) _this._checkDrag$1(pointer); }, rejectGesture$1(pointer) { this._giveUpPointer$1(pointer); }, didStopTrackingLastPointer$1(pointer) { var t1, _this = this; switch (_this._monodrag$_state.index) { case 0: break; case 1: _this.resolve$1(0, B.GestureDisposition_1); t1 = _this.onCancel; if (t1 != null) _this.invokeCallback$2("onCancel", t1); break; case 2: _this._checkEnd$1(pointer); break; } _this._hasDragThresholdBeenMet = false; _this._monodrag$_velocityTrackers.clear$0(0); _this._monodrag$_initialButtons = null; _this._monodrag$_state = B._DragState_0; }, _giveUpPointer$1(pointer) { this.stopTrackingPointer$1(pointer); if (!B.JSArray_methods.remove$1(this._acceptedActivePointers, pointer)) this.resolvePointer$2(pointer, B.GestureDisposition_1); }, _checkDown$0() { var t1, _this = this; if (_this.onDown != null) { t1 = _this.__DragGestureRecognizer__initialPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.invokeCallback$2("onDown", new A.DragGestureRecognizer__checkDown_closure(_this, new A.DragDownDetails(t1.global))); } }, _checkDrag$1(pointer) { var t1, timestamp, transform, t2, localUpdateDelta, localToGlobal, globalUpdateDelta, correctedPosition, _this = this; if (_this._monodrag$_state === B._DragState_2) return; _this._monodrag$_state = B._DragState_2; t1 = _this.__DragGestureRecognizer__pendingDragOffset_A; t1 === $ && A.throwUnnamedLateFieldNI(); timestamp = _this._lastPendingEventTimestamp; transform = _this._monodrag$_lastTransform; switch (_this.dragStartBehavior.index) { case 1: t2 = _this.__DragGestureRecognizer__initialPosition_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__DragGestureRecognizer__initialPosition_A = t2.$add(0, t1); localUpdateDelta = B.Offset_0_0; break; case 0: localUpdateDelta = _this._getDeltaForDetails$1(t1.local); break; default: localUpdateDelta = null; } _this.__DragGestureRecognizer__pendingDragOffset_A = B.OffsetPair_G6F; _this._monodrag$_lastTransform = _this._lastPendingEventTimestamp = null; _this._checkStart$2(timestamp, pointer); if (!J.$eq$(localUpdateDelta, B.Offset_0_0) && _this.onUpdate != null) { localToGlobal = transform != null ? A.Matrix4_tryInvert(transform) : null; t1 = _this.__DragGestureRecognizer__initialPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); globalUpdateDelta = A.PointerEvent_transformDeltaViaPositions(localToGlobal, null, localUpdateDelta, t1.local.$add(0, localUpdateDelta)); correctedPosition = _this.__DragGestureRecognizer__initialPosition_A.$add(0, new A.OffsetPair(localUpdateDelta, globalUpdateDelta)); _this._checkUpdate$5$delta$globalPosition$localPosition$primaryDelta$sourceTimeStamp(localUpdateDelta, correctedPosition.global, correctedPosition.local, _this._getPrimaryValueFromOffset$1(localUpdateDelta), timestamp); } _this.resolve$1(0, B.GestureDisposition_0); }, _checkStart$2(timestamp, pointer) { var t1, t2, _this = this; if (_this.onStart != null) { t1 = _this.__DragGestureRecognizer__initialPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._pointerToKind.$index(0, pointer); t2.toString; _this.invokeCallback$2("onStart", new A.DragGestureRecognizer__checkStart_closure(_this, new A.DragStartDetails(timestamp, t1.global, t1.local, t2))); } }, _checkUpdate$5$delta$globalPosition$localPosition$primaryDelta$sourceTimeStamp(delta, globalPosition, localPosition, primaryDelta, sourceTimeStamp) { if (this.onUpdate != null) this.invokeCallback$2("onUpdate", new A.DragGestureRecognizer__checkUpdate_closure(this, new A.DragUpdateDetails(sourceTimeStamp, delta, primaryDelta, globalPosition, localPosition))); }, _checkEnd$1(pointer) { var tracker, estimate, debugReport, t2, details, _this = this, t1 = {}; if (_this.onEnd == null) return; tracker = _this._monodrag$_velocityTrackers.$index(0, pointer); estimate = tracker.getVelocityEstimate$0(); t1.details = null; if (estimate == null) { debugReport = new A.DragGestureRecognizer__checkEnd_closure(); t2 = null; } else { details = t1.details = _this._considerFling$2(estimate, tracker.kind); debugReport = details != null ? new A.DragGestureRecognizer__checkEnd_closure0(t1, estimate) : new A.DragGestureRecognizer__checkEnd_closure1(estimate); t2 = details; } if (t2 == null) t1.details = new A.DragEndDetails(B.Velocity_Offset_0_0, 0); _this.invokeCallback$3$debugReport("onEnd", new A.DragGestureRecognizer__checkEnd_closure2(t1, _this), debugReport); }, dispose$0() { this._monodrag$_velocityTrackers.clear$0(0); this.super$OneSequenceGestureRecognizer$dispose(); } }; A.DragGestureRecognizer__checkDown_closure.prototype = { call$0() { return this.$this.onDown.call$1(this.details); }, $signature: 0 }; A.DragGestureRecognizer__checkStart_closure.prototype = { call$0() { return this.$this.onStart.call$1(this.details); }, $signature: 0 }; A.DragGestureRecognizer__checkUpdate_closure.prototype = { call$0() { return this.$this.onUpdate.call$1(this.details); }, $signature: 0 }; A.DragGestureRecognizer__checkEnd_closure.prototype = { call$0() { return "Could not estimate velocity."; }, $signature: 103 }; A.DragGestureRecognizer__checkEnd_closure0.prototype = { call$0() { return this.estimate.toString$0(0) + "; fling at " + this._box_0.details.velocity.toString$0(0) + "."; }, $signature: 103 }; A.DragGestureRecognizer__checkEnd_closure1.prototype = { call$0() { return this.estimate.toString$0(0) + "; judged to not be a fling."; }, $signature: 103 }; A.DragGestureRecognizer__checkEnd_closure2.prototype = { call$0() { var t2, t1 = this.$this.onEnd; t1.toString; t2 = this._box_0.details; t2.toString; return t1.call$1(t2); }, $signature: 0 }; A.VerticalDragGestureRecognizer.prototype = { _considerFling$2(estimate, kind) { var minDistance, t1, maxVelocity, dy, _this = this, minVelocity = _this.minFlingVelocity; if (minVelocity == null) minVelocity = 50; minDistance = _this.minFlingDistance; if (minDistance == null) minDistance = A.computeHitSlop(kind, _this.gestureSettings); t1 = estimate.pixelsPerSecond._dy; if (!(Math.abs(t1) > minVelocity && Math.abs(estimate.offset._dy) > minDistance)) return null; maxVelocity = _this.maxFlingVelocity; if (maxVelocity == null) maxVelocity = 8000; dy = A.clampDouble(t1, -maxVelocity, maxVelocity); return new A.DragEndDetails(new A.Velocity(new A.Offset(0, dy)), dy); }, _hasSufficientGlobalDistanceToAccept$2(pointerDeviceKind, deviceTouchSlop) { var t1 = this.__DragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); return Math.abs(t1) > A.computeHitSlop(pointerDeviceKind, this.gestureSettings); }, _getDeltaForDetails$1(delta) { return new A.Offset(0, delta._dy); }, _getPrimaryValueFromOffset$1(value) { return value._dy; } }; A.HorizontalDragGestureRecognizer.prototype = { _considerFling$2(estimate, kind) { var minDistance, t1, maxVelocity, dx, _this = this, minVelocity = _this.minFlingVelocity; if (minVelocity == null) minVelocity = 50; minDistance = _this.minFlingDistance; if (minDistance == null) minDistance = A.computeHitSlop(kind, _this.gestureSettings); t1 = estimate.pixelsPerSecond._dx; if (!(Math.abs(t1) > minVelocity && Math.abs(estimate.offset._dx) > minDistance)) return null; maxVelocity = _this.maxFlingVelocity; if (maxVelocity == null) maxVelocity = 8000; dx = A.clampDouble(t1, -maxVelocity, maxVelocity); return new A.DragEndDetails(new A.Velocity(new A.Offset(dx, 0)), dx); }, _hasSufficientGlobalDistanceToAccept$2(pointerDeviceKind, deviceTouchSlop) { var t1 = this.__DragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); return Math.abs(t1) > A.computeHitSlop(pointerDeviceKind, this.gestureSettings); }, _getDeltaForDetails$1(delta) { return new A.Offset(delta._dx, 0); }, _getPrimaryValueFromOffset$1(value) { return value._dx; } }; A.PanGestureRecognizer.prototype = { _considerFling$2(estimate, kind) { var minDistance, t1, t2, t3, _this = this, minVelocity = _this.minFlingVelocity; if (minVelocity == null) minVelocity = 50; minDistance = _this.minFlingDistance; if (minDistance == null) minDistance = A.computeHitSlop(kind, _this.gestureSettings); t1 = estimate.pixelsPerSecond; if (!(t1.get$distanceSquared() > minVelocity * minVelocity && estimate.offset.get$distanceSquared() > minDistance * minDistance)) return null; t2 = _this.minFlingVelocity; if (t2 == null) t2 = 50; t3 = _this.maxFlingVelocity; if (t3 == null) t3 = 8000; return new A.DragEndDetails(new A.Velocity(t1).clampMagnitude$2(t2, t3), null); }, _hasSufficientGlobalDistanceToAccept$2(pointerDeviceKind, deviceTouchSlop) { var t1 = this.__DragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); return Math.abs(t1) > A.computePanSlop(pointerDeviceKind, this.gestureSettings); }, _getDeltaForDetails$1(delta) { return delta; }, _getPrimaryValueFromOffset$1(value) { return null; } }; A.MultiDragPointerState.prototype = { dispose$0() { var t1 = this._arenaEntry; if (t1 != null) t1._arena._resolve$3(t1._arena$_pointer, t1._member, B.GestureDisposition_1); this._arenaEntry = null; } }; A.MultiDragGestureRecognizer.prototype = { addAllowedPointer$1($event) { var _this = this, state = _this.createNewPointerState$1($event), t1 = _this._pointers; t1.toString; t1.$indexSet(0, $event.get$pointer(), state); $.GestureBinding__instance.GestureBinding_pointerRouter.addRoute$2($event.get$pointer(), _this.get$_multidrag$_handleEvent()); state._arenaEntry = $.GestureBinding__instance.GestureBinding_gestureArena.add$2(0, $event.get$pointer(), _this); }, _multidrag$_handleEvent$1($event) { var t2, t3, t4, t1 = this._pointers; t1.toString; t1 = t1.$index(0, $event.get$pointer()); t1.toString; if (type$.PointerMoveEvent._is($event)) { if (!$event.get$synthesized()) t1._multidrag$_velocityTracker.addPosition$2($event.get$timeStamp($event), $event.get$position($event)); t2 = t1._multidrag$_client; if (t2 != null) { t1 = $event.get$timeStamp($event); t3 = $event.get$delta(); t4 = $event.get$position($event); t2.update$1(0, new A.DragUpdateDetails(t1, t3, null, t4, t4)); } else { t2 = t1._pendingDelta; t2.toString; t1._pendingDelta = t2.$add(0, $event.get$delta()); t1._multidrag$_lastPendingEventTimestamp = $event.get$timeStamp($event); t1.checkForResolutionAfterMove$0(); } } else if (type$.PointerUpEvent._is($event)) { if (t1._multidrag$_client != null) { t2 = t1._multidrag$_velocityTracker.getVelocity$0(); t3 = t1._multidrag$_client; t3.toString; t1._multidrag$_client = null; t3.end$1(0, new A.DragEndDetails(t2, null)); } else t1._multidrag$_lastPendingEventTimestamp = t1._pendingDelta = null; this._removeState$1($event.get$pointer()); } else if (type$.PointerCancelEvent._is($event)) { t2 = t1._multidrag$_client; if (t2 != null) { t1._multidrag$_client = null; t2.cancel$0(0); } else t1._multidrag$_lastPendingEventTimestamp = t1._pendingDelta = null; this._removeState$1($event.get$pointer()); } }, acceptGesture$1(pointer) { var state = this._pointers.$index(0, pointer); if (state == null) return; state.accepted$1(new A.MultiDragGestureRecognizer_acceptGesture_closure(this, pointer)); }, _startDrag$2(initialPosition, pointer) { var drag, t2, t3, t4, _this = this, t1 = _this._pointers.$index(0, pointer); t1.toString; drag = _this.onStart != null ? _this.invokeCallback$2("onStart", new A.MultiDragGestureRecognizer__startDrag_closure(_this, initialPosition)) : null; if (drag != null) { t1._multidrag$_client = drag; t2 = t1._multidrag$_lastPendingEventTimestamp; t3 = t1._pendingDelta; t3.toString; t4 = t1.initialPosition; t1._multidrag$_lastPendingEventTimestamp = t1._pendingDelta = null; drag.update$1(0, new A.DragUpdateDetails(t2, t3, null, t4, t4)); } else _this._removeState$1(pointer); return drag; }, rejectGesture$1(pointer) { var state; if (this._pointers.containsKey$1(0, pointer)) { state = this._pointers.$index(0, pointer); state._arenaEntry = state._multidrag$_lastPendingEventTimestamp = state._pendingDelta = null; this._removeState$1(pointer); } }, _removeState$1(pointer) { if (this._pointers == null) return; $.GestureBinding__instance.GestureBinding_pointerRouter.removeRoute$2(pointer, this.get$_multidrag$_handleEvent()); this._pointers.remove$1(0, pointer).dispose$0(); }, dispose$0() { var t2, _this = this, t1 = _this._pointers; t1.toString; t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); B.JSArray_methods.forEach$1(A.List_List$of(new A.LinkedHashMapKeyIterable(t1, t2), true, t2._eval$1("Iterable.E")), _this.get$_removeState()); _this._pointers = null; _this.super$GestureRecognizer$dispose(); } }; A.MultiDragGestureRecognizer_acceptGesture_closure.prototype = { call$1(initialPosition) { return this.$this._startDrag$2(initialPosition, this.pointer); }, $signature: 837 }; A.MultiDragGestureRecognizer__startDrag_closure.prototype = { call$0() { return this.$this.onStart.call$1(this.initialPosition); }, $signature: 2679 }; A._ImmediatePointerState.prototype = { checkForResolutionAfterMove$0() { var t1, _this = this; if (_this._pendingDelta.get$distance() > A.computeHitSlop(_this.kind, _this.gestureSettings)) { t1 = _this._arenaEntry; t1._arena._resolve$3(t1._arena$_pointer, t1._member, B.GestureDisposition_0); } }, accepted$1(starter) { starter.call$1(this.initialPosition); } }; A.ImmediateMultiDragGestureRecognizer.prototype = { createNewPointerState$1($event) { var t1 = $event.get$position($event), t2 = $event.get$kind($event); return new A._ImmediatePointerState(this.gestureSettings, t1, new A.VelocityTracker(t2, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)), t2, B.Offset_0_0); } }; A._DelayedPointerState.prototype = { _delayPassed$0() { var t1, _this = this; _this._multidrag$_timer = null; t1 = _this._starter; if (t1 != null) { t1.call$1(_this.initialPosition); _this._starter = null; } else { t1 = _this._arenaEntry; t1._arena._resolve$3(t1._arena$_pointer, t1._member, B.GestureDisposition_0); } }, _ensureTimerStopped$0() { var t1 = this._multidrag$_timer; if (t1 != null) t1.cancel$0(0); this._multidrag$_timer = null; }, accepted$1(starter) { if (this._multidrag$_timer == null) starter.call$1(this.initialPosition); else this._starter = starter; }, checkForResolutionAfterMove$0() { var t1, _this = this; if (_this._multidrag$_timer == null) return; if (_this._pendingDelta.get$distance() > A.computeHitSlop(_this.kind, _this.gestureSettings)) { t1 = _this._arenaEntry; t1._arena._resolve$3(t1._arena$_pointer, t1._member, B.GestureDisposition_1); _this._ensureTimerStopped$0(); } }, dispose$0() { this._ensureTimerStopped$0(); this.super$MultiDragPointerState$dispose(); } }; A.DelayedMultiDragGestureRecognizer.prototype = { createNewPointerState$1($event) { var t1 = $event.get$position($event), t2 = $event.get$kind($event); t2 = new A._DelayedPointerState(this.gestureSettings, t1, new A.VelocityTracker(t2, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)), t2, B.Offset_0_0); t2._multidrag$_timer = A.Timer_Timer(B.Duration_500000, t2.get$_delayPassed()); return t2; } }; A._CountdownZoned.prototype = { _onTimeout$0() { this._timeout = true; } }; A._TapTracker.prototype = { stopTrackingPointer$1(route) { if (this._isTrackingPointer) { this._isTrackingPointer = false; $.GestureBinding__instance.GestureBinding_pointerRouter.removeRoute$2(this.pointer, route); } }, isWithinGlobalTolerance$2($event, tolerance) { return $event.get$position($event).$sub(0, this._initialGlobalPosition).get$distance() <= tolerance; } }; A.DoubleTapGestureRecognizer.prototype = { isPointerAllowed$1($event) { var isPointerAllowed, _this = this; if (_this._firstTap == null) if (_this.onDoubleTap == null && true) return false; isPointerAllowed = _this.super$GestureRecognizer$isPointerAllowed($event); if (!isPointerAllowed) _this._multitap$_reset$0(); return isPointerAllowed; }, addAllowedPointer$1($event) { var _this = this, t1 = _this._firstTap; if (t1 != null) if (!t1.isWithinGlobalTolerance$2($event, 100)) return; else { t1 = _this._firstTap; if (!t1._doubleTapMinTimeCountdown._timeout || $event.get$buttons($event) !== t1.initialButtons) { _this._multitap$_reset$0(); return _this._trackTap$1($event); } } _this._trackTap$1($event); }, _trackTap$1($event) { var t1, t2, t3, t4, t5, tracker, _this = this; _this._stopDoubleTapTimer$0(); t1 = $.GestureBinding__instance.GestureBinding_gestureArena.add$2(0, $event.get$pointer(), _this); t2 = $event.get$pointer(); t3 = $event.get$position($event); t4 = $event.get$buttons($event); t5 = new A._CountdownZoned(); A.Timer_Timer(B.Duration_40000, t5.get$_onTimeout()); tracker = new A._TapTracker(t2, t1, t3, t4, t5); _this._trackers.$indexSet(0, $event.get$pointer(), tracker); t5 = $event.get$transform($event); if (!tracker._isTrackingPointer) { tracker._isTrackingPointer = true; $.GestureBinding__instance.GestureBinding_pointerRouter.addRoute$3(t2, _this.get$_multitap$_handleEvent(), t5); } }, _multitap$_handleEvent$1($event) { var t3, _this = this, t1 = _this._trackers, t2 = t1.$index(0, $event.get$pointer()); t2.toString; if (type$.PointerUpEvent._is($event)) { t3 = _this._firstTap; if (t3 == null) { if (_this._doubleTapTimer == null) _this._doubleTapTimer = A.Timer_Timer(B.Duration_300000, _this.get$_multitap$_reset()); t3 = t2.pointer; $.GestureBinding__instance.GestureBinding_gestureArena.hold$1(t3); t2.stopTrackingPointer$1(_this.get$_multitap$_handleEvent()); t1.remove$1(0, t3); _this._clearTrackers$0(); _this._firstTap = t2; } else { t3 = t3.entry; t3._arena._resolve$3(t3._arena$_pointer, t3._member, B.GestureDisposition_0); t3 = t2.entry; t3._arena._resolve$3(t3._arena$_pointer, t3._member, B.GestureDisposition_0); t2.stopTrackingPointer$1(_this.get$_multitap$_handleEvent()); t1.remove$1(0, t2.pointer); t1 = _this.onDoubleTap; if (t1 != null) _this.invokeCallback$2("onDoubleTap", t1); _this._multitap$_reset$0(); } } else if (type$.PointerMoveEvent._is($event)) { if (!t2.isWithinGlobalTolerance$2($event, 18)) _this._reject$1(t2); } else if (type$.PointerCancelEvent._is($event)) _this._reject$1(t2); }, acceptGesture$1(pointer) { }, rejectGesture$1(pointer) { var t1, _this = this, tracker = _this._trackers.$index(0, pointer); if (tracker == null) { t1 = _this._firstTap; t1 = t1 != null && t1.pointer === pointer; } else t1 = false; if (t1) tracker = _this._firstTap; if (tracker != null) _this._reject$1(tracker); }, _reject$1(tracker) { var t2, _this = this, t1 = _this._trackers; t1.remove$1(0, tracker.pointer); t2 = tracker.entry; t2._arena._resolve$3(t2._arena$_pointer, t2._member, B.GestureDisposition_1); tracker.stopTrackingPointer$1(_this.get$_multitap$_handleEvent()); t2 = _this._firstTap; if (t2 != null) if (tracker === t2) _this._multitap$_reset$0(); else { _this._checkCancel$0(); if (t1.__js_helper$_length === 0) _this._multitap$_reset$0(); } }, dispose$0() { this._multitap$_reset$0(); this.super$GestureRecognizer$dispose(); }, _multitap$_reset$0() { var t1, _this = this; _this._stopDoubleTapTimer$0(); if (_this._firstTap != null) { if (_this._trackers.__js_helper$_length !== 0) _this._checkCancel$0(); t1 = _this._firstTap; t1.toString; _this._firstTap = null; _this._reject$1(t1); $.GestureBinding__instance.GestureBinding_gestureArena.release$1(0, t1.pointer); } _this._clearTrackers$0(); }, _clearTrackers$0() { var t1 = this._trackers.get$values(0); B.JSArray_methods.forEach$1(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")), this.get$_reject()); }, _stopDoubleTapTimer$0() { var t1 = this._doubleTapTimer; if (t1 != null) { t1.cancel$0(0); this._doubleTapTimer = null; } }, _checkCancel$0() { } }; A.PointerRouter.prototype = { addRoute$3(pointer, route, transform) { J.$indexSet$ax(this._routeMap.putIfAbsent$2(0, pointer, new A.PointerRouter_addRoute_closure()), route, transform); }, addRoute$2(pointer, route) { return this.addRoute$3(pointer, route, null); }, removeRoute$2(pointer, route) { var t3, t1 = this._routeMap, t2 = t1.$index(0, pointer); t2.toString; t3 = J.getInterceptor$ax(t2); t3.remove$1(t2, route); if (t3.get$isEmpty(t2)) t1.remove$1(0, pointer); }, _dispatch$3($event, route, transform) { var exception, stack, exception0, t1; try { route.call$1($event.transformed$1(transform)); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("while routing a pointer event"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "gesture library", t1, null, null, false)); } }, route$1($event) { var _this = this, routes = _this._routeMap.$index(0, $event.get$pointer()), t1 = _this._globalRoutes, t2 = type$.void_Function_PointerEvent, t3 = type$.nullable_Matrix4, copiedGlobalRoutes = A.LinkedHashMap_LinkedHashMap$of(t1, t2, t3); if (routes != null) _this._dispatchEventToRoutes$3($event, routes, A.LinkedHashMap_LinkedHashMap$of(routes, t2, t3)); _this._dispatchEventToRoutes$3($event, t1, copiedGlobalRoutes); }, _dispatchEventToRoutes$3($event, referenceRoutes, copiedRoutes) { copiedRoutes.forEach$1(0, new A.PointerRouter__dispatchEventToRoutes_closure(this, referenceRoutes, $event)); } }; A.PointerRouter_addRoute_closure.prototype = { call$0() { return A.LinkedHashMap_LinkedHashMap$_empty(type$.void_Function_PointerEvent, type$.nullable_Matrix4); }, $signature: 2706 }; A.PointerRouter__dispatchEventToRoutes_closure.prototype = { call$2(route, transform) { if (J.containsKey$1$x(this.referenceRoutes, route)) this.$this._dispatch$3(this.event, route, transform); }, $signature: 2707 }; A.PointerSignalResolver.prototype = { register$2(_, $event, callback) { if (this._firstRegisteredCallback != null) return; this._currentEvent = $event; this._firstRegisteredCallback = callback; }, resolve$1(_, $event) { var exception, stack, t2, exception0, _this = this, t1 = _this._firstRegisteredCallback; if (t1 == null) return; try { t2 = _this._currentEvent; t2.toString; t1.call$1(t2); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("while resolving a PointerSignalEvent"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "gesture library", t1, null, null, false)); } _this._currentEvent = _this._firstRegisteredCallback = null; } }; A.DragStartBehavior.prototype = { _enumToString$0() { return "DragStartBehavior." + this._core$_name; } }; A.MultitouchDragStrategy.prototype = { _enumToString$0() { return "MultitouchDragStrategy." + this._core$_name; } }; A.GestureRecognizer.prototype = { addAllowedPointerPanZoom$1($event) { }, addPointer$1($event) { var _this = this; _this._pointerToKind.$indexSet(0, $event.get$pointer(), $event.get$kind($event)); if (_this.isPointerAllowed$1($event)) _this.addAllowedPointer$1($event); else _this.handleNonAllowedPointer$1($event); }, addAllowedPointer$1($event) { }, handleNonAllowedPointer$1($event) { }, isPointerAllowed$1($event) { var t1 = this.supportedDevices; return (t1 == null || t1.contains$1(0, $event.get$kind($event))) && this._allowedButtonsFilter.call$1($event.get$buttons($event)); }, isPointerPanZoomAllowed$1($event) { var t1 = this.supportedDevices; return t1 == null || t1.contains$1(0, $event.get$kind($event)); }, dispose$0() { }, invokeCallback$1$3$debugReport($name, callback, debugReport) { var exception, stack, exception0, t1, result = null; try { result = callback.call$0(); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("while handling a gesture"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "gesture", t1, null, null, false)); } return result; }, invokeCallback$2($name, callback) { return this.invokeCallback$1$3$debugReport($name, callback, null, type$.dynamic); }, invokeCallback$3$debugReport($name, callback, debugReport) { return this.invokeCallback$1$3$debugReport($name, callback, debugReport, type$.dynamic); }, $isDiagnosticableTree: 1 }; A.OneSequenceGestureRecognizer.prototype = { addAllowedPointer$1($event) { this.startTrackingPointer$2($event.get$pointer(), $event.get$transform($event)); }, handleNonAllowedPointer$1($event) { this.resolve$1(0, B.GestureDisposition_1); }, acceptGesture$1(pointer) { }, rejectGesture$1(pointer) { }, resolve$1(_, disposition) { var _i, t1 = this._recognizer$_entries, localEntries = A.List_List$of(t1.get$values(0), true, type$.GestureArenaEntry); t1.clear$0(0); for (t1 = localEntries.length, _i = 0; _i < t1; ++_i) J.resolve$1$z(localEntries[_i], disposition); }, resolvePointer$2(pointer, disposition) { var t1 = this._recognizer$_entries, entry = t1.$index(0, pointer); if (entry != null) { t1.remove$1(0, pointer); entry.resolve$1(0, disposition); } }, dispose$0() { var t1, t2, t3, t4, t5, t6, t7, t8, _this = this; _this.resolve$1(0, B.GestureDisposition_1); for (t1 = _this._trackedPointers, t2 = A._instanceType(t1), t3 = new A._HashSetIterator(t1, t1._computeElements$0(), t2._eval$1("_HashSetIterator<1>")), t2 = t2._precomputed1; t3.moveNext$0();) { t4 = t3._collection$_current; if (t4 == null) t4 = t2._as(t4); t5 = $.GestureBinding__instance.GestureBinding_pointerRouter; t6 = _this.get$handleEvent(); t5 = t5._routeMap; t7 = t5.$index(0, t4); t7.toString; t8 = J.getInterceptor$ax(t7); t8.remove$1(t7, t6); if (t8.get$isEmpty(t7)) t5.remove$1(0, t4); } t1.clear$0(0); _this.super$GestureRecognizer$dispose(); }, _addPointerToArena$1(pointer) { var t1 = this._team; if (t1 != null) return t1.add$2(0, pointer, this); return $.GestureBinding__instance.GestureBinding_gestureArena.add$2(0, pointer, this); }, startTrackingPointer$2(pointer, transform) { var _this = this; $.GestureBinding__instance.GestureBinding_pointerRouter.addRoute$3(pointer, _this.get$handleEvent(), transform); _this._trackedPointers.add$1(0, pointer); _this._recognizer$_entries.$indexSet(0, pointer, _this._addPointerToArena$1(pointer)); }, stopTrackingPointer$1(pointer) { var t1 = this._trackedPointers; if (t1.contains$1(0, pointer)) { $.GestureBinding__instance.GestureBinding_pointerRouter.removeRoute$2(pointer, this.get$handleEvent()); t1.remove$1(0, pointer); if (t1._collection$_length === 0) this.didStopTrackingLastPointer$1(pointer); } }, stopTrackingIfPointerNoLongerDown$1($event) { if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event) || type$.PointerPanZoomEndEvent._is($event)) this.stopTrackingPointer$1($event.get$pointer()); } }; A.GestureRecognizerState.prototype = { _enumToString$0() { return "GestureRecognizerState." + this._core$_name; } }; A.PrimaryPointerGestureRecognizer.prototype = { addAllowedPointer$1($event) { var _this = this; _this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); if (_this._recognizer$_state === B.GestureRecognizerState_0) { _this._recognizer$_state = B.GestureRecognizerState_1; _this._primaryPointer = $event.get$pointer(); _this._initialPosition = new A.OffsetPair($event.get$localPosition(), $event.get$position($event)); _this._recognizer$_timer = A.Timer_Timer(_this.deadline, new A.PrimaryPointerGestureRecognizer_addAllowedPointer_closure(_this, $event)); } }, handleNonAllowedPointer$1($event) { if (!this._gestureAccepted) this.super$OneSequenceGestureRecognizer$handleNonAllowedPointer($event); }, handleEvent$1($event) { var isPreAcceptSlopPastTolerance, t1, isPostAcceptSlopPastTolerance, _this = this; if (_this._recognizer$_state === B.GestureRecognizerState_1 && $event.get$pointer() === _this._primaryPointer) { if (!_this._gestureAccepted) isPreAcceptSlopPastTolerance = _this._getGlobalDistance$1($event) > 18; else isPreAcceptSlopPastTolerance = false; if (_this._gestureAccepted) { t1 = _this.postAcceptSlopTolerance; isPostAcceptSlopPastTolerance = t1 != null && _this._getGlobalDistance$1($event) > t1; } else isPostAcceptSlopPastTolerance = false; if (type$.PointerMoveEvent._is($event)) t1 = isPreAcceptSlopPastTolerance || isPostAcceptSlopPastTolerance; else t1 = false; if (t1) { _this.resolve$1(0, B.GestureDisposition_1); t1 = _this._primaryPointer; t1.toString; _this.stopTrackingPointer$1(t1); } else _this.handlePrimaryPointer$1($event); } _this.stopTrackingIfPointerNoLongerDown$1($event); }, didExceedDeadline$0() { }, acceptGesture$1(pointer) { if (pointer === this._primaryPointer) { this._stopTimer$0(); this._gestureAccepted = true; } }, rejectGesture$1(pointer) { var _this = this; if (pointer === _this._primaryPointer && _this._recognizer$_state === B.GestureRecognizerState_1) { _this._stopTimer$0(); _this._recognizer$_state = B.GestureRecognizerState_2; } }, didStopTrackingLastPointer$1(pointer) { var _this = this; _this._stopTimer$0(); _this._recognizer$_state = B.GestureRecognizerState_0; _this._initialPosition = null; _this._gestureAccepted = false; }, dispose$0() { this._stopTimer$0(); this.super$OneSequenceGestureRecognizer$dispose(); }, _stopTimer$0() { var t1 = this._recognizer$_timer; if (t1 != null) { t1.cancel$0(0); this._recognizer$_timer = null; } }, _getGlobalDistance$1($event) { return $event.get$position($event).$sub(0, this._initialPosition.global).get$distance(); } }; A.PrimaryPointerGestureRecognizer_addAllowedPointer_closure.prototype = { call$0() { this.$this.didExceedDeadline$0(); return null; }, $signature: 0 }; A.OffsetPair.prototype = { $add(_, other) { return new A.OffsetPair(this.local.$add(0, other.local), this.global.$add(0, other.global)); }, $sub(_, other) { return new A.OffsetPair(this.local.$sub(0, other.local), this.global.$sub(0, other.global)); }, toString$0(_) { return "OffsetPair(local: " + this.local.toString$0(0) + ", global: " + this.global.toString$0(0) + ")"; } }; A._GestureRecognizer_GestureArenaMember_DiagnosticableTreeMixin.prototype = {}; A._ScaleState.prototype = { _enumToString$0() { return "_ScaleState." + this._core$_name; } }; A._PointerPanZoomData.prototype = { get$focalPoint() { return this._scale$_position.$add(0, this._pan); }, get$scale(_) { return this._scale$_scale; }, toString$0(_) { var _this = this; return "_PointerPanZoomData(parent: " + _this.parent.toString$0(0) + ", _position: " + _this._scale$_position.toString$0(0) + ", _pan: " + _this._pan.toString$0(0) + ", _scale: " + A.S(_this._scale$_scale) + ", _rotation: " + _this._rotation + ")"; } }; A.ScaleStartDetails.prototype = { toString$0(_) { return "ScaleStartDetails(focalPoint: " + this.focalPoint.toString$0(0) + ", localFocalPoint: " + this.localFocalPoint.toString$0(0) + ", pointersCount: " + this.pointerCount + ")"; } }; A.ScaleUpdateDetails.prototype = { toString$0(_) { var _this = this; return "ScaleUpdateDetails(focalPoint: " + _this.focalPoint.toString$0(0) + ", localFocalPoint: " + _this.localFocalPoint.toString$0(0) + ", scale: " + A.S(_this.scale) + ", horizontalScale: " + A.S(_this.horizontalScale) + ", verticalScale: " + A.S(_this.verticalScale) + ", rotation: " + A.S(_this.rotation) + ", pointerCount: " + _this.pointerCount + ", focalPointDelta: " + _this.focalPointDelta.toString$0(0) + ", sourceTimeStamp: " + A.S(_this.sourceTimeStamp) + ")"; } }; A.ScaleEndDetails.prototype = { toString$0(_) { return "ScaleEndDetails(velocity: " + this.velocity.toString$0(0) + ", scaleVelocity: " + A.S(this.scaleVelocity) + ", pointerCount: " + this.pointerCount + ")"; } }; A._LineBetweenPointers.prototype = {}; A.ScaleGestureRecognizer.prototype = { get$_pointerScaleFactor() { var t2, t1 = this.__ScaleGestureRecognizer__initialSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 > 0) { t2 = this.__ScaleGestureRecognizer__currentSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1 = t2 / t1; } else t1 = 1; return t1; }, get$_scaleFactor() { var t1, t2, t3, scale = this.get$_pointerScaleFactor(); for (t1 = this._pointerPanZooms.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; scale *= (t3 == null ? t2._as(t3) : t3).get$scale(0) / this._initialPanZoomScaleFactor; } return scale; }, get$_horizontalScaleFactor() { var t2, scale, t3, _this = this, t1 = _this.__ScaleGestureRecognizer__initialHorizontalSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 > 0) { t2 = _this.__ScaleGestureRecognizer__currentHorizontalSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); scale = t2 / t1; } else scale = 1; for (t1 = _this._pointerPanZooms.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; scale *= (t3 == null ? t2._as(t3) : t3).get$scale(0) / _this._initialPanZoomScaleFactor; } return scale; }, get$_verticalScaleFactor() { var t2, scale, t3, _this = this, t1 = _this.__ScaleGestureRecognizer__initialVerticalSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 > 0) { t2 = _this.__ScaleGestureRecognizer__currentVerticalSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); scale = t2 / t1; } else scale = 1; for (t1 = _this._pointerPanZooms.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; scale *= (t3 == null ? t2._as(t3) : t3).get$scale(0) / _this._initialPanZoomScaleFactor; } return scale; }, _computeRotationFactor$0() { var t2, t3, t4, angle1, factor, _this = this, t1 = _this._initialLine; if (t1 != null && _this._scale$_currentLine != null) { t2 = t1.pointerStartLocation; t1 = t1.pointerEndLocation; t3 = _this._scale$_currentLine; t4 = t3.pointerStartLocation; t3 = t3.pointerEndLocation; angle1 = Math.atan2(t2._dy - t1._dy, t2._dx - t1._dx); factor = Math.atan2(t4._dy - t3._dy, t4._dx - t3._dx) - angle1; } else factor = 0; for (t1 = _this._pointerPanZooms.get$values(0), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; factor += (t3 == null ? t2._as(t3) : t3)._rotation; } return factor - _this._initialPanZoomRotationFactor; }, addAllowedPointer$1($event) { var _this = this; _this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); _this._velocityTrackers.$indexSet(0, $event.get$pointer(), new A.VelocityTracker($event.get$kind($event), A.List_List$filled(20, null, false, type$.nullable__PointAtTime))); _this._initialEventTimestamp = $event.get$timeStamp($event); if (_this._scale$_state === B._ScaleState_0) { _this._scale$_state = B._ScaleState_1; _this.__ScaleGestureRecognizer__currentVerticalSpan_A = _this.__ScaleGestureRecognizer__initialVerticalSpan_A = _this.__ScaleGestureRecognizer__currentHorizontalSpan_A = _this.__ScaleGestureRecognizer__initialHorizontalSpan_A = _this.__ScaleGestureRecognizer__currentSpan_A = _this.__ScaleGestureRecognizer__initialSpan_A = 0; } }, isPointerPanZoomAllowed$1($event) { return true; }, addAllowedPointerPanZoom$1($event) { var _this = this; _this.super$GestureRecognizer$addAllowedPointerPanZoom($event); _this.startTrackingPointer$2($event.get$pointer(), $event.get$transform($event)); _this._velocityTrackers.$indexSet(0, $event.get$pointer(), new A.VelocityTracker($event.get$kind($event), A.List_List$filled(20, null, false, type$.nullable__PointAtTime))); _this._initialEventTimestamp = $event.get$timeStamp($event); if (_this._scale$_state === B._ScaleState_0) { _this._scale$_state = B._ScaleState_1; _this._initialPanZoomScaleFactor = 1; _this._initialPanZoomRotationFactor = 0; } }, handleEvent$1($event) { var t1, didChangeConfiguration, shouldStartIfAccepted, t2, t3, t4, _this = this; if (type$.PointerMoveEvent._is($event)) { t1 = _this._velocityTrackers.$index(0, $event.get$pointer()); t1.toString; if (!$event.get$synthesized()) t1.addPosition$2($event.get$timeStamp($event), $event.get$position($event)); _this._pointerLocations.$indexSet(0, $event.get$pointer(), $event.get$position($event)); _this._lastTransform = $event.get$transform($event); didChangeConfiguration = false; shouldStartIfAccepted = true; } else if (type$.PointerDownEvent._is($event)) { _this._pointerLocations.$indexSet(0, $event.get$pointer(), $event.get$position($event)); _this._pointerQueue.push($event.get$pointer()); _this._lastTransform = $event.get$transform($event); didChangeConfiguration = true; shouldStartIfAccepted = true; } else if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event)) { _this._pointerLocations.remove$1(0, $event.get$pointer()); B.JSArray_methods.remove$1(_this._pointerQueue, $event.get$pointer()); _this._lastTransform = $event.get$transform($event); didChangeConfiguration = true; shouldStartIfAccepted = false; } else if (type$.PointerPanZoomStartEvent._is($event)) { _this._pointerPanZooms.$indexSet(0, $event.get$pointer(), new A._PointerPanZoomData(_this, $event.get$position($event), B.Offset_0_0, 1, 0)); _this._lastTransform = $event.get$transform($event); didChangeConfiguration = true; shouldStartIfAccepted = true; } else if (type$.PointerPanZoomUpdateEvent._is($event)) { if (!$event.get$synthesized() && true) { t1 = _this._velocityTrackers.$index(0, $event.get$pointer()); t1.toString; t1.addPosition$2($event.get$timeStamp($event), $event.get$pan($event)); } _this._pointerPanZooms.$indexSet(0, $event.get$pointer(), new A._PointerPanZoomData(_this, $event.get$position($event), $event.get$pan($event), $event.get$scale($event), $event.get$rotation())); _this._lastTransform = $event.get$transform($event); didChangeConfiguration = false; shouldStartIfAccepted = true; } else { if (type$.PointerPanZoomEndEvent._is($event)) { _this._pointerPanZooms.remove$1(0, $event.get$pointer()); didChangeConfiguration = true; } else didChangeConfiguration = false; shouldStartIfAccepted = false; } t1 = _this._pointerLocations; if (t1.__js_helper$_length < 2) _this._initialLine = _this._scale$_currentLine; else { t2 = _this._initialLine; if (t2 != null) { t3 = _this._pointerQueue; t2 = t2.pointerStartId === t3[0] && t2.pointerEndId === t3[1]; } else t2 = false; t3 = _this._pointerQueue; if (t2) { t2 = t3[0]; t4 = t1.$index(0, t2); t4.toString; t3 = t3[1]; t1 = t1.$index(0, t3); t1.toString; _this._scale$_currentLine = new A._LineBetweenPointers(t4, t2, t1, t3); } else { t2 = t3[0]; t4 = t1.$index(0, t2); t4.toString; t3 = t3[1]; t1 = t1.$index(0, t3); t1.toString; _this._scale$_currentLine = _this._initialLine = new A._LineBetweenPointers(t4, t2, t1, t3); } } _this._update$0(0); if (!didChangeConfiguration || _this._reconfigure$1($event.get$pointer())) _this._advanceStateMachine$2(shouldStartIfAccepted, $event); _this.stopTrackingIfPointerNoLongerDown$1($event); }, _update$0(_) { var t1, t2, t3, focalPoint, t4, t5, t6, count, pointerFocalPoint, totalDeviation, totalHorizontalDeviation, totalVerticalDeviation, t7, t8, _this = this, previousFocalPoint = _this._currentFocalPoint; for (t1 = _this._pointerLocations, t2 = A._instanceType(t1)._precomputed1, t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, t2), focalPoint = B.Offset_0_0; t3.moveNext$0();) { t4 = t1.$index(0, t3.__js_helper$_current); focalPoint = new A.Offset(focalPoint._dx + t4._dx, focalPoint._dy + t4._dy); } for (t3 = _this._pointerPanZooms, t4 = t3.get$values(0), t5 = A._instanceType(t4), t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]), t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f, t5._eval$1("MappedIterator<1,2>")), t5 = t5._rest[1]; t4.moveNext$0();) { t6 = t4.__internal$_current; t6 = (t6 == null ? t5._as(t6) : t6).get$focalPoint(); focalPoint = new A.Offset(focalPoint._dx + t6._dx, focalPoint._dy + t6._dy); } t3 = t3.__js_helper$_length + _this._pointerQueue.length; t3 = t3 > 0 ? focalPoint.$div(0, t3) : B.Offset_0_0; _this._currentFocalPoint = t3; t4 = _this._lastTransform; if (previousFocalPoint == null) { _this.__ScaleGestureRecognizer__localFocalPoint_A = A.PointerEvent_transformPosition(t4, t3); _this.__ScaleGestureRecognizer__delta_A = B.Offset_0_0; } else { t5 = _this.__ScaleGestureRecognizer__localFocalPoint_A; t5 === $ && A.throwUnnamedLateFieldNI(); t3 = A.PointerEvent_transformPosition(t4, t3); _this.__ScaleGestureRecognizer__localFocalPoint_A = t3; _this.__ScaleGestureRecognizer__delta_A = t3.$sub(0, t5); } count = t1.__js_helper$_length; for (t3 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, t2), pointerFocalPoint = B.Offset_0_0; t3.moveNext$0();) { t4 = t1.$index(0, t3.__js_helper$_current); pointerFocalPoint = new A.Offset(pointerFocalPoint._dx + t4._dx, pointerFocalPoint._dy + t4._dy); } t3 = count > 0; if (t3) pointerFocalPoint = pointerFocalPoint.$div(0, count); for (t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications, t2), t4 = pointerFocalPoint._dx, t5 = pointerFocalPoint._dy, totalDeviation = 0, totalHorizontalDeviation = 0, totalVerticalDeviation = 0; t2.moveNext$0();) { t6 = t2.__js_helper$_current; t7 = t1.$index(0, t6); t8 = t4 - t7._dx; t7 = t5 - t7._dy; totalDeviation += Math.sqrt(t8 * t8 + t7 * t7); totalHorizontalDeviation += Math.abs(t4 - t1.$index(0, t6)._dx); totalVerticalDeviation += Math.abs(t5 - t1.$index(0, t6)._dy); } _this.__ScaleGestureRecognizer__currentSpan_A = t3 ? totalDeviation / count : 0; _this.__ScaleGestureRecognizer__currentHorizontalSpan_A = t3 ? totalHorizontalDeviation / count : 0; _this.__ScaleGestureRecognizer__currentVerticalSpan_A = t3 ? totalVerticalDeviation / count : 0; }, _reconfigure$1(pointer) { var velocity, _this = this, t1 = {}, t2 = _this._currentFocalPoint; t2.toString; _this.__ScaleGestureRecognizer__initialFocalPoint_A = t2; t2 = _this.__ScaleGestureRecognizer__currentSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__ScaleGestureRecognizer__initialSpan_A = t2; _this._initialLine = _this._scale$_currentLine; t2 = _this.__ScaleGestureRecognizer__currentHorizontalSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__ScaleGestureRecognizer__initialHorizontalSpan_A = t2; t2 = _this.__ScaleGestureRecognizer__currentVerticalSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); _this.__ScaleGestureRecognizer__initialVerticalSpan_A = t2; t2 = _this._pointerPanZooms; if (t2.__js_helper$_length === 0) { _this._initialPanZoomScaleFactor = 1; _this._initialPanZoomRotationFactor = 0; } else { _this._initialPanZoomScaleFactor = _this.get$_scaleFactor() / _this.get$_pointerScaleFactor(); t2 = t2.get$values(0); _this._initialPanZoomRotationFactor = A.MappedIterable_MappedIterable(t2, new A.ScaleGestureRecognizer__reconfigure_closure(), A._instanceType(t2)._eval$1("Iterable.E"), type$.double).reduce$1(0, new A.ScaleGestureRecognizer__reconfigure_closure0()); } if (_this._scale$_state === B._ScaleState_3) { if (_this.onEnd != null) { velocity = _this._velocityTrackers.$index(0, pointer).getVelocity$0(); t1.velocity = velocity; t2 = velocity.pixelsPerSecond; if (t2.get$distanceSquared() > 2500) { if (t2.get$distanceSquared() > 64000000) t1.velocity = new A.Velocity(t2.$div(0, t2.get$distance()).$mul(0, 8000)); _this.invokeCallback$2("onEnd", new A.ScaleGestureRecognizer__reconfigure_closure1(t1, _this)); } else _this.invokeCallback$2("onEnd", new A.ScaleGestureRecognizer__reconfigure_closure2(_this)); } _this._scale$_state = B._ScaleState_2; _this._scaleVelocityTracker = new A.VelocityTracker(B.PointerDeviceKind_0, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)); return false; } _this._scaleVelocityTracker = new A.VelocityTracker(B.PointerDeviceKind_0, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)); return true; }, _advanceStateMachine$2(shouldStartIfAccepted, $event) { var t2, t3, t4, focalPointDelta, _this = this, t1 = _this._scale$_state; if (t1 === B._ScaleState_0) t1 = _this._scale$_state = B._ScaleState_1; if (t1 === B._ScaleState_1) { t1 = _this.__ScaleGestureRecognizer__currentSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this.__ScaleGestureRecognizer__initialSpan_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this._currentFocalPoint; t3.toString; t4 = _this.__ScaleGestureRecognizer__initialFocalPoint_A; t4 === $ && A.throwUnnamedLateFieldNI(); focalPointDelta = t3.$sub(0, t4).get$distance(); if (Math.abs(t1 - t2) > A.computeScaleSlop($event.get$kind($event)) || focalPointDelta > A.computePanSlop($event.get$kind($event), _this.gestureSettings) || Math.max(_this.get$_scaleFactor() / _this.get$_pointerScaleFactor(), _this.get$_pointerScaleFactor() / _this.get$_scaleFactor()) > 1.05) _this.resolve$1(0, B.GestureDisposition_0); } else if (t1.index >= 2) _this.resolve$1(0, B.GestureDisposition_0); if (_this._scale$_state === B._ScaleState_2 && shouldStartIfAccepted) { _this._initialEventTimestamp = $event.get$timeStamp($event); _this._scale$_state = B._ScaleState_3; _this._dispatchOnStartCallbackIfNeeded$0(); } if (_this._scale$_state === B._ScaleState_3) { t1 = _this._scaleVelocityTracker; if (t1 != null) t1.addPosition$2($event.get$timeStamp($event), new A.Offset(_this.get$_scaleFactor(), 0)); if (_this.onUpdate != null) _this.invokeCallback$2("onUpdate", new A.ScaleGestureRecognizer__advanceStateMachine_closure(_this, $event)); } }, _dispatchOnStartCallbackIfNeeded$0() { var _this = this; if (_this.onStart != null) _this.invokeCallback$2("onStart", new A.ScaleGestureRecognizer__dispatchOnStartCallbackIfNeeded_closure(_this)); _this._initialEventTimestamp = null; }, acceptGesture$1(pointer) { var t1, _this = this; if (_this._scale$_state === B._ScaleState_1) { _this._scale$_state = B._ScaleState_3; _this._dispatchOnStartCallbackIfNeeded$0(); if (_this.dragStartBehavior === B.DragStartBehavior_1) { t1 = _this._currentFocalPoint; t1.toString; _this.__ScaleGestureRecognizer__initialFocalPoint_A = t1; t1 = _this.__ScaleGestureRecognizer__currentSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__ScaleGestureRecognizer__initialSpan_A = t1; _this._initialLine = _this._scale$_currentLine; t1 = _this.__ScaleGestureRecognizer__currentHorizontalSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__ScaleGestureRecognizer__initialHorizontalSpan_A = t1; t1 = _this.__ScaleGestureRecognizer__currentVerticalSpan_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__ScaleGestureRecognizer__initialVerticalSpan_A = t1; t1 = _this._pointerPanZooms; if (t1.__js_helper$_length === 0) { _this._initialPanZoomScaleFactor = 1; _this._initialPanZoomRotationFactor = 0; } else { _this._initialPanZoomScaleFactor = _this.get$_scaleFactor() / _this.get$_pointerScaleFactor(); t1 = t1.get$values(0); _this._initialPanZoomRotationFactor = A.MappedIterable_MappedIterable(t1, new A.ScaleGestureRecognizer_acceptGesture_closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.double).reduce$1(0, new A.ScaleGestureRecognizer_acceptGesture_closure0()); } } } }, rejectGesture$1(pointer) { var _this = this; _this._pointerPanZooms.remove$1(0, pointer); _this._pointerLocations.remove$1(0, pointer); B.JSArray_methods.remove$1(_this._pointerQueue, pointer); _this.stopTrackingPointer$1(pointer); }, didStopTrackingLastPointer$1(pointer) { switch (this._scale$_state.index) { case 1: this.resolve$1(0, B.GestureDisposition_1); break; case 0: break; case 2: break; case 3: break; } this._scale$_state = B._ScaleState_0; }, dispose$0() { this._velocityTrackers.clear$0(0); this.super$OneSequenceGestureRecognizer$dispose(); } }; A.ScaleGestureRecognizer__reconfigure_closure.prototype = { call$1(x) { return x._rotation; }, $signature: 833 }; A.ScaleGestureRecognizer__reconfigure_closure0.prototype = { call$2(a, b) { return a + b; }, $signature: 234 }; A.ScaleGestureRecognizer__reconfigure_closure1.prototype = { call$0() { var t3, t4, t1 = this.$this, t2 = t1.onEnd; t2.toString; t3 = this._box_0.velocity; t4 = t1._scaleVelocityTracker; t4 = t4 == null ? null : t4.getVelocity$0().pixelsPerSecond._dx; if (t4 == null) t4 = -1; return t2.call$1(new A.ScaleEndDetails(t3, t4, t1._pointerPanZooms.__js_helper$_length + t1._pointerQueue.length)); }, $signature: 0 }; A.ScaleGestureRecognizer__reconfigure_closure2.prototype = { call$0() { var t3, t1 = this.$this, t2 = t1.onEnd; t2.toString; t3 = t1._scaleVelocityTracker; t3 = t3 == null ? null : t3.getVelocity$0().pixelsPerSecond._dx; if (t3 == null) t3 = -1; return t2.call$1(new A.ScaleEndDetails(B.Velocity_Offset_0_0, t3, t1._pointerPanZooms.__js_helper$_length + t1._pointerQueue.length)); }, $signature: 0 }; A.ScaleGestureRecognizer__advanceStateMachine_closure.prototype = { call$0() { var t3, t4, t5, t6, t7, t8, t9, t10, t11, t1 = this.$this, t2 = t1.onUpdate; t2.toString; t3 = t1.get$_scaleFactor(); t4 = t1.get$_horizontalScaleFactor(); t5 = t1.get$_verticalScaleFactor(); t6 = t1._currentFocalPoint; t6.toString; t7 = t1.__ScaleGestureRecognizer__localFocalPoint_A; t7 === $ && A.throwUnnamedLateFieldNI(); t8 = t1._computeRotationFactor$0(); t9 = t1._pointerPanZooms.__js_helper$_length; t10 = t1._pointerQueue.length; t1 = t1.__ScaleGestureRecognizer__delta_A; t1 === $ && A.throwUnnamedLateFieldNI(); t11 = this.event; t2.call$1(A.ScaleUpdateDetails$(t6, t1, t4, t7, t9 + t10, t8, t3, t11.get$timeStamp(t11), t5)); }, $signature: 0 }; A.ScaleGestureRecognizer__dispatchOnStartCallbackIfNeeded_closure.prototype = { call$0() { var t3, t4, t5, t1 = this.$this, t2 = t1.onStart; t2.toString; t3 = t1._currentFocalPoint; t3.toString; t4 = t1.__ScaleGestureRecognizer__localFocalPoint_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = t1._pointerPanZooms.__js_helper$_length; t1 = t1._pointerQueue.length; t2.call$1(new A.ScaleStartDetails(t3, t4, t5 + t1)); }, $signature: 0 }; A.ScaleGestureRecognizer_acceptGesture_closure.prototype = { call$1(x) { return x._rotation; }, $signature: 833 }; A.ScaleGestureRecognizer_acceptGesture_closure0.prototype = { call$2(a, b) { return a + b; }, $signature: 234 }; A.TapDownDetails.prototype = {}; A.TapUpDetails.prototype = {}; A.BaseTapGestureRecognizer.prototype = { addAllowedPointer$1($event) { var _this = this; if (_this._recognizer$_state === B.GestureRecognizerState_0) { if (_this._down != null && _this._up != null) _this._tap$_reset$0(); _this._down = $event; } if (_this._down != null) _this.super$PrimaryPointerGestureRecognizer$addAllowedPointer($event); }, startTrackingPointer$2(pointer, transform) { this.super$OneSequenceGestureRecognizer$startTrackingPointer(pointer, transform); }, handlePrimaryPointer$1($event) { var t1, t2, _this = this; if (type$.PointerUpEvent._is($event)) { _this._up = $event; _this._checkUp$0(); } else if (type$.PointerCancelEvent._is($event)) { _this.resolve$1(0, B.GestureDisposition_1); if (_this._sentTapDown) { t1 = _this._down; t1.toString; _this.handleTapCancel$3$cancel$down$reason($event, t1, ""); } _this._tap$_reset$0(); } else { t1 = $event.get$buttons($event); t2 = _this._down; if (t1 !== t2.get$buttons(t2)) { _this.resolve$1(0, B.GestureDisposition_1); t1 = _this._primaryPointer; t1.toString; _this.stopTrackingPointer$1(t1); } } }, resolve$1(_, disposition) { var t1, _this = this; if (_this._wonArenaForPrimaryPointer && disposition === B.GestureDisposition_1) { t1 = _this._down; t1.toString; _this.handleTapCancel$3$cancel$down$reason(null, t1, "spontaneous"); _this._tap$_reset$0(); } _this.super$OneSequenceGestureRecognizer$resolve(0, disposition); }, didExceedDeadline$0() { this._tap$_checkDown$0(); }, acceptGesture$1(pointer) { var _this = this; _this.super$PrimaryPointerGestureRecognizer$acceptGesture(pointer); if (pointer === _this._primaryPointer) { _this._tap$_checkDown$0(); _this._wonArenaForPrimaryPointer = true; _this._checkUp$0(); } }, rejectGesture$1(pointer) { var t1, _this = this; _this.super$PrimaryPointerGestureRecognizer$rejectGesture(pointer); if (pointer === _this._primaryPointer) { if (_this._sentTapDown) { t1 = _this._down; t1.toString; _this.handleTapCancel$3$cancel$down$reason(null, t1, "forced"); } _this._tap$_reset$0(); } }, _tap$_checkDown$0() { var t1, _this = this; if (_this._sentTapDown) return; t1 = _this._down; t1.toString; _this.handleTapDown$1$down(t1); _this._sentTapDown = true; }, _checkUp$0() { var t1, t2, _this = this; if (!_this._wonArenaForPrimaryPointer || _this._up == null) return; t1 = _this._down; t1.toString; t2 = _this._up; t2.toString; _this.handleTapUp$2$down$up(t1, t2); _this._tap$_reset$0(); }, _tap$_reset$0() { var _this = this; _this._wonArenaForPrimaryPointer = _this._sentTapDown = false; _this._down = _this._up = null; } }; A.TapGestureRecognizer.prototype = { isPointerAllowed$1($event) { var _this = this; switch ($event.get$buttons($event)) { case 1: if (_this.onTapDown == null && _this.onTap == null && _this.onTapUp == null && _this.onTapCancel == null) return false; break; case 2: if (_this.onSecondaryTap == null && _this.onSecondaryTapDown == null && _this.onSecondaryTapUp == null && _this.onSecondaryTapCancel == null) return false; break; case 4: return false; break; default: return false; } return _this.super$GestureRecognizer$isPointerAllowed($event); }, handleTapDown$1$down(down) { var details, _this = this, t1 = down.get$position(down), t2 = down.get$localPosition(); _this._pointerToKind.$index(0, down.get$pointer()).toString; details = new A.TapDownDetails(t1, t2); switch (down.get$buttons(down)) { case 1: if (_this.onTapDown != null) _this.invokeCallback$2("onTapDown", new A.TapGestureRecognizer_handleTapDown_closure(_this, details)); break; case 2: if (_this.onSecondaryTapDown != null) _this.invokeCallback$2("onSecondaryTapDown", new A.TapGestureRecognizer_handleTapDown_closure0(_this, details)); break; case 4: break; } }, handleTapUp$2$down$up(down, up) { var t1, t2, details, _this = this; up.get$kind(up); t1 = up.get$position(up); t2 = up.get$localPosition(); details = new A.TapUpDetails(t1, t2); switch (down.get$buttons(down)) { case 1: if (_this.onTapUp != null) _this.invokeCallback$2("onTapUp", new A.TapGestureRecognizer_handleTapUp_closure(_this, details)); t1 = _this.onTap; if (t1 != null) _this.invokeCallback$2("onTap", t1); break; case 2: if (_this.onSecondaryTapUp != null) _this.invokeCallback$2("onSecondaryTapUp", new A.TapGestureRecognizer_handleTapUp_closure0(_this, details)); if (_this.onSecondaryTap != null) _this.invokeCallback$2("onSecondaryTap", new A.TapGestureRecognizer_handleTapUp_closure1(_this)); break; case 4: break; } }, handleTapCancel$3$cancel$down$reason(cancel, down, reason) { var t1, _this = this, note = reason === "" ? reason : reason + " "; switch (down.get$buttons(down)) { case 1: t1 = _this.onTapCancel; if (t1 != null) _this.invokeCallback$2(note + "onTapCancel", t1); break; case 2: t1 = _this.onSecondaryTapCancel; if (t1 != null) _this.invokeCallback$2(note + "onSecondaryTapCancel", t1); break; case 4: break; } } }; A.TapGestureRecognizer_handleTapDown_closure.prototype = { call$0() { return this.$this.onTapDown.call$1(this.details); }, $signature: 0 }; A.TapGestureRecognizer_handleTapDown_closure0.prototype = { call$0() { return this.$this.onSecondaryTapDown.call$1(this.details); }, $signature: 0 }; A.TapGestureRecognizer_handleTapUp_closure.prototype = { call$0() { return this.$this.onTapUp.call$1(this.details); }, $signature: 0 }; A.TapGestureRecognizer_handleTapUp_closure0.prototype = { call$0() { return this.$this.onSecondaryTapUp.call$1(this.details); }, $signature: 0 }; A.TapGestureRecognizer_handleTapUp_closure1.prototype = { call$0() { return this.$this.onSecondaryTap.call$0(); }, $signature: 0 }; A._DragState0.prototype = { _enumToString$0() { return "_DragState." + this._core$_name; } }; A.TapDragDownDetails.prototype = {}; A.TapDragUpDetails.prototype = {}; A.TapDragStartDetails.prototype = {}; A.TapDragUpdateDetails.prototype = {}; A.TapDragEndDetails.prototype = {}; A._TapStatusTrackerMixin.prototype = { handleEvent$1($event) { var computedSlop, t1, _this = this; if (type$.PointerMoveEvent._is($event)) { computedSlop = A.computeHitSlop($event.get$kind($event), _this.gestureSettings); t1 = _this._TapStatusTrackerMixin__originPosition; if ($event.get$position($event).$sub(0, t1.global).get$distance() > computedSlop) { _this._consecutiveTapTimerStop$0(); _this._TapStatusTrackerMixin__lastTapOffset = _this._TapStatusTrackerMixin__previousButtons = null; } } else if (type$.PointerUpEvent._is($event)) { _this._TapStatusTrackerMixin__up = $event; if (_this._TapStatusTrackerMixin__down != null) { _this._consecutiveTapTimerStop$0(); if (_this._TapStatusTrackerMixin__consecutiveTapTimer == null) _this._TapStatusTrackerMixin__consecutiveTapTimer = A.Timer_Timer(B.Duration_300000, _this.get$_consecutiveTapTimerTimeout()); } } else if (type$.PointerCancelEvent._is($event)) _this._tapTrackerReset$0(); }, rejectGesture$1(pointer) { this._tapTrackerReset$0(); }, _hasSameButton$1(buttons) { var t1 = this._TapStatusTrackerMixin__previousButtons; t1.toString; if (buttons === t1) return true; else return false; }, _isWithinConsecutiveTapTolerance$1(secondTapOffset) { var t1 = this._TapStatusTrackerMixin__lastTapOffset; if (t1 == null) return false; return secondTapOffset.$sub(0, t1).get$distance() <= 100; }, _consecutiveTapTimerStop$0() { var t1 = this._TapStatusTrackerMixin__consecutiveTapTimer; if (t1 != null) { t1.cancel$0(0); this._TapStatusTrackerMixin__consecutiveTapTimer = null; } }, _consecutiveTapTimerTimeout$0() { }, _tapTrackerReset$0() { var t1, _this = this; _this._consecutiveTapTimerStop$0(); _this._TapStatusTrackerMixin__lastTapOffset = _this._TapStatusTrackerMixin__originPosition = _this._TapStatusTrackerMixin__previousButtons = null; _this._TapStatusTrackerMixin__consecutiveTapCount = 0; _this._TapStatusTrackerMixin__up = _this._TapStatusTrackerMixin__down = null; t1 = _this._TapStatusTrackerMixin_onTapTrackReset; if (t1 != null) t1.call$0(); } }; A.BaseTapAndDragGestureRecognizer.prototype = { _handleDragUpdateThrottled$0() { var _this = this; if (_this.onDragUpdate != null) _this.invokeCallback$2("onDragUpdate", new A.BaseTapAndDragGestureRecognizer__handleDragUpdateThrottled_closure(_this)); _this._lastDragUpdateDetails = _this._dragUpdateThrottleTimer = null; }, isPointerAllowed$1($event) { var _this = this; if (_this._tap_and_drag$_primaryPointer == null) switch ($event.get$buttons($event)) { case 1: if (_this.onTapDown == null && _this.onDragStart == null && _this.onDragUpdate == null && _this.onDragEnd == null && _this.onTapUp == null && _this.onCancel == null) return false; break; default: return false; } else if ($event.get$pointer() !== _this._tap_and_drag$_primaryPointer) return false; return _this.super$GestureRecognizer$isPointerAllowed($event); }, addAllowedPointer$1($event) { var t1, _this = this; if (_this._dragState === B._DragState_00) { _this.super$_BaseTapAndDragGestureRecognizer_OneSequenceGestureRecognizer__TapStatusTrackerMixin$addAllowedPointer($event); _this._tap_and_drag$_primaryPointer = $event.get$pointer(); _this.__BaseTapAndDragGestureRecognizer__globalDistanceMovedAllAxes_A = _this.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A = 0; _this._dragState = B._DragState_10; t1 = $event.get$position($event); _this.__BaseTapAndDragGestureRecognizer__initialPosition_A = new A.OffsetPair($event.get$localPosition(), t1); _this._deadlineTimer = A.Timer_Timer(B.Duration_100000, new A.BaseTapAndDragGestureRecognizer_addAllowedPointer_closure(_this, $event)); } }, handleNonAllowedPointer$1($event) { if ($event.get$buttons($event) !== 1) if (!this._tap_and_drag$_wonArenaForPrimaryPointer) this.super$OneSequenceGestureRecognizer$handleNonAllowedPointer($event); }, acceptGesture$1(pointer) { var t1, _this = this; if (pointer !== _this._tap_and_drag$_primaryPointer) return; _this._stopDeadlineTimer$0(); _this._tap_and_drag$_acceptedActivePointers.add$1(0, pointer); t1 = _this._TapStatusTrackerMixin__down; if (t1 != null) _this._checkTapDown$1(t1); _this._tap_and_drag$_wonArenaForPrimaryPointer = true; t1 = _this._tap_and_drag$_start; if (t1 != null) _this._acceptDrag$1(t1); t1 = _this._TapStatusTrackerMixin__up; if (t1 != null) _this._checkTapUp$1(t1); }, didStopTrackingLastPointer$1(pointer) { var t1, _this = this; switch (_this._dragState.index) { case 0: _this._tap_and_drag$_checkCancel$0(); _this.resolve$1(0, B.GestureDisposition_1); break; case 1: if (_this._pastSlopTolerance) if (_this._tap_and_drag$_wonArenaForPrimaryPointer) { if (_this._TapStatusTrackerMixin__down != null) { if (!_this._tap_and_drag$_acceptedActivePointers.remove$1(0, pointer)) _this.resolvePointer$2(pointer, B.GestureDisposition_1); _this._dragState = B._DragState_20; t1 = _this._TapStatusTrackerMixin__down; t1.toString; _this._acceptDrag$1(t1); _this._checkDragEnd$0(); } } else { _this._tap_and_drag$_checkCancel$0(); _this.resolve$1(0, B.GestureDisposition_1); } else { t1 = _this._TapStatusTrackerMixin__up; if (t1 != null) _this._checkTapUp$1(t1); } break; case 2: _this._checkDragEnd$0(); break; } _this._stopDeadlineTimer$0(); _this._dragState = B._DragState_00; _this._pastSlopTolerance = false; }, handleEvent$1($event) { var computedSlop, t1, localToGlobalTransform, movedLocally, t2, t3, _this = this; if ($event.get$pointer() !== _this._tap_and_drag$_primaryPointer) return; _this.super$_TapStatusTrackerMixin$handleEvent($event); if (type$.PointerMoveEvent._is($event)) { computedSlop = A.computeHitSlop($event.get$kind($event), _this.gestureSettings); if (!_this._pastSlopTolerance) { t1 = _this.__BaseTapAndDragGestureRecognizer__initialPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = $event.get$position($event).$sub(0, t1.global).get$distance() > computedSlop; } else t1 = true; _this._pastSlopTolerance = t1; t1 = _this._dragState; if (t1 === B._DragState_20) _this._checkDragUpdate$1($event); else if (t1 === B._DragState_10) { if (_this._tap_and_drag$_start == null) { if ($event.get$transform($event) == null) localToGlobalTransform = null; else { t1 = $event.get$transform($event); t1.toString; localToGlobalTransform = A.Matrix4_tryInvert(t1); } movedLocally = _this._tap_and_drag$_getDeltaForDetails$1($event.get$localDelta()); t1 = _this.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = A.PointerEvent_transformDeltaViaPositions(localToGlobalTransform, null, movedLocally, $event.get$localPosition()).get$distance(); t3 = _this._tap_and_drag$_getPrimaryValueFromOffset$1(movedLocally); _this.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A = t1 + t2 * J.get$sign$in(t3 == null ? 1 : t3); t1 = _this.__BaseTapAndDragGestureRecognizer__globalDistanceMovedAllAxes_A; t1 === $ && A.throwUnnamedLateFieldNI(); _this.__BaseTapAndDragGestureRecognizer__globalDistanceMovedAllAxes_A = t1 + A.PointerEvent_transformDeltaViaPositions(localToGlobalTransform, null, $event.get$localDelta(), $event.get$localPosition()).get$distance() * B.JSInt_methods.get$sign(1); if (!_this._tap_and_drag$_hasSufficientGlobalDistanceToAccept$1($event.get$kind($event))) t1 = _this._tap_and_drag$_wonArenaForPrimaryPointer && Math.abs(_this.__BaseTapAndDragGestureRecognizer__globalDistanceMovedAllAxes_A) > A.computePanSlop($event.get$kind($event), _this.gestureSettings); else t1 = true; if (t1) { _this._tap_and_drag$_start = $event; _this._dragState = B._DragState_20; if (!_this._tap_and_drag$_wonArenaForPrimaryPointer) _this.resolve$1(0, B.GestureDisposition_0); } } t1 = _this._tap_and_drag$_start; if (t1 != null) _this._acceptDrag$1(t1); } } else if (type$.PointerUpEvent._is($event)) { t1 = _this._dragState; if (t1 === B._DragState_10) _this.stopTrackingIfPointerNoLongerDown$1($event); else if (t1 === B._DragState_20) _this._tap_and_drag$_giveUpPointer$1($event.get$pointer()); } else if (type$.PointerCancelEvent._is($event)) { _this._dragState = B._DragState_00; _this._tap_and_drag$_giveUpPointer$1($event.get$pointer()); } }, rejectGesture$1(pointer) { var _this = this; if (pointer !== _this._tap_and_drag$_primaryPointer) return; _this.super$_TapStatusTrackerMixin$rejectGesture(pointer); _this._stopDeadlineTimer$0(); _this._tap_and_drag$_giveUpPointer$1(pointer); _this._resetTaps$0(); _this._resetDragUpdateThrottle$0(); }, dispose$0() { this._stopDeadlineTimer$0(); this._resetDragUpdateThrottle$0(); this.super$_BaseTapAndDragGestureRecognizer_OneSequenceGestureRecognizer__TapStatusTrackerMixin$dispose(); }, _acceptDrag$1($event) { var t1, t2, localToGlobal, correctedLocalPosition, globalUpdateDelta, _this = this; if (!_this._tap_and_drag$_wonArenaForPrimaryPointer) return; if (_this.dragStartBehavior === B.DragStartBehavior_1) { t1 = _this.__BaseTapAndDragGestureRecognizer__initialPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = $event.get$delta(); _this.__BaseTapAndDragGestureRecognizer__initialPosition_A = t1.$add(0, new A.OffsetPair($event.get$localDelta(), t2)); } _this._checkDragStart$1($event); if (!$event.get$localDelta().$eq(0, B.Offset_0_0)) { if ($event.get$transform($event) != null) { t1 = $event.get$transform($event); t1.toString; localToGlobal = A.Matrix4_tryInvert(t1); } else localToGlobal = null; t1 = _this.__BaseTapAndDragGestureRecognizer__initialPosition_A; t1 === $ && A.throwUnnamedLateFieldNI(); correctedLocalPosition = t1.local.$add(0, $event.get$localDelta()); globalUpdateDelta = A.PointerEvent_transformDeltaViaPositions(localToGlobal, null, $event.get$localDelta(), correctedLocalPosition); t1 = $event.get$localDelta(); _this._correctedPosition = _this.__BaseTapAndDragGestureRecognizer__initialPosition_A.$add(0, new A.OffsetPair(t1, globalUpdateDelta)); _this._checkDragUpdate$1($event); _this._correctedPosition = null; } }, _checkTapDown$1($event) { var t1, t2, t3, t4, _this = this; if (_this._tap_and_drag$_sentTapDown) return; t1 = $event.get$position($event); t2 = $event.get$localPosition(); t3 = _this._pointerToKind.$index(0, $event.get$pointer()); t3.toString; t4 = _this._TapStatusTrackerMixin__consecutiveTapCount; if (_this.onTapDown != null) _this.invokeCallback$2("onTapDown", new A.BaseTapAndDragGestureRecognizer__checkTapDown_closure(_this, new A.TapDragDownDetails(t1, t2, t3, t4))); _this._tap_and_drag$_sentTapDown = true; }, _checkTapUp$1($event) { var t1, t2, t3, t4, _this = this; if (!_this._tap_and_drag$_wonArenaForPrimaryPointer) return; t1 = $event.get$kind($event); t2 = $event.get$position($event); t3 = $event.get$localPosition(); t4 = _this._TapStatusTrackerMixin__consecutiveTapCount; if (_this.onTapUp != null) _this.invokeCallback$2("onTapUp", new A.BaseTapAndDragGestureRecognizer__checkTapUp_closure(_this, new A.TapDragUpDetails(t2, t3, t1, t4))); _this._resetTaps$0(); if (!_this._tap_and_drag$_acceptedActivePointers.remove$1(0, $event.get$pointer())) _this.resolvePointer$2($event.get$pointer(), B.GestureDisposition_1); }, _checkDragStart$1($event) { var t1, t2, t3, _this = this; if (_this.onDragStart != null) { t1 = $event.get$timeStamp($event); t2 = _this.__BaseTapAndDragGestureRecognizer__initialPosition_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this._pointerToKind.$index(0, $event.get$pointer()); t3.toString; _this.invokeCallback$2("onDragStart", new A.BaseTapAndDragGestureRecognizer__checkDragStart_closure(_this, new A.TapDragStartDetails(t1, t2.global, t2.local, t3, _this._TapStatusTrackerMixin__consecutiveTapCount))); } _this._tap_and_drag$_start = null; }, _checkDragUpdate$1($event) { var localPosition, t2, t3, t4, t5, t6, _this = this, t1 = _this._correctedPosition, globalPosition = t1 != null ? t1.global : $event.get$position($event); t1 = _this._correctedPosition; localPosition = t1 != null ? t1.local : $event.get$localPosition(); t1 = $event.get$timeStamp($event); t2 = $event.get$localDelta(); t3 = _this._pointerToKind.$index(0, $event.get$pointer()); t3.toString; t4 = _this.__BaseTapAndDragGestureRecognizer__initialPosition_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = globalPosition.$sub(0, t4.global); t5 = localPosition.$sub(0, _this.__BaseTapAndDragGestureRecognizer__initialPosition_A.local); t6 = _this._TapStatusTrackerMixin__consecutiveTapCount; if (_this.onDragUpdate != null) _this.invokeCallback$2("onDragUpdate", new A.BaseTapAndDragGestureRecognizer__checkDragUpdate_closure(_this, new A.TapDragUpdateDetails(t1, t2, globalPosition, localPosition, t3, t4, t5, t6))); }, _checkDragEnd$0() { var _this = this, t1 = _this._dragUpdateThrottleTimer; if (t1 != null) { t1.cancel$0(0); _this._handleDragUpdateThrottled$0(); } t1 = _this._TapStatusTrackerMixin__consecutiveTapCount; if (_this.onDragEnd != null) _this.invokeCallback$2("onDragEnd", new A.BaseTapAndDragGestureRecognizer__checkDragEnd_closure(_this, new A.TapDragEndDetails(0, t1))); _this._resetTaps$0(); _this._resetDragUpdateThrottle$0(); }, _tap_and_drag$_checkCancel$0() { var t1, _this = this; if (!_this._tap_and_drag$_sentTapDown) return; t1 = _this.onCancel; if (t1 != null) _this.invokeCallback$2("onCancel", t1); _this._resetDragUpdateThrottle$0(); _this._resetTaps$0(); }, _tap_and_drag$_giveUpPointer$1(pointer) { this.stopTrackingPointer$1(pointer); if (!this._tap_and_drag$_acceptedActivePointers.remove$1(0, pointer)) this.resolvePointer$2(pointer, B.GestureDisposition_1); }, _resetTaps$0() { this._tap_and_drag$_wonArenaForPrimaryPointer = this._tap_and_drag$_sentTapDown = false; this._tap_and_drag$_primaryPointer = null; }, _resetDragUpdateThrottle$0() { return; }, _stopDeadlineTimer$0() { var t1 = this._deadlineTimer; if (t1 != null) { t1.cancel$0(0); this._deadlineTimer = null; } } }; A.BaseTapAndDragGestureRecognizer__handleDragUpdateThrottled_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.onDragUpdate; t2.toString; t1 = t1._lastDragUpdateDetails; t1.toString; return t2.call$1(t1); }, $signature: 0 }; A.BaseTapAndDragGestureRecognizer_addAllowedPointer_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._TapStatusTrackerMixin__down; if (t2 != null) { t1._checkTapDown$1(t2); if (t1._TapStatusTrackerMixin__consecutiveTapCount > 1) t1.resolve$1(0, B.GestureDisposition_0); } return null; }, $signature: 0 }; A.BaseTapAndDragGestureRecognizer__checkTapDown_closure.prototype = { call$0() { return this.$this.onTapDown.call$1(this.details); }, $signature: 0 }; A.BaseTapAndDragGestureRecognizer__checkTapUp_closure.prototype = { call$0() { return this.$this.onTapUp.call$1(this.upDetails); }, $signature: 0 }; A.BaseTapAndDragGestureRecognizer__checkDragStart_closure.prototype = { call$0() { return this.$this.onDragStart.call$1(this.details); }, $signature: 0 }; A.BaseTapAndDragGestureRecognizer__checkDragUpdate_closure.prototype = { call$0() { return this.$this.onDragUpdate.call$1(this.details); }, $signature: 0 }; A.BaseTapAndDragGestureRecognizer__checkDragEnd_closure.prototype = { call$0() { return this.$this.onDragEnd.call$1(this.endDetails); }, $signature: 0 }; A.TapAndHorizontalDragGestureRecognizer.prototype = { _tap_and_drag$_hasSufficientGlobalDistanceToAccept$1(pointerDeviceKind) { var t1 = this.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); return Math.abs(t1) > A.computeHitSlop(pointerDeviceKind, this.gestureSettings); }, _tap_and_drag$_getDeltaForDetails$1(delta) { return new A.Offset(delta._dx, 0); }, _tap_and_drag$_getPrimaryValueFromOffset$1(value) { return value._dx; } }; A.TapAndPanGestureRecognizer.prototype = { _tap_and_drag$_hasSufficientGlobalDistanceToAccept$1(pointerDeviceKind) { var t1 = this.__BaseTapAndDragGestureRecognizer__globalDistanceMoved_A; t1 === $ && A.throwUnnamedLateFieldNI(); return Math.abs(t1) > A.computePanSlop(pointerDeviceKind, this.gestureSettings); }, _tap_and_drag$_getDeltaForDetails$1(delta) { return delta; }, _tap_and_drag$_getPrimaryValueFromOffset$1(value) { return null; } }; A._BaseTapAndDragGestureRecognizer_OneSequenceGestureRecognizer__TapStatusTrackerMixin.prototype = { addAllowedPointer$1($event) { var t1, _this = this; _this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); t1 = _this._TapStatusTrackerMixin__consecutiveTapTimer; if (t1 != null && t1._handle == null) _this._tapTrackerReset$0(); _this._TapStatusTrackerMixin__up = null; if (_this._TapStatusTrackerMixin__down != null) t1 = !(_this._TapStatusTrackerMixin__consecutiveTapTimer != null && _this._isWithinConsecutiveTapTolerance$1($event.get$position($event)) && _this._hasSameButton$1($event.get$buttons($event))); else t1 = false; if (t1) _this._TapStatusTrackerMixin__consecutiveTapCount = 1; else ++_this._TapStatusTrackerMixin__consecutiveTapCount; _this._consecutiveTapTimerStop$0(); _this._TapStatusTrackerMixin__down = $event; _this._TapStatusTrackerMixin__previousButtons = $event.get$buttons($event); _this._TapStatusTrackerMixin__lastTapOffset = $event.get$position($event); _this._TapStatusTrackerMixin__originPosition = new A.OffsetPair($event.get$localPosition(), $event.get$position($event)); t1 = _this._TapStatusTrackerMixin_onTapTrackStart; if (t1 != null) t1.call$0(); }, dispose$0() { this._tapTrackerReset$0(); this.super$OneSequenceGestureRecognizer$dispose(); } }; A._TapDragDownDetails_Object_Diagnosticable.prototype = {}; A._TapDragEndDetails_Object_Diagnosticable.prototype = {}; A._TapDragStartDetails_Object_Diagnosticable.prototype = {}; A._TapDragUpDetails_Object_Diagnosticable.prototype = {}; A._TapDragUpdateDetails_Object_Diagnosticable.prototype = {}; A._CombiningGestureArenaEntry.prototype = { resolve$1(_, disposition) { this._combiner._team$_resolve$2(this._team$_member, disposition); }, $isGestureArenaEntry: 1 }; A._CombiningGestureArenaMember.prototype = { acceptGesture$1(pointer) { var t1, t2, _i, member, _this = this; _this._team$_close$0(); if (_this._winner == null) { t1 = _this._team$_owner.captain; _this._winner = t1 == null ? _this._members[0] : t1; } for (t1 = _this._members, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { member = t1[_i]; if (member !== _this._winner) member.rejectGesture$1(pointer); } _this._winner.acceptGesture$1(pointer); }, rejectGesture$1(pointer) { var t1, t2, _i; this._team$_close$0(); for (t1 = this._members, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].rejectGesture$1(pointer); }, _team$_close$0() { this._resolved = true; this._team$_owner._combiners.remove$1(0, this._team$_pointer); }, _team$_resolve$2(member, disposition) { var t1, _this = this; if (_this._resolved) return; if (disposition === B.GestureDisposition_1) { t1 = _this._members; B.JSArray_methods.remove$1(t1, member); member.rejectGesture$1(_this._team$_pointer); if (t1.length === 0) { t1 = _this._entry; t1._arena._resolve$3(t1._arena$_pointer, t1._member, disposition); } } else { if (_this._winner == null) { t1 = _this._team$_owner.captain; _this._winner = t1 == null ? member : t1; } t1 = _this._entry; t1._arena._resolve$3(t1._arena$_pointer, t1._member, disposition); } } }; A.GestureArenaTeam.prototype = { add$2(_, pointer, member) { var combiner = this._combiners.putIfAbsent$2(0, pointer, new A.GestureArenaTeam_add_closure(this, pointer)); combiner._members.push(member); if (combiner._entry == null) combiner._entry = $.GestureBinding__instance.GestureBinding_gestureArena.add$2(0, pointer, combiner); return new A._CombiningGestureArenaEntry(combiner, member); } }; A.GestureArenaTeam_add_closure.prototype = { call$0() { return new A._CombiningGestureArenaMember(this.$this, A._setArrayType([], type$.JSArray_GestureArenaMember), this.pointer); }, $signature: 2711 }; A.Velocity.prototype = { $sub(_, other) { return new A.Velocity(this.pixelsPerSecond.$sub(0, other.pixelsPerSecond)); }, $add(_, other) { return new A.Velocity(this.pixelsPerSecond.$add(0, other.pixelsPerSecond)); }, clampMagnitude$2(minValue, maxValue) { var t1 = this.pixelsPerSecond, valueSquared = t1.get$distanceSquared(); if (valueSquared > maxValue * maxValue) return new A.Velocity(t1.$div(0, t1.get$distance()).$mul(0, maxValue)); if (valueSquared < minValue * minValue) return new A.Velocity(t1.$div(0, t1.get$distance()).$mul(0, minValue)); return this; }, $eq(_, other) { if (other == null) return false; return other instanceof A.Velocity && other.pixelsPerSecond.$eq(0, this.pixelsPerSecond); }, get$hashCode(_) { var t1 = this.pixelsPerSecond; return A.Object_hash(t1._dx, t1._dy, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t1 = this.pixelsPerSecond; return "Velocity(" + B.JSNumber_methods.toStringAsFixed$1(t1._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(t1._dy, 1) + ")"; } }; A.VelocityEstimate.prototype = { toString$0(_) { var _this = this, t1 = _this.pixelsPerSecond; return "VelocityEstimate(" + B.JSNumber_methods.toStringAsFixed$1(t1._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(t1._dy, 1) + "; offset: " + _this.offset.toString$0(0) + ", duration: " + _this.duration.toString$0(0) + ", confidence: " + B.JSNumber_methods.toStringAsFixed$1(_this.confidence, 1) + ")"; } }; A._PointAtTime.prototype = { toString$0(_) { return "_PointAtTime(" + this.point.toString$0(0) + " at " + this.time.toString$0(0) + ")"; } }; A.VelocityTracker.prototype = { get$_sinceLastSample() { var t1 = this._stopwatch; if (t1 == null) { $.GestureBinding__instance.toString; $.$get$Stopwatch__frequency(); t1 = this._stopwatch = new A.Stopwatch(); } return t1; }, addPosition$2(time, position) { var t1, _this = this; _this.get$_sinceLastSample().start$0(0); _this.get$_sinceLastSample().reset$0(0); t1 = ++_this._velocity_tracker$_index; if (t1 === 20) t1 = _this._velocity_tracker$_index = 0; _this._samples[t1] = new A._PointAtTime(time, position); }, getVelocityEstimate$0() { var t1, x, y, w, time, index, newestSample, t2, oldestSample, previousSample, sampleCount, sample, t3, age, position, xFit, yFit, t4, t5; if (this.get$_sinceLastSample().get$elapsedMilliseconds() > 40) return B.VelocityEstimate_MMm; t1 = type$.JSArray_double; x = A._setArrayType([], t1); y = A._setArrayType([], t1); w = A._setArrayType([], t1); time = A._setArrayType([], t1); index = this._velocity_tracker$_index; t1 = this._samples; newestSample = t1[index]; if (newestSample == null) return null; t2 = newestSample.time._duration; oldestSample = newestSample; previousSample = oldestSample; sampleCount = 0; do { sample = t1[index]; if (sample == null) break; t3 = sample.time._duration; age = (t2 - t3) / 1000; if (age > 100 || Math.abs(t3 - previousSample.time._duration) / 1000 > 40) break; position = sample.point; x.push(position._dx); y.push(position._dy); w.push(1); time.push(-age); index = (index === 0 ? 20 : index) - 1; ++sampleCount; if (sampleCount < 20) { oldestSample = sample; previousSample = oldestSample; continue; } else { oldestSample = sample; break; } } while (true); if (sampleCount >= 3) { xFit = new A.LeastSquaresSolver(time, x, w).solve$1(2); if (xFit != null) { yFit = new A.LeastSquaresSolver(time, y, w).solve$1(2); if (yFit != null) { t1 = xFit.coefficients[1]; t3 = yFit.coefficients[1]; t4 = xFit.__PolynomialFit_confidence_A; t4 === $ && A.throwUnnamedLateFieldNI(); t5 = yFit.__PolynomialFit_confidence_A; t5 === $ && A.throwUnnamedLateFieldNI(); return new A.VelocityEstimate(new A.Offset(t1 * 1000, t3 * 1000), t4 * t5, new A.Duration(t2 - oldestSample.time._duration), newestSample.point.$sub(0, oldestSample.point)); } } } return new A.VelocityEstimate(B.Offset_0_0, 1, new A.Duration(t2 - oldestSample.time._duration), newestSample.point.$sub(0, oldestSample.point)); }, getVelocity$0() { var estimate = this.getVelocityEstimate$0(); if (estimate == null || estimate.pixelsPerSecond.$eq(0, B.Offset_0_0)) return B.Velocity_Offset_0_0; return new A.Velocity(estimate.pixelsPerSecond); } }; A.IOSScrollViewFlingVelocityTracker.prototype = { addPosition$2(time, position) { var t1, _this = this; _this.get$_sinceLastSample().start$0(0); _this.get$_sinceLastSample().reset$0(0); t1 = (_this._velocity_tracker$_index + 1) % 20; _this._velocity_tracker$_index = t1; _this._touchSamples[t1] = new A._PointAtTime(time, position); }, _previousVelocityAt$1(index) { var end, start, t1 = this._velocity_tracker$_index + index, endIndex = B.JSInt_methods.$mod(t1, 20), startIndex = B.JSInt_methods.$mod(t1 - 1, 20); t1 = this._touchSamples; end = t1[endIndex]; start = t1[startIndex]; if (end == null || start == null) return B.Offset_0_0; t1 = end.time._duration - start.time._duration; return t1 > 0 ? end.point.$sub(0, start.point).$mul(0, 1000).$div(0, t1 / 1000) : B.Offset_0_0; }, getVelocityEstimate$0() { var estimatedVelocity, t1, t2, newestSample, oldestNonNullSample, i, _this = this; if (_this.get$_sinceLastSample().get$elapsedMilliseconds() > 40) return B.VelocityEstimate_MMm; estimatedVelocity = _this._previousVelocityAt$1(-2).$mul(0, 0.6).$add(0, _this._previousVelocityAt$1(-1).$mul(0, 0.35)).$add(0, _this._previousVelocityAt$1(0).$mul(0, 0.05)); t1 = _this._touchSamples; t2 = _this._velocity_tracker$_index; newestSample = t1[t2]; for (oldestNonNullSample = null, i = 1; i <= 20; ++i) { oldestNonNullSample = t1[B.JSInt_methods.$mod(t2 + i, 20)]; if (oldestNonNullSample != null) break; } if (oldestNonNullSample == null || newestSample == null) return B.VelocityEstimate_MMm0; else return new A.VelocityEstimate(estimatedVelocity, 1, new A.Duration(newestSample.time._duration - oldestNonNullSample.time._duration), newestSample.point.$sub(0, oldestNonNullSample.point)); } }; A.MacOSScrollViewFlingVelocityTracker.prototype = { getVelocityEstimate$0() { var estimatedVelocity, t1, t2, newestSample, oldestNonNullSample, i, _this = this; if (_this.get$_sinceLastSample().get$elapsedMilliseconds() > 40) return B.VelocityEstimate_MMm; estimatedVelocity = _this._previousVelocityAt$1(-2).$mul(0, 0.15).$add(0, _this._previousVelocityAt$1(-1).$mul(0, 0.65)).$add(0, _this._previousVelocityAt$1(0).$mul(0, 0.2)); t1 = _this._touchSamples; t2 = _this._velocity_tracker$_index; newestSample = t1[t2]; for (oldestNonNullSample = null, i = 1; i <= 20; ++i) { oldestNonNullSample = t1[B.JSInt_methods.$mod(t2 + i, 20)]; if (oldestNonNullSample != null) break; } if (oldestNonNullSample == null || newestSample == null) return B.VelocityEstimate_MMm0; else return new A.VelocityEstimate(estimatedVelocity, 1, new A.Duration(newestSample.time._duration - oldestNonNullSample.time._duration), newestSample.point.$sub(0, oldestNonNullSample.point)); } }; A.showLicensePage_closure.prototype = { call$1(context) { var _this = this; return new A.LicensePage(_this.applicationName, _this.applicationVersion, _this.applicationIcon, _this.applicationLegalese, null); }, $signature: 2713 }; A.LicensePage.prototype = { createState$0() { return new A._LicensePageState(new A.ValueNotifier(null, $.$get$ChangeNotifier__emptyListeners(), type$.ValueNotifier_nullable_int), B._StateLifecycle_0); } }; A._LicensePageState.prototype = { dispose$0() { var t1 = this.selectedId; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; this.super$State$dispose(); }, build$1(context) { var _null = null, t1 = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 720 ? 24 : 12, t2 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t2.toString; return new A._MasterDetailFlow(this.get$_packagesView(), this.get$_packageLicensePage(), t1, A.Text$(t2.get$licensesPageTitle(), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null); }, _packageLicensePage$3(_, args, scrollController) { args.toString; type$._DetailArguments._as(args); return new A._PackageLicensePage(args.packageName, args.licenseEntries, scrollController, null); }, _packagesView$2(_, isLateral) { var t1 = this._widget, t2 = t1.applicationName, t3 = t1.applicationIcon, t4 = t1.applicationVersion; return new A._PackagesView(new A._AboutProgram(t2, t4, t3, t1.applicationLegalese, null), isLateral, this.selectedId, null); } }; A._AboutProgram.prototype = { build$1(context) { var _this = this, _null = null, t1 = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 720 ? 24 : 12, t2 = A._setArrayType([A.Text$(_this.name, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.headlineSmall, B.TextAlign_2, _null, _null)], type$.JSArray_Widget), t3 = _this.icon; if (t3 != null) t2.push(A.IconTheme$(t3, A.Theme_of(context).iconTheme, _null)); t3 = _this.version; if (t3 !== "") t2.push(new A.Padding(B.EdgeInsets_0_0_0_18, A.Text$(t3, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.bodyMedium, B.TextAlign_2, _null, _null), _null)); t3 = _this.legalese; if (t3 !== "") t2.push(A.Text$(t3, _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.bodySmall, B.TextAlign_2, _null, _null)); t2.push(B.SizedBox_null_18_null_null); t2.push(A.Text$("Powered by Flutter", _null, _null, _null, _null, _null, A.Theme_of(context).textTheme.bodyMedium, B.TextAlign_2, _null, _null)); return new A.Padding(new A.EdgeInsets(t1, 24, t1, 24), A.Column$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null); } }; A._PackagesView.prototype = { createState$0() { return A._PackagesViewState$(); } }; A._PackagesViewState.prototype = { build$1(context) { return A.FutureBuilder$(new A._PackagesViewState_build_closure(this), this.licenses, type$._LicenseData); }, _initDefaultDetailPage$2(data, context) { var t2, packageName, t1 = data.packages; if (t1.length === 0) return; t2 = this._widget.selectedId._change_notifier$_value; packageName = t1[t2 == null ? 0 : t2]; t1 = data.packageLicenseBindings.$index(0, packageName); t1.toString; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,LicenseEntry>"); A._MasterDetailFlow_of(context)._pageOpener.setInitialDetailPage$1(new A._DetailArguments(packageName, A.List_List$of(new A.MappedListIterable(t1, new A._PackagesViewState__initDefaultDetailPage_closure(data), t2), false, t2._eval$1("ListIterable.E")))); }, _packagesList$4(context, selectedId, data, drawSelection) { var _null = null; return A.ListView$builder(_null, new A._PackagesViewState__packagesList_closure(this, data, drawSelection, selectedId), data.packages.length + 1, _null, _null, _null, B.Axis_1, false); } }; A._PackagesViewState_licenses_closure.prototype = { call$2(prev, license) { prev.addLicense$1(license); return prev; }, $signature: 2734 }; A._PackagesViewState_licenses_closure0.prototype = { call$1(licenseData) { licenseData.sortPackages$0(); return licenseData; }, $signature: 2756 }; A._PackagesViewState_build_closure.prototype = { call$2(context, snapshot) { return new A.LayoutBuilder(new A._PackagesViewState_build__closure(this.$this, snapshot), new A.ValueKey(snapshot.connectionState, type$.ValueKey_ConnectionState)); }, $signature: 2757 }; A._PackagesViewState_build__closure.prototype = { call$2(context, constraints) { var t2, t3, _null = null, t1 = this.snapshot; switch (t1.connectionState.index) { case 3: t2 = t1.error; if (t2 != null) return A.Center$(A.Text$(J.toString$0$(t2), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); t2 = this.$this; t3 = t1.data; t3.toString; t2._initDefaultDetailPage$2(t3, context); return new A.ValueListenableBuilder(t2._widget.selectedId, new A._PackagesViewState_build___closure(t2, t1), _null, _null, type$.ValueListenableBuilder_nullable_int); case 0: case 2: case 1: t1 = A.Theme_of(context); return A.Material$(B.Duration_200000, true, _null, A.Column$(A._setArrayType([this.$this._widget.about, B.Center_oER], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, t1.cardColor, 0, _null, _null, _null, _null, _null, B.MaterialType_0); } }, $signature: 238 }; A._PackagesViewState_build___closure.prototype = { call$3(context, selectedId, _) { var _null = null, t1 = A.Theme_of(context), t2 = A.BoxConstraints$loose(B.Size_UW6), t3 = this.$this, t4 = this.snapshot.data; t4.toString; return A.Center$(A.Material$(B.Duration_200000, true, _null, A.Container$(_null, t3._packagesList$4(context, selectedId, t4, t3._widget.isLateral), B.Clip_0, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, t1.cardColor, 4, _null, _null, _null, _null, _null, B.MaterialType_0), _null, _null); }, $signature: 2770 }; A._PackagesViewState__initDefaultDetailPage_closure.prototype = { call$1(i) { return this.data.licenses[i]; }, $signature: 827 }; A._PackagesViewState__packagesList_closure.prototype = { call$2(context, index) { var packageIndex, t1, packageName, t2, t3, _this = this; if (index === 0) return _this.$this._widget.about; packageIndex = index - 1; t1 = _this.data; packageName = t1.packages[packageIndex]; t2 = t1.packageLicenseBindings.$index(0, packageName); t2.toString; if (_this.drawSelection) { t3 = _this.selectedId; t3 = packageIndex === (t3 == null ? 0 : t3); } else t3 = false; return new A._PackageListTile(packageName, t3, t2.length, new A._PackagesViewState__packagesList__closure(_this.$this, packageIndex, context, packageName, t2, t1), null); }, $signature: 102 }; A._PackagesViewState__packagesList__closure.prototype = { call$0() { var t1, t2, _this = this; _this.$this._widget.selectedId.set$value(0, _this.packageIndex); t1 = _this.bindings; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,LicenseEntry>"); A._MasterDetailFlow_of(_this.context)._pageOpener.openDetailPage$1(new A._DetailArguments(_this.packageName, A.List_List$of(new A.MappedListIterable(t1, new A._PackagesViewState__packagesList___closure(_this.data), t2), false, t2._eval$1("ListIterable.E")))); }, $signature: 0 }; A._PackagesViewState__packagesList___closure.prototype = { call$1(i) { return this.data.licenses[i]; }, $signature: 827 }; A._PackageListTile.prototype = { build$1(context) { var _this = this, _null = null, t1 = _this.isSelected, t2 = t1 ? A.Theme_of(context).highlightColor : A.Theme_of(context).cardColor, t3 = A.Text$(_this.packageName, _null, _null, _null, _null, _null, _null, _null, _null, _null), t4 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t4.toString; return A.Ink$(A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, _null, _null, _this.onTap, t1, _null, _null, _null, A.Text$(t4.licensesPackageDetailText$1(_this.numberLicenses), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, t3, _null, _null), t2, _null, _null); } }; A._LicenseData.prototype = { addLicense$1(entry) { var t1, t2, t3, t4, t5, t6, _i, $package, _this = this; for (t1 = entry.packages, t2 = t1.length, t3 = _this.packageLicenseBindings, t4 = _this.licenses, t5 = _this.packages, t6 = type$.JSArray_int, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { $package = t1[_i]; if (!t3.containsKey$1(0, $package)) { t3.$indexSet(0, $package, A._setArrayType([], t6)); if (_this.firstPackage == null) _this.firstPackage = $package; t5.push($package); } t3.$index(0, $package).push(t4.length); } t4.push(entry); }, sortPackages$0() { B.JSArray_methods.sort$1(this.packages, new A._LicenseData_sortPackages_closure(this)); } }; A._LicenseData_sortPackages_closure.prototype = { call$2(a, b) { var t1 = this.$this.firstPackage; if (a === t1) return -1; if (b === t1) return 1; return B.JSString_methods.compareTo$1(a.toLowerCase(), b.toLowerCase()); }, $signature: 27 }; A._DetailArguments.prototype = { $eq(_, other) { if (other == null) return false; if (other instanceof A._DetailArguments) return other.packageName === this.packageName; return J.$eq$(other, this); }, get$hashCode(_) { return A.Object_hash(this.packageName, A.Object_hashAll(this.licenseEntries), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._PackageLicensePage.prototype = { createState$0() { return new A._PackageLicensePageState(A._setArrayType([], type$.JSArray_Widget), B._StateLifecycle_0); } }; A._PackageLicensePageState.prototype = { initState$0() { this.super$State$initState(); this._initLicenses$0(); }, _initLicenses$0() { return this._initLicenses$body$_PackageLicensePageState(); }, _initLicenses$body$_PackageLicensePageState() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, license, t6, t7, t8, t9, t10, paragraphs; var $async$_initLicenses$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); while (true) switch ($async$goto) { case 0: // Function start t1 = $async$self._widget.licenseEntries, t2 = t1.length, t3 = type$._Future_List_LicenseParagraph, t4 = type$._AsyncCompleter_List_LicenseParagraph, t5 = type$._TaskEntry_List_LicenseParagraph, _i = 0; case 3: // for condition if (!(_i < t1.length)) { // goto after for $async$goto = 5; break; } license = t1[_i]; if ($async$self._framework$_element == null) { // goto return $async$goto = 1; break; } t6 = $.SchedulerBinding__instance; t6.toString; t7 = license.get$paragraphs(); t8 = t6.SchedulerBinding__taskQueue; t9 = t8._priority_queue$_length; t10 = new A._Future($.Zone__current, t3); ++t8._priority_queue$_modificationCount; t8._priority_queue$_add$1(0, new A._TaskEntry(B.JSArray_methods.get$toList(t7), 100000, "License", null, new A._AsyncCompleter(t10, t4), t5)); if (t9 === 0 && t6._lockCount <= 0) t6._ensureEventLoopCallback$0(); $async$goto = 6; return A._asyncAwait(t10, $async$_initLicenses$0); case 6: // returning from await. paragraphs = $async$result; if ($async$self._framework$_element == null) { // goto return $async$goto = 1; break; } new A._PackageLicensePageState__initLicenses_closure($async$self, paragraphs).call$0(); $async$self._framework$_element.markNeedsBuild$0(); case 4: // for update t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i; // goto for condition $async$goto = 3; break; case 5: // after for $async$self.setState$1(new A._PackageLicensePageState__initLicenses_closure0($async$self)); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_initLicenses$0, $async$completer); }, build$1(context) { var theme, t2, title, subtitle, pad, padding, t3, page, _this = this, _null = null, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; theme = A.Theme_of(context); t2 = _this._widget; title = t2.packageName; subtitle = t1.licensesPackageDetailText$1(t2.licenseEntries.length); pad = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 720 ? 24 : 12; padding = new A.EdgeInsets(pad, 0, pad, pad); t1 = A.List_List$of(_this._licenses, true, type$.Widget); if (!_this._loaded) t1.push(B.Padding_U4d); t2 = _this._widget.scrollController; if (t2 == null) { t2 = theme.useMaterial3 ? theme.textTheme : theme.primaryTextTheme; t3 = theme.appBarTheme; t3 = A.AppBar$(_null, _null, true, _null, _null, 1, _null, _null, _null, false, _null, false, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, new A._PackageLicensePageTitle(title, subtitle, t2, t3.titleTextStyle, t3.foregroundColor, _null), _null, _null, _null, 1, _null); t2 = A.BoxConstraints$loose(B.Size_UW6); page = A.Scaffold$(t3, _null, A.Center$(A.Material$(B.Duration_200000, true, _null, A.Container$(_null, A.Localizations_Localizations$override(A.ScrollConfiguration$(A.ScrollConfiguration_of(context).copyWith$1$scrollbars(false), A.Scrollbar$(A.ListView$(t1, _null, padding, true, B.Axis_1, false), _null, _null)), context, B.Locale_en_US), B.Clip_0, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, theme.cardColor, 4, _null, _null, _null, _null, _null, B.MaterialType_0), _null, _null), _null, _null, _null, _null, _null); } else { t3 = theme.textTheme; page = A.CustomScrollView$(0, _null, B.Clip_1, t2, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, _null, _null, false, B.Axis_1, false, A._setArrayType([new A.SliverAppBar(false, new A._PackageLicensePageTitle(title, subtitle, t3, t3.titleLarge, _null, _null), theme.cardColor, true, _null), new A.SliverPadding(padding, A.SliverList$(new A.SliverChildBuilderDelegate(new A._PackageLicensePageState_build_closure(t1), t1.length, true, true, true, A.scroll_delegate___kDefaultSemanticIndexCallback$closure(), _null)), _null)], type$.JSArray_Widget)); } t1 = theme.textTheme.bodySmall; t1.toString; return A.DefaultTextStyle$(page, _null, _null, B.TextOverflow_0, true, t1, _null, _null, B.TextWidthBasis_0); } }; A._PackageLicensePageState__initLicenses_closure.prototype = { call$0() { var t2, t3, t4, _null = null, t1 = this.$this._licenses; t1.push(B.Padding_ES6); for (t2 = J.get$iterator$ax(this.paragraphs); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = t3.indent; t3 = t3.text; if (t4 === -1) t1.push(new A.Padding(B.EdgeInsets_0_16_0_0, new A.Text(t3, _null, B.TextStyle_LxF, B.TextAlign_2, _null, _null, _null, _null, _null, _null, _null), _null)); else t1.push(new A.Padding(new A.EdgeInsetsDirectional(16 * t4, 8, 0, 0), new A.Text(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null)); } }, $signature: 0 }; A._PackageLicensePageState__initLicenses_closure0.prototype = { call$0() { this.$this._loaded = true; }, $signature: 0 }; A._PackageLicensePageState_build_closure.prototype = { call$2(context, index) { return A.Localizations_Localizations$override(this.listWidgets[index], context, B.Locale_en_US); }, $signature: 2798 }; A._PackageLicensePageTitle.prototype = { build$1(context) { var t1, t2, _this = this, _null = null, effectiveTitleTextStyle = _this.titleTextStyle; if (effectiveTitleTextStyle == null) effectiveTitleTextStyle = _this.theme.titleLarge; t1 = effectiveTitleTextStyle == null ? _null : effectiveTitleTextStyle.copyWith$1$color(_this.foregroundColor); t1 = A.Text$(_this.title, _null, _null, _null, _null, _null, t1, _null, _null, _null); t2 = _this.theme.titleSmall; t2 = t2 == null ? _null : t2.copyWith$1$color(_this.foregroundColor); return A.Column$(A._setArrayType([t1, A.Text$(_this.subtitle, _null, _null, _null, _null, _null, t2, _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_2, B.MainAxisSize_1, B.VerticalDirection_1); } }; A._ActionLevel.prototype = { _enumToString$0() { return "_ActionLevel." + this._core$_name; } }; A._LayoutMode.prototype = { _enumToString$0() { return "_LayoutMode." + this._core$_name; } }; A._Focus.prototype = { _enumToString$0() { return "_Focus." + this._core$_name; } }; A._MasterDetailFlow.prototype = { createState$0() { return new A._MasterDetailFlowState(B._Focus_0, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_NavigatorState), B._StateLifecycle_0); }, masterViewBuilder$2(arg0, arg1) { return this.masterViewBuilder.call$2(arg0, arg1); }, detailPageBuilder$3(arg0, arg1, arg2) { return this.detailPageBuilder.call$3(arg0, arg1, arg2); } }; A._MasterDetailFlowProxy.prototype = {}; A._MasterDetailFlowState.prototype = { openDetailPage$1($arguments) { var _this = this; _this._cachedDetailArguments = $arguments; if (_this._builtLayout === B._LayoutMode_1) _this._navigatorKey.get$currentState().pushNamed$1$2$arguments("detail", $arguments, type$.nullable_Object); else _this.focus = B._Focus_1; }, setInitialDetailPage$1($arguments) { this._cachedDetailArguments = $arguments; }, build$1(context) { return new A.LayoutBuilder(new A._MasterDetailFlowState_build_closure(this), null); }, _nestedUI$1(context) { var masterPageRoute, _this = this; _this._builtLayout = B._LayoutMode_1; masterPageRoute = _this._masterPageRoute$1(context); return new A.NavigatorPopHandler(A.Navigator$(B.Clip_1, "initial", _this._navigatorKey, B.List_empty19, new A._MasterDetailFlowState__nestedUI_closure(_this, masterPageRoute), new A._MasterDetailFlowState__nestedUI_closure0(_this, masterPageRoute), null, false, null, B.TraversalEdgeBehavior_2), new A._MasterDetailFlowState__nestedUI_closure1(_this), null); }, _masterPageRoute$1(context) { return A.MaterialPageRoute$(new A._MasterDetailFlowState__masterPageRoute_closure(this, context), null, type$.dynamic); }, _detailPageRoute$1($arguments) { return A.MaterialPageRoute$(new A._MasterDetailFlowState__detailPageRoute_closure(this, $arguments), null, type$.dynamic); }, _lateralUI$1(context) { var t1, t2, _this = this; _this._builtLayout = B._LayoutMode_0; t1 = _this._widget; t2 = t1.detailPageFABlessGutterWidth; return new A._MasterDetailScaffold(new A._MasterDetailFlowState__lateralUI_closure(_this), new A._MasterDetailFlowState__lateralUI_closure0(_this), new A._MasterDetailFlowState__lateralUI_closure1(), _this._cachedDetailArguments, t1.title, t2, null); } }; A._MasterDetailFlowState_build_closure.prototype = { call$2(context, constraints) { if (constraints.maxWidth >= 840) return this.$this._lateralUI$1(context); return this.$this._nestedUI$1(context); }, $signature: 238 }; A._MasterDetailFlowState__nestedUI_closure1.prototype = { call$0() { this.$this._navigatorKey.get$currentState().maybePop$0(); }, $signature: 0 }; A._MasterDetailFlowState__nestedUI_closure.prototype = { call$2($navigator, initialRoute) { var t1 = this.$this; switch (t1.focus.index) { case 0: return A._setArrayType([this.masterPageRoute], type$.JSArray_Route_void); case 1: return A._setArrayType([this.masterPageRoute, t1._detailPageRoute$1(t1._cachedDetailArguments)], type$.JSArray_Route_void); } }, $signature: 2830 }; A._MasterDetailFlowState__nestedUI_closure0.prototype = { call$1(settings) { var t2, t1 = settings.name; switch (t1) { case "master": this.$this.focus = B._Focus_0; return this.masterPageRoute; case "detail": t1 = this.$this; t1.focus = B._Focus_1; t2 = settings.$arguments; t1._cachedDetailArguments = t2; return t1._detailPageRoute$1(t2); default: throw A.wrapException(A.Exception_Exception("Unknown route " + A.S(t1))); } }, $signature: 2875 }; A._MasterDetailFlowState__masterPageRoute_closure.prototype = { call$1(c) { var t2, t3, _null = null, t1 = this.context; t1 = A.Navigator_of(t1, false).canPop$0() ? new A.BackButton(B.BackButtonIcon_null, new A._MasterDetailFlowState__masterPageRoute__closure(t1), _null, _null, _null) : _null; t2 = this.$this._widget; t3 = t2.title; return A.BlockSemantics$(new A._MasterPage(t2.masterViewBuilder, t3, t1, _null)); }, $signature: 2887 }; A._MasterDetailFlowState__masterPageRoute__closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$0(); }, $signature: 0 }; A._MasterDetailFlowState__detailPageRoute_closure.prototype = { call$1(context) { var t1 = this.$this; return new A.PopScope(A.BlockSemantics$(t1._widget.detailPageBuilder$3(context, this.$arguments, null)), new A._MasterDetailFlowState__detailPageRoute__closure(t1), true, null); }, $signature: 2889 }; A._MasterDetailFlowState__detailPageRoute__closure.prototype = { call$1(didPop) { this.$this.focus = B._Focus_0; }, $signature: 13 }; A._MasterDetailFlowState__lateralUI_closure1.prototype = { call$2(_, __) { return B.List_empty20; }, $signature: 2922 }; A._MasterDetailFlowState__lateralUI_closure0.prototype = { call$3(context, args, scrollController) { var t1 = this.$this, t2 = t1._widget; t2.toString; return t2.detailPageBuilder$3(context, args == null ? t1._cachedDetailArguments : args, scrollController); }, "call*": "call$3", $requiredArgCount: 3, $signature: 931 }; A._MasterDetailFlowState__lateralUI_closure.prototype = { call$2(context, isLateral) { return this.$this._widget.masterViewBuilder$2(context, isLateral); }, $signature: 828 }; A._MasterPage.prototype = { build$1(context) { var _null = null; return A.Scaffold$(A.AppBar$(B.List_empty20, _null, true, _null, _null, 1, _null, _null, _null, false, _null, false, _null, _null, this.leading, _null, true, _null, _null, _null, _null, _null, this.title, _null, _null, _null, 1, _null), _null, this.masterViewBuilder.call$2(context, false), _null, _null, _null, _null, _null); } }; A._MasterDetailScaffold.prototype = { createState$0() { return new A._MasterDetailScaffoldState(new A.ValueNotifier(null, $.$get$ChangeNotifier__emptyListeners(), type$.ValueNotifier_nullable_Object), B._StateLifecycle_0); }, masterViewBuilder$2(arg0, arg1) { return this.masterViewBuilder.call$2(arg0, arg1); } }; A._MasterDetailScaffoldState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = _this._widget.detailPageFABlessGutterWidth; _this.___MasterDetailScaffoldState_detailPageFABlessGutterWidth_A = t1; _this.___MasterDetailScaffoldState_masterViewWidth_A = 320; _this.___MasterDetailScaffoldState_floatingActionButtonLocation_A = B.C__EndTopFabLocation; }, dispose$0() { var t1 = this._detailArguments; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; this.super$State$dispose(); }, openDetailPage$1($arguments) { var t1; $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._MasterDetailScaffoldState_openDetailPage_closure(this, $arguments)); t1 = this._framework$_element; t1.toString; A._MasterDetailFlow_of(t1)._pageOpener.openDetailPage$1($arguments); }, setInitialDetailPage$1($arguments) { var t1; $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._MasterDetailScaffoldState_setInitialDetailPage_closure(this, $arguments)); t1 = this._framework$_element; t1.toString; A._MasterDetailFlow_of(t1)._pageOpener.setInitialDetailPage$1($arguments); }, build$1(context) { var t2, t3, t4, t5, t6, _this = this, _null = null, t1 = _this.___MasterDetailScaffoldState_floatingActionButtonLocation_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._widget; t3 = t2.title; t2 = t2.actionBuilder.call$2(context, B._ActionLevel_0); t4 = _this.___MasterDetailScaffoldState_masterViewWidth_A; t4 === $ && A.throwUnnamedLateFieldNI(); t4 = A.BoxConstraints$tightFor(_null, t4); t5 = A.Theme_of(context); t6 = type$.JSArray_Widget; t3 = A.AppBar$(t2, _null, true, _null, new A.PreferredSize(A.Row$(A._setArrayType([new A.ConstrainedBox(t4, A.IconTheme$(A.Container$(B.AlignmentDirectional_1_0, A.OverflowBar$(_null, _this._widget.actionBuilder.call$2(context, B._ActionLevel_1), B.OverflowBarAlignment_1, B.VerticalDirection_1, 0, 8), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, B.EdgeInsets_8_8_8_8, _null, _null, _null), t5.primaryIconTheme, _null), _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Size_8aB, _null), 1, _null, _null, _null, false, _null, false, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, t3, _null, _null, _null, 1, _null); t5 = _this.___MasterDetailScaffoldState_masterViewWidth_A; t2 = _this._widget.masterViewBuilder$2(context, true); t1 = A.Scaffold$(t3, _null, new A.Align(B.AlignmentDirectional_m1_0, _null, _null, new A.ConstrainedBox(new A.BoxConstraints(0, t5, 0, 1 / 0), t2, _null), _null), _null, _null, _null, _null, t1); t2 = _this.___MasterDetailScaffoldState_masterViewWidth_A; t3 = _this.___MasterDetailScaffoldState_detailPageFABlessGutterWidth_A; t3 === $ && A.throwUnnamedLateFieldNI(); return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_1, A._setArrayType([t1, A.SafeArea$(true, new A.Padding(new A.EdgeInsetsDirectional(t2 - 4, 0, t3, 0), new A.ValueListenableBuilder(_this._detailArguments, new A._MasterDetailScaffoldState_build_closure(_this), _null, _null, type$.ValueListenableBuilder_nullable_Object), _null), B.EdgeInsets_0_0_0_0, true)], t6), _null); } }; A._MasterDetailScaffoldState_openDetailPage_closure.prototype = { call$1(_) { var t1 = this.$arguments; this.$this._detailArguments.set$value(0, t1); return t1; }, $signature: 11 }; A._MasterDetailScaffoldState_setInitialDetailPage_closure.prototype = { call$1(_) { var t1 = this.$arguments; this.$this._detailArguments.set$value(0, t1); return t1; }, $signature: 11 }; A._MasterDetailScaffoldState_build_closure.prototype = { call$3(context, value, child) { var _null = null, t1 = value == null, t2 = t1 ? this.$this._widget.initialArguments : value, t3 = this.$this._widget, t4 = t3.detailPageBuilder; return A.AnimatedSwitcher$(A.Container$(_null, new A._DetailView(t4, t1 ? t3.initialArguments : value, _null), B.Clip_0, _null, B.BoxConstraints_ALM, _null, _null, _null, new A.ValueKey(t2, type$.ValueKey_nullable_Object), _null, _null, _null, _null, _null), B.Duration_500000, B.C__Linear, B.C__Linear, new A._MasterDetailScaffoldState_build__closure()); }, $signature: 2923 }; A._MasterDetailScaffoldState_build__closure.prototype = { call$2(child, animation) { return A._FadeUpwardsPageTransition$(child, animation); }, $signature: 552 }; A._DetailView.prototype = { build$1(context) { var screenHeight, minHeight; if (this._about$_arguments == null) return B.SizedBox_0_0_null_null; screenHeight = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_0, type$.MediaQuery).data.size._dy; minHeight = (screenHeight - 56) / screenHeight; return new A.DraggableScrollableSheet(minHeight, minHeight, false, new A._DetailView_build_closure(this), null); } }; A._DetailView_build_closure.prototype = { call$2(context, controller) { var _null = null, t1 = A.Theme_of(context), t2 = this.$this, t3 = t2._about$_arguments; if (t3 == null) t3 = type$.Object._as(t3); return A.MouseRegion$(A.Card$(t2._builder.call$3(context, t3, controller), B.Clip_2, t1.cardColor, 4, B.EdgeInsets_4_0_4_0, true, B.RoundedRectangleBorder_27D5), B.C__DeferringMouseCursor, _null, _null, _null, _null, _null); }, $signature: 2929 }; A._ActionButton.prototype = { build$1(context) { var _this = this, _null = null; return A.IconButton$(_null, _this.color, _null, _null, _this.icon, _null, new A._ActionButton_build_closure(_this, context), _null, _null, _this.style, _this._getTooltip$1(context), _null); } }; A._ActionButton_build_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.onPressed; if (t2 != null) t2.call$0(); else t1._onPressedCallback$1(this.context); }, $signature: 0 }; A._ActionIcon.prototype = { build$1(context) { var t1, iconBuilder, data, semanticsLabel, _null = null; context.dependOnInheritedWidgetOfExactType$1$0(type$.ActionIconTheme); t1 = A.Theme_of(context); iconBuilder = this.iconBuilderCallback.call$1(t1.actionIconTheme); if (iconBuilder != null) return iconBuilder.call$1(context); data = this.getIcon.call$1(context); switch (A.defaultTargetPlatform().index) { case 0: t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; semanticsLabel = this.getAndroidSemanticsLabel.call$1(t1); break; case 1: case 3: case 5: case 2: case 4: semanticsLabel = _null; break; default: semanticsLabel = _null; } return A.Icon$(data, _null, semanticsLabel, _null); } }; A.BackButtonIcon.prototype = { build$1(context) { return new A._ActionIcon(new A.BackButtonIcon_build_closure(), new A.BackButtonIcon_build_closure0(), new A.BackButtonIcon_build_closure1(), null); } }; A.BackButtonIcon_build_closure.prototype = { call$1(actionIconTheme) { return actionIconTheme == null ? null : actionIconTheme.backButtonIconBuilder; }, $signature: 554 }; A.BackButtonIcon_build_closure0.prototype = { call$1(context) { return B.IconData_57490_MaterialIcons_null_true; }, $signature: 555 }; A.BackButtonIcon_build_closure1.prototype = { call$1(materialLocalization) { return materialLocalization.get$backButtonTooltip(); }, $signature: 558 }; A.BackButton.prototype = { _onPressedCallback$1(context) { return A.Navigator_maybePop(context); }, _getTooltip$1(context) { var t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; return t1.get$backButtonTooltip(); } }; A.DrawerButtonIcon.prototype = { build$1(context) { return new A._ActionIcon(new A.DrawerButtonIcon_build_closure(), new A.DrawerButtonIcon_build_closure0(), new A.DrawerButtonIcon_build_closure1(), null); } }; A.DrawerButtonIcon_build_closure.prototype = { call$1(actionIconTheme) { return actionIconTheme == null ? null : actionIconTheme.drawerButtonIconBuilder; }, $signature: 554 }; A.DrawerButtonIcon_build_closure0.prototype = { call$1(context) { return B.IconData_58332_MaterialIcons_null_false; }, $signature: 555 }; A.DrawerButtonIcon_build_closure1.prototype = { call$1(materialLocalization) { return materialLocalization.get$openAppDrawerTooltip(); }, $signature: 558 }; A.DrawerButton.prototype = { _onPressedCallback$1(context) { return A.Scaffold_of(context).openDrawer$0(); }, _getTooltip$1(context) { var t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; return t1.get$openAppDrawerTooltip(); } }; A.EndDrawerButtonIcon.prototype = { build$1(context) { return new A._ActionIcon(new A.EndDrawerButtonIcon_build_closure(), new A.EndDrawerButtonIcon_build_closure0(), new A.EndDrawerButtonIcon_build_closure1(), null); } }; A.EndDrawerButtonIcon_build_closure.prototype = { call$1(actionIconTheme) { return actionIconTheme == null ? null : actionIconTheme.endDrawerButtonIconBuilder; }, $signature: 554 }; A.EndDrawerButtonIcon_build_closure0.prototype = { call$1(context) { return B.IconData_58332_MaterialIcons_null_false; }, $signature: 555 }; A.EndDrawerButtonIcon_build_closure1.prototype = { call$1(materialLocalization) { return materialLocalization.get$openAppDrawerTooltip(); }, $signature: 558 }; A.EndDrawerButton.prototype = { _onPressedCallback$1(context) { return A.Scaffold_of(context).openEndDrawer$0(); }, _getTooltip$1(context) { var t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; return t1.get$openAppDrawerTooltip(); } }; A.ActionIconThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hashAll([_this.backButtonIconBuilder, _this.closeButtonIconBuilder, _this.drawerButtonIconBuilder, _this.endDrawerButtonIconBuilder]); }, $eq(_, other) { var t1; if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(this)) return false; if (other instanceof A.ActionIconThemeData) t1 = true; else t1 = false; return t1; } }; A._ActionIconThemeData_Object_Diagnosticable.prototype = {}; A.AdaptiveTextSelectionToolbar.prototype = { build$1(context) { var resultChildren, t2, _this = this, t1 = _this.buttonItems.length === 0; if (t1) return B.SizedBox_0_0_null_null; resultChildren = J.toList$0$ax(A.AdaptiveTextSelectionToolbar_getAdaptiveButtons(context, _this.buttonItems)); switch (A.Theme_of(context).platform.index) { case 2: t1 = _this.anchors; t2 = t1.primaryAnchor; t1 = t1.secondaryAnchor; return A.CupertinoTextSelectionToolbar$(t2, t1 == null ? t2 : t1, resultChildren); case 0: t1 = _this.anchors; t2 = t1.primaryAnchor; t1 = t1.secondaryAnchor; return A.TextSelectionToolbar$(t2, t1 == null ? t2 : t1, resultChildren); case 1: case 3: case 5: return new A.DesktopTextSelectionToolbar(_this.anchors.primaryAnchor, resultChildren, null); case 4: return new A.CupertinoDesktopTextSelectionToolbar(_this.anchors.primaryAnchor, resultChildren, null); } } }; A.AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure.prototype = { call$1(buttonItem) { return A.CupertinoTextSelectionToolbarButton$buttonItem(buttonItem); }, $signature: 3027 }; A.AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure0.prototype = { call$1(buttonItem) { var t1 = this.context; return A.DesktopTextSelectionToolbarButton$text(t1, buttonItem.onPressed, A.AdaptiveTextSelectionToolbar_getButtonLabel(t1, buttonItem)); }, $signature: 3029 }; A.AdaptiveTextSelectionToolbar_getAdaptiveButtons_closure1.prototype = { call$1(buttonItem) { return A.CupertinoDesktopTextSelectionToolbarButton$text(buttonItem.onPressed, A.AdaptiveTextSelectionToolbar_getButtonLabel(this.context, buttonItem)); }, $signature: 3033 }; A.ThemeMode.prototype = { _enumToString$0() { return "ThemeMode." + this._core$_name; } }; A.MaterialApp.prototype = { createState$0() { return new A._MaterialAppState(B._StateLifecycle_0); } }; A.MaterialApp_createMaterialHeroController_closure.prototype = { call$2(begin, end) { return new A.MaterialRectArcTween(begin, end); }, $signature: 3036 }; A.MaterialScrollBehavior.prototype = { getPlatform$1(context) { return A.Theme_of(context).platform; }, buildScrollbar$3(context, child, details) { switch (A.axisDirectionToAxis(details.direction).index) { case 0: return child; case 1: switch (A.Theme_of(context).platform.index) { case 3: case 4: case 5: return A.Scrollbar$(child, details.controller, null); case 0: case 1: case 2: return child; } break; } }, buildOverscrollIndicator$3(context, child, details) { var t1, indicator = A.Theme_of(context).useMaterial3 ? B.AndroidOverscrollIndicator_0 : B.AndroidOverscrollIndicator_1; switch (A.Theme_of(context).platform.index) { case 2: case 3: case 4: case 5: return child; case 0: switch (indicator.index) { case 0: t1 = details.decorationClipBehavior; if (t1 == null) t1 = B.Clip_1; return new A.StretchingOverscrollIndicator(details.direction, t1, child, null); case 1: break; } break; case 1: break; } return A.GlowingOverscrollIndicator$(details.direction, child, A.Theme_of(context).colorScheme.secondary); } }; A._MaterialAppState.prototype = { initState$0() { this.super$State$initState(); this.___MaterialAppState__heroController_A = A.MaterialApp_createMaterialHeroController(); }, dispose$0() { var t1 = this.___MaterialAppState__heroController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$State$dispose(); }, get$_localizationsDelegates() { var t1 = A._setArrayType([], type$.JSArray_LocalizationsDelegate_dynamic); B.JSArray_methods.addAll$1(t1, this._widget.localizationsDelegates); t1.push(B.C__MaterialLocalizationsDelegate0); t1.push(B.C__CupertinoLocalizationsDelegate); return t1; }, _inspectorSelectButtonBuilder$2(context, onPressed) { return A.FloatingActionButton$(null, B.Icon_AKW, B.C__DefaultHeroTag, true, onPressed, null); }, _materialBuilder$2(context, child) { var t1, platformBrightness, useDarkTheme, highContrast, theme, effectiveSelectionColor, t2, effectiveCursorColor, childWidget, _this = this, _null = null; _this._widget.toString; t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_5); platformBrightness = t1 == null ? _null : t1.platformBrightness; if (platformBrightness == null) platformBrightness = B.Brightness_1; useDarkTheme = platformBrightness === B.Brightness_0; t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_13); t1 = t1 == null ? _null : t1.highContrast; highContrast = t1 === true; if (useDarkTheme) if (highContrast) _this._widget.toString; if (useDarkTheme) _this._widget.toString; if (highContrast) _this._widget.toString; theme = _this._widget.theme; t1 = theme.textSelectionTheme; effectiveSelectionColor = t1.selectionColor; if (effectiveSelectionColor == null) { t2 = theme.colorScheme.primary; effectiveSelectionColor = A.Color$fromARGB(102, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } effectiveCursorColor = t1.cursorColor; if (effectiveCursorColor == null) effectiveCursorColor = theme.colorScheme.primary; _this._widget.toString; $.$get$AnimationStyle_noAnimation(); childWidget = new A.AnimatedTheme(theme, new A.Builder(new A._MaterialAppState__materialBuilder_closure(_this, child), _null), B.C__Linear, B.Duration_200000, _null, _null); return new A.ScaffoldMessenger(A.DefaultSelectionStyle$(childWidget, effectiveCursorColor, _null, _null, effectiveSelectionColor), _null); }, _buildWidgetApp$1(context) { var materialColor, t3, t4, t5, _this = this, _null = null, t1 = _this._widget, t2 = t1.theme; t2 = t2.primaryColor; materialColor = t2; if (materialColor == null) materialColor = B.MaterialColor_Map_JNGTf_4280391411; t2 = t1.navigatorKey; t3 = t1.navigatorObservers; t4 = t1.home; t5 = t1.routes; return new A.WidgetsApp(t2, t1.onGenerateRoute, _null, new A._MaterialAppState__buildWidgetApp_closure(), _null, _null, _null, _null, _null, t4, t5, _null, _null, _null, t3, _this.get$_materialBuilder(), t1.title, _null, B.TextStyle_vxo, materialColor, t1.locale, _this.get$_localizationsDelegates(), _null, _null, _this._widget.supportedLocales, false, false, false, false, _this.get$_inspectorSelectButtonBuilder(), false, _null, _null, _null, new A.GlobalObjectKey(_this, type$.GlobalObjectKey_State_StatefulWidget)); }, build$1(context) { var t2, _null = null, result = A.Focus$(false, false, this._buildWidgetApp$1(context), _null, _null, _null, _null, true, _null, _null, _null, new A._MaterialAppState_build_closure(), _null, _null), t1 = this._widget.scrollBehavior; if (t1 == null) t1 = B.C_MaterialScrollBehavior; t2 = this.___MaterialAppState__heroController_A; t2 === $ && A.throwUnnamedLateFieldNI(); return A.ScrollConfiguration$(t1, new A.HeroControllerScope(t2, result, _null)); } }; A._MaterialAppState__materialBuilder_closure.prototype = { call$1(context) { return this.$this._widget.builder.call$2(context, this.child); }, $signature: 44 }; A._MaterialAppState__buildWidgetApp_closure.prototype = { call$1$2(settings, builder, $T) { return A.MaterialPageRoute$(builder, settings, $T); }, call$2(settings, builder) { return this.call$1$2(settings, builder, type$.dynamic); }, $signature: 3046 }; A._MaterialAppState_build_closure.prototype = { call$2(node, $event) { if (!($event instanceof A.KeyDownEvent) && !($event instanceof A.KeyRepeatEvent) || !$event.logicalKey.$eq(0, B.LogicalKeyboardKey_4294967323)) return B.KeyEventResult_1; return A.Tooltip_dismissAllToolTips() ? B.KeyEventResult_0 : B.KeyEventResult_1; }, $signature: 202 }; A._SliverAppVariant.prototype = { _enumToString$0() { return "_SliverAppVariant." + this._core$_name; } }; A._ToolbarContainerLayout.prototype = { getConstraintsForChild$1(constraints) { return constraints.tighten$1$height(this.toolbarHeight); }, getSize$1(constraints) { return new A.Size(constraints.maxWidth, this.toolbarHeight); }, getPositionForChild$2(size, childSize) { return new A.Offset(0, size._dy - childSize._dy); }, shouldRelayout$1(oldDelegate) { return this.toolbarHeight !== oldDelegate.toolbarHeight; } }; A._PreferredAppBarSize.prototype = {}; A.AppBar.prototype = { _getEffectiveCenterTitle$1(theme) { var t1 = this.centerTitle; if (t1 == null) t1 = theme.appBarTheme.centerTitle; return t1 == null ? new A.AppBar__getEffectiveCenterTitle_platformCenter(this, theme).call$0() : t1; }, createState$0() { return new A._AppBarState(B._StateLifecycle_0); }, $isPreferredSizeWidget: 1, notificationPredicate$1(arg0) { return A.scroll_notification__defaultScrollNotificationPredicate$closure().call$1(arg0); }, get$preferredSize() { return this.preferredSize; } }; A.AppBar__getEffectiveCenterTitle_platformCenter.prototype = { call$0() { switch (this.theme.platform.index) { case 0: case 1: case 3: case 5: return false; case 2: case 4: var t1 = this.$this.actions; return t1 == null || J.get$length$asx(t1) < 2; } }, $signature: 23 }; A._AppBarState.prototype = { didChangeDependencies$0() { var t1, _this = this; _this.super$State$didChangeDependencies(); t1 = _this._scrollNotificationObserver; if (t1 != null) t1.removeListener$1(0, _this.get$_app_bar$_handleScrollNotification()); t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._ScrollNotificationObserverScope); t1 = t1 == null ? null : t1._scrollNotificationObserverState; _this._scrollNotificationObserver = t1; if (t1 != null) { t1 = t1._scroll_notification_observer$_listeners; t1._insertBefore$3$updateFirst(t1._collection$_first, new A._ListenerEntry(_this.get$_app_bar$_handleScrollNotification()), false); } }, dispose$0() { var _this = this, t1 = _this._scrollNotificationObserver; if (t1 != null) { t1.removeListener$1(0, _this.get$_app_bar$_handleScrollNotification()); _this._scrollNotificationObserver = null; } _this.super$State$dispose(); }, _app_bar$_handleScrollNotification$1(notification) { var oldScrolledUnder, metrics, t1, _this = this; if (notification instanceof A.ScrollUpdateNotification && _this._widget.notificationPredicate$1(notification)) { oldScrolledUnder = _this._scrolledUnder; metrics = notification.metrics; switch (metrics.axisDirection.index) { case 0: t1 = _this._scrolledUnder = Math.max(metrics.get$maxScrollExtent() - metrics.get$pixels(), 0) > 0; break; case 2: t1 = _this._scrolledUnder = Math.max(metrics.get$pixels() - metrics.get$minScrollExtent(), 0) > 0; break; case 1: case 3: t1 = oldScrolledUnder; break; default: t1 = oldScrolledUnder; } if (t1 !== oldScrolledUnder) _this.setState$1(new A._AppBarState__handleScrollNotification_closure()); } }, build$1(context) { var t5, t6, toolbarHeight, t7, actionForegroundColor, foregroundColor, elevation, effectiveElevation, overallIconTheme, overallIconTheme0, actionsIconTheme, toolbarTextStyle, titleTextStyle, opacity, leading, effectiveIconButtonTheme, leadingIconButtonStyle, title, _0_0, actions, effectiveActionsIconButtonTheme, actionsIconButtonStyle, appBar, style, overlayStyle, _this = this, _null = null, theme = A.Theme_of(context), iconButtonTheme = A.IconButtonTheme_of(context), appBarTheme = A.Theme_of(context).appBarTheme, t1 = theme.useMaterial3, defaults = t1 ? A._AppBarDefaultsM3$(context) : A._AppBarDefaultsM2$(context), t2 = context.findAncestorStateOfType$1$0(type$.ScaffoldState), parentRoute = A.ModalRoute_of(context, type$.nullable_Object), settings = context.dependOnInheritedWidgetOfExactType$1$0(type$.FlexibleSpaceBarSettings), t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), t4 = settings == null ? _null : settings.isScrolledUnder; if (t4 == null ? _this._scrolledUnder : t4) t3.add$1(0, B.MaterialState_5); t4 = t2 == null; t5 = t4 ? _null : t2._widget.drawer != null; t2 = t4 ? _null : t2._widget.endDrawer != null; t4 = _this._widget; t6 = t4.toolbarHeight; toolbarHeight = t6 == null ? appBarTheme.toolbarHeight : t6; if (toolbarHeight == null) toolbarHeight = 56; t4 = t4.backgroundColor; t6 = defaults.get$backgroundColor(defaults); t7 = type$.nullable_Color; t4 = A.MaterialStateProperty_resolveAs(t4, t3, t7); if (t4 == null) t4 = A.MaterialStateProperty_resolveAs(appBarTheme.backgroundColor, t3, t7); if (t4 == null) t4 = A.MaterialStateProperty_resolveAs(t6, t3, type$.Color); _this._widget.toString; actionForegroundColor = appBarTheme.foregroundColor; foregroundColor = actionForegroundColor == null ? defaults.get$foregroundColor() : actionForegroundColor; t6 = _this._widget.elevation; elevation = t6 == null ? appBarTheme.elevation : t6; if (elevation == null) { t6 = defaults.elevation; t6.toString; elevation = t6; } if (t3.contains$1(0, B.MaterialState_5)) { _this._widget.toString; t3 = appBarTheme.scrolledUnderElevation; if (t3 == null) t3 = defaults.scrolledUnderElevation; effectiveElevation = t3 == null ? elevation : t3; } else effectiveElevation = elevation; _this._widget.toString; overallIconTheme = appBarTheme.iconTheme; overallIconTheme0 = overallIconTheme == null ? defaults.get$iconTheme().copyWith$1$color(foregroundColor) : overallIconTheme; t3 = _this._widget; t3.toString; t6 = appBarTheme.actionsIconTheme; t3 = t6 == null ? t3.iconTheme : t6; if (t3 == null) t3 = overallIconTheme; if (t3 == null) { t3 = defaults.get$actionsIconTheme(); t3 = t3 == null ? _null : t3.copyWith$1$color(actionForegroundColor); actionsIconTheme = t3; } else actionsIconTheme = t3; if (actionsIconTheme == null) actionsIconTheme = overallIconTheme0; _this._widget.toString; toolbarTextStyle = appBarTheme.toolbarTextStyle; if (toolbarTextStyle == null) { t3 = defaults.get$toolbarTextStyle(); toolbarTextStyle = t3 == null ? _null : t3.copyWith$1$color(foregroundColor); } _this._widget.toString; titleTextStyle = appBarTheme.titleTextStyle; if (titleTextStyle == null) { t3 = defaults.get$titleTextStyle(); titleTextStyle = t3 == null ? _null : t3.copyWith$1$color(foregroundColor); } t3 = _this._widget.toolbarOpacity; if (t3 !== 1) { opacity = B.Interval_oqF1.transform$1(0, t3); if ((titleTextStyle == null ? _null : titleTextStyle.color) != null) { t3 = titleTextStyle.color; t3.toString; titleTextStyle = titleTextStyle.copyWith$1$color(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * opacity), t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255)); } if ((toolbarTextStyle == null ? _null : toolbarTextStyle.color) != null) { t3 = toolbarTextStyle.color; t3.toString; toolbarTextStyle = toolbarTextStyle.copyWith$1$color(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * opacity), t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255)); } t3 = overallIconTheme0.get$opacity(0); overallIconTheme = overallIconTheme0.copyWith$1$opacity(opacity * (t3 == null ? 1 : t3)); t3 = actionsIconTheme.get$opacity(0); actionsIconTheme = actionsIconTheme.copyWith$1$opacity(opacity * (t3 == null ? 1 : t3)); } else overallIconTheme = overallIconTheme0; t3 = _this._widget; leading = t3.leading; if (leading == null && t3.automaticallyImplyLeading) if (t5 === true) { t3 = overallIconTheme.size; leading = new A.DrawerButton(B.DrawerButtonIcon_null, _null, _null, A.IconButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, t3 == null ? 24 : t3, _null, _null, _null, _null), _null); } else { if (parentRoute == null) t3 = _null; else t3 = parentRoute.get$hasActiveRouteBelow() || parentRoute.LocalHistoryRoute__entriesImpliesAppBarDismissal > 0; if (t3 === true) leading = B.BackButton_CXi; } if (leading != null) if (t1) { if (overallIconTheme.$eq(0, defaults.get$iconTheme())) effectiveIconButtonTheme = iconButtonTheme; else { leadingIconButtonStyle = A.IconButton_styleFrom(_null, _null, _null, _null, _null, _null, overallIconTheme.color, _null, _null, overallIconTheme.size, _null, _null, _null, _null); t3 = iconButtonTheme.style; effectiveIconButtonTheme = new A.IconButtonThemeData(t3 == null ? _null : t3.copyWith$3$foregroundColor$iconSize$overlayColor(leadingIconButtonStyle.foregroundColor, leadingIconButtonStyle.iconSize, leadingIconButtonStyle.overlayColor)); } leading = A.IconButtonTheme$(leading instanceof A.IconButton ? A.Center$(leading, _null, _null) : leading, effectiveIconButtonTheme); t3 = _this._widget.leadingWidth; leading = new A.ConstrainedBox(A.BoxConstraints$tightFor(_null, t3 == null ? 56 : t3), leading, _null); } else { t3 = _this._widget.leadingWidth; leading = new A.ConstrainedBox(A.BoxConstraints$tightFor(_null, t3 == null ? 56 : t3), leading, _null); } t3 = _this._widget; title = t3.title; if (title != null) { title = new A._AppBarTitleBox(title, _null); _0_0 = theme.platform; $label0$0: { if (B.TargetPlatform_0 === _0_0 || B.TargetPlatform_1 === _0_0 || B.TargetPlatform_3 === _0_0 || B.TargetPlatform_5 === _0_0) { t5 = true; break $label0$0; } if (B.TargetPlatform_2 === _0_0 || B.TargetPlatform_4 === _0_0) { t5 = _null; break $label0$0; } throw A.wrapException(A.ReachabilityError$(string$.None_o)); } title = new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, title, _null); titleTextStyle.toString; title = A.MediaQuery_withClampedTextScaling(A.DefaultTextStyle$(title, _null, _null, B.TextOverflow_2, false, titleTextStyle, _null, _null, B.TextWidthBasis_0), 1.34); } t3 = t3.actions; if (t3 != null && J.get$isNotEmpty$asx(t3)) { t2 = t1 ? B.CrossAxisAlignment_2 : B.CrossAxisAlignment_3; t3 = _this._widget.actions; t3.toString; actions = A.Row$(t3, t2, B.MainAxisAlignment_0, B.MainAxisSize_0, _null); } else if (t2 === true) { t2 = overallIconTheme.size; actions = new A.EndDrawerButton(B.EndDrawerButtonIcon_null, _null, _null, A.IconButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, t2 == null ? 24 : t2, _null, _null, _null, _null), _null); } else actions = _null; if (actions != null) { if (actionsIconTheme.$eq(0, defaults.get$actionsIconTheme())) effectiveActionsIconButtonTheme = iconButtonTheme; else { actionsIconButtonStyle = A.IconButton_styleFrom(_null, _null, _null, _null, _null, _null, actionsIconTheme.color, _null, _null, actionsIconTheme.size, _null, _null, _null, _null); t2 = iconButtonTheme.style; effectiveActionsIconButtonTheme = new A.IconButtonThemeData(t2 == null ? _null : t2.copyWith$3$foregroundColor$iconSize$overlayColor(actionsIconButtonStyle.foregroundColor, actionsIconButtonStyle.iconSize, actionsIconButtonStyle.overlayColor)); } actions = A.IconButtonTheme$(A.IconTheme_merge(actions, actionsIconTheme), effectiveActionsIconButtonTheme); } t2 = _this._widget._getEffectiveCenterTitle$1(theme); t3 = _this._widget; t3.toString; t5 = appBarTheme.titleSpacing; if (t5 == null) t5 = 16; toolbarTextStyle.toString; appBar = A.ClipRect$(new A.CustomSingleChildLayout(new A._ToolbarContainerLayout(toolbarHeight), A.IconTheme_merge(A.DefaultTextStyle$(new A.NavigationToolbar(leading, title, actions, t2, t5, _null), _null, _null, B.TextOverflow_0, true, toolbarTextStyle, _null, _null, B.TextWidthBasis_0), overallIconTheme), _null), B.Clip_1, _null); if (t3.bottom != null) { t2 = A._setArrayType([new A.Flexible(1, B.FlexFit_1, new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, 0, toolbarHeight), appBar, _null), _null)], type$.JSArray_Widget); t3 = _this._widget; t5 = t3.bottomOpacity; if (t5 === 1) { t3 = t3.bottom; t3.toString; t2.push(t3); } else { t3 = B.Interval_oqF1.transform$1(0, t5); t2.push(A.Opacity$(_this._widget.bottom, t3)); } appBar = A.Column$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, B.VerticalDirection_1); } t2 = _this._widget; t2.toString; appBar = A.SafeArea$(false, appBar, B.EdgeInsets_0_0_0_0, true); appBar = new A.Align(B.Alignment_0_m1, _null, _null, appBar, _null); t2 = t2.flexibleSpace; if (t2 != null) { t3 = A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.OrdinalSortKey_1_null, _null, _null, _null, _null, _null, _null); t5 = A.Material$(B.Duration_200000, true, _null, appBar, B.Clip_0, _null, 0, _null, _null, _null, _null, _null, B.MaterialType_4); appBar = new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_2, B.Clip_1, A._setArrayType([new A.Semantics(t3, false, true, false, false, t2, _null), new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.OrdinalSortKey_0_null, _null, _null, _null, _null, _null, _null), false, true, false, false, t5, _null)], type$.JSArray_Widget), _null); } _this._widget.toString; t2 = A.ThemeData_estimateBrightnessForColor(t4); t1 = t1 ? B.Color_0 : _null; style = t2 === B.Brightness_0 ? B.SystemUiOverlayStyle_6UD : B.SystemUiOverlayStyle_qsc; overlayStyle = new A.SystemUiOverlayStyle(_null, _null, _null, _null, t1, style.statusBarBrightness, style.statusBarIconBrightness, style.systemStatusBarContrastEnforced); _this._widget.toString; t1 = appBarTheme.shadowColor; if (t1 == null) t1 = defaults.get$shadowColor(defaults); _this._widget.toString; t2 = appBarTheme.surfaceTintColor; if (t2 == null) t2 = defaults.get$surfaceTintColor(); _this._widget.toString; t3 = appBarTheme.shape; if (t3 == null) t3 = defaults.shape; t1 = A.Material$(B.Duration_200000, true, _null, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, false, appBar, _null), B.Clip_0, t4, effectiveElevation, _null, t1, t3, t2, _null, B.MaterialType_0); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, new A.AnnotatedRegion(overlayStyle, t1, _null, type$.AnnotatedRegion_SystemUiOverlayStyle), _null); } }; A._AppBarState__handleScrollNotification_closure.prototype = { call$0() { }, $signature: 0 }; A._SliverAppBarDelegate.prototype = { get$maxExtent() { var _this = this, t1 = _this.expandedHeight; if (t1 == null) t1 = _this.toolbarHeight + _this._bottomHeight; return Math.max(_this.topPadding + t1, _this.collapsedHeight); }, build$3(context, shrinkOffset, overlapsContent) { var t1, t2, t3, isScrolledUnder, _0_0, t4, t5, t6, _this = this; _this.get$maxExtent(); t1 = _this.collapsedHeight; t2 = _this.toolbarHeight; Math.max(t1 - _this._bottomHeight - _this.topPadding - t2, 0); if (!overlapsContent) { t3 = shrinkOffset > _this.get$maxExtent() - t1; isScrolledUnder = t3; } else isScrolledUnder = true; _0_0 = _this.variant; $label0$0: { if (B._SliverAppVariant_0 === _0_0) { t3 = _this.title; break $label0$0; } if (B._SliverAppVariant_1 === _0_0 || B._SliverAppVariant_2 === _0_0) { t3 = isScrolledUnder ? 1 : 0; t3 = A.AnimatedOpacity$(_this.title, B.Cubic_7xV, B.Duration_500000, t3); break $label0$0; } throw A.wrapException(A.ReachabilityError$(string$.None_o)); } t4 = _this.get$maxExtent(); t5 = Math.max(t1, _this.get$maxExtent() - shrinkOffset); t6 = isScrolledUnder ? _this.elevation : 0; return A.FlexibleSpaceBar_createSettings(A.AppBar$(_this.actions, _this.actionsIconTheme, false, _this.backgroundColor, _this.bottom, 1, _this.centerTitle, _this.clipBehavior, t6, false, _this.flexibleSpace, false, _this.foregroundColor, _this.iconTheme, _this.leading, _this.leadingWidth, true, _this.scrolledUnderElevation, _this.shadowColor, _this.shape, _this.surfaceTintColor, _this.systemOverlayStyle, t3, _this.titleSpacing, _this.titleTextStyle, t2, 1, _this.toolbarTextStyle), t5, false, isScrolledUnder, t4, t1, 1); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(topPadding: " + B.JSNumber_methods.toStringAsFixed$1(this.topPadding, 1) + ", bottomHeight: " + B.JSInt_methods.toStringAsFixed$1(this._bottomHeight, 1) + ", ...)"; } }; A.SliverAppBar.prototype = { createState$0() { return new A._SliverAppBarState(null, null, B._StateLifecycle_0); } }; A._SliverAppBarState.prototype = { _updateSnapConfiguration$0() { this._widget.toString; var t1 = this._snapConfiguration = null; this._showOnScreenConfiguration = B.JSBool_methods.$and(false, false) ? B.PersistentHeaderShowOnScreenConfiguration_QA5 : t1; }, _updateStretchConfiguration$0() { this._widget.toString; this._stretchConfiguration = null; }, initState$0() { this.super$State$initState(); this._updateSnapConfiguration$0(); this._updateStretchConfiguration$0(); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; }, build$1(context) { var topPadding, t1, collapsedHeight, t2, t3, t4, _this = this, _null = null; _this._widget.toString; topPadding = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, type$.MediaQuery).data.padding.top; t1 = _this._widget; t1.toString; collapsedHeight = 56 + topPadding; switch (0) { case 0: break; } t2 = _this._snapConfiguration; t3 = _this._stretchConfiguration; t4 = _this._showOnScreenConfiguration; return A.MediaQuery_MediaQuery$removePadding(new A.SliverPersistentHeader(new A._SliverAppBarDelegate(_null, false, t1.title, _null, _null, _null, _null, _null, _null, _null, false, t1.backgroundColor, _null, _null, _null, true, _null, false, _null, _null, collapsedHeight, topPadding, false, true, _null, 56, _null, _null, _null, _null, 0, false, _null, B._SliverAppVariant_0, _this, t2, t3, t4), true, false, _null), context, true, false, false, false); } }; A._AppBarTitleBox.prototype = { createRenderObject$1(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = new A._RenderAppBarTitleBox(B.Alignment_0_0, t1.textDirection, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(t1.textDirection); } }; A._RenderAppBarTitleBox.prototype = { computeDryLayout$1(constraints) { var innerConstraints = constraints.copyWith$1$maxHeight(1 / 0); return constraints.constrain$1(this.RenderObjectWithChildMixin__child.getDryLayout$1(innerConstraints)); }, performLayout$0() { var _this = this, t1 = type$.BoxConstraints, innerConstraints = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).copyWith$1$maxHeight(1 / 0); _this.RenderObjectWithChildMixin__child.layout$2$parentUsesSize(innerConstraints, true); _this._box$_size = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).constrain$1(_this.RenderObjectWithChildMixin__child.get$size(0)); _this.alignChild$0(); } }; A._AppBarDefaultsM2.prototype = { get$_app_bar$_theme() { var result, _this = this, value = _this.___AppBarDefaultsM2__theme_FI; if (value === $) { result = A.Theme_of(_this.context); _this.___AppBarDefaultsM2__theme_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___AppBarDefaultsM2__theme_FI = result; value = result; } return value; }, get$_app_bar$_colors() { var t1, _this = this, value = _this.___AppBarDefaultsM2__colors_FI; if (value === $) { t1 = _this.get$_app_bar$_theme(); _this.___AppBarDefaultsM2__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___AppBarDefaultsM2__colors_FI = t1.colorScheme; } return value; }, get$backgroundColor(_) { return this.get$_app_bar$_colors().brightness === B.Brightness_0 ? this.get$_app_bar$_colors().surface : this.get$_app_bar$_colors().primary; }, get$foregroundColor() { return this.get$_app_bar$_colors().brightness === B.Brightness_0 ? this.get$_app_bar$_colors().onSurface : this.get$_app_bar$_colors().onPrimary; }, get$iconTheme() { return this.get$_app_bar$_theme().iconTheme; }, get$toolbarTextStyle() { return this.get$_app_bar$_theme().textTheme.bodyMedium; }, get$titleTextStyle() { return this.get$_app_bar$_theme().textTheme.titleLarge; } }; A._AppBarDefaultsM3.prototype = { get$_app_bar$_theme() { var result, _this = this, value = _this.___AppBarDefaultsM3__theme_FI; if (value === $) { result = A.Theme_of(_this.context); _this.___AppBarDefaultsM3__theme_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___AppBarDefaultsM3__theme_FI = result; value = result; } return value; }, get$_app_bar$_colors() { var t1, _this = this, value = _this.___AppBarDefaultsM3__colors_FI; if (value === $) { t1 = _this.get$_app_bar$_theme(); _this.___AppBarDefaultsM3__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___AppBarDefaultsM3__colors_FI = t1.colorScheme; } return value; }, get$_app_bar$_textTheme() { var t1, _this = this, value = _this.___AppBarDefaultsM3__textTheme_FI; if (value === $) { t1 = _this.get$_app_bar$_theme(); _this.___AppBarDefaultsM3__textTheme_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___AppBarDefaultsM3__textTheme_FI = t1.textTheme; } return value; }, get$backgroundColor(_) { return this.get$_app_bar$_colors().surface; }, get$foregroundColor() { return this.get$_app_bar$_colors().onSurface; }, get$shadowColor(_) { return B.Color_0; }, get$surfaceTintColor() { var t1 = this.get$_app_bar$_colors(), t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$iconTheme() { var _null = null; return new A.IconThemeData(24, _null, _null, _null, _null, this.get$_app_bar$_colors().onSurface, _null, _null, _null); }, get$actionsIconTheme() { var _null = null, t1 = this.get$_app_bar$_colors(), t2 = t1._onSurfaceVariant; return new A.IconThemeData(24, _null, _null, _null, _null, t2 == null ? t1.onSurface : t2, _null, _null, _null); }, get$toolbarTextStyle() { return this.get$_app_bar$_textTheme().bodyMedium; }, get$titleTextStyle() { return this.get$_app_bar$_textTheme().titleLarge; } }; A.__SliverAppBarState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.AppBarTheme.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.get$backgroundColor(_this), _this.get$foregroundColor(), _this.elevation, _this.scrolledUnderElevation, _this.get$shadowColor(_this), _this.get$surfaceTintColor(), _this.shape, _this.get$iconTheme(), _this.get$actionsIconTheme(), _this.centerTitle, _this.titleSpacing, _this.toolbarHeight, _this.get$toolbarTextStyle(), _this.get$titleTextStyle(), _this.systemOverlayStyle, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.AppBarTheme && J.$eq$(other.get$backgroundColor(other), _this.get$backgroundColor(_this)) && J.$eq$(other.get$foregroundColor(), _this.get$foregroundColor()) && other.elevation == _this.elevation && other.scrolledUnderElevation == _this.scrolledUnderElevation && J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this)) && J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor()) && J.$eq$(other.shape, _this.shape) && J.$eq$(other.get$iconTheme(), _this.get$iconTheme()) && J.$eq$(other.get$actionsIconTheme(), _this.get$actionsIconTheme()) && other.titleSpacing == _this.titleSpacing && other.toolbarHeight == _this.toolbarHeight && J.$eq$(other.get$toolbarTextStyle(), _this.get$toolbarTextStyle()) && J.$eq$(other.get$titleTextStyle(), _this.get$titleTextStyle()) && true; }, get$backgroundColor(receiver) { return this.backgroundColor; }, get$foregroundColor() { return this.foregroundColor; }, get$shadowColor(receiver) { return this.shadowColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$iconTheme() { return this.iconTheme; }, get$actionsIconTheme() { return this.actionsIconTheme; }, get$toolbarTextStyle() { return this.toolbarTextStyle; }, get$titleTextStyle() { return this.titleTextStyle; } }; A._AppBarTheme_Object_Diagnosticable.prototype = {}; A.MaterialPointArcTween.prototype = { _initialize$0() { var t2, delta, deltaX, deltaY, distanceFromAtoB, t3, t4, c, t5, t6, t7, t8, _this = this, t1 = _this.begin; t1.toString; t2 = _this.end; t2.toString; delta = t2.$sub(0, t1); deltaX = Math.abs(delta._dx); deltaY = Math.abs(delta._dy); distanceFromAtoB = delta.get$distance(); t3 = t2._dx; t4 = t1._dy; c = new A.Offset(t3, t4); t5 = new A.MaterialPointArcTween__initialize_sweepAngle(_this, distanceFromAtoB); if (deltaX > 2 && deltaY > 2) { t6 = distanceFromAtoB * distanceFromAtoB; t7 = t1._dx; t8 = t2._dy; if (deltaX < deltaY) { t1 = t6 / c.$sub(0, t1).get$distance() / 2; _this._radius = t1; _this._center = new A.Offset(t3 + t1 * J.get$sign$in(t7 - t3), t8); if (t7 < t3) { _this._beginAngle = t5.call$0() * J.get$sign$in(t4 - t8); _this._endAngle = 0; } else { _this._beginAngle = 3.141592653589793 + t5.call$0() * J.get$sign$in(t8 - t4); _this._endAngle = 3.141592653589793; } } else { _this._radius = t6 / c.$sub(0, t2).get$distance() / 2; t1 = J.get$sign$in(t8 - t4); t2 = _this._radius; t2.toString; _this._center = new A.Offset(t7, t4 + t1 * t2); if (t4 < t8) { _this._beginAngle = -1.5707963267948966; _this._endAngle = -1.5707963267948966 + t5.call$0() * J.get$sign$in(t3 - t7); } else { _this._beginAngle = 1.5707963267948966; _this._endAngle = 1.5707963267948966 + t5.call$0() * J.get$sign$in(t7 - t3); } } } else _this._endAngle = _this._beginAngle = null; _this._arc$_dirty = false; }, get$center() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._initialize$0(); return _this._center; }, get$radius() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._initialize$0(); return _this._radius; }, get$beginAngle() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._initialize$0(); return _this._beginAngle; }, get$endAngle() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._initialize$0(); return _this._beginAngle; }, set$begin(value) { if (!J.$eq$(value, this.begin)) { this.begin = value; this._arc$_dirty = true; } }, set$end(_, value) { if (!J.$eq$(value, this.end)) { this.end = value; this._arc$_dirty = true; } }, lerp$1(t) { var t1, t2, t3, t4, _this = this; if (_this._arc$_dirty) _this._initialize$0(); if (t === 0) { t1 = _this.begin; t1.toString; return t1; } if (t === 1) { t1 = _this.end; t1.toString; return t1; } t1 = _this._beginAngle; if (t1 == null || _this._endAngle == null) { t1 = A.Offset_lerp(_this.begin, _this.end, t); t1.toString; return t1; } t1 = A.lerpDouble(t1, _this._endAngle, t); t1.toString; t2 = Math.cos(t1); t3 = _this._radius; t3.toString; t1 = Math.sin(t1); t4 = _this._radius; t4.toString; return _this._center.$add(0, new A.Offset(t2 * t3, t1 * t4)); }, toString$0(_) { var _this = this; return "MaterialPointArcTween(" + A.S(_this.begin) + " \u2192 " + A.S(_this.end) + "; center=" + A.S(_this.get$center()) + ", radius=" + A.S(_this.get$radius()) + ", beginAngle=" + A.S(_this.get$beginAngle()) + ", endAngle=" + A.S(_this.get$endAngle()) + ")"; } }; A.MaterialPointArcTween__initialize_sweepAngle.prototype = { call$0() { var t1 = this.$this._radius; t1.toString; return 2 * Math.asin(this.distanceFromAtoB / (2 * t1)); }, $signature: 193 }; A._CornerId.prototype = { _enumToString$0() { return "_CornerId." + this._core$_name; } }; A._Diagonal.prototype = {}; A.MaterialRectArcTween.prototype = { _initialize$0() { var t2, t3, _this = this, diagonal = A._maxBy(B.List_Tkv, new A.MaterialRectArcTween__initialize_closure(_this, _this.end.get$center().$sub(0, _this.begin.get$center()))), t1 = _this.begin; t1.toString; t2 = diagonal.beginId; t1 = _this._cornerFor$2(t1, t2); t3 = _this.end; t3.toString; _this.__MaterialRectArcTween__beginArc_A = new A.MaterialPointArcTween(t1, _this._cornerFor$2(t3, t2)); t2 = _this.begin; t2.toString; t3 = diagonal.endId; t2 = _this._cornerFor$2(t2, t3); t1 = _this.end; t1.toString; _this.__MaterialRectArcTween__endArc_A = new A.MaterialPointArcTween(t2, _this._cornerFor$2(t1, t3)); _this._arc$_dirty = false; }, _cornerFor$2(rect, id) { switch (id.index) { case 0: return new A.Offset(rect.left, rect.top); case 1: return new A.Offset(rect.right, rect.top); case 2: return new A.Offset(rect.left, rect.bottom); case 3: return new A.Offset(rect.right, rect.bottom); } }, get$beginArc() { var t1, _this = this; if (_this.begin == null) return null; if (_this._arc$_dirty) _this._initialize$0(); t1 = _this.__MaterialRectArcTween__beginArc_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, get$endArc() { var t1, _this = this; if (_this.end == null) return null; if (_this._arc$_dirty) _this._initialize$0(); t1 = _this.__MaterialRectArcTween__endArc_A; t1 === $ && A.throwUnnamedLateFieldNI(); return t1; }, set$begin(value) { if (!J.$eq$(value, this.begin)) { this.begin = value; this._arc$_dirty = true; } }, set$end(_, value) { if (!J.$eq$(value, this.end)) { this.end = value; this._arc$_dirty = true; } }, lerp$1(t) { var t1, t2, _this = this; if (_this._arc$_dirty) _this._initialize$0(); if (t === 0) { t1 = _this.begin; t1.toString; return t1; } if (t === 1) { t1 = _this.end; t1.toString; return t1; } t1 = _this.__MaterialRectArcTween__beginArc_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.lerp$1(t); t2 = _this.__MaterialRectArcTween__endArc_A; t2 === $ && A.throwUnnamedLateFieldNI(); return A.Rect$fromPoints(t1, t2.lerp$1(t)); }, toString$0(_) { var _this = this; return "MaterialRectArcTween(" + A.S(_this.begin) + " \u2192 " + A.S(_this.end) + "; beginArc=" + A.S(_this.get$beginArc()) + ", endArc=" + A.S(_this.get$endArc()) + ")"; } }; A.MaterialRectArcTween__initialize_closure.prototype = { call$1(d) { var t4, delta, $length, t1 = this.$this, t2 = this.centersVector, t3 = t1.begin; t3.toString; t3 = t1._cornerFor$2(t3, d.endId); t4 = t1.begin; t4.toString; delta = t3.$sub(0, t1._cornerFor$2(t4, d.beginId)); $length = delta.get$distance(); return t2._dx * delta._dx / $length + t2._dy * delta._dy / $length; }, $signature: 3066 }; A.BadgeThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.backgroundColor, _this.textColor, _this.smallSize, _this.largeSize, _this.textStyle, _this.padding, _this.alignment, _this.offset, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.BadgeThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.textColor, _this.textColor) && other.smallSize == _this.smallSize && other.largeSize == _this.largeSize && J.$eq$(other.textStyle, _this.textStyle) && J.$eq$(other.padding, _this.padding) && J.$eq$(other.alignment, _this.alignment) && J.$eq$(other.offset, _this.offset); } }; A._BadgeThemeData_Object_Diagnosticable.prototype = {}; A.MaterialBannerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.backgroundColor, _this.surfaceTintColor, _this.shadowColor, _this.dividerColor, _this.contentTextStyle, _this.elevation, _this.padding, _this.leadingPadding, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.MaterialBannerThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.surfaceTintColor, _this.surfaceTintColor) && J.$eq$(other.shadowColor, _this.shadowColor) && J.$eq$(other.dividerColor, _this.dividerColor) && J.$eq$(other.contentTextStyle, _this.contentTextStyle) && other.elevation == _this.elevation && J.$eq$(other.padding, _this.padding) && J.$eq$(other.leadingPadding, _this.leadingPadding); } }; A._MaterialBannerThemeData_Object_Diagnosticable.prototype = {}; A.BottomAppBar.prototype = { createState$0() { return new A._BottomAppBarState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); } }; A._BottomAppBarState.prototype = { didChangeDependencies$0() { var t1, scaffoldScope; this.super$State$didChangeDependencies(); t1 = this._framework$_element; scaffoldScope = t1.dependOnInheritedWidgetOfExactType$1$0(type$._ScaffoldScope); if (scaffoldScope == null) A.throwExpression(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("Scaffold.geometryOf() called with a context that does not contain a Scaffold."), A.ErrorDescription$("This usually happens when the context provided is from the same StatefulWidget as that whose build function actually creates the Scaffold widget being sought."), A.ErrorHint$(string$.There_a), A.ErrorHint$("A more efficient solution is to split your build function into several widgets. This introduces a new context from which you can obtain the Scaffold. In this solution, you would have an outer widget that creates the Scaffold populated by instances of your new inner widgets, and then in these inner widgets you would use Scaffold.geometryOf()."), t1.describeElement$1("The context used was")], type$.JSArray_DiagnosticsNode))); this.___BottomAppBarState_geometryListenable_A = scaffoldScope.geometryNotifier; }, build$1(context) { var t2, clipper, elevation, height, color, surfaceTintColor, effectiveColor, shadowColor, _this = this, _null = null, isMaterial3 = A.Theme_of(context).useMaterial3, babTheme = A.Theme_of(context).bottomAppBarTheme, defaults = isMaterial3 ? new A._BottomAppBarDefaultsM3(context, _null, 3, B.C_AutomaticNotchedShape, 80, _null, _null, _null) : new A._BottomAppBarDefaultsM2(context, _null, 8, _null, _null, _null, _null, _null), hasFab = A.Scaffold_of(context)._widget.floatingActionButton != null, t1 = _this._widget, notchedShape = t1.shape; if (hasFab) { t2 = _this.___BottomAppBarState_geometryListenable_A; t2 === $ && A.throwUnnamedLateFieldNI(); clipper = new A._BottomAppBarClipper(t2, notchedShape, _this.materialKey, 4, t2); } else clipper = B.ShapeBorderClipper_mya; elevation = t1.elevation; height = babTheme.height; if (height == null) height = defaults.height; t1 = t1.color; color = t1 == null ? babTheme.color : t1; if (color == null) color = defaults.get$color(defaults); _this._widget.toString; surfaceTintColor = babTheme.surfaceTintColor; if (surfaceTintColor == null) surfaceTintColor = defaults.get$surfaceTintColor(); effectiveColor = isMaterial3 ? A.ElevationOverlay_applySurfaceTint(color, surfaceTintColor, elevation) : A.ElevationOverlay_applyOverlay(context, color, elevation); _this._widget.toString; shadowColor = babTheme.shadowColor; if (shadowColor == null) shadowColor = defaults.get$shadowColor(defaults); t1 = _this._widget; t1.toString; t2 = babTheme.padding; if (t2 == null) t2 = isMaterial3 ? B.EdgeInsets_16_12_16_12 : B.EdgeInsets_0_0_0_0; return A.PhysicalShape$(A.Material$(B.Duration_200000, true, _null, A.SafeArea$(true, new A.SizedBox(_null, height, new A.Padding(t2, t1.child, _null), _null), B.EdgeInsets_0_0_0_0, true), B.Clip_0, _null, 0, _this.materialKey, _null, _null, _null, _null, B.MaterialType_4), B.Clip_0, clipper, effectiveColor, elevation, shadowColor); } }; A._BottomAppBarClipper.prototype = { get$bottomNavigationBarTop() { var bottomNavigationBarTop, t1 = this.geometry, t2 = t1.geometry; t1 = t1.floatingActionButtonScale; t1.toString; bottomNavigationBarTop = t2._scaleFloatingActionButton$1(t1).bottomNavigationBarTop; if (bottomNavigationBarTop != null) return bottomNavigationBarTop; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this.materialKey); t1 = t1 == null ? null : t1.get$renderObject(); type$.nullable_RenderBox._as(t1); t1 = t1 == null ? null : A.MatrixUtils_transformPoint(t1.getTransformTo$1(0, null), B.Offset_0_0)._dy; return t1 == null ? 0 : t1; }, getClip$1(size) { var button, _this = this, t1 = _this.geometry, t2 = t1.geometry; t1 = t1.floatingActionButtonScale; t1.toString; t1 = t2._scaleFloatingActionButton$1(t1).floatingActionButtonArea; button = t1 == null ? null : t1.translate$2(0, 0, _this.get$bottomNavigationBarTop() * -1); t1 = button == null ? null : button.inflate$1(_this.notchMargin); return _this.shape.getOuterPath$2(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), t1); }, shouldReclip$1(oldClipper) { return oldClipper.geometry !== this.geometry || oldClipper.shape !== this.shape || oldClipper.notchMargin !== this.notchMargin; } }; A._BottomAppBarDefaultsM2.prototype = { get$color(_) { var t1 = A.Theme_of(this.context)._bottomAppBarColor; t1.toString; return t1; }, get$surfaceTintColor() { var t1 = A.Theme_of(this.context).colorScheme, t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$shadowColor(_) { return B.Color_4278190080; } }; A._BottomAppBarDefaultsM3.prototype = { get$_bottom_app_bar$_colors() { var t1, _this = this, value = _this.___BottomAppBarDefaultsM3__colors_FI; if (value === $) { t1 = A.Theme_of(_this.context); _this.___BottomAppBarDefaultsM3__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___BottomAppBarDefaultsM3__colors_FI = t1.colorScheme; } return value; }, get$color(_) { return this.get$_bottom_app_bar$_colors().surface; }, get$surfaceTintColor() { var t1 = this.get$_bottom_app_bar$_colors(), t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$shadowColor(_) { return B.Color_0; } }; A.BottomAppBarTheme.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.get$color(_this), _this.elevation, _this.shape, _this.height, _this.get$surfaceTintColor(), _this.get$shadowColor(_this), _this.padding, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.BottomAppBarTheme && J.$eq$(other.get$color(other), _this.get$color(_this)) && other.elevation == _this.elevation && other.shape == _this.shape && other.height == _this.height && J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor()) && J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this)) && J.$eq$(other.padding, _this.padding); }, get$color(receiver) { return this.color; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$shadowColor(receiver) { return this.shadowColor; } }; A._BottomAppBarTheme_Object_Diagnosticable.prototype = {}; A.BottomNavigationBarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.backgroundColor, _this.elevation, _this.selectedIconTheme, _this.unselectedIconTheme, _this.selectedItemColor, _this.unselectedItemColor, _this.selectedLabelStyle, _this.unselectedLabelStyle, _this.showSelectedLabels, _this.showUnselectedLabels, _this.type, _this.enableFeedback, _this.landscapeLayout, _this.mouseCursor, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.BottomNavigationBarThemeData) if (J.$eq$(other.backgroundColor, _this.backgroundColor)) if (other.elevation == _this.elevation) if (J.$eq$(other.selectedIconTheme, _this.selectedIconTheme)) if (J.$eq$(other.unselectedIconTheme, _this.unselectedIconTheme)) if (J.$eq$(other.selectedItemColor, _this.selectedItemColor)) if (J.$eq$(other.unselectedItemColor, _this.unselectedItemColor)) if (J.$eq$(other.selectedLabelStyle, _this.selectedLabelStyle)) if (J.$eq$(other.unselectedLabelStyle, _this.unselectedLabelStyle)) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._BottomNavigationBarThemeData_Object_Diagnosticable.prototype = {}; A.BottomSheet.prototype = { createState$0() { return new A._BottomSheetState(new A.LabeledGlobalKey("BottomSheet child", type$.LabeledGlobalKey_State_StatefulWidget), A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), B._StateLifecycle_0); }, onClosing$0() { return this.onClosing.call$0(); }, builder$1(arg0) { return this.builder.call$1(arg0); } }; A._BottomSheetState.prototype = { get$_childHeight() { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this._bottom_sheet$_childKey).get$renderObject(); t1.toString; return type$.RenderBox._as(t1).get$size(0)._dy; }, _bottom_sheet$_handleDragStart$1(details) { this.setState$1(new A._BottomSheetState__handleDragStart_closure(this)); this._widget.onDragStart.call$1(details); }, _bottom_sheet$_handleDragUpdate$1(details) { var t3, t1 = this._widget.animationController, t2 = t1.__AnimationController__status_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2 === B.AnimationStatus_2) return; t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = details.primaryDelta; t3.toString; t1.set$value(0, t2 - t3 / this.get$_childHeight()); }, _bottom_sheet$_handleDragEnd$1(details) { var flingVelocity, t2, isClosing, _this = this, t1 = _this._widget.animationController.__AnimationController__status_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 === B.AnimationStatus_2) return; _this.setState$1(new A._BottomSheetState__handleDragEnd_closure(_this)); t1 = details.velocity.pixelsPerSecond._dy; if (t1 > 700) { flingVelocity = -t1 / _this.get$_childHeight(); t1 = _this._widget.animationController; t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2 > 0) t1.fling$1$velocity(flingVelocity); isClosing = flingVelocity < 0 && true; } else { t1 = _this._widget.animationController; t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2 < 0.5) { if (t2 > 0) t1.fling$1$velocity(-1); isClosing = true; } else { t1.forward$0(0); isClosing = false; } } _this._widget.onDragEnd.call$2$isClosing(details, isClosing); if (isClosing) _this._widget.onClosing$0(); }, extentChanged$1(notification) { if (notification.extent === notification.minExtent && true) this._widget.onClosing$0(); return false; }, _handleDragHandleHover$1(hovering) { if (hovering !== this.dragHandleMaterialState.contains$1(0, B.MaterialState_0)) this.setState$1(new A._BottomSheetState__handleDragHandleHover_closure(this, hovering)); }, build$1(context) { var constraints, color, surfaceTintColor, shadowColor, t1, t2, elevation, shape, showDragHandle, dragHandle, bottomSheet, _this = this, _null = null, bottomSheetTheme = A.Theme_of(context).bottomSheetTheme, defaults = A.Theme_of(context).useMaterial3 ? A._BottomSheetDefaultsM3$(context) : B.BottomSheetThemeData_N4X; _this._widget.toString; constraints = bottomSheetTheme.constraints; if (constraints == null) constraints = defaults.get$constraints(); _this._widget.toString; color = bottomSheetTheme.backgroundColor; if (color == null) color = defaults.get$backgroundColor(defaults); surfaceTintColor = bottomSheetTheme.surfaceTintColor; if (surfaceTintColor == null) surfaceTintColor = defaults.get$surfaceTintColor(); _this._widget.toString; shadowColor = bottomSheetTheme.shadowColor; if (shadowColor == null) shadowColor = defaults.get$shadowColor(defaults); t1 = _this._widget; t1.toString; t2 = bottomSheetTheme.elevation; elevation = t2 == null ? defaults.elevation : t2; if (elevation == null) elevation = 0; shape = bottomSheetTheme.shape; if (shape == null) shape = defaults.shape; showDragHandle = false; if (showDragHandle) { dragHandle = new A._DragHandle(t1.onClosing, _this.get$_handleDragHandleHover(), _this.dragHandleMaterialState, _null, _null, _null); if (!t1.enableDrag) dragHandle = new A._BottomSheetGestureDetector(dragHandle, _this.get$_bottom_sheet$_handleDragStart(), _this.get$_bottom_sheet$_handleDragUpdate(), _this.get$_bottom_sheet$_handleDragEnd(), _null); } else dragHandle = _null; if (!showDragHandle) t1 = t1.builder$1(context); else { dragHandle.toString; t1 = new A.Stack(B.Alignment_0_m1, _null, B.StackFit_0, B.Clip_1, A._setArrayType([dragHandle, new A.Padding(B.EdgeInsets_0_48_0_0, t1.builder$1(context), _null)], type$.JSArray_Widget), _null); } bottomSheet = A.Material$(B.Duration_200000, true, _null, new A.NotificationListener(_this.get$extentChanged(), t1, _null, type$.NotificationListener_DraggableScrollableNotification), B.Clip_0, color, elevation, _this._bottom_sheet$_childKey, shadowColor, shape, surfaceTintColor, _null, B.MaterialType_0); if (constraints != null) bottomSheet = new A.Align(B.Alignment_0_1, _null, 1, new A.ConstrainedBox(constraints, bottomSheet, _null), _null); return !_this._widget.enableDrag ? bottomSheet : new A._BottomSheetGestureDetector(bottomSheet, _this.get$_bottom_sheet$_handleDragStart(), _this.get$_bottom_sheet$_handleDragUpdate(), _this.get$_bottom_sheet$_handleDragEnd(), _null); } }; A._BottomSheetState__handleDragStart_closure.prototype = { call$0() { this.$this.dragHandleMaterialState.add$1(0, B.MaterialState_3); }, $signature: 0 }; A._BottomSheetState__handleDragEnd_closure.prototype = { call$0() { this.$this.dragHandleMaterialState.remove$1(0, B.MaterialState_3); }, $signature: 0 }; A._BottomSheetState__handleDragHandleHover_closure.prototype = { call$0() { var t1 = this.$this.dragHandleMaterialState; if (this.hovering) t1.add$1(0, B.MaterialState_0); else t1.remove$1(0, B.MaterialState_0); }, $signature: 0 }; A._DragHandle.prototype = { build$1(context) { var t1, t2, t3, t4, t5, t6, _this = this, _null = null, bottomSheetTheme = A.Theme_of(context).bottomSheetTheme, m3Defaults = A._BottomSheetDefaultsM3$(context), handleSize = bottomSheetTheme.dragHandleSize; if (handleSize == null) handleSize = B.Size_32_4; t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t1 = t1.get$modalBarrierDismissLabel(); t2 = handleSize._dy; t3 = A.BorderRadius$circular(t2 / 2); t4 = _this.materialState; t5 = type$.nullable_Color; t6 = A.MaterialStateProperty_resolveAs(_this.dragHandleColor, t4, t5); t4 = t6 == null ? A.MaterialStateProperty_resolveAs(bottomSheetTheme.dragHandleColor, t4, t5) : t6; if (t4 == null) { t4 = m3Defaults.get$_bottom_sheet$_colors(); t5 = t4._onSurfaceVariant; t4 = (t5 == null ? t4.onSurface : t5).value; t4 = A.Color$fromARGB(102, t4 >>> 16 & 255, t4 >>> 8 & 255, t4 & 255); } t2 = A.Center$(A.Container$(_null, _null, B.Clip_0, _null, _null, new A.BoxDecoration(t4, _null, _null, t3, _null, _null, B.BoxShape_0), _null, t2, _null, _null, _null, _null, _null, handleSize._dx), _null, _null); return A.MouseRegion$(new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.onSemanticsTap, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, new A.SizedBox(48, 48, t2, _null), _null), B.C__DeferringMouseCursor, _null, _null, new A._DragHandle_build_closure(_this), new A._DragHandle_build_closure0(_this), _null); } }; A._DragHandle_build_closure.prototype = { call$1($event) { return this.$this.handleHover.call$1(true); }, $signature: 132 }; A._DragHandle_build_closure0.prototype = { call$1($event) { return this.$this.handleHover.call$1(false); }, $signature: 108 }; A._BottomSheetGestureDetector.prototype = { build$1(context) { return new A.RawGestureDetector(this.child, A.LinkedHashMap_LinkedHashMap$_literal([B.Type_mLh, new A.GestureRecognizerFactoryWithHandlers(new A._BottomSheetGestureDetector_build_closure(this), new A._BottomSheetGestureDetector_build_closure0(this), type$.GestureRecognizerFactoryWithHandlers_VerticalDragGestureRecognizer)], type$.Type, type$.GestureRecognizerFactory_GestureRecognizer), null, true, null); } }; A._BottomSheetGestureDetector_build_closure.prototype = { call$0() { return A.VerticalDragGestureRecognizer$(this.$this, null); }, $signature: 315 }; A._BottomSheetGestureDetector_build_closure0.prototype = { call$1(instance) { var t1 = this.$this; instance.onStart = t1.onVerticalDragStart; instance.onUpdate = t1.onVerticalDragUpdate; instance.onEnd = t1.onVerticalDragEnd; instance.onlyAcceptDragOnThreshold = true; }, $signature: 352 }; A._BottomSheetDefaultsM3.prototype = { get$_bottom_sheet$_colors() { var t1, _this = this, value = _this.___BottomSheetDefaultsM3__colors_FI; if (value === $) { t1 = A.Theme_of(_this.context); _this.___BottomSheetDefaultsM3__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___BottomSheetDefaultsM3__colors_FI = t1.colorScheme; } return value; }, get$backgroundColor(_) { return this.get$_bottom_sheet$_colors().surface; }, get$surfaceTintColor() { var t1 = this.get$_bottom_sheet$_colors(), t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$shadowColor(_) { return B.Color_0; }, get$dragHandleColor() { var t1 = this.get$_bottom_sheet$_colors(), t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(102, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); }, get$dragHandleSize() { return B.Size_32_4; }, get$constraints() { return B.BoxConstraints_EcO0; } }; A.BottomSheetThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.get$backgroundColor(_this), _this.get$surfaceTintColor(), _this.elevation, _this.modalBackgroundColor, _this.modalBarrierColor, _this.get$shadowColor(_this), _this.modalElevation, _this.shape, _this.showDragHandle, _this.get$dragHandleColor(), _this.get$dragHandleSize(), _this.clipBehavior, _this.get$constraints(), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.BottomSheetThemeData) if (J.$eq$(other.get$backgroundColor(other), _this.get$backgroundColor(_this))) if (J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor())) if (other.elevation == _this.elevation) if (J.$eq$(other.modalBackgroundColor, _this.modalBackgroundColor)) if (J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this))) if (J.$eq$(other.modalBarrierColor, _this.modalBarrierColor)) if (other.modalElevation == _this.modalElevation) if (J.$eq$(other.shape, _this.shape)) if (J.$eq$(other.get$dragHandleColor(), _this.get$dragHandleColor())) if (J.$eq$(other.get$dragHandleSize(), _this.get$dragHandleSize())) t1 = J.$eq$(other.get$constraints(), _this.get$constraints()); else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$backgroundColor(receiver) { return this.backgroundColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$shadowColor(receiver) { return this.shadowColor; }, get$dragHandleColor() { return this.dragHandleColor; }, get$dragHandleSize() { return this.dragHandleSize; }, get$constraints() { return this.constraints; } }; A._BottomSheetThemeData_Object_Diagnosticable.prototype = {}; A.RawMaterialButton.prototype = { createState$0() { return new A._RawMaterialButtonState(A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), B._StateLifecycle_0); } }; A._RawMaterialButtonState.prototype = { initState$0() { this.super$State$initState(); this._widget.toString; this.removeMaterialState$1(B.MaterialState_6); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); _this._widget.toString; _this.removeMaterialState$1(B.MaterialState_6); t1 = _this.MaterialStateMixin_materialStates; if (t1.contains$1(0, B.MaterialState_6) && t1.contains$1(0, B.MaterialState_2)) _this.removeMaterialState$1(B.MaterialState_2); }, get$_effectiveElevation() { var _this = this, t1 = _this.MaterialStateMixin_materialStates; if (t1.contains$1(0, B.MaterialState_6)) return _this._widget.disabledElevation; if (t1.contains$1(0, B.MaterialState_2)) return _this._widget.highlightElevation; if (t1.contains$1(0, B.MaterialState_0)) return _this._widget.hoverElevation; if (t1.contains$1(0, B.MaterialState_1)) return _this._widget.focusElevation; return _this._widget.elevation; }, build$1(context) { var densityAdjustment, effectiveConstraints, effectiveMouseCursor, padding, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, minSize, _this = this, _null = null, t1 = _this._widget.textStyle, t2 = _this.MaterialStateMixin_materialStates, effectiveTextColor = A.MaterialStateProperty_resolveAs(t1.color, t2, type$.nullable_Color), effectiveShape = A.MaterialStateProperty_resolveAs(_this._widget.shape, t2, type$.nullable_ShapeBorder); _this._widget.toString; densityAdjustment = new A.Offset(0, 0).$mul(0, 4); effectiveConstraints = B.VisualDensity_0_0.effectiveConstraints$1(_this._widget.constraints); t1 = _this._widget.mouseCursor; effectiveMouseCursor = A.MaterialStateProperty_resolveAs(t1, t2, type$.nullable_MouseCursor); _this._widget.toString; t1 = densityAdjustment._dx; t2 = densityAdjustment._dy; padding = B.EdgeInsets_0_0_0_0.add$1(0, new A.EdgeInsets(t1, t2, t1, t2)).clamp$2(0, B.EdgeInsets_0_0_0_0, B._MixedEdgeInsets_QWq); t3 = _this.get$_effectiveElevation(); t4 = _this._widget.textStyle.copyWith$1$color(effectiveTextColor); t5 = _this._widget.fillColor; t6 = A.Theme_of(context).useMaterial3 ? A.Theme_of(context).shadowColor : _null; t7 = _this._widget; t8 = t7.clipBehavior; t7 = t7.focusNode; t9 = _this.updateMaterialState$1(B.MaterialState_1); _this._widget.toString; t10 = _this.updateMaterialState$2$onChanged(B.MaterialState_2, _null); t11 = _this._widget; t12 = t11.splashColor; t13 = t11.focusColor; t11 = t11.hoverColor; t14 = _this.updateMaterialState$1(B.MaterialState_0); t15 = _this._widget; t16 = t15.onPressed; t4 = A.Material$(B.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.IconTheme_merge(A.Container$(_null, A.Center$(t15.child, 1, 1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, padding, _null, _null, _null), new A.IconThemeData(_null, _null, _null, _null, _null, effectiveTextColor, _null, _null, _null)), effectiveShape, true, t13, t7, _null, t11, _null, effectiveMouseCursor, _null, t9, t10, t14, _null, t16, _null, _null, _null, _null, t12, _null, _null), t8, t5, t3, _null, t6, effectiveShape, _null, t4, B.MaterialType_3); switch (t15.materialTapTargetSize.index) { case 0: minSize = new A.Size(48 + t1, 48 + t2); break; case 1: minSize = B.Size_0_0; break; default: minSize = _null; } return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, new A._InputPadding(minSize, new A.ConstrainedBox(effectiveConstraints, t4, _null), _null), _null); } }; A._InputPadding.prototype = { createRenderObject$1(context) { var t1 = new A._RenderInputPadding(this.minSize, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$minSize(this.minSize); } }; A._RenderInputPadding.prototype = { set$minSize(value) { if (this._minSize.$eq(0, value)) return; this._minSize = value; this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()), this._minSize._dx); return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()), this._minSize._dy); return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()), this._minSize._dx); return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()), this._minSize._dy); return 0; }, _button$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var childSize, t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { childSize = layoutChild.call$2(t1, constraints); t1 = childSize._dx; t2 = this._minSize; return constraints.constrain$1(new A.Size(Math.max(t1, t2._dx), Math.max(childSize._dy, t2._dy))); } return B.Size_0_0; }, computeDryLayout$1(constraints) { return this._button$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { var t1, _this = this; _this._box$_size = _this._button$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { t1 = t1.parentData; t1.toString; type$.BoxParentData._as(t1).offset = B.Alignment_0_0.alongOffset$1(type$.Offset._as(_this.get$size(0).$sub(0, _this.RenderObjectWithChildMixin__child.get$size(0)))); } }, hitTest$2$position(result, position) { var center; if (this.super$RenderBox$hitTest(result, position)) return true; center = this.RenderObjectWithChildMixin__child.get$size(0).center$1(B.Offset_0_0); return result.addWithRawTransform$3$hitTest$position$transform(new A._RenderInputPadding_hitTest_closure(this, center), center, A.MatrixUtils_forceToPoint(center)); } }; A._RenderInputPadding_hitTest_closure.prototype = { call$2(result, position) { return this.$this.RenderObjectWithChildMixin__child.hitTest$2$position(result, this.center); }, $signature: 77 }; A.__RawMaterialButtonState_State_MaterialStateMixin.prototype = {}; A.ButtonBarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.alignment, _this.mainAxisSize, _this.buttonTextTheme, _this.buttonMinWidth, _this.buttonHeight, _this.buttonPadding, _this.buttonAlignedDropdown, _this.layoutBehavior, _this.overflowDirection, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.ButtonBarThemeData) if (other.buttonMinWidth == _this.buttonMinWidth) if (other.buttonHeight == _this.buttonHeight) if (J.$eq$(other.buttonPadding, _this.buttonPadding)) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._ButtonBarThemeData_Object_Diagnosticable.prototype = {}; A.ButtonStyle.prototype = { copyWith$22$alignment$animationDuration$backgroundColor$elevation$enableFeedback$fixedSize$foregroundColor$iconColor$iconSize$maximumSize$minimumSize$mouseCursor$overlayColor$padding$shadowColor$shape$side$splashFactory$surfaceTintColor$tapTargetSize$textStyle$visualDensity(alignment, animationDuration, backgroundColor, elevation, enableFeedback, fixedSize, foregroundColor, iconColor, iconSize, maximumSize, minimumSize, mouseCursor, overlayColor, padding, shadowColor, shape, side, splashFactory, surfaceTintColor, tapTargetSize, textStyle, visualDensity) { var _this = this, t1 = textStyle == null ? _this.get$textStyle() : textStyle, t2 = backgroundColor == null ? _this.get$backgroundColor(_this) : backgroundColor, t3 = foregroundColor == null ? _this.get$foregroundColor() : foregroundColor, t4 = overlayColor == null ? _this.get$overlayColor() : overlayColor, t5 = shadowColor == null ? _this.get$shadowColor(_this) : shadowColor, t6 = surfaceTintColor == null ? _this.get$surfaceTintColor() : surfaceTintColor, t7 = elevation == null ? _this.get$elevation(_this) : elevation, t8 = padding == null ? _this.get$padding(_this) : padding, t9 = minimumSize == null ? _this.get$minimumSize() : minimumSize, t10 = fixedSize == null ? _this.fixedSize : fixedSize, t11 = maximumSize == null ? _this.get$maximumSize() : maximumSize, t12 = iconColor == null ? _this.iconColor : iconColor, t13 = iconSize == null ? _this.get$iconSize() : iconSize, t14 = side == null ? _this.get$side() : side, t15 = shape == null ? _this.get$shape(_this) : shape, t16 = mouseCursor == null ? _this.get$mouseCursor() : mouseCursor, t17 = visualDensity == null ? _this.get$visualDensity() : visualDensity, t18 = tapTargetSize == null ? _this.get$tapTargetSize() : tapTargetSize, t19 = animationDuration == null ? _this.animationDuration : animationDuration, t20 = enableFeedback == null ? _this.enableFeedback : enableFeedback, t21 = alignment == null ? _this.alignment : alignment; return A.ButtonStyle$(t21, t19, t2, t7, t20, t10, t3, t12, t13, t11, t9, t16, t4, t8, t5, t15, t14, splashFactory == null ? _this.get$splashFactory() : splashFactory, t6, t18, t1, t17); }, copyWith$3$foregroundColor$iconSize$overlayColor(foregroundColor, iconSize, overlayColor) { var _null = null; return this.copyWith$22$alignment$animationDuration$backgroundColor$elevation$enableFeedback$fixedSize$foregroundColor$iconColor$iconSize$maximumSize$minimumSize$mouseCursor$overlayColor$padding$shadowColor$shape$side$splashFactory$surfaceTintColor$tapTargetSize$textStyle$visualDensity(_null, _null, _null, _null, _null, _null, foregroundColor, _null, iconSize, _null, _null, _null, overlayColor, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, merge$1(style) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, _this = this, t1 = _this.get$textStyle(); if (t1 == null) t1 = style.textStyle; t2 = _this.get$backgroundColor(_this); if (t2 == null) t2 = style.backgroundColor; t3 = _this.get$foregroundColor(); if (t3 == null) t3 = style.foregroundColor; t4 = _this.get$overlayColor(); if (t4 == null) t4 = style.overlayColor; t5 = _this.get$shadowColor(_this); if (t5 == null) t5 = style.shadowColor; t6 = _this.get$surfaceTintColor(); if (t6 == null) t6 = style.surfaceTintColor; t7 = _this.get$elevation(_this); if (t7 == null) t7 = style.elevation; t8 = _this.get$padding(_this); if (t8 == null) t8 = style.padding; t9 = _this.get$minimumSize(); if (t9 == null) t9 = style.minimumSize; t10 = _this.fixedSize; if (t10 == null) t10 = style.fixedSize; t11 = _this.get$maximumSize(); if (t11 == null) t11 = style.maximumSize; t12 = _this.iconColor; if (t12 == null) t12 = style.iconColor; t13 = _this.get$iconSize(); if (t13 == null) t13 = style.iconSize; t14 = _this.get$side(); if (t14 == null) t14 = style.side; t15 = _this.get$shape(_this); if (t15 == null) t15 = style.shape; t16 = _this.get$mouseCursor(); if (t16 == null) t16 = style.mouseCursor; t17 = _this.get$visualDensity(); if (t17 == null) t17 = style.visualDensity; t18 = _this.get$tapTargetSize(); if (t18 == null) t18 = style.tapTargetSize; t19 = _this.animationDuration; if (t19 == null) t19 = style.animationDuration; t20 = _this.enableFeedback; if (t20 == null) t20 = style.enableFeedback; t21 = _this.alignment; if (t21 == null) t21 = style.alignment; t22 = _this.get$splashFactory(); return _this.copyWith$22$alignment$animationDuration$backgroundColor$elevation$enableFeedback$fixedSize$foregroundColor$iconColor$iconSize$maximumSize$minimumSize$mouseCursor$overlayColor$padding$shadowColor$shape$side$splashFactory$surfaceTintColor$tapTargetSize$textStyle$visualDensity(t21, t19, t2, t7, t20, t10, t3, t12, t13, t11, t9, t16, t4, t8, t5, t15, t14, t22 == null ? style.splashFactory : t22, t6, t18, t1, t17); }, get$hashCode(_) { var _this = this; return A.Object_hashAll([_this.get$textStyle(), _this.get$backgroundColor(_this), _this.get$foregroundColor(), _this.get$overlayColor(), _this.get$shadowColor(_this), _this.get$surfaceTintColor(), _this.get$elevation(_this), _this.get$padding(_this), _this.get$minimumSize(), _this.fixedSize, _this.get$maximumSize(), _this.iconColor, _this.get$iconSize(), _this.get$side(), _this.get$shape(_this), _this.get$mouseCursor(), _this.get$visualDensity(), _this.get$tapTargetSize(), _this.animationDuration, _this.enableFeedback, _this.alignment, _this.get$splashFactory()]); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.ButtonStyle && other.get$textStyle() == _this.get$textStyle() && J.$eq$(other.get$backgroundColor(other), _this.get$backgroundColor(_this)) && J.$eq$(other.get$foregroundColor(), _this.get$foregroundColor()) && J.$eq$(other.get$overlayColor(), _this.get$overlayColor()) && other.get$shadowColor(other) == _this.get$shadowColor(_this) && other.get$surfaceTintColor() == _this.get$surfaceTintColor() && other.get$elevation(other) == _this.get$elevation(_this) && other.get$padding(other) == _this.get$padding(_this) && other.get$minimumSize() == _this.get$minimumSize() && other.fixedSize == _this.fixedSize && other.get$maximumSize() == _this.get$maximumSize() && other.iconColor == _this.iconColor && other.get$iconSize() == _this.get$iconSize() && other.get$side() == _this.get$side() && other.get$shape(other) == _this.get$shape(_this) && J.$eq$(other.get$mouseCursor(), _this.get$mouseCursor()) && J.$eq$(other.get$visualDensity(), _this.get$visualDensity()) && other.get$tapTargetSize() == _this.get$tapTargetSize() && J.$eq$(other.animationDuration, _this.animationDuration) && other.enableFeedback == _this.enableFeedback && J.$eq$(other.alignment, _this.alignment) && other.get$splashFactory() == _this.get$splashFactory(); }, get$textStyle() { return this.textStyle; }, get$backgroundColor(receiver) { return this.backgroundColor; }, get$foregroundColor() { return this.foregroundColor; }, get$overlayColor() { return this.overlayColor; }, get$shadowColor(receiver) { return this.shadowColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$elevation(receiver) { return this.elevation; }, get$padding(receiver) { return this.padding; }, get$minimumSize() { return this.minimumSize; }, get$maximumSize() { return this.maximumSize; }, get$iconSize() { return this.iconSize; }, get$side() { return this.side; }, get$shape(receiver) { return this.shape; }, get$mouseCursor() { return this.mouseCursor; }, get$visualDensity() { return this.visualDensity; }, get$tapTargetSize() { return this.tapTargetSize; }, get$splashFactory() { return this.splashFactory; } }; A._LerpSides.prototype = { resolve$1(_, states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(0, states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(0, states); t1 = resolvedA == null; if (t1 && resolvedB == null) return null; if (t1) { t1 = resolvedB.color; return A.BorderSide_lerp(new A.BorderSide(A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 0, B.BorderStyle_1, -1), resolvedB, _this.t); } if (resolvedB == null) { t1 = resolvedA.color; return A.BorderSide_lerp(resolvedA, new A.BorderSide(A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 0, B.BorderStyle_1, -1), _this.t); } return A.BorderSide_lerp(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._ButtonStyle_Object_Diagnosticable.prototype = {}; A.ButtonStyleButton.prototype = { createState$0() { return new A._ButtonStyleState(null, null, B._StateLifecycle_0); } }; A._ButtonStyleState.prototype = { handleStatesControllerChange$0() { this.setState$1(new A._ButtonStyleState_handleStatesControllerChange_closure()); }, get$statesController() { var t1 = this._widget.statesController; if (t1 == null) { t1 = this.internalStatesController; t1.toString; } return t1; }, initStatesController$0() { var t1, t2, _this = this; if (_this._widget.statesController == null) _this.internalStatesController = A.MaterialStatesController$(null); t1 = _this.get$statesController(); t2 = _this._widget; t1.update$2(0, B.MaterialState_6, !(t2.onPressed != null || t2.onLongPress != null)); _this.get$statesController().addListener$1(0, _this.get$handleStatesControllerChange()); }, initState$0() { this.super$State$initState(); this.initStatesController$0(); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.statesController; if (_this._widget.statesController != t1) { if (t1 != null) t1.removeListener$1(0, _this.get$handleStatesControllerChange()); if (_this._widget.statesController != null) { t1 = _this.internalStatesController; if (t1 != null) { t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; } _this.internalStatesController = null; } _this.initStatesController$0(); } t1 = _this._widget; t1 = t1.onPressed != null || t1.onLongPress != null; if (t1 !== (oldWidget.onPressed != null || oldWidget.onLongPress != null)) { t1 = _this.get$statesController(); t2 = _this._widget; t1.update$2(0, B.MaterialState_6, !(t2.onPressed != null || t2.onLongPress != null)); t1 = _this._widget; if (!(t1.onPressed != null || t1.onLongPress != null)) _this.get$statesController().update$2(0, B.MaterialState_2, false); } }, dispose$0() { var t1, _this = this; _this.get$statesController().removeListener$1(0, _this.get$handleStatesControllerChange()); t1 = _this.internalStatesController; if (t1 != null) { t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; } t1 = _this.controller; if (t1 != null) t1.dispose$0(); _this.super$__ButtonStyleState_State_TickerProviderStateMixin$dispose(); }, build$1(context) { var resolvedElevation, resolvedTextStyle, t2, resolvedBackgroundColor, resolvedForegroundColor, resolvedShadowColor, resolvedSurfaceTintColor, resolvedPadding, t3, resolvedMinimumSize, resolvedFixedSize, resolvedMaximumSize, resolvedIconColor, resolvedIconSize, resolvedSide, resolvedShape, resolvedVisualDensity, resolvedTapTargetSize, resolvedAnimationDuration, resolvedEnableFeedback, resolvedAlignment, densityAdjustment, resolvedSplashFactory, effectiveConstraints, size, dy, dx, padding, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, minSize, _this = this, _null = null, t1 = _this._widget, effectiveValue = new A._ButtonStyleState_build_effectiveValue(t1.style, t1.themeStyleOf$1(context), _this._widget.defaultStyleOf$1(context)), resolve = new A._ButtonStyleState_build_resolve(_this, effectiveValue); t1 = type$.nullable_double; resolvedElevation = resolve.call$1$1(new A._ButtonStyleState_build_closure(), t1); resolvedTextStyle = resolve.call$1$1(new A._ButtonStyleState_build_closure0(), type$.nullable_TextStyle); t2 = type$.nullable_Color; resolvedBackgroundColor = resolve.call$1$1(new A._ButtonStyleState_build_closure1(), t2); resolvedForegroundColor = resolve.call$1$1(new A._ButtonStyleState_build_closure2(), t2); resolvedShadowColor = resolve.call$1$1(new A._ButtonStyleState_build_closure3(), t2); resolvedSurfaceTintColor = resolve.call$1$1(new A._ButtonStyleState_build_closure4(), t2); resolvedPadding = resolve.call$1$1(new A._ButtonStyleState_build_closure5(), type$.nullable_EdgeInsetsGeometry); t3 = type$.nullable_Size; resolvedMinimumSize = resolve.call$1$1(new A._ButtonStyleState_build_closure6(), t3); resolvedFixedSize = resolve.call$1$1(new A._ButtonStyleState_build_closure7(), t3); resolvedMaximumSize = resolve.call$1$1(new A._ButtonStyleState_build_closure8(), t3); resolvedIconColor = resolve.call$1$1(new A._ButtonStyleState_build_closure9(), t2); resolvedIconSize = resolve.call$1$1(new A._ButtonStyleState_build_closure10(), t1); resolvedSide = resolve.call$1$1(new A._ButtonStyleState_build_closure11(), type$.nullable_BorderSide); resolvedShape = resolve.call$1$1(new A._ButtonStyleState_build_closure12(), type$.nullable_OutlinedBorder); resolvedVisualDensity = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure13(), type$.VisualDensity); resolvedTapTargetSize = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure14(), type$.MaterialTapTargetSize); resolvedAnimationDuration = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure15(), type$.Duration); resolvedEnableFeedback = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure16(), type$.bool); resolvedAlignment = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure17(), type$.AlignmentGeometry); densityAdjustment = new A.Offset(resolvedVisualDensity.horizontal, resolvedVisualDensity.vertical).$mul(0, 4); resolvedSplashFactory = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure18(), type$.InteractiveInkFeatureFactory); t1 = resolvedMinimumSize._dx; t2 = resolvedMinimumSize._dy; effectiveConstraints = resolvedVisualDensity.effectiveConstraints$1(new A.BoxConstraints(t1, resolvedMaximumSize._dx, t2, resolvedMaximumSize._dy)); if (resolvedFixedSize != null) { size = effectiveConstraints.constrain$1(resolvedFixedSize); t1 = size._dx; if (isFinite(t1)) effectiveConstraints = effectiveConstraints.copyWith$2$maxWidth$minWidth(t1, t1); t1 = size._dy; if (isFinite(t1)) effectiveConstraints = effectiveConstraints.copyWith$2$maxHeight$minHeight(t1, t1); } dy = densityAdjustment._dy; t1 = densityAdjustment._dx; dx = Math.max(0, t1); padding = resolvedPadding.add$1(0, new A.EdgeInsets(dx, dy, dx, dy)).clamp$2(0, B.EdgeInsets_0_0_0_0, B._MixedEdgeInsets_QWq); if (resolvedAnimationDuration._duration > 0) { t2 = _this.elevation; if (t2 != null) { t3 = _this.backgroundColor; if (t3 != null) if (t2 !== resolvedElevation) if (t3.get$value(t3) !== resolvedBackgroundColor.get$value(resolvedBackgroundColor)) { t2 = _this.backgroundColor; t2 = (t2.get$value(t2) >>> 24 & 255) / 255 === 1 && (resolvedBackgroundColor.get$value(resolvedBackgroundColor) >>> 24 & 255) / 255 < 1 && resolvedElevation === 0; } else t2 = false; else t2 = false; else t2 = false; } else t2 = false; } else t2 = false; if (t2) { t2 = _this.controller; if (!J.$eq$(t2 == null ? _null : t2.duration, resolvedAnimationDuration)) { t2 = _this.controller; if (t2 != null) t2.dispose$0(); t2 = A.AnimationController$(_null, resolvedAnimationDuration, _null, 1, _null, _this); t2.didRegisterListener$0(); t3 = t2.AnimationLocalStatusListenersMixin__statusListeners; t3._isDirty = true; t3._observer_list$_list.push(new A._ButtonStyleState_build_closure19(_this)); _this.controller = t2; } resolvedBackgroundColor = _this.backgroundColor; _this.controller.set$value(0, 0); _this.controller.forward$0(0); } _this.elevation = resolvedElevation; _this.backgroundColor = resolvedBackgroundColor; resolvedElevation.toString; t2 = resolvedTextStyle == null ? _null : resolvedTextStyle.copyWith$1$color(resolvedForegroundColor); t3 = resolvedShape.copyWith$1$side(resolvedSide); t4 = resolvedBackgroundColor == null ? B.MaterialType_4 : B.MaterialType_3; t5 = _this._widget; t6 = t5.clipBehavior; t7 = t5.onPressed; t8 = t5.onLongPress; t9 = t5.onHover; t10 = t5.focusNode; t11 = t7 != null || t8 != null; t12 = t5.onFocusChange; t5 = t5.autofocus; t13 = resolvedShape.copyWith$1$side(resolvedSide); t14 = _this.get$statesController(); t15 = resolvedIconColor == null ? resolvedForegroundColor : resolvedIconColor; resolvedAlignment.toString; t16 = _this._widget; t4 = A.Material$(resolvedAnimationDuration, true, _null, A.InkWell$(t5, _null, t11, A.IconTheme_merge(new A.Padding(padding, new A.Align(resolvedAlignment, 1, 1, t16.child, _null), _null), new A.IconThemeData(resolvedIconSize, _null, _null, _null, _null, t15, _null, _null, _null)), t13, resolvedEnableFeedback, _null, t10, B.Color_0, _null, _null, new A._MouseCursor(new A._ButtonStyleState_build_closure20(effectiveValue)), _null, t12, _null, t9, t8, t7, _null, _null, new A._MaterialStatePropertyWith(new A._ButtonStyleState_build_closure21(effectiveValue), type$._MaterialStatePropertyWith_nullable_Color), _null, _null, resolvedSplashFactory, t14), t6, resolvedBackgroundColor, resolvedElevation, _null, resolvedShadowColor, t3, resolvedSurfaceTintColor, t2, t4); switch (resolvedTapTargetSize.index) { case 0: minSize = new A.Size(48 + t1, 48 + dy); break; case 1: minSize = B.Size_0_0; break; default: minSize = _null; } t1 = t16.onPressed != null || t16.onLongPress != null; return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, new A._InputPadding0(minSize, new A.ConstrainedBox(effectiveConstraints, t4, _null), _null), _null); } }; A._ButtonStyleState_handleStatesControllerChange_closure.prototype = { call$0() { }, $signature: 0 }; A._ButtonStyleState_build_effectiveValue.prototype = { call$1$1(getProperty, $T) { var widgetValue = getProperty.call$1(this.widgetStyle), themeValue = getProperty.call$1(this.themeStyle), defaultValue = getProperty.call$1(this.defaultStyle), t1 = widgetValue == null ? themeValue : widgetValue; return t1 == null ? defaultValue : t1; }, call$1(getProperty) { return this.call$1$1(getProperty, type$.dynamic); }, $signature: 3078 }; A._ButtonStyleState_build_resolve.prototype = { call$1$1(getProperty, $T) { return this.effectiveValue.call$1$1(new A._ButtonStyleState_build_resolve_closure(this.$this, getProperty, $T), $T); }, call$1(getProperty) { return this.call$1$1(getProperty, type$.dynamic); }, $signature: 3081 }; A._ButtonStyleState_build_resolve_closure.prototype = { call$1(style) { var t1 = this.getProperty.call$1(style); return t1 == null ? null : J.resolve$1$z(t1, this.$this.get$statesController()._change_notifier$_value); }, $signature() { return this.T._eval$1("0?(ButtonStyle?)"); } }; A._ButtonStyleState_build_closure.prototype = { call$1(style) { return style == null ? null : style.get$elevation(style); }, $signature: 825 }; A._ButtonStyleState_build_closure0.prototype = { call$1(style) { return style == null ? null : style.get$textStyle(); }, $signature: 3086 }; A._ButtonStyleState_build_closure1.prototype = { call$1(style) { return style == null ? null : style.get$backgroundColor(style); }, $signature: 301 }; A._ButtonStyleState_build_closure2.prototype = { call$1(style) { return style == null ? null : style.get$foregroundColor(); }, $signature: 301 }; A._ButtonStyleState_build_closure3.prototype = { call$1(style) { return style == null ? null : style.get$shadowColor(style); }, $signature: 301 }; A._ButtonStyleState_build_closure4.prototype = { call$1(style) { return style == null ? null : style.get$surfaceTintColor(); }, $signature: 301 }; A._ButtonStyleState_build_closure5.prototype = { call$1(style) { return style == null ? null : style.get$padding(style); }, $signature: 3103 }; A._ButtonStyleState_build_closure6.prototype = { call$1(style) { return style == null ? null : style.get$minimumSize(); }, $signature: 454 }; A._ButtonStyleState_build_closure7.prototype = { call$1(style) { return style == null ? null : style.fixedSize; }, $signature: 454 }; A._ButtonStyleState_build_closure8.prototype = { call$1(style) { return style == null ? null : style.get$maximumSize(); }, $signature: 454 }; A._ButtonStyleState_build_closure9.prototype = { call$1(style) { return style == null ? null : style.iconColor; }, $signature: 301 }; A._ButtonStyleState_build_closure10.prototype = { call$1(style) { return style == null ? null : style.get$iconSize(); }, $signature: 825 }; A._ButtonStyleState_build_closure11.prototype = { call$1(style) { return style == null ? null : style.get$side(); }, $signature: 3108 }; A._ButtonStyleState_build_closure12.prototype = { call$1(style) { return style == null ? null : style.get$shape(style); }, $signature: 3111 }; A._ButtonStyleState_build_closure20.prototype = { call$1(states) { return this.effectiveValue.call$1$1(new A._ButtonStyleState_build__closure0(states), type$.MouseCursor); }, $signature: 3124 }; A._ButtonStyleState_build__closure0.prototype = { call$1(style) { var t1; if (style == null) t1 = null; else { t1 = style.get$mouseCursor(); t1 = t1 == null ? null : t1.resolve$1(0, this.states); } return t1; }, $signature: 3126 }; A._ButtonStyleState_build_closure21.prototype = { call$1(states) { return this.effectiveValue.call$1$1(new A._ButtonStyleState_build__closure(states), type$.Color); }, $signature: 86 }; A._ButtonStyleState_build__closure.prototype = { call$1(style) { var t1; if (style == null) t1 = null; else { t1 = style.get$overlayColor(); t1 = t1 == null ? null : t1.resolve$1(0, this.states); } return t1; }, $signature: 3142 }; A._ButtonStyleState_build_closure13.prototype = { call$1(style) { return style == null ? null : style.get$visualDensity(); }, $signature: 3144 }; A._ButtonStyleState_build_closure14.prototype = { call$1(style) { return style == null ? null : style.get$tapTargetSize(); }, $signature: 3146 }; A._ButtonStyleState_build_closure15.prototype = { call$1(style) { return style == null ? null : style.animationDuration; }, $signature: 3151 }; A._ButtonStyleState_build_closure16.prototype = { call$1(style) { return style == null ? null : style.enableFeedback; }, $signature: 3155 }; A._ButtonStyleState_build_closure17.prototype = { call$1(style) { return style == null ? null : style.alignment; }, $signature: 3160 }; A._ButtonStyleState_build_closure18.prototype = { call$1(style) { return style == null ? null : style.get$splashFactory(); }, $signature: 3182 }; A._ButtonStyleState_build_closure19.prototype = { call$1($status) { if ($status === B.AnimationStatus_3) this.$this.setState$1(new A._ButtonStyleState_build__closure1()); }, $signature: 47 }; A._ButtonStyleState_build__closure1.prototype = { call$0() { }, $signature: 0 }; A._MouseCursor.prototype = { resolve$1(_, states) { var t1 = this.resolveCallback.call$1(states); t1.toString; return t1; }, get$debugDescription() { return "ButtonStyleButton_MouseCursor"; } }; A._InputPadding0.prototype = { createRenderObject$1(context) { var t1 = new A._RenderInputPadding0(this.minSize, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$minSize(this.minSize); } }; A._RenderInputPadding0.prototype = { set$minSize(value) { if (this._button_style_button$_minSize.$eq(0, value)) return; this._button_style_button$_minSize = value; this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()), this._button_style_button$_minSize._dx); return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()), this._button_style_button$_minSize._dy); return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()), this._button_style_button$_minSize._dx); return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()), this._button_style_button$_minSize._dy); return 0; }, _button_style_button$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var childSize, t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { childSize = layoutChild.call$2(t1, constraints); t1 = childSize._dx; t2 = this._button_style_button$_minSize; return constraints.constrain$1(new A.Size(Math.max(t1, t2._dx), Math.max(childSize._dy, t2._dy))); } return B.Size_0_0; }, computeDryLayout$1(constraints) { return this._button_style_button$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { var t1, _this = this; _this._box$_size = _this._button_style_button$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { t1 = t1.parentData; t1.toString; type$.BoxParentData._as(t1).offset = B.Alignment_0_0.alongOffset$1(type$.Offset._as(_this.get$size(0).$sub(0, _this.RenderObjectWithChildMixin__child.get$size(0)))); } }, hitTest$2$position(result, position) { var center; if (this.super$RenderBox$hitTest(result, position)) return true; center = this.RenderObjectWithChildMixin__child.get$size(0).center$1(B.Offset_0_0); return result.addWithRawTransform$3$hitTest$position$transform(new A._RenderInputPadding_hitTest_closure0(this, center), center, A.MatrixUtils_forceToPoint(center)); } }; A._RenderInputPadding_hitTest_closure0.prototype = { call$2(result, position) { return this.$this.RenderObjectWithChildMixin__child.hitTest$2$position(result, this.center); }, $signature: 77 }; A.__ButtonStyleState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.ButtonTextTheme.prototype = { _enumToString$0() { return "ButtonTextTheme." + this._core$_name; } }; A.ButtonBarLayoutBehavior.prototype = { _enumToString$0() { return "ButtonBarLayoutBehavior." + this._core$_name; } }; A.ButtonTheme.prototype = { wrap$2(_, context, child) { return A.ButtonTheme$fromButtonThemeData(child, this.data); }, updateShouldNotify$1(oldWidget) { return !this.data.$eq(0, oldWidget.data); } }; A.ButtonThemeData.prototype = { get$padding(_) { var t1 = this._button_theme$_padding; if (t1 != null) return t1; switch (this.textTheme.index) { case 0: case 1: return B.EdgeInsets_16_0_16_0; case 2: return B.EdgeInsets_24_0_24_0; } }, get$shape(_) { var t1 = this._button_theme$_shape; if (t1 != null) return t1; switch (this.textTheme.index) { case 0: case 1: return B.RoundedRectangleBorder_27D; case 2: return B.RoundedRectangleBorder_27D4; } }, copyWith$7$alignedDropdown$colorScheme$height$layoutBehavior$minWidth$padding$textTheme(alignedDropdown, colorScheme, height, layoutBehavior, minWidth, padding, textTheme) { var _this = this, t1 = textTheme == null ? _this.textTheme : textTheme, t2 = layoutBehavior == null ? _this.layoutBehavior : layoutBehavior, t3 = minWidth == null ? _this.minWidth : minWidth, t4 = height == null ? _this.height : height, t5 = padding == null ? _this.get$padding(0) : padding, t6 = _this.get$shape(0), t7 = colorScheme == null ? _this.colorScheme : colorScheme; return A.ButtonThemeData$(alignedDropdown === true, _this._buttonColor, t7, _this._disabledColor, _this._focusColor, t4, _this._button_theme$_highlightColor, _this._hoverColor, t2, _this._materialTapTargetSize, t3, t5, t6, _this._splashColor, t1); }, copyWith$1$colorScheme(colorScheme) { var _null = null; return this.copyWith$7$alignedDropdown$colorScheme$height$layoutBehavior$minWidth$padding$textTheme(_null, colorScheme, _null, _null, _null, _null, _null); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.ButtonThemeData && other.textTheme === _this.textTheme && other.minWidth === _this.minWidth && other.height === _this.height && other.get$padding(0).$eq(0, _this.get$padding(0)) && other.get$shape(0).$eq(0, _this.get$shape(0)) && J.$eq$(other._buttonColor, _this._buttonColor) && J.$eq$(other._focusColor, _this._focusColor) && J.$eq$(other._hoverColor, _this._hoverColor) && J.$eq$(other.colorScheme, _this.colorScheme) && other._materialTapTargetSize == _this._materialTapTargetSize; }, get$hashCode(_) { var _this = this; return A.Object_hash(_this.textTheme, _this.minWidth, _this.height, _this.get$padding(0), _this.get$shape(0), false, _this._buttonColor, _this._disabledColor, _this._focusColor, _this._hoverColor, _this._button_theme$_highlightColor, _this._splashColor, _this.colorScheme, _this._materialTapTargetSize, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); } }; A._ButtonThemeData_Object_Diagnosticable.prototype = {}; A.CalendarDatePicker.prototype = { createState$0() { var t1 = type$.LabeledGlobalKey_State_StatefulWidget; return new A._CalendarDatePickerState(new A.LabeledGlobalKey(null, t1), new A.LabeledGlobalKey(null, t1), B._StateLifecycle_0); }, onDateChanged$1(arg0) { return this.onDateChanged.call$1(arg0); } }; A._CalendarDatePickerState.prototype = { initState$0() { var t1, currentDisplayedDate, _this = this; _this.super$State$initState(); t1 = _this._widget; _this.___CalendarDatePickerState__mode_A = t1.initialCalendarMode; currentDisplayedDate = t1.initialDate; if (currentDisplayedDate == null) currentDisplayedDate = t1.currentDate; t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(currentDisplayedDate), A.Primitives_getMonth(currentDisplayedDate), 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); _this.___CalendarDatePickerState__currentDisplayedMonthDate_A = new A.DateTime(t1, false); t1 = _this._widget.initialDate; if (t1 != null) _this._calendar_date_picker$_selectedDate = t1; }, didChangeDependencies$0() { var t1, semanticLabelSuffix, t2, _this = this; _this.super$State$didChangeDependencies(); t1 = _this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; _this.___CalendarDatePickerState__localizations_A = t1; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; _this.___CalendarDatePickerState__textDirection_A = t1.textDirection; if (!_this._announcedInitialDate && _this._widget.initialDate != null) { _this._announcedInitialDate = true; semanticLabelSuffix = A.DateUtils_isSameDay(_this._widget.currentDate, _this._calendar_date_picker$_selectedDate) ? ", " + _this.___CalendarDatePickerState__localizations_A.get$currentDateLabel() : ""; t1 = _this.___CalendarDatePickerState__localizations_A; t2 = _this._calendar_date_picker$_selectedDate; t2.toString; A.SemanticsService_announce(t1.formatFullDate$1(t2) + semanticLabelSuffix, _this.___CalendarDatePickerState__textDirection_A, B.Assertiveness_00); } }, _vibrate$0() { var t1 = this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 0: case 1: case 3: case 5: A.HapticFeedback_vibrate(); break; case 2: case 4: break; } }, _handleModeChanged$1(mode) { this._vibrate$0(); this.setState$1(new A._CalendarDatePickerState__handleModeChanged_closure(this, mode)); }, _handleMonthChanged$1(date) { this.setState$1(new A._CalendarDatePickerState__handleMonthChanged_closure(this, date)); }, _handleYearChanged$1(value) { var daysInMonth, t2, preferredDay, t3, t4, _this = this, t1 = {}; t1.value = value; _this._vibrate$0(); daysInMonth = A.DateUtils_getDaysInMonth(A.Primitives_getYear(value), A.Primitives_getMonth(value)); t2 = _this._calendar_date_picker$_selectedDate; t2 = t2 == null ? null : A.Primitives_getDay(t2); if (t2 == null) t2 = 1; preferredDay = Math.min(t2, daysInMonth); t2 = value.isUtc ? A.core_DateTime___utc_tearOff$closure() : A.core_DateTime___new_tearOff$closure(); t2 = t2.call$8(A.Primitives_getYear(value), A.Primitives_getMonth(value), preferredDay, A.Primitives_getHours(value), A.Primitives_getMinutes(value), A.Primitives_getSeconds(value), A.Primitives_getMilliseconds(value), 0); t1.value = t2; t3 = _this._widget; t4 = t3.firstDate; t2 = t2._value; if (t2 < t4._value) t1.value = t4; else { t3 = t3.lastDate; if (t2 > t3._value) t1.value = t3; } _this.setState$1(new A._CalendarDatePickerState__handleYearChanged_closure(t1, _this)); }, _handleDayChanged$1(value) { this._vibrate$0(); this.setState$1(new A._CalendarDatePickerState__handleDayChanged_closure(this, value)); }, _buildPicker$0() { var t2, t3, t4, _this = this, t1 = _this.___CalendarDatePickerState__mode_A; t1 === $ && A.throwUnnamedLateFieldNI(); switch (t1.index) { case 0: t1 = _this.___CalendarDatePickerState__currentDisplayedMonthDate_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = _this._widget; return new A._MonthPicker(t1, t2.currentDate, t2.firstDate, t2.lastDate, _this._calendar_date_picker$_selectedDate, _this.get$_handleDayChanged(), _this.get$_handleMonthChanged(), t2.selectableDayPredicate, _this._monthPickerKey); case 1: t1 = _this._widget; t2 = t1.currentDate; t3 = t1.firstDate; t1 = t1.lastDate; t4 = _this.___CalendarDatePickerState__currentDisplayedMonthDate_A; t4 === $ && A.throwUnnamedLateFieldNI(); t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2), A.Primitives_getDay(t2), 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); return new A.Padding(B.EdgeInsets_0_52_0_0, new A.YearPicker(new A.DateTime(t2, false), t3, t1, t4, _this.get$_handleYearChanged(), _this._yearPickerKey), null); } }, build$1(context) { var t3, t4, _this = this, _null = null, t1 = _this._buildPicker$0(), t2 = _this.___CalendarDatePickerState__mode_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = _this.___CalendarDatePickerState__localizations_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this.___CalendarDatePickerState__currentDisplayedMonthDate_A; t4 === $ && A.throwUnnamedLateFieldNI(); return new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_1, A._setArrayType([new A.SizedBox(_null, 346, t1, _null), new A._DatePickerModeToggleButton(t2, t3.formatMonthYear$1(t4), new A._CalendarDatePickerState_build_closure(_this), _null)], type$.JSArray_Widget), _null); } }; A._CalendarDatePickerState__handleModeChanged_closure.prototype = { call$0() { var t3, t4, t1 = this.$this, t2 = this.mode; t1.___CalendarDatePickerState__mode_A = t2; t3 = t1._calendar_date_picker$_selectedDate; if (t3 != null) { t4 = t1.___CalendarDatePickerState__localizations_A; if (t2 === B.DatePickerMode_0) { t4 === $ && A.throwUnnamedLateFieldNI(); t2 = t4.formatMonthYear$1(t3); t1 = t1.___CalendarDatePickerState__textDirection_A; t1 === $ && A.throwUnnamedLateFieldNI(); A.SemanticsService_announce(t2, t1, B.Assertiveness_00); } else { t4 === $ && A.throwUnnamedLateFieldNI(); t2 = t4.formatYear$1(t3); t1 = t1.___CalendarDatePickerState__textDirection_A; t1 === $ && A.throwUnnamedLateFieldNI(); A.SemanticsService_announce(t2, t1, B.Assertiveness_00); } } }, $signature: 0 }; A._CalendarDatePickerState__handleMonthChanged_closure.prototype = { call$0() { var t3, t1 = this.$this, t2 = t1.___CalendarDatePickerState__currentDisplayedMonthDate_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = this.date; if (A.Primitives_getYear(t2) !== A.Primitives_getYear(t3) || A.Primitives_getMonth(t2) !== A.Primitives_getMonth(t3)) { t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t3), A.Primitives_getMonth(t3), 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t1.___CalendarDatePickerState__currentDisplayedMonthDate_A = new A.DateTime(t2, false); t1._widget.toString; } }, $signature: 0 }; A._CalendarDatePickerState__handleYearChanged_closure.prototype = { call$0() { var t2, t3, t1 = this.$this; t1.___CalendarDatePickerState__mode_A = B.DatePickerMode_0; t2 = this._box_0; t1._handleMonthChanged$1(t2.value); t3 = t1._widget; t3.toString; t2 = t2.value; t1._calendar_date_picker$_selectedDate = t2; t3.onDateChanged$1(t2); }, $signature: 0 }; A._CalendarDatePickerState__handleDayChanged_closure.prototype = { call$0() { var t1 = this.$this, t2 = this.value; t1._calendar_date_picker$_selectedDate = t2; t1._widget.onDateChanged$1(t2); }, $signature: 0 }; A._CalendarDatePickerState_build_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.___CalendarDatePickerState__mode_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1._handleModeChanged$1(t2 === B.DatePickerMode_0 ? B.DatePickerMode_1 : B.DatePickerMode_0); }, $signature: 0 }; A._DatePickerModeToggleButton.prototype = { createState$0() { return new A._DatePickerModeToggleButtonState(null, null, B._StateLifecycle_0); } }; A._DatePickerModeToggleButtonState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); _this.___DatePickerModeToggleButtonState__controller_A = A.AnimationController$(null, B.Duration_200000, null, 0.5, _this._widget.mode === B.DatePickerMode_1 ? 0.5 : 0, _this); }, didUpdateWidget$1(oldWidget) { var t1, t2; this.super$State$didUpdateWidget(oldWidget); t1 = this._widget.mode; if (oldWidget.mode === t1) return; t2 = this.___DatePickerModeToggleButtonState__controller_A; if (t1 === B.DatePickerMode_1) { t2 === $ && A.throwUnnamedLateFieldNI(); t2.forward$0(0); } else { t2 === $ && A.throwUnnamedLateFieldNI(); t2.reverse$0(0); } }, build$1(context) { var controlColor, t3, t4, t5, _null = null, t1 = A.Theme_of(context), t2 = A.Theme_of(context); t1 = t1.colorScheme.onSurface.value; controlColor = A.Color$fromARGB(153, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t1 = t1.get$selectYearSemanticsLabel(); t3 = this._widget; t4 = t3.onTitlePressed; t3 = t3.title; t2 = t2.textTheme.titleSmall; t2 = A.Text$(t3, _null, _null, B.TextOverflow_2, _null, _null, t2 == null ? _null : t2.copyWith$1$color(controlColor), _null, _null, _null); t3 = this.___DatePickerModeToggleButtonState__controller_A; t3 === $ && A.throwUnnamedLateFieldNI(); t5 = type$.JSArray_Widget; t4 = A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_8_0_8_0, A.Row$(A._setArrayType([new A.Flexible(1, B.FlexFit_1, t2, _null), A.RotationTransition$(B.Alignment_0_0, A.Icon$(B.IconData_57496_MaterialIcons_null_false, controlColor, _null, _null), t3)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, _null, _null); t1 = A._setArrayType([new A.Flexible(1, B.FlexFit_1, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, true, false, new A.SizedBox(_null, 52, t4, _null), _null), _null)], t5); if (this._widget.mode === B.DatePickerMode_0) t1.push(B.SizedBox_108_null_null_null); return A.Container$(_null, A.Row$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, 52, _null, _null, B.EdgeInsetsDirectional_16_0_4_0, _null, _null, _null); }, dispose$0() { var t1 = this.___DatePickerModeToggleButtonState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$__DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin$dispose(); } }; A._MonthPicker.prototype = { createState$0() { return new A._MonthPickerState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); }, onDisplayedMonthChanged$1(arg0) { return this.onDisplayedMonthChanged.call$1(arg0); } }; A._MonthPickerState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = _this._widget; t2 = t1.initialMonth; _this.___MonthPickerState__currentMonth_A = t2; _this.___MonthPickerState__pageController_A = A.PageController$(A.DateUtils_monthDelta(t1.firstDate, t2), 1); _this._shortcutMap = B.Map_hS4kv; t2 = type$.JSArray_of_void_Function_Action_Intent; t1 = type$.ObserverList_of_void_Function_Action_Intent; _this._actionMap = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_NextFocusIntent_6xB, new A.CallbackAction(_this.get$_handleGridNextFocus(), new A.ObserverList(A._setArrayType([], t2), t1), type$.CallbackAction_NextFocusIntent), B.Type_PreviousFocusIntent_wsa, new A.CallbackAction(_this.get$_handleGridPreviousFocus(), new A.ObserverList(A._setArrayType([], t2), t1), type$.CallbackAction_PreviousFocusIntent), B.Type_DirectionalFocusIntent_evN, new A.CallbackAction(_this.get$_handleDirectionFocus(), new A.ObserverList(A._setArrayType([], t2), t1), type$.CallbackAction_DirectionalFocusIntent)], type$.Type, type$.Action_Intent); _this.___MonthPickerState__dayGridFocus_A = A.FocusNode$(true, "Day Grid", true, true, null, null, false); }, didChangeDependencies$0() { var t1, _this = this; _this.super$State$didChangeDependencies(); t1 = _this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; _this.___MonthPickerState__localizations_A = t1; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; _this.___MonthPickerState__textDirection_A = t1.textDirection; }, dispose$0() { var t1 = this.___MonthPickerState__pageController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = this.___MonthPickerState__dayGridFocus_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$State$dispose(); }, _handleDateSelected$1(selectedDate) { this._focusedDay = selectedDate; this._widget.onChanged$1(selectedDate); }, _handleMonthPageChanged$1(monthPage) { this.setState$1(new A._MonthPickerState__handleMonthPageChanged_closure(this, monthPage)); }, _focusableDayForMonth$2(month, preferredDay) { var t1, newFocus, daysInMonth = A.DateUtils_getDaysInMonth(A.Primitives_getYear(month), A.Primitives_getMonth(month)); if (preferredDay <= daysInMonth) { t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(month), A.Primitives_getMonth(month), preferredDay, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); newFocus = new A.DateTime(t1, false); if (this._isSelectable$1(newFocus)) return newFocus; } for (; 1 <= daysInMonth;) { t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(month), A.Primitives_getMonth(month), 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); newFocus = new A.DateTime(t1, false); this._widget.toString; return newFocus; } return null; }, _handleNextMonth$0() { var t1, t2; if (!this.get$_isDisplayingLastMonth()) { t1 = this.___MonthPickerState__pageController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = type$._PagePosition._as(B.JSArray_methods.get$single(t1._positions)).get$page(0); t2.toString; t1.animateToPage$3$curve$duration(B.JSNumber_methods.round$0(t2) + 1, B.Cubic_JUR, B.Duration_200000); } }, _handlePreviousMonth$0() { var t1, t2; if (!this.get$_isDisplayingFirstMonth()) { t1 = this.___MonthPickerState__pageController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = type$._PagePosition._as(B.JSArray_methods.get$single(t1._positions)).get$page(0); t2.toString; t1.animateToPage$3$curve$duration(B.JSNumber_methods.round$0(t2) - 1, B.Cubic_JUR, B.Duration_200000); } }, get$_isDisplayingFirstMonth() { var t2, t1 = this.___MonthPickerState__currentMonth_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this._widget.firstDate; t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2), 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); return !(t1._value > t2); }, get$_isDisplayingLastMonth() { var t2, t1 = this.___MonthPickerState__currentMonth_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this._widget.lastDate; t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2), 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); return !(t1._value < t2); }, _handleGridFocusChange$1(focused) { this.setState$1(new A._MonthPickerState__handleGridFocusChange_closure(this, focused)); }, _handleGridNextFocus$1(intent) { var t2, t1 = this.___MonthPickerState__dayGridFocus_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.requestFocus$0(); t1 = this.___MonthPickerState__dayGridFocus_A; t2 = t1._focus_manager$_context; t2.toString; A.FocusTraversalGroup_maybeOf(t2)._moveFocus$2$forward(t1, true); }, _handleGridPreviousFocus$1(intent) { var t2, t1 = this.___MonthPickerState__dayGridFocus_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.requestFocus$0(); t1 = this.___MonthPickerState__dayGridFocus_A; t2 = t1._focus_manager$_context; t2.toString; A.FocusTraversalGroup_maybeOf(t2)._moveFocus$2$forward(t1, false); }, _handleDirectionFocus$1(intent) { this.setState$1(new A._MonthPickerState__handleDirectionFocus_closure(this, intent)); }, _dayDirectionOffset$2(traversalDirection, textDirection) { var t1; if (textDirection === B.TextDirection_0) if (traversalDirection === B.TraversalDirection_3) traversalDirection = B.TraversalDirection_1; else if (traversalDirection === B.TraversalDirection_1) traversalDirection = B.TraversalDirection_3; t1 = B.Map_lZUAg.$index(0, traversalDirection); t1.toString; return t1; }, _nextDateInDirection$2(date, direction) { var nextDate, t2, t3, t1 = this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = this._dayDirectionOffset$2(direction, t1.textDirection); t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), A.Primitives_getMonth(date), A.Primitives_getDay(date) + t1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); nextDate = new A.DateTime(t1, false); t1 = this._widget; t2 = nextDate._value; t3 = t2 >= t1.firstDate._value; t1 = t2 <= t1.lastDate._value; while (true) { if (!(t3 && t1)) break; return nextDate; } return null; }, _isSelectable$1(date) { this._widget.toString; return true; }, _buildItems$2(context, index) { var month, t1 = this._widget.firstDate; t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t1), A.Primitives_getMonth(t1) + index, 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); month = new A.DateTime(t1, false); t1 = this._widget; return new A._DayPicker(t1.selectedDate, t1.currentDate, this.get$_handleDateSelected(), t1.firstDate, t1.lastDate, month, t1.selectableDayPredicate, new A.ValueKey(month, type$.ValueKey_DateTime)); }, build$1(context) { var t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = A.Theme_of(context).colorScheme.onSurface.value, controlColor = A.Color$fromARGB(153, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); if (_this.get$_isDisplayingFirstMonth()) t1 = _null; else { t1 = _this.___MonthPickerState__localizations_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.get$previousMonthTooltip(); } t1 = A.IconButton$(_null, controlColor, _null, _null, B.Icon_iJL, _null, _this.get$_isDisplayingFirstMonth() ? _null : _this.get$_handlePreviousMonth(), _null, _null, _null, t1, _null); if (_this.get$_isDisplayingLastMonth()) t2 = _null; else { t2 = _this.___MonthPickerState__localizations_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.get$nextMonthTooltip(); } t3 = type$.JSArray_Widget; t2 = A.Container$(_null, A.Row$(A._setArrayType([B.Spacer_null, t1, A.IconButton$(_null, controlColor, _null, _null, B.Icon_naM, _null, _this.get$_isDisplayingLastMonth() ? _null : _this.get$_handleNextMonth(), _null, _null, _null, t2, _null)], t3), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null), B.Clip_0, _null, _null, _null, _null, 52, _null, _null, B.EdgeInsetsDirectional_16_0_4_0, _null, _null, _null); t1 = _this._shortcutMap; t4 = _this._actionMap; t5 = _this.___MonthPickerState__dayGridFocus_A; t5 === $ && A.throwUnnamedLateFieldNI(); t6 = t5.get$hasFocus() ? _this._focusedDay : _null; t7 = _this.___MonthPickerState__pageController_A; t7 === $ && A.throwUnnamedLateFieldNI(); t8 = _this._widget; t8 = A.DateUtils_monthDelta(t8.firstDate, t8.lastDate); t1 = A.Column$(A._setArrayType([t2, A.Expanded$(A.FocusableActionDetector$(t4, false, new A._FocusedDate(t6, new A.PageView(t7, _null, _this.get$_handleMonthPageChanged(), new A.SliverChildBuilderDelegate(_this.get$_buildItems(), t8 + 1, true, true, true, A.scroll_delegate___kDefaultSemanticIndexCallback$closure(), _null), B.DragStartBehavior_1, B.Clip_1, _this._pageViewKey), _null), true, t5, B.C__DeferringMouseCursor, _this.get$_handleGridFocusChange(), _null, _null, t1), 1)], t3), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t1, _null); } }; A._MonthPickerState__handleMonthPageChanged_closure.prototype = { call$0() { var monthDate, t3, t1 = this.$this, t2 = t1._widget.firstDate; t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2) + this.monthPage, 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); monthDate = new A.DateTime(t2, false); t2 = t1.___MonthPickerState__currentMonth_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (!A.DateUtils_isSameMonth(t2, monthDate)) { t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(monthDate), A.Primitives_getMonth(monthDate), 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t2 = new A.DateTime(t2, false); t1.___MonthPickerState__currentMonth_A = t2; t1._widget.onDisplayedMonthChanged$1(t2); t2 = t1._focusedDay; if (t2 != null && !A.DateUtils_isSameMonth(t2, t1.___MonthPickerState__currentMonth_A)) { t3 = t1.___MonthPickerState__currentMonth_A; t2.toString; t1._focusedDay = t1._focusableDayForMonth$2(t3, A.Primitives_getDay(t2)); } t2 = t1.___MonthPickerState__localizations_A; t2 === $ && A.throwUnnamedLateFieldNI(); t2 = t2.formatMonthYear$1(t1.___MonthPickerState__currentMonth_A); t1 = t1.___MonthPickerState__textDirection_A; t1 === $ && A.throwUnnamedLateFieldNI(); A.SemanticsService_announce(t2, t1, B.Assertiveness_00); } }, $signature: 0 }; A._MonthPickerState__handleGridFocusChange_closure.prototype = { call$0() { var t1, t2, t3, t4; if (this.focused && this.$this._focusedDay == null) { t1 = this.$this; t2 = t1._widget; t3 = t2.selectedDate; t4 = t1.___MonthPickerState__currentMonth_A; t4 === $ && A.throwUnnamedLateFieldNI(); if (A.DateUtils_isSameMonth(t3, t4)) t1._focusedDay = t3; else { t2 = t2.currentDate; if (A.DateUtils_isSameMonth(t2, t4)) t1._focusedDay = t1._focusableDayForMonth$2(t4, A.Primitives_getDay(t2)); else t1._focusedDay = t1._focusableDayForMonth$2(t4, 1); } } }, $signature: 0 }; A._MonthPickerState__handleDirectionFocus_closure.prototype = { call$0() { var nextDate, monthPage, t1 = this.$this, t2 = t1._focusedDay; t2.toString; nextDate = t1._nextDateInDirection$2(t2, this.intent.direction); if (nextDate != null) { t1._focusedDay = nextDate; t2 = t1.___MonthPickerState__currentMonth_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (!A.DateUtils_isSameMonth(nextDate, t2)) { monthPage = A.DateUtils_monthDelta(t1._widget.firstDate, nextDate); t1 = t1.___MonthPickerState__pageController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.animateToPage$3$curve$duration(monthPage, B.Cubic_JUR, B.Duration_200000); } } }, $signature: 0 }; A._FocusedDate.prototype = { updateShouldNotify$1(oldWidget) { return !A.DateUtils_isSameDay(this.date, oldWidget.date); }, get$date() { return this.date; } }; A._DayPicker.prototype = { createState$0() { return new A._DayPickerState(B._StateLifecycle_0); } }; A._DayPickerState.prototype = { initState$0() { var t1, daysInMonth, _list, index, index0; this.super$State$initState(); t1 = this._widget.displayedMonth; daysInMonth = A.DateUtils_getDaysInMonth(A.Primitives_getYear(t1), A.Primitives_getMonth(t1)); _list = J.JSArray_JSArray$allocateGrowable(daysInMonth, type$.FocusNode); for (index = 0; index < daysInMonth; index = index0) { index0 = index + 1; _list[index] = A.FocusNode$(true, "Day " + index0, true, true, null, null, true); } this.___DayPickerState__dayFocusNodes_A = _list; }, didChangeDependencies$0() { var focusedDate, t1, _this = this; _this.super$State$didChangeDependencies(); focusedDate = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._FocusedDate); focusedDate = focusedDate == null ? null : focusedDate.date; if (focusedDate != null && A.DateUtils_isSameMonth(_this._widget.displayedMonth, focusedDate)) { t1 = _this.___DayPickerState__dayFocusNodes_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1[A.Primitives_getDay(focusedDate) - 1].requestFocus$0(); } }, dispose$0() { var t2, _i, node, t3, t1 = this.___DayPickerState__dayFocusNodes_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.length; _i = 0; for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; t3 = node._attachment; if (t3 != null) t3.detach$0(0); node.super$ChangeNotifier$dispose(); } this.super$State$dispose(); }, _dayHeaders$2(headerStyle, localizations) { var i, _null = null, result = A._setArrayType([], type$.JSArray_Widget); for (i = localizations.get$firstDayOfWeekIndex(); result.length < 7; i = (i + 1) % 7) result.push(new A.ExcludeSemantics(true, new A.Center(B.Alignment_0_0, _null, _null, new A.Text(localizations.get$narrowWeekdays()[i], _null, headerStyle, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null)); return result; }, build$1(context) { var datePickerTheme, defaults, weekdayStyle, t2, year, month, daysInMonth, dayOffset, dayItems, day, dayToBuild, t3, isDisabled, isSelectedDay, isToday, _this = this, _null = null, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; datePickerTheme = A.DatePickerTheme_of(context); defaults = A.Theme_of(context).useMaterial3 ? A._DatePickerDefaultsM3$(context) : A._DatePickerDefaultsM2$(context); weekdayStyle = datePickerTheme.weekdayStyle; if (weekdayStyle == null) weekdayStyle = defaults.get$weekdayStyle(); t2 = _this._widget.displayedMonth; year = A.Primitives_getYear(t2); month = A.Primitives_getMonth(t2); daysInMonth = A.DateUtils_getDaysInMonth(year, month); t2 = A.Primitives_valueFromDecomposedDate(year, month, 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); dayOffset = B.JSInt_methods.$mod(A.Primitives_getWeekday(new A.DateTime(t2, false)) - 1 - B.JSInt_methods.$mod(t1.get$firstDayOfWeekIndex() - 1, 7), 7); dayItems = _this._dayHeaders$2(weekdayStyle, t1); day = -dayOffset; for (t1 = type$.ValueKey_DateTime; day < daysInMonth;) { ++day; if (day < 1) dayItems.push(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); else { t2 = A.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); dayToBuild = new A.DateTime(t2, false); t3 = _this._widget; if (!(t2 > t3.lastDate._value)) if (!(t2 < t3.firstDate._value)) isDisabled = false; else isDisabled = true; else isDisabled = true; isSelectedDay = A.DateUtils_isSameDay(t3.selectedDate, dayToBuild); isToday = A.DateUtils_isSameDay(t3.currentDate, dayToBuild); t2 = t3.onChanged; t3 = _this.___DayPickerState__dayFocusNodes_A; t3 === $ && A.throwUnnamedLateFieldNI(); dayItems.push(new A._Day(dayToBuild, isDisabled, isSelectedDay, isToday, t2, t3[day - 1], new A.ValueKey(dayToBuild, t1))); } } t1 = A.SliverChildListDelegate$(dayItems, true, false, true); return new A.Padding(B.EdgeInsets_8_0_8_0, new A.GridView(B.C__DayPickerGridDelegate, t1, _null, B.Axis_1, false, _null, _null, B.ClampingScrollPhysics_null, _null, false, _null, 0, _null, _null, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null), _null); } }; A._Day.prototype = { createState$0() { return new A._DayState(A.MaterialStatesController$(null), B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); } }; A._DayState.prototype = { build$1(context) { var t1, t2, t3, semanticLabelSuffix, t4, t5, t6, dayForegroundColor, dayBackgroundColor, decoration, dayWidget, _this = this, _null = null, defaults = A.Theme_of(context).useMaterial3 ? A._DatePickerDefaultsM3$(context) : A._DatePickerDefaultsM2$(context), datePickerTheme = A.DatePickerTheme_of(context), dayStyle = datePickerTheme.dayStyle; if (dayStyle == null) dayStyle = defaults.get$dayStyle(); t1 = new A._DayState_build_effectiveValue(datePickerTheme, defaults); t2 = new A._DayState_build_resolve(t1); t3 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t3.toString; semanticLabelSuffix = _this._widget.isToday ? ", " + t3.get$currentDateLabel() : ""; t4 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (_this._widget.isDisabled) t4.add$1(0, B.MaterialState_6); if (_this._widget.isSelectedDay) t4.add$1(0, B.MaterialState_4); t5 = _this._calendar_date_picker$_statesController; t5.set$value(0, t4); t6 = type$.nullable_Color; dayForegroundColor = t2.call$1$2(new A._DayState_build_closure(_this), t4, t6); dayBackgroundColor = t2.call$1$2(new A._DayState_build_closure0(_this), t4, t6); if (_this._widget.isToday) { t2 = datePickerTheme.todayBorder; t2 = (t2 == null ? defaults.get$todayBorder() : t2).copyWith$1$color(dayForegroundColor); decoration = new A.BoxDecoration(dayBackgroundColor, _null, new A.Border(t2, t2, t2, t2), _null, _null, _null, B.BoxShape_1); } else decoration = new A.BoxDecoration(dayBackgroundColor, _null, _null, _null, _null, _null, B.BoxShape_1); t2 = t3.formatDecimal$1(A.Primitives_getDay(_this._widget.day)); dayWidget = A.Container$(_null, A.Center$(A.Text$(t2, _null, _null, _null, _null, _null, dayStyle == null ? _null : dayStyle.apply$1$color(dayForegroundColor), _null, _null, _null), _null, _null), B.Clip_0, _null, _null, decoration, _null, _null, _null, _null, _null, _null, _null, _null); t2 = _this._widget; if (t2.isDisabled) dayWidget = new A.ExcludeSemantics(true, dayWidget, _null); else { t4 = t2.focusNode; t2 = t3.formatDecimal$1(A.Primitives_getDay(t2.day)); t3 = t3.formatFullDate$1(_this._widget.day); t6 = _this._widget.isSelectedDay; dayWidget = A.InkResponse$(false, _null, true, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2 + ", " + t3 + semanticLabelSuffix, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6, _null, _null, _null, _null, _null, _null, _null, _null), false, false, true, false, dayWidget, _null), false, _null, true, false, _null, t4, _null, B.BoxShape_1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._DayState_build_closure1(_this), _null, _null, _null, new A._MaterialStatePropertyWith(new A._DayState_build_closure2(t1), type$._MaterialStatePropertyWith_nullable_Color), 25, _null, _null, t5); } return dayWidget; }, dispose$0() { var t1 = this._calendar_date_picker$_statesController; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; this.super$State$dispose(); } }; A._DayState_build_effectiveValue.prototype = { call$1$1(getProperty, $T) { var t1 = getProperty.call$1(this.datePickerTheme); return t1 == null ? getProperty.call$1(this.defaults) : t1; }, call$1(getProperty) { return this.call$1$1(getProperty, type$.dynamic); }, $signature: 823 }; A._DayState_build_resolve.prototype = { call$1$2(getProperty, states, $T) { return this.effectiveValue.call$1$1(new A._DayState_build_resolve_closure(getProperty, states, $T), $T); }, call$2(getProperty, states) { return this.call$1$2(getProperty, states, type$.dynamic); }, $signature: 822 }; A._DayState_build_resolve_closure.prototype = { call$1(theme) { var t1 = this.getProperty.call$1(theme); return t1 == null ? null : J.resolve$1$z(t1, this.states); }, $signature() { return this.T._eval$1("0?(DatePickerThemeData?)"); } }; A._DayState_build_closure.prototype = { call$1(theme) { var t1; if (this.$this._widget.isToday) t1 = theme.get$todayForegroundColor(); else t1 = theme.get$dayForegroundColor(); return t1; }, $signature: 390 }; A._DayState_build_closure0.prototype = { call$1(theme) { var t1; if (this.$this._widget.isToday) t1 = theme.get$todayBackgroundColor(); else t1 = theme.get$dayBackgroundColor(); return t1; }, $signature: 390 }; A._DayState_build_closure2.prototype = { call$1(states) { return this.effectiveValue.call$1$1(new A._DayState_build__closure(states), type$.Color); }, $signature: 86 }; A._DayState_build__closure.prototype = { call$1(theme) { var t1 = theme.get$dayOverlayColor(); t1 = t1 == null ? null : t1.resolve$1(0, this.states); return t1; }, $signature: 821 }; A._DayState_build_closure1.prototype = { call$0() { var t1 = this.$this._widget; return t1.onChanged$1(t1.day); }, $signature: 0 }; A._DayPickerGridDelegate.prototype = { getLayout$1(constraints) { var tileWidth = constraints.crossAxisExtent / 7, tileHeight = Math.min(42, constraints.viewportMainAxisExtent / 7); return new A.SliverGridRegularTileLayout(7, tileHeight, tileWidth, tileHeight, tileWidth, A.axisDirectionIsReversed(constraints.crossAxisDirection)); }, shouldRelayout$1(oldDelegate) { return false; } }; A.YearPicker.prototype = { createState$0() { return new A._YearPickerState(A.MaterialStatesController$(null), B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); } }; A._YearPickerState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = _this._widget.selectedDate; _this._calendar_date_picker$_scrollController = A.ScrollController$(_this._scrollOffsetForYear$1(t1), true, null, null); }, dispose$0() { var t1 = this._calendar_date_picker$_scrollController; if (t1 != null) t1.dispose$0(); t1 = this._calendar_date_picker$_statesController; t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners(); t1.ChangeNotifier__count = 0; this.super$State$dispose(); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!_this._widget.selectedDate.$eq(0, oldWidget.selectedDate)) { _this._widget.toString; t1 = true; } else t1 = false; if (t1) { t1 = _this._calendar_date_picker$_scrollController; t1.toString; t1.jumpTo$1(_this._scrollOffsetForYear$1(_this._widget.selectedDate)); } }, _scrollOffsetForYear$1(date) { var initialYearRow = B.JSInt_methods._tdivFast$1(A.Primitives_getYear(date) - A.Primitives_getYear(this._widget.firstDate), 3); return this.get$_itemCount() < 18 ? 0 : (initialYearRow - 2) * 52; }, _buildYearItem$2(context, index) { var textColor, background, todayBorder, border, itemStyle, yearItem, _this = this, _null = null, t1 = {}, datePickerTheme = A.DatePickerTheme_of(context), defaults = A.Theme_of(context).useMaterial3 ? A._DatePickerDefaultsM3$(context) : A._DatePickerDefaultsM2$(context), t2 = new A._YearPickerState__buildYearItem_effectiveValue(datePickerTheme, defaults), t3 = new A._YearPickerState__buildYearItem_resolve(t2), offset = _this.get$_itemCount() < 18 ? B.JSInt_methods._tdivFast$1(18 - _this.get$_itemCount(), 2) : 0, t4 = _this._widget, t5 = t4.firstDate, year = A.Primitives_getYear(t5) + index - offset, t6 = t4.selectedDate, isSelected = year === A.Primitives_getYear(t6), isCurrentYear = year === A.Primitives_getYear(t4.currentDate), isDisabled = year < A.Primitives_getYear(t5) || year > A.Primitives_getYear(t4.lastDate); t4 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (isDisabled) t4.add$1(0, B.MaterialState_6); if (isSelected) t4.add$1(0, B.MaterialState_4); t5 = type$.nullable_Color; textColor = t3.call$1$2(new A._YearPickerState__buildYearItem_closure(isCurrentYear), t4, t5); background = t3.call$1$2(new A._YearPickerState__buildYearItem_closure0(isCurrentYear), t4, t5); if (isCurrentYear) { todayBorder = datePickerTheme.todayBorder; t3 = (todayBorder == null ? defaults.get$todayBorder() : todayBorder).copyWith$1$color(textColor); border = new A.Border(t3, t3, t3, t3); } else border = _null; t3 = A.BorderRadius$circular(18); t5 = datePickerTheme.yearStyle; if (t5 == null) t5 = defaults.get$yearStyle(); itemStyle = t5 == null ? _null : t5.apply$1$color(textColor); t5 = A.Text$(B.JSInt_methods.toString$0(year), _null, _null, _null, _null, _null, itemStyle, _null, _null, _null); yearItem = A.Center$(A.Container$(_null, A.Center$(new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, isSelected, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t5, _null), _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(background, _null, border, t3, _null, _null, B.BoxShape_0), _null, 36, _null, _null, _null, _null, _null, 72), _null, _null); if (isDisabled) yearItem = new A.ExcludeSemantics(true, yearItem, _null); else { t3 = A.Primitives_getMonth(_this._widget.selectedDate); t3 = A.Primitives_valueFromDecomposedDate(year, t3, 1, 0, 0, 0, 0, false); if (!A._isInt(t3)) A.throwExpression(A.argumentErrorValue(t3)); t1.date = new A.DateTime(t3, false); t5 = _this._widget.firstDate; t5 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t5), A.Primitives_getMonth(t5), 1, 0, 0, 0, 0, false); if (!A._isInt(t5)) A.throwExpression(A.argumentErrorValue(t5)); if (t3 < t5) { t3 = _this._widget.firstDate; t3 = A.Primitives_valueFromDecomposedDate(year, A.Primitives_getMonth(t3), 1, 0, 0, 0, 0, false); if (!A._isInt(t3)) A.throwExpression(A.argumentErrorValue(t3)); t1.date = new A.DateTime(t3, false); } else { t5 = _this._widget.lastDate; if (t3 > t5._value) { t3 = A.Primitives_valueFromDecomposedDate(year, A.Primitives_getMonth(t5), 1, 0, 0, 0, 0, false); if (!A._isInt(t3)) A.throwExpression(A.argumentErrorValue(t3)); t1.date = new A.DateTime(t3, false); } } t3 = _this._calendar_date_picker$_statesController; t3.set$value(0, t4); yearItem = A.InkWell$(false, _null, true, yearItem, _null, true, _null, _null, _null, _null, new A.ValueKey(year, type$.ValueKey_int), _null, _null, _null, _null, _null, _null, new A._YearPickerState__buildYearItem_closure1(t1, _this), _null, _null, new A._MaterialStatePropertyWith(new A._YearPickerState__buildYearItem_closure2(t2), type$._MaterialStatePropertyWith_nullable_Color), _null, _null, _null, t3); } return yearItem; }, get$_itemCount() { var t1 = this._widget; return A.Primitives_getYear(t1.lastDate) - A.Primitives_getYear(t1.firstDate) + 1; }, build$1(context) { var t2, t3, _this = this, _null = null, t1 = _this._calendar_date_picker$_scrollController; _this._widget.toString; t2 = Math.max(_this.get$_itemCount(), 18); t3 = t1 == null && true; t3 = t3 ? B.AlwaysScrollableScrollPhysics_null : _null; return A.Column$(A._setArrayType([B.Divider_null_null_null_null, A.Expanded$(new A.GridView(B.C__YearPickerGridDelegate, new A.SliverChildBuilderDelegate(_this.get$_buildYearItem(), t2, true, true, true, A.scroll_delegate___kDefaultSemanticIndexCallback$closure(), _null), B.EdgeInsets_16_0_16_0, B.Axis_1, false, t1, _null, t3, _null, false, _null, 0, _null, t2, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null), 1), B.Divider_null_null_null_null], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } }; A._YearPickerState__buildYearItem_effectiveValue.prototype = { call$1$1(getProperty, $T) { var t1 = getProperty.call$1(this.datePickerTheme); return t1 == null ? getProperty.call$1(this.defaults) : t1; }, call$1(getProperty) { return this.call$1$1(getProperty, type$.dynamic); }, $signature: 823 }; A._YearPickerState__buildYearItem_resolve.prototype = { call$1$2(getProperty, states, $T) { return this.effectiveValue.call$1$1(new A._YearPickerState__buildYearItem_resolve_closure(getProperty, states, $T), $T); }, call$2(getProperty, states) { return this.call$1$2(getProperty, states, type$.dynamic); }, $signature: 822 }; A._YearPickerState__buildYearItem_resolve_closure.prototype = { call$1(theme) { var t1 = this.getProperty.call$1(theme); return t1 == null ? null : J.resolve$1$z(t1, this.states); }, $signature() { return this.T._eval$1("0?(DatePickerThemeData?)"); } }; A._YearPickerState__buildYearItem_closure.prototype = { call$1(theme) { var t1; if (this.isCurrentYear) t1 = theme.get$todayForegroundColor(); else t1 = theme.get$yearForegroundColor(); return t1; }, $signature: 390 }; A._YearPickerState__buildYearItem_closure0.prototype = { call$1(theme) { var t1; if (this.isCurrentYear) t1 = theme.get$todayBackgroundColor(); else t1 = theme.get$yearBackgroundColor(); return t1; }, $signature: 390 }; A._YearPickerState__buildYearItem_closure2.prototype = { call$1(states) { return this.effectiveValue.call$1$1(new A._YearPickerState__buildYearItem__closure(states), type$.Color); }, $signature: 86 }; A._YearPickerState__buildYearItem__closure.prototype = { call$1(theme) { var t1 = theme.get$yearOverlayColor(); t1 = t1 == null ? null : t1.resolve$1(0, this.states); return t1; }, $signature: 821 }; A._YearPickerState__buildYearItem_closure1.prototype = { call$0() { return this.$this._widget.onChanged$1(this._box_0.date); }, $signature: 0 }; A._YearPickerGridDelegate.prototype = { getLayout$1(constraints) { var tileWidth = (constraints.crossAxisExtent - 16) / 3; return new A.SliverGridRegularTileLayout(3, 52, tileWidth + 8, 52, tileWidth, A.axisDirectionIsReversed(constraints.crossAxisDirection)); }, shouldRelayout$1(oldDelegate) { return false; } }; A.__DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin.prototype = { dispose$0() { var _this = this, t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTicker()); _this.SingleTickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); }, activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTicker$0(); } }; A._CardVariant.prototype = { _enumToString$0() { return "_CardVariant." + this._core$_name; } }; A.Card.prototype = { build$1(context) { var defaults, t1, t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, cardTheme = A.Theme_of(context).cardTheme; if (A.Theme_of(context).useMaterial3) switch (0) { case 0: defaults = new A._CardDefaultsM3(context, B.Clip_0, _null, _null, _null, 1, B.EdgeInsets_4_4_4_4, _null); break; } else defaults = new A._CardDefaultsM2(context, B.Clip_0, _null, _null, _null, 1, B.EdgeInsets_4_4_4_4, B.RoundedRectangleBorder_27D4); t1 = _this.semanticContainer; t2 = _this.margin; if (t2 == null) t2 = cardTheme.margin; if (t2 == null) { t2 = defaults.margin; t2.toString; } t3 = _this.color; if (t3 == null) t3 = cardTheme.color; if (t3 == null) t3 = defaults.get$color(defaults); t4 = cardTheme.shadowColor; if (t4 == null) t4 = defaults.get$shadowColor(defaults); t5 = cardTheme.surfaceTintColor; if (t5 == null) t5 = defaults.get$surfaceTintColor(); t6 = _this.elevation; if (t6 == null) t6 = cardTheme.elevation; if (t6 == null) { t6 = defaults.elevation; t6.toString; } t7 = _this.shape; if (t7 == null) t7 = cardTheme.shape; if (t7 == null) t7 = defaults.get$shape(defaults); t8 = _this.clipBehavior; if (t8 == null) t8 = cardTheme.clipBehavior; if (t8 == null) { t8 = defaults.clipBehavior; t8.toString; } t2 = A.Container$(_null, A.Material$(B.Duration_200000, true, _null, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, !t1, false, false, _this.child, _null), t8, t3, t6, _null, t4, t7, t5, _null, B.MaterialType_1), B.Clip_0, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t1, false, false, false, t2, _null); } }; A._CardDefaultsM2.prototype = { get$color(_) { return A.Theme_of(this.context).cardColor; }, get$shadowColor(_) { return A.Theme_of(this.context).shadowColor; } }; A._CardDefaultsM3.prototype = { get$_card$_colors() { var t1, _this = this, value = _this.___CardDefaultsM3__colors_FI; if (value === $) { t1 = A.Theme_of(_this.context); _this.___CardDefaultsM3__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___CardDefaultsM3__colors_FI = t1.colorScheme; } return value; }, get$color(_) { return this.get$_card$_colors().surface; }, get$shadowColor(_) { var t1 = this.get$_card$_colors()._shadow; return t1 == null ? B.Color_4278190080 : t1; }, get$surfaceTintColor() { var t1 = this.get$_card$_colors(), t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$shape(_) { return B.RoundedRectangleBorder_27D2; } }; A.CardTheme.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.clipBehavior, _this.get$color(_this), _this.get$shadowColor(_this), _this.get$surfaceTintColor(), _this.elevation, _this.margin, _this.get$shape(_this), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.CardTheme && other.clipBehavior == _this.clipBehavior && J.$eq$(other.get$color(other), _this.get$color(_this)) && J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this)) && J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor()) && other.elevation == _this.elevation && J.$eq$(other.margin, _this.margin) && J.$eq$(other.get$shape(other), _this.get$shape(_this)); }, get$color(receiver) { return this.color; }, get$shadowColor(receiver) { return this.shadowColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$shape(receiver) { return this.shape; } }; A._CardTheme_Object_Diagnosticable.prototype = {}; A._CheckboxType.prototype = { _enumToString$0() { return "_CheckboxType." + this._core$_name; } }; A.Checkbox.prototype = { createState$0() { return new A._CheckboxState(new A._CheckboxPainter($.$get$ChangeNotifier__emptyListeners()), $, $, $, $, $, $, $, $, $, null, false, false, null, null, B._StateLifecycle_0); }, get$value(receiver) { return this.value; } }; A._CheckboxState.prototype = { initState$0() { this.super$__CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin$initState(); this._previousValue = this._widget.value; }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.value; if (t1 != _this._widget.value) { _this._previousValue = t1; _this.animateToValue$0(); } }, dispose$0() { this._checkbox$_painter.dispose$0(); this.super$__CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin$dispose(); }, get$onChanged() { return this._widget.onChanged; }, get$tristate() { return this._widget.tristate; }, get$value(_) { return this._widget.value; }, get$_widgetFillColor() { return new A._MaterialStatePropertyWith(new A._CheckboxState__widgetFillColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, _resolveSide$2(side, states) { if (side instanceof A._MaterialStateBorderSide) return A.MaterialStateProperty_resolveAs(side, states, type$.nullable_BorderSide); if (!states.contains$1(0, B.MaterialState_4)) return side; return null; }, build$1(context) { var t1, t2, t3, checkboxTheme, defaults, effectiveMaterialTapTargetSize, effectiveVisualDensity, size, activeStates, inactiveStates, activeColor, effectiveActiveColor, inactiveColor, effectiveInactiveColor, activeSide, inactiveSide, focusedStates, t4, effectiveFocusOverlayColor, hoveredStates, effectiveHoverOverlayColor, effectiveActivePressedOverlayColor, effectiveInactivePressedOverlayColor, checkStates, effectiveCheckColor, effectiveSplashRadius, t5, _this = this, _null = null; switch (_this._widget._checkboxType.index) { case 0: break; case 1: switch (A.Theme_of(context).platform.index) { case 0: case 1: case 3: case 5: break; case 2: case 4: t1 = _this._widget; t2 = t1.value; t3 = t1.tristate; return new A.CupertinoCheckbox(t2, t1.onChanged, t1.activeColor, t1.checkColor, t3, _null, _null, false, t1.side, t1.shape, _null); } break; } checkboxTheme = A.CheckboxTheme_of(context); defaults = A.Theme_of(context).useMaterial3 ? new A._CheckboxDefaultsM3(A.Theme_of(context), A.Theme_of(context).colorScheme, _null, _null, _null, _null, _null, _null, _null, _null, _null) : new A._CheckboxDefaultsM2(A.Theme_of(context), A.Theme_of(context).colorScheme, _null, _null, _null, _null, _null, _null, _null, _null, _null); t1 = _this._widget.materialTapTargetSize; effectiveMaterialTapTargetSize = t1 == null ? checkboxTheme.materialTapTargetSize : t1; if (effectiveMaterialTapTargetSize == null) effectiveMaterialTapTargetSize = defaults.get$materialTapTargetSize(); _this._widget.toString; effectiveVisualDensity = defaults.get$visualDensity(); switch (effectiveMaterialTapTargetSize.index) { case 0: size = B.Size_48_48; break; case 1: size = B.Size_40_40; break; default: size = _null; } size = size.$add(0, new A.Offset(effectiveVisualDensity.horizontal, effectiveVisualDensity.vertical).$mul(0, 4)); activeStates = _this.get$states(); activeStates.add$1(0, B.MaterialState_4); inactiveStates = _this.get$states(); inactiveStates.remove$1(0, B.MaterialState_4); _this._widget.toString; activeColor = _this.get$_widgetFillColor()._material_state$_resolve.call$1(activeStates); if (activeColor == null) { t1 = checkboxTheme.fillColor; activeColor = t1 == null ? _null : t1.resolve$1(0, activeStates); } t1 = activeColor == null; if (t1) { t2 = defaults.get$fillColor()._material_state$_resolve.call$1(activeStates); t2.toString; effectiveActiveColor = t2; } else effectiveActiveColor = activeColor; _this._widget.toString; inactiveColor = _this.get$_widgetFillColor()._material_state$_resolve.call$1(inactiveStates); if (inactiveColor == null) { t2 = checkboxTheme.fillColor; inactiveColor = t2 == null ? _null : t2.resolve$1(0, inactiveStates); } t2 = inactiveColor == null; if (t2) { t3 = defaults.get$fillColor()._material_state$_resolve.call$1(inactiveStates); t3.toString; effectiveInactiveColor = t3; } else effectiveInactiveColor = inactiveColor; t3 = _this._resolveSide$2(_this._widget.side, activeStates); activeSide = t3 == null ? _this._resolveSide$2(checkboxTheme.side, activeStates) : t3; if (activeSide == null) { t3 = _this._resolveSide$2(defaults.get$side(), activeStates); t3.toString; activeSide = t3; } t3 = _this._resolveSide$2(_this._widget.side, inactiveStates); inactiveSide = t3 == null ? _this._resolveSide$2(checkboxTheme.side, inactiveStates) : t3; if (inactiveSide == null) { t3 = _this._resolveSide$2(defaults.get$side(), inactiveStates); t3.toString; inactiveSide = t3; } focusedStates = _this.get$states(); focusedStates.add$1(0, B.MaterialState_1); _this._widget.toString; t3 = checkboxTheme.overlayColor; t4 = t3 == null ? _null : t3.resolve$1(0, focusedStates); effectiveFocusOverlayColor = t4; if (effectiveFocusOverlayColor == null) { t4 = defaults.get$overlayColor()._material_state$_resolve.call$1(focusedStates); t4.toString; effectiveFocusOverlayColor = t4; } hoveredStates = _this.get$states(); hoveredStates.add$1(0, B.MaterialState_0); _this._widget.toString; t4 = t3 == null ? _null : t3.resolve$1(0, hoveredStates); effectiveHoverOverlayColor = t4; if (effectiveHoverOverlayColor == null) { t4 = defaults.get$overlayColor()._material_state$_resolve.call$1(hoveredStates); t4.toString; effectiveHoverOverlayColor = t4; } activeStates.add$1(0, B.MaterialState_2); _this._widget.toString; t4 = t3 == null ? _null : t3.resolve$1(0, activeStates); if (t4 == null) { t1 = t1 ? _null : A.Color$fromARGB(31, activeColor.get$value(activeColor) >>> 16 & 255, activeColor.get$value(activeColor) >>> 8 & 255, activeColor.get$value(activeColor) & 255); effectiveActivePressedOverlayColor = t1; } else effectiveActivePressedOverlayColor = t4; if (effectiveActivePressedOverlayColor == null) { t1 = defaults.get$overlayColor()._material_state$_resolve.call$1(activeStates); t1.toString; effectiveActivePressedOverlayColor = t1; } inactiveStates.add$1(0, B.MaterialState_2); _this._widget.toString; t1 = t3 == null ? _null : t3.resolve$1(0, inactiveStates); if (t1 == null) { t1 = t2 ? _null : A.Color$fromARGB(31, inactiveColor.get$value(inactiveColor) >>> 16 & 255, inactiveColor.get$value(inactiveColor) >>> 8 & 255, inactiveColor.get$value(inactiveColor) & 255); effectiveInactivePressedOverlayColor = t1; } else effectiveInactivePressedOverlayColor = t1; if (effectiveInactivePressedOverlayColor == null) { t1 = defaults.get$overlayColor()._material_state$_resolve.call$1(inactiveStates); t1.toString; effectiveInactivePressedOverlayColor = t1; } if (_this.ToggleableStateMixin__downPosition != null) { effectiveHoverOverlayColor = _this.get$states().contains$1(0, B.MaterialState_4) ? effectiveActivePressedOverlayColor : effectiveInactivePressedOverlayColor; effectiveFocusOverlayColor = _this.get$states().contains$1(0, B.MaterialState_4) ? effectiveActivePressedOverlayColor : effectiveInactivePressedOverlayColor; } _this._widget.toString; checkStates = _this.get$states(); t1 = _this._widget.checkColor; t2 = checkboxTheme.checkColor; t1 = t2 == null ? _null : t2.resolve$1(0, checkStates); effectiveCheckColor = t1; if (effectiveCheckColor == null) { t1 = defaults.get$checkColor().resolve$1(0, checkStates); t1.toString; effectiveCheckColor = t1; } _this._widget.toString; effectiveSplashRadius = checkboxTheme.splashRadius; if (effectiveSplashRadius == null) effectiveSplashRadius = defaults.get$splashRadius(); t1 = _this._widget; t2 = t1.semanticLabel; t3 = t1.value; t1 = t1.tristate ? t3 == null : _null; t4 = _this._checkbox$_painter; t5 = _this.ToggleableStateMixin___ToggleableStateMixin__position_A; t5 === $ && A.throwUnnamedLateFieldNI(); t4.set$position(0, t5); t5 = _this.ToggleableStateMixin___ToggleableStateMixin__reaction_A; t5 === $ && A.throwUnnamedLateFieldNI(); t4.set$reaction(t5); t5 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade_A; t5 === $ && A.throwUnnamedLateFieldNI(); t4.set$reactionFocusFade(t5); t5 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade_A; t5 === $ && A.throwUnnamedLateFieldNI(); t4.set$reactionHoverFade(t5); t4.set$inactiveReactionColor(effectiveInactivePressedOverlayColor); t4.set$reactionColor(effectiveActivePressedOverlayColor); t4.set$hoverColor(effectiveHoverOverlayColor); t4.set$focusColor(effectiveFocusOverlayColor); t4.set$splashRadius(effectiveSplashRadius); t4.set$downPosition(_this.ToggleableStateMixin__downPosition); t4.set$isFocused(_this.get$states().contains$1(0, B.MaterialState_1)); t4.set$isHovered(_this.get$states().contains$1(0, B.MaterialState_0)); t4.set$activeColor(effectiveActiveColor); t4.set$inactiveColor(effectiveInactiveColor); t4.set$checkColor(effectiveCheckColor); t4.set$value(0, _this._widget.value); t4.set$previousValue(_this._previousValue); _this._widget.toString; t5 = checkboxTheme.shape; t4.set$shape(0, t5 == null ? defaults.get$shape(defaults) : t5); t4.set$activeSide(activeSide); t4.set$inactiveSide(inactiveSide); t4 = _this.buildToggleable$5$autofocus$focusNode$mouseCursor$painter$size(false, _null, new A._MaterialStatePropertyWith(new A._CheckboxState_build_closure(_this, checkboxTheme), type$._MaterialStatePropertyWith_MouseCursor), t4, size); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, t3 === true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t4, _null); } }; A._CheckboxState__widgetFillColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) return null; if (states.contains$1(0, B.MaterialState_4)) return this.$this._widget.activeColor; return null; }, $signature: 86 }; A._CheckboxState_build_closure.prototype = { call$1(states) { var t1 = A.MaterialStateProperty_resolveAs(this.$this._widget.mouseCursor, states, type$.nullable_MouseCursor); if (t1 == null) t1 = null; return t1 == null ? B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable.resolve$1(0, states) : t1; }, $signature: 354 }; A._CheckboxPainter.prototype = { set$checkColor(value) { if (J.$eq$(this._checkbox$_checkColor, value)) return; this._checkbox$_checkColor = value; this.notifyListeners$0(); }, get$value(_) { return this._checkbox$_value; }, set$value(_, value) { if (this._checkbox$_value == value) return; this._checkbox$_value = value; this.notifyListeners$0(); }, set$previousValue(value) { if (this._previousValue == value) return; this._previousValue = value; this.notifyListeners$0(); }, set$shape(_, value) { if (J.$eq$(this._checkbox$_shape, value)) return; this._checkbox$_shape = value; this.notifyListeners$0(); }, set$activeSide(value) { if (J.$eq$(this._activeSide, value)) return; this._activeSide = value; this.notifyListeners$0(); }, set$inactiveSide(value) { if (J.$eq$(this._inactiveSide, value)) return; this._inactiveSide = value; this.notifyListeners$0(); }, _outerRectAt$2(origin, t) { var inset = 1 - Math.abs(t - 0.5) * 2, size = 18 - inset * 2, t1 = origin._dx + inset, t2 = origin._dy + inset; return new A.Rect(t1, t2, t1 + size, t2 + size); }, _colorAt$1(t) { var t2, t1 = this._activeColor; if (t >= 0.25) t1.toString; else { t2 = this._inactiveColor; t2.toString; t1.toString; t1 = A.Color_lerp(t2, t1, t * 4); t1.toString; } return t1; }, _checkbox$_drawBox$4(canvas, outer, paint, side) { canvas.drawPath$2(this._checkbox$_shape.getOuterPath$1(outer), paint); this._checkbox$_shape.copyWith$1$side(side).paint$2(canvas, outer); }, _drawCheck$4(canvas, origin, t, paint) { var t5, path = $.$get$_renderer().createPath$0(), t1 = origin._dx, t2 = origin._dy, t3 = t1 + 2.6999999999999997, t4 = t2 + 8.1; if (t < 0.5) { t5 = A.Offset_lerp(B.Offset_W7v, B.Offset_gPO, t * 2); t5.toString; path.moveTo$2(0, t3, t4); path.lineTo$2(0, t1 + t5._dx, t2 + t5._dy); } else { t5 = A.Offset_lerp(B.Offset_gPO, B.Offset_oIk, (t - 0.5) * 2); t5.toString; path.moveTo$2(0, t3, t4); path.lineTo$2(0, t1 + 7.2, t2 + 12.6); path.lineTo$2(0, t1 + t5._dx, t2 + t5._dy); } canvas.drawPath$2(path, paint); }, _drawDash$4(canvas, origin, t, paint) { var t2, t1 = A.Offset_lerp(B.Offset_aNU, B.Offset_9_9, 1 - t); t1.toString; t2 = A.Offset_lerp(B.Offset_9_9, B.Offset_Gl7, t); t2.toString; canvas.drawLine$3(origin.$add(0, t1), origin.$add(0, t2), paint); }, paint$2(canvas, size) { var t1, strokePaint, t2, origin, $status, t3, tNormalized, t, outer, paint, tShrink, tExpand, _this = this; _this.paintRadialReaction$2$canvas$origin(canvas, size.center$1(B.Offset_0_0)); t1 = $.$get$_renderer(); strokePaint = t1.createPaint$0(); t2 = _this._checkbox$_checkColor; t2.toString; strokePaint.set$color(0, t2); strokePaint.set$style(0, B.PaintingStyle_1); strokePaint.set$strokeWidth(2); origin = type$.Offset._as(size.$div(0, 2).$sub(0, B.Size_18_18.$div(0, 2))); t2 = _this._toggleable$_position.parent; $status = t2.get$status(t2); t2 = $status === B.AnimationStatus_1 || $status === B.AnimationStatus_3; t3 = _this._toggleable$_position; tNormalized = t2 ? t3.get$value(0) : 1 - t3.get$value(0); if (_this._previousValue === false || _this._checkbox$_value === false) { t = _this._checkbox$_value === false ? 1 - tNormalized : tNormalized; outer = _this._outerRectAt$2(origin, t); paint = t1.createPaint$0(); paint.set$color(0, _this._colorAt$1(t)); t1 = _this._activeSide; if (t <= 0.5) { t2 = _this._inactiveSide; t2.toString; t1.toString; _this._checkbox$_drawBox$4(canvas, outer, paint, A.BorderSide_lerp(t2, t1, t)); } else { t1.toString; _this._checkbox$_drawBox$4(canvas, outer, paint, t1); tShrink = (t - 0.5) * 2; if (_this._previousValue == null || _this._checkbox$_value == null) _this._drawDash$4(canvas, origin, tShrink, strokePaint); else _this._drawCheck$4(canvas, origin, tShrink, strokePaint); } } else { outer = _this._outerRectAt$2(origin, 1); paint = t1.createPaint$0(); paint.set$color(0, _this._colorAt$1(1)); t1 = _this._activeSide; t1.toString; _this._checkbox$_drawBox$4(canvas, outer, paint, t1); if (tNormalized <= 0.5) { tShrink = 1 - tNormalized * 2; t1 = _this._previousValue; if (t1 === true) _this._drawCheck$4(canvas, origin, tShrink, strokePaint); else _this._drawDash$4(canvas, origin, tShrink, strokePaint); } else { tExpand = (tNormalized - 0.5) * 2; t1 = _this._checkbox$_value; if (t1 === true) _this._drawCheck$4(canvas, origin, tExpand, strokePaint); else _this._drawDash$4(canvas, origin, tExpand, strokePaint); } } } }; A._CheckboxDefaultsM2.prototype = { get$side() { return A._MaterialStateBorderSide$(new A._CheckboxDefaultsM2_side_closure(this)); }, get$fillColor() { return new A._MaterialStatePropertyWith(new A._CheckboxDefaultsM2_fillColor_closure(this), type$._MaterialStatePropertyWith_Color); }, get$checkColor() { return new A.MaterialStatePropertyAll(B.Color_4294967295, type$.MaterialStatePropertyAll_Color); }, get$overlayColor() { return new A._MaterialStatePropertyWith(new A._CheckboxDefaultsM2_overlayColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$splashRadius() { return 20; }, get$materialTapTargetSize() { return this._checkbox$_theme.materialTapTargetSize; }, get$visualDensity() { return this._checkbox$_theme.visualDensity; }, get$shape(_) { return B.RoundedRectangleBorder_27D6; } }; A._CheckboxDefaultsM2_side_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) { if (states.contains$1(0, B.MaterialState_4)) return B.BorderSide_tAf; return new A.BorderSide(this.$this._checkbox$_theme.disabledColor, 2, B.BorderStyle_1, -1); } if (states.contains$1(0, B.MaterialState_4)) return B.BorderSide_tAf; return new A.BorderSide(this.$this._checkbox$_theme.unselectedWidgetColor, 2, B.BorderStyle_1, -1); }, $signature: 353 }; A._CheckboxDefaultsM2_fillColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) { if (states.contains$1(0, B.MaterialState_4)) return this.$this._checkbox$_theme.disabledColor; return B.Color_0; } if (states.contains$1(0, B.MaterialState_4)) return this.$this._checkbox$_colors.secondary; return B.Color_0; }, $signature: 25 }; A._CheckboxDefaultsM2_overlayColor_closure.prototype = { call$1(states) { var t1, t2; if (states.contains$1(0, B.MaterialState_2)) { t1 = this.$this.get$fillColor()._material_state$_resolve.call$1(states); t2 = J.getInterceptor$x(t1); return A.Color$fromARGB(31, t2.get$value(t1) >>> 16 & 255, t2.get$value(t1) >>> 8 & 255, t2.get$value(t1) & 255); } if (states.contains$1(0, B.MaterialState_0)) return this.$this._checkbox$_theme.hoverColor; if (states.contains$1(0, B.MaterialState_1)) return this.$this._checkbox$_theme.focusColor; return B.Color_0; }, $signature: 25 }; A._CheckboxDefaultsM3.prototype = { get$side() { return A._MaterialStateBorderSide$(new A._CheckboxDefaultsM3_side_closure(this)); }, get$fillColor() { return new A._MaterialStatePropertyWith(new A._CheckboxDefaultsM3_fillColor_closure(this), type$._MaterialStatePropertyWith_Color); }, get$checkColor() { return new A._MaterialStatePropertyWith(new A._CheckboxDefaultsM3_checkColor_closure(this), type$._MaterialStatePropertyWith_Color); }, get$overlayColor() { return new A._MaterialStatePropertyWith(new A._CheckboxDefaultsM3_overlayColor_closure(this), type$._MaterialStatePropertyWith_Color); }, get$splashRadius() { return 20; }, get$materialTapTargetSize() { return this._checkbox$_theme.materialTapTargetSize; }, get$visualDensity() { return this._checkbox$_theme.visualDensity; }, get$shape(_) { return B.RoundedRectangleBorder_27D; } }; A._CheckboxDefaultsM3_side_closure.prototype = { call$1(states) { var t1, t2, _this = this; if (states.contains$1(0, B.MaterialState_6)) { if (states.contains$1(0, B.MaterialState_4)) return B.BorderSide_tAf; t1 = _this.$this._checkbox$_colors.onSurface.value; return new A.BorderSide(A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255), 2, B.BorderStyle_1, -1); } if (states.contains$1(0, B.MaterialState_4)) return B.BorderSide_tAf0; if (states.contains$1(0, B.MaterialState_7)) return new A.BorderSide(_this.$this._checkbox$_colors.error, 2, B.BorderStyle_1, -1); if (states.contains$1(0, B.MaterialState_2)) return new A.BorderSide(_this.$this._checkbox$_colors.onSurface, 2, B.BorderStyle_1, -1); if (states.contains$1(0, B.MaterialState_0)) return new A.BorderSide(_this.$this._checkbox$_colors.onSurface, 2, B.BorderStyle_1, -1); if (states.contains$1(0, B.MaterialState_1)) return new A.BorderSide(_this.$this._checkbox$_colors.onSurface, 2, B.BorderStyle_1, -1); t1 = _this.$this._checkbox$_colors; t2 = t1._onSurfaceVariant; return new A.BorderSide(t2 == null ? t1.onSurface : t2, 2, B.BorderStyle_1, -1); }, $signature: 353 }; A._CheckboxDefaultsM3_fillColor_closure.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_6)) { if (states.contains$1(0, B.MaterialState_4)) { t1 = this.$this._checkbox$_colors.onSurface.value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } return B.Color_0; } if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_7)) return this.$this._checkbox$_colors.error; return this.$this._checkbox$_colors.primary; } return B.Color_0; }, $signature: 25 }; A._CheckboxDefaultsM3_checkColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) { if (states.contains$1(0, B.MaterialState_4)) return this.$this._checkbox$_colors.surface; return B.Color_0; } if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_7)) return this.$this._checkbox$_colors.onError; return this.$this._checkbox$_colors.onPrimary; } return B.Color_0; }, $signature: 25 }; A._CheckboxDefaultsM3_overlayColor_closure.prototype = { call$1(states) { var t1, _this = this; if (states.contains$1(0, B.MaterialState_7)) { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this._checkbox$_colors.error.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this._checkbox$_colors.error.value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this._checkbox$_colors.error.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this._checkbox$_colors.onSurface.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this._checkbox$_colors.primary; return A.Color$fromARGB(20, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this._checkbox$_colors.primary; return A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return B.Color_0; } if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this._checkbox$_colors.primary; return A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this._checkbox$_colors.onSurface.value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this._checkbox$_colors.onSurface.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } return B.Color_0; }, $signature: 25 }; A.__CheckboxState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.__CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin.prototype = { initState$0() { var t1, _this = this, _null = null; _this.super$State$initState(); t1 = A.AnimationController$(_null, B.Duration_200000, _null, 1, _this._widget.value === false ? 0 : 1, _this); _this.ToggleableStateMixin___ToggleableStateMixin__positionController_A = t1; _this.ToggleableStateMixin___ToggleableStateMixin__position_A = A.CurvedAnimation$(B.Cubic_JUR0, t1, B.Cubic_xDo0); t1 = A.AnimationController$(_null, B.Duration_100000, _null, 1, _null, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionController_A = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reaction_A = A.CurvedAnimation$(B.Cubic_ifx, t1, _null); t1 = A.AnimationController$(_null, B.Duration_50000, _null, 1, _this.ToggleableStateMixin__hovering || _this.ToggleableStateMixin__focused ? 1 : 0, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController_A = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade_A = A.CurvedAnimation$(B.Cubic_ifx, t1, _null); t1 = A.AnimationController$(_null, B.Duration_50000, _null, 1, _this.ToggleableStateMixin__hovering || _this.ToggleableStateMixin__focused ? 1 : 0, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController_A = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade_A = A.CurvedAnimation$(B.Cubic_ifx, t1, _null); }, dispose$0() { var _this = this, t1 = _this.ToggleableStateMixin___ToggleableStateMixin__positionController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); _this.super$__CheckboxState_State_TickerProviderStateMixin$dispose(); } }; A._CheckboxType0.prototype = { _enumToString$0() { return "_CheckboxType." + this._core$_name; } }; A.CheckboxListTile.prototype = { _handleValueChange$0() { var _this = this; switch (_this.value) { case false: _this.onChanged.call$1(true); break; case true: _this.onChanged.call$1(false); break; case null: case void 0: _this.onChanged.call$1(false); break; } }, build$1(context) { var control, trailing, leading, theme, checkboxTheme, t1, effectiveActiveColor, t2, _this = this, _null = null; switch (0) { case 0: control = A.Checkbox$(_this.activeColor, false, _null, _null, _null, false, B.MaterialTapTargetSize_1, _null, _this.onChanged, _null, _null, _null, _null, _null, false, _this.value); break; } switch (_this.controlAffinity.index) { case 0: trailing = _null; leading = control; break; case 1: case 2: trailing = control; leading = _null; break; default: trailing = _null; leading = trailing; } theme = A.Theme_of(context); checkboxTheme = A.CheckboxTheme_of(context); t1 = _this.activeColor; if (t1 == null) { t1 = checkboxTheme.fillColor; t1 = t1 == null ? _null : t1.resolve$1(0, A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState)); effectiveActiveColor = t1; } else effectiveActiveColor = t1; if (effectiveActiveColor == null) effectiveActiveColor = theme.colorScheme.secondary; t1 = _this.onChanged != null; t2 = t1 ? _this.get$_handleValueChange() : _null; return new A.MergeSemantics(A.ListTile$(false, _this.contentPadding, _this.dense, _null, t1, _null, _null, false, _null, leading, _null, _null, t2, false, effectiveActiveColor, _null, _null, _null, _null, _this.title, trailing, _null), _null); }, get$value(receiver) { return this.value; } }; A.CheckboxThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.mouseCursor, _this.get$fillColor(), _this.get$checkColor(), _this.get$overlayColor(), _this.get$splashRadius(), _this.get$materialTapTargetSize(), _this.get$visualDensity(), _this.get$shape(_this), _this.get$side(), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.CheckboxThemeData && other.get$fillColor() == _this.get$fillColor() && other.get$checkColor() == _this.get$checkColor() && other.get$overlayColor() == _this.get$overlayColor() && other.get$splashRadius() == _this.get$splashRadius() && other.get$materialTapTargetSize() == _this.get$materialTapTargetSize() && J.$eq$(other.get$visualDensity(), _this.get$visualDensity()) && J.$eq$(other.get$shape(other), _this.get$shape(_this)) && J.$eq$(other.get$side(), _this.get$side()); }, get$fillColor() { return this.fillColor; }, get$checkColor() { return this.checkColor; }, get$overlayColor() { return this.overlayColor; }, get$splashRadius() { return this.splashRadius; }, get$materialTapTargetSize() { return this.materialTapTargetSize; }, get$visualDensity() { return this.visualDensity; }, get$shape(receiver) { return this.shape; }, get$side() { return this.side; } }; A._CheckboxThemeData_Object_Diagnosticable.prototype = {}; A.ChipThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hashAll([_this.color, _this.backgroundColor, _this.deleteIconColor, _this.disabledColor, _this.selectedColor, _this.secondarySelectedColor, _this.shadowColor, _this.surfaceTintColor, _this.selectedShadowColor, _this.showCheckmark, _this.checkmarkColor, _this.labelPadding, _this.padding, _this.side, _this.shape, _this.labelStyle, _this.secondaryLabelStyle, _this.brightness, _this.elevation, _this.pressElevation, _this.iconTheme]); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.ChipThemeData && other.color == _this.color && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.deleteIconColor, _this.deleteIconColor) && J.$eq$(other.disabledColor, _this.disabledColor) && J.$eq$(other.selectedColor, _this.selectedColor) && J.$eq$(other.secondarySelectedColor, _this.secondarySelectedColor) && J.$eq$(other.shadowColor, _this.shadowColor) && J.$eq$(other.surfaceTintColor, _this.surfaceTintColor) && J.$eq$(other.selectedShadowColor, _this.selectedShadowColor) && other.showCheckmark == _this.showCheckmark && J.$eq$(other.checkmarkColor, _this.checkmarkColor) && J.$eq$(other.labelPadding, _this.labelPadding) && J.$eq$(other.padding, _this.padding) && J.$eq$(other.side, _this.side) && J.$eq$(other.shape, _this.shape) && J.$eq$(other.labelStyle, _this.labelStyle) && J.$eq$(other.secondaryLabelStyle, _this.secondaryLabelStyle) && other.brightness == _this.brightness && other.elevation == _this.elevation && other.pressElevation == _this.pressElevation && J.$eq$(other.iconTheme, _this.iconTheme); } }; A._ChipThemeData_Object_Diagnosticable.prototype = {}; A.ColorScheme.prototype = { copyWith$4$background$brightness$primary$secondary(background, brightness, primary, secondary) { var 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, _this = this, _null = null, t1 = brightness == null ? _this.brightness : brightness, t2 = primary == null ? _this.primary : primary, t3 = _this.onPrimary, t4 = _this._primaryContainer; if (t4 == null) t4 = _this.primary; t5 = _this._onPrimaryContainer; if (t5 == null) t5 = t3; t6 = secondary == null ? _this.secondary : secondary; t7 = _this.onSecondary; t8 = _this._secondaryContainer; if (t8 == null) t8 = _this.secondary; t9 = _this._onSecondaryContainer; if (t9 == null) t9 = t7; t10 = _this._tertiary; t11 = t10 == null ? _this.secondary : t10; t12 = _this._onTertiary; t13 = t12 == null ? t7 : t12; t14 = _this._tertiaryContainer; if (t14 == null) { if (t10 == null) t10 = _this.secondary; } else t10 = t14; t14 = _this._onTertiaryContainer; if (t14 == null) { if (t12 == null) t12 = t7; } else t12 = t14; t14 = _this.error; t15 = _this.onError; t16 = _this._errorContainer; if (t16 == null) t16 = t14; t17 = _this._onErrorContainer; if (t17 == null) t17 = t15; t18 = background == null ? _this.background : background; t19 = _this.onBackground; t20 = _this.surface; t21 = _this.onSurface; t22 = _this._surfaceVariant; if (t22 == null) t22 = t20; t23 = _this._onSurfaceVariant; if (t23 == null) t23 = t21; t24 = _this._outline; if (t24 == null) t24 = t19; t25 = _this._outlineVariant; if (t25 == null) t25 = t19; t26 = _this._shadow; if (t26 == null) t26 = B.Color_4278190080; t27 = _this._scrim; if (t27 == null) t27 = B.Color_4278190080; t28 = _this._inverseSurface; if (t28 == null) t28 = t21; t29 = _this._onInverseSurface; if (t29 == null) t29 = t20; t30 = _this._inversePrimary; if (t30 == null) t30 = t3; t31 = _this._surfaceTint; if (t31 == null) t31 = _this.primary; return A.ColorScheme$(t18, t1, t14, t16, t30, t28, t19, t15, t17, t29, t3, t5, t7, t9, t21, t23, t13, t12, t24, t25, t2, t4, t27, t6, t8, t26, t20, t31, t22, t11, t10); }, copyWith$3$background$primary$secondary(background, primary, secondary) { return this.copyWith$4$background$brightness$primary$secondary(background, null, primary, secondary); }, copyWith$2$background$secondary(background, secondary) { return this.copyWith$4$background$brightness$primary$secondary(background, null, null, secondary); }, copyWith$1$brightness(brightness) { return this.copyWith$4$background$brightness$primary$secondary(null, brightness, null, null); }, $eq(_, other) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.ColorScheme) if (other.brightness === _this.brightness) { t1 = other.primary; t2 = _this.primary; if (t1.$eq(0, t2)) { t3 = other.onPrimary; t4 = _this.onPrimary; if (t3.$eq(0, t4)) { t5 = other._primaryContainer; if (t5 == null) t5 = t1; t6 = _this._primaryContainer; if (t5.$eq(0, t6 == null ? t2 : t6)) { t5 = other._onPrimaryContainer; if (t5 == null) t5 = t3; t6 = _this._onPrimaryContainer; if (t5.$eq(0, t6 == null ? t4 : t6)) { t5 = other.secondary; t6 = _this.secondary; if (t5.$eq(0, t6)) { t7 = other.onSecondary; t8 = _this.onSecondary; if (t7.$eq(0, t8)) { t9 = other._secondaryContainer; if (t9 == null) t9 = t5; t10 = _this._secondaryContainer; if (t9.$eq(0, t10 == null ? t6 : t10)) { t9 = other._onSecondaryContainer; if (t9 == null) t9 = t7; t10 = _this._onSecondaryContainer; if (t9.$eq(0, t10 == null ? t8 : t10)) { t9 = other._tertiary; t10 = t9 == null; t11 = t10 ? t5 : t9; t12 = _this._tertiary; t13 = t12 == null; if (t11.$eq(0, t13 ? t6 : t12)) { t11 = other._onTertiary; t14 = t11 == null; t15 = t14 ? t7 : t11; t16 = _this._onTertiary; t17 = t16 == null; if (t15.$eq(0, t17 ? t8 : t16)) { t15 = other._tertiaryContainer; if (t15 == null) t5 = t10 ? t5 : t9; else t5 = t15; t9 = _this._tertiaryContainer; if (t9 == null) t6 = t13 ? t6 : t12; else t6 = t9; if (t5.$eq(0, t6)) { t5 = other._onTertiaryContainer; if (t5 == null) t5 = t14 ? t7 : t11; t6 = _this._onTertiaryContainer; if (t6 == null) t6 = t17 ? t8 : t16; if (t5.$eq(0, t6)) { t5 = other.error; t6 = _this.error; if (t5.$eq(0, t6)) { t7 = other.onError; t8 = _this.onError; if (t7.$eq(0, t8)) { t9 = other._errorContainer; t5 = t9 == null ? t5 : t9; t9 = _this._errorContainer; if (t5.$eq(0, t9 == null ? t6 : t9)) { t5 = other._onErrorContainer; if (t5 == null) t5 = t7; t6 = _this._onErrorContainer; if (t5.$eq(0, t6 == null ? t8 : t6)) if (other.background.$eq(0, _this.background)) { t5 = other.onBackground; t6 = _this.onBackground; if (t5.$eq(0, t6)) { t7 = other.surface; t8 = _this.surface; if (t7.$eq(0, t8)) { t9 = other.onSurface; t10 = _this.onSurface; if (t9.$eq(0, t10)) { t11 = other._surfaceVariant; if (t11 == null) t11 = t7; t12 = _this._surfaceVariant; if (t11.$eq(0, t12 == null ? t8 : t12)) { t11 = other._onSurfaceVariant; if (t11 == null) t11 = t9; t12 = _this._onSurfaceVariant; if (t11.$eq(0, t12 == null ? t10 : t12)) { t11 = other._outline; if (t11 == null) t11 = t5; t12 = _this._outline; if (t11.$eq(0, t12 == null ? t6 : t12)) { t11 = other._outlineVariant; t5 = t11 == null ? t5 : t11; t11 = _this._outlineVariant; if (t5.$eq(0, t11 == null ? t6 : t11)) { t5 = other._shadow; if (t5 == null) t5 = B.Color_4278190080; t6 = _this._shadow; if (t5.$eq(0, t6 == null ? B.Color_4278190080 : t6)) { t5 = other._scrim; if (t5 == null) t5 = B.Color_4278190080; t6 = _this._scrim; if (t5.$eq(0, t6 == null ? B.Color_4278190080 : t6)) { t5 = other._inverseSurface; if (t5 == null) t5 = t9; t6 = _this._inverseSurface; if (t5.$eq(0, t6 == null ? t10 : t6)) { t5 = other._onInverseSurface; if (t5 == null) t5 = t7; t6 = _this._onInverseSurface; if (t5.$eq(0, t6 == null ? t8 : t6)) { t5 = other._inversePrimary; t3 = t5 == null ? t3 : t5; t5 = _this._inversePrimary; if (t3.$eq(0, t5 == null ? t4 : t5)) { t3 = other._surfaceTint; t1 = t3 == null ? t1 : t3; t3 = _this._surfaceTint; t1 = t1.$eq(0, t3 == null ? t2 : t3); } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var 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, _this = this, t1 = _this.primary, t2 = _this.onPrimary, t3 = _this._primaryContainer; if (t3 == null) t3 = t1; t4 = _this._onPrimaryContainer; if (t4 == null) t4 = t2; t5 = _this.secondary; t6 = _this.onSecondary; t7 = _this._secondaryContainer; if (t7 == null) t7 = t5; t8 = _this._onSecondaryContainer; if (t8 == null) t8 = t6; t9 = _this._tertiary; t10 = t9 == null; t11 = t10 ? t5 : t9; t12 = _this._onTertiary; t13 = t12 == null; t14 = t13 ? t6 : t12; t15 = _this._tertiaryContainer; if (t15 == null) { if (t10) t9 = t5; } else t9 = t15; t10 = _this._onTertiaryContainer; if (t10 == null) t10 = t13 ? t6 : t12; t12 = _this.error; t13 = _this.onError; t15 = _this._errorContainer; if (t15 == null) t15 = t12; t16 = _this._onErrorContainer; if (t16 == null) t16 = t13; t17 = _this.onBackground; t18 = _this.surface; t19 = _this.onSurface; t20 = _this._surfaceVariant; if (t20 == null) t20 = t18; t21 = _this._onSurfaceVariant; if (t21 == null) t21 = t19; t22 = _this._outline; if (t22 == null) t22 = t17; t23 = _this._outlineVariant; if (t23 == null) t23 = t17; t24 = _this._shadow; if (t24 == null) t24 = B.Color_4278190080; t25 = _this._scrim; if (t25 == null) t25 = B.Color_4278190080; t26 = _this._inverseSurface; if (t26 == null) t26 = t19; t27 = _this._onInverseSurface; if (t27 == null) t27 = t18; t28 = _this._inversePrimary; if (t28 == null) t28 = t2; t29 = _this._surfaceTint; return A.Object_hash(_this.brightness, t1, t2, t3, t4, t5, t6, t7, t8, t11, t14, t9, t10, t12, t13, t15, t16, _this.background, t17, A.Object_hash(t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29 == null ? t1 : t29, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue)); } }; A._ColorScheme_Object_Diagnosticable.prototype = {}; A.MaterialColor.prototype = {}; A.MaterialAccentColor.prototype = {}; A.DataColumn.prototype = {}; A.DataRow.prototype = {}; A.DataCell.prototype = {}; A.DataTable.prototype = { _handleSelectAll$2(checked, someChecked) { var effectiveChecked, t1, t2, _i, row, t3; if (!someChecked) effectiveChecked = checked === true; else effectiveChecked = true; t1 = this.onSelectAll; if (t1 != null) t1.call$1(effectiveChecked); else for (t1 = this.rows, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { row = t1[_i]; t3 = row.onSelectChanged; if (t3 != null && row.selected !== effectiveChecked) t3.call$1(effectiveChecked); } }, _buildCheckbox$7$checked$context$onCheckboxChanged$onRowTap$overlayColor$rowMouseCursor$tristate(checked, context, onCheckboxChanged, onRowTap, overlayColor, rowMouseCursor, tristate) { var effectiveCheckboxHorizontalMarginStart, effectiveCheckboxHorizontalMarginStart0, effectiveCheckboxHorizontalMarginEnd, contents, _null = null, themeData = A.Theme_of(context), t1 = this.horizontalMargin, effectiveHorizontalMargin = t1 == null ? themeData.dataTableTheme.horizontalMargin : t1; if (effectiveHorizontalMargin == null) effectiveHorizontalMargin = 24; effectiveCheckboxHorizontalMarginStart = themeData.dataTableTheme.checkboxHorizontalMargin; effectiveCheckboxHorizontalMarginStart0 = effectiveCheckboxHorizontalMarginStart == null ? effectiveHorizontalMargin : effectiveCheckboxHorizontalMarginStart; effectiveCheckboxHorizontalMarginEnd = effectiveCheckboxHorizontalMarginStart == null ? effectiveHorizontalMargin / 2 : effectiveCheckboxHorizontalMarginStart; t1 = A.Center$(A.Checkbox$(_null, false, _null, _null, _null, false, _null, _null, onCheckboxChanged, _null, _null, _null, _null, _null, tristate, checked), _null, _null); contents = new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, new A.Padding(new A.EdgeInsetsDirectional(effectiveCheckboxHorizontalMarginStart0, 0, effectiveCheckboxHorizontalMarginEnd, 0), t1, _null), _null); return new A.TableCell(B.TableCellVerticalAlignment_4, onRowTap != null ? A.TableRowInkWell$(contents, rowMouseCursor, _null, onRowTap, overlayColor) : contents, _null); }, _buildCheckbox$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate(checked, context, onCheckboxChanged, onRowTap, overlayColor, tristate) { return this._buildCheckbox$7$checked$context$onCheckboxChanged$onRowTap$overlayColor$rowMouseCursor$tristate(checked, context, onCheckboxChanged, onRowTap, overlayColor, null, tristate); }, build$1(context) { var effectiveDataRowColor, t1, anyRowSelectable, rowsWithCheckbox, t2, rowsChecked, allChecked, someChecked, effectiveHorizontalMargin, effectiveCheckboxHorizontalMarginStart, effectiveCheckboxHorizontalMarginEnd, effectiveColumnSpacing, t3, tableColumns, tableRows, t4, rowIndex, _i, row, t5, t6, t7, t8, t9, displayCheckboxColumn, displayColumnIndex, t10, t11, t12, paddingEnd, t13, paddingStart, dataColumnIndex, t14, column, t15, paddingStart0, padding, t16, t17, t18, themeData, dataTableTheme0, t19, label, effectiveHeadingTextStyle, effectiveHeadingRowHeight, cell, t20, t21, effectiveDataTextStyle, effectiveDataRowMinHeight, effectiveDataRowMaxHeight, t22, _this = this, _null = null, theme = A.Theme_of(context), dataTableTheme = A.DataTableTheme_of(context), effectiveHeadingRowColor = dataTableTheme.headingRowColor; if (effectiveHeadingRowColor == null) effectiveHeadingRowColor = theme.dataTableTheme.headingRowColor; effectiveDataRowColor = dataTableTheme.dataRowColor; if (effectiveDataRowColor == null) effectiveDataRowColor = theme.dataTableTheme.dataRowColor; t1 = _this.rows; anyRowSelectable = B.JSArray_methods.any$1(t1, new A.DataTable_build_closure()); rowsWithCheckbox = anyRowSelectable ? new A.WhereIterable(t1, new A.DataTable_build_closure0(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")) : A._setArrayType([], type$.JSArray_DataRow); t2 = J.getInterceptor$ax(rowsWithCheckbox); rowsChecked = t2.where$1(rowsWithCheckbox, new A.DataTable_build_closure1()); allChecked = anyRowSelectable && rowsChecked.get$length(0) === t2.get$length(rowsWithCheckbox); someChecked = anyRowSelectable && !rowsChecked.get$isEmpty(0) && !allChecked; t2 = _this.horizontalMargin; if (t2 == null) t2 = dataTableTheme.horizontalMargin; effectiveHorizontalMargin = t2 == null ? theme.dataTableTheme.horizontalMargin : t2; if (effectiveHorizontalMargin == null) effectiveHorizontalMargin = 24; t2 = dataTableTheme.checkboxHorizontalMargin; effectiveCheckboxHorizontalMarginStart = t2 == null ? theme.dataTableTheme.checkboxHorizontalMargin : t2; if (effectiveCheckboxHorizontalMarginStart == null) effectiveCheckboxHorizontalMarginStart = effectiveHorizontalMargin; effectiveCheckboxHorizontalMarginEnd = t2 == null ? theme.dataTableTheme.checkboxHorizontalMargin : t2; if (effectiveCheckboxHorizontalMarginEnd == null) effectiveCheckboxHorizontalMarginEnd = effectiveHorizontalMargin / 2; t2 = _this.columnSpacing; if (t2 == null) t2 = dataTableTheme.columnSpacing; effectiveColumnSpacing = t2 == null ? theme.dataTableTheme.columnSpacing : t2; if (effectiveColumnSpacing == null) effectiveColumnSpacing = 56; t2 = _this.columns; t3 = t2.length; tableColumns = A.List_List$filled(t3 + (anyRowSelectable ? 1 : 0), B.C__NullTableColumnWidth, false, type$.TableColumnWidth); tableRows = A.List_List$generate(t1.length + 1, new A.DataTable_build_closure2(_this, anyRowSelectable, effectiveDataRowColor, effectiveHeadingRowColor, context, dataTableTheme, theme, new A._MaterialStatePropertyWith(new A.DataTable_build_closure3(theme), type$._MaterialStatePropertyWith_nullable_Color), tableColumns), type$.TableRow); if (anyRowSelectable) { tableColumns[0] = new A.FixedColumnWidth(effectiveCheckboxHorizontalMarginStart + 18 + effectiveCheckboxHorizontalMarginEnd); t3 = tableRows[0]; t4 = someChecked ? _null : allChecked; t3.children[0] = _this._buildCheckbox$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate(t4, context, new A.DataTable_build_closure4(_this, someChecked), _null, _null, true); for (t3 = t1.length, t4 = type$.MaterialState, rowIndex = 1, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) { row = t1[_i]; t5 = row.selected; if (t5) A.LinkedHashSet_LinkedHashSet$_empty(t4).add$1(0, B.MaterialState_4); t6 = tableRows[rowIndex]; t7 = row.onSelectChanged; t8 = t7 == null ? _null : new A.DataTable_build_closure5(row); t9 = row.color; if (t9 == null) t9 = effectiveDataRowColor; t6.children[0] = _this._buildCheckbox$7$checked$context$onCheckboxChanged$onRowTap$overlayColor$rowMouseCursor$tristate(t5, context, t7, t8, t9, _null, false); ++rowIndex; } displayCheckboxColumn = true; displayColumnIndex = 1; } else { displayCheckboxColumn = anyRowSelectable; displayColumnIndex = 0; } for (t3 = type$.DefaultTextStyle, t4 = _this.dataRowMaxHeight, t5 = _this.dataRowMinHeight, t6 = type$.DataTableTheme, t7 = type$.MaterialState, t8 = _this.headingRowHeight, t9 = type$.JSArray_Widget, t10 = _this.sortColumnIndex, t11 = _this.sortAscending, t12 = _this._onlyTextColumn, paddingEnd = effectiveColumnSpacing / 2, t13 = !displayCheckboxColumn, paddingStart = effectiveHorizontalMargin / 2, dataColumnIndex = 0; t14 = t2.length, dataColumnIndex < t14; ++dataColumnIndex) { column = t2[dataColumnIndex]; t15 = dataColumnIndex === 0; if (t15 && displayCheckboxColumn) paddingStart0 = paddingStart; else paddingStart0 = t15 && t13 ? effectiveHorizontalMargin : paddingEnd; padding = new A.EdgeInsetsDirectional(paddingStart0, 0, dataColumnIndex === t14 - 1 ? effectiveHorizontalMargin : paddingEnd, 0); if (dataColumnIndex === t12) tableColumns[displayColumnIndex] = B.IntrinsicColumnWidth_1; else tableColumns[displayColumnIndex] = B.IntrinsicColumnWidth_null; t14 = column.onSort == null; if (t14) A.LinkedHashSet_LinkedHashSet$_empty(t7).add$1(0, B.MaterialState_6); t15 = tableRows[0]; t16 = column.label; t17 = column.numeric; t14 = !t14 ? new A.DataTable_build_closure6(_this, column, dataColumnIndex) : _null; t18 = dataColumnIndex === t10; themeData = A.Theme_of(context); context.dependOnInheritedWidgetOfExactType$1$0(t6); dataTableTheme0 = A.Theme_of(context).dataTableTheme; t19 = t17 ? B.TextDirection_0 : _null; t16 = A._setArrayType([t16], t9); if (t14 != null) B.JSArray_methods.addAll$1(t16, A._setArrayType([new A._SortArrow(t18, t18 ? t11 : _null, B.Duration_150000, _null), B.SizedBox_2_null_null_null], t9)); label = A.Row$(t16, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, t19); t16 = dataTableTheme0.headingTextStyle; effectiveHeadingTextStyle = t16 == null ? themeData.dataTableTheme.headingTextStyle : t16; if (effectiveHeadingTextStyle == null) { t16 = themeData.textTheme.titleSmall; t16.toString; effectiveHeadingTextStyle = t16; } t16 = t8 == null ? dataTableTheme0.headingRowHeight : t8; effectiveHeadingRowHeight = t16 == null ? themeData.dataTableTheme.headingRowHeight : t16; if (effectiveHeadingRowHeight == null) effectiveHeadingRowHeight = 56; t16 = t17 ? B.Alignment_1_0 : B.AlignmentDirectional_m1_0; t18 = context.dependOnInheritedWidgetOfExactType$1$0(t3); label = A.Container$(t16, A.AnimatedDefaultTextStyle$(label, B.C__Linear, B.Duration_150000, false, (t18 == null ? B.DefaultTextStyle_MTi : t18).style.merge$1(effectiveHeadingTextStyle)), B.Clip_0, _null, _null, _null, _null, effectiveHeadingRowHeight, _null, _null, padding, _null, _null, _null); t15.children[displayColumnIndex] = A.InkWell$(false, _null, true, label, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t14, _null, _null, effectiveHeadingRowColor, _null, _null, _null, _null); for (t14 = t1.length, rowIndex = 1, _i = 0; _i < t1.length; t1.length === t14 || (0, A.throwConcurrentModificationError)(t1), ++_i) { row = t1[_i]; if (row.selected) A.LinkedHashSet_LinkedHashSet$_empty(t7).add$1(0, B.MaterialState_4); cell = row.cells[dataColumnIndex]; t15 = tableRows[rowIndex]; label = cell.child; t16 = cell.onTap; t18 = cell.onLongPress; t19 = row.onSelectChanged == null ? _null : new A.DataTable_build_closure7(row); t20 = row.color; if (t20 == null) t20 = effectiveDataRowColor; themeData = A.Theme_of(context); context.dependOnInheritedWidgetOfExactType$1$0(t6); dataTableTheme0 = A.Theme_of(context).dataTableTheme; t21 = dataTableTheme0.dataTextStyle; effectiveDataTextStyle = t21 == null ? themeData.dataTableTheme.dataTextStyle : t21; if (effectiveDataTextStyle == null) { t21 = themeData.textTheme.bodyMedium; t21.toString; effectiveDataTextStyle = t21; } t21 = t5 == null ? dataTableTheme0.dataRowMinHeight : t5; effectiveDataRowMinHeight = t21 == null ? themeData.dataTableTheme.dataRowMinHeight : t21; if (effectiveDataRowMinHeight == null) effectiveDataRowMinHeight = 48; t21 = t4 == null ? dataTableTheme0.dataRowMaxHeight : t4; effectiveDataRowMaxHeight = t21 == null ? themeData.dataTableTheme.dataRowMaxHeight : t21; if (effectiveDataRowMaxHeight == null) effectiveDataRowMaxHeight = 48; t21 = t17 ? B.Alignment_1_0 : B.AlignmentDirectional_m1_0; t22 = context.dependOnInheritedWidgetOfExactType$1$0(t3); t22 = (t22 == null ? B.DefaultTextStyle_MTi : t22).style.merge$1(effectiveDataTextStyle); label = A.Container$(t21, new A.DefaultTextStyle(t22.copyWith$1$color(_null), _null, true, B.TextOverflow_0, _null, B.TextWidthBasis_0, _null, new A.DropdownButtonHideUnderline(label, _null), _null), B.Clip_0, _null, new A.BoxConstraints(0, 1 / 0, effectiveDataRowMinHeight, effectiveDataRowMaxHeight), _null, _null, _null, _null, _null, padding, _null, _null, _null); if (t16 == null) if (t18 == null) t21 = false; else t21 = true; else t21 = true; if (t21) label = A.InkWell$(false, _null, true, label, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t18, t16, _null, _null, t20, _null, _null, _null, _null); else if (t19 != null || false) label = A.TableRowInkWell$(label, _null, _null, t19, t20); t15.children[displayColumnIndex] = label; ++rowIndex; } ++displayColumnIndex; } t1 = _this.decoration; if (t1 == null) t1 = dataTableTheme.decoration; if (t1 == null) t1 = theme.dataTableTheme.decoration; return A.Container$(_null, A.Material$(B.Duration_200000, true, _null, A.Table$(_null, tableRows, new A.ListMapView(tableColumns, A._arrayInstanceType(tableColumns)._eval$1("ListMapView<1>")), B.FlexColumnWidth_1, B.TableCellVerticalAlignment_1, _null), B.Clip_0, _null, 0, _null, _null, _null, _null, _null, B.MaterialType_4), B.Clip_0, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.DataTable_build_closure3.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) { t1 = this.theme.colorScheme.primary; return A.Color$fromARGB(20, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return null; }, $signature: 86 }; A.DataTable_build_closure.prototype = { call$1(row) { return row.onSelectChanged != null; }, $signature: 474 }; A.DataTable_build_closure0.prototype = { call$1(row) { return row.onSelectChanged != null; }, $signature: 474 }; A.DataTable_build_closure1.prototype = { call$1(row) { return row.selected; }, $signature: 474 }; A.DataTable_build_closure2.prototype = { call$1(index) { var t4, resolvedDataRowColor, resolvedHeadingRowColor, rowColor, borderSide, border, _this = this, _null = null, t1 = index > 0, isSelected = t1 && _this.$this.rows[index - 1].selected, isDisabled = t1 && _this.anyRowSelectable && _this.$this.rows[index - 1].onSelectChanged == null, t2 = type$.MaterialState, t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2); if (isSelected) t3.add$1(0, B.MaterialState_4); if (isDisabled) t3.add$1(0, B.MaterialState_6); if (t1) { t4 = _this.$this.rows[index - 1].color; if (t4 == null) t4 = _this.effectiveDataRowColor; resolvedDataRowColor = t4 == null ? _null : t4.resolve$1(0, t3); } else resolvedDataRowColor = _null; t4 = _this.effectiveHeadingRowColor; resolvedHeadingRowColor = t4 == null ? _null : t4.resolve$1(0, A.LinkedHashSet_LinkedHashSet$_empty(t2)); rowColor = t1 ? resolvedDataRowColor : resolvedHeadingRowColor; t1 = _this.dataTableTheme.dividerThickness; if (t1 == null) t1 = _this.theme.dataTableTheme.dividerThickness; if (t1 == null) t1 = 1; borderSide = A.Divider_createBorderSide(_this.context, _null, t1); t1 = _this.$this; if (t1.showBottomBorder) border = new A.Border(B.BorderSide_8xm, B.BorderSide_8xm, borderSide, B.BorderSide_8xm); else border = index === 0 ? _null : new A.Border(borderSide, B.BorderSide_8xm, B.BorderSide_8xm, B.BorderSide_8xm); t1 = index === 0 ? $.$get$DataTable__headingRowKey() : t1.rows[index - 1].key; t2 = rowColor == null ? _this.defaultRowColor._material_state$_resolve.call$1(t3) : rowColor; return new A.TableRow(t1, new A.BoxDecoration(t2, _null, border, _null, _null, _null, B.BoxShape_0), A.List_List$filled(_this.tableColumns.length, B._NullWidget_null2, false, type$.Widget)); }, $signature: 3281 }; A.DataTable_build_closure4.prototype = { call$1(checked) { return this.$this._handleSelectAll$2(checked, this.someChecked); }, $signature: 17 }; A.DataTable_build_closure5.prototype = { call$0() { var t1 = this.row, t2 = t1.onSelectChanged; return t2 == null ? null : t2.call$1(!t1.selected); }, $signature: 0 }; A.DataTable_build_closure6.prototype = { call$0() { var t2, t3, t1 = this.column.onSort; t1.toString; t2 = this.dataColumnIndex; t3 = this.$this; return t1.call$2(t2, t3.sortColumnIndex !== t2 || !t3.sortAscending); }, $signature: 0 }; A.DataTable_build_closure7.prototype = { call$0() { var t1 = this.row, t2 = t1.onSelectChanged; return t2 == null ? null : t2.call$1(!t1.selected); }, $signature: 0 }; A.TableRowInkWell.prototype = { getRectCallback$1(referenceBox) { return new A.TableRowInkWell_getRectCallback_closure(referenceBox); }, debugCheckContext$1(context) { this.super$InkResponse$debugCheckContext(context); return true; } }; A.TableRowInkWell_getRectCallback_closure.prototype = { call$0() { var table0, t1, t2, t3, t4, offset, cell = this.referenceBox, table = cell.get$parent(cell), transform = new A.Matrix40(new Float64Array(16)); transform.setIdentity$0(); while (true) { if (!(table instanceof A.RenderObject && !(table instanceof A.RenderTable))) break; table.applyPaintTransform$2(cell, transform); table0 = table.get$parent(table); cell = table; table = table0; } if (table instanceof A.RenderTable) { t1 = cell.parentData; t1.toString; t1 = type$.TableCellParentData._as(t1).y; t1.toString; t2 = table._rowTops; t3 = t2[t1]; t4 = table.get$size(0); t1 = t2[t1 + 1]; table.applyPaintTransform$2(cell, transform); offset = A.MatrixUtils_getAsTranslation(transform); if (offset != null) return new A.Rect(0, t3, t4._dx, t1).shift$1(new A.Offset(-offset._dx, -offset._dy)); } return B.Rect_0_0_0_0; }, $signature: 403 }; A._SortArrow.prototype = { createState$0() { return new A._SortArrowState(null, null, B._StateLifecycle_0); } }; A._SortArrowState.prototype = { initState$0() { var t1, t2, t3, _this = this, _null = null; _this.super$State$initState(); t1 = _this._widget; _this._data_table$_up = t1.up; t1 = A.AnimationController$(_null, t1.duration, _null, 1, _null, _this); _this.___SortArrowState__opacityController_A = t1; t1 = A.CurvedAnimation$(B.Cubic_ifx, t1, _null); t2 = _this.get$_data_table$_rebuild(); t1.parent.addListener$1(0, t2); _this.___SortArrowState__opacityAnimation_A = t1; t1 = _this.___SortArrowState__opacityController_A; t1.set$value(0, _this._widget.visible ? 1 : 0); t1 = A.AnimationController$(_null, _this._widget.duration, _null, 1, _null, _this); _this.___SortArrowState__orientationController_A = t1; t3 = $.$get$_SortArrowState__turnTween(); type$.Animation_double._as(t1); t1.addListener$1(0, t2); t1.addStatusListener$1(_this.get$_resetOrientationAnimation()); _this.___SortArrowState__orientationAnimation_A = new A._AnimatedEvaluation(t1, t3, t3.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")); t1 = _this._widget; if (t1.visible) { t1 = t1.up; t1.toString; _this._orientationOffset = t1 ? 0 : 3.141592653589793; } }, _data_table$_rebuild$0() { this.setState$1(new A._SortArrowState__rebuild_closure()); }, _resetOrientationAnimation$1($status) { var t1; if ($status === B.AnimationStatus_3) { this._orientationOffset += 3.141592653589793; t1 = this.___SortArrowState__orientationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.set$value(0, 0); } }, didUpdateWidget$1(oldWidget) { var t1, newUp, skipArrow, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; newUp = t1.up; if (newUp == null) newUp = _this._data_table$_up; t1 = t1.visible; if (oldWidget.visible !== t1) { if (t1) { t1 = _this.___SortArrowState__opacityController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__AnimationController__status_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1 === B.AnimationStatus_0; } else t1 = false; if (t1) { t1 = _this.___SortArrowState__orientationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.stop$0(0); _this.___SortArrowState__orientationController_A.set$value(0, 0); newUp.toString; _this._orientationOffset = newUp ? 0 : 3.141592653589793; skipArrow = true; } else skipArrow = false; t1 = _this._widget.visible; t2 = _this.___SortArrowState__opacityController_A; if (t1) { t2 === $ && A.throwUnnamedLateFieldNI(); t2.forward$0(0); } else { t2 === $ && A.throwUnnamedLateFieldNI(); t2.reverse$0(0); } } else skipArrow = false; if (_this._data_table$_up != newUp && !skipArrow) { t1 = _this.___SortArrowState__orientationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.__AnimationController__status_A; t2 === $ && A.throwUnnamedLateFieldNI(); if (t2 === B.AnimationStatus_0) t1.forward$0(0); else t1.reverse$0(0); } _this._data_table$_up = newUp; }, dispose$0() { var t1 = this.___SortArrowState__opacityController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); t1 = this.___SortArrowState__orientationController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$__SortArrowState_State_TickerProviderStateMixin$dispose(); }, build$1(context) { var t2, t3, t4, t1 = this.___SortArrowState__opacityAnimation_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = this._orientationOffset; t3 = this.___SortArrowState__orientationAnimation_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = t3.parent; t4 = A.Matrix4_Matrix4$rotationZ(t2 + t3._evaluatable.transform$1(0, t4.get$value(t4))); t4.setTranslationRaw$3(0, -1.5, 0); return new A.FadeTransition(t1, false, A.Transform$(B.Alignment_0_0, B.Icon_Uqs, null, t4, true), null); } }; A._SortArrowState__rebuild_closure.prototype = { call$0() { }, $signature: 0 }; A._NullTableColumnWidth.prototype = { maxIntrinsicWidth$2(cells, containerWidth) { return A.throwExpression(A.UnimplementedError$(null)); }, minIntrinsicWidth$2(cells, containerWidth) { return A.throwExpression(A.UnimplementedError$(null)); } }; A._NullWidget0.prototype = { createElement$0(_) { return A.throwExpression(A.UnimplementedError$(null)); } }; A.__SortArrowState_State_TickerProviderStateMixin.prototype = { activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTickers$0(); }, dispose$0() { var _this = this, t1 = _this.TickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTickers()); _this.TickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); } }; A.DataTableSource.prototype = {}; A.DataTableThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.decoration, _this.dataRowColor, _this.dataRowMinHeight, _this.dataRowMaxHeight, _this.dataTextStyle, _this.headingRowColor, _this.headingRowHeight, _this.headingTextStyle, _this.horizontalMargin, _this.columnSpacing, _this.dividerThickness, _this.checkboxHorizontalMargin, _this.headingCellCursor, _this.dataRowCursor, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; if (other instanceof A.DataTableThemeData) if (J.$eq$(other.decoration, _this.decoration)) if (other.dataRowColor == _this.dataRowColor) if (other.dataRowMinHeight == _this.dataRowMinHeight) if (other.dataRowMaxHeight == _this.dataRowMaxHeight) if (J.$eq$(other.dataTextStyle, _this.dataTextStyle)) if (other.headingRowColor == _this.headingRowColor) if (other.headingRowHeight == _this.headingRowHeight) if (J.$eq$(other.headingTextStyle, _this.headingTextStyle)) if (other.horizontalMargin == _this.horizontalMargin) if (other.columnSpacing == _this.columnSpacing) if (other.dividerThickness == _this.dividerThickness) if (other.checkboxHorizontalMargin == _this.checkboxHorizontalMargin) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._DataTableThemeData_Object_Diagnosticable.prototype = {}; A.DatePickerEntryMode.prototype = { _enumToString$0() { return "DatePickerEntryMode." + this._core$_name; } }; A.DatePickerMode.prototype = { _enumToString$0() { return "DatePickerMode." + this._core$_name; } }; A.showDatePicker_closure.prototype = { call$1(context) { var t1 = this._box_0.dialog; return t1; }, $signature: 44 }; A.DatePickerDialog.prototype = { createState$0() { var _null = null; return new A._DatePickerDialogState(new A._RestorableAutovalidateMode(B.AutovalidateMode_0, $.$get$ChangeNotifier__emptyListeners()), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_FormState), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, B._StateLifecycle_0); } }; A._DatePickerDialogState.prototype = { get$_selectedDate() { var t1, t2, value = this.___DatePickerDialogState__selectedDate_FI; if (value === $) { t1 = this._widget.initialDate; t2 = $.$get$ChangeNotifier__emptyListeners(); value !== $ && A.throwUnnamedLateFieldADI(); value = this.___DatePickerDialogState__selectedDate_FI = new A.RestorableDateTimeN(t1, t2); } return value; }, get$_entryMode() { var t1, t2, value = this.___DatePickerDialogState__entryMode_FI; if (value === $) { t1 = this._widget.initialEntryMode; t2 = $.$get$ChangeNotifier__emptyListeners(); value !== $ && A.throwUnnamedLateFieldADI(); value = this.___DatePickerDialogState__entryMode_FI = new A._RestorableDatePickerEntryMode(t1, t2); } return value; }, dispose$0() { var _this = this; _this.get$_selectedDate().dispose$0(); _this.get$_entryMode().dispose$0(); _this._autovalidateMode.dispose$0(); _this.super$__DatePickerDialogState_State_RestorationMixin$dispose(); }, get$restorationId() { this._widget.toString; return null; }, restoreState$2(oldBucket, initialRestore) { var _this = this; _this.registerForRestoration$2(_this.get$_selectedDate(), "selected_date"); _this.registerForRestoration$2(_this._autovalidateMode, "autovalidateMode"); _this.registerForRestoration$2(_this.get$_entryMode(), "calendar_entry_mode"); }, _handleOk$0() { var t3, _this = this, t1 = _this.get$_entryMode(), t2 = t1._restoration_properties$_value; if ((t2 == null ? A._instanceType(t1)._eval$1("RestorableValue.T")._as(t2) : t2) !== B.DatePickerEntryMode_1) { t1 = _this.get$_entryMode(); t2 = t1._restoration_properties$_value; t1 = (t2 == null ? A._instanceType(t1)._eval$1("RestorableValue.T")._as(t2) : t2) === B.DatePickerEntryMode_3; } else t1 = true; if (t1) { t1 = _this._formKey.get$currentState(); t1.toString; if (!t1.validate$0()) { _this.setState$1(new A._DatePickerDialogState__handleOk_closure(_this)); return; } t1.save$0(0); } t1 = _this._framework$_element; t1.toString; t2 = _this.get$_selectedDate(); t3 = t2._restoration_properties$_value; t2 = t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3; A.Navigator_of(t1, false).pop$1(t2); }, _handleCancel$0() { var t1 = this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(null); }, _handleOnDatePickerModeChange$0() { this._widget.toString; }, _handleEntryModeToggle$0() { this.setState$1(new A._DatePickerDialogState__handleEntryModeToggle_closure(this)); }, _handleDateChanged$1(date) { this.setState$1(new A._DatePickerDialogState__handleDateChanged_closure(this, date)); }, _dialogSize$1(context) { var useMaterial3 = A.Theme_of(context).useMaterial3, orientation = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_1, type$.MediaQuery).data.get$orientation(0), t1 = this.get$_entryMode(), t2 = t1._restoration_properties$_value; switch (t2 == null ? A._instanceType(t1)._eval$1("RestorableValue.T")._as(t2) : t2) { case B.DatePickerEntryMode_0: case B.DatePickerEntryMode_2: switch (orientation.index) { case 0: return useMaterial3 ? B.Size_328_512 : B.Size_330_518; case 1: return B.Size_496_346; } break; case B.DatePickerEntryMode_1: case B.DatePickerEntryMode_3: switch (orientation.index) { case 0: return useMaterial3 ? B.Size_328_270 : B.Size_330_270; case 1: return B.Size_496_160; } break; } }, build$1(context) { var orientation, datePickerTheme, defaults, textTheme, headlineStyle, t2, t3, headerForegroundColor, t4, actions, calendarDatePicker, inputDatePicker, entryModeButton, dialogSize, dialogTheme, t5, t6, t7, _this = this, _null = null, _box_0 = {}, theme = A.Theme_of(context), useMaterial3 = theme.useMaterial3, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; orientation = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_1, type$.MediaQuery).data.get$orientation(0); datePickerTheme = A.DatePickerTheme_of(context); defaults = A.Theme_of(context).useMaterial3 ? A._DatePickerDefaultsM3$(context) : A._DatePickerDefaultsM2$(context); textTheme = theme.textTheme; if (useMaterial3) { headlineStyle = datePickerTheme.headerHeadlineStyle; if (headlineStyle == null) headlineStyle = defaults.get$headerHeadlineStyle(); t2 = _this.get$_entryMode(); t3 = t2._restoration_properties$_value; switch (t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3) { case B.DatePickerEntryMode_1: case B.DatePickerEntryMode_3: if (orientation === B.Orientation_1) headlineStyle = textTheme.headlineSmall; break; case B.DatePickerEntryMode_0: case B.DatePickerEntryMode_2: break; } useMaterial3 = true; } else headlineStyle = orientation === B.Orientation_1 ? textTheme.headlineSmall : textTheme.headlineMedium; headerForegroundColor = datePickerTheme.headerForegroundColor; if (headerForegroundColor == null) headerForegroundColor = defaults.get$headerForegroundColor(); headlineStyle = headlineStyle == null ? _null : headlineStyle.copyWith$1$color(headerForegroundColor); t2 = datePickerTheme.cancelButtonStyle; if (t2 == null) t2 = defaults.get$cancelButtonStyle(); t3 = _this._widget.cancelText; t3 = useMaterial3 ? t1.get$cancelButtonLabel() : t1.get$cancelButtonLabel().toUpperCase(); t2 = A.TextButton$(false, A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _this.get$_handleCancel(), t2); t3 = datePickerTheme.confirmButtonStyle; if (t3 == null) t3 = defaults.get$confirmButtonStyle(); _this._widget.toString; t4 = t1.get$okButtonLabel(); actions = A.Container$(B.AlignmentDirectional_1_0, A.OverflowBar$(_null, A._setArrayType([t2, A.TextButton$(false, A.Text$(t4, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _this.get$_handleOk(), t3)], type$.JSArray_Widget), B.OverflowBarAlignment_0, B.VerticalDirection_1, 0, 8), B.Clip_0, _null, B.BoxConstraints_mlX4, _null, _null, _null, _null, _null, B.EdgeInsets_8_0_8_0, _null, _null, _null); calendarDatePicker = new A._DatePickerDialogState_build_calendarDatePicker(_this); inputDatePicker = new A._DatePickerDialogState_build_inputDatePicker(_this, orientation); _box_0.picker = null; t2 = _this.get$_entryMode(); t3 = t2._restoration_properties$_value; switch (t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3) { case B.DatePickerEntryMode_0: _box_0.picker = calendarDatePicker.call$0(); t2 = _this._widget.switchToInputEntryModeIcon; t2 = A.Icon$(useMaterial3 ? B.IconData_61453_MaterialIcons_null_false : B.IconData_57882_MaterialIcons_null_false, _null, _null, _null); entryModeButton = A.IconButton$(_null, headerForegroundColor, _null, _null, t2, _null, _this.get$_handleEntryModeToggle(), _null, _null, _null, t1.get$inputDateModeButtonLabel(), _null); break; case B.DatePickerEntryMode_2: _box_0.picker = calendarDatePicker.call$0(); entryModeButton = _null; break; case B.DatePickerEntryMode_1: _box_0.picker = inputDatePicker.call$0(); _this._widget.toString; entryModeButton = A.IconButton$(_null, headerForegroundColor, _null, _null, B.Icon_7FW, _null, _this.get$_handleEntryModeToggle(), _null, _null, _null, t1.get$calendarModeButtonLabel(), _null); break; case B.DatePickerEntryMode_3: _box_0.picker = inputDatePicker.call$0(); entryModeButton = _null; break; default: entryModeButton = _null; } t2 = _this._widget.helpText; t2 = useMaterial3 ? t1.get$datePickerHelpText() : t1.get$datePickerHelpText().toUpperCase(); t3 = _this.get$_selectedDate(); t4 = t3._restoration_properties$_value; if ((t4 == null ? A._instanceType(t3)._eval$1("RestorableValue.T")._as(t4) : t4) == null) t1 = ""; else { t3 = _this.get$_selectedDate(); t4 = t3._restoration_properties$_value; t3 = t4 == null ? A._instanceType(t3)._eval$1("RestorableValue.T")._as(t4) : t4; t3.toString; t3 = t1.formatMediumDate$1(t3); t1 = t3; } t3 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_4); t3 = t3 == null ? _null : t3.get$textScaler(); t3 = (t3 == null ? B._LinearTextScaler_1 : t3).clamp$1$maxScaleFactor(0, 1.3); dialogSize = _this._dialogSize$1(context).$mul(0, t3.textScaleFactor); dialogTheme = theme.dialogTheme; t3 = datePickerTheme.backgroundColor; if (t3 == null) t3 = defaults.get$backgroundColor(defaults); t4 = datePickerTheme.elevation; if (useMaterial3) { if (t4 == null) { t4 = defaults.elevation; t4.toString; } } else { if (t4 == null) t4 = dialogTheme.elevation; if (t4 == null) t4 = 24; } t5 = datePickerTheme.shadowColor; if (t5 == null) t5 = defaults.get$shadowColor(defaults); t6 = datePickerTheme.surfaceTintColor; if (t6 == null) t6 = defaults.get$surfaceTintColor(); t7 = datePickerTheme.shape; if (useMaterial3) { if (t7 == null) t7 = defaults.shape; } else { if (t7 == null) t7 = dialogTheme.shape; if (t7 == null) t7 = defaults.shape; } return A.Dialog$(_null, t3, A.AnimatedContainer$(_null, A.MediaQuery_withClampedTextScaling(new A.LayoutBuilder(new A._DatePickerDialogState_build_closure(_box_0, useMaterial3, dialogSize, orientation, new A._DatePickerHeader(t2, t1, headlineStyle, orientation, orientation === B.Orientation_1, entryModeButton, _null), datePickerTheme, actions), _null), 1.3), _null, _null, B.Cubic_JUR0, _null, B.Duration_200000, dialogSize._dy, _null, _null, _null, dialogSize._dx), B.Clip_2, t4, B.EdgeInsets_16_24_16_24, t5, t7, t6); } }; A._DatePickerDialogState__handleOk_closure.prototype = { call$0() { this.$this._autovalidateMode.set$value(0, B.AutovalidateMode_1); return B.AutovalidateMode_1; }, $signature: 0 }; A._DatePickerDialogState__handleEntryModeToggle_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.get$_entryMode(), t3 = t2._restoration_properties$_value; switch (t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3) { case B.DatePickerEntryMode_0: t1._autovalidateMode.set$value(0, B.AutovalidateMode_0); t1.get$_entryMode().set$value(0, B.DatePickerEntryMode_1); t1._handleOnDatePickerModeChange$0(); break; case B.DatePickerEntryMode_1: t1._formKey.get$currentState().save$0(0); t1.get$_entryMode().set$value(0, B.DatePickerEntryMode_0); t1._handleOnDatePickerModeChange$0(); break; case B.DatePickerEntryMode_2: case B.DatePickerEntryMode_3: break; } }, $signature: 0 }; A._DatePickerDialogState__handleDateChanged_closure.prototype = { call$0() { this.$this.get$_selectedDate().set$value(0, this.date); }, $signature: 0 }; A._DatePickerDialogState_build_calendarDatePicker.prototype = { call$0() { var t4, t5, t6, t7, t1 = this.$this, t2 = t1.get$_selectedDate(), t3 = t2._restoration_properties$_value; t2 = t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3; t3 = t1._widget; t4 = t3.firstDate; t5 = t3.lastDate; t6 = t3.currentDate; t7 = t3.selectableDayPredicate; t3 = t3.initialCalendarMode; if (t2 == null) t2 = null; else { t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2), A.Primitives_getDay(t2), 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t2 = new A.DateTime(t2, false); } t4 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t4), A.Primitives_getMonth(t4), A.Primitives_getDay(t4), 0, 0, 0, 0, false); if (!A._isInt(t4)) A.throwExpression(A.argumentErrorValue(t4)); t5 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t5), A.Primitives_getMonth(t5), A.Primitives_getDay(t5), 0, 0, 0, 0, false); if (!A._isInt(t5)) A.throwExpression(A.argumentErrorValue(t5)); t6 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t6), A.Primitives_getMonth(t6), A.Primitives_getDay(t6), 0, 0, 0, 0, false); if (!A._isInt(t6)) A.throwExpression(A.argumentErrorValue(t6)); return new A.CalendarDatePicker(t2, new A.DateTime(t4, false), new A.DateTime(t5, false), new A.DateTime(t6, false), t1.get$_handleDateChanged(), t3, t7, t1._calendarPickerKey); }, $signature: 3323 }; A._DatePickerDialogState_build_inputDatePicker.prototype = { call$0() { var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _null = null, t1 = this.$this, t2 = t1._autovalidateMode, t3 = t2._restoration_properties$_value; t2 = t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3; t3 = this.orientation === B.Orientation_0 ? 98 : 108; t4 = t1.get$_selectedDate(); t5 = t4._restoration_properties$_value; t4 = t5 == null ? A._instanceType(t4)._eval$1("RestorableValue.T")._as(t5) : t5; t5 = t1._widget; t6 = t5.firstDate; t7 = t5.lastDate; t8 = t1.get$_handleDateChanged(); t9 = t5.selectableDayPredicate; t10 = t5.errorFormatText; t11 = t5.errorInvalidText; t12 = t5.fieldHintText; t13 = t5.fieldLabelText; t5 = t5.keyboardType; if (t4 != null) { t4 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t4), A.Primitives_getMonth(t4), A.Primitives_getDay(t4), 0, 0, 0, 0, false); if (!A._isInt(t4)) A.throwExpression(A.argumentErrorValue(t4)); t4 = new A.DateTime(t4, false); } else t4 = _null; t6 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t6), A.Primitives_getMonth(t6), A.Primitives_getDay(t6), 0, 0, 0, 0, false); if (!A._isInt(t6)) A.throwExpression(A.argumentErrorValue(t6)); t7 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t7), A.Primitives_getMonth(t7), A.Primitives_getDay(t7), 0, 0, 0, 0, false); if (!A._isInt(t7)) A.throwExpression(A.argumentErrorValue(t7)); return A.Form$(t2, A.Container$(_null, A.Shortcuts$(A.Column$(A._setArrayType([B.Spacer_null, new A.InputDatePickerFormField(t4, new A.DateTime(t6, false), new A.DateTime(t7, false), t8, t8, t9, t10, t11, t12, t13, t5, true, _null), B.Spacer_null], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, B.Map_gQOxG), B.Clip_0, _null, _null, _null, _null, t3, _null, _null, B.EdgeInsets_24_0_24_0, _null, _null, _null), t1._formKey); }, $signature: 3324 }; A._DatePickerDialogState_build_closure.prototype = { call$2(context, constraints) { var t3, t4, _this = this, _null = null, t1 = _this.useMaterial3, portraitDialogSize = t1 ? B.Size_328_270 : B.Size_330_270, t2 = Math.min(_this.dialogSize._dy, portraitDialogSize._dy); switch (_this.orientation.index) { case 0: t3 = type$.JSArray_Widget; t4 = A._setArrayType([_this.header], t3); if (t1) t4.push(A.Divider$(_this.datePickerTheme.dividerColor, 0, _null)); if (constraints.maxHeight >= t2) B.JSArray_methods.addAll$1(t4, A._setArrayType([A.Expanded$(_this._box_0.picker, 1), _this.actions], t3)); return A.Column$(t4, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); case 1: t2 = type$.JSArray_Widget; t3 = A._setArrayType([_this.header], t2); if (t1) t3.push(new A.VerticalDivider(0, _this.datePickerTheme.dividerColor, _null)); t3.push(new A.Flexible(1, B.FlexFit_1, A.Column$(A._setArrayType([A.Expanded$(_this._box_0.picker, 1), _this.actions], t2), B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null)); return A.Row$(t3, B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, _null); } }, $signature: 3325 }; A._RestorableDatePickerEntryMode.prototype = { createDefaultValue$0() { return this._date_picker0$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_VBz[A._asInt(data)]; }, toPrimitives$0() { var t1 = this._restoration_properties$_value; return (t1 == null ? A._instanceType(this)._eval$1("RestorableValue.T")._as(t1) : t1).index; } }; A._RestorableAutovalidateMode.prototype = { createDefaultValue$0() { return this._date_picker0$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_ATp[A._asInt(data)]; }, toPrimitives$0() { var t1 = this._restoration_properties$_value; return (t1 == null ? A._instanceType(this)._eval$1("RestorableValue.T")._as(t1) : t1).index; } }; A._DatePickerHeader.prototype = { build$1(context) { var foregroundColor, t1, helpStyle, help, t2, t3, title, _this = this, _null = null, themeData = A.DatePickerTheme_of(context), defaults = A.Theme_of(context).useMaterial3 ? A._DatePickerDefaultsM3$(context) : A._DatePickerDefaultsM2$(context), backgroundColor = themeData.headerBackgroundColor; if (backgroundColor == null) backgroundColor = defaults.get$headerBackgroundColor(); foregroundColor = themeData.headerForegroundColor; if (foregroundColor == null) foregroundColor = defaults.get$headerForegroundColor(); t1 = themeData.headerHelpStyle; if (t1 == null) t1 = defaults.get$headerHelpStyle(); helpStyle = t1 == null ? _null : t1.copyWith$1$color(foregroundColor); help = A.Text$(_this.helpText, _null, 1, B.TextOverflow_2, _null, _null, helpStyle, _null, _null, _null); t1 = _this.titleText; t2 = _this.orientation; t3 = t2 === B.Orientation_0 ? 1 : 2; title = A.Text$(t1, _null, t3, B.TextOverflow_2, t1, _null, _this.titleStyle, _null, _null, _null); switch (t2.index) { case 0: t1 = type$.JSArray_Widget; t2 = A._setArrayType([A.Expanded$(title, 1)], t1); t3 = _this.entryModeButton; if (t3 != null) t2.push(t3); return new A.SizedBox(_null, 120, A.Material$(B.Duration_200000, true, _null, new A.Padding(B.EdgeInsetsDirectional_24_0_12_12, A.Column$(A._setArrayType([B.SizedBox_null_16_null_null, help, B.Flexible_swd, A.Row$(t2, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, _null)], t1), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), B.Clip_0, backgroundColor, 0, _null, _null, _null, _null, _null, B.MaterialType_0), _null); case 1: t1 = _this.isShort ? 16 : 56; t1 = A._setArrayType([B.SizedBox_null_16_null_null, new A.Padding(B.EdgeInsets_16_0_16_0, help, _null), new A.SizedBox(_null, t1, _null, _null), A.Expanded$(new A.Padding(B.EdgeInsets_16_0_16_0, title, _null), 1)], type$.JSArray_Widget); t2 = _this.entryModeButton; if (t2 != null) t1.push(new A.Padding(B.EdgeInsets_4_0_4_0, t2, _null)); return new A.SizedBox(152, _null, A.Material$(B.Duration_200000, true, _null, A.Column$(t1, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, backgroundColor, 0, _null, _null, _null, _null, _null, B.MaterialType_0), _null); } } }; A.__DatePickerDialogState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 126 }; A.__DatePickerDialogState_State_RestorationMixin.prototype = { didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this.didUpdateRestorationId$0(); }, didChangeDependencies$0() { var oldBucket, needsRestore, t1, didReplaceBucket, _this = this; _this.super$State$didChangeDependencies(); oldBucket = _this.RestorationMixin__bucket; needsRestore = _this.get$restorePending(); t1 = _this._framework$_element; t1.toString; t1 = A.RestorationScope_maybeOf(t1); _this.RestorationMixin__currentParent = t1; didReplaceBucket = _this._updateBucketIfNecessary$2$parent$restorePending(t1, needsRestore); if (needsRestore) { _this.restoreState$2(oldBucket, _this.RestorationMixin__firstRestorePending); _this.RestorationMixin__firstRestorePending = false; } if (didReplaceBucket) if (oldBucket != null) oldBucket.dispose$0(); }, dispose$0() { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A.__DatePickerDialogState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(); _this.RestorationMixin__bucket = null; _this.super$State$dispose(); } }; A.DatePickerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hashAll([_this.get$backgroundColor(_this), _this.elevation, _this.get$shadowColor(_this), _this.get$surfaceTintColor(), _this.shape, _this.get$headerBackgroundColor(), _this.get$headerForegroundColor(), _this.get$headerHeadlineStyle(), _this.get$headerHelpStyle(), _this.get$weekdayStyle(), _this.get$dayStyle(), _this.get$dayForegroundColor(), _this.get$dayBackgroundColor(), _this.get$dayOverlayColor(), _this.get$todayForegroundColor(), _this.get$todayBackgroundColor(), _this.get$todayBorder(), _this.get$yearStyle(), _this.get$yearForegroundColor(), _this.get$yearBackgroundColor(), _this.get$yearOverlayColor(), _this.get$rangePickerBackgroundColor(), _this.rangePickerElevation, _this.get$rangePickerShadowColor(), _this.get$rangePickerSurfaceTintColor(), _this.rangePickerShape, _this.get$rangePickerHeaderBackgroundColor(), _this.get$rangePickerHeaderForegroundColor(), _this.get$rangePickerHeaderHeadlineStyle(), _this.get$rangePickerHeaderHelpStyle(), _this.get$rangeSelectionBackgroundColor(), _this.get$rangeSelectionOverlayColor(), _this.dividerColor, _this.inputDecorationTheme, _this.get$cancelButtonStyle(), _this.get$confirmButtonStyle()]); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.DatePickerThemeData && J.$eq$(other.get$backgroundColor(other), _this.get$backgroundColor(_this)) && other.elevation == _this.elevation && J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this)) && J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor()) && J.$eq$(other.shape, _this.shape) && J.$eq$(other.get$headerBackgroundColor(), _this.get$headerBackgroundColor()) && J.$eq$(other.get$headerForegroundColor(), _this.get$headerForegroundColor()) && J.$eq$(other.get$headerHeadlineStyle(), _this.get$headerHeadlineStyle()) && J.$eq$(other.get$headerHelpStyle(), _this.get$headerHelpStyle()) && J.$eq$(other.get$weekdayStyle(), _this.get$weekdayStyle()) && J.$eq$(other.get$dayStyle(), _this.get$dayStyle()) && other.get$dayForegroundColor() == _this.get$dayForegroundColor() && other.get$dayBackgroundColor() == _this.get$dayBackgroundColor() && other.get$dayOverlayColor() == _this.get$dayOverlayColor() && other.get$todayForegroundColor() == _this.get$todayForegroundColor() && other.get$todayBackgroundColor() == _this.get$todayBackgroundColor() && J.$eq$(other.get$todayBorder(), _this.get$todayBorder()) && J.$eq$(other.get$yearStyle(), _this.get$yearStyle()) && other.get$yearForegroundColor() == _this.get$yearForegroundColor() && other.get$yearBackgroundColor() == _this.get$yearBackgroundColor() && other.get$yearOverlayColor() == _this.get$yearOverlayColor() && J.$eq$(other.get$rangePickerBackgroundColor(), _this.get$rangePickerBackgroundColor()) && other.rangePickerElevation == _this.rangePickerElevation && J.$eq$(other.get$rangePickerShadowColor(), _this.get$rangePickerShadowColor()) && J.$eq$(other.get$rangePickerSurfaceTintColor(), _this.get$rangePickerSurfaceTintColor()) && J.$eq$(other.rangePickerShape, _this.rangePickerShape) && J.$eq$(other.get$rangePickerHeaderBackgroundColor(), _this.get$rangePickerHeaderBackgroundColor()) && J.$eq$(other.get$rangePickerHeaderForegroundColor(), _this.get$rangePickerHeaderForegroundColor()) && J.$eq$(other.get$rangePickerHeaderHeadlineStyle(), _this.get$rangePickerHeaderHeadlineStyle()) && J.$eq$(other.get$rangePickerHeaderHelpStyle(), _this.get$rangePickerHeaderHelpStyle()) && J.$eq$(other.get$rangeSelectionBackgroundColor(), _this.get$rangeSelectionBackgroundColor()) && other.get$rangeSelectionOverlayColor() == _this.get$rangeSelectionOverlayColor() && J.$eq$(other.dividerColor, _this.dividerColor) && J.$eq$(other.get$cancelButtonStyle(), _this.get$cancelButtonStyle()) && J.$eq$(other.get$confirmButtonStyle(), _this.get$confirmButtonStyle()); }, get$backgroundColor(receiver) { return this.backgroundColor; }, get$shadowColor(receiver) { return this.shadowColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$headerBackgroundColor() { return this.headerBackgroundColor; }, get$headerForegroundColor() { return this.headerForegroundColor; }, get$headerHeadlineStyle() { return this.headerHeadlineStyle; }, get$headerHelpStyle() { return this.headerHelpStyle; }, get$weekdayStyle() { return this.weekdayStyle; }, get$dayStyle() { return this.dayStyle; }, get$dayForegroundColor() { return this.dayForegroundColor; }, get$dayBackgroundColor() { return this.dayBackgroundColor; }, get$dayOverlayColor() { return this.dayOverlayColor; }, get$todayForegroundColor() { return this.todayForegroundColor; }, get$todayBackgroundColor() { return this.todayBackgroundColor; }, get$todayBorder() { return this.todayBorder; }, get$yearStyle() { return this.yearStyle; }, get$yearForegroundColor() { return this.yearForegroundColor; }, get$yearBackgroundColor() { return this.yearBackgroundColor; }, get$yearOverlayColor() { return this.yearOverlayColor; }, get$rangePickerBackgroundColor() { return this.rangePickerBackgroundColor; }, get$rangePickerShadowColor() { return this.rangePickerShadowColor; }, get$rangePickerSurfaceTintColor() { return this.rangePickerSurfaceTintColor; }, get$rangePickerHeaderBackgroundColor() { return this.rangePickerHeaderBackgroundColor; }, get$rangePickerHeaderForegroundColor() { return this.rangePickerHeaderForegroundColor; }, get$rangePickerHeaderHeadlineStyle() { return this.rangePickerHeaderHeadlineStyle; }, get$rangePickerHeaderHelpStyle() { return this.rangePickerHeaderHelpStyle; }, get$rangeSelectionBackgroundColor() { return this.rangeSelectionBackgroundColor; }, get$rangeSelectionOverlayColor() { return this.rangeSelectionOverlayColor; }, get$cancelButtonStyle() { return this.cancelButtonStyle; }, get$confirmButtonStyle() { return this.confirmButtonStyle; } }; A._DatePickerDefaultsM2.prototype = { get$_date_picker_theme$_theme() { var result, _this = this, value = _this.___DatePickerDefaultsM2__theme_FI; if (value === $) { result = A.Theme_of(_this.context); _this.___DatePickerDefaultsM2__theme_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___DatePickerDefaultsM2__theme_FI = result; value = result; } return value; }, get$_date_picker_theme$_colors() { var t1, _this = this, value = _this.___DatePickerDefaultsM2__colors_FI; if (value === $) { t1 = _this.get$_date_picker_theme$_theme(); _this.___DatePickerDefaultsM2__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DatePickerDefaultsM2__colors_FI = t1.colorScheme; } return value; }, get$_date_picker_theme$_textTheme() { var t1, _this = this, value = _this.___DatePickerDefaultsM2__textTheme_FI; if (value === $) { t1 = _this.get$_date_picker_theme$_theme(); _this.___DatePickerDefaultsM2__textTheme_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DatePickerDefaultsM2__textTheme_FI = t1.textTheme; } return value; }, get$_isDark() { var t1, _this = this, value = _this.___DatePickerDefaultsM2__isDark_FI; if (value === $) { t1 = _this.get$_date_picker_theme$_colors(); _this.___DatePickerDefaultsM2__isDark_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DatePickerDefaultsM2__isDark_FI = t1.brightness === B.Brightness_0; } return value; }, get$headerBackgroundColor() { return this.get$_isDark() ? this.get$_date_picker_theme$_colors().surface : this.get$_date_picker_theme$_colors().primary; }, get$cancelButtonStyle() { var _null = null; return A.TextButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, get$confirmButtonStyle() { var _null = null; return A.TextButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, get$headerForegroundColor() { return this.get$_isDark() ? this.get$_date_picker_theme$_colors().onSurface : this.get$_date_picker_theme$_colors().onPrimary; }, get$headerHeadlineStyle() { return this.get$_date_picker_theme$_textTheme().headlineSmall; }, get$headerHelpStyle() { return this.get$_date_picker_theme$_textTheme().labelSmall; }, get$weekdayStyle() { var t2, t1 = this.get$_date_picker_theme$_textTheme().bodySmall; if (t1 == null) t1 = null; else { t2 = this.get$_date_picker_theme$_colors().onSurface.value; t2 = t1.apply$1$color(A.Color$fromARGB(153, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255)); t1 = t2; } return t1; }, get$dayStyle() { return this.get$_date_picker_theme$_textTheme().bodySmall; }, get$dayForegroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM2_dayForegroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$dayBackgroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM2_dayBackgroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$dayOverlayColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM2_dayOverlayColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$todayForegroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM2_todayForegroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$todayBackgroundColor() { return this.get$dayBackgroundColor(); }, get$todayBorder() { return new A.BorderSide(this.get$_date_picker_theme$_colors().primary, 1, B.BorderStyle_1, -1); }, get$yearStyle() { return this.get$_date_picker_theme$_textTheme().bodyLarge; }, get$rangePickerBackgroundColor() { return this.get$_date_picker_theme$_colors().surface; }, get$rangePickerShadowColor() { return B.Color_0; }, get$rangePickerSurfaceTintColor() { return B.Color_0; }, get$rangePickerHeaderBackgroundColor() { return this.get$_isDark() ? this.get$_date_picker_theme$_colors().surface : this.get$_date_picker_theme$_colors().primary; }, get$rangePickerHeaderForegroundColor() { return this.get$_isDark() ? this.get$_date_picker_theme$_colors().onSurface : this.get$_date_picker_theme$_colors().onPrimary; }, get$rangePickerHeaderHeadlineStyle() { return this.get$_date_picker_theme$_textTheme().headlineSmall; }, get$rangePickerHeaderHelpStyle() { return this.get$_date_picker_theme$_textTheme().labelSmall; }, get$rangeSelectionBackgroundColor() { var t1 = this.get$_date_picker_theme$_colors().primary; return A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); }, get$rangeSelectionOverlayColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM2_rangeSelectionOverlayColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); } }; A._DatePickerDefaultsM2_dayForegroundColor_closure.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().onPrimary; else if (states.contains$1(0, B.MaterialState_6)) { t1 = this.$this.get$_date_picker_theme$_colors().onSurface.value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } return this.$this.get$_date_picker_theme$_colors().onSurface; }, $signature: 25 }; A._DatePickerDefaultsM2_dayBackgroundColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().primary; return null; }, $signature: 86 }; A._DatePickerDefaultsM2_dayOverlayColor_closure.prototype = { call$1(states) { var t1, t2, _this = this; if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } else { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } return null; }, $signature: 86 }; A._DatePickerDefaultsM2_todayForegroundColor_closure.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().onPrimary; else if (states.contains$1(0, B.MaterialState_6)) { t1 = this.$this.get$_date_picker_theme$_colors().onSurface.value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } return this.$this.get$_date_picker_theme$_colors().primary; }, $signature: 25 }; A._DatePickerDefaultsM2_rangeSelectionOverlayColor_closure.prototype = { call$1(states) { var t1, t2, _this = this; if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } else { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } return null; }, $signature: 86 }; A._DatePickerDefaultsM3.prototype = { get$_date_picker_theme$_theme() { var result, _this = this, value = _this.___DatePickerDefaultsM3__theme_FI; if (value === $) { result = A.Theme_of(_this.context); _this.___DatePickerDefaultsM3__theme_FI !== $ && A.throwUnnamedLateFieldADI(); _this.___DatePickerDefaultsM3__theme_FI = result; value = result; } return value; }, get$_date_picker_theme$_colors() { var t1, _this = this, value = _this.___DatePickerDefaultsM3__colors_FI; if (value === $) { t1 = _this.get$_date_picker_theme$_theme(); _this.___DatePickerDefaultsM3__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DatePickerDefaultsM3__colors_FI = t1.colorScheme; } return value; }, get$_date_picker_theme$_textTheme() { var t1, _this = this, value = _this.___DatePickerDefaultsM3__textTheme_FI; if (value === $) { t1 = _this.get$_date_picker_theme$_theme(); _this.___DatePickerDefaultsM3__textTheme_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DatePickerDefaultsM3__textTheme_FI = t1.textTheme; } return value; }, get$backgroundColor(_) { return this.get$_date_picker_theme$_colors().surface; }, get$cancelButtonStyle() { var _null = null; return A.TextButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, get$confirmButtonStyle() { var _null = null; return A.TextButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, get$shadowColor(_) { return B.Color_0; }, get$surfaceTintColor() { var t1 = this.get$_date_picker_theme$_colors(), t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$headerBackgroundColor() { return B.Color_0; }, get$headerForegroundColor() { var t1 = this.get$_date_picker_theme$_colors(), t2 = t1._onSurfaceVariant; return t2 == null ? t1.onSurface : t2; }, get$headerHeadlineStyle() { return this.get$_date_picker_theme$_textTheme().headlineLarge; }, get$headerHelpStyle() { return this.get$_date_picker_theme$_textTheme().labelLarge; }, get$weekdayStyle() { var t1 = this.get$_date_picker_theme$_textTheme().bodyLarge; return t1 == null ? null : t1.apply$1$color(this.get$_date_picker_theme$_colors().onSurface); }, get$dayStyle() { return this.get$_date_picker_theme$_textTheme().bodyLarge; }, get$dayForegroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_dayForegroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$dayBackgroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_dayBackgroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$dayOverlayColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_dayOverlayColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$todayForegroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_todayForegroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$todayBackgroundColor() { return this.get$dayBackgroundColor(); }, get$todayBorder() { return new A.BorderSide(this.get$_date_picker_theme$_colors().primary, 1, B.BorderStyle_1, -1); }, get$yearStyle() { return this.get$_date_picker_theme$_textTheme().bodyLarge; }, get$yearForegroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_yearForegroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$yearBackgroundColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_yearBackgroundColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$yearOverlayColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_yearOverlayColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$rangePickerShadowColor() { return B.Color_0; }, get$rangePickerSurfaceTintColor() { return B.Color_0; }, get$rangeSelectionBackgroundColor() { var t1 = this.get$_date_picker_theme$_colors(), t2 = t1._secondaryContainer; return t2 == null ? t1.secondary : t2; }, get$rangeSelectionOverlayColor() { return new A._MaterialStatePropertyWith(new A._DatePickerDefaultsM3_rangeSelectionOverlayColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$rangePickerHeaderBackgroundColor() { return B.Color_0; }, get$rangePickerHeaderForegroundColor() { var t1 = this.get$_date_picker_theme$_colors(), t2 = t1._onSurfaceVariant; return t2 == null ? t1.onSurface : t2; }, get$rangePickerHeaderHeadlineStyle() { return this.get$_date_picker_theme$_textTheme().titleLarge; }, get$rangePickerHeaderHelpStyle() { return this.get$_date_picker_theme$_textTheme().titleSmall; } }; A._DatePickerDefaultsM3_dayForegroundColor_closure.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().onPrimary; else if (states.contains$1(0, B.MaterialState_6)) { t1 = this.$this.get$_date_picker_theme$_colors().onSurface.value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } return this.$this.get$_date_picker_theme$_colors().onSurface; }, $signature: 25 }; A._DatePickerDefaultsM3_dayBackgroundColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().primary; return null; }, $signature: 86 }; A._DatePickerDefaultsM3_dayOverlayColor_closure.prototype = { call$1(states) { var t1, t2, _this = this; if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } else { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } return null; }, $signature: 86 }; A._DatePickerDefaultsM3_todayForegroundColor_closure.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().onPrimary; else if (states.contains$1(0, B.MaterialState_6)) { t1 = this.$this.get$_date_picker_theme$_colors().primary; return A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return this.$this.get$_date_picker_theme$_colors().primary; }, $signature: 25 }; A._DatePickerDefaultsM3_yearForegroundColor_closure.prototype = { call$1(states) { var t1, t2; if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().onPrimary; else if (states.contains$1(0, B.MaterialState_6)) { t1 = this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(97, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } t1 = this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; return t2 == null ? t1.onSurface : t2; }, $signature: 25 }; A._DatePickerDefaultsM3_yearBackgroundColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_4)) return this.$this.get$_date_picker_theme$_colors().primary; return null; }, $signature: 86 }; A._DatePickerDefaultsM3_yearOverlayColor_closure.prototype = { call$1(states) { var t1, t2, _this = this; if (states.contains$1(0, B.MaterialState_4)) { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors().onPrimary.value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } else { if (states.contains$1(0, B.MaterialState_2)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = _this.$this.get$_date_picker_theme$_colors(); t2 = t1._onSurfaceVariant; t1 = (t2 == null ? t1.onSurface : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } } return null; }, $signature: 86 }; A._DatePickerDefaultsM3_rangeSelectionOverlayColor_closure.prototype = { call$1(states) { var t1, t2; if (states.contains$1(0, B.MaterialState_2)) { t1 = this.$this.get$_date_picker_theme$_colors(); t2 = t1._onPrimaryContainer; t1 = (t2 == null ? t1.onPrimary : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_0)) { t1 = this.$this.get$_date_picker_theme$_colors(); t2 = t1._onPrimaryContainer; t1 = (t2 == null ? t1.onPrimary : t2).value; return A.Color$fromARGB(20, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (states.contains$1(0, B.MaterialState_1)) { t1 = this.$this.get$_date_picker_theme$_colors(); t2 = t1._onPrimaryContainer; t1 = (t2 == null ? t1.onPrimary : t2).value; return A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } return null; }, $signature: 86 }; A._DatePickerThemeData_Object_Diagnosticable.prototype = {}; A._DesktopTextSelectionHandleControls.prototype = {}; A.DesktopTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return B.Size_0_0; }, buildHandle$4(context, type, textLineHeight, onTap) { return B.SizedBox_0_0_null_null; }, getHandleAnchor$2(type, textLineHeight) { return B.Offset_0_0; } }; A.__DesktopTextSelectionHandleControls_DesktopTextSelectionControls_TextSelectionHandleControls.prototype = {}; A.DesktopTextSelectionToolbar.prototype = { build$1(context) { var _null = null, paddingAbove = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, type$.MediaQuery).data.padding.top + 8; return new A.Padding(new A.EdgeInsets(8, paddingAbove, 8, 8), new A.CustomSingleChildLayout(new A.DesktopTextSelectionToolbarLayoutDelegate(this.anchor.$sub(0, new A.Offset(8, paddingAbove))), new A.SizedBox(222, _null, A.Material$(B.Duration_200000, true, B.BorderRadius_tLn2, A.Column$(this.children, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), B.Clip_2, _null, 1, _null, _null, _null, _null, _null, B.MaterialType_1), _null), _null), _null); } }; A.DesktopTextSelectionToolbarButton.prototype = { build$1(context) { var _null = null; return new A.SizedBox(1 / 0, _null, A.TextButton$(false, this.child, _null, _null, this.onPressed, A.TextButton_styleFrom(B.Alignment_m1_0, _null, _null, _null, _null, B.SystemMouseCursor_basic, _null, _null, B.SystemMouseCursor_basic, A.Theme_of(context).colorScheme.brightness === B.Brightness_0 ? B.Color_4294967295 : B.Color_3707764736, _null, B.Size_48_36, B.EdgeInsets_20_0_20_3, _null, B.RoundedRectangleBorder_27D0, _null, _null, _null, _null)), _null); } }; A.Dialog.prototype = { build$1(context) { var defaults, t3, t4, t5, t6, t7, dialogChild, _this = this, _null = null, theme = A.Theme_of(context), dialogTheme = A.Theme_of(context).dialogTheme, t1 = type$.MediaQuery, t2 = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_7, t1).data, effectivePadding = t2.viewInsets.$add(0, _this.insetPadding); if (theme.useMaterial3) defaults = A._DialogDefaultsM3$(context); else defaults = A._DialogDefaultsM2$(context); t2 = dialogTheme.alignment; if (t2 == null) { t2 = defaults.alignment; t2.toString; } t3 = _this.backgroundColor; if (t3 == null) t3 = dialogTheme.backgroundColor; if (t3 == null) t3 = A.Theme_of(context).dialogBackgroundColor; t4 = _this.elevation; if (t4 == null) t4 = dialogTheme.elevation; if (t4 == null) { t4 = defaults.elevation; t4.toString; } t5 = _this.shadowColor; if (t5 == null) t5 = dialogTheme.shadowColor; if (t5 == null) t5 = defaults.get$shadowColor(defaults); t6 = _this.surfaceTintColor; if (t6 == null) t6 = dialogTheme.surfaceTintColor; if (t6 == null) t6 = defaults.get$surfaceTintColor(); t7 = _this.shape; if (t7 == null) t7 = dialogTheme.shape; if (t7 == null) { t7 = defaults.shape; t7.toString; } dialogChild = new A.Align(t2, _null, _null, new A.ConstrainedBox(B.BoxConstraints_mlX, A.Material$(B.Duration_200000, true, _null, _this.child, _this.clipBehavior, t3, t4, _null, t5, t7, t6, _null, B.MaterialType_1), _null), _null); return new A.AnimatedPadding(effectivePadding, A.MediaQuery$(dialogChild, A.InheritedModel_inheritFrom(context, _null, t1).data.removeViewInsets$4$removeBottom$removeLeft$removeRight$removeTop(true, true, true, true), _null), B.C__DecelerateCurve, B.Duration_100000, _null, _null); } }; A.AlertDialog.prototype = { build$1(context) { var t3, paddingScaleFactor, t4, t5, t6, t7, t8, titleWidget, defaultContentPadding, effectiveContentPadding, contentWidget, actionsWidget, dialogChild, _this = this, _null = null, theme = A.Theme_of(context), dialogTheme = A.Theme_of(context).dialogTheme, t1 = theme.useMaterial3, defaults = t1 ? A._DialogDefaultsM3$(context) : A._DialogDefaultsM2$(context), label = _this.semanticLabel, t2 = theme.platform; switch (t2.index) { case 2: case 4: break; case 0: case 1: case 3: case 5: if (label == null) { t3 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t3.toString; label = t3.get$alertDialogLabel(); } break; } t3 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_4); t3 = t3 == null ? _null : t3.get$textScaler(); paddingScaleFactor = A._paddingScaleFactor((t3 == null ? B._LinearTextScaler_1 : t3).textScaleFactor); A.Directionality_maybeOf(context); t3 = _this.title; t4 = t3 == null; t5 = !t4; if (t5) { t6 = _this.content == null ? 20 : 0; t7 = 24 * paddingScaleFactor; t8 = dialogTheme.titleTextStyle; if (t8 == null) { t8 = defaults.get$titleTextStyle(); t8.toString; } t2 = label == null && t2 !== B.TargetPlatform_2; titleWidget = new A.Padding(new A.EdgeInsets(t7, t7, t7, t6), A.DefaultTextStyle$(new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, t3, _null), _null, _null, B.TextOverflow_0, true, t8, B.TextAlign_4, _null, B.TextWidthBasis_0), _null); } else titleWidget = _null; t2 = _this.content; t3 = t2 != null; if (t3) { defaultContentPadding = new A.EdgeInsets(24, t1 ? 16 : 20, 24, 24); t6 = _this.contentPadding; effectiveContentPadding = t6 == null ? _null : t6; if (effectiveContentPadding == null) effectiveContentPadding = defaultContentPadding; t4 = t4 && true; t6 = effectiveContentPadding.top; t4 = t4 ? t6 * paddingScaleFactor : t6; t6 = dialogTheme.contentTextStyle; if (t6 == null) { t6 = defaults.get$contentTextStyle(); t6.toString; } contentWidget = new A.Padding(new A.EdgeInsets(effectiveContentPadding.left * paddingScaleFactor, t4, effectiveContentPadding.right * paddingScaleFactor, effectiveContentPadding.bottom), A.DefaultTextStyle$(new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, t2, _null), _null, _null, B.TextOverflow_0, true, t6, _null, _null, B.TextWidthBasis_0), _null); } else contentWidget = _null; t2 = _this.actionsPadding; if (t2 == null) t2 = dialogTheme.actionsPadding; if (t2 == null) t1 = t1 ? defaults.get$actionsPadding() : defaults.get$actionsPadding().add$1(0, new A.EdgeInsets(8, 8, 8, 8)); else t1 = t2; actionsWidget = new A.Padding(t1, A.OverflowBar$(B.MainAxisAlignment_1, _this.actions, B.OverflowBarAlignment_1, B.VerticalDirection_1, 0, 8), _null); t1 = A._setArrayType([], type$.JSArray_Widget); if (t5) { titleWidget.toString; t1.push(titleWidget); } if (t3) { contentWidget.toString; t1.push(new A.Flexible(1, B.FlexFit_1, contentWidget, _null)); } actionsWidget.toString; t1.push(actionsWidget); dialogChild = A.IntrinsicWidth$(A.Column$(t1, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null); if (label != null) dialogChild = new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, label, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, false, dialogChild, _null); return A.Dialog$(_null, _this.backgroundColor, dialogChild, B.Clip_0, _null, B.EdgeInsets_40_24_40_24, _null, _null, _null); } }; A.SimpleDialogOption.prototype = { build$1(context) { var _null = null; return A.InkWell$(false, _null, true, new A.Padding(B.EdgeInsets_24_8_24_8, this.child, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, this.onPressed, _null, _null, _null, _null, _null, _null, _null); } }; A.SimpleDialog.prototype = { build$1(context) { var label, t2, paddingScaleFactor, t3, t4, t5, t6, titleWidget, contentWidget, dialogChild, _null = null, theme = A.Theme_of(context), t1 = theme.platform; switch (t1.index) { case 4: case 2: label = _null; break; case 0: case 1: case 3: case 5: t2 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t2.toString; label = t2.get$dialogLabel(); break; default: label = _null; } t2 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_4); t2 = t2 == null ? _null : t2.get$textScaler(); paddingScaleFactor = A._paddingScaleFactor((t2 == null ? B._LinearTextScaler_1 : t2).textScaleFactor); A.Directionality_maybeOf(context); t2 = this.title; t3 = t2 == null; t4 = !t3; if (t4) { t5 = 24 * paddingScaleFactor; t6 = A.Theme_of(context).dialogTheme.titleTextStyle; if (t6 == null) { t6 = theme.textTheme.titleLarge; t6.toString; } t1 = label == null && t1 !== B.TargetPlatform_2; titleWidget = new A.Padding(new A.EdgeInsets(t5, t5, t5, 0), A.DefaultTextStyle$(new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true, false, false, false, t2, _null), _null, _null, B.TextOverflow_0, true, t6, _null, _null, B.TextWidthBasis_0), _null); } else titleWidget = _null; t1 = 0 * paddingScaleFactor; t2 = t3 ? 12 * paddingScaleFactor : 12; contentWidget = new A.Flexible(1, B.FlexFit_1, A.SingleChildScrollView$(A.ListBody$(this.children, B.Axis_1), _null, B.DragStartBehavior_1, _null, new A.EdgeInsets(t1, t2, t1, 16 * paddingScaleFactor), _null, _null, _null, false, B.Axis_1), _null); t1 = A._setArrayType([], type$.JSArray_Widget); if (t4) { titleWidget.toString; t1.push(titleWidget); } contentWidget.toString; t1.push(contentWidget); dialogChild = A.IntrinsicWidth$(new A.ConstrainedBox(B.BoxConstraints_mlX, A.Column$(t1, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null), 56); if (label != null) dialogChild = new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, label, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, false, dialogChild, _null); return A.Dialog$(_null, _null, dialogChild, B.Clip_0, _null, B.EdgeInsets_40_24_40_24, _null, _null, _null); } }; A.DialogRoute.prototype = {}; A.DialogRoute_closure.prototype = { call$3(buildContext, animation, secondaryAnimation) { var pageChild = new A.Builder(this.builder, null), dialog = new A._CaptureAll(this.themes._themes, pageChild, null); dialog = A.SafeArea$(true, dialog, B.EdgeInsets_0_0_0_0, true); return dialog; }, "call*": "call$3", $requiredArgCount: 3, $signature: 3333 }; A._DialogDefaultsM2.prototype = { get$iconColor() { return this._iconTheme.color; }, get$backgroundColor(_) { return A.Theme_of(this.context).dialogBackgroundColor; }, get$shadowColor(_) { return A.Theme_of(this.context).shadowColor; }, get$titleTextStyle() { return this._textTheme.titleLarge; }, get$contentTextStyle() { return this._textTheme.titleMedium; }, get$actionsPadding() { return B.EdgeInsets_0_0_0_0; } }; A._DialogDefaultsM3.prototype = { get$_dialog$_colors() { var t1, _this = this, value = _this.___DialogDefaultsM3__colors_FI; if (value === $) { t1 = A.Theme_of(_this.context); _this.___DialogDefaultsM3__colors_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DialogDefaultsM3__colors_FI = t1.colorScheme; } return value; }, get$_textTheme() { var t1, _this = this, value = _this.___DialogDefaultsM3__textTheme_FI; if (value === $) { t1 = A.Theme_of(_this.context); _this.___DialogDefaultsM3__textTheme_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DialogDefaultsM3__textTheme_FI = t1.textTheme; } return value; }, get$iconColor() { return this.get$_dialog$_colors().secondary; }, get$backgroundColor(_) { return this.get$_dialog$_colors().surface; }, get$shadowColor(_) { return B.Color_0; }, get$surfaceTintColor() { var t1 = this.get$_dialog$_colors(), t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$titleTextStyle() { return this.get$_textTheme().headlineSmall; }, get$contentTextStyle() { return this.get$_textTheme().bodyMedium; }, get$actionsPadding() { return B.EdgeInsets_24_0_24_24; } }; A.DialogTheme.prototype = { get$hashCode(_) { return J.get$hashCode$(this.shape); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.DialogTheme && J.$eq$(other.get$backgroundColor(other), _this.get$backgroundColor(_this)) && other.elevation == _this.elevation && J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this)) && J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor()) && J.$eq$(other.shape, _this.shape) && J.$eq$(other.alignment, _this.alignment) && J.$eq$(other.get$iconColor(), _this.get$iconColor()) && J.$eq$(other.get$titleTextStyle(), _this.get$titleTextStyle()) && J.$eq$(other.get$contentTextStyle(), _this.get$contentTextStyle()) && J.$eq$(other.get$actionsPadding(), _this.get$actionsPadding()); }, get$backgroundColor(receiver) { return this.backgroundColor; }, get$shadowColor(receiver) { return this.shadowColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$titleTextStyle() { return this.titleTextStyle; }, get$contentTextStyle() { return this.contentTextStyle; }, get$actionsPadding() { return this.actionsPadding; }, get$iconColor() { return this.iconColor; } }; A._DialogTheme_Object_Diagnosticable.prototype = {}; A.Divider.prototype = { build$1(context) { var thickness, indent, endIndent, _null = null, theme = A.Theme_of(context), dividerTheme = A.DividerTheme_of(context), defaults = theme.useMaterial3 ? A._DividerDefaultsM3$(context) : A._DividerDefaultsM2$(context), t1 = this.height, height = t1 == null ? dividerTheme.space : t1; if (height == null) { t1 = defaults.space; t1.toString; height = t1; } t1 = this.thickness; thickness = t1 == null ? dividerTheme.thickness : t1; if (thickness == null) { t1 = defaults.thickness; t1.toString; thickness = t1; } indent = dividerTheme.indent; if (indent == null) { t1 = defaults.indent; t1.toString; indent = t1; } endIndent = dividerTheme.endIndent; if (endIndent == null) { t1 = defaults.endIndent; t1.toString; endIndent = t1; } return new A.SizedBox(_null, height, A.Center$(A.Container$(_null, _null, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(B.BorderSide_8xm, B.BorderSide_8xm, A.Divider_createBorderSide(context, this.color, thickness), B.BorderSide_8xm), _null, _null, _null, B.BoxShape_0), _null, thickness, _null, new A.EdgeInsetsDirectional(indent, 0, endIndent, 0), _null, _null, _null, _null), _null, _null), _null); } }; A.VerticalDivider.prototype = { build$1(context) { var t1, indent, endIndent, _null = null, theme = A.Theme_of(context), dividerTheme = A.DividerTheme_of(context), defaults = theme.useMaterial3 ? A._DividerDefaultsM3$(context) : A._DividerDefaultsM2$(context), width = this.width, thickness = dividerTheme.thickness; if (thickness == null) { t1 = defaults.thickness; t1.toString; thickness = t1; } indent = dividerTheme.indent; if (indent == null) { t1 = defaults.indent; t1.toString; indent = t1; } endIndent = dividerTheme.endIndent; if (endIndent == null) { t1 = defaults.endIndent; t1.toString; endIndent = t1; } return new A.SizedBox(width, _null, A.Center$(A.Container$(_null, _null, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(B.BorderSide_8xm, B.BorderSide_8xm, B.BorderSide_8xm, A.Divider_createBorderSide(context, this.color, thickness)), _null, _null, _null, B.BoxShape_0), _null, _null, _null, new A.EdgeInsetsDirectional(0, indent, 0, endIndent), _null, _null, _null, thickness), _null, _null), _null); } }; A._DividerDefaultsM2.prototype = { get$color(_) { return A.Theme_of(this.context).dividerColor; } }; A._DividerDefaultsM3.prototype = { get$color(_) { var t1 = A.Theme_of(this.context).colorScheme, t2 = t1._outlineVariant; return t2 == null ? t1.onBackground : t2; } }; A.DividerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.get$color(_this), _this.space, _this.thickness, _this.indent, _this.endIndent, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.DividerThemeData && J.$eq$(other.get$color(other), _this.get$color(_this)) && other.space == _this.space && other.thickness == _this.thickness && other.indent == _this.indent && other.endIndent == _this.endIndent; }, get$color(receiver) { return this.color; } }; A._DividerThemeData_Object_Diagnosticable.prototype = {}; A.DrawerAlignment.prototype = { _enumToString$0() { return "DrawerAlignment." + this._core$_name; } }; A.Drawer.prototype = { build$1(context) { var label, t1, t2, defaults, effectiveShape, t3, t4, t5, t6, _null = null, drawerTheme = A.DrawerTheme_of(context); switch (A.Theme_of(context).platform.index) { case 2: case 4: label = _null; break; case 0: case 1: case 3: case 5: t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; label = t1.get$drawerLabel(); break; default: label = _null; } t1 = A.Theme_of(context); t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$._DrawerControllerScope); t2 = t2 == null ? _null : t2.controller; t2 = t2 == null ? _null : t2.alignment; defaults = t1.useMaterial3 ? new A._DrawerDefaultsM3(context, _null, _null, 1, _null, _null, _null, _null, _null) : new A._DrawerDefaultsM2(context, _null, _null, 16, _null, _null, _null, _null, _null); if (t2 !== B.DrawerAlignment_1) { t1 = drawerTheme.shape; if (t1 == null) t1 = defaults.get$shape(defaults); effectiveShape = t1; } else { t1 = drawerTheme.endShape; if (t1 == null) t1 = defaults.get$endShape(); effectiveShape = t1; } t1 = drawerTheme.width; t1 = A.BoxConstraints$expand(_null, t1 == null ? 304 : t1); t2 = drawerTheme.backgroundColor; if (t2 == null) t2 = defaults.get$backgroundColor(defaults); t3 = drawerTheme.elevation; if (t3 == null) { t3 = defaults.elevation; t3.toString; } t4 = drawerTheme.shadowColor; if (t4 == null) t4 = defaults.get$shadowColor(defaults); t5 = drawerTheme.surfaceTintColor; if (t5 == null) t5 = defaults.get$surfaceTintColor(); if (effectiveShape != null) t6 = B.Clip_1; else t6 = B.Clip_0; t5 = A.Material$(B.Duration_200000, true, _null, this.child, t6, t2, t3, _null, t4, effectiveShape, t5, _null, B.MaterialType_0); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, label, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, false, new A.ConstrainedBox(t1, t5, _null), _null); } }; A._DrawerControllerScope.prototype = { updateShouldNotify$1(old) { return !this.controller.super$Object$$eq(0, old.controller); } }; A.DrawerController.prototype = { createState$0() { var _null = null, t1 = type$.LabeledGlobalKey_State_StatefulWidget; return new A.DrawerControllerState(A.FocusScopeNode$(true, _null, false), new A.LabeledGlobalKey(_null, t1), new A.LabeledGlobalKey(_null, t1), _null, _null, B._StateLifecycle_0); } }; A.DrawerControllerState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = _this.__DrawerControllerState__controller_A = A.AnimationController$(null, B.Duration_246000, null, 1, _this._widget.isDrawerOpen ? 1 : 0, _this); t1.didRegisterListener$0(); t2 = t1.AnimationLocalListenersMixin__listeners; t2._isDirty = true; t2._observer_list$_list.push(_this.get$_animationChanged()); t1.didRegisterListener$0(); t1 = t1.AnimationLocalStatusListenersMixin__statusListeners; t1._isDirty = true; t1._observer_list$_list.push(_this.get$_animationStatusChanged()); }, dispose$0() { var _this = this, t1 = _this._historyEntry; if (t1 != null) t1.remove$0(0); t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); _this._focusScopeNode.dispose$0(); _this.super$_DrawerControllerState_State_SingleTickerProviderStateMixin$dispose(); }, didChangeDependencies$0() { this.super$State$didChangeDependencies(); this.__DrawerControllerState__scrimColorTween_A = this._buildScrimColorTween$0(); }, didUpdateWidget$1(oldWidget) { var t1, t2, t3; this.super$State$didUpdateWidget(oldWidget); t1 = this._widget; t1 = t1.isDrawerOpen; if (t1 !== oldWidget.isDrawerOpen) { t2 = this.__DrawerControllerState__controller_A; t2 === $ && A.throwUnnamedLateFieldNI(); t3 = t2.__AnimationController__status_A; t3 === $ && A.throwUnnamedLateFieldNI(); switch (t3.index) { case 3: case 0: t2.set$value(0, t1 ? 1 : 0); break; case 1: case 2: break; } } }, _animationChanged$0() { this.setState$1(new A.DrawerControllerState__animationChanged_closure()); }, _ensureHistoryEntry$0() { var t1, route, _this = this; if (_this._historyEntry == null) { t1 = _this._framework$_element; t1.toString; route = A.ModalRoute_of(t1, type$.nullable_Object); if (route != null) { t1 = new A.LocalHistoryEntry(_this.get$_handleHistoryEntryRemoved(), false); _this._historyEntry = t1; route.addLocalHistoryEntry$1(t1); t1 = _this._framework$_element; t1.toString; A.FocusScope_of(t1).setFirstFocus$1(_this._focusScopeNode); } } }, _animationStatusChanged$1($status) { var t1; switch ($status.index) { case 1: this._ensureHistoryEntry$0(); break; case 2: t1 = this._historyEntry; if (t1 != null) t1.remove$0(0); this._historyEntry = null; break; case 0: break; case 3: break; } }, _handleHistoryEntryRemoved$0() { this._historyEntry = null; this.close$0(0); }, _handleDragDown$1(details) { var t1 = this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.stop$0(0); this._ensureHistoryEntry$0(); }, _handleDragCancel$0() { var _this = this, t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.get$status(0) !== B.AnimationStatus_0) { t1 = _this.__DrawerControllerState__controller_A._ticker; t1 = t1 != null && t1._ticker$_future != null; } else t1 = true; if (t1) return; t1 = _this.__DrawerControllerState__controller_A.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 < 0.5) _this.close$0(0); else _this.open$0(0); }, get$_drawer$_width(_) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this._drawer$_drawerKey); t1 = t1 == null ? null : t1.get$renderObject(); type$.nullable_RenderBox._as(t1); if (t1 != null) return t1.get$size(0)._dx; return 304; }, _move$1(details) { var delta, t2, opened, _this = this, t1 = details.primaryDelta; t1.toString; delta = t1 / _this.get$_drawer$_width(0); switch (_this._widget.alignment.index) { case 0: break; case 1: delta = -delta; break; } t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (t1.textDirection.index) { case 0: t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.set$value(0, t2 - delta); break; case 1: t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t2 = t1.__AnimationController__value_A; t2 === $ && A.throwUnnamedLateFieldNI(); t1.set$value(0, t2 + delta); break; } t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); opened = t1 > 0.5; if (opened !== _this._previouslyOpened) { _this._widget.toString; t1 = true; } else t1 = false; if (t1) _this._widget.drawerCallback.call$1(opened); _this._previouslyOpened = opened; }, _settle$1(details) { var visualVelocity, _this = this, t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1.get$status(0) === B.AnimationStatus_0) return; t1 = details.velocity.pixelsPerSecond._dx; if (Math.abs(t1) >= 365) { visualVelocity = t1 / _this.get$_drawer$_width(0); switch (_this._widget.alignment.index) { case 0: break; case 1: visualVelocity = -visualVelocity; break; } t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (t1.textDirection.index) { case 0: _this.__DrawerControllerState__controller_A.fling$1$velocity(-visualVelocity); _this._widget.drawerCallback.call$1(visualVelocity < 0); break; case 1: _this.__DrawerControllerState__controller_A.fling$1$velocity(visualVelocity); _this._widget.drawerCallback.call$1(visualVelocity > 0); break; } } else { t1 = _this.__DrawerControllerState__controller_A.__AnimationController__value_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 < 0.5) _this.close$0(0); else _this.open$0(0); } }, open$0(_) { var t1 = this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.fling$0(); this._widget.drawerCallback.call$1(true); }, close$0(_) { var t1 = this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.fling$1$velocity(-1); this._widget.drawerCallback.call$1(false); }, _buildScrimColorTween$0() { this._widget.toString; var t1 = this._framework$_element; t1.toString; t1 = A.DrawerTheme_of(t1).scrimColor; return new A.ColorTween(B.Color_0, t1 == null ? B.Color_2315255808 : t1); }, get$_drawerOuterAlignment() { switch (this._widget.alignment.index) { case 0: return B.AlignmentDirectional_m1_0; case 1: return B.AlignmentDirectional_1_0; } }, get$_drawerInnerAlignment() { switch (this._widget.alignment.index) { case 0: return B.AlignmentDirectional_1_0; case 1: return B.AlignmentDirectional_m1_0; } }, _drawer$_buildDrawer$1(context) { var isDesktop, dragAreaWidth, padding, t2, platformHasBackButton, t3, t4, t5, child, _this = this, _null = null, drawerIsStart = _this._widget.alignment === B.DrawerAlignment_0, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (A.Theme_of(context).platform.index) { case 0: case 2: case 1: isDesktop = false; break; case 4: case 3: case 5: isDesktop = true; break; default: isDesktop = _null; } dragAreaWidth = _this._widget.edgeDragWidth; padding = A.InheritedModel_inheritFrom(context, B._MediaQueryAspect_6, type$.MediaQuery).data.padding; switch (t1.textDirection.index) { case 1: dragAreaWidth = 20 + (drawerIsStart ? padding.left : padding.right); break; case 0: dragAreaWidth = 20 + (drawerIsStart ? padding.right : padding.left); break; } t1 = _this.__DrawerControllerState__controller_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1 = t1.__AnimationController__status_A; t1 === $ && A.throwUnnamedLateFieldNI(); if (t1 === B.AnimationStatus_0) { _this._widget.toString; if (!isDesktop) { t1 = _this.get$_drawerOuterAlignment(); t2 = _this._widget.dragStartBehavior; return new A.Align(t1, _null, _null, A.GestureDetector$(B.HitTestBehavior_2, A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, dragAreaWidth), t2, true, _this._drawer$_gestureDetectorKey, _null, _null, _null, _this.get$_settle(), _null, _this.get$_move(), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, B.Offset_O5r), _null); } else return B.SizedBox_0_0_null_null; } else { switch (A.Theme_of(context).platform.index) { case 0: platformHasBackButton = true; break; case 2: case 4: case 1: case 3: case 5: platformHasBackButton = false; break; default: platformHasBackButton = _null; } t1 = _this._widget; t1.toString; t2 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t2.toString; t2 = t2.get$modalBarrierDismissLabel(); t3 = _this.__DrawerControllerState__scrimColorTween_A; t3 === $ && A.throwUnnamedLateFieldNI(); t3 = A.Container$(_null, _null, B.Clip_0, t3.transform$1(0, _this.__DrawerControllerState__controller_A.get$value(0)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t2 = A.BlockSemantics$(new A.ExcludeSemantics(platformHasBackButton, A.GestureDetector$(_null, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, false, t3, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$close(_this), _null, _null, _null, _null, _null, _null, false, B.Offset_O5r), _null)); t3 = _this.get$_drawerOuterAlignment(); t4 = _this.get$_drawerInnerAlignment(); t5 = _this.__DrawerControllerState__controller_A.__AnimationController__value_A; t5 === $ && A.throwUnnamedLateFieldNI(); child = new A._DrawerControllerScope(t1, new A.RepaintBoundary(new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_1, A._setArrayType([t2, new A.Align(t3, _null, _null, new A.Align(t4, t5, _null, new A.RepaintBoundary(A.FocusScope$(false, _this._widget.child, _null, _this._drawer$_drawerKey, _this._focusScopeNode, _null), _null), _null), _null)], type$.JSArray_Widget), _null), _null), _null); if (isDesktop) return child; return A.GestureDetector$(_null, child, _this._widget.dragStartBehavior, true, _this._drawer$_gestureDetectorKey, _null, _this.get$_handleDragCancel(), _this.get$_handleDragDown(), _this.get$_settle(), _null, _this.get$_move(), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, B.Offset_O5r); } }, build$1(context) { return A.ListTileTheme_merge(this._drawer$_buildDrawer$1(context), null, B.ListTileStyle_1, null); } }; A.DrawerControllerState__animationChanged_closure.prototype = { call$0() { }, $signature: 0 }; A._DrawerDefaultsM2.prototype = { get$shadowColor(_) { return A.Theme_of(this.context).shadowColor; } }; A._DrawerDefaultsM3.prototype = { get$direction(_) { var t1, _this = this, value = _this.___DrawerDefaultsM3_direction_FI; if (value === $) { t1 = _this.context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; _this.___DrawerDefaultsM3_direction_FI !== $ && A.throwUnnamedLateFieldADI(); value = _this.___DrawerDefaultsM3_direction_FI = t1.textDirection; } return value; }, get$backgroundColor(_) { return A.Theme_of(this.context).colorScheme.surface; }, get$surfaceTintColor() { var t1 = A.Theme_of(this.context).colorScheme, t2 = t1._surfaceTint; return t2 == null ? t1.primary : t2; }, get$shadowColor(_) { return B.Color_0; }, get$shape(_) { return new A.RoundedRectangleBorder(B.BorderRadiusDirectional_DpJ0.resolve$1(0, this.get$direction(0)), B.BorderSide_8xm); }, get$endShape() { return new A.RoundedRectangleBorder(B.BorderRadiusDirectional_DpJ.resolve$1(0, this.get$direction(0)), B.BorderSide_8xm); } }; A._DrawerControllerState_State_SingleTickerProviderStateMixin.prototype = { dispose$0() { var _this = this, t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier; if (t1 != null) t1.removeListener$1(0, _this.get$_updateTicker()); _this.SingleTickerProviderStateMixin__tickerModeNotifier = null; _this.super$State$dispose(); }, activate$0() { this.super$State$activate(); this._updateTickerModeNotifier$0(); this._updateTicker$0(); } }; A.DrawerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.Object_hash(_this.get$backgroundColor(_this), _this.scrimColor, _this.elevation, _this.get$shadowColor(_this), _this.get$surfaceTintColor(), _this.get$shape(_this), _this.get$endShape(), _this.width, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeTypeOfDartObject(_this)) return false; return other instanceof A.DrawerThemeData && J.$eq$(other.get$backgroundColor(other), _this.get$backgroundColor(_this)) && J.$eq$(other.scrimColor, _this.scrimColor) && other.elevation == _this.elevation && J.$eq$(other.get$shadowColor(other), _this.get$shadowColor(_this)) && J.$eq$(other.get$surfaceTintColor(), _this.get$surfaceTintColor()) && J.$eq$(other.get$shape(other), _this.get$shape(_this)) && J.$eq$(other.get$endShape(), _this.get$endShape()) && other.width == _this.width; }, get$backgroundColor(receiver) { return this.backgroundColor; }, get$shadowColor(receiver) { return this.shadowColor; }, get$surfaceTintColor() { return this.surfaceTintColor; }, get$shape(receiver) { return this.shape; }, get$endShape() { return this.endShape; } }; A._DrawerThemeData_Object_Diagnosticable.prototype = {}; A._DropdownMenuPainter.prototype = { paint$2(canvas, size) { var _null = null, t1 = size._dy, t2 = A.clampDouble(this.getSelectedItemOffset.call$0(), 0, Math.max(t1 - 48, 0)), t3 = type$.Tween_double, t4 = A.clampDouble(t2 + 48, Math.min(48, t1), t1), t5 = this.resize; t2 = new A.Tween(t2, 0, t3).transform$1(0, t5.get$value(0)); this._dropdown$_painter.paint$3(canvas, new A.Offset(0, t2), new A.ImageConfiguration(_null, _null, _null, _null, new A.Size(size._dx - 0, new A.Tween(t4, t1, t3).transform$1(0, t5.get$value(0)) - t2), _null)); }, shouldRepaint$1(oldPainter) { var _this = this; return !oldPainter.color.$eq(0, _this.color) || oldPainter.elevation !== _this.elevation || oldPainter.selectedIndex !== _this.selectedIndex || !J.$eq$(oldPainter.borderRadius, _this.borderRadius) || oldPainter.resize !== _this.resize; } }; A._DropdownMenuItemButton.prototype = { createState$0() { return new A._DropdownMenuItemButtonState(B._StateLifecycle_0, this.$ti._eval$1("_DropdownMenuItemButtonState<1>")); } }; A._DropdownMenuItemButtonState.prototype = { _dropdown$_handleFocusChange$1(focused) { var inTraditionalMode, menuLimits, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._highlightManager._highlightMode; switch ((t1 == null ? A._HighlightModeManager__defaultModeForPlatform() : t1).index) { case 0: inTraditionalMode = false; break; case 1: inTraditionalMode = true; break; default: inTraditionalMode = null; } if (focused && inTraditionalMode) { t1 = this._widget; menuLimits = t1.route.getMenuLimits$3(t1.buttonRect, t1.constraints.maxHeight, t1.itemIndex); this._widget.scrollController.animateTo$3$curve$duration(menuLimits.scrollOffset, B.Cubic_xDo, B.Duration_100000); } }, _handleOnTap$0() { var t1 = this._widget, dropdownMenuItem = t1.route.items[t1.itemIndex].item; t1 = dropdownMenuItem.onTap; if (t1 != null) t1.call$0(); t1 = this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(new A._DropdownRouteResult(dropdownMenuItem.value, this.$ti._eval$1("_DropdownRouteResult<1>"))); }, build$1(context) { var t3, opacity, start, end, child, _this = this, _null = null, t1 = _this._widget, t2 = t1.route, unit = 0.5 / (t2.items.length + 1.5); t1 = t1.itemIndex; t3 = t2._animationProxy; if (t1 === t2.selectedIndex) { t3.toString; opacity = A.CurvedAnimation$(B.Threshold_0, t3, _null); } else { start = A.clampDouble(0.5 + (t1 + 1) * unit, 0, 1); end = A.clampDouble(start + 1.5 * unit, 0, 1); t3.toString; opacity = A.CurvedAnimation$(new A.Interval(start, end, B.C__Linear), t3, _null); } t1 = _this._widget; t2 = t1.padding; t3 = t1.route; t1 = t1.itemIndex; child = A.InkWell$(t1 === t3.selectedIndex, _null, true, A.Container$(_null, t3.items[t1], B.Clip_0, _null, _null, _null, _null, t3.itemHeight, _null, _null, t2, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _this.get$_dropdown$_handleFocusChange(), _null, _null, _null, _this.get$_handleOnTap(), _null, _null, _null, _null, _null, _null, _null); child = A.Shortcuts$(new A.FadeTransition(opacity, false, child, _null), _null, B.Map_Pn6xV); return child; } }; A._DropdownMenu.prototype = { createState$0() { return new A._DropdownMenuState(B._StateLifecycle_0, this.$ti._eval$1("_DropdownMenuState<1>")); } }; A._DropdownMenuState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = _this._widget.route._animationProxy; t1.toString; _this.___DropdownMenuState__fadeOpacity_A = A.CurvedAnimation$(B.Interval_75R2, t1, B.Interval_75R3); t1 = _this._widget.route._animationProxy; t1.toString; _this.___DropdownMenuState__resize_A = A.CurvedAnimation$(B.Interval_75R4, t1, B.Threshold_0); }, build$1(context) { var route, t2, t3, t4, itemIndex, t5, t6, t7, t8, t9, t10, t11, t12, t13, _this = this, _null = null, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; route = _this._widget.route; t2 = A._setArrayType([], type$.JSArray_Widget); for (t3 = route.items, t4 = _this.$ti._eval$1("_DropdownMenuItemButton<1>"), itemIndex = 0; itemIndex < t3.length; ++itemIndex) { t5 = _this._widget; t6 = t5.route; t7 = t5.padding; t8 = t5.buttonRect; t9 = t5.constraints; t2.push(new A._DropdownMenuItemButton(t6, t5.scrollController, t7, t8, t9, itemIndex, true, _null, t4)); } t3 = _this.___DropdownMenuState__fadeOpacity_A; t3 === $ && A.throwUnnamedLateFieldNI(); t4 = _this._widget.dropdownColor; if (t4 == null) t4 = A.Theme_of(context).canvasColor; t5 = route.elevation; t6 = _this.___DropdownMenuState__resize_A; t6 === $ && A.throwUnnamedLateFieldNI(); t7 = _this._widget.borderRadius; t8 = t7 == null ? B.BorderRadius_tLn7 : t7; t9 = B.Map_qt46y.$index(0, t5); t1 = t1.get$popupMenuLabel(); t10 = _this._widget.borderRadius; t11 = t10 == null; if (t11) t10 = B.BorderRadius_tLn0; t11 = !t11 ? B.Clip_2 : B.Clip_0; t12 = A.ScrollConfiguration_of(context).copyWith$4$overscroll$physics$platform$scrollbars(false, B.ClampingScrollPhysics_null, A.Theme_of(context).platform, false); t13 = _this._widget.scrollController; t11 = A.ClipRRect$(t10, A.Material$(B.Duration_200000, true, _null, A.ScrollConfiguration$(t12, A.PrimaryScrollController$(A.Scrollbar$(A.ListView$(t2, _null, B.EdgeInsets_0_8_0_8, true, B.Axis_1, true), _null, true), t13)), B.Clip_0, _null, 0, _null, _null, _null, _null, route.style, B.MaterialType_4), t11); return new A.FadeTransition(t3, false, A.CustomPaint$(new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, false, t11, _null), _null, _null, new A._DropdownMenuPainter(t4, t5, route.selectedIndex, t7, t6, new A._DropdownMenuState_build_closure(route), new A._BoxDecorationPainter(new A.BoxDecoration(t4, _null, _null, t8, t9, _null, B.BoxShape_0), _null), t6), B.Size_0_0), _null); } }; A._DropdownMenuState_build_closure.prototype = { call$0() { var t1 = this.route; return t1.getItemOffset$1(t1.selectedIndex); }, $signature: 193 }; A._DropdownMenuRouteLayout.prototype = { getConstraintsForChild$1(constraints) { var maxHeight = Math.max(0, constraints.maxHeight - 96), t1 = this.buttonRect, width = Math.min(constraints.maxWidth, t1.right - t1.left); return new A.BoxConstraints(width, width, 0, maxHeight); }, getPositionForChild$2(size, childSize) { var left, t1 = this.route, t2 = this.buttonRect, menuLimits = t1.getMenuLimits$3(t2, size._dy, t1.selectedIndex); switch (this.textDirection.index) { case 0: left = A.clampDouble(t2.right, 0, size._dx) - childSize._dx; break; case 1: left = A.clampDouble(t2.left, 0, size._dx - childSize._dx); break; default: left = null; } return new A.Offset(left, menuLimits.top); }, shouldRelayout$1(oldDelegate) { return !this.buttonRect.$eq(0, oldDelegate.buttonRect) || this.textDirection != oldDelegate.textDirection; } }; A._DropdownRouteResult.prototype = { $eq(_, other) { if (other == null) return false; return this.$ti._is(other) && J.$eq$(other.result, this.result); }, get$hashCode(_) { return J.get$hashCode$(this.result); } }; A._MenuLimits.prototype = {}; A._DropdownRoute.prototype = { get$transitionDuration(_) { return B.Duration_300000; }, get$barrierDismissible() { return true; }, get$barrierColor() { return null; }, buildPage$3(context, animation, secondaryAnimation) { return new A.LayoutBuilder(new A._DropdownRoute_buildPage_closure(this), null); }, getItemOffset$1(index) { return this.items.length !== 0 && index > 0 ? 8 + B.JSArray_methods.reduce$1(B.JSArray_methods.sublist$2(this.itemHeights, 0, index), new A._DropdownRoute_getItemOffset_closure()) : 8; }, getMenuLimits$3(buttonRect, availableHeight, index) { var menuTop, preferredMenuHeight, menuHeight, menuBottom, _this = this, computedMaxHeight = availableHeight - 96, buttonTop = buttonRect.top, t1 = buttonRect.bottom, buttonBottom = Math.min(t1, availableHeight), selectedItemOffset = _this.getItemOffset$1(index), topLimit = Math.min(48, buttonTop), bottomLimit = Math.max(availableHeight - 48, buttonBottom), t2 = _this.itemHeights, t3 = _this.selectedIndex; t1 -= buttonTop; menuTop = buttonTop - selectedItemOffset - (t2[t3] - t1) / 2; preferredMenuHeight = B.EdgeInsets_0_8_0_8.get$_top(0) + B.EdgeInsets_0_8_0_8.get$_bottom(0); if (_this.items.length !== 0) preferredMenuHeight += B.JSArray_methods.reduce$1(t2, new A._DropdownRoute_getMenuLimits_closure()); menuHeight = Math.min(computedMaxHeight, preferredMenuHeight); menuBottom = menuTop + menuHeight; if (menuTop < topLimit) { menuTop = Math.min(buttonTop, topLimit); menuBottom = menuTop + menuHeight; } if (menuBottom > bottomLimit) { menuBottom = Math.max(buttonBottom, bottomLimit); menuTop = menuBottom - menuHeight; } t2 = t2[t3] / 2; t1 = buttonBottom - t1 / 2; if (menuBottom - t2 < t1) menuTop = t1 + t2 - menuHeight; return new A._MenuLimits(menuTop, menuHeight, preferredMenuHeight > computedMaxHeight ? Math.min(Math.max(0, selectedItemOffset - (buttonTop - menuTop)), preferredMenuHeight - menuHeight) : 0); }, get$barrierLabel() { return this.barrierLabel; } }; A._DropdownRoute_buildPage_closure.prototype = { call$2(context, constraints) { var t1 = this.$this; return new A._DropdownRoutePage(t1, constraints, t1.padding, t1.buttonRect, t1.selectedIndex, t1.capturedThemes, t1.dropdownColor, true, t1.borderRadius, null, t1.$ti._eval$1("_DropdownRoutePage<1>")); }, $signature() { return this.$this.$ti._eval$1("_DropdownRoutePage<1>(BuildContext,BoxConstraints)"); } }; A._DropdownRoute_getItemOffset_closure.prototype = { call$2(total, height) { return total + height; }, $signature: 234 }; A._DropdownRoute_getMenuLimits_closure.prototype = { call$2(total, height) { return total + height; }, $signature: 234 }; A._DropdownRoutePage.prototype = { createState$0() { return new A._DropdownRoutePageState(B._StateLifecycle_0, this.$ti._eval$1("_DropdownRoutePageState<1>")); } }; A._DropdownRoutePageState.prototype = { initState$0() { this.super$State$initState(); var t1 = this._widget; this.___DropdownRoutePageState__scrollController_A = A.ScrollController$(t1.route.getMenuLimits$3(t1.buttonRect, t1.constraints.maxHeight, t1.selectedIndex).scrollOffset, true, null, null); }, build$1(context) { var t7, _this = this, textDirection = A.Directionality_maybeOf(context), t1 = _this._widget, t2 = t1.route, t3 = t1.padding, t4 = t1.buttonRect, t5 = t1.constraints, t6 = t1.dropdownColor; t1 = t1.borderRadius; t7 = _this.___DropdownRoutePageState__scrollController_A; t7 === $ && A.throwUnnamedLateFieldNI(); return A.MediaQuery_MediaQuery$removePadding(new A.Builder(new A._DropdownRoutePageState_build_closure(_this, textDirection, new A._DropdownMenu(t2, t3, t4, t5, t6, true, t1, t7, null, _this.$ti._eval$1("_DropdownMenu<1>"))), null), context, true, true, true, true); }, dispose$0() { var t1 = this.___DropdownRoutePageState__scrollController_A; t1 === $ && A.throwUnnamedLateFieldNI(); t1.dispose$0(); this.super$State$dispose(); } }; A._DropdownRoutePageState_build_closure.prototype = { call$1(context) { var t1 = this.$this, t2 = t1._widget; return new A.CustomSingleChildLayout(new A._DropdownMenuRouteLayout(t2.buttonRect, t2.route, this.textDirection, t1.$ti._eval$1("_DropdownMenuRouteLayout<1>")), new A._CaptureAll(t2.capturedThemes._themes, this.menu, null), null); }, $signature: 819 }; A._MenuItem.prototype = { createRenderObject$1(context) { var t1 = new A._RenderMenuItem(this.onLayout, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.RenderObject$0(); t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.onLayout = this.onLayout; } }; A._RenderMenuItem.prototype = { performLayout$0() { this.super$RenderProxyBoxMixin$performLayout(); var t1 = this.get$size(0); this.onLayout.call$1(t1); } }; A._DropdownMenuItemContainer.prototype = { build$1(context) { var _null = null; return A.Container$(this.alignment, this.child, B.Clip_0, _null, B.BoxConstraints_mlX2, _null, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.DropdownMenuItem.prototype = { get$value(receiver) { return this.value; } }; A.DropdownButtonHideUnderline.prototype = { updateShouldNotify$1(oldWidget) { return false; } }; A.DropdownButton.prototype = { createState$0() { return new A._DropdownButtonState(B._StateLifecycle_0, this.$ti._eval$1("_DropdownButtonState<1>")); }, get$value(receiver) { return this.value; } }; A._DropdownButtonState.prototype = { get$focusNode(_) { var t1; this._widget.toString; t1 = this._dropdown$_internalNode; return t1; }, initState$0() { var t1, t2, _this = this; _this.super$State$initState(); _this._updateSelectedIndex$0(); t1 = _this._widget; t1.toString; if (_this._dropdown$_internalNode == null) _this._dropdown$_internalNode = A.FocusNode$(true, A.getRuntimeTypeOfDartObject(t1).toString$0(0), true, true, null, null, false); t1 = type$.JSArray_of_void_Function_Action_Intent; t2 = type$.ObserverList_of_void_Function_Action_Intent; _this.___DropdownButtonState__actionMap_A = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_ActivateIntent_OT9, new A.CallbackAction(new A._DropdownButtonState_initState_closure(_this), new A.ObserverList(A._setArrayType([], t1), t2), type$.CallbackAction_ActivateIntent), B.Type_ButtonActivateIntent_6Ij, new A.CallbackAction(new A._DropdownButtonState_initState_closure0(_this), new A.ObserverList(A._setArrayType([], t1), t2), type$.CallbackAction_ButtonActivateIntent)], type$.Type, type$.Action_Intent); }, dispose$0() { var t1, _this = this; B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, _this); _this._removeDropdownRoute$0(); t1 = _this._dropdown$_internalNode; if (t1 != null) t1.dispose$0(); _this.super$State$dispose(); }, _removeDropdownRoute$0() { var t2, wasCurrent, t1 = this._dropdownRoute; if (t1 != null) if (t1.get$isActive()) { t2 = t1._navigator$_navigator; if (t2 != null) { wasCurrent = t1.get$isCurrent(); t2._history.firstWhere$1(0, A._RouteEntry_isRoutePredicate(t1)).remove$0(0); t2._flushHistoryUpdates$1$rearrangeOverlay(false); if (wasCurrent) { t1 = t2._lastRouteEntryWhereOrNull$1(A.navigator__RouteEntry_isPresentPredicate$closure()); t2._afterNavigation$1(t1 == null ? null : t1.route); } } } this._dropdown$_lastOrientation = this._dropdownRoute = null; }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; t1.toString; if (_this._dropdown$_internalNode == null) _this._dropdown$_internalNode = A.FocusNode$(true, A.getRuntimeTypeOfDartObject(t1).toString$0(0), true, true, null, null, false); _this._updateSelectedIndex$0(); }, _updateSelectedIndex$0() { var itemIndex, _this = this, t1 = _this._widget.items; if (t1 != null) if (!J.get$isEmpty$asx(t1)) { t1 = _this._widget; if (t1.value == null) { t1 = t1.items; t1.toString; t1 = !J.where$1$ax(t1, new A._DropdownButtonState__updateSelectedIndex_closure(_this)).get$iterator(0).moveNext$0(); } else t1 = false; } else t1 = true; else t1 = true; if (t1) { _this._selectedIndex = null; return; } itemIndex = 0; while (true) { t1 = _this._widget.items; t1.toString; if (!(itemIndex < J.get$length$asx(t1))) break; t1 = _this._widget.items; t1.toString; if (J.$eq$(J.$index$asx(t1, itemIndex).value, _this._widget.value)) { _this._selectedIndex = itemIndex; return; } ++itemIndex; } }, get$_dropdown$_textStyle() { var t1 = this._widget.style; if (t1 == null) { t1 = this._framework$_element; t1.toString; t1 = A.Theme_of(t1).textTheme.titleMedium; } return t1; }, _dropdown$_handleTap$0() { var textDirection, t2, t3, index, t4, $navigator, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, _this = this, _null = null, t1 = _this._framework$_element; t1.toString; textDirection = A.Directionality_maybeOf(t1); t1 = _this._framework$_element; t1.toString; A.ButtonTheme_of(t1); t1 = _this.$ti; t2 = A._setArrayType([], t1._eval$1("JSArray<_MenuItem<1>>")); t3 = t1._eval$1("_MenuItem<1>"); index = 0; while (true) { t4 = _this._widget.items; t4.toString; if (!(index < J.get$length$asx(t4))) break; t4 = _this._widget.items; t4.toString; t4 = J.$index$asx(t4, index); t2.push(new A._MenuItem(new A._DropdownButtonState__handleTap_closure(_this, index), t4, t4, _null, t3)); ++index; } t3 = _this._framework$_element; t3.toString; $navigator = A.Navigator_of(t3, false); t3 = t3.get$renderObject(); t3.toString; type$.RenderBox._as(t3); t4 = A.MatrixUtils_transformPoint(t3.getTransformTo$1(0, $navigator._framework$_element.get$renderObject()), B.Offset_0_0); t3 = t3.get$size(0); t5 = t4._dx; t4 = t4._dy; t3 = B.EdgeInsetsDirectional_16_0_24_0.resolve$1(0, textDirection).inflateRect$1(new A.Rect(t5, t4, t5 + t3._dx, t4 + t3._dy)); t4 = _this._selectedIndex; if (t4 == null) t4 = 0; t5 = _this._widget.elevation; t6 = _this._framework$_element; t6.toString; t7 = $navigator._framework$_element; t7.toString; t7 = A.InheritedTheme_capture(t6, t7); t6 = _this.get$_dropdown$_textStyle(); t6.toString; t8 = _this._framework$_element; t8.toString; t8 = A.Localizations_of(t8, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t8.toString; t8 = t8.get$modalBarrierDismissLabel(); t9 = _this._widget; t10 = t9.itemHeight; t11 = t9.dropdownColor; t12 = t9.menuMaxHeight; t9 = t9.borderRadius; t13 = t2.length; t14 = t10 == null ? 48 : t10; t14 = A.List_List$filled(t13, t14, false, type$.double); t13 = A._setArrayType([], type$.JSArray_of_Future_bool_Function); t15 = $.Zone__current; t16 = t1._eval$1("_Future<_DropdownRouteResult<1>?>"); t17 = t1._eval$1("_AsyncCompleter<_DropdownRouteResult<1>?>"); t18 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation); t19 = A._setArrayType([], type$.JSArray_OverlayEntry); t20 = $.$get$ChangeNotifier__emptyListeners(); t21 = $.Zone__current; _this._dropdownRoute = new A._DropdownRoute(t2, B.EdgeInsets_16_0_16_0, t3, t4, t5, t7, t6, t10, t11, t12, true, t9, t14, t8, _null, _null, t13, A.LinkedHashSet_LinkedHashSet$_empty(type$.PopEntry), new A.LabeledGlobalKey(_null, t1._eval$1("LabeledGlobalKey<_ModalScopeState<_DropdownRouteResult<1>>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, 0, new A._AsyncCompleter(new A._Future(t15, t16), t17), t18, t19, B.RouteSettings_null_null, new A.ValueNotifier(_null, t20, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t21, t16), t17), new A._AsyncCompleter(new A._Future(t21, t16), t17), t1._eval$1("_DropdownRoute<1>")); t1 = _this.get$focusNode(0); if (t1 != null) t1.requestFocus$0(); t1 = _this._dropdownRoute; t1.toString; $navigator.push$1(t1).then$1$1(0, new A._DropdownButtonState__handleTap_closure0(_this), type$.void); _this._widget.toString; }, get$_iconColor() { var t1, _this = this; if (_this.get$_dropdown$_enabled()) { t1 = _this._widget.iconEnabledColor; if (t1 != null) return t1; t1 = _this._framework$_element; t1.toString; switch (A.Theme_of(t1).colorScheme.brightness.index) { case 1: return B.Color_4284572001; case 0: return B.Color_3019898879; } } else { _this._widget.toString; t1 = _this._framework$_element; t1.toString; switch (A.Theme_of(t1).colorScheme.brightness.index) { case 1: return B.Color_4290624957; case 0: return B.Color_452984831; } } }, get$_dropdown$_enabled() { var t1 = this._widget.items; return t1 != null && J.get$isNotEmpty$asx(t1) && this._widget.onChanged != null; }, build$1(context) { var size, t2, items, displayedHint, hintIndex, innerItemsWidget, t3, fontSize, t4, t5, t6, t7, t8, bottom, effectiveMouseCursor, _this = this, _null = null, t1 = A.MediaQuery__maybeOf(context, B._MediaQueryAspect_1), result = t1 == null ? _null : t1.get$orientation(0); if (result == null) { size = A.View_maybeOf(context).get$physicalSize(); result = size._dx > size._dy ? B.Orientation_1 : B.Orientation_0; } t1 = _this._dropdown$_lastOrientation; if (t1 == null) { _this._dropdown$_lastOrientation = result; t1 = result; } if (result !== t1) { _this._removeDropdownRoute$0(); _this._dropdown$_lastOrientation = result; } t1 = _this._widget; t2 = t1.selectedItemBuilder; if (t2 == null) { t1 = t1.items; items = t1 != null ? A.List_List$of(t1, true, type$.Widget) : A._setArrayType([], type$.JSArray_Widget); } else items = A.List_List$of(t2.call$1(context), true, type$.Widget); if (_this._widget.hint == null) { if (!_this.get$_dropdown$_enabled()) _this._widget.toString; t1 = false; } else t1 = true; if (t1) { t1 = _this.get$_dropdown$_enabled(); t2 = _this._widget; if (t1) { t1 = t2.hint; t1.toString; displayedHint = t1; } else { t1 = t2.hint; t1.toString; displayedHint = t1; } hintIndex = items.length; t1 = _this.get$_dropdown$_textStyle(); t1.toString; t1 = t1.copyWith$1$color(A.Theme_of(context).hintColor); items.push(A.DefaultTextStyle$(A.IgnorePointer$(new A._DropdownMenuItemContainer(displayedHint, _this._widget.alignment, _null), true, _null), _null, _null, B.TextOverflow_0, true, t1, _null, _null, B.TextWidthBasis_0)); } else hintIndex = _null; A.ButtonTheme_of(context); if (items.length === 0) innerItemsWidget = B.SizedBox_0_0_null_null; else { t1 = _this._selectedIndex; if (t1 == null) t1 = hintIndex; t2 = _this._widget; t3 = t2.alignment; if (t2.isDense) t2 = items; else { t2 = A._arrayInstanceType(items)._eval$1("MappedListIterable<1,RenderObjectWidget>"); t2 = A.List_List$of(new A.MappedListIterable(items, new A._DropdownButtonState_build_closure(_this), t2), true, t2._eval$1("ListIterable.E")); } innerItemsWidget = new A.IndexedStack(t3, t1, t2, _null); } if (_this.get$_dropdown$_enabled()) { t1 = _this.get$_dropdown$_textStyle(); t1.toString; } else { t1 = _this.get$_dropdown$_textStyle(); t1.toString; t1 = t1.copyWith$1$color(A.Theme_of(context).disabledColor); } t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; t2 = B.EdgeInsets_0_0_0_0.resolve$1(0, t2.textDirection); if (_this._widget.isDense) { fontSize = _this.get$_dropdown$_textStyle().fontSize; if (fontSize == null) { t3 = _this._framework$_element; t3.toString; t3 = A.Theme_of(t3).textTheme.titleMedium.fontSize; t3.toString; fontSize = t3; } t3 = _this._framework$_element; t3.toString; t3 = A.MediaQuery__maybeOf(t3, B._MediaQueryAspect_4); t3 = t3 == null ? _null : t3.get$textScaler(); if (t3 == null) t3 = B._LinearTextScaler_1; t3 = Math.max(fontSize * t3.textScaleFactor, Math.max(_this._widget.iconSize, 24)); } else t3 = _null; t4 = type$.JSArray_Widget; t5 = A._setArrayType([], t4); if (_this._widget.isExpanded) t5.push(A.Expanded$(innerItemsWidget, 1)); else t5.push(innerItemsWidget); t6 = _this.get$_iconColor(); t7 = _this._widget; t8 = t7.iconSize; t7 = t7.icon; if (t7 == null) t7 = B.Icon_YuM; t5.push(A.IconTheme$(t7, new A.IconThemeData(t8, _null, _null, _null, _null, t6, _null, _null, _null), _null)); result = A.DefaultTextStyle$(A.Container$(_null, A.Row$(t5, B.CrossAxisAlignment_2, B.MainAxisAlignment_3, B.MainAxisSize_0, _null), B.Clip_0, _null, _null, _null, _null, t3, _null, _null, t2, _null, _null, _null), _null, _null, B.TextOverflow_0, true, t1, _null, _null, B.TextWidthBasis_0); if (context.dependOnInheritedWidgetOfExactType$1$0(type$.DropdownButtonHideUnderline) == null) { t1 = _this._widget; bottom = t1.isDense || t1.itemHeight == null ? 0 : 8; t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, B.BoxDecoration_gsm, _null, 1, _null, _null, _null, _null, _null, _null); result = new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, B.Clip_1, A._setArrayType([result, A.Positioned$(bottom, t1, _null, _null, 0, 0, _null, _null)], t4), _null); } t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (!_this.get$_dropdown$_enabled()) t1.add$1(0, B.MaterialState_6); effectiveMouseCursor = A.MaterialStateProperty_resolveAs(B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, t1, type$.MouseCursor); t1 = _this._widget; t2 = t1._inputDecoration; if (t2 != null) result = A.InputDecorator$(_null, result, t2, false, t1._isEmpty, t1._dropdown$_isFocused, false, _null, _null); t1 = _this.___DropdownButtonState__actionMap_A; t1 === $ &&